form-label.component.d.ts 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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 { ThemeType } from '@ant-design/icons-angular';
  7. import { NzTSType } from 'ng-zorro-antd/core/types';
  8. import { NzLabelAlignType } from './form.directive';
  9. import * as i0 from "@angular/core";
  10. export interface NzFormTooltipIcon {
  11. type: NzTSType;
  12. theme: ThemeType;
  13. }
  14. export declare class NzFormLabelComponent implements OnDestroy {
  15. private cdr;
  16. nzFor?: string;
  17. nzRequired: boolean;
  18. set nzNoColon(value: boolean);
  19. get nzNoColon(): boolean;
  20. private noColon;
  21. nzTooltipTitle?: NzTSType;
  22. set nzTooltipIcon(value: string | NzFormTooltipIcon);
  23. get tooltipIcon(): NzFormTooltipIcon;
  24. private _tooltipIcon;
  25. set nzLabelAlign(value: NzLabelAlignType);
  26. get nzLabelAlign(): NzLabelAlignType;
  27. private labelAlign;
  28. set nzLabelWrap(value: boolean);
  29. get nzLabelWrap(): boolean;
  30. private labelWrap;
  31. private destroy$;
  32. private nzFormDirective;
  33. constructor(cdr: ChangeDetectorRef);
  34. ngOnDestroy(): void;
  35. static ɵfac: i0.ɵɵFactoryDeclaration<NzFormLabelComponent, never>;
  36. static ɵcmp: i0.ɵɵComponentDeclaration<NzFormLabelComponent, "nz-form-label", ["nzFormLabel"], { "nzFor": { "alias": "nzFor"; "required": false; }; "nzRequired": { "alias": "nzRequired"; "required": false; }; "nzNoColon": { "alias": "nzNoColon"; "required": false; }; "nzTooltipTitle": { "alias": "nzTooltipTitle"; "required": false; }; "nzTooltipIcon": { "alias": "nzTooltipIcon"; "required": false; }; "nzLabelAlign": { "alias": "nzLabelAlign"; "required": false; }; "nzLabelWrap": { "alias": "nzLabelWrap"; "required": false; }; }, {}, never, ["*"], true, never>;
  37. static ngAcceptInputType_nzRequired: unknown;
  38. static ngAcceptInputType_nzNoColon: unknown;
  39. static ngAcceptInputType_nzLabelWrap: unknown;
  40. }