@timardex/cluemart-shared 1.7.67 → 1.7.69

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 (63) hide show
  1. package/dist/{ad-DBlMup1m.d.mts → ad-DNMZOQVQ.d.mts} +2 -2
  2. package/dist/{ad-C8D-sSzF.d.ts → ad-QdzkKrRN.d.ts} +2 -2
  3. package/dist/{affiliate-B4dKY4oC.d.ts → affiliate-BpmQhaUz.d.ts} +2 -2
  4. package/dist/{affiliate-DpjRNToN.d.mts → affiliate-Df6OaYMb.d.mts} +2 -2
  5. package/dist/auth/index.cjs +2 -0
  6. package/dist/auth/index.cjs.map +1 -1
  7. package/dist/auth/index.d.mts +3 -3
  8. package/dist/auth/index.d.ts +3 -3
  9. package/dist/auth/index.mjs +1 -1
  10. package/dist/{chunk-WS47NSTO.mjs → chunk-GWBDLKQC.mjs} +28 -18
  11. package/dist/{chunk-WS47NSTO.mjs.map → chunk-GWBDLKQC.mjs.map} +1 -1
  12. package/dist/{chunk-6ALUN6LP.mjs → chunk-LMWIDQZ6.mjs} +3 -1
  13. package/dist/chunk-LMWIDQZ6.mjs.map +1 -0
  14. package/dist/{chunk-NDJ52M2N.mjs → chunk-LZG5WM4M.mjs} +5 -4
  15. package/dist/chunk-LZG5WM4M.mjs.map +1 -0
  16. package/dist/{chunk-G5T3Z6WT.mjs → chunk-OYRT6IXI.mjs} +2 -2
  17. package/dist/{contactUs-Bm9Nx5L6.d.ts → contactUs-Btb-up0h.d.ts} +1 -1
  18. package/dist/{contactUs-w465ljSW.d.mts → contactUs-CUDo3Q-a.d.mts} +1 -1
  19. package/dist/formFields/index.cjs +27 -17
  20. package/dist/formFields/index.cjs.map +1 -1
  21. package/dist/formFields/index.d.mts +1 -1
  22. package/dist/formFields/index.d.ts +1 -1
  23. package/dist/formFields/index.mjs +2 -2
  24. package/dist/{global-B6l7Xvrj.d.ts → global-BjtC8RIp.d.ts} +23 -15
  25. package/dist/{global-Da36L_p3.d.mts → global-CG2xlh2k.d.mts} +23 -15
  26. package/dist/graphql/index.cjs +5 -2
  27. package/dist/graphql/index.cjs.map +1 -1
  28. package/dist/graphql/index.d.mts +6 -6
  29. package/dist/graphql/index.d.ts +6 -6
  30. package/dist/graphql/index.mjs +2 -2
  31. package/dist/hooks/index.cjs +29 -17
  32. package/dist/hooks/index.cjs.map +1 -1
  33. package/dist/hooks/index.d.mts +5 -5
  34. package/dist/hooks/index.d.ts +5 -5
  35. package/dist/hooks/index.mjs +4 -4
  36. package/dist/index.cjs +32 -19
  37. package/dist/index.cjs.map +1 -1
  38. package/dist/index.d.mts +24 -16
  39. package/dist/index.d.ts +24 -16
  40. package/dist/index.mjs +32 -19
  41. package/dist/index.mjs.map +1 -1
  42. package/dist/map/index.d.mts +1 -1
  43. package/dist/map/index.d.ts +1 -1
  44. package/dist/{resourceActivities-B3G__Pqn.d.ts → resourceActivities-B2EqmRwK.d.ts} +1 -1
  45. package/dist/{resourceActivities-BqxMTeyA.d.mts → resourceActivities-kmePhBMr.d.mts} +1 -1
  46. package/dist/sharing/index.d.mts +1 -1
  47. package/dist/sharing/index.d.ts +1 -1
  48. package/dist/types/index.cjs +27 -17
  49. package/dist/types/index.cjs.map +1 -1
  50. package/dist/types/index.d.mts +7 -7
  51. package/dist/types/index.d.ts +7 -7
  52. package/dist/types/index.mjs +1 -1
  53. package/dist/{user-S2zwTsVK.d.ts → user-Bf7g6o_5.d.ts} +1 -1
  54. package/dist/{user-B8jYxHQ8.d.mts → user-QZjzFbE4.d.mts} +1 -1
  55. package/dist/utils/index.cjs +27 -17
  56. package/dist/utils/index.cjs.map +1 -1
  57. package/dist/utils/index.d.mts +3 -3
  58. package/dist/utils/index.d.ts +3 -3
  59. package/dist/utils/index.mjs +2 -2
  60. package/package.json +1 -1
  61. package/dist/chunk-6ALUN6LP.mjs.map +0 -1
  62. package/dist/chunk-NDJ52M2N.mjs.map +0 -1
  63. /package/dist/{chunk-G5T3Z6WT.mjs.map → chunk-OYRT6IXI.mjs.map} +0 -0
