@tap-payments/auth-jsconnect 2.6.3-test → 2.6.3

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 (633) hide show
  1. package/README.md +1 -1
  2. package/build/@types/app.d.ts +73 -15
  3. package/build/@types/app.js +18 -1
  4. package/build/@types/config.d.ts +45 -0
  5. package/build/@types/config.js +1 -0
  6. package/build/@types/form.d.ts +14 -3
  7. package/build/@types/index.d.ts +1 -0
  8. package/build/@types/index.js +1 -0
  9. package/build/@types/redux.d.ts +1 -0
  10. package/build/@types/theme.d.ts +4 -0
  11. package/build/@types/theme.js +5 -0
  12. package/build/api/account.d.ts +5 -0
  13. package/build/api/account.js +16 -2
  14. package/build/api/auth.d.ts +25 -1
  15. package/build/api/auth.js +18 -1
  16. package/build/api/availabilityServices.d.ts +1 -0
  17. package/build/api/country.d.ts +1 -0
  18. package/build/api/country.js +8 -1
  19. package/build/api/data.d.ts +4 -17
  20. package/build/api/data.js +5 -45
  21. package/build/api/entity.d.ts +28 -3
  22. package/build/api/entity.js +23 -10
  23. package/build/api/firebase.js +68 -8
  24. package/build/api/index.d.ts +19 -27
  25. package/build/api/lead.d.ts +25 -3
  26. package/build/api/lead.js +47 -1
  27. package/build/api/operator.d.ts +8 -3
  28. package/build/api/operator.js +4 -16
  29. package/build/app/rootReducer.d.ts +2 -0
  30. package/build/app/rootReducer.js +5 -1
  31. package/build/app/settings.d.ts +14 -3
  32. package/build/app/settings.js +127 -41
  33. package/build/app/store.d.ts +4 -0
  34. package/build/assets/locales/ar.json +333 -142
  35. package/build/assets/locales/en.json +330 -142
  36. package/build/components/AnimationFlow/AnimationFlow.d.ts +14 -3
  37. package/build/components/AnimationFlow/AnimationFlow.js +16 -5
  38. package/build/components/AnimationFlow/BottomSheet.d.ts +7 -2
  39. package/build/components/AnimationFlow/BottomSheet.js +37 -12
  40. package/build/components/AnimationFlow/Dialog.d.ts +11 -2
  41. package/build/components/AnimationFlow/Dialog.js +7 -11
  42. package/build/components/AnimationFlow/Loader.d.ts +6 -1
  43. package/build/components/AnimationFlow/Loader.js +17 -5
  44. package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
  45. package/build/components/ArabicDatePicker/ArabicDatePicker.js +2 -2
  46. package/build/components/DatePicker/DatePicker.d.ts +1 -1
  47. package/build/components/DatePicker/DatePicker.js +2 -2
  48. package/build/components/ExpandIcon/ExpandIcon.d.ts +2 -0
  49. package/build/components/Footer/Footer.js +2 -1
  50. package/build/components/Providers/ThemeProvider.js +3 -3
  51. package/build/components/Slide/Slide.d.ts +1 -1
  52. package/build/components/Tooltip/Tooltip.js +1 -1
  53. package/build/constants/api.d.ts +9 -7
  54. package/build/constants/api.js +19 -15
  55. package/build/constants/app.d.ts +46 -0
  56. package/build/constants/app.js +380 -21
  57. package/build/constants/assets.d.ts +4 -0
  58. package/build/constants/assets.js +5 -1
  59. package/build/constants/dummy.d.ts +43 -196
  60. package/build/constants/dummy.js +614 -6141
  61. package/build/constants/validation.d.ts +5 -0
  62. package/build/constants/validation.js +6 -1
  63. package/build/features/app/auth/authStore.d.ts +103 -0
  64. package/build/features/app/auth/authStore.js +1179 -0
  65. package/build/features/app/bank/bankStore.d.ts +14 -18
  66. package/build/features/app/bank/bankStore.js +218 -158
  67. package/build/features/app/board/boardStore.d.ts +33 -0
  68. package/build/features/app/board/boardStore.js +269 -0
  69. package/build/features/app/brand/brandStore.d.ts +18 -31
  70. package/build/features/app/brand/brandStore.js +296 -263
  71. package/build/features/app/business/businessStore.d.ts +28 -10
  72. package/build/features/app/business/businessStore.js +361 -215
  73. package/build/features/app/connect/connectStore.d.ts +39 -15
  74. package/build/features/app/connect/connectStore.js +308 -207
  75. package/build/features/app/connectExpress/connectExpressStore.d.ts +63 -35
  76. package/build/features/app/connectExpress/connectExpressStore.js +764 -414
  77. package/build/features/app/entity/entityStore.d.ts +21 -34
  78. package/build/features/app/entity/entityStore.js +248 -246
  79. package/build/features/app/individual/individualStore.d.ts +24 -33
  80. package/build/features/app/individual/individualStore.js +336 -274
  81. package/build/features/app/password/passwordStore.d.ts +34 -18
  82. package/build/features/app/password/passwordStore.js +286 -219
  83. package/build/features/app/tax/taxStore.d.ts +14 -7
  84. package/build/features/app/tax/taxStore.js +202 -141
  85. package/build/features/auth/Auth.d.ts +14 -0
  86. package/build/features/auth/Auth.js +168 -0
  87. package/build/features/auth/index.d.ts +1 -0
  88. package/build/features/auth/index.js +1 -0
  89. package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +5 -0
  90. package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.js +36 -0
  91. package/build/features/auth/screens/AccountCreatedLoader/index.d.ts +2 -0
  92. package/build/features/auth/screens/AccountCreatedLoader/index.js +2 -0
  93. package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +5 -0
  94. package/build/features/auth/screens/AccountNotFound/AccountNotFound.js +71 -0
  95. package/build/features/auth/screens/AccountNotFound/index.d.ts +2 -0
  96. package/build/features/auth/screens/AccountNotFound/index.js +2 -0
  97. package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +5 -0
  98. package/build/features/auth/screens/AuthMerchant/AuthMerchant.js +73 -0
  99. package/build/features/{connectExpress/screens/AuthenticationList → auth/screens/AuthMerchant}/MerchantList.d.ts +2 -1
  100. package/build/features/auth/screens/AuthMerchant/MerchantList.js +64 -0
  101. package/build/features/auth/screens/AuthMerchant/index.d.ts +2 -0
  102. package/build/features/auth/screens/AuthMerchant/index.js +2 -0
  103. package/build/features/auth/screens/AuthMerchant/validation.d.ts +8 -0
  104. package/build/features/auth/screens/AuthMerchant/validation.js +4 -0
  105. package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +5 -0
  106. package/build/features/auth/screens/AuthSwitch/AuthSwitch.js +58 -0
  107. package/build/features/auth/screens/AuthSwitch/index.d.ts +3 -0
  108. package/build/features/auth/screens/AuthSwitch/index.js +2 -0
  109. package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +5 -0
  110. package/build/features/auth/screens/AuthenticationList/AuthenticationList.js +96 -0
  111. package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +10 -0
  112. package/build/features/auth/screens/AuthenticationList/BrandList.js +81 -0
  113. package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +3 -0
  114. package/build/features/auth/screens/AuthenticationList/EntityLegalName.js +48 -0
  115. package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +31 -0
  116. package/build/features/auth/screens/AuthenticationList/EntityLicenseType.js +90 -0
  117. package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +11 -0
  118. package/build/features/auth/screens/AuthenticationList/EntityList.js +138 -0
  119. package/build/features/auth/screens/AuthenticationList/LicenseNumber.d.ts +3 -0
  120. package/build/features/auth/screens/AuthenticationList/LicenseNumber.js +36 -0
  121. package/build/features/auth/screens/AuthenticationList/index.d.ts +3 -0
  122. package/build/features/auth/screens/AuthenticationList/index.js +2 -0
  123. package/build/features/auth/screens/AuthenticationList/validation.d.ts +20 -0
  124. package/build/features/auth/screens/AuthenticationList/validation.js +68 -0
  125. package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +5 -0
  126. package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +111 -0
  127. package/build/features/auth/screens/BusinessCountry/index.d.ts +3 -0
  128. package/build/features/auth/screens/BusinessCountry/index.js +2 -0
  129. package/build/features/auth/screens/CivilID/CivilID.d.ts +5 -0
  130. package/build/features/auth/screens/CivilID/CivilID.js +57 -0
  131. package/build/features/auth/screens/CivilID/IDNumber.d.ts +8 -0
  132. package/build/features/auth/screens/CivilID/IDNumber.js +54 -0
  133. package/build/features/auth/screens/CivilID/index.d.ts +3 -0
  134. package/build/features/auth/screens/CivilID/index.js +2 -0
  135. package/build/features/auth/screens/CivilID/validation.d.ts +8 -0
  136. package/build/features/auth/screens/CivilID/validation.js +4 -0
  137. package/build/features/auth/screens/DOB/DOB.js +47 -0
  138. package/build/features/auth/screens/DOB/DOBForm.d.ts +5 -0
  139. package/build/features/auth/screens/DOB/DOBForm.js +59 -0
  140. package/build/features/auth/screens/DOB/index.d.ts +3 -0
  141. package/build/features/auth/screens/DOB/index.js +2 -0
  142. package/build/features/auth/screens/DOB/validation.d.ts +8 -0
  143. package/build/features/auth/screens/DOB/validation.js +4 -0
  144. package/build/features/auth/screens/Email/Email.d.ts +5 -0
  145. package/build/features/auth/screens/Email/Email.js +57 -0
  146. package/build/features/auth/screens/Email/EmailField.d.ts +8 -0
  147. package/build/features/auth/screens/Email/EmailField.js +52 -0
  148. package/build/features/auth/screens/Email/index.d.ts +3 -0
  149. package/build/features/auth/screens/Email/index.js +2 -0
  150. package/build/features/auth/screens/Email/validation.d.ts +8 -0
  151. package/build/features/auth/screens/Email/validation.js +4 -0
  152. package/build/features/auth/screens/EmailSent/EmailSent.d.ts +5 -0
  153. package/build/features/auth/screens/EmailSent/EmailSent.js +79 -0
  154. package/build/features/auth/screens/EmailSent/index.d.ts +2 -0
  155. package/build/features/auth/screens/EmailSent/index.js +2 -0
  156. package/build/features/auth/screens/MigratingData/MigratingData.d.ts +5 -0
  157. package/build/features/auth/screens/MigratingData/MigratingData.js +44 -0
  158. package/build/features/auth/screens/MigratingData/index.d.ts +2 -0
  159. package/build/features/auth/screens/MigratingData/index.js +2 -0
  160. package/build/features/auth/screens/Mobile/Mobile.d.ts +5 -0
  161. package/build/features/auth/screens/Mobile/Mobile.js +82 -0
  162. package/build/features/auth/screens/Mobile/MobileNumber.d.ts +13 -0
  163. package/build/features/auth/screens/Mobile/MobileNumber.js +158 -0
  164. package/build/features/auth/screens/Mobile/index.d.ts +3 -0
  165. package/build/features/auth/screens/Mobile/index.js +2 -0
  166. package/build/features/auth/screens/Mobile/validation.d.ts +8 -0
  167. package/build/features/auth/screens/Mobile/validation.js +35 -0
  168. package/build/features/auth/screens/NID/IDNumber.d.ts +7 -0
  169. package/build/features/auth/screens/NID/IDNumber.js +55 -0
  170. package/build/features/auth/screens/NID/NID.d.ts +5 -0
  171. package/build/features/auth/screens/NID/NID.js +56 -0
  172. package/build/features/auth/screens/NID/index.d.ts +3 -0
  173. package/build/features/auth/screens/NID/index.js +2 -0
  174. package/build/features/auth/screens/NID/validation.d.ts +8 -0
  175. package/build/features/auth/screens/NID/validation.js +10 -0
  176. package/build/features/auth/screens/OTP/OTP.js +118 -0
  177. package/build/features/{connectExpress/screens/IdentityOTP → auth/screens/OTP}/OTPInput.js +27 -7
  178. package/build/features/auth/screens/OperatorError/OperatorError.d.ts +5 -0
  179. package/build/features/auth/screens/OperatorError/OperatorError.js +9 -0
  180. package/build/features/auth/screens/OperatorError/index.d.ts +3 -0
  181. package/build/features/auth/screens/OperatorError/index.js +2 -0
  182. package/build/features/auth/screens/Password/Password.d.ts +5 -0
  183. package/build/features/auth/screens/Password/Password.js +61 -0
  184. package/build/features/auth/screens/Password/PasswordField.d.ts +5 -0
  185. package/build/features/auth/screens/Password/PasswordField.js +28 -0
  186. package/build/features/auth/screens/Password/index.d.ts +3 -0
  187. package/build/features/auth/screens/Password/index.js +2 -0
  188. package/build/features/auth/screens/Password/validation.d.ts +8 -0
  189. package/build/features/auth/screens/Password/validation.js +4 -0
  190. package/build/features/auth/screens/PreparingData/PreparingData.d.ts +5 -0
  191. package/build/features/auth/screens/PreparingData/PreparingData.js +44 -0
  192. package/build/features/auth/screens/PreparingData/index.d.ts +2 -0
  193. package/build/features/auth/screens/PreparingData/index.js +2 -0
  194. package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.d.ts +5 -0
  195. package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.js +21 -0
  196. package/build/features/auth/screens/ResetPasswordMessage/index.d.ts +3 -0
  197. package/build/features/auth/screens/ResetPasswordMessage/index.js +2 -0
  198. package/build/features/auth/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
  199. package/build/features/auth/screens/VerifyNafath/VerifyNafath.js +35 -0
  200. package/build/features/auth/screens/VerifyNafath/index.d.ts +3 -0
  201. package/build/features/auth/screens/VerifyNafath/index.js +2 -0
  202. package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +5 -0
  203. package/build/features/auth/screens/VerifyPACI/VerifyPACI.js +34 -0
  204. package/build/features/auth/screens/VerifyPACI/index.d.ts +3 -0
  205. package/build/features/auth/screens/VerifyPACI/index.js +2 -0
  206. package/build/features/bank/Bank.d.ts +2 -0
  207. package/build/features/bank/Bank.js +15 -9
  208. package/build/features/bank/screens/BankDetails/BankDetails.js +21 -7
  209. package/build/features/bank/screens/OperatorError/OperatorError.d.ts +5 -0
  210. package/build/features/bank/screens/OperatorError/OperatorError.js +9 -0
  211. package/build/features/bank/screens/OperatorError/index.d.ts +3 -0
  212. package/build/features/bank/screens/OperatorError/index.js +2 -0
  213. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
  214. package/build/features/bank/screens/Verify/Verify.js +8 -7
  215. package/build/features/board/Board.d.ts +13 -0
  216. package/build/features/board/Board.js +87 -0
  217. package/build/features/board/index.d.ts +1 -0
  218. package/build/features/board/index.js +1 -0
  219. package/build/features/board/screens/OperatorError/OperatorError.d.ts +5 -0
  220. package/build/features/board/screens/OperatorError/OperatorError.js +9 -0
  221. package/build/features/board/screens/OperatorError/index.d.ts +3 -0
  222. package/build/features/board/screens/OperatorError/index.js +2 -0
  223. package/build/features/board/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -0
  224. package/build/features/board/screens/PrepareDataLoading/PrepareDataLoading.js +10 -0
  225. package/build/features/board/screens/PrepareDataLoading/index.d.ts +2 -0
  226. package/build/features/board/screens/PrepareDataLoading/index.js +2 -0
  227. package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -0
  228. package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +21 -0
  229. package/build/features/board/screens/ResetPasswordSuccess/index.d.ts +3 -0
  230. package/build/features/board/screens/ResetPasswordSuccess/index.js +2 -0
  231. package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
  232. package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +44 -0
  233. package/build/features/board/screens/SuccessWithFlowButtons/index.d.ts +2 -0
  234. package/build/features/board/screens/SuccessWithFlowButtons/index.js +2 -0
  235. package/build/features/board/screens/Verify/OTPInput.d.ts +7 -0
  236. package/build/features/{business/screens/OTP → board/screens/Verify}/OTPInput.js +9 -7
  237. package/build/features/{connectExpress/screens/IdentityOTP/OTP.js → board/screens/Verify/Verify.js} +25 -37
  238. package/build/features/board/screens/Verify/index.d.ts +2 -0
  239. package/build/features/board/screens/Verify/index.js +2 -0
  240. package/build/features/brand/Brand.d.ts +2 -0
  241. package/build/features/brand/Brand.js +15 -9
  242. package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +9 -9
  243. package/build/features/brand/screens/BrandActivities/BrandActivities.js +49 -12
  244. package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +6 -6
  245. package/build/features/brand/screens/BrandActivities/CustomerBase.js +1 -1
  246. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +5 -2
  247. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +4 -4
  248. package/build/features/brand/screens/BrandActivities/RefundPolicy.js +1 -1
  249. package/build/features/brand/screens/BrandActivities/TAC.d.ts +1 -1
  250. package/build/features/brand/screens/BrandActivities/TAC.js +1 -1
  251. package/build/features/brand/screens/BrandActivities/TransactionPolicy.js +1 -1
  252. package/build/features/brand/screens/BrandInfo/BrandInfo.js +27 -7
  253. package/build/features/brand/screens/BrandInfo/BrandName.js +5 -2
  254. package/build/features/brand/screens/BrandInfo/validation.js +2 -2
  255. package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.js +23 -7
  256. package/build/features/brand/screens/OperatorError/OperatorError.d.ts +5 -0
  257. package/build/features/brand/screens/OperatorError/OperatorError.js +9 -0
  258. package/build/features/brand/screens/OperatorError/index.d.ts +3 -0
  259. package/build/features/brand/screens/OperatorError/index.js +2 -0
  260. package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
  261. package/build/features/brand/screens/Verify/Verify.js +4 -3
  262. package/build/features/business/Business.js +20 -12
  263. package/build/features/business/screens/Activities/Activities.js +27 -10
  264. package/build/features/business/screens/Activities/ActivitiesList.d.ts +4 -4
  265. package/build/features/business/screens/Activities/ActivitiesList.js +1 -1
  266. package/build/features/business/screens/Activities/OperationStartDate.d.ts +5 -3
  267. package/build/features/business/screens/Activities/OperationStartDate.js +2 -2
  268. package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +2 -2
  269. package/build/features/business/screens/BusinessType/BusinessType.js +24 -8
  270. package/build/features/business/screens/BusinessType/EntityName.js +3 -3
  271. package/build/features/business/screens/BusinessType/LicenseList.js +3 -3
  272. package/build/features/business/screens/BusinessType/LicenseNumber.js +10 -9
  273. package/build/features/business/screens/BusinessType/LicenseType.d.ts +4 -4
  274. package/build/features/business/screens/BusinessType/validation.d.ts +10 -0
  275. package/build/features/business/screens/BusinessType/validation.js +16 -0
  276. package/build/features/business/screens/CivilID/CivilID.js +1 -1
  277. package/build/features/business/screens/Customers/CustomerLocations.d.ts +14 -12
  278. package/build/features/business/screens/Customers/CustomerLocations.js +5 -3
  279. package/build/features/business/screens/Customers/Customers.js +51 -11
  280. package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +3 -1
  281. package/build/features/business/screens/Customers/ExpectedCustomers.js +5 -3
  282. package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +3 -1
  283. package/build/features/business/screens/Customers/ExpectedSalesRange.js +10 -4
  284. package/build/features/business/screens/Customers/RefundPolicy.d.ts +12 -5
  285. package/build/features/business/screens/Customers/RefundPolicy.js +13 -13
  286. package/build/features/business/screens/Customers/TransactionPolicy.d.ts +4 -1
  287. package/build/features/business/screens/Customers/TransactionPolicy.js +8 -5
  288. package/build/features/business/screens/Customers/validation.d.ts +6 -6
  289. package/build/features/business/screens/Customers/validation.js +3 -8
  290. package/build/features/business/screens/DOB/DOB.d.ts +6 -0
  291. package/build/features/business/screens/DOB/DOB.js +45 -0
  292. package/build/features/business/screens/DOB/DOBForm.d.ts +5 -0
  293. package/build/features/business/screens/DOB/DOBForm.js +72 -0
  294. package/build/features/business/screens/DOB/index.d.ts +3 -0
  295. package/build/features/business/screens/DOB/index.js +2 -0
  296. package/build/features/business/screens/DOB/validation.d.ts +8 -0
  297. package/build/features/business/screens/DOB/validation.js +4 -0
  298. package/build/features/business/screens/IDBOD/ID.js +6 -2
  299. package/build/features/business/screens/IDBOD/IDBOD.js +18 -19
  300. package/build/features/business/screens/IDBOD/validation.d.ts +7 -0
  301. package/build/features/business/screens/IDBOD/validation.js +4 -1
  302. package/build/features/business/screens/OperatorError/OperatorError.d.ts +5 -0
  303. package/build/features/business/screens/OperatorError/OperatorError.js +9 -0
  304. package/build/features/business/screens/OperatorError/index.d.ts +3 -0
  305. package/build/features/business/screens/OperatorError/index.js +2 -0
  306. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +14 -3
  307. package/build/features/business/screens/Verify/Verify.js +16 -5
  308. package/build/features/business/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
  309. package/build/features/business/screens/VerifyNafath/VerifyNafath.js +35 -0
  310. package/build/features/business/screens/VerifyNafath/index.d.ts +3 -0
  311. package/build/features/business/screens/VerifyNafath/index.js +2 -0
  312. package/build/features/connect/Connect.d.ts +5 -1
  313. package/build/features/connect/Connect.js +48 -31
  314. package/build/features/connect/screens/BrandSegment/BrandSegment.js +4 -26
  315. package/build/features/connect/screens/BrandSegment/TeamSize.js +1 -1
  316. package/build/features/connect/screens/BrandSegment/validation.d.ts +0 -9
  317. package/build/features/connect/screens/BrandSegment/validation.js +0 -3
  318. package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +5 -0
  319. package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +113 -0
  320. package/build/features/connect/screens/BusinessCountry/index.d.ts +3 -0
  321. package/build/features/connect/screens/BusinessCountry/index.js +2 -0
  322. package/build/features/connect/screens/CivilID/CivilID.js +12 -4
  323. package/build/features/{connectExpress/screens/NID → connect/screens/DOB}/DOB.d.ts +1 -2
  324. package/build/features/connect/screens/{NID → DOB}/DOB.js +2 -2
  325. package/build/features/connect/screens/DOB/DOBForm.d.ts +5 -0
  326. package/build/features/connect/screens/DOB/DOBForm.js +59 -0
  327. package/build/features/connect/screens/DOB/index.d.ts +3 -0
  328. package/build/features/connect/screens/DOB/index.js +2 -0
  329. package/build/features/connect/screens/DOB/validation.d.ts +8 -0
  330. package/build/features/connect/screens/DOB/validation.js +4 -0
  331. package/build/features/connect/screens/Individual/Individual.js +12 -6
  332. package/build/features/connect/screens/Individual/MobileNumber.js +6 -3
  333. package/build/features/connect/screens/Individual/validation.js +8 -3
  334. package/build/features/connect/screens/Merchant/BrandList.js +3 -3
  335. package/build/features/connect/screens/Merchant/BrandName.js +5 -2
  336. package/build/features/connect/screens/Merchant/Merchant.js +1 -1
  337. package/build/features/connect/screens/Merchant/SalesChannels.js +1 -1
  338. package/build/features/connect/screens/Merchant/validation.js +2 -2
  339. package/build/features/connect/screens/Mobile/Mobile.js +14 -7
  340. package/build/features/connect/screens/Mobile/MobileNumber.js +14 -8
  341. package/build/features/connect/screens/Mobile/validation.js +8 -3
  342. package/build/features/connect/screens/NID/IDNumber.d.ts +1 -0
  343. package/build/features/connect/screens/NID/IDNumber.js +2 -2
  344. package/build/features/connect/screens/NID/NID.js +10 -13
  345. package/build/features/connect/screens/NID/validation.d.ts +0 -3
  346. package/build/features/connect/screens/NID/validation.js +0 -1
  347. package/build/features/connect/screens/OTP/OTP.js +7 -7
  348. package/build/features/connect/screens/OTP/OTPInput.js +3 -11
  349. package/build/features/connect/screens/OperatorError/OperatorError.d.ts +5 -0
  350. package/build/features/connect/screens/OperatorError/OperatorError.js +9 -0
  351. package/build/features/connect/screens/OperatorError/index.d.ts +3 -0
  352. package/build/features/connect/screens/OperatorError/index.js +2 -0
  353. package/build/features/connect/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
  354. package/build/features/connect/screens/VerifyNafath/VerifyNafath.js +35 -0
  355. package/build/features/connect/screens/VerifyNafath/index.d.ts +3 -0
  356. package/build/features/connect/screens/VerifyNafath/index.js +2 -0
  357. package/build/features/connectExpress/ConnectExpress.d.ts +5 -3
  358. package/build/features/connectExpress/ConnectExpress.js +70 -44
  359. package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.js +14 -2
  360. package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +5 -0
  361. package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.js +36 -0
  362. package/build/features/connectExpress/screens/AccountCreatedLoader/index.d.ts +2 -0
  363. package/build/features/connectExpress/screens/AccountCreatedLoader/index.js +2 -0
  364. package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.d.ts +5 -0
  365. package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.js +74 -0
  366. package/build/features/connectExpress/screens/{AuthenticationList/TerminalList.d.ts → AuthMerchant/MerchantList.d.ts} +4 -3
  367. package/build/features/connectExpress/screens/AuthMerchant/MerchantList.js +64 -0
  368. package/build/features/connectExpress/screens/AuthMerchant/index.d.ts +2 -0
  369. package/build/features/connectExpress/screens/AuthMerchant/index.js +2 -0
  370. package/build/features/connectExpress/screens/AuthMerchant/validation.d.ts +8 -0
  371. package/build/features/connectExpress/screens/AuthMerchant/validation.js +4 -0
  372. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.js +30 -17
  373. package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.d.ts +3 -0
  374. package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.js +48 -0
  375. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +31 -0
  376. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.js +90 -0
  377. package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +3 -3
  378. package/build/features/connectExpress/screens/AuthenticationList/EntityList.js +52 -10
  379. package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.d.ts +3 -0
  380. package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.js +36 -0
  381. package/build/features/connectExpress/screens/AuthenticationList/validation.d.ts +13 -10
  382. package/build/features/connectExpress/screens/AuthenticationList/validation.js +66 -7
  383. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +5 -0
  384. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +111 -0
  385. package/build/features/connectExpress/screens/BusinessCountry/index.d.ts +3 -0
  386. package/build/features/connectExpress/screens/BusinessCountry/index.js +2 -0
  387. package/build/features/connectExpress/screens/CivilID/CivilID.js +16 -5
  388. package/build/features/connectExpress/screens/CivilID/IDNumber.js +7 -2
  389. package/build/features/connectExpress/screens/CivilIDMissed/CivilID.js +2 -2
  390. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +5 -2
  391. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +20 -5
  392. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +6 -5
  393. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +9 -8
  394. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +4 -4
  395. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.js +1 -1
  396. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +1 -1
  397. package/build/features/connectExpress/screens/CollectBusinessInfo/validation.d.ts +13 -0
  398. package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +68 -1
  399. package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +34 -7
  400. package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.js +7 -4
  401. package/build/features/connectExpress/screens/CollectIndividualInfo/validation.js +8 -3
  402. package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.js +14 -24
  403. package/build/features/connectExpress/screens/DOB/DOB.d.ts +6 -0
  404. package/build/features/connectExpress/screens/{NID → DOB}/DOB.js +3 -3
  405. package/build/features/connectExpress/screens/DOB/DOBForm.d.ts +5 -0
  406. package/build/features/connectExpress/screens/DOB/DOBForm.js +63 -0
  407. package/build/features/connectExpress/screens/DOB/index.d.ts +3 -0
  408. package/build/features/connectExpress/screens/DOB/index.js +2 -0
  409. package/build/features/connectExpress/screens/DOB/validation.d.ts +8 -0
  410. package/build/features/connectExpress/screens/DOB/validation.js +4 -0
  411. package/build/features/connectExpress/screens/IdentityVerifyNafath/IdentityVerifyNafath.d.ts +5 -0
  412. package/build/features/connectExpress/screens/IdentityVerifyNafath/IdentityVerifyNafath.js +35 -0
  413. package/build/features/connectExpress/screens/IdentityVerifyNafath/index.d.ts +3 -0
  414. package/build/features/connectExpress/screens/IdentityVerifyNafath/index.js +2 -0
  415. package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.js +2 -2
  416. package/build/features/connectExpress/screens/Mobile/Mobile.js +17 -7
  417. package/build/features/connectExpress/screens/Mobile/MobileNumber.js +17 -11
  418. package/build/features/connectExpress/screens/Mobile/TAC.js +1 -1
  419. package/build/features/connectExpress/screens/Mobile/validation.js +16 -6
  420. package/build/features/connectExpress/screens/NID/IDNumber.d.ts +1 -0
  421. package/build/features/connectExpress/screens/NID/IDNumber.js +2 -2
  422. package/build/features/connectExpress/screens/NID/NID.js +15 -12
  423. package/build/features/connectExpress/screens/NID/TAC.d.ts +1 -1
  424. package/build/features/connectExpress/screens/NID/TAC.js +2 -2
  425. package/build/features/connectExpress/screens/NID/validation.d.ts +0 -3
  426. package/build/features/connectExpress/screens/NID/validation.js +0 -2
  427. package/build/features/connectExpress/screens/NIDMissed/IDNumber.js +6 -2
  428. package/build/features/connectExpress/screens/NIDMissed/NID.js +10 -8
  429. package/build/features/connectExpress/screens/NIDMissed/validation.d.ts +7 -0
  430. package/build/features/connectExpress/screens/NIDMissed/validation.js +4 -1
  431. package/build/features/connectExpress/screens/OTP/OTP.js +14 -16
  432. package/build/features/connectExpress/screens/OTP/OTPInput.js +12 -10
  433. package/build/features/connectExpress/screens/OperatorError/OperatorError.d.ts +5 -0
  434. package/build/features/connectExpress/screens/OperatorError/OperatorError.js +9 -0
  435. package/build/features/connectExpress/screens/OperatorError/index.d.ts +3 -0
  436. package/build/features/connectExpress/screens/OperatorError/index.js +2 -0
  437. package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.d.ts +5 -0
  438. package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.js +34 -0
  439. package/build/features/connectExpress/screens/PrepareDataLoading/index.d.ts +2 -0
  440. package/build/features/connectExpress/screens/PrepareDataLoading/index.js +2 -0
  441. package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -4
  442. package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
  443. package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.js +35 -0
  444. package/build/features/connectExpress/screens/VerifyNafath/index.d.ts +3 -0
  445. package/build/features/connectExpress/screens/VerifyNafath/index.js +2 -0
  446. package/build/features/entity/Entity.d.ts +2 -0
  447. package/build/features/entity/Entity.js +15 -9
  448. package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +4 -4
  449. package/build/features/entity/screens/EntityCapital/CapitalPaid.js +5 -3
  450. package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +6 -4
  451. package/build/features/entity/screens/EntityCapital/EntityCapital.js +34 -10
  452. package/build/features/entity/screens/EntityName/EntityName.js +44 -19
  453. package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +9 -9
  454. package/build/features/entity/screens/EntityName/EntityTypeList.js +2 -3
  455. package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +2 -2
  456. package/build/features/entity/screens/EntityName/ExpiryDate.js +5 -7
  457. package/build/features/entity/screens/EntityName/IssuingDate.d.ts +2 -2
  458. package/build/features/entity/screens/EntityName/IssuingDate.js +5 -7
  459. package/build/features/entity/screens/EntityName/LegalName.js +1 -13
  460. package/build/features/entity/screens/EntityName/LicenseNumber.js +10 -11
  461. package/build/features/entity/screens/EntityName/UnifiedNumber.js +4 -6
  462. package/build/features/entity/screens/EntityName/validation.d.ts +31 -3
  463. package/build/features/entity/screens/EntityName/validation.js +38 -9
  464. package/build/features/entity/screens/OperatorError/OperatorError.d.ts +5 -0
  465. package/build/features/entity/screens/OperatorError/OperatorError.js +9 -0
  466. package/build/features/entity/screens/OperatorError/index.d.ts +3 -0
  467. package/build/features/entity/screens/OperatorError/index.js +2 -0
  468. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
  469. package/build/features/entity/screens/Verify/Verify.js +4 -3
  470. package/build/features/featuresScreens.d.ts +2 -0
  471. package/build/features/featuresScreens.js +250 -16
  472. package/build/features/individual/Individual.d.ts +2 -0
  473. package/build/features/individual/Individual.js +15 -9
  474. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +2 -2
  475. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +55 -15
  476. package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +36 -0
  477. package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.js +76 -0
  478. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +5 -2
  479. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +4 -4
  480. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +7 -4
  481. package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +4 -1
  482. package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +4 -3
  483. package/build/features/individual/screens/IndividualList/IndividualList.d.ts +4 -4
  484. package/build/features/individual/screens/IndividualList/IndividualList.js +21 -6
  485. package/build/features/individual/screens/IndividualList/MobileNumber.js +6 -3
  486. package/build/features/individual/screens/IndividualList/UserList.js +13 -9
  487. package/build/features/individual/screens/IndividualList/validation.js +8 -3
  488. package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +4 -4
  489. package/build/features/individual/screens/IndividualPersonalInfo/ID.js +6 -2
  490. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +2 -2
  491. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +79 -21
  492. package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +6 -3
  493. package/build/features/individual/screens/IndividualPersonalInfo/validation.d.ts +1 -1
  494. package/build/features/individual/screens/IndividualPersonalInfo/validation.js +72 -63
  495. package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.js +7 -4
  496. package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.js +1 -1
  497. package/build/features/individual/screens/IndividualPhoneInfo/validation.js +8 -3
  498. package/build/features/individual/screens/OperatorError/OperatorError.d.ts +5 -0
  499. package/build/features/individual/screens/OperatorError/OperatorError.js +9 -0
  500. package/build/features/individual/screens/OperatorError/index.d.ts +3 -0
  501. package/build/features/individual/screens/OperatorError/index.js +2 -0
  502. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
  503. package/build/features/individual/screens/Verify/Verify.js +4 -3
  504. package/build/features/password/Password.d.ts +2 -0
  505. package/build/features/password/Password.js +94 -32
  506. package/build/features/password/screens/CreatePassword/CreatePassword.js +10 -4
  507. package/build/features/password/screens/OTP/OTP.js +4 -4
  508. package/build/features/password/screens/OperatorError/OperatorError.d.ts +5 -0
  509. package/build/features/password/screens/OperatorError/OperatorError.js +9 -0
  510. package/build/features/password/screens/OperatorError/index.d.ts +3 -0
  511. package/build/features/password/screens/OperatorError/index.js +2 -0
  512. package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -0
  513. package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.js +10 -0
  514. package/build/features/password/screens/PrepareDataLoading/index.d.ts +2 -0
  515. package/build/features/password/screens/PrepareDataLoading/index.js +2 -0
  516. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
  517. package/build/features/password/screens/Verify/Verify.js +8 -7
  518. package/build/features/shared/Address/CountryList.d.ts +7 -7
  519. package/build/features/shared/Address/InputSelect.d.ts +7 -7
  520. package/build/features/shared/Background/Background.d.ts +3 -1
  521. package/build/features/shared/Background/Background.js +9 -11
  522. package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +15 -0
  523. package/build/features/shared/BusinessCountry/BusinessCountry.js +179 -0
  524. package/build/features/shared/BusinessCountry/index.d.ts +2 -0
  525. package/build/features/shared/BusinessCountry/index.js +2 -0
  526. package/build/features/shared/Button/Button.js +11 -5
  527. package/build/features/shared/Button/EmailProvidersButtons.js +2 -0
  528. package/build/features/shared/Button/FlowsButtons.js +15 -3
  529. package/build/features/shared/Button/NafathButton.d.ts +8 -0
  530. package/build/features/shared/Button/{AbsherButton.js → NafathButton.js} +12 -3
  531. package/build/features/shared/Button/index.d.ts +2 -2
  532. package/build/features/shared/Button/index.js +2 -2
  533. package/build/features/shared/Calender/Calender.d.ts +2 -1
  534. package/build/features/shared/Calender/Calender.js +3 -3
  535. package/build/features/shared/Containers/FeatureContainer.d.ts +2 -1
  536. package/build/features/shared/Containers/FeatureContainer.js +3 -3
  537. package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
  538. package/build/features/shared/DataLoading/DataLoading.d.ts +4 -1
  539. package/build/features/shared/DataLoading/DataLoading.js +2 -2
  540. package/build/features/shared/Footer/Footer.js +2 -1
  541. package/build/features/shared/Input/Input.d.ts +2 -2
  542. package/build/features/shared/NafathVerification/NafathVerification.d.ts +14 -0
  543. package/build/features/shared/NafathVerification/NafathVerification.js +92 -0
  544. package/build/features/shared/NafathVerification/VerifyNafathLoading.d.ts +8 -0
  545. package/build/features/shared/NafathVerification/VerifyNafathLoading.js +53 -0
  546. package/build/features/shared/NafathVerification/VerifyNafathSuccess.d.ts +5 -0
  547. package/build/features/shared/NafathVerification/VerifyNafathSuccess.js +8 -0
  548. package/build/features/shared/NafathVerification/index.d.ts +2 -0
  549. package/build/features/shared/NafathVerification/index.js +2 -0
  550. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +6 -1
  551. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +10 -13
  552. package/build/features/shared/SuccessScreen/SuccessScreen.js +1 -1
  553. package/build/features/shared/UploadFile/FileUpload.d.ts +1 -1
  554. package/build/features/shared/UploadFile/UploadFile.d.ts +1 -1
  555. package/build/features/shared/UploadFile/UploadWrapper.d.ts +1 -1
  556. package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +1 -1
  557. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +1 -1
  558. package/build/features/signIn/SignIn.js +18 -7
  559. package/build/features/signIn/screens/Mobile/MobileNumber.js +6 -3
  560. package/build/features/signIn/screens/Mobile/validation.js +8 -3
  561. package/build/features/signIn/screens/OTP/OTP.js +5 -4
  562. package/build/features/signIn/screens/OperatorError/OperatorError.d.ts +5 -0
  563. package/build/features/signIn/screens/OperatorError/OperatorError.js +9 -0
  564. package/build/features/signIn/screens/OperatorError/index.d.ts +3 -0
  565. package/build/features/signIn/screens/OperatorError/index.js +2 -0
  566. package/build/features/tax/Tax.d.ts +2 -0
  567. package/build/features/tax/Tax.js +15 -9
  568. package/build/features/tax/screens/OperatorError/OperatorError.d.ts +5 -0
  569. package/build/features/tax/screens/OperatorError/OperatorError.js +9 -0
  570. package/build/features/tax/screens/OperatorError/index.d.ts +3 -0
  571. package/build/features/tax/screens/OperatorError/index.js +2 -0
  572. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
  573. package/build/features/tax/screens/TaxDetails/TaxDetails.js +9 -3
  574. package/build/features/tax/screens/Verify/Verify.js +8 -7
  575. package/build/hooks/index.d.ts +3 -0
  576. package/build/hooks/index.js +3 -0
  577. package/build/hooks/useAppConfig.d.ts +3 -3
  578. package/build/hooks/useAppConfig.js +9 -6
  579. package/build/hooks/useAppDispatch.d.ts +2 -0
  580. package/build/hooks/useAppTheme.js +4 -3
  581. package/build/hooks/useCountDown.d.ts +10 -0
  582. package/build/hooks/useCountDown.js +17 -0
  583. package/build/hooks/useCountry.d.ts +1 -0
  584. package/build/hooks/useCountry.js +4 -3
  585. package/build/hooks/useFormDirtyCheck.d.ts +10 -0
  586. package/build/hooks/useFormDirtyCheck.js +66 -0
  587. package/build/hooks/useSanitizedTranslation.d.ts +1 -0
  588. package/build/hooks/useSanitizedTranslation.js +15 -0
  589. package/build/hooks/useVerifyToken.d.ts +5 -2
  590. package/build/hooks/useVerifyToken.js +10 -5
  591. package/build/index.css +360 -120
  592. package/build/index.d.ts +4 -2
  593. package/build/index.js +6 -2
  594. package/build/theme/components.js +7 -0
  595. package/build/theme/palette.js +4 -2
  596. package/build/theme/theme.d.ts +1 -1
  597. package/build/theme/theme.js +2 -2
  598. package/build/utils/array.js +2 -2
  599. package/build/utils/common.d.ts +3 -0
  600. package/build/utils/common.js +38 -2
  601. package/build/utils/device.d.ts +2 -0
  602. package/build/utils/device.js +6 -0
  603. package/build/utils/locale.js +2 -1
  604. package/build/utils/object.d.ts +1 -0
  605. package/build/utils/object.js +4 -1
  606. package/build/utils/string.d.ts +5 -2
  607. package/build/utils/string.js +24 -5
  608. package/build/utils/validation.d.ts +5 -0
  609. package/build/utils/validation.js +16 -0
  610. package/package.json +2 -2
  611. package/build/features/business/screens/OTP/OTP.d.ts +0 -8
  612. package/build/features/business/screens/OTP/OTP.js +0 -90
  613. package/build/features/connect/screens/BrandSegment/SegmentLocations.d.ts +0 -8
  614. package/build/features/connect/screens/BrandSegment/SegmentLocations.js +0 -66
  615. package/build/features/connect/screens/BrandSegment/SegmentProfits.d.ts +0 -8
  616. package/build/features/connect/screens/BrandSegment/SegmentProfits.js +0 -66
  617. package/build/features/connect/screens/BrandSegment/SegmentTechs.d.ts +0 -8
  618. package/build/features/connect/screens/BrandSegment/SegmentTechs.js +0 -66
  619. package/build/features/connectExpress/screens/AuthenticationList/MerchantList.js +0 -100
  620. package/build/features/connectExpress/screens/AuthenticationList/TerminalList.js +0 -101
  621. package/build/features/connectExpress/screens/IdentityOTP/index.d.ts +0 -3
  622. package/build/features/connectExpress/screens/IdentityOTP/index.js +0 -2
  623. package/build/features/shared/Button/AbsherButton.d.ts +0 -8
  624. /package/build/features/{connect/screens/NID → auth/screens/DOB}/DOB.d.ts +0 -0
  625. /package/build/features/{connectExpress/screens/IdentityOTP → auth/screens/OTP}/OTP.d.ts +0 -0
  626. /package/build/features/{business → auth}/screens/OTP/OTPInput.d.ts +0 -0
  627. /package/build/features/{business → auth}/screens/OTP/index.d.ts +0 -0
  628. /package/build/features/{business → auth}/screens/OTP/index.js +0 -0
  629. /package/build/features/{business → auth}/screens/OTP/validation.d.ts +0 -0
  630. /package/build/features/{business → auth}/screens/OTP/validation.js +0 -0
  631. /package/build/features/{connectExpress/screens/IdentityOTP/OTPInput.d.ts → board/screens/Verify/Verify.d.ts} +0 -0
  632. /package/build/features/{connectExpress/screens/IdentityOTP → board/screens/Verify}/validation.d.ts +0 -0
  633. /package/build/features/{connectExpress/screens/IdentityOTP → board/screens/Verify}/validation.js +0 -0
