Skip to content

Commit e375873

Browse files
committed
chore(pivot): hide some more properties
1 parent 81c746e commit e375873

File tree

3 files changed

+151
-3
lines changed

3 files changed

+151
-3
lines changed

projects/igniteui-angular/src/lib/grids/pivot-grid/pivot-grid.component.ts

Lines changed: 150 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ import {
22
AfterContentInit,
33
ChangeDetectionStrategy,
44
Component,
5+
EventEmitter,
56
forwardRef,
67
HostBinding,
78
Input,
89
OnInit,
10+
Output,
911
TemplateRef,
1012
ViewChild
1113
} from '@angular/core';
@@ -26,7 +28,11 @@ import { PivotUtil } from './pivot-util';
2628
import { GridPagingMode, GridSummaryCalculationMode, GridSummaryPosition } from '../common/enums';
2729
import { WatchChanges } from '../watch-changes';
2830
import { OverlaySettings } from '../../services/public_api';
29-
import { IColumnVisibilityChangedEventArgs } from '../common/events';
31+
import {
32+
IColumnMovingEndEventArgs, IColumnMovingEventArgs, IColumnMovingStartEventArgs,
33+
IColumnVisibilityChangedEventArgs, IGridEditDoneEventArgs, IGridEditEventArgs,
34+
IPinColumnCancellableEventArgs, IPinColumnEventArgs, IPinRowEventArgs, IRowDataEventArgs, IRowDragEndEventArgs, IRowDragStartEventArgs
35+
} from '../common/events';
3036
import { IgxGridRowComponent } from '../grid/grid-row.component';
3137
import { DropPosition } from '../moving/moving.service';
3238
import { RowType } from '../common/row.interface';
@@ -87,10 +93,153 @@ export class IgxPivotGridComponent extends IgxGridBaseDirective implements OnIni
8793
@ViewChild('headerTemplate', { read: TemplateRef, static: true })
8894
public headerTemplate: TemplateRef<any>;
8995

96+
/**
97+
* @hidden @interal
98+
*/
99+
@Input()
100+
public addRowEmptyTemplate: TemplateRef<any>;
101+
102+
/**
103+
* @hidden @internal
104+
*/
105+
@Input()
106+
public snackbarDisplayTime = 6000;
107+
108+
/**
109+
* @hidden @internal
110+
*/
111+
@Output()
112+
public cellEdit = new EventEmitter<IGridEditEventArgs>();
113+
114+
/**
115+
* @hidden @internal
116+
*/
117+
@Output()
118+
public cellEditDone = new EventEmitter<IGridEditDoneEventArgs>();
119+
120+
/**
121+
* @hidden @internal
122+
*/
123+
@Output()
124+
public cellEditEnter = new EventEmitter<IGridEditEventArgs>();
125+
126+
/**
127+
* @hidden @internal
128+
*/
129+
@Output()
130+
public cellEditExit = new EventEmitter<IGridEditDoneEventArgs>();
131+
132+
/**
133+
* @hidden @internal
134+
*/
135+
@Output()
136+
public columnMovingStart = new EventEmitter<IColumnMovingStartEventArgs>();
137+
138+
/**
139+
* @hidden @internal
140+
*/
141+
@Output()
142+
public columnMoving = new EventEmitter<IColumnMovingEventArgs>();
143+
144+
/**
145+
* @hidden @internal
146+
*/
147+
@Output()
148+
public columnMovingEnd = new EventEmitter<IColumnMovingEndEventArgs>();
149+
150+
/**
151+
* @hidden @internal
152+
*/
153+
@Output()
154+
public columnPin = new EventEmitter<IPinColumnCancellableEventArgs>();
155+
156+
/**
157+
* @hidden @internal
158+
*/
159+
@Output()
160+
public columnPinned = new EventEmitter<IPinColumnEventArgs>();
161+
162+
/**
163+
* @hidden @internal
164+
*/
165+
@Output()
166+
public rowAdd = new EventEmitter<IGridEditEventArgs>();
167+
168+
/**
169+
* @hidden @internal
170+
*/
171+
@Output()
172+
public rowAdded = new EventEmitter<IRowDataEventArgs>();
173+
174+
/**
175+
* @hidden @internal
176+
*/
177+
@Output()
178+
public rowDeleted = new EventEmitter<IRowDataEventArgs>();
179+
180+
/**
181+
* @hidden @internal
182+
*/
183+
@Output()
184+
public rowDelete = new EventEmitter<IGridEditEventArgs>();
185+
186+
/**
187+
* @hidden @internal
188+
*/
189+
@Output()
190+
public rowDragStart = new EventEmitter<IRowDragStartEventArgs>();
191+
192+
/**
193+
* @hidden @internal
194+
*/
195+
@Output()
196+
public rowDragEnd = new EventEmitter<IRowDragEndEventArgs>();
197+
198+
/**
199+
* @hidden @internal
200+
*/
201+
@Output()
202+
public rowEditEnter = new EventEmitter<IGridEditEventArgs>();
203+
204+
/**
205+
* @hidden @internal
206+
*/
207+
@Output()
208+
public rowEdit = new EventEmitter<IGridEditEventArgs>();
209+
210+
/**
211+
* @hidden @internal
212+
*/
213+
@Output()
214+
public rowEditDone = new EventEmitter<IGridEditDoneEventArgs>();
215+
216+
/**
217+
* @hidden @internal
218+
*/
219+
@Output()
220+
public rowEditExit = new EventEmitter<IGridEditDoneEventArgs>();
221+
222+
/**
223+
* @hidden @internal
224+
*/
225+
@Output()
226+
public rowPinning = new EventEmitter<IPinRowEventArgs>();
227+
228+
/**
229+
* @hidden @internal
230+
*/
231+
@Output()
232+
public rowPinned = new EventEmitter<IPinRowEventArgs>();
90233

91234
public columnGroupStates = new Map<string, boolean>();
92235
public pivotKeys: IPivotKeys = { aggregations: 'aggregations', records: 'records', children: 'children', level: 'level' };
93236
public isPivot = true;
237+
238+
/**
239+
* @hidden @internal
240+
*/
241+
public dragRowID = null;
242+
94243
protected _defaultExpandState = true;
95244
private _data;
96245
private _filteredData;

projects/igniteui-angular/src/lib/grids/pivot-grid/pivot-grid.pipes.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NoopPivotDimensionsStrategy } from '../../data-operations/pivot-strategy';
22
import { IgxNumberSummaryOperand } from '../summaries/grid-summary';
3-
import { IPivotConfiguration, IPivotValue } from './pivot-grid.interface';
3+
import { IPivotConfiguration } from './pivot-grid.interface';
44
import { IgxPivotColumnPipe, IgxPivotRowExpansionPipe, IgxPivotRowPipe } from './pivot-grid.pipes';
55

66
describe('Pivot pipes', () => {

projects/igniteui-angular/src/lib/grids/pivot-grid/pivot-row.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
ElementRef,
77
forwardRef,
88
OnChanges,
9-
OnInit,
109
SimpleChanges,
1110
TemplateRef,
1211
ViewChild,

0 commit comments

Comments
 (0)