@progress/kendo-vue-dateinputs
Version:
41 lines (40 loc) • 1.79 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { SelectionRange, CalendarViewEnum } from '../../models/main';
import { ViewListEventArguments } from '../ViewList';
/**
* @hidden
*/
export interface CalendarMethods {
[key: string]: any;
computedValue: () => Date | Date[] | SelectionRange | null;
focus: (event?: any) => void;
handleTodayClick: (e: any) => void;
handleFocus: () => void;
handleBlur: () => void;
emitFocus: (e: any) => void;
emitBlur: (e: any) => void;
tableKeyDown: (_: any) => void;
handleClick: (_: any) => void;
handleWeekCellClick: (_: any) => void;
handleWeekNameClick: (_: any) => void;
handleCellEnter: (value: Date) => void;
handleDateChange: (args: any) => void;
handleNextClick: (event: ViewListEventArguments) => void;
handlePrevClick: (event: ViewListEventArguments) => void;
handleMouseDown: (event: ViewListEventArguments) => void;
handleTitleClick: () => void;
handleViewChange: (e: {
view: CalendarViewEnum;
}) => void;
triggerChange: (value: Date, event: ViewListEventArguments) => void;
isValueEqual: (newValue: Date | Date[] | SelectionRange | null, oldValue: Date | Date[] | SelectionRange | null) => boolean;
generateRange: (candidate: Date, value: SelectionRange) => SelectionRange;
clampRange: (value: Date) => SelectionRange;
rangeWithFocused: (range: SelectionRange, focusedDate: Date) => SelectionRange;
}