import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { CharacterRoutingModule } from './character-routing.module';
import { CharacterPickerComponent } from './character-picker/character-picker.component';
import { CharacterCreatorComponent } from './character-creator/character-creator.component';
import { CharacterCardComponent } from './character-picker/character-card/character-card.component';
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
import { MatIconModule } from '@angular/material/icon';
import { MatInputModule } from '@angular/material/input';
import { MatFormFieldModule } from '@angular/material/form-field';
import { MatSelectModule } from '@angular/material/select';
import { MatAutocompleteModule } from '@angular/material/autocomplete';
import { DeletionConfirmComponent } from './character-picker/deletion-confirm/deletion-confirm.component';

@NgModule({
  declarations: [
    CharacterPickerComponent,
    CharacterCreatorComponent,
    CharacterCardComponent,
    DeletionConfirmComponent,
  ],
  imports: [
    CommonModule,
    CharacterRoutingModule,
    FormsModule,
    ReactiveFormsModule,
    MatSlideToggleModule,
    MatIconModule,
    MatInputModule,
    MatFormFieldModule,
    MatSelectModule,
    MatAutocompleteModule,
  ],
})
export class CharacterModule {}
