2019-01-18 18:03:45 +01:00
|
|
|
import { DatePipe } from '@angular/common';
|
|
|
|
import { NgModule } from '@angular/core';
|
2019-02-15 11:27:47 +01:00
|
|
|
import { DateFormatPipe } from './pipes/date-format.pipe';
|
|
|
|
import { DateTimeFormatPipe } from './pipes/date-time-format.pipe';
|
2019-01-18 18:03:45 +01:00
|
|
|
import { NgForLimitPipe } from './pipes/ng-for-limit.pipe';
|
2024-03-20 12:06:39 +01:00
|
|
|
import { SumarizeTextPipe } from './pipes/sumarize-text.pipe';
|
2019-01-21 12:14:20 +01:00
|
|
|
import { TimezoneInfoDisplayPipe } from './pipes/timezone-info-display.pipe';
|
2019-01-18 18:03:45 +01:00
|
|
|
import { EnumUtils } from './services/utilities/enum-utils.service';
|
2019-03-26 16:09:02 +01:00
|
|
|
import { JsonParserPipe } from './pipes/json-parser.pipe';
|
2020-11-09 16:14:10 +01:00
|
|
|
import { DateTimeCultureFormatPipe } from './pipes/date-time-culture-format.pipe';
|
2022-11-24 20:28:18 +01:00
|
|
|
import {FieldValuePipe} from "@app/core/pipes/field-value.pipe";
|
|
|
|
import {ColumnClassPipe} from "@app/core/pipes/column-class.pipe";
|
2023-10-20 17:01:09 +02:00
|
|
|
import { PipeService } from '@common/formatting/pipe.service';
|
2019-01-18 18:03:45 +01:00
|
|
|
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// This is shared module that provides all formatting utils. Its imported only once on the AppModule.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
declarations: [
|
2019-01-21 12:14:20 +01:00
|
|
|
NgForLimitPipe,
|
2024-03-20 12:06:39 +01:00
|
|
|
SumarizeTextPipe,
|
2019-02-15 11:27:47 +01:00
|
|
|
TimezoneInfoDisplayPipe,
|
|
|
|
DateFormatPipe,
|
2019-03-26 16:09:02 +01:00
|
|
|
DateTimeFormatPipe,
|
2020-11-09 16:14:10 +01:00
|
|
|
DateTimeCultureFormatPipe,
|
2022-11-24 20:28:18 +01:00
|
|
|
JsonParserPipe,
|
|
|
|
FieldValuePipe,
|
2023-09-12 14:38:23 +02:00
|
|
|
ColumnClassPipe,
|
2019-01-18 18:03:45 +01:00
|
|
|
],
|
|
|
|
exports: [
|
2019-01-21 12:14:20 +01:00
|
|
|
NgForLimitPipe,
|
2024-03-20 12:06:39 +01:00
|
|
|
SumarizeTextPipe,
|
2019-02-15 11:27:47 +01:00
|
|
|
TimezoneInfoDisplayPipe,
|
|
|
|
DateFormatPipe,
|
2019-03-26 16:09:02 +01:00
|
|
|
DateTimeFormatPipe,
|
2020-11-09 16:14:10 +01:00
|
|
|
DateTimeCultureFormatPipe,
|
2022-11-24 20:28:18 +01:00
|
|
|
JsonParserPipe,
|
|
|
|
FieldValuePipe,
|
2023-09-12 14:38:23 +02:00
|
|
|
ColumnClassPipe,
|
2019-01-18 18:03:45 +01:00
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
EnumUtils,
|
|
|
|
DatePipe,
|
2023-10-20 17:01:09 +02:00
|
|
|
PipeService,
|
2019-01-21 12:14:20 +01:00
|
|
|
NgForLimitPipe,
|
2024-03-20 12:06:39 +01:00
|
|
|
SumarizeTextPipe,
|
2019-02-15 11:27:47 +01:00
|
|
|
TimezoneInfoDisplayPipe,
|
|
|
|
DateFormatPipe,
|
2019-03-26 16:09:02 +01:00
|
|
|
DateTimeFormatPipe,
|
2020-11-09 16:14:10 +01:00
|
|
|
DateTimeCultureFormatPipe,
|
2022-11-24 20:28:18 +01:00
|
|
|
JsonParserPipe,
|
|
|
|
FieldValuePipe,
|
2023-09-12 14:38:23 +02:00
|
|
|
ColumnClassPipe,
|
2019-01-18 18:03:45 +01:00
|
|
|
]
|
|
|
|
})
|
|
|
|
export class FormattingModule { }
|