import { CheckboxChangeEvent, CheckboxIconTemplateContext, CheckboxPassThrough } from "primeng/types/checkbox"; import * as i0 from "@angular/core"; import { ElementRef, Provider, TemplateRef } from "@angular/core"; import { FormControl } from "@angular/forms"; import { BaseEditableHolder } from "primeng/baseeditableholder"; import * as i1 from "primeng/bind"; import { Bind } from "primeng/bind"; import { CSSProperties, InputSize, InputVariant } from "primeng/types/shared"; import { BaseStyle } from "primeng/base"; import * as i2 from "primeng/api"; export * from "primeng/types/checkbox"; export declare class CheckboxStyle extends BaseStyle { name: string; style: string; classes: { root: ({ instance }: { instance: any; }) => (string | { 'p-checkbox-checked': any; 'p-disabled': any; 'p-invalid': any; 'p-variant-filled': boolean; 'p-checkbox-sm p-inputfield-sm': boolean; 'p-checkbox-lg p-inputfield-lg': boolean; })[]; box: string; input: string; indicator: string; icon: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * * Checkbox is an extension to standard checkbox element with theming. * * [Live Demo](https://www.primeng.org/checkbox/) * * @module checkboxstyle * */ export declare enum CheckboxClasses { /** * Class name of the root element */ root = "p-checkbox", /** * Class name of the box element */ box = "p-checkbox-box", /** * Class name of the input element */ input = "p-checkbox-input", /** * Class name of the indicator element */ indicator = "p-checkbox-indicator", /** * Class name of the icon element */ icon = "p-checkbox-icon" } export declare const CHECKBOX_VALUE_ACCESSOR: Provider; /** * Checkbox is an extension to standard checkbox element with theming. * @group Components */ export declare class Checkbox extends BaseEditableHolder { componentName: string; /** * Value of the checkbox. * @group Props */ value: import("@angular/core").InputSignal; /** * Allows to select a boolean value instead of multiple values. * @group Props */ binary: import("@angular/core").InputSignalWithTransform; /** * Establishes relationships between the component and label(s) where its value should be one or more element IDs. * @group Props */ ariaLabelledBy: import("@angular/core").InputSignal; /** * Used to define a string that labels the input element. * @group Props */ ariaLabel: import("@angular/core").InputSignal; /** * Index of the element in tabbing order. * @group Props */ tabindex: import("@angular/core").InputSignal; /** * Identifier of the focus input to match a label defined for the component. * @group Props */ inputId: import("@angular/core").InputSignal; /** * Inline style of the input element. * @group Props */ inputStyle: import("@angular/core").InputSignal; /** * Style class of the input element. * @group Props */ inputClass: import("@angular/core").InputSignal; /** * When present, it specifies input state as indeterminate. * @group Props */ indeterminate: import("@angular/core").InputSignalWithTransform; /** * Form control value. * @group Props */ formControl: import("@angular/core").InputSignal | undefined>; /** * Icon class of the checkbox icon. * @group Props */ checkboxIcon: import("@angular/core").InputSignal; /** * When present, it specifies that the component cannot be edited. * @group Props */ readonly: import("@angular/core").InputSignalWithTransform; /** * When present, it specifies that the component should automatically get focus on load. * @group Props */ autofocus: import("@angular/core").InputSignalWithTransform; /** * Value in checked state. * @group Props */ trueValue: import("@angular/core").InputSignal; /** * Value in unchecked state. * @group Props */ falseValue: import("@angular/core").InputSignal; /** * Specifies the input variant of the component. * @defaultValue undefined * @group Props */ variant: import("@angular/core").InputSignal; /** * Specifies the size of the component. * @defaultValue undefined * @group Props */ size: import("@angular/core").InputSignal; /** * Callback to invoke on value change. * @param {CheckboxChangeEvent} event - Custom value change event. * @group Emits */ onChange: import("@angular/core").OutputEmitterRef; /** * Callback to invoke when the receives focus. * @param {Event} event - Browser event. * @group Emits */ onFocus: import("@angular/core").OutputEmitterRef; /** * Callback to invoke when the loses focus. * @param {Event} event - Browser event. * @group Emits */ onBlur: import("@angular/core").OutputEmitterRef; inputViewChild: import("@angular/core").Signal | undefined>; /** * Custom checkbox icon template. * @group Templates */ iconTemplate: import("@angular/core").Signal | undefined>; _indeterminate: import("@angular/core").WritableSignal; focused: import("@angular/core").WritableSignal; _componentStyle: CheckboxStyle; bindDirectiveInstance: Bind; $pcCheckbox: Checkbox | undefined; $variant: import("@angular/core").Signal; requiredAttr: import("@angular/core").Signal<"" | undefined>; readonlyAttr: import("@angular/core").Signal<"" | undefined>; disabledAttr: import("@angular/core").Signal<"" | undefined>; checked: import("@angular/core").Signal; iconTemplateContext: import("@angular/core").Signal<{ checked: boolean; class: string | undefined; dataP: string; }>; dataP: import("@angular/core").Signal; constructor(); onAfterViewChecked(): void; updateModel(event: Event): void; handleChange(event: Event): void; onInputFocus(event: FocusEvent): void; onInputBlur(event: FocusEvent): void; focus(): void; /** * @override * * @see {@link BaseEditableHolder.writeControlValue} * Writes the value to the control. */ writeControlValue(value: any, setModelValue: (value: any) => void): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class CheckboxModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }