ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
31 lines (30 loc) • 1.54 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 { ElementRef, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges } from '@angular/core';
import { NgControl } from '@angular/forms';
import { Subject } from 'rxjs';
import { BooleanInput, NzSizeLDSType } from 'ng-zorro-antd/core/types';
import * as i0 from "@angular/core";
export declare class NzInputDirective implements OnChanges, OnInit, OnDestroy {
ngControl: NgControl;
private directionality;
static ngAcceptInputType_disabled: BooleanInput;
static ngAcceptInputType_nzBorderless: BooleanInput;
nzBorderless: boolean;
nzSize: NzSizeLDSType;
get disabled(): boolean;
set disabled(value: boolean);
_disabled: boolean;
disabled$: Subject<boolean>;
dir: Direction;
private destroy$;
constructor(ngControl: NgControl, renderer: Renderer2, elementRef: ElementRef, directionality: Directionality);
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NzInputDirective, [{ optional: true; self: true; }, null, null, { optional: true; }]>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzInputDirective, "input[nz-input],textarea[nz-input]", ["nzInput"], { "nzBorderless": "nzBorderless"; "nzSize": "nzSize"; "disabled": "disabled"; }, {}, never>;
}