import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ProductsRoutingModule } from './products-routing.module';
import { ErrorHandlingModule } from '@shared/error-handling/error-handling.module';
import { ObjectsViewModule } from '@objects-view/objects-view.module';
import { ProductsListComponent } from './products-list/products-list.component';
import { ProductsRowsComponent } from './tabs/products-rows/products-rows.component';
import { ProductDetailsComponent } from './product-details/product-details.component';
import { ProductCreateComponent } from './product-create/product-create.component';
import { ProductEditComponent } from './product-edit/product-edit.component';
import { UiModule } from '@shared/ui/ui.module';
import { ProductDetailsOverviewComponent } from './tabs/product-details-overview/product-details-overview.component';
import { ProductEditFormComponent } from './tabs/product-edit-form/product-edit-form.component';
import { ProductDetailsConfOptsComponent } from './tabs/product-details-conf-opts/product-details-conf-opts.component';
import { ProductDetailsUpgradesComponent } from './tabs/product-details-upgrades/product-details-upgrades.component';
import { ProductLinksComponent } from './tabs/product-links/product-links.component';
import { PluginsModule } from '@shared/plugins/plugins.module';
import { ProductCycleEditFormComponent } from './dialogs/product-cycle-edit-form/product-cycle-edit-form.component';
import { ProductGroupEditFormComponent } from './dialogs/product-group-edit-form/product-group-edit-form.component';
import {
  ProductAssociateOptionDialogComponent
} from './dialogs/product-associate-option-dialog/product-associate-option-dialog.component';
import { CommonDialogsModule } from '@shared/common-dialogs/common-dialogs.module';


@NgModule({
  declarations: [
    ProductsListComponent,
    ProductsRowsComponent,
    ProductDetailsComponent,
    ProductCreateComponent,
    ProductEditComponent,
    ProductDetailsOverviewComponent,
    ProductEditFormComponent,
    ProductDetailsConfOptsComponent,
    ProductDetailsUpgradesComponent,
    ProductLinksComponent,
    ProductCycleEditFormComponent,
    ProductGroupEditFormComponent,
    ProductAssociateOptionDialogComponent,
  ],
  imports: [
    CommonModule,
    ProductsRoutingModule,
    ErrorHandlingModule,
    ObjectsViewModule,
    UiModule,
    PluginsModule,
    CommonDialogsModule,
  ],
})
export class ProductsModule {
}
