Options
All
  • Public
  • Public/Protected
  • All
Menu

Module node_modules/@fullcalendar/common/main

Index

References

Namespaces

Classes

Interfaces

Type Aliases

Variables

Functions

References

Renames and re-exports __type

Type Aliases

Action: { type: "NOTHING" } | { optionName: string; rawOptionValue: any; type: "SET_OPTION" } | { type: "PREV" } | { type: "NEXT" } | { dateMarker: DateMarker; type: "CHANGE_DATE" } | { dateMarker?: DateMarker; type: "CHANGE_VIEW_TYPE"; viewType: string } | { selection: DateSpan; type: "SELECT_DATES" } | { type: "UNSELECT_DATES" } | { eventInstanceId: string; type: "SELECT_EVENT" } | { type: "UNSELECT_EVENT" } | { state: EventInteractionState; type: "SET_EVENT_DRAG" } | { type: "UNSET_EVENT_DRAG" } | { state: EventInteractionState; type: "SET_EVENT_RESIZE" } | { type: "UNSET_EVENT_RESIZE" } | { sources: EventSource<any>[]; type: "ADD_EVENT_SOURCES" } | { sourceId: string; type: "REMOVE_EVENT_SOURCE" } | { type: "REMOVE_ALL_EVENT_SOURCES" } | { isRefetch?: boolean; sourceIds?: string[]; type: "FETCH_EVENT_SOURCES" } | { fetchId: string; fetchRange: DateRange | null; rawEvents: EventInput[]; sourceId: string; type: "RECEIVE_EVENTS" } | { error: EventSourceError; fetchId: string; fetchRange: DateRange | null; sourceId: string; type: "RECEIVE_EVENT_ERROR" } | { eventStore: EventStore; type: "ADD_EVENTS" } | { eventStore: EventStore; type: "RESET_EVENTS" } | { eventStore: EventStore; type: "MERGE_EVENTS" } | { eventStore: EventStore; type: "REMOVE_EVENTS" } | { type: "REMOVE_ALL_EVENTS" }
AllDayMountArg: MountArg<AllDayContentArg>
AllowFunc: ((span: DateSpanApi, movingEvent: EventApi | null) => boolean)

Type declaration

BaseOptionsRefined: DefaultedRefinedOptions<RefinedOptionsFromRefiners<Required<BaseOptionRefiners>>, keyof typeof BASE_OPTION_DEFAULTS>
BusinessHoursInput: boolean | EventInput | EventInput[]
CalendarListeners: Required<CalendarListenersLoose>
CalendarOptions: BaseOptions & CalendarListenersLoose & RawOptionsFromRefiners<Required<CalendarOptionRefiners>>
CalendarOptionsRefined: BaseOptionsRefined & CalendarListenersLoose & RefinedOptionsFromRefiners<Required<CalendarOptionRefiners>>
ChunkConfigContent: ((contentProps: ChunkContentCallbackArgs) => VNode)

Type declaration

ChunkConfigRowContent: VNode | ChunkConfigContent
ClassNamesGenerator<HookProps>: ClassNamesInput | ((hookProps: HookProps) => ClassNamesInput)

Type Parameters

  • HookProps

ComponentChild: VNode<any> | object | string | number | bigint | boolean | null | undefined
ComponentChildren: ComponentChild[] | ComponentChild
ComponentType<P>: ComponentClass<P> | FunctionComponent<P>

Type Parameters

  • P = {}

Constraint: "businessHours" | string | EventStore | false
ConstraintInput: "businessHours" | string | EventInput | EventInput[]
CssDimValue: string | number
CustomContentGenerator<HookProps>: CustomContent | ((hookProps: HookProps) => CustomContent)

Type Parameters

  • HookProps

DateInput: Date | string | number | number[]
DateMarker: Date
DatePointTransform: ((dateSpan: DateSpan, context: CalendarContext) => any)

Type declaration

DateSpanTransform: ((dateSpan: DateSpan, context: CalendarContext) => any)

Type declaration

DatesSetArg: RangeApiWithTimeZone & { view: ViewApi }
DayCellMountArg: MountArg<DayCellContentArg>
DayHeaderMountArg: MountArg<DayHeaderContentArg>
Dictionary: Record<string, any>
DidMountHandler<TheMountArg>: ((mountArg: TheMountArg) => void)

Type Parameters

  • TheMountArg extends { el: HTMLElement }

Type declaration

    • (mountArg: TheMountArg): void
    • Parameters

      • mountArg: TheMountArg

      Returns void

DragMetaInput: RawOptionsFromRefiners<typeof DRAG_META_REFINERS> & {}
DurationInput: DurationObjectInput | string | number
EventDefHash: {}

Type declaration

EventDropTransformers: ((mutation: EventMutation, context: CalendarContext) => Dictionary)

Type declaration

EventInput: EventUiInput & RawOptionsFromRefiners<Required<EventRefiners>> & {}
EventInputTransformer: ((input: EventInput) => EventInput)

Type declaration

EventInstanceHash: {}

Type declaration

EventMountArg: MountArg<EventContentArg>
EventRefined: EventUiRefined & RefinedOptionsFromRefiners<Required<EventRefiners>>
EventSourceFunc: ((arg: { end: Date; endStr: string; start: Date; startStr: string; timeZone: string }, successCallback: ((events: EventInput[]) => void), failureCallback: ((error: EventSourceError) => void)) => void | PromiseLike<EventInput[]>)

Type declaration

    • (arg: { end: Date; endStr: string; start: Date; startStr: string; timeZone: string }, successCallback: ((events: EventInput[]) => void), failureCallback: ((error: EventSourceError) => void)): void | PromiseLike<EventInput[]>
    • Parameters

      • arg: { end: Date; endStr: string; start: Date; startStr: string; timeZone: string }
        • end: Date
        • endStr: string
        • start: Date
        • startStr: string
        • timeZone: string
      • successCallback: ((events: EventInput[]) => void)
      • failureCallback: ((error: EventSourceError) => void)
          • (error: EventSourceError): void
          • Parameters

            • error: EventSourceError

            Returns void

      Returns void | PromiseLike<EventInput[]>

EventSourceHash: {}

Type declaration

EventSourceInput: EventSourceInputObject | EventInput[] | EventSourceFunc | string
EventSourceRefined: EventUiRefined & RefinedOptionsFromRefiners<Required<EventSourceRefiners>>
EventUiHash: {}

