import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { HistoryDtoToInfoTextPipe, HistoryDtoToStatusTextPipe, GetStatusFromHistoryPipe } from '../../pages/shelf-history/pipes';
import { IconModule } from '@libs/ui';
import { ShelfHistoryLogComponent } from './history-log.component';
import { ShelfHistoryLogHeaderComponent } from './log-header';
import { ShelfHistoryLogBodyComponent } from './log-body';

@NgModule({
  imports: [CommonModule, IconModule],
  declarations: [
    ShelfHistoryLogComponent,
    ShelfHistoryLogHeaderComponent,
    ShelfHistoryLogBodyComponent,
    HistoryDtoToInfoTextPipe,
    HistoryDtoToStatusTextPipe,
    GetStatusFromHistoryPipe,
  ],
  exports: [ShelfHistoryLogComponent, ShelfHistoryLogHeaderComponent, ShelfHistoryLogBodyComponent],
  providers: [],
})
export class ShelfHistoryLogModule {}
