2017-09-22 12:26:08 +02:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { HttpModule, JsonpModule } from '@angular/http';
|
2019-03-04 15:32:58 +01:00
|
|
|
import { AppComponent } from './app.component';
|
2019-03-07 16:43:10 +01:00
|
|
|
import { AppRoutingModule} from './app.routing';
|
2019-03-08 14:10:29 +01:00
|
|
|
import { TopicsComponent } from './pages/faq/topics.components';
|
|
|
|
import { QuestionsComponent } from './pages/faq/questions.component';
|
2017-09-22 12:26:08 +02:00
|
|
|
import { ModalModule } from 'ngx-bootstrap';
|
2019-03-08 14:10:29 +01:00
|
|
|
import { TopicsFormComponent } from './pages/faq/topics-form.component';
|
2017-09-22 12:26:08 +02:00
|
|
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
2019-03-08 14:10:29 +01:00
|
|
|
import { ModalFormComponent } from './pages/modal-form.component';
|
|
|
|
import { QuestionsFormComponent } from './pages/faq/questions-form.component';
|
|
|
|
import { DeleteConfirmationDialogComponent } from './pages/delete-confirmation-dialog.component';
|
2018-10-30 16:31:16 +01:00
|
|
|
|
2019-03-08 14:10:29 +01:00
|
|
|
import { HelpContentService } from './services/help-content.service';
|
2018-02-06 12:06:43 +01:00
|
|
|
|
2018-02-15 12:30:50 +01:00
|
|
|
import {NavigationBarModule} from './openaireLibrary/sharedComponents/navigationBar.module';
|
|
|
|
import { CookieLawModule } from './openaireLibrary/sharedComponents/cookie-law/cookie-law.module';
|
|
|
|
|
|
|
|
import {BottomModule} from './openaireLibrary/sharedComponents/bottom.module';
|
|
|
|
import {FeedbackModule} from './openaireLibrary/sharedComponents/feedback/feedback.module';
|
2018-10-30 16:31:16 +01:00
|
|
|
import { ConnectAdminLoginGuard} from './openaireLibrary/connect/communityGuard/connectAdminLoginGuard.guard';
|
2018-02-15 12:30:50 +01:00
|
|
|
import { EnvironmentSpecificResolver} from './openaireLibrary/utils/properties/environmentSpecificResolver';
|
|
|
|
import { EnvironmentSpecificService} from './openaireLibrary/utils/properties/environment-specific.service';
|
2018-10-30 16:31:16 +01:00
|
|
|
|
2019-03-04 15:32:58 +01:00
|
|
|
import {CommunitiesService} from './openaireLibrary/connect/communities/communities.service';
|
|
|
|
import {CommunityErrorPageComponent} from './openaireLibrary/connect/communityGuard/communityErrorPage.component';
|
2018-10-30 16:31:16 +01:00
|
|
|
import {IsCommunity} from './openaireLibrary/connect/communityGuard/isCommunity.guard';
|
|
|
|
import {AdminErrorPageComponent} from './pages/error/errorPage.component';
|
|
|
|
import {ErrorModule} from './openaireLibrary/error/error.module';
|
2019-03-04 15:32:58 +01:00
|
|
|
import {TitleCasePipe} from '@angular/common';
|
2018-10-30 16:31:16 +01:00
|
|
|
|
|
|
|
import {AlertModalModule} from './openaireLibrary/utils/modal/alertModal.module';
|
|
|
|
import {FABModule} from './utils/fabModule.module';
|
|
|
|
import {SafeHtmlPipeModule} from './openaireLibrary/utils/pipes/safeHTMLPipe.module';
|
2019-03-04 15:32:58 +01:00
|
|
|
import {InteractiveMiningModule} from 'interactiveminingv3';
|
2019-03-07 16:43:10 +01:00
|
|
|
import {CommunityService} from './openaireLibrary/connect/community/community.service';
|
|
|
|
import {SubscribeService} from './openaireLibrary/utils/subscribe/subscribe.service';
|
|
|
|
import { FAQService } from './services/faq.service';
|
|
|
|
import {ConnectRIGuard} from './openaireLibrary/connect/communityGuard/connectRIGuard.guard';
|
2018-10-30 16:31:16 +01:00
|
|
|
|
2017-09-22 12:26:08 +02:00
|
|
|
@NgModule({
|
|
|
|
imports: [
|
2019-03-07 16:43:10 +01:00
|
|
|
AppRoutingModule,
|
2017-09-22 12:26:08 +02:00
|
|
|
BrowserModule,
|
|
|
|
HttpModule,
|
|
|
|
JsonpModule,
|
|
|
|
ModalModule.forRoot(),
|
|
|
|
FormsModule,
|
|
|
|
ReactiveFormsModule,
|
2019-03-08 14:10:29 +01:00
|
|
|
BottomModule, FeedbackModule, NavigationBarModule, CookieLawModule,
|
2018-10-30 16:31:16 +01:00
|
|
|
ErrorModule,
|
|
|
|
AlertModalModule, SafeHtmlPipeModule, FABModule,
|
2019-03-07 16:43:10 +01:00
|
|
|
InteractiveMiningModule
|
2017-09-22 12:26:08 +02:00
|
|
|
],
|
|
|
|
declarations: [
|
|
|
|
AppComponent,
|
|
|
|
TopicsComponent,
|
|
|
|
QuestionsComponent,
|
|
|
|
TopicsFormComponent,
|
|
|
|
ModalFormComponent,
|
|
|
|
QuestionsFormComponent,
|
|
|
|
DeleteConfirmationDialogComponent,
|
2018-10-30 16:31:16 +01:00
|
|
|
CommunityErrorPageComponent,
|
2019-03-04 15:32:58 +01:00
|
|
|
AdminErrorPageComponent
|
2017-09-22 12:26:08 +02:00
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
FAQService,
|
2019-03-07 16:43:10 +01:00
|
|
|
HelpContentService, CommunityService, SubscribeService,
|
|
|
|
ConnectAdminLoginGuard,
|
2019-03-04 15:32:58 +01:00
|
|
|
EnvironmentSpecificResolver, EnvironmentSpecificService,
|
2019-03-08 14:10:29 +01:00
|
|
|
IsCommunity, ConnectRIGuard, CommunitiesService, TitleCasePipe
|
2018-10-30 16:31:16 +01:00
|
|
|
|
2017-09-22 12:26:08 +02:00
|
|
|
],
|
|
|
|
bootstrap: [ AppComponent ]
|
|
|
|
})
|
|
|
|
|
2017-12-13 12:15:19 +01:00
|
|
|
export class AppModule { }
|