/******************************************************************************** | |
* Copyright (c) 2015-2018 Contributors to the Eclipse Foundation | |
* | |
* See the NOTICE file(s) distributed with this work for additional | |
* information regarding copyright ownership. | |
* | |
* This program and the accompanying materials are made available under the | |
* terms of the Eclipse Public License v. 2.0 which is available at | |
* http://www.eclipse.org/legal/epl-2.0. | |
* | |
* SPDX-License-Identifier: EPL-2.0 | |
* | |
********************************************************************************/ | |
import { NgModule } from '@angular/core'; | |
import { CommonModule } from '@angular/common'; | |
import { HttpModule } from '@angular/http'; | |
import { FormsModule } from '@angular/forms'; | |
import { Ng2BootstrapModule } from 'ngx-bootstrap'; | |
import { TypeaheadModule } from 'ngx-bootstrap'; | |
import { DatepickerModule } from 'ngx-bootstrap'; | |
import { TabsModule } from 'ngx-bootstrap/tabs'; | |
import { PositioningService } from 'ngx-bootstrap/positioning'; | |
import { ComponentLoaderFactory } from 'ngx-bootstrap/component-loader'; | |
import { TreeModule, DataTableModule, SharedModule, ContextMenuModule, GrowlModule, MultiSelectModule } from 'primeng/primeng'; | |
import { PropertyService } from './property.service'; | |
import { PreferenceService } from './preference.service'; | |
import { MDMNotificationComponent } from './mdm-notification.component'; | |
import { OverwriteDialogComponent } from './overwrite-dialog.component'; | |
import { TranslationPipe } from '../localization/translation.pipe'; | |
@NgModule({ | |
imports: [ | |
HttpModule, | |
FormsModule, | |
CommonModule, | |
Ng2BootstrapModule, | |
TabsModule.forRoot(), | |
TypeaheadModule.forRoot(), | |
DatepickerModule.forRoot(), | |
TreeModule, | |
DataTableModule, | |
SharedModule, | |
ContextMenuModule, | |
MultiSelectModule, | |
GrowlModule | |
], | |
declarations: [ | |
MDMNotificationComponent, | |
OverwriteDialogComponent, | |
TranslationPipe | |
], | |
exports: [ | |
CommonModule, | |
FormsModule, | |
Ng2BootstrapModule, | |
MultiSelectModule, | |
TreeModule, | |
DataTableModule, | |
SharedModule, | |
ContextMenuModule, | |
GrowlModule, | |
MDMNotificationComponent, | |
OverwriteDialogComponent, | |
TranslationPipe | |
], | |
providers: [ | |
PositioningService, | |
ComponentLoaderFactory, | |
PropertyService, | |
PreferenceService | |
], | |
}) | |
export class MDMCoreModule { } |