]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/components/components.module.ts
import ceph nautilus 14.2.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / components / components.module.ts
1 import { CommonModule } from '@angular/common';
2 import { NgModule } from '@angular/core';
3 import { FormsModule, ReactiveFormsModule } from '@angular/forms';
4
5 import { ChartsModule } from 'ng2-charts/ng2-charts';
6 import { AlertModule } from 'ngx-bootstrap/alert';
7 import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
8 import { ModalModule } from 'ngx-bootstrap/modal';
9 import { PopoverModule } from 'ngx-bootstrap/popover';
10 import { TooltipModule } from 'ngx-bootstrap/tooltip';
11
12 import { DirectivesModule } from '../directives/directives.module';
13 import { PipesModule } from '../pipes/pipes.module';
14 import { BackButtonComponent } from './back-button/back-button.component';
15 import { ConfigOptionComponent } from './config-option/config-option.component';
16 import { ConfirmationModalComponent } from './confirmation-modal/confirmation-modal.component';
17 import { CriticalConfirmationModalComponent } from './critical-confirmation-modal/critical-confirmation-modal.component';
18 import { ErrorPanelComponent } from './error-panel/error-panel.component';
19 import { GrafanaComponent } from './grafana/grafana.component';
20 import { HelperComponent } from './helper/helper.component';
21 import { InfoPanelComponent } from './info-panel/info-panel.component';
22 import { LanguageSelectorComponent } from './language-selector/language-selector.component';
23 import { LoadingPanelComponent } from './loading-panel/loading-panel.component';
24 import { ModalComponent } from './modal/modal.component';
25 import { RefreshSelectorComponent } from './refresh-selector/refresh-selector.component';
26 import { SelectBadgesComponent } from './select-badges/select-badges.component';
27 import { SelectComponent } from './select/select.component';
28 import { SparklineComponent } from './sparkline/sparkline.component';
29 import { SubmitButtonComponent } from './submit-button/submit-button.component';
30 import { UsageBarComponent } from './usage-bar/usage-bar.component';
31 import { ViewCacheComponent } from './view-cache/view-cache.component';
32 import { WarningPanelComponent } from './warning-panel/warning-panel.component';
33
34 @NgModule({
35 imports: [
36 CommonModule,
37 FormsModule,
38 ReactiveFormsModule,
39 AlertModule.forRoot(),
40 PopoverModule.forRoot(),
41 TooltipModule.forRoot(),
42 ChartsModule,
43 ReactiveFormsModule,
44 PipesModule,
45 ModalModule.forRoot(),
46 DirectivesModule,
47 BsDropdownModule
48 ],
49 declarations: [
50 ViewCacheComponent,
51 SparklineComponent,
52 HelperComponent,
53 SelectBadgesComponent,
54 SubmitButtonComponent,
55 UsageBarComponent,
56 ErrorPanelComponent,
57 LoadingPanelComponent,
58 InfoPanelComponent,
59 ModalComponent,
60 CriticalConfirmationModalComponent,
61 ConfirmationModalComponent,
62 WarningPanelComponent,
63 LanguageSelectorComponent,
64 GrafanaComponent,
65 SelectComponent,
66 BackButtonComponent,
67 RefreshSelectorComponent,
68 ConfigOptionComponent
69 ],
70 providers: [],
71 exports: [
72 ViewCacheComponent,
73 SparklineComponent,
74 HelperComponent,
75 SelectBadgesComponent,
76 SubmitButtonComponent,
77 BackButtonComponent,
78 ErrorPanelComponent,
79 LoadingPanelComponent,
80 InfoPanelComponent,
81 UsageBarComponent,
82 ModalComponent,
83 WarningPanelComponent,
84 LanguageSelectorComponent,
85 GrafanaComponent,
86 SelectComponent,
87 RefreshSelectorComponent,
88 ConfigOptionComponent
89 ],
90 entryComponents: [ModalComponent, CriticalConfirmationModalComponent, ConfirmationModalComponent]
91 })
92 export class ComponentsModule {}