• 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

30.0
/src/guider/guider-manager.ts
1
import { ThyGuiderRef } from './guider-ref';
2
import { Injectable } from '@angular/core';
3

4
/**
5
 * @public
6
 * @order 60
7
 */
1✔
8
@Injectable({
9
    providedIn: 'root'
×
10
})
11
export class ThyGuiderManager {
12
    private targetListMap = {};
×
13

×
14
    private thyGuiderRef: ThyGuiderRef;
15

16
    private activeStepKey: string;
×
17

18
    constructor() {}
19

×
20
    public updateActive(key: string, guiderRef: ThyGuiderRef) {
21
        this.activeStepKey = key;
22
        this.thyGuiderRef = guiderRef;
×
23
    }
24

25
    public addStepTarget(key: string, el: HTMLElement) {
×
26
        this.targetListMap[key] = el;
27
    }
28

29
    public removeStepTarget(key: string) {
30
        delete this.targetListMap[key];
1✔
31
    }
32

1✔
33
    public getActiveTarget(key: string): HTMLElement {
34
        return this.targetListMap[key];
35
    }
36

37
    public getActive(): { key: string; guiderRef: ThyGuiderRef } {
38
        return {
39
            key: this.activeStepKey,
40
            guiderRef: this.thyGuiderRef
41
        };
42
    }
43
}
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