@tap-payments/auth-jsconnect 1.0.11 → 1.0.16

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 (155) hide show
  1. package/build/assets/locales/ar.json +200 -88
  2. package/build/assets/locales/en.json +216 -90
  3. package/build/components/DatePicker/DatePicker.js +6 -17
  4. package/build/components/ExpandIcon/ExpandIcon.d.ts +7 -0
  5. package/build/components/ExpandIcon/ExpandIcon.js +24 -0
  6. package/build/components/ExpandIcon/index.d.ts +2 -0
  7. package/build/components/ExpandIcon/index.js +2 -0
  8. package/build/components/Footer/Footer.js +1 -1
  9. package/build/components/Loader/Loader.js +2 -2
  10. package/build/components/Warning/Warning.d.ts +1 -2
  11. package/build/components/Warning/Warning.js +1 -2
  12. package/build/constants/app.d.ts +1 -1
  13. package/build/constants/app.js +32 -8
  14. package/build/constants/dummy.js +3 -3
  15. package/build/features/bank/screens/BankDetails/BankName.js +1 -1
  16. package/build/features/bank/screens/BankDetails/Beneficiary.js +5 -5
  17. package/build/features/bank/screens/BankDetails/IBAN.js +3 -3
  18. package/build/features/bank/screens/BankDetails/validation.js +9 -4
  19. package/build/features/bank/screens/Success/Success.d.ts +5 -0
  20. package/build/features/bank/screens/Success/Success.js +14 -0
  21. package/build/features/bank/screens/Success/index.d.ts +3 -0
  22. package/build/features/bank/screens/Success/index.js +2 -0
  23. package/build/features/business/screens/Activities/ActivitiesList.d.ts +0 -16
  24. package/build/features/business/screens/Activities/ActivitiesList.js +3 -17
  25. package/build/features/business/screens/Activities/OperationStartDate.js +1 -1
  26. package/build/features/business/screens/Activities/SalesChannels.js +1 -1
  27. package/build/features/business/screens/Activities/validation.js +3 -3
  28. package/build/features/business/screens/BusinessType/CRNumber.js +2 -1
  29. package/build/features/business/screens/BusinessType/CompanyLicense.js +2 -2
  30. package/build/features/business/screens/BusinessType/FLNumber.js +2 -1
  31. package/build/features/business/screens/BusinessType/FreelanceLicense.js +2 -2
  32. package/build/features/business/screens/BusinessType/SelectType.js +1 -1
  33. package/build/features/business/screens/BusinessType/validation.js +2 -8
  34. package/build/features/business/screens/Confirm/Confirm.js +1 -1
  35. package/build/features/business/screens/Customers/CustomerLocations.d.ts +0 -24
  36. package/build/features/business/screens/Customers/CustomerLocations.js +3 -17
  37. package/build/features/business/screens/Customers/Customers.js +5 -41
  38. package/build/features/business/screens/Customers/ExpectedCustomers.js +7 -11
  39. package/build/features/business/screens/Customers/ExpectedSalesRange.js +7 -6
  40. package/build/features/business/screens/Customers/RefundPolicy.d.ts +0 -8
  41. package/build/features/business/screens/Customers/RefundPolicy.js +2 -10
  42. package/build/features/business/screens/Customers/TransactionPolicy.js +3 -2
  43. package/build/features/business/screens/Customers/validation.d.ts +6 -6
  44. package/build/features/business/screens/Customers/validation.js +10 -5
  45. package/build/features/business/screens/IDBOD/DOB.js +3 -11
  46. package/build/features/business/screens/IDBOD/ID.js +1 -1
  47. package/build/features/business/screens/IDBOD/validation.js +7 -2
  48. package/build/features/business/screens/OTP/OTP.js +18 -58
  49. package/build/features/business/screens/OTP/OTPInput.js +9 -21
  50. package/build/features/business/screens/OTP/validation.js +1 -1
  51. package/build/features/business/screens/Success/Success.js +1 -2
  52. package/build/features/business/screens/VerifyNumber/OTPInput.d.ts +1 -2
  53. package/build/features/business/screens/VerifyNumber/OTPInput.js +13 -42
  54. package/build/features/business/screens/VerifyNumber/VerifyNumber.js +20 -66
  55. package/build/features/business/screens/VerifyNumber/validation.js +1 -1
  56. package/build/features/connect/screens/Individual/Email.js +7 -1
  57. package/build/features/connect/screens/Individual/Individual.js +0 -28
  58. package/build/features/connect/screens/Individual/Name.js +9 -3
  59. package/build/features/connect/screens/Individual/validation.js +5 -2
  60. package/build/features/connect/screens/MID/BusinessCountry.d.ts +1 -0
  61. package/build/features/connect/screens/MID/BusinessCountry.js +2 -2
  62. package/build/features/connect/screens/MID/DOB.d.ts +6 -0
  63. package/build/features/connect/screens/MID/DOB.js +38 -0
  64. package/build/features/connect/screens/MID/IDNumber.js +3 -14
  65. package/build/features/connect/screens/MID/MID.js +13 -7
  66. package/build/features/connect/screens/MID/MobileNumber.d.ts +1 -0
  67. package/build/features/connect/screens/MID/MobileNumber.js +34 -10
  68. package/build/features/connect/screens/MID/validation.d.ts +1 -1
  69. package/build/features/connect/screens/MID/validation.js +9 -4
  70. package/build/features/connect/screens/Merchant/BrandName.js +3 -1
  71. package/build/features/connect/screens/Merchant/SocialMedia.js +7 -2
  72. package/build/features/connect/screens/Merchant/TAC.js +1 -1
  73. package/build/features/connect/screens/Merchant/validation.d.ts +9 -9
  74. package/build/features/connect/screens/Merchant/validation.js +42 -11
  75. package/build/features/connect/screens/OTP/OTP.js +4 -3
  76. package/build/features/connect/screens/OTP/OTPInput.js +2 -1
  77. package/build/features/connect/screens/OTP/validation.js +1 -1
  78. package/build/features/connect/screens/Password/PasswordInput.js +2 -1
  79. package/build/features/connect/screens/Password/validation.js +1 -1
  80. package/build/features/connect/screens/ThankYou/ThankYou.js +1 -2
  81. package/build/features/featuresScreens.d.ts +1 -1
  82. package/build/features/featuresScreens.js +27 -7
  83. package/build/features/individual/Individual.d.ts +6 -0
  84. package/build/features/individual/Individual.js +50 -0
  85. package/build/features/individual/index.d.ts +1 -0
  86. package/build/features/individual/index.js +1 -0
  87. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +8 -0
  88. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +81 -0
  89. package/build/features/individual/screens/AdditionalIndividualInfo/EmployerLocation.d.ts +10 -0
  90. package/build/features/individual/screens/AdditionalIndividualInfo/EmployerLocation.js +81 -0
  91. package/build/features/individual/screens/AdditionalIndividualInfo/EmployerName.d.ts +6 -0
  92. package/build/features/individual/screens/AdditionalIndividualInfo/EmployerName.js +40 -0
  93. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +6 -0
  94. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +45 -0
  95. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +6 -0
  96. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +36 -0
  97. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +6 -0
  98. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +45 -0
  99. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +9 -0
  100. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +87 -0
  101. package/build/features/individual/screens/AdditionalIndividualInfo/index.d.ts +3 -0
  102. package/build/features/individual/screens/AdditionalIndividualInfo/index.js +2 -0
  103. package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +25 -0
  104. package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +35 -0
  105. package/build/features/individual/screens/ShowIndividualInfo/ShowOwnerInfo.d.ts +19 -0
  106. package/build/features/individual/screens/ShowIndividualInfo/ShowOwnerInfo.js +52 -0
  107. package/build/features/individual/screens/ShowIndividualInfo/index.d.ts +3 -0
  108. package/build/features/individual/screens/ShowIndividualInfo/index.js +2 -0
  109. package/build/features/individual/screens/ShowIndividualInfo/info.d.ts +7 -0
  110. package/build/features/individual/screens/ShowIndividualInfo/info.js +28 -0
  111. package/build/features/individual/screens/Success/Success.d.ts +5 -0
  112. package/build/features/individual/screens/Success/Success.js +14 -0
  113. package/build/features/individual/screens/Success/index.d.ts +3 -0
  114. package/build/features/individual/screens/Success/index.js +2 -0
  115. package/build/features/owner/screens/AdditionalOwnerInfo/AdditionalOwnerInfo.js +1 -1
  116. package/build/features/owner/screens/AdditionalOwnerInfo/EmployerLocation.js +1 -1
  117. package/build/features/owner/screens/AdditionalOwnerInfo/EmployerName.js +7 -2
  118. package/build/features/owner/screens/AdditionalOwnerInfo/InfluencerSwitch.js +1 -1
  119. package/build/features/owner/screens/AdditionalOwnerInfo/MonthlyIncome.js +1 -1
  120. package/build/features/owner/screens/AdditionalOwnerInfo/PEPSwitch.js +1 -1
  121. package/build/features/owner/screens/AdditionalOwnerInfo/SourceOfIncome.js +1 -1
  122. package/build/features/owner/screens/AdditionalOwnerInfo/validation.js +6 -3
  123. package/build/features/owner/screens/ShowOwnerInfo/ShowOwnerInfo.js +1 -1
  124. package/build/features/owner/screens/Success/Success.d.ts +5 -0
  125. package/build/features/owner/screens/Success/Success.js +14 -0
  126. package/build/features/owner/screens/Success/index.d.ts +3 -0
  127. package/build/features/owner/screens/Success/index.js +2 -0
  128. package/build/features/password/Password.js +2 -2
  129. package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +4 -1
  130. package/build/features/password/screens/CreatePassword/ConfirmPassword.js +3 -8
  131. package/build/features/password/screens/CreatePassword/Password.js +2 -1
  132. package/build/features/password/screens/CreatePassword/validation.js +3 -3
  133. package/build/features/password/screens/Success/Success.d.ts +5 -0
  134. package/build/features/password/screens/Success/Success.js +14 -0
  135. package/build/features/password/screens/Success/index.d.ts +3 -0
  136. package/build/features/password/screens/Success/index.js +2 -0
  137. package/build/features/shared/Button/Button.js +7 -1
  138. package/build/features/shared/Footer/Footer.js +1 -1
  139. package/build/features/shared/SuccessScreen/SuccessScreen.js +10 -1
  140. package/build/features/tax/screens/Success/Success.d.ts +5 -0
  141. package/build/features/tax/screens/Success/Success.js +14 -0
  142. package/build/features/tax/screens/Success/index.d.ts +3 -0
  143. package/build/features/tax/screens/Success/index.js +2 -0
  144. package/build/features/tax/screens/TaxDetails/VATId.js +3 -4
  145. package/build/features/tax/screens/TaxDetails/validation.js +1 -1
  146. package/build/index.css +105 -3
  147. package/build/index.d.ts +3 -3
  148. package/build/index.js +4 -4
  149. package/build/theme/typography.js +2 -2
  150. package/build/utils/string.js +2 -2
  151. package/package.json +120 -120
  152. package/build/features/business/screens/OTP/OTPTimer.d.ts +0 -5
  153. package/build/features/business/screens/OTP/OTPTimer.js +0 -20
  154. package/build/features/business/screens/VerifyNumber/OTPTimer.d.ts +0 -5
  155. package/build/features/business/screens/VerifyNumber/OTPTimer.js +0 -20
