import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core'; import { ControlValueAccessor } from "@angular/forms"; import { FormElementComponent, FormElementComponentChanges } from "../form-element.component"; import { BooleanChange } from "../../base.component"; import { NgInailCommonConfig } from "../../../../ng-inail-common.config"; import * as i0 from "@angular/core"; interface CheckboxChanges extends FormElementComponentChanges { checked: BooleanChange; } export interface CheckboxState { /** * Valore dell'attributo name impostato nel checkbox. */ name: string; /** * Valore dell'attributo value impostato nel checkbox. */ value: string; /** * true se il checkbox e' selezionato, false altrimenti. */ checked: boolean; /** * true se si tratta dello stato all'inizializzazione del componente, false altrimenti. */ firstChange: boolean; } export declare class CheckboxComponent extends FormElementComponent implements OnInit, OnChanges, AfterViewInit, OnDestroy, ControlValueAccessor { private cdr; private libConfig; formControlElement: ElementRef; checkedValue: boolean; value: string; checkedChange: EventEmitter; checkboxClick: EventEmitter; click: EventEmitter; stateChange: EventEmitter; state: CheckboxState; firstCheckedSetValue: boolean; emitState: () => void; constructor(cdr: ChangeDetectorRef, libConfig: NgInailCommonConfig); ngOnChanges(changes: CheckboxChanges): void; ngOnInit(): void; ngAfterViewInit(): void; labelOnClick($event: Event): void; cbOnEnter(): void; get checked(): boolean; writeValue(value: boolean): void; set checked(value: boolean); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};