igniteui-angular 15.1.24 → 15.1.25

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.
@@ -25746,7 +25746,7 @@ class IgxGridCRUDService extends IgxRowAddCrudState {
25746
25746
  });
25747
25747
  }
25748
25748
  /**
25749
- * Finishes the row transactions on the current row.
25749
+ * Finishes the row transactions on the current row and returns whether the grid editing was canceled.
25750
25750
  *
25751
25751
  * @remarks
25752
25752
  * If `commit === true`, passes them from the pending state to the data (or transaction service)
@@ -53248,7 +53248,7 @@ class IgxColumnComponent {
53248
53248
  const isPercentageWidth = colWidth && typeof colWidth === 'string' && colWidth.indexOf('%') !== -1;
53249
53249
  const isAutoWidth = colWidth && typeof colWidth === 'string' && colWidth === 'fit-content';
53250
53250
  if (isPercentageWidth) {
53251
- this._calcWidth = parseFloat(colWidth) / 100 * this.grid.calcWidth;
53251
+ this._calcWidth = Math.floor(parseFloat(colWidth) / 100 * this.grid.calcWidth);
53252
53252
  }
53253
53253
  else if (!colWidth || isAutoWidth && !this.autoSize) {
53254
53254
  // no width
@@ -67507,7 +67507,7 @@ class IgxGridBaseDirective extends DisplayDensityBase {
67507
67507
  return this.unpinnedRecords.findIndex(x => x[this.primaryKey] === id);
67508
67508
  }
67509
67509
  /**
67510
- * Finishes the row transactions on the current row.
67510
+ * Finishes the row transactions on the current row and returns whether the grid editing was canceled.
67511
67511
  *
67512
67512
  * @remarks
67513
67513
  * If `commit === true`, passes them from the pending state to the data (or transaction service)
@@ -67520,7 +67520,7 @@ class IgxGridBaseDirective extends DisplayDensityBase {
67520
67520
  // TODO: Facade for crud service refactoring. To be removed
67521
67521
  // TODO: do not remove this, as it is used in rowEditTemplate, but mark is as internal and hidden
67522
67522
  endEdit(commit = true, event) {
67523
- this.crudService.endEdit(commit, event);
67523
+ return this.crudService.endEdit(commit, event);
67524
67524
  }
67525
67525
  /**
67526
67526
  * Enters add mode by spawning the UI under the specified row by rowID.
@@ -75357,6 +75357,7 @@ class IgxPivotGridComponent extends IgxGridBaseDirective {
75357
75357
  * @hidden @internal
75358
75358
  */
75359
75359
  endEdit(_commit = true, _event) {
75360
+ return;
75360
75361
  }
75361
75362
  /**
75362
75363
  * @hidden @internal