@@ -1,98 +1,224 @@
1
1
  {
2
- "language": "english",
3
- "locale": "en",
4
- "follow_us": "Follow us",
5
- "switch_language_label": "العربية",
6
- "business_country_label": "Business Country",
7
- "business_country_placeholder": "Select Business Country",
8
- "id_number_label": "ID number",
9
- "id_number_label_error": "May you please verify the entered identification number.",
10
- "switch_to_mobile": "Switch to mobile number",
11
- "mobile_id_title": "Welcome to Tap Payments",
12
- "mobile_id_description": "Help us to get your information to start collecting online payments",
13
- "mobile_number_label": "Mobile Number",
14
- "mobile_number_error": "May you please verify the entered mobile.",
15
- "switch_to_id": "Switch to ID number",
16
- "date_of_birth": "Date of Birth",
17
- "otp_sent_title": "OTP has been sent to ",
18
- "signup_merchant_name_label": "Full Name",
19
- "signup_enter_email": "Enter Email",
20
- "signin_email_placeholder": "Your E-mail",
21
- "brand_name_label": "Brand Name",
22
- "brand_name_description": "Please enter brand name for your business. The brand name will appear for your customers. (Note - brand names might be taken sometime, therefore please provide a brand name that is legally registered under your business",
23
- "brand_name_placeholder": "Brand Name",
24
- "resend_otp": "Resend OTP",
25
- "website_placeholder": "www.business.com",
26
- "twitter_placeholder": "business",
27
- "instagram_placeholder": "business",
28
- "next": "Next",
29
- "email_not_valid": "Please enter a valid email",
30
- "name_not_valid": "Please enter a valid name",
31
- "read_agree_terms_and_conditions_message": "I have read and agreed to the",
32
- "terms_and_conditions_link_title": " terms and conditions",
33
- "thankyou_message": "Thank you for your interest in Tap. we will contact you shortly.",
34
- "select_customer_locations": "Customer Base",
35
- "password_label": "Password",
36
- "password_placeholder": "Your Password",
37
- "password_is_required": "Password is required",
38
- "expected_customers_to_serve": "Expected Customers to be Serviced Monthly",
39
- "select_your_business_type": "Select Your Business Type",
40
- "freelancer_reg": "Freelancer",
41
- "commercial_reg": "Commercial Entity",
42
- "opt_nid_sent_title": "Please enter OTP sent from Absher to ID Number: ",
43
- "expected_sales_range": "Choose expected sales yearly",
44
- "service_otp_send_title": "OTP has been sent to",
45
- "agree_on_refund_policy": "I have agree to the ",
46
- "refund_policy_compliance": "Refund Policy Compliance",
47
- "agree_on_transaction_policy": "I have agree to the ",
48
- "transaction_policy": "Transaction Dispute Policy",
49
- "fl_number_label": "Freelance Registration",
50
- "cr_number_label": "Commercial Registration",
51
- "freelance_license_label": "Freelance License",
52
- "freelance_license_placeholder": "Choose License",
53
- "company_license_label": "Commercial Registration",
54
- "company_license_placeholder": "Choose License",
2
+ "language": "العربية",
3
+ "(citizeninfo) dateofbirth does not match nic records": "May you please verify the entered date of birth.",
4
+ "Api key is unauthorized to perform the operation": "Sorry, something went wrong. please try again later.",
5
+ "CR Not Found": "May you please verify the entered commercial registration.",
6
+ "Freelance License Not Found": "May you please verify the entered freelancer registration.",
7
+ "Internal server error": "You are experiencing some service interruption. Please give it a try another time.",
8
+ "Invalid National Id or Date of Birth": "Please verify the entered information.",
9
+ "Invalid OTP": "Please enter a valid One Time Passcode (OTP).",
10
+ "Invalid OTP, please try again": "Please enter a valid One Time Passcode (OTP).",
11
+ "Invalid Password": "Please verify the entered information.",
12
+ "Invalid lead_id": "You have to start from the first page",
13
+ "Invalid otp in data_token": "Please enter a valid One Time Passcode (OTP).",
14
+ "Profile Name Required": "May you please enter a brand name for your business.",
15
+ "Profile Name already exists": "The brand name you have entered is taken. May you please provide an alternate brand name.",
16
+ "Profile Name is invalid": "May you please verify the entered brand name.",
55
17
  "activities": "Business activities",
56
- "activities_selected": "Activities selected",
57
- "category": "category",
58
- "channel_of_service_label": "What are your sales channels?",
59
- "channel_of_service_error": "Please select at least a channel.",
60
- "operation_start_date": "When did you start your business?",
61
- "vat_id_label": "Tax Identification Number (TIN)",
62
- "success_message": "Your account has been created successfully! ",
63
- "iban": "Please Enter the IBAN",
64
- "iban_error": "Please Enter valid IBAN",
65
- "beneficiary_name_label": "Beneficiary Name",
66
- "beneficiary_name_placeholder": "Beneficiary Name",
67
- "beneficiary_error": "Beneficiary name should be at least three names",
68
- "other": "Other",
18
+ "activities_selected": "Business activities selected",
19
+ "actual_income_hint": "Lorem ipsum dolor sit amet, consetetur",
20
+ "agree_on_chargeback_policy": "I agree to the ",
21
+ "agree_on_refund_policy": "I agree to the ",
22
+ "alert_beneficiary_name": "May you please verify the entered beneficiary name.",
23
+ "alert_iban": "May you please verify the entered IBAN.",
24
+ "alert_vat": "May you please verify the entered tax identification number (TIN) for VAT purposes. (Note - the TIN constitutes of 15 digits).",
25
+ "app": "App",
26
+ "bank_statement_first_page": "Bank statement",
27
+ "beneficiary_name": "Beneficiary name",
28
+ "beneficiary_name_placeholder": "Beneficiary name",
29
+ "birthdate": "Date of birth",
30
+ "brand_name_hint": "Please enter a brand name for you business. The brand will appear for your customers. (Note - brand names might be taken sometime, therefore please provide a brand name that is legally registered under your business)",
31
+ "business_start_date": "When did you start your business?",
32
+ "category": "Category",
33
+ "category_name": "Category name",
34
+ "channel_of_service": "What are your sales channels?",
35
+ "chargeback_policy": "Transaction dispute policy",
36
+ "check_terms_cond": "Please accept the terms and conditions",
37
+ "choose_activities": "Business Activities",
38
+ "choose_activity": "- Please select -",
39
+ "choose_any_business_date": "Please select a date",
40
+ "choose_any_source_of_income": "- Please select -",
41
+ "choose_atleast_one_activity": "- Please select -",
42
+ "choose_atleast_one_channel": "Please select at least a channel.",
43
+ "choose_channel": "- Please select -",
44
+ "choose_customer_base": "- Please select -",
45
+ "choose_employee_location": "- Please select -",
46
+ "choose_expected_sales": "- Please select -",
47
+ "choose_expected_sales_yearly": "- Please select -",
48
+ "choose_license": "- Please select -",
49
+ "choose_license_cr": "- Please select -",
50
+ "choose_license_fl": "- Please select -",
69
51
  "citizenship": "Citizenship",
70
- "national_address": "National Address",
71
- "birth_date": "Birth Date",
72
- "place_of_birth": "Place Of Birth",
73
- "marital_status": "Marital Status",
74
- "confirm_business_cr_label": "Commercial Registration ",
75
- "confirm_business_fl_label": "Freelance Registration",
76
- "confirm_legal_name_label": "Legal Name",
77
- "confirm_brand_name_label": "Brand Name",
78
- "confirm_password_placeholder": "Confirm Password",
79
- "new_password_label": "Password",
80
- "new_password_placeholder": "Your Password",
52
+ "commercial_reg": "Comercial entity",
53
+ "commercial_registration": "Commercial registration",
54
+ "create_new_business": "Create a new business",
55
+ "drag_and_drop": "Drag and drop or",
56
+ "edit": "Edit",
57
+ "email_activation_description": "Thank you for choosing Tap Payments. Your email address has been confirmed successfully!",
58
+ "email_confirmed": "Email confirmed",
59
+ "email_not_valid": "May you please verify the entered email address.",
60
+ "enter_at_least_one": "May you please enter at least one social media",
61
+ "enter_bank_name": "Bank name",
62
+ "enter_bank_name_placeholder": "- Please select -",
63
+ "enter_birth_date": "Date of Birth",
64
+ "enter_brand_name_english_chars_only": "Please write English letters only. with no spaces",
65
+ "enter_commercial_register_no": "Commercial registration",
66
+ "enter_freelance_license": "Freelance registration",
67
+ "enter_iban": "Please enter the IBAN",
68
+ "enter_iban_placeholder": "SA44#################0",
69
+ "enter_iqama_id": "Identification number",
70
+ "enter_license_no": "Freelance registration",
71
+ "enter_national_id": "Identification number",
72
+ "enter_served_monthly": "How many customers do you expect to have per month?",
73
+ "enter_strong_password": "Please enter strong password.",
74
+ "enter_valid_birth_date": "Please enter a valid birth date.",
75
+ "enter_valid_brand_name": "Please enter a valid brand name.",
76
+ "enter_valid_customer_no": "Please enter a valid customer number.",
77
+ "enter_valid_license": "May you please verify the entered license number.",
78
+ "enter_valid_mobile_number": "May you please verify the entered mobile number. (Note - Mobile numbers consist of {{length}} digits)",
79
+ "expected_customers_to_serve": "How many customers does your business serve monthly?",
80
+ "expected_sales_yearly": "What is the expected sales for your business annually?",
81
+ "expected_served_monthly": "How many customers does your business serve monthly?",
82
+ "expiry_date": "Date of expiry",
83
+ "file_upload_failed": "You are experiencing some challenges uploading the file. Please give it another try.",
84
+ "follow_us": "Follow us",
85
+ "freelance": "Freelance registration",
86
+ "freelancer_reg": "Freelancer",
87
+ "goto_dashboard": "Dashboard",
88
+ "goto_dashboard_button_label": "Enter the dashboard",
89
+ "have_physical_store": "Do you have a physical store?",
90
+ "ide_not_valid_url": "May you please verify the entered website address.",
91
+ "ide_opt_sent_title": "A One Time Passcode (OTP) has been be sent to mobile number",
92
+ "ide_otp_resend_label": "Resend OTP",
93
+ "ide_otp_waiting_title": "Please be patient as we are processing... ",
94
+ "ide_registered_mobile_status_message": "Registered mobile ",
95
+ "ide_submit_button_confirm_label": "Confirm",
96
+ "ide_submit_button_next_label": "Next",
97
+ "ide_successfully_updated_message": "Your account has been updated successfully",
98
+ "ide_successfully_verified_message": "Your account has been created successfully!",
99
+ "ide_terms_and_conditions_description": " ",
100
+ "identity_type": "Type of identity",
101
+ "invalid_token": "Please be patient... You are experiencing some challenges with your connection.",
102
+ "invalid_url": "May you please verify the entered website address.",
103
+ "issue_date": "Date of issuance",
104
+ "join_our_community": "",
105
+ "kyc_verification": "Know Your Customer (KYC)",
106
+ "loading": "Loading...",
107
+ "marital_status": "Marital status",
108
+ "national_address": "Billing address",
109
+ "no": "No",
110
+ "no login credentials available": "May you please verify the entered email address. (Note - Please make sure to enter an email address associated with Tap)",
111
+ "notify_strong_password": "Awesome! You have a secure password.",
112
+ "notify_user_has_account": "Your mobile number is registered in Tap. Please login to create new business. ",
113
+ "opt_nid_sent_title": "Please enter the One Time Passcode (OTP) sent via Absher to the mobile number registered under your Saudi National ID",
114
+ "otp_provider": "Absher",
115
+ "our_community_description": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.",
81
116
  "password_length": "Needs to be more than 8 characters.",
82
- "password_upper": "Includes at least 1 uppercase character.",
83
117
  "password_lower": "Includes at least 1 lowercase character.",
118
+ "password_not_match": "The password you have entered does not match.",
84
119
  "password_special": "Includes at least 1 special character. (!@#%)",
85
- "notify_strong_password": "Awesome! You have a secure password.",
86
- "bank_name_label": "Bank Name",
120
+ "password_upper": "Includes at least 1 uppercase character.",
121
+ "physical_store": "Physical store",
122
+ "place_of_birth": "Place of birth",
123
+ "please write your first and last name": "May you please verify the entered name in full. (Note - Your full name consists of your first and last name)",
124
+ "please_agree_on_recharge": "Please agree on dispute policy ",
125
+ "please_agree_on_refund": "Please agree on refund policy",
126
+ "please_choose_are_you_influncer": "Are you an influencer",
127
+ "please_choose_base": "- Please select - ",
128
+ "please_choose_employer_location": "What is the location of your employer?",
129
+ "please_choose_relative_pep": "Are you or one of your relatives a Publicly Exposed Person (PEP)",
130
+ "please_enter_actual_income": "What is your monthly income?",
131
+ "please_enter_employer_name": "Please enter the name of your employer",
132
+ "read_agree_terms_and_conditions_message": "I have read and agreed to the ",
133
+ "refund_policy_compliance": "Refund policy compliance",
134
+ "select_bank": "Bank",
135
+ "select_cr_license": "- Please select -",
136
+ "select_customer_base": "What are the locations of your customers?",
137
+ "select_expected_sales": "- Please select - ",
138
+ "signin_email_label": "Email address",
139
+ "signin_email_mobile_label": "Email/Mobile",
140
+ "signin_email_mobile_placeholder": "Enter email or mobile",
141
+ "signin_email_placeholder": "Your email address",
142
+ "signup_Select_country": "Select your country",
143
+ "signup_beneficiary_name_length_error": "There is a problem because beneficiary Name length.",
144
+ "signup_brand_name_label": "Brand name",
145
+ "signup_brand_name_placeholder": "Brand name ",
146
+ "signup_business_cr_info_title": "Commercial registration",
147
+ "signup_business_fl_info_title": "Freelance registration",
148
+ "signup_business_type_label": "Select your type of business",
149
+ "signup_email_lable": "Email address",
150
+ "signup_email_placeholder": "Your Email address",
151
+ "signup_enter_mobile": "Your mobile number",
152
+ "signup_generic_error": "Something went wrong! Please try again later.",
153
+ "signup_instagram_placeholder": "mybusiness",
154
+ "signup_invalid_iqama_id_format": "May you please verify the entered identification number. (Note - Saudi Iqama's start with {{number}})",
155
+ "signup_invalid_national_id": "May you please verify the entered identification number",
156
+ "signup_invalid_national_id_format": "May you please verify the entered identification number. (Note - Saudi national IDs start with {{number}})",
157
+ "signup_legal_name_label": "Legal name",
158
+ "signup_merchant_name_label": "Full name",
159
+ "signup_merchant_name_placeholder": "Full name",
160
+ "signup_select_country": "Your country of business",
161
+ "signup_twitter_placeholder": "mybusiness",
162
+ "signup_user_not_exists_error": "May you please verify the entered user.",
163
+ "signup_website_placeholder": "www.mybusiness.com",
164
+ "signup_welcoming": "Hello {{username}},",
165
+ "signup_welcoming_hi": "Hello,",
166
+ "start_with_number": "May you please verify the entered mobile. (Note - mobile numbers start with {{number}})",
167
+ "step_required_by_rayah": "This step is required in order to initiate a verification with Yaqeen.",
168
+ "sucess_message_for_non_saudi": "Thank you for your interest in Tap Payments, we shall be contacting you shortly.",
169
+ "tap_js_actual_income": "What is your monthly income? ",
170
+ "tap_js_are_you_an_influencer": "Are you a person who is considered an influencer?",
171
+ "tap_js_are_you_interesting_signup": "You may go to the Dashboard to manage your business, or you may create new business account.",
172
+ "tap_js_cancel_button_label": "Cancel",
173
+ "tap_js_confirm_password_description": "Confirm password",
174
+ "tap_js_email_already_exist": "The email you have entered is associated with an existing account. (Note - Email addresses are uniquely linked to a single Tap account. You may enter another email address or sign in using the email address you have entered in order to continue using the same email for this business)",
175
+ "tap_js_employer_address_city": "What is the location of your employer?",
176
+ "tap_js_employer_name": "Employer name",
177
+ "tap_js_enter_actual_income": "0",
178
+ "tap_js_enter_employer_address": "Enter the location of your employer",
179
+ "tap_js_enter_employer_name": "Name",
180
+ "tap_js_enter_title": "Enter a title",
181
+ "tap_js_go_back_button_label": "Back",
182
+ "tap_js_is_close_relative_in_pep": "Are you or any of your relatives politically exposed persons?",
183
+ "tap_js_no_button_label": "No",
184
+ "tap_js_password_description": "Password",
185
+ "tap_js_password_placeholder": "Your password",
186
+ "tap_js_password_should_match": "May you please verify the entered passwords. (Note - Both passwords must match)",
187
+ "tap_js_select_a_source_income": "What is the source for your income?",
188
+ "tap_js_select_a_title": "Select a title",
189
+ "tap_js_signin_button_label": "Signin",
190
+ "tap_js_source_of_income": "Source of income",
191
+ "terms_and_conditions_link_title": "terms and conditions",
192
+ "the nin format is not valid": "May you please verify the entered identification number.",
193
+ "upload_bank_statement": "Please upload the bank statement",
194
+ "upload_file": "Select a file from your computer",
195
+ "vat_id": "Tax Identification Number (TIN)",
196
+ "verification_brand_name": "Brand name",
197
+ "verification_category": "Category",
198
+ "verification_completed_message": "Verification completed",
199
+ "verification_invalid_token": "You are experiencing some challenges with your connection.",
200
+ "verification_invalid_token_description": "May you please verify link of which you are trying to open.",
201
+ "verification_merchant_name": "Full name",
202
+ "verification_name": "Name",
203
+ "verification_status": "Status",
204
+ "verification_status_cancelled": "Cancelled",
205
+ "website": "Website address",
87
206
  "yes": "Yes",
88
- "no": "No",
89
- "is_close_relative_in_pep_label": "Are You Or Any Of Your Relatives Politically Exposed Persons?",
90
- "are_you_an_influencer": "Are You A Person Who Is Considered An Influencer?",
91
- "monthly_income_label": "What Is Your Monthly Income?",
92
- "employer_name_label": "Employer Name",
93
- "employer_name_placeholder": "Name",
94
- "employer_location_label": "What Is The Location Of Your Employer?",
95
- "employer_location_placeholder": "- Please select -",
96
- "source_of_income_label": "Source Of Income",
97
- "source_of_income_placeholder": "What is the source for your income?"
207
+ "switch_to_mobile": "Switch to mobile number",
208
+ "switch_to_id": "Switch to ID number",
209
+ "enter_valid_password": "Please enter password with minimum {{length}} characters",
210
+ "password_required": "Password id required",
211
+ "enter_brand_name_english_chars_numbers_space": "Please write English letters and numbers only. with spaces",
212
+ "beneficiary_name_required": "Beneficiary name is required",
213
+ "bank_name_required": "Bank name is required",
214
+ "invalid_iban_format": "Please enter valid iban number",
215
+ "beneficiary_name_invalid": "Please enter first name and last name with space",
216
+ "select_expected_customers_serve": "- Please select - ",
217
+ "otp_required": "OTP is required",
218
+ "otp_min_length": "Please enter 6 digits number",
219
+ "employer_name_invalid": "Please enter first name and last name with space",
220
+ "cr_required": "CR number is required",
221
+ "cr_max_length": "CR number length should be {{length}}",
222
+ "fl_required": "Freelance number is required",
223
+ "fl_max_length": "Freelance number length should be {{length}}"
98
224
  }
