c9162d91e9f08d56b05aa9395a4167d0abc40e68
[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 { 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 import { MatPaginatorModule } from '@angular/material/paginator';
37 import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
38 import { MatTooltipModule } from '@angular/material/tooltip';
39
40
41 const routes: Routes = [
42   { path: 'ei-coordinator', component: EICoordinatorComponent }
43 ];
44
45 @NgModule({
46   declarations: [
47     EICoordinatorComponent,
48     ProducersListComponent,
49     JobsListComponent,
50     EiCardComponent
51   ],
52   imports: [
53     CommonModule,
54     FlexLayoutModule,
55     MatTableModule,
56     MatIconModule,
57     MatInputModule,
58     ReactiveFormsModule,
59     MatSortModule,
60     MatPaginatorModule,
61     MatButtonModule,
62     MatProgressSpinnerModule,
63     MatTooltipModule,
64     RouterModule.forChild(routes)
65   ],
66   exports: [
67     EICoordinatorComponent,
68     EiCardComponent
69   ]
70 })
71 export class EiCoordinatorModule { }