added svcapi ui and camunda code
[it/otf.git] / otf-frontend / client / src / app / layout / onboarding / create-test / create-test.module.ts
1 /*  Copyright (c) 2019 AT&T Intellectual Property.                             #\r
2 #                                                                              #\r
3 #   Licensed under the Apache License, Version 2.0 (the "License");            #\r
4 #   you may not use this file except in compliance with the License.           #\r
5 #   You may obtain a copy of the License at                                    #\r
6 #                                                                              #\r
7 #       http://www.apache.org/licenses/LICENSE-2.0                             #\r
8 #                                                                              #\r
9 #   Unless required by applicable law or agreed to in writing, software        #\r
10 #   distributed under the License is distributed on an "AS IS" BASIS,          #\r
11 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #\r
12 #   See the License for the specific language governing permissions and        #\r
13 #   limitations under the License.                                             #\r
14 ##############################################################################*/\r
15 \r
16 \r
17 import { NgModule } from '@angular/core';\r
18 import { CommonModule } from '@angular/common';\r
19 \r
20 import { CreateTestRoutingModule } from './create-test-routing.module';\r
21 import { CreateTestComponent } from './create-test.component';\r
22 import { PageHeaderModule } from '../../../shared';\r
23 import { PERFECT_SCROLLBAR_CONFIG, PerfectScrollbarConfigInterface } from 'ngx-perfect-scrollbar';\r
24 import { FilterPipeModule } from 'ngx-filter-pipe';\r
25 import { FormsModule } from '@angular/forms';\r
26 import { MatCheckboxModule } from '@angular/material/checkbox';\r
27 import { MatRadioModule } from '@angular/material/radio';\r
28 import { MatInputModule } from '@angular/material/input';\r
29 import { MatIconModule } from '@angular/material/icon';\r
30 import { MatButtonModule, MatDialogModule, MAT_DIALOG_DEFAULT_OPTIONS, MAT_CHECKBOX_CLICK_ACTION, MatCardModule } from '@angular/material';\r
31 import { CreateTestFormModule } from '../../../shared/modules/create-test-form/create-test-form.module';\r
32 \r
33 const DEFAULT_PERFECT_SCROLLBAR_CONFIG: PerfectScrollbarConfigInterface = {\r
34   suppressScrollY: true\r
35 };\r
36 \r
37 @NgModule({\r
38   imports: [\r
39     CommonModule,\r
40     CreateTestRoutingModule,\r
41     CreateTestFormModule,\r
42     PageHeaderModule,\r
43     FilterPipeModule,\r
44     FormsModule,\r
45     MatButtonModule,\r
46     MatDialogModule,\r
47     MatCheckboxModule,\r
48     MatRadioModule,\r
49     MatInputModule,\r
50     MatIconModule,\r
51     CreateTestFormModule,\r
52     MatCardModule\r
53   ],\r
54   declarations: [CreateTestComponent],\r
55   providers: [\r
56     {provide: PERFECT_SCROLLBAR_CONFIG, useValue: DEFAULT_PERFECT_SCROLLBAR_CONFIG},\r
57     {provide: MAT_DIALOG_DEFAULT_OPTIONS, useValue: {hasBackdrop: true}},\r
58     {provide: MAT_CHECKBOX_CLICK_ACTION, useValue: 'check'}\r
59   ]\r
60 })\r
61 export class CreateTestModule { }\r