information-system-gui/src/main/webapp/app/table-screen/table-screen.module.ts

36 lines
1.4 KiB
TypeScript

import { NgModule } from '@angular/core';
import { SharedModule } from 'app/shared/shared.module';
import { MatTableModule } from '@angular/material/table';
import { MatIconModule } from '@angular/material/icon';
import { MatSortModule } from '@angular/material/sort';
import { TableScreenComponent } from './table-screen.component';
import { MatPaginatorModule } from '@angular/material/paginator';
import { RawjsonPaneComponent } from 'app/rawjson-pane/rawjson-pane.component';
import { MAT_DIALOG_DEFAULT_OPTIONS, MatDialogModule } from '@angular/material/dialog';
import { ResourceAddComponent } from 'app/resource-add/resource-add.component';
import { TypeHeadlineModule } from 'app/type-headline/type-headline.module';
import { AsyncPipe } from '@angular/common';
import { RouterModule } from '@angular/router';
@NgModule({
imports: [
SharedModule,MatTableModule,MatIconModule,MatSortModule,
MatPaginatorModule, MatDialogModule, RawjsonPaneComponent,
TypeHeadlineModule, AsyncPipe, RouterModule
],
declarations:[TableScreenComponent],
exports: [TableScreenComponent],
//NB: QUI VA DICHIARATO IL DIALOG DI DATAENTRY COME COMPONENT
entryComponents: [ResourceAddComponent],
bootstrap: [TableScreenComponent],
/*
providers: [{provide: MAT_DIALOG_DEFAULT_OPTIONS,
useValue: { height: '200px', width: '250px', autoFocus: true }}]
*/
})
export class TableScreenModule {
}