import { ChangeDetectorRef, EventEmitter } from '@angular/core'; import { MatCheckbox, MatCheckboxChange } from '@angular/material/checkbox'; import { TsReactiveFormBaseComponent, TsStyleThemeTypes } from '@terminus/ui/utilities'; /** * Expose the MatCheckboxChange event as TsCheckboxChange */ export declare class TsCheckboxChange extends MatCheckboxChange { } /** * This is the checkbox UI Component * * @example * * * https://getterminus.github.io/ui-demos-release/components/checkbox */ export declare class TsCheckboxComponent extends TsReactiveFormBaseComponent { private changeDetectorRef; /** * Define the default component ID */ protected uid: string; /** * Provide access to the MatCheckboxComponent */ checkbox: MatCheckbox; /** * Define an ID for the component * * @param value */ set id(value: string); get id(): string; protected _id: string; /** * Toggle the underlying checkbox if the isChecked property changes * * @param value */ set isChecked(value: boolean); get isChecked(): boolean; private _isChecked; /** * Define if the checkbox is disabled */ isDisabled: boolean; /** * Define if the checkbox should be indeterminate */ isIndeterminate: boolean; /** * Define if the checkbox is required */ isRequired: boolean; /** * Toggle the underlying checkbox if the ngModel changes * * @param v */ set ngModel(v: boolean); /** * Define the tabindex */ tabIndex: number; /** * Define the theme */ theme: TsStyleThemeTypes; /** * Emit an event on input change */ readonly inputChange: EventEmitter; /** * Emit a change when moving from the indeterminate state */ readonly indeterminateChange: EventEmitter; constructor(changeDetectorRef: ChangeDetectorRef); }