@timardex/cluemart-shared 1.4.27 → 1.4.28

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.
@@ -620,11 +620,6 @@ var eventInfoSchema = yup2.object().shape({
620
620
  }
621
621
  ),
622
622
  paymentInfo: yup2.array().of(paymentInfoSchema).min(1, "At least one payment method is required").required("Payment info is required")
623
- /* refundPolicy: yup
624
- .array()
625
- .of(yup.string().trim().required("Refund policy item cannot be empty"))
626
- .min(1, "At least one refund policy item is required")
627
- .required("Refund policy is required"), */
628
623
  });
629
624
 
630
625
  // src/yupSchema/vendor.ts
@@ -1092,7 +1087,6 @@ var defaultEventInfoFormValues = {
1092
1087
  // e.g., 2 hours before event opens
1093
1088
  paymentDueHours: 12,
1094
1089
  paymentInfo: [],
1095
- //refundPolicy: [],
1096
1090
  requirements: []
1097
1091
  };
1098
1092
  var defaultVendorFormValues = {
@@ -1441,7 +1435,6 @@ function useEventInfoForm(data) {
1441
1435
  packInTime: data.packInTime,
1442
1436
  paymentDueHours: data.paymentDueHours,
1443
1437
  paymentInfo: data.paymentInfo,
1444
- //refundPolicy: data.refundPolicy,
1445
1438
  requirements: data.requirements
1446
1439
  });
1447
1440
  } else {
@@ -1456,7 +1449,6 @@ function useEventInfoForm(data) {
1456
1449
  packInTime,
1457
1450
  paymentDueHours,
1458
1451
  paymentInfo,
1459
- //refundPolicy,
1460
1452
  requirements
1461
1453
  } = getValues();
1462
1454
  return {
@@ -1469,7 +1461,6 @@ function useEventInfoForm(data) {
1469
1461
  packInTime,
1470
1462
  paymentDueHours,
1471
1463
  paymentInfo,
1472
- //refundPolicy,
1473
1464
  requirements
1474
1465
  },
1475
1466
  formState,