/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
 */
import { Directive, HostBinding, Input } from '@angular/core';
var AtFormDirective = /** @class */ (function () {
    function AtFormDirective() {
        this.form = true;
        this.type = 'horizontal';
    }
    Object.defineProperty(AtFormDirective.prototype, "inline", {
        get: /**
         * @return {?}
         */
        function () {
            return this.type == 'inline';
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(AtFormDirective.prototype, "horizontal", {
        get: /**
         * @return {?}
         */
        function () {
            return this.type == 'horizontal';
        },
        enumerable: true,
        configurable: true
    });
    AtFormDirective.decorators = [
        { type: Directive, args: [{
                    selector: '[atForm]'
                },] }
    ];
    /** @nocollapse */
    AtFormDirective.ctorParameters = function () { return []; };
    AtFormDirective.propDecorators = {
        form: [{ type: HostBinding, args: ['class.at-form',] }],
        inline: [{ type: HostBinding, args: ['class.at-form--inline',] }],
        horizontal: [{ type: HostBinding, args: ['class.at-form--horizontal',] }],
        type: [{ type: Input }]
    };
    return AtFormDirective;
}());
export { AtFormDirective };
if (false) {
    /** @type {?} */
    AtFormDirective.prototype.form;
    /** @type {?} */
    AtFormDirective.prototype.type;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXQtZm9ybS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9hdC1uZy8iLCJzb3VyY2VzIjpbImZvcm0vYXQtZm9ybS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsV0FBVyxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUU1RDtJQUtFO1FBRzhCLFNBQUksR0FBRyxJQUFJLENBQUE7UUFjaEMsU0FBSSxHQUFHLFlBQVksQ0FBQTtJQWhCNUIsQ0FBQztJQUtELHNCQUNJLG1DQUFNOzs7O1FBRFY7WUFFRSxPQUFPL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