UNPKG

@taiga-ui/kit

Version:

Taiga UI Angular main components kit

13 lines (12 loc) 677 B
import { TuiDayRange } from '@taiga-ui/cdk/date-time'; import { type TuiContext } from '@taiga-ui/cdk/types'; import { type TuiLanguageKit } from '@taiga-ui/i18n/types'; import { type PolymorpheusContent } from '@taiga-ui/polymorpheus'; export declare class TuiDayRangePeriod { readonly range: TuiDayRange; private readonly name; readonly content?: PolymorpheusContent<TuiContext<TuiDayRange>>; constructor(range: TuiDayRange, name: string, content?: PolymorpheusContent<TuiContext<TuiDayRange>>); toString(): string; } export declare function tuiCreateDefaultDayRangePeriods(periodTitles?: TuiLanguageKit['dayRangePeriods']): readonly TuiDayRangePeriod[];