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

atinc / ngx-tethys / d9ae709b-3c27-4b69-b125-b8b80b54f90b

pending completion
d9ae709b-3c27-4b69-b125-b8b80b54f90b

Pull #2757

circleci

mengshuicmq
fix: fix code review
Pull Request #2757: feat(color-picker): color-picker support disabled (#INFR-8645)

98 of 6315 branches covered (1.55%)

Branch coverage included in aggregate %.

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

2392 of 13661 relevant lines covered (17.51%)

83.12 hits per line

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

71.43
/src/stepper/step.component.ts
1
import { Component, Input, ViewChild, TemplateRef, Inject, InjectionToken, Optional } from '@angular/core';
2

3
export interface IThyStepperComponent {
4
    selected: ThyStepComponent;
1✔
5
}
6

7
export const THY_STEPPER_COMPONENT = new InjectionToken<IThyStepperComponent>('THY_STEPPER_COMPONENT');
8

9
/**
10
 * 步骤项组件
1✔
11
 * @name thy-step
12
 * @order 20
×
13
 */
14
@Component({
15
    selector: 'thy-step',
×
16
    templateUrl: './step.component.html',
17
    standalone: true
1✔
18
})
19
export class ThyStepComponent {
20
    @ViewChild(TemplateRef, { static: true }) content: TemplateRef<any>;
1✔
21

22
    @Input() label: string;
23

24
    /**
25
     * 步骤条中每个步骤的label文本
26
     */
1✔
27
    @Input() thyLabel: string;
28

29
    constructor(@Optional() @Inject(THY_STEPPER_COMPONENT) public stepper: IThyStepperComponent) {}
30

31
    select() {
32
        this.stepper.selected = this;
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

© 2025 Coveralls, Inc