Revision 61027
Added by Konstantinos Triantafyllou almost 3 years ago
affiliations.module.ts | ||
---|---|---|
1 | 1 |
import {NgModule} from '@angular/core'; |
2 | 2 |
import {CommonModule} from '@angular/common'; |
3 |
import {FormsModule} from '@angular/forms'; |
|
3 |
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
|
|
4 | 4 |
import {RouterModule} from '@angular/router'; |
5 | 5 |
|
6 | 6 |
import {AffiliationsComponent} from './affiliations.component'; |
7 | 7 |
|
8 | 8 |
import {AffiliationsRoutingModule} from './affiliations-routing.module'; |
9 |
import {IsCommunity} from '../../openaireLibrary/connect/communityGuard/isCommunity.guard'; |
|
10 |
import {ConnectAdminLoginGuard} from '../../openaireLibrary/connect/communityGuard/connectAdminLoginGuard.guard'; |
|
11 | 9 |
import {AffiliationService} from '../../openaireLibrary/connect/affiliations/affiliation.service'; |
12 | 10 |
import {AlertModalModule} from '../../openaireLibrary/utils/modal/alertModal.module'; |
13 | 11 |
import {UtilitiesService} from '../../openaireLibrary/services/utilities.service'; |
12 |
import {InputModule} from "../../openaireLibrary/sharedComponents/input/input.module"; |
|
13 |
import {PageContentModule} from "../../openaireLibrary/dashboard/sharedComponents/page-content/page-content.module"; |
|
14 |
import {CommunityInfoModule} from "../community-info/community-info.module"; |
|
15 |
import {IconsModule} from "../../openaireLibrary/utils/icons/icons.module"; |
|
16 |
import {IconsService} from "../../openaireLibrary/utils/icons/icons.service"; |
|
17 |
import {add, edit, preview, remove} from "../../openaireLibrary/utils/icons/icons"; |
|
18 |
import {NoLoadPaging} from "../../openaireLibrary/searchPages/searchUtils/no-load-paging.module"; |
|
19 |
import {LoadingModule} from "../../openaireLibrary/utils/loading/loading.module"; |
|
20 |
import {UrlPrefixModule} from "../../openaireLibrary/utils/pipes/url-prefix.module"; |
|
21 |
import {HelpContentService} from "../../services/help-content.service"; |
|
14 | 22 |
|
15 | 23 |
@NgModule({ |
16 | 24 |
imports: [ |
17 | 25 |
AffiliationsRoutingModule, CommonModule, FormsModule, RouterModule, |
18 |
AlertModalModule |
|
26 |
AlertModalModule, ReactiveFormsModule, InputModule, PageContentModule, CommunityInfoModule, IconsModule, NoLoadPaging, LoadingModule, UrlPrefixModule
|
|
19 | 27 |
], |
20 | 28 |
declarations: [ |
21 | 29 |
AffiliationsComponent |
22 | 30 |
], |
23 | 31 |
providers: [ |
24 |
AffiliationService, UtilitiesService, IsCommunity, ConnectAdminLoginGuard
|
|
32 |
AffiliationService, UtilitiesService, HelpContentService
|
|
25 | 33 |
], |
26 | 34 |
exports: [ |
27 | 35 |
AffiliationsComponent |
28 | 36 |
] |
29 | 37 |
}) |
30 | 38 |
|
31 |
export class AffiliationsModule { } |
|
39 |
export class AffiliationsModule { |
|
40 |
|
|
41 |
constructor(private iconsService: IconsService) { |
|
42 |
this.iconsService.registerIcons([add, preview, edit, remove]) |
|
43 |
} |
|
44 |
} |
Also available in: Unified diff
[Admin | Trunk]: Merge from NewUI branch