ywana-core8 0.0.817 → 0.0.819
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 +3 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -13
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -13
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +3 -11
package/dist/index.umd.js
CHANGED
@@ -6078,7 +6078,7 @@
|
|
6078
6078
|
|
6079
6079
|
var next = Object.assign({}, form, (_Object$assign5 = {}, _Object$assign5[cellId] = cellValue, _Object$assign5));
|
6080
6080
|
delete next.actions;
|
6081
|
-
setForm(next);
|
6081
|
+
setForm(structuredClone(next));
|
6082
6082
|
}
|
6083
6083
|
}
|
6084
6084
|
|
@@ -6157,18 +6157,8 @@
|
|
6157
6157
|
setGroupBy = _useState5[1];
|
6158
6158
|
|
6159
6159
|
function change(id, value) {
|
6160
|
-
var nextData = data
|
6161
|
-
|
6162
|
-
var _Object$assign6;
|
6163
|
-
|
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;
|
6168
|
-
} else {
|
6169
|
-
return row;
|
6170
|
-
}
|
6171
|
-
});
|
6160
|
+
var nextData = structuredClone(data);
|
6161
|
+
nextData[id] = value;
|
6172
6162
|
if (onChange) onChange(field.id, nextData);
|
6173
6163
|
}
|
6174
6164
|
|