import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ConfigurableOptionListComponent } from './configurable-option-list/configurable-option-list.component';
import { ConfigurableOptionEditComponent } from './configurable-option-edit/configurable-option-edit.component';
import {
  ConfigurableOptionEditFormComponent
} from './tabs/configurable-option-edit-form/configurable-option-edit-form.component';
import { ConfigurableOptionCreateComponent } from './configurable-option-create/configurable-option-create.component';
import { ObjectsViewModule } from '@objects-view/objects-view.module';
import { ConfigurableOptionsRoutingModule } from './configurable-options-routing.module';
import { ReactiveFormsModule } from '@angular/forms';
import { ErrorHandlingModule } from '@shared/error-handling/error-handling.module';
import { EditOptionCycleDialogComponent } from './dialogs/edit-option-cycle-dialog/edit-option-cycle-dialog.component';
import {
  EditOptionChoiceDialogComponent
} from './dialogs/edit-option-choice-dialog/edit-option-choice-dialog.component';
import { UiModule } from '@shared/ui/ui.module';
import { CommonDialogsModule } from '@shared/common-dialogs/common-dialogs.module';
import {
  ConfigurableOptionDetailsComponent
} from './configurable-option-details/configurable-option-details.component';
import {
  ConfigurableOptionDetailsOverviewComponent
} from './tabs/configurable-option-details-overview/configurable-option-details-overview.component';


@NgModule({
  declarations: [
    ConfigurableOptionListComponent,
    ConfigurableOptionEditComponent,
    ConfigurableOptionEditFormComponent,
    ConfigurableOptionCreateComponent,
    EditOptionCycleDialogComponent,
    EditOptionChoiceDialogComponent,
    ConfigurableOptionDetailsComponent,
    ConfigurableOptionDetailsOverviewComponent,
  ],
  exports: [
    EditOptionCycleDialogComponent,
    EditOptionChoiceDialogComponent,
  ],
  imports: [
    CommonModule,
    ConfigurableOptionsRoutingModule,
    ObjectsViewModule,
    ReactiveFormsModule,
    ErrorHandlingModule,
    UiModule,
    CommonDialogsModule,
  ]
})
export class ConfigurableOptionsModule {
}
