UNPKG

@agendize/design-system

Version:
25 lines 753 B
export declare class SpecificPeriodModel { daysPeriods: PeriodModel[]; hours: HourModel[]; constructor(days?: Date[], hours?: HourModel[]); setDaysPeriods(days: Date[] | undefined): void; } export declare class PeriodModel { start: Date; end: Date; constructor(start: Date, end?: Date); } export declare class HourModel { id?: string; start: string; end: string; constructor(start: string, end: string, id?: string); } export declare function isNextDay(day1: Date, day2: Date): boolean; export declare function cloneDate(start: Date): Date; export interface SpecificPeriodProps { id?: string; loading: boolean; modelValue: SpecificPeriodModel[]; } //# sourceMappingURL=SpecificPeriodModel.d.ts.map