radio-group.component.d.ts 1.5 KB

123456789101112131415161718192021222324
  1. import { AfterContentInit, DestroyRef, EventEmitter, QueryList } from '@angular/core';
  2. import { FormGenericComponent } from '../../services/form-generic.abstract';
  3. import { FormGroupDirective } from '@angular/forms';
  4. import { RadioButtonComponent } from '../radio-button/radio-button.component';
  5. import * as i0 from "@angular/core";
  6. export declare class RadioGroupComponent extends FormGenericComponent implements AfterContentInit {
  7. private readonly destroyRef;
  8. protected formGroupDirective: FormGroupDirective;
  9. formControlName: string;
  10. key: string;
  11. label: string;
  12. value: any;
  13. helper: string;
  14. showError: boolean;
  15. selected: EventEmitter<any>;
  16. radios: QueryList<RadioButtonComponent>;
  17. constructor(destroyRef: DestroyRef, formGroupDirective: FormGroupDirective);
  18. ngAfterContentInit(): void;
  19. writeValue(value: any): void;
  20. setValue(value: any): void;
  21. private updateRadios;
  22. static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupComponent, [null, { optional: true; }]>;
  23. static ɵcmp: i0.ɵɵComponentDeclaration<RadioGroupComponent, "ct-radio-group", never, { "formControlName": { "alias": "formControlName"; "required": false; }; "key": { "alias": "key"; "required": false; }; "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "helper": { "alias": "helper"; "required": false; }; "showError": { "alias": "showError"; "required": false; }; }, { "selected": "selected"; }, ["radios"], ["ct-radio-button"], true, never>;
  24. }