import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { SharedModule } from '@shared/shared.module';
import { TableItemComponent } from './table-item/table-item.component';
import { DossierTemplatesListingScreenComponent } from './dossier-templates-listing-screen/dossier-templates-listing-screen.component';
import {
    CircleButtonComponent,
    IconButtonComponent,
    InputWithActionComponent,
    IqserAllowDirective,
    IqserHelpModeModule,
    IqserListingModule,
    IqserRoutes,
} from '@iqser/common-ui';
import { TranslateModule } from '@ngx-translate/core';
import { DossierTemplateActionsComponent } from '../../shared/components/dossier-template-actions/dossier-template-actions.component';
import { IqserUsersModule } from '@iqser/common-ui/lib/users';

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

@NgModule({
    declarations: [TableItemComponent, DossierTemplatesListingScreenComponent],
    imports: [
        RouterModule.forChild(routes),
        CommonModule,
        SharedModule,
        IqserUsersModule,
        TranslateModule,
        IqserListingModule,
        IqserHelpModeModule,
        DossierTemplateActionsComponent,
        CircleButtonComponent,
        IconButtonComponent,
        InputWithActionComponent,
        IqserAllowDirective,
    ],
})
export class DossierTemplatesListingModule {}
