Catalog alignment
[sdc.git] / catalog-ui / src / app / ng2 / pipes / global-pipes.module.ts
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * Modifications Copyright (C) 2018 Huawei Intellectual Property. All rights reserved.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  * 
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  * 
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  */
21
22 import {ContentAfterLastDotPipe} from "./contentAfterLastDot.pipe";
23 import {SearchFilterPipe} from "./searchFilter.pipe";
24 import {KeysPipe} from "./keys.pipe";
25 import {GroupByPipe} from "./groupBy.pipe";
26 import {ResourceNamePipe} from "./resource-name.pipe";
27 import {NgModule} from "@angular/core";
28 import {SafeUrlSanitizerPipe} from "./safeUrlSanitizer.pipe";
29 import {EntityFilterPipe} from "./entity-filter.pipe";
30 import {KeyValuePipe} from "./key-value.pipe";
31 import {PropertiesOrderByPipe} from "./properties-order-by.pipe";
32 import {OrderByPipe} from "./order-by.pipe";
33
34 @NgModule({
35     declarations: [
36         ContentAfterLastDotPipe,
37         GroupByPipe,
38         KeysPipe,
39         SafeUrlSanitizerPipe,
40         SearchFilterPipe,
41         ResourceNamePipe,
42         EntityFilterPipe,
43         KeyValuePipe,
44         PropertiesOrderByPipe,
45         OrderByPipe
46     ],
47     exports: [
48         ContentAfterLastDotPipe,
49         GroupByPipe,
50         KeysPipe,
51         SafeUrlSanitizerPipe,
52         SearchFilterPipe,
53         ResourceNamePipe,
54         EntityFilterPipe,
55         PropertiesOrderByPipe,
56         OrderByPipe,
57         KeyValuePipe
58     ],
59     providers: [
60         ContentAfterLastDotPipe,
61         GroupByPipe,
62         KeysPipe,
63         SafeUrlSanitizerPipe,
64         SearchFilterPipe,
65         ResourceNamePipe,
66         EntityFilterPipe,
67         KeyValuePipe
68     ]
69 })
70
71 export class GlobalPipesModule {}