2017-09-22 12:26:08 +02:00
|
|
|
/**
|
|
|
|
* Created by stefania on 9/16/16.
|
|
|
|
*/
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { HttpModule, JsonpModule } from '@angular/http';
|
|
|
|
import { AppComponent } from "./app.component";
|
|
|
|
import { routing, appRoutingProviders } from "./app.routing";
|
|
|
|
import { DashboardComponent } from "./dashboard.component";
|
|
|
|
import { TopicsComponent } from "./pages/faq/topics.components";
|
|
|
|
import { QuestionsComponent } from "./pages/faq/questions.component";
|
|
|
|
import { FAQService } from "./services/faq.service";
|
|
|
|
import { ModalModule } from 'ngx-bootstrap';
|
2018-01-04 16:56:22 +01:00
|
|
|
//import { CollapseModule } from 'ngx-bootstrap';
|
|
|
|
//import { AccordionModule } from 'ngx-bootstrap';
|
2017-09-22 12:26:08 +02:00
|
|
|
import { TopicsFormComponent } from "./pages/faq/topics-form.component";
|
|
|
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
|
|
import { ModalFormComponent } from "./pages/modal-form.component";
|
|
|
|
import { QuestionsFormComponent } from "./pages/faq/questions-form.component";
|
|
|
|
import { DeleteConfirmationDialogComponent } from "./pages/delete-confirmation-dialog.component";
|
2018-01-11 16:21:58 +01:00
|
|
|
// import { JWBootstrapSwitchModule } from 'jw-bootstrap-switch-ng2';
|
2018-02-06 15:10:07 +01:00
|
|
|
import { PagesComponent } from "./pages/page/pages.component";
|
2017-09-22 12:26:08 +02:00
|
|
|
import { HelpContentService } from "./services/help-content.service";
|
2018-02-06 15:10:07 +01:00
|
|
|
import { PageFormComponent } from "./pages/page/page-form.component";
|
2017-09-22 12:26:08 +02:00
|
|
|
import { PageHelpContentsComponent } from "./pages/helpcontent/page-help-contents.component";
|
|
|
|
import { NewPageHelpContentComponent } from "./pages/helpcontent/new-page-help-content.component";
|
|
|
|
import { CKEditorModule } from 'ng2-ckeditor';
|
|
|
|
import { PageContentFormComponent } from "./pages/helpcontent/page-help-content-form.component";
|
|
|
|
import { EditPageHelpContentComponent } from "./pages/helpcontent/edit-page-help-content.component";
|
2017-12-20 15:26:30 +01:00
|
|
|
import { CommunitiesComponent } from './pages/community/communities.component';
|
|
|
|
import { CommunityFormComponent } from './pages/community/community-form.component';
|
2018-02-06 15:10:07 +01:00
|
|
|
import { EntitiesComponent } from "./pages/entity/entities.component";
|
|
|
|
import { EntityFormComponent } from "./pages/entity/entity-form.component";
|
2018-02-06 12:06:43 +01:00
|
|
|
import { DivIdsComponent } from "./pages/divId/divIds.component";
|
|
|
|
import { DivIdFormComponent } from "./pages/divId/divId-form.component";
|
|
|
|
import { DivHelpContentsComponent } from "./pages/divhelpcontent/div-help-contents.component";
|
|
|
|
import { NewDivHelpContentComponent } from "./pages/divhelpcontent/new-div-help-content.component";
|
|
|
|
import { DivContentFormComponent } from "./pages/divhelpcontent/div-help-content-form.component";
|
|
|
|
import { EditDivHelpContentComponent } from "./pages/divhelpcontent/edit-div-help-content.component";
|
2018-02-12 12:43:08 +01:00
|
|
|
import {ClaimsComponent} from './pages/claims/claims.component';
|
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 {Meta} from './openaireLibrary/sharedComponents/metaService';
|
|
|
|
|
|
|
|
import {BottomModule} from './openaireLibrary/sharedComponents/bottom.module';
|
|
|
|
import {FeedbackModule} from './openaireLibrary/sharedComponents/feedback/feedback.module';
|
2018-03-07 14:16:38 +01:00
|
|
|
import {CommunityEditFormModule} from './pages/community/community-edit-form/community-edit-form.module';
|
|
|
|
|
2018-02-15 12:30:50 +01:00
|
|
|
import {FreeGuard} from './openaireLibrary/login/freeGuard.guard';
|
|
|
|
import { AdminLoginGuard} from './openaireLibrary/login/adminLoginGuard.guard';
|
2018-03-06 16:36:33 +01:00
|
|
|
import { ConnectAdminLoginGuard} from './openaireLibrary/login/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-03-07 14:16:38 +01:00
|
|
|
import {ClaimsAdminModule} from './openaireLibrary/claims/claimsAdmin/claimsAdmin.module';
|
2018-03-05 17:10:19 +01:00
|
|
|
import {StatsComponent} from "./pages/stats/stats.component";
|
2018-01-11 16:21:58 +01:00
|
|
|
//, , ErrorModule CookieLawModule
|
2017-09-22 12:26:08 +02:00
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
BrowserModule,
|
|
|
|
routing,
|
|
|
|
HttpModule,
|
|
|
|
JsonpModule,
|
|
|
|
ModalModule.forRoot(),
|
2018-01-04 16:56:22 +01:00
|
|
|
//CollapseModule.forRoot(),
|
|
|
|
//AccordionModule.forRoot(),
|
2017-09-22 12:26:08 +02:00
|
|
|
FormsModule,
|
|
|
|
ReactiveFormsModule,
|
2018-01-11 16:21:58 +01:00
|
|
|
// JWBootstrapSwitchModule,
|
|
|
|
CKEditorModule,
|
2018-03-07 14:16:38 +01:00
|
|
|
BottomModule, FeedbackModule, NavigationBarModule, CookieLawModule, ClaimsAdminModule,
|
|
|
|
CommunityEditFormModule,
|
2018-01-11 16:21:58 +01:00
|
|
|
// , CookieLawModule, ErrorModule
|
2017-09-22 12:26:08 +02:00
|
|
|
],
|
|
|
|
declarations: [
|
|
|
|
AppComponent,
|
|
|
|
DashboardComponent,
|
|
|
|
TopicsComponent,
|
|
|
|
QuestionsComponent,
|
|
|
|
TopicsFormComponent,
|
|
|
|
ModalFormComponent,
|
|
|
|
QuestionsFormComponent,
|
|
|
|
DeleteConfirmationDialogComponent,
|
|
|
|
PagesComponent,
|
|
|
|
PageFormComponent,
|
|
|
|
PageHelpContentsComponent,
|
|
|
|
NewPageHelpContentComponent,
|
|
|
|
PageContentFormComponent,
|
2017-12-13 12:15:19 +01:00
|
|
|
EditPageHelpContentComponent,
|
2017-12-20 15:26:30 +01:00
|
|
|
CommunitiesComponent,
|
|
|
|
CommunityFormComponent,
|
|
|
|
EntitiesComponent,
|
2018-02-06 12:06:43 +01:00
|
|
|
EntityFormComponent,
|
|
|
|
DivIdsComponent,
|
|
|
|
DivIdFormComponent,
|
|
|
|
DivHelpContentsComponent,
|
|
|
|
NewDivHelpContentComponent,
|
|
|
|
EditDivHelpContentComponent,
|
2018-02-12 12:43:08 +01:00
|
|
|
DivContentFormComponent,
|
2018-03-05 17:10:19 +01:00
|
|
|
ClaimsComponent,
|
|
|
|
StatsComponent
|
2017-09-22 12:26:08 +02:00
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
FAQService,
|
|
|
|
HelpContentService,
|
2018-02-06 12:35:16 +01:00
|
|
|
appRoutingProviders,
|
2018-03-06 16:36:33 +01:00
|
|
|
FreeGuard, AdminLoginGuard,ConnectAdminLoginGuard,
|
|
|
|
EnvironmentSpecificResolver,EnvironmentSpecificService, Meta
|
2017-09-22 12:26:08 +02:00
|
|
|
],
|
|
|
|
bootstrap: [ AppComponent ]
|
|
|
|
})
|
|
|
|
|
2017-12-13 12:15:19 +01:00
|
|
|
export class AppModule { }
|