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

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
@@ -47827,6 +47827,8 @@ var PartialAmountForm = function PartialAmountForm(_ref) {
47827
47827
  actions = _ref.actions,
47828
47828
  _ref$showErrors = _ref.showErrors,
47829
47829
  showErrors = _ref$showErrors === void 0 ? false : _ref$showErrors;
47830
+ console.log("fields", fields);
47831
+ console.log("actions", actions);
47830
47832
 
47831
47833
  if (clearOnDismount) {
47832
47834
  useEffect(function () {
@@ -47889,12 +47891,14 @@ var createPartialAmountFormState = function createPartialAmountFormState(lineIte
47889
47891
  var blockPartialPaymentOverpay = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
47890
47892
  var formConfig = lineItems.reduce(function (acc, item) {
47891
47893
  var validators = createPartialAmountFormValidators(item, lineItems, maximum, minimum, blockPartialPaymentOverpay);
47894
+ console.log("item and validators", item, validators);
47892
47895
  return _objectSpread2(_objectSpread2({}, acc), {}, _defineProperty({}, item.id, {
47893
47896
  validators: validators,
47894
47897
  constraints: [onlyNaturals()],
47895
47898
  defaultValue: String(item.amount)
47896
47899
  }));
47897
47900
  }, {});
47901
+ console.log("form config is", formConfig);
47898
47902
 
47899
47903
  var _createFormState = createFormState(formConfig),
47900
47904
  reducer = _createFormState.reducer,