@timardex/cluemart-shared 2.0.16 → 2.0.18

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 (57) hide show
  1. package/dist/{ad-B4Acy8eW.d.ts → ad-ZwLtQn9a.d.ts} +3 -3
  2. package/dist/{ad-D_5m292R.d.mts → ad-xO8ltnGA.d.mts} +3 -3
  3. package/dist/{affiliate-6NsbC06m.d.mts → affiliate-Bv4PXBXC.d.mts} +2 -2
  4. package/dist/{affiliate-CYnVduRf.d.ts → affiliate-xDFlLdJI.d.ts} +2 -2
  5. package/dist/auth/index.d.mts +3 -3
  6. package/dist/auth/index.d.ts +3 -3
  7. package/dist/{chunk-E23D3LUI.mjs → chunk-5G3MQXQX.mjs} +42 -12
  8. package/dist/{chunk-E23D3LUI.mjs.map → chunk-5G3MQXQX.mjs.map} +1 -1
  9. package/dist/{chunk-TJJ6XKJY.mjs → chunk-JESR7H4R.mjs} +1 -1
  10. package/dist/chunk-JESR7H4R.mjs.map +1 -0
  11. package/dist/{chunk-PSP5KDHQ.mjs → chunk-KUC252SN.mjs} +5 -5
  12. package/dist/chunk-KUC252SN.mjs.map +1 -0
  13. package/dist/{contactUs-DcSnfzb5.d.mts → contactUs-0IhAsiDW.d.mts} +1 -1
  14. package/dist/{contactUs-DYgB9q7k.d.ts → contactUs-DtKFwekV.d.ts} +1 -1
  15. package/dist/formFields/index.cjs +40 -10
  16. package/dist/formFields/index.cjs.map +1 -1
  17. package/dist/formFields/index.d.mts +2 -2
  18. package/dist/formFields/index.d.ts +2 -2
  19. package/dist/formFields/index.mjs +2 -2
  20. package/dist/{global-DwPcHR4_.d.mts → global-C6w0hQ5Y.d.mts} +6 -2
  21. package/dist/{global-s3frnbGC.d.ts → global-Coz5Jgi2.d.ts} +6 -2
  22. package/dist/graphql/index.cjs +4 -4
  23. package/dist/graphql/index.cjs.map +1 -1
  24. package/dist/graphql/index.d.mts +6 -6
  25. package/dist/graphql/index.d.ts +6 -6
  26. package/dist/graphql/index.mjs +1 -1
  27. package/dist/hooks/index.cjs +42 -12
  28. package/dist/hooks/index.cjs.map +1 -1
  29. package/dist/hooks/index.d.mts +5 -5
  30. package/dist/hooks/index.d.ts +5 -5
  31. package/dist/hooks/index.mjs +3 -3
  32. package/dist/index.cjs +44 -14
  33. package/dist/index.cjs.map +1 -1
  34. package/dist/index.d.mts +8 -4
  35. package/dist/index.d.ts +8 -4
  36. package/dist/index.mjs +44 -14
  37. package/dist/index.mjs.map +1 -1
  38. package/dist/map/index.d.mts +1 -1
  39. package/dist/map/index.d.ts +1 -1
  40. package/dist/{resourceActivities-D9-mYXe8.d.mts → resourceActivities-DIK3bwZg.d.mts} +1 -1
  41. package/dist/{resourceActivities-CJ2ivv01.d.ts → resourceActivities-DScv6fiM.d.ts} +1 -1
  42. package/dist/sharing/index.d.mts +1 -1
  43. package/dist/sharing/index.d.ts +1 -1
  44. package/dist/types/index.cjs.map +1 -1
  45. package/dist/types/index.d.mts +7 -7
  46. package/dist/types/index.d.ts +7 -7
  47. package/dist/types/index.mjs +1 -1
  48. package/dist/{user-Ml-C8k8S.d.mts → user-BwcVKK-h.d.mts} +1 -1
  49. package/dist/{user-CteW0WdG.d.ts → user-DhxdbFT7.d.ts} +1 -1
  50. package/dist/utils/index.cjs +40 -10
  51. package/dist/utils/index.cjs.map +1 -1
  52. package/dist/utils/index.d.mts +3 -3
  53. package/dist/utils/index.d.ts +3 -3
  54. package/dist/utils/index.mjs +2 -2
  55. package/package.json +1 -1
  56. package/dist/chunk-PSP5KDHQ.mjs.map +0 -1
  57. package/dist/chunk-TJJ6XKJY.mjs.map +0 -1
