import { CommonModule } from "@angular/common";
import { NgModule } from "@angular/core";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { MatButtonModule } from "@angular/material/button";
import { MatCardModule } from "@angular/material/card";
import { MatCheckboxModule } from "@angular/material/checkbox";
import { MatDatepickerModule } from "@angular/material/datepicker";
import { MatDialogModule } from "@angular/material/dialog";
import { MatExpansionModule } from "@angular/material/expansion";
import { MatIconModule } from "@angular/material/icon";
import { MatInputModule } from "@angular/material/input";
import {
  MatPaginatorIntl,
  MatPaginatorModule,
} from "@angular/material/paginator";
import { MatProgressBarModule } from "@angular/material/progress-bar";
import { MatProgressSpinnerModule } from "@angular/material/progress-spinner";
import { MatSnackBarModule } from "@angular/material/snack-bar";
import { MatSortModule } from "@angular/material/sort";
import { MatTableModule } from "@angular/material/table";
import { MatRadioModule } from "@angular/material/radio";
import { RouterModule, Routes } from "@angular/router";
import { AgGridModule } from "ag-grid-angular";
import { ModalDataExportModule } from "src/app/components/modal-data-export/modal-data-export.module";
import { ModalGenerateReportingComponentModule } from "src/app/components/modal-generate-reporting/modal-generate-reporting.module";
import { ModalExecuteComponentModule } from "src/app/components/modal-execute/modal-execute.module";
import { ProjectsComponentModule } from "src/app/components/projects/projects.component.module";
import { SkeletonComponentModule } from "src/app/components/skeleton/skeleton.module";
import { VueDetailComponentModule } from "src/app/components/vue-detail/projets/vue-detail.component.module";
import { LayoutModule } from "src/app/components/layout/layout.module";
import { CustomPaginator } from "src/app/custom/customPaginatorConfiguration";
import { ListViewOnePageComponent } from "./list-view-one.page";
import { SharedModule } from "src/app/shared/shared.module";
const routes: Routes = [
  {
    path: "",
    component: ListViewOnePageComponent,
  },
];

@NgModule({
  imports: [
    CommonModule,
    MatSnackBarModule,
    MatTableModule,
    MatPaginatorModule,
    MatButtonModule,
    ReactiveFormsModule,
    MatProgressBarModule,
    MatCardModule,
    VueDetailComponentModule,
    MatExpansionModule,
    FormsModule,
    ProjectsComponentModule,
    MatProgressSpinnerModule,
    MatInputModule,
    MatSortModule,
    MatDialogModule,
    MatDatepickerModule,
    MatCheckboxModule,
    MatRadioModule,
    RouterModule.forChild(routes),
    ReactiveFormsModule,
    ModalGenerateReportingComponentModule,
    ModalDataExportModule,
    ModalExecuteComponentModule,
    MatIconModule,
    SkeletonComponentModule,
    LayoutModule,
    AgGridModule,
    SharedModule,
  ],

  declarations: [ListViewOnePageComponent],
  providers: [{ provide: MatPaginatorIntl, useValue: CustomPaginator() }],
})
export class ListViewOnePageModule {}
