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

IgniteUI / igniteui-angular / 6653488239

26 Oct 2023 11:33AM UTC coverage: 92.101% (-0.1%) from 92.206%
6653488239

push

github

web-flow
Merge pull request #13451 from IgniteUI/bundle-test-extended

refactor(i18n, util): tree shaking i18n

15273 of 17962 branches covered (0.0%)

45 of 45 new or added lines in 24 files covered. (100.0%)

26410 of 28675 relevant lines covered (92.1%)

30213.01 hits per line

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

85.71
/projects/igniteui-angular/src/lib/query-builder/query-builder-header.component.ts
1
import { Component, Input } 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',
2✔
8
    templateUrl: 'query-builder-header.component.html',
9
    standalone: true,
82✔
10
    imports: [NgIf]
82✔
11
})
12
export class IgxQueryBuilderHeaderComponent {
13

×
14
    private _resourceStrings = getCurrentResourceStrings(QueryBuilderResourceStringsEN);
15

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

27
    /**
2✔
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()
36
    public showLegend = true;
37

38
    /**
39
     * Sets the resource strings.
40
     * By default it uses EN resources.
41
     */
42
     @Input()
43
     public set resourceStrings(value: IQueryBuilderResourceStrings) {
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;
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