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

atinc / ngx-tethys / #71

06 Aug 2025 02:34AM UTC coverage: 9.672% (-80.6%) from 90.298%
#71

push

web-flow
feat(date-picker): add dateCellRender #TINFR-2386 (#3495) (#3499)

104 of 6813 branches covered (1.53%)

Branch coverage included in aggregate %.

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

11855 existing lines in 343 files now uncovered.

1969 of 14620 relevant lines covered (13.47%)

6.13 hits per line

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

28.57
/src/image/image-group.component.ts
1
import { ChangeDetectionStrategy, Component, ViewEncapsulation, Injector, ElementRef, inject } from '@angular/core';
2
import { IThyImageDirective, IThyImageGroupComponent, THY_IMAGE_GROUP_COMPONENT } from './image.token';
3

4
/**
5
 * 图片分组,提供 thyImageGroup 指令和 thy-image-group 标签两种使用方式
6
 * @name thy-image-group,[thyImageGroup]
7
 */
8
@Component({
1✔
9
    selector: 'thy-image-group, [thyImageGroup]',
UNCOV
10
    template: '<ng-content></ng-content>',
×
UNCOV
11
    changeDetection: ChangeDetectionStrategy.OnPush,
×
UNCOV
12
    encapsulation: ViewEncapsulation.None,
×
13
    providers: [
14
        {
UNCOV
15
            provide: THY_IMAGE_GROUP_COMPONENT,
×
16
            useClass: ThyImageGroup
17
        }
UNCOV
18
    ]
×
19
})
20
export class ThyImageGroup implements IThyImageGroupComponent {
21
    injector = inject(Injector);
1✔
22

23
    element = inject(ElementRef);
24

25
    images: IThyImageDirective[] = [];
26

27
    addImage(image: IThyImageDirective, index: number): void {
28
        this.images.splice(index, 0, image);
29
    }
30

31
    removeImage(index: number) {
32
        this.images.splice(index, 1);
33
    }
34
}
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

© 2026 Coveralls, Inc