Revision 50167
Added by Argiro Kokogiannaki over 6 years ago
advancedSearchPublications.module.ts | ||
---|---|---|
3 | 3 |
import { FormsModule } from '@angular/forms'; |
4 | 4 |
|
5 | 5 |
import{ AdvancedSearchPublicationsRoutingModule} from './advancedSearchPublications-routing.module'; |
6 |
import{AdvancedSearchPublicationsComponent} from './advancedSearchPublications.component'; |
|
6 |
import{OpenaireAdvancedSearchPublicationsComponent} from './advancedSearchPublications.component';
|
|
7 | 7 |
|
8 | 8 |
|
9 |
import {PublicationsServiceModule} from '../../services/publicationsService.module'; |
|
10 |
import {AdvancedSearchPageModule} from '../searchUtils/advancedSearchPage.module'; |
|
11 |
import {FreeGuard} from'../../login/freeGuard.guard'; |
|
12 |
import {IsRouteEnabled} from '../../error/isRouteEnabled.guard'; |
|
9 |
import {AdvancedSearchPublicationsModule, FreeGuard,PreviousRouteRecorder, IsRouteEnabled} from 'ng-openaire-library'; |
|
13 | 10 |
|
14 | 11 |
@NgModule({ |
15 | 12 |
imports: [ |
16 | 13 |
CommonModule, FormsModule, |
17 |
PublicationsServiceModule,
|
|
18 |
AdvancedSearchPublicationsRoutingModule, AdvancedSearchPageModule
|
|
14 |
AdvancedSearchPublicationsModule,
|
|
15 |
AdvancedSearchPublicationsRoutingModule |
|
19 | 16 |
|
20 | 17 |
], |
21 | 18 |
declarations: [ |
22 |
AdvancedSearchPublicationsComponent |
|
19 |
OpenaireAdvancedSearchPublicationsComponent
|
|
23 | 20 |
], |
24 | 21 |
providers:[FreeGuard, IsRouteEnabled], |
25 | 22 |
exports: [ |
26 |
AdvancedSearchPublicationsComponent |
|
23 |
OpenaireAdvancedSearchPublicationsComponent
|
|
27 | 24 |
] |
28 | 25 |
}) |
29 |
export class AdvancedSearchPublicationsModule { } |
|
26 |
export class LibAdvancedSearchPublicationsModule { } |
Also available in: Unified diff
A first draft for the portal to use openaire library