Revision 56925
Added by Konstantina Galouni over 4 years ago
software.module.ts | ||
---|---|---|
1 |
//import {MaterialModule} from '@angular/material'; |
|
2 | 1 |
import {NgModule} from '@angular/core'; |
3 |
import {CommonModule} from '@angular/common'; |
|
4 |
import {FormsModule} from '@angular/forms'; |
|
5 |
|
|
6 |
import {RouterModule} from '@angular/router'; |
|
7 |
|
|
8 |
import {SoftwareService} from './software.service'; |
|
2 |
import {FreeGuard} from '../../login/freeGuard.guard'; |
|
3 |
import {IsRouteEnabled} from "../../error/isRouteEnabled.guard"; |
|
4 |
import {SharedModule} from "../../shared/shared.module"; |
|
5 |
import {LandingModule} from '../landing-utils/landing.module'; |
|
6 |
import {ResultLandingModule} from '../resultLanding.module'; |
|
9 | 7 |
import {SoftwareComponent} from './software.component'; |
10 |
// import { SoftwareRoutingModule } from './software-routing.module'; |
|
11 |
import {MetricsModule} from '../landing-utils/metrics.module'; |
|
12 |
import {IFrameModule} from '../../utils/iframe.module'; |
|
13 |
import {AltMetricsModule} from '../../utils/altmetrics.module'; |
|
14 |
import {CiteThisModule} from '../landing-utils/citeThis/citeThis.module'; |
|
15 |
import {PagingModule} from '../../utils/paging.module'; |
|
16 | 8 |
|
17 |
import {ResultLandingModule} from '../landing-utils/resultLanding.module'; |
|
18 |
import {LandingModule} from '../landing-utils/landing.module'; |
|
19 |
import {FreeGuard} from '../../login/freeGuard.guard'; |
|
20 |
import {Schema2jsonldModule} from '../../sharedComponents/schema2jsonld/schema2jsonld.module'; |
|
21 |
import {SEOServiceModule} from '../../sharedComponents/SEO/SEOService.module'; |
|
22 |
import {ShowAuthorsModule} from "../../utils/authors/showAuthors.module"; |
|
23 |
import {DeletedByInferenceModule} from "../landing-utils/deletedByInference/deletedByInference.module"; |
|
24 |
import {HelperModule} from "../../utils/helper/helper.module"; |
|
25 |
|
|
26 | 9 |
@NgModule({ |
27 | 10 |
imports: [ |
28 |
CommonModule, FormsModule, LandingModule, RouterModule, CiteThisModule, PagingModule, |
|
29 |
ResultLandingModule, IFrameModule, MetricsModule, AltMetricsModule, Schema2jsonldModule, SEOServiceModule, |
|
30 |
ShowAuthorsModule, DeletedByInferenceModule, HelperModule |
|
11 |
SharedModule, LandingModule, ResultLandingModule |
|
31 | 12 |
], |
32 | 13 |
declarations: [ |
33 | 14 |
SoftwareComponent |
34 | 15 |
], |
35 | 16 |
providers:[ |
36 |
SoftwareService, FreeGuard |
|
17 |
//SoftwareService, |
|
18 |
FreeGuard, IsRouteEnabled |
|
37 | 19 |
], |
38 | 20 |
exports: [ |
39 | 21 |
SoftwareComponent |
Also available in: Unified diff
[mergeResultLandingPages | Library]:
1. Rename 'resultLanding.module' to 'resultLandingUtils.module'
2. Add property 'searchLinkToSoftwareLanding'
3. Add files: resultLandingInfo.ts, resultLanding.module.ts, resultLanding.component.ts, resultLanding.component.html for merging result landing pages (publication, dataset, software, orp)