import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { TrashScreenComponent } from './trash-screen/trash-screen.component';
import { CircleButtonComponent, IqserListingModule } from '@iqser/common-ui';
import { TrashTableItemComponent } from './trash-screen/trash-table-item/trash-table-item.component';
import { SharedModule } from '@shared/shared.module';
import { TrashDialogService } from './services/trash-dialog.service';
import { TranslateModule } from '@ngx-translate/core';
import { IqserUsersModule } from '@iqser/common-ui/lib/users';
import { TenantPipe } from '@iqser/common-ui/lib/tenants';

const routes = [{ path: '', component: TrashScreenComponent }];

@NgModule({
    declarations: [TrashScreenComponent, TrashTableItemComponent],
    imports: [
        CommonModule,
        RouterModule.forChild(routes),
        SharedModule,
        IqserUsersModule,
        TranslateModule,
        IqserListingModule,
        CircleButtonComponent,
        TenantPipe,
    ],
    providers: [TrashDialogService],
})
export class TrashModule {}
