Skip to content
Snippets Groups Projects
app-list.module.ts 1.69 KiB
Newer Older
  • Learn to ignore specific revisions
  • import { NgModule } from '@angular/core';
    import { SharedModule } from './app-common.module';
    import { FiltersToolComponent } from './list/filters/filters-tool.component';
    import { SummarySheetComponent } from './list/summarySheet/summary-sheet.component';
    import { ExportComponent } from './list/export/export.component';
    import { ToolsListComponent } from './list/tools/tools-list.component';
    import { PrintedFolderModalComponent } from './printedFolder/printed-folder-modal.component';
    import { ActionsListComponent } from './actions/actions-list.component';
    import { FollowedActionListComponent } from './home/followed-action-list/followed-action-list.component';
    import { NgPipesModule } from 'ngx-pipes';
    
    
    import { InternationalizationModule } from '../service/translate/internationalization.module';
    import { TranslateService } from '@ngx-translate/core';
    
    
    @NgModule({
        imports: [
            SharedModule,
            NgPipesModule,
    
            InternationalizationModule
    
        ],
        declarations: [
            FiltersToolComponent,
            SummarySheetComponent,
            ExportComponent,
            ToolsListComponent,
            PrintedFolderModalComponent,
            ActionsListComponent,
            FollowedActionListComponent,
        ],
        exports: [
    
            SharedModule,
    
            FiltersToolComponent,
            SummarySheetComponent,
            ExportComponent,
            ToolsListComponent,
            PrintedFolderModalComponent,
            ActionsListComponent,
            FollowedActionListComponent,
        ],
        entryComponents: [
            SummarySheetComponent,
            ExportComponent,
            PrintedFolderModalComponent,
        ],
    })
    
    export class AppListModule {
        constructor(translate: TranslateService) {
            translate.setDefaultLang('fr');
        }
    }