• 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

15.0
/src/radio/button/radio-button.component.ts
1
import { Component, OnInit, HostBinding, HostListener, input } from '@angular/core';
2
import { coerceBooleanProperty } from '@angular/cdk/coercion';
3
import { ThyRadio } from '../radio.component';
4

5
/**
6
 * @name [thy-radio-button],[thyRadioButton]
7
 */
8
@Component({
9
    // eslint-disable-next-line @angular-eslint/component-selector
10
    selector: '[thy-radio-button],[thyRadioButton]',
1✔
11
    templateUrl: './radio-button.component.html',
UNCOV
12
    host: {
×
UNCOV
13
        '[attr.tabindex]': `tabIndex`
×
UNCOV
14
    }
×
UNCOV
15
})
×
16
export class ThyRadioButton extends ThyRadio implements OnInit {
17
    @HostBinding('class.btn') isButton = true;
UNCOV
18
    @HostBinding('class.active') isActive = false;
×
19
    @HostBinding('class.disabled') get isDisabled() {
20
        return this._disabled;
UNCOV
21
    }
×
UNCOV
22

×
23
    name: string;
24

UNCOV
25
    readonly thyValue = input<string>();
×
UNCOV
26

×
UNCOV
27
    set thyChecked(value: boolean) {
×
UNCOV
28
        this.isActive = !!value;
×
29
        this.writeValue(coerceBooleanProperty(value));
30
    }
31

UNCOV
32
    ngOnInit() {
×
33
        this._isFormCheck = false;
×
34
        if (this.thyRadioGroupComponent) {
35
            this.thyRadioGroupComponent.addRadio(this);
36
            this.thyRadioGroupComponent.setGroup();
1✔
37
        }
38
    }
39

40
    @HostListener('click', ['$event'])
41
    click($event: MouseEvent) {
42
        if (!this._disabled) {
43
            this.change();
44
        }
1✔
45
    }
46
}
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