@timardex/cluemart-shared 1.4.69 → 1.4.70

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 (34) hide show
  1. package/dist/{auth-BraMglei.d.mts → auth-Cdfen6gg.d.mts} +1 -1
  2. package/dist/{auth-Ba9gy9TM.d.ts → auth-CovYLFRn.d.ts} +1 -1
  3. package/dist/{chunk-DY47LWPZ.mjs → chunk-XTTEX5XF.mjs} +24 -7
  4. package/dist/chunk-XTTEX5XF.mjs.map +1 -0
  5. package/dist/formFields/index.cjs +23 -6
  6. package/dist/formFields/index.cjs.map +1 -1
  7. package/dist/formFields/index.d.mts +1 -1
  8. package/dist/formFields/index.d.ts +1 -1
  9. package/dist/formFields/index.mjs +1 -1
  10. package/dist/{global-FOUmnU7B.d.mts → global-D_ckWQMA.d.mts} +1 -0
  11. package/dist/{global-D7zAQcn2.d.ts → global-HUZHOXHh.d.ts} +1 -0
  12. package/dist/graphql/index.d.mts +3 -3
  13. package/dist/graphql/index.d.ts +3 -3
  14. package/dist/hooks/index.cjs +21 -6
  15. package/dist/hooks/index.cjs.map +1 -1
  16. package/dist/hooks/index.d.mts +3 -3
  17. package/dist/hooks/index.d.ts +3 -3
  18. package/dist/hooks/index.mjs +1 -1
  19. package/dist/index.cjs +23 -6
  20. package/dist/index.cjs.map +1 -1
  21. package/dist/index.d.mts +1 -0
  22. package/dist/index.d.ts +1 -0
  23. package/dist/index.mjs +23 -6
  24. package/dist/index.mjs.map +1 -1
  25. package/dist/{post-QiqjfkA6.d.ts → post-DIylz7DM.d.ts} +1 -1
  26. package/dist/{post-CUFjCn0p.d.mts → post-aU2ITfZh.d.mts} +1 -1
  27. package/dist/{resourceActivities-DoZpH1Fu.d.ts → resourceActivities-CwSss-73.d.ts} +1 -1
  28. package/dist/{resourceActivities-C4-l6iF9.d.mts → resourceActivities-dxnqHVVc.d.mts} +1 -1
  29. package/dist/types/index.d.mts +5 -5
  30. package/dist/types/index.d.ts +5 -5
  31. package/dist/utils/index.d.mts +1 -1
  32. package/dist/utils/index.d.ts +1 -1
  33. package/package.json +1 -1
  34. package/dist/chunk-DY47LWPZ.mjs.map +0 -1
@@ -43,7 +43,7 @@ import {
43
43
  vendorStallSize,
44
44
  vendorStartDateFields,
45
45
  vendorTable
46
- } from "../chunk-DY47LWPZ.mjs";
46
+ } from "../chunk-XTTEX5XF.mjs";
47
47
  import "../chunk-WKBWAH6Y.mjs";
48
48
  import "../chunk-LDO4DRWY.mjs";
49
49
  export {
@@ -336,6 +336,7 @@ interface FormField {
336
336
  keyboardType?: "default" | "email-address" | "number-pad" | "url" | "decimal-pad" | "phone-pad";
337
337
  name: string;
338
338
  placeholder: string;
339
+ required?: boolean;
339
340
  secureTextEntry?: boolean;
340
341
  }
341
342
  interface FormDateField {
@@ -336,6 +336,7 @@ interface FormField {
336
336
  keyboardType?: "default" | "email-address" | "number-pad" | "url" | "decimal-pad" | "phone-pad";
337
337
  name: string;
338
338
  placeholder: string;
339
+ required?: boolean;
339
340
  secureTextEntry?: boolean;
340
341
  }
341
342
  interface FormDateField {
@@ -1,8 +1,8 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { EnumResourceType } from '../enums/index.mjs';
3
- import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-C4-l6iF9.mjs';
4
- import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-FOUmnU7B.mjs';
5
- import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-CUFjCn0p.mjs';
3
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-dxnqHVVc.mjs';
4
+ import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-D_ckWQMA.mjs';
5
+ import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-aU2ITfZh.mjs';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -1,8 +1,8 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { EnumResourceType } from '../enums/index.js';
3
- import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-DoZpH1Fu.js';
4
- import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-D7zAQcn2.js';
5
- import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-QiqjfkA6.js';
3
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CwSss-73.js';
4
+ import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-HUZHOXHh.js';
5
+ import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-DIylz7DM.js';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -989,13 +989,15 @@ var companyContactFields = [
989
989
  // src/formFields/auth.ts
990
990
  var loginFields = [
991
991
  {
992
- ...emailField
992
+ ...emailField,
993
+ required: true
993
994
  },
994
995
  {
995
996
  helperText: "Enter password",
996
997
  keyboardType: "default",
997
998
  name: "password",
998
999
  placeholder: "Password",
1000
+ required: true,
999
1001
  secureTextEntry: true
1000
1002
  }
1001
1003
  ];
@@ -1004,29 +1006,41 @@ var registerFields = [
1004
1006
  helperText: "Enter first name",
1005
1007
  keyboardType: "default",
1006
1008
  name: "firstName",
1007
- placeholder: "First Name"
1009
+ placeholder: "First Name",
1010
+ required: true
1008
1011
  },
1009
1012
  {
1010
1013
  helperText: "Enter last name",
1011
1014
  keyboardType: "default",
1012
1015
  name: "lastName",
1013
- placeholder: "Last Name"
1016
+ placeholder: "Last Name",
1017
+ required: true
1014
1018
  },
1015
1019
  {
1016
- ...emailField
1020
+ ...emailField,
1021
+ required: true
1017
1022
  },
1018
1023
  {
1019
1024
  helperText: "Enter password",
1020
1025
  keyboardType: "default",
1021
1026
  name: "password",
1022
1027
  placeholder: "Password",
1028
+ required: true,
1023
1029
  secureTextEntry: true
1030
+ },
1031
+ {
1032
+ helperText: "Promotional code (optional)",
1033
+ keyboardType: "default",
1034
+ name: "promoCode",
1035
+ placeholder: "Promotional Code",
1036
+ required: false
1024
1037
  }
1025
1038
  ];
1026
1039
  var requestPasswordResetFields = [
1027
1040
  {
1028
1041
  ...emailField,
1029
- helperText: "Enter email address to reset your password"
1042
+ helperText: "Enter email address to reset your password",
1043
+ required: true
1030
1044
  }
1031
1045
  ];
1032
1046
  var validateVerificationTokenFields = [
@@ -1039,7 +1053,8 @@ var validateVerificationTokenFields = [
1039
1053
  helperText: "Enter the Verification code sent to you by email",
1040
1054
  keyboardType: "number-pad",
1041
1055
  name: "verificationToken",
1042
- placeholder: "Verification code"
1056
+ placeholder: "Verification code",
1057
+ required: true
1043
1058
  }
1044
1059
  ];
1045
1060