UNPKG

@iplab/ngx-color-picker

Version:
21 lines (20 loc) 1.31 kB
import { OnInit, OnDestroy, ChangeDetectorRef, ModelSignal, InputSignal, SimpleChanges, OnChanges } from '@angular/core'; import { ColorString } from './../../helpers/color.class'; import { ColorPickerControl } from './../../helpers/control.class'; import * as i0 from "@angular/core"; export declare function columnAttribute(value: string | number | null | undefined): number | 'auto'; export declare class GithubPickerComponent implements OnInit, OnChanges, OnDestroy { private readonly cdr; color: ModelSignal<ColorString>; control: InputSignal<ColorPickerControl>; columns: InputSignal<'auto' | number>; get width(): string; get columnsCount(): number | "auto"; private subscriptions; constructor(cdr: ChangeDetectorRef); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GithubPickerComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<GithubPickerComponent, "github-picker", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "control": { "alias": "control"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; }, { "color": "colorChange"; }, never, ["[before]", "*"], true, never>; }