@progress/kendo-vue-dateinputs
Version:
33 lines (32 loc) • 1.4 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 { 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 | null): 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;
}