UNPKG

@syncfusion/ej2-schedule

Version:

Flexible scheduling library with more built-in features and enhanced customization options similar to outlook and google calendar, allowing the users to plan and manage their appointments with efficient data-binding support.

76 lines (75 loc) 2.22 kB
import { ActionBase } from '../actions/action-base'; /** * Schedule events drag actions */ export declare class DragAndDrop extends ActionBase { private widthUptoCursorPoint; private heightUptoCursorPoint; private timelineEventModule; private cursorPointIndex; private isHeaderRows; private isTimelineDayProcess; private widthPerMinute; private heightPerMinute; private minDiff; private isStepDragging; private isMorePopupOpened; private isAllDayDrag; private isMultiSelect; private multiData; private updatedData; private swagData; private startTime; private isAllDayTarget; private targetTd; private isCursorAhead; private dragArea; private enableCurrentViewDrag; private isPreventMultiDrag; private slotsUptoCursor; private eleTop; private distanceUptoCursor; wireDragEvent(element: HTMLElement): void; setDragArea(): void; private dragHelper; private dragPosition; private setDragActionDefaultValues; private dragStart; getSelectedData(): Record<string, any>[]; private drag; private calculateMinutesDiff; private dragStop; updateNavigatingPosition(e: MouseEvent & TouchEvent): void; updateDraggingDateTime(e: MouseEvent & TouchEvent): void; navigationWrapper(): void; private viewNavigation; private morePopupEventDragging; private calculateVerticalTime; private splitEvent; private updateMultipleData; private getDayIndex; private updateEventHeight; private renderSpannedEvents; private getRenderedDates; private updateAllDayEvents; private swapDragging; private calculateVerticalDate; private updateMultipleVerticalDate; private calculateTimelineTime; private getOffsetValue; private getWidthDiff; private getColumnIndex; private getCursorCurrentIndex; private cursorIndex; private calculateResourceGroupingPosition; private appendCloneElement; private getEventWrapper; private getAllDayEventHeight; private isAllowDrop; /** * Get module name. * * @returns {string} Returns the module name */ protected getModuleName(): string; }