@progress/kendo-vue-dateinputs
Version:
35 lines (34 loc) • 1.58 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 { FormComponentValidity } from '@progress/kendo-vue-common';
import { DatePickerProps, DateInputChangeEvent, CalendarChangeEvent } from '../..';
import { DatePickerState } from './DatePickerState';
/**
* @hidden
*/
export interface DatePickerMethods {
[key: string]: any;
emitBlur?: (_: any) => void;
validity: () => FormComponentValidity;
nextValue: (nextProps: DatePickerProps, nextState: DatePickerState) => any;
nextShow: (nextProps: DatePickerProps, nextState: DatePickerState) => any;
setShow: (show: boolean) => void;
mergeTime: (value: Date | null) => Date | null;
handleInputValueChange: (event: DateInputChangeEvent) => void;
handleCalendarValueChange: (event: CalendarChangeEvent) => void;
handleValueChange: (value: Date | null, event: DateInputChangeEvent | CalendarChangeEvent) => void;
handleFocus: (event: any) => void;
handleBlur: (event: any) => void;
calendarFocus: (event: any) => void;
calendarBlur: (event: any) => void;
getDateInputText: () => string;
createBlurTimeout: () => void;
handleIconClick: () => void;
handleIconMouseDown: (event: any) => void;
handleKeyDown: (event: any) => void;
}