@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
@@ -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-CreS92Aj.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-BvPydN8P.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,7 +124,7 @@ 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
130
  type VendorMenuType = {
@@ -139,10 +139,12 @@ 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
148
  products?: VendorMenuType[] | null;
147
149
  vendorType: EnumVendorType;
148
150
  }
@@ -188,10 +190,9 @@ interface VendorType extends BaseResourceType {
188
190
  private: boolean;
189
191
  corporate: boolean;
190
192
  };
193
+ calendar: VendorFormData["calendar"] | null;
191
194
  categories: VendorFormData["categories"];
192
195
  foodTruck: boolean;
193
- locations: VendorLocation[] | null;
194
- multiLocation: boolean;
195
196
  products: VendorMenuType[] | null;
196
197
  vendorInfoId: string;
197
198
  vendorType: EnumVendorType;
@@ -332,14 +333,14 @@ type Region = {
332
333
  };
333
334
  type ResourceDetails = {
334
335
  dateTime: DateTimeType[] | null;
335
- description?: string | null;
336
+ description: string | null;
336
337
  eventStatus?: EventStatusType | null;
337
338
  location: LocationType | null;
338
- resourceCover?: ResourceImageType | null;
339
- resourceId?: string;
340
- resourceLogo?: ResourceImageType | null;
341
- resourceName?: string;
342
- resourceType?: EnumResourceType;
339
+ resourceCover: ResourceImageType | null;
340
+ resourceId: string;
341
+ resourceLogo: ResourceImageType | null;
342
+ resourceName: string;
343
+ resourceType: EnumResourceType;
343
344
  };
344
345
  type GeocodeLocation = Pick<LocationType, "latitude" | "longitude">;
345
346
  type EventStatusType = {
@@ -401,4 +402,4 @@ interface CreateFormData<T extends FieldValues> {
401
402
  watch: UseFormWatch<T>;
402
403
  }
403
404
 
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 };
405
+ 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, 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 };
@@ -124,7 +124,7 @@ 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
130
  type VendorMenuType = {
@@ -139,10 +139,12 @@ 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
148
  products?: VendorMenuType[] | null;
147
149
  vendorType: EnumVendorType;
148
150
  }
@@ -188,10 +190,9 @@ interface VendorType extends BaseResourceType {
188
190
  private: boolean;
189
191
  corporate: boolean;
190
192
  };
193
+ calendar: VendorFormData["calendar"] | null;
191
194
  categories: VendorFormData["categories"];
192
195
  foodTruck: boolean;
193
- locations: VendorLocation[] | null;
194
- multiLocation: boolean;
195
196
  products: VendorMenuType[] | null;
196
197
  vendorInfoId: string;
197
198
  vendorType: EnumVendorType;
@@ -332,14 +333,14 @@ type Region = {
332
333
  };
333
334
  type ResourceDetails = {
334
335
  dateTime: DateTimeType[] | null;
335
- description?: string | null;
336
+ description: string | null;
336
337
  eventStatus?: EventStatusType | null;
337
338
  location: LocationType | null;
338
- resourceCover?: ResourceImageType | null;
339
- resourceId?: string;
340
- resourceLogo?: ResourceImageType | null;
341
- resourceName?: string;
342
- resourceType?: EnumResourceType;
339
+ resourceCover: ResourceImageType | null;
340
+ resourceId: string;
341
+ resourceLogo: ResourceImageType | null;
342
+ resourceName: string;
343
+ resourceType: EnumResourceType;
343
344
  };
344
345
  type GeocodeLocation = Pick<LocationType, "latitude" | "longitude">;
345
346
  type EventStatusType = {
@@ -401,4 +402,4 @@ interface CreateFormData<T extends FieldValues> {
401
402
  watch: UseFormWatch<T>;
402
403
  }
403
404
 
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 };
405
+ 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, 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 };
@@ -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,19 +664,9 @@ 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