@@ -1,8 +1,8 @@
1
- import { L as LocationType, q as VendorFormData, r as CreateVendorFormData, s as VendorInfoFormData, t as CreateVendorInfoFormData, u as UnregisteredVendorFormData, v as CreateUnregisteredVendorFormData, w as EventFormData, x as CreateEventFormData, y as EventInfoFormData, z as CreateEventInfoFormData, B as BaseResourceTypeFormData, A as PostFormData, D as CreatePostFormData, H as CouponDefaultsFormData, I as CreateCouponFormData } from '../global-Da36L_p3.mjs';
2
- import { U as UserFormData, C as CreateUserFormData } from '../user-B8jYxHQ8.mjs';
3
- import { C as CreateLoginFormData, d as CreateRegisterFormData, e as CreateRequestPasswordResetFormData, f as CreateValidateVerificationTokenFormData, g as CreateResetPasswordFormData, h as PartnerFormData, i as AdFormData, j as CreateAdFormState, k as CreatePartnerFormData, l as AppSettingsFormData, m as CreateAppSettingsFormData, n as SchoolFormData, o as CreateSchoolFormData } from '../ad-DBlMup1m.mjs';
4
- import { a as AffiliateFormData, A as AffiliateType, C as CreateAffiliateFormData } from '../affiliate-DpjRNToN.mjs';
5
- import { C as ContactUsFormData, a as CreateContactUsFormData } from '../contactUs-w465ljSW.mjs';
1
+ import { L as LocationType, q as VendorFormData, r as CreateVendorFormData, s as VendorInfoFormData, t as CreateVendorInfoFormData, u as UnregisteredVendorFormData, v as CreateUnregisteredVendorFormData, w as EventFormData, x as CreateEventFormData, y as EventInfoFormData, z as CreateEventInfoFormData, B as BaseResourceTypeFormData, A as PostFormData, D as CreatePostFormData, H as CouponDefaultsFormData, I as CreateCouponFormData } from '../global-CG2xlh2k.mjs';
2
+ import { U as UserFormData, C as CreateUserFormData } from '../user-QZjzFbE4.mjs';
3
+ import { C as CreateLoginFormData, d as CreateRegisterFormData, e as CreateRequestPasswordResetFormData, f as CreateValidateVerificationTokenFormData, g as CreateResetPasswordFormData, h as PartnerFormData, i as AdFormData, j as CreateAdFormState, k as CreatePartnerFormData, l as AppSettingsFormData, m as CreateAppSettingsFormData, n as SchoolFormData, o as CreateSchoolFormData } from '../ad-DNMZOQVQ.mjs';
4
+ import { a as AffiliateFormData, A as AffiliateType, C as CreateAffiliateFormData } from '../affiliate-Df6OaYMb.mjs';
5
+ import { C as ContactUsFormData, a as CreateContactUsFormData } from '../contactUs-CUDo3Q-a.mjs';
6
6
  import 'react-hook-form';
7
7
  import '../enums/index.mjs';
8
8
  import '../images/index.mjs';
