app-service.module.ts 1.33 KB
Newer Older
1
2
import { NgModule } from '@angular/core';

3
4
5
6
7
8
import { TimeAgoPipe } from '@plugins/timeAgo.pipe';
import { TimeLimitPipe } from '@plugins/timeLimit.pipe';
import { FilterListPipe } from '@plugins/filterList.pipe';
import { FullDatePipe } from '@plugins/fullDate.pipe';
import { SafeHtmlPipe } from '@plugins/safeHtml.pipe';
import { SecureUrlPipe } from '@plugins/secureUrl.pipe';
9
10
11
import { NgStringPipesModule } from 'ngx-pipes';
import { LatinisePipe } from 'ngx-pipes';
import { CookieService } from 'ngx-cookie-service';
12
13
import { SortPipe } from '@plugins/sorting.pipe';
import { HighlightPipe } from '@plugins/highlight.pipe';
14
import { SplitLoginPwd } from '@plugins/splitLoginPwd.pipe';
15
16
17
18
19
20
21
22
23
24

@NgModule({
    imports: [
        NgStringPipesModule
    ],
    declarations: [
        FilterListPipe,
        FullDatePipe,
        SafeHtmlPipe,
        SecureUrlPipe,
Alex ORLUC's avatar
Alex ORLUC committed
25
26
27
        SortPipe,
        TimeAgoPipe,
        TimeLimitPipe,
28
29
        HighlightPipe,
        SplitLoginPwd
30
31
32
33
34
35
36
    ],
    exports: [
        NgStringPipesModule,
        FilterListPipe,
        FullDatePipe,
        SafeHtmlPipe,
        SecureUrlPipe,
37
        SortPipe,
Alex ORLUC's avatar
Alex ORLUC committed
38
39
        TimeAgoPipe,
        TimeLimitPipe,
40
41
        HighlightPipe,
        SplitLoginPwd
42
43
44
45
46
47
48
49
    ],
    entryComponents: [
    ],
    providers: [
        LatinisePipe,
        CookieService,
    ],
})
50
export class AppServiceModule {}