@progress/kendo-vue-dateinputs
Version:
38 lines (37 loc) • 1.51 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 { IntlService } from '@progress/kendo-vue-intl';
import { FormComponentValidity } from '@progress/kendo-vue-common';
import { Selection } from '../models/main';
/**
* @hidden
*/
export interface DateInputMethods {
[key: string]: any;
handleFocus?: (_: any) => void;
handleBlur?: (_: any) => void;
element: () => HTMLInputElement | null;
focus: () => void;
intl: () => IntlService;
setValidity: () => void;
spinnersMouseDown: (event: any) => void;
elementChange: (event: any) => void;
elementClick: (event: any) => void;
wheel: (event: any) => void;
increasePart: (event: any) => void;
decreasePart: (event: any) => void;
elementKeyDown: (event: any) => void;
setSelection: (selection: Selection) => void;
triggerChange: (event: any, oldValue: Date | null) => void;
selection: () => Selection;
selectionBySymbol: (symbol: string) => Selection;
selectionByIndex: (index: number) => Selection;
switchDateSegment: (offset: number) => void;
modifyDateSegmentValue: (offset: number, event: any) => void;
validity: () => FormComponentValidity;
}