import { RawOptionsFromRefiners, RefinedOptionsFromRefiners, EventSourceOptions, EventSourceOptionsRefined, BaseOptionsRefined, EventRefiners, BaseOptions } from '@fullcalendar/core/protected-api'; import { NativeDateFormatterOptions, FuncDateFormatterFunc, DateFormatter, DateRange, DateEnv, DateTimeRangeFormatPartWithWeek, DateMarker, Duration, DateInput, DateTimeFormatPartWithWeek as DateTimeFormatPartWithWeek$1, DurationInput, DateRangeInput, OpenDateRange, createDuration, CmdDateFormatterFunc, WeekNumberCalculation, LocaleCodeArg } from '@full-ui/headless-calendar'; import * as react_jsx_runtime from 'react/jsx-runtime'; import * as react from 'react'; import { ReactNode, Ref, Component, CSSProperties, ComponentType, FC, RefObject, ReactElement } from 'react'; type FormatterInput = NativeDateFormatterOptions | string | FuncDateFormatterFunc; declare function createFormatter(input: FormatterInput): DateFormatter; interface PointerDragEvent { origEvent: UIEvent; isTouch: boolean; subjectEl: EventTarget; pageX: number; pageY: number; deltaX: number; deltaY: number; } interface EventInstanceRange extends DateRange { instantStartMs?: number; instantEndMs?: number; } interface EventRangeEdge { marker: Date; instantMs?: number; } declare function getRangeInstantStartMs(range: EventInstanceRange, dateEnv: DateEnv): number; declare function getRangeInstantEndMs(range: EventInstanceRange, dateEnv: DateEnv): number; declare function buildValidInstanceRange(start: EventRangeEdge, end: EventRangeEdge, dateEnv: DateEnv): EventInstanceRange | null; interface EventInstance { instanceId: string; defId: string; range: EventInstanceRange; } type EventInstanceHash = { [instanceId: string]: EventInstance; }; declare function guid(): string; interface OrderSpec { field?: string; order?: number; func?: FieldSpecInputFunc; } type FieldSpecInput = string | string[] | FieldSpecInputFunc | FieldSpecInputFunc[]; type FieldSpecInputFunc = (a: Subject, b: Subject) => number; declare function parseFieldSpecs(input: FieldSpecInput): OrderSpec[]; declare function compareByFieldSpecs(obj0: Subject, obj1: Subject, fieldSpecs: OrderSpec[]): number; declare function flexibleCompare(a: any, b: any): number; declare function valuesIdentical(a: T, b: T): boolean; declare function computeViewBorderless(options: CalendarOptions): { borderlessX: boolean; borderlessTop: boolean; borderlessBottom: boolean; }; interface ViewApi { calendar: CalendarApi; type: string; title: string; titleParts: DateTimeRangeFormatPartWithWeek[]; activeStart: Date; activeEnd: Date; currentStart: Date; currentEnd: Date; getOption(name: string): any; } interface EventSourceApi { id: string; url: string; format: string; remove(): void; refetch(): void; } type BusinessHoursInput = boolean | EventInput | EventInput[]; declare function parseBusinessHours(input: BusinessHoursInput, context: CalendarContext): EventStore; interface Point { left: number; top: number; } interface Rect { left: number; right: number; top: number; bottom: number; } declare function getRectCenter(rect: Rect): Point; type MountInfo = DisplayInfo & { el: HTMLElement; }; type DidMountHandler = (mountData: MountInfo) => void; type WillUnmountHandler = (mountData: MountInfo) => void; interface ObjCustomContent { html?: string; domNodes?: any[]; } type CustomContent = ReactNode | ObjCustomContent; type ContentGenerator = CustomContent | ((renderProps: RenderProps) => (CustomContent | true | void | undefined)); type ClassNameInput = string | undefined | null | false | 0; type ClassNameGenerator = ClassNameInput | ((renderProps: RenderProps) => ClassNameInput); declare function refineClassName(input: unknown, optionName: string): ClassNameInput; declare function refineClassNameGenerator(input: ClassNameGenerator, optionName: string): ClassNameGenerator; interface EventInteractionState { affectedEvents: EventStore; mutatedEvents: EventStore; isEvent: boolean; } interface SplittableProps { businessHours: EventStore | null; dateSelection: DateSpan | null; eventStore: EventStore; eventUiBases: EventUiBases; eventDrag: EventInteractionState | null; eventResize: EventInteractionState | null; eventSelection: string; } declare abstract class Splitter { private getKeysForEventDefs; private splitDateSelection; private splitEventStore; private splitEventDrag; private splitEventResize; private eventUiBuilders; abstract getKeyInfo(props: PropsType): { [key: string]: { ui?: EventUi; businessHours?: EventStore; }; }; abstract getKeysForDateSpan(dateSpan: DateSpan): string[]; abstract getKeysForEventDef(eventDef: EventDef): string[]; splitProps(props: PropsType): { [key: string]: SplittableProps; }; private _splitDateSpan; private _getKeysForEventDefs; private _splitEventStore; private _splitInteraction; } interface DateMeta { dow: number; date: Date; isDisabled: boolean; isOther: boolean; isToday: boolean; isPast: boolean; isFuture: boolean; } declare function getDateMeta(dateMarker: DateMarker, dateEnv: DateEnv, dateProfile?: DateProfile, todayRange?: DateRange, nowDate?: DateMarker): DateMeta; type EventSourceSuccessResponseHandler = (this: CalendarApiImpl, rawData: any, response: any) => EventInput[] | void; type EventSourceErrorResponseHandler = (error: Error) => void; interface EventSource { _raw: any; sourceId: string; sourceDefId: number; meta: Meta; publicId: string; isFetching: boolean; latestFetchId: string; fetchRange: DateRange | null; defaultAllDay: boolean | null; eventDataTransform: EventInputTransformer; ui: EventUi; success: EventSourceSuccessResponseHandler | null; failure: EventSourceErrorResponseHandler | null; extendedProps: Dictionary; } type EventSourceHash = { [sourceId: string]: EventSource; }; interface EventSourceFetcherRes { rawEvents: EventInput[]; response?: Response; } type EventSourceFetcher = (data: { eventSource: EventSource; range: DateRange; isRefetch: boolean; context: CalendarContext; }, successCallback: (res: EventSourceFetcherRes) => void, errorCallback: (error: Error) => void) => void; type EqualityFunc = (a: T, b: T) => boolean; type EqualityFuncs

