@progress/kendo-angular-dateinputs
Version:
Kendo UI for Angular Date Inputs Package - Everything you need to add date selection functionality to apps (DatePicker, TimePicker, DateInput, DateRangePicker, DateTimePicker, Calendar, and MultiViewCalendar).
40 lines (39 loc) • 1.58 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { IntlService } from '@progress/kendo-angular-intl';
import { ListServiceSettings } from '../models/list-service-settings';
import { ListService } from '../models/list-service.interface';
import { ListItem } from '../models/list-item.interface';
import * as i0 from "@angular/core";
/**
* @hidden
*/
export declare class MinutesService implements ListService {
private intl;
private toListItem;
private min;
private max;
private step;
private insertUndividedMax;
constructor(intl: IntlService);
apply(value: Date, candidate: Date): Date;
configure(settings: ListServiceSettings): void;
data(selectedValue?: Date): ListItem[];
isRangeChanged(min: Date, max: Date): boolean;
limitRange(min: Date, max: Date, value?: Date): Date[];
total(value?: Date): number;
selectedIndex(value: Date): number;
valueInList(value: Date): boolean;
private addLast;
private addMissing;
private countFromMin;
private isMissing;
private isLastMissing;
private divideByStep;
private lastMinute;
private range;
static ɵfac: i0.ɵɵFactoryDeclaration<MinutesService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<MinutesService>;
}