@@ -1,8 +1,8 @@
1
- import { L as LocationType, q as VendorFormData, r as CreateVendorFormData, s as VendorInfoFormData, t as CreateVendorInfoFormData, u as UnregisteredVendorFormData, v as CreateUnregisteredVendorFormData, w as EventFormData, x as CreateEventFormData, y as EventInfoFormData, z as CreateEventInfoFormData, B as BaseResourceTypeFormData, A as PostFormData, D as CreatePostFormData, H as CouponDefaultsFormData, I as CreateCouponFormData } from '../global-B6l7Xvrj.js';
2
- import { U as UserFormData, C as CreateUserFormData } from '../user-S2zwTsVK.js';
3
- import { C as CreateLoginFormData, d as CreateRegisterFormData, e as CreateRequestPasswordResetFormData, f as CreateValidateVerificationTokenFormData, g as CreateResetPasswordFormData, h as PartnerFormData, i as AdFormData, j as CreateAdFormState, k as CreatePartnerFormData, l as AppSettingsFormData, m as CreateAppSettingsFormData, n as SchoolFormData, o as CreateSchoolFormData } from '../ad-C8D-sSzF.js';
4
- import { a as AffiliateFormData, A as AffiliateType, C as CreateAffiliateFormData } from '../affiliate-B4dKY4oC.js';
5
- import { C as ContactUsFormData, a as CreateContactUsFormData } from '../contactUs-Bm9Nx5L6.js';
1
+ import { L as LocationType, q as VendorFormData, r as CreateVendorFormData, s as VendorInfoFormData, t as CreateVendorInfoFormData, u as UnregisteredVendorFormData, v as CreateUnregisteredVendorFormData, w as EventFormData, x as CreateEventFormData, y as EventInfoFormData, z as CreateEventInfoFormData, B as BaseResourceTypeFormData, A as PostFormData, D as CreatePostFormData, H as CouponDefaultsFormData, I as CreateCouponFormData } from '../global-BjtC8RIp.js';
2
+ import { U as UserFormData, C as CreateUserFormData } from '../user-Bf7g6o_5.js';
3
+ import { C as CreateLoginFormData, d as CreateRegisterFormData, e as CreateRequestPasswordResetFormData, f as CreateValidateVerificationTokenFormData, g as CreateResetPasswordFormData, h as PartnerFormData, i as AdFormData, j as CreateAdFormState, k as CreatePartnerFormData, l as AppSettingsFormData, m as CreateAppSettingsFormData, n as SchoolFormData, o as CreateSchoolFormData } from '../ad-QdzkKrRN.js';
4
+ import { a as AffiliateFormData, A as AffiliateType, C as CreateAffiliateFormData } from '../affiliate-BpmQhaUz.js';
5
+ import { C as ContactUsFormData, a as CreateContactUsFormData } from '../contactUs-Btb-up0h.js';
6
6
  import 'react-hook-form';
7
7
  import '../enums/index.js';
8
8
  import '../images/index.js';
@@ -7,7 +7,7 @@ import {
7
7
  SCHOOL_MIN_STUDENT_COUNT,
8
8
  isValidIrdNumber,
9
9
  normalizeUrl
10
- } from "../chunk-G5T3Z6WT.mjs";
10
+ } from "../chunk-OYRT6IXI.mjs";
11
11
  import {
12
12
  dateFormat,
13
13
  timeFormat
@@ -20,11 +20,11 @@ import {
20
20
  EnumAffiliateParticipantType,
21
21
  EnumPostContentType,
22
22
  EnumPostType
23
- } from "../chunk-WS47NSTO.mjs";
23
+ } from "../chunk-GWBDLKQC.mjs";
24
24
  import "../chunk-RAYUJODN.mjs";
25
25
  import "../chunk-DQ7ZHIXW.mjs";
