@taiga-ui/kit
Version:
Taiga UI Angular main components kit
20 lines (19 loc) • 957 B
TypeScript
import { InjectionToken } from '@angular/core';
import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
import { type TuiDay, type TuiDayRange, type TuiTime } from '@taiga-ui/cdk/date-time';
/**
* Control value transformer of TuiDay to custom value format for InputDate* components
*/
export declare const TUI_DATE_VALUE_TRANSFORMER: InjectionToken<TuiValueTransformer<TuiDay | null, unknown>>;
/**
* Control value transformer for InputDateRange component
*/
export declare const TUI_DATE_RANGE_VALUE_TRANSFORMER: InjectionToken<TuiValueTransformer<TuiDayRange | null, unknown>>;
/**
* Control value transformer for InputDateTime component
*/
export declare const TUI_DATE_TIME_VALUE_TRANSFORMER: InjectionToken<TuiValueTransformer<[TuiDay, TuiTime | null], unknown>>;
/**
* Control value transformer for InputTime component
*/
export declare const TUI_TIME_VALUE_TRANSFORMER: InjectionToken<TuiValueTransformer<TuiTime | null, unknown>>;