ywana-core8 0.0.667 → 0.0.668

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.umd.js CHANGED
@@ -5655,6 +5655,7 @@
5655
5655
  _props$actions = props.actions,
5656
5656
  actions = _props$actions === void 0 ? [] : _props$actions,
5657
5657
  onSelect = props.onSelect,
5658
+ onChange = props.onChange,
5658
5659
  _props$canFilter = props.canFilter,
5659
5660
  canFilter = _props$canFilter === void 0 ? false : _props$canFilter,
5660
5661
  _props$canAdd = props.canAdd,
@@ -5768,7 +5769,8 @@
5768
5769
  delay: delay,
5769
5770
  canDelete: canDelete,
5770
5771
  onReload: reloadSelection,
5771
- patch: patch
5772
+ patch: patch,
5773
+ onChange: onChange
5772
5774
  }), children ? /*#__PURE__*/React__default["default"].createElement("article", null, children) : null, /*#__PURE__*/React__default["default"].createElement("footer", null, footer)));
5773
5775
  };
5774
5776
  var CollectionFilters = function CollectionFilters(props) {
@@ -6074,6 +6076,7 @@
6074
6076
  var save = function save() {
6075
6077
  try {
6076
6078
  var _temp3 = function _temp3() {
6079
+ if (onChange) onChange(form);
6077
6080
  setPageContext(Object.assign({}, pageContext));
6078
6081
  };
6079
6082
 
@@ -6116,6 +6119,7 @@
6116
6119
  delay = _props$delay2 === void 0 ? 1000 : _props$delay2,
6117
6120
  canDelete = props.canDelete,
6118
6121
  onReload = props.onReload,
6122
+ onChange = props.onChange,
6119
6123
  _props$patch2 = props.patch,
6120
6124
  patch = _props$patch2 === void 0 ? false : _props$patch2;
6121
6125
  var timer = React.useRef(null);