import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { ReactiveFormsModule } from '@angular/forms';
import { MatNativeDateModule, MAT_DATE_LOCALE } from '@angular/material/core';
import { MatButtonModule } from '@angular/material/button';
import { MatCardModule } from '@angular/material/card';
import { MatDatepickerModule } from '@angular/material/datepicker';
import { MatDialogModule } from '@angular/material/dialog';
import { MatExpansionModule } from '@angular/material/expansion';
import { MatFormFieldModule } from '@angular/material/form-field';
import { MatIconModule } from '@angular/material/icon';
import { MatListModule } from '@angular/material/list';
import { MatMenuModule } from '@angular/material/menu';
import { MatProgressBarModule } from '@angular/material/progress-bar';
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
import { MatTabsModule } from '@angular/material/tabs';
import { MatTooltipModule } from '@angular/material/tooltip';
import { RouterModule } from '@angular/router';
import { AutocompleteLibModule } from 'angular-ng-autocomplete';
import { ModalGenerateDocumentComponentModule } from 'src/app/components/modal-generate-document/modal-generate-document.module';
import { TableVueDetailsComponentModule } from 'src/app/components/table-vue-details/table-vue-details.module';
// import { VueDetailComponentModule as ApportModule } from 'src/app/components/vue-detail/apport-affaire/vue-detail.component.module';
// import { VueDetailComponentModule as DocumentModule } from 'src/app/components/vue-detail/documents/vue-detail.component.module';
// import { VueDetailComponentModule as OperationModule } from 'src/app/components/vue-detail/operations/vue-detail.component.module';
// import { VueDetailComponentModule as PaiementModule } from 'src/app/components/vue-detail/paiements/vue-detail.module';
// import { VueDetailComponentModule as PrestationModule } from 'src/app/components/vue-detail/prestations/vue-detail.component.module';
import { StorageService } from 'src/app/core/services/storage.service';
import { VueDetailComponent } from './vue-detail.component';

@NgModule({
  imports: [
    CommonModule,
    RouterModule,
    MatDialogModule,
    MatExpansionModule,
    TableVueDetailsComponentModule,
    MatFormFieldModule,
    ReactiveFormsModule,
    MatListModule,
    MatMenuModule,
    MatDatepickerModule,
    ModalGenerateDocumentComponentModule,
    MatIconModule,
    MatProgressSpinnerModule,
    MatTabsModule,
    MatNativeDateModule,
    MatTooltipModule,
    MatProgressBarModule,
    MatButtonModule,
    MatCardModule,
    AutocompleteLibModule,
   
  ],
  declarations: [VueDetailComponent],
  providers: [{ provide: MAT_DATE_LOCALE, useValue: 'fr-FR' }, StorageService],
  exports: [VueDetailComponent],
})
export class VueDetailComponentModule {}
