var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { ChangeDetectionStrategy, Component, Directive, Input } from '@angular/core';
import { CdkFooterRow, CdkFooterRowDef, CdkHeaderRow, CdkHeaderRowDef, CdkRow, CdkRowDef, CdkCellOutlet, DataRowOutlet, HeaderRowOutlet, FooterRowOutlet, } from '@angular/cdk/table';
var ElDataRowOutletDirective = /** @class */ (function (_super) {
    __extends(ElDataRowOutletDirective, _super);
    function ElDataRowOutletDirective() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    ElDataRowOutletDirective_1 = ElDataRowOutletDirective;
    var ElDataRowOutletDirective_1;
    ElDataRowOutletDirective = ElDataRowOutletDirective_1 = __decorate([
        Directive({
            selector: '[elRowOutlet]',
            providers: [{ provide: DataRowOutlet, useExisting: ElDataRowOutletDirective_1 }],
        })
    ], ElDataRowOutletDirective);
    return ElDataRowOutletDirective;
}(DataRowOutlet));
export { ElDataRowOutletDirective };
var ElHeaderRowOutletDirective = /** @class */ (function (_super) {
    __extends(ElHeaderRowOutletDirective, _super);
    function ElHeaderRowOutletDirective() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    ElHeaderRowOutletDirective_1 = ElHeaderRowOutletDirective;
    var ElHeaderRowOutletDirective_1;
    ElHeaderRowOutletDirective = ElHeaderRowOutletDirective_1 = __decorate([
        Directive({
            selector: '[elHeaderRowOutlet]',
            providers: [{ provide: HeaderRowOutlet, useExisting: ElHeaderRowOutletDirective_1 }],
        })
    ], ElHeaderRowOutletDirective);
    return ElHeaderRowOutletDirective;
}(HeaderRowOutlet));
export { ElHeaderRowOutletDirective };
var ElFooterRowOutletDirective = /** @class */ (function (_super) {
    __extends(ElFooterRowOutletDirective, _super);
    function ElFooterRowOutletDirective() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    ElFooterRowOutletDirective_1 = ElFooterRowOutletDirective;
    var ElFooterRowOutletDirective_1;
    ElFooterRowOutletDirective = ElFooterRowOutletDirective_1 = __decorate([
        Directive({
            selector: '[elFooterRowOutlet]',
            providers: [{ provide: FooterRowOutlet, useExisting: ElFooterRowOutletDirective_1 }],
        })
    ], ElFooterRowOutletDirective);
    return ElFooterRowOutletDirective;
}(FooterRowOutlet));
export { ElFooterRowOutletDirective };
var ElCellOutletDirective = /** @class */ (function (_super) {
    __extends(ElCellOutletDirective, _super);
    function ElCellOutletDirective() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    ElCellOutletDirective_1 = ElCellOutletDirective;
    var ElCellOutletDirective_1;
    ElCellOutletDirective = ElCellOutletDirective_1 = __decorate([
        Directive({
            selector: '[elCellOutlet]',
            providers: [{ provide: CdkCellOutlet, useExisting: ElCellOutletDirective_1 }],
        })
    ], ElCellOutletDirective);
    return ElCellOutletDirective;
}(CdkCellOutlet));
export { ElCellOutletDirective };
/**
 * Header row definition for the el-table.
 * Captures the header row's template and other header properties such as the columns to display.
 */
var ElHeaderRowDefDirective = /** @class */ (function (_super) {
    __extends(ElHeaderRowDefDirective, _super);
    function ElHeaderRowDefDirective() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    ElHeaderRowDefDirective_1 = ElHeaderRowDefDirective;
    var ElHeaderRowDefDirective_1;
    __decorate([
        Input('elHeaderRowDef'),
        __metadata("design:type", Object)
    ], ElHeaderRowDefDirective.prototype, "columns", void 0);
    __decorate([
        Input('elHeaderRowDefSticky'),
        __metadata("design:type", Boolean)
    ], ElHeaderRowDefDirective.prototype, "sticky", void 0);
    ElHeaderRowDefDirective = ElHeaderRowDefDirective_1 = __decorate([
        Directive({
            selector: '[elHeaderRowDef]',
            providers: [{ provide: CdkHeaderRowDef, useExisting: ElHeaderRowDefDirective_1 }],
        })
    ], ElHeaderRowDefDirective);
    return ElHeaderRowDefDirective;
}(CdkHeaderRowDef));
export { ElHeaderRowDefDirective };
/**
 * Footer row definition for the el-table.
 * Captures the footer row's template and other footer properties such as the columns to display.
 */
