UNPKG

ag-grid-community

Version:

Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue

22 lines (21 loc) 1.44 kB
import type { AgComponentSelector, AgCoreBeanCollection, BaseEvents, BaseProperties, IPropertiesService } from 'ag-stack'; import type { AgInputTextFieldParams } from './agInputTextField'; import { AgInputTextField } from './agInputTextField'; import type { AgWidgetSelectorType } from './agWidgetSelectorType'; /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */ export declare class AgInputDateField<TBeanCollection extends AgCoreBeanCollection<TProperties, TGlobalEvents, TCommon, TPropertiesService>, TProperties extends BaseProperties, TGlobalEvents extends BaseEvents, TCommon, TPropertiesService extends IPropertiesService<TProperties, TCommon>, TComponentSelectorType extends string> extends AgInputTextField<TBeanCollection, TProperties, TGlobalEvents, TCommon, TPropertiesService, TComponentSelectorType> { private min?; private max?; private step?; private includeTime?; constructor(config?: AgInputTextFieldParams<TComponentSelectorType>); postConstruct(): void; private onWheel; setMin(minDate: Date | string | undefined): this; setMax(maxDate: Date | string | undefined): this; setStep(step?: number): this; setIncludeTime(includeTime?: boolean): this; getDate(): Date | undefined; setDate(date: Date | undefined, silent?: boolean): void; } export declare const AgInputDateFieldSelector: AgComponentSelector<AgWidgetSelectorType>;