UNPKG

@progress/kendo-react-scheduler

Version:

React Scheduler brings the functionality of Outlook's Calendar to a single UI component. KendoReact Scheduler package

65 lines (64 loc) 3.07 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { OffsetPosition } from './types/OffsetPosition'; import { RecurrenceRule } from '@progress/kendo-recurrence'; import { Frequency } from './types/Frequency'; import { WeekDayRule } from './types/WeekDayRule'; import { FrequencyEntity } from './types/FrequencyEntity'; import { MonthEntity } from './types/MonthEntity'; import { WeekDayEntity } from './types/WeekDayEntity'; import { OffsetPositionEntity } from './types/OffsetPositionEntity'; import { EndRule } from './types/EndRule'; import { RepeatOnRule } from './types/RepeatOnRule'; import { IntlService } from '@progress/kendo-react-intl'; /** @hidden */ export declare const capitalize: (value: string) => string; /** @hidden */ export declare const OFFSET_POSITIONS: OffsetPosition[]; /** @hidden */ export declare const FREQUENCIES: Frequency[]; /** @hidden */ export declare const dayRule: WeekDayRule[]; /** @hidden */ export declare const weekdayRule: WeekDayRule[]; /** @hidden */ export declare const weekendRule: WeekDayRule[]; /** @hidden */ export declare const weekDayRuleFromString: (weekDay: string) => WeekDayRule[] | undefined; /** @hidden */ export declare const getRule: (recurrenceRule: string) => RecurrenceRule; /** @hidden */ export declare const getFrequencies: (localizeMessage: any) => FrequencyEntity[]; /** @hidden */ export declare const getFrequency: (rrule: RecurrenceRule) => Frequency; /** @hidden */ export declare const getUntil: (rrule: RecurrenceRule) => Date | null; /** @hidden */ export declare const getMonths: (intl: IntlService) => MonthEntity[]; /** @hidden */ export declare const getWeekDays: (intl: IntlService) => WeekDayEntity[]; /** @hidden */ export declare const getWeekDay: (weekDays: WeekDayEntity[], rrule: RecurrenceRule, start: Date) => WeekDayEntity; /** @hidden */ export declare const getExtendedWeekDays: (intl: IntlService, localizeMessage: any) => WeekDayEntity[]; /** @hidden */ export declare const getOffset: (offsets: OffsetPositionEntity[], rrule: RecurrenceRule) => OffsetPositionEntity; /** @hidden */ export declare const getOffsets: (localizeMessage: any) => OffsetPositionEntity[]; /** @hidden */ export declare const getEndRule: (rrule: RecurrenceRule) => EndRule; /** @hidden */ export declare const getRepeatOnRule: (rrule: RecurrenceRule) => RepeatOnRule | undefined; /** @hidden */ export declare const getMonth: (months: MonthEntity[], rrule: RecurrenceRule) => MonthEntity; /** @hidden */ export declare const getMonthDay: (rrule: RecurrenceRule, start: Date) => number; /** @hidden */ export declare const getUntilEnd: (start: Date, until: Date | null) => Date; /** @hidden */ export declare const getUntilMin: (start: Date, until: Date | null) => Date;