select.component.d.ts 1.9 KB

12345678910111213141516171819202122232425262728293031323334
  1. import { DestroyRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
  2. import { FormOptionBase } from '../../model/forms/form-base.model';
  3. import { Subject } from 'rxjs';
  4. import { FormGroupDirective } from '@angular/forms';
  5. import { TypeEnum } from '../../model/components/type.enum';
  6. import { FormGenericComponent } from '../../services/form-generic.abstract';
  7. import * as i0 from "@angular/core";
  8. export declare class SelectComponent extends FormGenericComponent implements OnInit {
  9. private readonly destroyRef;
  10. focusOut$: Subject<any>;
  11. isOpen: boolean;
  12. option: string;
  13. option$: import("@angular/core").WritableSignal<string>;
  14. formControlName: string;
  15. placeholder: string;
  16. label: string;
  17. value: any;
  18. type: TypeEnum | string;
  19. fullSize: boolean;
  20. shouldShowError: boolean;
  21. key: string;
  22. options: FormOptionBase[];
  23. selected: EventEmitter<any>;
  24. trigger: ElementRef<HTMLButtonElement>;
  25. panel: ElementRef<HTMLDivElement>;
  26. constructor(formGroupDirective: FormGroupDirective, destroyRef: DestroyRef);
  27. ngOnInit(): void;
  28. toggle(): void;
  29. close(): void;
  30. selectOption(key: any, propagate?: boolean): void;
  31. writeValue(value: any): void;
  32. static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
  33. static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "ct-select", never, { "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "type": { "alias": "type"; "required": false; }; "fullSize": { "alias": "fullSize"; "required": false; }; "shouldShowError": { "alias": "shouldShowError"; "required": false; }; "key": { "alias": "key"; "required": true; }; "options": { "alias": "options"; "required": true; }; }, { "selected": "selected"; }, never, never, true, never>;
  34. }