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

IgniteUI / igniteui-angular / 13331632524

14 Feb 2025 02:51PM CUT coverage: 22.015% (-69.6%) from 91.622%
13331632524

Pull #15372

github

web-flow
Merge d52d57714 into bcb78ae0a
Pull Request #15372: chore(*): test ci passing

1990 of 15592 branches covered (12.76%)

431 of 964 new or added lines in 18 files covered. (44.71%)

19956 existing lines in 307 files now uncovered.

6452 of 29307 relevant lines covered (22.02%)

249.17 hits per line

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

66.67
/projects/igniteui-angular/src/lib/grids/toolbar/common.ts
1
import { Component, Directive, HostBinding, TemplateRef } from '@angular/core';
2
import { GridType } from '../common/grid.interface';
3

4
@Directive({ 
5
    selector: '[excelText],excel-text',
6
    standalone: true
7
})
8
export class IgxExcelTextDirective { }
2✔
9

10
@Directive({ 
11
    selector: '[csvText],csv-text',
12
    standalone: true
13
})
14
export class IgxCSVTextDirective { }
2✔
15

16
/* blazorElement */
17
/* wcElementTag: igc-grid-toolbar-title */
18
/* blazorAlternateBaseType: GridToolbarContent */
19
/* blazorIndirectRender */
20
/* singleInstanceIdentifier */
21
/**
22
 * Provides a way to template the title portion of the toolbar in the grid.
23
 *
24
 * @igxModule IgxGridToolbarModule
25
 * @igxParent IgxGridToolbarComponent
26
 *
27
 * @example
28
 * ```html
29
 * <igx-grid-toolbar-title>My custom title</igx-grid-toolbar-title>
30
 * ```
31
 */
32
@Component({
33
    selector: 'igx-grid-toolbar-title', template: '<ng-content></ng-content>',
34
    standalone: true
35
})
36
export class IgxGridToolbarTitleComponent {
2✔
37
    /**
38
     * Host `class.igx-grid-toolbar__title` binding.
39
     *
40
     * @hidden
41
     * @internal
42
     */
43
    @HostBinding('class.igx-grid-toolbar__title')
UNCOV
44
    public cssClass = 'igx-grid-toolbar__title';
×
45
}
46

47
/* blazorElement */
48
/* blazorIndirectRender */
49
/* blazorAlternateBaseType: GridToolbarContent */
50
/* wcElementTag: igc-grid-toolbar-actions */
51
/* singleInstanceIdentifier */
52
/**
53
 * Provides a way to template the action portion of the toolbar in the grid.
54
 *
55
 * @igxModule IgxGridToolbarModule
56
 * @igxParent IgxGridToolbarComponent
57
 *
58
 * @example
59
 * ```html
60
 * <igx-grid-toolbar-actions>
61
 *  <some-toolbar-action-here />
62
 * </igx-grid-toolbar-actions>
63
 * ```
64
 */
65
@Component({
66
    selector: 'igx-grid-toolbar-actions', template: '<ng-content></ng-content>',
67
    standalone: true
68
})
69
export class IgxGridToolbarActionsComponent {
2✔
70
    /**
71
     * Host `class.igx-grid-toolbar__actions` binding.
72
     *
73
     * @hidden
74
     * @internal
75
     */
76
    @HostBinding('class.igx-grid-toolbar__actions')
77
    public cssClass = 'igx-grid-toolbar__actions';
31✔
78
 }
79

80
export interface IgxGridToolbarTemplateContext {
81
    $implicit: GridType;
82
}
83

84
@Directive({
85
    selector: '[igxGridToolbar]',
86
    standalone: true
87
})
88
export class IgxGridToolbarDirective {
2✔
UNCOV
89
    constructor(public template: TemplateRef<IgxGridToolbarTemplateContext>) {}
×
90

91
    public static ngTemplateContextGuard(_dir: IgxGridToolbarDirective,
92
        ctx: unknown): ctx is IgxGridToolbarTemplateContext {
93
        return true
×
94
    }
95
}
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