@@ -28,24 +28,15 @@ import Box from '@mui/material/Box';
28
28
  import { styled } from '@mui/material/styles';
29
29
  import Divider from '@mui/material/Divider';
30
30
  import Collapse from '../Collapse';
31
+ import ExpandIcon from '../ExpandIcon';
31
32
  import CalendarTodayOutlined from '@mui/icons-material/CalendarTodayOutlined';
32
- import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
33
- import ExpandLessIcon from '@mui/icons-material/ExpandLess';
34
33
  import { scrollDown, scrollUp } from '../../utils';
35
34
  import Input from '../Input';
36
35
  import Text from '../Text';
37
36
  import './customStyle.css';
38
37
  var ContainerIcon = styled(CalendarTodayOutlined)(function (_a) {
39
38
  var theme = _a.theme;
40
- return (__assign(__assign({ paddingInlineStart: theme.spacing(2.5) }, theme.typography.h6), { cursor: 'pointer' }));
41
- });
42
- var ExpandMore = styled(ExpandMoreIcon)(function (_a) {
43
- var theme = _a.theme;
44
- return (__assign(__assign({ paddingInlineEnd: theme.spacing(2) }, theme.typography.h6), { display: 'flex' }));
45
- });
46
- var ExpandLess = styled(ExpandLessIcon)(function (_a) {
47
- var theme = _a.theme;
48
- return (__assign(__assign({ paddingInlineEnd: theme.spacing(2) }, theme.typography.h6), { display: 'flex' }));
39
+ return (__assign(__assign({ marginInlineStart: theme.spacing(2.5) }, theme.typography.h6), { cursor: 'pointer', width: theme.spacing(2.5), height: theme.spacing(2.5) }));
49
40
  });
