import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ReactiveFormsModule } from '@angular/forms';

// Angular Material
import { MatFormFieldModule } from '@angular/material/form-field';
import { MatInputModule } from '@angular/material/input';
import { MatSelectModule } from '@angular/material/select';
import { MatButtonModule } from '@angular/material/button';
import { MatIconModule } from '@angular/material/icon';
import { MatTooltipModule } from '@angular/material/tooltip';
import { MatExpansionModule } from '@angular/material/expansion';

// Composant harmonisé
import { HarmonizedCreateViewComponent } from './harmonized-create-view.component';
import { FieldRendererModule } from './field-renderer/field-renderer.module';

@NgModule({
  declarations: [
    HarmonizedCreateViewComponent
  ],
  imports: [
    CommonModule,
    ReactiveFormsModule,

    // Angular Material
    MatFormFieldModule,
    MatInputModule,
    MatSelectModule,
    MatButtonModule,
    MatIconModule,
    MatTooltipModule,
    MatExpansionModule,

    // Field Renderer
    FieldRendererModule
  ],
  exports: [
    HarmonizedCreateViewComponent
  ]
})
export class HarmonizedCreateViewModule { }