2018-10-30 16:31:16 +01:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
2019-06-03 16:52:33 +02:00
|
|
|
import { HttpClientModule } from '@angular/common/http';
|
2018-10-30 16:31:16 +01:00
|
|
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
|
|
import { RouterModule } from '@angular/router';
|
|
|
|
|
|
|
|
import { CKEditorModule } from 'ng2-ckeditor';
|
|
|
|
|
2019-03-08 14:10:29 +01:00
|
|
|
import {ErrorMessagesModule} from '../../openaireLibrary/utils/errorMessages.module';
|
2018-10-30 16:31:16 +01:00
|
|
|
import {AlertModalModule} from '../../openaireLibrary/utils/modal/alertModal.module';
|
|
|
|
import {SafeHtmlPipeModule} from '../../openaireLibrary/utils/pipes/safeHTMLPipe.module';
|
|
|
|
|
2019-03-08 14:10:29 +01:00
|
|
|
import { HtmlPageContentFormComponent } from './html-page-content-form.component';
|
|
|
|
import { EditHtmlPageContentComponent } from './edit-htmlpage-content.component';
|
|
|
|
import { HtmlPageContentService } from './html-page-content.service';
|
|
|
|
import {EditHtmlPageContentRoutingModule} from './edit-html-page-content-routing.module';
|
|
|
|
import {CommonModule} from '@angular/common';
|
2018-10-30 16:31:16 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
2019-03-08 14:10:29 +01:00
|
|
|
CommonModule,
|
2019-06-03 16:52:33 +02:00
|
|
|
HttpClientModule,
|
2018-10-30 16:31:16 +01:00
|
|
|
FormsModule,
|
|
|
|
ReactiveFormsModule,
|
|
|
|
RouterModule,
|
|
|
|
CKEditorModule,
|
|
|
|
ErrorMessagesModule,
|
|
|
|
AlertModalModule,
|
2019-03-08 14:10:29 +01:00
|
|
|
SafeHtmlPipeModule,
|
|
|
|
EditHtmlPageContentRoutingModule
|
2018-10-30 16:31:16 +01:00
|
|
|
],
|
|
|
|
declarations: [
|
|
|
|
HtmlPageContentFormComponent,
|
|
|
|
EditHtmlPageContentComponent,
|
|
|
|
],
|
|
|
|
providers: [
|
2019-03-08 14:10:29 +01:00
|
|
|
HtmlPageContentService
|
|
|
|
],
|
|
|
|
exports: [EditHtmlPageContentComponent]
|
2018-10-30 16:31:16 +01:00
|
|
|
})
|
|
|
|
|
2019-03-08 14:10:29 +01:00
|
|
|
export class EditHtmlPageContentModule { }
|