2017-12-19 13:53:46 +01:00
|
|
|
import { NgModule} from '@angular/core';
|
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
import { FormsModule } from '@angular/forms';
|
|
|
|
import { RouterModule } from '@angular/router';
|
|
|
|
|
|
|
|
// import{MainSearchRoutingModule} from './mainSearch-routing.module';
|
|
|
|
import{SearchComponent} from './search.component';
|
|
|
|
|
|
|
|
import {SearchResultsModule } from '../searchUtils/searchResults.module';
|
|
|
|
|
|
|
|
import {DataProvidersServiceModule} from '../../services/dataProvidersService.module';
|
|
|
|
import {DatasetsServiceModule} from '../../services/datasetsService.module';
|
|
|
|
import {SoftwareServiceModule} from '../../services/softwareService.module';
|
2018-07-25 15:27:22 +02:00
|
|
|
import {OrpsServiceModule} from '../../services/orpsService.module';
|
2017-12-19 13:53:46 +01:00
|
|
|
import {ProjectsServiceModule} from '../../services/projectsService.module';
|
|
|
|
import {PublicationsServiceModule} from '../../services/publicationsService.module';
|
|
|
|
import {OrganizationsServiceModule} from '../../services/organizationsService.module';
|
|
|
|
import {BrowseEntitiesModule} from '../searchUtils/browseEntities.module';
|
|
|
|
import {SearchFormModule} from '../searchUtils/searchForm.module';
|
2018-11-12 16:36:20 +01:00
|
|
|
import {Schema2jsonldModule} from '../../sharedComponents/schema2jsonld/schema2jsonld.module';
|
2018-07-25 15:27:22 +02:00
|
|
|
|
2017-12-19 13:53:46 +01:00
|
|
|
import {PiwikServiceModule} from '../../utils/piwik/piwikService.module';
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
CommonModule, FormsModule, RouterModule,
|
2018-07-25 15:27:22 +02:00
|
|
|
DataProvidersServiceModule, DatasetsServiceModule, SoftwareServiceModule, OrpsServiceModule, ProjectsServiceModule,
|
2017-12-19 13:53:46 +01:00
|
|
|
PublicationsServiceModule, OrganizationsServiceModule,
|
2018-11-12 16:36:20 +01:00
|
|
|
BrowseEntitiesModule, SearchFormModule, SearchResultsModule, PiwikServiceModule, Schema2jsonldModule
|
2017-12-19 13:53:46 +01:00
|
|
|
|
|
|
|
],
|
|
|
|
declarations: [
|
|
|
|
SearchComponent
|
|
|
|
],
|
|
|
|
providers:[
|
|
|
|
//FreeGuard, PreviousRouteRecorder
|
|
|
|
],
|
|
|
|
exports: [
|
|
|
|
SearchComponent
|
|
|
|
]
|
|
|
|
})
|
|
|
|
export class MainSearchModule { }
|