ywana-core8 0.0.461 → 0.0.464

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
@@ -5685,7 +5685,8 @@ var TableSelector = function TableSelector(props) {
5685
5685
  var count = checked.size + "/" + all.length;
5686
5686
  var columns = Object.keys(schema).filter(function (key) {
5687
5687
  return schema[key].selectorColumn === true;
5688
- }).map(function (field) {
5688
+ }).map(function (key) {
5689
+ var field = schema[key];
5689
5690
  return {
5690
5691
  id: field.id,
5691
5692
  label: field.label
@@ -5697,14 +5698,6 @@ var TableSelector = function TableSelector(props) {
5697
5698
  });
5698
5699
  var table = {
5699
5700
  columns: columns,
5700
-
5701
- /*
5702
- columns: [
5703
- { id: "id", label: "ID" },
5704
- { id: "idMatricula", label: "ID Matricula" },
5705
- { id: "flow", "Circuito"},
5706
- ],
5707
- */
5708
5701
  rows: rows || []
5709
5702
  };
5710
5703
  var buttons = actions.map(function (_ref) {
@@ -5723,7 +5716,8 @@ var TableSelector = function TableSelector(props) {
5723
5716
  return Promise.reject(e);
5724
5717
  }
5725
5718
  });
5726
- }
5719
+ },
5720
+ disabled: !_action.validate(checked)
5727
5721
  });
5728
5722
  });
5729
5723
  return /*#__PURE__*/React__default["default"].createElement("div", {