@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,4 +1,4 @@
1
- import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-Da36L_p3.mjs';
1
+ import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-CG2xlh2k.mjs';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-B6l7Xvrj.js';
1
+ import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-BjtC8RIp.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
@@ -46,9 +46,9 @@ import {
46
46
  import {
47
47
  availableCategories,
48
48
  categoryColors
49
- } from "../chunk-G5T3Z6WT.mjs";
49
+ } from "../chunk-OYRT6IXI.mjs";
50
50
  import "../chunk-SD42WIMV.mjs";
51
- import "../chunk-WS47NSTO.mjs";
51
+ import "../chunk-GWBDLKQC.mjs";
52
52
  import "../chunk-RAYUJODN.mjs";
53
53
  import "../chunk-DQ7ZHIXW.mjs";
54
54
  import "../chunk-X3OLM35T.mjs";
@@ -117,17 +117,13 @@ type GlobalGameData = {
117
117
  };
118
118
 
119
119
  declare const gameScreenIdentifierList: readonly [{
120
- readonly clue: "Where your actions turn into a timeline.";
121
- readonly id: "activities";
122
- readonly match: "/profile/account/favourites";
123
- }, {
124
120
  readonly clue: "Where conversations happen without speaking.";
125
121
  readonly id: "chat";
126
122
  readonly match: "/chat";
127
123
  }, {
128
- readonly clue: "The place to redefine who you are.";
129
- readonly id: "edit-profile";
130
- readonly match: "/profile/account";
124
+ readonly clue: "Where you can find your loyalties.";
125
+ readonly id: "coupons";
126
+ readonly match: "/coupons";
131
127
  }, {
132
128
  readonly clue: "A single moment worth showing up for.";
133
129
  readonly id: "single-event";
@@ -155,15 +151,11 @@ declare const gameScreenIdentifierList: readonly [{
155
151
  }, {
156
152
  readonly clue: "Your starting point for everything.";
157
153
  readonly id: "home";
158
- readonly match: "/";
154
+ readonly match: "/home";
159
155
  }, {
160
156
  readonly clue: "Where the app whispers what you shouldn’t miss.";
161
157
  readonly id: "notifications";
162
158
  readonly match: "/notifications";
163
- }, {
164
- readonly clue: "Where you fine-tune your experience.";
165
- readonly id: "options";
166
- readonly match: "/options";
167
159
  }, {
168
160
  readonly clue: "An organisation or creator supporting the community.";
169
161
  readonly id: "single-partner";
@@ -173,13 +165,25 @@ declare const gameScreenIdentifierList: readonly [{
173
165
  readonly id: "partners";
174
166
  readonly match: "/partners";
175
167
  }, {
176
- readonly clue: "A single published post in full view.";
177
- readonly id: "single-visitor-post";
178
- readonly match: RegExp;
168
+ readonly clue: "Where your actions turn into a timeline.";
169
+ readonly id: "activities";
170
+ readonly match: "/profile/account/favourites";
171
+ }, {
172
+ readonly clue: "The place to redefine who you are.";
173
+ readonly id: "edit-profile";
174
+ readonly match: "/profile/account";
179
175
  }, {
180
176
  readonly clue: "Your identity, on display.";
181
177
  readonly id: "profile";
182
178
  readonly match: "/profile";
179
+ }, {
180
+ readonly clue: "Where you can redeem your rewards.";
181
+ readonly id: "rewards";
182
+ readonly match: "/profile/account/rewards";
183
+ }, {
184
+ readonly clue: "A single published post in full view.";
185
+ readonly id: "single-visitor-post";
186
+ readonly match: RegExp;
183
187
  }, {
184
188
  readonly clue: "One stallholder offering something valuable.";
185
189
  readonly id: "single-vendor";
@@ -192,6 +196,10 @@ declare const gameScreenIdentifierList: readonly [{
192
196
  readonly clue: "Where you browse articles and posts from around the platform.";
193
197
  readonly id: "visitors";
194
198
  readonly match: "/visitors";
199
+ }, {
200
+ readonly clue: "Where you fine-tune your experience.";
201
+ readonly id: "options";
202
+ readonly match: "/options";
195
203
  }];
196
204
  type GamePlacement = (typeof gameScreenIdentifierList)[number]["id"];
197
205
  type GamePlacementClue = (typeof gameScreenIdentifierList)[number]["clue"];
@@ -117,17 +117,13 @@ type GlobalGameData = {
117
117
  };
118
118
 
119
119
  declare const gameScreenIdentifierList: readonly [{
120
- readonly clue: "Where your actions turn into a timeline.";
121
- readonly id: "activities";
122
- readonly match: "/profile/account/favourites";
123
- }, {
124
120
  readonly clue: "Where conversations happen without speaking.";
125
121
  readonly id: "chat";
126
122
  readonly match: "/chat";
127
123
  }, {
128
- readonly clue: "The place to redefine who you are.";
129
- readonly id: "edit-profile";
130
- readonly match: "/profile/account";
124
+ readonly clue: "Where you can find your loyalties.";
125
+ readonly id: "coupons";
126
+ readonly match: "/coupons";
131
127
  }, {
132
128
  readonly clue: "A single moment worth showing up for.";
133
129
  readonly id: "single-event";
@@ -155,15 +151,11 @@ declare const gameScreenIdentifierList: readonly [{
155
151
  }, {
156
152
  readonly clue: "Your starting point for everything.";
157
153
  readonly id: "home";
158
- readonly match: "/";
154
+ readonly match: "/home";
159
155
  }, {
160
156
  readonly clue: "Where the app whispers what you shouldn’t miss.";
161
157
  readonly id: "notifications";
162
158
  readonly match: "/notifications";
163
- }, {
164
- readonly clue: "Where you fine-tune your experience.";
165
- readonly id: "options";
166
- readonly match: "/options";
167
159
  }, {
168
160
  readonly clue: "An organisation or creator supporting the community.";
169
161
  readonly id: "single-partner";
@@ -173,13 +165,25 @@ declare const gameScreenIdentifierList: readonly [{
173
165
  readonly id: "partners";
174
166
  readonly match: "/partners";
175
167
  }, {
176
- readonly clue: "A single published post in full view.";
177
- readonly id: "single-visitor-post";
178
- readonly match: RegExp;
168
+ readonly clue: "Where your actions turn into a timeline.";
169
+ readonly id: "activities";
170
+ readonly match: "/profile/account/favourites";
171
+ }, {
172
+ readonly clue: "The place to redefine who you are.";
173
+ readonly id: "edit-profile";
174
+ readonly match: "/profile/account";
179
175
  }, {
180
176
  readonly clue: "Your identity, on display.";
181
177
  readonly id: "profile";
182
178
  readonly match: "/profile";
179
+ }, {
180
+ readonly clue: "Where you can redeem your rewards.";
181
+ readonly id: "rewards";
182
+ readonly match: "/profile/account/rewards";
183
+ }, {
184
+ readonly clue: "A single published post in full view.";
185
+ readonly id: "single-visitor-post";
186
+ readonly match: RegExp;
183
187
  }, {
184
188
  readonly clue: "One stallholder offering something valuable.";
185
189
  readonly id: "single-vendor";
@@ -192,6 +196,10 @@ declare const gameScreenIdentifierList: readonly [{
192
196
  readonly clue: "Where you browse articles and posts from around the platform.";
193
197
  readonly id: "visitors";
194
198
  readonly match: "/visitors";
199
+ }, {
200
+ readonly clue: "Where you fine-tune your experience.";
201
+ readonly id: "options";
202
+ readonly match: "/options";
195
203
  }];
196
204
  type GamePlacement = (typeof gameScreenIdentifierList)[number]["id"];
197
205
  type GamePlacementClue = (typeof gameScreenIdentifierList)[number]["clue"];
@@ -649,11 +649,13 @@ var GET_EVENTS_BY_REGION = import_client2.gql`
649
649
  $region: String!
650
650
  $options: ResourcesByRegionOptions
651
651
  $dateStatus: EventDateStatusEnumType
652
+ $tags: [String]
652
653
  ) {
653
654
  eventsByRegion(
654
655
  region: $region
655
656
  options: $options
656
657
  dateStatus: $dateStatus
658
+ tags: $tags
657
659
  ) {
658
660
  ...EventListItemFields
659
661
  }
@@ -2353,11 +2355,12 @@ var useGetEventByPlaceId = (googlePlaceId) => {
2353
2355
  const eventByPlaceId = data?.eventByPlaceId || null;
2354
2356
  return { error, eventByPlaceId, loading, refetch };
2355
2357
  };
2356
- var useGetEventsByRegion = (region, options, dateStatus) => {
2358
+ var useGetEventsByRegion = (region, options, dateStatus, tags) => {
2357
2359
  const variables = {
2358
2360
  dateStatus,
2359
2361
  options,
2360
- region
2362
+ region,
2363
+ tags: (tags ?? []).filter(Boolean)
2361
2364
  };
2362
2365
  const { loading, error, data, refetch, fetchMore } = (0, import_client25.useQuery)(GET_EVENTS_BY_REGION, {
2363
2366
  fetchPolicy: "network-only",