@timardex/cluemart-shared 1.4.47 → 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-B4xQkspX.d.mts → auth-DwVFY-11.d.mts} +1 -1
  2. package/dist/{auth-Dn--6hv6.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-BaRkbNJY.d.mts → global-BP0RxCZR.d.mts} +7 -6
  13. package/dist/{global-BaQqe4tO.d.ts → global-BvPydN8P.d.ts} +7 -6
  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 +7 -7
  28. package/dist/index.d.ts +7 -7
  29. package/dist/index.mjs +15 -25
  30. package/dist/index.mjs.map +1 -1
  31. package/dist/{post-DdO574BP.d.mts → post-BhTIar0P.d.mts} +1 -1
  32. package/dist/{post-BNREQyX4.d.ts → post-VWgTt8Vt.d.ts} +1 -1
  33. package/dist/{resourceActivities-sCfrMmT_.d.mts → resourceActivities-Cc92sGGs.d.mts} +1 -1
  34. package/dist/{resourceActivities-74LABQJf.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,8 +1,8 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { EnumResourceType } from '../enums/index.mjs';
3
- import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-sCfrMmT_.mjs';
4
- import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-BaRkbNJY.mjs';
5
- import { U as UserType, P as PartnerType, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-DdO574BP.mjs';
3
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-Cc92sGGs.mjs';
4
+ import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-BP0RxCZR.mjs';
5
+ import { U as UserType, P as PartnerType, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-BhTIar0P.mjs';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -1,8 +1,8 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { EnumResourceType } from '../enums/index.js';
3
- import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-74LABQJf.js';
4
- import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-BaQqe4tO.js';
5
- import { U as UserType, P as PartnerType, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-BNREQyX4.js';
3
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-jxxUV0-1.js';
4
+ import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-BvPydN8P.js';
5
+ import { U as UserType, P as PartnerType, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-VWgTt8Vt.js';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -118,7 +118,7 @@ import {
118
118
  useUpdateVendor,
119
119
  useUpdateVendorInfo,
120
120
  useValidateVerificationToken
121
- } from "../chunk-KWA2LDKT.mjs";
121
+ } from "../chunk-SNPOV7HM.mjs";
122
122
  import "../chunk-LDO4DRWY.mjs";
123
123
  export {
124
124
  useAddParticipantToChat,
@@ -657,7 +657,6 @@ var vendroMenuSchema = yup3.object().shape({
657
657
  var vendorSchema = globalResourceSchema.shape({
658
658
  categories: categorySchema.min(1, "Category list must contain at least one item").required("Categories are required"),
659
659
  foodTruck: yup3.boolean().label("Food Truck").required("Please specify if the vendor is a food truck"),
660
- multiLocation: yup3.boolean().required("Multi location is required"),
661
660
  products: yup3.array().of(vendroMenuSchema).nullable().optional(),
662
661
  vendorType: yup3.mixed().oneOf(Object.values(EnumVendorType)).required("Please select a Vendor type")
663
662
  });
@@ -2654,6 +2653,18 @@ var VENDOR = import_client4.gql`
2654
2653
  categories {
2655
2654
  ...CategoryFields
2656
2655
  }
2656
+ calendar {
2657
+ active
2658
+ calendarData {
2659
+ dateTime {
2660
+ ...VendorDateTimeFields
2661
+ }
2662
+ description
2663
+ location {
2664
+ ...LocationFields
2665
+ }
2666
+ }
2667
+ }
2657
2668
  contactDetails {
2658
2669
  ...ContactDetailsFields
2659
2670
  }
@@ -2667,19 +2678,9 @@ var VENDOR = import_client4.gql`
2667
2678
  images {
2668
2679
  ...ResourceImageFields
2669
2680
  }
2670
- locations {
2671
- dateTime {
2672
- ...VendorDateTimeFields
2673
- }
2674
- description
2675
- location {
2676
- ...LocationFields
2677
- }
2678
- }
2679
2681
  logo {
2680
2682
  ...ResourceImageFields
2681
2683
  }
2682
- multiLocation
2683
2684
  name
2684
2685
  owner {
2685
2686
  ...OwnerFields
@@ -4315,8 +4316,6 @@ var defaultVendorFormValues = {
4315
4316
  },
4316
4317
  categories: [],
4317
4318
  foodTruck: false,
4318
- locations: null,
4319
- multiLocation: false,
4320
4319
  products: null,
4321
4320
  vendorType: "Stallholder" /* STALLHOLDER */
4322
4321
  };
@@ -4388,10 +4387,9 @@ function useVendorForm(data) {
4388
4387
  reset({
4389
4388
  ...mapBaseResourceTypeToFormData(data),
4390
4389
  availability: data.availability,
4390
+ calendar: data.calendar,
4391
4391
  categories: data.categories,
4392
4392
  foodTruck: data.foodTruck,
4393
- locations: data.locations,
4394
- multiLocation: data.multiLocation,
4395
4393
  products: data.products,
4396
4394
  vendorType: data.vendorType
4397
4395
  });
@@ -4405,6 +4403,7 @@ function useVendorForm(data) {
4405
4403
  associates,
4406
4404
  availability,
4407
4405
  categories,
4406
+ calendar,
4408
4407
  contactDetails,
4409
4408
  cover,
4410
4409
  coverUpload,
@@ -4412,10 +4411,8 @@ function useVendorForm(data) {
4412
4411
  description,
4413
4412
  images,
4414
4413
  imagesUpload,
4415
- locations,
4416
4414
  logo,
4417
4415
  logoUpload,
4418
- multiLocation,
4419
4416
  name,
4420
4417
  owner,
4421
4418
  products,
@@ -4432,6 +4429,7 @@ function useVendorForm(data) {
4432
4429
  active,
4433
4430
  associates,
4434
4431
  availability,
4432
+ calendar,
4435
4433
  categories,
4436
4434
  contactDetails,
4437
4435
  cover,
@@ -4440,10 +4438,8 @@ function useVendorForm(data) {
4440
4438
  foodTruck,
4441
4439
  images,
4442
4440
  imagesUpload,
4443
- locations,
4444
4441
  logo,
4445
4442
  logoUpload,
4446
- multiLocation,
4447
4443
  name,
4448
4444
  owner,
4449
4445
  products,