UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

48 lines (47 loc) 2.44 kB
/** * 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 } from 'ng-zorro-antd/core/form'; import { NgClassInterface, NzSizeLDSType, NzStatus, NzValidateStatus } from 'ng-zorro-antd/core/types'; import * as i0 from "@angular/core"; export declare class NzInputDirective implements OnChanges, OnInit, OnDestroy { private renderer; private elementRef; protected hostView: ViewContainerRef; private directionality; nzBorderless: boolean; nzSize: NzSizeLDSType; nzStepperless: boolean; 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$; ngControl: NgControl | null; private nzFormStatusService; private nzFormNoStatusService; constructor(renderer: Renderer2, elementRef: ElementRef, hostView: ViewContainerRef, directionality: Directionality); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; private setStatusStyles; private renderFeedbackIcon; static ɵfac: i0.ɵɵFactoryDeclaration<NzInputDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<NzInputDirective, "input[nz-input],textarea[nz-input]", ["nzInput"], { "nzBorderless": { "alias": "nzBorderless"; "required": false; }; "nzSize": { "alias": "nzSize"; "required": false; }; "nzStepperless": { "alias": "nzStepperless"; "required": false; }; "nzStatus": { "alias": "nzStatus"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>; static ngAcceptInputType_nzBorderless: unknown; static ngAcceptInputType_nzStepperless: unknown; static ngAcceptInputType_disabled: unknown; }