form-item.component.d.ts 1.1 KB

12345678910111213141516171819202122
  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 { ChangeDetectorRef, OnDestroy } from '@angular/core';
  6. import * as i0 from "@angular/core";
  7. export type NzFormControlStatusType = 'success' | 'error' | 'warning' | 'validating' | '';
  8. /** should add nz-row directive to host, track https://github.com/angular/angular/issues/8785 **/
  9. export declare class NzFormItemComponent implements OnDestroy, OnDestroy {
  10. private cdr;
  11. status: NzFormControlStatusType;
  12. hasFeedback: boolean;
  13. withHelpClass: boolean;
  14. private destroy$;
  15. setWithHelpViaTips(value: boolean): void;
  16. setStatus(status: NzFormControlStatusType): void;
  17. setHasFeedback(hasFeedback: boolean): void;
  18. constructor(cdr: ChangeDetectorRef);
  19. ngOnDestroy(): void;
  20. static ɵfac: i0.ɵɵFactoryDeclaration<NzFormItemComponent, never>;
  21. static ɵcmp: i0.ɵɵComponentDeclaration<NzFormItemComponent, "nz-form-item", ["nzFormItem"], {}, {}, never, ["*"], true, never>;
  22. }