123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310 |
- // Generated by dts-bundle v0.7.3-fork.1
- // Dependencies for this module:
- // ../../../../../@fullcalendar/core
-
- declare module '@fullcalendar/daygrid' {
- export { default as SimpleDayGrid, DayGridSlicer } from '@fullcalendar/daygrid/SimpleDayGrid';
- export { default as DayGrid, DayGridSeg } from '@fullcalendar/daygrid/DayGrid';
- export { default as AbstractDayGridView } from '@fullcalendar/daygrid/AbstractDayGridView';
- export { default as DayGridView, buildDayTable as buildBasicDayTable } from '@fullcalendar/daygrid/DayGridView';
- export { default as DayBgRow } from '@fullcalendar/daygrid/DayBgRow';
- const _default: import("@fullcalendar/core").PluginDef;
- export default _default;
- }
-
- declare module '@fullcalendar/daygrid/SimpleDayGrid' {
- import { DateProfile, EventStore, EventUiHash, DateSpan, EventInteractionState, DayTable, Duration, DateComponent, DateRange, Slicer, Hit, ComponentContext } from '@fullcalendar/core';
- import { default as DayGrid, DayGridSeg } from '@fullcalendar/daygrid/DayGrid';
- export interface SimpleDayGridProps {
- dateProfile: DateProfile | null;
- dayTable: DayTable;
- nextDayThreshold: Duration;
- businessHours: EventStore;
- eventStore: EventStore;
- eventUiBases: EventUiHash;
- dateSelection: DateSpan | null;
- eventSelection: string;
- eventDrag: EventInteractionState | null;
- eventResize: EventInteractionState | null;
- isRigid: boolean;
- }
- export { SimpleDayGrid as default, SimpleDayGrid };
- class SimpleDayGrid extends DateComponent<SimpleDayGridProps> {
- dayGrid: DayGrid;
- constructor(context: ComponentContext, dayGrid: DayGrid);
- destroy(): void;
- render(props: SimpleDayGridProps): void;
- buildPositionCaches(): void;
- queryHit(positionLeft: number, positionTop: number): Hit;
- }
- export class DayGridSlicer extends Slicer<DayGridSeg, [DayTable]> {
- sliceRange(dateRange: DateRange, dayTable: DayTable): DayGridSeg[];
- }
- }
-
- declare module '@fullcalendar/daygrid/DayGrid' {
- import { PositionCache, DateMarker, DateComponent, EventSegUiInteractionState, Seg, DateProfile } from '@fullcalendar/core';
- import Popover from '@fullcalendar/daygrid/Popover';
- import DayGridEventRenderer from '@fullcalendar/daygrid/DayGridEventRenderer';
- import DayTile from '@fullcalendar/daygrid/DayTile';
- export interface RenderProps {
- renderNumberIntroHtml: (row: number, dayGrid: DayGrid) => string;
- renderBgIntroHtml: () => string;
- renderIntroHtml: () => string;
- colWeekNumbersVisible: boolean;
- cellWeekNumbersVisible: boolean;
- }
- export interface DayGridSeg extends Seg {
- row: number;
- firstCol: number;
- lastCol: number;
- }
- export interface DayGridCell {
- date: DateMarker;
- htmlAttrs?: string;
- }
- export interface DayGridProps {
- dateProfile: DateProfile;
- cells: DayGridCell[][];
- businessHourSegs: DayGridSeg[];
- bgEventSegs: DayGridSeg[];
- fgEventSegs: DayGridSeg[];
- dateSelectionSegs: DayGridSeg[];
- eventSelection: string;
- eventDrag: EventSegUiInteractionState | null;
- eventResize: EventSegUiInteractionState | null;
- isRigid: boolean;
- }
- export { DayGrid as default, DayGrid };
- class DayGrid extends DateComponent<DayGridProps> {
- eventRenderer: DayGridEventRenderer;
- renderProps: RenderProps;
- rowCnt: number;
- colCnt: number;
- bottomCoordPadding: number;
- rowEls: HTMLElement[];
- cellEls: HTMLElement[];
- isCellSizesDirty: boolean;
- rowPositions: PositionCache;
- colPositions: PositionCache;
- segPopover: Popover;
- segPopoverTile: DayTile;
- constructor(context: any, el: any, renderProps: RenderProps);
- render(props: DayGridProps): void;
- destroy(): void;
- getCellRange(row: any, col: any): {
- start: Date;
- end: Date;
- };
- updateSegPopoverTile(date?: any, segs?: any): void;
- _renderCells(cells: DayGridCell[][], isRigid: boolean): void;
- _unrenderCells(): void;
- renderDayRowHtml(row: any, isRigid: any): string;
- getIsNumbersVisible(): boolean;
- getIsDayNumbersVisible(): boolean;
- renderNumberTrHtml(row: number): string;
- renderNumberCellsHtml(row: any): string;
- renderNumberCellHtml(date: any): string;
- updateSize(isResize: boolean): void;
- buildPositionCaches(): void;
- buildColPositions(): void;
- buildRowPositions(): void;
- positionToHit(leftPosition: any, topPosition: any): {
- row: any;
- col: any;
- dateSpan: {
- range: {
- start: Date;
- end: Date;
- };
- allDay: boolean;
- };
- dayEl: HTMLElement;
- relativeRect: {
- left: any;
- right: any;
- top: any;
- bottom: any;
- };
- };
- getCellEl(row: any, col: any): HTMLElement;
- _renderEventDrag(state: EventSegUiInteractionState): void;
- _unrenderEventDrag(state: EventSegUiInteractionState): void;
- _renderEventResize(state: EventSegUiInteractionState): void;
- _unrenderEventResize(state: EventSegUiInteractionState): void;
- removeSegPopover(): void;
- limitRows(levelLimit: any): void;
- computeRowLevelLimit(row: any): (number | false);
- limitRow(row: any, levelLimit: any): void;
- unlimitRow(row: any): void;
- renderMoreLink(row: any, col: any, hiddenSegs: any): HTMLElement;
- showSegPopover(row: any, col: any, moreLink: HTMLElement, segs: any): void;
- resliceDaySegs(segs: any, dayDate: any): any[];
- getMoreLinkText(num: any): any;
- getCellSegs(row: any, col: any, startLevel?: any): any[];
- }
- }
-
- declare module '@fullcalendar/daygrid/AbstractDayGridView' {
- import { ScrollComponent, View, ComponentContext, ViewSpec, DateProfileGenerator, Duration } from '@fullcalendar/core';
- import DayGrid from '@fullcalendar/daygrid/DayGrid';
- export { DayGridView as default, DayGridView };
- abstract class DayGridView extends View {
- scroller: ScrollComponent;
- dayGrid: DayGrid;
- colWeekNumbersVisible: boolean;
- weekNumberWidth: number;
- constructor(context: ComponentContext, viewSpec: ViewSpec, dateProfileGenerator: DateProfileGenerator, parentEl: HTMLElement);
- destroy(): void;
- renderSkeletonHtml(): string;
- weekNumberStyleAttr(): string;
- hasRigidRows(): boolean;
- updateSize(isResize: boolean, viewHeight: number, isAuto: boolean): void;
- updateBaseSize(isResize: boolean, viewHeight: number, isAuto: boolean): void;
- computeScrollerHeight(viewHeight: any): number;
- setGridHeight(height: any, isAuto: any): void;
- computeDateScroll(duration: Duration): {
- top: number;
- };
- queryDateScroll(): {
- top: number;
- };
- applyDateScroll(scroll: any): void;
- renderHeadIntroHtml: () => string;
- renderDayGridNumberIntroHtml: (row: number, dayGrid: DayGrid) => string;
- renderDayGridBgIntroHtml: () => string;
- renderDayGridIntroHtml: () => string;
- }
- }
-
- declare module '@fullcalendar/daygrid/DayGridView' {
- import { DayHeader, ComponentContext, ViewSpec, DateProfileGenerator, DateProfile, ViewProps, DayTable } from '@fullcalendar/core';
- import AbstractDayGridView from '@fullcalendar/daygrid/AbstractDayGridView';
- import SimpleDayGrid from '@fullcalendar/daygrid/SimpleDayGrid';
- export { DayGridView as default, DayGridView };
- class DayGridView extends AbstractDayGridView {
- header: DayHeader;
- simpleDayGrid: SimpleDayGrid;
- dayTable: DayTable;
- constructor(_context: ComponentContext, viewSpec: ViewSpec, dateProfileGenerator: DateProfileGenerator, parentEl: HTMLElement);
- destroy(): void;
- render(props: ViewProps): void;
- }
- export function buildDayTable(dateProfile: DateProfile, dateProfileGenerator: DateProfileGenerator): DayTable;
- }
-
- declare module '@fullcalendar/daygrid/DayBgRow' {
- import { ComponentContext, DateMarker, DateProfile } from '@fullcalendar/core';
- export interface DayBgCell {
- date: DateMarker;
- htmlAttrs?: string;
- }
- export interface DayBgRowProps {
- cells: DayBgCell[];
- dateProfile: DateProfile;
- renderIntroHtml?: () => string;
- }
- export { DayBgRow as default, DayBgRow };
- class DayBgRow {
- context: ComponentContext;
- constructor(context: ComponentContext);
- renderHtml(props: DayBgRowProps): string;
- }
- }
-
- declare module '@fullcalendar/daygrid/Popover' {
- export interface PopoverOptions {
- className?: string;
- content?: (el: HTMLElement) => void;
- parentEl: HTMLElement;
- autoHide?: boolean;
- top?: number;
- left?: number;
- right?: number;
- viewportConstrain?: boolean;
- }
- export { Popover as default, Popover };
- class Popover {
- isHidden: boolean;
- options: PopoverOptions;
- el: HTMLElement;
- margin: number;
- constructor(options: PopoverOptions);
- show(): void;
- hide(): void;
- render(): void;
- documentMousedown: (ev: any) => void;
- destroy(): void;
- position(): void;
- trigger(name: any): void;
- }
- }
-
- declare module '@fullcalendar/daygrid/DayGridEventRenderer' {
- import { Seg } from '@fullcalendar/core';
- import DayGrid from '@fullcalendar/daygrid/DayGrid';
- import SimpleDayGridEventRenderer from '@fullcalendar/daygrid/SimpleDayGridEventRenderer';
- export { DayGridEventRenderer as default, DayGridEventRenderer };
- class DayGridEventRenderer extends SimpleDayGridEventRenderer {
- dayGrid: DayGrid;
- rowStructs: any;
- constructor(dayGrid: DayGrid);
- attachSegs(segs: Seg[], mirrorInfo: any): void;
- detachSegs(): void;
- renderSegRows(segs: Seg[]): any[];
- renderSegRow(row: any, rowSegs: any): {
- row: any;
- tbodyEl: HTMLTableSectionElement;
- cellMatrix: any[];
- segMatrix: any[];
- segLevels: any[];
- segs: any;
- };
- buildSegLevels(segs: Seg[]): any[];
- groupSegRows(segs: Seg[]): any[];
- computeDisplayEventEnd(): boolean;
- }
- }
-
- declare module '@fullcalendar/daygrid/DayTile' {
- import { DateComponent, Seg, Hit, DateMarker, ComponentContext, EventInstanceHash } from '@fullcalendar/core';
- import SimpleDayGridEventRenderer from '@fullcalendar/daygrid/SimpleDayGridEventRenderer';
- export interface DayTileProps {
- date: DateMarker;
- fgSegs: Seg[];
- eventSelection: string;
- eventDragInstances: EventInstanceHash;
- eventResizeInstances: EventInstanceHash;
- }
- export { DayTile as default, DayTile };
- class DayTile extends DateComponent<DayTileProps> {
- segContainerEl: HTMLElement;
- constructor(context: ComponentContext, el: HTMLElement);
- render(props: DayTileProps): void;
- destroy(): void;
- _renderFrame(date: DateMarker): void;
- queryHit(positionLeft: number, positionTop: number, elWidth: number, elHeight: number): Hit | null;
- }
- export class DayTileEventRenderer extends SimpleDayGridEventRenderer {
- dayTile: DayTile;
- constructor(dayTile: any);
- attachSegs(segs: Seg[]): void;
- detachSegs(segs: Seg[]): void;
- }
- }
-
- declare module '@fullcalendar/daygrid/SimpleDayGridEventRenderer' {
- import { FgEventRenderer, Seg } from '@fullcalendar/core';
- export { SimpleDayGridEventRenderer as default, SimpleDayGridEventRenderer };
- abstract class SimpleDayGridEventRenderer extends FgEventRenderer {
- renderSegHtml(seg: Seg, mirrorInfo: any): string;
- computeEventTimeFormat(): {
- hour: string;
- minute: string;
- omitZeroMinute: boolean;
- meridiem: string;
- };
- computeDisplayEventEnd(): boolean;
- }
- }
|