input-number-group.component.d.ts 4.0 KB

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