[59329aa] | 1 | import { EventEmitter, ChangeDetectorRef } from '@angular/core';
|
---|
| 2 | import { ControlValueAccessor } from '@angular/forms';
|
---|
| 3 | import * as i0 from "@angular/core";
|
---|
| 4 | import * as i1 from "@angular/common";
|
---|
| 5 | export declare const TRISTATECHECKBOX_VALUE_ACCESSOR: any;
|
---|
| 6 | export declare class TriStateCheckbox implements ControlValueAccessor {
|
---|
| 7 | private cd;
|
---|
| 8 | constructor(cd: ChangeDetectorRef);
|
---|
| 9 | disabled: boolean;
|
---|
| 10 | name: string;
|
---|
| 11 | ariaLabelledBy: string;
|
---|
| 12 | tabindex: number;
|
---|
| 13 | inputId: string;
|
---|
| 14 | style: any;
|
---|
| 15 | styleClass: string;
|
---|
| 16 | label: string;
|
---|
| 17 | readonly: boolean;
|
---|
| 18 | checkboxTrueIcon: string;
|
---|
| 19 | checkboxFalseIcon: string;
|
---|
| 20 | onChange: EventEmitter<any>;
|
---|
| 21 | focused: boolean;
|
---|
| 22 | value: any;
|
---|
| 23 | onModelChange: Function;
|
---|
| 24 | onModelTouched: Function;
|
---|
| 25 | onClick(event: Event, input: HTMLInputElement): void;
|
---|
| 26 | onKeydown(event: KeyboardEvent): void;
|
---|
| 27 | onKeyup(event: KeyboardEvent): void;
|
---|
| 28 | toggle(event: Event): void;
|
---|
| 29 | onFocus(): void;
|
---|
| 30 | onBlur(): void;
|
---|
| 31 | registerOnChange(fn: Function): void;
|
---|
| 32 | registerOnTouched(fn: Function): void;
|
---|
| 33 | writeValue(value: any): void;
|
---|
| 34 | setDisabledState(disabled: boolean): void;
|
---|
| 35 | static ɵfac: i0.ɵɵFactoryDeclaration<TriStateCheckbox, never>;
|
---|
| 36 | static ɵcmp: i0.ɵɵComponentDeclaration<TriStateCheckbox, "p-triStateCheckbox", never, { "disabled": "disabled"; "name": "name"; "ariaLabelledBy": "ariaLabelledBy"; "tabindex": "tabindex"; "inputId": "inputId"; "style": "style"; "styleClass": "styleClass"; "label": "label"; "readonly": "readonly"; "checkboxTrueIcon": "checkboxTrueIcon"; "checkboxFalseIcon": "checkboxFalseIcon"; }, { "onChange": "onChange"; }, never, never>;
|
---|
| 37 | }
|
---|
| 38 | export declare class TriStateCheckboxModule {
|
---|
| 39 | static ɵfac: i0.ɵɵFactoryDeclaration<TriStateCheckboxModule, never>;
|
---|
| 40 | static ɵmod: i0.ɵɵNgModuleDeclaration<TriStateCheckboxModule, [typeof TriStateCheckbox], [typeof i1.CommonModule], [typeof TriStateCheckbox]>;
|
---|
| 41 | static ɵinj: i0.ɵɵInjectorDeclaration<TriStateCheckboxModule>;
|
---|
| 42 | }
|
---|