@timardex/cluemart-shared 1.4.47 → 1.4.49

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-Dn--6hv6.d.ts → auth-D8UFPzrV.d.ts} +1 -1
  2. package/dist/{auth-B4xQkspX.d.mts → auth-DjhyuSc4.d.mts} +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-WEZAIHRP.mjs} +20 -15
  6. package/dist/chunk-WEZAIHRP.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-BaRkbNJY.d.mts → global-B0Dwutyj.d.mts} +13 -9
  13. package/dist/{global-BaQqe4tO.d.ts → global-S6dWKuAO.d.ts} +13 -9
  14. package/dist/graphql/index.cjs +19 -14
  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 +25 -24
  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 +8 -12
  24. package/dist/hooks/index.mjs.map +1 -1
  25. package/dist/index.cjs +25 -31
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.d.mts +13 -10
  28. package/dist/index.d.ts +13 -10
  29. package/dist/index.mjs +25 -30
  30. package/dist/index.mjs.map +1 -1
  31. package/dist/{post-DdO574BP.d.mts → post-Ca65D14n.d.mts} +1 -1
  32. package/dist/{post-BNREQyX4.d.ts → post-YKX0RPhh.d.ts} +1 -1
  33. package/dist/{resourceActivities-74LABQJf.d.ts → resourceActivities-BdyamlH1.d.ts} +1 -1
  34. package/dist/{resourceActivities-sCfrMmT_.d.mts → resourceActivities-CUAw8UJq.d.mts} +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
