5ad98bfaecb6093252e35a0014f0071afef578be
[ccsdk/cds.git] /
1 /*
2 * ============LICENSE_START=======================================================
3 * ONAP : CDS
4 * ================================================================================
5 * Copyright 2019 TechMahindra
6 *=================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 *     http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
19 */
20
21 import { NgModule } from '@angular/core';
22 import { CommonModule } from '@angular/common';
23
24 import { ResourceCreationRoutingModule } from './resource-creation-routing.module';
25 import { ResourceCreationComponent } from './resource-creation.component';
26 import { ResourceTemplateOptionsComponent } from './resource-template-options/resource-template-options.component';
27 import { MatAutocompleteModule,MatToolbarModule,MatIconModule, MatButtonModule, MatSidenavModule,  MatCheckboxModule, MatListModule, MatGridListModule, MatCardModule, MatMenuModule, MatTableModule, MatPaginatorModule, MatSortModule, MatInputModule, MatSelectModule, MatRadioModule, MatFormFieldModule, MatStepperModule} from '@angular/material';
28 import { UploadResourceComponent } from './upload-resource/upload-resource.component';
29 import { NewTemplateComponent } from './new-template/new-template.component';
30 import { ExistingModelComponent } from './existing-model/existing-model.component';
31 import { SearchResourceComponent } from './existing-model/search-resource/search-resource.component';
32 import { SharedModule } from '../../../../app/common/shared/shared.module';
33 import { FormsModule,ReactiveFormsModule } from '@angular/forms';
34
35 import { ExsistingModelService } from './existing-model/exsisting-model.service';
36
37 @NgModule({
38     
39  declarations: [
40     ResourceCreationComponent,
41     ResourceTemplateOptionsComponent,
42     UploadResourceComponent,
43     NewTemplateComponent,
44     ExistingModelComponent,
45     SearchResourceComponent,
46     
47   ],
48   exports: [
49     ResourceCreationComponent,
50     ResourceTemplateOptionsComponent,
51     UploadResourceComponent,
52     NewTemplateComponent,
53     ExistingModelComponent,
54     SearchResourceComponent,
55     SharedModule
56   ],
57   imports: [
58     CommonModule,
59     SharedModule,
60     FormsModule,
61     ReactiveFormsModule,
62     ResourceCreationRoutingModule,
63     MatToolbarModule,
64     MatIconModule, 
65     MatButtonModule, 
66     MatSidenavModule,  
67     MatCheckboxModule, 
68     MatListModule, 
69     MatGridListModule, 
70     MatCardModule, 
71     MatMenuModule, 
72     MatTableModule, 
73     MatPaginatorModule, 
74     MatSortModule, 
75     MatInputModule, 
76     MatSelectModule, 
77     MatRadioModule, 
78     MatFormFieldModule, 
79     MatStepperModule,
80     MatAutocompleteModule
81     ],
82   providers: [ ExsistingModelService ]
83 })
84 export class ResourceCreationModule { }