@@ -9,54 +9,116 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
13
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
14
+ return new (P || (P = Promise))(function (resolve, reject) {
15
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
16
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
17
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
18
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
19
+ });
20
+ };
21
+ var __generator = (this && this.__generator) || function (thisArg, body) {
22
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
23
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
24
+ function verb(n) { return function (v) { return step([n, v]); }; }
25
+ function step(op) {
26
+ if (f) throw new TypeError("Generator is already executing.");
27
+ while (_) try {
28
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
29
+ if (y = 0, t) op = [op[0] & 2, t.value];
30
+ switch (op[0]) {
31
+ case 0: case 1: t = op; break;
32
+ case 4: _.label++; return { value: op[1], done: false };
33
+ case 5: _.label++; y = op[1]; op = [0]; continue;
34
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
35
+ default:
36
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
37
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
38
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
39
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
40
+ if (t[2]) _.ops.pop();
41
+ _.trys.pop(); continue;
42
+ }
43
+ op = body.call(thisArg, _);
44
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
45
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
46
+ }
47
+ };
48
+ var __rest = (this && this.__rest) || function (s, e) {
49
+ var t = {};
50
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
51
+ t[p] = s[p];
52
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
53
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
54
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
55
+ t[p[i]] = s[p[i]];
56
+ }
57
+ return t;
58
+ };
12
59
  import { jsx as _jsx } from "react/jsx-runtime";
