UNPKG

@progress/kendo-vue-dateinputs

Version:
178 lines (177 loc) 4.67 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { DateFormatPart, IntlService, DateFormatOptions } from '@progress/kendo-vue-intl'; import { TimePickerIncrementalSteps } from './models/IncrementalSteps'; import { PropType } from 'vue'; /** * @hidden */ export declare enum Direction { Left = 0, Right = 1 } /** * @hidden */ export interface TimePartChangeEvent { event: any; value: Date; target: any; } /** * @hidden */ export interface TimePartProps { disabled?: boolean; format?: string | DateFormatOptions; max?: Date; min?: Date; cancelButton?: boolean; nowButton?: boolean; onChange?: any; steps?: TimePickerIncrementalSteps; smoothScroll?: boolean; tabIndex?: number; value?: Date | null; boundRange?: boolean; } /** * @hidden */ declare const TimePart: import('vue').DefineComponent<import('vue').ExtractPropTypes<{ cancelButton: { type: PropType<boolean>; default: boolean; }; disabled: { type: PropType<boolean>; default: boolean; }; format: { type: PropType<string | DateFormatOptions>; default: () => string; }; max: { type: PropType<Date>; default: () => Date; }; min: { type: PropType<Date>; default: () => Date; }; nowButton: { type: PropType<boolean>; default: boolean; }; steps: { type: PropType<TimePickerIncrementalSteps>; default: () => {}; }; smoothScroll: { type: PropType<boolean>; default: boolean; }; tabIndex: PropType<number>; value: { type: PropType<Date>; default: () => any; }; boundRange: { type: PropType<boolean>; default: boolean; }; }>, { kendoIntlService: {}; kendoLocalizationService: {}; }, { activeListIndex: any; }, { element(): HTMLSpanElement | null; computedValue(): Date; intl(): IntlService; computedMin(): Date; computedMax(): Date; }, { onNowClick(event: any): void; focus(args?: any): void; timeFormatReducer(acc: string, current: DateFormatPart): string; timeFormatFilter(part: DateFormatPart, index: number, all: DateFormatPart[]): boolean; hasActiveButton(): boolean; focusList(dir: Direction): void; listReducer(state: any, list: any, idx: number, all: any): any; showNowButton(): boolean; hasSteps(): boolean; handleKeyDown(event: any): void; handleListBlur(event: any): void; handleListFocus(event: any, idx: number): void; handleChange(candidate: Date): void; }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { change: (value: Date) => true; focus: (event: FocusEvent) => true; blur: (event: FocusEvent) => true; nowclick: (event: Event) => true; }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ cancelButton: { type: PropType<boolean>; default: boolean; }; disabled: { type: PropType<boolean>; default: boolean; }; format: { type: PropType<string | DateFormatOptions>; default: () => string; }; max: { type: PropType<Date>; default: () => Date; }; min: { type: PropType<Date>; default: () => Date; }; nowButton: { type: PropType<boolean>; default: boolean; }; steps: { type: PropType<TimePickerIncrementalSteps>; default: () => {}; }; smoothScroll: { type: PropType<boolean>; default: boolean; }; tabIndex: PropType<number>; value: { type: PropType<Date>; default: () => any; }; boundRange: { type: PropType<boolean>; default: boolean; }; }>> & Readonly<{ onBlur?: (event: FocusEvent) => any; onChange?: (value: Date) => any; onFocus?: (event: FocusEvent) => any; onNowclick?: (event: Event) => any; }>, { value: Date; disabled: boolean; format: string; max: Date; min: Date; steps: TimePickerIncrementalSteps; boundRange: boolean; smoothScroll: boolean; cancelButton: boolean; nowButton: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; export { TimePart };