@churchillliving/se-ui-toolkit 6.53.429 → 6.53.430

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.
@@ -5162,6 +5162,7 @@
5162
5162
  if (!this.addDataKeyValue) {
5163
5163
  delete newRowObj[this.dataKey];
5164
5164
  }
5165
+ newRowObj = this.setRowsData(newRowObj);
5165
5166
  if (this.saveAllRecord) {
5166
5167
  this.saveRecordArray.push(newRowObj);
5167
5168
  }
@@ -6209,22 +6210,27 @@
6209
6210
  var _this = this;
6210
6211
  if (Array.isArray(rowsData)) {
6211
6212
  rowsData.forEach(function (row) {
6212
- var keys = Object.keys(row);
6213
- if ((keys === null || keys === void 0 ? void 0 : keys.length) > 0) {
6214
- keys.forEach(function (key) {
6215
- if (key.includes('_obj')) {
6216
- delete row[key];
6217
- }
6218
- });
6219
- }
6213
+ row = _this.removeRowObj(row);
6220
6214
  row = _this.gridService.setRowValue(row);
6221
6215
  });
6222
6216
  }
6223
6217
  else {
6218
+ rowsData = this.removeRowObj(rowsData);
6224
6219
  rowsData = this.gridService.setRowValue(rowsData);
6225
6220
  }
6226
6221
  return rowsData;
6227
6222
  };
6223
+ GridComponent.prototype.removeRowObj = function (row) {
6224
+ var keys = Object.keys(row);
6225
+ if ((keys === null || keys === void 0 ? void 0 : keys.length) > 0) {
6226
+ keys.forEach(function (key) {
6227
+ if (key.includes('_obj')) {
6228
+ delete row[key];
6229
+ }
6230
+ });
6231
+ }
6232
+ return row;
6233
+ };
6228
6234
  GridComponent.prototype.applyDropdownFilter = function (filter, event) {
6229
6235
  filter(event.target);
6230
6236
  };