-
Notifications
You must be signed in to change notification settings - Fork 95
/
gadget.module.ts
142 lines (133 loc) · 5.37 KB
/
gadget.module.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {CPUGadgetComponent} from './cpu/cpu-gadget.component';
import {CPUMGadgetComponent} from './cpum/cpum-gadget.component';
import {DiskGadgetComponent} from './disk/disk-gadget.component';
import {MemoryGadgetComponent} from './memory/memory-gadget.component';
import {EdgeServiceListGadgetComponent} from './edge-service-list/edge-service-list-gadget.component';
import {StatisticGadgetComponent} from './statistic/statistic-gadget.component';
import {TrendGadgetComponent} from './trend/trend-gadget.component';
import {TrendLineGadgetComponent} from './trend-line/trend-line-gadget.component';
import {NewsGadgetComponent} from './news/news-gadget.component';
import {TodoGadgetComponent} from './todo/todo-gadget.component'; // todo gadget
import {JobAnalysisGadgetComponent} from './job-analysis/job-analysis-gadget.component';
import {CPUService} from './cpu/service';
import {EdgeService} from './edge-service-list/service';
import {StatisticService} from './statistic/service';
import {DiskService} from './disk/service';
import {TrendService} from './trend/service';
import {PropertyListGadgetComponent} from './property-list/property-list-gadget.component';
import {DynamicFormModule} from '../dynamic-form/dynamic-form-module';
import {ServiceListGadgetComponent} from './service-list/service-list-gadget.component';
import {DndModule} from 'ng2-dnd';
import {NgxChartsModule} from '@swimlane/ngx-charts';
import {GadgetSharedModule} from './_common/gadget-shared.module';
import {ErrorHandlerModule} from '../error/error.module';
import {PortConnectionGadgetComponent} from './port-connection/port-connection-gadget.component';
import {
MatButtonModule, MatCheckboxModule, MatExpansionModule, MatIconModule, MatInputModule, MatOptionModule,
MatProgressBarModule, MatSelectModule
} from '@angular/material';
import {FormsModule} from '@angular/forms';
import {StorageObjectListComponent} from './storage-object-list/storage-object-list.component';
import {StorageService} from './storage-object-list/service';
import {DataListModule} from '../datalist/data-list.module';
import {DonutGadgetComponent} from './donut/donut-gadget.component';
import {DonutService} from './donut/service';
import {APITokenService} from '../api-token/api-token.service';
import {DrillDownComponent} from './donut/drill-down-component';
import {FacetModule} from '../facet/facet.module';
import {TypeAheadInputModule} from '../typeahead-input/typeahead-input.module';
import {TodoService} from './todo/service';
import {ConnectionService} from './port-connection/service';
import {BubbleGadgetComponent} from "./bubble/bubble-gadget.component";
import {ResultViewComponent} from "./port-connection/result-view.component";
import {SolutionViewComponent} from "./port-connection/solution-view.component";
import {BarChartGadgetComponent} from "./barchart/barchart-gadget.component";
import {BarChartService} from "./barchart/service";
import {PieChartGadgetComponent} from "./piechart/piechart-gadget.component";
import {PieChartService} from "./piechart/service"; // todo gadget
@NgModule({
imports: [
CommonModule,
GadgetSharedModule,
DndModule.forRoot(),
DynamicFormModule,
ErrorHandlerModule,
NgxChartsModule,
MatButtonModule,
MatIconModule,
MatCheckboxModule,
MatInputModule,
MatProgressBarModule,
MatExpansionModule,
MatOptionModule,
MatSelectModule,
FormsModule,
FacetModule,
TypeAheadInputModule,
DataListModule
],
declarations: [
TodoGadgetComponent, // todo gadget
CPUGadgetComponent,
CPUMGadgetComponent,
DiskGadgetComponent,
MemoryGadgetComponent,
EdgeServiceListGadgetComponent,
StatisticGadgetComponent,
TrendGadgetComponent,
TrendLineGadgetComponent,
NewsGadgetComponent,
JobAnalysisGadgetComponent,
StatisticGadgetComponent,
PropertyListGadgetComponent,
ServiceListGadgetComponent,
PortConnectionGadgetComponent,
StorageObjectListComponent,
DonutGadgetComponent,
DrillDownComponent,
BubbleGadgetComponent,
ResultViewComponent,
SolutionViewComponent,
BarChartGadgetComponent,
PieChartGadgetComponent
],
providers: [TrendService,
DiskService,
StatisticService,
EdgeService,
CPUService,
StorageService,
DonutService,
APITokenService,
ConnectionService,
TodoService, // todo gadget
BarChartService,
PieChartService
],
exports: [
TodoGadgetComponent, // todo gadget
CPUGadgetComponent,
CPUMGadgetComponent,
DiskGadgetComponent,
MemoryGadgetComponent,
EdgeServiceListGadgetComponent,
StatisticGadgetComponent,
TrendGadgetComponent,
TrendLineGadgetComponent,
NewsGadgetComponent,
JobAnalysisGadgetComponent,
StatisticGadgetComponent,
PropertyListGadgetComponent,
ServiceListGadgetComponent,
PortConnectionGadgetComponent,
StorageObjectListComponent,
DonutGadgetComponent,
BubbleGadgetComponent,
BarChartGadgetComponent,
PieChartGadgetComponent
]
})
export class GadgetModule {
}