Move Ei Card as part of EI coordinator module
[portal/nonrtric-controlpanel.git] / webapp-frontend / src / app / ei-coordinator / ei-coordinator.module.ts
1 /*-
2  * ========================LICENSE_START=================================
3  * O-RAN-SC
4  * %%
5  * Copyright (C) 2021 AT&T Intellectual Property
6  * Modifications Copyright (C) 2019 Nordix Foundation
7  * Modifications Copyright (C) 2020 Nordix Foundation
8  * %%
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  * ========================LICENSE_END===================================
21  */
22 import { NgModule } from '@angular/core';
23 import { CommonModule } from '@angular/common';
24 import { RouterModule, Routes } from '@angular/router';
25 import { EICoordinatorComponent } from './ei-coordinator.component';
26 import { ProducersListComponent } from './producers-list/producers-list.component';
27 import { JobsListComponent } from './jobs-list/jobs-list.component';
28 import { MatTableModule } from '@angular/material/table';
29 import { MatIconModule } from '@angular/material/icon';
30 import { MatInputModule } from '@angular/material/input';
31 import { FormsModule, ReactiveFormsModule } from '@angular/forms';
32 import { MatSortModule } from '@angular/material/sort';
33 import { MatButtonModule } from '@angular/material/button';
34 import { FlexLayoutModule } from '@angular/flex-layout';
35 import { EiCardComponent } from './ei-card/ei-card.component';
36
37
38 const routes: Routes = [
39   { path: 'ei-coordinator', component: EICoordinatorComponent }
40 ];
41
42 @NgModule({
43   declarations: [
44     EICoordinatorComponent,
45     ProducersListComponent,
46     JobsListComponent,
47     EiCardComponent
48   ],
49   imports: [
50     CommonModule,
51     FlexLayoutModule,
52     MatTableModule,
53     MatIconModule,
54     MatInputModule,
55     ReactiveFormsModule,
56     FormsModule,
57     MatSortModule,
58     MatButtonModule,
59     RouterModule.forChild(routes)
60   ],
61   exports: [
62     EICoordinatorComponent,
63     EiCardComponent
64   ]
65 })
66 export class EiCoordinatorModule { }