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.modern.js
CHANGED
@@ -4404,13 +4404,16 @@ var TableEditor = function TableEditor(props) {
|
|
4404
4404
|
id: field.id,
|
4405
4405
|
label: field.label,
|
4406
4406
|
type: field.type,
|
4407
|
-
onChange: field.
|
4407
|
+
onChange: field.id === "checked" ? check : field.editable ? change : null,
|
4408
4408
|
|
4409
4409
|
/* checked has it´s own handler */
|
4410
4410
|
options: options
|
4411
4411
|
};
|
4412
4412
|
}),
|
4413
4413
|
rows: groups[groupName].map(function (item) {
|
4414
|
+
item.checked = pageContext.checked.some(function (id) {
|
4415
|
+
return id === item.id;
|
4416
|
+
});
|
4414
4417
|
item.actions = actions ? actions.map(function (_action) {
|
4415
4418
|
return _action.filter ? _action.filter(item) ? /*#__PURE__*/React.createElement(Icon, {
|
4416
4419
|
icon: _action.icon,
|