diff options
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/datatable.module.ts')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/datatable.module.ts | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/datatable.module.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/datatable.module.ts new file mode 100644 index 000000000..ede8f2368 --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/datatable.module.ts @@ -0,0 +1,31 @@ +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; +import { FormsModule } from '@angular/forms'; +import { RouterModule } from '@angular/router'; + +import { NgbDropdownModule, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap'; +import { NgxDatatableModule } from '@swimlane/ngx-datatable'; +import { NgxPipeFunctionModule } from 'ngx-pipe-function'; + +import { ComponentsModule } from '../components/components.module'; +import { PipesModule } from '../pipes/pipes.module'; +import { TableActionsComponent } from './table-actions/table-actions.component'; +import { TableKeyValueComponent } from './table-key-value/table-key-value.component'; +import { TableComponent } from './table/table.component'; + +@NgModule({ + imports: [ + CommonModule, + NgxDatatableModule, + NgxPipeFunctionModule, + FormsModule, + NgbDropdownModule, + NgbTooltipModule, + PipesModule, + ComponentsModule, + RouterModule + ], + declarations: [TableComponent, TableKeyValueComponent, TableActionsComponent], + exports: [TableComponent, NgxDatatableModule, TableKeyValueComponent, TableActionsComponent] +}) +export class DataTableModule {} |