@timardex/cluemart-shared 1.4.46 → 1.4.48

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.
Files changed (41) hide show
  1. package/dist/{auth-DAba6V_V.d.mts → auth-DwVFY-11.d.mts} +1 -1
  2. package/dist/{auth-Dh7vfK5X.d.ts → auth-EMTs7YlU.d.ts} +1 -1
  3. package/dist/{chunk-YVLKDO3W.mjs → chunk-KIWJIODL.mjs} +1 -7
  4. package/dist/chunk-KIWJIODL.mjs.map +1 -0
  5. package/dist/{chunk-KWA2LDKT.mjs → chunk-SNPOV7HM.mjs} +13 -11
  6. package/dist/chunk-SNPOV7HM.mjs.map +1 -0
  7. package/dist/formFields/index.cjs +0 -7
  8. package/dist/formFields/index.cjs.map +1 -1
  9. package/dist/formFields/index.d.mts +2 -3
  10. package/dist/formFields/index.d.ts +2 -3
  11. package/dist/formFields/index.mjs +1 -3
  12. package/dist/{global-XupMOj9w.d.mts → global-BP0RxCZR.d.mts} +13 -12
  13. package/dist/{global-CreS92Aj.d.ts → global-BvPydN8P.d.ts} +13 -12
  14. package/dist/graphql/index.cjs +12 -10
  15. package/dist/graphql/index.cjs.map +1 -1
  16. package/dist/graphql/index.d.mts +3 -3
  17. package/dist/graphql/index.d.ts +3 -3
  18. package/dist/graphql/index.mjs +1 -1
  19. package/dist/hooks/index.cjs +15 -19
  20. package/dist/hooks/index.cjs.map +1 -1
  21. package/dist/hooks/index.d.mts +3 -3
  22. package/dist/hooks/index.d.ts +3 -3
  23. package/dist/hooks/index.mjs +5 -11
  24. package/dist/hooks/index.mjs.map +1 -1
  25. package/dist/index.cjs +15 -26
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.d.mts +13 -13
  28. package/dist/index.d.ts +13 -13
  29. package/dist/index.mjs +15 -25
  30. package/dist/index.mjs.map +1 -1
  31. package/dist/{post-B74Ys78F.d.mts → post-BhTIar0P.d.mts} +1 -1
  32. package/dist/{post-DleN4bOo.d.ts → post-VWgTt8Vt.d.ts} +1 -1
  33. package/dist/{resourceActivities-XgH7KVVM.d.mts → resourceActivities-Cc92sGGs.d.mts} +1 -1
  34. package/dist/{resourceActivities-kqamBEgd.d.ts → resourceActivities-jxxUV0-1.d.ts} +1 -1
  35. package/dist/types/index.d.mts +5 -5
  36. package/dist/types/index.d.ts +5 -5
  37. package/dist/utils/index.d.mts +1 -1
  38. package/dist/utils/index.d.ts +1 -1
  39. package/package.json +1 -1
  40. package/dist/chunk-KWA2LDKT.mjs.map +0 -1
  41. package/dist/chunk-YVLKDO3W.mjs.map +0 -1
