ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
46 lines (45 loc) • 2.48 kB
TypeScript
/**
* 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
*/
import { Direction, Directionality } from '@angular/cdk/bidi';
import { ComponentRef, ElementRef, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges, ViewContainerRef } from '@angular/core';
import { NgControl } from '@angular/forms';
import { Subject } from 'rxjs';
import { NzFormItemFeedbackIconComponent, NzFormNoStatusService, NzFormStatusService } from 'ng-zorro-antd/core/form';
import { BooleanInput, NgClassInterface, NzSizeLDSType, NzStatus, NzValidateStatus } from 'ng-zorro-antd/core/types';
import * as i0 from "@angular/core";
export declare class NzInputDirective implements OnChanges, OnInit, OnDestroy {
ngControl: NgControl;
private renderer;
private elementRef;
protected hostView: ViewContainerRef;
private directionality;
private nzFormStatusService?;
nzFormNoStatusService?: NzFormNoStatusService | undefined;
static ngAcceptInputType_disabled: BooleanInput;
static ngAcceptInputType_nzBorderless: BooleanInput;
nzBorderless: boolean;
nzSize: NzSizeLDSType;
nzStatus: NzStatus;
get disabled(): boolean;
set disabled(value: boolean);
_disabled: boolean;
disabled$: Subject<boolean>;
dir: Direction;
prefixCls: string;
status: NzValidateStatus;
statusCls: NgClassInterface;
hasFeedback: boolean;
feedbackRef: ComponentRef<NzFormItemFeedbackIconComponent> | null;
components: Array<ComponentRef<NzFormItemFeedbackIconComponent>>;
private destroy$;
constructor(ngControl: NgControl, renderer: Renderer2, elementRef: ElementRef, hostView: ViewContainerRef, directionality: Directionality, nzFormStatusService?: NzFormStatusService | undefined, nzFormNoStatusService?: NzFormNoStatusService | undefined);
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
ngOnDestroy(): void;
private setStatusStyles;
private renderFeedbackIcon;
static ɵfac: i0.ɵɵFactoryDeclaration<NzInputDirective, [{ optional: true; self: true; }, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzInputDirective, "input[nz-input],textarea[nz-input]", ["nzInput"], { "nzBorderless": "nzBorderless"; "nzSize": "nzSize"; "nzStatus": "nzStatus"; "disabled": "disabled"; }, {}, never, never, false>;
}