@timardex/cluemart-shared 1.2.83 → 1.2.85
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/{ad-DjFdNVhH.d.mts → ad-CcYxwU64.d.mts} +7 -7
- package/dist/{ad-CqM1Bzc5.d.ts → ad-DMg0fZL4.d.ts} +7 -7
- package/dist/{chunk-ZQCAF7JE.mjs → chunk-O6YVGYRE.mjs} +5 -5
- package/dist/chunk-O6YVGYRE.mjs.map +1 -0
- package/dist/graphql/index.d.mts +1 -1
- package/dist/graphql/index.d.ts +1 -1
- package/dist/hooks/index.cjs +4 -9
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.mjs +1 -6
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +4 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.mjs +4 -9
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.cjs +4 -4
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-ZQCAF7JE.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -5701,15 +5701,15 @@ var yup6 = __toESM(require("yup"));
|
|
|
5701
5701
|
// src/types/tester.ts
|
|
5702
5702
|
var OrganizedMarketCount = /* @__PURE__ */ ((OrganizedMarketCount2) => {
|
|
5703
5703
|
OrganizedMarketCount2["ONE"] = "1";
|
|
5704
|
-
OrganizedMarketCount2["TWO_TO_THREE"] = "
|
|
5705
|
-
OrganizedMarketCount2["FOUR_TO_FIVE"] = "
|
|
5704
|
+
OrganizedMarketCount2["TWO_TO_THREE"] = "2_3";
|
|
5705
|
+
OrganizedMarketCount2["FOUR_TO_FIVE"] = "4_5";
|
|
5706
5706
|
OrganizedMarketCount2["MORE_THAN_FIVE"] = "more_than_5";
|
|
5707
5707
|
return OrganizedMarketCount2;
|
|
5708
5708
|
})(OrganizedMarketCount || {});
|
|
5709
5709
|
var VendorSellingFrequency = /* @__PURE__ */ ((VendorSellingFrequency2) => {
|
|
5710
|
-
VendorSellingFrequency2["TWICE_A_WEEK"] = "
|
|
5710
|
+
VendorSellingFrequency2["TWICE_A_WEEK"] = "2_3_times_a_week";
|
|
5711
5711
|
VendorSellingFrequency2["ONCE_A_WEEK"] = "once_a_week";
|
|
5712
|
-
VendorSellingFrequency2["ONE_TO_TWO_TIMES_A_MONTH"] = "
|
|
5712
|
+
VendorSellingFrequency2["ONE_TO_TWO_TIMES_A_MONTH"] = "1_2_times_a_month";
|
|
5713
5713
|
VendorSellingFrequency2["LESS_OFTEN"] = "less_often";
|
|
5714
5714
|
return VendorSellingFrequency2;
|
|
5715
5715
|
})(VendorSellingFrequency || {});
|
|
@@ -5775,7 +5775,6 @@ var testerEventSchema = yup6.object().shape({
|
|
|
5775
5775
|
registerMarketsFirstWeek: yup6.boolean().required("Register markets first week commitment is required")
|
|
5776
5776
|
});
|
|
5777
5777
|
var testerSchema = yup6.object().shape({
|
|
5778
|
-
approved: yup6.boolean().required("Approval status is required"),
|
|
5779
5778
|
businessName: yup6.string().required("Business name is required"),
|
|
5780
5779
|
email: emailRequiredSchema,
|
|
5781
5780
|
event: yup6.object().when("resourceType", {
|
|
@@ -6592,7 +6591,6 @@ var import_yup11 = require("@hookform/resolvers/yup");
|
|
|
6592
6591
|
var import_react = __toESM(require("react"));
|
|
6593
6592
|
var import_react_hook_form11 = require("react-hook-form");
|
|
6594
6593
|
var defaultValues7 = {
|
|
6595
|
-
approved: false,
|
|
6596
6594
|
businessName: "",
|
|
6597
6595
|
email: "",
|
|
6598
6596
|
event: null,
|
|
@@ -6620,7 +6618,6 @@ function useTesterForm(data) {
|
|
|
6620
6618
|
import_react.default.useEffect(() => {
|
|
6621
6619
|
if (data) {
|
|
6622
6620
|
reset({
|
|
6623
|
-
approved: data.approved,
|
|
6624
6621
|
businessName: data.businessName,
|
|
6625
6622
|
email: data.email,
|
|
6626
6623
|
event: data.event,
|
|
@@ -6637,7 +6634,6 @@ function useTesterForm(data) {
|
|
|
6637
6634
|
}
|
|
6638
6635
|
}, [data]);
|
|
6639
6636
|
const {
|
|
6640
|
-
approved,
|
|
6641
6637
|
businessName,
|
|
6642
6638
|
email,
|
|
6643
6639
|
event,
|
|
@@ -6652,7 +6648,6 @@ function useTesterForm(data) {
|
|
|
6652
6648
|
return {
|
|
6653
6649
|
control,
|
|
6654
6650
|
fields: {
|
|
6655
|
-
approved,
|
|
6656
6651
|
businessName,
|
|
6657
6652
|
email,
|
|
6658
6653
|
event,
|