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 +5 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +5 -6
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +5 -6
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/CollectionPage.js +2 -1
- package/src/domain/ContentEditor.js +3 -5
package/dist/index.modern.js
CHANGED
@@ -6075,7 +6075,6 @@ var CollectionAdder = function CollectionAdder(_ref12) {
|
|
6075
6075
|
var _Object$assign5;
|
6076
6076
|
|
6077
6077
|
var next = Object.assign({}, form, (_Object$assign5 = {}, _Object$assign5[cellId] = cellValue, _Object$assign5));
|
6078
|
-
delete next.actions;
|
6079
6078
|
setForm(next);
|
6080
6079
|
}
|
6081
6080
|
}
|
@@ -6159,10 +6158,9 @@ var TableEditor$3 = function TableEditor(props) {
|
|
6159
6158
|
if (row.id === id) {
|
6160
6159
|
var _Object$assign6;
|
6161
6160
|
|
6162
|
-
|
6163
|
-
|
6164
|
-
|
6165
|
-
return next;
|
6161
|
+
delete row.actions;
|
6162
|
+
var clonedRow = structuredClone(row);
|
6163
|
+
return Object.assign({}, clonedRow, (_Object$assign6 = {}, _Object$assign6[id] = value, _Object$assign6));
|
6166
6164
|
} else {
|
6167
6165
|
return row;
|
6168
6166
|
}
|
@@ -7319,8 +7317,9 @@ var CollectionEditor$1 = function CollectionEditor(props) {
|
|
7319
7317
|
}
|
7320
7318
|
|
7321
7319
|
function change(next) {
|
7320
|
+
console.log("CHANGEA", next);
|
7322
7321
|
setForm(function (prev) {
|
7323
|
-
console.log("
|
7322
|
+
console.log("CHANGEB", prev, next);
|
7324
7323
|
return next;
|
7325
7324
|
});
|
7326
7325
|
}
|