@timardex/cluemart-shared 1.3.56 → 1.3.58
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/{chunk-IXPWY6CU.mjs → chunk-OBQRGWV3.mjs} +2 -1
- package/dist/chunk-OBQRGWV3.mjs.map +1 -0
- package/dist/{chunk-O3WF2I56.mjs → chunk-SS3HGLNT.mjs} +22 -3
- package/dist/chunk-SS3HGLNT.mjs.map +1 -0
- package/dist/enums/index.cjs +1 -0
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +2 -1
- package/dist/enums/index.d.ts +2 -1
- package/dist/enums/index.mjs +1 -1
- package/dist/formFields/index.cjs +19 -0
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +2 -2
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +20 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +3 -3
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +22 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.mjs +21 -1
- package/dist/index.mjs.map +1 -1
- package/dist/utils/index.cjs +20 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +3 -2
- package/dist/utils/index.d.ts +3 -2
- package/dist/utils/index.mjs +4 -2
- package/package.json +1 -1
- package/dist/chunk-IXPWY6CU.mjs.map +0 -1
- package/dist/chunk-O3WF2I56.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -72,6 +72,7 @@ __export(index_exports, {
|
|
|
72
72
|
availableTagTypes: () => availableTagTypes,
|
|
73
73
|
capitalizeFirstLetter: () => capitalizeFirstLetter,
|
|
74
74
|
categoryColors: () => categoryColors,
|
|
75
|
+
cluemartSocialMedia: () => cluemartSocialMedia,
|
|
75
76
|
companyContactFields: () => companyContactFields,
|
|
76
77
|
contactUsFields: () => contactUsFields,
|
|
77
78
|
darkColors: () => darkColors,
|
|
@@ -306,6 +307,7 @@ var EnumFoodFlavor = /* @__PURE__ */ ((EnumFoodFlavor3) => {
|
|
|
306
307
|
EnumFoodFlavor3["SAVOURY"] = "Savoury";
|
|
307
308
|
EnumFoodFlavor3["SPICY"] = "Spicy";
|
|
308
309
|
EnumFoodFlavor3["SWEET"] = "Sweet";
|
|
310
|
+
EnumFoodFlavor3["OTHER"] = "Other";
|
|
309
311
|
return EnumFoodFlavor3;
|
|
310
312
|
})(EnumFoodFlavor || {});
|
|
311
313
|
var EnumFoodType = /* @__PURE__ */ ((EnumFoodType2) => {
|
|
@@ -776,6 +778,24 @@ var licenseNiceNames = {
|
|
|
776
778
|
["pro_plus_vendor" /* PRO_PLUS_VENDOR */]: "Pro+ Stallholder",
|
|
777
779
|
["standard_partner" /* STANDARD_PARTNER */]: "Partner"
|
|
778
780
|
};
|
|
781
|
+
var cluemartSocialMedia = [
|
|
782
|
+
{
|
|
783
|
+
link: "https://www.facebook.com/ClueMartApp",
|
|
784
|
+
name: "facebook" /* FACEBOOK */
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
link: "https://www.instagram.com/cluemart_app",
|
|
788
|
+
name: "instagram" /* INSTAGRAM */
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
link: "https://www.tiktok.com/@cluemart",
|
|
792
|
+
name: "tiktok" /* TIKTOK */
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
link: "https://www.youtube.com/@ClueMart-App-NZ",
|
|
796
|
+
name: "youtube" /* YOUTUBE */
|
|
797
|
+
}
|
|
798
|
+
];
|
|
779
799
|
|
|
780
800
|
// src/formFields/vendor/vendorInfo.ts
|
|
781
801
|
var vendorElectricity = {
|
|
@@ -6074,7 +6094,7 @@ var paymentInfoSchema = yup2.object({
|
|
|
6074
6094
|
otherwise: (schema) => schema.notRequired()
|
|
6075
6095
|
}),
|
|
6076
6096
|
link: yup2.string().when("paymentMethod", {
|
|
6077
|
-
is: (val) => val
|
|
6097
|
+
is: (val) => val === "paypal" /* PAYPAL */ || val === "stripe" /* STRIPE */,
|
|
6078
6098
|
then: () => normalizedUrlTransform().url("Link must be a valid URL").required("Link is required for PayPal/Stripe"),
|
|
6079
6099
|
otherwise: (schema) => schema.notRequired()
|
|
6080
6100
|
})
|
|
@@ -7730,6 +7750,7 @@ var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
|
|
|
7730
7750
|
availableTagTypes,
|
|
7731
7751
|
capitalizeFirstLetter,
|
|
7732
7752
|
categoryColors,
|
|
7753
|
+
cluemartSocialMedia,
|
|
7733
7754
|
companyContactFields,
|
|
7734
7755
|
contactUsFields,
|
|
7735
7756
|
darkColors,
|