@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.
42 lines (41 loc) • 1.39 kB
TypeScript
import { CrudAction } from '../base/interface';
import { ReturnType, CurrentAction } from '../base/type';
import { Schedule } from '../base/schedule';
/**
* Schedule CRUD operations
*/
export declare class Crud {
private parent;
crudObj: CrudAction;
constructor(parent: Schedule);
private getQuery;
private getTable;
refreshDataManager(): void;
private dataManagerSuccess;
dataManagerFailure(e: ReturnType): void;
refreshProcessedData(isVirtualScrollAction?: boolean, dynamicEvents?: Record<string, any>[]): void;
private refreshData;
private processAddEvent;
private processSaveEvent;
private processDeleteEvent;
addEvent(eventData: Record<string, any> | Record<string, any>[]): void;
saveEvent(eventData: Record<string, any> | Record<string, any>[], action: CurrentAction): void;
deleteEvent(eventData: string | number | Record<string, any> | Record<string, any>[], action: CurrentAction): void;
private processOccurrences;
private processFollowSeries;
private processEntireSeries;
private processDelete;
private processSave;
private getParentEvent;
private excludeDateCheck;
private processRecurrenceRule;
private getUpdatedRecurrenceRule;
private isBlockEvent;
/**
* To destroy the crud module.
*
* @returns {void}
* @private
*/
destroy(): void;
}