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.
@@ -25330,7 +25330,7 @@ class IgxGridCRUDService extends IgxRowAddCrudState {
25330
25330
  });
25331
25331
  }
25332
25332
  /**
25333
- * Finishes the row transactions on the current row.
25333
+ * Finishes the row transactions on the current row and returns whether the grid editing was canceled.
25334
25334
  *
25335
25335
  * @remarks
25336
25336
  * If `commit === true`, passes them from the pending state to the data (or transaction service)
@@ -52967,7 +52967,7 @@ class IgxColumnComponent {
52967
52967
  const isPercentageWidth = colWidth && typeof colWidth === 'string' && colWidth.indexOf('%') !== -1;
52968
52968
  const isAutoWidth = colWidth && typeof colWidth === 'string' && colWidth === 'fit-content';
52969
52969
  if (isPercentageWidth) {
52970
- this._calcWidth = parseFloat(colWidth) / 100 * this.grid.calcWidth;
52970
+ this._calcWidth = Math.floor(parseFloat(colWidth) / 100 * this.grid.calcWidth);
52971
52971
  }
52972
52972
  else if (!colWidth || isAutoWidth && !this.autoSize) {
52973
52973
  // no width
@@ -67312,7 +67312,7 @@ class IgxGridBaseDirective extends DisplayDensityBase {
67312
67312
  return this.unpinnedRecords.findIndex(x => x[this.primaryKey] === id);
67313
67313
  }
67314
67314
  /**
67315
- * Finishes the row transactions on the current row.
67315
+ * Finishes the row transactions on the current row and returns whether the grid editing was canceled.
67316
67316
  *
67317
67317
  * @remarks
67318
67318
  * If `commit === true`, passes them from the pending state to the data (or transaction service)
@@ -67325,7 +67325,7 @@ class IgxGridBaseDirective extends DisplayDensityBase {
67325
67325
  // TODO: Facade for crud service refactoring. To be removed
67326
67326
  // TODO: do not remove this, as it is used in rowEditTemplate, but mark is as internal and hidden
67327
67327
  endEdit(commit = true, event) {
67328
- this.crudService.endEdit(commit, event);
67328
+ return this.crudService.endEdit(commit, event);
67329
67329
  }
67330
67330
  /**
67331
67331
  * Enters add mode by spawning the UI under the specified row by rowID.
@@ -75226,6 +75226,7 @@ class IgxPivotGridComponent extends IgxGridBaseDirective {
75226
75226
  * @hidden @internal
75227
75227
  */
75228
75228
  endEdit(_commit = true, _event) {
75229
+ return;
75229
75230
  }
75230
75231
  /**
75231
75232
  * @hidden @internal