UNPKG

@taiga-ui/kit

Version:

Taiga UI Angular main components kit

10 lines (9 loc) 672 B
import { type FactoryProvider, InjectionToken } from '@angular/core'; import { type TuiValueTransformer } from '@taiga-ui/cdk/classes'; import { type TuiDayRange } from '@taiga-ui/cdk/date-time'; import { type TuiInputDateOptionsNew } from '@taiga-ui/kit/components/input-date'; export interface TuiInputDateRangeOptions extends Omit<TuiInputDateOptionsNew, 'valueTransformer'> { readonly valueTransformer: TuiValueTransformer<TuiDayRange | null, any>; } export declare const TUI_INPUT_DATE_RANGE_OPTIONS: InjectionToken<TuiInputDateRangeOptions>; export declare const tuiInputDateRangeOptionsProvider: (options: Partial<TuiInputDateRangeOptions>) => FactoryProvider;