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.umd.js CHANGED
@@ -6073,17 +6073,16 @@
6073
6073
  }
6074
6074
 
6075
6075
  function change(index, cellId, cellValue) {
6076
- if (onAdd) {
6077
- var _Object$assign5;
6076
+ var _Object$assign5;
6078
6077
 
6079
- var next = Object.assign({}, form, (_Object$assign5 = {}, _Object$assign5[cellId] = cellValue, _Object$assign5));
6080
- delete next.actions;
6081
- setForm(structuredClone(next));
6082
- }
6078
+ var next = Object.assign({}, form, (_Object$assign5 = {}, _Object$assign5[cellId] = cellValue, _Object$assign5));
6079
+ setForm(next);
6083
6080
  }
6084
6081
 
6085
6082
  function save() {
6086
- if (onAdd) onAdd([form]);
6083
+ var next = Object.assign({}, form);
6084
+ delete next.actions;
6085
+ if (onAdd) onAdd([next]);
6087
6086
  toggle();
6088
6087
  }
6089
6088