import { EventEmitter, OnChanges } from '@angular/core'; import { SelectItem } from 'primeng-lts/api'; import { CargoReportWeeklyScheduleV2, CargoReportDailyScheduleV2, CargoReportMonthlyScheduleV2 } from '@al/cargo'; import { AlNotificationDictionariesUtility } from '../services/al-notification-dictionaries-utility'; import * as i0 from "@angular/core"; export declare class AlCadenceSelectorComponent implements OnChanges { frequencies: string[] | false; initialSchedule: undefined | 'every_15_minutes' | 'asap' | { daily?: CargoReportDailyScheduleV2; weekly?: CargoReportWeeklyScheduleV2; monthly?: CargoReportMonthlyScheduleV2; }; minDate?: Date; onCadenceChanged: EventEmitter<{ daily: CargoReportDailyScheduleV2; } | { weekly: CargoReportWeeklyScheduleV2; } | { monthly: CargoReportMonthlyScheduleV2; } | 'every_15_minutes' | 'asap' | string>; onMonthSelectedChanged: EventEmitter; dayOfMonth: { label: string; value: number; }[]; scheduledDayOfMonth: number; dayOfWeek: { label: string; value: string; }[]; scheduledDayOfWeek: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday"; maxDate: Date; options: SelectItem[]; selectedOption: { key: string; subLabel: string; hourInputLabel?: string; } | undefined; hourSelected: Date | null; hourFieldName: string; dictionaries: AlNotificationDictionariesUtility; isInvalidDate: boolean; showMonthlyTimeFrames: boolean; monthlyTimeFrames: { label: string; value: number; }[]; monthSelected: number; constructor(); ngOnChanges(): void; /** * setup the frecuency and the default values */ initialSetup: () => void; /** * populate the options * @param frequencies */ setOptions: (frequencies: string[]) => void; /** * function called when the frequency is change or the time is changed */ onBuildSchedule: () => void; /** * Build the schedule time using cargo types */ buildSchedule: (selectedOptionKey: string, timeSelected: Date) => any; /** * build weekly schedule */ buildWeeklySchedule: (inputDate: Date) => { weekly: CargoReportWeeklyScheduleV2; }; /** * Get the name of the day of the week * */ getDayName: (day: number) => "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday"; /** * build daily schedule */ buildDailySchedule: (inputDate: Date) => { daily: CargoReportDailyScheduleV2; }; /** * build monthly schedule */ buildMonthlySchedule: (inputDate: Date) => { monthly: CargoReportMonthlyScheduleV2; }; static ɵfac: i0.ɵɵFactoryDef; static ɵcmp: i0.ɵɵComponentDefWithMeta; }