1 | import { ChangeDetectorRef, Provider, QueryList } from '@angular/core';
|
2 | import { ControlValueAccessor } from '@angular/forms';
|
3 | import { ButtonRadioDirective } from './button-radio.directive';
|
4 | import * as i0 from "@angular/core";
|
5 | export declare const RADIO_CONTROL_VALUE_ACCESSOR: Provider;
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | export declare class ButtonRadioGroupDirective implements ControlValueAccessor {
|
11 | private cdr;
|
12 | onChange: Function;
|
13 | onTouched: Function;
|
14 | readonly role: string;
|
15 | radioButtons?: QueryList<ButtonRadioDirective>;
|
16 | constructor(cdr: ChangeDetectorRef);
|
17 | private _value?;
|
18 | get value(): string | undefined;
|
19 | set value(value: string | undefined);
|
20 | private _disabled;
|
21 | get disabled(): boolean;
|
22 | get tabindex(): null | number;
|
23 | writeValue(value?: string): void;
|
24 | registerOnChange(fn: () => void): void;
|
25 | registerOnTouched(fn: () => void): void;
|
26 | setDisabledState(disabled: boolean): void;
|
27 | onFocus(): void;
|
28 | onBlur(): void;
|
29 | selectNext(event: KeyboardEvent): void;
|
30 | selectPrevious(event: KeyboardEvent): void;
|
31 | private selectInDirection;
|
32 | private getActiveOrFocusedRadio;
|
33 | static ɵfac: i0.ɵɵFactoryDeclaration<ButtonRadioGroupDirective, never>;
|
34 | static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonRadioGroupDirective, "[btnRadioGroup]", never, {}, {}, ["radioButtons"], never, false>;
|
35 | }
|