@tap-payments/auth-jsconnect 2.6.60-test → 2.6.82-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 (430) hide show
  1. package/build/@types/app.d.ts +21 -20
  2. package/build/@types/form.d.ts +21 -21
  3. package/build/@types/theme.d.ts +1 -1
  4. package/build/api/account.d.ts +2 -2
  5. package/build/api/auth.d.ts +31 -12
  6. package/build/api/auth.js +9 -1
  7. package/build/api/availabilityServices.d.ts +3 -3
  8. package/build/api/axios.js +1 -1
  9. package/build/api/board.d.ts +3 -3
  10. package/build/api/brand.d.ts +1 -1
  11. package/build/api/country.d.ts +1 -1
  12. package/build/api/data.d.ts +11 -11
  13. package/build/api/document.d.ts +2 -2
  14. package/build/api/entity.d.ts +14 -9
  15. package/build/api/entity.js +2 -5
  16. package/build/api/file.d.ts +1 -1
  17. package/build/api/index.d.ts +6 -5
  18. package/build/api/individual.d.ts +5 -5
  19. package/build/api/init.d.ts +1 -1
  20. package/build/api/lead.d.ts +19 -12
  21. package/build/api/lead.js +3 -6
  22. package/build/api/operator.d.ts +2 -2
  23. package/build/api/operator.js +1 -1
  24. package/build/api/user.d.ts +2 -2
  25. package/build/app/settings.d.ts +3 -21
  26. package/build/app/settings.js +4 -4
  27. package/build/app/store.d.ts +4 -4
  28. package/build/assets/locales/ar.json +5 -1
  29. package/build/assets/locales/en.json +5 -1
  30. package/build/components/AnimationFlow/AnimationFlow.d.ts +7 -2
  31. package/build/components/AnimationFlow/AnimationFlow.js +16 -5
  32. package/build/components/AnimationFlow/BottomSheet.d.ts +3 -1
  33. package/build/components/AnimationFlow/BottomSheet.js +4 -4
  34. package/build/components/AnimationFlow/Dialog.d.ts +7 -1
  35. package/build/components/AnimationFlow/Dialog.js +5 -9
  36. package/build/components/AnimationFlow/Error.d.ts +2 -1
  37. package/build/components/AnimationFlow/Loader.d.ts +7 -1
  38. package/build/components/AnimationFlow/Loader.js +17 -5
  39. package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
  40. package/build/components/Button/Button.d.ts +1 -1
  41. package/build/components/CheckBox/CheckBox.d.ts +1 -1
  42. package/build/components/Collapse/Collapse.d.ts +2 -1
  43. package/build/components/DatePicker/DatePicker.d.ts +1 -1
  44. package/build/components/ExpandIcon/ExpandIcon.d.ts +2 -1
  45. package/build/components/FileInput/DragAndDrop.d.ts +2 -1
  46. package/build/components/FileInput/UploadInput.d.ts +2 -1
  47. package/build/components/Footer/Footer.d.ts +1 -1
  48. package/build/components/Form/Form.d.ts +1 -1
  49. package/build/components/Input/Input.d.ts +1 -1
  50. package/build/components/InputAdornment/InputAdornment.d.ts +1 -1
  51. package/build/components/List/List.d.ts +1 -1
  52. package/build/components/ListItem/ListItem.d.ts +1 -1
  53. package/build/components/Loader/Loader.d.ts +1 -1
  54. package/build/components/LogoBadge/LogoBadge.d.ts +1 -1
  55. package/build/components/OTPField/OTPField.d.ts +1 -1
  56. package/build/components/OTPTimer/OTPTimer.d.ts +1 -1
  57. package/build/components/ProgressBar/CircularProgressBar.d.ts +2 -1
  58. package/build/components/ProgressBar/ProgressBar.d.ts +1 -1
  59. package/build/components/Providers/ReduxProvider.d.ts +1 -1
  60. package/build/components/Providers/ThemeProvider.d.ts +1 -1
  61. package/build/components/Radio/Radio.d.ts +1 -1
  62. package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
  63. package/build/components/RadioLabel/RadioLabel.d.ts +1 -1
  64. package/build/components/SimpleList/SimpleList.d.ts +1 -1
  65. package/build/components/Slide/Slide.d.ts +1 -1
  66. package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
  67. package/build/components/Text/Text.d.ts +1 -1
  68. package/build/components/ToggleButton/ToggleButton.d.ts +1 -1
  69. package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  70. package/build/components/Tooltip/Tooltip.d.ts +1 -1
  71. package/build/components/Warning/Warning.d.ts +1 -1
  72. package/build/constants/app.d.ts +1 -2
  73. package/build/constants/app.js +14 -3
  74. package/build/constants/assets.d.ts +1 -0
  75. package/build/constants/assets.js +2 -1
  76. package/build/features/app/auth/authStore.d.ts +16 -131
  77. package/build/features/app/auth/authStore.js +175 -110
  78. package/build/features/app/bank/bankStore.d.ts +11 -92
  79. package/build/features/app/bank/bankStore.js +1 -1
  80. package/build/features/app/board/boardStore.d.ts +5 -41
  81. package/build/features/app/board/boardStore.js +9 -3
  82. package/build/features/app/brand/brandStore.d.ts +16 -142
  83. package/build/features/app/brand/brandStore.js +1 -1
  84. package/build/features/app/business/businessStore.d.ts +18 -162
  85. package/build/features/app/business/businessStore.js +1 -1
  86. package/build/features/app/connect/connectStore.d.ts +16 -151
  87. package/build/features/app/connect/connectStore.js +1 -1
  88. package/build/features/app/connectExpress/connectExpressStore.d.ts +27 -261
  89. package/build/features/app/connectExpress/connectExpressStore.js +19 -6
  90. package/build/features/app/entity/entityStore.d.ts +11 -92
  91. package/build/features/app/entity/entityStore.js +1 -1
  92. package/build/features/app/individual/individualStore.d.ts +23 -185
  93. package/build/features/app/individual/individualStore.js +1 -1
  94. package/build/features/app/password/passwordStore.d.ts +13 -112
  95. package/build/features/app/password/passwordStore.js +1 -1
  96. package/build/features/app/signIn/signInStore.d.ts +7 -61
  97. package/build/features/app/signIn/signInStore.js +1 -1
  98. package/build/features/app/tax/taxStore.d.ts +10 -82
  99. package/build/features/app/tax/taxStore.js +1 -1
  100. package/build/features/auth/Auth.d.ts +7 -1
  101. package/build/features/auth/Auth.js +65 -14
  102. package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +5 -0
  103. package/build/features/auth/screens/AccountNotFound/AccountNotFound.js +74 -0
  104. package/build/features/auth/screens/AccountNotFound/index.d.ts +2 -0
  105. package/build/features/auth/screens/AccountNotFound/index.js +2 -0
  106. package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
  107. package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +1 -1
  108. package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +1 -1
  109. package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  110. package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +1 -1
  111. package/build/features/auth/screens/CivilID/CivilID.d.ts +1 -1
  112. package/build/features/auth/screens/Mobile/Mobile.d.ts +1 -1
  113. package/build/features/auth/screens/Mobile/Mobile.js +6 -0
  114. package/build/features/auth/screens/NID/DOB.d.ts +2 -1
  115. package/build/features/auth/screens/NID/NID.d.ts +1 -1
  116. package/build/features/auth/screens/OTP/OTP.d.ts +1 -1
  117. package/build/features/auth/screens/OTP/OTP.js +2 -3
  118. package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
  119. package/build/features/auth/screens/PreparingData/PreparingData.d.ts +5 -0
  120. package/build/features/auth/screens/PreparingData/PreparingData.js +41 -0
  121. package/build/features/auth/screens/PreparingData/index.d.ts +2 -0
  122. package/build/features/auth/screens/PreparingData/index.js +2 -0
  123. package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  124. package/build/features/bank/Bank.d.ts +3 -1
  125. package/build/features/bank/Bank.js +5 -4
  126. package/build/features/bank/screens/BankDetails/BankDetails.d.ts +2 -1
  127. package/build/features/bank/screens/BankDetails/BankName.d.ts +3 -2
  128. package/build/features/bank/screens/BankDetails/BankStatement.d.ts +3 -2
  129. package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +2 -1
  130. package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +3 -2
  131. package/build/features/bank/screens/BankDetails/IBAN.d.ts +2 -1
  132. package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
  133. package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  134. package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  135. package/build/features/bank/screens/Success/Success.d.ts +1 -1
  136. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  137. package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
  138. package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
  139. package/build/features/board/Board.d.ts +3 -1
  140. package/build/features/board/Board.js +7 -5
  141. package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  142. package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  143. package/build/features/board/screens/Verify/OTPInput.d.ts +1 -1
  144. package/build/features/board/screens/Verify/Verify.d.ts +1 -1
  145. package/build/features/brand/Brand.d.ts +3 -1
  146. package/build/features/brand/Brand.js +5 -4
  147. package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +58 -15
  148. package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +2 -1
  149. package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +37 -13
  150. package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +2 -1
  151. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +2 -1
  152. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +31 -10
  153. package/build/features/brand/screens/BrandActivities/TAC.d.ts +8 -3
  154. package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +3 -2
  155. package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +2 -1
  156. package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +3 -2
  157. package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -1
  158. package/build/features/brand/screens/BrandInfo/BrandName.js +1 -1
  159. package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +2 -1
  160. package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +2 -1
  161. package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +2 -1
  162. package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +2 -1
  163. package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +2 -1
  164. package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +2 -1
  165. package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  166. package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  167. package/build/features/brand/screens/Success/Success.d.ts +1 -1
  168. package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  169. package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
  170. package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
  171. package/build/features/business/Business.d.ts +2 -1
  172. package/build/features/business/screens/Activities/Activities.d.ts +2 -1
  173. package/build/features/business/screens/Activities/ActivitiesList.d.ts +25 -9
  174. package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
  175. package/build/features/business/screens/Activities/OperationStartDate.d.ts +13 -5
  176. package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
  177. package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
  178. package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
  179. package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
  180. package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +13 -5
  181. package/build/features/business/screens/BusinessType/Article.d.ts +3 -2
  182. package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
  183. package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
  184. package/build/features/business/screens/BusinessType/EntityName.d.ts +2 -1
  185. package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +2 -1
  186. package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
  187. package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
  188. package/build/features/business/screens/BusinessType/LicenseType.d.ts +28 -6
  189. package/build/features/business/screens/BusinessType/SelectType.d.ts +1 -1
  190. package/build/features/business/screens/BusinessType/Switch.d.ts +1 -1
  191. package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
  192. package/build/features/business/screens/Customers/CustomerLocations.d.ts +70 -19
  193. package/build/features/business/screens/Customers/Customers.d.ts +1 -1
  194. package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +2 -1
  195. package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +2 -1
  196. package/build/features/business/screens/Customers/RefundPolicy.d.ts +30 -9
  197. package/build/features/business/screens/Customers/TransactionPolicy.d.ts +2 -1
  198. package/build/features/business/screens/IDBOD/DOB.d.ts +1 -1
  199. package/build/features/business/screens/IDBOD/ID.d.ts +1 -1
  200. package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
  201. package/build/features/business/screens/OTP/OTP.d.ts +1 -1
  202. package/build/features/business/screens/OTP/OTPInput.d.ts +1 -1
  203. package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  204. package/build/features/business/screens/Success/Success.d.ts +1 -1
  205. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  206. package/build/features/business/screens/Verify/OTPInput.d.ts +1 -1
  207. package/build/features/business/screens/Verify/Verify.d.ts +1 -1
  208. package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  209. package/build/features/connect/Connect.d.ts +2 -1
  210. package/build/features/connect/Connect.js +1 -1
  211. package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
  212. package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +2 -1
  213. package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  214. package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +1 -1
  215. package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
  216. package/build/features/connect/screens/Individual/Email.d.ts +1 -1
  217. package/build/features/connect/screens/Individual/Email.js +4 -2
  218. package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
  219. package/build/features/connect/screens/Individual/Name.d.ts +1 -1
  220. package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
  221. package/build/features/connect/screens/Merchant/BrandName.d.ts +1 -1
  222. package/build/features/connect/screens/Merchant/BrandName.js +1 -1
  223. package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
  224. package/build/features/connect/screens/Merchant/SalesChannels.d.ts +2 -1
  225. package/build/features/connect/screens/Merchant/TAC.d.ts +1 -1
  226. package/build/features/connect/screens/Mobile/Mobile.d.ts +1 -1
  227. package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
  228. package/build/features/connect/screens/NID/DOB.d.ts +2 -1
  229. package/build/features/connect/screens/NID/NID.d.ts +1 -1
  230. package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
  231. package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
  232. package/build/features/connect/screens/OperatorError/OperatorError.d.ts +1 -1
  233. package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
  234. package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  235. package/build/features/connectExpress/ConnectExpress.d.ts +2 -1
  236. package/build/features/connectExpress/ConnectExpress.js +1 -1
  237. package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
  238. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
  239. package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +1 -1
  240. package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +1 -1
  241. package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
  242. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  243. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +1 -1
  244. package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
  245. package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
  246. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
  247. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +1 -1
  248. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
  249. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
  250. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
  251. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +28 -6
  252. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +8 -3
  253. package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
  254. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
  255. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +4 -2
  256. package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
  257. package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
  258. package/build/features/connectExpress/screens/IdentityOTP/OTP.d.ts +1 -1
  259. package/build/features/connectExpress/screens/IdentityOTP/OTPInput.d.ts +1 -1
  260. package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +1 -1
  261. package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +1 -1
  262. package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
  263. package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
  264. package/build/features/connectExpress/screens/NID/DOB.d.ts +2 -1
  265. package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
  266. package/build/features/connectExpress/screens/NID/TAC.d.ts +8 -3
  267. package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +2 -1
  268. package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
  269. package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
  270. package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
  271. package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  272. package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  273. package/build/features/entity/Entity.d.ts +3 -1
  274. package/build/features/entity/Entity.js +5 -4
  275. package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +25 -9
  276. package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
  277. package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
  278. package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
  279. package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +2 -1
  280. package/build/features/entity/screens/EntityName/Article.d.ts +3 -2
  281. package/build/features/entity/screens/EntityName/EntityName.d.ts +2 -1
  282. package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +58 -15
  283. package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +13 -5
  284. package/build/features/entity/screens/EntityName/IssuingDate.d.ts +13 -5
  285. package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
  286. package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +2 -1
  287. package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
  288. package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
  289. package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  290. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  291. package/build/features/entity/screens/Success/Success.d.ts +1 -1
  292. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  293. package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
  294. package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
  295. package/build/features/featuresScreens.js +10 -0
  296. package/build/features/individual/Individual.d.ts +3 -1
  297. package/build/features/individual/Individual.js +5 -4
  298. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +13 -5
  299. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +3 -2
  300. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
  301. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
  302. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +2 -1
  303. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +27 -5
  304. package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +1 -1
  305. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +1 -1
  306. package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +2 -1
  307. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
  308. package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
  309. package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
  310. package/build/features/individual/screens/IndividualList/Email.js +4 -3
  311. package/build/features/individual/screens/IndividualList/IndividualList.d.ts +25 -9
  312. package/build/features/individual/screens/IndividualList/UserList.d.ts +2 -1
  313. package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
  314. package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +1 -1
  315. package/build/features/individual/screens/IndividualPersonalInfo/Email.js +4 -2
  316. package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
  317. package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +28 -6
  318. package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
  319. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +13 -5
  320. package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
  321. package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
  322. package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  323. package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  324. package/build/features/individual/screens/Success/Success.d.ts +1 -1
  325. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  326. package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
  327. package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
  328. package/build/features/password/Password.d.ts +3 -1
  329. package/build/features/password/Password.js +5 -5
  330. package/build/features/password/screens/CreatePassword/ConditionText.d.ts +2 -1
  331. package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
  332. package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
  333. package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
  334. package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +2 -1
  335. package/build/features/password/screens/OTP/OTP.d.ts +1 -1
  336. package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
  337. package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  338. package/build/features/password/screens/Success/Success.d.ts +1 -1
  339. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  340. package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
  341. package/build/features/password/screens/Verify/Verify.d.ts +1 -1
  342. package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +2 -1
  343. package/build/features/shared/Address/Address.d.ts +2 -1
  344. package/build/features/shared/Address/CountryList.d.ts +46 -14
  345. package/build/features/shared/Address/InputSelect.d.ts +46 -14
  346. package/build/features/shared/Address/InputSelect.js +1 -1
  347. package/build/features/shared/Address/InputText.d.ts +1 -1
  348. package/build/features/shared/Background/Background.d.ts +2 -1
  349. package/build/features/shared/Background/Background.js +9 -11
  350. package/build/features/shared/Background/LogoBackground.d.ts +1 -1
  351. package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +2 -1
  352. package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +2 -1
  353. package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
  354. package/build/features/shared/Button/AbsherButton.d.ts +2 -1
  355. package/build/features/shared/Button/Button.d.ts +2 -1
  356. package/build/features/shared/Button/EmailProvidersButtons.d.ts +3 -2
  357. package/build/features/shared/Button/FlowsButtons.d.ts +3 -2
  358. package/build/features/shared/Button/FlowsButtons.js +1 -1
  359. package/build/features/shared/Button/IndividualActionButtons.d.ts +2 -2
  360. package/build/features/shared/Button/MobileButton.d.ts +2 -1
  361. package/build/features/shared/Button/SuccessButton.d.ts +2 -1
  362. package/build/features/shared/Calender/Calender.d.ts +2 -1
  363. package/build/features/shared/CheckIcon/CheckIcon.d.ts +3 -2
  364. package/build/features/shared/Chip/Chip.d.ts +2 -1
  365. package/build/features/shared/ClearIcon/ClearIcon.d.ts +2 -1
  366. package/build/features/shared/Containers/FeatureContainer.d.ts +2 -1
  367. package/build/features/shared/Containers/FeatureContainer.js +3 -3
  368. package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
  369. package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
  370. package/build/features/shared/DataLoading/DataLoading.d.ts +2 -1
  371. package/build/features/shared/DataLoading/DataLoading.js +2 -2
  372. package/build/features/shared/Dialog/CloseDialog.d.ts +2 -1
  373. package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
  374. package/build/features/shared/Dot/Dot.d.ts +2 -1
  375. package/build/features/shared/EndAdornment/EndAdornment.d.ts +2 -1
  376. package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +2 -1
  377. package/build/features/shared/Footer/Footer.d.ts +2 -1
  378. package/build/features/shared/Footer/PoweredByFooter.d.ts +3 -2
  379. package/build/features/shared/GenericError/GenericError.d.ts +1 -1
  380. package/build/features/shared/Input/Input.d.ts +14 -6
  381. package/build/features/shared/InputSelect/InputSelect.d.ts +2 -1
  382. package/build/features/shared/Mandatory/Mandatory.d.ts +2 -1
  383. package/build/features/shared/OTP/OTP.d.ts +1 -1
  384. package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
  385. package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +2 -1
  386. package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +2 -1
  387. package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
  388. package/build/features/shared/Search/Search.d.ts +2 -1
  389. package/build/features/shared/SearchIcon/SearchIcon.d.ts +2 -1
  390. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
  391. package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -1
  392. package/build/features/shared/UploadFile/FileUpload.d.ts +9 -4
  393. package/build/features/shared/UploadFile/FileUpload.js +1 -1
  394. package/build/features/shared/UploadFile/UploadFile.d.ts +8 -3
  395. package/build/features/shared/UploadFile/UploadWrapper.d.ts +8 -3
  396. package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +9 -4
  397. package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
  398. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +8 -3
  399. package/build/features/signIn/SignIn.d.ts +2 -1
  400. package/build/features/signIn/screens/Email/Email.d.ts +1 -1
  401. package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
  402. package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
  403. package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
  404. package/build/features/signIn/screens/Password/Password.d.ts +1 -1
  405. package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
  406. package/build/features/tax/Tax.d.ts +3 -1
  407. package/build/features/tax/Tax.js +5 -4
  408. package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  409. package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  410. package/build/features/tax/screens/Success/Success.d.ts +1 -1
  411. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  412. package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +3 -2
  413. package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +2 -1
  414. package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +2 -1
  415. package/build/features/tax/screens/TaxDetails/VATId.d.ts +3 -2
  416. package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
  417. package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
  418. package/build/hooks/useAppConfig.js +2 -2
  419. package/build/hooks/useDataVerified.d.ts +1 -1
  420. package/build/hooks/useExcludeReadOnlyFelids.d.ts +2 -2
  421. package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +2 -2
  422. package/build/hooks/useFormReadOnly.d.ts +2 -2
  423. package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
  424. package/build/hooks/useVerifyToken.d.ts +2 -1
  425. package/build/hooks/useVerifyToken.js +2 -2
  426. package/build/theme/palette.js +2 -1
  427. package/build/utils/array.js +1 -1
  428. package/build/utils/validation.d.ts +2 -0
  429. package/build/utils/validation.js +7 -1
  430. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  export interface OTPProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<({}: OTPProps) => import("react/jsx-runtime").JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<({}: OTPProps) => JSX.Element>;
