import { CDK_ROW_TEMPLATE, CdkFooterRow, CdkFooterRowDef, CdkHeaderRow, CdkHeaderRowDef, CdkRow, CdkRowDef, CdkNoDataRow } from '@angular/cdk/table';
import { ChangeDetectionStrategy, Component, Directive, ViewEncapsulation } from '@angular/core';
/**
 * Header row definition for the r-table.
 * Captures the header row's template and other header properties such as the columns to display.
 */
export class RHeaderRowDef extends CdkHeaderRowDef {
}
RHeaderRowDef.decorators = [
    { type: Directive, args: [{
                selector: '[rHeaderRowDef]',
                providers: [{ provide: CdkHeaderRowDef, useExisting: RHeaderRowDef }],
                inputs: ['columns: rHeaderRowDef', 'sticky: rHeaderRowDefSticky'],
            },] }
];
/**
 * Footer row definition for the r-table.
 * Captures the footer row's template and other footer properties such as the columns to display.
 */
export class RFooterRowDef extends CdkFooterRowDef {
}
RFooterRowDef.decorators = [
    { type: Directive, args: [{
                selector: '[rFooterRowDef]',
                providers: [{ provide: CdkFooterRowDef, useExisting: RFooterRowDef }],
                inputs: ['columns: rFooterRowDef', 'sticky: rFooterRowDefSticky'],
            },] }
];
/**
 * Data row definition for the r-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.
 */
export class RRowDef extends CdkRowDef {
}
RRowDef.decorators = [
    { type: Directive, args: [{
                selector: '[rRowDef]',
                providers: [{ provide: CdkRowDef, useExisting: RRowDef }],
                inputs: ['columns: rRowDefColumns', 'when: rRowDefWhen'],
            },] }
];
/** Header template container that contains the cell outlet. Adds the right class and role. */
export class RHeaderRow extends CdkHeaderRow {
}
RHeaderRow.decorators = [
    { type: Component, args: [{
                selector: 'r-header-row, tr[r-header-row]',
                template: CDK_ROW_TEMPLATE,
                host: {
                    'class': 'r-header-row',
                    'role': 'row',
                },
                // See note on CdkTable for explanation on why this uses the default change detection strategy.
                // tslint:disable-next-line:validate-decorators
                changeDetection: ChangeDetectionStrategy.Default,
                encapsulation: ViewEncapsulation.None,
                exportAs: 'rHeaderRow',
                providers: [{ provide: CdkHeaderRow, useExisting: RHeaderRow }]
            },] }
];
/** Footer template container that contains the cell outlet. Adds the right class and role. */
export class RFooterRow extends CdkFooterRow {
}
RFooterRow.decorators = [
    { type: Component, args: [{
                selector: 'r-footer-row, tr[r-footer-row]',
                template: CDK_ROW_TEMPLATE,
                host: {
                    'class': 'r-footer-row',
                    'role': 'row',
                },
                // See note on CdkTable for explanation on why this uses the default change detection strategy.
                // tslint:disable-next-line:validate-decorators
                changeDetection: ChangeDetectionStrategy.Default,
                encapsulation: ViewEncapsulation.None,
                exportAs: 'rFooterRow',
                providers: [{ provide: CdkFooterRow, useExisting: RFooterRow }]
            },] }
];
/** Data row template container that contains the cell outlet. Adds the right class and role. */
export class RRow extends CdkRow {
}
RRow.decorators = [
    { type: Component, args: [{
                selector: 'r-row, tr[r-row]',
                template: CDK_ROW_TEMPLATE,
                host: {
                    'class': 'r-row',
                    'role': 'row',
                },
                // See note on CdkTable for explanation on why this uses the default change detection strategy.
                // tslint:disable-next-line:validate-decorators
                changeDetection: ChangeDetectionStrategy.Default,
                encapsulation: ViewEncapsulation.None,
                exportAs: 'rRow',
                providers: [{ provide: CdkRow, useExisting: RRow }]
            },] }
];
/** Row that can be used to display a message when no data is shown in the table. */
export class RNoDataRow extends CdkNoDataRow {
}
RNoDataRow.decorators = [
    { type: Directive, args: [{
                selector: 'ng-template[rNoDataRow]',
                providers: [{ provide: CdkNoDataRow, useExisting: RNoDataRow }],
            },] }
];
//# sourceMappingURL=row.js.map