Type declaration

FormatterInput: NativeFormatterOptions | string | FuncFormatterFunc
Identity<T>: ((raw: T) => T)

Type Parameters

  • T = any

Type declaration

    • (raw: T): T
    • Parameters

      • raw: T

      Returns T

InteractionSettingsStore: {}

Type declaration

LocaleSingularArg: LocaleCodeArg | LocaleInput
MemoiseArrayFunc<Args, Res>: ((argSets: Args[]) => Res[])

Type Parameters

  • Args extends any[]

  • Res

Type declaration

    • (argSets: Args[]): Res[]
    • Parameters

      • argSets: Args[]

      Returns Res[]

MemoizeHashFunc<Args, Res>: ((argHash: {}) => {})

Type Parameters

  • Args extends any[]

  • Res

Type declaration

    • (argHash: {}): {}
    • Parameters

      • argHash: {}
        • [key: string]: Args

      Returns {}

      • [key: string]: Res
MoreLinkHandler: ((arg: MoreLinkArg) => MoreLinkSimpleAction | void)

Type declaration

MoreLinkMountArg: MountArg<MoreLinkContentArg>
MoreLinkSimpleAction: "popover" | "week" | "day" | "timeGridWeek" | "timeGridDay" | string
MountArg<ContentArg>: ContentArg & { el: HTMLElement }

Type Parameters

  • ContentArg

NowIndicatorMountArg: MountArg<NowIndicatorContentArg>
OverflowValue: "auto" | "hidden" | "scroll" | "visible"
OverlapFunc: ((stillEvent: EventApi, movingEvent: EventApi | null) => boolean)

Type declaration

RawOptionsFromRefiners<Refiners>: { [ Prop in keyof Refiners]?: Refiners[Prop] extends ((input: infer RawType) => infer RefinedType) ? any extends RawType ? RefinedType : RawType : never }

Type Parameters

  • Refiners extends GenericRefiners

Ref<T>: RefObject<T> | RefCallback<T> | null

Type Parameters

  • T

RefObject<T>: { current: T | null }

Type Parameters

  • T

Type declaration

  • current: T | null
RefinedOptionsFromRefiners<Refiners>: { [ Prop in keyof Refiners]?: Refiners[Prop] extends ((input: any) => infer RefinedType) ? RefinedType : never }

Type Parameters

  • Refiners extends GenericRefiners

RenderHookPropsChildren: ((rootElRef: Ref<any>, classNames: string[], innerElRef: Ref<any>, innerContent: ComponentChildren) => ComponentChildren)

Type declaration

ScrollGridImpl: {}