50
41
  var Container = styled(Box, { shouldForwardProp: function (prop) { return prop !== 'disabled'; } })(function (_a) {
51
42
  var theme = _a.theme, disabled = _a.disabled;
@@ -65,9 +56,10 @@ var InputFieldStyled = styled(Input)(function (_a) {
65
56
  });
66
57
  });
67
58
  var ArrowIcon = styled(Text, { shouldForwardProp: function (prop) { return prop !== 'disabled'; } })(function (_a) {
68
- var disabled = _a.disabled;
59
+ var theme = _a.theme, disabled = _a.disabled;
69
60
  return ({
70
- cursor: disabled ? 'auto' : 'pointer'
61
+ cursor: disabled ? 'auto' : 'pointer',
62
+ marginInlineEnd: theme.spacing(2.5)
71
63
  });
72
64
  });
73
65
  var DatePicker = function (_a) {
@@ -79,9 +71,6 @@ var DatePicker = function (_a) {
79
71
  setDate(defaultValue);
80
72
  }, [defaultValue]);
81
73
  var calenderIcon = _jsx(ContainerIcon, {});
82
- var expandMoreIcon = _jsx(ExpandMore, {});
83
- var expandLessIcon = _jsx(ExpandLess, {});
84
- var arrowIcon = anchor ? expandLessIcon : expandMoreIcon;
85
74
  var defaultMax = new Date();
