1 | /**
|
---|
2 | * @license
|
---|
3 | * Copyright Google LLC All Rights Reserved.
|
---|
4 | *
|
---|
5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
6 | * found in the LICENSE file at https://angular.io/license
|
---|
7 | */
|
---|
8 | /**
|
---|
9 | * @module
|
---|
10 | * @description
|
---|
11 | * This module provides a set of common Pipes.
|
---|
12 | */
|
---|
13 | import { AsyncPipe } from './async_pipe';
|
---|
14 | import { LowerCasePipe, TitleCasePipe, UpperCasePipe } from './case_conversion_pipes';
|
---|
15 | import { DatePipe } from './date_pipe';
|
---|
16 | import { I18nPluralPipe } from './i18n_plural_pipe';
|
---|
17 | import { I18nSelectPipe } from './i18n_select_pipe';
|
---|
18 | import { JsonPipe } from './json_pipe';
|
---|
19 | import { KeyValuePipe } from './keyvalue_pipe';
|
---|
20 | import { CurrencyPipe, DecimalPipe, PercentPipe } from './number_pipe';
|
---|
21 | import { SlicePipe } from './slice_pipe';
|
---|
22 | export { AsyncPipe, CurrencyPipe, DatePipe, DecimalPipe, I18nPluralPipe, I18nSelectPipe, JsonPipe, KeyValuePipe, LowerCasePipe, PercentPipe, SlicePipe, TitleCasePipe, UpperCasePipe, };
|
---|
23 | /**
|
---|
24 | * A collection of Angular pipes that are likely to be used in each and every application.
|
---|
25 | */
|
---|
26 | export const COMMON_PIPES = [
|
---|
27 | AsyncPipe,
|
---|
28 | UpperCasePipe,
|
---|
29 | LowerCasePipe,
|
---|
30 | JsonPipe,
|
---|
31 | SlicePipe,
|
---|
32 | DecimalPipe,
|
---|
33 | PercentPipe,
|
---|
34 | TitleCasePipe,
|
---|
35 | CurrencyPipe,
|
---|
36 | DatePipe,
|
---|
37 | I18nPluralPipe,
|
---|
38 | I18nSelectPipe,
|
---|
39 | KeyValuePipe,
|
---|
40 | ];
|
---|
41 | //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuL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