Skip to content
Snippets Groups Projects
document-form.module.ts 1.17 KiB
Newer Older
  • Learn to ignore specific revisions
  • import { NgModule } from '@angular/core';
    import { SharedModule } from './app-common.module';
    
    import { IndexingFormComponent } from './indexation/indexing-form/indexing-form.component';
    import { TagInputComponent } from './tag/indexing/tag-input.component';
    import { FolderInputComponent } from '../app/folder/indexing/folder-input.component';
    
    import { IssuingSiteInputComponent } from '../app/administration/registered-mail/issuing-site/indexing/issuing-site-input.component';
    
    import { InternationalizationModule } from '../service/translate/internationalization.module';
    import { TranslateService } from '@ngx-translate/core';
    
    
    @NgModule({
        imports: [
    
            SharedModule,
            InternationalizationModule
    
        ],
        declarations: [
            IndexingFormComponent,
            TagInputComponent,
    
            FolderInputComponent,
            IssuingSiteInputComponent
    
        ],
        exports: [
            IndexingFormComponent,
            TagInputComponent,
    
            FolderInputComponent,
            IssuingSiteInputComponent
    
        ],
        entryComponents: [
        ],
        providers: [
    
        ],
    })
    
    export class DocumentFormModule {
        constructor(translate: TranslateService) {
            translate.setDefaultLang('fr');
        }
    }