@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/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 !== "bank_transfer" /* BANK_TRANSFER */,
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,