/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes} checked by tsc
 */
import { Directive, HostBinding, Input, NgModule } from '@angular/core';
var IgxLayoutDirective = /** @class */ (function () {
    function IgxLayoutDirective() {
        this.dir = 'row';
        this.reverse = false;
        this.wrap = 'nowrap';
        this.justify = 'flex-start';
        this.itemAlign = 'stretch';
        this.display = 'flex';
    }
    Object.defineProperty(IgxLayoutDirective.prototype, "flexwrap", {
        get: /**
         * @return {?}
         */
        function () { return this.wrap; },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgxLayoutDirective.prototype, "justifycontent", {
        get: /**
         * @return {?}
         */
        function () { return this.justify; },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgxLayoutDirective.prototype, "align", {
        get: /**
         * @return {?}
         */
        function () { return this.itemAlign; },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgxLayoutDirective.prototype, "direction", {
        get: /**
         * @return {?}
         */
        function () {
            if (this.reverse) {
                return (this.dir === 'row') ? 'row-reverse' : 'column-reverse';
            }
            return (this.dir === 'row') ? 'row' : 'column';
        },
        enumerable: true,
        configurable: true
    });
    IgxLayoutDirective.decorators = [
        { type: Directive, args: [{
                    selector: '[igxLayout]'
                },] },
    ];
    /** @nocollapse */
    IgxLayoutDirective.propDecorators = {
        "dir": [{ type: Input, args: ['igxLayoutDir',] },],
        "reverse": [{ type: Input, args: ['igxLayoutReverse',] },],
        "wrap": [{ type: Input, args: ['igxLayoutWrap',] },],
        "justify": [{ type: Input, args: ['igxLayoutJustify',] },],
        "itemAlign": [{ type: Input, args: ['igxLayoutItemAlign',] },],
        "display": [{ type: HostBinding, args: ['style.display',] },],
        "flexwrap": [{ type: HostBinding, args: ['style.flex-wrap',] },],
        "justifycontent": [{ type: HostBinding, args: ['style.justify-content',] },],
        "align": [{ type: HostBinding, args: ['style.align-items',] },],
        "direction": [{ type: HostBinding, args: ['style.flex-direction',] },],
    };
    return IgxLayoutDirective;
}());
export { IgxLayoutDirective };
function IgxLayoutDirective_tsickle_Closure_declarations() {
    /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
    IgxLayoutDirective.decorators;
    /**
     * @nocollapse
     * @type {function(): !Array<(null|{type: ?, decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>)})>}
     */
    IgxLayoutDirective.ctorParameters;
    /** @type {!Object<string,!Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
    IgxLayoutDirective.propDecorators;
    /** @type {?} */
    IgxLayoutDirective.prototype.dir;
    /** @type {?} */
    IgxLayoutDirective.prototype.reverse;
    /** @type {?} */
    IgxLayoutDirective.prototype.wrap;
    /** @type {?} */
    IgxLayoutDirective.prototype.justify;
    /** @type {?} */
    IgxLayoutDirective.prototype.itemAlign;
    /** @type {?} */
    IgxLayoutDirective.prototype.display;
}
var IgxFlexDirective = /** @class */ (function () {
    function IgxFlexDirective() {
        this.grow = 1;
        this.shrink = 1;
        this.flex = '';
        this.order = 0;
        this.basis = 'auto';
    }
    Object.defineProperty(IgxFlexDirective.prototype, "style", {
        get: /**
         * @return {?}
         */
        function () {
            if (this.flex) {
                return "" + this.flex;
            }
            return this.grow + " " + this.shrink + " " + this.basis;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgxFlexDirective.prototype, "itemorder", {
        get: /**
         * @return {?}
         */
        function () {
            return this.order || 0;
        },
        enumerable: true,
        configurable: true
    });
    IgxFlexDirective.decorators = [
        { type: Directive, args: [{
                    selector: '[igxFlex]'
                },] },
    ];
    /** @nocollapse */
    IgxFlexDirective.propDecorators = {
        "grow": [{ type: Input, args: ['igxFlexGrow',] },],
        "shrink": [{ type: Input, args: ['igxFlexShrink',] },],
        "flex": [{ type: Input, args: ['igxFlex',] },],
        "order": [{ type: Input, args: ['igxFlexOrder',] },],
        "basis": [{ type: Input, args: ['igxFlexBasis',] },],
        "style": [{ type: HostBinding, args: ['style.flex',] },],
        "itemorder": [{ type: HostBinding, args: ['style.order',] },],
    };
    return IgxFlexDirective;
}());
export { IgxFlexDirective };
function IgxFlexDirective_tsickle_Closure_declarations() {
    /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
    IgxFlexDirective.decorators;
    /**
     * @nocollapse
     * @type {function(): !Array<(null|{type: ?, decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>)})>}
     */
    IgxFlexDirective.ctorParameters;
    /** @type {!Object<string,!Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
    IgxFlexDirective.propDecorators;
    /** @type {?} */
    IgxFlexDirective.prototype.grow;
    /** @type {?} */
    IgxFlexDirective.prototype.shrink;
    /** @type {?} */
    IgxFlexDirective.prototype.flex;
    /** @type {?} */
    IgxFlexDirective.prototype.order;
    /** @type {?} */
    IgxFlexDirective.prototype.basis;
}
var IgxLayoutModule = /** @class */ (function () {
    function IgxLayoutModule() {
    }
    IgxLayoutModule.decorators = [
        { type: NgModule, args: [{
                    declarations: [IgxFlexDirective, IgxLayoutDirective],
                    exports: [IgxFlexDirective, IgxLayoutDirective]
                },] },
    ];
    return IgxLayoutModule;
}());
export { IgxLayoutModule };
function IgxLayoutModule_tsickle_Closure_declarations() {
    /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
    IgxLayoutModule.decorators;
    /**
     * @nocollapse
     * @type {function(): !Array<(null|{type: ?, decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>)})>}
     */
    IgxLayoutModule.ctorParameters;
}

//# sourceMappingURL=data:application/json;base64, 