@@ -1,9 +1,8 @@
1
- import { F as FormField, a as FormDateField, O as OptionItem, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-BaQqe4tO.js';
1
+ import { F as FormField, a as FormDateField, O as OptionItem, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-S6dWKuAO.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
5
5
  declare const vendorBasicInfoFields: FormField[];
6
- declare const vendorMultiLocation: FormField;
7
6
  declare const vendorFullAddress: FormField;
8
7
  declare const vendorStartDateFields: FormDateField[];
9
8
  declare const vendorEndDateFields: FormDateField[];
@@ -81,4 +80,4 @@ declare const companyContactFields: FormField[];
81
80
 
82
81
  declare const partnerBasicInfoFields: FormField[];
83
82
 
84
- export { availableCategories, availableTagTypes, categoryColors, companyContactFields, contactUsFields, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, foodFlavourOptions, loginFields, packagingOptions, partnerBasicInfoFields, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, stallTypeOptions, tagOptions, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorMultiLocation, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
83
+ export { availableCategories, availableTagTypes, categoryColors, companyContactFields, contactUsFields, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, foodFlavourOptions, loginFields, packagingOptions, partnerBasicInfoFields, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, stallTypeOptions, tagOptions, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
@@ -36,14 +36,13 @@ import {
36
36
  vendorGazebo,
37
37
  vendorLocationDescription,
38
38
  vendorMenuFields,
39
- vendorMultiLocation,
40
39
  vendorPackaging,
41
40
  vendorPriceRange,
42
41
  vendorProducedIn,
43
42
  vendorStallSize,
44
43
  vendorStartDateFields,
45
44
  vendorTable
46
- } from "../chunk-YVLKDO3W.mjs";
45
+ } from "../chunk-KIWJIODL.mjs";
47
46
  import "../chunk-5V6JNIPQ.mjs";
48
47
  import "../chunk-LDO4DRWY.mjs";
49
48
  export {
@@ -84,7 +83,6 @@ export {
84
83
  vendorGazebo,
85
84
  vendorLocationDescription,
86
85
  vendorMenuFields,
87
- vendorMultiLocation,
88
86
  vendorPackaging,
89
87
  vendorPriceRange,
90
88
  vendorProducedIn,
@@ -124,10 +124,10 @@ type EventInfoType = Omit<EventInfoFormData, "_id"> & {
124
124
  _id: string;
125
125
  };
126
126
 
127
- type VendorLocation = Omit<ResourceDetails, "dateTime" | "eventStatus"> & {
127
+ type VendorCalendarData = Omit<ResourceDetails, "dateTime" | "eventStatus"> & {
128
128
  dateTime: DateTimeType;
129
129
  };
130
- type VendorMenuType = {
130
+ type VendorProductType = {
131
131
  description: string | null;
132
132
  name: string | null;
133
133
  price: number | null;
@@ -139,11 +139,16 @@ interface VendorFormData extends BaseResourceTypeFormData {
139
139
  private: boolean;
140
140
  corporate: boolean;
141
141
  };
142
+ calendar?: {
143
+ active?: boolean | null;
144
+ calendarData?: VendorCalendarData[] | null;
145
+ } | null;
142
146
  categories: Category[];
143
147
  foodTruck: boolean;
144
- locations?: VendorLocation[] | null;
145
- multiLocation: boolean;
146
- products?: VendorMenuType[] | null;
148
+ products?: {
149
+ active?: boolean | null;
150
+ productsData?: VendorProductType[] | null;
151
+ } | null;
147
152
  vendorType: EnumVendorType;
148
153
  }
149
154
  type CreateVendorFormData = CreateFormData<VendorFormData>;
@@ -188,11 +193,10 @@ interface VendorType extends BaseResourceType {
188
193
  private: boolean;
189
194
  corporate: boolean;
190
195
  };
196
+ calendar: VendorFormData["calendar"] | null;
191
197
  categories: VendorFormData["categories"];
192
198
  foodTruck: boolean;
193
- locations: VendorLocation[] | null;
194
- multiLocation: boolean;
195
- products: VendorMenuType[] | null;
199
+ products: VendorFormData["products"] | null;
196
200
  vendorInfoId: string;
197
201
  vendorType: EnumVendorType;
198
202
  relations: {
@@ -401,4 +405,4 @@ interface CreateFormData<T extends FieldValues> {
401
405
  watch: UseFormWatch<T>;
402
406
  }
403
407
 
404
- export type { VendorLocation as $, AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G, OwnerType as H, ImageObjectType as I, PosterUsageType as J, Region as K, LocationType as L, ResourceContactDetailsType as M, Nullable as N, OptionItem as O, PaymentInfoType as P, ResourceDetails as Q, RefundPolicy as R, StallType as S, SocialMediaType as T, UnregisteredVendorType as U, VendorType as V, Subcategory as W, SubcategoryItems as X, TermsAgreement as Y, UnregisteredVendorInvitationType as Z, VendorAttributes as _, FormDateField as a, VendorMenuType as a0, Requirement as b, EventListItemType as c, EventInfoType as d, RelationType as e, ResourceConnectionsType as f, VendorInfoType as g, UserLicenceType as h, VendorFormData as i, CreateVendorFormData as j, VendorInfoFormData as k, CreateVendorInfoFormData as l, EventFormData as m, CreateEventFormData as n, EventInfoFormData as o, CreateEventInfoFormData as p, UnregisteredVendorFormData as q, ResourceImageType as r, RelationDate as s, BaseResourceType as t, CreateFormData as u, CreateUnregisteredVendorFormData as v, DateTimeWithPriceType as w, DeviceInfo as x, EventStatusType as y, LocationGeoType as z };
408
+ export type { VendorCalendarData as $, AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G, OwnerType as H, ImageObjectType as I, PosterUsageType as J, Region as K, LocationType as L, ResourceContactDetailsType as M, Nullable as N, OptionItem as O, PaymentInfoType as P, ResourceDetails as Q, RefundPolicy as R, StallType as S, SocialMediaType as T, UnregisteredVendorType as U, VendorType as V, Subcategory as W, SubcategoryItems as X, TermsAgreement as Y, UnregisteredVendorInvitationType as Z, VendorAttributes as _, FormDateField as a, VendorProductType as a0, Requirement as b, EventListItemType as c, EventInfoType as d, RelationType as e, ResourceConnectionsType as f, VendorInfoType as g, UserLicenceType as h, VendorFormData as i, CreateVendorFormData as j, VendorInfoFormData as k, CreateVendorInfoFormData as l, EventFormData as m, CreateEventFormData as n, EventInfoFormData as o, CreateEventInfoFormData as p, UnregisteredVendorFormData as q, ResourceImageType as r, RelationDate as s, BaseResourceType as t, CreateFormData as u, CreateUnregisteredVendorFormData as v, DateTimeWithPriceType as w, DeviceInfo as x, EventStatusType as y, LocationGeoType as z };
@@ -124,10 +124,10 @@ type EventInfoType = Omit<EventInfoFormData, "_id"> & {
124
124
  _id: string;
125
125
  };
126
126
 
127
- type VendorLocation = Omit<ResourceDetails, "dateTime" | "eventStatus"> & {
127
+ type VendorCalendarData = Omit<ResourceDetails, "dateTime" | "eventStatus"> & {
128
128
  dateTime: DateTimeType;
129
129
  };
130
- type VendorMenuType = {
130
+ type VendorProductType = {
131
131
  description: string | null;
132
132
  name: string | null;
133
133
  price: number | null;
@@ -139,11 +139,16 @@ interface VendorFormData extends BaseResourceTypeFormData {
139
139
  private: boolean;
140
140
  corporate: boolean;
141
141
  };
142
+ calendar?: {
143
+ active?: boolean | null;
144
+ calendarData?: VendorCalendarData[] | null;
145
+ } | null;
142
146
  categories: Category[];
143
147
  foodTruck: boolean;
144
- locations?: VendorLocation[] | null;
145
- multiLocation: boolean;
146
- products?: VendorMenuType[] | null;
148
+ products?: {
149
+ active?: boolean | null;
150
+ productsData?: VendorProductType[] | null;
151
+ } | null;
147
152
  vendorType: EnumVendorType;
148
153
  }
149
154
  type CreateVendorFormData = CreateFormData<VendorFormData>;
@@ -188,11 +193,10 @@ interface VendorType extends BaseResourceType {
188
193
  private: boolean;
189
194
  corporate: boolean;
190
195
  };
196
+ calendar: VendorFormData["calendar"] | null;
191
197
  categories: VendorFormData["categories"];
192
198
  foodTruck: boolean;
193
- locations: VendorLocation[] | null;
194
- multiLocation: boolean;
195
- products: VendorMenuType[] | null;
199
+ products: VendorFormData["products"] | null;
196
200
  vendorInfoId: string;
197
201
  vendorType: EnumVendorType;
198
202
  relations: {
@@ -401,4 +405,4 @@ interface CreateFormData<T extends FieldValues> {
401
405
  watch: UseFormWatch<T>;
402
406
  }
403
407
 
404
- export type { VendorLocation as $, AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G, OwnerType as H, ImageObjectType as I, PosterUsageType as J, Region as K, LocationType as L, ResourceContactDetailsType as M, Nullable as N, OptionItem as O, PaymentInfoType as P, ResourceDetails as Q, RefundPolicy as R, StallType as S, SocialMediaType as T, UnregisteredVendorType as U, VendorType as V, Subcategory as W, SubcategoryItems as X, TermsAgreement as Y, UnregisteredVendorInvitationType as Z, VendorAttributes as _, FormDateField as a, VendorMenuType as a0, Requirement as b, EventListItemType as c, EventInfoType as d, RelationType as e, ResourceConnectionsType as f, VendorInfoType as g, UserLicenceType as h, VendorFormData as i, CreateVendorFormData as j, VendorInfoFormData as k, CreateVendorInfoFormData as l, EventFormData as m, CreateEventFormData as n, EventInfoFormData as o, CreateEventInfoFormData as p, UnregisteredVendorFormData as q, ResourceImageType as r, RelationDate as s, BaseResourceType as t, CreateFormData as u, CreateUnregisteredVendorFormData as v, DateTimeWithPriceType as w, DeviceInfo as x, EventStatusType as y, LocationGeoType as z };
408
+ export type { VendorCalendarData as $, AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G, OwnerType as H, ImageObjectType as I, PosterUsageType as J, Region as K, LocationType as L, ResourceContactDetailsType as M, Nullable as N, OptionItem as O, PaymentInfoType as P, ResourceDetails as Q, RefundPolicy as R, StallType as S, SocialMediaType as T, UnregisteredVendorType as U, VendorType as V, Subcategory as W, SubcategoryItems as X, TermsAgreement as Y, UnregisteredVendorInvitationType as Z, VendorAttributes as _, FormDateField as a, VendorProductType as a0, Requirement as b, EventListItemType as c, EventInfoType as d, RelationType as e, ResourceConnectionsType as f, VendorInfoType as g, UserLicenceType as h, VendorFormData as i, CreateVendorFormData as j, VendorInfoFormData as k, CreateVendorInfoFormData as l, EventFormData as m, CreateEventFormData as n, EventInfoFormData as o, CreateEventInfoFormData as p, UnregisteredVendorFormData as q, ResourceImageType as r, RelationDate as s, BaseResourceType as t, CreateFormData as u, CreateUnregisteredVendorFormData as v, DateTimeWithPriceType as w, DeviceInfo as x, EventStatusType as y, LocationGeoType as z };
@@ -614,8 +614,8 @@ var VENDOR_DATETIME_FIELDS_FRAGMENT = import_client4.gql`
614
614
  startTime
615
615
  }
616
616
  `;
617
- var VENDOR_MENU_FIELDS_FRAGMENT = import_client4.gql`
618
- fragment VendorMenuFields on VendorMenuType {
617
+ var VENDOR_PRODUCT_FIELDS_FRAGMENT = import_client4.gql`
618
+ fragment VendorProductFields on VendorProductType {
619
619
  description
620
620
  name
621
621
  price
@@ -639,6 +639,18 @@ var VENDOR = import_client4.gql`
639
639
  categories {
640
640
  ...CategoryFields
641
641
  }
642
+ calendar {
643
+ active
644
+ calendarData {
645
+ dateTime {
646
+ ...VendorDateTimeFields
647
+ }
648
+ description
649
+ location {
650
+ ...LocationFields
651
+ }
652
+ }
653
+ }
642
654
  contactDetails {
643
655
  ...ContactDetailsFields
644
656
  }
@@ -652,25 +664,18 @@ var VENDOR = import_client4.gql`
652
664
  images {
653
665
  ...ResourceImageFields
654
666
  }
655
- locations {
656
- dateTime {
657
- ...VendorDateTimeFields
658
- }
659
- description
660
- location {
661
- ...LocationFields
662
- }
663
- }
664
667
  logo {
665
668
  ...ResourceImageFields
666
669
  }
667
- multiLocation
668
670
  name
669
671
  owner {
670
672
  ...OwnerFields
671
673
  }
672
674
  products {
673
- ...VendorMenuFields
675
+ active
676
+ productsData {
677
+ ...VendorProductFields
678
+ }
674
679
  }
675
680
  promoCodes
676
681
  posterUsage {
@@ -702,7 +707,7 @@ var VENDOR = import_client4.gql`
702
707
  ${SOCIAL_MEDIA_FIELDS_FRAGMENT}
703
708
  ${POSTER_USAGE_FIELDS_FRAGMENT}
704
709
  ${ASSOCIATES_FIELDS_FRAGMENT}
705
- ${VENDOR_MENU_FIELDS_FRAGMENT}
710
+ ${VENDOR_PRODUCT_FIELDS_FRAGMENT}
706
711
  ${CONTACT_DETAILS_FIELDS_FRAGMENT}
707
712
  ${TERMS_AGREEMENT_FIELDS_FRAGMENT}
708
713
  ${RELATION_DATES_FRAGMENT}