@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.
- package/dist/hooks/index.cjs +0 -9
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +0 -9
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +0 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +0 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/hooks/index.mjs
CHANGED
|
@@ -409,11 +409,6 @@ var eventInfoSchema = yup2.object().shape({
|
|
|
409
409
|
}
|
|
410
410
|
),
|
|
411
411
|
paymentInfo: yup2.array().of(paymentInfoSchema).min(1, "At least one payment method is required").required("Payment info is required")
|
|
412
|
-
/* refundPolicy: yup
|
|
413
|
-
.array()
|
|
414
|
-
.of(yup.string().trim().required("Refund policy item cannot be empty"))
|
|
415
|
-
.min(1, "At least one refund policy item is required")
|
|
416
|
-
.required("Refund policy is required"), */
|
|
417
412
|
});
|
|
418
413
|
|
|
419
414
|
// src/yupSchema/vendor.ts
|
|
@@ -811,7 +806,6 @@ var defaultEventInfoFormValues = {
|
|
|
811
806
|
// e.g., 2 hours before event opens
|
|
812
807
|
paymentDueHours: 12,
|
|
813
808
|
paymentInfo: [],
|
|
814
|
-
//refundPolicy: [],
|
|
815
809
|
requirements: []
|
|
816
810
|
};
|
|
817
811
|
var defaultVendorFormValues = {
|
|
@@ -1160,7 +1154,6 @@ function useEventInfoForm(data) {
|
|
|
1160
1154
|
packInTime: data.packInTime,
|
|
1161
1155
|
paymentDueHours: data.paymentDueHours,
|
|
1162
1156
|
paymentInfo: data.paymentInfo,
|
|
1163
|
-
//refundPolicy: data.refundPolicy,
|
|
1164
1157
|
requirements: data.requirements
|
|
1165
1158
|
});
|
|
1166
1159
|
} else {
|
|
@@ -1175,7 +1168,6 @@ function useEventInfoForm(data) {
|
|
|
1175
1168
|
packInTime,
|
|
1176
1169
|
paymentDueHours,
|
|
1177
1170
|
paymentInfo,
|
|
1178
|
-
//refundPolicy,
|
|
1179
1171
|
requirements
|
|
1180
1172
|
} = getValues();
|
|
1181
1173
|
return {
|
|
@@ -1188,7 +1180,6 @@ function useEventInfoForm(data) {
|
|
|
1188
1180
|
packInTime,
|
|
1189
1181
|
paymentDueHours,
|
|
1190
1182
|
paymentInfo,
|
|
1191
|
-
//refundPolicy,
|
|
1192
1183
|
requirements
|
|
1193
1184
|
},
|
|
1194
1185
|
formState,
|