@tap-payments/auth-jsconnect 2.4.26-test → 2.4.28-test

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 (428) hide show
  1. package/build/api/account.js +1 -1
  2. package/build/api/auth.d.ts +1 -1
  3. package/build/api/auth.js +1 -1
  4. package/build/api/availabilityServices.js +1 -1
  5. package/build/api/axios.js +2 -2
  6. package/build/api/board.js +1 -1
  7. package/build/api/brand.d.ts +1 -1
  8. package/build/api/brand.js +1 -1
  9. package/build/api/country.js +1 -1
  10. package/build/api/data.js +1 -1
  11. package/build/api/document.js +1 -1
  12. package/build/api/entity.js +1 -1
  13. package/build/api/file.js +1 -1
  14. package/build/api/firebase.js +1 -1
  15. package/build/api/individual.js +1 -1
  16. package/build/api/init.js +1 -1
  17. package/build/api/lead.d.ts +1 -1
  18. package/build/api/lead.js +1 -1
  19. package/build/api/location.js +1 -1
  20. package/build/api/operator.js +1 -1
  21. package/build/api/user.js +1 -1
  22. package/build/app/rootReducer.d.ts +10 -10
  23. package/build/app/rootReducer.js +10 -10
  24. package/build/app/settings.d.ts +2 -2
  25. package/build/app/settings.js +5 -5
  26. package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -1
  27. package/build/components/AnimationFlow/AnimationFlow.js +1 -1
  28. package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
  29. package/build/components/AnimationFlow/BottomSheet.js +3 -3
  30. package/build/components/AnimationFlow/Dialog.d.ts +1 -1
  31. package/build/components/AnimationFlow/Dialog.js +4 -4
  32. package/build/components/ArabicDatePicker/ArabicDatePicker.js +2 -2
  33. package/build/components/DatePicker/DatePicker.js +3 -3
  34. package/build/components/FileInput/DragAndDrop.js +6 -6
  35. package/build/components/FileInput/UploadInput.js +2 -2
  36. package/build/components/Footer/Footer.js +3 -3
  37. package/build/components/Input/Input.js +2 -2
  38. package/build/components/OTPTimer/OTPTimer.js +1 -1
  39. package/build/components/Providers/ThemeProvider.d.ts +1 -1
  40. package/build/components/SimpleList/SimpleList.js +2 -2
  41. package/build/components/Tooltip/Tooltip.js +2 -2
  42. package/build/constants/app.d.ts +1 -1
  43. package/build/constants/app.js +1 -1
  44. package/build/features/app/bank/bankStore.d.ts +2 -2
  45. package/build/features/app/bank/bankStore.js +5 -5
  46. package/build/features/app/brand/brandStore.d.ts +2 -2
  47. package/build/features/app/brand/brandStore.js +5 -5
  48. package/build/features/app/business/businessStore.d.ts +2 -2
  49. package/build/features/app/business/businessStore.js +5 -5
  50. package/build/features/app/connect/connectStore.d.ts +2 -2
  51. package/build/features/app/connect/connectStore.js +5 -5
  52. package/build/features/app/connectExpress/connectExpressStore.d.ts +2 -2
  53. package/build/features/app/connectExpress/connectExpressStore.js +6 -6
  54. package/build/features/app/entity/entityStore.d.ts +2 -2
  55. package/build/features/app/entity/entityStore.js +5 -5
  56. package/build/features/app/individual/individualStore.js +106 -90
  57. package/build/features/app/password/passwordStore.d.ts +2 -2
  58. package/build/features/app/password/passwordStore.js +4 -4
  59. package/build/features/app/signIn/signInStore.d.ts +2 -2
  60. package/build/features/app/signIn/signInStore.js +3 -3
  61. package/build/features/app/tax/taxStore.d.ts +2 -2
  62. package/build/features/app/tax/taxStore.js +5 -5
  63. package/build/features/bank/Bank.d.ts +1 -1
  64. package/build/features/bank/Bank.js +10 -10
  65. package/build/features/bank/screens/BankDetails/BankDetails.js +9 -9
  66. package/build/features/bank/screens/BankDetails/BankName.js +8 -8
  67. package/build/features/bank/screens/BankDetails/BankStatement.d.ts +1 -1
  68. package/build/features/bank/screens/BankDetails/BankStatement.js +6 -6
  69. package/build/features/bank/screens/BankDetails/Beneficiary.js +6 -6
  70. package/build/features/bank/screens/BankDetails/ConfirmPolicy.js +5 -5
  71. package/build/features/bank/screens/BankDetails/IBAN.js +10 -10
  72. package/build/features/bank/screens/BankDetails/validation.js +1 -1
  73. package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
  74. package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
  75. package/build/features/bank/screens/Success/Success.js +3 -3
  76. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
  77. package/build/features/bank/screens/Verify/OTPInput.js +5 -5
  78. package/build/features/bank/screens/Verify/Verify.js +8 -8
  79. package/build/features/brand/Brand.d.ts +1 -1
  80. package/build/features/brand/Brand.js +10 -10
  81. package/build/features/brand/screens/BrandActivities/ActivitiesList.js +12 -12
  82. package/build/features/brand/screens/BrandActivities/BrandActivities.js +7 -7
  83. package/build/features/brand/screens/BrandActivities/CustomerBase.js +11 -11
  84. package/build/features/brand/screens/BrandActivities/ExpectedCustomers.js +8 -8
  85. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +12 -12
  86. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +1 -1
  87. package/build/features/brand/screens/BrandActivities/RefundPolicy.js +10 -10
  88. package/build/features/brand/screens/BrandActivities/TAC.js +10 -10
  89. package/build/features/brand/screens/BrandActivities/TransactionPolicy.js +8 -8
  90. package/build/features/brand/screens/BrandInfo/BrandInfo.js +9 -9
  91. package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +1 -1
  92. package/build/features/brand/screens/BrandInfo/BrandLogo.js +7 -7
  93. package/build/features/brand/screens/BrandInfo/BrandName.js +9 -9
  94. package/build/features/brand/screens/BrandInfo/SalesChannels.js +4 -4
  95. package/build/features/brand/screens/BrandInfo/Segments.js +9 -9
  96. package/build/features/brand/screens/BrandInfo/TeamSize.js +9 -9
  97. package/build/features/brand/screens/BrandInfo/validation.js +1 -1
  98. package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
  99. package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
  100. package/build/features/brand/screens/Success/Success.js +3 -3
  101. package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
  102. package/build/features/brand/screens/Verify/OTPInput.js +5 -5
  103. package/build/features/brand/screens/Verify/Verify.js +8 -8
  104. package/build/features/business/Business.d.ts +1 -1
  105. package/build/features/business/Business.js +10 -10
  106. package/build/features/business/screens/Activities/Activities.js +7 -7
  107. package/build/features/business/screens/Activities/ActivitiesList.js +12 -12
  108. package/build/features/business/screens/Activities/LicenseName.js +6 -6
  109. package/build/features/business/screens/Activities/OperationStartDate.js +5 -5
  110. package/build/features/business/screens/BrandDetails/BrandDetails.js +7 -7
  111. package/build/features/business/screens/BrandDetails/BrandName.js +4 -4
  112. package/build/features/business/screens/BrandDetails/Header.js +5 -5
  113. package/build/features/business/screens/BrandDetails/LicenseInfo.js +4 -4
  114. package/build/features/business/screens/BrandDetails/SalesChannel.js +5 -5
  115. package/build/features/business/screens/BusinessType/Article.d.ts +1 -1
  116. package/build/features/business/screens/BusinessType/Article.js +7 -7
  117. package/build/features/business/screens/BusinessType/BusinessType.js +10 -10
  118. package/build/features/business/screens/BusinessType/EntityLicenseList.js +13 -13
  119. package/build/features/business/screens/BusinessType/EntityName.js +6 -6
  120. package/build/features/business/screens/BusinessType/LicenseCertificate.js +7 -7
  121. package/build/features/business/screens/BusinessType/LicenseList.js +13 -13
  122. package/build/features/business/screens/BusinessType/LicenseNumber.js +10 -10
  123. package/build/features/business/screens/BusinessType/LicenseType.js +14 -14
  124. package/build/features/business/screens/BusinessType/SelectType.js +6 -6
  125. package/build/features/business/screens/BusinessType/validation.js +2 -2
  126. package/build/features/business/screens/CivilID/CivilID.js +6 -6
  127. package/build/features/business/screens/CivilID/IDNumber.js +6 -6
  128. package/build/features/business/screens/Customers/CustomerLocations.js +11 -11
  129. package/build/features/business/screens/Customers/Customers.js +8 -8
  130. package/build/features/business/screens/Customers/ExpectedCustomers.js +9 -9
  131. package/build/features/business/screens/Customers/ExpectedSalesRange.js +11 -11
  132. package/build/features/business/screens/Customers/RefundPolicy.d.ts +1 -1
  133. package/build/features/business/screens/Customers/RefundPolicy.js +10 -10
  134. package/build/features/business/screens/Customers/TransactionPolicy.js +7 -7
  135. package/build/features/business/screens/IDBOD/DOB.js +5 -5
  136. package/build/features/business/screens/IDBOD/ID.js +5 -5
  137. package/build/features/business/screens/IDBOD/IDBOD.js +6 -6
  138. package/build/features/business/screens/OTP/OTP.js +9 -9
  139. package/build/features/business/screens/OTP/OTPInput.js +4 -4
  140. package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
  141. package/build/features/business/screens/Success/Success.js +3 -3
  142. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
  143. package/build/features/business/screens/Verify/OTPInput.js +5 -5
  144. package/build/features/business/screens/Verify/Verify.js +9 -9
  145. package/build/features/business/screens/VerifyPACI/VerifyPACI.js +4 -4
  146. package/build/features/connect/Connect.d.ts +1 -1
  147. package/build/features/connect/Connect.js +10 -10
  148. package/build/features/connect/screens/CivilID/CivilID.js +8 -8
  149. package/build/features/connect/screens/CivilID/IDNumber.js +6 -6
  150. package/build/features/connect/screens/Individual/Email.js +6 -6
  151. package/build/features/connect/screens/Individual/Individual.js +11 -11
  152. package/build/features/connect/screens/Individual/MobileNumber.d.ts +1 -1
  153. package/build/features/connect/screens/Individual/MobileNumber.js +12 -12
  154. package/build/features/connect/screens/Individual/Name.js +5 -5
  155. package/build/features/connect/screens/Individual/validation.js +1 -1
  156. package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
  157. package/build/features/connect/screens/Merchant/BrandList.js +10 -10
  158. package/build/features/connect/screens/Merchant/BrandName.js +8 -8
  159. package/build/features/connect/screens/Merchant/Merchant.js +8 -8
  160. package/build/features/connect/screens/Merchant/SalesChannels.js +4 -4
  161. package/build/features/connect/screens/Merchant/Segments.js +9 -9
  162. package/build/features/connect/screens/Merchant/TAC.js +9 -9
  163. package/build/features/connect/screens/Merchant/TeamSize.js +9 -9
  164. package/build/features/connect/screens/Merchant/validation.js +1 -1
  165. package/build/features/connect/screens/Mobile/Mobile.js +11 -11
  166. package/build/features/connect/screens/Mobile/MobileNumber.d.ts +1 -1
  167. package/build/features/connect/screens/Mobile/MobileNumber.js +12 -12
  168. package/build/features/connect/screens/Mobile/Title.js +2 -2
  169. package/build/features/connect/screens/NID/DOB.js +5 -5
  170. package/build/features/connect/screens/NID/IDNumber.js +7 -7
  171. package/build/features/connect/screens/NID/NID.js +8 -8
  172. package/build/features/connect/screens/OTP/OTP.js +10 -10
  173. package/build/features/connect/screens/OTP/OTPInput.js +5 -5
  174. package/build/features/connect/screens/ThankYou/ThankYou.js +4 -4
  175. package/build/features/connect/screens/VerifyPACI/VerifyPACI.js +5 -5
  176. package/build/features/connectExpress/ConnectExpress.d.ts +1 -1
  177. package/build/features/connectExpress/ConnectExpress.js +10 -10
  178. package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.js +3 -3
  179. package/build/features/connectExpress/screens/Brand/Brand.js +9 -9
  180. package/build/features/connectExpress/screens/CivilID/CivilID.js +8 -8
  181. package/build/features/connectExpress/screens/CivilID/IDNumber.js +6 -6
  182. package/build/features/connectExpress/screens/CivilIDMissed/CivilID.js +6 -6
  183. package/build/features/connectExpress/screens/CivilIDMissed/IDNumber.js +6 -6
  184. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +8 -8
  185. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +8 -8
  186. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +13 -13
  187. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +10 -10
  188. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.js +12 -12
  189. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.js +8 -8
  190. package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +2 -2
  191. package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +11 -11
  192. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +6 -6
  193. package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.d.ts +1 -1
  194. package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.js +11 -11
  195. package/build/features/connectExpress/screens/CollectIndividualInfo/Name.js +5 -5
  196. package/build/features/connectExpress/screens/CollectIndividualInfo/validation.js +1 -1
  197. package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.js +5 -5
  198. package/build/features/connectExpress/screens/IdentityOTP/OTP.js +10 -10
  199. package/build/features/connectExpress/screens/IdentityOTP/OTPInput.js +5 -5
  200. package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.js +4 -4
  201. package/build/features/connectExpress/screens/Mobile/Mobile.js +10 -10
  202. package/build/features/connectExpress/screens/Mobile/MobileNumber.d.ts +1 -1
  203. package/build/features/connectExpress/screens/Mobile/MobileNumber.js +12 -12
  204. package/build/features/connectExpress/screens/Mobile/TAC.js +8 -8
  205. package/build/features/connectExpress/screens/Mobile/Title.js +2 -2
  206. package/build/features/connectExpress/screens/NID/DOB.js +5 -5
  207. package/build/features/connectExpress/screens/NID/IDNumber.js +9 -9
  208. package/build/features/connectExpress/screens/NID/NID.js +8 -8
  209. package/build/features/connectExpress/screens/NID/TAC.js +8 -8
  210. package/build/features/connectExpress/screens/NIDMissed/DOB.js +5 -5
  211. package/build/features/connectExpress/screens/NIDMissed/IDNumber.js +7 -7
  212. package/build/features/connectExpress/screens/NIDMissed/NID.js +7 -7
  213. package/build/features/connectExpress/screens/OTP/OTP.js +10 -10
  214. package/build/features/connectExpress/screens/OTP/OTPInput.js +5 -5
  215. package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +4 -4
  216. package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.js +4 -4
  217. package/build/features/entity/Entity.d.ts +1 -1
  218. package/build/features/entity/Entity.js +10 -10
  219. package/build/features/entity/screens/EntityCapital/ActivityList.js +12 -12
  220. package/build/features/entity/screens/EntityCapital/CapitalPaid.js +7 -7
  221. package/build/features/entity/screens/EntityCapital/CapitalShareCount.js +6 -6
  222. package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +7 -7
  223. package/build/features/entity/screens/EntityCapital/EntityCapital.js +7 -7
  224. package/build/features/entity/screens/EntityName/Article.d.ts +1 -1
  225. package/build/features/entity/screens/EntityName/Article.js +7 -7
  226. package/build/features/entity/screens/EntityName/EntityName.js +9 -9
  227. package/build/features/entity/screens/EntityName/EntityTypeList.js +12 -12
  228. package/build/features/entity/screens/EntityName/ExpiryDate.js +6 -6
  229. package/build/features/entity/screens/EntityName/IssuingDate.js +5 -5
  230. package/build/features/entity/screens/EntityName/LegalName.js +6 -6
  231. package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +1 -1
  232. package/build/features/entity/screens/EntityName/LicenseCertificate.js +8 -8
  233. package/build/features/entity/screens/EntityName/LicenseNumber.js +10 -10
  234. package/build/features/entity/screens/EntityName/UnifiedNumber.js +7 -7
  235. package/build/features/entity/screens/EntityName/validation.js +2 -2
  236. package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
  237. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
  238. package/build/features/entity/screens/Success/Success.js +3 -3
  239. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
  240. package/build/features/entity/screens/Verify/OTPInput.js +5 -5
  241. package/build/features/entity/screens/Verify/Verify.js +8 -8
  242. package/build/features/featuresScreens.d.ts +1 -1
  243. package/build/features/featuresScreens.js +79 -79
  244. package/build/features/individual/Individual.d.ts +1 -1
  245. package/build/features/individual/Individual.js +10 -10
  246. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +11 -11
  247. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +1 -1
  248. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.js +8 -8
  249. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +10 -10
  250. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
  251. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +11 -11
  252. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -1
  253. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +9 -9
  254. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +10 -10
  255. package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.js +6 -6
  256. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +7 -7
  257. package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +1 -1
  258. package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.js +8 -8
  259. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
  260. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +10 -10
  261. package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +1 -1
  262. package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +1 -1
  263. package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
  264. package/build/features/individual/screens/IndividualList/CollectPhoneEmail.js +3 -3
  265. package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
  266. package/build/features/individual/screens/IndividualList/Email.js +8 -8
  267. package/build/features/individual/screens/IndividualList/IndividualList.js +8 -8
  268. package/build/features/individual/screens/IndividualList/MobileNumber.d.ts +1 -1
  269. package/build/features/individual/screens/IndividualList/MobileNumber.js +11 -11
  270. package/build/features/individual/screens/IndividualList/UserList.js +11 -11
  271. package/build/features/individual/screens/IndividualList/validation.d.ts +1 -1
  272. package/build/features/individual/screens/IndividualList/validation.js +1 -1
  273. package/build/features/individual/screens/IndividualPersonalInfo/BirthCity.js +9 -9
  274. package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.d.ts +1 -1
  275. package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.js +8 -8
  276. package/build/features/individual/screens/IndividualPersonalInfo/DOB.js +6 -6
  277. package/build/features/individual/screens/IndividualPersonalInfo/Email.js +4 -4
  278. package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.js +7 -7
  279. package/build/features/individual/screens/IndividualPersonalInfo/Gender.js +8 -8
  280. package/build/features/individual/screens/IndividualPersonalInfo/ID.js +6 -6
  281. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +9 -9
  282. package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.d.ts +1 -1
  283. package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.js +8 -8
  284. package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.d.ts +1 -1
  285. package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +10 -10
  286. package/build/features/individual/screens/IndividualPersonalInfo/Name.js +5 -5
  287. package/build/features/individual/screens/IndividualPersonalInfo/Nationality.d.ts +1 -1
  288. package/build/features/individual/screens/IndividualPersonalInfo/Nationality.js +8 -8
  289. package/build/features/individual/screens/IndividualPersonalInfo/validation.js +1 -1
  290. package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.d.ts +1 -1
  291. package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.js +11 -11
  292. package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.js +8 -8
  293. package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
  294. package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
  295. package/build/features/individual/screens/Success/Success.js +3 -3
  296. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
  297. package/build/features/individual/screens/Verify/OTPInput.js +5 -5
  298. package/build/features/individual/screens/Verify/Verify.js +8 -8
  299. package/build/features/password/Password.d.ts +1 -1
  300. package/build/features/password/Password.js +10 -10
  301. package/build/features/password/screens/CreatePassword/ConditionText.js +1 -1
  302. package/build/features/password/screens/CreatePassword/ConfirmPassword.js +3 -3
  303. package/build/features/password/screens/CreatePassword/CreatePassword.js +8 -8
  304. package/build/features/password/screens/CreatePassword/Password.js +6 -6
  305. package/build/features/password/screens/OTP/OTP.js +9 -9
  306. package/build/features/password/screens/OTP/OTPInput.js +4 -4
  307. package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
  308. package/build/features/password/screens/Success/Success.js +4 -4
  309. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
  310. package/build/features/password/screens/Verify/OTPInput.js +5 -5
  311. package/build/features/password/screens/Verify/Verify.js +8 -8
  312. package/build/features/shared/AcceptancePayouts/AcceptancePayouts.js +4 -4
  313. package/build/features/shared/Address/Address.d.ts +1 -1
  314. package/build/features/shared/Address/Address.js +2 -2
  315. package/build/features/shared/Address/CountryList.d.ts +2 -2
  316. package/build/features/shared/Address/CountryList.js +7 -7
  317. package/build/features/shared/Address/InputSelect.d.ts +1 -1
  318. package/build/features/shared/Address/InputSelect.js +7 -7
  319. package/build/features/shared/Background/Background.js +2 -2
  320. package/build/features/shared/Background/LogoBackground.js +3 -3
  321. package/build/features/shared/Button/AbsherButton.d.ts +1 -1
  322. package/build/features/shared/Button/AbsherButton.js +3 -3
  323. package/build/features/shared/Button/Button.d.ts +1 -1
  324. package/build/features/shared/Button/Button.js +7 -7
  325. package/build/features/shared/Button/EmailProvidersButtons.d.ts +1 -1
  326. package/build/features/shared/Button/EmailProvidersButtons.js +3 -3
  327. package/build/features/shared/Button/FlowsButtons.d.ts +2 -2
  328. package/build/features/shared/Button/FlowsButtons.js +7 -7
  329. package/build/features/shared/Button/IndividualActionButtons.d.ts +1 -1
  330. package/build/features/shared/Button/IndividualActionButtons.js +6 -6
  331. package/build/features/shared/Button/MobileButton.d.ts +1 -1
  332. package/build/features/shared/Button/MobileButton.js +3 -3
  333. package/build/features/shared/CreateAccountLoading/CreateAccountLoading.js +4 -4
  334. package/build/features/shared/DataLoading/DataLoading.js +4 -4
  335. package/build/features/shared/Dialog/CloseDialog.js +2 -2
  336. package/build/features/shared/Dialog/DialogContainer.js +2 -2
  337. package/build/features/shared/Dot/Dot.js +2 -2
  338. package/build/features/shared/EndAdornment/EndAdornment.js +2 -2
  339. package/build/features/shared/EndAdornment/EndAdornmentExpanded.js +2 -2
  340. package/build/features/shared/Footer/Footer.js +4 -4
  341. package/build/features/shared/Footer/PoweredByFooter.js +3 -3
  342. package/build/features/shared/GenericError/GenericError.js +4 -4
  343. package/build/features/shared/Input/Input.d.ts +1 -1
  344. package/build/features/shared/Input/Input.js +2 -2
  345. package/build/features/shared/OTP/OTP.d.ts +1 -1
  346. package/build/features/shared/OTP/OTP.js +3 -3
  347. package/build/features/shared/PaciVerification/PaciVerification.js +5 -5
  348. package/build/features/shared/PaciVerification/VerifyPACILoading.js +3 -3
  349. package/build/features/shared/PaciVerification/VerifyPACISuccess.js +1 -1
  350. package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +1 -1
  351. package/build/features/shared/SalesChannels/SaleChannelIconsInput.js +9 -9
  352. package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
  353. package/build/features/shared/SalesChannels/SalesChannel.js +6 -6
  354. package/build/features/shared/Search/Search.js +1 -1
  355. package/build/features/shared/SearchIcon/SearchIcon.js +2 -2
  356. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
  357. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +6 -6
  358. package/build/features/shared/SuccessScreen/SuccessScreen.js +6 -6
  359. package/build/features/shared/UploadFile/FileUpload.d.ts +1 -1
  360. package/build/features/shared/UploadFile/FileUpload.js +8 -8
  361. package/build/features/shared/UploadFile/UploadFile.js +10 -10
  362. package/build/features/shared/UploadFile/UploadWrapper.d.ts +2 -2
  363. package/build/features/shared/UploadFile/UploadWrapper.js +7 -7
  364. package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +1 -1
  365. package/build/features/shared/UploadMultipleFile/UploadFile.js +8 -8
  366. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +2 -2
  367. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.js +7 -7
  368. package/build/features/signIn/SignIn.d.ts +1 -1
  369. package/build/features/signIn/SignIn.js +10 -10
  370. package/build/features/signIn/screens/Email/Email.js +8 -8
  371. package/build/features/signIn/screens/Email/EmailField.js +5 -5
  372. package/build/features/signIn/screens/Email/validation.js +1 -1
  373. package/build/features/signIn/screens/Mobile/Mobile.js +9 -9
  374. package/build/features/signIn/screens/Mobile/MobileNumber.d.ts +1 -1
  375. package/build/features/signIn/screens/Mobile/MobileNumber.js +12 -12
  376. package/build/features/signIn/screens/OTP/OTP.js +9 -9
  377. package/build/features/signIn/screens/OTP/OTPInput.js +4 -4
  378. package/build/features/signIn/screens/Password/Password.js +7 -7
  379. package/build/features/signIn/screens/Password/PasswordInput.js +3 -3
  380. package/build/features/tax/Tax.d.ts +1 -1
  381. package/build/features/tax/Tax.js +10 -10
  382. package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
  383. package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
  384. package/build/features/tax/screens/Success/Success.js +3 -3
  385. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
  386. package/build/features/tax/screens/TaxDetails/ConfirmPolicy.js +5 -5
  387. package/build/features/tax/screens/TaxDetails/TaxDetails.js +8 -8
  388. package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +1 -1
  389. package/build/features/tax/screens/TaxDetails/TaxDocument.js +8 -8
  390. package/build/features/tax/screens/TaxDetails/VATId.js +6 -6
  391. package/build/features/tax/screens/Verify/OTPInput.js +5 -5
  392. package/build/features/tax/screens/Verify/Verify.js +8 -8
  393. package/build/hooks/useAppConfig.d.ts +1 -1
  394. package/build/hooks/useAppConfig.js +4 -4
  395. package/build/hooks/useAppSelector.d.ts +1 -1
  396. package/build/hooks/useAppTheme.d.ts +1 -1
  397. package/build/hooks/useAppTheme.js +3 -3
  398. package/build/hooks/useCountry.js +1 -1
  399. package/build/hooks/useDataNoneEditable.d.ts +1 -1
  400. package/build/hooks/useDataNoneEditable.js +1 -1
  401. package/build/hooks/useDataVerified.d.ts +1 -1
  402. package/build/hooks/useDataVerified.js +1 -1
  403. package/build/hooks/useErrorListener.js +1 -1
  404. package/build/hooks/useExcludeReadOnlyFelids.js +1 -1
  405. package/build/hooks/useFormReadOnly.js +1 -1
  406. package/build/hooks/useLanguage.js +1 -1
  407. package/build/hooks/useRedirectionListener.js +1 -1
  408. package/build/hooks/useScreen.js +1 -1
  409. package/build/hooks/useStepStartedListener.js +1 -1
  410. package/build/hooks/useVerifyToken.d.ts +1 -1
  411. package/build/hooks/useVerifyToken.js +2 -2
  412. package/build/i18n.js +1 -1
  413. package/build/index.d.ts +10 -10
  414. package/build/index.js +10 -10
  415. package/build/theme/theme.d.ts +1 -1
  416. package/build/utils/array.d.ts +4 -3
  417. package/build/utils/array.js +6 -1
  418. package/build/utils/locale.d.ts +1 -1
  419. package/build/utils/locale.js +1 -1
  420. package/build/utils/object.js +1 -1
  421. package/build/utils/rsa.js +1 -1
  422. package/build/utils/string.d.ts +1 -1
  423. package/build/utils/string.js +4 -4
  424. package/package.json +1 -1
  425. package/build/components/ArabicDatePicker/style.css +0 -24
  426. package/build/components/DatePicker/customStyle.css +0 -86
  427. package/build/features/app/individual/individualStore.d.ts +0 -146
  428. package/build/index.css +0 -140
