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.cjs CHANGED
@@ -6083,7 +6083,6 @@ var CollectionAdder = function CollectionAdder(_ref12) {
6083
6083
  var _Object$assign5;
6084
6084
 
6085
6085
  var next = Object.assign({}, form, (_Object$assign5 = {}, _Object$assign5[cellId] = cellValue, _Object$assign5));
6086
- delete next.actions;
6087
6086
  setForm(next);
6088
6087
  }
6089
6088
  }
@@ -6167,10 +6166,9 @@ var TableEditor$3 = function TableEditor(props) {
6167
6166
  if (row.id === id) {
6168
6167
  var _Object$assign6;
6169
6168
 
6170
- var next = Object.assign({}, row, (_Object$assign6 = {}, _Object$assign6[id] = value, _Object$assign6));
6171
- delete next.actions;
6172
- delete next.undefined;
6173
- return next;
6169
+ delete row.actions;
6170
+ var clonedRow = structuredClone(row);
6171
+ return Object.assign({}, clonedRow, (_Object$assign6 = {}, _Object$assign6[id] = value, _Object$assign6));
6174
6172
  } else {
6175
6173
  return row;
6176
6174
  }
@@ -7327,8 +7325,9 @@ var CollectionEditor$1 = function CollectionEditor(props) {
7327
7325
  }
7328
7326
 
7329
7327
  function change(next) {
7328
+ console.log("CHANGEA", next);
7330
7329
  setForm(function (prev) {
7331
- console.log("CHANGE", prev, next);
7330
+ console.log("CHANGEB", prev, next);
7332
7331
  return next;
7333
7332
  });
7334
7333
  }