/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,extraRequire,missingReturn,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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXQtZm9ybS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9hdC1uZy8iLCJzb3VyY2VzIjpbImZvcm0vYXQtZm9ybS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsV0FBVyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUU5RDtJQUtFO1FBRzhCLFNBQUksR0FBRyxJQUFJLENBQUM7UUFZakMsU0FBSSxHQUFHLFlBQVksQ0FBQztJQWQ3QixDQUFDO0lBSUQsc0JBQ0ksbUNBQU07Ozs7UUFEVjtZQUVFLE9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