13
- import { memo, useEffect } from 'react';
60
+ import { memo } from 'react';
14
61
  import { createRoot } from 'react-dom/client';
15
- import { useAppTheme, useAppDispatch, useAppSelector, useAppConfig, useErrorListener, useStepStartedListener } from '../../hooks';
16
- import { handleLanguage, settingsSelector } from '../../app/settings';
62
+ import { useAppTheme, useAppDispatch, useAppSelector, useAppConfig, useErrorListener, useStepStartedListener, useVerifyToken } from '../../hooks';
63
+ import { settingsSelector } from '../../app/settings';
17
64
  import AnimationFlow from '../../components/AnimationFlow';
18
65
  import { store } from '../../app/store';
19
66
  import { ReduxProvider, ThemeProvider } from '../../components/Providers';
20
67
  import Collapse from '../../components/Collapse';
21
68
  import { FeatureContainer } from '../shared/Containers';
22
- import { getParameterByName, findOrCreateElementAndInject, sendPageView } from '../../utils';
69
+ import { getParameterByName, findOrCreateElementAndInject, sendPageView, initializeGTM } from '../../utils';
23
70
  import { PASSWORD_OPERATION_TYPE, PASSWORD_SCREENS_NAVIGATION } from '../../constants';
24
71
  import { passwordFeatureScreens } from '../featuresScreens';
