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

atinc / ngx-tethys / ba7e05e2-37c0-44c6-8725-6f617aa0d43e

pending completion
ba7e05e2-37c0-44c6-8725-6f617aa0d43e

Pull #2756

circleci

huanhuanwa
test(color-picker): add test #INFR-8673
Pull Request #2756: feat(color-picker): add popoverRef param when panel open and close #INFR-8673

187 of 6315 branches covered (2.96%)

Branch coverage included in aggregate %.

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

2645 of 13660 relevant lines covered (19.36%)

83.2 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