2015-03-31 22:47:11 +00:00
|
|
|
/**
|
2015-04-10 12:45:02 +02:00
|
|
|
* @module
|
|
|
|
* @description
|
2015-09-09 14:56:48 -07:00
|
|
|
* This module provides a set of common Pipes.
|
2015-03-31 22:47:11 +00:00
|
|
|
*/
|
2015-11-02 16:03:42 -08:00
|
|
|
import {AsyncPipe} from './pipes/async_pipe';
|
|
|
|
import {UpperCasePipe} from './pipes/uppercase_pipe';
|
|
|
|
import {LowerCasePipe} from './pipes/lowercase_pipe';
|
|
|
|
import {JsonPipe} from './pipes/json_pipe';
|
|
|
|
import {SlicePipe} from './pipes/slice_pipe';
|
|
|
|
import {DatePipe} from './pipes/date_pipe';
|
|
|
|
import {DecimalPipe, PercentPipe, CurrencyPipe} from './pipes/number_pipe';
|
2015-11-06 17:34:07 -08:00
|
|
|
import {CONST_EXPR} from 'angular2/src/facade/lang';
|
2015-05-18 17:47:44 -07:00
|
|
|
|
2015-09-03 22:01:36 -07:00
|
|
|
export {AsyncPipe} from './pipes/async_pipe';
|
|
|
|
export {DatePipe} from './pipes/date_pipe';
|
|
|
|
export {JsonPipe} from './pipes/json_pipe';
|
2015-08-30 17:05:02 -07:00
|
|
|
export {SlicePipe} from './pipes/slice_pipe';
|
2015-09-03 22:01:36 -07:00
|
|
|
export {LowerCasePipe} from './pipes/lowercase_pipe';
|
|
|
|
export {NumberPipe, DecimalPipe, PercentPipe, CurrencyPipe} from './pipes/number_pipe';
|
|
|
|
export {UpperCasePipe} from './pipes/uppercase_pipe';
|
2015-11-02 16:03:42 -08:00
|
|
|
|
|
|
|
export const COMMON_PIPES = CONST_EXPR([
|
|
|
|
AsyncPipe,
|
|
|
|
UpperCasePipe,
|
|
|
|
LowerCasePipe,
|
|
|
|
JsonPipe,
|
|
|
|
SlicePipe,
|
|
|
|
DecimalPipe,
|
|
|
|
PercentPipe,
|
|
|
|
CurrencyPipe,
|
|
|
|
DatePipe
|
|
|
|
]);
|