@tap-payments/auth-jsconnect 2.0.54-test → 2.0.55-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 (361) hide show
  1. package/build/@types/app.d.ts +39 -14
  2. package/build/@types/app.js +9 -0
  3. package/build/@types/form.d.ts +11 -0
  4. package/build/api/account.js +1 -1
  5. package/build/api/auth.d.ts +15 -2
  6. package/build/api/auth.js +25 -2
  7. package/build/api/availabilityServices.js +1 -1
  8. package/build/api/axios.js +4 -4
  9. package/build/api/board.js +1 -1
  10. package/build/api/brand.d.ts +1 -1
  11. package/build/api/brand.js +1 -1
  12. package/build/api/country.js +1 -1
  13. package/build/api/data.d.ts +33 -7
  14. package/build/api/data.js +42 -17
  15. package/build/api/entity.d.ts +2 -0
  16. package/build/api/entity.js +1 -1
  17. package/build/api/firebase.js +1 -1
  18. package/build/api/individual.d.ts +1 -1
  19. package/build/api/individual.js +1 -1
  20. package/build/api/ip.js +1 -1
  21. package/build/api/lead.d.ts +1 -1
  22. package/build/api/lead.js +1 -1
  23. package/build/api/operator.js +1 -1
  24. package/build/api/user.js +1 -1
  25. package/build/app/rootReducer.d.ts +10 -7
  26. package/build/app/rootReducer.js +14 -8
  27. package/build/app/settings.d.ts +2 -2
  28. package/build/app/settings.js +11 -5
  29. package/build/app/store.d.ts +6 -0
  30. package/build/assets/locales/ar.json +14 -4
  31. package/build/assets/locales/en.json +14 -4
  32. package/build/components/AnimationFlow/AnimationFlow.d.ts +4 -1
  33. package/build/components/AnimationFlow/AnimationFlow.js +5 -7
  34. package/build/components/AnimationFlow/BottomSheet.js +2 -1
  35. package/build/components/AnimationFlow/Dialog.d.ts +4 -1
  36. package/build/components/AnimationFlow/Dialog.js +10 -5
  37. package/build/components/DatePicker/DatePicker.js +3 -3
  38. package/build/components/FileInput/DragAndDrop.d.ts +9 -1
  39. package/build/components/FileInput/DragAndDrop.js +115 -10
  40. package/build/components/FileInput/UploadInput.js +2 -2
  41. package/build/components/Footer/Footer.js +3 -3
  42. package/build/components/Input/Input.js +2 -2
  43. package/build/components/Lottie/Lottie.d.ts +878 -0
  44. package/build/components/Lottie/Lottie.js +58 -0
  45. package/build/components/Lottie/files/pulsating_circle_waves.json +236 -0
  46. package/build/components/Lottie/files/success.json +425 -0
  47. package/build/components/Lottie/index.d.ts +3 -0
  48. package/build/components/Lottie/index.js +3 -0
  49. package/build/components/OTPTimer/OTPTimer.js +1 -1
  50. package/build/components/ProgressBar/CircularProgressBar.d.ts +14 -0
  51. package/build/components/ProgressBar/CircularProgressBar.js +48 -0
  52. package/build/components/ProgressBar/index.d.ts +2 -0
  53. package/build/components/ProgressBar/index.js +2 -0
  54. package/build/components/Providers/ThemeProvider.d.ts +1 -1
  55. package/build/components/SimpleList/SimpleList.js +1 -1
  56. package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +3 -2
  57. package/build/components/SocialMediaGroup/SocialMediaGroup.js +29 -36
  58. package/build/constants/api.d.ts +1 -0
  59. package/build/constants/api.js +10 -7
  60. package/build/constants/app.d.ts +16 -1
  61. package/build/constants/app.js +76 -4
  62. package/build/constants/assets.d.ts +17 -1
  63. package/build/constants/assets.js +22 -6
  64. package/build/constants/validation.d.ts +1 -0
  65. package/build/constants/validation.js +1 -0
  66. package/build/features/app/auth/authStore.d.ts +35 -0
  67. package/build/features/app/auth/authStore.js +148 -0
  68. package/build/features/app/bank/bankStore.d.ts +6 -2
  69. package/build/features/app/bank/bankStore.js +46 -26
  70. package/build/features/app/business/businessStore.d.ts +2 -2
  71. package/build/features/app/business/businessStore.js +58 -48
  72. package/build/features/app/connect/connectStore.d.ts +14 -2
  73. package/build/features/app/connect/connectStore.js +170 -10
  74. package/build/features/app/entity/entityStore.d.ts +53 -0
  75. package/build/features/app/entity/entityStore.js +461 -0
  76. package/build/features/app/individual/individualStore.d.ts +2 -2
  77. package/build/features/app/individual/individualStore.js +23 -15
  78. package/build/features/app/otp/otpStore.d.ts +28 -0
  79. package/build/features/app/otp/otpStore.js +153 -0
  80. package/build/features/app/password/passwordStore.d.ts +2 -2
  81. package/build/features/app/password/passwordStore.js +4 -4
  82. package/build/features/app/signIn/signInStore.d.ts +2 -2
  83. package/build/features/app/signIn/signInStore.js +6 -6
  84. package/build/features/app/tax/taxStore.d.ts +2 -2
  85. package/build/features/app/tax/taxStore.js +5 -5
  86. package/build/features/auth/Auth.d.ts +10 -0
  87. package/build/features/auth/Auth.js +87 -0
  88. package/build/features/auth/index.d.ts +1 -0
  89. package/build/features/auth/index.js +1 -0
  90. package/build/features/auth/screens/OTP/OTP.d.ts +5 -0
  91. package/build/features/auth/screens/OTP/OTP.js +72 -0
  92. package/build/features/auth/screens/OTP/OTPInput.d.ts +5 -0
  93. package/build/features/auth/screens/OTP/OTPInput.js +44 -0
  94. package/build/features/auth/screens/OTP/index.d.ts +3 -0
  95. package/build/features/auth/screens/OTP/index.js +2 -0
  96. package/build/features/auth/screens/OTP/validation.d.ts +8 -0
  97. package/build/features/auth/screens/OTP/validation.js +4 -0
  98. package/build/features/bank/Bank.d.ts +1 -1
  99. package/build/features/bank/Bank.js +18 -12
  100. package/build/features/bank/screens/BankDetails/BankDetails.js +9 -9
  101. package/build/features/bank/screens/BankDetails/BankName.js +8 -8
  102. package/build/features/bank/screens/BankDetails/BankStatement.js +35 -10
  103. package/build/features/bank/screens/BankDetails/Beneficiary.js +7 -7
  104. package/build/features/bank/screens/BankDetails/ConfirmPolicy.js +5 -5
  105. package/build/features/bank/screens/BankDetails/IBAN.js +8 -8
  106. package/build/features/bank/screens/BankDetails/validation.js +1 -1
  107. package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
  108. package/build/features/bank/screens/Success/Success.js +3 -3
  109. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +9 -9
  110. package/build/features/bank/screens/Verify/OTPInput.js +4 -4
  111. package/build/features/bank/screens/Verify/Verify.js +9 -9
  112. package/build/features/business/Business.d.ts +2 -2
  113. package/build/features/business/Business.js +20 -13
  114. package/build/features/business/screens/Activities/Activities.js +7 -7
  115. package/build/features/business/screens/Activities/ActivitiesList.d.ts +2 -2
  116. package/build/features/business/screens/Activities/ActivitiesList.js +9 -9
  117. package/build/features/business/screens/Activities/LicenseName.js +6 -6
  118. package/build/features/business/screens/Activities/OperationStartDate.js +4 -4
  119. package/build/features/business/screens/Activities/SalesChannels.d.ts +1 -1
  120. package/build/features/business/screens/Activities/SalesChannels.js +8 -8
  121. package/build/features/business/screens/BusinessType/BusinessType.js +8 -8
  122. package/build/features/business/screens/BusinessType/LicenseList.js +10 -10
  123. package/build/features/business/screens/BusinessType/LicenseNumber.js +8 -8
  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/Customers/CustomerLocations.d.ts +3 -3
  127. package/build/features/business/screens/Customers/CustomerLocations.js +33 -15
  128. package/build/features/business/screens/Customers/Customers.js +8 -8
  129. package/build/features/business/screens/Customers/ExpectedCustomers.js +22 -10
  130. package/build/features/business/screens/Customers/ExpectedSalesRange.js +39 -21
  131. package/build/features/business/screens/Customers/RefundPolicy.d.ts +1 -1
  132. package/build/features/business/screens/Customers/RefundPolicy.js +7 -7
  133. package/build/features/business/screens/Customers/TransactionPolicy.js +5 -5
  134. package/build/features/business/screens/IDBOD/DOB.js +5 -5
  135. package/build/features/business/screens/IDBOD/ID.js +6 -6
  136. package/build/features/business/screens/IDBOD/IDBOD.js +6 -6
  137. package/build/features/business/screens/OTP/OTP.js +9 -9
  138. package/build/features/business/screens/OTP/OTPInput.js +4 -4
  139. package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
  140. package/build/features/business/screens/Success/Success.js +3 -3
  141. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +9 -9
  142. package/build/features/business/screens/Verify/OTPInput.js +4 -4
  143. package/build/features/business/screens/Verify/Verify.js +9 -9
  144. package/build/features/connect/Connect.d.ts +3 -2
  145. package/build/features/connect/Connect.js +46 -16
  146. package/build/features/connect/screens/CivilID/CivilID.d.ts +5 -0
  147. package/build/features/connect/screens/CivilID/CivilID.js +85 -0
  148. package/build/features/connect/screens/CivilID/IDNumber.d.ts +7 -0
  149. package/build/features/connect/screens/CivilID/IDNumber.js +59 -0
  150. package/build/features/connect/screens/CivilID/index.d.ts +3 -0
  151. package/build/features/connect/screens/CivilID/index.js +2 -0
  152. package/build/features/connect/screens/CivilID/validation.d.ts +8 -0
  153. package/build/features/connect/screens/CivilID/validation.js +4 -0
  154. package/build/features/connect/screens/Individual/Email.js +7 -7
  155. package/build/features/connect/screens/Individual/Individual.js +14 -10
  156. package/build/features/connect/screens/Individual/MobileNumber.d.ts +1 -1
  157. package/build/features/connect/screens/Individual/MobileNumber.js +11 -11
  158. package/build/features/connect/screens/Individual/Name.js +6 -6
  159. package/build/features/connect/screens/Individual/validation.js +1 -1
  160. package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
  161. package/build/features/connect/screens/Merchant/BrandList.js +8 -8
  162. package/build/features/connect/screens/Merchant/BrandName.js +10 -10
  163. package/build/features/connect/screens/Merchant/Merchant.js +42 -18
  164. package/build/features/connect/screens/Merchant/SalesChannels.d.ts +5 -0
  165. package/build/features/connect/screens/Merchant/SalesChannels.js +114 -0
  166. package/build/features/connect/screens/Merchant/SocialMedia.js +65 -20
  167. package/build/features/connect/screens/Merchant/TAC.js +7 -7
  168. package/build/features/connect/screens/Merchant/validation.d.ts +87 -0
  169. package/build/features/connect/screens/Merchant/validation.js +69 -3
  170. package/build/features/connect/screens/Mobile/Mobile.js +16 -13
  171. package/build/features/connect/screens/Mobile/MobileNumber.d.ts +1 -1
  172. package/build/features/connect/screens/Mobile/MobileNumber.js +12 -12
  173. package/build/features/connect/screens/Mobile/Title.js +2 -2
  174. package/build/features/connect/screens/NID/DOB.js +5 -5
  175. package/build/features/connect/screens/NID/IDNumber.js +8 -8
  176. package/build/features/connect/screens/NID/NID.js +8 -8
  177. package/build/features/connect/screens/OTP/OTP.js +9 -9
  178. package/build/features/connect/screens/OTP/OTPInput.js +4 -4
  179. package/build/features/connect/screens/ThankYou/ThankYou.js +1 -1
  180. package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +5 -0
  181. package/build/features/connect/screens/VerifyPACI/VerifyPACI.js +169 -0
  182. package/build/features/connect/screens/VerifyPACI/VerifyPACILoading.d.ts +5 -0
  183. package/build/features/connect/screens/VerifyPACI/VerifyPACILoading.js +22 -0
  184. package/build/features/connect/screens/VerifyPACI/VerifyPACISuccess.d.ts +5 -0
  185. package/build/features/connect/screens/VerifyPACI/VerifyPACISuccess.js +8 -0
  186. package/build/features/connect/screens/VerifyPACI/index.d.ts +3 -0
  187. package/build/features/connect/screens/VerifyPACI/index.js +2 -0
  188. package/build/features/entity/Entity.d.ts +7 -0
  189. package/build/features/entity/Entity.js +70 -0
  190. package/build/features/entity/index.d.ts +1 -0
  191. package/build/features/entity/index.js +1 -0
  192. package/build/features/entity/screens/EntityInfoConfirm/ActivitiesList.d.ts +54 -0
  193. package/build/features/entity/screens/EntityInfoConfirm/ActivitiesList.js +139 -0
  194. package/build/features/entity/screens/EntityInfoConfirm/EntityInfo.d.ts +5 -0
  195. package/build/features/entity/screens/EntityInfoConfirm/EntityInfo.js +56 -0
  196. package/build/features/entity/screens/EntityInfoConfirm/LicenseName.d.ts +5 -0
  197. package/build/features/entity/screens/EntityInfoConfirm/LicenseName.js +17 -0
  198. package/build/features/entity/screens/EntityInfoConfirm/LicenseNumber.d.ts +5 -0
  199. package/build/features/entity/screens/EntityInfoConfirm/LicenseNumber.js +28 -0
  200. package/build/features/entity/screens/EntityInfoConfirm/OperationStartDate.d.ts +6 -0
  201. package/build/features/entity/screens/EntityInfoConfirm/OperationStartDate.js +38 -0
  202. package/build/features/entity/screens/EntityInfoConfirm/SalesChannels.d.ts +5 -0
  203. package/build/features/entity/screens/EntityInfoConfirm/SalesChannels.js +112 -0
  204. package/build/features/entity/screens/EntityInfoConfirm/index.d.ts +2 -0
  205. package/build/features/entity/screens/EntityInfoConfirm/index.js +2 -0
  206. package/build/features/entity/screens/EntityInfoConfirm/validation.d.ts +107 -0
  207. package/build/features/entity/screens/EntityInfoConfirm/validation.js +17 -0
  208. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -0
  209. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +9 -0
  210. package/build/features/entity/screens/ResetPasswordSuccess/index.d.ts +3 -0
  211. package/build/features/entity/screens/ResetPasswordSuccess/index.js +2 -0
  212. package/build/features/entity/screens/Success/Success.d.ts +5 -0
  213. package/build/features/entity/screens/Success/Success.js +16 -0
  214. package/build/features/entity/screens/Success/index.d.ts +3 -0
  215. package/build/features/entity/screens/Success/index.js +2 -0
  216. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
  217. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +109 -0
  218. package/build/features/entity/screens/SuccessWithFlowButtons/index.d.ts +2 -0
  219. package/build/features/entity/screens/SuccessWithFlowButtons/index.js +2 -0
  220. package/build/features/entity/screens/Verify/OTPInput.d.ts +7 -0
  221. package/build/features/entity/screens/Verify/OTPInput.js +47 -0
  222. package/build/features/entity/screens/Verify/Verify.d.ts +5 -0
  223. package/build/features/entity/screens/Verify/Verify.js +78 -0
  224. package/build/features/entity/screens/Verify/index.d.ts +2 -0
  225. package/build/features/entity/screens/Verify/index.js +2 -0
  226. package/build/features/entity/screens/Verify/validation.d.ts +8 -0
  227. package/build/features/entity/screens/Verify/validation.js +4 -0
  228. package/build/features/featuresScreens.d.ts +4 -1
  229. package/build/features/featuresScreens.js +88 -40
  230. package/build/features/individual/Individual.d.ts +2 -2
  231. package/build/features/individual/Individual.js +20 -13
  232. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +9 -9
  233. package/build/features/individual/screens/AdditionalIndividualInfo/EmployerLocation.d.ts +1 -1
  234. package/build/features/individual/screens/AdditionalIndividualInfo/EmployerLocation.js +8 -8
  235. package/build/features/individual/screens/AdditionalIndividualInfo/EmployerName.js +6 -6
  236. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +6 -6
  237. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
  238. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +23 -12
  239. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -1
  240. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +19 -11
  241. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +6 -6
  242. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
  243. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +10 -10
  244. package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +1 -1
  245. package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
  246. package/build/features/individual/screens/ShowIndividualInfo/ShowOwnerInfo.js +6 -6
  247. package/build/features/individual/screens/ShowIndividualInfo/info.js +1 -1
  248. package/build/features/individual/screens/Success/Success.js +3 -3
  249. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +9 -9
  250. package/build/features/individual/screens/Verify/OTPInput.js +4 -4
  251. package/build/features/individual/screens/Verify/Verify.js +9 -9
  252. package/build/features/otp/OTP.d.ts +7 -0
  253. package/build/features/otp/OTP.js +58 -0
  254. package/build/features/otp/index.d.ts +0 -0
  255. package/build/features/otp/index.js +1 -0
  256. package/build/features/otp/screens/OTPVerify/OTPInput.d.ts +6 -0
  257. package/build/features/otp/screens/OTPVerify/OTPInput.js +47 -0
  258. package/build/features/otp/screens/OTPVerify/Verify.d.ts +5 -0
  259. package/build/features/otp/screens/OTPVerify/Verify.js +49 -0
  260. package/build/features/otp/screens/OTPVerify/index.d.ts +2 -0
  261. package/build/features/otp/screens/OTPVerify/index.js +2 -0
  262. package/build/features/otp/screens/OTPVerify/validation.d.ts +8 -0
  263. package/build/features/otp/screens/OTPVerify/validation.js +4 -0
  264. package/build/features/password/Password.d.ts +2 -2
  265. package/build/features/password/Password.js +20 -13
  266. package/build/features/password/screens/CreatePassword/ConditionText.js +1 -1
  267. package/build/features/password/screens/CreatePassword/ConfirmPassword.js +3 -3
  268. package/build/features/password/screens/CreatePassword/CreatePassword.js +8 -8
  269. package/build/features/password/screens/CreatePassword/Password.js +6 -6
  270. package/build/features/password/screens/OTP/OTP.js +9 -9
  271. package/build/features/password/screens/OTP/OTPInput.js +4 -4
  272. package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
  273. package/build/features/password/screens/Success/Success.js +4 -4
  274. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +9 -9
  275. package/build/features/password/screens/Verify/OTPInput.js +4 -4
  276. package/build/features/password/screens/Verify/Verify.js +9 -9
  277. package/build/features/shared/AcceptancePayouts/AcceptancePayouts.js +4 -4
  278. package/build/features/shared/Background/Background.d.ts +7 -5
  279. package/build/features/shared/Background/Background.js +16 -5
  280. package/build/features/shared/Background/LogoBackground.js +3 -3
  281. package/build/features/shared/Button/AbsherButton.d.ts +1 -1
  282. package/build/features/shared/Button/AbsherButton.js +3 -3
  283. package/build/features/shared/Button/Button.d.ts +1 -1
  284. package/build/features/shared/Button/Button.js +7 -7
  285. package/build/features/shared/Button/EmailProvidersButtons.d.ts +1 -1
  286. package/build/features/shared/Button/EmailProvidersButtons.js +2 -2
  287. package/build/features/shared/Button/FlowsButtons.d.ts +2 -2
  288. package/build/features/shared/Button/FlowsButtons.js +6 -6
  289. package/build/features/shared/Button/MobileButton.d.ts +1 -1
  290. package/build/features/shared/Button/MobileButton.js +3 -3
  291. package/build/features/shared/Dialog/CloseDialog.d.ts +11 -0
  292. package/build/features/shared/Dialog/CloseDialog.js +62 -0
  293. package/build/features/shared/Dialog/DialogContainer.d.ts +8 -0
  294. package/build/features/shared/Dialog/DialogContainer.js +56 -0
  295. package/build/features/shared/Dialog/index.d.ts +4 -0
  296. package/build/features/shared/Dialog/index.js +4 -0
  297. package/build/features/shared/Footer/Footer.js +4 -4
  298. package/build/features/shared/Input/Input.d.ts +2 -2
  299. package/build/features/shared/Input/Input.js +4 -4
  300. package/build/features/shared/OTP/OTP.d.ts +1 -1
  301. package/build/features/shared/OTP/OTP.js +3 -3
  302. package/build/features/shared/Search/Search.js +1 -1
  303. package/build/features/shared/SearchIcon/SearchIcon.js +2 -2
  304. package/build/features/shared/SuccessScreen/SuccessScreen.js +5 -5
  305. package/build/features/shared/UploadFile/UploadFile.d.ts +8 -3
  306. package/build/features/shared/UploadFile/UploadFile.js +27 -12
  307. package/build/features/signIn/SignIn.d.ts +2 -2
  308. package/build/features/signIn/SignIn.js +21 -13
  309. package/build/features/signIn/screens/Email/Email.js +8 -8
  310. package/build/features/signIn/screens/Email/EmailField.js +5 -5
  311. package/build/features/signIn/screens/Email/validation.js +1 -1
  312. package/build/features/signIn/screens/Mobile/Mobile.js +9 -9
  313. package/build/features/signIn/screens/Mobile/MobileNumber.d.ts +1 -1
  314. package/build/features/signIn/screens/Mobile/MobileNumber.js +12 -12
  315. package/build/features/signIn/screens/OTP/OTP.js +9 -9
  316. package/build/features/signIn/screens/OTP/OTPInput.js +4 -4
  317. package/build/features/signIn/screens/Password/Password.js +7 -7
  318. package/build/features/signIn/screens/Password/PasswordInput.js +3 -3
  319. package/build/features/tax/Tax.d.ts +2 -2
  320. package/build/features/tax/Tax.js +21 -13
  321. package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
  322. package/build/features/tax/screens/Success/Success.js +3 -3
  323. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +9 -9
  324. package/build/features/tax/screens/TaxDetails/ConfirmPolicy.js +5 -5
  325. package/build/features/tax/screens/TaxDetails/TaxDetails.js +6 -6
  326. package/build/features/tax/screens/TaxDetails/VATId.js +5 -5
  327. package/build/features/tax/screens/Verify/OTPInput.js +4 -4
  328. package/build/features/tax/screens/Verify/Verify.js +9 -9
  329. package/build/hooks/index.d.ts +1 -0
  330. package/build/hooks/index.js +1 -0
  331. package/build/hooks/useAppConfig.d.ts +1 -1
  332. package/build/hooks/useAppConfig.js +6 -4
  333. package/build/hooks/useAppDispatch.d.ts +3 -0
  334. package/build/hooks/useAppSelector.d.ts +1 -1
  335. package/build/hooks/useAppTheme.d.ts +1 -1
  336. package/build/hooks/useAppTheme.js +3 -3
  337. package/build/hooks/useErrorListener.js +4 -3
  338. package/build/hooks/useLanguage.js +1 -1
  339. package/build/hooks/useRedirectionListener.js +1 -1
  340. package/build/hooks/useScreen.d.ts +3 -0
  341. package/build/hooks/useScreen.js +14 -0
  342. package/build/hooks/useStepStartedListener.js +1 -1
  343. package/build/i18n.js +1 -1
  344. package/build/index.d.ts +12 -9
  345. package/build/index.js +18 -9
  346. package/build/theme/theme.d.ts +1 -1
  347. package/build/utils/array.d.ts +1 -1
  348. package/build/utils/device.d.ts +1 -0
  349. package/build/utils/device.js +13 -0
  350. package/build/utils/html.d.ts +1 -0
  351. package/build/utils/html.js +6 -0
  352. package/build/utils/locale.d.ts +1 -1
  353. package/build/utils/locale.js +2 -2
  354. package/build/utils/rsa.d.ts +2 -2
  355. package/build/utils/rsa.js +2 -2
  356. package/build/utils/string.d.ts +23 -21
  357. package/build/utils/string.js +13 -4
  358. package/package.json +1 -1
  359. package/build/api/index.d.ts +0 -83
  360. package/build/components/DatePicker/customStyle.css +0 -86
  361. package/build/index.css +0 -140
