UNPKG

@alauda/ui

Version:

Angular UI components by Alauda Frontend Team.

29 lines (28 loc) 1.4 kB
import { ChangeDetectorRef, OnDestroy, PipeTransform } from '@angular/core'; import { ThemeService } from './theme.service'; import { ThemeSet } from './theme.types'; import * as i0 from "@angular/core"; export declare class RgbColorPipe implements PipeTransform { transform: (color: string) => string; static ɵfac: i0.ɵɵFactoryDeclaration<RgbColorPipe, never>; static ɵpipe: i0.ɵɵPipeDeclaration<RgbColorPipe, "auiRgbColor", true>; } export declare class RgbaColorPipe implements PipeTransform { transform: ([color, opacity]: [string, number]) => string; static ɵfac: i0.ɵɵFactoryDeclaration<RgbaColorPipe, never>; static ɵpipe: i0.ɵɵPipeDeclaration<RgbaColorPipe, "auiRgbaColor", true>; } export declare class CssVarPipe implements PipeTransform { transform: (value: string) => string; static ɵfac: i0.ɵɵFactoryDeclaration<CssVarPipe, never>; static ɵpipe: i0.ɵɵPipeDeclaration<CssVarPipe, "auiCssVar", true>; } export declare class ThemePickerPipe<T> implements PipeTransform, OnDestroy { private currentTheme; private readonly destroy$$; constructor(themeService: ThemeService, cdr: ChangeDetectorRef); transform(v: ThemeSet<T>): T; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<ThemePickerPipe<any>, never>; static ɵpipe: i0.ɵɵPipeDeclaration<ThemePickerPipe<any>, "auiThemePicker", true>; }