/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
 */
import { Component, HostBinding, Input } from '@angular/core';
var AtDividerComponent = /** @class */ (function () {
    function AtDividerComponent() {
        this.vertical = false;
    }
    Object.defineProperty(AtDividerComponent.prototype, "divider", {
        get: /**
         * @return {?}
         */
        function () {
            return true;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(AtDividerComponent.prototype, "verticalCls", {
        get: /**
         * @return {?}
         */
        function () {
            return this.vertical;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(AtDividerComponent.prototype, "horizontalCls", {
        get: /**
         * @return {?}
         */
        function () {
            return !this.vertical;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(AtDividerComponent.prototype, "textCls", {
        get: /**
         * @return {?}
         */
        function () {
            return this.text && !this.vertical;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(AtDividerComponent.prototype, "heightStyle", {
        get: /**
         * @return {?}
         */
        function () {
            return this.height + 'px';
        },
        enumerable: true,
        configurable: true
    });
    AtDividerComponent.decorators = [
        { type: Component, args: [{
                    selector: 'at-divider',
                    template: "\n    <span class=\"at-divider-inner-text\" *ngIf=\"vertical == false && text\">\n      <ng-template [ngTemplateOutlet]=\"text\"></ng-template>\n    </span>\n  "
                }] }
    ];
    /** @nocollapse */
    AtDividerComponent.ctorParameters = function () { return []; };
    AtDividerComponent.propDecorators = {
        vertical: [{ type: Input }],
        height: [{ type: Input }],
        text: [{ type: Input }],
        divider: [{ type: HostBinding, args: ['class.at-divider',] }],
        verticalCls: [{ type: HostBinding, args: ['class.at-divider-vertical',] }],
        horizontalCls: [{ type: HostBinding, args: ['class.at-divider-horizontal',] }],
        textCls: [{ type: HostBinding, args: ['class.at-divider-with-text',] }],
        heightStyle: [{ type: HostBinding, args: ['style.height',] }]
    };
    return AtDividerComponent;
}());
export { AtDividerComponent };
if (false) {
    /** @type {?} */
    AtDividerComponent.prototype.vertical;
    /** @type {?} */
    AtDividerComponent.prototype.height;
    /** @type {?} */
    AtDividerComponent.prototype.text;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXQtZGl2aWRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9hdC1uZy8iLCJzb3VyY2VzIjpbImRpdmlkZXIvYXQtZGl2aWRlci9hdC1kaXZpZGVyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsS0FBSyxFQUF1QixNQUFNLGVBQWUsQ0FBQztBQUVuRjtJQVVFO1FBR1MsYUFBUSxHQUFHLEtBQUssQ0FBQztJQUYxQixDQUFDO0lBUUQsc0JBQ0ksdUNBQU87Ozs7UUFEWDtZQUVFLE9BQU8sSUFBSSxDQUFDO1FBQ2QsQ0FBQzs7O09BQUE7SUFFRCxzQkFDSSwyQ0FBVzs7OztRQURmO1lBRUUsT0FBTyxJQUFJLENBQUMsUUFBUSxDQUFDO1FBQ3ZCLENBQUM7OztPQUFBO0lBRUQsc0JBQ0ksNkNBQWE7Ozs7UUFEakI7WUFFRSxPQUFPLENBQUMsSUFBSSxDQUFDLFFBQVEsQ0FBQztRQUN4QixDQUFDOzs7T0FBQTtJQUVELHNCQUNJLHVDQUFPOzs7O1FBRFg7WUFFRSxPQUFPLElBQUksQ0FBQyxJQUFJLElBQUksQ0FBQyxJQUFJLENBQUMsUUFBUSxDQUFDO1FBQ3JDLENBQUM7OztPQUFBO0lBRUQsc0JBQ0ksMkNBQVc7Ozs7UUFEZjtZQUVFLE9BQU8sSUFBSSxDQUFDLE1BQU0sR0FBRyxJQUFJLENBQUM7UUFDNUIsQ0FBQzs7O09BQUE7O2dCQTFDRixTQUFTLFNBQUM7b0JBQ1QsUUFBUSxFQUFFLFlBQVk7b0JBQ3RCLFFBQVEsRUFBRSxrS0FJVDtpQkFD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