igniteui-angular 21.2.2 → 21.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-angular",
3
- "version": "21.2.2",
3
+ "version": "21.2.4",
4
4
  "description": "Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps",
5
5
  "author": "Infragistics",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -1322,9 +1322,10 @@ interface IPivotDimensionStrategy {
1322
1322
  }
1323
1323
  /**
1324
1324
  * Interface describing a PivotAggregation function.
1325
- * Accepts an array of extracted data members and a array of the original data records.
1325
+ * Accepts an array of extracted data members and an optional array of the original data records,
1326
+ * which can be omitted or undefined.
1326
1327
  */
1327
- type PivotAggregation = (members: any[], data: any[]) => any;
1328
+ type PivotAggregation = (members: any[], data?: any[]) => any;
1328
1329
  /**
1329
1330
  * Interface describing a IPivotAggregator class.
1330
1331
  * Used for specifying custom aggregator lists.
@@ -1343,7 +1344,7 @@ interface IPivotAggregator {
1343
1344
  * Aggregator function can be a custom implementation of `PivotAggregation`, or
1344
1345
  * use predefined ones from `IgxPivotAggregate` and its variants.
1345
1346
  */
1346
- aggregator?: (members: any[], data?: any[]) => any;
1347
+ aggregator?: PivotAggregation;
1347
1348
  }
1348
1349
  /**
1349
1350
  * Configuration of the pivot grid.
@@ -3389,6 +3390,7 @@ declare class IgxGridFilteringCellComponent implements AfterViewInit, OnInit, Do
3389
3390
  get pinnedCss(): boolean;
3390
3391
  get pinnedLastCss(): boolean;
3391
3392
  get pinnedFirstCSS(): boolean;
3393
+ role: string;
3392
3394
  private baseClass;
3393
3395
  constructor();
3394
3396
  ngOnInit(): void;
@@ -7554,6 +7556,10 @@ declare class IgxGridHeaderRowComponent implements DoCheck {
7554
7556
  pinnedEndColumnCollection: ColumnType[];
7555
7557
  /** Unpinned columns of the grid. */
7556
7558
  unpinnedColumnCollection: ColumnType[];
7559
+ /**
7560
+ * @hidden @internal
7561
+ */
7562
+ role: string;
7557
7563
  get activeDescendant(): string;
7558
7564
  hasMRL: boolean;
7559
7565
  width: number;
@@ -8112,6 +8118,11 @@ declare class IgxGridToolbarComponent implements OnDestroy {
8112
8118
  * @internal
8113
8119
  */
8114
8120
  defaultStyle: boolean;
8121
+ /**
8122
+ * @hidden
8123
+ * @internal
8124
+ */
8125
+ role: string;
8115
8126
  protected _grid: GridType;
8116
8127
  protected sub: Subscription;
8117
8128
  constructor();
@@ -10367,6 +10378,10 @@ declare abstract class IgxGroupByAreaDirective {
10367
10378
  */
10368
10379
  dropAreaTemplate: TemplateRef<void>;
10369
10380
  defaultClass: boolean;
10381
+ /**
10382
+ * @hidden @internal
10383
+ */
10384
+ role: string;
10370
10385
  /** The parent grid containing the component. */
10371
10386
  grid: FlatGridType | GridType;
10372
10387
  /**
@@ -10569,7 +10584,7 @@ declare class PivotUtil {
10569
10584
  static applyAggregations(rec: IPivotGridRecord, hierarchies: any, values: any, pivotKeys: IPivotKeys): void;
10570
10585
  protected static applyAggregationRecordData(aggregationData: any, groupName: string, rec: IPivotGridRecord, pivotKeys: IPivotKeys): void;
10571
10586
  static aggregate(records: any, values: IPivotValue[]): {};
10572
- static getAggregatorForType(aggregate: IPivotAggregator, dataType: GridColumnDataType): (members: any[], data?: any[]) => any;
10587
+ static getAggregatorForType(aggregate: IPivotAggregator, dataType: GridColumnDataType): igniteui_angular_grids_core.PivotAggregation;
10573
10588
  static processHierarchy(hierarchies: any, pivotKeys: any, level?: number, rootData?: boolean): IPivotGridRecord[];
10574
10589
  static getDirectLeafs(records: IPivotGridRecord[]): any[];
10575
10590
  static getRecordKey(rec: IPivotGridRecord, currentDim: IPivotDimension): string;
@@ -52,7 +52,7 @@ declare class IgxGridLiteColumnComponent<T extends object = any> {
52
52
  private readonly headerTemplateDirective;
53
53
  private readonly cellTemplateDirective;
54
54
  /** The field from the data for this column. */
55
- readonly field: _angular_core.InputSignal<Keys<T>>;
55
+ readonly field: _angular_core.InputSignal<NoInfer<Keys<T>>>;
56
56
  /** The data type of the column's values. */
57
57
  readonly dataType: _angular_core.InputSignal<DataType>;
58
58
  /** The header text of the column. */