import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {StoreModule} from '@ngrx/store';
import {EffectsModule} from '@ngrx/effects';
import {SMMaterialModule} from '../../material/material.module';
import {commonDeleteDialogReducer} from './common-delete-dialog.reducer';
import {UiComponentsModule} from '../../ui-components/ui-components.module';
import {CommonDeleteDialogComponent} from './common-delete-dialog.component';
import {MatProgressBarModule} from '@angular/material/progress-bar';
import {SMSharedModule} from '../../shared.module';
import {DeleteDialogEffectsBase} from './base-delete-dialog.effects';

@NgModule({
  imports: [
    UiComponentsModule,
    CommonModule,
    SMMaterialModule,
    StoreModule.forFeature('deleteEntityDialog', commonDeleteDialogReducer),
    EffectsModule.forFeature([DeleteDialogEffectsBase]),
    MatProgressBarModule,
    SMSharedModule
  ],
  declarations: [CommonDeleteDialogComponent]
})
export class CommonDeleteDialogModule { }
