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.modern.js
CHANGED
@@ -4296,8 +4296,9 @@ var TableFilters = function TableFilters(props) {
|
|
4296
4296
|
|
4297
4297
|
|
4298
4298
|
var TableEditor = function TableEditor(props) {
|
4299
|
-
var check = function check(id, value) {
|
4299
|
+
var check = function check(id, value, t) {
|
4300
4300
|
try {
|
4301
|
+
console.log('check() ', id, value, t);
|
4301
4302
|
var ids = Array.isArray(id) ? id : [id];
|
4302
4303
|
pageContext.check(ids, value);
|
4303
4304
|
setPageContext(Object.assign({}, pageContext));
|
@@ -4411,9 +4412,7 @@ var TableEditor = function TableEditor(props) {
|
|
4411
4412
|
};
|
4412
4413
|
}),
|
4413
4414
|
rows: groups[groupName].map(function (item) {
|
4414
|
-
item.checked = pageContext.checked.
|
4415
|
-
return id === item.id;
|
4416
|
-
});
|
4415
|
+
item.checked = pageContext.checked.has(item.id);
|
4417
4416
|
item.actions = actions ? actions.map(function (_action) {
|
4418
4417
|
return _action.filter ? _action.filter(item) ? /*#__PURE__*/React.createElement(Icon, {
|
4419
4418
|
icon: _action.icon,
|