UNPKG

@taiga-ui/kit

Version:

Taiga UI Angular main components kit

13 lines (12 loc) 752 B
import type { FactoryProvider } from '@angular/core'; import { InjectionToken } from '@angular/core'; import type { TuiValueTransformer } from '@taiga-ui/cdk/classes'; import type { TuiMonthRange } from '@taiga-ui/cdk/date-time'; import type { TuiHandler } from '@taiga-ui/cdk/types'; import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types'; export interface TuiInputMonthRangeOptions { readonly icon: TuiHandler<TuiSizeL | TuiSizeS, string>; readonly valueTransformer: TuiValueTransformer<TuiMonthRange | null, any>; } export declare const TUI_INPUT_MONTH_RANGE_OPTIONS: InjectionToken<TuiInputMonthRangeOptions>; export declare const tuiInputMonthRangeOptionsProvider: (options: Partial<TuiInputMonthRangeOptions>) => FactoryProvider;