@timardex/cluemart-shared 1.5.618 → 1.5.620

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 (43) hide show
  1. package/dist/{auth-Bdlg8CzV.d.mts → auth-CJIbsVCg.d.mts} +1 -1
  2. package/dist/{auth-rRdVyjfK.d.ts → auth-CLKWWsIQ.d.ts} +1 -1
  3. package/dist/{chunk-3KPB5BHC.mjs → chunk-3NBZGJZM.mjs} +26 -20
  4. package/dist/chunk-3NBZGJZM.mjs.map +1 -0
  5. package/dist/{chunk-P52HS2NB.mjs → chunk-A2ZE5RVV.mjs} +2 -1
  6. package/dist/chunk-A2ZE5RVV.mjs.map +1 -0
  7. package/dist/formFields/index.d.mts +1 -1
  8. package/dist/formFields/index.d.ts +1 -1
  9. package/dist/{global-BWpDbvVZ.d.mts → global-J6EFP0wh.d.mts} +1 -0
  10. package/dist/{global-BRdgk2kj.d.ts → global-w94c0MGw.d.ts} +1 -0
  11. package/dist/graphql/index.cjs +1 -0
  12. package/dist/graphql/index.cjs.map +1 -1
  13. package/dist/graphql/index.d.mts +3 -3
  14. package/dist/graphql/index.d.ts +3 -3
  15. package/dist/graphql/index.mjs +1 -1
  16. package/dist/hooks/index.cjs +6 -1
  17. package/dist/hooks/index.cjs.map +1 -1
  18. package/dist/hooks/index.d.mts +3 -3
  19. package/dist/hooks/index.d.ts +3 -3
  20. package/dist/hooks/index.mjs +7 -3
  21. package/dist/hooks/index.mjs.map +1 -1
  22. package/dist/index.cjs +31 -20
  23. package/dist/index.cjs.map +1 -1
  24. package/dist/index.d.mts +16 -69
  25. package/dist/index.d.ts +16 -69
  26. package/dist/index.mjs +31 -20
  27. package/dist/index.mjs.map +1 -1
  28. package/dist/{post-C1eNwXYI.d.mts → post-BkgyLFwF.d.mts} +1 -1
  29. package/dist/{post-CO3A1l3d.d.ts → post-BmQ3R3cA.d.ts} +1 -1
  30. package/dist/{resourceActivities-D5KjDO8i.d.ts → resourceActivities-Bnk-1tPS.d.ts} +1 -1
  31. package/dist/{resourceActivities-Ik5hB71G.d.mts → resourceActivities-I3eJPRqW.d.mts} +1 -1
  32. package/dist/sharing/index.cjs +25 -19
  33. package/dist/sharing/index.cjs.map +1 -1
  34. package/dist/sharing/index.d.mts +19 -69
  35. package/dist/sharing/index.d.ts +19 -69
  36. package/dist/sharing/index.mjs +1 -1
  37. package/dist/types/index.d.mts +5 -5
  38. package/dist/types/index.d.ts +5 -5
  39. package/dist/utils/index.d.mts +1 -1
  40. package/dist/utils/index.d.ts +1 -1
  41. package/package.json +1 -1
  42. package/dist/chunk-3KPB5BHC.mjs.map +0 -1
  43. package/dist/chunk-P52HS2NB.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-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';
3
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-I3eJPRqW.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-J6EFP0wh.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-BkgyLFwF.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-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';
3
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-Bnk-1tPS.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-w94c0MGw.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-BmQ3R3cA.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-P52HS2NB.mjs";
138
+ } from "../chunk-A2ZE5RVV.mjs";
139
139
  import "../chunk-ZR4TGWTS.mjs";
140
140
  export {
141
141
  useAddParticipantToChat,
@@ -740,6 +740,7 @@ var vendorSchema = globalResourceSchema.shape({
740
740
  var unregisteredVendorSchema = yup3.object().shape({
741
741
  categoryIds: yup3.array().of(yup3.string().defined()).min(1, "Category list must contain at least one item").required("Categories are required"),
742
742
  dateTime: yup3.array().of(dateTimeSchema).min(1, "DateTime list must contain at least one item").required("DateTime is required"),
743
+ email: emailOptionalSchema,
743
744
  inviterId: yup3.string().required("Inviter ID is required"),
744
745
  name: yup3.string().label("Stallholder Name").trim().min(3, "Name must be at least 3 characters").required("Name is required"),
745
746
  region: yup3.string().label("Region").required("Region is required")
@@ -2875,6 +2876,7 @@ var UNREGISTERED_VENDOR = import_client4.gql`
2875
2876
  claimed
2876
2877
  createdAt
2877
2878
  deletedAt
2879
+ email
2878
2880
  invitations {
2879
2881
  ...UnregisteredVendorInvitationFields
2880
2882
  }
@@ -4951,6 +4953,7 @@ var defaultVendorFormValues = {
4951
4953
  var defaultUnregisteredVendorFormValues = {
4952
4954
  categoryIds: [],
4953
4955
  dateTime: [],
4956
+ email: null,
4954
4957
  inviterId: "",
4955
4958
  name: "",
4956
4959
  region: ""
@@ -5179,6 +5182,7 @@ function useUnregisteredVendorForm(data) {
5179
5182
  reset({
5180
5183
  categoryIds: data.categoryIds,
5181
5184
  dateTime: data.dateTime,
5185
+ email: data.email,
5182
5186
  inviterId: data.inviterId,
5183
5187
  name: data.name,
5184
5188
  region: data.region
@@ -5187,12 +5191,13 @@ function useUnregisteredVendorForm(data) {
5187
5191
  reset(defaultUnregisteredVendorFormValues);
5188
5192
  }
5189
5193
  }, [data]);
5190
- const { categoryIds, dateTime, inviterId, name, region } = getValues();
5194
+ const { categoryIds, dateTime, email, inviterId, name, region } = getValues();
5191
5195
  return {
5192
5196
  control,
5193
5197
  fields: {
5194
5198
  categoryIds,
5195
5199
  dateTime,
5200
+ email,
5196
5201
  inviterId,
5197
5202
  name,
5198
5203
  region