@@ -1,13 +1,13 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode as DocumentNode$1, ApolloError } from '@apollo/client';
3
3
  import { DocumentNode } from 'graphql';
4
- import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-D9-mYXe8.mjs';
5
- import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, G as GameDocType, m as GameLeaderboard, n as CouponType, o as CouponTypeList } from '../global-DwPcHR4_.mjs';
6
- import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-Ml-C8k8S.mjs';
7
- import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdPlatform, b as EnumAdStatus, c as AppSettingsType, S as SchoolType, d as SchoolReturnType } from '../ad-D_5m292R.mjs';
4
+ import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-DIK3bwZg.mjs';
5
+ import { M as MutationResponse, E as EventType, d as EventListItemType, e as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, f as RelationType, g as ResourceConnectionsType, V as VendorClaimTokenValidation, h as UnregisteredVendorType, i as VendorType, j as VendorInfoType, k as MyPendingVendorClaim, l as UserLicenceType, m as PostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-C6w0hQ5Y.mjs';
6
+ import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-BwcVKK-h.mjs';
7
+ import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdPlatform, b as EnumAdShowOn, c as AppSettingsType, S as SchoolType, d as SchoolReturnType } from '../ad-xO8ltnGA.mjs';
8
8
  import { EnumEventDateStatus, EnumResourceType } from '../enums/index.mjs';
9
9
  import { B as BillingCatalogEntryType } from '../billingCatalog-DDAU9BWV.mjs';
10
- import { A as AffiliateType } from '../affiliate-6NsbC06m.mjs';
10
+ import { A as AffiliateType } from '../affiliate-Bv4PXBXC.mjs';
11
11
  import 'react-hook-form';
12
12
  import '../images/index.mjs';
13
13
 
@@ -1012,7 +1012,7 @@ declare const useGetAd: (_id: string) => {
1012
1012
  ad: AdType;
1013
1013
  }>>;
1014
1014
  };
1015
- declare const useGetAdsByRegion: (region: string, platform: EnumAdPlatform, status?: EnumAdStatus) => {
1015
+ declare const useGetAdsByRegion: (region: string, platform: EnumAdPlatform, showOn?: EnumAdShowOn) => {
1016
1016
  adsByRegion: AdType[];
1017
1017
  error: _apollo_client.ApolloError | undefined;
1018
1018
  loading: boolean;
@@ -1,13 +1,13 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode as DocumentNode$1, ApolloError } from '@apollo/client';
3
3
  import { DocumentNode } from 'graphql';
4
- import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-CJ2ivv01.js';
5
- import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, G as GameDocType, m as GameLeaderboard, n as CouponType, o as CouponTypeList } from '../global-s3frnbGC.js';
6
- import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-CteW0WdG.js';
7
- import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdPlatform, b as EnumAdStatus, c as AppSettingsType, S as SchoolType, d as SchoolReturnType } from '../ad-B4Acy8eW.js';
4
+ import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-DScv6fiM.js';
5
+ import { M as MutationResponse, E as EventType, d as EventListItemType, e as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, f as RelationType, g as ResourceConnectionsType, V as VendorClaimTokenValidation, h as UnregisteredVendorType, i as VendorType, j as VendorInfoType, k as MyPendingVendorClaim, l as UserLicenceType, m as PostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-Coz5Jgi2.js';
6
+ import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-DhxdbFT7.js';
7
+ import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdPlatform, b as EnumAdShowOn, c as AppSettingsType, S as SchoolType, d as SchoolReturnType } from '../ad-ZwLtQn9a.js';
8
8
  import { EnumEventDateStatus, EnumResourceType } from '../enums/index.js';
9
9
  import { B as BillingCatalogEntryType } from '../billingCatalog-oWAfZX95.js';
