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 +6 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +6 -7
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +6 -7
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +5 -6
package/dist/index.modern.js
CHANGED
@@ -6071,17 +6071,16 @@ var CollectionAdder = function CollectionAdder(_ref12) {
|
|
6071
6071
|
}
|
6072
6072
|
|
6073
6073
|
function change(index, cellId, cellValue) {
|
6074
|
-
|
6075
|
-
var _Object$assign5;
|
6074
|
+
var _Object$assign5;
|
6076
6075
|
|
6077
|
-
|
6078
|
-
|
6079
|
-
setForm(structuredClone(next));
|
6080
|
-
}
|
6076
|
+
var next = Object.assign({}, form, (_Object$assign5 = {}, _Object$assign5[cellId] = cellValue, _Object$assign5));
|
6077
|
+
setForm(next);
|
6081
6078
|
}
|
6082
6079
|
|
6083
6080
|
function save() {
|
6084
|
-
|
6081
|
+
var next = Object.assign({}, form);
|
6082
|
+
delete next.actions;
|
6083
|
+
if (onAdd) onAdd([next]);
|
6085
6084
|
toggle();
|
6086
6085
|
}
|
6087
6086
|
|