86
75
  var defaultMin = new Date('1900-01-01');
87
76
  var toggleCalender = function (event) {
@@ -104,7 +93,7 @@ var DatePicker = function (_a) {
104
93
  setAnchor(null);
105
94
  onDatePicked === null || onDatePicked === void 0 ? void 0 : onDatePicked();
106
95
  };
107
- return (_jsxs(Container, __assign({ disabled: disabled, id: 'container-calendar' }, { children: [_jsx(InputFieldStyled, { endAdornment: _jsx(ArrowIcon, __assign({ disabled: disabled }, { children: disabled ? '' : arrowIcon })), value: date ? formattedDate(date) : '', placeholder: 'YYYY-MM-DD', onClick: function (e) {
96
+ return (_jsxs(Container, __assign({ disabled: disabled, id: 'container-calendar' }, { children: [_jsx(InputFieldStyled, { endAdornment: _jsx(ArrowIcon, __assign({ disabled: disabled }, { children: disabled ? '' : _jsx(ExpandIcon, { anchorEl: !!anchor }) })), value: date ? formattedDate(date) : '', placeholder: 'YYYY-MM-DD', onClick: function (e) {
108
97
  if (!disabled)
109
98
  toggleCalender(e);
110
99
  }, startAdornment: calenderIcon, disabled: !disabled, readOnly: readOnly, dir: dir }), _jsxs(Collapse, __assign({ in: !!anchor }, { children: [_jsx(Calendar, __assign({}, rest, { value: date, calendarType: 'Hebrew', onChange: handleOnDateChange, locale: rest.locale, maxDate: rest.maxDate || defaultMax, minDate: rest.minDate || defaultMin })), _jsx(Divider, {})] }))] })));
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ interface ExpandIconProps {
3
+ anchorEl?: boolean;
4
+ onClick?: () => void;
5
+ }
6
+ export default function CustomExpandIcon(props: ExpandIconProps): JSX.Element;
7
+ export {};
@@ -0,0 +1,24 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { styled } from '@mui/material/styles';
14
+ import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
15
+ var ExpandIcon = styled(ExpandMoreIcon, { shouldForwardProp: function (prop) { return prop !== 'anchorEl'; } })(function (_a) {
16
+ var _b;
17
+ var theme = _a.theme, anchorEl = _a.anchorEl;
18
+ return (__assign(__assign({}, theme.typography.h6), (_b = { display: 'flex', cursor: 'pointer', width: theme.spacing(2.25), height: theme.spacing(2.25), transform: !!anchorEl ? 'rotate(180deg)' : '' }, _b[theme.transitions.create(['transform'])] = {
19
+ duration: theme.transitions.duration.standard
20
+ }, _b)));
21
+ });
22
+ export default function CustomExpandIcon(props) {
23
+ return _jsx(ExpandIcon, __assign({}, props));
24
+ }
@@ -0,0 +1,2 @@
1
+ import ExpandIcon from './ExpandIcon';
2
+ export default ExpandIcon;
@@ -0,0 +1,2 @@
1
+ import ExpandIcon from './ExpandIcon';
2
+ export default ExpandIcon;
@@ -34,7 +34,7 @@ import Box from '@mui/material/Box';
34
34
  import { SOCIAL_MEDIA_LINKS } from '../../constants/dummy';
35
35
  var FooterStyled = styled(Box)(function (_a) {
36
36
  var theme = _a.theme;
37
- return (__assign(__assign({ direction: theme.direction, display: 'flex', margin: theme.spacing(1.5), color: theme.palette.background.paper }, theme.typography.caption), { alignItems: 'center', justifyContent: 'center', position: 'relative', bottom: 0, marginBottom: theme.spacing(-3.75) }));
37
+ return (__assign(__assign({ direction: 'ltr', display: 'flex', margin: theme.spacing(1.5), color: theme.palette.background.paper }, theme.typography.caption), { alignItems: 'center', justifyContent: 'center', position: 'relative', bottom: 0, marginBottom: theme.spacing(-3.75) }));
38
38
  });
39
39
  var FollowUsStyled = styled(Text)(function (_a) {
40
40
  var theme = _a.theme;
@@ -20,8 +20,8 @@ var RootStyled = styled('div')(function () { return ({
20
20
  },
21
21
  position: 'relative',
22
22
  margin: '0px auto',
23
- width: '40px',
24
- height: '40px'
23
+ width: '38px',
24
+ height: '38px'
25
25
  }); });
26
26
  var LoaderBoxStyled = styled('svg')(function (_a) {
27
27
  var size = _a.size;
@@ -1,14 +1,13 @@
1
1
  import * as React from 'react';
2
2
  import { BoxProps } from '@mui/material/Box';
3
3
  export interface WarningProps extends BoxProps {
4
- children?: string;
4
+ children: string | undefined;
5
5
  warningType?: 'alert' | 'error';
6
6
  }
7
7
  declare const _default: React.MemoExoticComponent<{
8
8
  ({ children, warningType, ...rest }: WarningProps): JSX.Element;
9
9
  defaultProps: {
10
10
  warningType: string;
11
- children: string;
12
11
  };
13
12
  }>;
14
13
  export default _default;
@@ -37,7 +37,6 @@ var WarningComponent = function (_a) {
37
37
  return warningType === 'alert' ? (_jsx(AlertStyled, __assign({}, rest, { children: children }))) : (_jsx(ErrorStyled, __assign({}, rest, { children: children })));
38
38
  };
39
39
  WarningComponent.defaultProps = {
40
- warningType: 'error',
41
- children: 'default warning message'
40
+ warningType: 'error'
42
41
  };
43
42
  export default React.memo(WarningComponent);
@@ -13,7 +13,7 @@ export declare const EXTERNAL_LINKS: {
13
13
  };
14
14
  export declare const CONNECT_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
15
15
  export declare const BUSINESS_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
16
- export declare const OWNER_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
16
+ export declare const INDIVIDUAL_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
17
17
  export declare const PASSWORD_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
18
18
  export declare const BANK_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
19
19
  export declare const TAX_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
@@ -98,41 +98,65 @@ export var BUSINESS_SCREENS_NAVIGATION = [
98
98
  order: 6
99
99
  }
100
100
  ];
101
- export var OWNER_SCREENS_NAVIGATION = [
101
+ export var INDIVIDUAL_SCREENS_NAVIGATION = [
102
102
  {
103
- name: 'OWNER_SHOW_OWNER_INFO_STEP',
104
- next: 'OWNER_ADDITIONAL_OWNER_INFO_STEP',
103
+ name: 'INDIVIDUAL_SHOW_INDIVIDUAL_INFO_STEP',
104
+ next: 'INDIVIDUAL_ADDITIONAL_INDIVIDUAL_INFO_STEP',
105
105
  prev: '',
106
106
  order: 1
107
107
  },
108
108
  {
109
- name: 'OWNER_ADDITIONAL_OWNER_INFO_STEP',
109
+ name: 'INDIVIDUAL_ADDITIONAL_INDIVIDUAL_INFO_STEP',
110
+ next: 'INDIVIDUAL_SUCCESS_STEP',
111
+ prev: 'INDIVIDUAL_SHOW_INDIVIDUAL_INFO_STEP',
112
+ order: 2
113
+ },
114
+ {
115
+ name: 'INDIVIDUAL_SUCCESS_STEP',
110
116
  next: '',
111
- prev: 'OWNER_SHOW_OWNER_INFO_STEP',
117
+ prev: 'INDIVIDUAL_ADDITIONAL_INDIVIDUAL_INFO_STEP',
112
118
  order: 2
113
119
  }
114
120
  ];
115
121
  export var PASSWORD_SCREENS_NAVIGATION = [
116
122
  {
117
123
  name: 'PASSWORD_CREATE_PASSWORD_STEP',
118
- next: '',
124
+ next: 'PASSWORD_SUCCESS_STEP',
119
125
  prev: '',
120
126
  order: 1
127
+ },
128
+ {
129
+ name: 'PASSWORD_SUCCESS_STEP',
130
+ next: '',
131
+ prev: 'PASSWORD_CREATE_PASSWORD_STEP',
132
+ order: 2
121
133
  }
122
134
  ];
123
135
  export var BANK_SCREENS_NAVIGATION = [
124
136
  {
125
137
  name: 'BANK_BANK_DETAILS_STEP',
126
- next: '',
138
+ next: 'BANK_DETAILS_SUCCESS_STEP',
127
139
  prev: '',
128
140
  order: 1
141
+ },
142
+ {
143
+ name: 'BANK_DETAILS_SUCCESS_STEP',
144
+ next: '',
145
+ prev: 'BANK_BANK_DETAILS_STEP',
146
+ order: 2
129
147
  }
130
148
  ];
131
149
  export var TAX_SCREENS_NAVIGATION = [
132
150
  {
133
151
  name: 'TAX_TAX_DETAILS_STEP',
134
- next: '',
152
+ next: 'TAX_DETAILS_SUCCESS_STEP',
135
153
  prev: '',
136
154
  order: 1
155
+ },
156
+ {
157
+ name: 'TAX_DETAILS_SUCCESS_STEP',
158
+ next: '',
159
+ prev: 'TAX_TAX_DETAILS_STEP',
160
+ order: 2
137
161
  }
138
162
  ];
@@ -54,7 +54,7 @@ export var defaultCountry = {
54
54
  geoNameId: '102358',
55
55
  idd_prefix: 966,
56
56
  logo: 'https://back-end.b-cdn.net/country/png/SA.png',
57
- digits: 10,
57
+ digits: 9,
58
58
  supported_by_tap: true
59
59
  };
60
60
  export var businessCountries = [
@@ -107,7 +107,7 @@ export var businessCountries = [
107
107
  geoNameId: '102358',
108
108
  idd_prefix: 966,
109
109
  logo: 'https://back-end.b-cdn.net/country/png/SA.png',
110
- digits: 10,
110
+ digits: 9,
111
111
  supported_by_tap: true
112
112
  },
113
113
  {
@@ -367,7 +367,7 @@ export var countriesCode = [
367
367
  geoNameId: '102358',
368
368
  idd_prefix: 966,
369
369
  logo: 'https://back-end.b-cdn.net/country/png/SA.png',
370
- digits: 10,
370
+ digits: 9,
371
371
  supported_by_tap: true
372
372
  },
373
373
  {
@@ -22,6 +22,6 @@ var BankName = function () {
22
22
  var clearValue = function () {
23
23
  bankNameControl.field.onChange('');
24
24
  };
25
- return (_jsx(FeatureStyled, { children: _jsx(Input, { label: t('bank_name_label'), placeholder: t('bank_name_label'), value: bankNameValue, required: true, endAdornment: !hasError && bankNameValue ? _jsx(CheckIcon, {}) : bankNameValue && _jsx(ClearIcon, { onClick: clearValue }) }) }));
25
+ return (_jsx(FeatureStyled, { children: _jsx(Input, { label: t('enter_bank_name'), placeholder: t('enter_bank_name_placeholder'), value: bankNameValue, required: true, endAdornment: !hasError && bankNameValue ? _jsx(CheckIcon, {}) : bankNameValue && _jsx(ClearIcon, { onClick: clearValue }) }) }));
26
26
  };
27
27
  export default BankName;
@@ -3,7 +3,7 @@ import Input from '../../../shared/Input';
3
3
  import { useTranslation } from 'react-i18next';
4
4
  import { useController, useFormContext } from 'react-hook-form';
5
5
  import { styled } from '@mui/material';
6
- import { keepLettersAndSpace } from '../../../../utils';
6
+ import { removeOnlyNumbers } from '../../../../utils';
7
7
  import { ScreenContainer } from '../../../shared/Containers';
8
8
  import ClearIcon from '../../../shared/ClearIcon';
9
9
  import CheckIcon from '../../../shared/CheckIcon';
@@ -14,21 +14,21 @@ var FeatureStyled = styled(ScreenContainer)(function (_a) {
14
14
  });
15
15
  });
16
16
  var Beneficiary = function () {
17
- var _a;
17
+ var _a, _b;
18
18
  var t = useTranslation().t;
19
19
  var control = useFormContext().control;
20
20
  var beneficiaryControl = useController({ name: 'beneficiaryName', control: control });
21
21
  var beneficiaryValue = beneficiaryControl.field.value;
22
22
  var hasError = (_a = beneficiaryControl.fieldState.error) === null || _a === void 0 ? void 0 : _a.message;
23
- var errorMessage = hasError ? t('beneficiary_error') : '';
23
+ var error = (_b = beneficiaryControl.fieldState.error) === null || _b === void 0 ? void 0 : _b.message;
24
24
  var handleBeneficiaryChange = function (_a) {
25
25
  var target = _a.target;
26
- var value = keepLettersAndSpace(target.value);
26
+ var value = removeOnlyNumbers(target.value);
27
27
  beneficiaryControl.field.onChange(value);
28
28
  };
29
29
  var clearValue = function () {
30
30
  beneficiaryControl.field.onChange('');
31
31
  };
32
- return (_jsx(FeatureStyled, { children: _jsx(Input, { label: t('beneficiary_name_label'), onChange: handleBeneficiaryChange, value: beneficiaryValue, placeholder: t('beneficiary_name_placeholder'), warningType: 'alert', warningMessage: errorMessage, required: true, endAdornment: !hasError && beneficiaryValue ? _jsx(CheckIcon, {}) : beneficiaryValue && _jsx(ClearIcon, { onClick: clearValue }) }) }));
32
+ return (_jsx(FeatureStyled, { children: _jsx(Input, { label: t('beneficiary_name'), onChange: handleBeneficiaryChange, value: beneficiaryValue, placeholder: t('beneficiary_name'), warningType: 'alert', warningMessage: error && t(error), required: true, endAdornment: !hasError && beneficiaryValue ? _jsx(CheckIcon, {}) : beneficiaryValue && _jsx(ClearIcon, { onClick: clearValue }) }) }));
33
33
  };
34
34
  export default Beneficiary;