@timardex/cluemart-shared 1.5.799 → 1.5.801

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 (38) hide show
  1. package/dist/{ad-BmEN-ByY.d.mts → ad-2RNm0qc-.d.mts} +4 -2
  2. package/dist/{ad-DGOhJs69.d.ts → ad-BzphUvUS.d.ts} +4 -2
  3. package/dist/{chunk-TDTNL6PH.mjs → chunk-2PFUE6DY.mjs} +1 -1
  4. package/dist/{chunk-TDTNL6PH.mjs.map → chunk-2PFUE6DY.mjs.map} +1 -1
  5. package/dist/{chunk-DXR4GYHF.mjs → chunk-AM4MMUVW.mjs} +2 -2
  6. package/dist/{chunk-JP57IB7P.mjs → chunk-EAL3VN4V.mjs} +5 -3
  7. package/dist/{chunk-JP57IB7P.mjs.map → chunk-EAL3VN4V.mjs.map} +1 -1
  8. package/dist/{chunk-KSFDYCSS.mjs → chunk-VGOXRE34.mjs} +44 -40
  9. package/dist/chunk-VGOXRE34.mjs.map +1 -0
  10. package/dist/formFields/index.cjs +42 -37
  11. package/dist/formFields/index.cjs.map +1 -1
  12. package/dist/formFields/index.d.mts +2 -1
  13. package/dist/formFields/index.d.ts +2 -1
  14. package/dist/formFields/index.mjs +5 -3
  15. package/dist/graphql/index.cjs +4 -2
  16. package/dist/graphql/index.cjs.map +1 -1
  17. package/dist/graphql/index.d.mts +1 -1
  18. package/dist/graphql/index.d.ts +1 -1
  19. package/dist/graphql/index.mjs +1 -1
  20. package/dist/hooks/index.cjs +51 -27
  21. package/dist/hooks/index.cjs.map +1 -1
  22. package/dist/hooks/index.d.mts +1 -1
  23. package/dist/hooks/index.d.ts +1 -1
  24. package/dist/hooks/index.mjs +4 -4
  25. package/dist/index.cjs +46 -39
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.d.mts +6 -3
  28. package/dist/index.d.ts +6 -3
  29. package/dist/index.mjs +45 -39
  30. package/dist/index.mjs.map +1 -1
  31. package/dist/types/index.cjs.map +1 -1
  32. package/dist/types/index.d.mts +1 -1
  33. package/dist/types/index.d.ts +1 -1
  34. package/dist/types/index.mjs +1 -1
  35. package/dist/utils/index.mjs +2 -2
  36. package/package.json +1 -1
  37. package/dist/chunk-KSFDYCSS.mjs.map +0 -1
  38. /package/dist/{chunk-DXR4GYHF.mjs.map → chunk-AM4MMUVW.mjs.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode } from 'graphql';
3
3
  import { EnumResourceType, EnumEventDateStatus } from '../enums/index.mjs';
4
- import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType, i as AffiliateType } from '../ad-BmEN-ByY.mjs';
4
+ import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType, i as AffiliateType } from '../ad-2RNm0qc-.mjs';
5
5
  import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-lFB7B-Y9.mjs';
6
6
  import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-C8npu_7P.mjs';
7
7
  import '../images/index.mjs';
@@ -1,7 +1,7 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode } from 'graphql';
3
3
  import { EnumResourceType, EnumEventDateStatus } from '../enums/index.js';
4
- import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType, i as AffiliateType } from '../ad-DGOhJs69.js';
4
+ import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType, i as AffiliateType } from '../ad-BzphUvUS.js';
5
5
  import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CJrM2qDC.js';
6
6
  import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-BeBuHWbg.js';
7
7
  import '../images/index.js';