@@ -23,17 +23,17 @@ var __rest = (this && this.__rest) || function (s, e) {
23
23
  import { jsx as _jsx } from "react/jsx-runtime";
24
24
  import { memo } from 'react';
25
25
  import { createRoot } from 'react-dom/client';
26
- import { useAppTheme, useAppSelector, useAppConfig, useErrorListener, useStepStartedListener, useVerifyToken } from '../../hooks';
27
- import { settingsSelector } from '../../app/settings';
28
- import AnimationFlow from '../../components/AnimationFlow';
29
- import { store } from '../../app/store';
30
- import { ReduxProvider, ThemeProvider } from '../../components/Providers';
31
- import Collapse from '../../components/Collapse';
32
- import { findOrCreateElementAndInject } from '../../utils';
33
- import { FeatureContainer } from '../shared/Containers';
34
- import { TAX_SCREENS_NAVIGATION } from '../../constants';
26
+ import { useAppTheme, useAppSelector, useAppConfig, useErrorListener, useStepStartedListener, useVerifyToken } from '@hooks';
27
+ import { settingsSelector } from '@app/settings';
28
+ import AnimationFlow from '@components/AnimationFlow';
29
+ import { store } from '@app/store';
30
+ import { ReduxProvider, ThemeProvider } from '@components/Providers';
31
+ import Collapse from '@components/Collapse';
32
+ import { findOrCreateElementAndInject } from '@utils';
33
+ import { FeatureContainer } from '@features/shared/Containers';
34
+ import { TAX_SCREENS_NAVIGATION } from '@constants';
35
35
  import { taxFeatureScreens } from '../featuresScreens';
36
- import { taxSelector, verifyLeadToken } from '../app/tax/taxStore';
36
+ import { taxSelector, verifyLeadToken } from '@features/app/tax/taxStore';
37
37
  import Background from '../shared/Background';
38
38
  var Tax = memo(function (_a) {
39
39
  var verifyToken = _a.verifyToken, props = __rest(_a, ["verifyToken"]);
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { memo } from 'react';
3
- import { useAppSelector } from '../../../../hooks';
4
- import DataLoading from '../../../shared/DataLoading';
5
- import { taxSelector } from '../../../app/tax/taxStore';
3
+ import { useAppSelector } from '@hooks';
4
+ import DataLoading from '@features/shared/DataLoading';
5
+ import { taxSelector } from '@features/app/tax/taxStore';
6
6
  export var PrepareDataLoading = function () {
7
7
  var error = useAppSelector(taxSelector).error;
8
8
  return _jsx(DataLoading, { error: error });
@@ -1,11 +1,11 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import * as React from 'react';
3
3
  import { Trans, useTranslation } from 'react-i18next';
4
- import { handlePrevScreenStep } from '../../../../app/settings';
5
- import SuccessScreen from '../../../shared/SuccessScreen';
6
- import { useAppSelector, useAppDispatch } from '../../../../hooks';
7
- import { maskEmail } from '../../../../utils';
8
- import { taxSelector } from '../../../app/tax/taxStore';
4
+ import { handlePrevScreenStep } from '@app/settings';
5
+ import SuccessScreen from '@features/shared/SuccessScreen';
6
+ import { useAppSelector, useAppDispatch } from '@hooks';
7
+ import { maskEmail } from '@utils';
8
+ import { taxSelector } from '@features/app/tax/taxStore';
9
9
  var ResetPasswordSuccess = function (_a) {
10
10
  var _b, _c;
11
11
  var t = useTranslation().t;
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import * as React from 'react';
3
3
  import { useTranslation } from 'react-i18next';
4
- import { useAppDispatch, useAppSelector } from '../../../../hooks';
5
- import { updateLeadSuccess, taxSelector } from '../../../app/tax/taxStore';
6
- import SuccessScreen from '../../../shared/SuccessScreen';
4
+ import { useAppDispatch, useAppSelector } from '@hooks';
5
+ import { updateLeadSuccess, taxSelector } from '@features/app/tax/taxStore';
6
+ import SuccessScreen from '@features/shared/SuccessScreen';
7
7
  var Success = function (_a) {
8
8
  var t = useTranslation().t;
9
9
  var dispatch = useAppDispatch();
@@ -11,9 +11,9 @@ 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 { taxSelector } from '../../../app/tax/taxStore';
16
- import SuccessFlowButtons from '../../../shared/SuccessFlowButtons';
14
+ import { useAppSelector } from '@hooks';
15
+ import { taxSelector } from '@features/app/tax/taxStore';
16
+ import SuccessFlowButtons from '@features/shared/SuccessFlowButtons';
17
17
  var SuccessWithFlowButtons = function () {
18
18
  var data = useAppSelector(taxSelector).data;
19
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;
@@ -13,12 +13,12 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
13
  import { useTranslation } from 'react-i18next';
14
14
  import { useController, useFormContext } from 'react-hook-form';
15
15
  import { styled, alpha } from '@mui/material/styles';
16
- import { ScreenContainer } from '../../../shared/Containers';
16
+ import { ScreenContainer } from '@features/shared/Containers';
17
17
  import Box from '@mui/material/Box';
18
- import CheckBox from '../../../../components/CheckBox';
19
- import Text from '../../../../components/Text';
20
- import Warning from '../../../../components/Warning';
21
- import Collapse from '../../../../components/Collapse';
18
+ import CheckBox from '@components/CheckBox';
19
+ import Text from '@components/Text';
20
+ import Warning from '@components/Warning';
21
+ import Collapse from '@components/Collapse';
22
22
  var ConfirmContainerStyled = styled(Box, { shouldForwardProp: function (prop) { return prop !== 'readOnly'; } })(function (_a) {
23
23
  var theme = _a.theme, readOnly = _a.readOnly;
24
24
  return (__assign({ display: 'flex', flexDirection: 'row', alignItems: 'center', padding: theme.spacing(0, 2.5, 0, 2.5) }, (readOnly && {
@@ -15,14 +15,14 @@ import { useTranslation } from 'react-i18next';
15
15
  import { useForm, FormProvider } from 'react-hook-form';
16
16
  import { yupResolver } from '@hookform/resolvers/yup';
17
17
  import { styled } from '@mui/material/styles';
18
- import Form from '../../../../components/Form';
19
- import { useAppDispatch, useLanguage, useAppSelector, useSetFromDefaultValues, useFormReadOnly, useDataNoneEditable, useFormErrorAndUpdateReadOnly, useExcludeReadOnlyFelids, useDataVerified } from '../../../../hooks';
20
- import { handlePrevScreenStep, settingsSelector } from '../../../../app/settings';
21
- import { DocumentPurpose } from '../../../../@types';
22
- import { getFileDetailsFromDocument, isSA } from '../../../../utils';
23
- import { ScreenContainer } from '../../../shared/Containers';
24
- import Button from '../../../shared/Button';
25
- import { retrieveBoardStatus, taxSelector, updateTaxInfo } from '../../../app/tax/taxStore';
18
+ import Form from '@components/Form';
19
+ import { useAppDispatch, useLanguage, useAppSelector, useSetFromDefaultValues, useFormReadOnly, useDataNoneEditable, useFormErrorAndUpdateReadOnly, useExcludeReadOnlyFelids, useDataVerified } from '@hooks';
20
+ import { handlePrevScreenStep, settingsSelector } from '@app/settings';
21
+ import { DocumentPurpose } from '@types';
22
+ import { getFileDetailsFromDocument, isSA } from '@utils';
23
+ import { ScreenContainer } from '@features/shared/Containers';
24
+ import Button from '@features/shared/Button';
25
+ import { retrieveBoardStatus, taxSelector, updateTaxInfo } from '@features/app/tax/taxStore';
26
26
  import { Validation } from './validation';
27
27
  import VATId from './VATId';
28
28
  import ConfirmPolicy from './ConfirmPolicy';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { FileDetails } from '../../../../@types';
2
+ import { FileDetails } from '@types';
3
3
  interface TaxDocumentProps {
4
4
  show: boolean;
5
5
  readOnly?: boolean;
@@ -13,15 +13,15 @@ import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import React from 'react';
14
14
  import { useTranslation } from 'react-i18next';
15
15
  import { useController, useFormContext } from 'react-hook-form';
16
- import { useAppDispatch, useAppSelector } from '../../../../hooks';
17
- import { DocumentPurpose } from '../../../../@types';
16
+ import { useAppDispatch, useAppSelector } from '@hooks';
17
+ import { DocumentPurpose } from '@types';
18
18
  import { styled } from '@mui/material/styles';
19
- import Collapse from '../../../../components/Collapse';
20
- import { FileType } from '../../../../constants';
21
- import { ScreenContainer } from '../../../shared/Containers';
22
- import { taxSelector, uploadingStatus } from '../../../app/tax/taxStore';
23
- import UploadMultipleFile from '../../../shared/UploadMultipleFile';
24
- import { hasVerifiedValue } from '../../../../utils';
19
+ import Collapse from '@components/Collapse';
20
+ import { FileType } from '@constants';
21
+ import { ScreenContainer } from '@features/shared/Containers';
22
+ import { taxSelector, uploadingStatus } from '@features/app/tax/taxStore';
23
+ import UploadMultipleFile from '@features/shared/UploadMultipleFile';
24
+ import { hasVerifiedValue } from '@src/utils';
25
25
  var FeatureStyled = styled(ScreenContainer)(function (_a) {
26
26
  var theme = _a.theme;
27
27
  return ({
@@ -12,14 +12,14 @@ var __assign = (this && this.__assign) || function () {
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import * as React from 'react';
14
14
  import Box from '@mui/material/Box';
15
- import Input from '../../../shared/Input';
15
+ import Input from '@features/shared/Input';
16
16
  import { useTranslation } from 'react-i18next';
17
17
  import { useController, useFormContext } from 'react-hook-form';
18
- import { VAT_ID_LENGTH } from '../../../../constants';
19
- import { useAppSelector } from '../../../../hooks';
20
- import { isSA, removeAllCharsFromNumber } from '../../../../utils';
21
- import { settingsSelector } from '../../../../app/settings';
22
- import { EndAdornment } from '../../../shared/EndAdornment';
18
+ import { VAT_ID_LENGTH } from '@constants';
19
+ import { useAppSelector } from '@hooks';
20
+ import { isSA, removeAllCharsFromNumber } from '@utils';
21
+ import { settingsSelector } from '@app/settings';
22
+ import { EndAdornment } from '@features/shared/EndAdornment';
23
23
  var VATId = function (_a) {
24
24
  var _b;
25
25
  var readOnly = _a.readOnly, isVerified = _a.isVerified;
@@ -11,15 +11,15 @@ var __assign = (this && this.__assign) || function () {
11
11
  };
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import * as React from 'react';
14
- import { useAppDispatch, useAppSelector } from '../../../../hooks';
14
+ import { useAppDispatch, useAppSelector } from '@hooks';
15
15
  import Box from '@mui/material/Box/Box';
16
16
  import { styled } from '@mui/material/styles';
17
- import OTPField from '../../../shared/OTP';
17
+ import OTPField from '@features/shared/OTP';
18
18
  import { useController, useFormContext } from 'react-hook-form';
19
19
  import { useTranslation } from 'react-i18next';
20
- import { DEFAULT_TIMER_VALUE } from '../../../../constants';
21
- import { isTokenExpired } from '../../../../utils';
22
- import { resendOTP, taxSelector } from '../../../app/tax/taxStore';
20
+ import { DEFAULT_TIMER_VALUE } from '@constants';
21
+ import { isTokenExpired } from '@utils';
22
+ import { resendOTP, taxSelector } from '@features/app/tax/taxStore';
23
23
  var BoxStyled = styled(Box)(function (_a) {
24
24
  var theme = _a.theme;
25
25
  return ({
@@ -11,19 +11,19 @@ var __assign = (this && this.__assign) || function () {
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
13
  import * as React from 'react';
14
- import { useAppDispatch, useSetFromDefaultValues } from '../../../../hooks';
14
+ import { useAppDispatch, useSetFromDefaultValues } from '@hooks';
15
15
  import { useTranslation } from 'react-i18next';
16
16
  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';
21
- import { maskPhone } from '../../../../utils';
22
- import Form from '../../../../components/Form';
23
- import Text from '../../../../components/Text';
24
- import { ScreenContainer } from '../../../shared/Containers';
25
- import { taxSelector, clearError, resetOTPScreen, verifyTaxLeadOTP } from '../../../app/tax/taxStore';
26
- import Button from '../../../shared/Button';
20
+ import { useLanguage, useAppSelector } from '@hooks';
21
+ import { maskPhone } from '@utils';
22
+ import Form from '@components/Form';
23
+ import Text from '@components/Text';
24
+ import { ScreenContainer } from '@features/shared/Containers';
25
+ import { taxSelector, clearError, resetOTPScreen, verifyTaxLeadOTP } from '@features/app/tax/taxStore';
26
+ import Button from '@features/shared/Button';
27
27
  import { OTPValidation } from './validation';
28
28
  import OTPInput from './OTPInput';
29
29
  var OTPTitleContainerStyled = styled(Box)(function (_a) {
@@ -1,4 +1,4 @@
1
- import { LibConfig, ScreenStepNavigation } from '../@types';
1
+ import { LibConfig, ScreenStepNavigation } from '@types';
2
2
  interface AppConfigProps extends LibConfig {
3
3
  navigation: ScreenStepNavigation[];
4
4
  disableCountries?: boolean;
@@ -21,12 +21,12 @@ var __rest = (this && this.__rest) || function (s, e) {
21
21
  return t;
22
22
  };
23
23
  import { useEffect } from 'react';
24
- import { handleActiveFlowScreens, handleSetAppConfig, handleLanguage, handleOpen, handleIsTapOrigin, fetchAppSettingsSync, handelBoardMaturity, settingsSelector } from '../app/settings';
24
+ import { handleActiveFlowScreens, handleSetAppConfig, handleLanguage, handleOpen, handleIsTapOrigin, fetchAppSettingsSync, handelBoardMaturity, settingsSelector } from '@app/settings';
25
25
  import { useAppDispatch } from './useAppDispatch';
26
26
  import { useAppSelector } from './useAppSelector';
27
- import { axiosInstance } from '../api';
28
- import { isTapDomain, removeRequestHeaders } from '../utils';
29
- import { ENDPOINT_PATHS } from '../constants';
27
+ import { axiosInstance } from '@api';
28
+ import { isTapDomain, removeRequestHeaders } from '@utils';
29
+ import { ENDPOINT_PATHS } from '@constants';
30
30
  export var useAppConfig = function (_a) {
31
31
  var appInfo = _a.appInfo, navigation = _a.navigation, publicKey = _a.publicKey, disableCountries = _a.disableCountries, disableLocale = _a.disableLocale, disableSettingFetching = _a.disableSettingFetching, maturity = _a.maturity, boardMaturity = _a.boardMaturity, rest = __rest(_a, ["appInfo", "navigation", "publicKey", "disableCountries", "disableLocale", "disableSettingFetching", "maturity", "boardMaturity"]);
32
32
  var dispatch = useAppDispatch();
@@ -1,3 +1,3 @@
1
1
  import { TypedUseSelectorHook } from 'react-redux';
2
- import { RootState } from '../app/store';
2
+ import { RootState } from '@app/store';
3
3
  export declare const useAppSelector: TypedUseSelectorHook<RootState>;
@@ -1,4 +1,4 @@
1
- import { ThemContext } from '../@types';
1
+ import { ThemContext } from '@types';
2
2
  export declare const useAppTheme: () => {
3
3
  theme: ThemContext | undefined;
4
4
  };
@@ -1,9 +1,9 @@
1
1
  import { useEffect, useState } from 'react';
2
- import { LanguageMode, DirectionMode } from '../@types';
3
- import { settingsSelector } from '../app/settings';
2
+ import { LanguageMode, DirectionMode } from '@types';
3
+ import { settingsSelector } from '@app/settings';
4
4
  import { isMobile } from 'react-device-detect';
5
5
  import { useAppSelector } from './useAppSelector';
6
- import { appTheme } from '../theme';
6
+ import { appTheme } from '@theme';
7
7
  export var useAppTheme = function () {
8
8
  var _a = useState(), theme = _a[0], setTheme = _a[1];
9
9
  var data = useAppSelector(settingsSelector).data;
@@ -1,4 +1,4 @@
1
- import { isKW } from '../utils';
1
+ import { isKW } from '@src/utils';
2
2
  import { useMemo } from 'react';
3
3
  export var useCountry = function (code) {
4
4
  var isKuwait = useMemo(function () { return isKW(code); }, [code]);
@@ -1,2 +1,2 @@
1
- import { FieldType } from '../@types';
1
+ import { FieldType } from '@types';
2
2
  export declare const useDataNoneEditable: <T = undefined>(dataStatus: Record<keyof T, FieldType>, noneEditableKeys: (keyof T)[]) => { [key in keyof T]: boolean; };
@@ -1,5 +1,5 @@
1
1
  import { useCallback, useEffect, useState } from 'react';
2
- import { hasNoneEditableValue } from '../utils';
2
+ import { hasNoneEditableValue } from '@utils';
3
3
  export var useDataNoneEditable = function (dataStatus, noneEditableKeys) {
4
4
  var _a = useState({}), dataNoneEditable = _a[0], setDataNoneEditable = _a[1];
5
5
  var setNoneEditableValue = useCallback(function () {
@@ -1,4 +1,4 @@
1
- import { FieldType } from '../@types';
1
+ import { FieldType } from '@types';
2
2
  declare type DataVerified<T> = {
3
3
  [K in keyof T]?: boolean;
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { useCallback, useEffect, useState } from 'react';
2
- import { hasVerifiedValue } from '../utils';
2
+ import { hasVerifiedValue } from '@utils';
3
3
  export var useDataVerified = function (dataVerification, verifiedKeys) {
4
4
  var _a = useState({}), dataVerified = _a[0], setVerified = _a[1];
5
5
  var setVerifiedValue = useCallback(function () {
@@ -1,5 +1,5 @@
1
1
  import { useEffect } from 'react';
2
- import { settingsSelector } from '../app/settings';
2
+ import { settingsSelector } from '@app/settings';
3
3
  import { useAppSelector } from './useAppSelector';
4
4
  export var useErrorListener = function (error) {
5
5
  var settings = useAppSelector(settingsSelector);
@@ -9,7 +9,7 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
- import { settingsSelector } from '../app/settings';
12
+ import { settingsSelector } from '@app/settings';
13
13
  import { useAppSelector } from './useAppSelector';
14
14
  export var useExcludeReadOnlyFelids = function (_a, readOnly) {
15
15
  var formState = _a.formState;
@@ -1,5 +1,5 @@
1
1
  import { useCallback, useEffect, useState } from 'react';
2
- import { settingsSelector } from '../app/settings';
2
+ import { settingsSelector } from '@app/settings';
3
3
  import { useAppSelector } from './useAppSelector';
4
4
  var isValidData = function (data) {
5
5
  if (data === null || data === undefined)
@@ -1,5 +1,5 @@
1
1
  import { useTranslation } from 'react-i18next';
2
- import { LanguageMode } from '../@types';
2
+ import { LanguageMode } from '@types';
3
3
  export function useLanguage() {
4
4
  var i18n = useTranslation().i18n;
5
5
  var isAr = i18n.language === LanguageMode.AR;
@@ -1,4 +1,4 @@
1
- import { decodeObjectBase64, getParameterByName } from '../utils';
1
+ import { decodeObjectBase64, getParameterByName } from '@utils';
2
2
  export var useRedirectionData = function (dataKey) {
3
3
  if (dataKey === void 0) { dataKey = 'data'; }
4
4
  var dataToken = getParameterByName(dataKey);
@@ -1,5 +1,5 @@
1
1
  import { useEffect, useState } from 'react';
2
- import { useWindowSize } from '.';
2
+ import { useWindowSize } from '@hooks';
3
3
  import { useTheme } from '@mui/material/styles';
4
4
  export var useScreen = function (breakpoint) {
5
5
  if (breakpoint === void 0) { breakpoint = 'sm'; }
@@ -1,5 +1,5 @@
1
1
  import { useEffect } from 'react';
2
- import { settingsSelector } from '../app/settings';
2
+ import { settingsSelector } from '@app/settings';
3
3
  import { useAppSelector } from './useAppSelector';
4
4
  export var useStepStartedListener = function () {
5
5
  var settings = useAppSelector(settingsSelector);
@@ -1,4 +1,4 @@
1
- import { ScreenStepNavigation } from '../@types';
1
+ import { ScreenStepNavigation } from '@types';
2
2
  interface VerifyLeadTokenProps {
3
3
  token: string;
4
4
  isInternally?: boolean;
@@ -1,5 +1,5 @@
1
- import { handleCurrentActiveScreen, handleLanguage } from '../app/settings';
2
- import { getParameterByName } from '../utils';
1
+ import { handleCurrentActiveScreen, handleLanguage } from '@src/app/settings';
2
+ import { getParameterByName } from '@utils';
3
3
  import { useAppDispatch } from './useAppDispatch';
4
4
  import { useEffect } from 'react';
5
5
  export var useVerifyToken = function (_a) {
package/build/i18n.js CHANGED
@@ -2,7 +2,7 @@ import i18n from 'i18next';
2
2
  import { initReactI18next } from 'react-i18next';
3
3
  import Backend from 'i18next-http-backend';
4
4
  import LanguageDetector from 'i18next-browser-languagedetector';
5
- import { LOCAL_STORAGE_KEYS } from './constants';
5
+ import { LOCAL_STORAGE_KEYS } from '@constants';
6
6
  import translationEN from './assets/locales/en.json';
7
7
  import translationAR from './assets/locales/ar.json';
8
8
  var resources = {
package/build/index.d.ts CHANGED
@@ -1,14 +1,14 @@
1
1
  import './index.css';
2
2
  import './i18n';
3
- import { ConnectElement, ConnectLibProps } from './features/connect';
4
- import { ConnectExpressElement, ConnectExpressLibProps } from './features/connectExpress';
5
- import { BusinessElement, BusinessLibProps } from './features/business';
6
- import { PasswordElement, PasswordLibProps } from './features/password';
7
- import { IndividualElement, IndividualLibProps } from './features/individual';
8
- import { BankElement, BankLibProps } from './features/bank';
9
- import { TaxElement, TaxLibProps } from './features/tax';
10
- import { SignInElement, SignInLibProps } from './features/signIn';
11
- import { EntityElement, EntityLibProps } from './features/entity';
12
- import { BrandElement, BrandLibProps } from './features/brand';
3
+ import { ConnectElement, ConnectLibProps } from '@features/connect';
4
+ import { ConnectExpressElement, ConnectExpressLibProps } from '@features/connectExpress';
5
+ import { BusinessElement, BusinessLibProps } from '@features/business';
6
+ import { PasswordElement, PasswordLibProps } from '@features/password';
7
+ import { IndividualElement, IndividualLibProps } from '@features/individual';
8
+ import { BankElement, BankLibProps } from '@features/bank';
9
+ import { TaxElement, TaxLibProps } from '@features/tax';
10
+ import { SignInElement, SignInLibProps } from '@features/signIn';
11
+ import { EntityElement, EntityLibProps } from '@features/entity';
12
+ import { BrandElement, BrandLibProps } from '@features/brand';
13
13
  export type { ConnectLibProps, ConnectExpressLibProps, BusinessLibProps, PasswordLibProps, IndividualLibProps, BankLibProps, TaxLibProps, EntityLibProps, BrandLibProps, SignInLibProps };
14
14
  export { ConnectElement, ConnectExpressElement, BusinessElement, PasswordElement, IndividualElement, BankElement, TaxElement, EntityElement, BrandElement, SignInElement };
package/build/index.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import './index.css';
2
2
  import './i18n';
3
- import { ConnectElement, renderConnectLib } from './features/connect';
4
- import { ConnectExpressElement, renderConnectExpressLib } from './features/connectExpress';
5
- import { BusinessElement, renderBusinessLib } from './features/business';
6
- import { PasswordElement, renderPasswordLib } from './features/password';
7
- import { IndividualElement, renderIndividualLib } from './features/individual';
8
- import { BankElement, renderBankLib } from './features/bank';
9
- import { TaxElement, renderTaxLib } from './features/tax';
10
- import { SignInElement, renderSignInLib } from './features/signIn';
11
- import { EntityElement, renderEntityLib } from './features/entity';
12
- import { BrandElement, renderBrandLib } from './features/brand';
3
+ import { ConnectElement, renderConnectLib } from '@features/connect';
4
+ import { ConnectExpressElement, renderConnectExpressLib } from '@features/connectExpress';
5
+ import { BusinessElement, renderBusinessLib } from '@features/business';
6
+ import { PasswordElement, renderPasswordLib } from '@features/password';
7
+ import { IndividualElement, renderIndividualLib } from '@features/individual';
8
+ import { BankElement, renderBankLib } from '@features/bank';
9
+ import { TaxElement, renderTaxLib } from '@features/tax';
10
+ import { SignInElement, renderSignInLib } from '@features/signIn';
11
+ import { EntityElement, renderEntityLib } from '@features/entity';
12
+ import { BrandElement, renderBrandLib } from '@features/brand';
13
13
  export { ConnectElement, ConnectExpressElement, BusinessElement, PasswordElement, IndividualElement, BankElement, TaxElement, EntityElement, BrandElement, SignInElement };
14
14
  window['TapAuth'] = {
15
15
  renderConnectLib: renderConnectLib,
@@ -1,2 +1,2 @@
1
- import { DirectionMode, ThemeMode } from '../@types';
1
+ import { DirectionMode, ThemeMode } from '@types';
2
2
  export declare const appTheme: (mode: ThemeMode, isMobile: boolean, dir: DirectionMode) => import("@mui/material/styles").Theme;
@@ -1,4 +1,4 @@
1
- import { ActivitiesIsIc, Activity, ActivityParams, CountryCode, SaleChannel } from '../@types';
1
+ import { ActivitiesIsIc, Activity, ActivityParams, CountryCode, SaleChannel, User } from '@types';
2
2
  export declare const isArray: (value: any) => value is any[];
3
3
  export declare const joinArray: (items: Array<any>, joiner?: string) => string;
4
4
  export declare const replaceStringArrayItems: (items: Array<string>, include: string, withThis: string) => string[];
@@ -14,7 +14,7 @@ export declare const findCountryByIso2: (countries: Array<CountryCode>, iso2: st
14
14
  export declare const findCurrencyByIso2: (code: string) => "" | "SAR" | "KD";
15
15
  export declare const findCountryByIddPrefix: (countries: Array<CountryCode>, iddPrefix: string) => CountryCode | undefined;
16
16
  export declare const mapSalesChannel: (salesChannel: Array<SaleChannel>) => {
17
- sub?: import("../@types").SubSaleChannel[] | undefined;
17
+ sub?: import("@types").SubSaleChannel[] | undefined;
18
18
  address: string;
19
19
  id: string;
20
20
  code: string;
@@ -44,7 +44,7 @@ export declare const mapBrandSalesChannel: (salesChannel: Array<SaleChannel>, br
44
44
  address?: string | undefined;
45
45
  logo?: string | undefined;
46
46
  } | {
47
- sub?: import("../@types").SubSaleChannel[] | undefined;
47
+ sub?: import("@types").SubSaleChannel[] | undefined;
48
48
  id: string;
49
49
  code: string;
50
50
  name?: {
@@ -68,6 +68,7 @@ export declare const findInArrayOrSubArray: (items: Array<any>, value: string |
68
68
  export declare const groupSectionWithSelectedActivitiesAtBeginning: (sections: Array<ActivitiesIsIc>, selectedActivities: Array<Activity>) => ActivitiesIsIc[];
69
69
  export declare const filterActivitiesByName: (activityList: Array<ActivitiesIsIc>, value: string) => ActivityParams[];
70
70
  export declare const mapUserList: (individuals: any) => any;
71
+ export declare const sortUserList: (list: Array<User>) => User[];
71
72
  export declare const getIndividualType: (objects: Array<string>) => {
72
73
  isUser: boolean;
73
74
  isShareholder: boolean;
@@ -19,7 +19,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
19
19
  return to.concat(ar || Array.prototype.slice.call(from));
20
20
  };
21
21
  import get from 'lodash-es/get';
22
- import { IndividualType } from '../@types';
22
+ import { IndividualType } from '@types';
23
23
  export var isArray = function (value) { return Array.isArray(value); };
24
24
  export var joinArray = function (items, joiner) {
25
25
  if (joiner === void 0) { joiner = '__'; }
@@ -277,6 +277,11 @@ export var mapUserList = function (individuals) {
277
277
  }, {});
278
278
  });
279
279
  };
280
+ export var sortUserList = function (list) {
281
+ if (!(list === null || list === void 0 ? void 0 : list.length))
282
+ return [];
283
+ return list.sort(function (a, b) { return a.names.en.first.localeCompare(b.names.en.first); });
284
+ };
280
285
  export var getIndividualType = function (objects) {
281
286
  var isUser = false, isShareholder = false, isBoardMember = false, isBuyer = false, isCustomer = false;
282
287
  objects === null || objects === void 0 ? void 0 : objects.forEach(function (type) {
@@ -1,2 +1,2 @@
1
- import { LocalProps } from '../@types';
1
+ import { LocalProps } from '@types';
2
2
  export declare const updateLocale: (locale: LocalProps, country: string) => void;
@@ -1,5 +1,5 @@
1
1
  import { initReactI18next } from 'react-i18next';
2
- import i18n from '../i18n';
2
+ import i18n from '@src/i18n';
3
3
  export var updateLocale = function (locale, country) {
4
4
  var data = locale['SA'] || locale[country.toUpperCase()] || locale['default'];
5
5
  if (i18n.isInitialized) {
@@ -1,5 +1,5 @@
1
1
  import { get } from 'lodash-es';
2
- import { FieldType, VerificationStatus } from '../@types';
2
+ import { FieldType, VerificationStatus } from '@types';
3
3
  export var compareTwoObjects = function (obj1, obj2) {
4
4
  if (obj1 === obj2)
5
5
  return true;
@@ -1,4 +1,4 @@
1
- import { RSA_FRONTEND_MW_PUBLIC_KEY } from '../constants';
1
+ import { RSA_FRONTEND_MW_PUBLIC_KEY } from '@constants';
2
2
  var JSEncrypt = require('jsencrypt').JSEncrypt;
3
3
  var rsa = new JSEncrypt();
4
4
  rsa.setPublicKey(RSA_FRONTEND_MW_PUBLIC_KEY);
@@ -1,4 +1,4 @@
1
- import { DeviceInfo, License, User } from '../@types';
1
+ import { DeviceInfo, License, User } from '@types';
2
2
  export declare const maskPhone: (str?: string) => string;
3
3
  export declare const shortenString: (str: string, length: number) => string;
4
4
  export declare const maskID: (str: string) => string;
@@ -1,7 +1,7 @@
1
- import { FlowsTypes } from '../@types';
2
- import { concatenateObjectValues, encryptString } from '.';
3
- import { removeAxiosGlobalHeaders } from '../api';
4
- import { ENDPOINT_PATHS, ICONS_FULL_PATH } from '../constants';
1
+ import { FlowsTypes } from '@types';
2
+ import { concatenateObjectValues, encryptString } from '@utils';
3
+ import { removeAxiosGlobalHeaders } from '@api';
4
+ import { ENDPOINT_PATHS, ICONS_FULL_PATH } from '@constants';
5
5
  import moment from 'moment';
6
6
  export var maskPhone = function (str) {
7
7
  if (str === void 0) { str = ''; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/auth-jsconnect",
3
- "version": "2.4.26-test",
3
+ "version": "2.4.28-test",
4
4
  "description": "connect library, auth",
5
5
  "private": false,
6
6
  "main": "build/index.js",