2019-06-05 15:39:02 +02:00
|
|
|
import {NgModule} from '@angular/core';
|
|
|
|
import {CommonModule} from '@angular/common';
|
|
|
|
import {FormsModule} from '@angular/forms';
|
|
|
|
import {RouterModule} from '@angular/router';
|
|
|
|
import {CommunityComponent} from './community.component';
|
2018-03-06 14:54:17 +01:00
|
|
|
import {ResultsComponent} from '../searchEntries/results/results.component';
|
2018-02-20 12:13:44 +01:00
|
|
|
|
2018-02-15 12:12:55 +01:00
|
|
|
import {PiwikService} from '../openaireLibrary/utils/piwik/piwik.service';
|
2018-03-12 17:34:48 +01:00
|
|
|
import {CommunityService} from '../openaireLibrary/connect/community/community.service';
|
2018-01-26 16:00:07 +01:00
|
|
|
|
2018-02-15 12:12:55 +01:00
|
|
|
import {FreeGuard} from '../openaireLibrary/login/freeGuard.guard';
|
|
|
|
import {PreviousRouteRecorder} from '../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
2018-03-06 13:35:29 +01:00
|
|
|
import {SubscribeModule} from '../utils/subscribe/subscribe.module';
|
2018-11-09 16:46:15 +01:00
|
|
|
import {InviteModule} from '../utils/subscribe/invite/invite.module';
|
2019-04-08 16:56:09 +02:00
|
|
|
import {ManageModule} from '../openaireLibrary/utils/manage/manage.module';
|
2018-04-03 14:38:28 +02:00
|
|
|
|
2018-03-19 15:48:13 +01:00
|
|
|
import {StatisticsModule} from "../statistics/statistics.module";
|
2018-11-26 14:07:58 +01:00
|
|
|
import {SearchZenodoCommunitiesServiceModule} from '../openaireLibrary/connect/zenodoCommunities/searchZenodoCommunitiesService.module';
|
|
|
|
import {ZenodoCommunitiesServiceModule} from '../openaireLibrary/connect/zenodoCommunities/zenodo-communitiesService.module';
|
2019-06-05 15:39:02 +02:00
|
|
|
import {SearchFormModule} from '../openaireLibrary/searchPages/searchUtils/searchForm.module';
|
|
|
|
import {SearchDataprovidersServiceModule} from "../openaireLibrary/connect/contentProviders/searchDataprovidersService.module";
|
|
|
|
import {SearchProjectsServiceModule} from '../openaireLibrary/connect/projects/searchProjectsService.module';
|
|
|
|
import {SearchResearchResultsServiceModule} from "../openaireLibrary/services/searchResearchResultsService.module";
|
|
|
|
import {SearchResultsModule} from "../openaireLibrary/searchPages/searchUtils/searchResults.module";
|
2019-06-08 19:24:03 +02:00
|
|
|
import {CuratorsModule} from "../curators/curators.module";
|
2019-06-07 15:03:33 +02:00
|
|
|
import {AffiliationsModule} from "../affiliations/affiliations.module";
|
2019-08-02 16:56:03 +02:00
|
|
|
import {Schema2jsonldModule} from "../openaireLibrary/sharedComponents/schema2jsonld/schema2jsonld.module";
|
|
|
|
import {SEOServiceModule} from "../openaireLibrary/sharedComponents/SEO/SEOService.module";
|
2019-08-02 10:20:54 +02:00
|
|
|
import {MatSelectModule} from "@angular/material";
|
2018-01-26 16:00:07 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
CommonModule, FormsModule, RouterModule,
|
2018-11-26 14:07:58 +01:00
|
|
|
SubscribeModule, StatisticsModule, ManageModule, InviteModule,
|
2019-06-05 15:39:02 +02:00
|
|
|
SearchZenodoCommunitiesServiceModule, ZenodoCommunitiesServiceModule, SearchFormModule, SearchDataprovidersServiceModule, SearchProjectsServiceModule,
|
2019-08-02 16:56:03 +02:00
|
|
|
SearchResearchResultsServiceModule, SearchResultsModule, CuratorsModule, AffiliationsModule,
|
|
|
|
Schema2jsonldModule, SEOServiceModule, MatSelectModule
|
2018-01-26 16:00:07 +01:00
|
|
|
],
|
|
|
|
declarations: [
|
2018-02-20 12:13:44 +01:00
|
|
|
CommunityComponent, ResultsComponent
|
2018-04-11 12:14:41 +02:00
|
|
|
],
|
2018-01-26 16:00:07 +01:00
|
|
|
providers:[
|
2019-04-24 14:02:11 +02:00
|
|
|
FreeGuard, PreviousRouteRecorder,
|
2019-06-05 15:39:02 +02:00
|
|
|
PiwikService, CommunityService
|
2018-04-11 12:14:41 +02:00
|
|
|
],
|
2018-01-26 16:00:07 +01:00
|
|
|
exports: [
|
|
|
|
CommunityComponent
|
2018-04-11 12:14:41 +02:00
|
|
|
]
|
2018-01-26 16:00:07 +01:00
|
|
|
})
|
|
|
|
export class CommunityModule { }
|