@@ -152,7 +152,7 @@ import {
152
152
  useUpdateVendor,
153
153
  useUpdateVendorInfo,
154
154
  useValidateVerificationToken
155
- } from "../chunk-JP57IB7P.mjs";
155
+ } from "../chunk-EAL3VN4V.mjs";
156
156
  import "../chunk-LETM2YHF.mjs";
157
157
  export {
158
158
  GET_EVENT,
@@ -2175,31 +2175,6 @@ var tagOptions = availableTagTypes.map((tag) => ({
2175
2175
  value: tag.label
2176
2176
  }));
2177
2177
 
2178
- // src/formFields/event/eventInfo.ts
2179
- var stallTypes = [
2180
- "1.8m table only",
2181
- "2x2m mini stall",
2182
- "3x3m tent site",
2183
- "Corner stall",
2184
- "Craft stall with power",
2185
- "Craft stall without power",
2186
- "Double stall (6x3m)",
2187
- "Food truck site",
2188
- "Food vendor with power",
2189
- "Food vendor without power",
2190
- "Inside hall stall",
2191
- "Non-profit/community stall",
2192
- "Outdoor open area",
2193
- "Shared table space",
2194
- "Wall-based vendor",
2195
- "Workshop/seating area"
2196
- ];
2197
- var stallTypeOptions = stallTypes.map((type) => ({
2198
- label: type,
2199
- price: 0,
2200
- stallCapacity: 0
2201
- }));
2202
-
2203
2178
  // src/formFields/global.ts
2204
2179
  var emailField = {
2205
2180
  helperText: "Enter email address",
@@ -2225,6 +2200,53 @@ var companyContactFields = [
2225
2200
  placeholder: "Landline Phone Number"
2226
2201
  }
2227
2202
  ];
2203
+ var bankAccountDetailsFields = [
2204
+ {
2205
+ helperText: "Account holder name *",
2206
+ name: "accountHolderName",
2207
+ placeholder: "Account holder name"
2208
+ },
2209
+ {
2210
+ helperText: "Account number *",
2211
+ keyboardType: "number-pad",
2212
+ name: "accountNumber",
2213
+ placeholder: "Account number"
2214
+ }
2215
+ ];
2216
+
2217
+ // src/formFields/event/eventInfo.ts
2218
+ var eventInfoPaymentInfo = [
2219
+ ...bankAccountDetailsFields,
2220
+ {
2221
+ helperText: "Payment link, where applicants can pay *",
2222
+ keyboardType: "url",
2223
+ name: "link",
2224
+ placeholder: "Payment link"
2225
+ }
2226
+ ];
2227
+ var stallTypes = [
2228
+ "1.8m table only",
2229
+ "2x2m mini stall",
2230
+ "3x3m tent site",
2231
+ "Corner stall",
2232
+ "Craft stall with power",
2233
+ "Craft stall without power",
2234
+ "Double stall (6x3m)",
2235
+ "Food truck site",
2236
+ "Food vendor with power",
2237
+ "Food vendor without power",
2238
+ "Inside hall stall",
2239
+ "Non-profit/community stall",
2240
+ "Outdoor open area",
2241
+ "Shared table space",
2242
+ "Wall-based vendor",
2243
+ "Workshop/seating area"
2244
+ ];
2245
+ var stallTypeOptions = stallTypes.map((type) => ({
2246
+ label: type,
2247
+ price: 0,
2248
+ stallCapacity: 0
2249
+ }));
2228
2250
 
2229
2251
  // src/formFields/auth.ts
2230
2252
  var loginFields = [
@@ -5096,8 +5118,10 @@ var AFFILIATE_FIELDS_FRAGMENT = import_client74.gql`
5096
5118
  }
5097
5119
  createdAt
5098
5120
  deletedAt
5099
- lastRewardRedemptionAt
5100
- lastRewardRedemptionPoints
5121
+ lastRewardRedemptions {
5122
+ redeemedAt
5123
+ rewardValue
5124
+ }
5101
5125
  overallPoints
5102
5126
  owner {
5103
5127
  ...OwnerFields