igniteui-angular 16.0.22 → 16.0.23

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.
@@ -25660,7 +25660,7 @@ class IgxGridCRUDService extends IgxRowAddCrudState {
25660
25660
  });
25661
25661
  }
25662
25662
  /**
25663
- * Finishes the row transactions on the current row.
25663
+ * Finishes the row transactions on the current row and returns whether the grid editing was canceled.
25664
25664
  *
25665
25665
  * @remarks
25666
25666
  * If `commit === true`, passes them from the pending state to the data (or transaction service)
@@ -44338,7 +44338,7 @@ class IgxColumnComponent {
44338
44338
  const isPercentageWidth = colWidth && typeof colWidth === 'string' && colWidth.indexOf('%') !== -1;
44339
44339
  const isAutoWidth = colWidth && typeof colWidth === 'string' && colWidth === 'fit-content';
44340
44340
  if (isPercentageWidth) {
44341
- this._calcWidth = parseFloat(colWidth) / 100 * this.grid.calcWidth;
44341
+ this._calcWidth = Math.floor(parseFloat(colWidth) / 100 * this.grid.calcWidth);
44342
44342
  }
44343
44343
  else if (!colWidth || isAutoWidth && !this.autoSize) {
44344
44344
  // no width
@@ -66579,7 +66579,7 @@ class IgxGridBaseDirective extends DisplayDensityBase {
66579
66579
  return this.unpinnedRecords.findIndex(x => x[this.primaryKey] === id);
66580
66580
  }
66581
66581
  /**
66582
- * Finishes the row transactions on the current row.
66582
+ * Finishes the row transactions on the current row and returns whether the grid editing was canceled.
66583
66583
  *
66584
66584
  * @remarks
66585
66585
  * If `commit === true`, passes them from the pending state to the data (or transaction service)
@@ -66592,7 +66592,7 @@ class IgxGridBaseDirective extends DisplayDensityBase {
66592
66592
  // TODO: Facade for crud service refactoring. To be removed
66593
66593
  // TODO: do not remove this, as it is used in rowEditTemplate, but mark is as internal and hidden
66594
66594
  endEdit(commit = true, event) {
66595
- this.crudService.endEdit(commit, event);
66595
+ return this.crudService.endEdit(commit, event);
66596
66596
  }
66597
66597
  /**
66598
66598
  * Enters add mode by spawning the UI under the specified row by rowID.
@@ -75214,6 +75214,7 @@ class IgxPivotGridComponent extends IgxGridBaseDirective {
75214
75214
  * @hidden @internal
75215
75215
  */
75216
75216
  endEdit(_commit = true, _event) {
75217
+ return;
75217
75218
  }
75218
75219
  /**
75219
75220
  * @hidden @internal