@churchillliving/se-ui-toolkit 6.53.151 → 6.53.153

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) {
@@ -3429,7 +3443,7 @@
3429
3443
  this.rowsData = [];
3430
3444
  }
3431
3445
  // Cleaning the editing stack
3432
- this.editingRowKeys = {};
3446
+ // this.editingRowKeys = {};
3433
3447
  this.editRowsRecords = {};
3434
3448
  setTimeout(function () {
3435
3449
  if (data && data.length > 0 && _this.selectedRows) {
@@ -3445,12 +3459,6 @@
3445
3459
  }
3446
3460
  });
3447
3461
  }
3448
- // edit all rows
3449
- setTimeout(function () {
3450
- if (_this.editAllRows) {
3451
- _this.editAllRowsAtOnce();
3452
- }
3453
- }, 120);
3454
3462
  //manipulate checkbox string value to true and false.
3455
3463
  this.changeCheckboxStringValue();
3456
3464
  },