diff options
Diffstat (limited to '')
-rwxr-xr-x | src/pybind/mgr/dashboard/frontend/src/app/shared/pipes/pipes.module.ts | 125 |
1 files changed, 125 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/pipes/pipes.module.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/pipes/pipes.module.ts new file mode 100755 index 000000000..508a29e98 --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/pipes/pipes.module.ts @@ -0,0 +1,125 @@ +import { CommonModule, DatePipe } from '@angular/common'; +import { NgModule } from '@angular/core'; + +import { ArrayPipe } from './array.pipe'; +import { BooleanTextPipe } from './boolean-text.pipe'; +import { BooleanPipe } from './boolean.pipe'; +import { CdDatePipe } from './cd-date.pipe'; +import { CephReleaseNamePipe } from './ceph-release-name.pipe'; +import { CephShortVersionPipe } from './ceph-short-version.pipe'; +import { DimlessBinaryPerSecondPipe } from './dimless-binary-per-second.pipe'; +import { DimlessBinaryPipe } from './dimless-binary.pipe'; +import { DimlessPipe } from './dimless.pipe'; +import { DurationPipe } from './duration.pipe'; +import { EmptyPipe } from './empty.pipe'; +import { EncodeUriPipe } from './encode-uri.pipe'; +import { FilterPipe } from './filter.pipe'; +import { HealthColorPipe } from './health-color.pipe'; +import { IopsPipe } from './iops.pipe'; +import { IscsiBackstorePipe } from './iscsi-backstore.pipe'; +import { JoinPipe } from './join.pipe'; +import { LogPriorityPipe } from './log-priority.pipe'; +import { MapPipe } from './map.pipe'; +import { MillisecondsPipe } from './milliseconds.pipe'; +import { NotAvailablePipe } from './not-available.pipe'; +import { OrdinalPipe } from './ordinal.pipe'; +import { RbdConfigurationSourcePipe } from './rbd-configuration-source.pipe'; +import { RelativeDatePipe } from './relative-date.pipe'; +import { RoundPipe } from './round.pipe'; +import { SanitizeHtmlPipe } from './sanitize-html.pipe'; +import { SearchHighlightPipe } from './search-highlight.pipe'; +import { TruncatePipe } from './truncate.pipe'; +import { UpperFirstPipe } from './upper-first.pipe'; + +@NgModule({ + imports: [CommonModule], + declarations: [ + ArrayPipe, + BooleanPipe, + BooleanTextPipe, + DimlessBinaryPipe, + DimlessBinaryPerSecondPipe, + HealthColorPipe, + DimlessPipe, + CephShortVersionPipe, + CephReleaseNamePipe, + RelativeDatePipe, + IscsiBackstorePipe, + JoinPipe, + LogPriorityPipe, + FilterPipe, + CdDatePipe, + EmptyPipe, + EncodeUriPipe, + RoundPipe, + OrdinalPipe, + MillisecondsPipe, + NotAvailablePipe, + IopsPipe, + UpperFirstPipe, + RbdConfigurationSourcePipe, + DurationPipe, + MapPipe, + TruncatePipe, + SanitizeHtmlPipe, + SearchHighlightPipe + ], + exports: [ + ArrayPipe, + BooleanPipe, + BooleanTextPipe, + DimlessBinaryPipe, + DimlessBinaryPerSecondPipe, + HealthColorPipe, + DimlessPipe, + CephShortVersionPipe, + CephReleaseNamePipe, + RelativeDatePipe, + IscsiBackstorePipe, + JoinPipe, + LogPriorityPipe, + FilterPipe, + CdDatePipe, + EmptyPipe, + EncodeUriPipe, + RoundPipe, + OrdinalPipe, + MillisecondsPipe, + NotAvailablePipe, + IopsPipe, + UpperFirstPipe, + RbdConfigurationSourcePipe, + DurationPipe, + MapPipe, + TruncatePipe, + SanitizeHtmlPipe, + SearchHighlightPipe + ], + providers: [ + ArrayPipe, + BooleanPipe, + BooleanTextPipe, + DatePipe, + CephShortVersionPipe, + CephReleaseNamePipe, + DimlessBinaryPipe, + DimlessBinaryPerSecondPipe, + DimlessPipe, + RelativeDatePipe, + IscsiBackstorePipe, + JoinPipe, + LogPriorityPipe, + CdDatePipe, + EmptyPipe, + EncodeUriPipe, + OrdinalPipe, + IopsPipe, + MillisecondsPipe, + NotAvailablePipe, + UpperFirstPipe, + MapPipe, + TruncatePipe, + SanitizeHtmlPipe + ] +}) +export class PipesModule {} |