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

atinc / ngx-tethys / 68ef226c-f83e-44c1-b8ed-e420a83c5d84

28 May 2025 10:31AM UTC coverage: 10.352% (-80.0%) from 90.316%
68ef226c-f83e-44c1-b8ed-e420a83c5d84

Pull #3460

circleci

pubuzhixing8
chore: xxx
Pull Request #3460: refactor(icon): migrate signal input #TINFR-1476

132 of 6823 branches covered (1.93%)

Branch coverage included in aggregate %.

10 of 14 new or added lines in 1 file covered. (71.43%)

11648 existing lines in 344 files now uncovered.

2078 of 14525 relevant lines covered (14.31%)

6.69 hits per line

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

0.0
/src/message/abstract/abstract-message.service.ts
1
import { ComponentType, Overlay, OverlayRef } from '@angular/cdk/overlay';
2
import { ComponentPortal } from '@angular/cdk/portal';
3
import { Injector } from '@angular/core';
4
import { ThyAbstractMessageContainerComponent } from './abstract-message-container.component';
5
import { ThyAbstractMessageQueue } from './abstract-message-queue.service';
6

UNCOV
7
/**
×
UNCOV
8
 * @internal
×
UNCOV
9
 */
×
10
export class ThyAbstractMessageService<TContainer extends ThyAbstractMessageContainerComponent> {
11
    protected container: TContainer;
UNCOV
12

×
UNCOV
13
    protected overlayRef: OverlayRef;
×
UNCOV
14

×
15
    private queue: ThyAbstractMessageQueue;
UNCOV
16

×
17
    constructor(
18
        private overlay: Overlay,
19
        private injector: Injector,
20
        queue: ThyAbstractMessageQueue
UNCOV
21
    ) {
×
UNCOV
22
        this.queue = queue;
×
UNCOV
23
    }
×
24

25
    protected createContainer(container: ComponentType<TContainer>): TContainer {
UNCOV
26
        if (this.container) {
×
27
            this.container.toOverlayTop();
28
            return this.container;
29
        }
30

31
        this.overlayRef = this.overlay.create({
32
            hasBackdrop: false,
33
            scrollStrategy: this.overlay.scrollStrategies.noop(),
34
            positionStrategy: this.overlay.position().global()
35
        });
36
        const componentPortal = new ComponentPortal(container, null, this.injector);
37
        const componentRef = this.overlayRef.attach(componentPortal);
38
        return componentRef.instance;
39
    }
40

41
    remove(id?: string) {
42
        this.queue.remove(id);
43
    }
44
}
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