igniteui-angular 17.2.1 → 17.2.2
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/esm2022/lib/grids/common/crud.service.mjs +2 -1
- package/esm2022/lib/grids/hierarchical-grid/row-island.component.mjs +2 -1
- package/esm2022/lib/grids/pivot-grid/pivot-grid.component.mjs +6 -2
- package/fesm2022/igniteui-angular.mjs +7 -1
- package/fesm2022/igniteui-angular.mjs.map +1 -1
- package/migrations/migration-collection.json +5 -0
- package/migrations/update-17_2_0/changes/inputs.json +0 -40
- package/migrations/update-17_2_2/changes/inputs.json +29 -0
- package/migrations/update-17_2_2/index.d.ts +3 -0
- package/migrations/update-17_2_2/index.js +18 -0
- package/package.json +1 -1
|
@@ -23318,6 +23318,7 @@ class IgxAddRow extends IgxEditRow {
|
|
|
23318
23318
|
const args = super.createRowEditEventArgs(includeNewValue, event);
|
|
23319
23319
|
args.oldValue = null;
|
|
23320
23320
|
args.isAddRow = true;
|
|
23321
|
+
args.rowData = this.newData ?? this.data;
|
|
23321
23322
|
return args;
|
|
23322
23323
|
}
|
|
23323
23324
|
createRowEditDoneEventArgs(cachedRowData, event) {
|
|
@@ -74295,18 +74296,22 @@ class IgxPivotGridComponent extends IgxGridBaseDirective {
|
|
|
74295
74296
|
const separator = this.pivotKeys.columnDimensionSeparator;
|
|
74296
74297
|
const dataArr = fields.map(x => x.split(separator)).sort(x => x.length);
|
|
74297
74298
|
const hierarchy = new Map();
|
|
74299
|
+
const columnDimensions = PivotUtil.flatten(this.columnDimensions);
|
|
74298
74300
|
dataArr.forEach(arr => {
|
|
74299
74301
|
let currentHierarchy = hierarchy;
|
|
74300
74302
|
const path = [];
|
|
74303
|
+
let index = 0;
|
|
74301
74304
|
for (const val of arr) {
|
|
74302
74305
|
path.push(val);
|
|
74303
74306
|
const newPath = path.join(separator);
|
|
74304
74307
|
let targetHierarchy = currentHierarchy.get(newPath);
|
|
74305
74308
|
if (!targetHierarchy) {
|
|
74306
|
-
|
|
74309
|
+
const currentColumnDimension = columnDimensions[index];
|
|
74310
|
+
currentHierarchy.set(newPath, { value: newPath, expandable: !!currentColumnDimension.childLevel, children: new Map(), dimension: currentColumnDimension });
|
|
74307
74311
|
targetHierarchy = currentHierarchy.get(newPath);
|
|
74308
74312
|
}
|
|
74309
74313
|
currentHierarchy = targetHierarchy.children;
|
|
74314
|
+
index++;
|
|
74310
74315
|
}
|
|
74311
74316
|
});
|
|
74312
74317
|
return hierarchy;
|
|
@@ -80728,6 +80733,7 @@ class IgxRowIslandComponent extends IgxHierarchicalGridBaseDirective {
|
|
|
80728
80733
|
return false;
|
|
80729
80734
|
});
|
|
80730
80735
|
this._childColumns = topCols;
|
|
80736
|
+
this.updateColumns(this._childColumns);
|
|
80731
80737
|
this.rowIslandAPI.getChildGrids().forEach((grid) => {
|
|
80732
80738
|
grid.createColumnsList(this._childColumns);
|
|
80733
80739
|
if (!document.body.contains(grid.nativeElement)) {
|