5
5
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  export interface PasswordProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<({}: PasswordProps) => import("react/jsx-runtime").JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<({}: PasswordProps) => JSX.Element>;
5
5
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  interface PasswordInputProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<({}: PasswordInputProps) => import("react/jsx-runtime").JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<({}: PasswordInputProps) => JSX.Element>;
5
5
  export default _default;
@@ -1,9 +1,11 @@
1
+ /// <reference types="react" />
1
2
  import { LibConfig } from '../../@types';
2
3
  export interface TaxLibProps extends LibConfig {
3
4
  verifyToken?: string;
4
5
  configToken?: string;
6
+ loaderColor?: string;
5
7
  }
6
- export declare function TaxElement(props: TaxLibProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function TaxElement(props: TaxLibProps): JSX.Element;
7
9
  export declare function renderTaxLib(config: TaxLibProps, elementId: string): {
8
10
  unmount: () => void;
9
11
  };
@@ -36,11 +36,11 @@ import { taxFeatureScreens } from '../featuresScreens';
36
36
  import { taxSelector, verifyLeadToken } from '../app/tax/taxStore';
37
37
  import Background from '../shared/Background';
38
38
  var Tax = memo(function (_a) {
39
- var configToken = _a.configToken, verifyToken = _a.verifyToken, props = __rest(_a, ["configToken", "verifyToken"]);
39
+ var configToken = _a.configToken, verifyToken = _a.verifyToken, loaderColor = _a.loaderColor, props = __rest(_a, ["configToken", "verifyToken", "loaderColor"]);
40
40
  var theme = useAppTheme().theme;
41
41
  var _b = useAppSelector(settingsSelector), data = _b.data, error = _b.error, settingLoading = _b.loading, internalLoading = _b.internalLoading;
42
42
  var _c = useAppSelector(taxSelector), customLoading = _c.customLoading, taxError = _c.error, loading = _c.loading;
43
- useAppConfig(__assign(__assign({ configToken: configToken, navigation: TAX_SCREENS_NAVIGATION }, props), { disableSettingFetching: !!verifyToken }));
43
+ useAppConfig(__assign(__assign({ configToken: configToken, navigation: TAX_SCREENS_NAVIGATION }, props), { disableSettingFetching: props.mode === 'content' ? false : !!verifyToken }));
44
44
  useErrorListener(taxError || error);
45
45
  useStepStartedListener();
46
46
  var activeScreen = data.activeScreen, isTapOrigin = data.isTapOrigin, open = data.open, featureScreensNavigation = data.featureScreensNavigation, merchant = data.merchant, isMaturityExpress = data.isMaturityExpress;
@@ -54,11 +54,12 @@ var Tax = memo(function (_a) {
54
54
  loadingScreenName: 'TAX_LOADING_DATA_STEP',
55
55
  navigation: featureScreensNavigation,
56
56
  open: open,
57
+ mode: props.mode,
57
58
  internalToken: verifyToken,
58
59
  settingLoading: configToken ? internalLoading : settingLoading
59
60
  });
60
- var initialLoading = verifyToken ? settingLoading : settingLoading || customLoading;
61
- return (_jsx(ThemeProvider, __assign({ theme: theme }, { children: _jsx(Background, __assign({ open: open, isTapOrigin: isTapOrigin, loading: initialLoading }, { children: _jsx(AnimationFlow, __assign({ pointerEvents: loading ? 'none' : 'auto', isTapOrigin: isTapOrigin, open: open, error: error, loading: initialLoading, breakpoint: 'sm', screenId: activeScreen.name, merchantInfo: merchant, isMaturityExpress: isMaturityExpress }, { children: _jsx(FeatureContainer, __assign({ isMaturityExpress: isMaturityExpress }, { children: taxFeatureScreens.map(function (_a, index) {
61
+ var initialLoading = verifyToken && props.mode !== 'content' ? settingLoading : settingLoading || customLoading;
62
+ return (_jsx(ThemeProvider, __assign({ theme: theme }, { children: _jsx(Background, __assign({ mode: props.mode, open: open, isTapOrigin: isTapOrigin, loading: initialLoading }, { children: _jsx(AnimationFlow, __assign({ pointerEvents: loading ? 'none' : 'auto', isTapOrigin: isTapOrigin, open: open, error: error, loading: initialLoading, loaderColor: loaderColor, breakpoint: 'sm', screenId: activeScreen.name, merchantInfo: merchant, isMaturityExpress: isMaturityExpress, type: props.mode === 'content' ? 'CONTENT' : undefined }, { children: _jsx(FeatureContainer, __assign({ mode: props.mode, isMaturityExpress: isMaturityExpress }, { children: taxFeatureScreens.map(function (_a, index) {
62
63
  var Element = _a.element, name = _a.name;
63
64
  var isActive = activeScreen.name === name;
64
65
  return (_jsx(Collapse, __assign({ in: isActive, timeout: { enter: 1000, exit: 800 } }, { children: _jsx(Element, {}) }), index));
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- export declare const PrepareDataLoading: () => import("react/jsx-runtime").JSX.Element;
3
- declare const _default: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
2
+ export declare const PrepareDataLoading: () => JSX.Element;
3
+ declare const _default: React.MemoExoticComponent<() => JSX.Element>;
4
4
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  export interface ResetPasswordSuccessProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<({}: ResetPasswordSuccessProps) => import("react/jsx-runtime").JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<({}: ResetPasswordSuccessProps) => JSX.Element>;
5
5
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  export interface SuccessProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<({}: SuccessProps) => import("react/jsx-runtime").JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<({}: SuccessProps) => JSX.Element>;
5
5
  export default _default;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- declare const _default: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
2
+ declare const _default: React.MemoExoticComponent<() => JSX.Element>;
3
3
  export default _default;
@@ -1,5 +1,6 @@
1
- type ConfirmPolicyProps = {
1
+ /// <reference types="react" />
2
+ declare type ConfirmPolicyProps = {
2
3
  readOnly?: boolean;
3
4
  };
4
- declare const ConfirmPolicy: ({ readOnly }: ConfirmPolicyProps) => import("react/jsx-runtime").JSX.Element;
5
+ declare const ConfirmPolicy: ({ readOnly }: ConfirmPolicyProps) => JSX.Element;
5
6
  export default ConfirmPolicy;
@@ -1,4 +1,5 @@
1
+ /// <reference types="react" />
1
2
  export interface TaxDetailsProps {
2
3
  }
3
- declare const TaxDetails: () => import("react/jsx-runtime").JSX.Element;
4
+ declare const TaxDetails: () => JSX.Element;
4
5
  export default TaxDetails;
@@ -1,8 +1,9 @@
1
+ /// <reference types="react" />
1
2
  import { FileDetails } from '../../../../@types';
2
3
  interface TaxDocumentProps {
3
4
  show: boolean;
4
5
  readOnly?: boolean;
5
6
  defaultFiles?: Array<FileDetails>;
6
7
  }
7
- declare const TaxDocument: ({ show, readOnly, defaultFiles }: TaxDocumentProps) => import("react/jsx-runtime").JSX.Element;
8
+ declare const TaxDocument: ({ show, readOnly, defaultFiles }: TaxDocumentProps) => JSX.Element;
8
9
  export default TaxDocument;
@@ -1,6 +1,7 @@
1
- type VATIdProps = {
1
+ /// <reference types="react" />
2
+ declare type VATIdProps = {
2
3
  readOnly?: boolean;
3
4
  isVerified?: boolean;
4
5
  };
5
- declare const VATId: ({ readOnly, isVerified }: VATIdProps) => import("react/jsx-runtime").JSX.Element;
6
+ declare const VATId: ({ readOnly, isVerified }: VATIdProps) => JSX.Element;
6
7
  export default VATId;
@@ -3,5 +3,5 @@ export interface OTPProps {
3
3
  loading: boolean;
4
4
  setLoading: (flag: boolean) => void;
5
5
  }
6
- declare const _default: React.MemoExoticComponent<({ loading, setLoading }: OTPProps) => import("react/jsx-runtime").JSX.Element>;
6
+ declare const _default: React.MemoExoticComponent<({ loading, setLoading }: OTPProps) => JSX.Element>;
7
7
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  export interface OTPProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<({}: OTPProps) => import("react/jsx-runtime").JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<({}: OTPProps) => JSX.Element>;
5
5
  export default _default;
@@ -24,7 +24,7 @@ import { useEffect } from 'react';
24
24
  import { handleActiveFlowScreens, handleSetAppConfig, handleLanguage, handleOpen, handleIsTapOrigin, fetchAppSettingsSync, handelBoardMaturity, settingsSelector, updateInternalLoading } from '../app/settings';
25
25
  import { useAppDispatch } from './useAppDispatch';
26
26
  import { useAppSelector } from './useAppSelector';
27
- import { isTapDomain, removeRequestHeaders, setBaseUrl } from '../utils';
27
+ import { isConnectTapDomain, removeRequestHeaders, setBaseUrl } from '../utils';
28
28
  export var useAppConfig = function (_a) {
29
29
  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, configToken = _a.configToken, onVerifyConfigTokenSuccess = _a.onVerifyConfigTokenSuccess, rest = __rest(_a, ["appInfo", "navigation", "publicKey", "disableCountries", "disableLocale", "disableSettingFetching", "maturity", "boardMaturity", "configToken", "onVerifyConfigTokenSuccess"]);
30
30
  var dispatch = useAppDispatch();
@@ -36,7 +36,7 @@ export var useAppConfig = function (_a) {
36
36
  dispatch(handleActiveFlowScreens(navigation));
37
37
  };
38
38
  var checkDomain = function () {
39
- var isTap = isTapDomain(rest.merchantDomain);
39
+ var isTap = isConnectTapDomain(rest.merchantDomain);
40
40
  dispatch(handleIsTapOrigin(isTap));
41
41
  };
42
42
  useEffect(function () {
@@ -1,5 +1,5 @@
1
1
  import { FieldType } from '../@types';
2
- type DataVerified<T> = {
2
+ declare type DataVerified<T> = {
3
3
  [K in keyof T]?: boolean;
4
4
  };
5
5
  export declare const useDataVerified: <T = undefined>(dataVerification: Record<keyof T, FieldType>, verifiedKeys: (keyof T)[]) => DataVerified<T>;
@@ -1,8 +1,8 @@
1
1
  import { FieldValues, UseFormReturn } from 'react-hook-form';
2
- type ReadOnly<TF, V> = {
2
+ declare type ReadOnly<TF, V> = {
3
3
  [key in keyof TF]: V;
4
4
  };
5
- export declare const useExcludeReadOnlyFelids: <TF extends FieldValues = FieldValues>({ formState }: UseFormReturn<TF, any, undefined>, readOnly: ReadOnly<TF, boolean>) => {
5
+ export declare const useExcludeReadOnlyFelids: <TF extends FieldValues = FieldValues>({ formState }: UseFormReturn<TF, any>, readOnly: ReadOnly<TF, boolean>) => {
6
6
  getFelids: <T extends TF = TF>(data: T) => {
7
7
  originalFormData: T;
8
8
  formData: T;
@@ -1,6 +1,6 @@
1
1
  import { FieldValues, UseFormReturn } from 'react-hook-form';
2
- type ReadOnly<TF, V> = {
2
+ declare type ReadOnly<TF, V> = {
3
3
  [key in keyof TF]: V;
4
4
  };
5
- export declare const useFormErrorAndUpdateReadOnly: <TF extends FieldValues = FieldValues>(methods: UseFormReturn<TF, any, undefined>, readOnlyData: { [key in keyof TF]: boolean; }, noneEditable?: Record<any, boolean>) => ReadOnly<TF, boolean>;
5
+ export declare const useFormErrorAndUpdateReadOnly: <TF extends FieldValues = FieldValues>(methods: UseFormReturn<TF, any>, readOnlyData: { [key in keyof TF]: boolean; }, noneEditable?: Record<any, boolean>) => ReadOnly<TF, boolean>;
6
6
  export {};
@@ -1,6 +1,6 @@
1
1
  import { FieldValues, UseFormReturn } from 'react-hook-form';
2
- type ReadOnly<TF, V> = {
2
+ declare type ReadOnly<TF, V> = {
3
3
  [key in keyof TF]: V;
4
4
  };
5
- export declare const useFormReadOnly: <TF extends FieldValues = FieldValues>(methods: UseFormReturn<TF, any, undefined>, extraData?: { [key in keyof TF]?: any; }) => ReadOnly<TF, boolean>;
5
+ export declare const useFormReadOnly: <TF extends FieldValues = FieldValues>(methods: UseFormReturn<TF, any>, extraData?: { [key in keyof TF]?: any; }) => ReadOnly<TF, boolean>;
6
6
  export {};
@@ -1,2 +1,2 @@
1
1
  import { FieldValues, UseFormReturn } from 'react-hook-form';
2
- export declare const useSetFromDefaultValues: <TFieldValues extends FieldValues = FieldValues>(method: UseFormReturn<TFieldValues, any, undefined>, defaultValues: TFieldValues, shouldValidate?: boolean) => void;
2
+ export declare const useSetFromDefaultValues: <TFieldValues extends FieldValues = FieldValues>(method: UseFormReturn<TFieldValues, any>, defaultValues: TFieldValues, shouldValidate?: boolean) => void;
@@ -10,6 +10,7 @@ interface IVerifyToken {
10
10
  settingLoading: boolean;
11
11
  navigation: ScreenStepNavigation[];
12
12
  loadingScreenName: string;
13
+ mode?: 'popup' | 'page' | 'content';
13
14
  }
14
- export declare const useVerifyToken: ({ verify, internalToken, navigation, open, settingLoading, loadingScreenName }: IVerifyToken) => void;
15
+ export declare const useVerifyToken: ({ verify, internalToken, navigation, open, settingLoading, loadingScreenName, mode }: IVerifyToken) => void;
15
16
  export {};
@@ -3,7 +3,7 @@ import { getParameterByName } from '../utils';
3
3
  import { useAppDispatch } from './useAppDispatch';
4
4
  import { useEffect } from 'react';
5
5
  export var useVerifyToken = function (_a) {
6
- var verify = _a.verify, internalToken = _a.internalToken, navigation = _a.navigation, open = _a.open, settingLoading = _a.settingLoading, loadingScreenName = _a.loadingScreenName;
6
+ var verify = _a.verify, internalToken = _a.internalToken, navigation = _a.navigation, open = _a.open, settingLoading = _a.settingLoading, loadingScreenName = _a.loadingScreenName, mode = _a.mode;
7
7
  var dispatch = useAppDispatch();
8
8
  var verifyTokenFun = function () {
9
9
  var token = internalToken ? internalToken : getParameterByName('token');
@@ -19,7 +19,7 @@ export var useVerifyToken = function (_a) {
19
19
  verifyTokenFun();
20
20
  }, [settingLoading, open]);
21
21
  useEffect(function () {
22
- if (internalToken && open)
22
+ if (internalToken && open && mode !== 'content')
23
23
  dispatch(handleCurrentActiveScreen(loadingScreenName));
24
24
  }, [navigation]);
25
25
  };
@@ -45,7 +45,8 @@ export var lightPalette = {
45
45
  },
46
46
  info: {
47
47
  main: '#808592',
48
- light: '#EAECEF'
48
+ light: '#EAECEF',
49
+ dark: '#3B4152'
49
50
  }
50
51
  };
51
52
  export var darkPalette = {
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
24
24
  function verb(n) { return function (v) { return step([n, v]); }; }
25
25
  function step(op) {
26
26
  if (f) throw new TypeError("Generator is already executing.");
27
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
27
+ while (_) try {
28
28
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
29
29
  if (y = 0, t) op = [op[0] & 2, t.value];
30
30
  switch (op[0]) {
@@ -6,12 +6,14 @@ export declare const removeAllOtherThanAlphabetAndSpace: (str: string) => string
6
6
  export declare const removeAllNumberFromChars: (str: string) => string;
7
7
  export declare const keepEmailCharacters: (str: string) => string;
8
8
  export declare const removeAllOtherThanCharsAndNumber: (str: string) => string;
9
+ export declare const removeAllOtherThanCharsNumbersAtAndDot: (str: string) => string;
9
10
  export declare const removeAllOtherThanCharsNumbersAndSpace: (str: string) => string;
10
11
  export declare function PasswordMatchLength(password: string): boolean;
11
12
  export declare function isPasswordHasUpperLetter(password: string): boolean;
12
13
  export declare function isPasswordHasLowerLetter(password: string): boolean;
13
14
  export declare function isPasswordHasSpecialLetter(password: string): boolean;
14
15
  export declare const keepLettersAndSpace: (str: string) => string;
16
+ export declare const isConnectTapDomain: (domain: string) => boolean;
15
17
  export declare const isTapDomain: (domain: string) => boolean;
16
18
  export declare const removeArabicWords: (str: string) => string;
17
19
  export declare const removeAllOtherThanArabicWords: (str: string) => string;
@@ -22,6 +22,9 @@ export var keepEmailCharacters = function (str) {
22
22
  export var removeAllOtherThanCharsAndNumber = function (str) {
23
23
  return str.replace(/[^A-Za-z0-9]/g, '');
24
24
  };
25
+ export var removeAllOtherThanCharsNumbersAtAndDot = function (str) {
26
+ return str.replace(/[^A-Za-z0-9@.]/g, '');
27
+ };
25
28
  export var removeAllOtherThanCharsNumbersAndSpace = function (str) {
26
29
  return str.replace(/[^A-Za-z0-9 ]/g, '');
27
30
  };
@@ -40,10 +43,13 @@ export function isPasswordHasSpecialLetter(password) {
40
43
  export var keepLettersAndSpace = function (str) {
41
44
  return str.replace(/[^a-zA-Z] /g, '');
42
45
  };
43
- export var isTapDomain = function (domain) {
46
+ export var isConnectTapDomain = function (domain) {
44
47
  var regex = /^(connect(?:\..+)?\.tap\.company)$/;
45
48
  return regex.test(domain);
46
49
  };
50
+ export var isTapDomain = function (domain) {
51
+ return domain.includes('tap.company');
52
+ };
47
53
  export var removeArabicWords = function (str) {
48
54
  return str.replace(/[\u0600-\u06FF]/g, '').trim();
49
55
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/auth-jsconnect",
3
- "version": "2.6.60-test",
3
+ "version": "2.6.82-test",
4
4
  "description": "connect library, auth",
5
5
  "private": false,
6
6
  "main": "build/index.js",