package/build/index.d.ts CHANGED
@@ -1,11 +1,14 @@
1
1
  import './index.css';
2
2
  import './i18n';
3
- import { ConnectLib, renderConnectLib, ConnectLibProps, unmountConnectLib } from './features/connect';
4
- import { BusinessLib, renderBusinessLib, BusinessLibProps, unmountBusinessLib } from './features/business';
5
- import { PasswordLib, renderPasswordLib, PasswordLibProps, unmountPasswordLib } from './features/password';
6
- import { IndividualLib, renderIndividualLib, IndividualLibProps, unmountIndividualLib } from './features/individual';
7
- import { BankLib, renderBankLib, BankLibProps, unmountBankLib } from './features/bank';
8
- import { TaxLib, renderTaxLib, TaxLibProps, unmountTaxLib } from './features/tax';
9
- import { SignInLib, renderSignInLib, SignInLibProps, unmountSignInLib } from './features/signIn';
10
- export type { ConnectLibProps, BusinessLibProps, PasswordLibProps, IndividualLibProps, BankLibProps, TaxLibProps, SignInLibProps };
11
- export { ConnectLib, renderConnectLib, unmountConnectLib, BusinessLib, renderBusinessLib, unmountBusinessLib, PasswordLib, renderPasswordLib, unmountPasswordLib, IndividualLib, renderIndividualLib, unmountIndividualLib, BankLib, renderBankLib, unmountBankLib, TaxLib, renderTaxLib, unmountTaxLib, SignInLib, renderSignInLib, unmountSignInLib };
3
+ import { ConnectLib, renderConnectLib, ConnectLibProps, unmountConnectLib } from '@features/connect';
4
+ import { BusinessLib, renderBusinessLib, BusinessLibProps, unmountBusinessLib } from '@features/business';
5
+ import { PasswordLib, renderPasswordLib, PasswordLibProps, unmountPasswordLib } from '@features/password';
6
+ import { IndividualLib, renderIndividualLib, IndividualLibProps, unmountIndividualLib } from '@features/individual';
7
+ import { BankLib, renderBankLib, BankLibProps, unmountBankLib } from '@features/bank';
8
+ import { TaxLib, renderTaxLib, TaxLibProps, unmountTaxLib } from '@features/tax';
9
+ import { SignInLib, renderSignInLib, SignInLibProps, unmountSignInLib } from '@features/signIn';
10
+ import { EntityLib, EntityLibProps, renderEntityLib, unmountEntityLib } from '@features/entity';
11
+ import { OTPLib, OTPLibProps, renderOTPLib, unmountOTPLib } from '@features/otp/OTP';
12
+ import { AuthLib, AuthLibProps, renderAuthLib, unmountAuthLib } from '@features/auth';
13
+ export type { ConnectLibProps, BusinessLibProps, PasswordLibProps, IndividualLibProps, BankLibProps, TaxLibProps, EntityLibProps, OTPLibProps, AuthLibProps, SignInLibProps };
14
+ export { ConnectLib, renderConnectLib, unmountConnectLib, BusinessLib, renderBusinessLib, unmountBusinessLib, PasswordLib, renderPasswordLib, unmountPasswordLib, IndividualLib, renderIndividualLib, unmountIndividualLib, BankLib, renderBankLib, unmountBankLib, TaxLib, renderTaxLib, unmountTaxLib, EntityLib, renderEntityLib, unmountEntityLib, OTPLib, renderOTPLib, unmountOTPLib, SignInLib, renderSignInLib, unmountSignInLib, AuthLib, renderAuthLib, unmountAuthLib };
package/build/index.js CHANGED
@@ -1,13 +1,16 @@
1
1
  import './index.css';
