novo-elements
Version:
Bullhorn's NOVO Element Repository for Angular 2
45 lines (39 loc) • 1.54 kB
text/typescript
import { ChangeDetectionStrategy, Component, Directive, Input, HostBinding } from '@angular/core';
import { CdkHeaderRow, CdkRow, CDK_ROW_TEMPLATE, CdkRowDef, CdkHeaderRowDef } from '@angular/cdk/table';
/** Workaround for https://github.com/angular/angular/issues/17849 */
export const _NovoHeaderRowDef = CdkHeaderRowDef;
export const _NovoCdkRowDef = CdkRowDef;
export const _NovoHeaderRow = CdkHeaderRow;
export const _NovoRow = CdkRow;
export class NovoSimpleHeaderRowDef extends _NovoHeaderRowDef {
columns;
}
export class NovoSimpleRowDef extends _NovoCdkRowDef {
columns;
}
export class NovoSimpleHeaderRow extends _NovoHeaderRow {
public rowClass = 'novo-simple-header-row';
public role = 'row';
}
export class NovoSimpleRow extends _NovoRow {
public rowClass = 'novo-simple-row';
public role = 'row';
}