2b25ae339a69a2dbe73894875216d63e4fd5b777
[ccsdk/cds.git] / cds-ui / client / src / app / feature-modules / resource-definition / resource-edit / resource-edit.module.ts
1 /*
2 * ============LICENSE_START=======================================================
3 * ONAP : CDS
4 * ================================================================================
5 * Copyright (C) 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 { ResourceEditComponent } from './resource-edit.component';
25 import { ResourceEditRoutingModule } from './resource-edit-routing.module';
26 import { MatExpansionModule,MatToolbarModule,MatIconModule, MatButtonModule, MatSidenavModule,  MatCheckboxModule, MatListModule, MatGridListModule, MatCardModule, MatMenuModule, MatTableModule, MatPaginatorModule, MatSortModule, MatInputModule, MatSelectModule, MatRadioModule, MatFormFieldModule, MatStepperModule} from '@angular/material';
27 import { FormsModule,ReactiveFormsModule } from '@angular/forms';
28 import { SharedModule } from '../../../../app/common/shared/shared.module';
29 import { SourcesTemplateComponent } from './sources-template/sources-template.component';
30 import { ResourceMetadataComponent } from './resource-metadata/resource-metadata.component';
31 import { DragDropModule } from '@angular/cdk/drag-drop';
32 import { NgJsonEditorModule } from 'ang-jsoneditor';
33
34 @NgModule({
35   declarations: [ ResourceEditComponent,SourcesTemplateComponent,ResourceMetadataComponent ],
36   imports: [
37    CommonModule,
38    ResourceEditRoutingModule,
39    SharedModule,
40    FormsModule,ReactiveFormsModule,
41    DragDropModule,
42    MatExpansionModule,MatToolbarModule,MatIconModule, MatButtonModule, MatSidenavModule,  MatCheckboxModule, MatListModule, MatGridListModule, MatCardModule, MatMenuModule, MatTableModule, MatPaginatorModule, MatSortModule, MatInputModule, MatSelectModule, MatRadioModule, MatFormFieldModule, MatStepperModule,
43    NgJsonEditorModule
44   ],
45   exports: [ ResourceEditComponent,SharedModule ]
46 })
47 export class ResourceEditModule { }