@thecb/components 9.1.0-beta.4 → 9.1.0-beta.5

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.js CHANGED
@@ -47889,18 +47889,21 @@ var createPartialAmountFormState = function createPartialAmountFormState(lineIte
47889
47889
  var blockPartialPaymentOverpay = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
47890
47890
  var formConfig = lineItems.reduce(function (acc, item) {
47891
47891
  var validators = createPartialAmountFormValidators(item, lineItems, maximum, minimum, blockPartialPaymentOverpay);
47892
+ console.log("item and validators", item, validators);
47892
47893
  return _objectSpread2(_objectSpread2({}, acc), {}, _defineProperty({}, item.id, {
47893
47894
  validators: validators,
47894
47895
  constraints: [onlyNaturals()],
47895
47896
  defaultValue: String(item.amount)
47896
47897
  }));
47897
47898
  }, {});
47899
+ console.log("form config is", formConfig);
47898
47900
 
47899
47901
  var _createFormState = createFormState(formConfig),
47900
47902
  reducer = _createFormState.reducer,
47901
47903
  mapStateToProps = _createFormState.mapStateToProps,
47902
47904
  mapDispatchToProps = _createFormState.mapDispatchToProps;
47903
47905
 
47906
+ console.log("partial amount form reducer etc is", reducer, mapStateToProps, mapDispatchToProps);
47904
47907
  return {
47905
47908
  partialAmountFormReducer: reducer,
47906
47909
  partialAmountFormMapStateToProps: mapStateToProps,