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.
@@ -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.some(function (id) {
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,