import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { GoodsInRoutingModule } from './goods-in-routing.module';
import { GoodsInSearchComponent } from './pages/goods-in-search/goods-in-search.component';
import {
  SearchInputModule,
  LoadingModule,
  IconModule,
  ButtonModule,
  DropdownModule,
  DatePickerModule,
  TagModule,
  CheckboxModule,
} from '@libs/ui';
import { GoodsInSearchResultsComponent } from './pages/goods-in-search-results/goods-in-search-results.component';
import { GoodsInOrderDetailsComponent } from './pages/goods-in-order-details/goods-in-order-details.component';
import { GoodsInOrderLoadingComponent } from './components/order-loading/goods-in-order-loading.component';
import { ScrollingModule } from '@angular/cdk/scrolling';
import { GoodsInOrderCardComponent } from './components/goods-in-order-card/goods-in-order-card.component';
import { SharedModule } from '../../shared/shared.module';
import { GoodsInOrderTagComponent } from './components/goods-in-order-tag/goods-in-order-tag.component';
import { GoodsInArticleDetailsComponent } from './components/goods-in-article-details/goods-in-article-details.component';
import { FormsModule } from '@angular/forms';
import { PerfectScrollbarModule } from 'ngx-perfect-scrollbar';

@NgModule({
  declarations: [
    GoodsInSearchComponent,
    GoodsInSearchResultsComponent,
    GoodsInOrderDetailsComponent,
    GoodsInOrderLoadingComponent,
    GoodsInOrderCardComponent,
    GoodsInOrderTagComponent,
    GoodsInArticleDetailsComponent,
  ],
  imports: [
    CommonModule,
    GoodsInRoutingModule,
    SearchInputModule,
    ScrollingModule,
    PerfectScrollbarModule,
    LoadingModule,
    SharedModule,
    IconModule,
    ButtonModule,
    DropdownModule,
    DatePickerModule,
    TagModule,
    CheckboxModule,
    FormsModule,
  ],
})
export class GoodsInModule {}
