ywana-core8 0.0.819 → 0.0.820

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
@@ -6079,17 +6079,16 @@ var CollectionAdder = function CollectionAdder(_ref12) {
6079
6079
  }
6080
6080
 
6081
6081
  function change(index, cellId, cellValue) {
6082
- if (onAdd) {
6083
- var _Object$assign5;
6082
+ var _Object$assign5;
6084
6083
 
6085
- var next = Object.assign({}, form, (_Object$assign5 = {}, _Object$assign5[cellId] = cellValue, _Object$assign5));
6086
- delete next.actions;
6087
- setForm(structuredClone(next));
6088
- }
6084
+ var next = Object.assign({}, form, (_Object$assign5 = {}, _Object$assign5[cellId] = cellValue, _Object$assign5));
6085
+ setForm(next);
6089
6086
  }
6090
6087
 
6091
6088
  function save() {
6092
- if (onAdd) onAdd([form]);
6089
+ var next = Object.assign({}, form);
6090
+ delete next.actions;
6091
+ if (onAdd) onAdd([next]);
6093
6092
  toggle();
6094
6093
  }
6095
6094