• 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

50.0
/src/dialog/body/dialog-body.component.ts
1
import { Component, Input, OnInit, HostBinding } from '@angular/core';
2
import { ThyDialog } from '../dialog.service';
3
import { coerceBooleanProperty } from 'ngx-tethys/util';
4

5
/**
6
 * 模态框的主体组件
7
 * @name thy-dialog-body
8
 * @order 50
9
 */
10
@Component({
1✔
11
    selector: 'thy-dialog-body',
12
    template: '<ng-content></ng-content>',
×
13
    // changeDetection: ChangeDetectionStrategy.OnPush,
14
    exportAs: 'thyDialogBody',
15
    standalone: true
×
16
})
×
17
export class DialogBodyComponent implements OnInit {
×
18
    @HostBinding(`class.dialog-body`) _isDialogBody = true;
19

20
    @HostBinding(`class.dialog-body-clear-padding`)
1✔
21
    thyClearPaddingClassName = false;
22

23
    /**
1✔
24
     * 清除间距
25
     * @default false
26
     */
27
    @Input()
28
    set thyClearPadding(value: string) {
29
        this.thyClearPaddingClassName = coerceBooleanProperty(value);
1✔
30
    }
31

32
    constructor(private dialog: ThyDialog) {}
33

34
    ngOnInit() {}
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