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

IgniteUI / igniteui-angular / 6797384210

08 Nov 2023 11:09AM UTC coverage: 91.853% (-0.3%) from 92.123%
6797384210

push

github

web-flow
Merge pull request #13613 from IgniteUI/mkirova/fix-empty-pivot

fix(igxPivotGrid): Add check in case data is empty due to removing al…

12459 of 14514 branches covered (0.0%)

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

2127 existing lines in 217 files now uncovered.

25413 of 27667 relevant lines covered (91.85%)

31122.38 hits per line

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

80.0
/projects/igniteui-angular/src/lib/query-builder/query-builder-header.component.ts
1
import { Component, Input, booleanAttribute } from '@angular/core';
2
import { IQueryBuilderResourceStrings, QueryBuilderResourceStringsEN } from '../core/i18n/query-builder-resources';
3
import { NgIf } from '@angular/common';
4
import { getCurrentResourceStrings } from '../core/i18n/resources';
5

6
@Component({
7
    selector: 'igx-query-builder-header',
8
    templateUrl: 'query-builder-header.component.html',
9
    standalone: true,
10
    imports: [NgIf]
11
})
12
export class IgxQueryBuilderHeaderComponent {
2✔
13

14
    private _resourceStrings = getCurrentResourceStrings(QueryBuilderResourceStringsEN);
82✔
15

16
    /**
17
     * An @Input property that sets the title of the `IgxQueryBuilderHeaderComponent`.
18
     *
19
     * @example
20
     * ```html
21
     * <igx-query-builder-header title="Sample Query Builder"></igx-query-builder-header>
22
     * ```
23
     */
24
    @Input()
25
    public title: string;
26

27
    /**
28
     * An @Input property to show/hide the legend.
29
     *
30
     * @example
31
     * ```html
32
     * <igx-query-builder-header [showLegend]="false"></igx-query-builder-header>
33
     * ```
34
     */
35
    @Input({ transform: booleanAttribute })
36
    public showLegend = true;
82✔
37

38
    /**
39
     * Sets the resource strings.
40
     * By default it uses EN resources.
41
     */
42
    @Input()
43
    public set resourceStrings(value: IQueryBuilderResourceStrings) {
UNCOV
44
        this._resourceStrings = Object.assign({}, this._resourceStrings, value);
×
45
    }
46

47
    /**
48
     * Returns the resource strings.
49
     */
50
    public get resourceStrings(): IQueryBuilderResourceStrings {
51
        return this._resourceStrings;
1,762✔
52
    }
53
}
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

© 2026 Coveralls, Inc