26
- import "../chunk-NDJ52M2N.mjs";
27
- import "../chunk-6ALUN6LP.mjs";
26
+ import "../chunk-LZG5WM4M.mjs";
27
+ import "../chunk-LMWIDQZ6.mjs";
28
28
  import {
29
29
  EnumEventDateStatus,
30
30
  EnumEventType,
package/dist/index.cjs CHANGED
@@ -962,20 +962,15 @@ var priceUnits = [
962
962
  var OBJECT_ID_PATH_SEGMENT = "[a-f0-9]{24}";
963
963
  var OBJECT_ID_PATH_SEGMENT_END = `${OBJECT_ID_PATH_SEGMENT}$`;
964
964
  var gameScreenIdentifierList = [
965
- {
966
- clue: "Where your actions turn into a timeline.",
967
- id: "activities",
968
- match: "/profile/account/favourites"
969
- },
970
965
  {
971
966
  clue: "Where conversations happen without speaking.",
972
967
  id: "chat",
973
968
  match: "/chat"
974
969
  },
975
970
  {
976
- clue: "The place to redefine who you are.",
977
- id: "edit-profile",
978
- match: "/profile/account"
971
+ clue: "Where you can find your loyalties.",
972
+ id: "coupons",
973
+ match: "/coupons"
979
974
  },
980
975
  {
981
976
  clue: "A single moment worth showing up for.",
@@ -1010,18 +1005,13 @@ var gameScreenIdentifierList = [
1010
1005
  {
1011
1006
  clue: "Your starting point for everything.",
1012
1007
  id: "home",
1013
- match: "/"
1008
+ match: "/home"
1014
1009
  },
1015
1010
  {
1016
1011
  clue: "Where the app whispers what you shouldn\u2019t miss.",
1017
1012
  id: "notifications",
1018
1013
  match: "/notifications"
1019
1014
  },
1020
- {
1021
- clue: "Where you fine-tune your experience.",
1022
- id: "options",
1023
- match: "/options"
1024
- },
1025
1015
  {
1026
1016
  clue: "An organisation or creator supporting the community.",
1027
1017
  id: "single-partner",
@@ -1033,15 +1023,30 @@ var gameScreenIdentifierList = [
1033
1023
  match: "/partners"
1034
1024
  },
1035
1025
  {
1036
- clue: "A single published post in full view.",
1037
- id: "single-visitor-post",
1038
- match: new RegExp(`^/visitors/post/${OBJECT_ID_PATH_SEGMENT_END}`)
1026
+ clue: "Where your actions turn into a timeline.",
1027
+ id: "activities",
1028
+ match: "/profile/account/favourites"
1029
+ },
1030
+ {
1031
+ clue: "The place to redefine who you are.",
1032
+ id: "edit-profile",
1033
+ match: "/profile/account"
1039
1034
  },
1040
1035
  {
1041
1036
  clue: "Your identity, on display.",
1042
1037
  id: "profile",
1043
1038
  match: "/profile"
1044
1039
  },
1040
+ {
1041
+ clue: "Where you can redeem your rewards.",
1042
+ id: "rewards",
1043
+ match: "/profile/account/rewards"
1044
+ },
1045
+ {
1046
+ clue: "A single published post in full view.",
1047
+ id: "single-visitor-post",
1048
+ match: new RegExp(`^/visitors/post/${OBJECT_ID_PATH_SEGMENT_END}`)
1049
+ },
1045
1050
  {
1046
1051
  clue: "One stallholder offering something valuable.",
1047
1052
  id: "single-vendor",
@@ -1056,6 +1061,11 @@ var gameScreenIdentifierList = [
1056
1061
  clue: "Where you browse articles and posts from around the platform.",
1057
1062
  id: "visitors",
1058
1063
  match: "/visitors"
1064
+ },
1065
+ {
1066
+ clue: "Where you fine-tune your experience.",
1067
+ id: "options",
1068
+ match: "/options"
1059
1069
  }
1060
1070
  ];
1061
1071
 
@@ -4244,11 +4254,13 @@ var GET_EVENTS_BY_REGION = import_client2.gql`
4244
4254
  $region: String!
4245
4255
  $options: ResourcesByRegionOptions
4246
4256
  $dateStatus: EventDateStatusEnumType
4257
+ $tags: [String]
4247
4258
  ) {
4248
4259
  eventsByRegion(
4249
4260
  region: $region
4250
4261
  options: $options
4251
4262
  dateStatus: $dateStatus
4263
+ tags: $tags
4252
4264
  ) {
4253
4265
  ...EventListItemFields
4254
4266
  }
@@ -5948,11 +5960,12 @@ var useGetEventByPlaceId = (googlePlaceId) => {
5948
5960
  const eventByPlaceId = data?.eventByPlaceId || null;
5949
5961
  return { error, eventByPlaceId, loading, refetch };
5950
5962
  };
5951
- var useGetEventsByRegion = (region, options, dateStatus) => {
5963
+ var useGetEventsByRegion = (region, options, dateStatus, tags) => {
5952
5964
  const variables = {
5953
5965
  dateStatus,
5954
5966
  options,
5955
- region
5967
+ region,
5968
+ tags: (tags ?? []).filter(Boolean)
5956
5969
  };
5957
5970
  const { loading, error, data, refetch, fetchMore } = (0, import_client25.useQuery)(GET_EVENTS_BY_REGION, {
5958
5971
  fetchPolicy: "network-only",