UNPKG

@kaspacom/ui

Version:

UI Component Library for KaspaCom DeFi Applications

25 lines 1.56 kB
import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { ComponentSize } from '../../types/sizing.type'; import * as i0 from "@angular/core"; export declare class KcCheckboxComponent implements ControlValueAccessor, OnInit, OnChanges { size: import("@angular/core").InputSignal<ComponentSize>; isDisabled: import("@angular/core").InputSignal<boolean>; label: import("@angular/core").InputSignal<string>; isChecked: import("@angular/core").InputSignal<boolean>; checked: boolean; checkedChange: EventEmitter<boolean>; private onChange; private onTouched; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; sizeClass(): ComponentSize; toggle(): void; writeValue(value: boolean): void; registerOnChange(fn: (value: boolean) => void): void; registerOnTouched(fn: () => void): void; setDisabledState(isDisabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration<KcCheckboxComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<KcCheckboxComponent, "kc-checkbox", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "isChecked": { "alias": "isChecked"; "required": false; "isSignal": true; }; }, { "checkedChange": "checkedChange"; }, never, never, true, never>; } //# sourceMappingURL=checkbox.component.d.ts.map