25
72
  import { passwordSelector, verifyLeadToken, verifyOperationToken } from '../app/password/passwordStore';
26
73
  import Background from '../shared/Background';
27
- var Password = memo(function (props) {
74
+ var Password = memo(function (_a) {
75
+ var _b, _c;
76
+ var configToken = _a.configToken, loaderColor = _a.loaderColor, verifyToken = _a.verifyToken, props = __rest(_a, ["configToken", "loaderColor", "verifyToken"]);
28
77
  var theme = useAppTheme().theme;
29
78
  var dispatch = useAppDispatch();
30
- var _a = useAppSelector(settingsSelector), data = _a.data, error = _a.error, settingLoading = _a.loading;
31
- var _b = useAppSelector(passwordSelector), customLoading = _b.customLoading, passwordError = _b.error, loading = _b.loading;
32
- useAppConfig(__assign({ navigation: PASSWORD_SCREENS_NAVIGATION }, props));
79
+ var _d = useAppSelector(settingsSelector), data = _d.data, error = _d.error, settingLoading = _d.loading;
80
+ var _e = useAppSelector(passwordSelector), customLoading = _e.customLoading, passwordError = _e.error, loading = _e.loading;
81
+ useAppConfig(__assign({ navigation: PASSWORD_SCREENS_NAVIGATION, disableSettingFetching: props.mode === 'content' ? false : !!verifyToken || !!configToken }, props));
33
82
  useErrorListener(passwordError || error);
34
83
  useStepStartedListener();
35
- var activeScreen = data.activeScreen, isTapOrigin = data.isTapOrigin, open = data.open, merchant = data.merchant, isMaturityExpress = data.isMaturityExpress;
36
- var verifyToken = function () {
37
- var token = getParameterByName('token');
38
- var lang = getParameterByName('lang');
39
- var operationType = getParameterByName('operation_type');
40
- var boardId = getParameterByName('board_id') || '';
41
- var boardInfoId = getParameterByName('board_info_id') || '';
42
- if (lang)
43
- dispatch(handleLanguage(lang));
44
- if (!token)
45
- throw new Error('Auth token is not found!');
46
- sendPageView({
47
- title: 'Password'
48
- });
49
- if (operationType === PASSWORD_OPERATION_TYPE.RESET_PASSWORD) {
50
- dispatch(verifyOperationToken({ token: token, boardId: boardId, boardInfoId: boardInfoId }));
51
- return;
52
- }
53
- dispatch(verifyLeadToken(token));
84
+ var activeScreen = data.activeScreen, isTapOrigin = data.isTapOrigin, open = data.open, merchant = data.merchant, isMaturityExpress = data.isMaturityExpress, featureScreensNavigation = data.featureScreensNavigation, appConfig = data.appConfig;
85
+ var animationDirection = open ? (_b = appConfig.features) === null || _b === void 0 ? void 0 : _b.dialogStartTransition : (_c = appConfig.features) === null || _c === void 0 ? void 0 : _c.dialogEndTransition;
86
+ var handleVerifyToken = function (_a) {
87
+ var token = _a.token, isInternally = _a.isInternally;
88
+ return function () { return __awaiter(void 0, void 0, void 0, function () {
89
+ var operationType, boardId, boardInfoId, userId, userType;
90
+ return __generator(this, function (_a) {
91
+ operationType = getParameterByName('operation_type');
92
+ boardId = getParameterByName('board_id') || '';
93
+ boardInfoId = getParameterByName('board_info_id') || '';
94
+ userId = getParameterByName('user_id') || '';
95
+ userType = getParameterByName('user_type') || '';
96
+ initializeGTM();
97
+ sendPageView({
98
+ title: 'Password'
99
+ });
100
+ if (operationType === PASSWORD_OPERATION_TYPE.RESET_PASSWORD) {
101
+ dispatch(verifyOperationToken({ token: token, boardId: boardId, boardInfoId: boardInfoId, userId: userId, userType: userType }));
102
+ return [2];
103
+ }
104
+ dispatch(verifyLeadToken({ token: token, isInternally: isInternally }));
105
+ return [2];
106
+ });
107
+ }); };
54
108
  };
55
- useEffect(function () {
56
- if (!settingLoading && open)
57
- verifyToken();
58
- }, [settingLoading]);
59
- return (_jsx(ThemeProvider, __assign({ theme: theme }, { children: _jsx(Background, __assign({ open: open, isTapOrigin: isTapOrigin, loading: settingLoading || customLoading }, { children: _jsx(AnimationFlow, __assign({ pointerEvents: loading ? 'none' : 'auto', isTapOrigin: isTapOrigin, loading: settingLoading || customLoading, error: error, open: open, breakpoint: 'sm', screenId: activeScreen.name, merchantInfo: merchant, isMaturityExpress: isMaturityExpress }, { children: _jsx(FeatureContainer, __assign({ isMaturityExpress: isMaturityExpress }, { children: passwordFeatureScreens.map(function (_a, index) {
109
+ useVerifyToken({
110
+ verify: handleVerifyToken,
111
+ loadingScreenName: 'PASSWORD_LOADING_DATA_STEP',
112
+ navigation: featureScreensNavigation,
113
+ open: open,
114
+ mode: props.mode,
115
+ internalToken: verifyToken,
116
+ settingLoading: settingLoading,
117
+ isValidOperator: data.isValidOperator,
118
+ operatorErrorScreenName: 'PASSWORD_OPERATOR_ERROR_STEP'
119
+ });
120
+ var initialLoading = verifyToken && props.mode !== 'content' ? settingLoading : settingLoading || customLoading;
121
+ return (_jsx(ThemeProvider, __assign({ theme: theme }, { children: _jsx(Background, __assign({ mode: props.mode, open: open, isTapOrigin: isTapOrigin, loading: initialLoading }, { children: _jsx(AnimationFlow, __assign({ pointerEvents: loading ? 'none' : 'auto', isTapOrigin: isTapOrigin, animationDirection: animationDirection, loading: initialLoading, error: error, open: open, breakpoint: 'sm', loaderColor: loaderColor, screenId: activeScreen.name, merchantInfo: merchant, isMaturityExpress: isMaturityExpress, type: props.mode === 'content' ? 'CONTENT' : undefined, dialogEdgeFormat: data.appConfig.dialogEdgeFormat, features: appConfig.features }, { children: _jsx(FeatureContainer, __assign({ mode: props.mode, isMaturityExpress: isMaturityExpress }, { children: passwordFeatureScreens.map(function (_a, index) {
60
122
  var Element = _a.element, name = _a.name;
61
123
  var isActive = activeScreen.name === name;
62
124
  return (_jsx(Collapse, __assign({ in: isActive, timeout: { enter: 1000, exit: 800 } }, { children: _jsx(Element, {}) }), index));
@@ -17,7 +17,7 @@ import { yupResolver } from '@hookform/resolvers/yup';
17
17
  import Box from '@mui/material/Box';
18
18
  import { styled } from '@mui/material/styles';
19
19
  import { useAppDispatch, useSetFromDefaultValues } from '../../../../hooks';
20
- import { handleCurrentActiveScreen, handleNextScreenStep } from '../../../../app/settings';
20
+ import { handleNextScreenStep, handlePrevScreenStep, settingsSelector } from '../../../../app/settings';
21
21
  import Form from '../../../../components/Form';
22
22
  import { useLanguage } from '../../../../hooks';
23
23
  import { PASSWORD_OPERATION_TYPE } from '../../../../constants';
@@ -25,7 +25,7 @@ import ScreenContainer from '../../../shared/Containers/ScreenContainer';
25
25
  import Button from '../../../shared/Button';
26
26
  import { PasswordValidation } from './validation';
27
27
  import Password from './Password';
28
- import { createPassword, passwordSelector, storePasswordScreen } from '../../../app/password/passwordStore';
28
+ import { createPassword, passwordSelector, retrieveBoardStatus, storePasswordScreen } from '../../../app/password/passwordStore';
29
29
  import { useSelector } from 'react-redux';
30
30
  import { deepCopy } from '../../../../utils';
31
31
  var InputsContainerStyled = styled(Box)(function (_a) {
@@ -39,6 +39,7 @@ var CreatePassword = function (_a) {
39
39
  var isAr = useLanguage().isAr;
40
40
  var dispatch = useAppDispatch();
41
41
  var _b = useSelector(passwordSelector), data = _b.data, loading = _b.loading, error = _b.error;
42
+ var settingsData = useSelector(settingsSelector).data;
42
43
  var _c = data.verify, operationType = _c.operationType, responseBody = _c.responseBody;
43
44
  var _d = data.passwordData, password = _d.password, confirmPassword = _d.confirmPassword;
44
45
  var flows = (responseBody || {}).flows;
@@ -60,8 +61,13 @@ var CreatePassword = function (_a) {
60
61
  dispatch(createPassword(deepCopy(data)));
61
62
  };
62
63
  var onBack = function () {
63
- dispatch(handleCurrentActiveScreen('PASSWORD_SUCCESS_FOUR_FLOWS_BUTTONS_STEP'));
64
+ if ((flows === null || flows === void 0 ? void 0 : flows.length) > 0) {
65
+ dispatch(handlePrevScreenStep());
66
+ return;
67
+ }
68
+ dispatch(retrieveBoardStatus());
64
69
  };
65
- return (_jsx(ScreenContainer, { children: _jsx(FormProvider, __assign({}, methods, { children: _jsxs(Form, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsx(InputsContainerStyled, { children: _jsx(Password, {}) }), _jsx(Button, __assign({ disableBack: !(flows === null || flows === void 0 ? void 0 : flows.length), onBackClicked: function () { return onBack(); }, isAr: isAr, disabled: !methods.formState.isValid, loading: loading, error: t(error || '') }, { children: t('next') }))] })) })) }));
70
+ var disableBack = settingsData.appConfig.mode === 'content';
71
+ return (_jsx(ScreenContainer, { children: _jsx(FormProvider, __assign({}, methods, { children: _jsxs(Form, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsx(InputsContainerStyled, { children: _jsx(Password, {}) }), _jsx(Button, __assign({ disableBack: disableBack, onBackClicked: function () { return onBack(); }, isAr: isAr, disabled: !methods.formState.isValid, loading: loading, error: t(error || '') }, { children: t('next') }))] })) })) }));
66
72
  };
67
73
  export default React.memo(CreatePassword);
@@ -22,14 +22,13 @@ var __rest = (this && this.__rest) || function (s, e) {
22
22
  };
23
23
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
24
  import * as React from 'react';
25
- import { useAppDispatch, useAppSelector, useSetFromDefaultValues } from '../../../../hooks';
25
+ import { useAppDispatch, useAppSelector, useSetFromDefaultValues, useSanitizedTranslation, useLanguage } from '../../../../hooks';
26
26
  import { useTranslation } from 'react-i18next';
27
27
  import { useForm, FormProvider } from 'react-hook-form';
28
28
  import { yupResolver } from '@hookform/resolvers/yup';
29
29
  import Box from '@mui/material/Box/Box';
30
30
  import { styled } from '@mui/material/styles';
31
31
  import { handlePrevScreenStep } from '../../../../app/settings';
32
- import { useLanguage } from '../../../../hooks';
33
32
  import Form from '../../../../components/Form';
34
33
  import Text from '../../../../components/Text';
35
34
  import { ScreenContainer } from '../../../shared/Containers';
@@ -69,6 +68,7 @@ var OTP = function (_a) {
69
68
  });
70
69
  useSetFromDefaultValues(methods, defaultValues);
71
70
  var t = useTranslation().t;
71
+ var st = useSanitizedTranslation();
72
72
  var isAr = useLanguage().isAr;
73
73
  React.useEffect(function () {
74
74
  if (error)
@@ -83,9 +83,9 @@ var OTP = function (_a) {
83
83
  var onBack = function () {
84
84
  dispatch(handlePrevScreenStep());
85
85
  };
86
- var disabled = !methods.formState.isValid || !!error;
86
+ var disabled = !methods.formState.isValid;
87
87
  var phone = (_c = (_b = data.verify.responseBody) === null || _b === void 0 ? void 0 : _b.auth_info) === null || _c === void 0 ? void 0 : _c.phone;
88
- return (_jsx(ScreenContainer, { children: _jsx(FormProvider, __assign({}, methods, { children: _jsxs(FormStyled, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsx(OTPTitleContainerStyled, { children: _jsxs(OTPTitleStyled, { children: [loading ? t('ide_otp_waiting_title') : t('ide_opt_sent_title'), !loading && _jsx("span", __assign({ dir: 'ltr' }, { children: "".concat(maskPhone(phone || '')) }))] }) }), _jsx(OTPInput, {}), _jsx(Button, __assign({ onBackClicked: function () { return onBack(); }, disabled: disabled, isAr: isAr, loading: loading, error: t(error || '') }, { children: t('next') }))] })) })) }));
88
+ return (_jsx(ScreenContainer, { children: _jsx(FormProvider, __assign({}, methods, { children: _jsxs(FormStyled, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsx(OTPTitleContainerStyled, { children: _jsxs(OTPTitleStyled, { children: [loading ? st('ide_otp_waiting_title') : st('ide_opt_sent_title'), !loading && _jsx("span", __assign({ dir: 'ltr' }, { children: "".concat(maskPhone(phone || '')) }))] }) }), _jsx(OTPInput, {}), _jsx(Button, __assign({ onBackClicked: function () { return onBack(); }, disabled: disabled, isAr: isAr, loading: loading, error: st(error || '') }, { children: st('next') }))] })) })) }));
89
89
  };
90
90
  OTP.defaultProps = {};
91
91
  export default React.memo(OTP);
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ export interface OperatorErrorProps {
3
+ }
4
+ declare const _default: React.MemoExoticComponent<({}: OperatorErrorProps) => JSX.Element>;
5
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import * as React from 'react';
3
+ import { useTranslation } from 'react-i18next';
4
+ import GenericError from '../../../shared/GenericError';
5
+ var OperatorError = function (_a) {
6
+ var t = useTranslation().t;
7
+ return _jsx(GenericError, { error: t('operator_is_invalid'), errorTitle: t('oops') });
8
+ };
9
+ export default React.memo(OperatorError);
@@ -0,0 +1,3 @@
1
+ import OperatorError, { OperatorErrorProps } from './OperatorError';
2
+ export type { OperatorErrorProps };
3
+ export default OperatorError;
@@ -0,0 +1,2 @@
1
+ import OperatorError from './OperatorError';
2
+ export default OperatorError;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const PrepareDataLoading: () => JSX.Element;
3
+ declare const _default: React.MemoExoticComponent<() => JSX.Element>;
4
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { memo } from 'react';
3
+ import { useAppSelector } from '../../../../hooks';
4
+ import DataLoading from '../../../shared/DataLoading';
5
+ import { individualSelector } from '../../../app/individual/individualStore';
6
+ export var PrepareDataLoading = function () {
7
+ var error = useAppSelector(individualSelector).error;
8
+ return _jsx(DataLoading, { error: error });
9
+ };
10
+ export default memo(PrepareDataLoading);
@@ -0,0 +1,2 @@
1
+ import PrepareDataLoading from './PrepareDataLoading';
2
+ export default PrepareDataLoading;
@@ -0,0 +1,2 @@
1
+ import PrepareDataLoading from './PrepareDataLoading';
2
+ export default PrepareDataLoading;
@@ -11,12 +11,20 @@ var __assign = (this && this.__assign) || function () {
11
11
  };
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import { memo } from 'react';
14
- import { useAppSelector } from '../../../../hooks';
15
- import { passwordSelector } from '../../../app/password/passwordStore';
14
+ import { settingsSelector } from '../../../../app/settings';
15
+ import { useAppSelector, useAppDispatch } from '../../../../hooks';
16
+ import { SCOPE_AUTH } from '../../../../constants';
17
+ import { onCloseCompletePassword, passwordSelector } from '../../../app/password/passwordStore';
16
18
  import SuccessFlowButtons from '../../../shared/SuccessFlowButtons';
17
19
  var SuccessWithFlowButtons = function () {
18
- var data = useAppSelector(passwordSelector).data;
19
- var _a = data.verify.responseBody || {}, flows = _a.flows, entity = _a.entity, brand = _a.brand, bank = _a.bank_account, merchant = _a.merchant, user = _a.user, business = _a.business, board_id = _a.board_id, board_info_id = _a.board_info_id, name = _a.name, individuals = _a.individuals;
20
- return (_jsx(SuccessFlowButtons, { flowName: data.flowName, bank: bank, brand: brand, entity: entity, merchant: merchant, user: __assign({ names: { en: name } }, user), business: business, boardId: board_id, boardInfoId: board_info_id, individuals: individuals, flows: flows || [] }));
20
+ var dispatch = useAppDispatch();
21
+ var _a = useAppSelector(passwordSelector), data = _a.data, loading = _a.loading;
22
+ var settingsData = useAppSelector(settingsSelector).data;
23
+ var isScopeAuthentication = settingsData.appConfig.scope === SCOPE_AUTH;
24
+ var _b = data.verify.responseBody || {}, flows = _b.flows, entity = _b.entity, brand = _b.brand, bank = _b.bank_account, merchant = _b.merchant, user = _b.user, business = _b.business, board_id = _b.board_id, board_info_id = _b.board_info_id, name = _b.name, individuals = _b.individuals, recipient = _b.recipient, board_status = _b.board_status;
25
+ var onClose = function () {
26
+ dispatch(onCloseCompletePassword());
27
+ };
28
+ return (_jsx(SuccessFlowButtons, { flowName: data.flowName, loading: loading, bank: bank, brand: brand, entity: entity, merchant: merchant, user: __assign({ names: { en: name } }, user), business: business, boardId: board_id, boardInfoId: board_info_id, individuals: individuals, flows: flows || [], onClose: isScopeAuthentication ? onClose : undefined, recipient: recipient, status: board_status }));
21
29
  };
22
30
  export default memo(SuccessWithFlowButtons);
@@ -17,7 +17,7 @@ import { useForm, FormProvider } from 'react-hook-form';
17
17
  import { yupResolver } from '@hookform/resolvers/yup';
18
18
  import Box from '@mui/material/Box/Box';
19
19
  import { styled } from '@mui/material/styles';
20
- import { useLanguage, useAppSelector } from '../../../../hooks';
20
+ import { useLanguage, useAppSelector, useSanitizedTranslation } from '../../../../hooks';
21
21
  import { deepCopy, maskPhone } from '../../../../utils';
22
22
  import Form from '../../../../components/Form';
23
23
  import Text from '../../../../components/Text';
@@ -46,9 +46,9 @@ var FormStyled = styled(Form)(function () { return ({
46
46
  flexDirection: 'column'
47
47
  }); });
48
48
  var VerifyNumber = function (_a) {
49
- var _b, _c, _d;
49
+ var _b, _c;
50
50
  var dispatch = useAppDispatch();
51
- var _e = useAppSelector(passwordSelector), data = _e.data, loading = _e.loading, error = _e.error;
51
+ var _d = useAppSelector(passwordSelector), data = _d.data, loading = _d.loading, error = _d.error;
52
52
  var otp = data.otpData.otp;
53
53
  var methods = useForm({
54
54
  resolver: yupResolver(OTPValidation),
@@ -59,9 +59,10 @@ var VerifyNumber = function (_a) {
59
59
  });
60
60
  useSetFromDefaultValues(methods, data.otpData);
61
61
  var t = useTranslation().t;
62
+ var st = useSanitizedTranslation();
62
63
  var isAr = useLanguage().isAr;
63
- var _f = React.useState(false), resendLoading = _f[0], setResendLoading = _f[1];
64
- var phone = (_d = (_c = (_b = data.verify.responseBody) === null || _b === void 0 ? void 0 : _b.contact) === null || _c === void 0 ? void 0 : _c.phone) === null || _d === void 0 ? void 0 : _d.number;
64
+ var _e = React.useState(false), resendLoading = _e[0], setResendLoading = _e[1];
65
+ var phone = (_c = (_b = data.verify.responseBody) === null || _b === void 0 ? void 0 : _b.verification_by) === null || _c === void 0 ? void 0 : _c.sent_to;
65
66
  React.useEffect(function () {
66
67
  if (error && methods.formState.isValid && phone)
67
68
  dispatch(clearError());
@@ -72,7 +73,7 @@ var VerifyNumber = function (_a) {
72
73
  var onSubmit = function (formData) {
73
74
  dispatch(verifyPasswordLeadOTP(deepCopy(formData)));
74
75
  };
75
- var disabled = !methods.formState.isValid || !!error || !phone || resendLoading;
76
- return (_jsx(ScreenContainer, { children: _jsx(FormProvider, __assign({}, methods, { children: _jsxs(FormStyled, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsx(OTPTitleContainerStyled, { children: _jsxs(OTPTitleStyled, { children: [loading ? t('ide_otp_waiting_title') : t('ide_opt_sent_title'), !loading && phone && _jsx("span", __assign({ dir: 'ltr' }, { children: "".concat(maskPhone(phone || '')) }))] }) }), _jsx(OTPInput, { loading: resendLoading, setLoading: setResendLoading }), _jsx(Button, __assign({ disableBack: true, disabled: disabled || resendLoading, isAr: isAr, loading: loading, error: t(error || '') }, { children: t('next') }))] })) })) }));
76
+ var disabled = !methods.formState.isValid || !phone || resendLoading;
77
+ return (_jsx(ScreenContainer, { children: _jsx(FormProvider, __assign({}, methods, { children: _jsxs(FormStyled, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsx(OTPTitleContainerStyled, { children: _jsxs(OTPTitleStyled, { children: [loading ? st('ide_otp_waiting_title') : st('ide_opt_sent_title'), !loading && phone && _jsx("span", __assign({ dir: 'ltr' }, { children: "".concat(maskPhone(phone || '')) }))] }) }), _jsx(OTPInput, { loading: resendLoading, setLoading: setResendLoading }), _jsx(Button, __assign({ disableBack: true, disabled: disabled || resendLoading, isAr: isAr, loading: loading, error: st(error || '') }, { children: st('next') }))] })) })) }));
77
78
  };
78
79
  export default React.memo(VerifyNumber);
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { CountryCode } from '../../../@types';
3
3
  export declare const MandatoryStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
4
4
  export declare const InputLabelStyled: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material/styles").Theme> & {
5
- align?: "right" | "left" | "inherit" | "center" | "justify" | undefined;
5
+ align?: "left" | "right" | "inherit" | "center" | "justify" | undefined;
6
6
  children?: React.ReactNode;
7
7
  classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
8
8
  gutterBottom?: boolean | undefined;
@@ -13,7 +13,7 @@ export declare const InputLabelStyled: import("@emotion/styled").StyledComponent
13
13
  variantMapping?: Partial<Record<"button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "subtitle1" | "subtitle2" | "body1" | "body2" | "overline", string>> | undefined;
14
14
  } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof React.HTMLAttributes<HTMLSpanElement>> & {
15
15
  ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
16
- }, keyof import("@mui/material/OverridableComponent").CommonProps | ("border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "children" | "sx" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
16
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | ("left" | "right" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "bottom" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "children" | "sx" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
17
17
  export declare const InputStyled: import("@emotion/styled").StyledComponent<Pick<import("../../../components/Input").InputProps, "name" | "type" | "className" | "style" | "classes" | "color" | "margin" | "translate" | "slot" | "title" | "ref" | "sx" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "disabled" | "error" | "value" | "components" | "componentsProps" | "autoFocus" | "fullWidth" | "required" | "rows" | "inputProps" | "inputRef" | "readOnly" | "autoComplete" | "disableInjectingGlobalStyles" | "endAdornment" | "inputComponent" | "multiline" | "renderSuffix" | "maxRows" | "minRows" | "startAdornment" | "disableUnderline" | "onEnterPressed" | "warningMessage"> & {
18
18
  placeholder?: string | undefined;
19
19
  hide?: boolean | undefined;
@@ -26,11 +26,11 @@ export declare const LabelContainerStyled: import("@emotion/styled").StyledCompo
26
26
  sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
27
27
  } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
28
28
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
29
- }, keyof import("@mui/material/OverridableComponent").CommonProps | ("border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "children" | "component" | "ref" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
29
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | ("left" | "right" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "bottom" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "children" | "component" | "ref" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
30
30
  export declare const CheckIconStyled: import("@emotion/styled").StyledComponent<{
31
31
  children?: React.ReactNode;
32
32
  classes?: Partial<import("@mui/material").SvgIconClasses> | undefined;
33
- color?: "inherit" | "disabled" | "error" | "info" | "success" | "primary" | "secondary" | "action" | "warning" | undefined;
33
+ color?: "inherit" | "disabled" | "error" | "info" | "success" | "action" | "primary" | "secondary" | "warning" | undefined;
34
34
  fontSize?: "small" | "inherit" | "medium" | "large" | undefined;
35
35
  htmlColor?: string | undefined;
36
36
  inheritViewBox?: boolean | undefined;
@@ -38,14 +38,14 @@ export declare const CheckIconStyled: import("@emotion/styled").StyledComponent<
38
38
  sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
39
39
  titleAccess?: string | undefined;
40
40
  viewBox?: string | undefined;
41
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.SVGProps<SVGSVGElement>, "string" | "name" | "type" | "version" | "className" | "style" | "display" | "overflow" | "visibility" | "order" | "color" | "width" | "height" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "clipPath" | "cursor" | "direction" | "filter" | "fontSizeAdjust" | "fontStretch" | "fontVariant" | "imageRendering" | "opacity" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "wordSpacing" | "writingMode" | "mask" | "offset" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "path" | "children" | "key" | "id" | "lang" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "end" | "values" | "local" | "x" | "y" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "origin" | "method" | "operator" | "spacing" | "elevation" | "in" | "max" | "href" | "orientation" | "media" | "target" | "min" | "viewBox" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mode" | "numOctaves" | "orient" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan"> & {
41
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.SVGProps<SVGSVGElement>, "string" | "name" | "type" | "version" | "fr" | "in" | "className" | "style" | "display" | "overflow" | "visibility" | "order" | "color" | "width" | "height" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "clipPath" | "cursor" | "direction" | "filter" | "fontSizeAdjust" | "fontStretch" | "fontVariant" | "imageRendering" | "opacity" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "wordSpacing" | "writingMode" | "mask" | "offset" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "path" | "children" | "key" | "id" | "lang" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "mode" | "end" | "values" | "local" | "x" | "y" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "origin" | "method" | "operator" | "spacing" | "elevation" | "max" | "href" | "orientation" | "media" | "target" | "min" | "viewBox" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "numOctaves" | "orient" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan"> & {
42
42
  ref?: ((instance: SVGSVGElement | null) => void) | React.RefObject<SVGSVGElement> | null | undefined;
43
43
  }, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "fontSize" | "shapeRendering" | "children" | "sx" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
44
44
  interface NameContainerProps {
45
45
  isSelected: boolean;
46
46
  }
47
47
  export declare const NameContainer: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material/styles").Theme> & {
48
- align?: "right" | "left" | "inherit" | "center" | "justify" | undefined;
48
+ align?: "left" | "right" | "inherit" | "center" | "justify" | undefined;
49
49
  children?: React.ReactNode;
50
50
  classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
51
51
  gutterBottom?: boolean | undefined;
@@ -56,7 +56,7 @@ export declare const NameContainer: import("@emotion/styled").StyledComponent<im
56
56
  variantMapping?: Partial<Record<"button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "subtitle1" | "subtitle2" | "body1" | "body2" | "overline", string>> | undefined;
57
57
  } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof React.HTMLAttributes<HTMLSpanElement>> & {
58
58
  ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
59
- }, keyof import("@mui/material/OverridableComponent").CommonProps | ("border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "children" | "sx" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & NameContainerProps, {}, {}>;
59
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | ("left" | "right" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "bottom" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "children" | "sx" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & NameContainerProps, {}, {}>;
60
60
  interface Props {
61
61
  list: CountryCode[];
62
62
  value?: string;