]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/components/components.module.ts
import ceph quincy 17.2.6
[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 import { RouterModule } from '@angular/router';
5
6 import {
7 NgbAlertModule,
8 NgbDatepickerModule,
9 NgbDropdownModule,
10 NgbPopoverModule,
11 NgbProgressbarModule,
12 NgbTimepickerModule,
13 NgbTooltipModule
14 } from '@ng-bootstrap/ng-bootstrap';
15 import { ClickOutsideModule } from 'ng-click-outside';
16 import { ChartsModule } from 'ng2-charts';
17 import { SimplebarAngularModule } from 'simplebar-angular';
18
19 import { MotdComponent } from '~/app/shared/components/motd/motd.component';
20 import { DirectivesModule } from '../directives/directives.module';
21 import { PipesModule } from '../pipes/pipes.module';
22 import { AlertPanelComponent } from './alert-panel/alert-panel.component';
23 import { BackButtonComponent } from './back-button/back-button.component';
24 import { CdLabelComponent } from './cd-label/cd-label.component';
25 import { ColorClassFromTextPipe } from './cd-label/color-class-from-text.pipe';
26 import { ConfigOptionComponent } from './config-option/config-option.component';
27 import { ConfirmationModalComponent } from './confirmation-modal/confirmation-modal.component';
28 import { Copy2ClipboardButtonComponent } from './copy2clipboard-button/copy2clipboard-button.component';
29 import { CriticalConfirmationModalComponent } from './critical-confirmation-modal/critical-confirmation-modal.component';
30 import { CustomLoginBannerComponent } from './custom-login-banner/custom-login-banner.component';
31 import { DateTimePickerComponent } from './date-time-picker/date-time-picker.component';
32 import { DocComponent } from './doc/doc.component';
33 import { DownloadButtonComponent } from './download-button/download-button.component';
34 import { FormButtonPanelComponent } from './form-button-panel/form-button-panel.component';
35 import { FormModalComponent } from './form-modal/form-modal.component';
36 import { GrafanaComponent } from './grafana/grafana.component';
37 import { HelperComponent } from './helper/helper.component';
38 import { LanguageSelectorComponent } from './language-selector/language-selector.component';
39 import { LoadingPanelComponent } from './loading-panel/loading-panel.component';
40 import { ModalComponent } from './modal/modal.component';
41 import { NotificationsSidebarComponent } from './notifications-sidebar/notifications-sidebar.component';
42 import { OrchestratorDocPanelComponent } from './orchestrator-doc-panel/orchestrator-doc-panel.component';
43 import { PwdExpirationNotificationComponent } from './pwd-expiration-notification/pwd-expiration-notification.component';
44 import { RefreshSelectorComponent } from './refresh-selector/refresh-selector.component';
45 import { SelectBadgesComponent } from './select-badges/select-badges.component';
46 import { SelectComponent } from './select/select.component';
47 import { SparklineComponent } from './sparkline/sparkline.component';
48 import { SubmitButtonComponent } from './submit-button/submit-button.component';
49 import { TelemetryNotificationComponent } from './telemetry-notification/telemetry-notification.component';
50 import { UsageBarComponent } from './usage-bar/usage-bar.component';
51 import { WizardComponent } from './wizard/wizard.component';
52
53 @NgModule({
54 imports: [
55 CommonModule,
56 FormsModule,
57 ReactiveFormsModule,
58 NgbAlertModule,
59 NgbPopoverModule,
60 NgbProgressbarModule,
61 NgbTooltipModule,
62 ChartsModule,
63 ReactiveFormsModule,
64 PipesModule,
65 DirectivesModule,
66 NgbDropdownModule,
67 ClickOutsideModule,
68 SimplebarAngularModule,
69 RouterModule,
70 NgbDatepickerModule,
71 NgbTimepickerModule
72 ],
73 declarations: [
74 SparklineComponent,
75 HelperComponent,
76 SelectBadgesComponent,
77 SubmitButtonComponent,
78 UsageBarComponent,
79 LoadingPanelComponent,
80 ModalComponent,
81 NotificationsSidebarComponent,
82 CriticalConfirmationModalComponent,
83 ConfirmationModalComponent,
84 LanguageSelectorComponent,
85 GrafanaComponent,
86 SelectComponent,
87 BackButtonComponent,
88 RefreshSelectorComponent,
89 ConfigOptionComponent,
90 AlertPanelComponent,
91 FormModalComponent,
92 PwdExpirationNotificationComponent,
93 TelemetryNotificationComponent,
94 OrchestratorDocPanelComponent,
95 DateTimePickerComponent,
96 DocComponent,
97 Copy2ClipboardButtonComponent,
98 DownloadButtonComponent,
99 FormButtonPanelComponent,
100 MotdComponent,
101 WizardComponent,
102 CustomLoginBannerComponent,
103 CdLabelComponent,
104 ColorClassFromTextPipe
105 ],
106 providers: [],
107 exports: [
108 SparklineComponent,
109 HelperComponent,
110 SelectBadgesComponent,
111 SubmitButtonComponent,
112 BackButtonComponent,
113 LoadingPanelComponent,
114 UsageBarComponent,
115 ModalComponent,
116 NotificationsSidebarComponent,
117 LanguageSelectorComponent,
118 GrafanaComponent,
119 SelectComponent,
120 RefreshSelectorComponent,
121 ConfigOptionComponent,
122 AlertPanelComponent,
123 PwdExpirationNotificationComponent,
124 TelemetryNotificationComponent,
125 OrchestratorDocPanelComponent,
126 DateTimePickerComponent,
127 DocComponent,
128 Copy2ClipboardButtonComponent,
129 DownloadButtonComponent,
130 FormButtonPanelComponent,
131 MotdComponent,
132 WizardComponent,
133 CustomLoginBannerComponent,
134 CdLabelComponent
135 ]
136 })
137 export class ComponentsModule {}