@timardex/cluemart-shared 1.5.577 → 1.5.578

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-71Q_K5cL.d.ts → auth-BuXYoJKL.d.ts} +1 -1
  2. package/dist/{auth-wxdjNbHv.d.mts → auth-CJ-AOZJF.d.mts} +1 -1
  3. package/dist/{chunk-XK4M3AXN.mjs → chunk-CLMUENGY.mjs} +2 -1
  4. package/dist/chunk-CLMUENGY.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-C1K1nbMW.d.mts → global-DYOnOov2.d.mts} +1 -0
  8. package/dist/{global-C_2jiw0X.d.ts → global-DlFGiHZe.d.ts} +1 -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 +10 -5
  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 +10 -6
  19. package/dist/hooks/index.mjs.map +1 -1
  20. package/dist/index.cjs +10 -5
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.d.mts +1 -0
  23. package/dist/index.d.ts +1 -0
  24. package/dist/index.mjs +10 -5
  25. package/dist/index.mjs.map +1 -1
  26. package/dist/{post-sAvu92I6.d.mts → post-BWE6TLGk.d.mts} +1 -1
  27. package/dist/{post-Bfv08ew6.d.ts → post-mcjCZnQ0.d.ts} +1 -1
  28. package/dist/{resourceActivities-DPdlpw6m.d.mts → resourceActivities-CEBQPKMs.d.mts} +1 -1
  29. package/dist/{resourceActivities-BPsBLSh7.d.ts → resourceActivities-Cta0w6sK.d.ts} +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-XK4M3AXN.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-DPdlpw6m.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-C1K1nbMW.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-sAvu92I6.mjs';
3
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CEBQPKMs.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-DYOnOov2.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-BWE6TLGk.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-BPsBLSh7.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-C_2jiw0X.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-Bfv08ew6.js';
3
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-Cta0w6sK.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-DlFGiHZe.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-mcjCZnQ0.js';
6
6
  import 'react-hook-form';
7
7
  import '../images/index.js';
8
8
  import '../dailyClue-BnlktK68.js';
@@ -134,7 +134,7 @@ import {
134
134
  useUpdateVendor,
135
135
  useUpdateVendorInfo,
136
136
  useValidateVerificationToken
137
- } from "../chunk-XK4M3AXN.mjs";
137
+ } from "../chunk-CLMUENGY.mjs";
138
138
  import "../chunk-ZR4TGWTS.mjs";
139
139
  export {
140
140
  useAddParticipantToChat,
@@ -741,7 +741,8 @@ 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
743
  inviterId: yup3.string().required("Inviter ID is required"),
744
- name: yup3.string().label("Stallholder Name").trim().min(3, "Name must be at least 3 characters").required("Name is required")
744
+ name: yup3.string().label("Stallholder Name").trim().min(3, "Name must be at least 3 characters").required("Name is required"),
745
+ region: yup3.string().label("Region").required("Region is required")
745
746
  });
746
747
  var vendorInfoSchema = yup3.object().shape({
747
748
  product: yup3.object().shape({
@@ -2875,6 +2876,7 @@ var UNREGISTERED_VENDOR = import_client4.gql`
2875
2876
  ...UnregisteredVendorInvitationFields
2876
2877
  }
2877
2878
  name
2879
+ region
2878
2880
  updatedAt
2879
2881
  }
2880
2882
  ${UNREGISTERED_VENDOR_INVITATION_FRAGMENT}
@@ -4878,7 +4880,8 @@ var defaultUnregisteredVendorFormValues = {
4878
4880
  categoryIds: [],
4879
4881
  dateTime: [],
4880
4882
  inviterId: "",
4881
- name: ""
4883
+ name: "",
4884
+ region: ""
4882
4885
  };
4883
4886
  var defaultVendorInfoFormValues = {
4884
4887
  compliance: { foodBeverageLicense: false, liabilityInsurance: false },
@@ -5099,20 +5102,22 @@ function useUnregisteredVendorForm(data) {
5099
5102
  categoryIds: data.categoryIds,
5100
5103
  dateTime: data.dateTime,
5101
5104
  inviterId: data.inviterId,
5102
- name: data.name
5105
+ name: data.name,
5106
+ region: data.region
5103
5107
  });
5104
5108
  } else {
5105
5109
  reset(defaultUnregisteredVendorFormValues);
5106
5110
  }
5107
5111
  }, [data]);
5108
- const { categoryIds, dateTime, inviterId, name } = getValues();
5112
+ const { categoryIds, dateTime, inviterId, name, region } = getValues();
5109
5113
  return {
5110
5114
  control,
5111
5115
  fields: {
5112
5116
  categoryIds,
5113
5117
  dateTime,
5114
5118
  inviterId,
5115
- name
5119
+ name,
5120
+ region
5116
5121
  },
5117
5122
  formState,
5118
5123
  getValues,