option-container.component.d.ts 2.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
  2. import { AfterViewInit, EventEmitter, OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
  3. import { NzSafeAny } from 'ng-zorro-antd/core/types';
  4. import { NzSelectItemInterface, NzSelectModeType } from './select.types';
  5. import * as i0 from "@angular/core";
  6. export declare class NzOptionContainerComponent implements OnChanges, AfterViewInit {
  7. notFoundContent: string | TemplateRef<NzSafeAny> | undefined;
  8. menuItemSelectedIcon: TemplateRef<NzSafeAny> | null;
  9. dropdownRender: TemplateRef<NzSafeAny> | null;
  10. activatedValue: NzSafeAny | null;
  11. listOfSelectedValue: NzSafeAny[];
  12. compareWith: (o1: NzSafeAny, o2: NzSafeAny) => boolean;
  13. mode: NzSelectModeType;
  14. matchWidth: boolean;
  15. itemSize: number;
  16. maxItemLength: number;
  17. isMaxMultipleCountReached: boolean;
  18. listOfContainerItem: NzSelectItemInterface[];
  19. readonly itemClick: EventEmitter<any>;
  20. readonly scrollToBottom: EventEmitter<void>;
  21. cdkVirtualScrollViewport: CdkVirtualScrollViewport;
  22. private scrolledIndex;
  23. private ngZone;
  24. private platformId;
  25. onItemClick(value: NzSafeAny): void;
  26. onItemHover(value: NzSafeAny): void;
  27. trackValue(_index: number, option: NzSelectItemInterface): NzSafeAny;
  28. onScrolledIndexChange(index: number): void;
  29. scrollToActivatedValue(): void;
  30. ngOnChanges(changes: SimpleChanges): void;
  31. ngAfterViewInit(): void;
  32. static ɵfac: i0.ɵɵFactoryDeclaration<NzOptionContainerComponent, never>;
  33. static ɵcmp: i0.ɵɵComponentDeclaration<NzOptionContainerComponent, "nz-option-container", ["nzOptionContainer"], { "notFoundContent": { "alias": "notFoundContent"; "required": false; }; "menuItemSelectedIcon": { "alias": "menuItemSelectedIcon"; "required": false; }; "dropdownRender": { "alias": "dropdownRender"; "required": false; }; "activatedValue": { "alias": "activatedValue"; "required": false; }; "listOfSelectedValue": { "alias": "listOfSelectedValue"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "matchWidth": { "alias": "matchWidth"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; "maxItemLength": { "alias": "maxItemLength"; "required": false; }; "isMaxMultipleCountReached": { "alias": "isMaxMultipleCountReached"; "required": false; }; "listOfContainerItem": { "alias": "listOfContainerItem"; "required": false; }; }, { "itemClick": "itemClick"; "scrollToBottom": "scrollToBottom"; }, never, never, true, never>;
  34. }