import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { InstanceListComponent } from './instance-list/instance-list.component';
import { InstancesRoutingModule } from './instances-routing.module';
import { ObjectsViewModule } from '@objects-view/objects-view.module';
import { InstanceDetailsComponent } from './instance-details/instance-details.component';
import { ReactiveFormsModule } from '@angular/forms';
import { ErrorHandlingModule } from '@shared/error-handling/error-handling.module';
import { MatFormFieldModule } from '@angular/material/form-field';
import { MatInputModule } from '@angular/material/input';
import { MatAutocompleteModule } from '@angular/material/autocomplete';
import { UiModule } from '@shared/ui/ui.module';
import { MatSelectModule } from '@angular/material/select';
import { MatButtonModule } from '@angular/material/button';
import { MatCheckboxModule } from '@angular/material/checkbox';
import { MatIconModule } from '@angular/material/icon';
import { MatDialogModule } from '@angular/material/dialog';
import { MatTableModule } from '@angular/material/table';
import { EnduserInstanceDetailsInfoComponent } from './tabs/enduser-instance-details-info/enduser-instance-details-info.component';
import { EnduserInstanceDetailsHistoryLogComponent } from './tabs/enduser-instance-details-history-log/enduser-instance-details-history-log.component';
import { InstanceCreateComponent } from './instance-create/instance-create.component';
import { InstanceResizeComponent } from './instance-resize/instance-resize.component';
import { InstanceRescueComponent } from './instance-rescue/instance-rescue.component';
import { InstanceRebuildComponent } from './instance-rebuild/instance-rebuild.component';
import { InstanceBootFromIsoComponent } from './instance-boot-from-iso/instance-boot-from-iso.component';


@NgModule({
  declarations: [
    InstanceListComponent,
    InstanceDetailsComponent,
    InstanceCreateComponent,
    InstanceResizeComponent,
    InstanceRescueComponent,
    InstanceRebuildComponent,
    InstanceBootFromIsoComponent,
    EnduserInstanceDetailsInfoComponent,
    EnduserInstanceDetailsHistoryLogComponent,
  ],
  imports: [
    CommonModule,
    InstancesRoutingModule,
    ObjectsViewModule,
    MatButtonModule,
    MatTableModule,
    MatDialogModule,
    ReactiveFormsModule,
    ErrorHandlingModule,
    MatFormFieldModule,
    MatInputModule,
    MatCheckboxModule,
    MatAutocompleteModule,
    MatSelectModule,
    MatIconModule,
    UiModule,
  ]
})
export class InstancesModule { }
