@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
package/dist/index.d.mts CHANGED
@@ -347,17 +347,13 @@ type GlobalGameData = {
347
347
  };
348
348
 
349
349
  declare const gameScreenIdentifierList: readonly [{
350
- readonly clue: "Where your actions turn into a timeline.";
351
- readonly id: "activities";
352
- readonly match: "/profile/account/favourites";
353
- }, {
354
350
  readonly clue: "Where conversations happen without speaking.";
355
351
  readonly id: "chat";
356
352
  readonly match: "/chat";
357
353
  }, {
358
- readonly clue: "The place to redefine who you are.";
359
- readonly id: "edit-profile";
360
- readonly match: "/profile/account";
354
+ readonly clue: "Where you can find your loyalties.";
355
+ readonly id: "coupons";
356
+ readonly match: "/coupons";
361
357
  }, {
362
358
  readonly clue: "A single moment worth showing up for.";
363
359
  readonly id: "single-event";
@@ -385,15 +381,11 @@ declare const gameScreenIdentifierList: readonly [{
385
381
  }, {
386
382
  readonly clue: "Your starting point for everything.";
387
383
  readonly id: "home";
388
- readonly match: "/";
384
+ readonly match: "/home";
389
385
  }, {
390
386
  readonly clue: "Where the app whispers what you shouldn’t miss.";
391
387
  readonly id: "notifications";
392
388
  readonly match: "/notifications";
393
- }, {
394
- readonly clue: "Where you fine-tune your experience.";
395
- readonly id: "options";
396
- readonly match: "/options";
397
389
  }, {
398
390
  readonly clue: "An organisation or creator supporting the community.";
399
391
  readonly id: "single-partner";
@@ -403,13 +395,25 @@ declare const gameScreenIdentifierList: readonly [{
403
395
  readonly id: "partners";
404
396
  readonly match: "/partners";
405
397
  }, {
406
- readonly clue: "A single published post in full view.";
407
- readonly id: "single-visitor-post";
408
- readonly match: RegExp;
398
+ readonly clue: "Where your actions turn into a timeline.";
399
+ readonly id: "activities";
400
+ readonly match: "/profile/account/favourites";
401
+ }, {
402
+ readonly clue: "The place to redefine who you are.";
403
+ readonly id: "edit-profile";
404
+ readonly match: "/profile/account";
409
405
  }, {
410
406
  readonly clue: "Your identity, on display.";
411
407
  readonly id: "profile";
412
408
  readonly match: "/profile";
409
+ }, {
410
+ readonly clue: "Where you can redeem your rewards.";
411
+ readonly id: "rewards";
412
+ readonly match: "/profile/account/rewards";
413
+ }, {
414
+ readonly clue: "A single published post in full view.";
415
+ readonly id: "single-visitor-post";
416
+ readonly match: RegExp;
413
417
  }, {
414
418
  readonly clue: "One stallholder offering something valuable.";
415
419
  readonly id: "single-vendor";
@@ -422,6 +426,10 @@ declare const gameScreenIdentifierList: readonly [{
422
426
  readonly clue: "Where you browse articles and posts from around the platform.";
423
427
  readonly id: "visitors";
424
428
  readonly match: "/visitors";
429
+ }, {
430
+ readonly clue: "Where you fine-tune your experience.";
431
+ readonly id: "options";
432
+ readonly match: "/options";
425
433
  }];
426
434
  type GamePlacement = (typeof gameScreenIdentifierList)[number]["id"];
427
435
  type GamePlacementClue = (typeof gameScreenIdentifierList)[number]["clue"];
@@ -2089,7 +2097,7 @@ declare const useGetEventByPlaceId: (googlePlaceId: string) => {
2089
2097
  eventByPlaceId: EventListItemType | null;
2090
2098
  }>>;
2091
2099
  };
2092
- declare const useGetEventsByRegion: (region: string, options?: UseGetResourcesByRegionOptions, dateStatus?: EnumEventDateStatus) => {
2100
+ declare const useGetEventsByRegion: (region: string, options?: UseGetResourcesByRegionOptions, dateStatus?: EnumEventDateStatus, tags?: string[]) => {
2093
2101
  error: _apollo_client.ApolloError | undefined;
2094
2102
  eventsByRegion: EventListItemType[];
2095
2103
  fetchMore: <TFetchData = {
package/dist/index.d.ts CHANGED
@@ -347,17 +347,13 @@ type GlobalGameData = {
347
347
  };
348
348
 
349
349
  declare const gameScreenIdentifierList: readonly [{
350
- readonly clue: "Where your actions turn into a timeline.";
351
- readonly id: "activities";
352
- readonly match: "/profile/account/favourites";
353
- }, {
354
350
  readonly clue: "Where conversations happen without speaking.";
355
351
  readonly id: "chat";
356
352
  readonly match: "/chat";
357
353
  }, {
358
- readonly clue: "The place to redefine who you are.";
359
- readonly id: "edit-profile";
360
- readonly match: "/profile/account";
354
+ readonly clue: "Where you can find your loyalties.";
355
+ readonly id: "coupons";
356
+ readonly match: "/coupons";
361
357
  }, {
362
358
  readonly clue: "A single moment worth showing up for.";
363
359
  readonly id: "single-event";
@@ -385,15 +381,11 @@ declare const gameScreenIdentifierList: readonly [{
385
381
  }, {
386
382
  readonly clue: "Your starting point for everything.";
387
383
  readonly id: "home";
388
- readonly match: "/";
384
+ readonly match: "/home";
389
385
  }, {
390
386
  readonly clue: "Where the app whispers what you shouldn’t miss.";
391
387
  readonly id: "notifications";
392
388
  readonly match: "/notifications";
393
- }, {
394
- readonly clue: "Where you fine-tune your experience.";
395
- readonly id: "options";
396
- readonly match: "/options";
397
389
  }, {
398
390
  readonly clue: "An organisation or creator supporting the community.";
399
391
  readonly id: "single-partner";
@@ -403,13 +395,25 @@ declare const gameScreenIdentifierList: readonly [{
403
395
  readonly id: "partners";
404
396
  readonly match: "/partners";
405
397
  }, {
406
- readonly clue: "A single published post in full view.";
407
- readonly id: "single-visitor-post";
408
- readonly match: RegExp;
398
+ readonly clue: "Where your actions turn into a timeline.";
399
+ readonly id: "activities";
400
+ readonly match: "/profile/account/favourites";
401
+ }, {
402
+ readonly clue: "The place to redefine who you are.";
403
+ readonly id: "edit-profile";
404
+ readonly match: "/profile/account";
409
405
  }, {
410
406
  readonly clue: "Your identity, on display.";
411
407
  readonly id: "profile";
412
408
  readonly match: "/profile";
409
+ }, {
410
+ readonly clue: "Where you can redeem your rewards.";
411
+ readonly id: "rewards";
412
+ readonly match: "/profile/account/rewards";
413
+ }, {
414
+ readonly clue: "A single published post in full view.";
415
+ readonly id: "single-visitor-post";
416
+ readonly match: RegExp;
413
417
  }, {
414
418
  readonly clue: "One stallholder offering something valuable.";
415
419
  readonly id: "single-vendor";
@@ -422,6 +426,10 @@ declare const gameScreenIdentifierList: readonly [{
422
426
  readonly clue: "Where you browse articles and posts from around the platform.";
423
427
  readonly id: "visitors";
424
428
  readonly match: "/visitors";
429
+ }, {
430
+ readonly clue: "Where you fine-tune your experience.";
431
+ readonly id: "options";
432
+ readonly match: "/options";
425
433
  }];
426
434
  type GamePlacement = (typeof gameScreenIdentifierList)[number]["id"];
427
435
  type GamePlacementClue = (typeof gameScreenIdentifierList)[number]["clue"];
@@ -2089,7 +2097,7 @@ declare const useGetEventByPlaceId: (googlePlaceId: string) => {
2089
2097
  eventByPlaceId: EventListItemType | null;
2090
2098
  }>>;
2091
2099
  };
2092
- declare const useGetEventsByRegion: (region: string, options?: UseGetResourcesByRegionOptions, dateStatus?: EnumEventDateStatus) => {
2100
+ declare const useGetEventsByRegion: (region: string, options?: UseGetResourcesByRegionOptions, dateStatus?: EnumEventDateStatus, tags?: string[]) => {
2093
2101
  error: _apollo_client.ApolloError | undefined;
2094
2102
  eventsByRegion: EventListItemType[];
2095
2103
  fetchMore: <TFetchData = {
package/dist/index.mjs CHANGED
@@ -467,20 +467,15 @@ var priceUnits = [
467
467
  var OBJECT_ID_PATH_SEGMENT = "[a-f0-9]{24}";
468
468
  var OBJECT_ID_PATH_SEGMENT_END = `${OBJECT_ID_PATH_SEGMENT}$`;
469
469
  var gameScreenIdentifierList = [
470
- {
471
- clue: "Where your actions turn into a timeline.",
472
- id: "activities",
473
- match: "/profile/account/favourites"
474
- },
475
470
  {
476
471
  clue: "Where conversations happen without speaking.",
477
472
  id: "chat",
478
473
  match: "/chat"
479
474
  },
480
475
  {
481
- clue: "The place to redefine who you are.",
482
- id: "edit-profile",
483
- match: "/profile/account"
476
+ clue: "Where you can find your loyalties.",
477
+ id: "coupons",
478
+ match: "/coupons"
484
479
  },
485
480
  {
486
481
  clue: "A single moment worth showing up for.",
@@ -515,18 +510,13 @@ var gameScreenIdentifierList = [
515
510
  {
516
511
  clue: "Your starting point for everything.",
517
512
  id: "home",
518
- match: "/"
513
+ match: "/home"
519
514
  },
520
515
  {
521
516
  clue: "Where the app whispers what you shouldn\u2019t miss.",
522
517
  id: "notifications",
523
518
  match: "/notifications"
524
519
  },
525
- {
526
- clue: "Where you fine-tune your experience.",
527
- id: "options",
528
- match: "/options"
529
- },
530
520
  {
531
521
  clue: "An organisation or creator supporting the community.",
532
522
  id: "single-partner",
@@ -538,15 +528,30 @@ var gameScreenIdentifierList = [
538
528
  match: "/partners"
539
529
  },
540
530
  {
541
- clue: "A single published post in full view.",
542
- id: "single-visitor-post",
543
- match: new RegExp(`^/visitors/post/${OBJECT_ID_PATH_SEGMENT_END}`)
531
+ clue: "Where your actions turn into a timeline.",
532
+ id: "activities",
533
+ match: "/profile/account/favourites"
534
+ },
535
+ {
536
+ clue: "The place to redefine who you are.",
537
+ id: "edit-profile",
538
+ match: "/profile/account"
544
539
  },
545
540
  {
546
541
  clue: "Your identity, on display.",
547
542
  id: "profile",
548
543
  match: "/profile"
549
544
  },
545
+ {
546
+ clue: "Where you can redeem your rewards.",
547
+ id: "rewards",
548
+ match: "/profile/account/rewards"
549
+ },
550
+ {
551
+ clue: "A single published post in full view.",
552
+ id: "single-visitor-post",
553
+ match: new RegExp(`^/visitors/post/${OBJECT_ID_PATH_SEGMENT_END}`)
554
+ },
550
555
  {
551
556
  clue: "One stallholder offering something valuable.",
552
557
  id: "single-vendor",
@@ -561,6 +566,11 @@ var gameScreenIdentifierList = [
561
566
  clue: "Where you browse articles and posts from around the platform.",
562
567
  id: "visitors",
563
568
  match: "/visitors"
569
+ },
570
+ {
571
+ clue: "Where you fine-tune your experience.",
572
+ id: "options",
573
+ match: "/options"
564
574
  }
565
575
  ];
566
576
 
@@ -3749,11 +3759,13 @@ var GET_EVENTS_BY_REGION = gql2`
3749
3759
  $region: String!
3750
3760
  $options: ResourcesByRegionOptions
3751
3761
  $dateStatus: EventDateStatusEnumType
3762
+ $tags: [String]
3752
3763
  ) {
3753
3764
  eventsByRegion(
3754
3765
  region: $region
3755
3766
  options: $options
3756
3767
  dateStatus: $dateStatus
3768
+ tags: $tags
3757
3769
  ) {
3758
3770
  ...EventListItemFields
3759
3771
  }
@@ -5453,11 +5465,12 @@ var useGetEventByPlaceId = (googlePlaceId) => {
5453
5465
  const eventByPlaceId = data?.eventByPlaceId || null;
5454
5466
  return { error, eventByPlaceId, loading, refetch };
5455
5467
  };
5456
- var useGetEventsByRegion = (region, options, dateStatus) => {
5468
+ var useGetEventsByRegion = (region, options, dateStatus, tags) => {
5457
5469
  const variables = {
5458
5470
  dateStatus,
5459
5471
  options,
5460
- region
5472
+ region,
5473
+ tags: (tags ?? []).filter(Boolean)
5461
5474
  };
5462
5475
  const { loading, error, data, refetch, fetchMore } = useQuery2(GET_EVENTS_BY_REGION, {
5463
5476
  fetchPolicy: "network-only",