2023-10-20 17:01:09 +02:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { ArrayToStringPipe } from '@common/formatting/pipes/array-to-string.pipe';
|
|
|
|
import { DataTableDateFormatPipe, DateFormatPipe } from '@common/formatting/pipes/date-format.pipe';
|
|
|
|
import { DataTableDateOnlyFormatPipe, DateOnlyPipe } from '@common/formatting/pipes/date-only-format.pipe';
|
|
|
|
import { DataTableDateTimeFormatPipe, DateTimeFormatPipe } from '@common/formatting/pipes/date-time-format.pipe';
|
|
|
|
import { LowercaseFirstLetterPipe } from '@common/formatting/pipes/lowercase-first-letter.pipe';
|
2023-11-30 09:12:41 +01:00
|
|
|
import { IsActiveTypePipe } from './pipes/is-active-type.pipe';
|
2024-01-11 16:59:27 +01:00
|
|
|
import { NotificationContactTypePipe } from './pipes/notification-contact-type.pipe';
|
|
|
|
import { NotificationNotifyStatePipe } from './pipes/notification-notify-state.pipe';
|
2024-02-09 21:46:05 +01:00
|
|
|
import { NotificationTemplateChannelPipe } from './pipes/notification-template-channel.pipe';
|
|
|
|
import { NotificationTemplateKindPipe } from './pipes/notification-template-kind.pipe';
|
2024-01-11 16:59:27 +01:00
|
|
|
import { NotificationTrackingProcessPipe } from './pipes/notification-tracking-process.pipe';
|
|
|
|
import { NotificationTrackingStatePipe } from './pipes/notification-tracking-state.pipe';
|
2024-02-09 21:46:05 +01:00
|
|
|
import { NotificationTypePipe } from './pipes/notification-type.pipe';
|
|
|
|
import { ReferenceSourceTypePipe } from './pipes/reference-source-type.pipe';
|
2024-03-21 08:46:18 +01:00
|
|
|
import { LockTargetTypePipe } from './pipes/lock-target-type.pipe';
|
2023-10-20 17:01:09 +02:00
|
|
|
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// This is shared module that provides all formatting utils. Its imported only once on the AppModule.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
@NgModule({
|
|
|
|
declarations: [
|
|
|
|
DateFormatPipe,
|
|
|
|
DateTimeFormatPipe,
|
|
|
|
DataTableDateFormatPipe,
|
|
|
|
DataTableDateTimeFormatPipe,
|
|
|
|
LowercaseFirstLetterPipe,
|
|
|
|
ArrayToStringPipe,
|
|
|
|
DateOnlyPipe,
|
|
|
|
DataTableDateOnlyFormatPipe,
|
2023-11-30 16:28:05 +01:00
|
|
|
IsActiveTypePipe,
|
2023-12-20 17:02:55 +01:00
|
|
|
ReferenceSourceTypePipe,
|
|
|
|
NotificationTemplateChannelPipe,
|
2024-01-08 17:32:07 +01:00
|
|
|
NotificationTemplateKindPipe,
|
2024-01-11 16:59:27 +01:00
|
|
|
NotificationTypePipe,
|
|
|
|
NotificationContactTypePipe,
|
|
|
|
NotificationNotifyStatePipe,
|
|
|
|
NotificationTrackingProcessPipe,
|
2024-03-21 08:46:18 +01:00
|
|
|
NotificationTrackingStatePipe,
|
|
|
|
LockTargetTypePipe
|
2023-10-20 17:01:09 +02:00
|
|
|
],
|
|
|
|
exports: [
|
|
|
|
DateFormatPipe,
|
|
|
|
DateTimeFormatPipe,
|
|
|
|
DataTableDateFormatPipe,
|
|
|
|
DataTableDateTimeFormatPipe,
|
|
|
|
LowercaseFirstLetterPipe,
|
|
|
|
ArrayToStringPipe,
|
|
|
|
DateOnlyPipe,
|
|
|
|
DataTableDateOnlyFormatPipe,
|
2023-11-30 16:28:05 +01:00
|
|
|
IsActiveTypePipe,
|
2023-12-20 17:02:55 +01:00
|
|
|
ReferenceSourceTypePipe,
|
|
|
|
NotificationTemplateChannelPipe,
|
2024-01-08 17:32:07 +01:00
|
|
|
NotificationTemplateKindPipe,
|
2024-01-11 16:59:27 +01:00
|
|
|
NotificationTypePipe,
|
|
|
|
NotificationContactTypePipe,
|
|
|
|
NotificationNotifyStatePipe,
|
|
|
|
NotificationTrackingProcessPipe,
|
2024-03-21 08:46:18 +01:00
|
|
|
NotificationTrackingStatePipe,
|
|
|
|
LockTargetTypePipe
|
2023-10-20 17:01:09 +02:00
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
DateFormatPipe,
|
|
|
|
DateTimeFormatPipe,
|
|
|
|
DataTableDateFormatPipe,
|
|
|
|
DataTableDateTimeFormatPipe,
|
|
|
|
LowercaseFirstLetterPipe,
|
|
|
|
ArrayToStringPipe,
|
|
|
|
DateOnlyPipe,
|
|
|
|
DataTableDateOnlyFormatPipe,
|
2023-11-30 16:28:05 +01:00
|
|
|
IsActiveTypePipe,
|
2023-12-20 17:02:55 +01:00
|
|
|
ReferenceSourceTypePipe,
|
|
|
|
NotificationTemplateChannelPipe,
|
2024-01-08 17:32:07 +01:00
|
|
|
NotificationTemplateKindPipe,
|
2024-01-11 16:59:27 +01:00
|
|
|
NotificationTypePipe,
|
|
|
|
NotificationContactTypePipe,
|
|
|
|
NotificationNotifyStatePipe,
|
|
|
|
NotificationTrackingProcessPipe,
|
2024-03-21 08:46:18 +01:00
|
|
|
NotificationTrackingStatePipe,
|
|
|
|
LockTargetTypePipe
|
2023-10-20 17:01:09 +02:00
|
|
|
]
|
|
|
|
})
|
|
|
|
export class CommonFormattingModule { }
|