a09906ac50746676a2db7715791578fbb4ded0d2
[sdc/sdc-workflow-designer.git] / sdc-workflow-designer-ui / src / app / shared / shared.module.ts
1 /**
2  * Copyright (c) 2017 ZTE Corporation.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * and the Apache License 2.0 which both accompany this distribution,
6  * and are available at http://www.eclipse.org/legal/epl-v10.html
7  * and http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Contributors:
10  *     ZTE - initial API and implementation and/or initial documentation
11  */
12 import { CommonModule } from '@angular/common';
13 import { NgModule } from '@angular/core';
14 import { FormsModule, ReactiveFormsModule } from '@angular/forms';
15 import { HttpModule } from '@angular/http';
16 import { RouterModule } from '@angular/router';
17 import { RadioButtonModule } from 'primeng/primeng';
18 import { TreeModule } from 'primeng/primeng';
19 import { SplitButtonModule } from 'primeng/primeng';
20
21 const module = [
22     CommonModule,
23     FormsModule,
24     ReactiveFormsModule,
25     // HttpModule,
26     RouterModule,
27     RadioButtonModule,
28     SplitButtonModule,
29     TreeModule
30 ];
31
32 @NgModule({
33     imports: module,
34     exports: module,
35 })
36
37 export class SharedModule {
38 }