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

IgniteUI / igniteui-angular / 13525400762

25 Feb 2025 03:54PM UTC coverage: 91.641% (+0.02%) from 91.618%
13525400762

push

github

web-flow
feat(query-builder): support for nested queries and other improvements (#14647)

Co-authored-by: ivanvpetrov <110455887+ivanvpetrov@users.noreply.github.com>
Co-authored-by: Teodosia Hristodorova <52423497+teodosiah@users.noreply.github.com>
Co-authored-by: Mike Cherkasov <otixa.scythe@gmail.com>
Co-authored-by: Galina Edinakova <gedinakova@infragistics.com>
Co-authored-by: Simeon Simeonoff <sim.simeonoff@gmail.com>
Co-authored-by: desig9stein <mspopovv@gmail.com>
Co-authored-by: Rumyana Andriova <54146583+randriova@users.noreply.github.com>
Co-authored-by: Damyan Petev <damyanpetev@users.noreply.github.com>

13327 of 15595 branches covered (85.46%)

897 of 982 new or added lines in 20 files covered. (91.34%)

2 existing lines in 2 files now uncovered.

26871 of 29322 relevant lines covered (91.64%)

33811.54 hits per line

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

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

5
@Component({
6
    selector: 'igx-query-builder-header',
7
    templateUrl: 'query-builder-header.component.html'
8
})
9
export class IgxQueryBuilderHeaderComponent {
2✔
10

11
    private _resourceStrings = getCurrentResourceStrings(QueryBuilderResourceStringsEN);
47✔
12

13
    /**
14
     * @hidden @internal
15
     */
16
    @HostBinding('class') public get getClass() {
17
        return 'igx-query-builder__header';
527✔
18
    }
19

20
    /**
21
     * Sets the title of the `IgxQueryBuilderHeaderComponent`.
22
     *
23
     * @example
24
     * ```html
25
     * <igx-query-builder-header title="Sample Query Builder"></igx-query-builder-header>
26
     * ```
27
     */
28
    @Input()
29
    public title: string;
30

31
    /**
32
     * Show/hide the legend.
33
     *
34
     * @example
35
     * ```html
36
     * <igx-query-builder-header [showLegend]="false"></igx-query-builder-header>
37
     * ```
38
     * @deprecated in version 19.1.0.
39
     */
40
    @Input()
41
    public showLegend = true;
47✔
42

43
    /**
44
     * Sets the resource strings.
45
     * By default it uses EN resources.
46
     * 
47
     * @deprecated in version 19.1.0.
48
     */
49
    @Input()
50
    public set resourceStrings(value: IQueryBuilderResourceStrings) {
51
        this._resourceStrings = Object.assign({}, this._resourceStrings, value);
×
52
    }
53

54
    /**
55
     * Returns the resource strings.
56
     */
57
    public get resourceStrings(): IQueryBuilderResourceStrings {
UNCOV
58
        return this._resourceStrings;
×
59
    }
60
}
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