ywana-core8 0.0.60 → 0.0.61

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
@@ -4297,7 +4297,14 @@ var TableEditor = function TableEditor(props) {
4297
4297
  }),
4298
4298
  rows: groups[groupName].map(function (item) {
4299
4299
  item.actions = actions ? actions.map(function (_action) {
4300
- return /*#__PURE__*/React__default["default"].createElement(Icon, {
4300
+ _action.filter ? _action.filter(item) ? /*#__PURE__*/React__default["default"].createElement(Icon, {
4301
+ icon: _action.icon,
4302
+ clickable: true,
4303
+ size: "small",
4304
+ action: function action() {
4305
+ return run(_action, item);
4306
+ }
4307
+ }) : null : /*#__PURE__*/React__default["default"].createElement(Icon, {
4301
4308
  icon: _action.icon,
4302
4309
  clickable: true,
4303
4310
  size: "small",