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