2
2
  import './i18n';
3
- import { ConnectLib, renderConnectLib, unmountConnectLib } from './features/connect';
4
- import { BusinessLib, renderBusinessLib, unmountBusinessLib } from './features/business';
5
- import { PasswordLib, renderPasswordLib, unmountPasswordLib } from './features/password';
6
- import { IndividualLib, renderIndividualLib, unmountIndividualLib } from './features/individual';
7
- import { BankLib, renderBankLib, unmountBankLib } from './features/bank';
8
- import { TaxLib, renderTaxLib, unmountTaxLib } from './features/tax';
9
- import { SignInLib, renderSignInLib, unmountSignInLib } from './features/signIn';
10
- export { ConnectLib, renderConnectLib, unmountConnectLib, BusinessLib, renderBusinessLib, unmountBusinessLib, PasswordLib, renderPasswordLib, unmountPasswordLib, IndividualLib, renderIndividualLib, unmountIndividualLib, BankLib, renderBankLib, unmountBankLib, TaxLib, renderTaxLib, unmountTaxLib, SignInLib, renderSignInLib, unmountSignInLib };
3
+ import { ConnectLib, renderConnectLib, unmountConnectLib } from '@features/connect';
4
+ import { BusinessLib, renderBusinessLib, unmountBusinessLib } from '@features/business';
5
+ import { PasswordLib, renderPasswordLib, unmountPasswordLib } from '@features/password';
6
+ import { IndividualLib, renderIndividualLib, unmountIndividualLib } from '@features/individual';
7
+ import { BankLib, renderBankLib, unmountBankLib } from '@features/bank';
8
+ import { TaxLib, renderTaxLib, unmountTaxLib } from '@features/tax';
9
+ import { SignInLib, renderSignInLib, unmountSignInLib } from '@features/signIn';
10
+ import { EntityLib, renderEntityLib, unmountEntityLib } from '@features/entity';
11
+ import { OTPLib, renderOTPLib, unmountOTPLib } from '@features/otp/OTP';
12
+ import { AuthLib, renderAuthLib, unmountAuthLib } from '@features/auth';
13
+ export { ConnectLib, renderConnectLib, unmountConnectLib, BusinessLib, renderBusinessLib, unmountBusinessLib, PasswordLib, renderPasswordLib, unmountPasswordLib, IndividualLib, renderIndividualLib, unmountIndividualLib, BankLib, renderBankLib, unmountBankLib, TaxLib, renderTaxLib, unmountTaxLib, EntityLib, renderEntityLib, unmountEntityLib, OTPLib, renderOTPLib, unmountOTPLib, SignInLib, renderSignInLib, unmountSignInLib, AuthLib, renderAuthLib, unmountAuthLib };
11
14
  window['TapAuth'] = {
12
15
  renderConnectLib: renderConnectLib,
13
16
  unmountConnectLib: unmountConnectLib,
@@ -21,7 +24,13 @@ window['TapAuth'] = {
21
24
  unmountBankLib: unmountBankLib,
22
25
  renderTaxLib: renderTaxLib,
23
26
  unmountTaxLib: unmountTaxLib,
27
+ renderEntityLib: renderEntityLib,
28
+ unmountEntityLib: unmountEntityLib,
29
+ renderOTPLib: renderOTPLib,
30
+ unmountOTPLib: unmountOTPLib,
24
31
  renderSignInLib: renderSignInLib,
25
- unmountSignInLib: unmountSignInLib
32
+ unmountSignInLib: unmountSignInLib,
33
+ renderAuthLib: renderAuthLib,
34
+ unmountAuthLib: unmountAuthLib
26
35
  };
27
36
  console.log("TapAuth version: ".concat(require('../package.json').version));
@@ -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 { CountryCode } from '../@types';
1
+ import { CountryCode } 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[];
@@ -2,3 +2,4 @@ import { DeviceDetectorResult } from 'device-detector-js';
2
2
  import { GetResult } from '@fingerprintjs/fingerprintjs';
3
3
  export declare const getBrowserInfo: () => DeviceDetectorResult;
4
4
  export declare const getFingerPrint: () => Promise<GetResult>;
5
+ export declare const mobileOS: () => 'Windows Phone' | 'Android' | 'iOS' | 'unknown';
@@ -11,3 +11,16 @@ export var getFingerPrint = function () {
11
11
  });