= { [K in keyof P]?: EqualityFunc; }; declare abstract class PureComponent extends Component { static addPropsEquality: typeof addPropsEquality; static addStateEquality: typeof addStateEquality; static contextType: any; context: ViewContext; propEquality: EqualityFuncs; stateEquality: EqualityFuncs; shouldComponentUpdate(nextProps: Props, nextState: State): boolean; } declare abstract class BaseComponent extends PureComponent { static contextType: any; context: ViewContext; } declare function addPropsEquality(this: { prototype: { propEquality: any; }; }, propEquality: any): void; declare function addStateEquality(this: { prototype: { stateEquality: any; }; }, stateEquality: any): void; declare function setRef(ref: Ref | void, current: RefType): void; type ElRef = Ref; type ElAttrs = { ref?: ElRef; } & Record; interface ElAttrsProps { attrs?: ElAttrs; className?: string; style?: CSSProperties & Record; elRef?: ElRef; } interface ElProps extends ElAttrsProps { tag: string; } interface ContentGeneratorProps { renderProps: RenderProps; generatorName: string | undefined; customGenerator?: ContentGenerator; defaultGenerator?: (renderProps: RenderProps) => ReactNode; } type ContentInjectorProps = ElProps & ContentGeneratorProps & { renderId: number; }; declare class ContentInjector extends BaseComponent> { private el; private id; private queuedDomNodes; private currentDomNodes; private currentGeneratorMeta; render(): react.DetailedReactHTMLElement, HTMLElement>; componentDidMount(): void; componentDidUpdate(): void; componentWillUnmount(): void; private triggerCustomRendering; private handleEl; private applyQueueudDomNodes; } interface ToolbarModel { sectionWidgets: { start: ToolbarWidget[][]; center: ToolbarWidget[][]; end: ToolbarWidget[][]; }; viewsWithButtons: string[]; hasTitle: boolean; } interface ToolbarInfo { borderlessX: boolean; borderlessTop: boolean; borderlessBottom: boolean; } interface ToolbarSectionInfo { name: string; } interface ButtonGroupInfo { hasSelection: boolean; } interface ButtonInfo { name: string; text: string; isPrimary: boolean; isSelected: boolean; isDisabled: boolean; isIconOnly: boolean; buttonGroup: ButtonGroupInfo | null; } type ButtonDisplay = 'auto' | 'icon' | 'text' | 'icon-text' | 'text-icon'; interface ButtonInput { didMount?: DidMountHandler; willUnmount?: WillUnmountHandler; click?: (ev: MouseEvent) => void; hint?: string | ((viewOrCurrentUnitText: string, viewOrCurrentUnit: string) => string); class?: ClassNameGenerator; className?: ClassNameGenerator; display?: ButtonDisplay; iconClass?: string | undefined; iconContent?: ContentGenerator<{}>; text?: string; isPrimary?: boolean; } interface ToolbarWidget { name: string; isView?: boolean; customElement?: ToolbarElementInput; buttonText?: string; buttonHint?: string | ((currentUnit: string) => string); buttonDisplay?: ButtonDisplay; buttonIconClass?: string | undefined; buttonIconContent?: ContentGenerator<{}>; buttonClick?: (ev: MouseEvent) => void; buttonIsPrimary?: boolean; buttonClass?: ClassNameGenerator; buttonDidMount?: DidMountHandler; buttonWillUnmount?: WillUnmountHandler; } interface ToolbarInput { left?: string; center?: string; right?: string; start?: string; end?: string; } type ToolbarElementInput = ContentGenerator<{}>; interface ViewContainerProps extends Partial { viewSpec: ViewSpec; attrs?: any; children?: ReactNode; } interface ViewDisplayInfo { view: ViewApi; borderlessX: boolean; borderlessTop: boolean; borderlessBottom: boolean; options: { headerToolbar: ToolbarInput | false | undefined; footerToolbar: ToolbarInput | false | undefined; }; isHeightAuto: boolean; } declare class ViewContainer extends BaseComponent { private refineRenderProps; render(): react_jsx_runtime.JSX.Element; } interface ViewProps { className?: string; dateProfile: DateProfile; businessHours: EventStore; eventStore: EventStore; eventUiBases: EventUiBases; dateSelection: DateSpan | null; eventSelection: string; eventDrag: EventInteractionState | null; eventResize: EventInteractionState | null; forPrint: boolean; labelId: string | undefined; labelStr: string | undefined; } type ViewContentInfo = ViewProps & ViewDisplayInfo & { nextDayThreshold: Duration; }; declare function sliceEvents(props: ViewContentInfo, allDay?: boolean): EventRenderRange[]; type ViewComponentType = ComponentType; type ViewConfigInput = ViewComponentType | ViewOptions; type ViewConfigInputHash = { [viewType: string]: ViewConfigInput; }; interface ViewSpec { type: string; component: ViewComponentType; duration: Duration; durationUnit: string; singleUnit: string; optionDefaults: ViewOptions; optionOverrides: ViewOptions; } type ViewSpecHash = { [viewType: string]: ViewSpec; }; interface HandlerFuncTypeHash { [eventName: string]: (...args: any[]) => any; } declare class Emitter { private handlers; private options; private thisContext; setThisContext(thisContext: any): void; setOptions(options: Partial): void; on(type: Prop, handler: HandlerFuncs[Prop]): void; off(type: Prop, handler?: HandlerFuncs[Prop]): void; trigger(type: Prop, ...args: Parameters): void; hasHandlers(type: keyof HandlerFuncs): boolean; } declare class CalendarNowManager { private dateEnv?; private resetListeners; private nowAnchorDate?; private nowAnchorQueried?; private nowFn?; handleInput(dateEnv: DateEnv, // will change if timezone setup changed nowInput: DateInput | (() => DateInput)): void; getDateMarker(): DateMarker; getEpochMs(): number; addResetListener(handler: () => void): void; removeResetListener(handler: () => void): void; } interface CalendarDataManagerState { dynamicOptionOverrides: CalendarOptions; currentViewType: string; currentDate: DateMarker; dateProfile: DateProfile; businessHours: EventStore; eventSources: EventSourceHash; eventUiBases: EventUiBases; eventStore: EventStore; renderableEventStore: EventStore; dateSelection: DateSpan | null; eventSelection: string; eventDrag: EventInteractionState | null; eventResize: EventInteractionState | null; selectionConfig: EventUi; nowDate: DateMarker; } interface CalendarToolbarProps { title: string; selectedButton: string; navUnit: string; isTodayEnabled: boolean; isPrevEnabled: boolean; isNextEnabled: boolean; } interface CalendarOptionsData { localeDefaults: CalendarOptions; calendarOptions: CalendarOptionsRefined; toolbarConfig: { [toolbarName: string]: ToolbarModel; }; availableRawLocales: any; dateEnv: DateEnv; pluginHooks: PluginHooks; viewSpecs: ViewSpecHash; } interface CalendarCurrentViewData { viewSpec: ViewSpec; options: ViewOptionsRefined; viewApi: ViewImpl; dateProfileGenerator: DateProfileGenerator; } type CalendarDataBase = CalendarOptionsData & CalendarCurrentViewData & CalendarDataManagerState; interface CalendarData extends CalendarDataBase { nowManager: CalendarNowManager; viewTitle: string; viewTitleParts: DateTimeRangeFormatPartWithWeek[]; calendarApi: CalendarApiImpl; dispatch: (action: Action) => void; emitter: Emitter>; getCurrentData(): CalendarData; toolbarProps: CalendarToolbarProps; } declare class ViewImpl implements ViewApi { type: string; private getCurrentData; private dateEnv; constructor(type: string, getCurrentData: () => CalendarData, dateEnv: DateEnv); get calendar(): CalendarApi; get title(): string; get titleParts(): DateTimeRangeFormatPartWithWeek[]; get activeStart(): Date; get activeEnd(): Date; get currentStart(): Date; get currentEnd(): Date; getOption(name: string): any; } interface Hit { componentId?: string; context?: ViewContext; dateProfile: DateProfile; dateSpan: DateSpan; getDayEl: () => HTMLElement; rect: Rect; layer: number; largeUnit?: string; } interface EventSegUiInteractionState { affectedInstances: EventInstanceHash; segs: (S & EventRangeProps)[]; isEvent: boolean; } declare abstract class DateComponent extends BaseComponent { uid: string; prepareHits(): void; queryHit(isRtl: boolean, positionLeft: number, positionTop: number, elWidth: number, elHeight: number): Hit | null; isValidSegDownEl(el: HTMLElement): boolean; isValidDateDownEl(el: HTMLElement): boolean; } declare abstract class Interaction { component: DateComponent; isHitComboAllowed: ((hit0: Hit, hit1: Hit) => boolean) | null; constructor(settings: InteractionSettings); destroy(): void; } type InteractionClass = { new (settings: InteractionSettings): Interaction; }; interface InteractionSettingsInput { el: HTMLElement; useEventCenter?: boolean; isHitComboAllowed?: (hit0: Hit, hit1: Hit) => boolean; disableHits?: boolean; } interface InteractionSettings { component: DateComponent; el: HTMLElement; useEventCenter: boolean; isHitComboAllowed: ((hit0: Hit, hit1: Hit) => boolean) | null; } interface ViewContext extends CalendarContext { options: ViewOptionsRefined; dateProfileGenerator: DateProfileGenerator; viewSpec: ViewSpec; viewApi: ViewImpl; baseId: string; registerInteractiveComponent: (component: DateComponent, settingsInput: InteractionSettingsInput) => void; unregisterInteractiveComponent: (component: DateComponent) => void; } declare abstract class ElementDragging { emitter: Emitter; constructor(el: HTMLElement, selector?: string); destroy(): void; abstract cancel(): void; setMirrorIsVisible(bool: boolean): void; setMirrorNeedsRevert(bool: boolean): void; setAutoScrollEnabled(bool: boolean): void; } type ElementDraggingClass = { new (el: HTMLElement, selector?: string): ElementDragging; }; interface CalendarInnerProps extends CalendarData { forPrint: boolean; baseId: string; } interface CalendarContentProps extends CalendarData { toolbarProps: CalendarToolbarProps; forPrint: boolean; } declare class CalendarInner extends PureComponent { private buildViewContext; private buildViewPropTransformers; private interactionsStore; private calendarInteractions; private get viewTitleId(); render(): react_jsx_runtime.JSX.Element; private renderView; private buildAppendContent; componentDidMount(): void; componentDidUpdate(prevProps: Readonly): void; componentWillUnmount(): void; private registerInteractiveComponent; private unregisterInteractiveComponent; } interface ScrollerInterface { x: number; y: number; scrollTo(options: { x?: number; y?: number; }): void; addScrollStartListener(handler: () => void): void; removeScrollStartListener(handler: () => void): void; addScrollEndListener(handler: (isDevice: boolean) => void): void; removeScrollEndListener(handler: (isDevice: boolean) => void): void; } interface ScrollerSyncerClass { new (horizontal?: boolean): ScrollerSyncerInterface; } interface ScrollerSyncerInterface extends ScrollerInterface { handleChildren(scrollers: ScrollerInterface[]): void; destroy(): void; addScrollStartListener(handler: (isDevice: boolean) => void): void; removeScrollStartListener(handler: (isDevice: boolean) => void): void; addScrollListener(handler: (isDevice: boolean, scroll: number) => void): void; removeScrollListener(handler: (isDevice: boolean, scroll: number) => void): void; } type CssDimValue = string | number; declare function getIsHeightAuto(options: { height?: CssDimValue; contentHeight?: CssDimValue; }): boolean; declare function getTableHeaderSticky(options: { height?: CssDimValue; contentHeight?: CssDimValue; tableHeaderSticky?: boolean | 'auto'; }): boolean; declare function getFooterScrollbarSticky(options: { height?: CssDimValue; contentHeight?: CssDimValue; footerScrollbarSticky?: boolean | 'auto'; }): boolean; type ContentContainerProps = ElAttrsProps & ContentGeneratorProps & { tag?: string; classNameGenerator?: ClassNameGenerator | undefined; didMount?: ((renderProps: RenderProps & { el: HTMLElement; }) => void) | undefined; willUnmount?: ((renderProps: RenderProps & { el: HTMLElement; }) => void) | undefined; children?: InnerContainerFunc; }; declare class ContentContainer extends Component> { static contextType: react.Context; didMountMisfire?: boolean; context: number; el: HTMLElement; InnerContent: (props: ElProps) => react.CElement, ContentInjector>; render(): ReactNode; handleEl: (el: HTMLElement | null) => void; componentDidMount(): void; componentWillUnmount(): void; } type InnerContainerComponent = FC; type InnerContainerFunc = (InnerContainer: InnerContainerComponent, renderProps: RenderProps, attrs: ElAttrs) => ReactNode; declare function generateClassName(classNameGenerator: ClassNameGenerator | undefined, renderProps: RenderProps): string; interface NowIndicatorHeaderContainerProps extends Partial { date: DateMarker; children?: InnerContainerFunc; } interface NowIndicatorHeaderInfo { date: Date; view: ViewApi; } declare const NowIndicatorHeaderContainer: (props: NowIndicatorHeaderContainerProps) => react_jsx_runtime.JSX.Element; interface NowIndicatorLineContainerProps extends Partial { date: DateMarker; children?: InnerContainerFunc; } interface NowIndicatorLineInfo { date: Date; view: ViewApi; } declare const NowIndicatorLineContainer: (props: NowIndicatorLineContainerProps) => react_jsx_runtime.JSX.Element; interface MoreLinkContainerProps extends Partial { dateProfile: DateProfile; todayRange: DateRange; allDayDate: DateMarker | null; segs: EventRangeProps[]; hiddenSegs: EventRangeProps[]; dateSpanProps?: Dictionary; renderProps?: Dictionary; alignElRef?: RefObject; alignParentTop?: string; forceTimed?: boolean; popoverContent: () => ReactNode; isNarrow: boolean; isMicro: boolean; display: 'row' | 'column'; } interface MoreLinkInfo$1 { num: number; numericText: string; longText: string; text: string; isNarrow: boolean; view: ViewApi; } interface MoreLinkContainerState { isPopoverOpen: boolean; } declare class MoreLinkContainer extends BaseComponent { private linkEl; state: { isPopoverOpen: boolean; }; render(): react_jsx_runtime.JSX.Element; handleLinkEl: (linkEl: HTMLElement | null) => void; handleClick: (ev: MouseEvent) => void; handlePopoverClose: () => void; } interface CalendarDisplayInfo { borderlessX: boolean; borderlessTop: boolean; borderlessBottom: boolean; } interface CalendarMediaRootProps { emitter: Emitter>; children?: (forPrint: boolean) => ReactElement; } interface CalendarMediaRootState { forPrint: boolean; } declare class CalendarMediaRoot extends Component { state: CalendarMediaRootState; render(): ReactElement>; componentDidMount(): void; componentWillUnmount(): void; private handleBeforePrint; private handleAfterPrint; } declare function computeRootClassName(options: CalendarOptions, forPrint: boolean): string; declare class Store { private handlers; private currentValue; set(value: Value): void; subscribe(handler: (value: Value) => void): void; } type CustomRenderingHandler = (customRender: CustomRendering) => void; interface CustomRendering { id: string; isActive: boolean; containerEl: HTMLElement; generatorMeta: any; renderProps: RenderProps; } declare class CustomRenderingStore extends Store>> { private map; handle(customRendering: CustomRendering): void; } interface SlotLaneInfo extends DateMeta { time?: Duration; isMajor: boolean; isMinor: boolean; view: ViewApi; } interface SlotHeaderInfo extends SlotLaneInfo { level: number; isTime: boolean; text: string; textParts: DateTimeFormatPartWithWeek$1[]; weekdayText: string; dayNumberText: string; monthText: string; isNarrow: boolean; hasNavLink: boolean; isFirst: boolean; } interface AllDayHeaderInfo { text: string; view: ViewApi; isNarrow: boolean; } interface DayHeaderInfo extends DateMeta { date: Date; isNarrow: boolean; isMajor: boolean; inPopover: boolean; hasNavLink: boolean; level: number; text: string; textParts: DateTimeFormatPartWithWeek$1[]; weekdayText: string; dayNumberText: string; monthText: string; view: ViewApi; [otherProp: string]: any; } interface DayHeaderDividerInfo { isSticky: boolean; multiMonthColumns: number; options: { allDaySlot: boolean; }; } interface DayCellInfo extends DateMeta { date: DateMarker; isMajor: boolean; isNarrow: boolean; inPopover: boolean; hasNavLink: boolean; view: ViewApi; text: string; textParts: DateTimeFormatPartWithWeek$1[]; weekdayText: string; dayNumberText: string; monthText: string; options: { businessHours: boolean; }; [extraProp: string]: any; } type EventSourceFuncInfo = { start: Date; end: Date; startStr: string; endStr: string; timeZone: string; }; type EventSourceFunc = ((info: EventSourceFuncInfo, successCallback: (eventInputs: EventInput[]) => void, failureCallback: (error: Error) => void) => void) | ((info: EventSourceFuncInfo) => Promise); declare const JSON_FEED_EVENT_SOURCE_REFINERS: { method: StringConstructor; extraParams: Identity Dictionary)>; startParam: StringConstructor; endParam: StringConstructor; timeZoneParam: StringConstructor; }; declare const EVENT_SOURCE_REFINERS: { id: StringConstructor; defaultAllDay: BooleanConstructor; url: StringConstructor; format: StringConstructor; events: Identity; eventDataTransform: Identity; success: Identity; failure: Identity; }; type BuiltInEventSourceRefiners = typeof EVENT_SOURCE_REFINERS & typeof JSON_FEED_EVENT_SOURCE_REFINERS; declare module '@fullcalendar/core/protected-api' { interface EventSourceOptions extends RawOptionsFromRefiners { } interface EventSourceOptionsRefined extends RefinedOptionsFromRefiners { } } type EventSourceInputObject = EventUiInput & EventSourceOptions; type EventSourceInput = EventSourceInputObject | // object in extended form EventInput[] | EventSourceFunc | // just a function string; type EventSourceRefined = EventUiRefined & EventSourceOptionsRefined; type DateTimeFormatPartWithWeek = Omit & { type: Intl.DateTimeFormatPart['type'] | 'week'; }; interface WeekNumberHeaderInfo { num?: number; date?: Date; text: string; textParts: DateTimeFormatPartWithWeek[]; isNarrow: boolean; hasNavLink: boolean; options: { dayMinWidth: number | undefined; }; } interface InlineWeekNumberInfo { num: number; date: Date; text: string; textParts: DateTimeFormatPartWithWeek[]; isNarrow: boolean; hasNavLink: boolean; } interface EventSegment { event: EventApi; start: Date; end: Date; isStart: boolean; isEnd: boolean; } type MoreLinkAction = MoreLinkSimpleAction | MoreLinkHandler; type MoreLinkSimpleAction = 'popover' | 'week' | 'day' | 'timeGridWeek' | 'timeGridDay' | string; interface MoreLinkInfo { date: Date; allDay: boolean; allSegs: EventSegment[]; hiddenSegs: EventSegment[]; jsEvent: UIEvent; view: ViewApi; } type MoreLinkHandler = (info: MoreLinkInfo) => MoreLinkSimpleAction | void; interface DayLaneInfo extends DateMeta { date: DateMarker; isNarrow: boolean; isStack: boolean; isMajor: boolean; view: ViewApi; [extraProp: string]: any; } type TableDisplayInfo = { borderlessX: boolean; borderlessTop: boolean; borderlessBottom: boolean; multiMonthColumns: number; }; type TableHeaderInfo = TableDisplayInfo & { isSticky: boolean; }; type TableBodyInfo = TableDisplayInfo; interface EventClickInfo { el: HTMLElement; event: EventImpl; jsEvent: MouseEvent; view: ViewApi; } interface EventHoveringInfo { el: HTMLElement; event: EventImpl; jsEvent: MouseEvent; view: ViewApi; } interface DateSelectionApi extends DateSpanApi { jsEvent: UIEvent; view: ViewApi; } type DatePointTransform = (dateSpan: DateSpan, context: CalendarContext) => any; type DateSpanTransform = (dateSpan: DateSpan, context: CalendarContext) => any; type CalendarInteraction = { destroy: () => void; }; type CalendarInteractionClass = { new (context: CalendarContext): CalendarInteraction; }; type OptionChangeHandler = (propValue: any, context: CalendarContext) => void; type OptionChangeHandlerMap = { [propName: string]: OptionChangeHandler; }; interface DateSelectInfo extends DateSpanApi { jsEvent: MouseEvent | null; view: ViewApi; } interface DateUnselectInfo { jsEvent: MouseEvent; view: ViewApi; } type DatesSetInfo = RangeApiWithTimeZone & { view: ViewApi; }; interface EventAddInfo { event: EventImpl; relatedEvents: EventImpl[]; revert: () => void; } interface EventChangeInfo { oldEvent: EventImpl; event: EventImpl; relatedEvents: EventImpl[]; revert: () => void; } interface EventDropInfo extends EventChangeInfo { el: HTMLElement; delta: Duration; jsEvent: MouseEvent; view: ViewApi; } interface EventRemoveInfo { event: EventImpl; relatedEvents: EventImpl[]; revert: () => void; } interface ButtonState { text: string; hint: string; } interface NavButtonState extends ButtonState { isDisabled: boolean; } interface ButtonStateMap { today: NavButtonState; prev: NavButtonState; next: NavButtonState; prevYear: NavButtonState; nextYear: NavButtonState; [availableView: string]: ButtonState; } interface NoEventsInfo { text: string; view: ViewApi; } interface ListDayInfo extends DateMeta { isFirst: boolean; isLast: boolean; view: ViewApi; } interface ListDayHeaderInfo extends DateMeta { view: ViewApi; } interface ListDayEventsInfo extends DateMeta { view: ViewApi; } interface ListDayHeaderInnerInfo extends DateMeta { text: string; textParts: DateTimeFormatPartWithWeek$1[]; weekdayText: string; dayNumberText: string; monthText: string; hasNavLink: boolean; level: number; view: ViewApi; } interface SingleMonthInfo { multiMonthColumns: number; isFirst: boolean; isLast: boolean; } type SingleMonthHeaderInfo = { isSticky: boolean; isNarrow: boolean; hasNavLink: boolean; multiMonthColumns: number; }; type EventDragStopInfo = EventDragInfo; type EventDragStartInfo = EventDragInfo; interface EventDragInfo { el: HTMLElement; event: EventApi; jsEvent: MouseEvent; view: ViewApi; } type EventResizeStartInfo = EventResizeStartStopData; type EventResizeStopInfo = EventResizeStartStopData; interface EventResizeStartStopData { el: HTMLElement; event: EventApi; jsEvent: MouseEvent; view: ViewApi; } interface EventResizeDoneInfo extends EventChangeInfo { el: HTMLElement; startDelta: Duration; endDelta: Duration; jsEvent: MouseEvent; view: ViewApi; } interface DateClickInfo extends DatePointApi { dayEl: HTMLElement; jsEvent: MouseEvent; view: ViewApi; } interface DropInfo extends DatePointApi { draggedEl: HTMLElement; jsEvent: MouseEvent; view: ViewApi; } type EventReceiveInfo = EventReceiveLeaveData; type EventLeaveInfo = EventReceiveLeaveData; interface EventReceiveLeaveData { draggedEl: HTMLElement; event: EventApi; relatedEvents: EventApi[]; revert: () => void; view: ViewApi; } interface EventApi { source: EventSourceApi | null; start: Date | null; end: Date | null; startStr: string; endStr: string; id: string; groupId: string; allDay: boolean; title: string; url: string; display: string; startEditable: boolean; durationEditable: boolean; constraint: any; overlap: boolean; allow: any; color: string; contrastColor: string; className: string; extendedProps: Dictionary; setProp(name: string, val: any): void; setExtendedProp(name: string, val: any): void; setStart(startInput: DateInput, options?: { granularity?: string; maintainDuration?: boolean; }): void; setEnd(endInput: DateInput | null, options?: { granularity?: string; }): void; setDates(startInput: DateInput, endInput: DateInput | null, options?: { allDay?: boolean; granularity?: string; }): void; moveStart(deltaInput: DurationInput): void; moveEnd(deltaInput: DurationInput): void; moveDates(deltaInput: DurationInput): void; setAllDay(allDay: boolean, options?: { maintainDuration?: boolean; }): void; formatRange(formatInput: FormatterInput): any; remove(): void; toPlainObject(settings?: { collapseExtendedProps?: boolean; }): Dictionary; toJSON(): Dictionary; } interface CalendarApi { view: ViewApi; setOption(name: OptionName, val: CalendarOptions[OptionName]): void; getOption(name: OptionName): CalendarOptions[OptionName]; getAvailableLocaleCodes(): string[]; on(handlerName: ListenerName, handler: Required[ListenerName]): void; off(handlerName: ListenerName, handler?: Required[ListenerName]): void; trigger(handlerName: ListenerName, ...args: Parameters[ListenerName]>): void; changeView(viewType: string, dateOrRange?: DateRangeInput | DateInput): void; zoomTo(dateMarker: Date, viewType?: string): void; prev(): void; next(): void; prevYear(): void; nextYear(): void; today(): void; gotoDate(zonedDateInput: DateInput): void; incrementDate(deltaInput: DurationInput): void; getDate(): Date; formatDate(d: DateInput, formatter: FormatterInput): string; formatRange(d0: DateInput, d1: DateInput, settings: any): string; formatIso(d: DateInput, omitTime?: boolean): string; select(dateOrObj: DateInput | any, endDate?: DateInput): void; unselect(): void; addEvent(eventInput: EventInput, sourceInput?: EventSourceApi | string | boolean): EventApi | null; getEventById(id: string): EventApi | null; getEvents(): EventApi[]; removeAllEvents(): void; getEventSources(): EventSourceApi[]; getEventSourceById(id: string): EventSourceApi | null; addEventSource(sourceInput: EventSourceInput): EventSourceApi; removeAllEventSources(): void; refetchEvents(): void; scrollToTime(timeInput: DurationInput): void; } declare class CalendarController { private handleDateChange?; private calendarApi?; constructor(handleDateChange?: () => void); today(): void; prev(): void; next(): void; prevYear(): void; nextYear(): void; gotoDate(zonedDateInput: DateInput): void; incrementDate(duration: DurationInput): void; changeView(viewType: string): void; get view(): ViewApi | undefined; getDate(): Date | undefined; getButtonState(): ButtonStateMap; _setApi(calendarApi: CalendarApi | undefined): void; } declare class EventSourceImpl implements EventSourceApi { private context; internalEventSource: EventSource; constructor(context: CalendarContext, internalEventSource: EventSource); remove(): void; refetch(): void; get id(): string; get url(): string; get format(): string; } declare class EventImpl implements EventApi { _context: CalendarContext; _def: EventDef; _instance: EventInstance | null; constructor(context: CalendarContext, def: EventDef, instance?: EventInstance); setProp(name: string, val: any): void; setExtendedProp(name: string, val: any): void; setStart(startInput: DateInput, options?: { granularity?: string; maintainDuration?: boolean; }): void; setEnd(endInput: DateInput | null, options?: { granularity?: string; }): void; setDates(startInput: DateInput, endInput: DateInput | null, options?: { allDay?: boolean; granularity?: string; }): void; moveStart(deltaInput: DurationInput): void; moveEnd(deltaInput: DurationInput): void; moveDates(deltaInput: DurationInput): void; setAllDay(allDay: boolean, options?: { maintainDuration?: boolean; }): void; formatRange(formatInput: FormatterInput): string; mutate(mutation: EventMutation): void; remove(): void; get source(): EventSourceImpl | null; get start(): Date | null; get end(): Date | null; get startStr(): string; get endStr(): string; get id(): string; get groupId(): string; get allDay(): boolean; get title(): string; get url(): string; get display(): string; get startEditable(): boolean; get durationEditable(): boolean; get constraint(): string | EventStore; get overlap(): boolean; get allow(): AllowFunc; get color(): string; get contrastColor(): string; get className(): string; get extendedProps(): Dictionary; toPlainObject(settings?: { collapseExtendedProps?: boolean; }): Dictionary; toJSON(): Dictionary; } interface EventRenderRange extends EventTuple { ui: EventUi; range: EventInstanceRange; isStart: boolean; isEnd: boolean; } interface EventRangeProps { eventRange: EventRenderRange; } declare function getElEventRange(el: HTMLElement): EventRenderRange | null; declare function sortEventSegs(segs: S[], eventOrderSpecs: OrderSpec[]): S[]; interface MinimalEventProps { eventRange: EventRenderRange; slicedStart?: DateMarker; slicedEnd?: DateMarker; isStart: boolean; isEnd: boolean; isFirst?: boolean; isLast?: boolean; isDragging: boolean; isResizing: boolean; isMirror: boolean; isSelected: boolean; isPast: boolean; isFuture: boolean; isToday: boolean; renderProps?: Dictionary; } interface EventTextInfo { event: EventApi; timeText: string; isNarrow: boolean; isShort: boolean; } interface EventDisplayInfo extends EventTextInfo { event: EventImpl; color: string; contrastColor: string; isDraggable: boolean; isStartResizable: boolean; isEndResizable: boolean; isMirror: boolean; isStart: boolean; isEnd: boolean; isFirst: boolean; isLast: boolean; isPast: boolean; isFuture: boolean; isToday: boolean; isSelected: boolean; isDragging: boolean; isResizing: boolean; isInteractive: boolean; view: ViewApi; level: number; timeClass: string; titleClass: string; options: { eventOverlap: boolean; }; } declare function getEventRangeMeta(eventRange: EventRenderRange, todayRange: DateRange, nowDate?: DateMarker, nowMs?: number): { isPast: boolean; isFuture: boolean; isToday: boolean; }; declare function buildEventRangeKey(eventRange: EventRenderRange): string; interface OpenDateSpanInput { start?: DateInput; end?: DateInput; allDay?: boolean; [otherProp: string]: any; } interface DateSpanInput extends OpenDateSpanInput { start: DateInput; end: DateInput; } interface OpenDateSpan { range: OpenDateRange; allDay: boolean; instantStartMs?: number; instantEndMs?: number; [otherProp: string]: any; } interface DateSpan extends OpenDateSpan { range: DateRange; } interface RangeApi { start: Date; end: Date; startStr: string; endStr: string; } interface DateSpanApi extends RangeApi { allDay: boolean; } interface RangeApiWithTimeZone extends RangeApi { timeZone: string; } interface DatePointApi { date: Date; dateStr: string; allDay: boolean; } declare function getDateSpanInstantStartMs(dateSpan: DateSpan, dateEnv: DateEnv): number; declare function getDateSpanInstantEndMs(dateSpan: DateSpan, dateEnv: DateEnv): number; type ConstraintInput = 'businessHours' | string | EventInput | EventInput[]; type Constraint = 'businessHours' | string | EventStore | false; type OverlapFunc = ((stillEvent: EventImpl, movingEvent: EventImpl | null) => boolean); type AllowFunc = (span: DateSpanApi, movingEvent: EventImpl | null) => boolean; type isPropsValidTester = (props: SplittableProps, context: CalendarContext) => boolean; declare const EVENT_UI_REFINERS: { display: StringConstructor; editable: BooleanConstructor; startEditable: BooleanConstructor; durationEditable: BooleanConstructor; constraint: Identity; overlap: Identity; allow: Identity; class: typeof refineClassName; className: typeof refineClassName; color: StringConstructor; contrastColor: StringConstructor; }; type BuiltInEventUiRefiners = typeof EVENT_UI_REFINERS; interface EventUiRefiners extends BuiltInEventUiRefiners { } type EventUiInput = RawOptionsFromRefiners>; type EventUiRefined = RefinedOptionsFromRefiners>; interface EventUi { display: string | null; startEditable: boolean | null; durationEditable: boolean | null; constraints: Constraint[]; overlap: boolean | null; allows: AllowFunc[]; color: string; contrastColor: string; className: string; } type EventUiHash = { [id: string]: EventUi; }; interface EventUiBases { base: EventUi; bySource: EventUiHash; sectionUi?: EventUi; getExtraUi?: (eventDef: EventDef) => EventUi | undefined; } declare function createEventUi(refined: EventUiRefined, context: CalendarContext): EventUi; declare function combineEventUis(uis: EventUi[]): EventUi; interface EventDef { defId: string; sourceId: string; publicId: string; groupId: string; allDay: boolean; hasEnd: boolean; recurringDef: { typeId: number; typeData: any; duration: Duration | null; } | null; title: string; url: string; ui: EventUi; interactive?: boolean; extendedProps: Dictionary; } type EventDefHash = { [defId: string]: EventDef; }; interface EventStore { defs: EventDefHash; instances: EventInstanceHash; } declare function mergeEventStores(store0: EventStore, store1: EventStore): EventStore; interface EventMutation { datesDelta?: Duration; startDelta?: Duration; endDelta?: Duration; instantDatesDeltaMs?: number; instantStartDeltaMs?: number; instantEndDeltaMs?: number; standardProps?: any; extendedProps?: any; } type eventDefMutationApplier = (eventDef: EventDef, mutation: EventMutation, context: CalendarContext) => void; type eventDragMutationMassager = (mutation: EventMutation, hit0: Hit, hit1: Hit) => void; type EventDropTransformers = (mutation: EventMutation, context: CalendarContext, eventDef: EventDef) => Dictionary; type eventIsDraggableTransformer = (val: boolean, eventDef: EventDef, eventUi: EventUi, context: CalendarContext) => boolean; type dateSelectionJoinTransformer = (hit0: Hit, hit1: Hit) => any; declare const DRAG_META_REFINERS: { startTime: typeof createDuration; duration: typeof createDuration; create: BooleanConstructor; sourceId: StringConstructor; }; type DragMetaInput = RawOptionsFromRefiners & { [otherProp: string]: any; }; interface DragMeta { startTime: Duration | null; duration: Duration | null; create: boolean; sourceId: string; leftoverProps: Dictionary; } type ExternalDefTransform = (dateSpan: DateSpan, dragMeta: DragMeta) => any; interface EventSourceDef { ignoreRange?: boolean; parseMeta: (refined: EventSourceRefined) => Meta | null; fetch: EventSourceFetcher; } interface ParsedRecurring { typeData: RecurringData; allDayGuess: boolean | null; duration: Duration | null; } interface RecurringType { parse: (refined: EventRefined, dateEnv: DateEnv) => ParsedRecurring | null; expand: (typeData: any, framingRange: DateRange, dateEnv: DateEnv) => DateMarker[]; } interface PluginInput { majorVersionError?: undefined; name: string; premiumReleaseDate?: string; deps?: PluginInput[]; reducers?: ReducerFunc[]; isLoadingFuncs?: ((state: Dictionary) => boolean)[]; contextInit?: (context: CalendarContext) => void; eventRefiners?: GenericRefiners; eventDefMemberAdders?: EventDefMemberAdder[]; eventSourceRefiners?: GenericRefiners; isDraggableTransformers?: eventIsDraggableTransformer[]; eventDragMutationMassagers?: eventDragMutationMassager[]; eventDefMutationAppliers?: eventDefMutationApplier[]; dateSelectionTransformers?: dateSelectionJoinTransformer[]; datePointTransforms?: DatePointTransform[]; dateSpanTransforms?: DateSpanTransform[]; views?: ViewConfigInputHash; viewPropsTransformers?: ViewPropsTransformerClass[]; isPropsValid?: isPropsValidTester; externalDefTransforms?: ExternalDefTransform[]; viewContainerAppends?: ViewContainerAppend[]; eventDropTransformers?: EventDropTransformers[]; componentInteractions?: InteractionClass[]; calendarInteractions?: CalendarInteractionClass[]; eventSourceDefs?: EventSourceDef[]; cmdFormatter?: CmdDateFormatterFunc; recurringTypes?: RecurringType[]; initialView?: string; elementDraggingImpl?: ElementDraggingClass; optionChangeHandlers?: OptionChangeHandlerMap; scrollerSyncerClass?: ScrollerSyncerClass; listenerRefiners?: GenericListenerRefiners; optionRefiners?: GenericRefiners; optionDefaults?: CalendarOptions; propSetHandlers?: { [propName: string]: (val: any, context: CalendarData) => void; }; } interface PluginHooks { premiumReleaseDate: Date | undefined; reducers: ReducerFunc[]; isLoadingFuncs: ((state: Dictionary) => boolean)[]; contextInit: ((context: CalendarContext) => void)[]; eventRefiners: GenericRefiners; eventDefMemberAdders: EventDefMemberAdder[]; eventSourceRefiners: GenericRefiners; isDraggableTransformers: eventIsDraggableTransformer[]; eventDragMutationMassagers: eventDragMutationMassager[]; eventDefMutationAppliers: eventDefMutationApplier[]; dateSelectionTransformers: dateSelectionJoinTransformer[]; datePointTransforms: DatePointTransform[]; dateSpanTransforms: DateSpanTransform[]; views: ViewConfigInputHash; viewPropsTransformers: ViewPropsTransformerClass[]; isPropsValid: isPropsValidTester | null; externalDefTransforms: ExternalDefTransform[]; viewContainerAppends: ViewContainerAppend[]; eventDropTransformers: EventDropTransformers[]; componentInteractions: InteractionClass[]; calendarInteractions: CalendarInteractionClass[]; eventSourceDefs: EventSourceDef[]; cmdFormatter?: CmdDateFormatterFunc; recurringTypes: RecurringType[]; initialView: string; elementDraggingImpl?: ElementDraggingClass; optionChangeHandlers: OptionChangeHandlerMap; scrollerSyncerClass: ScrollerSyncerClass | null; listenerRefiners: GenericListenerRefiners; optionRefiners: GenericRefiners; optionDefaults: CalendarOptions[]; propSetHandlers: { [propName: string]: (val: any, context: CalendarData) => void; }; } type ViewPropsTransformerClass = new () => ViewPropsTransformer; interface ViewPropsTransformer { transform(viewProps: ViewProps, calendarProps: CalendarContentProps): any; } type ViewContainerAppend = (context: CalendarContext) => ReactNode; interface CalendarContext { nowManager: CalendarNowManager; dateEnv: DateEnv; options: BaseOptionsRefined; pluginHooks: PluginHooks; emitter: Emitter>; dispatch(action: Action): void; getCurrentData(): CalendarData; calendarApi: CalendarApiImpl; } declare const EVENT_REFINERS: { extendedProps: Identity; start: Identity; end: Identity; date: Identity; allDay: BooleanConstructor; id: StringConstructor; groupId: StringConstructor; title: StringConstructor; url: StringConstructor; interactive: BooleanConstructor; }; type BuiltInEventRefiners = typeof EVENT_REFINERS; declare module '@fullcalendar/core/protected-api' { interface EventRefiners extends BuiltInEventRefiners { } } type EventInput = EventUiInput & RawOptionsFromRefiners> & // Required hack { [extendedProp: string]: any; }; type EventRefined = EventUiRefined & RefinedOptionsFromRefiners>; interface EventTuple { def: EventDef; instance: EventInstance | null; } type EventInputTransformer = (input: EventInput) => EventInput; type EventDefMemberAdder = (refined: EventRefined) => Partial; type Action = { type: 'IDLE'; } | // hack { type: 'UPDATE_NOW'; } | { type: 'SET_OPTION'; optionName: string; rawOptionValue: any; } | // TODO: how to link this to CalendarOptions? { type: 'RESET_OPTIONS'; } | { type: 'PREV'; } | { type: 'NEXT'; } | { type: 'CHANGE_DATE'; dateMarker: DateMarker; } | { type: 'CHANGE_VIEW_TYPE'; viewType: string; dateMarker?: DateMarker; } | { type: 'SELECT_DATES'; selection: DateSpan; } | { type: 'UNSELECT_DATES'; } | { type: 'SELECT_EVENT'; eventInstanceId: string; } | { type: 'UNSELECT_EVENT'; } | { type: 'SET_EVENT_DRAG'; state: EventInteractionState; } | { type: 'UNSET_EVENT_DRAG'; } | { type: 'SET_EVENT_RESIZE'; state: EventInteractionState; } | { type: 'UNSET_EVENT_RESIZE'; } | { type: 'ADD_EVENT_SOURCES'; sources: EventSource[]; } | { type: 'REMOVE_EVENT_SOURCE'; sourceId: string; } | { type: 'REMOVE_ALL_EVENT_SOURCES'; } | { type: 'FETCH_EVENT_SOURCES'; sourceIds?: string[]; isRefetch?: boolean; } | // if no sourceIds, fetch all { type: 'RECEIVE_EVENTS'; sourceId: string; fetchId: string; fetchRange: DateRange | null; rawEvents: EventInput[]; } | { type: 'RECEIVE_EVENT_ERROR'; sourceId: string; fetchId: string; fetchRange: DateRange | null; error: Error; } | // need all these? { type: 'ADD_EVENTS'; eventStore: EventStore; } | { type: 'RESET_EVENTS'; eventStore: EventStore; } | { type: 'RESET_RAW_EVENTS'; rawEvents: EventInput[]; sourceId: string; } | { type: 'MERGE_EVENTS'; eventStore: EventStore; } | { type: 'REMOVE_EVENTS'; eventStore: EventStore; } | { type: 'REMOVE_ALL_EVENTS'; }; interface CalendarDataManagerConfig { calendarApi: CalendarApiImpl; onDataChange?: (data: CalendarData, actionsComplete: Action[]) => void; } type ReducerFunc = (currentState: Dictionary | undefined, action: Action | undefined, context: CalendarContext & CalendarDataManagerState) => Dictionary; declare class CalendarDataManager { private computeCurrentViewData; private organizeRawLocales; private buildLocale; private buildPluginHooks; private buildDateEnv; private parseToolbars; private buildViewSpecs; private buildDateProfileGenerator; private buildViewApi; private buildViewUiProps; private buildEventUiBySource; private buildEventUiBases; private parseContextBusinessHours; private buildToolbarProps; private buildTitleParts; private joinTitleParts; private nowManager; private nowTimer; private isDrainingActionQueue; private actionQueue; private optionOverrides; private config; private state; private data; emitter: Emitter>; currentCalendarOptionsRefiners: any; currentCalendarOptionsInput: CalendarOptions; private currentCalendarOptionsRefined; private currentViewOptionsInput; private currentViewOptionsRefined; private stableOptionOverrides; private stableDynamicOptionOverrides; private stableCalendarOptionsData; private optionsForRefining; private optionsForHandling; constructor(config: CalendarDataManagerConfig); mount(): void; destroy(): void; update(optionOverrides: CalendarOptions): CalendarData; resetOptions(optionOverrides: CalendarOptions, changedOptionNames?: string[]): void; getCurrentData: () => CalendarData; private handleNowChange; dispatch: (action: Action) => void; private drainActionQueue; private reduce; private computeOptionsData; private processRawCalendarOptions; private _computeCurrentViewData; private processRawViewOptions; } declare class CalendarApiImpl implements CalendarApi { currentDataManager?: CalendarDataManager; getCurrentData(): CalendarData; dispatch(action: Action): void; get view(): ViewImpl; batchRendering(callback: () => void): void; setOption(name: OptionName, val: CalendarOptions[OptionName]): void; getOption(name: OptionName): CalendarOptions[OptionName]; getAvailableLocaleCodes(): string[]; on(handlerName: ListenerName, handler: Required[ListenerName]): void; off(handlerName: ListenerName, handler?: Required[ListenerName]): void; trigger(handlerName: ListenerName, ...args: Parameters[ListenerName]>): void; changeView(viewType: string, dateOrRange?: DateRangeInput | DateInput): void; zoomTo(dateMarker: Date, viewType?: string): void; private getUnitViewSpec; prev(): void; next(): void; prevYear(): void; nextYear(): void; today(): void; gotoDate(zonedDateInput: DateInput): void; incrementDate(deltaInput: DurationInput): void; getDate(): Date; formatDate(d: DateInput, formatter: FormatterInput): string; formatRange(d0: DateInput, d1: DateInput, settings: any): string; formatIso(d: DateInput, omitTime?: boolean): string; select(dateOrObj: DateInput | any, endDate?: DateInput): void; unselect(pev?: PointerDragEvent): void; addEvent(eventInput: EventInput, sourceInput?: EventSourceImpl | string | boolean): EventImpl | null; private triggerEventAdd; getEventById(id: string): EventImpl | null; getEvents(): EventImpl[]; removeAllEvents(): void; getEventSources(): EventSourceImpl[]; getEventSourceById(id: string): EventSourceImpl | null; addEventSource(sourceInput: EventSourceInput): EventSourceImpl; removeAllEventSources(): void; refetchEvents(): void; scrollToTime(timeInput: DurationInput): void; getButtonState(): ButtonStateMap; } interface DateProfile { currentDate: DateMarker; isValid: boolean; validRange: OpenDateRange; renderRange: DateRange; activeRange: DateRange | null; currentRange: DateRange; currentRangeUnit: string; isRangeAllDay: boolean; dateIncrement: Duration; slotMinTime: Duration; slotMaxTime: Duration; } interface DateProfileGeneratorProps extends DateProfileOptions { dateProfileGeneratorClass: DateProfileGeneratorClass; duration: Duration; durationUnit: string; usesMinMaxTime: boolean; dateEnv: DateEnv; calendarApi: CalendarApiImpl; } interface DateProfileOptions { slotMinTime: Duration; slotMaxTime: Duration; showNonCurrentDates?: boolean; dayCount?: number; dateAlignment?: string; dateIncrement?: Duration; hiddenDays?: number[]; weekends?: boolean; validRangeInput?: DateRangeInput | ((this: CalendarApiImpl, nowDate: Date) => DateRangeInput); visibleRangeInput?: DateRangeInput | ((this: CalendarApiImpl, nowDate: Date) => DateRangeInput); fixedWeekCount?: boolean; } type DateProfileGeneratorClass = { new (props: DateProfileGeneratorProps): DateProfileGenerator; }; declare class DateProfileGenerator { protected props: DateProfileGeneratorProps; isHiddenDayHash: boolean[]; constructor(props: DateProfileGeneratorProps); buildPrev(currentDateProfile: DateProfile, currentDate: DateMarker, nowDate: DateMarker, forceToValid?: boolean): DateProfile; buildNext(currentDateProfile: DateProfile, currentDate: DateMarker, nowDate: DateMarker, forceToValid?: boolean): DateProfile; build(currentDate: DateMarker, nowDate: DateMarker, direction?: any, forceToValid?: boolean): DateProfile; buildValidRange(nowDate: DateMarker): OpenDateRange; buildCurrentRangeInfo(date: DateMarker, direction: any): { duration: any; unit: any; range: any; }; getFallbackDuration(): Duration; adjustActiveRange(range: DateRange): { start: Date; end: Date; }; buildRangeFromDuration(date: DateMarker, direction: any, duration: Duration, unit: any): any; buildRangeFromDayCount(date: DateMarker, direction: any, dayCount: any): { start: Date; end: Date; }; buildCustomVisibleRange(date: DateMarker): DateRange; buildRenderRange(currentRange: DateRange, currentRangeUnit: any, isRangeAllDay: any): DateRange; buildDateIncrement(fallback: any): Duration; refineRange(rangeInput: DateRangeInput | undefined): DateRange | null; initHiddenDays(): void; trimHiddenDays(range: DateRange): DateRange | null; isHiddenDay(day: any): boolean; skipHiddenDays(date: DateMarker, inc?: number, isExclusive?: boolean): Date; } declare function computeMajorUnit(dateProfile: DateProfile, dateEnv: DateEnv): string | undefined; declare function isMajorUnit(dateMarker: DateMarker, majorUnit: string, dateEnv: DateEnv): boolean; declare const BASE_OPTION_REFINERS: { /** * What happens when the user clicks a day nav link: the name of a view to open, or a function * receiving the date and native event. By default, the calendar switches to a day view, preferring * one that has a toolbar button. * @see https://fullcalendar.io/docs/navLinkDayClick */ navLinkDayClick: Identity void)>; /** * What happens when the user clicks a week nav link (a week number): the name of a view to open, or * a function receiving the week's start date and native event. By default, the calendar switches to * a week view, preferring one that has a toolbar button. * @see https://fullcalendar.io/docs/navLinkWeekClick */ navLinkWeekClick: Identity void)>; /** * The exact length of a view's date range, as a Duration such as `{ days: 4 }`. Mainly used to * define custom views. * @see https://fullcalendar.io/docs/duration */ duration: typeof createDuration; /** * Custom toolbar buttons, plus overrides for the built-in ones (`today`, `prev`, `next`, view * buttons, and so on), keyed by name. Each entry can set the button's text, hint, click handler, * icon, and display mode; reference the names in `headerToolbar` or `footerToolbar`. * @see https://fullcalendar.io/docs/buttons */ buttons: Identity>; /** * Custom toolbar elements keyed by name, each a content injection input. Reference the names in * `headerToolbar` or `footerToolbar` alongside buttons and `title`. * @see https://fullcalendar.io/docs/toolbarElements */ toolbarElements: Identity<{ [elementName: string]: ToolbarElementInput; }>; /** * Text for the toolbar's `prev` button. Defined by the locale; only visible when the button * displays text (see `buttonDisplay`). */ prevText: StringConstructor; /** * Text for the toolbar's `next` button. Defined by the locale; only visible when the button * displays text (see `buttonDisplay`). */ nextText: StringConstructor; /** * Text for the toolbar's `prevYear` button. Defined by the locale; only visible when the button * displays text (see `buttonDisplay`). */ prevYearText: StringConstructor; /** * Text for the toolbar's `nextYear` button. Defined by the locale; only visible when the button * displays text (see `buttonDisplay`). */ nextYearText: StringConstructor; /** * Text for the toolbar's `today` button. Defined by the locale; only visible when the button * displays text (see `buttonDisplay`). */ todayText: StringConstructor; /** * Text for the word "year", used for buttons of year-long views and in navigation button hints. * Defined by the locale. */ yearText: StringConstructor; /** * Text for the word "month", used for buttons of month-long views and in navigation button hints. * Defined by the locale. */ monthText: StringConstructor; /** * Text for the word "week", used for buttons of week-long views, navigation button hints, and week * numbers formatted with `week: 'long'`. Defined by the locale. * @see https://fullcalendar.io/docs/weekTextLong */ weekTextLong: StringConstructor; /** * The short label for week numbers, such as "W", used when week numbers are formatted with * `week: 'short'` or `week: 'narrow'`. Defined by the locale. * @see https://fullcalendar.io/docs/weekTextShort */ weekTextShort: StringConstructor; /** * Text for the word "day", used for buttons of day-long views and in navigation button hints. * Defined by the locale. */ dayText: StringConstructor; /** * Text for the toolbar buttons of list views. If `false`, list view buttons use the text of their * duration's unit, such as "Week". Defined by the locale. */ listText: Identity; /** * The accessible label for the `today` button. A string where `$0` is replaced by the current * unit's text (such as "month"), or a function receiving that text and the unit name. Defined by * the locale. */ todayHint: Identity string)>; /** * The accessible label for the `prev` button, and for `prevYear` (with "year" as the text). A * string where `$0` is replaced by the current unit's text (such as "month"), or a function * receiving that text and the unit name. Defined by the locale. */ prevHint: Identity string)>; /** * The accessible label for the `next` button, and for `nextYear` (with "year" as the text). A * string where `$0` is replaced by the current unit's text (such as "month"), or a function * receiving that text and the unit name. Defined by the locale. */ nextHint: Identity string)>; /** * Whether toolbar buttons show an icon, text, or both: `'auto'` (the default; an icon if the theme * provides one, otherwise text), `'icon'`, `'text'`, `'icon-text'`, or `'text-icon'`. Individual * buttons can override this via `buttons`. * @see https://fullcalendar.io/docs/buttonDisplay */ buttonDisplay: Identity; /** * Class names for buttons joined with commas in the toolbar setting (e.g. "prev,next"), shown as * one group. A string, or a function that receives `ButtonGroupInfo` and returns one. * @see https://fullcalendar.io/docs/toolbar-render-hooks */ buttonGroupClass: Identity>; /** * Class names for a single toolbar button, such as prev, next, today or a view name. A string, or a * function that receives `ButtonInfo` and returns one. * @see https://fullcalendar.io/docs/toolbar-render-hooks */ buttonClass: Identity>; /** * The duration assumed for all-day events that have no `end`. The event's actual `end` stays unset * unless `forceEventDuration` is `true`. * @see https://fullcalendar.io/docs/defaultAllDayEventDuration */ defaultAllDayEventDuration: typeof createDuration; /** * The duration assumed for timed events that have no `end`. The event's actual `end` stays unset * unless `forceEventDuration` is `true`. * @see https://fullcalendar.io/docs/defaultTimedEventDuration */ defaultTimedEventDuration: typeof createDuration; /** * How far a timed event must extend into a day before it is displayed on that day, as a Duration * such as `'09:00'`. Applies to day-based layouts like DayGrid, list, and day-slotted timeline * views, not TimeGrid. * @see https://fullcalendar.io/docs/nextDayThreshold */ nextDayThreshold: typeof createDuration; /** * The time of day the view is initially scrolled to in time-axis views, as a Duration such as * `'08:00'`. Earlier times remain reachable by scrolling. * @see https://fullcalendar.io/docs/scrollTime */ scrollTime: typeof createDuration; /** * Whether the view scrolls back to `scrollTime` each time the date range changes. * @see https://fullcalendar.io/docs/scrollTimeReset */ scrollTimeReset: BooleanConstructor; /** * The first time of day displayed in time-axis views, as a Duration such as `'08:00'`. Defaults to * midnight. * @see https://fullcalendar.io/docs/slotMinTime */ slotMinTime: typeof createDuration; /** * The time of day at which time-axis views end, as an exclusive Duration such as `'18:00'`. * Defaults to `'24:00'`. * @see https://fullcalendar.io/docs/slotMaxTime */ slotMaxTime: typeof createDuration; /** * The date format of the title in the "+more" event popover, as a date formatter. * @see https://fullcalendar.io/docs/popoverFormat */ popoverFormat: typeof createFormatter; /** * The length of each time slot in TimeGrid and timeline views, as a Duration such as `'00:15:00'`. * @see https://fullcalendar.io/docs/slotDuration */ slotDuration: typeof createDuration; /** * The time interval that dragged events and date selections snap to, as a Duration. Defaults to * `slotDuration`. * @see https://fullcalendar.io/docs/snapDuration */ snapDuration: typeof createDuration; /** * The buttons and title displayed above the calendar. An object whose `start`, `center`, and * `end` properties are strings like `'prev,next today'`. Omit or set `false` for no toolbar. * @see https://fullcalendar.io/docs/headerToolbar */ headerToolbar: Identity; /** * The buttons and title displayed below the calendar. Accepts the same values as `headerToolbar`; * omit or set `false` for no footer toolbar. * @see https://fullcalendar.io/docs/footerToolbar */ footerToolbar: Identity; /** * Whether events without an `end` get one assigned, computed from `defaultTimedEventDuration` or * `defaultAllDayEventDuration`. * @see https://fullcalendar.io/docs/forceEventDuration */ forceEventDuration: BooleanConstructor; /** * Class names for one day's vertical column of time slots, where its timed events appear. A string, * or a function that receives `DayLaneInfo` and returns one. * @see https://fullcalendar.io/docs/day-lane-render-hooks */ dayLaneClass: Identity>; /** * Class names for the wrapper inside a day lane that holds its timed events. A string, or a * function that receives `DayLaneInfo` and returns one. * @see https://fullcalendar.io/docs/day-lane-render-hooks */ dayLaneInnerClass: Identity>; /** * Called right after each `dayLane` part's element is added to the DOM. * @see https://fullcalendar.io/docs/day-lane-render-hooks */ dayLaneDidMount: Identity>; /** * Called right before each `dayLane` part's element is removed from the DOM. * @see https://fullcalendar.io/docs/day-lane-render-hooks */ dayLaneWillUnmount: Identity>; /** * The view shown when the calendar first loads, such as `'dayGridMonth'` or `'timeGridWeek'`. * If omitted, the default view of the first plugin that provides one is used. * @see https://fullcalendar.io/docs/initialView */ initialView: StringConstructor; /** * The width-to-height ratio of the calendar's view area, used to size the calendar when neither * `height` nor `contentHeight` is set. Larger numbers make a shorter calendar. * @see https://fullcalendar.io/docs/aspectRatio */ aspectRatio: NumberConstructor; /** * Whether to include Saturday and Sunday in the calendar's views. * @see https://fullcalendar.io/docs/weekends */ weekends: BooleanConstructor; /** * How week numbers are calculated: `'local'` (the locale's method, the default), `'ISO'`, or a * function that receives a Date and returns a week number. * @see https://fullcalendar.io/docs/weekNumberCalculation */ weekNumberCalculation: Identity; /** * Whether to display week numbers: in each row of DayGrid views with more than one row, in the * corner of TimeGrid views, and as a header row in timeline views with day or hour slots. * @see https://fullcalendar.io/docs/weekNumbers */ weekNumbers: BooleanConstructor; /** * Class names for the corner cell above the time axis that shows the week number, in TimeGrid * views. A string, or a function that receives `WeekNumberHeaderInfo` and returns one. * @see https://fullcalendar.io/docs/week-number-header-render-hooks */ weekNumberHeaderClass: Identity>; /** * Class names for the text wrapper inside the week-number header. A string, or a function that * receives `WeekNumberHeaderInfo` and returns one. * @see https://fullcalendar.io/docs/week-number-header-render-hooks */ weekNumberHeaderInnerClass: Identity>; /** * Custom content for each `weekNumberHeader` part, injected inside it in place of its default * content. * @see https://fullcalendar.io/docs/week-number-header-render-hooks */ weekNumberHeaderContent: Identity>; /** * Called right after each `weekNumberHeader` part's element is added to the DOM. * @see https://fullcalendar.io/docs/week-number-header-render-hooks */ weekNumberHeaderDidMount: Identity>; /** * Called right before each `weekNumberHeader` part's element is removed from the DOM. * @see https://fullcalendar.io/docs/week-number-header-render-hooks */ weekNumberHeaderWillUnmount: Identity>; /** * Class names for the week number shown inside the first day cell of each row, in day grids. A * string, or a function that receives `InlineWeekNumberInfo` and returns one. * @see https://fullcalendar.io/docs/inline-week-number-render-hooks */ inlineWeekNumberClass: Identity>; /** * Custom content for each `inlineWeekNumber` part, injected inside it in place of its default * content. * @see https://fullcalendar.io/docs/inline-week-number-render-hooks */ inlineWeekNumberContent: Identity>; /** * Called right after each `inlineWeekNumber` part's element is added to the DOM. * @see https://fullcalendar.io/docs/inline-week-number-render-hooks */ inlineWeekNumberDidMount: Identity>; /** * Called right before each `inlineWeekNumber` part's element is removed from the DOM. * @see https://fullcalendar.io/docs/inline-week-number-render-hooks */ inlineWeekNumberWillUnmount: Identity>; /** * Whether events can be dragged and resized. Requires the interaction plugin. Use * `eventStartEditable` or `eventDurationEditable` to control each separately. * @see https://fullcalendar.io/docs/editable */ editable: BooleanConstructor; controller: Identity; /** * Whether to display a marker at the current time in TimeGrid and timeline views. It repositions * itself as time passes. * @see https://fullcalendar.io/docs/nowIndicator */ nowIndicator: BooleanConstructor; /** * Whether the now indicator snaps to the start of the current time unit (such as the hour) instead * of tracking the exact time. `'auto'` (the default) decides based on the view's slot duration. */ nowIndicatorSnap: Identity; /** * Class names for the marker for the current time on the time axis. A string, or a function that * receives `NowIndicatorHeaderInfo` and returns one. * @see https://fullcalendar.io/docs/now-indicator-header-render-hooks */ nowIndicatorHeaderClass: Identity>; /** * Content rendered inside each `nowIndicatorHeader` part, which is otherwise empty. * @see https://fullcalendar.io/docs/now-indicator-header-render-hooks */ nowIndicatorHeaderContent: Identity>; /** * Called right after each `nowIndicatorHeader` part's element is added to the DOM. * @see https://fullcalendar.io/docs/now-indicator-header-render-hooks */ nowIndicatorHeaderDidMount: Identity>; /** * Called right before each `nowIndicatorHeader` part's element is removed from the DOM. * @see https://fullcalendar.io/docs/now-indicator-header-render-hooks */ nowIndicatorHeaderWillUnmount: Identity>; /** * Class names for the dot on the time axis beside the current-time line. A string only; functions * are not accepted. * @see https://fullcalendar.io/docs/now-indicator-dot-render-hooks */ nowIndicatorDotClass: typeof refineClassName; /** * Class names for the line marking the current time across the slots. A string, or a function that * receives `NowIndicatorLineInfo` and returns one. * @see https://fullcalendar.io/docs/now-indicator-line-render-hooks */ nowIndicatorLineClass: Identity>; /** * Content rendered inside each `nowIndicatorLine` part, which is otherwise empty. * @see https://fullcalendar.io/docs/now-indicator-line-render-hooks */ nowIndicatorLineContent: Identity>; /** * Called right after each `nowIndicatorLine` part's element is added to the DOM. * @see https://fullcalendar.io/docs/now-indicator-line-render-hooks */ nowIndicatorLineDidMount: Identity>; /** * Called right before each `nowIndicatorLine` part's element is removed from the DOM. * @see https://fullcalendar.io/docs/now-indicator-line-render-hooks */ nowIndicatorLineWillUnmount: Identity>; /** * In month views, whether to render the dates from the previous and next months that fill out the * first and last weeks. When `false`, those cells are blank and show no events. * @see https://fullcalendar.io/docs/showNonCurrentDates */ showNonCurrentDates: BooleanConstructor; /** * Whether to fetch events only when the calendar needs dates it has not already fetched. When * `false`, events are refetched whenever the view or date range changes. * @see https://fullcalendar.io/docs/lazyFetching */ lazyFetching: BooleanConstructor; /** * The name of the query parameter that JSON feed requests use for the start of the requested range. * Defaults to `'start'`. * @see https://fullcalendar.io/docs/startParam */ startParam: StringConstructor; /** * The name of the query parameter that JSON feed requests use for the exclusive end of the * requested range. Defaults to `'end'`. * @see https://fullcalendar.io/docs/endParam */ endParam: StringConstructor; /** * The name of the query parameter that JSON feed requests use for the calendar's time zone. Not * sent when `timeZone` is `'local'`. Defaults to `'timeZone'`. * @see https://fullcalendar.io/docs/timeZoneParam */ timeZoneParam: StringConstructor; /** * The time zone used to display and interpret dates: `'local'` (the default), `'UTC'`, or a * named IANA time zone such as `'America/New_York'`. * @see https://fullcalendar.io/docs/timeZone */ timeZone: StringConstructor; /** * Locale definitions to make available to the calendar, such as imported locale files. The active * one is chosen with `locale`. * @see https://fullcalendar.io/docs/locale */ locales: Identity; /** * The locale used for the calendar's text, date formats, first day of the week, and week numbering. * A locale code such as `'es'` (it must be loaded via `locales` or imported globally), or a locale * object. * @see https://fullcalendar.io/docs/locale */ locale: Identity; /** * How long, in milliseconds, an event takes to animate back to its original position after an * unsuccessful drag. * @see https://fullcalendar.io/docs/dragRevertDuration */ dragRevertDuration: NumberConstructor; /** * Whether scroll containers automatically scroll when the pointer nears their edge while dragging * an event or selecting dates. * @see https://fullcalendar.io/docs/dragScroll */ dragScroll: BooleanConstructor; /** * Whether an event keeps roughly the same duration when dragged between the all-day section and the * time slots. When `false`, its duration resets to `defaultAllDayEventDuration` or * `defaultTimedEventDuration`. * @see https://fullcalendar.io/docs/allDayMaintainDuration */ allDayMaintainDuration: BooleanConstructor; /** * Whether clicking elsewhere on the page clears the current date selection. See also * `unselectCancel`. * @see https://fullcalendar.io/docs/unselectAuto */ unselectAuto: BooleanConstructor; /** * Which external draggable elements may be dropped onto the calendar: a CSS selector, or a * function that receives the draggable element and returns `true` to accept it. * @see https://fullcalendar.io/docs/dropAccept */ dropAccept: Identity boolean)>; /** * The sort order for events that occupy the same day or time: event field names (prefix with `-` * for descending) as a comma-separated string or array, or a comparison function. Defaults to * `'start,-duration,allDay,title'`. * @see https://fullcalendar.io/docs/eventOrder */ eventOrder: typeof parseFieldSpecs; /** * Whether to follow `eventOrder` strictly. By default, the order is relaxed when doing so makes the * layout more compact. * @see https://fullcalendar.io/docs/eventOrderStrict */ eventOrderStrict: BooleanConstructor; /** * Whether a multi-day event in a DayGrid view can be split around a "+more" link. When `false`, the * whole event is hidden into the "+more" link if any of its days overflows. * @see https://fullcalendar.io/docs/eventSlicing */ eventSlicing: BooleanConstructor; /** * How events are laid out in TimeGrid views when printing: `'auto'` (the default; stacked in * browsers that print positioned elements poorly, such as Firefox), `'stack'`, or `'grid'`. * Printing requires the premium adaptive plugin. * @see https://fullcalendar.io/docs/eventPrintLayout */ eventPrintLayout: Identity<"auto" | "stack" | "grid">; /** * On touch devices, how long in milliseconds the user must hold down before dragging an event or * selecting dates. `eventLongPressDelay` and `selectLongPressDelay` override it for each case. * @see https://fullcalendar.io/docs/longPressDelay */ longPressDelay: NumberConstructor; /** * How many pixels the mouse must move before an event drag begins. * @see https://fullcalendar.io/docs/eventDragMinDistance */ eventDragMinDistance: NumberConstructor; /** * Whether the time slots of TimeGrid and resource timeline views stretch to fill the view's height * when they would otherwise leave empty space. * @see https://fullcalendar.io/docs/expandRows */ expandRows: BooleanConstructor; /** * The height of the whole calendar, including toolbars: a number of pixels, `'auto'` for the * natural height with no scrolling, or any CSS value such as `'100%'`. If unset, the height is * derived from `contentHeight` or `aspectRatio`. * @see https://fullcalendar.io/docs/height */ height: Identity; /** * The height of the calendar's view area, excluding toolbars: a number of pixels, a CSS value, or * `'auto'` for the natural height with no scrolling. Ignored if `height` is set. * @see https://fullcalendar.io/docs/contentHeight */ contentHeight: Identity; /** * The text direction of the calendar: `'ltr'` or `'rtl'`. Defaults to the locale's direction. * @see https://fullcalendar.io/docs/direction */ direction: Identity<"ltr" | "rtl">; /** * The calendar's color scheme, such as `'light'` or `'dark'`, applied to its root element, * popovers, and drag mirrors as a `data-color-scheme` attribute. If unset, the scheme is inherited * from an ancestor's `data-color-scheme` attribute. * @see https://fullcalendar.io/docs/color-palettes */ colorScheme: Identity<"light" | "dark" | string | undefined>; /** * The date format of week number text, as a date formatter such as `{ week: 'narrow' }`. The label * comes from `weekTextShort` or `weekTextLong`. * @see https://fullcalendar.io/docs/weekNumberFormat */ weekNumberFormat: typeof createFormatter; /** * Whether the user can resize an event from its starting edge, in addition to its ending edge. * @see https://fullcalendar.io/docs/eventResizableFromStart */ eventResizableFromStart: BooleanConstructor; /** * Whether to display the time text of timed events. If unset, each view chooses its own default. * @see https://fullcalendar.io/docs/displayEventTime */ displayEventTime: BooleanConstructor; /** * Whether to include the end time in an event's time text. If unset, each view chooses its own * default. * @see https://fullcalendar.io/docs/displayEventEnd */ displayEventEnd: BooleanConstructor; /** * Whether to render each event source as soon as it arrives, rather than waiting for all sources to * finish fetching and rendering them together. * @see https://fullcalendar.io/docs/progressiveEventRendering */ progressiveEventRendering: BooleanConstructor; /** * Highlights business hours and dims the rest. `true` uses Monday to Friday, 9am to 5pm; an object * or array of objects with `daysOfWeek`, `startTime`, and `endTime` sets custom hours. * @see https://fullcalendar.io/docs/businessHours */ businessHours: Identity; /** * The date the calendar displays when it first loads, as anything that parses into a date, such as * `'2026-02-01'`. Defaults to today. * @see https://fullcalendar.io/docs/initialDate */ initialDate: Identity; /** * The calendar's current date and time, used for "today" highlighting and the now indicator. A * parsable date, or a function returning one. Defaults to the system clock. * @see https://fullcalendar.io/docs/now */ now: Identity DateInput)>; /** * A function that converts each raw event received from an event source into a parsable event * object, or returns `false` to discard it. Not called for `addEvent`. * @see https://fullcalendar.io/docs/eventDataTransform */ eventDataTransform: Identity; /** * Whether the view's date headers stick to the top of the viewport while the page scrolls: `true`, * `false`, or `'auto'` (the default; sticky when `height` or `contentHeight` is `'auto'`). * @see https://fullcalendar.io/docs/tableHeaderSticky */ tableHeaderSticky: Identity; /** * Whether a view's horizontal scrollbar sticks to the bottom of the viewport while the page * scrolls: `true`, `false`, or `'auto'` (the default). It only sticks when `height` or * `contentHeight` is `'auto'`, and `'auto'` turns it on in that case. * @see https://fullcalendar.io/docs/footerScrollbarSticky */ footerScrollbarSticky: Identity; /** * The `allDay` value assigned to events that do not specify one. If unset, `allDay` is guessed from * the event's start and end values. * @see https://fullcalendar.io/docs/defaultAllDay */ defaultAllDay: BooleanConstructor; /** * Called when fetching from an event source fails, with an error object. For JSON feeds, the * error's `response` property holds the HTTP response. * @see https://fullcalendar.io/docs/eventSourceFailure */ eventSourceFailure: Identity<(this: CalendarApi, error: any) => void>; /** * Called when an event source fetch succeeds, with the raw event data and, for JSON feeds, the HTTP * response. It may return a new array of event inputs to use instead. * @see https://fullcalendar.io/docs/eventSourceSuccess */ eventSourceSuccess: Identity<(this: CalendarApi, eventsInput: EventInput[], response?: Response) => EventInput[] | void>; /** * The default rendering style for events: `'auto'`, `'block'`, `'list-item'`, `'background'`, * `'inverse-background'`, or `'none'`. Event sources and individual events can override it with * their `display` property. * @see https://fullcalendar.io/docs/eventDisplay */ eventDisplay: StringConstructor; /** * Whether events can be dragged to change their start. Overrides `editable` for dragging; requires * the interaction plugin. * @see https://fullcalendar.io/docs/eventStartEditable */ eventStartEditable: BooleanConstructor; /** * Whether events can be resized to change their duration. Overrides `editable` for resizing; * requires the interaction plugin. * @see https://fullcalendar.io/docs/eventDurationEditable */ eventDurationEditable: BooleanConstructor; /** * Whether events being dragged or resized may overlap other events. `true`, `false`, or a function * that receives the stationary and moving events and returns whether that overlap is allowed. * @see https://fullcalendar.io/docs/eventOverlap */ eventOverlap: Identity; /** * Limits where events can be dragged or resized: an event `groupId`, `'businessHours'`, or an * object describing a time window or date range that the event must stay within. * @see https://fullcalendar.io/docs/eventConstraint */ eventConstraint: Identity; /** * A function that decides whether an event may be dragged or resized to a given location. It * receives the proposed date span and the event, and returns `true` to allow it. * @see https://fullcalendar.io/docs/eventAllow */ eventAllow: Identity; /** * The color of all foreground events, as any CSS color. Event sources and individual events can * override it with their `color` property. * @see https://fullcalendar.io/docs/eventColor */ eventColor: StringConstructor; /** * The color used for text and other elements drawn on top of events' color, as any CSS color. Event * sources and individual events can override it with their `contrastColor` property. * @see https://fullcalendar.io/docs/eventContrastColor */ eventContrastColor: StringConstructor; /** * Called right after each `event` part's element is added to the DOM. * @see https://fullcalendar.io/docs/event-render-hooks */ eventDidMount: Identity>; /** * Called right before each `event` part's element is removed from the DOM. * @see https://fullcalendar.io/docs/event-render-hooks */ eventWillUnmount: Identity>; /** * Custom content for each event, rendered as the content of its `eventInner` element in place of * the default time and title. * @see https://fullcalendar.io/docs/event-render-hooks */ eventContent: Identity>; /** * Class names for every foreground event, in any view. More specific options also apply: * `blockEventClass` plus `rowEventClass` or `columnEventClass` for block events, or * `listItemEventClass` for list-item events. A string, or a function that receives * `EventDisplayInfo` and returns one. * @see https://fullcalendar.io/docs/event-render-hooks */ eventClass: Identity>; /** * Class names for the wrapper around an event's time and title. A string, or a function that * receives `EventDisplayInfo` and returns one. * @see https://fullcalendar.io/docs/event-render-hooks */ eventInnerClass: Identity>; /** * Class names for an event's time text. A string, or a function that receives `EventTextInfo` and * returns one. * @see https://fullcalendar.io/docs/event-render-hooks */ eventTimeClass: Identity>; /** * Class names for an event's title text. A string, or a function that receives `EventTextInfo` and * returns one. * @see https://fullcalendar.io/docs/event-render-hooks */ eventTitleClass: Identity>; /** * Class names for an element before an event's content, used for decoration and as the start * resize handle. Rendered only when it has class names, or content from `rowEventBeforeContent` in * row events. A string, or a function that receives `EventDisplayInfo` and returns one. * @see https://fullcalendar.io/docs/event-render-hooks */ eventBeforeClass: Identity>; /** * Class names for an element after an event's content, used for decoration and as the end resize * handle. Rendered only when it has class names, or content from `rowEventAfterContent` in row * events. A string, or a function that receives `EventDisplayInfo` and returns one. * @see https://fullcalendar.io/docs/event-render-hooks */ eventAfterClass: Identity>; /** * Class names for a bullet-point event with a colored dot: single-day timed events in DayGrid * views (or any event with `display: 'list-item'`), and every event in list views. A string, or a * function that receives `EventDisplayInfo` and returns one. * @see https://fullcalendar.io/docs/list-item-event-render-hooks */ listItemEventClass: Identity>; /** * Class names for the content wrapper of a list item event. A string, or a function that receives * `EventDisplayInfo` and returns one. * @see https://fullcalendar.io/docs/list-item-event-render-hooks */ listItemEventInnerClass: Identity>; /** * Class names for the time text of a list item event. A string, or a function that receives * `EventTextInfo` and returns one. * @see https://fullcalendar.io/docs/list-item-event-render-hooks */ listItemEventTimeClass: Identity>; /** * Class names for the title text of a list item event. A string, or a function that receives * `EventTextInfo` and returns one. * @see https://fullcalendar.io/docs/list-item-event-render-hooks */ listItemEventTitleClass: Identity>; /** * Class names for the before element of a list item event. A string, or a function that receives * `EventDisplayInfo` and returns one. * @see https://fullcalendar.io/docs/list-item-event-render-hooks */ listItemEventBeforeClass: Identity>; /** * Class names for the after element of a list item event. A string, or a function that receives * `EventDisplayInfo` and returns one. * @see https://fullcalendar.io/docs/list-item-event-render-hooks */ listItemEventAfterClass: Identity>; /** * Class names for a color-filled rectangular event: every event except list items. A string, or a * function that receives `EventDisplayInfo` and returns one. * @see https://fullcalendar.io/docs/block-event-render-hooks */ blockEventClass: Identity>; /** * Class names for the content wrapper of a block event. A string, or a function that receives * `EventDisplayInfo` and returns one. * @see https://fullcalendar.io/docs/block-event-render-hooks */ blockEventInnerClass: Identity>; /** * Class names for the time text of a block event. A string, or a function that receives * `EventTextInfo` and returns one. * @see https://fullcalendar.io/docs/block-event-render-hooks */ blockEventTimeClass: Identity>; /** * Class names for the title text of a block event. A string, or a function that receives * `EventTextInfo` and returns one. * @see https://fullcalendar.io/docs/block-event-render-hooks */ blockEventTitleClass: Identity>; /** * Class names for the before element of a block event. A string, or a function that receives * `EventDisplayInfo` and returns one. * @see https://fullcalendar.io/docs/block-event-render-hooks */ blockEventBeforeClass: Identity>; /** * Class names for the after element of a block event. A string, or a function that receives * `EventDisplayInfo` and returns one. * @see https://fullcalendar.io/docs/block-event-render-hooks */ blockEventAfterClass: Identity>; /** * Class names for a horizontal bar event: all-day and multi-day events in day grids, all-day events * in time grids, and timeline events. A string, or a function that receives `EventDisplayInfo` and * returns one. * @see https://fullcalendar.io/docs/row-event-render-hooks */ rowEventClass: Identity>; /** * Class names for the content wrapper of a row event. A string, or a function that receives * `EventDisplayInfo` and returns one. * @see https://fullcalendar.io/docs/row-event-render-hooks */ rowEventInnerClass: Identity>; /** * Class names for the time text of a row event, when it shows one. A string, or a function that * receives `EventTextInfo` and returns one. * @see https://fullcalendar.io/docs/row-event-render-hooks */ rowEventTimeClass: Identity>; /** * Class names for the title text of a row event. A string, or a function that receives * `EventTextInfo` and returns one. * @see https://fullcalendar.io/docs/row-event-render-hooks */ rowEventTitleClass: Identity>; /** * Whether a row event's title stays in view when the event is partly scrolled out horizontally, for * example in timeline views. * @see https://fullcalendar.io/docs/row-event-render-hooks */ rowEventTitleSticky: BooleanConstructor; /** * Class names for the before element of a row event. A string, or a function that receives * `EventDisplayInfo` and returns one. * @see https://fullcalendar.io/docs/row-event-render-hooks */ rowEventBeforeClass: Identity>; /** * Content rendered inside each row event's `rowEventBefore` element, which is otherwise empty. * @see https://fullcalendar.io/docs/row-event-render-hooks */ rowEventBeforeContent: Identity>; /** * Class names for the after element of a row event. A string, or a function that receives * `EventDisplayInfo` and returns one. * @see https://fullcalendar.io/docs/row-event-render-hooks */ rowEventAfterClass: Identity>; /** * Content rendered inside each row event's `rowEventAfter` element, which is otherwise empty. * @see https://fullcalendar.io/docs/row-event-render-hooks */ rowEventAfterContent: Identity>; /** * Class names for a vertical event in a day lane: timed events in time grids. A string, or a * function that receives `EventDisplayInfo` and returns one. * @see https://fullcalendar.io/docs/column-event-render-hooks */ columnEventClass: Identity>; /** * Class names for the content wrapper of a column event. A string, or a function that receives * `EventDisplayInfo` and returns one. * @see https://fullcalendar.io/docs/column-event-render-hooks */ columnEventInnerClass: Identity>; /** * Class names for the time text of a column event. A string, or a function that receives * `EventTextInfo` and returns one. * @see https://fullcalendar.io/docs/column-event-render-hooks */ columnEventTimeClass: Identity>; /** * Class names for the title text of a column event. A string, or a function that receives * `EventTextInfo` and returns one. * @see https://fullcalendar.io/docs/column-event-render-hooks */ columnEventTitleClass: Identity>; /** * Whether a column event's title stays in view when the event is partly scrolled out vertically, in * TimeGrid views. * @see https://fullcalendar.io/docs/column-event-render-hooks */ columnEventTitleSticky: BooleanConstructor; /** * Class names for the before element of a column event. A string, or a function that receives * `EventDisplayInfo` and returns one. * @see https://fullcalendar.io/docs/column-event-render-hooks */ columnEventBeforeClass: Identity>; /** * Class names for the after element of a column event. A string, or a function that receives * `EventDisplayInfo` and returns one. * @see https://fullcalendar.io/docs/column-event-render-hooks */ columnEventAfterClass: Identity>; /** * Class names for a background event: shading behind a day or time range. A string, or a function * that receives `EventDisplayInfo` and returns one. * @see https://fullcalendar.io/docs/background-event-render-hooks */ backgroundEventClass: Identity>; /** * Called right after each `backgroundEvent` part's element is added to the DOM. * @see https://fullcalendar.io/docs/background-event-render-hooks */ backgroundEventDidMount: Identity>; /** * Called right before each `backgroundEvent` part's element is removed from the DOM. * @see https://fullcalendar.io/docs/background-event-render-hooks */ backgroundEventWillUnmount: Identity>; /** * Custom content for each `backgroundEvent` part, injected inside it in place of its default * content. * @see https://fullcalendar.io/docs/background-event-render-hooks */ backgroundEventContent: Identity>; /** * Class names for the wrapper inside a background event. A string, or a function that receives * `EventDisplayInfo` and returns one. * @see https://fullcalendar.io/docs/background-event-render-hooks */ backgroundEventInnerClass: Identity>; /** * Class names for a background event's title text, where shown. A string, or a function that * receives `EventTextInfo` and returns one. * @see https://fullcalendar.io/docs/background-event-render-hooks */ backgroundEventTitleClass: Identity>; /** * The color of all background events, as any CSS color. * @see https://fullcalendar.io/docs/backgroundEventColor */ backgroundEventColor: StringConstructor; /** * Limits where the user can select dates: an event `groupId`, `'businessHours'`, or an object * describing a time window or date range that the selection must stay within. * @see https://fullcalendar.io/docs/selectConstraint */ selectConstraint: Identity; /** * Whether the user may select a range that overlaps events. `true`, `false`, or a function that * receives each overlapping event and returns whether that overlap is allowed. * @see https://fullcalendar.io/docs/selectOverlap */ selectOverlap: Identity; /** * A function that decides whether a potential date selection is allowed. It receives information * about the selection and returns `true` to allow it. * @see https://fullcalendar.io/docs/selectAllow */ selectAllow: Identity; /** * Whether events dragged from other calendars can be dropped onto this one. Also requires * `editable` and the interaction plugin. External draggable elements can be dropped regardless of * this setting; filter them with `dropAccept`. * @see https://fullcalendar.io/docs/droppable */ droppable: BooleanConstructor; /** * A CSS selector for elements that do not clear the current date selection when clicked, despite * `unselectAuto`. * @see https://fullcalendar.io/docs/unselectCancel */ unselectCancel: StringConstructor; /** * The date format of time slot labels in TimeGrid and timeline views. Timeline views also accept an * array of formats, one per header row. * @see https://fullcalendar.io/docs/slotHeaderFormat */ slotHeaderFormat: Identity; /** * Class names for one time slot's long strip: across all days in a time grid, down through all * resources in a timeline. A string, or a function that receives `SlotLaneInfo` and returns one. * @see https://fullcalendar.io/docs/slot-lane-render-hooks */ slotLaneClass: Identity>; /** * Called right after each `slotLane` part's element is added to the DOM. * @see https://fullcalendar.io/docs/slot-lane-render-hooks */ slotLaneDidMount: Identity>; /** * Called right before each `slotLane` part's element is removed from the DOM. * @see https://fullcalendar.io/docs/slot-lane-render-hooks */ slotLaneWillUnmount: Identity>; /** * Class names for one time label: on the left of a time grid, or along the top of a timeline. A * string, or a function that receives `SlotHeaderInfo` and returns one. * @see https://fullcalendar.io/docs/slot-header-render-hooks */ slotHeaderClass: Identity>; /** * Class names for the text wrapper inside a time label; may be a nav link in timelines. A string, * or a function that receives `SlotHeaderInfo` and returns one. * @see https://fullcalendar.io/docs/slot-header-render-hooks */ slotHeaderInnerClass: Identity>; /** * Custom content for each `slotHeader` part, injected inside it in place of its default content. * @see https://fullcalendar.io/docs/slot-header-render-hooks */ slotHeaderContent: Identity>; /** * Called right after each `slotHeader` part's element is added to the DOM. * @see https://fullcalendar.io/docs/slot-header-render-hooks */ slotHeaderDidMount: Identity>; /** * Called right before each `slotHeader` part's element is removed from the DOM. * @see https://fullcalendar.io/docs/slot-header-render-hooks */ slotHeaderWillUnmount: Identity>; /** * The horizontal alignment of slot header text in timeline views: `'start'`, `'center'`, or * `'end'`, or a function of the header's `level` and `isTime` that returns one. * @see https://fullcalendar.io/docs/slot-header-render-hooks */ slotHeaderAlign: Identity<"start" | "center" | "end" | ((info: { level: number; isTime: boolean; }) => "start" | "center" | "end")>; /** * In timeline views, whether the labels in the upper slot header rows (such as the dates above the * times) stay in view while scrolling horizontally. A number or CSS length sets their offset from * the edge. * @see https://fullcalendar.io/docs/slot-header-render-hooks */ slotHeaderSticky: Identity; /** * Class names for the row of time labels above a timeline. A string only; functions are not * accepted. * @see https://fullcalendar.io/docs/slot-header-row-render-hooks */ slotHeaderRowClass: typeof refineClassName; /** * Class names for the line between the time labels and the slots. A string, or a function of the * part's info that returns one. * @see https://fullcalendar.io/docs/slot-header-divider-render-hooks */ slotHeaderDividerClass: Identity>; /** * The maximum number of events to show in a day cell, not counting the "+more" link that reveals * the rest in a popover. If `true`, the limit is determined by the height of the cell (in * TimeGrid's all-day section, five rows). * @see https://fullcalendar.io/docs/dayMaxEvents */ dayMaxEvents: Identity; /** * The maximum number of event rows in a day cell, including the "+more" link that reveals the rest * in a popover. If `true`, the limit is determined by the height of the cell (in TimeGrid's all-day * section, five rows). * @see https://fullcalendar.io/docs/dayMaxEventRows */ dayMaxEventRows: Identity; /** * A minimum width in pixels for day columns in DayGrid, TimeGrid, and vertical resource views; * below it, the view scrolls horizontally. Requires the premium scrollgrid plugin. * @see https://fullcalendar.io/docs/dayMinWidth */ dayMinWidth: NumberConstructor; /** * How often time slots are labeled, as a Duration such as `'01:00'`. If unset, an interval is * computed from `slotDuration`. * @see https://fullcalendar.io/docs/slotHeaderInterval */ slotHeaderInterval: typeof createDuration; /** * Class names for a header cell naming one day of the week or one date, above its column. Also the * date heading in the "+more" popover. A string, or a function that receives `DayHeaderInfo` and * returns one. * @see https://fullcalendar.io/docs/day-header-render-hooks */ dayHeaderClass: Identity>; /** * Class names for the text wrapper inside a day header; may be a nav link. A string, or a function * that receives `DayHeaderInfo` and returns one. * @see https://fullcalendar.io/docs/day-header-render-hooks */ dayHeaderInnerClass: Identity>; /** * Custom content for each `dayHeader` part, injected inside it in place of its default content. * @see https://fullcalendar.io/docs/day-header-render-hooks */ dayHeaderContent: Identity>; /** * Called right after each `dayHeader` part's element is added to the DOM. * @see https://fullcalendar.io/docs/day-header-render-hooks */ dayHeaderDidMount: Identity>; /** * Called right before each `dayHeader` part's element is removed from the DOM. * @see https://fullcalendar.io/docs/day-header-render-hooks */ dayHeaderWillUnmount: Identity>; /** * The horizontal alignment of day header text: `'start'`, `'center'`, or `'end'`, or a function of * the header's `level`, `inPopover`, and `isNarrow` that returns one. Themes set their own default. * @see https://fullcalendar.io/docs/day-header-render-hooks */ dayHeaderAlign: Identity<"start" | "center" | "end" | ((info: { level: number; inPopover: boolean; isNarrow: boolean; }) => "start" | "center" | "end")>; _dayHeaderSticky: Identity; /** * Class names for the row of day headers above the grid. A string only; functions are not accepted. * @see https://fullcalendar.io/docs/day-header-row-render-hooks */ dayHeaderRowClass: typeof refineClassName; /** * Class names for the line between the day headers and the grid body. A string, or a function that * receives `DayHeaderDividerInfo` and returns one. * @see https://fullcalendar.io/docs/day-header-divider-render-hooks */ dayHeaderDividerClass: Identity>; /** * Class names for one horizontal row of day cells, usually a week. A string only; functions are not * accepted. * @see https://fullcalendar.io/docs/day-row-render-hooks */ dayRowClass: typeof refineClassName; /** * Called right after each `dayCell` part's element is added to the DOM. * @see https://fullcalendar.io/docs/day-cell-render-hooks */ dayCellDidMount: Identity>; /** * Called right before each `dayCell` part's element is removed from the DOM. * @see https://fullcalendar.io/docs/day-cell-render-hooks */ dayCellWillUnmount: Identity>; /** * Class names for one day's cell in a day grid, holding its date number and its events. Also the * body of the "+more" popover. A string, or a function that receives `DayCellInfo` and returns one. * @see https://fullcalendar.io/docs/day-cell-render-hooks */ dayCellClass: Identity>; /** * Class names for the middle of a day cell, where its events are stacked. A string, or a function * that receives `DayCellInfo` and returns one. * @see https://fullcalendar.io/docs/day-cell-render-hooks */ dayCellInnerClass: Identity>; /** * Custom content for each `dayCellTop` part, injected inside it in place of its default content. * @see https://fullcalendar.io/docs/day-cell-render-hooks */ dayCellTopContent: Identity>; /** * Class names for the top of a day cell, where the date number appears. A string, or a function * that receives `DayCellInfo` and returns one. * @see https://fullcalendar.io/docs/day-cell-render-hooks */ dayCellTopClass: Identity>; /** * Class names for the date number inside a day cell's top; may be a nav link. A string, or a * function that receives `DayCellInfo` and returns one. * @see https://fullcalendar.io/docs/day-cell-render-hooks */ dayCellTopInnerClass: Identity>; /** * Class names for the bottom of a day cell, where the "+more" link would sit. A string, or a * function that receives `DayCellInfo` and returns one. * @see https://fullcalendar.io/docs/day-cell-render-hooks */ dayCellBottomClass: Identity>; /** * Whether TimeGrid views show the all-day section at the top. When `false`, all-day events are * not displayed in those views. * @see https://fullcalendar.io/docs/allDaySlot */ allDaySlot: BooleanConstructor; /** * The label for the all-day section of TimeGrid views, also used as the time text of all-day events * in list views. Defined by the locale. */ allDayText: StringConstructor; /** * Class names for the cell to the left of the all-day row, labeling it ("all-day"). A string, or a * function that receives `AllDayHeaderInfo` and returns one. * @see https://fullcalendar.io/docs/all-day-header-render-hooks */ allDayHeaderClass: Identity>; /** * Class names for the text wrapper inside the all-day header. A string, or a function that receives * `AllDayHeaderInfo` and returns one. * @see https://fullcalendar.io/docs/all-day-header-render-hooks */ allDayHeaderInnerClass: Identity>; /** * Custom content for each `allDayHeader` part, injected inside it in place of its default content. * @see https://fullcalendar.io/docs/all-day-header-render-hooks */ allDayHeaderContent: Identity>; /** * Called right after each `allDayHeader` part's element is added to the DOM. * @see https://fullcalendar.io/docs/all-day-header-render-hooks */ allDayHeaderDidMount: Identity>; /** * Called right before each `allDayHeader` part's element is removed from the DOM. * @see https://fullcalendar.io/docs/all-day-header-render-hooks */ allDayHeaderWillUnmount: Identity>; /** * A screen-reader label for the timed section of TimeGrid views. Defined by the locale. */ timedText: StringConstructor; /** * The minimum width in pixels of each time slot in timeline views. If unset, a width is computed * automatically. * @see https://fullcalendar.io/docs/slotMinWidth */ slotMinWidth: NumberConstructor; /** * The minimum height in pixels of each time slot in TimeGrid views. Slots are never shorter than * their content requires. * @see https://fullcalendar.io/docs/slotMinHeight */ slotMinHeight: NumberConstructor; /** * Whether day names, dates, and week numbers become links that navigate to a day or week view. Use * `navLinkDayClick` and `navLinkWeekClick` to customize the destination. * @see https://fullcalendar.io/docs/navLinks */ navLinks: BooleanConstructor; /** * The date format of the time text shown on events, as a date formatter. Each view has its own * default. * @see https://fullcalendar.io/docs/eventTimeFormat */ eventTimeFormat: typeof createFormatter; /** * How many milliseconds to wait after a change before rerendering, so that rapid successive changes * are batched into one render. Off by default. Ignored by the React and Preact components, which * rerender when their framework does. * @see https://fullcalendar.io/docs/rerenderDelay */ rerenderDelay: NumberConstructor; /** * The text after the count in "+more" links, such as "more" in "+2 more", or a function that * receives the count and returns the full text. Defined by the locale. */ moreLinkText: Identity string)>; /** * The accessible label for "+more" links. A string where `$0` is replaced by the number of hidden * events, or a function that receives that number. Defined by the locale. * @see https://fullcalendar.io/docs/hints */ moreLinkHint: Identity string)>; /** * How many pixels the mouse must move after pressing before a date selection begins. Useful for * telling a selection apart from a `dateClick`. * @see https://fullcalendar.io/docs/selectMinDistance */ selectMinDistance: NumberConstructor; /** * Whether the user can select dates or time slots by clicking and dragging. Requires the * interaction plugin. * @see https://fullcalendar.io/docs/selectable */ selectable: BooleanConstructor; /** * On touch devices, how long in milliseconds the user must hold down before a date selection * begins. Defaults to `longPressDelay`. * @see https://fullcalendar.io/docs/selectLongPressDelay */ selectLongPressDelay: NumberConstructor; /** * On touch devices, how long in milliseconds the user must hold down on an event before it can be * dragged. Defaults to `longPressDelay`. * @see https://fullcalendar.io/docs/eventLongPressDelay */ eventLongPressDelay: NumberConstructor; /** * Whether to draw a placeholder event while the user drags to select time slots, instead of only * highlighting them. Applies to TimeGrid views. * @see https://fullcalendar.io/docs/selectMirror */ selectMirror: BooleanConstructor; /** * The maximum number of events stacked side by side in TimeGrid views, or top to bottom in timeline * views, before the rest are collapsed into a "+more" link. Unlimited if unset. * @see https://fullcalendar.io/docs/eventMaxStack */ eventMaxStack: NumberConstructor; /** * The minimum height in pixels of events in TimeGrid views. * @see https://fullcalendar.io/docs/eventMinHeight */ eventMinHeight: NumberConstructor; /** * The minimum width in pixels of events in timeline views. * @see https://fullcalendar.io/docs/eventMinWidth */ eventMinWidth: NumberConstructor; /** * The height in pixels below which an event in a TimeGrid view gets its compact "short" layout. * @see https://fullcalendar.io/docs/eventShortHeight */ eventShortHeight: NumberConstructor; /** * Whether timed events in TimeGrid views may visually overlap one another. When `false`, they are * placed fully side by side. * @see https://fullcalendar.io/docs/slotEventOverlap */ slotEventOverlap: BooleanConstructor; /** * The day each week begins on, where Sunday is `0`, Monday is `1`, and so on. Defaults to the * locale's first day, or Monday when `weekNumberCalculation` is `'ISO'`. * @see https://fullcalendar.io/docs/firstDay */ firstDay: NumberConstructor; /** * The number of visible days a view displays; days hidden by `weekends` or `hiddenDays` are * skipped and not counted. Mainly used to define custom views. * @see https://fullcalendar.io/docs/dayCount */ dayCount: NumberConstructor; /** * The unit a custom view's start date is aligned to, such as `'week'` or `'month'`. If unset, it is * derived from the view's duration; ignored when `visibleRange` is set. * @see https://fullcalendar.io/docs/dateAlignment */ dateAlignment: StringConstructor; /** * How far the calendar moves when navigating to the previous or next period, as a Duration. * Defaults to the view's duration. * @see https://fullcalendar.io/docs/dateIncrement */ dateIncrement: typeof createDuration; /** * Days of the week to hide, as an array of numbers where Sunday is `0`, Monday is `1`, and so on. * @see https://fullcalendar.io/docs/hiddenDays */ hiddenDays: Identity; /** * Whether month views always display six weeks. If `false`, each month shows four, five, or six * weeks, depending on how many it spans. * @see https://fullcalendar.io/docs/fixedWeekCount */ fixedWeekCount: BooleanConstructor; /** * Limits which dates the user can navigate to and where events can be placed: an object with * `start` and/or `end` dates, or a function that receives today's date and returns one. Dates * outside the range are disabled. * @see https://fullcalendar.io/docs/validRange */ validRange: Identity DateRangeInput)>; /** * The exact date range a view displays: an object with `start` and exclusive `end` dates, or a * function that receives the calendar's current date (the one navigated to) and returns one. * @see https://fullcalendar.io/docs/visibleRange */ visibleRange: Identity DateRangeInput)>; /** * The date format of the toolbar title, as a date formatter. Each view has its own default. * @see https://fullcalendar.io/docs/titleFormat */ titleFormat: Identity; /** * Whether events are focusable and keyboard-activatable. When unset, each event's own * `interactive` property decides, falling back to whether an `eventClick` handler is defined. * Events with a `url` are always interactive. * @see https://fullcalendar.io/docs/eventInteractive */ eventInteractive: BooleanConstructor; /** * The message list views display when there are no events in the date range. Defined by the locale. * @see https://fullcalendar.io/docs/no-events-render-hooks */ noEventsText: StringConstructor; /** * The accessible label for toolbar buttons that switch views. A string where `$0` is replaced by * the button text, or a function that receives the button text and view name. Defined by the * locale. * @see https://fullcalendar.io/docs/hints */ viewHint: Identity string)>; /** * The accessible label for a toolbar button group made only of view buttons. Defined by the locale. */ viewChangeHint: StringConstructor; /** * The accessible label for nav links. A string where `$0` is replaced by the formatted date, or a * function that receives that text and the Date. Defined by the locale. * @see https://fullcalendar.io/docs/hints */ navLinkHint: Identity string)>; /** * The accessible label for the close button of the "+more" event popover. Defined by the locale. * @see https://fullcalendar.io/docs/hints */ closeHint: StringConstructor; /** * The accessible label for a group of events, such as each day's events in list views and the * events area of timeline views. Defined by the locale. */ eventsHint: StringConstructor; /** * The heading level of the toolbar title, applied as `aria-level` (`2` makes it act like an * `

`), so it fits the page's heading hierarchy. * @see https://fullcalendar.io/docs/headingLevel */ headingLevel: NumberConstructor; /** * What happens when the user clicks a "+more" link: `'popover'` (the default), `'week'`, `'day'`, a * view name, or a function that receives information about the hidden events and may return one of * those values. * @see https://fullcalendar.io/docs/moreLinkClick */ moreLinkClick: Identity; /** * Custom content for each `moreLink` part, injected inside it in place of its default content. * @see https://fullcalendar.io/docs/more-link-render-hooks */ moreLinkContent: Identity>; /** * Called right after each `moreLink` part's element is added to the DOM. * @see https://fullcalendar.io/docs/more-link-render-hooks */ moreLinkDidMount: Identity>; /** * Called right before each `moreLink` part's element is removed from the DOM. * @see https://fullcalendar.io/docs/more-link-render-hooks */ moreLinkWillUnmount: Identity>; /** * Class names for a "+N more" link, shown when a day or slot has more events than fit. A string, or * a function that receives `MoreLinkInfo` and returns one. * @see https://fullcalendar.io/docs/more-link-render-hooks */ moreLinkClass: Identity>; /** * Class names for the text wrapper inside a "+N more" link. A string, or a function that receives * `MoreLinkInfo` and returns one. * @see https://fullcalendar.io/docs/more-link-render-hooks */ moreLinkInnerClass: Identity>; /** * Class names for a "+N more" link in a row layout: day cells and timeline rows. A string, or a * function that receives `MoreLinkInfo` and returns one. * @see https://fullcalendar.io/docs/row-more-link-render-hooks */ rowMoreLinkClass: Identity>; /** * Class names for the text wrapper inside a row "+N more" link. A string, or a function that * receives `MoreLinkInfo` and returns one. * @see https://fullcalendar.io/docs/row-more-link-render-hooks */ rowMoreLinkInnerClass: Identity>; /** * Class names for a "+N more" link in a day lane, when too many timed events overlap. A string, or * a function that receives `MoreLinkInfo` and returns one. * @see https://fullcalendar.io/docs/column-more-link-render-hooks */ columnMoreLinkClass: Identity>; /** * Class names for the text wrapper inside a column "+N more" link. A string, or a function that * receives `MoreLinkInfo` and returns one. * @see https://fullcalendar.io/docs/column-more-link-render-hooks */ columnMoreLinkInnerClass: Identity>; /** * Class names for a date or week number that navigates to that day or week when clicked (with the * `navLinks` setting). A string only; functions are not accepted. * @see https://fullcalendar.io/docs/navLinkClass */ navLinkClass: typeof refineClassName; /** * The date format used instead of `dayCellFormat` for the view's first date and the first day of * each month, when a DayGrid view spans more than one month. * @see https://fullcalendar.io/docs/monthStartFormat */ monthStartFormat: typeof createFormatter; /** * The date format of the day number in each DayGrid day cell. * @see https://fullcalendar.io/docs/dayCellFormat */ dayCellFormat: typeof createFormatter; handleCustomRendering: Identity>; customRenderingMetaMap: Identity<{ [optionName: string]: any; }>; /** * Class names for the popover listing every event of a day, opened by a "+N more" link. A string * only; functions are not accepted. * @see https://fullcalendar.io/docs/popover-render-hooks */ popoverClass: typeof refineClassName; /** * Class names for the popover's close button. A string only; functions are not accepted. * @see https://fullcalendar.io/docs/popover-render-hooks */ popoverCloseClass: typeof refineClassName; /** * Content rendered inside the popover's close button (the `popoverClose` part), typically an icon. * Empty unless a theme provides one. * @see https://fullcalendar.io/docs/popover-render-hooks */ popoverCloseContent: Identity>; /** * The column width in pixels below which day columns switch to their narrow date text and layout. * @see https://fullcalendar.io/docs/dayNarrowWidth */ dayNarrowWidth: NumberConstructor; /** * Whether to remove the borders around the calendar's outer edge. * @see https://fullcalendar.io/docs/borderless */ borderless: BooleanConstructor; /** * Whether to remove the calendar's left and right outer borders. Themes may also indent the * toolbars to align with the calendar body. * @see https://fullcalendar.io/docs/borderless */ borderlessX: BooleanConstructor; /** * Whether to remove the calendar's top outer border. * @see https://fullcalendar.io/docs/borderless */ borderlessTop: BooleanConstructor; /** * Whether to remove the calendar's bottom outer border. * @see https://fullcalendar.io/docs/borderless */ borderlessBottom: BooleanConstructor; /** * Class names for an empty spacer that keeps columns aligned, e.g. under resource rows that don't * fill the height. A string, or a function of the part's info that returns one. * @see https://fullcalendar.io/docs/filler-render-hooks */ fillerClass: Identity>; /** * Class names for the toolbar above the view. A string, or a function that receives `ToolbarInfo` * and returns one. * @see https://fullcalendar.io/docs/toolbar-render-hooks */ headerToolbarClass: Identity>; /** * Class names for the toolbar below the view. A string, or a function that receives `ToolbarInfo` * and returns one. * @see https://fullcalendar.io/docs/toolbar-render-hooks */ footerToolbarClass: Identity>; /** * Class names for a toolbar, header or footer, holding up to three sections (start, center, end). A * string, or a function that receives `ToolbarInfo` and returns one. * @see https://fullcalendar.io/docs/toolbar-render-hooks */ toolbarClass: Identity>; /** * Class names for one of a toolbar's start, center and end sections. A string, or a function that * receives `ToolbarSectionInfo` and returns one. * @see https://fullcalendar.io/docs/toolbar-render-hooks */ toolbarSectionClass: Identity>; /** * Class names for the title text in a toolbar, usually the current date range. A string only; * functions are not accepted. * @see https://fullcalendar.io/docs/toolbar-render-hooks */ toolbarTitleClass: typeof refineClassName; /** * Class names for the grid layout of the view, with a header and a body. Shares the view element in * grid and timeline views; in multi-month views, each month has its own. A string, or a function that * receives `TableDisplayInfo` and returns one. * @see https://fullcalendar.io/docs/table-render-hooks */ tableClass: Identity>; /** * Class names for the fixed header above the grid: day names, or times in timelines. A string, or a * function that receives `TableHeaderInfo` and returns one. * @see https://fullcalendar.io/docs/table-render-hooks */ tableHeaderClass: Identity>; /** * Class names for the scrolling body of the grid, where cells, lanes and events appear. A string, * or a function that receives `TableBodyInfo` and returns one. * @see https://fullcalendar.io/docs/table-render-hooks */ tableBodyClass: Identity>; /** * Class names for shading over times or days outside business hours. A string only; functions are * not accepted. * @see https://fullcalendar.io/docs/business-hours-render-hooks */ nonBusinessHoursClass: typeof refineClassName; /** * Class names for the shaded area showing a date range the user is selecting. A string only; * functions are not accepted. * @see https://fullcalendar.io/docs/highlight-render-hooks */ highlightClass: typeof refineClassName; /** * Whether to display the row of day headers at the top of DayGrid and TimeGrid views. * @see https://fullcalendar.io/docs/dayHeaders */ dayHeaders: BooleanConstructor; /** * The date format of the day headers, as a date formatter. Each view has its own default. * @see https://fullcalendar.io/docs/dayHeaderFormat */ dayHeaderFormat: typeof createFormatter; /** * Class names for the line between the all-day row and the timed slots. A string only; functions * are not accepted. * @see https://fullcalendar.io/docs/all-day-divider-render-hooks */ allDayDividerClass: typeof refineClassName; /** * Class names for the container for all of a list view's day sections. A string only; functions are * not accepted. * @see https://fullcalendar.io/docs/list-day-render-hooks */ listDaysClass: typeof refineClassName; /** * Class names for one day's section in a list view: its heading and its events. A string, or a * function that receives `ListDayInfo` and returns one. * @see https://fullcalendar.io/docs/list-day-render-hooks */ listDayClass: Identity>; /** * The date format of the main text in each list view day header, or `false` to show none. * @see https://fullcalendar.io/docs/listDayFormat */ listDayFormat: typeof createFalsableFormatter; /** * The date format of the secondary text in each list view day header, or `false` to show none. * @see https://fullcalendar.io/docs/listDayAltFormat */ listDayAltFormat: typeof createFalsableFormatter; /** * Called right after each `listDayHeader` part's element is added to the DOM. * @see https://fullcalendar.io/docs/list-day-header-render-hooks */ listDayHeaderDidMount: Identity>; /** * Called right before each `listDayHeader` part's element is removed from the DOM. * @see https://fullcalendar.io/docs/list-day-header-render-hooks */ listDayHeaderWillUnmount: Identity>; /** * Class names for the date heading above a list view day's events. A string, or a function that * receives `ListDayHeaderInfo` and returns one. * @see https://fullcalendar.io/docs/list-day-header-render-hooks */ listDayHeaderClass: Identity>; /** * Class names for one of the two halves of a list view day heading (day name and date); may be a * nav link. A string, or a function that receives `ListDayHeaderInnerInfo` and returns one. * @see https://fullcalendar.io/docs/list-day-header-render-hooks */ listDayHeaderInnerClass: Identity>; /** * Custom content for each text element of a list view day header (the `listDayHeaderInner` parts, * one each for `listDayFormat` and `listDayAltFormat`), in place of the formatted date. * @see https://fullcalendar.io/docs/list-day-header-render-hooks */ listDayHeaderContent: Identity>; /** * Class names for the wrapper around one list view day's events. A string, or a function that * receives `ListDayEventsInfo` and returns one. * @see https://fullcalendar.io/docs/list-day-render-hooks */ listDayBodyClass: Identity>; /** * Class names for the "No events to display" message in an empty list view. A string, or a function * that receives `NoEventsInfo` and returns one. * @see https://fullcalendar.io/docs/no-events-render-hooks */ noEventsClass: Identity>; /** * Class names for the text wrapper inside the no-events message. A string, or a function that * receives `NoEventsInfo` and returns one. * @see https://fullcalendar.io/docs/no-events-render-hooks */ noEventsInnerClass: Identity>; /** * Custom content for each `noEvents` part, injected inside it in place of its default content. * @see https://fullcalendar.io/docs/no-events-render-hooks */ noEventsContent: Identity>; /** * Called right after each `noEvents` part's element is added to the DOM. * @see https://fullcalendar.io/docs/no-events-render-hooks */ noEventsDidMount: Identity>; /** * Called right before each `noEvents` part's element is removed from the DOM. * @see https://fullcalendar.io/docs/no-events-render-hooks */ noEventsWillUnmount: Identity>; /** * The maximum number of months per row in multi-month views. Fewer are shown when each month would * be narrower than `singleMonthMinWidth`. * @see https://fullcalendar.io/docs/multiMonthMaxColumns */ multiMonthMaxColumns: NumberConstructor; /** * The minimum width in pixels of each month in multi-month views. When months would be narrower, * they wrap onto more rows. * @see https://fullcalendar.io/docs/singleMonthMinWidth */ singleMonthMinWidth: NumberConstructor; /** * The date format of the title above each month in multi-month views. * @see https://fullcalendar.io/docs/singleMonthTitleFormat */ singleMonthTitleFormat: typeof createFormatter; /** * Called right after each `singleMonth` part's element is added to the DOM. * @see https://fullcalendar.io/docs/single-month-render-hooks */ singleMonthDidMount: Identity>; /** * Called right before each `singleMonth` part's element is removed from the DOM. * @see https://fullcalendar.io/docs/single-month-render-hooks */ singleMonthWillUnmount: Identity>; /** * Class names for one month's block in multi-month views, with its own header and grid. A string, or * a function that receives `SingleMonthInfo` and returns one. * @see https://fullcalendar.io/docs/single-month-render-hooks */ singleMonthClass: Identity>; /** * Class names for the month name above each month's grid ("January 2026"). A string, or a function * that receives `SingleMonthHeaderInfo` and returns one. * @see https://fullcalendar.io/docs/single-month-header-render-hooks */ singleMonthHeaderClass: Identity>; /** * Class names for the text wrapper inside a month header; may be a nav link. A string, or a * function that receives `SingleMonthHeaderInfo` and returns one. * @see https://fullcalendar.io/docs/single-month-header-render-hooks */ singleMonthHeaderInnerClass: Identity>; }; type BaseOptionRefiners = typeof BASE_OPTION_REFINERS; declare module '@fullcalendar/core/protected-api' { interface BaseOptions extends RawOptionsFromRefiners { } interface BaseOptionsRefined extends RefinedOptionsFromRefiners { } } declare const CALENDAR_LISTENER_REFINERS: { /** * Called after the calendar's date range is first set or changes, such as on navigation or a * view switch, once the new dates have rendered. * @see https://fullcalendar.io/docs/datesSet */ datesSet: Identity<(info: DatesSetInfo) => void>; /** * Called after the calendar's events are first loaded or change in any way, with an array of every * event in memory (the same as `getEvents()`). * @see https://fullcalendar.io/docs/eventsSet */ eventsSet: Identity<(events: EventApi[]) => void>; /** * Called after an event is added to the calendar, via `addEvent` or by dropping another calendar's * event. Not called for external draggable elements (see `eventReceive`). The info includes * `revert` to undo the addition. * @see https://fullcalendar.io/docs/eventAdd */ eventAdd: Identity<(info: EventAddInfo) => void>; /** * Called after an event is modified, via its setter methods or by dragging or resizing. The info * includes the updated event, the previous `oldEvent`, and `revert` to undo the change. * @see https://fullcalendar.io/docs/eventChange */ eventChange: Identity<(info: EventChangeInfo) => void>; /** * Called after an event is removed from the calendar, via `remove()` or by dragging it to another * calendar. The info includes `revert` to undo the removal. * @see https://fullcalendar.io/docs/eventRemove */ eventRemove: Identity<(info: EventRemoveInfo) => void>; /** * Called when the user clicks an event, with the event, its element, the native `jsEvent`, and * the view. Call `info.jsEvent.preventDefault()` to stop the browser from following the event's `url`. * @see https://fullcalendar.io/docs/eventClick */ eventClick: Identity<(info: EventClickInfo) => void>; /** * Called when the pointer moves onto an event, with the event, its element, the native `jsEvent`, * and the view. * @see https://fullcalendar.io/docs/eventMouseEnter */ eventMouseEnter: Identity<(info: EventHoveringInfo) => void>; /** * Called when the pointer moves off an event, with the event, its element, the native `jsEvent`, * and the view. * @see https://fullcalendar.io/docs/eventMouseLeave */ eventMouseLeave: Identity<(info: EventHoveringInfo) => void>; /** * Called when a date or time range is selected, by the user (requires the interaction plugin and * `selectable`) or via the `select()` method. The info includes the range's `start`, exclusive * `end`, `allDay`, the native `jsEvent`, and the view. * @see https://fullcalendar.io/docs/select-callback */ select: Identity<(info: DateSelectInfo) => void>; /** * Called when the current date selection is cleared, with an object holding the native `jsEvent` * (if any) and the view. * @see https://fullcalendar.io/docs/unselect-callback */ unselect: Identity<(info: DateUnselectInfo) => void>; /** * Called with `true` when the calendar starts fetching events (or resources, with premium resource * plugins), and with `false` when all fetching is done. * @see https://fullcalendar.io/docs/loading */ loading: Identity<(isLoading: boolean) => void>; _unmount: Identity<() => void>; _beforeprint: Identity<() => void>; _afterprint: Identity<() => void>; _noDateSelect: Identity<() => void>; _noEventDrop: Identity<() => void>; _noEventResize: Identity<() => void>; _timeScrollRequest: Identity<(time: Duration) => void>; /** * Called when the user clicks a date or time slot. The info includes the clicked `date`, `allDay`, * the element, the native `jsEvent`, and the view. Requires the interaction plugin. * @see https://fullcalendar.io/docs/dateClick */ dateClick: Identity<(info: DateClickInfo) => void>; /** * Called when the user starts dragging an event, with the event, the native `jsEvent`, and the * view. * @see https://fullcalendar.io/docs/eventDragStart */ eventDragStart: Identity<(info: EventDragStartInfo) => void>; /** * Called when the user stops dragging an event, whether or not it moved, before the event is * modified and before `eventDrop`. * @see https://fullcalendar.io/docs/eventDragStop */ eventDragStop: Identity<(info: EventDragStopInfo) => void>; /** * Called when the user drops an event at a different date or time. The info includes the updated * event, the previous `oldEvent`, the `delta`, and `revert` to undo the move. * @see https://fullcalendar.io/docs/eventDrop */ eventDrop: Identity<(info: EventDropInfo) => void>; /** * Called when the user starts resizing an event, with the event, the native `jsEvent`, and the * view. * @see https://fullcalendar.io/docs/eventResizeStart */ eventResizeStart: Identity<(info: EventResizeStartInfo) => void>; /** * Called when the user stops resizing an event, whether or not it changed, before the event is * modified and before `eventResize`. * @see https://fullcalendar.io/docs/eventResizeStop */ eventResizeStop: Identity<(info: EventResizeStopInfo) => void>; /** * Called when the user resizes an event and its duration changes. The info includes the updated * event, the previous `oldEvent`, the start and end deltas, and `revert` to undo the resize. * @see https://fullcalendar.io/docs/eventResize */ eventResize: Identity<(info: EventResizeDoneInfo) => void>; /** * Called when an external draggable element, or another calendar's event, is dropped onto the * calendar. Requires the interaction plugin. * @see https://fullcalendar.io/docs/drop */ drop: Identity<(info: DropInfo) => void>; /** * Called when an external draggable element with event data, or another calendar's event, is * dropped onto the calendar and becomes an event. The info includes `revert` to undo it. * @see https://fullcalendar.io/docs/eventReceive */ eventReceive: Identity<(info: EventReceiveInfo) => void>; /** * Called when one of this calendar's events is dropped onto another calendar, just before it is * removed from this one. The info includes `revert` to restore it. * @see https://fullcalendar.io/docs/eventLeave */ eventLeave: Identity<(info: EventLeaveInfo) => void>; }; type CalendarListenerRefiners = typeof CALENDAR_LISTENER_REFINERS; interface CalendarListeners extends RawOptionsFromRefiners { } interface CalendarListenersRefined extends RefinedOptionsFromRefiners { } declare const CALENDAR_ONLY_OPTION_REFINERS: { /** * Class names for the calendar's root element. A string, or a function that receives * `CalendarDisplayInfo` and returns one. Same as `className`. * @see https://fullcalendar.io/docs/className */ class: Identity>; /** * Class names for the calendar's root element. A string, or a function that receives * `CalendarDisplayInfo` and returns one. Same as `class`. * @see https://fullcalendar.io/docs/className */ className: Identity>; /** * Class names for the view element: everything between the toolbars. A string, or a function that * receives `ViewDisplayInfo` and returns one. * @see https://fullcalendar.io/docs/view-render-hooks */ viewClass: Identity>; /** * Called right after each `view` part's element is added to the DOM. * @see https://fullcalendar.io/docs/view-render-hooks */ viewDidMount: Identity>; /** * Called right before each `view` part's element is removed from the DOM. * @see https://fullcalendar.io/docs/view-render-hooks */ viewWillUnmount: Identity>; /** * Per-view settings and custom view definitions, keyed by view name (such as `timeGridWeek`), view * type (such as `timeGrid`), or duration unit (such as `week`, for every one-week view). A custom * view entry sets `type` plus a duration, visible range, or day count. * @see https://fullcalendar.io/docs/view-specific-options */ views: Identity<{ [viewId: string]: ViewOptions; }>; /** * The plugins to load, such as the interaction plugin or premium view plugins. * @see https://fullcalendar.io/docs/plugin-index */ plugins: Identity; /** * Events to load when the calendar initializes, in any form `events` accepts. Unlike `events`, * later changes to this value are ignored, so events can then be managed through the API. * @see https://fullcalendar.io/docs/initialEvents */ initialEvents: Identity; /** * The calendar's events: an array of event objects, a JSON feed URL, a function that supplies * events, or an event source object. * @see https://fullcalendar.io/docs/event-source */ events: Identity; /** * Multiple event sources, each in any form `events` accepts: an array, a JSON feed URL, a function, * or an event source object. * @see https://fullcalendar.io/docs/eventSources */ eventSources: Identity; }; type CalendarOnlyOptionRefiners = typeof CALENDAR_ONLY_OPTION_REFINERS; type CalendarOnlyOptions = RawOptionsFromRefiners; type CalendarOnlyOptionsRefined = RefinedOptionsFromRefiners; declare const VIEW_ONLY_OPTION_REFINERS: { /** * The existing view type that a custom view is based on, such as `'timeGrid'` or `'dayGrid'`. Used * in a `views` entry along with a duration, visible range, or day count. * @see https://fullcalendar.io/docs/custom-view-with-settings */ type: StringConstructor; /** * A component that renders a custom view from scratch, written for the UI library of your * FullCalendar package (for example React or Preact). Used in a `views` entry. * @see https://fullcalendar.io/docs/custom-view-with-js */ component: Identity; /** * In a `views` entry, class names for the view's root element. A string, or a function that * receives `ViewDisplayInfo` and returns one. Same as `className`. * @see https://fullcalendar.io/docs/custom-view-with-js */ class: Identity>; /** * In a `views` entry, class names for the view's root element. A string, or a function that * receives `ViewDisplayInfo` and returns one. Same as `class`. * @see https://fullcalendar.io/docs/custom-view-with-js */ className: Identity>; /** * In a `views` entry, renders a custom view from scratch: a content injection input, or a function * that receives `ViewContentInfo` (including the view's dates and events) and returns one. * @see https://fullcalendar.io/docs/custom-view-with-js */ content: Identity>; /** * In a `views` entry, called right after the view's element is added to the DOM. * @see https://fullcalendar.io/docs/custom-view-with-js */ didMount: Identity>; /** * In a `views` entry, called right before the view's element is removed from the DOM. * @see https://fullcalendar.io/docs/custom-view-with-js */ willUnmount: Identity>; buttonTextKey: StringConstructor; dateProfileGeneratorClass: Identity; usesMinMaxTime: BooleanConstructor; disallowAmbigTitle: BooleanConstructor; }; type ViewOnlyRefiners = typeof VIEW_ONLY_OPTION_REFINERS; type ViewOnlyOptions = RawOptionsFromRefiners; type ViewOnlyOptionsRefined = RefinedOptionsFromRefiners; type ViewOptions = BaseOptions & CalendarListeners & ViewOnlyOptions; type ViewOptionsRefined = BaseOptionsRefined & CalendarListenersRefined & ViewOnlyOptionsRefined; type CalendarOptions = BaseOptions & CalendarListeners & CalendarOnlyOptions; type CalendarOptionsRefined = BaseOptionsRefined & CalendarListenersRefined & CalendarOnlyOptionsRefined; declare function refineProps>(input: Raw, refiners: Refiners): { refined: RefinedOptionsFromRefiners; extra: Dictionary; }; type GenericRefiners = { [propName: string]: (input: any, propName: string) => any; }; type GenericListenerRefiners = { [listenerName: string]: Identity<(this: CalendarApi, ...args: any[]) => void>; }; type Dictionary = Record; type Identity = (raw: T) => T; declare function identity(raw: T): T; declare function createFalsableFormatter(input: FormatterInput | false): DateFormatter; type LocaleSingularArg = LocaleCodeArg | LocaleInput; interface LocaleInput extends CalendarOptions { code: string; } export { ButtonInput as $, AllowFunc as A, BusinessHoursInput as B, CalendarController as C, DateSpanInput as D, EventSourceApi as E, DayHeaderDividerInfo as F, DayCellInfo as G, DayLaneInfo as H, InlineWeekNumberInfo as I, ViewDisplayInfo as J, TableBodyInfo as K, LocaleInput as L, MountInfo as M, NowIndicatorHeaderInfo as N, OverlapFunc as O, PluginInput as P, TableHeaderInfo as Q, CalendarDisplayInfo as R, SlotLaneInfo as S, TableDisplayInfo as T, EventClickInfo as U, ViewApi as V, WillUnmountHandler as W, EventHoveringInfo as X, DateSelectInfo as Y, DateUnselectInfo as Z, ToolbarInput as _, CalendarApi as a, EventDef as a$, ButtonGroupInfo as a0, ButtonInfo as a1, ButtonDisplay as a2, ToolbarElementInput as a3, ToolbarSectionInfo as a4, ToolbarInfo as a5, EventDisplayInfo as a6, EventTextInfo as a7, ViewContentInfo as a8, DatesSetInfo as a9, EventResizeStartInfo as aA, EventResizeStopInfo as aB, EventResizeDoneInfo as aC, DateClickInfo as aD, DropInfo as aE, EventReceiveInfo as aF, EventLeaveInfo as aG, Dictionary as aH, valuesIdentical as aI, ViewContext as aJ, DateProfileGenerator as aK, DateProfile as aL, Emitter as aM, DateComponent as aN, ScrollerInterface as aO, EventRangeProps as aP, EventSegUiInteractionState as aQ, DateSpan as aR, CalendarContext as aS, EventStore as aT, EventInteractionState as aU, EventUiBases as aV, SplittableProps as aW, BaseComponent as aX, ElRef as aY, ViewOptionsRefined as aZ, Splitter as a_, EventAddInfo as aa, EventChangeInfo as ab, EventDropInfo as ac, EventRemoveInfo as ad, CustomRenderingHandler as ae, CustomRenderingStore as af, DateSpanApi as ag, DatePointApi as ah, DateSelectionApi as ai, ButtonState as aj, NavButtonState as ak, ButtonStateMap as al, FormatterInput as am, LocaleSingularArg as an, NoEventsInfo as ao, ListDayHeaderInfo as ap, ListDayHeaderInnerInfo as aq, ListDayInfo as ar, SingleMonthInfo as as, SingleMonthHeaderInfo as at, EventSegment as au, MoreLinkAction as av, MoreLinkSimpleAction as aw, MoreLinkHandler as ax, EventDragStartInfo as ay, EventDragStopInfo as az, EventApi as b, ContentContainer as b$, DateMeta as b0, Hit as b1, CalendarListenersRefined as b2, Identity as b3, identity as b4, refineProps as b5, EventDefHash as b6, EventInstanceHash as b7, EventInstanceRange as b8, EventRangeEdge as b9, ElementDragging as bA, ViewPropsTransformer as bB, Action as bC, CalendarContentProps as bD, CalendarInner as bE, sortEventSegs as bF, getEventRangeMeta as bG, buildEventRangeKey as bH, getElEventRange as bI, MinimalEventProps as bJ, EventMutation as bK, Constraint as bL, setRef as bM, getFooterScrollbarSticky as bN, getTableHeaderSticky as bO, getIsHeightAuto as bP, ScrollerSyncerInterface as bQ, refineClassName as bR, refineClassNameGenerator as bS, NowIndicatorHeaderContainer as bT, NowIndicatorLineContainer as bU, MoreLinkContainer as bV, ViewContainer as bW, CalendarApiImpl as bX, EventImpl as bY, CalendarMediaRoot as bZ, computeRootClassName as b_, buildValidInstanceRange as ba, getRangeInstantStartMs as bb, getRangeInstantEndMs as bc, EventRefined as bd, parseBusinessHours as be, OrderSpec as bf, parseFieldSpecs as bg, compareByFieldSpecs as bh, flexibleCompare as bi, guid as bj, computeViewBorderless as bk, getRectCenter as bl, mergeEventStores as bm, EventUiHash as bn, EventUi as bo, combineEventUis as bp, createEventUi as bq, getDateMeta as br, CalendarData as bs, CalendarDataManager as bt, ViewProps as bu, computeMajorUnit as bv, isMajorUnit as bw, getDateSpanInstantStartMs as bx, getDateSpanInstantEndMs as by, PointerDragEvent as bz, EventRenderRange as c, generateClassName as c0, CustomRendering as c1, createFormatter as c2, Rect as c3, DragMetaInput as c4, CalendarOptions as d, CalendarListeners as e, ViewOptions as f, EventSourceInput as g, EventSourceFunc as h, EventSourceFuncInfo as i, EventInput as j, EventInputTransformer as k, CssDimValue as l, ConstraintInput as m, ViewComponentType as n, ClassNameInput as o, ClassNameGenerator as p, ContentGenerator as q, DidMountHandler as r, sliceEvents as s, NowIndicatorLineInfo as t, WeekNumberHeaderInfo as u, DateTimeFormatPartWithWeek as v, MoreLinkInfo$1 as w, SlotHeaderInfo as x, AllDayHeaderInfo as y, DayHeaderInfo as z };