/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
 */
import { Directive, ElementRef, HostBinding, Input } from '@angular/core';
var AtInputDirective = /** @class */ (function () {
    function AtInputDirective(el) {
        this.el = el;
        this.onChange = Function.prototype;
        this.onTouched = Function.prototype;
        this._atStatus = 'original';
        this._disabled = false;
        this._atSize = 'normal';
    }
    Object.defineProperty(AtInputDirective.prototype, "setLgClass", {
        get: /**
         * @return {?}
         */
        function () {
            return this._atSize === 'large';
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(AtInputDirective.prototype, "setSmClass", {
        get: /**
         * @return {?}
         */
        function () {
            return this._atSize === 'small';
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(AtInputDirective.prototype, "setOriginalClass", {
        get: /**
         * @return {?}
         */
        function () {
            return true;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(AtInputDirective.prototype, "disableCls", {
        get: /**
         * @return {?}
         */
        function () {
            return this.atDisabled;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(AtInputDirective.prototype, "atStatus", {
        get: /**
         * @return {?}
         */
        function () {
            return this._atStatus;
        },
        set: /**
         * @param {?} value
         * @return {?}
         */
        function (value) {
            this._atStatus = value;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(AtInputDirective.prototype, "atDisabled", {
        get: /**
         * @return {?}
         */
        function () {
            return this._disabled;
        },
        set: /**
         * @param {?} value
         * @return {?}
         */
        function (value) {
            this._disabled = value;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(AtInputDirective.prototype, "atSize", {
        get: /**
         * @return {?}
         */
        function () {
            return this._atSize;
        },
        set: /**
         * @param {?} value
         * @return {?}
         */
        function (value) {
            this._atSize = value;
        },
        enumerable: true,
        configurable: true
    });
    AtInputDirective.decorators = [
        { type: Directive, args: [{
                    selector: '[at-input]'
                },] }
    ];
    /** @nocollapse */
    AtInputDirective.ctorParameters = function () { return [
        { type: ElementRef }
    ]; };
    AtInputDirective.propDecorators = {
        setLgClass: [{ type: HostBinding, args: ["class.at-input--lg",] }],
        setSmClass: [{ type: HostBinding, args: ["class.at-input--sm",] }],
        setOriginalClass: [{ type: HostBinding, args: ["class.at-input__original",] }],
        disableCls: [{ type: HostBinding, args: ['class.at-input--disabled',] }],
        atDisabled: [{ type: Input }],
        atSize: [{ type: Input }]
    };
    return AtInputDirective;
}());
export { AtInputDirective };
if (false) {
    /** @type {?} */
    AtInputDirective.prototype.onChange;
    /** @type {?} */
    AtInputDirective.prototype.onTouched;
    /** @type {?} */
    AtInputDirective.prototype._atStatus;
    /** @type {?} */
    AtInputDirective.prototype._disabled;
    /** @type {?} */
    AtInputDirective.prototype._atSize;
    /** @type {?} */
    AtInputDirective.prototype.el;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXQtaW5wdXQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vYXQtbmcvIiwic291cmNlcyI6WyJpbnB1dC9hdC1pbnB1dC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBYyxTQUFTLEVBQUUsVUFBVSxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHdEY7SUFLRSwwQkFBbUIsRUFBYztRQUFkLE9BQUUsR0FBRixFQUFFLENBQVk7UUFHakMsYUFBUSxHQUFRLFFBQVEsQ0FBQyxTQUFTLENBQUM7UUFDbkMsY0FBUyxHQUFRLFFBQVEsQ0FBQyxTQUFTLENBQUM7UUFzQjVCLGNBQVMsR0FBRyxVQUFVLENBQUM7UUFDdkIsY0FBUyxHQUFHLEtBQUssQ0FBQztRQUVsQixZQUFPLEdBQWdCLFFBQVEsQ0FBQztJQTVCeEMsQ0FBQztJQUtELHNCQUNJLHdDQUFVOzs7O1FBRGQ7WUFFRSxPQUFPLElBQUksQ0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