ywana-core8 0.0.464 → 0.0.467
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 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/TablePage.js +2 -4
package/dist/index.umd.js
CHANGED
@@ -5687,7 +5687,6 @@
|
|
5687
5687
|
label: field.label
|
5688
5688
|
};
|
5689
5689
|
});
|
5690
|
-
console.log("TableSelector ", columns, schema);
|
5691
5690
|
var rows = all.filter(function (item) {
|
5692
5691
|
return checked.has(item.id);
|
5693
5692
|
});
|
@@ -5697,7 +5696,8 @@
|
|
5697
5696
|
};
|
5698
5697
|
var buttons = actions.map(function (_ref) {
|
5699
5698
|
var label = _ref.label,
|
5700
|
-
_action = _ref.action
|
5699
|
+
_action = _ref.action,
|
5700
|
+
validate = _ref.validate;
|
5701
5701
|
return /*#__PURE__*/React__default["default"].createElement(Button, {
|
5702
5702
|
label: label,
|
5703
5703
|
raised: true,
|
@@ -5712,7 +5712,7 @@
|
|
5712
5712
|
}
|
5713
5713
|
});
|
5714
5714
|
},
|
5715
|
-
disabled: !
|
5715
|
+
disabled: !validate(checked, rows)
|
5716
5716
|
});
|
5717
5717
|
});
|
5718
5718
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|