@progress/kendo-react-dateinputs
Version:
KendoReact Date Inputs package
26 lines (25 loc) • 1.01 kB
TypeScript
import { Action } from './NavigationAction';
import { CellContext } from './CellContext';
/**
* @hidden
*/
export interface ViewService {
isSelectedFromArray(candidate: Date, dates: Date[], min: Date, max: Date): boolean;
addToDate(min: Date, skip: number): Date;
datesList(start: Date, count: number): Date[];
data(options: any): CellContext[][];
isEqual(candidate: Date, expected: Date): boolean;
isInArray(date: Date, dates: Date[]): boolean;
isInRange(candidate: Date, min: Date, max: Date): boolean;
isRangeStart(date: Date): boolean;
isInSameView(candidate: Date, value: Date): boolean;
move(date: Date, action: Action): Date;
cellTitle(current: Date): string;
navigationTitle(current: Date): string;
title(current: Date): string;
rowLength(prependCell?: boolean): number;
skip(value: Date, min: Date): number;
total(min: Date, max: Date): number;
value(current: Date): string;
viewDate(date: Date, max: Date, border: number): Date;
}