@churchillliving/se-ui-toolkit 6.53.150 → 6.53.152

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.
@@ -2435,6 +2435,20 @@
2435
2435
  GridService.prototype.getFormattedDate = function (value) {
2436
2436
  return new Date(value + " Z").toISOString().slice(0, 10);
2437
2437
  };
2438
+ // get allowSave true row
2439
+ GridService.prototype.getAllowSaveRow = function (rowInfo, columns) {
2440
+ if (rowInfo === void 0) { rowInfo = {}; }
2441
+ var row = Object.assign({}, rowInfo);
2442
+ columns.forEach(function (column) {
2443
+ if (column.allowSave == false) {
2444
+ var key = Object.keys(row).find(function (x) { var _a; return x.toLowerCase() === ((_a = column.field) === null || _a === void 0 ? void 0 : _a.toLowerCase()); });
2445
+ if (key) {
2446
+ delete row[key];
2447
+ }
2448
+ }
2449
+ });
2450
+ return row;
2451
+ };
2438
2452
  // add simple grid column without
2439
2453
  GridService.prototype.addColumn = function (columnInfo) {
2440
2454
  if (columnInfo.type === exports.EGridColumnType.DROPDOWN) {
@@ -5082,6 +5096,7 @@
5082
5096
  }
5083
5097
  if (valueChange) {
5084
5098
  this.browserCloseEvent(true);
5099
+ this.rowsChange.emit(this.rowsData);
5085
5100
  if (column.onChange) {
5086
5101
  column.onChange(row);
5087
5102
  }
@@ -5252,6 +5267,7 @@
5252
5267
  };
5253
5268
  GridComponent.prototype.checkBoxChangeEvent = function (event, column, row) {
5254
5269
  row[column.field] = event;
5270
+ this.rowsChange.emit(this.rowsData);
5255
5271
  };
5256
5272
  // set dropdown displayField value base on optionLabel & optionValue.
5257
5273
  GridComponent.prototype.displayFieldDropdownValue = function (column, row) {