• 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

60.0
/projects/igniteui-angular/src/lib/grids/grid/grid-row.component.ts
1
import { Component, ChangeDetectionStrategy, forwardRef } from '@angular/core';
2
import { IgxRowDirective } from '../row.directive';
3
import { IgxGridNotGroupedPipe, IgxGridTopLevelColumns, IgxGridCellStylesPipe, IgxGridCellStyleClassesPipe, IgxGridDataMapperPipe, IgxGridTransactionStatePipe } from '../common/pipes';
4
import { IgxGridExpandableCellComponent } from './expandable-cell.component';
5
import { IgxGridCellComponent } from '../cell.component';
6
import { IgxCheckboxComponent } from '../../checkbox/checkbox.component';
7
import { IgxGridForOfDirective } from '../../directives/for-of/for_of.directive';
8
import { IgxRowDragDirective } from '../row-drag.directive';
9
import { NgTemplateOutlet, NgIf, NgFor, NgStyle, NgClass } from '@angular/common';
10

11
/* blazorIndirectRender */
12
/* blazorElement */
13
@Component({
14
    changeDetection: ChangeDetectionStrategy.OnPush,
15
    selector: 'igx-grid-row',
16
    templateUrl: './grid-row.component.html',
17
    providers: [{ provide: IgxRowDirective, useExisting: forwardRef(() => IgxGridRowComponent) }],
260✔
18
    imports: [NgTemplateOutlet, NgIf, IgxRowDragDirective, NgFor, IgxGridForOfDirective, NgStyle, IgxCheckboxComponent, IgxGridCellComponent, NgClass, IgxGridExpandableCellComponent, IgxGridNotGroupedPipe, IgxGridTopLevelColumns, IgxGridCellStylesPipe, IgxGridCellStyleClassesPipe, IgxGridDataMapperPipe, IgxGridTransactionStatePipe]
19
})
20
export class IgxGridRowComponent extends IgxRowDirective {
2✔
21

22
    public getContext(col, row) {
23
        return {
9,776✔
24
            $implicit: col,
25
            row
26
        };
27
    }
28

29
    public get mrlRightPinnedOffset(): string {
UNCOV
30
        return !this.grid.isPinningToStart ?
×
31
            - this.grid.pinnedWidth - this.grid.headerFeaturesWidth + 'px' :
32
            null;
33
    }
34

35
    public getContextMRL(pinnedCols, row) {
UNCOV
36
        return {
×
37
            $implicit: pinnedCols,
38
            row
39
        };
40
    }
41
}
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