ywana-core8 0.0.816 → 0.0.818

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.
package/dist/index.umd.js CHANGED
@@ -6077,7 +6077,6 @@
6077
6077
  var _Object$assign5;
6078
6078
 
6079
6079
  var next = Object.assign({}, form, (_Object$assign5 = {}, _Object$assign5[cellId] = cellValue, _Object$assign5));
6080
- delete next.actions;
6081
6080
  setForm(next);
6082
6081
  }
6083
6082
  }
@@ -6161,10 +6160,9 @@
6161
6160
  if (row.id === id) {
6162
6161
  var _Object$assign6;
6163
6162
 
6164
- var next = Object.assign({}, row, (_Object$assign6 = {}, _Object$assign6[id] = value, _Object$assign6));
6165
- delete next.actions;
6166
- delete next.undefined;
6167
- return next;
6163
+ delete row.actions;
6164
+ var clonedRow = structuredClone(row);
6165
+ return Object.assign({}, clonedRow, (_Object$assign6 = {}, _Object$assign6[id] = value, _Object$assign6));
6168
6166
  } else {
6169
6167
  return row;
6170
6168
  }
@@ -7321,8 +7319,9 @@
7321
7319
  }
7322
7320
 
7323
7321
  function change(next) {
7322
+ console.log("CHANGEA", next);
7324
7323
  setForm(function (prev) {
7325
- console.log("CHANGE", prev, next);
7324
+ console.log("CHANGEB", prev, next);
7326
7325
  return next;
7327
7326
  });
7328
7327
  }