select-search.component.d.ts 1.9 KB

12345678910111213141516171819202122232425262728293031323334
  1. /**
  2. * Use of this source code is governed by an MIT-style license that can be
  3. * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
  4. */
  5. import { FocusMonitor } from '@angular/cdk/a11y';
  6. import { AfterViewInit, ElementRef, EventEmitter, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
  7. import * as i0 from "@angular/core";
  8. export declare class NzSelectSearchComponent implements AfterViewInit, OnChanges {
  9. private elementRef;
  10. private renderer;
  11. private focusMonitor;
  12. nzId: string | null;
  13. disabled: boolean;
  14. mirrorSync: boolean;
  15. showInput: boolean;
  16. focusTrigger: boolean;
  17. value: string;
  18. autofocus: boolean;
  19. readonly valueChange: EventEmitter<string>;
  20. readonly isComposingChange: EventEmitter<boolean>;
  21. inputElement: ElementRef;
  22. mirrorElement?: ElementRef;
  23. setCompositionState(isComposing: boolean): void;
  24. onValueChange(value: string): void;
  25. clearInputValue(): void;
  26. syncMirrorWidth(): void;
  27. focus(): void;
  28. blur(): void;
  29. constructor(elementRef: ElementRef, renderer: Renderer2, focusMonitor: FocusMonitor);
  30. ngOnChanges(changes: SimpleChanges): void;
  31. ngAfterViewInit(): void;
  32. static ɵfac: i0.ɵɵFactoryDeclaration<NzSelectSearchComponent, never>;
  33. static ɵcmp: i0.ɵɵComponentDeclaration<NzSelectSearchComponent, "nz-select-search", never, { "nzId": { "alias": "nzId"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "mirrorSync": { "alias": "mirrorSync"; "required": false; }; "showInput": { "alias": "showInput"; "required": false; }; "focusTrigger": { "alias": "focusTrigger"; "required": false; }; "value": { "alias": "value"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; }, { "valueChange": "valueChange"; "isComposingChange": "isComposingChange"; }, never, never, true, never>;
  34. }