select.component.d.ts 2.0 KB

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