@churchillliving/se-ui-toolkit 6.53.177 → 6.53.179

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.
@@ -2439,7 +2439,7 @@
2439
2439
  GridService.prototype.getAllowSaveRowlist = function (rowsData, columns) {
2440
2440
  if (rowsData === void 0) { rowsData = []; }
2441
2441
  columns.forEach(function (column) {
2442
- if (!column.allowSave) {
2442
+ if (column.allowSave === false) {
2443
2443
  rowsData.forEach(function (row) {
2444
2444
  var _a;
2445
2445
  delete row[(_a = column.field) === null || _a === void 0 ? void 0 : _a.toLowerCase()];
@@ -4546,6 +4546,9 @@
4546
4546
  else if (!column.timeOnly && column.showTime) {
4547
4547
  selectedRow[column.field] = _this.datePipe.transform(selectedRow[column.field], 'yyyy-MM-dd HH:mm:ss');
4548
4548
  }
4549
+ else if (selectedRow[column.field] && !column.timeOnly && column.saveAsString) {
4550
+ selectedRow[column.field] = selectedRow[column.field].toLocaleDateString();
4551
+ }
4549
4552
  }
4550
4553
  //convert multiselect array into string
4551
4554
  if (column.type === exports.EGridColumnType.MULTISELECT && selectedRow[column.field]) {