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 CHANGED
@@ -4303,8 +4303,9 @@ var TableFilters = function TableFilters(props) {
4303
4303
 
4304
4304
 
4305
4305
  var TableEditor = function TableEditor(props) {
4306
- var check = function check(id, value) {
4306
+ var check = function check(id, value, t) {
4307
4307
  try {
4308
+ console.log('check() ', id, value, t);
4308
4309
  var ids = Array.isArray(id) ? id : [id];
4309
4310
  pageContext.check(ids, value);
4310
4311
  setPageContext(Object.assign({}, pageContext));
@@ -4418,9 +4419,7 @@ var TableEditor = function TableEditor(props) {
4418
4419
  };
4419
4420
  }),
4420
4421
  rows: groups[groupName].map(function (item) {
4421
- item.checked = pageContext.checked.some(function (id) {
4422
- return id === item.id;
4423
- });
4422
+ item.checked = pageContext.checked.has(item.id);
4424
4423
  item.actions = actions ? actions.map(function (_action) {
4425
4424
  return _action.filter ? _action.filter(item) ? /*#__PURE__*/React__default["default"].createElement(Icon, {
4426
4425
  icon: _action.icon,