ywana-core8 0.0.103 → 0.0.107
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 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -4
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/TablePage.js +3 -2
package/dist/index.umd.js
CHANGED
@@ -4300,8 +4300,9 @@
|
|
4300
4300
|
|
4301
4301
|
|
4302
4302
|
var TableEditor = function TableEditor(props) {
|
4303
|
-
var check = function check(id, value) {
|
4303
|
+
var check = function check(id, value, t) {
|
4304
4304
|
try {
|
4305
|
+
console.log('check() ', id, value, t);
|
4305
4306
|
var ids = Array.isArray(id) ? id : [id];
|
4306
4307
|
pageContext.check(ids, value);
|
4307
4308
|
setPageContext(Object.assign({}, pageContext));
|
@@ -4415,9 +4416,7 @@
|
|
4415
4416
|
};
|
4416
4417
|
}),
|
4417
4418
|
rows: groups[groupName].map(function (item) {
|
4418
|
-
item.checked = pageContext.checked.
|
4419
|
-
return id === item.id;
|
4420
|
-
});
|
4419
|
+
item.checked = pageContext.checked.has(item.id);
|
4421
4420
|
item.actions = actions ? actions.map(function (_action) {
|
4422
4421
|
return _action.filter ? _action.filter(item) ? /*#__PURE__*/React__default["default"].createElement(Icon, {
|
4423
4422
|
icon: _action.icon,
|