option.component.d.ts 1.7 KB

12345678910111213141516171819202122232425262728293031
  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 { OnChanges, OnInit, TemplateRef } from '@angular/core';
  6. import { Subject } from 'rxjs';
  7. import { NzDestroyService } from 'ng-zorro-antd/core/services';
  8. import { NzSafeAny } from 'ng-zorro-antd/core/types';
  9. import * as i0 from "@angular/core";
  10. export declare class NzOptionComponent implements OnChanges, OnInit {
  11. private destroy$;
  12. changes: Subject<void>;
  13. groupLabel?: string | number | TemplateRef<NzSafeAny> | null;
  14. template: TemplateRef<NzSafeAny>;
  15. nzTitle?: string | number | null;
  16. nzLabel: string | number | null;
  17. nzValue: NzSafeAny | null;
  18. nzKey?: string | number;
  19. nzDisabled: boolean;
  20. nzHide: boolean;
  21. nzCustomContent: boolean;
  22. private nzOptionGroupComponent;
  23. constructor(destroy$: NzDestroyService);
  24. ngOnInit(): void;
  25. ngOnChanges(): void;
  26. static ɵfac: i0.ɵɵFactoryDeclaration<NzOptionComponent, never>;
  27. static ɵcmp: i0.ɵɵComponentDeclaration<NzOptionComponent, "nz-option", ["nzOption"], { "nzTitle": { "alias": "nzTitle"; "required": false; }; "nzLabel": { "alias": "nzLabel"; "required": false; }; "nzValue": { "alias": "nzValue"; "required": false; }; "nzKey": { "alias": "nzKey"; "required": false; }; "nzDisabled": { "alias": "nzDisabled"; "required": false; }; "nzHide": { "alias": "nzHide"; "required": false; }; "nzCustomContent": { "alias": "nzCustomContent"; "required": false; }; }, {}, never, ["*"], true, never>;
  28. static ngAcceptInputType_nzDisabled: unknown;
  29. static ngAcceptInputType_nzHide: unknown;
  30. static ngAcceptInputType_nzCustomContent: unknown;
  31. }