12
12
  });
13
13
  };
14
+ export var mobileOS = function () {
15
+ var userAgent = navigator.userAgent || navigator.vendor || window.opera;
16
+ if (/windows phone/i.test(userAgent)) {
17
+ return 'Windows Phone';
18
+ }
19
+ if (/android/i.test(userAgent)) {
20
+ return 'Android';
21
+ }
22
+ if (/iPad|iPhone|iPod/.test(userAgent) && !window.MSStream) {
23
+ return 'iOS';
24
+ }
25
+ return 'unknown';
26
+ };
@@ -2,3 +2,4 @@ export declare const createElementAndInject: (id: string) => HTMLDivElement;
2
2
  export declare const reactElement: (elementId: string) => import("react-dom/client").Root;
3
3
  export declare const scrollUp: (elementId: string, top?: number) => void;
4
4
  export declare const scrollDown: (elementId: string) => void;
5
+ export declare const removeElement: (elementId: string) => void;
@@ -24,3 +24,9 @@ export var scrollDown = function (elementId) {
24
24
  return;
25
25
  el.scrollTop = 0;
26
26
  };
27
+ export var removeElement = function (elementId) {
28
+ var el = document.getElementById(elementId);
29
+ if (!el)
30
+ return;
31
+ el.remove();
32
+ };
@@ -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,7 +1,7 @@
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
- var data = locale[country.toUpperCase()] || locale['default'];
4
+ var data = locale['SA'] || locale[country.toUpperCase()] || locale['default'];
5
5
  if (i18n.isInitialized) {
6
6
  i18n.removeResourceBundle('*', 'translation');
7
7
  i18n.addResourceBundle('en', 'translation', data.en.translation);
@@ -1,2 +1,2 @@
1
- export declare const encryptObject: (data: unknown) => string | false;
2
- export declare const encryptString: (string: string) => string;
1
+ export declare const encryptObject: (data: unknown) => any;
2
+ export declare const encryptString: (string: string) => any;
@@ -1,5 +1,5 @@
1
- import { JSEncrypt } from 'jsencrypt';
2
- import { RSA_FRONTEND_MW_PUBLIC_KEY } from '../constants';
1
+ import { RSA_FRONTEND_MW_PUBLIC_KEY } from '@constants';
2
+ var JSEncrypt = require('jsencrypt').JSEncrypt;
3
3
  var rsa = new JSEncrypt();
4
4
  rsa.setPublicKey(RSA_FRONTEND_MW_PUBLIC_KEY);
5
5
  export var encryptObject = function (data) {
@@ -1,8 +1,9 @@
1
- import { DeviceInfo } from '../@types';
1
+ import { DeviceInfo } from '@types';
2
2
  export declare const maskPhone: (str?: string) => string;
3
3
  export declare const maskID: (str: string) => string;
4
4
  export declare const maskEmail: (str: string) => string;
5
5
  export declare const showLastFour: (str: string) => string;
6
+ export declare const maskFileName: (str: string) => string;
6
7
  export declare const getIndividualName: (name: string) => {
7
8
  first: string;
8
9
  middle: string;
@@ -15,29 +16,30 @@ export declare const getFlowUrl: (path: string, lang: string) => string;
15
16
  export declare const getResetFlowUrl: (path: string, lang: string, operationType: string, id: string, infoId: string) => string;
16
17
  export declare const capitalizeTheFirstLetterOfEachWord: (words: string) => string;
17
18
  export declare const getRequestHeaders: (deviceInfo: DeviceInfo) => {
18
- al: string;
19
- at: string;
20
- aid: string;
21
- an: string;
22
- av: string;
23
- acv: string;
24
- asv: string;
25
- rn: string;
26
- rt: string;
27
- rb: string;
28
- rm: string;
29
- ro: string;
30
- rov: string;
31
- bn: string;
32
- bb: string;
33
- bv: string;
34
- bua: string;
19
+ al: any;
20
+ at: any;
21
+ aid: any;
22
+ an: any;
23
+ av: any;
24
+ acv: any;
25
+ asv: any;
26
+ rn: any;
27
+ rt: any;
28
+ rb: any;
29
+ rm: any;
30
+ ro: any;
31
+ rov: any;
32
+ bn: any;
33
+ bb: any;
34
+ bv: any;
35
+ bua: any;
35
36
  bi: string;
36
- ci: string;
37
- cm: string;
38
- l: string;
37
+ ci: any;
38
+ cm: any;
39
+ l: any;
39
40
  };
40
41
  export declare const removeRequestHeaders: () => void;
41
42
  export declare const getBaseUrl: () => string;
42
43
  export declare const getScreenNameBasedOnFlow: (flow: string) => "CONNECT_NID_STEP" | "" | "BUSINESS_BUSINESS_TYPE_STEP" | "INDIVIDUAL_ADDITIONAL_INDIVIDUAL_INFO_STEP" | "BANK_BANK_DETAILS_STEP" | "TAX_TAX_DETAILS_STEP";
43
44
  export declare const getEighteenYearsAgo: () => string;
45
+ export declare const isKW: (flag: string) => boolean;
@@ -1,7 +1,7 @@
1
- import { FlowsTypes } from '../@types';
2
- import { encryptString } from '.';
3
- import { removeAxiosGlobalHeaders } from '../api';
4
- import { ENDPOINT_PATHS } from '../constants';
1
+ import { FlowsTypes } from '@types';
2
+ import { encryptString } from '@utils';
3
+ import { removeAxiosGlobalHeaders } from '@api';
4
+ import { ENDPOINT_PATHS } from '@constants';
5
5
  import moment from 'moment';
6
6
  export var maskPhone = function (str) {
7
7
  if (str === void 0) { str = ''; }
@@ -23,6 +23,12 @@ export var showLastFour = function (str) {
23
23
  }
24
24
  return str;
25
25
  };
26
+ export var maskFileName = function (str) {
27
+ if (str.length < 28)
28
+ return str;
29
+ var first = str.substring(0, 28);
30
+ return first + '....';
31
+ };
26
32
  export var getIndividualName = function (name) {
27
33
  var _a;
28
34
  var nameArray = (name === null || name === void 0 ? void 0 : name.split(' ')) || [];
@@ -167,3 +173,6 @@ export var getEighteenYearsAgo = function () {
167
173
  var eighteenYearsAgo = new Date();
168
174
  return moment(eighteenYearsAgo.setFullYear(eighteenYearsAgo.getFullYear() - 18)).format('YYYY-MM-DD');
169
175
  };
176
+ export var isKW = function (flag) {
177
+ return ['kw', 'kwd'].includes(flag === null || flag === void 0 ? void 0 : flag.toLowerCase());
178
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/auth-jsconnect",
3
- "version": "2.0.54-test",
3
+ "version": "2.0.55-test",
4
4
  "description": "connect library, auth",
5
5
  "private": false,
6
6
  "main": "build/index.js",
@@ -1,83 +0,0 @@
1
- import axiosInstance, { setAxiosGlobalHeaders, removeAxiosGlobalHeaders, getAxiosHeaders } from './axios';
2
- import { ValidateOperatorBody } from './operator';
3
- import { CreateAuthBody, VerifyAuthBody, CreatePasswordBody, VerifyOperationAuthBody, ResetPasswordVerifyAuthBody } from './auth';
4
- import { UpdateLeadBody, LeadVerifyBody, CreateLeadBody, LeadOTPVerifyBody, LeadIdentityUpdateBody } from './lead';
5
- import { CheckEmailBody, CheckBrandBody } from './availabilityServices';
6
- import { EntityInfoBody, EntityBankUpdateBody } from './entity';
7
- import { CreateAccountBody } from './account';
8
- import { BrandListBody, UpdateBrandBody } from './individual';
9
- import { UpdateBoardBody } from './board';
10
- declare const API: {
11
- ipService: {
12
- getIP: () => Promise<any>;
13
- };
14
- operatorService: {
15
- validateOperator: (body: ValidateOperatorBody) => Promise<any>;
16
- };
17
- countryService: {
18
- getCountries: () => Promise<any>;
19
- };
20
- authService: {
21
- createAuth: (data: CreateAuthBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
22
- verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
23
- createPassword: (data: CreatePasswordBody) => Promise<any>;
24
- };
25
- leadService: {
26
- createLead: (data: CreateLeadBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
27
- updateLead: ({ id, ...data }: UpdateLeadBody) => Promise<any>;
28
- retrieveLead: (leadId: string) => Promise<import("axios").AxiosResponse<any, any>>;
29
- verifyLeadToken: (data: LeadVerifyBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
30
- verifyLeadOTP: (data: LeadOTPVerifyBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
31
- retrieveEntityList: (leadId: string) => Promise<import("axios").AxiosResponse<any, any>>;
32
- };
33
- entityService: {
34
- createEntityInfo: ({ id, ...data }: EntityInfoBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
35
- updateEntityInfo: ({ id, ...data }: EntityInfoBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
36
- createBankAccount: (data: EntityBankUpdateBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
37
- retrieveBankAccount: (id: string) => Promise<any>;
38
- retrieveEntityInfo: (entity_id: string, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
39
- updateIndividualInfo: ({ id, ...data }: EntityInfoBody) => Promise<any>;
40
- uploadFileInfo: (data: import("./entity").UploadFileBody) => Promise<any>;
41
- };
42
- availabilityServices: {
43
- checkEmail: (data: CheckEmailBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
44
- checkBrand: (data: CheckBrandBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
45
- checkIbanBank: (data: import("./availabilityServices").CheckIBanBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
46
- };
47
- firebaseService: {
48
- getLocale: () => Promise<any>;
49
- };
50
- accountService: {
51
- createAccount: (data: CreateAccountBody) => Promise<any>;
52
- };
53
- dataService: {
54
- getChannelsOfServices: () => Promise<import("axios").AxiosResponse<any, any>>;
55
- getCustomerBases: () => Promise<import("axios").AxiosResponse<any, any>>;
56
- getExpectedSales: () => Promise<import("axios").AxiosResponse<any, any>>;
57
- getExpectedCustomerSales: () => Promise<import("axios").AxiosResponse<any, any>>;
58
- getSourceOfIncome: () => Promise<import("axios").AxiosResponse<any, any>>;
59
- getMonthlyIncome: (countryCode: string) => Promise<import("axios").AxiosResponse<any, any>>;
60
- getOccupation: () => Promise<any>;
61
- };
62
- individualService: {
63
- retrieveIndividualInfo: (id: string) => Promise<any>;
64
- };
65
- boardService: {
66
- retrieveBoard: (id: string) => Promise<any>;
67
- updateBoard: ({ id, ...data }: UpdateBoardBody) => Promise<any>;
68
- retrieveBoardInfo: ({ id, infoId }: import("./board").RetrieveBoardInfoBody) => Promise<any>;
69
- updateBoardInfo: ({ id, infoId, ...data }: import("./board").UpdateBoardInfoBody) => Promise<any>;
70
- retrieveBoardDetails: (id: string) => Promise<any>;
71
- };
72
- userService: {
73
- retrieveUserInfo: (userId: string) => Promise<any>;
74
- };
75
- brandService: {
76
- retrieveBrand: (id: string) => Promise<any>;
77
- getBrandList: (data: BrandListBody) => Promise<any>;
78
- updateBrandInfo: ({ id, ...data }: UpdateBrandBody) => Promise<any>;
79
- };
80
- };
81
- export type { ValidateOperatorBody, CreateAuthBody, VerifyAuthBody, CreateLeadBody, UpdateLeadBody, LeadVerifyBody, LeadOTPVerifyBody, CheckEmailBody, CheckBrandBody, LeadIdentityUpdateBody, EntityInfoBody, CreateAccountBody, EntityBankUpdateBody, CreatePasswordBody, BrandListBody, VerifyOperationAuthBody, ResetPasswordVerifyAuthBody, UpdateBoardBody, UpdateBrandBody };
82
- export { setAxiosGlobalHeaders, removeAxiosGlobalHeaders, axiosInstance, getAxiosHeaders };
83
- export default API;
@@ -1,86 +0,0 @@
1
- .date_picker_input {
2
- cursor: pointer;
3
- }
4
-
5
- .react-calendar {
6
- width: 100%;
7
- border: none;
8
- padding: 15px 0px 15px 0px;
9
- }
10
-
11
- .react-calendar__navigation {
12
- display: flex;
13
- position: relative;
14
- }
15
- .react-calendar__navigation__label__labelText {
16
- font-family: 'Lato', 'Roboto';
17
- }
18
- .react-calendar__navigation button:enabled:hover,
19
- .react-calendar__navigation button:enabled:focus {
20
- background-color: #ffffff;
21
- }
22
- .react-calendar__navigation__prev-button {
23
- top: 20px;
24
- left: 86px;
25
- }
26
-
27
- .react-calendar__navigation__next-button {
28
- top: 0px;
29
- left: 86px;
30
- }
31
-
32
- .react-calendar__navigation__prev2-button {
33
- top: 20px;
34
- right: 13px;
35
- }
36
-
37
- .react-calendar__navigation__next2-button {
38
- top: 0px;
39
- right: 13px;
40
- }
41
-
42
- .react-calendar__navigation__arrow {
43
- background-color: transparent !important;
44
- }
45
-
46
- abbr[title] {
47
- text-decoration: none;
48
- font-weight: 400;
49
- color: #abaeb6;
50
- }
51
-
52
- .react-calendar__tile {
53
- transition: all 0.5s ease;
54
- }
55
-
56
- .react-calendar__tile:enabled:hover,
57
- .react-calendar__tile:enabled:focus {
58
- background-color: transparent;
59
- }
60
-
61
- .react-calendar__tile:enabled:hover {
62
- background: radial-gradient(circle closest-side, #fafafa 0%, #fafafa 98%, rgba(0, 0, 0, 0) 100%);
63
- }
64
-
65
- .react-calendar__month-view__days__day--weekend,
66
- .react-calendar__tile {
67
- color: #3a4154;
68
- }
69
- .react-calendar__tile--hasActive {
70
- background: radial-gradient(circle closest-side, #fafafa 0%, #fafafa 98%, rgba(0, 0, 0, 0) 100%);
71
- }
72
-
73
- .react-calendar__tile--active,
74
- .react-calendar__tile--active:enabled:hover,
75
- .react-calendar__tile--active:enabled:focus {
76
- background-color: transparent;
77
- background: radial-gradient(circle closest-side, #3a4154 0%, #3a4154 98%, rgba(0, 0, 0, 0) 100%);
78
- color: #ffffff;
79
- }
80
- .react-calendar__tile--now {
81
- background-color: transparent;
82
- }
83
- .react-calendar__navigation button:disabled {
84
- background-color: #ffffff;
85
- color: #3a4154;
86
- }
package/build/index.css DELETED
@@ -1,140 +0,0 @@
1
- @import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
2
- @import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap');
3
- @import url('https://fonts.googleapis.com/icon?family=Material+Icons');
4
- @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
5
- @import url('https://fonts.googleapis.com/css?family=Tajawal&display=swap');
6
-
7
- /* http://meyerweb.com/eric/tools/css/reset/
8
- v2.0 | 20110126
9
- License: none (public domain)
10
- */
11
-
12
- html,
13
- body,
14
- div,
15
- span,
16
- applet,
17
- object,
18
- iframe,
19
- h1,
20
- h2,
21
- h3,
22
- h4,
23
- h5,
24
- h6,
25
- p,
26
- blockquote,
27
- pre,
28
- a,
29
- abbr,
30
- acronym,
31
- address,
32
- big,
33
- cite,
34
- code,
35
- del,
36
- dfn,
37
- em,
38
- img,
39
- ins,
40
- kbd,
41
- q,
42
- s,
43
- samp,
44
- small,
45
- strike,
46
- strong,
47
- sub,
48
- sup,
49
- tt,
50
- var,
51
- b,
52
- u,
53
- i,
54
- center,
55
- dl,
56
- dt,
57
- dd,
58
- ol,
59
- ul,
60
- li,
61
- fieldset,
62
- form,
63
- label,
64
- legend,
65
- table,
66
- caption,
67
- tbody,
68
- tfoot,
69
- thead,
70
- tr,
71
- th,
72
- td,
73
- article,
74
- aside,
75
- canvas,
76
- details,
77
- embed,
78
- figure,
79
- figcaption,
80
- footer,
81
- header,
82
- hgroup,
83
- menu,
84
- nav,
85
- output,
86
- ruby,
87
- section,
88
- summary,
89
- time,
90
- mark,
91
- audio,
92
- video {
93
- margin: 0;
94
- padding: 0;
95
- border: 0;
96
- font-size: 100%;
97
- font: inherit;
98
- vertical-align: baseline;
99
- }
100
- /* HTML5 display-role reset for older browsers */
101
- article,
102
- aside,
103
- details,
104
- figcaption,
105
- figure,
106
- footer,
107
- header,
108
- hgroup,
109
- menu,
110
- nav,
111
- section {
112
- display: block;
113
- }
114
- body {
115
- line-height: 1;
116
- overflow-y: hidden;
117
- }
118
- ol,
119
- ul {
120
- list-style: none;
121
- }
122
- blockquote,
123
- q {
124
- quotes: none;
125
- }
126
- blockquote:before,
127
- blockquote:after,
128
- q:before,
129
- q:after {
130
- content: '';
131
- content: none;
132
- }
133
- table {
134
- border-collapse: collapse;
135
- border-spacing: 0;
136
- }
137
-
138
- * {
139
- box-sizing: border-box;
140
- }