UNPKG

@acrodata/gui

Version:

JSON powered GUI for configurable panels.

23 lines (22 loc) 1.09 kB
import { ChangeDetectorRef, OnChanges, SimpleChanges } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { GuiControl, GuiFillMode } from '../interface'; import * as i0 from "@angular/core"; export declare class GuiFill implements ControlValueAccessor, OnChanges { private cdr; config: Partial<GuiControl>; disabled: boolean; type: GuiFillMode; value: string; private onChange; private onTouched; constructor(cdr: ChangeDetectorRef); ngOnChanges(changes: SimpleChanges): void; writeValue(value: any): void; registerOnChange(fn: (value: string) => void): void; registerOnTouched(fn: () => void): void; setDisabledState(isDisabled: boolean): void; onValueChange(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GuiFill, never>; static ɵcmp: i0.ɵɵComponentDeclaration<GuiFill, "gui-fill", never, { "config": { "alias": "config"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, true, never>; }