import {CommonModule} from "@angular/common";
import {NgModule} from "@angular/core";
import {FormsModule} from "@angular/forms";
import {RouterModule} from "@angular/router";
import {PreviousRouteRecorder} from "../openaireLibrary/utils/piwik/previousRouteRecorder.guard";
import {BreadcrumbsModule} from "../openaireLibrary/utils/breadcrumbs/breadcrumbs.module";
import {RefineFieldResultsServiceModule} from "../openaireLibrary/services/refineFieldResultsService.module";
import {LoadingModule} from "../openaireLibrary/utils/loading/loading.module";
import {Schema2jsonldModule} from "../openaireLibrary/sharedComponents/schema2jsonld/schema2jsonld.module";
import {SEOServiceModule} from "../openaireLibrary/sharedComponents/SEO/SEOService.module";
import {PiwikService} from "../openaireLibrary/utils/piwik/piwik.service";

import {SdgRoutingModule} from './sdg-routing.module';
import {SdgComponent} from './sdg.component';

@NgModule({
	imports: [
		CommonModule, FormsModule, RouterModule,
		SdgRoutingModule, BreadcrumbsModule, RefineFieldResultsServiceModule,
		LoadingModule, Schema2jsonldModule, SEOServiceModule
	],
	declarations: [
		SdgComponent
	],
	providers: [
		PreviousRouteRecorder, PiwikService
	],
	exports: [
		SdgComponent
	]
})
export class SdgModule {

}