package/dist/index.cjs CHANGED
@@ -269,7 +269,6 @@ __export(index_exports, {
269
269
  vendorGazebo: () => vendorGazebo,
270
270
  vendorLocationDescription: () => vendorLocationDescription,
271
271
  vendorMenuFields: () => vendorMenuFields,
272
- vendorMultiLocation: () => vendorMultiLocation,
273
272
  vendorPackaging: () => vendorPackaging,
274
273
  vendorPriceRange: () => vendorPriceRange,
275
274
  vendorProducedIn: () => vendorProducedIn,
@@ -523,11 +522,6 @@ var vendorBasicInfoFields = [
523
522
  placeholder: "Description"
524
523
  }
525
524
  ];
526
- var vendorMultiLocation = {
527
- helperText: "Usefull when you are not only selling products on Events but also providing services at other locations.",
528
- name: "multiLocation",
529
- placeholder: "Multi location"
530
- };
531
525
  var vendorFullAddress = {
532
526
  helperText: "Enter address",
533
527
  name: "fullAddress",
@@ -3027,6 +3021,18 @@ var VENDOR = import_client4.gql`
3027
3021
  categories {
3028
3022
  ...CategoryFields
3029
3023
  }
3024
+ calendar {
3025
+ active
3026
+ calendarData {
3027
+ dateTime {
3028
+ ...VendorDateTimeFields
3029
+ }
3030
+ description
3031
+ location {
3032
+ ...LocationFields
3033
+ }
3034
+ }
3035
+ }
3030
3036
  contactDetails {
3031
3037
  ...ContactDetailsFields
3032
3038
  }
@@ -3040,19 +3046,9 @@ var VENDOR = import_client4.gql`
3040
3046
  images {
3041
3047
  ...ResourceImageFields
3042
3048
  }
3043
- locations {
3044
- dateTime {
3045
- ...VendorDateTimeFields
3046
- }
3047
- description
3048
- location {
3049
- ...LocationFields
3050
- }
3051
- }
3052
3049
  logo {
3053
3050
  ...ResourceImageFields
3054
3051
  }
3055
- multiLocation
3056
3052
  name
3057
3053
  owner {
3058
3054
  ...OwnerFields
@@ -6315,7 +6311,6 @@ var vendroMenuSchema = yup3.object().shape({
6315
6311
  var vendorSchema = globalResourceSchema.shape({
6316
6312
  categories: categorySchema.min(1, "Category list must contain at least one item").required("Categories are required"),
6317
6313
  foodTruck: yup3.boolean().label("Food Truck").required("Please specify if the vendor is a food truck"),
6318
- multiLocation: yup3.boolean().required("Multi location is required"),
6319
6314
  products: yup3.array().of(vendroMenuSchema).nullable().optional(),
6320
6315
  vendorType: yup3.mixed().oneOf(Object.values(EnumVendorType)).required("Please select a Vendor type")
6321
6316
  });
@@ -6674,8 +6669,6 @@ var defaultVendorFormValues = {
6674
6669
  },
6675
6670
  categories: [],
6676
6671
  foodTruck: false,
6677
- locations: null,
6678
- multiLocation: false,
6679
6672
  products: null,
6680
6673
  vendorType: "Stallholder" /* STALLHOLDER */
6681
6674
  };
@@ -6747,10 +6740,9 @@ function useVendorForm(data) {
6747
6740
  reset({
6748
6741
  ...mapBaseResourceTypeToFormData(data),
6749
6742
  availability: data.availability,
6743
+ calendar: data.calendar,
6750
6744
  categories: data.categories,
6751
6745
  foodTruck: data.foodTruck,
6752
- locations: data.locations,
6753
- multiLocation: data.multiLocation,
6754
6746
  products: data.products,
6755
6747
  vendorType: data.vendorType
6756
6748
  });
@@ -6764,6 +6756,7 @@ function useVendorForm(data) {
6764
6756
  associates,
6765
6757
  availability,
6766
6758
  categories,
6759
+ calendar,
6767
6760
  contactDetails,
6768
6761
  cover,
6769
6762
  coverUpload,
@@ -6771,10 +6764,8 @@ function useVendorForm(data) {
6771
6764
  description,
6772
6765
  images,
6773
6766
  imagesUpload,
6774
- locations,
6775
6767
  logo,
6776
6768
  logoUpload,
6777
- multiLocation,
6778
6769
  name,
6779
6770
  owner,
6780
6771
  products,
@@ -6791,6 +6782,7 @@ function useVendorForm(data) {
6791
6782
  active,
6792
6783
  associates,
6793
6784
  availability,
6785
+ calendar,
6794
6786
  categories,
6795
6787
  contactDetails,
6796
6788
  cover,
@@ -6799,10 +6791,8 @@ function useVendorForm(data) {
6799
6791
  foodTruck,
6800
6792
  images,
6801
6793
  imagesUpload,
6802
- locations,
6803
6794
  logo,
6804
6795
  logoUpload,
6805
- multiLocation,
6806
6796
  name,
6807
6797
  owner,
6808
6798
  products,
@@ -8003,7 +7993,6 @@ var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
8003
7993
  vendorGazebo,
8004
7994
  vendorLocationDescription,
8005
7995
  vendorMenuFields,
8006
- vendorMultiLocation,
8007
7996
  vendorPackaging,
8008
7997
  vendorPriceRange,
8009
7998
  vendorProducedIn,