import { OnInit, EventEmitter } from "@angular/core"; import { ActivatedRoute } from "@angular/router"; import { FormBuilder, FormControl } from "@angular/forms"; import { EventCreateService } from "../../services/event-create/event-create.service"; import { EventDetailService } from "../../services/event-detail/event-detail.service"; import { EventService } from "../../services/event/event.service"; import { Router } from "@angular/router"; import { Location } from "@angular/common"; import { SbToastService } from "../../services/iziToast/izitoast.service"; import { TimezoneCal } from "../../services/timezone/timezone.service"; import { UserConfigService } from "../../services/userConfig/user-config.service"; import { ImageSearchService } from "../../services/image-search/image-search.service"; import { LibEventService } from "../../services/lib-event/lib-event.service"; import { ElementRef } from "@angular/core"; import { MatAutocomplete } from "@angular/material/autocomplete"; import { Observable } from "rxjs"; export declare class EventCreateComponent implements OnInit { private activatedRoute; private eventCreateService; private eventDetailService; private eventService; private router; private location; private sbToastService; private formBuilder; private timezoneCal; private userConfigService; private imageSearchService; libEventService: LibEventService; formFieldProperties: any; matAutocomplete: MatAutocomplete; userInput: ElementRef; userId: any; username: any; eventConfig: any; initialFormFieldProperties: any; selectedCertificate: any; email: string; consent: boolean; selectedUser: any; participantList: any[]; selectedParticipants: string[]; private userSearchTime; private unsubscribe; isPopupOpen: boolean; dropdownSettings: {}; closeSaveForm: EventEmitter; navAfterSave: EventEmitter; today: Date; todayDate: string; formValues: any; startTime: any; endTime: any; registrationStartDate: any; registrationEndDate: any; timeDiff: any; queryParams: any; eventDetailsForm: any; isSubmitted: boolean; formFieldData: any; FormData: any; isNew: boolean; timezoneshort: any; canPublish: boolean; offset: string; constFormFieldProperties: any; flag: boolean; tempEventType: any; tempVisibility: any; tempRecuring: boolean; tempTypeRecuring: any; tempRepeatEveryRecurring: any; tempEndRecurring: boolean; tempEndRecVeriable: String; isDisabled: boolean; defaultTypeOfRecurring: String; weekday: string[]; prefixes: string[]; tempEndRecurringVar: String; eventValue: any; ImageConfig: any; gMeeteventID: String; eventID: String; eventLink: String; versionKey: String; showAppIcon: boolean; appIconConfig: { code: string; dataType: string; description: string; editable: boolean; inputType: string; label: string; name: string; placeholder: string; renderingHints: { class: string; }; required: boolean; visible: boolean; }; appIcon: any; editmode: any; showImagePicker: boolean; tempOnlineProvider: any; selectedUserIds: string[]; editDataEvent: any; eventImage: any; searchControl: FormControl; filteredUsers: any[]; certificateList: any[]; selectedUsers: any[]; userMap: { [id: string]: any; }; constructor(activatedRoute: ActivatedRoute, eventCreateService: EventCreateService, eventDetailService: EventDetailService, eventService: EventService, router: Router, location: Location, sbToastService: SbToastService, formBuilder: FormBuilder, timezoneCal: TimezoneCal, userConfigService: UserConfigService, imageSearchService: ImageSearchService, libEventService: LibEventService); setAppIconData(): void; isReviewMode(): any; ngOnInit(): void; fetchAndMapExistingUsers(userIds: string[]): void; getCertificateList(): void; getUsers(query: string): Observable; updateUserMap(users: any[]): void; isUserSelected(userId: string): boolean; onOptionSelected(event: any): void; removeUser(user: any): void; filterUsers(query: string): void; ngOnDestroy(): void; isPrivateEvent(): boolean; isAttachCertificate(): boolean; openPopup(canPublish: any): void; closePopup(): void; submitPopup(): void; prepareFormConfiguration(): void; /** * For setting event Dependent Fields */ setEventTypeDependentFields(value: any): void; clearEventTypeFieldsOnSwitch(): void; output(event: any): void; onStatusChanges(event: any): void; initializeFormFields(): void; /** * For Changing values on event form */ valueChanges(eventData: any): void; setOnlineProviderDependentFields(value: any): void; /** * For values change on form after change in checkbox, dropdown fields */ onValueChangeUpdateFieldBehaviour(): void; /** * For validate data and call post form service */ postData(canPublish: any): void; dataSubmitted(data: any, task: any): void; /** * NOTE: Once the event is created, the batch will be created automatically. * Right now the batch is not created after event creating, so we are implementing some temporary solution * * Create event batch * Here, confirm that one event have only one batch. * @param data array of created event id * @param formValue event form value */ createEventBatch(data: any): void; cancel(): void; updateEventWithGmeetLink(eventType: any): void; /** * For time validation * * @param sdate Contains data * @param time Contains time * @returns Return true if event start time is greater current time */ timeValidation(date: any, time: any): boolean; /** * For date validation * * @param sdate Contains start data * @param edate Contains end data * @returns */ dateValidation(sdate: any, edate: any): boolean; appIconDataHandler(event: any): void; }