UNPKG

@progress/kendo-react-scheduler

Version:

React Scheduler brings the functionality of Outlook's Calendar to a single UI component. KendoReact Scheduler package

41 lines (40 loc) 1.26 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { DataItem } from '../models/index.js'; /** @hidden */ export interface SchedulerEditState { dataItem?: DataItem; editDialog: boolean; occurrenceDialog: boolean; drop?: boolean; removeDialog: boolean; removeOccurrenceDialog: boolean; } /** @hidden */ export declare const EDIT_INITIAL_STATE: SchedulerEditState; /** @hidden */ export interface SchedulerEditAction { type: EDIT_ACTIONS; payload?: DataItem; original?: DataItem; finishCallback?: (event: any) => void; } /** @hidden */ export declare enum EDIT_ACTIONS { CREATE = 0, EDIT = 1, EDIT_OCCURRENCE = 2, EDIT_CONFIRM = 3, EDIT_DROP_OCCURRENCE = 4, REMOVE = 5, REMOVE_OCCURRENCE = 6, REMOVE_CONFIRM = 7, RESET = 8 } /** @hidden */ export declare const editReducer: (state: SchedulerEditState, action: SchedulerEditAction) => SchedulerEditState;