import { Directive, TemplateRef } from '@angular/core';
import { BsDatatableComponent } from '../datatable/datatable.component';
import * as i0 from "@angular/core";
import * as i1 from "../datatable/datatable.component";
export class BsRowTemplateDirective {
    constructor(datatableComponent, templateRef) {
        this.datatableComponent = datatableComponent;
        this.datatableComponent.rowTemplate = templateRef;
    }
}
BsRowTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BsRowTemplateDirective, deps: [{ token: i1.BsDatatableComponent }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
BsRowTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: BsRowTemplateDirective, selector: "[bsRowTemplate]", ngImport: i0 });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BsRowTemplateDirective, decorators: [{
            type: Directive,
            args: [{
                    selector: '[bsRowTemplate]'
                }]
        }], ctorParameters: function () { return [{ type: i1.BsDatatableComponent }, { type: i0.TemplateRef }]; } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm93LXRlbXBsYXRlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvbWludHBsYXllci1uZy1ib290c3RyYXAvZGF0YXRhYmxlL3NyYy9yb3ctdGVtcGxhdGUvcm93LXRlbXBsYXRlLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN2RCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQzs7O0FBS3hFLE1BQU0sT0FBTyxzQkFBc0I7SUFFakMsWUFBb0Isa0JBQXdDL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