Type declaration

    SlotLabelMountArg: MountArg<SlotLabelContentArg>
    SlotLaneMountArg: MountArg<SlotLaneContentArg>
    SpecificViewMountArg: MountArg<SpecificViewContentArg>
    VNode: preact.VNode<any>
    VUIEvent: UIEvent
    ViewComponentType: ComponentType<ViewProps>
    ViewContainerAppend: ((context: CalendarContext) => ComponentChildren)

    Type declaration

    ViewMountArg: MountArg<ViewContentArg>
    ViewOptionsRefined: BaseOptionsRefined & CalendarListenersLoose & RefinedOptionsFromRefiners<Required<ViewOptionRefiners>>
    WeekNumberCalculation: "local" | "ISO" | ((m: Date) => number)
    WeekNumberMountArg: MountArg<WeekNumberContentArg>
    WillUnmountHandler<TheMountArg>: ((mountArg: TheMountArg) => void)

    Type Parameters

    • TheMountArg extends { el: HTMLElement }

    Type declaration

      • (mountArg: TheMountArg): void
      • Parameters

        • mountArg: TheMountArg

        Returns void

    dateSelectionJoinTransformer: ((hit0: Hit, hit1: Hit) => any)

    Type declaration

      • Parameters

        Returns any

    eventDragMutationMassager: ((mutation: EventMutation, hit0: Hit, hit1: Hit) => void)

    Type declaration

    Variables

    BASE_OPTION_DEFAULTS: { allDayMaintainDuration: boolean; aspectRatio: number; dayHeaders: boolean; dayPopoverFormat: { day: string; month: string; year: string }; defaultAllDayEventDuration: { day: number }; defaultRangeSeparator: string; defaultTimedEventDuration: string; dragRevertDuration: number; dragScroll: boolean; dropAccept: string; editable: boolean; endParam: string; eventDisplay: string; eventDragMinDistance: number; eventMinHeight: number; eventMinWidth: number; eventOrder: string; eventShortHeight: number; expandRows: boolean; forceEventDuration: boolean; handleWindowResize: boolean; headerToolbar: { center: string; end: string; start: string }; initialView: string; lazyFetching: boolean; locale: string; locales: any[]; longPressDelay: number; navLinks: boolean; nextDayThreshold: string; nowIndicator: boolean; scrollTime: string; scrollTimeReset: boolean; selectable: boolean; showNonCurrentDates: boolean; slotMaxTime: string; slotMinTime: string; startParam: string; themeSystem: string; timeZone: string; timeZoneParam: string; titleRangeSeparator: string; unselectAuto: boolean; weekNumberCalculation: WeekNumberCalculation; weekNumbers: boolean; weekends: boolean; windowResizeDelay: number }

    Type declaration

    • allDayMaintainDuration: boolean
    • aspectRatio: number
    • dayHeaders: boolean
    • dayPopoverFormat: { day: string; month: string; year: string }
      • day: string
      • month: string
      • year: string
    • defaultAllDayEventDuration: { day: number }
      • day: number
    • defaultRangeSeparator: string
    • defaultTimedEventDuration: string
    • dragRevertDuration: number
    • dragScroll: boolean
    • dropAccept: string
    • editable: boolean
    • endParam: string
    • eventDisplay: string
    • eventDragMinDistance: number
    • eventMinHeight: number
    • eventMinWidth: number
    • eventOrder: string
    • eventShortHeight: number
    • expandRows: boolean
    • forceEventDuration: boolean
    • handleWindowResize: boolean
    • headerToolbar: { center: string; end: string; start: string }
      • center: string
      • end: string
      • start: string
    • initialView: string
    • lazyFetching: boolean
    • locale: string
    • locales: any[]
    • longPressDelay: number
    • navLinks: boolean
    • nextDayThreshold: string
    • nowIndicator: boolean
    • scrollTime: string
    • scrollTimeReset: boolean
    • selectable: boolean
    • showNonCurrentDates: boolean
    • slotMaxTime: string
    • slotMinTime: string
    • startParam: string
    • themeSystem: string
    • timeZone: string
    • timeZoneParam: string
    • titleRangeSeparator: string
    • unselectAuto: boolean
    • weekNumberCalculation: WeekNumberCalculation
    • weekNumbers: boolean
    • weekends: boolean
    • windowResizeDelay: number
    BASE_OPTION_REFINERS: { allDayClassNames: Identity<ClassNamesGenerator<AllDayContentArg>>; allDayContent: Identity<CustomContentGenerator<AllDayContentArg>>; allDayDidMount: Identity<DidMountHandler<AllDayMountArg>>; allDayMaintainDuration: BooleanConstructor; allDayText: StringConstructor; allDayWillUnmount: Identity<WillUnmountHandler<AllDayMountArg>>; aspectRatio: NumberConstructor; bootstrapFontAwesome: Identity<false | ButtonIconsInput>; businessHours: Identity<BusinessHoursInput>; buttonIcons: Identity<false | ButtonIconsInput>; closeHint: StringConstructor; contentHeight: Identity<CssDimValue>; customButtons: Identity<{}>; dateAlignment: StringConstructor; dateIncrement: typeof createDuration; dayCellClassNames: Identity<ClassNamesGenerator<DayCellContentArg>>; dayCellContent: Identity<CustomContentGenerator<DayCellContentArg>>; dayCellDidMount: Identity<DidMountHandler<DayCellMountArg>>; dayCellWillUnmount: Identity<WillUnmountHandler<DayCellMountArg>>; dayCount: NumberConstructor; dayHeaderClassNames: Identity<ClassNamesGenerator<DayHeaderContentArg>>; dayHeaderContent: Identity<CustomContentGenerator<DayHeaderContentArg>>; dayHeaderDidMount: Identity<DidMountHandler<DayHeaderMountArg>>; dayHeaderFormat: typeof createFormatter; dayHeaderWillUnmount: Identity<WillUnmountHandler<DayHeaderMountArg>>; dayHeaders: BooleanConstructor; dayMaxEventRows: Identity<number | boolean>; dayMaxEvents: Identity<number | boolean>; dayMinWidth: NumberConstructor; dayPopoverFormat: typeof createFormatter; defaultAllDay: BooleanConstructor; defaultAllDayEventDuration: typeof createDuration; defaultRangeSeparator: StringConstructor; defaultTimedEventDuration: typeof createDuration; direction: Identity<"ltr" | "rtl">; displayEventEnd: BooleanConstructor; displayEventTime: BooleanConstructor; dragRevertDuration: NumberConstructor; dragScroll: BooleanConstructor; dropAccept: Identity<string | ((this: CalendarApi, draggable: any) => boolean)>; droppable: BooleanConstructor; duration: typeof createDuration; editable: BooleanConstructor; endParam: StringConstructor; eventAllow: Identity<AllowFunc>; eventBackgroundColor: StringConstructor; eventBorderColor: StringConstructor; eventClassNames: Identity<ClassNamesGenerator<EventContentArg>>; eventColor: StringConstructor; eventConstraint: Identity<ConstraintInput>; eventContent: Identity<CustomContentGenerator<EventContentArg>>; eventDataTransform: Identity<EventInputTransformer>; eventDidMount: Identity<DidMountHandler<EventMountArg>>; eventDisplay: StringConstructor; eventDragMinDistance: NumberConstructor; eventDurationEditable: BooleanConstructor; eventHint: StringConstructor; eventInteractive: BooleanConstructor; eventLongPressDelay: NumberConstructor; eventMaxStack: NumberConstructor; eventMinHeight: NumberConstructor; eventMinWidth: NumberConstructor; eventOrder: typeof parseFieldSpecs; eventOrderStrict: BooleanConstructor; eventOverlap: Identity<boolean | OverlapFunc>; eventResizableFromStart: BooleanConstructor; eventShortHeight: NumberConstructor; eventSourceFailure: Identity<((this: CalendarApi, error: any) => void)>; eventSourceSuccess: Identity<((this: CalendarApi, eventsInput: EventInput[], xhr?: XMLHttpRequest) => EventInput[] | void)>; eventStartEditable: BooleanConstructor; eventTextColor: StringConstructor; eventTimeFormat: typeof createFormatter; eventWillUnmount: Identity<WillUnmountHandler<EventMountArg>>; expandRows: BooleanConstructor; firstDay: NumberConstructor; fixedWeekCount: BooleanConstructor; footerToolbar: Identity<false | ToolbarInput>; forceEventDuration: BooleanConstructor; handleWindowResize: BooleanConstructor; headerToolbar: Identity<false | ToolbarInput>; height: Identity<CssDimValue>; hiddenDays: Identity<number[]>; initialDate: Identity<DateInput>; initialView: StringConstructor; lazyFetching: BooleanConstructor; locale: Identity<LocaleSingularArg>; locales: Identity<LocaleInput[]>; longPressDelay: NumberConstructor; monthMode: BooleanConstructor; moreLinkClassNames: Identity<ClassNamesGenerator<MoreLinkContentArg>>; moreLinkClick: Identity<MoreLinkAction>; moreLinkContent: Identity<CustomContentGenerator<MoreLinkContentArg>>; moreLinkDidMount: Identity<DidMountHandler<MoreLinkMountArg>>; moreLinkHint: Identity<string | ((this: CalendarApi, num: number) => string)>; moreLinkText: Identity<string | ((this: CalendarApi, num: number) => string)>; moreLinkWillUnmount: Identity<WillUnmountHandler<MoreLinkMountArg>>; navLinkDayClick: Identity<string | ((this: CalendarApi, date: Date, jsEvent: VUIEvent) => void)>; navLinkHint: Identity<string | ((...args: any[]) => string)>; navLinkWeekClick: Identity<string | ((this: CalendarApi, weekStart: Date, jsEvent: VUIEvent) => void)>; navLinks: BooleanConstructor; nextDayThreshold: typeof createDuration; noEventsText: StringConstructor; now: Identity<DateInput | ((this: CalendarApi) => DateInput)>; nowIndicator: BooleanConstructor; nowIndicatorClassNames: Identity<ClassNamesGenerator<NowIndicatorContentArg>>; nowIndicatorContent: Identity<CustomContentGenerator<NowIndicatorContentArg>>; nowIndicatorDidMount: Identity<DidMountHandler<NowIndicatorMountArg>>; nowIndicatorWillUnmount: Identity<WillUnmountHandler<NowIndicatorMountArg>>; plugins: Identity<PluginDef[]>; progressiveEventRendering: BooleanConstructor; rerenderDelay: NumberConstructor; scrollTime: typeof createDuration; scrollTimeReset: BooleanConstructor; selectAllow: Identity<AllowFunc>; selectConstraint: Identity<ConstraintInput>; selectLongPressDelay: NumberConstructor; selectMinDistance: NumberConstructor; selectMirror: BooleanConstructor; selectOverlap: Identity<boolean | OverlapFunc>; selectable: BooleanConstructor; showNonCurrentDates: BooleanConstructor; slotDuration: typeof createDuration; slotEventOverlap: BooleanConstructor; slotLabelClassNames: Identity<ClassNamesGenerator<SlotLabelContentArg>>; slotLabelContent: Identity<CustomContentGenerator<SlotLabelContentArg>>; slotLabelDidMount: Identity<DidMountHandler<SlotLabelMountArg>>; slotLabelFormat: Identity<FormatterInput | FormatterInput[]>; slotLabelInterval: typeof createDuration; slotLabelWillUnmount: Identity<WillUnmountHandler<SlotLabelMountArg>>; slotLaneClassNames: Identity<ClassNamesGenerator<SlotLaneContentArg>>; slotLaneContent: Identity<CustomContentGenerator<SlotLaneContentArg>>; slotLaneDidMount: Identity<DidMountHandler<SlotLaneMountArg>>; slotLaneWillUnmount: Identity<WillUnmountHandler<SlotLaneMountArg>>; slotMaxTime: typeof createDuration; slotMinTime: typeof createDuration; slotMinWidth: NumberConstructor; snapDuration: typeof createDuration; startParam: StringConstructor; stickyFooterScrollbar: Identity<boolean | "auto">; stickyHeaderDates: Identity<boolean | "auto">; themeSystem: Identity<string>; timeHint: StringConstructor; timeZone: StringConstructor; timeZoneParam: StringConstructor; titleFormat: Identity<FormatterInput>; titleRangeSeparator: StringConstructor; unselectAuto: BooleanConstructor; unselectCancel: StringConstructor; validRange: Identity<DateRangeInput | ((this: CalendarApi, nowDate: Date) => DateRangeInput)>; viewClassNames: Identity<ClassNamesGenerator<ViewContentArg>>; viewDidMount: Identity<DidMountHandler<ViewMountArg>>; viewHeight: Identity<CssDimValue>; viewHint: Identity<string | ((...args: any[]) => string)>; viewWillUnmount: Identity<WillUnmountHandler<ViewMountArg>>; visibleRange: Identity<DateRangeInput | ((this: CalendarApi, currentDate: Date) => DateRangeInput)>; weekNumberCalculation: Identity<WeekNumberCalculation>; weekNumberClassNames: Identity<ClassNamesGenerator<WeekNumberContentArg>>; weekNumberContent: Identity<CustomContentGenerator<WeekNumberContentArg>>; weekNumberDidMount: Identity<DidMountHandler<WeekNumberMountArg>>; weekNumberFormat: typeof createFormatter; weekNumberWillUnmount: Identity<WillUnmountHandler<WeekNumberMountArg>>; weekNumbers: BooleanConstructor; weekText: StringConstructor; weekTextLong: StringConstructor; weekends: BooleanConstructor; windowResizeDelay: NumberConstructor }

    Type declaration

    CustomContentRenderContext: Context<number>
    Fragment: FunctionComponent<{}>
    ViewContextType: Context<any>
    config: any
    globalLocales: LocaleInput[]
    globalPlugins: PluginDef[]
    interactionSettingsStore: InteractionSettingsStore
    version: string

    Functions

    • ContentHook<HookProps>(props: ContentHookProps<HookProps>): Element
    • Type Parameters

      • HookProps

      Parameters

      • props: ContentHookProps<HookProps>

      Returns Element

    • addDurations(d0: Duration, d1: Duration): { days: number; milliseconds: number; months: number; years: number }
    • Parameters

      Returns { days: number; milliseconds: number; months: number; years: number }

      • days: number
      • milliseconds: number
      • months: number
      • years: number
    • allowContextMenu(el: HTMLElement): void
    • Parameters

      • el: HTMLElement

      Returns void

    • allowSelection(el: HTMLElement): void
    • Parameters

      • el: HTMLElement

      Returns void

    • applyStyle(el: HTMLElement, props: Dictionary): void
    • Parameters

      Returns void

    • applyStyleProp(el: HTMLElement, name: string, val: any): void
    • Parameters

      • el: HTMLElement
      • name: string
      • val: any

      Returns void

    • binarySearch<Item>(a: Item[], searchVal: number, getItemVal: ((item: Item) => number)): [number, number]
    • Type Parameters

      • Item

      Parameters

      • a: Item[]
      • searchVal: number
      • getItemVal: ((item: Item) => number)
          • (item: Item): number
          • Parameters

            • item: Item

            Returns number

      Returns [number, number]

    • buildClassNameNormalizer<HookProps>(): ((generator: ClassNamesGenerator<HookProps>, hookProps: HookProps) => string[])
    • buildHashFromArray<Item, ItemRes>(a: Item[], func: ((item: Item, index: number) => [string, ItemRes])): {}
    • Type Parameters

      • Item

      • ItemRes

      Parameters

      • a: Item[]
      • func: ((item: Item, index: number) => [string, ItemRes])
          • (item: Item, index: number): [string, ItemRes]
          • Parameters

            • item: Item
            • index: number

            Returns [string, ItemRes]

      Returns {}

      • [key: string]: ItemRes
    • buildIsoString(marker: Date, timeZoneOffset?: number, stripZeroTime?: boolean): string
    • Parameters

      • marker: Date
      • Optional timeZoneOffset: number
      • Optional stripZeroTime: boolean

      Returns string

    • buildNavLinkAttrs(context: ViewContext, dateMarker: Date, viewType?: string, isTabbable?: boolean): { aria-label?: undefined; data-navlink: string; tabIndex: number; title: any; onClick: any; onKeyDown: any } | { aria-label?: undefined; data-navlink: string; title: any; onClick: any } | { aria-label: string }
    • Parameters

      • context: ViewContext
      • dateMarker: Date
      • Optional viewType: string
      • Optional isTabbable: boolean

      Returns { aria-label?: undefined; data-navlink: string; tabIndex: number; title: any; onClick: any; onKeyDown: any } | { aria-label?: undefined; data-navlink: string; title: any; onClick: any } | { aria-label: string }

    • buildSegCompareObj(seg: Seg): { _seg: Seg; allDay: number; defId: string; duration: number; end: number; extendedProps: Dictionary; groupId: string; hasEnd: boolean; id: string; interactive?: boolean; publicId: string; recurringDef: { duration: Duration; typeData: any; typeId: number }; sourceId: string; start: number; title: string; ui: EventUi; url: string }
    • Parameters

      Returns { _seg: Seg; allDay: number; defId: string; duration: number; end: number; extendedProps: Dictionary; groupId: string; hasEnd: boolean; id: string; interactive?: boolean; publicId: string; recurringDef: { duration: Duration; typeData: any; typeId: number }; sourceId: string; start: number; title: string; ui: EventUi; url: string }

      • _seg: Seg
      • allDay: number
      • defId: string
      • duration: number
      • end: number
      • extendedProps: Dictionary
      • groupId: string
      • hasEnd: boolean
      • id: string
      • Optional interactive?: boolean
      • publicId: string
      • recurringDef: { duration: Duration; typeData: any; typeId: number }
        • duration: Duration
        • typeData: any
        • typeId: number
      • sourceId: string
      • start: number
      • title: string
      • ui: EventUi
      • url: string
    • buildSegTimeText(seg: Seg, timeFormat: DateFormatter, context: ViewContext, defaultDisplayEventTime?: boolean, defaultDisplayEventEnd?: boolean, startOverride?: Date, endOverride?: Date): string
    • Parameters

      • seg: Seg
      • timeFormat: DateFormatter
      • context: ViewContext
      • Optional defaultDisplayEventTime: boolean
      • Optional defaultDisplayEventEnd: boolean
      • Optional startOverride: Date
      • Optional endOverride: Date

      Returns string

    • collectFromHash<Item>(hash: {}, startIndex?: number, endIndex?: number, step?: number): Item[]
    • Type Parameters

      • Item

      Parameters

      • hash: {}
        • [key: string]: Item
      • Optional startIndex: number
      • Optional endIndex: number
      • Optional step: number

      Returns Item[]

    • compareByFieldSpec<Subject>(obj0: Subject, obj1: Subject, fieldSpec: OrderSpec<Subject>): number
    • Type Parameters

      • Subject

      Parameters

      • obj0: Subject
      • obj1: Subject
      • fieldSpec: OrderSpec<Subject>

      Returns number

    • compareByFieldSpecs<Subject>(obj0: Subject, obj1: Subject, fieldSpecs: OrderSpec<Subject>[]): number
    • Type Parameters

      • Subject

      Parameters

      • obj0: Subject
      • obj1: Subject
      • fieldSpecs: OrderSpec<Subject>[]

      Returns number

    • compareNumbers(a: any, b: any): number
    • Parameters

      • a: any
      • b: any

      Returns number

    • compareObjs(oldProps: any, newProps: any, equalityFuncs?: EqualityFuncs<any>): boolean
    • Parameters

      • oldProps: any
      • newProps: any
      • Optional equalityFuncs: EqualityFuncs<any>

      Returns boolean

    • computeEdges(el: HTMLElement, getPadding?: boolean): EdgeInfo
    • Parameters

      • el: HTMLElement
      • Optional getPadding: boolean

      Returns EdgeInfo

    • computeFallbackHeaderFormat(datesRepDistinctDays: boolean, dayCnt: number): DateFormatter
    • Parameters

      • datesRepDistinctDays: boolean
      • dayCnt: number

      Returns DateFormatter

    • computeHeightAndMargins(el: HTMLElement): number
    • Parameters

      • el: HTMLElement

      Returns number

    • computeInnerRect(el: any, goWithinPadding?: boolean, doFromWindowViewport?: boolean): { bottom: number; left: any; right: number; top: any }
    • Parameters

      • el: any
      • Optional goWithinPadding: boolean
      • Optional doFromWindowViewport: boolean

      Returns { bottom: number; left: any; right: number; top: any }

      • bottom: number
      • left: any
      • right: number
      • top: any
    • computeRect(el: any): Rect
    • Parameters

      • el: any

      Returns Rect

    • computeShrinkWidth(chunkEls: HTMLElement[]): number
    • Parameters

      • chunkEls: HTMLElement[]

      Returns number

    • computeSmallestCellWidth(cellEl: HTMLElement): number
    • Parameters

      • cellEl: HTMLElement

      Returns number

    • computeVisibleDayRange(timedRange: OpenDateRange, nextDayThreshold?: Duration): OpenDateRange
    • Parameters

      • timedRange: OpenDateRange
      • Optional nextDayThreshold: Duration

      Returns OpenDateRange

    • createAriaClickAttrs(handler: ((ev: UIEvent) => void)): { tabIndex: number; onClick: any; onKeyDown: any }
    • Parameters

      • handler: ((ev: UIEvent) => void)
          • (ev: UIEvent): void
          • Parameters

            • ev: UIEvent

            Returns void

      Returns { tabIndex: number; onClick: any; onKeyDown: any }

      • tabIndex: number
      • onClick:function
        • onClick(ev: UIEvent): void
        • Parameters

          • ev: UIEvent

          Returns void

      • onKeyDown:function
        • onKeyDown(ev: KeyboardEvent): void
        • Parameters

          • ev: KeyboardEvent

          Returns void

    • createContext<T>(defaultValue: T): Context<T>
    • Type Parameters

      • T

      Parameters

      • defaultValue: T

      Returns Context<T>

    • createEventInstance(defId: string, range: DateRange, forcedStartTzo?: number, forcedEndTzo?: number): EventInstance
    • Parameters

      • defId: string
      • range: DateRange
      • Optional forcedStartTzo: number
      • Optional forcedEndTzo: number

      Returns EventInstance

    • createPortal(vnode: VNode<{}>, container: Element): preact.VNode<any>
    • Parameters

      • vnode: VNode<{}>
      • container: Element

      Returns preact.VNode<any>

    • diffDays(m0: any, m1: any): number
    • Parameters

      • m0: any
      • m1: any

      Returns number

    • diffWeeks(m0: any, m1: any): number
    • Parameters

      • m0: any
      • m1: any

      Returns number

    • diffWholeDays(m0: Date, m1: Date): number
    • Parameters

      Returns number

    • diffWholeWeeks(m0: Date, m1: Date): number
    • Parameters

      Returns number

    • disableCursor(): void
    • Returns void

    • elementClosest(el: HTMLElement, selector: string): HTMLElement
    • Parameters

      • el: HTMLElement
      • selector: string

      Returns HTMLElement

    • elementMatches(el: HTMLElement, selector: string): HTMLElement
    • Parameters

      • el: HTMLElement
      • selector: string

      Returns HTMLElement

    • enableCursor(): void
    • Returns void

    • filterHash(hash: any, func: any): {}
    • Parameters

      • hash: any
      • func: any

      Returns {}

      • findDirectChildren(parent: HTMLElement | HTMLElement[], selector?: string): HTMLElement[]
      • Parameters

        • parent: HTMLElement | HTMLElement[]
        • Optional selector: string

        Returns HTMLElement[]

      • findElements(container: HTMLElement | HTMLElement[] | NodeListOf<HTMLElement>, selector: string): HTMLElement[]
      • Parameters

        • container: HTMLElement | HTMLElement[] | NodeListOf<HTMLElement>
        • selector: string

        Returns HTMLElement[]

      • flexibleCompare(a: any, b: any): number
      • Parameters

        • a: any
        • b: any

        Returns number

      • flushSync(callback: (() => void)): void
      • Parameters

        • callback: (() => void)
            • (): void
            • Returns void

        Returns void

      • formatDayString(marker: Date): string
      • Parameters

        Returns string

      • formatIsoTimeString(marker: Date): string
      • Parameters

        Returns string

      • getAllowYScrolling(props: { liquid: boolean }, sectionConfig: SectionConfig): boolean
      • Parameters

        • props: { liquid: boolean }
          • liquid: boolean
        • sectionConfig: SectionConfig

        Returns boolean

      • getCanVGrowWithinCell(): boolean
      • Returns boolean

      • getClippingParents(el: HTMLElement): HTMLElement[]
      • Parameters

        • el: HTMLElement

        Returns HTMLElement[]

      • getElRoot(el: HTMLElement): ShadowRoot | Document
      • Parameters

        • el: HTMLElement

        Returns ShadowRoot | Document

      • getElSeg(el: HTMLElement): Seg | null
      • Parameters

        • el: HTMLElement

        Returns Seg | null

      • getEntrySpanEnd(entry: SegEntry): number
      • getEventTargetViaRoot(ev: Event): EventTarget
      • Parameters

        • ev: Event

        Returns EventTarget

      • getIsRtlScrollbarOnLeft(): boolean
      • Returns boolean

      • getScrollGridClassNames(liquid: boolean, context: ViewContext): any[]
      • Parameters

        Returns any[]

      • getScrollbarWidths(): ScrollbarWidths
      • Returns ScrollbarWidths

      • getSectionClassNames(sectionConfig: SectionConfig, wholeTableVGrow: boolean): string[]
      • Parameters

        Returns string[]

      • getSectionHasLiquidHeight(props: { liquid: boolean }, sectionConfig: SectionConfig): boolean
      • Parameters

        • props: { liquid: boolean }
          • liquid: boolean
        • sectionConfig: SectionConfig

        Returns boolean

      • getSegAnchorAttrs(seg: Seg, context: ViewContext): { tabIndex: number; onKeyDown: any } | { href: string } | { href?: undefined }
      • Parameters

        Returns { tabIndex: number; onKeyDown: any } | { href: string } | { href?: undefined }

      • getSegMeta(seg: Seg, todayRange: DateRange, nowDate?: Date): { isFuture: boolean; isPast: boolean; isToday: boolean }
      • Parameters

        Returns { isFuture: boolean; isPast: boolean; isToday: boolean }

        • isFuture: boolean
        • isPast: boolean
        • isToday: boolean
      • getUnequalProps(obj0: any, obj1: any): string[]
      • Parameters

        • obj0: any
        • obj1: any

        Returns string[]

      • getUniqueDomId(): string
      • Returns string

      • greatestDurationDenominator(dur: Duration): { unit: string; value: number }
      • Parameters

        Returns { unit: string; value: number }

        • unit: string
        • value: number
      • guid(): string
      • Returns string

      • hasShrinkWidth(cols: ColProps[]): boolean
      • Parameters

        Returns boolean

      • identity<T>(raw: T): T
      • Type Parameters

        • T

        Parameters

        • raw: T

        Returns T

      • intersectRanges(range0: OpenDateRange, range1: OpenDateRange): OpenDateRange
      • Parameters

        • range0: OpenDateRange
        • range1: OpenDateRange

        Returns OpenDateRange

      • isArraysEqual(a0: any, a1: any, equalityFunc?: ((v0: any, v1: any) => boolean)): boolean
      • Parameters

        • a0: any
        • a1: any
        • Optional equalityFunc: ((v0: any, v1: any) => boolean)
            • (v0: any, v1: any): boolean
            • Parameters

              • v0: any
              • v1: any

              Returns boolean

        Returns boolean

      • isInt(n: any): boolean
      • Parameters

        • n: any

        Returns boolean

      • isPropsEqual(obj0: any, obj1: any): boolean
      • Parameters

        • obj0: any
        • obj1: any

        Returns boolean

      • isValidDate(m: Date): boolean
      • Parameters

        Returns boolean

      • listenBySelector(container: HTMLElement, eventType: string, selector: string, handler: ((ev: Event, matchedTarget: HTMLElement) => void)): (() => void)
      • Parameters

        • container: HTMLElement
        • eventType: string
        • selector: string
        • handler: ((ev: Event, matchedTarget: HTMLElement) => void)
            • (ev: Event, matchedTarget: HTMLElement): void
            • Parameters

              • ev: Event
              • matchedTarget: HTMLElement

              Returns void

        Returns (() => void)

          • (): void
          • Returns void

      • mapHash<InputItem, OutputItem>(hash: {}, func: ((input: InputItem, key: string) => OutputItem)): {}
      • Type Parameters

        • InputItem

        • OutputItem

        Parameters

        • hash: {}
          • [key: string]: InputItem
        • func: ((input: InputItem, key: string) => OutputItem)
            • (input: InputItem, key: string): OutputItem
            • Parameters

              • input: InputItem
              • key: string

              Returns OutputItem

        Returns {}

        • [key: string]: OutputItem
      • memoize<Args, Res>(workerFunc: ((...args: Args) => Res), resEquality?: ((res0: Res, res1: Res) => boolean), teardownFunc?: ((res: Res) => void)): ((...args: Args) => Res)
      • Type Parameters

        • Args extends any[]

        • Res

        Parameters

        • workerFunc: ((...args: Args) => Res)
            • (...args: Args): Res
            • Parameters

              • Rest ...args: Args

              Returns Res

        • Optional resEquality: ((res0: Res, res1: Res) => boolean)
            • (res0: Res, res1: Res): boolean
            • Parameters

              • res0: Res
              • res1: Res

              Returns boolean

        • Optional teardownFunc: ((res: Res) => void)
            • (res: Res): void
            • Parameters

              • res: Res

              Returns void

        Returns ((...args: Args) => Res)

          • (...args: Args): Res
          • Parameters

            • Rest ...args: Args

            Returns Res

      • memoizeArraylike<Args, Res>(workerFunc: ((...args: Args) => Res), resEquality?: ((res0: Res, res1: Res) => boolean), teardownFunc?: ((res: Res) => void)): MemoiseArrayFunc<Args, Res>
      • Type Parameters

        • Args extends any[]

        • Res

        Parameters

        • workerFunc: ((...args: Args) => Res)
            • (...args: Args): Res
            • Parameters

              • Rest ...args: Args

              Returns Res

        • Optional resEquality: ((res0: Res, res1: Res) => boolean)
            • (res0: Res, res1: Res): boolean
            • Parameters

              • res0: Res
              • res1: Res

              Returns boolean

        • Optional teardownFunc: ((res: Res) => void)
            • (res: Res): void
            • Parameters

              • res: Res

              Returns void

        Returns MemoiseArrayFunc<Args, Res>

      • memoizeHashlike<Args, Res>(workerFunc: ((...args: Args) => Res), resEquality?: ((res0: Res, res1: Res) => boolean), teardownFunc?: ((res: Res) => void)): MemoizeHashFunc<Args, Res>
      • Type Parameters

        • Args extends any[]

        • Res

        Parameters

        • workerFunc: ((...args: Args) => Res)
            • (...args: Args): Res
            • Parameters

              • Rest ...args: Args

              Returns Res

        • Optional resEquality: ((res0: Res, res1: Res) => boolean)
            • (res0: Res, res1: Res): boolean
            • Parameters

              • res0: Res
              • res1: Res

              Returns boolean

        • Optional teardownFunc: ((res: Res) => void)
            • (res: Res): void
            • Parameters

              • res: Res

              Returns void

        Returns MemoizeHashFunc<Args, Res>

      • memoizeObjArg<Arg, Res>(workerFunc: ((arg: Arg) => Res), resEquality?: ((res0: Res, res1: Res) => boolean), teardownFunc?: ((res: Res) => void)): ((arg: Arg) => Res)
      • Type Parameters

        Parameters

        • workerFunc: ((arg: Arg) => Res)
            • (arg: Arg): Res
            • Parameters

              • arg: Arg

              Returns Res

        • Optional resEquality: ((res0: Res, res1: Res) => boolean)
            • (res0: Res, res1: Res): boolean
            • Parameters

              • res0: Res
              • res1: Res

              Returns boolean

        • Optional teardownFunc: ((res: Res) => void)
            • (res: Res): void
            • Parameters

              • res: Res

              Returns void

        Returns ((arg: Arg) => Res)

          • (arg: Arg): Res
          • Parameters

            • arg: Arg

            Returns Res

      • multiplyDuration(d: Duration, n: number): { days: number; milliseconds: number; months: number; years: number }
      • Parameters

        Returns { days: number; milliseconds: number; months: number; years: number }

        • days: number
        • milliseconds: number
        • months: number
        • years: number
      • padStart(val: any, len: any): string
      • Parameters

        • val: any
        • len: any

        Returns string

      • parseClassNames(raw: ClassNamesInput): string[]
      • Parameters

        • raw: ClassNamesInput

        Returns string[]

      • parseFieldSpecs<Subject>(input: FieldSpecInput<Subject>): OrderSpec<Subject>[]
      • Type Parameters

        • Subject

        Parameters

        • input: FieldSpecInput<Subject>

        Returns OrderSpec<Subject>[]

      • parseMarker(str: any): { isTimeUnspecified: boolean; marker: Date; timeZoneOffset: any }
      • Parameters

        • str: any

        Returns { isTimeUnspecified: boolean; marker: Date; timeZoneOffset: any }

        • isTimeUnspecified: boolean
        • marker: Date
        • timeZoneOffset: any
      • pointInsideRect(point: Point, rect: Rect): boolean
      • Parameters

        Returns boolean

      • preventContextMenu(el: HTMLElement): void
      • Parameters

        • el: HTMLElement

        Returns void

      • preventDefault(ev: any): void
      • Parameters

        • ev: any

        Returns void

      • preventSelection(el: HTMLElement): void
      • Parameters

        • el: HTMLElement

        Returns void

      • rangeContainsMarker(range: OpenDateRange, date: number | Date): boolean
      • Parameters

        • range: OpenDateRange
        • date: number | Date

        Returns boolean

      • rangeContainsRange(outerRange: OpenDateRange, innerRange: OpenDateRange): boolean
      • Parameters

        • outerRange: OpenDateRange
        • innerRange: OpenDateRange

        Returns boolean

      • rangesEqual(range0: OpenDateRange, range1: OpenDateRange): boolean
      • Parameters

        • range0: OpenDateRange
        • range1: OpenDateRange

        Returns boolean

      • rangesIntersect(range0: OpenDateRange, range1: OpenDateRange): boolean
      • Parameters

        • range0: OpenDateRange
        • range1: OpenDateRange

        Returns boolean

      • refineEventDef(raw: EventInput, context: CalendarContext, refiners?: { allDay: BooleanConstructor; allow: Identity<AllowFunc>; backgroundColor: StringConstructor; borderColor: StringConstructor; className: ((raw: ClassNamesInput) => string[]); classNames: ((raw: ClassNamesInput) => string[]); color: StringConstructor; constraint: Identity<any>; date: Identity<DateInput>; display: StringConstructor; durationEditable: BooleanConstructor; editable: BooleanConstructor; end: Identity<DateInput>; extendedProps: Identity<Dictionary>; groupId: StringConstructor; id: StringConstructor; interactive: BooleanConstructor; overlap: Identity<boolean>; start: Identity<DateInput>; startEditable: BooleanConstructor; textColor: StringConstructor; title: StringConstructor; url: StringConstructor }): { extra: Dictionary; refined: RefinedOptionsFromRefiners<{ allDay: BooleanConstructor; allow: Identity<AllowFunc>; backgroundColor: StringConstructor; borderColor: StringConstructor; className: typeof parseClassNames; classNames: typeof parseClassNames; color: StringConstructor; constraint: Identity<any>; date: Identity<DateInput>; display: StringConstructor; durationEditable: BooleanConstructor; editable: BooleanConstructor; end: Identity<DateInput>; extendedProps: Identity<Dictionary>; groupId: StringConstructor; id: StringConstructor; interactive: BooleanConstructor; overlap: Identity<boolean>; start: Identity<DateInput>; startEditable: BooleanConstructor; textColor: StringConstructor; title: StringConstructor; url: StringConstructor }> }
      • Parameters

        • raw: EventInput
        • context: CalendarContext
        • Optional refiners: { allDay: BooleanConstructor; allow: Identity<AllowFunc>; backgroundColor: StringConstructor; borderColor: StringConstructor; className: ((raw: ClassNamesInput) => string[]); classNames: ((raw: ClassNamesInput) => string[]); color: StringConstructor; constraint: Identity<any>; date: Identity<DateInput>; display: StringConstructor; durationEditable: BooleanConstructor; editable: BooleanConstructor; end: Identity<DateInput>; extendedProps: Identity<Dictionary>; groupId: StringConstructor; id: StringConstructor; interactive: BooleanConstructor; overlap: Identity<boolean>; start: Identity<DateInput>; startEditable: BooleanConstructor; textColor: StringConstructor; title: StringConstructor; url: StringConstructor }
          • allDay: BooleanConstructor
          • allow: Identity<AllowFunc>
          • backgroundColor: StringConstructor
          • borderColor: StringConstructor
          • className: ((raw: ClassNamesInput) => string[])
              • (raw: ClassNamesInput): string[]
              • Parameters

                • raw: ClassNamesInput

                Returns string[]

          • classNames: ((raw: ClassNamesInput) => string[])
              • (raw: ClassNamesInput): string[]
              • Parameters

                • raw: ClassNamesInput

                Returns string[]

          • color: StringConstructor
          • constraint: Identity<any>
          • date: Identity<DateInput>
          • display: StringConstructor
          • durationEditable: BooleanConstructor
          • editable: BooleanConstructor
          • end: Identity<DateInput>
          • extendedProps: Identity<Dictionary>
          • groupId: StringConstructor
          • id: StringConstructor
          • interactive: BooleanConstructor
          • overlap: Identity<boolean>
          • start: Identity<DateInput>
          • startEditable: BooleanConstructor
          • textColor: StringConstructor
          • title: StringConstructor
          • url: StringConstructor

        Returns { extra: Dictionary; refined: RefinedOptionsFromRefiners<{ allDay: BooleanConstructor; allow: Identity<AllowFunc>; backgroundColor: StringConstructor; borderColor: StringConstructor; className: typeof parseClassNames; classNames: typeof parseClassNames; color: StringConstructor; constraint: Identity<any>; date: Identity<DateInput>; display: StringConstructor; durationEditable: BooleanConstructor; editable: BooleanConstructor; end: Identity<DateInput>; extendedProps: Identity<Dictionary>; groupId: StringConstructor; id: StringConstructor; interactive: BooleanConstructor; overlap: Identity<boolean>; start: Identity<DateInput>; startEditable: BooleanConstructor; textColor: StringConstructor; title: StringConstructor; url: StringConstructor }> }

      • removeElement(el: HTMLElement): void
      • Parameters

        • el: HTMLElement

        Returns void

      • removeExact(array: any, exactVal: any): number
      • Parameters

        • array: any
        • exactVal: any

        Returns number

      • render(vnode: ComponentChild, parent: ContainerNode): void
      • render(vnode: ComponentChild, parent: ContainerNode, replaceNode?: Element | Text): void
      • renderFill(fillType: string): Element
      • Parameters

        • fillType: string

        Returns Element

      • requestJson(method: string, url: string, params: Dictionary, successCallback: any, failureCallback: any): void
      • Parameters

        • method: string
        • url: string
        • params: Dictionary
        • successCallback: any
        • failureCallback: any

        Returns void

      • sanitizeShrinkWidth(shrinkWidth?: number): number
      • Parameters

        • Optional shrinkWidth: number

        Returns number

      • setElSeg(el: HTMLElement, seg: Seg): void
      • Parameters

        • el: HTMLElement
        • seg: Seg

        Returns void

      • setRef<RefType>(ref: void | Ref<RefType>, current: RefType): void
      • Type Parameters

        • RefType

        Parameters

        • ref: void | Ref<RefType>
        • current: RefType

        Returns void

      • translateRect(rect: Rect, deltaX: number, deltaY: number): Rect
      • Parameters

        • rect: Rect
        • deltaX: number
        • deltaY: number

        Returns Rect

      • unmountComponentAtNode(node: HTMLElement): void
      • Parameters

        • node: HTMLElement

        Returns void

      • unpromisify(func: any, success: any, failure?: any): void
      • Parameters

        • func: any
        • success: any
        • Optional failure: any

        Returns void

      • whenTransitionDone(el: HTMLElement, callback: ((ev: Event) => void)): void
      • Parameters

        • el: HTMLElement
        • callback: ((ev: Event) => void)
            • (ev: Event): void
            • Parameters

              • ev: Event

              Returns void

        Returns void

      Generated using TypeDoc