var ElFooterRowDefDirective = /** @class */ (function (_super) {
    __extends(ElFooterRowDefDirective, _super);
    function ElFooterRowDefDirective() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    ElFooterRowDefDirective_1 = ElFooterRowDefDirective;
    var ElFooterRowDefDirective_1;
    __decorate([
        Input('elFooterRowDef'),
        __metadata("design:type", Object)
    ], ElFooterRowDefDirective.prototype, "columns", void 0);
    __decorate([
        Input('elFooterRowDefSticky'),
        __metadata("design:type", Boolean)
    ], ElFooterRowDefDirective.prototype, "sticky", void 0);
    ElFooterRowDefDirective = ElFooterRowDefDirective_1 = __decorate([
        Directive({
            selector: '[elFooterRowDef]',
            providers: [{ provide: CdkFooterRowDef, useExisting: ElFooterRowDefDirective_1 }],
        })
    ], ElFooterRowDefDirective);
    return ElFooterRowDefDirective;
}(CdkFooterRowDef));
export { ElFooterRowDefDirective };
/**
 * Data row definition for the el-table.
 * Captures the data row's template and other properties such as the columns to display and
 * a when predicate that describes when this row should be used.
 */
var ElRowDefDirective = /** @class */ (function (_super) {
    __extends(ElRowDefDirective, _super);
    function ElRowDefDirective() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    ElRowDefDirective_1 = ElRowDefDirective;
    var ElRowDefDirective_1;
    __decorate([
        Input('elRowDefColumns'),
        __metadata("design:type", Object)
    ], ElRowDefDirective.prototype, "columns", void 0);
    __decorate([
        Input('elRowDefWhen'),
        __metadata("design:type", Function)
    ], ElRowDefDirective.prototype, "when", void 0);
    ElRowDefDirective = ElRowDefDirective_1 = __decorate([
        Directive({
            selector: '[elRowDef]',
            providers: [{ provide: CdkRowDef, useExisting: ElRowDefDirective_1 }],
        })
    ], ElRowDefDirective);
    return ElRowDefDirective;
}(CdkRowDef));
export { ElRowDefDirective };
/** Footer template container that contains the cell outlet. Adds the right class and role. */
var ElHeaderRowComponent = /** @class */ (function (_super) {
    __extends(ElHeaderRowComponent, _super);
    function ElHeaderRowComponent() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    ElHeaderRowComponent_1 = ElHeaderRowComponent;
    var ElHeaderRowComponent_1;
    ElHeaderRowComponent = ElHeaderRowComponent_1 = __decorate([
        Component({
            selector: 'el-header-row, tr[elHeaderRow]',
            template: "\n    <ng-container elCellOutlet></ng-container>",
            host: {
                'class': 'el-header-row',
                'role': 'row',
            },
            changeDetection: ChangeDetectionStrategy.OnPush,
            providers: [{ provide: CdkHeaderRow, useExisting: ElHeaderRowComponent_1 }]
        })
    ], ElHeaderRowComponent);
    return ElHeaderRowComponent;
}(CdkHeaderRow));
export { ElHeaderRowComponent };
/** Footer template container that contains the cell outlet. Adds the right class and role. */
var ElFooterRowComponent = /** @class */ (function (_super) {
    __extends(ElFooterRowComponent, _super);
    function ElFooterRowComponent() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    ElFooterRowComponent_1 = ElFooterRowComponent;
    var ElFooterRowComponent_1;
    ElFooterRowComponent = ElFooterRowComponent_1 = __decorate([
        Component({
            selector: 'el-footer-row, tr[elFooterRow]',
            template: "\n    <ng-container elCellOutlet></ng-container>",
            host: {
                'class': 'el-footer-row',
                'role': 'row',
            },
            changeDetection: ChangeDetectionStrategy.OnPush,
            providers: [{ provide: CdkFooterRow, useExisting: ElFooterRowComponent_1 }]
        })
    ], ElFooterRowComponent);
    return ElFooterRowComponent;
}(CdkFooterRow));
export { ElFooterRowComponent };
/** Data row template container that contains the cell outlet. Adds the right class and role. */
var ElRowComponent = /** @class */ (function (_super) {
    __extends(ElRowComponent, _super);
    function ElRowComponent() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    ElRowComponent_1 = ElRowComponent;
    var ElRowComponent_1;
    ElRowComponent = ElRowComponent_1 = __decorate([
        Component({
            selector: 'el-row, tr[elRow]',
            template: "\n    <ng-container elCellOutlet></ng-container>",
            host: {
                'class': 'el-row',
                'role': 'row',
            },
            providers: [{ provide: CdkRow, useExisting: ElRowComponent_1 }],
            changeDetection: ChangeDetectionStrategy.OnPush
        })
    ], ElRowComponent);
    return ElRowComponent;
}(CdkRow));
export { ElRowComponent };
//# sourceMappingURL=row.js.map