import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ArticleDetailsComponent } from './article-details.component';
import { ProductImageModule } from '@cdn/product-image';
import { UiIconModule } from '@ui/icon';
import { RouterModule } from '@angular/router';
import { UiStarsModule } from '@ui/stars';
import { UiSliderModule } from '@ui/slider';
import { ArticleRecommendationsComponent } from './recommendations/article-recommendations.component';
import { PipesModule } from '../shared/pipes/pipes.module';
import { UiTooltipModule } from '@ui/tooltip';
import { UiCommonModule } from '@ui/common';
import { OrderDeadlinePipeModule } from '@shared/pipes/order-deadline';
import { IconModule } from '@shared/components/icon';
import { ArticleDetailsTextComponent } from './article-details-text/article-details-text.component';
import { IconBadgeComponent } from 'apps/isa-app/src/shared/components/icon/badge/icon-badge.component';
import { MatomoModule } from 'ngx-matomo-client';
import {
  RewardSelectionService,
  RewardSelectionPopUpService,
} from '@isa/checkout/shared/reward-selection-dialog';

@NgModule({
  imports: [
    CommonModule,
    ProductImageModule,
    UiIconModule,
    RouterModule,
    UiStarsModule,
    UiSliderModule,
    UiCommonModule,
    UiTooltipModule,
    IconModule,
    PipesModule,
    OrderDeadlinePipeModule,
    ArticleDetailsTextComponent,
    IconBadgeComponent,
    MatomoModule,
  ],
  exports: [ArticleDetailsComponent, ArticleRecommendationsComponent],
  declarations: [ArticleDetailsComponent, ArticleRecommendationsComponent],
  providers: [
    RewardSelectionService,
    RewardSelectionPopUpService,
  ],
})
export class ArticleDetailsModule {}
