| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362 |
- // Generated by dts-bundle v0.7.3-fork.1
- // Dependencies for this module:
- // ../../../../../@fullcalendar/core
- declare module '@fullcalendar/timeline' {
- import TimelineView from '@fullcalendar/timeline/TimelineView';
- export { TimelineView };
- export { default as TimelineLane } from '@fullcalendar/timeline/TimelineLane';
- export { default as ScrollJoiner } from '@fullcalendar/timeline/util/ScrollJoiner';
- export { default as StickyScroller } from '@fullcalendar/timeline/util/StickyScroller';
- export { default as TimeAxis } from '@fullcalendar/timeline/TimeAxis';
- export { default as HeaderBodyLayout } from '@fullcalendar/timeline/HeaderBodyLayout';
- const _default: import("@fullcalendar/core").PluginDef;
- export default _default;
- }
- declare module '@fullcalendar/timeline/TimelineView' {
- import { Hit, View, ViewProps, ComponentContext, DateProfile, Duration, DateProfileGenerator } from '@fullcalendar/core';
- import TimeAxis from '@fullcalendar/timeline/TimeAxis';
- import TimelineLane from '@fullcalendar/timeline/TimelineLane';
- export { TimelineView as default, TimelineView };
- class TimelineView extends View {
- timeAxis: TimeAxis;
- lane: TimelineLane;
- _startInteractive(timeAxisEl: HTMLElement): void;
- _stopInteractive(): void;
- render(props: ViewProps, context: ComponentContext): void;
- destroy(): void;
- _renderSkeleton(context: ComponentContext): void;
- _unrenderSkeleton(): void;
- renderSkeletonHtml(): string;
- updateSize(isResize: any, totalHeight: any, isAuto: any): void;
- getNowIndicatorUnit(dateProfile: DateProfile, dateProfileGenerator: DateProfileGenerator): string;
- renderNowIndicator(date: any): void;
- unrenderNowIndicator(): void;
- computeDateScroll(duration: Duration): {
- left: number;
- };
- applyScroll(scroll: any, isResize: any): void;
- applyDateScroll(scroll: any): void;
- queryScroll(): {
- top: number;
- left: number;
- };
- buildPositionCaches(): void;
- queryHit(positionLeft: number, positionTop: number, elWidth: number, elHeight: number): Hit;
- }
- }
- declare module '@fullcalendar/timeline/TimelineLane' {
- import { Duration, EventStore, EventUiHash, DateMarker, DateSpan, EventInteractionState, EventSegUiInteractionState, DateComponent, ComponentContext, Seg, DateProfile } from '@fullcalendar/core';
- import TimeAxis from '@fullcalendar/timeline/TimeAxis';
- export interface TimelineLaneSeg extends Seg {
- start: DateMarker;
- end: DateMarker;
- }
- export interface TimelineLaneProps {
- dateProfile: DateProfile;
- nextDayThreshold: Duration;
- businessHours: EventStore | null;
- eventStore: EventStore | null;
- eventUiBases: EventUiHash;
- dateSelection: DateSpan | null;
- eventSelection: string;
- eventDrag: EventInteractionState | null;
- eventResize: EventInteractionState | null;
- }
- export { TimelineLane as default, TimelineLane };
- class TimelineLane extends DateComponent<TimelineLaneProps> {
- fgContainerEl: HTMLElement;
- timeAxis: TimeAxis;
- constructor(fgContainerEl: HTMLElement, bgContainerEl: HTMLElement, timeAxis: TimeAxis);
- render(props: TimelineLaneProps, context: ComponentContext): void;
- destroy(): void;
- _renderEventDrag(state: EventSegUiInteractionState): void;
- _unrenderEventDrag(state: EventSegUiInteractionState): void;
- _renderEventResize(state: EventSegUiInteractionState): void;
- _unrenderEventResize(state: EventSegUiInteractionState): void;
- updateSize(isResize: boolean): void;
- }
- }
- declare module '@fullcalendar/timeline/util/ScrollJoiner' {
- import ClippedScroller from '@fullcalendar/timeline/util/ClippedScroller';
- export { ScrollJoiner as default, ScrollJoiner };
- class ScrollJoiner {
- axis: any;
- scrollers: ClippedScroller[];
- masterScroller: ClippedScroller;
- constructor(axis: any, scrollers: ClippedScroller[]);
- initScroller(scroller: ClippedScroller): void;
- assignMasterScroller(scroller: any): void;
- unassignMasterScroller(): void;
- update(): void;
- }
- }
- declare module '@fullcalendar/timeline/util/StickyScroller' {
- import { Rect, Point } from '@fullcalendar/core';
- import EnhancedScroller from '@fullcalendar/timeline/util/EnhancedScroller';
- interface ElementGeom {
- parentBound: Rect;
- naturalBound: Rect | null;
- elWidth: number;
- elHeight: number;
- computedTextAlign: string;
- intendedTextAlign: string;
- }
- export { StickyScroller as default, StickyScroller };
- class StickyScroller {
- scroller: EnhancedScroller;
- usingRelative: boolean | null;
- constructor(scroller: EnhancedScroller, isRtl: boolean, isVertical: boolean);
- destroy(): void;
- updateSize: () => void;
- queryElGeoms(els: HTMLElement[]): ElementGeom[];
- computeElDestinations(elGeoms: ElementGeom[], viewportWidth: number): Point[];
- }
- export {};
- }
- declare module '@fullcalendar/timeline/TimeAxis' {
- import { DateProfile, DateMarker, Component, ComponentContext, Duration, DateProfileGenerator } from '@fullcalendar/core';
- import HeaderBodyLayout from '@fullcalendar/timeline/HeaderBodyLayout';
- import TimelineHeader from '@fullcalendar/timeline/TimelineHeader';
- import TimelineSlats from '@fullcalendar/timeline/TimelineSlats';
- import { TimelineDateProfile } from '@fullcalendar/timeline/timeline-date-profile';
- import TimelineNowIndicator from '@fullcalendar/timeline/TimelineNowIndicator';
- import StickyScroller from '@fullcalendar/timeline/util/StickyScroller';
- export interface TimeAxisProps {
- dateProfileGenerator: DateProfileGenerator;
- dateProfile: DateProfile;
- }
- export { TimeAxis as default, TimeAxis };
- class TimeAxis extends Component<TimeAxisProps> {
- layout: HeaderBodyLayout;
- header: TimelineHeader;
- slats: TimelineSlats;
- nowIndicator: TimelineNowIndicator;
- headStickyScroller: StickyScroller;
- bodyStickyScroller: StickyScroller;
- tDateProfile: TimelineDateProfile;
- constructor(headerContainerEl: any, bodyContainerEl: any);
- render(props: TimeAxisProps, context: ComponentContext): void;
- destroy(): void;
- _renderSkeleton(context: ComponentContext): void;
- _unrenderSkeleton(): void;
- getNowIndicatorUnit(dateProfile: DateProfile, dateProfileGenerator: DateProfileGenerator): string;
- renderNowIndicator(date: any): void;
- unrenderNowIndicator(): void;
- updateSize(isResize: any, totalHeight: any, isAuto: any): void;
- updateStickyScrollers(): void;
- computeSlotWidth(): any;
- computeDefaultSlotWidth(tDateProfile: any): number;
- applySlotWidth(slotWidth: number | string): void;
- computeDateSnapCoverage(date: DateMarker): number;
- dateToCoord(date: any): any;
- rangeToCoords(range: any): {
- right: any;
- left: any;
- };
- computeDateScroll(duration: Duration): {
- left: number;
- };
- queryDateScroll(): {
- left: number;
- };
- applyDateScroll(scroll: any): void;
- }
- }
- declare module '@fullcalendar/timeline/HeaderBodyLayout' {
- import ClippedScroller from '@fullcalendar/timeline/util/ClippedScroller';
- import ScrollJoiner from '@fullcalendar/timeline/util/ScrollJoiner';
- export { HeaderBodyLayout as default, HeaderBodyLayout };
- class HeaderBodyLayout {
- headerScroller: ClippedScroller;
- bodyScroller: ClippedScroller;
- scrollJoiner: ScrollJoiner;
- constructor(headerContainerEl: any, bodyContainerEl: any, verticalScroll: any);
- destroy(): void;
- setHeight(totalHeight: any, isAuto: any): void;
- queryHeadHeight(): number;
- }
- }
- declare module '@fullcalendar/timeline/util/ClippedScroller' {
- import { ScrollbarWidths } from '@fullcalendar/core';
- import EnhancedScroller from '@fullcalendar/timeline/util/EnhancedScroller';
- export { ClippedScroller as default, ClippedScroller };
- class ClippedScroller {
- el: HTMLElement;
- enhancedScroll: EnhancedScroller;
- isHScrollbarsClipped: boolean;
- isVScrollbarsClipped: boolean;
- constructor(overflowX: string, overflowY: string, parentEl: HTMLElement);
- destroy(): void;
- updateSize(): void;
- setHeight(height: number | string): void;
- getScrollbarWidths(): ScrollbarWidths;
- }
- }
- declare module '@fullcalendar/timeline/util/EnhancedScroller' {
- import { ScrollComponent, EmitterInterface } from '@fullcalendar/core';
- import ScrollerCanvas from '@fullcalendar/timeline/util/ScrollerCanvas';
- export { EnhancedScroller as default, EnhancedScroller };
- class EnhancedScroller extends ScrollComponent {
- on: EmitterInterface['on'];
- one: EmitterInterface['one'];
- off: EmitterInterface['off'];
- trigger: EmitterInterface['trigger'];
- triggerWith: EmitterInterface['triggerWith'];
- hasHandlers: EmitterInterface['hasHandlers'];
- canvas: ScrollerCanvas;
- isScrolling: boolean;
- isTouching: boolean;
- isMoving: boolean;
- isTouchScrollEnabled: boolean;
- preventTouchScrollHandler: any;
- requestMovingEnd: any;
- constructor(overflowX: string, overflowY: string);
- destroy(): void;
- disableTouchScroll(): void;
- enableTouchScroll(): void;
- bindPreventTouchScroll(): void;
- unbindPreventTouchScroll(): void;
- bindHandlers(): void;
- unbindHandlers(): void;
- reportScroll: () => void;
- reportScrollStart: () => void;
- reportMovingEnd(): void;
- reportScrollEnd(): void;
- reportTouchStart: () => void;
- reportTouchEnd: () => void;
- getScrollLeft(): number;
- setScrollLeft(val: any): void;
- getScrollFromLeft(): number;
- }
- }
- declare module '@fullcalendar/timeline/TimelineHeader' {
- import { Component, ComponentContext, DateProfile } from '@fullcalendar/core';
- import { TimelineDateProfile } from '@fullcalendar/timeline/timeline-date-profile';
- export interface TimelineHeaderProps {
- dateProfile: DateProfile;
- tDateProfile: TimelineDateProfile;
- }
- export { TimelineHeader as default, TimelineHeader };
- class TimelineHeader extends Component<TimelineHeaderProps> {
- parentEl: HTMLElement;
- tableEl: HTMLElement;
- slatColEls: HTMLElement[];
- innerEls: HTMLElement[];
- constructor(parentEl: HTMLElement);
- firstContext(context: ComponentContext): void;
- destroy(): void;
- render(props: TimelineHeaderProps): void;
- renderDates(tDateProfile: TimelineDateProfile): void;
- }
- }
- declare module '@fullcalendar/timeline/TimelineSlats' {
- import { PositionCache, Component, DateProfile } from '@fullcalendar/core';
- import { TimelineDateProfile } from '@fullcalendar/timeline/timeline-date-profile';
- export interface TimelineSlatsProps {
- dateProfile: DateProfile;
- tDateProfile: TimelineDateProfile;
- }
- export { TimelineSlats as default, TimelineSlats };
- class TimelineSlats extends Component<TimelineSlatsProps> {
- el: HTMLElement;
- slatColEls: HTMLElement[];
- slatEls: HTMLElement[];
- outerCoordCache: PositionCache;
- innerCoordCache: PositionCache;
- constructor(parentEl: HTMLElement);
- destroy(): void;
- render(props: TimelineSlatsProps): void;
- renderDates(tDateProfile: TimelineDateProfile): void;
- slatCellHtml(date: any, isEm: any, tDateProfile: TimelineDateProfile): string;
- updateSize(): void;
- positionToHit(leftPosition: any): {
- dateSpan: {
- range: {
- start: Date;
- end: Date;
- };
- allDay: boolean;
- };
- dayEl: HTMLElement;
- left: any;
- right: any;
- };
- }
- }
- declare module '@fullcalendar/timeline/timeline-date-profile' {
- import { Duration, DateProfile, DateMarker, DateEnv, DateRange, DateProfileGenerator } from '@fullcalendar/core';
- export interface TimelineDateProfile {
- labelInterval: Duration;
- slotDuration: Duration;
- headerFormats: any;
- isTimeScale: boolean;
- largeUnit: string;
- emphasizeWeeks: boolean;
- snapDuration: Duration;
- snapsPerSlot: number;
- normalizedRange: DateRange;
- timeWindowMs: number;
- slotDates: DateMarker[];
- isWeekStarts: boolean[];
- snapDiffToIndex: number[];
- snapIndexToDiff: number[];
- snapCnt: number;
- slotCnt: number;
- cellRows: TimelineHeaderCell[][];
- }
- export interface TimelineHeaderCell {
- text: string;
- spanHtml: string;
- date: DateMarker;
- colspan: number;
- isWeekStart: boolean;
- }
- export function buildTimelineDateProfile(dateProfile: DateProfile, dateEnv: DateEnv, allOptions: any, dateProfileGenerator: DateProfileGenerator): TimelineDateProfile;
- export function normalizeDate(date: DateMarker, tDateProfile: TimelineDateProfile, dateEnv: DateEnv): DateMarker;
- export function normalizeRange(range: DateRange, tDateProfile: TimelineDateProfile, dateEnv: DateEnv): DateRange;
- export function isValidDate(date: DateMarker, tDateProfile: TimelineDateProfile, dateProfile: DateProfile, dateProfileGenerator: DateProfileGenerator): boolean;
- }
- declare module '@fullcalendar/timeline/TimelineNowIndicator' {
- export { TimelineNowIndicator as default, TimelineNowIndicator };
- class TimelineNowIndicator {
- headParent: HTMLElement;
- bodyParent: HTMLElement;
- arrowEl: HTMLElement;
- lineEl: HTMLElement;
- constructor(headParent: HTMLElement, bodyParent: HTMLElement);
- render(coord: number, isRtl: boolean): void;
- unrender(): void;
- }
- }
- declare module '@fullcalendar/timeline/util/ScrollerCanvas' {
- export { ScrollerCanvas as default, ScrollerCanvas };
- class ScrollerCanvas {
- el: HTMLElement;
- contentEl: HTMLElement;
- bgEl: HTMLElement;
- gutters: any;
- width: any;
- minWidth: any;
- constructor();
- setGutters(gutters: any): void;
- setWidth(width: any): void;
- setMinWidth(minWidth: any): void;
- clearWidth(): void;
- updateSize(): void;
- }
- }
|