Skip to content

Commit 8ec6ca0

Browse files
committed
fix(elements): Suppress public injects so they are not added to WC.
1 parent 47e0487 commit 8ec6ca0

File tree

12 files changed

+22
-1
lines changed

12 files changed

+22
-1
lines changed

projects/igniteui-angular-elements/src/lib/state.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export interface IGridStateInfo {
4444
standalone: true
4545
})
4646
export class IgxGridStateComponent extends IgxGridStateBaseDirective {
47+
/* blazorSuppress */
4748
public override grid = inject<GridType>(IGX_GRID_BASE);
4849
/**
4950
* Restores grid features' state based on the IGridStateInfo object passed as an argument.

projects/igniteui-angular/action-strip/src/action-strip/action-strip.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ export class IgxActionStripComponent implements IgxActionStripToken, AfterViewIn
8686
private _viewContainer = inject(ViewContainerRef);
8787
private renderer = inject(Renderer2);
8888
protected el = inject(ElementRef);
89+
/* blazorSuppress */
8990
public cdr = inject(ChangeDetectorRef);
9091

9192

projects/igniteui-angular/core/src/services/overlay/utilities.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import { IScrollStrategy } from './scroll';
1818
standalone: true
1919
})
2020
export class IgxOverlayOutletDirective {
21+
/* blazorSuppress */
2122
public element = inject<ElementRef<HTMLElement>>(ElementRef);
2223

2324
/** @hidden */

projects/igniteui-angular/grids/core/src/columns/column.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ const DEFAULT_DIGITS_INFO = '1.0-3';
5555
standalone: true
5656
})
5757
export class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnType {
58+
/* blazorSuppress */
5859
public grid = inject<GridType>(IGX_GRID_BASE);
5960
private _validators = inject<Validator[]>(NG_VALIDATORS, { optional: true, self: true });
6061

projects/igniteui-angular/grids/core/src/common/grid.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ export interface GridServiceType {
332332
grid: GridType;
333333
/** Represents the type of the CRUD service (Create, Read, Update, Delete) operations on the grid data. */
334334
crudService: any;
335-
/** A service responsible for handling column moving within the grid. It contains a reference to the column, its icon, and indicator for cancelation. */
335+
/** A service responsible for handling column moving within the grid. It contains a reference to the column, its icon, and indicator for cancellation. */
336336
cms: IgxColumnMovingService;
337337

338338
/** Represents a method declaration for retrieving the data used in the grid. The returned values could be of any type */

projects/igniteui-angular/grids/core/src/row.directive.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,13 @@ import { IgxCheckboxComponent } from 'igniteui-angular/checkbox';
3333
standalone: true
3434
})
3535
export class IgxRowDirective implements DoCheck, AfterViewInit, OnDestroy {
36+
/* blazorSuppress */
3637
public grid = inject<GridType>(IGX_GRID_BASE);
38+
/* blazorSuppress */
3739
public selectionService = inject(IgxGridSelectionService);
40+
/* blazorSuppress */
3841
public element = inject<ElementRef<HTMLElement>>(ElementRef);
42+
/* blazorSuppress */
3943
public cdr = inject(ChangeDetectorRef);
4044

4145
/**

projects/igniteui-angular/grids/grid/src/grid-base.directive.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,21 +133,25 @@ const MIN_ROW_EDITING_COUNT_THRESHOLD = 2;
133133
export abstract class IgxGridBaseDirective implements GridType,
134134
OnInit, DoCheck, OnDestroy, AfterContentInit, AfterViewInit {
135135

136+
/* blazorSuppress */
136137
public readonly validation = inject(IgxGridValidationService);
137138
/** @hidden @internal */
138139
public readonly selectionService = inject(IgxGridSelectionService);
139140
protected colResizingService = inject(IgxColumnResizingService);
141+
/* blazorSuppress */
140142
public readonly gridAPI = inject<GridServiceType>(IGX_GRID_SERVICE_BASE);
141143
protected transactionFactory = inject(IgxFlatTransactionFactory);
142144
private elementRef = inject<ElementRef<HTMLElement>>(ElementRef);
143145
protected zone = inject(NgZone);
144146
/** @hidden @internal */
145147
public document = inject(DOCUMENT);
148+
/* blazorSuppress */
146149
public readonly cdr = inject(ChangeDetectorRef);
147150
protected differs = inject(IterableDiffers);
148151
protected viewRef = inject(ViewContainerRef);
149152
protected injector = inject(Injector);
150153
protected envInjector = inject(EnvironmentInjector);
154+
/* blazorSuppress */
151155
public navigation = inject(IgxGridNavigationService);
152156
/** @hidden @internal */
153157
public filteringService = inject(IgxFilteringService);

projects/igniteui-angular/grids/hierarchical-grid/src/hierarchical-grid-base.directive.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ export const IgxHierarchicalTransactionServiceFactory = {
3434
wcSkipComponentSuffix */
3535
@Directive()
3636
export abstract class IgxHierarchicalGridBaseDirective extends IgxGridBaseDirective implements GridType {
37+
/* blazorSuppress */
3738
public override gridAPI = inject<IgxHierarchicalGridAPIService>(IGX_GRID_SERVICE_BASE);
39+
/* blazorSuppress */
3840
public override navigation = inject(IgxHierarchicalGridNavigationService);
3941
/**
4042
* Gets/Sets the key indicating whether a row has children. If row has no children it does not render an expand indicator.

projects/igniteui-angular/grids/hierarchical-grid/src/hierarchical-grid.component.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,11 @@ let NEXT_ID = 0;
4949
imports: [NgClass]
5050
})
5151
export class IgxChildGridRowComponent implements AfterViewInit, OnInit {
52+
/* blazorSuppress */
5253
public readonly gridAPI = inject<IgxHierarchicalGridAPIService>(IGX_GRID_SERVICE_BASE);
54+
/* blazorSuppress */
5355
public element = inject<ElementRef<HTMLElement>>(ElementRef);
56+
/* blazorSuppress */
5457
public cdr = inject(ChangeDetectorRef);
5558

5659
@Input()

projects/igniteui-angular/grids/hierarchical-grid/src/row-island.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ import { IForOfState } from 'igniteui-angular/directives';
6969
})
7070
export class IgxRowIslandComponent extends IgxHierarchicalGridBaseDirective
7171
implements AfterContentInit, AfterViewInit, OnChanges, OnInit, OnDestroy {
72+
/* blazorSuppress */
7273
public rowIslandAPI = inject(IgxRowIslandAPIService);
7374

7475

0 commit comments

Comments
 (0)