ywana-core8 0.0.102 → 0.0.103
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 +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +4 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +4 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/TablePage.js +2 -1
package/dist/index.cjs
CHANGED
@@ -4411,13 +4411,16 @@ var TableEditor = function TableEditor(props) {
|
|
4411
4411
|
id: field.id,
|
4412
4412
|
label: field.label,
|
4413
4413
|
type: field.type,
|
4414
|
-
onChange: field.
|
4414
|
+
onChange: field.id === "checked" ? check : field.editable ? change : null,
|
4415
4415
|
|
4416
4416
|
/* checked has it´s own handler */
|
4417
4417
|
options: options
|
4418
4418
|
};
|
4419
4419
|
}),
|
4420
4420
|
rows: groups[groupName].map(function (item) {
|
4421
|
+
item.checked = pageContext.checked.some(function (id) {
|
4422
|
+
return id === item.id;
|
4423
|
+
});
|
4421
4424
|
item.actions = actions ? actions.map(function (_action) {
|
4422
4425
|
return _action.filter ? _action.filter(item) ? /*#__PURE__*/React__default["default"].createElement(Icon, {
|
4423
4426
|
icon: _action.icon,
|