-
Notifications
You must be signed in to change notification settings - Fork 55
/
table.module.ts
31 lines (28 loc) · 986 Bytes
/
table.module.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { DragulaModule, DragulaService } from 'ng2-dragula';
import { NgxDatatableModule } from '@swimlane/ngx-datatable';
import { PaginationModule } from '../../pagination/pagination.module';
import { EmptyStateModule } from '../../empty-state/empty-state.module';
import { NgxDataTableDndDirective } from './ngx-datatable-dnd.directive';
import { TableComponent } from './table.component';
import { ToolbarModule } from '../../toolbar/toolbar.module';
/**
* A module containing objects associated with table components
*/
@NgModule({
imports: [
CommonModule,
DragulaModule,
EmptyStateModule,
FormsModule,
PaginationModule,
NgxDatatableModule,
ToolbarModule
],
declarations: [NgxDataTableDndDirective, TableComponent],
exports: [TableComponent],
providers: [DragulaService]
})
export class TableModule {}