• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

atinc / ngx-tethys / d9ae709b-3c27-4b69-b125-b8b80b54f90b

pending completion
d9ae709b-3c27-4b69-b125-b8b80b54f90b

Pull #2757

circleci

mengshuicmq
fix: fix code review
Pull Request #2757: feat(color-picker): color-picker support disabled (#INFR-8645)

98 of 6315 branches covered (1.55%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

2392 of 13661 relevant lines covered (17.51%)

83.12 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.0
/src/pagination/pagination.config.ts
1
import { InjectionToken } from '@angular/core';
2
import { ThyPaginationConfigModel } from './pagination.class';
1✔
3

1✔
4
export const DEFAULT_RANGE_COUNT = 5;
5

6
export const PaginationDefaultConfig: ThyPaginationConfigModel = {
7
    boundaryLinks: false,
8
    directionLinks: true,
9
    pageSize: 20,
10
    maxCount: 7,
11
    rangeCount: DEFAULT_RANGE_COUNT,
12
    showQuickJumper: true,
13
    showTotalPageCount: true,
14
    firstText: '第一页',
15
    lastText: '最后一页',
16
    previousText: '',
17
    nextText: '',
18
    firstIcon: '',
19
    lastIcon: '',
20
    previousIcon: 'angle-left',
21
    nextIcon: 'angle-right',
22
    totalPagesFormat: '共{total}页',
23
    showSizeChanger: false,
1✔
24
    pageSizeOptions: [10, 20, 50, 100]
25
};
26
export interface ThyPaginationConfig {
×
27
    main?: ThyPaginationConfigModel;
28
}
29

30
export const THY_PAGINATION_CONFIG = new InjectionToken<ThyPaginationConfig>('THY_PAGINATION_CONFIG', {
31
    providedIn: 'root',
32
    factory: () => {
33
        return {};
34
    }
35
});
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc