import * as _angular_core from '@angular/core'; import { AfterViewInit, DoCheck, TemplateRef, OnInit, ViewContainerRef, ComponentRef, ElementRef, AfterContentInit, OnChanges, QueryList, SimpleChanges, InjectionToken } from '@angular/core'; import * as _angular_cdk_bidi from '@angular/cdk/bidi'; import { Direction } from '@angular/cdk/bidi'; import * as ng_zorro_antd_core_types from 'ng-zorro-antd/core/types'; import { NzVariant, NzSizeLDSType, NzStatus, NgClassInterface, NzValidateStatus, OnTouchedType } from 'ng-zorro-antd/core/types'; import * as rxjs from 'rxjs'; import { NgControl, ControlValueAccessor, FormArray, FormControl } from '@angular/forms'; import { NzFormItemFeedbackIconComponent } from 'ng-zorro-antd/core/form'; import * as i1 from 'ng-zorro-antd/space'; interface AutoSizeType { minRows?: number; maxRows?: number; } declare class NzAutosizeDirective implements AfterViewInit, DoCheck { private ngZone; private platform; private destroyRef; private resizeService; private el; private autosize; private cachedLineHeight; private previousValue; private previousMinRows; private minRows; private maxRows; private maxHeight; private minHeight; private inputGap; private destroyed; constructor(); set nzAutosize(value: string | boolean | AutoSizeType); resizeToFitContent(force?: boolean): void; private cacheTextareaLineHeight; setMinHeight(): number | null; setMaxHeight(): number | null; noopInputHandler(): void; ngAfterViewInit(): void; ngDoCheck(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class NzInputAddonBeforeDirective { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class NzInputAddonAfterDirective { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class NzInputPrefixDirective { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class NzInputSuffixDirective { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ /** * @deprecated Will be removed in v22.0.0. This component will be removed along with input-group. */ declare class NzInputGroupSlotComponent { icon?: string | null; type: 'addon' | 'prefix' | 'suffix' | null; template?: string | TemplateRef | null; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class NzInputPasswordDirective { readonly nzVisibilityToggle: _angular_core.InputSignal; readonly nzVisible: _angular_core.ModelSignal; toggleVisible(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class NzInputPasswordIconDirective { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class NzInputSearchDirective { private readonly inputDir; private readonly inputRef; readonly nzEnterButton: _angular_core.InputSignal; readonly nzLoading: _angular_core.InputSignalWithTransform; readonly nzSearch: _angular_core.OutputEmitterRef; readonly size: _angular_core.Signal; search(event: Event, source?: 'input' | 'clear'): void; onEnter(event: KeyboardEvent): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class NzInputSearchEnterButtonDirective { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } interface NzInputSearchEvent { value: string; event: Event; source: 'clear' | 'input'; } declare class NzInputDirective implements OnInit { private elementRef; private compactSize; private destroyRef; private nzFormStatusService; private nzFormNoStatusService; private inputWrapper; private focusMonitor; protected hostView: ViewContainerRef; protected readonly inputPasswordDir: NzInputPasswordDirective | null; protected readonly inputSearchDir: NzInputSearchDirective | null; readonly ngControl: NgControl | null; readonly value: _angular_core.WritableSignal; /** * @deprecated Will be removed in v21. It is recommended to use `nzVariant` instead. */ readonly nzBorderless: _angular_core.InputSignalWithTransform; readonly nzVariant: _angular_core.InputSignal; readonly nzSize: _angular_core.InputSignal; /** * @deprecated Will be removed in v22. */ readonly nzStepperless: _angular_core.InputSignalWithTransform; readonly nzStatus: _angular_core.InputSignal; readonly disabled: _angular_core.InputSignalWithTransform; readonly readonly: _angular_core.InputSignalWithTransform; readonly controlDisabled: _angular_core.WritableSignal; readonly finalDisabled: _angular_core.WritableSignal | _angular_core.InputSignalWithTransform; readonly dir: _angular_core.WritableSignal<_angular_cdk_bidi.Direction>; readonly size: _angular_core.WritableSignal; readonly status: _angular_core.Signal; readonly hasFeedback: _angular_core.Signal; readonly classes: _angular_core.Signal; readonly type: _angular_core.Signal; protected readonly focused: _angular_core.WritableSignal; protected readonly finalSize: _angular_core.Signal; feedbackRef: ComponentRef | null; disabled$: rxjs.Observable; constructor(); ngOnInit(): void; private renderFeedbackIcon; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } /** * @deprecated Will be removed in v22.0.0. This component will be removed along with input-group. */ declare class NzInputGroupWhitSuffixOrPrefixDirective { readonly elementRef: ElementRef; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } /** * @deprecated Will be removed in v22. It is recommended to use `` instead. */ declare class NzInputGroupComponent implements AfterContentInit, OnChanges, OnInit { private focusMonitor; private elementRef; private renderer; private cdr; private directionality; private destroyRef; private nzFormStatusService; private nzFormNoStatusService; listOfNzInputDirective: QueryList; nzAddOnBeforeIcon?: string | null; nzAddOnAfterIcon?: string | null; nzPrefixIcon?: string | null; nzSuffixIcon?: string | null; nzAddOnBefore?: string | TemplateRef; nzAddOnAfter?: string | TemplateRef; nzPrefix?: string | TemplateRef; nzStatus: NzStatus; nzSuffix?: string | TemplateRef; nzSize: NzSizeLDSType; nzSearch: boolean; isLarge: boolean; isSmall: boolean; isAffix: boolean; isAddOn: boolean; isFeedback: boolean; focused: boolean; disabled: boolean; dir: Direction; prefixCls: string; affixStatusCls: NgClassInterface; groupStatusCls: NgClassInterface; affixInGroupStatusCls: NgClassInterface; status: NzValidateStatus; hasFeedback: boolean; constructor(); updateChildrenInputSize(): void; ngOnInit(): void; ngAfterContentInit(): void; ngOnChanges(changes: SimpleChanges): void; private setStatusStyles; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; static ngAcceptInputType_nzSearch: unknown; } declare class NzInputOtpComponent implements ControlValueAccessor, OnChanges { private formBuilder; private destroyRef; otpInputs: QueryList; nzLength: number; nzSize: NzSizeLDSType; disabled: boolean; nzStatus: NzStatus; nzFormatter: (value: string) => string; nzMask: string | null; protected otpArray: FormArray>; private internalValue; private onChangeCallback?; onTouched: OnTouchedType; constructor(); ngOnChanges(changes: SimpleChanges): void; onInput(index: number, event: Event): void; onFocus(event: FocusEvent): void; onKeyDown(index: number, event: KeyboardEvent): void; writeValue(value: string): void; registerOnChange(fn: (value: string) => void): void; registerOnTouched(fn: () => {}): void; setDisabledState(isDisabled: boolean): void; onPaste(index: number, event: ClipboardEvent): void; private createFormArray; private emitValue; private selectInputBox; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; static ngAcceptInputType_nzLength: unknown; static ngAcceptInputType_disabled: unknown; } declare class NzInputWrapperComponent { private readonly focusMonitor; protected readonly inputPasswordDir: NzInputPasswordDirective | null; protected readonly inputSearchDir: NzInputSearchDirective | null; protected readonly inputRef: _angular_core.Signal>; protected readonly inputDir: _angular_core.Signal; protected readonly prefix: _angular_core.Signal; protected readonly suffix: _angular_core.Signal; protected readonly addonBefore: _angular_core.Signal; protected readonly addonAfter: _angular_core.Signal; protected readonly inputPasswordIconTmpl: _angular_core.Signal | undefined>; protected readonly inputSearchEnterButton: _angular_core.Signal; readonly nzAllowClear: _angular_core.InputSignalWithTransform; readonly nzPrefix: _angular_core.InputSignal; readonly nzSuffix: _angular_core.InputSignal; readonly nzAddonBefore: _angular_core.InputSignal; readonly nzAddonAfter: _angular_core.InputSignal; readonly nzClear: _angular_core.OutputEmitterRef; readonly size: _angular_core.Signal; readonly variant: _angular_core.Signal; readonly disabled: _angular_core.Signal; readonly readOnly: _angular_core.Signal; readonly status: _angular_core.Signal; readonly hasFeedback: _angular_core.Signal; protected readonly hasPrefix: _angular_core.Signal; protected readonly hasSuffix: _angular_core.Signal; protected readonly hasAffix: _angular_core.Signal; protected readonly hasAddonBefore: _angular_core.Signal; protected readonly hasAddonAfter: _angular_core.Signal; protected readonly hasAddon: _angular_core.Signal; private readonly compactSize; protected readonly dir: _angular_core.WritableSignal<_angular_cdk_bidi.Direction>; protected readonly focused: _angular_core.WritableSignal; protected readonly isTextarea: _angular_core.Signal; protected readonly finalSize: _angular_core.Signal; protected readonly class: _angular_core.Signal<{ 'ant-input-group-wrapper': boolean; 'ant-input-group-wrapper-sm': boolean; 'ant-input-group-wrapper-lg': boolean; 'ant-input-group-wrapper-rtl': boolean; } | { 'ant-input-affix-wrapper': boolean; 'ant-input-affix-wrapper-lg': boolean; 'ant-input-affix-wrapper-sm': boolean; 'ant-input-affix-wrapper-disabled': boolean; 'ant-input-affix-wrapper-readonly': boolean; 'ant-input-affix-wrapper-focused': boolean; 'ant-input-affix-wrapper-rtl': boolean; } | null>; protected readonly affixWrapperClass: _angular_core.Signal<{ 'ant-input-affix-wrapper': boolean; 'ant-input-affix-wrapper-lg': boolean; 'ant-input-affix-wrapper-sm': boolean; 'ant-input-affix-wrapper-disabled': boolean; 'ant-input-affix-wrapper-readonly': boolean; 'ant-input-affix-wrapper-focused': boolean; 'ant-input-affix-wrapper-rtl': boolean; }>; protected readonly groupWrapperClass: _angular_core.Signal<{ 'ant-input-group-wrapper': boolean; 'ant-input-group-wrapper-sm': boolean; 'ant-input-group-wrapper-lg': boolean; 'ant-input-group-wrapper-rtl': boolean; }>; constructor(); clear(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ declare class NzTextareaCountComponent implements AfterContentInit { private renderer; private destroyRef; private elementRef; nzInputDirective: NzInputDirective; nzMaxCharacterCount: number; nzComputeCharacterCount: (v: string) => number; nzFormatter: (cur: number, max: number) => string; ngAfterContentInit(): void; setDataCount(value: string): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; static ngAcceptInputType_nzMaxCharacterCount: unknown; } declare class NzInputModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ declare const NZ_INPUT_WRAPPER: InjectionToken; export { NZ_INPUT_WRAPPER, NzAutosizeDirective, NzInputAddonAfterDirective, NzInputAddonBeforeDirective, NzInputDirective, NzInputGroupComponent, NzInputGroupSlotComponent, NzInputGroupWhitSuffixOrPrefixDirective, NzInputModule, NzInputOtpComponent, NzInputPasswordDirective, NzInputPasswordIconDirective, NzInputPrefixDirective, NzInputSearchDirective, NzInputSearchEnterButtonDirective, NzInputSuffixDirective, NzInputWrapperComponent, NzTextareaCountComponent }; export type { AutoSizeType, NzInputSearchEvent };