input-group.component.d.ts 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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 { Direction, Directionality } from '@angular/cdk/bidi';
  7. import { AfterContentInit, ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, OnInit, QueryList, Renderer2, SimpleChanges, TemplateRef } from '@angular/core';
  8. import { NgClassInterface, NzSizeLDSType, NzStatus, NzValidateStatus } from 'ng-zorro-antd/core/types';
  9. import { NzInputDirective } from './input.directive';
  10. import * as i0 from "@angular/core";
  11. import * as i1 from "ng-zorro-antd/space";
  12. export declare class NzInputGroupWhitSuffixOrPrefixDirective {
  13. elementRef: ElementRef;
  14. constructor(elementRef: ElementRef);
  15. static ɵfac: i0.ɵɵFactoryDeclaration<NzInputGroupWhitSuffixOrPrefixDirective, never>;
  16. static ɵdir: i0.ɵɵDirectiveDeclaration<NzInputGroupWhitSuffixOrPrefixDirective, "nz-input-group[nzSuffix], nz-input-group[nzPrefix]", never, {}, {}, never, never, true, never>;
  17. }
  18. export declare class NzInputGroupComponent implements AfterContentInit, OnChanges, OnInit, OnDestroy {
  19. private focusMonitor;
  20. private elementRef;
  21. private renderer;
  22. private cdr;
  23. private directionality;
  24. listOfNzInputDirective: QueryList<NzInputDirective>;
  25. nzAddOnBeforeIcon?: string | null;
  26. nzAddOnAfterIcon?: string | null;
  27. nzPrefixIcon?: string | null;
  28. nzSuffixIcon?: string | null;
  29. nzAddOnBefore?: string | TemplateRef<void>;
  30. nzAddOnAfter?: string | TemplateRef<void>;
  31. nzPrefix?: string | TemplateRef<void>;
  32. nzStatus: NzStatus;
  33. nzSuffix?: string | TemplateRef<void>;
  34. nzSize: NzSizeLDSType;
  35. nzSearch: boolean;
  36. /**
  37. * @deprecated Will be removed in v20. Use `NzSpaceCompactComponent` instead.
  38. */
  39. nzCompact: boolean;
  40. isLarge: boolean;
  41. isSmall: boolean;
  42. isAffix: boolean;
  43. isAddOn: boolean;
  44. isFeedback: boolean;
  45. focused: boolean;
  46. disabled: boolean;
  47. dir: Direction;
  48. prefixCls: string;
  49. affixStatusCls: NgClassInterface;
  50. groupStatusCls: NgClassInterface;
  51. affixInGroupStatusCls: NgClassInterface;
  52. status: NzValidateStatus;
  53. hasFeedback: boolean;
  54. private destroy$;
  55. private nzFormStatusService;
  56. private nzFormNoStatusService;
  57. constructor(focusMonitor: FocusMonitor, elementRef: ElementRef, renderer: Renderer2, cdr: ChangeDetectorRef, directionality: Directionality);
  58. updateChildrenInputSize(): void;
  59. ngOnInit(): void;
  60. ngAfterContentInit(): void;
  61. ngOnChanges(changes: SimpleChanges): void;
  62. ngOnDestroy(): void;
  63. private setStatusStyles;
  64. static ɵfac: i0.ɵɵFactoryDeclaration<NzInputGroupComponent, never>;
  65. static ɵcmp: i0.ɵɵComponentDeclaration<NzInputGroupComponent, "nz-input-group", ["nzInputGroup"], { "nzAddOnBeforeIcon": { "alias": "nzAddOnBeforeIcon"; "required": false; }; "nzAddOnAfterIcon": { "alias": "nzAddOnAfterIcon"; "required": false; }; "nzPrefixIcon": { "alias": "nzPrefixIcon"; "required": false; }; "nzSuffixIcon": { "alias": "nzSuffixIcon"; "required": false; }; "nzAddOnBefore": { "alias": "nzAddOnBefore"; "required": false; }; "nzAddOnAfter": { "alias": "nzAddOnAfter"; "required": false; }; "nzPrefix": { "alias": "nzPrefix"; "required": false; }; "nzStatus": { "alias": "nzStatus"; "required": false; }; "nzSuffix": { "alias": "nzSuffix"; "required": false; }; "nzSize": { "alias": "nzSize"; "required": false; }; "nzSearch": { "alias": "nzSearch"; "required": false; }; "nzCompact": { "alias": "nzCompact"; "required": false; }; }, {}, ["listOfNzInputDirective"], ["*"], true, [{ directive: typeof i1.NzSpaceCompactItemDirective; inputs: {}; outputs: {}; }]>;
  66. static ngAcceptInputType_nzSearch: unknown;
  67. static ngAcceptInputType_nzCompact: unknown;
  68. }