import { OnInit } from '@angular/core'; import { TranslateService } from '@ngx-translate/core'; import { Dayjs } from 'dayjs'; import 'dayjs/locale/it'; import { HttpErrorResponse } from '@angular/common/http'; import { Tenant } from '../_model/tenant'; import { DataService } from '../_service/data.service'; import { PlanType } from '../_model/enumeration'; import { Appointment } from '../_model/appointment'; import { BehaviorSubject } from 'rxjs'; import { Store } from '../_model/store'; export declare class OptixCalendarComponent implements OnInit { private dataService; private translate; apiKey: any; storeId: any; contact: any; step: number; token: any; private jwtHelper; tenant: Tenant; store: BehaviorSubject; stores: BehaviorSubject; planTypeEnum: typeof PlanType; callInProgress: boolean; /**************************************** CALENDAR ****************************************/ selected: Dayjs; selectedHourIndex: number; hoursArray: { hour: Dayjs; index: number; }[]; appointementTypes: any[]; appointementType: any; appointment: Appointment; contactInfo: { name: string; id: string; fullName: string; email: string; phoneNumber: string; }; constructor(dataService: DataService, translate: TranslateService); ngOnInit(): void; setHour(val: { hour: Dayjs; index: number; }): void; saveAppointment(a: { name: string; phoneNumber: string; email: string; description: string; }): void; /** * È stato selezionato il giorno */ daySelected(day: Dayjs): void; appointmentSelected(val: string): void; /*********************************** STEP *******************************************/ firstStepCompleted(): void; secondStepCompleted(): void; /********************************** ***** *************************************** ********************************** ERROR *************************************** ********************************** ***** ***************************************/ handleError(err: HttpErrorResponse): void; }