UNPKG

@taiga-ui/legacy

Version:

Legacy Taiga UI entities from the previous major release to simplify migration

31 lines (30 loc) 1.47 kB
import { type SafeStyle } from '@angular/platform-browser'; import { type MaskitoOptions } from '@maskito/core'; import { AbstractTuiControl } from '@taiga-ui/legacy/classes'; import { type TuiFocusableElementAccessor, type TuiNativeFocusableElement } from '@taiga-ui/legacy/tokens'; import * as i0 from "@angular/core"; type MaskMode = 'gradient' | 'hex' | 'rgb'; /** * TODO(v5): delete it * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead */ export declare class TuiInputColorComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor { private readonly textfield?; private readonly domSanitizer; colors: ReadonlyMap<string, string>; open: boolean; get focused(): boolean; get nativeFocusableElement(): TuiNativeFocusableElement | null; get background(): SafeStyle; get mode(): MaskMode; maskitoOptions(mode: MaskMode): MaskitoOptions | null; onClick(): void; /** deprecated use 'value' setter */ onValueChange(textValue: string): void; onFocused(focused: boolean): void; protected getFallbackValue(): string; private sanitize; static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputColorComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputColorComponent, "tui-input-color", never, { "colors": { "alias": "colors"; "required": false; }; }, {}, never, ["*"], false, never>; } export {};