• 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

42.86
/src/comment/comment.component.ts
1
import { isTemplateRef } from 'ngx-tethys/util';
2
import { SafeAny } from 'ngx-tethys/types';
3
import { ChangeDetectionStrategy, Component, TemplateRef, input } from '@angular/core';
4
import { ThyAvatar } from 'ngx-tethys/avatar';
5
import { ThyStringOrTemplateOutletDirective } from 'ngx-tethys/shared';
6
import { NgTemplateOutlet } from '@angular/common';
7

8
/**
9
 * 评论组件
10
 * @name thy-comment
11
 */
12
@Component({
13
    selector: 'thy-comment',
1✔
14
    templateUrl: './comment.component.html',
UNCOV
15
    host: {
×
UNCOV
16
        class: 'thy-comment'
×
UNCOV
17
    },
×
UNCOV
18
    changeDetection: ChangeDetectionStrategy.OnPush,
×
19
    imports: [NgTemplateOutlet, ThyStringOrTemplateOutletDirective, ThyAvatar]
20
})
1✔
21
export class ThyComment {
22
    /**
23
     * 展示评论作者
24
     */
25
    readonly thyAuthor = input<string | TemplateRef<SafeAny>>();
26

1✔
27
    /**
28
     * 展示评论时间
29
     */
30
    readonly thyDatetime = input<string | TemplateRef<SafeAny>>();
31

32
    /**
33
     * 展示评论作者头像
34
     */
35
    readonly thyAvatar = input<string | TemplateRef<SafeAny>>();
36

37
    isTemplateRef = isTemplateRef;
38
}
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