10
- import { A as AffiliateType } from '../affiliate-CYnVduRf.js';
10
+ import { A as AffiliateType } from '../affiliate-xDFlLdJI.js';
11
11
  import 'react-hook-form';
12
12
  import '../images/index.js';
13
13
 
@@ -1012,7 +1012,7 @@ declare const useGetAd: (_id: string) => {
1012
1012
  ad: AdType;
1013
1013
  }>>;
1014
1014
  };
1015
- declare const useGetAdsByRegion: (region: string, platform: EnumAdPlatform, status?: EnumAdStatus) => {
1015
+ declare const useGetAdsByRegion: (region: string, platform: EnumAdPlatform, showOn?: EnumAdShowOn) => {
1016
1016
  adsByRegion: AdType[];
1017
1017
  error: _apollo_client.ApolloError | undefined;
1018
1018
  loading: boolean;
@@ -163,7 +163,7 @@ import {
163
163
  useUpdateUser,
164
164
  useUpdateVendor,
165
165
  useUpdateVendorInfo
166
- } from "../chunk-PSP5KDHQ.mjs";
166
+ } from "../chunk-KUC252SN.mjs";
167
167
  import {
168
168
  GET_EVENT,
169
169
  GET_EVENTS,
@@ -1588,16 +1588,46 @@ var vintageAndAntique = [
1588
1588
 
1589
1589
  // src/formFields/categories/index.ts
1590
1590
  var categoryColors = {
1591
- "clothing-fashion": "#9D4EDD",
1592
- "electronics-technology": "#3AF3FF",
1593
- "food-beverages": "#FF0D1F",
1594
- "handmade-local-products": "#EE7E54",
1595
- "health-wellness": "#E23794",
1596
- "home-garden-household-goods": "#067325",
1597
- "pet-products-animal-goods": "#68E788",
1598
- "services-experiences": "#2E16A5",
1599
- "toys-childrens-items": "#FFF966",
1600
- "vintage-antique": "#8D6748"
1591
+ "clothing-fashion": {
1592
+ primary: "#9D4EDD",
1593
+ secondary: "#fff"
1594
+ },
1595
+ "electronics-technology": {
1596
+ primary: "#3AF3FF",
1597
+ secondary: "#000"
1598
+ },
1599
+ "food-beverages": {
1600
+ primary: "#FF0D1F",
1601
+ secondary: "#fff"
1602
+ },
1603
+ "handmade-local-products": {
1604
+ primary: "#EE7E54",
1605
+ secondary: "#fff"
1606
+ },
1607
+ "health-wellness": {
1608
+ primary: "#E23794",
1609
+ secondary: "#fff"
1610
+ },
1611
+ "home-garden-household-goods": {
1612
+ primary: "#067325",
1613
+ secondary: "#fff"
1614
+ },
1615
+ "pet-products-animal-goods": {
1616
+ primary: "#68E788",
1617
+ secondary: "#000"
1618
+ },
1619
+ "services-experiences": {
1620
+ primary: "#2E16A5",
1621
+ secondary: "#fff"
1622
+ },
1623
+ "toys-childrens-items": {
1624
+ primary: "#FFF966",
1625
+ secondary: "#000"
1626
+ },
1627
+ "vintage-antique": {
1628
+ primary: "#8D6748",
1629
+ secondary: "#fff"
1630
+ }
1601
1631
  };
1602
1632
  var assignColorToCategories = (categories) => {
1603
1633
  const result = categories.map((category) => ({
@@ -4867,9 +4897,9 @@ var GET_ADS_BY_REGION = import_client44.gql`
4867
4897
  query getAdsByRegion(
4868
4898
  $region: String!
4869
4899
  $platform: AdPlatformEnum!
4870
- $status: AdStatusTypeEnum
4900
+ $showOn: AdShowOnEnum
4871
4901
  ) {
4872
- adsByRegion(region: $region, platform: $platform, status: $status) {
4902
+ adsByRegion(region: $region, platform: $platform, showOn: $showOn) {
4873
4903
  ...AdFields
4874
4904
  }
4875
4905
  }