import { AnalyticsService } from "mis-crystal-design-system/analytics"; import { EventEmitter, OnDestroy, OnInit } from "@angular/core"; import { ActivatedRoute, Router } from "@angular/router"; import { NsWISConfigurations } from "../../../models/configurations.model"; import { NsEmpWebExpData } from "../../../models/emp-web-exp.model"; import { ApiService } from "../../../services/api.service"; import { BookingDataService } from "../../../services/booking-data.service"; import { ConfigurationService } from "../../../services/configuration.service"; import { HomeDataService } from "../../../services/home-data.service"; import { LoaderService } from "../../../services/loader.service"; import { DrawerService } from "mis-design-system/drawer"; import { ToastService } from "mis-crystal-design-system/toast"; import { EmpUserService } from "../../../services/emp-user.service"; import { Subject, Observable } from "rxjs"; import { WidgetService } from "../../../services/widget.service"; import { FabItems } from "mis-design-system/fab"; import { ModalService } from "mis-design-system/mis-modal"; import { BreakpointObserver } from "@angular/cdk/layout"; import { WidgetGroup } from "mis-crystal-design-system/widgets"; export declare class BodyComponent implements OnInit, OnDestroy { private homeData; private user; private toast; private apiService; bookingSvc: BookingDataService; private drawerSvc; private modalSvc; private loader; configSvc: ConfigurationService; private router; private route; private widgetSvc; private breakpointObs; private analytics; timezone: string; Assets: { IMAGES: { EMPTY_HERO: string; MOBILE_EMPTY_HERO: string; NO_UPCOMING: string; HERO_BG: string; EMPTY_PLATE: string; PARKING_BG: string; CERTIFICATE: string; BOOKING_SUCCESS: string; HISTORY_EMPTY: string; NO_PARKING_SLOTS: string; }; ICONS: { MORE: string; CANCELLED: string; CANCEL_INFO: string; DOWN_ARROW: string; HERO_RIGHT: string; SEAT: string; CLOSE: string; CALENDAR: string; CAB: string; CAB_DARK: string; TICK_GREEN: string; SUCCESS_TICK: string; ARROW: string; EDIT: string; EDIT_DARK: string; CANCEL: string; IC_RADIO: string; IC_RADIO_ACTIVE: string; IC_ADD: string; IC_CLOSE: string; IC_WFO: string; IC_WFH: string; DESK: string; DESK_BULE: string; DESK_GREY: string; CHEVRON_RIGHT: string; CANCEL_BIN: string; WFH: string; WFO_CONVERT: string; WFH_CONVERT: string; WFO_CONVERT_DARK: string; WFH_CONVERT_DARK: string; QUICK_WFH: string; QUICK_WFO: string; CLOCK: string; PARKING: string; PARKING_ACTIVE: string; TRANSPORT: string; TRANSPORT_ACTIVE: string; TRANSPORT_UNAVAILABILTY: string; TRANSPORT_AVAILABILTY: string; INFO: string; RED_INFO: string; CHOICE_CHIP: string; MEAL: string; MEAL_DARK: string; MEAL_CHECK: string; AVATAR: string; PARKING_MODULE: string; APPROVAL_STATUS: string; SUCCESS_RECURRENCE: string; FAILED_BOOKINGS: string; MORE_STATUS: string; LANGUAGE: string; SHUTTLE_ACTIVE: string; SHUTTLE: string; SHUTTLE_DEACTIVE: string; SHUTTLE_DARK: string; SHUTTLE_CROSS: string; ACTION_INFO: string; TRANSPORT_BIKE: string; TRANSPORT_CAR: string; WFO_HEADER: string; WFH_HEADER: string; CROSS_MODAL: string; LIST: string; NOTE: string; CAR_BLACK: string; CAR_SELECTED: string; BIKE_BLACK: string; BIKE_SELECTED: string; PARKING_HEADER: string; PARKING_ACTION: string; EMPTY_STAR: string; SELECTED_STAR: string; STAR: string; HORRIBLE: string; AVERAGE: string; BAD: string; EXCELLENT: string; GOOD: string; MEAL_EMPTY_FEEDBACK: string; }; }; fabItems: FabItems; endObs: Subject; employeeData: NsEmpWebExpData.IEmployee; createAllowed: boolean; widgets: any[]; configurations: NsWISConfigurations.IConfigurations; cancelStream: Observable; teamCalendarUrl: string; displayTeamCalendar: boolean; upcomingBookingList: NsEmpWebExpData.IList[]; meetingBookingList: NsEmpWebExpData.IList[]; bookingSource: Observable; meetingSource: Observable; heroSource: Observable; mealSource: Observable; showTeamCalendar: EventEmitter; columnGroups: Observable>>; isRedirected: boolean; bookingRequestStatusList: Set; allWidgets: WidgetGroup; bookingId: string; userEmail: string; heroBooking: any; constructor(homeData: HomeDataService, user: EmpUserService, toast: ToastService, apiService: ApiService, bookingSvc: BookingDataService, drawerSvc: DrawerService, modalSvc: ModalService, loader: LoaderService, configSvc: ConfigurationService, router: Router, route: ActivatedRoute, widgetSvc: WidgetService, breakpointObs: BreakpointObserver, analytics: AnalyticsService); ngOnInit(): void; ngOnDestroy(): void; handlerCreateCallback: (id: "WFH" | "OFFICE") => void; handleQuickActions(id: "OFFICE" | "WFH"): void; private getEmpDetails; private updateWidgets; private updateLayout; private getBookings; private listenForBookingUpdates; private genHeroStream; checkForHeroBooking(res: any): NsEmpWebExpData.IBookingDetailDTOS; getCancellationBooking(res: any): void; private genUpcomingBookingStream; private genMeetingStream; private genMealStream; setPreferences(): void; handleUpcoming(booking: NsEmpWebExpData.IBookingDetailDTOS): void; handleMeetings(booking: NsEmpWebExpData.IBookingDetailDTOS): void; handleUpdateBooking(booking: NsEmpWebExpData.IBookingDetailDTOS): void; handleCardAction({ type, booking }: { type: NsEmpWebExpData.TCardActions; booking?: NsEmpWebExpData.IBookingDetailDTOS; }): void; handleCheckout(booking: NsEmpWebExpData.IBookingDetailDTOS): void; officeCheckout(booking: NsEmpWebExpData.IBookingDetailDTOS): void; homeCheckout(booking: NsEmpWebExpData.IBookingDetailDTOS): void; showCheckinConfirmPopup(bookingData: NsEmpWebExpData.IBookingDetailDTOS): void; handleMeals(event: NsEmpWebExpData.IMealFeedbackModalInfo): void; handleWidgetAction(widget: NsEmpWebExpData.IWidget, id: number): void; openTeamCalendar(val: any): void; }