|
1 | 1 | import {
|
2 | 2 | Component, ChangeDetectionStrategy, Input, Output, EventEmitter, ContentChild, ViewChildren,
|
3 | 3 | QueryList, ViewChild, TemplateRef, DoCheck, AfterContentInit, HostBinding,
|
4 |
| - OnInit, AfterViewInit, ContentChildren, forwardRef |
| 4 | + OnInit, AfterViewInit, ContentChildren |
5 | 5 | } from '@angular/core';
|
6 | 6 | import { IgxGridBaseDirective } from '../grid-base.directive';
|
7 | 7 | import { IgxGridNavigationService } from '../grid-navigation.service';
|
@@ -30,7 +30,6 @@ import { IgxGridGroupByAreaComponent } from '../grouping/grid-group-by-area.comp
|
30 | 30 | import { IgxGridCell } from '../grid-public-cell';
|
31 | 31 | import { ISortingExpression } from '../../data-operations/sorting-strategy';
|
32 | 32 | import { IGridGroupingStrategy } from '../common/strategy';
|
33 |
| -import { GridBaseAPIService } from '../api.service'; |
34 | 33 |
|
35 | 34 | let NEXT_ID = 0;
|
36 | 35 |
|
@@ -67,8 +66,8 @@ export interface IGroupingDoneEventArgs extends IBaseEventArgs {
|
67 | 66 | IgxGridNavigationService,
|
68 | 67 | IgxGridSummaryService,
|
69 | 68 | IgxGridSelectionService,
|
70 |
| - { provide: GridBaseAPIService, useClass: IgxGridAPIService }, |
71 |
| - { provide: IgxGridBaseDirective, useExisting: forwardRef(() => IgxGridComponent) }, |
| 69 | + { provide: IGX_GRID_SERVICE_BASE, useClass: IgxGridAPIService }, |
| 70 | + { provide: IGX_GRID_BASE, useExisting: IgxGridComponent }, |
72 | 71 | IgxFilteringService,
|
73 | 72 | IgxColumnResizingService,
|
74 | 73 | IgxForOfSyncService,
|
|
0 commit comments