igniteui-angular 19.2.28 → 19.2.30

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.
@@ -3,6 +3,7 @@ import { GridType } from './common/grid.interface';
3
3
  import { PlatformUtil } from '../core/utils';
4
4
  import { GridKeydownTargetType } from './common/enums';
5
5
  import { IMultiRowLayoutNode } from './common/types';
6
+ import { Subject } from 'rxjs';
6
7
  import * as i0 from "@angular/core";
7
8
  export interface ColumnGroupsCache {
8
9
  level: number;
@@ -23,6 +24,7 @@ export declare class IgxGridNavigationService {
23
24
  _activeNode: IActiveNode;
24
25
  lastActiveNode: IActiveNode;
25
26
  protected pendingNavigation: boolean;
27
+ protected keydownNotify: Subject<KeyboardEvent>;
26
28
  get activeNode(): IActiveNode;
27
29
  set activeNode(value: IActiveNode);
28
30
  constructor(platform: PlatformUtil);
@@ -13,6 +13,23 @@ export declare class IgxTreeGridHierarchizingPipe implements PipeTransform {
13
13
  constructor(grid: GridType);
14
14
  transform(collection: any[], primaryKey: string, foreignKey: string, childDataKey: string, _: number): ITreeGridRecord[];
15
15
  private getRowID;
16
+ /**
17
+ * Converts a flat array of data into a hierarchical (tree) structure,
18
+ * preserving the original order of the records among siblings.
19
+ *
20
+ * It uses a two-pass approach:
21
+ * 1. Creates all ITreeGridRecord objects and populates the Map for quick lookup.
22
+ * 2. Links the records by iterating again, ensuring children are added to
23
+ * their parent's children array in the order they appeared in the
24
+ * original collection.
25
+ *
26
+ * @param collection The flat array of data to be hierarchized. This is the array whose order should be preserved.
27
+ * @param primaryKey The name of the property in the data objects that serves as the unique identifier (e.g., 'id').
28
+ * @param foreignKey The name of the property in the data objects that links to the parent's primary key (e.g., 'parentId').
29
+ * @param map A pre-existing Map object (key: primaryKey value, value: ITreeGridRecord) used to store and quickly look up all created records.
30
+ * @param flatData The original flat data array. Used for passing to the setIndentationLevels method (not directly used for hierarchy building).
31
+ * @returns An array of ITreeGridRecord objects representing the root nodes of the hierarchy, ordered as they appeared in the original collection.
32
+ */
16
33
  private hierarchizeFlatData;
17
34
  private setIndentationLevels;
18
35
  private hierarchizeRecursive;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-angular",
3
- "version": "19.2.28",
3
+ "version": "19.2.30",
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",