@timardex/cluemart-shared 1.5.583 → 1.5.586

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 (35) hide show
  1. package/dist/{auth-CEER2MHh.d.mts → auth-Bdlg8CzV.d.mts} +1 -1
  2. package/dist/{auth-BgVCcndZ.d.ts → auth-rRdVyjfK.d.ts} +1 -1
  3. package/dist/{chunk-HBGUKVG7.mjs → chunk-YGKLLYKV.mjs} +2 -1
  4. package/dist/chunk-YGKLLYKV.mjs.map +1 -0
  5. package/dist/formFields/index.d.mts +1 -1
  6. package/dist/formFields/index.d.ts +1 -1
  7. package/dist/{global-DL6-Ehpa.d.ts → global-BRdgk2kj.d.ts} +3 -0
  8. package/dist/{global-Yh8xpsi8.d.mts → global-BWpDbvVZ.d.mts} +3 -0
  9. package/dist/graphql/index.cjs +1 -0
  10. package/dist/graphql/index.cjs.map +1 -1
  11. package/dist/graphql/index.d.mts +3 -3
  12. package/dist/graphql/index.d.ts +3 -3
  13. package/dist/graphql/index.mjs +1 -1
  14. package/dist/hooks/index.cjs +11 -2
  15. package/dist/hooks/index.cjs.map +1 -1
  16. package/dist/hooks/index.d.mts +3 -3
  17. package/dist/hooks/index.d.ts +3 -3
  18. package/dist/hooks/index.mjs +11 -3
  19. package/dist/hooks/index.mjs.map +1 -1
  20. package/dist/index.cjs +11 -2
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.d.mts +3 -0
  23. package/dist/index.d.ts +3 -0
  24. package/dist/index.mjs +11 -2
  25. package/dist/index.mjs.map +1 -1
  26. package/dist/{post-BYsquNfk.d.mts → post-C1eNwXYI.d.mts} +1 -1
  27. package/dist/{post-aShHZ8AI.d.ts → post-CO3A1l3d.d.ts} +1 -1
  28. package/dist/{resourceActivities-MwefkHkN.d.ts → resourceActivities-D5KjDO8i.d.ts} +1 -1
  29. package/dist/{resourceActivities-Cpt-893w.d.mts → resourceActivities-Ik5hB71G.d.mts} +1 -1
  30. package/dist/types/index.d.mts +5 -5
  31. package/dist/types/index.d.ts +5 -5
  32. package/dist/utils/index.d.mts +1 -1
  33. package/dist/utils/index.d.ts +1 -1
  34. package/package.json +1 -1
  35. package/dist/chunk-HBGUKVG7.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-Cpt-893w.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-Yh8xpsi8.mjs';
5
- import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, G as GameDocType, e as GameLeaderboard, f as SchoolReturnType, g as SchoolType } from '../post-BYsquNfk.mjs';
3
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-Ik5hB71G.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-BWpDbvVZ.mjs';
5
+ import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, G as GameDocType, e as GameLeaderboard, f as SchoolReturnType, g as SchoolType } from '../post-C1eNwXYI.mjs';
6
6
  import 'react-hook-form';
7
7
  import '../images/index.mjs';
8
8
  import '../dailyClue-BnlktK68.mjs';
@@ -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-MwefkHkN.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-DL6-Ehpa.js';
5
- import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, G as GameDocType, e as GameLeaderboard, f as SchoolReturnType, g as SchoolType } from '../post-aShHZ8AI.js';
3
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-D5KjDO8i.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-BRdgk2kj.js';
5
+ import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, G as GameDocType, e as GameLeaderboard, f as SchoolReturnType, g as SchoolType } from '../post-CO3A1l3d.js';
6
6
  import 'react-hook-form';
7
7
  import '../images/index.js';
8
8
  import '../dailyClue-BnlktK68.js';
@@ -135,7 +135,7 @@ import {
135
135
  useUpdateVendor,
136
136
  useUpdateVendorInfo,
137
137
  useValidateVerificationToken
138
- } from "../chunk-HBGUKVG7.mjs";
138
+ } from "../chunk-YGKLLYKV.mjs";
139
139
  import "../chunk-ZR4TGWTS.mjs";
140
140
  export {
141
141
  useAddParticipantToChat,
@@ -2755,6 +2755,7 @@ var VENDOR = import_client4.gql`
2755
2755
  ...ResourceImageFields
2756
2756
  }
2757
2757
  createdAt
2758
+ claimed
2758
2759
  description
2759
2760
  deletedAt
2760
2761
  foodTruck
@@ -4887,8 +4888,10 @@ var defaultVendorFormValues = {
4887
4888
  school: false
4888
4889
  },
4889
4890
  categories: [],
4891
+ claimed: true,
4890
4892
  foodTruck: false,
4891
4893
  products: null,
4894
+ unregisteredVendorId: null,
4892
4895
  vendorType: "Stallholder" /* STALLHOLDER */
4893
4896
  };
4894
4897
  var defaultUnregisteredVendorFormValues = {
@@ -4961,8 +4964,10 @@ function useVendorForm(data) {
4961
4964
  availability: data.availability,
4962
4965
  calendar: data.calendar,
4963
4966
  categories: data.categories,
4967
+ claimed: data.claimed ?? false,
4964
4968
  foodTruck: data.foodTruck,
4965
4969
  products: data.products,
4970
+ unregisteredVendorId: data.unregisteredVendorId,
4966
4971
  vendorType: data.vendorType
4967
4972
  });
4968
4973
  } else {
@@ -4974,13 +4979,14 @@ function useVendorForm(data) {
4974
4979
  active,
4975
4980
  associates,
4976
4981
  availability,
4977
- categories,
4978
4982
  calendar,
4983
+ categories,
4984
+ claimed,
4979
4985
  contactDetails,
4980
4986
  cover,
4981
4987
  coverUpload,
4982
- foodTruck,
4983
4988
  description,
4989
+ foodTruck,
4984
4990
  images,
4985
4991
  imagesUpload,
4986
4992
  logo,
@@ -4992,6 +4998,7 @@ function useVendorForm(data) {
4992
4998
  region,
4993
4999
  socialMedia: socialMedia2,
4994
5000
  termsAgreement,
5001
+ unregisteredVendorId,
4995
5002
  vendorType
4996
5003
  } = getValues();
4997
5004
  return {
@@ -5003,6 +5010,7 @@ function useVendorForm(data) {
5003
5010
  availability,
5004
5011
  calendar,
5005
5012
  categories,
5013
+ claimed,
5006
5014
  contactDetails,
5007
5015
  cover,
5008
5016
  coverUpload,
@@ -5019,6 +5027,7 @@ function useVendorForm(data) {
5019
5027
  region,
5020
5028
  socialMedia: socialMedia2,
5021
5029
  termsAgreement,
5030
+ unregisteredVendorId,
5022
5031
  vendorType
5023
5032
  },
5024
5033
  formState,