@tap-payments/auth-jsconnect 2.6.102-test → 2.7.3-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 (423) hide show
  1. package/build/@types/app.d.ts +19 -28
  2. package/build/@types/config.d.ts +30 -0
  3. package/build/@types/config.js +1 -0
  4. package/build/@types/form.d.ts +22 -22
  5. package/build/@types/index.d.ts +1 -0
  6. package/build/@types/index.js +1 -0
  7. package/build/@types/theme.d.ts +5 -1
  8. package/build/@types/theme.js +5 -0
  9. package/build/api/account.d.ts +2 -2
  10. package/build/api/auth.d.ts +13 -13
  11. package/build/api/availabilityServices.d.ts +3 -3
  12. package/build/api/axios.js +1 -1
  13. package/build/api/board.d.ts +3 -3
  14. package/build/api/brand.d.ts +1 -1
  15. package/build/api/country.d.ts +1 -1
  16. package/build/api/data.d.ts +11 -11
  17. package/build/api/document.d.ts +2 -2
  18. package/build/api/entity.d.ts +10 -10
  19. package/build/api/file.d.ts +1 -1
  20. package/build/api/individual.d.ts +5 -5
  21. package/build/api/init.d.ts +1 -1
  22. package/build/api/lead.d.ts +12 -12
  23. package/build/api/lead.js +1 -1
  24. package/build/api/operator.d.ts +2 -2
  25. package/build/api/operator.js +1 -1
  26. package/build/api/user.d.ts +2 -2
  27. package/build/app/settings.d.ts +23 -5
  28. package/build/app/settings.js +24 -21
  29. package/build/app/store.d.ts +4 -4
  30. package/build/components/AnimationFlow/AnimationFlow.d.ts +3 -2
  31. package/build/components/AnimationFlow/AnimationFlow.js +3 -3
  32. package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
  33. package/build/components/AnimationFlow/Dialog.d.ts +3 -2
  34. package/build/components/AnimationFlow/Dialog.js +5 -5
  35. package/build/components/AnimationFlow/Error.d.ts +1 -2
  36. package/build/components/AnimationFlow/Loader.d.ts +1 -2
  37. package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
  38. package/build/components/Button/Button.d.ts +1 -1
  39. package/build/components/CheckBox/CheckBox.d.ts +1 -1
  40. package/build/components/Collapse/Collapse.d.ts +1 -2
  41. package/build/components/DatePicker/DatePicker.d.ts +1 -1
  42. package/build/components/ExpandIcon/ExpandIcon.d.ts +1 -2
  43. package/build/components/FileInput/DragAndDrop.d.ts +1 -2
  44. package/build/components/FileInput/UploadInput.d.ts +1 -2
  45. package/build/components/Footer/Footer.d.ts +1 -1
  46. package/build/components/Form/Form.d.ts +1 -1
  47. package/build/components/Input/Input.d.ts +1 -1
  48. package/build/components/InputAdornment/InputAdornment.d.ts +1 -1
  49. package/build/components/List/List.d.ts +1 -1
  50. package/build/components/ListItem/ListItem.d.ts +1 -1
  51. package/build/components/Loader/Loader.d.ts +1 -1
  52. package/build/components/LogoBadge/LogoBadge.d.ts +1 -1
  53. package/build/components/OTPField/OTPField.d.ts +1 -1
  54. package/build/components/OTPTimer/OTPTimer.d.ts +1 -1
  55. package/build/components/ProgressBar/CircularProgressBar.d.ts +1 -2
  56. package/build/components/ProgressBar/ProgressBar.d.ts +1 -1
  57. package/build/components/Providers/ReduxProvider.d.ts +1 -1
  58. package/build/components/Providers/ThemeProvider.d.ts +1 -1
  59. package/build/components/Radio/Radio.d.ts +1 -1
  60. package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
  61. package/build/components/RadioLabel/RadioLabel.d.ts +1 -1
  62. package/build/components/SimpleList/SimpleList.d.ts +1 -1
  63. package/build/components/Slide/Slide.d.ts +1 -1
  64. package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
  65. package/build/components/Text/Text.d.ts +1 -1
  66. package/build/components/ToggleButton/ToggleButton.d.ts +1 -1
  67. package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  68. package/build/components/Tooltip/Tooltip.d.ts +1 -1
  69. package/build/components/Warning/Warning.d.ts +1 -1
  70. package/build/constants/app.d.ts +1 -1
  71. package/build/features/app/auth/authStore.d.ts +151 -16
  72. package/build/features/app/auth/authStore.js +12 -10
  73. package/build/features/app/bank/bankStore.d.ts +92 -11
  74. package/build/features/app/bank/bankStore.js +1 -1
  75. package/build/features/app/board/boardStore.d.ts +41 -5
  76. package/build/features/app/board/boardStore.js +1 -1
  77. package/build/features/app/brand/brandStore.d.ts +142 -16
  78. package/build/features/app/brand/brandStore.js +1 -1
  79. package/build/features/app/business/businessStore.d.ts +162 -18
  80. package/build/features/app/business/businessStore.js +1 -1
  81. package/build/features/app/connect/connectStore.d.ts +151 -16
  82. package/build/features/app/connect/connectStore.js +1 -1
  83. package/build/features/app/connectExpress/connectExpressStore.d.ts +271 -28
  84. package/build/features/app/connectExpress/connectExpressStore.js +35 -32
  85. package/build/features/app/entity/entityStore.d.ts +92 -11
  86. package/build/features/app/entity/entityStore.js +1 -1
  87. package/build/features/app/individual/individualStore.d.ts +185 -23
  88. package/build/features/app/individual/individualStore.js +1 -1
  89. package/build/features/app/password/passwordStore.d.ts +112 -13
  90. package/build/features/app/password/passwordStore.js +1 -1
  91. package/build/features/app/signIn/signInStore.d.ts +61 -7
  92. package/build/features/app/signIn/signInStore.js +1 -1
  93. package/build/features/app/tax/taxStore.d.ts +82 -10
  94. package/build/features/app/tax/taxStore.js +1 -1
  95. package/build/features/auth/Auth.d.ts +1 -2
  96. package/build/features/auth/Auth.js +6 -7
  97. package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
  98. package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +1 -1
  99. package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
  100. package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
  101. package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +1 -1
  102. package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +1 -2
  103. package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +3 -3
  104. package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +1 -1
  105. package/build/features/auth/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
  106. package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  107. package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +1 -1
  108. package/build/features/auth/screens/CivilID/CivilID.d.ts +1 -1
  109. package/build/features/auth/screens/Mobile/Mobile.d.ts +1 -1
  110. package/build/features/auth/screens/NID/DOB.d.ts +1 -2
  111. package/build/features/auth/screens/NID/NID.d.ts +1 -1
  112. package/build/features/auth/screens/OTP/OTP.d.ts +1 -1
  113. package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
  114. package/build/features/auth/screens/PreparingData/PreparingData.d.ts +1 -1
  115. package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  116. package/build/features/bank/Bank.d.ts +1 -2
  117. package/build/features/bank/Bank.js +1 -1
  118. package/build/features/bank/screens/BankDetails/BankDetails.d.ts +1 -2
  119. package/build/features/bank/screens/BankDetails/BankName.d.ts +2 -3
  120. package/build/features/bank/screens/BankDetails/BankStatement.d.ts +2 -3
  121. package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +1 -2
  122. package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +2 -3
  123. package/build/features/bank/screens/BankDetails/IBAN.d.ts +1 -2
  124. package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
  125. package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  126. package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  127. package/build/features/bank/screens/Success/Success.d.ts +1 -1
  128. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  129. package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
  130. package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
  131. package/build/features/board/Board.d.ts +1 -2
  132. package/build/features/board/Board.js +1 -1
  133. package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  134. package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  135. package/build/features/board/screens/Verify/OTPInput.d.ts +1 -1
  136. package/build/features/board/screens/Verify/Verify.d.ts +1 -1
  137. package/build/features/brand/Brand.d.ts +1 -2
  138. package/build/features/brand/Brand.js +1 -1
  139. package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +13 -29
  140. package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +1 -2
  141. package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +13 -37
  142. package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +1 -2
  143. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +1 -2
  144. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +12 -20
  145. package/build/features/brand/screens/BrandActivities/TAC.d.ts +3 -3
  146. package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +2 -3
  147. package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +1 -2
  148. package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +2 -3
  149. package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -1
  150. package/build/features/brand/screens/BrandInfo/BrandName.js +1 -1
  151. package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +1 -2
  152. package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +1 -2
  153. package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +1 -2
  154. package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +1 -2
  155. package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +1 -2
  156. package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +1 -2
  157. package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  158. package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  159. package/build/features/brand/screens/Success/Success.d.ts +1 -1
  160. package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  161. package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
  162. package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
  163. package/build/features/business/Business.d.ts +1 -2
  164. package/build/features/business/Business.js +1 -1
  165. package/build/features/business/screens/Activities/Activities.d.ts +1 -2
  166. package/build/features/business/screens/Activities/ActivitiesList.d.ts +9 -25
  167. package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
  168. package/build/features/business/screens/Activities/OperationStartDate.d.ts +5 -13
  169. package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
  170. package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
  171. package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
  172. package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
  173. package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +5 -13
  174. package/build/features/business/screens/BusinessType/Article.d.ts +2 -3
  175. package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
  176. package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
  177. package/build/features/business/screens/BusinessType/EntityName.d.ts +1 -2
  178. package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +1 -2
  179. package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
  180. package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
  181. package/build/features/business/screens/BusinessType/LicenseType.d.ts +4 -4
  182. package/build/features/business/screens/BusinessType/SelectType.d.ts +1 -1
  183. package/build/features/business/screens/BusinessType/Switch.d.ts +1 -1
  184. package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
  185. package/build/features/business/screens/Customers/CustomerLocations.d.ts +17 -41
  186. package/build/features/business/screens/Customers/Customers.d.ts +1 -1
  187. package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +1 -2
  188. package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +1 -2
  189. package/build/features/business/screens/Customers/RefundPolicy.d.ts +11 -19
  190. package/build/features/business/screens/Customers/TransactionPolicy.d.ts +1 -2
  191. package/build/features/business/screens/IDBOD/DOB.d.ts +1 -1
  192. package/build/features/business/screens/IDBOD/ID.d.ts +1 -1
  193. package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
  194. package/build/features/business/screens/OTP/OTP.d.ts +1 -1
  195. package/build/features/business/screens/OTP/OTPInput.d.ts +1 -1
  196. package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  197. package/build/features/business/screens/Success/Success.d.ts +1 -1
  198. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  199. package/build/features/business/screens/Verify/OTPInput.d.ts +1 -1
  200. package/build/features/business/screens/Verify/Verify.d.ts +1 -1
  201. package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  202. package/build/features/connect/Connect.d.ts +1 -2
  203. package/build/features/connect/Connect.js +7 -7
  204. package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
  205. package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +1 -2
  206. package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  207. package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +1 -1
  208. package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
  209. package/build/features/connect/screens/Individual/Email.d.ts +1 -1
  210. package/build/features/connect/screens/Individual/Email.js +1 -1
  211. package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
  212. package/build/features/connect/screens/Individual/Name.d.ts +1 -1
  213. package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
  214. package/build/features/connect/screens/Merchant/BrandName.d.ts +1 -1
  215. package/build/features/connect/screens/Merchant/BrandName.js +1 -1
  216. package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
  217. package/build/features/connect/screens/Merchant/SalesChannels.d.ts +1 -2
  218. package/build/features/connect/screens/Merchant/TAC.d.ts +1 -1
  219. package/build/features/connect/screens/Mobile/Mobile.d.ts +1 -1
  220. package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
  221. package/build/features/connect/screens/NID/DOB.d.ts +1 -2
  222. package/build/features/connect/screens/NID/NID.d.ts +1 -1
  223. package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
  224. package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
  225. package/build/features/connect/screens/OperatorError/OperatorError.d.ts +1 -1
  226. package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
  227. package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  228. package/build/features/connectExpress/ConnectExpress.d.ts +1 -2
  229. package/build/features/connectExpress/ConnectExpress.js +8 -8
  230. package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
  231. package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
  232. package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
  233. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
  234. package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +1 -1
  235. package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.d.ts +1 -2
  236. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +3 -3
  237. package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +1 -1
  238. package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
  239. package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
  240. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  241. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +1 -1
  242. package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
  243. package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
  244. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
  245. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +1 -1
  246. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
  247. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
  248. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
  249. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +4 -4
  250. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +3 -3
  251. package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
  252. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
  253. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +1 -1
  254. package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
  255. package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
  256. package/build/features/connectExpress/screens/IdentityOTP/OTP.d.ts +1 -1
  257. package/build/features/connectExpress/screens/IdentityOTP/OTPInput.d.ts +1 -1
  258. package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +1 -1
  259. package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +1 -1
  260. package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
  261. package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
  262. package/build/features/connectExpress/screens/NID/DOB.d.ts +1 -2
  263. package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
  264. package/build/features/connectExpress/screens/NID/TAC.d.ts +3 -3
  265. package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +1 -2
  266. package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
  267. package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
  268. package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
  269. package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  270. package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  271. package/build/features/entity/Entity.d.ts +1 -2
  272. package/build/features/entity/Entity.js +1 -1
  273. package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +9 -25
  274. package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
  275. package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
  276. package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
  277. package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +1 -2
  278. package/build/features/entity/screens/EntityName/Article.d.ts +2 -3
  279. package/build/features/entity/screens/EntityName/EntityName.d.ts +1 -2
  280. package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +13 -29
  281. package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +5 -13
  282. package/build/features/entity/screens/EntityName/IssuingDate.d.ts +5 -13
  283. package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
  284. package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +1 -2
  285. package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
  286. package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
  287. package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  288. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  289. package/build/features/entity/screens/Success/Success.d.ts +1 -1
  290. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  291. package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
  292. package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
  293. package/build/features/individual/Individual.d.ts +1 -2
  294. package/build/features/individual/Individual.js +1 -1
  295. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +5 -13
  296. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +2 -3
  297. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
  298. package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +3 -3
  299. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
  300. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -2
  301. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +3 -3
  302. package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +1 -1
  303. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +1 -1
  304. package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +1 -2
  305. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
  306. package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
  307. package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
  308. package/build/features/individual/screens/IndividualList/Email.js +1 -1
  309. package/build/features/individual/screens/IndividualList/IndividualList.d.ts +9 -25
  310. package/build/features/individual/screens/IndividualList/UserList.d.ts +1 -2
  311. package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
  312. package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +1 -1
  313. package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
  314. package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +4 -4
  315. package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
  316. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +5 -13
  317. package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
  318. package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
  319. package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  320. package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  321. package/build/features/individual/screens/Success/Success.d.ts +1 -1
  322. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  323. package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
  324. package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
  325. package/build/features/password/Password.d.ts +1 -2
  326. package/build/features/password/Password.js +1 -1
  327. package/build/features/password/screens/CreatePassword/ConditionText.d.ts +1 -2
  328. package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
  329. package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
  330. package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
  331. package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +1 -2
  332. package/build/features/password/screens/OTP/OTP.d.ts +1 -1
  333. package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
  334. package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  335. package/build/features/password/screens/Success/Success.d.ts +1 -1
  336. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  337. package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
  338. package/build/features/password/screens/Verify/Verify.d.ts +1 -1
  339. package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +1 -2
  340. package/build/features/shared/Address/Address.d.ts +1 -2
  341. package/build/features/shared/Address/CountryList.d.ts +13 -29
  342. package/build/features/shared/Address/InputSelect.d.ts +13 -29
  343. package/build/features/shared/Address/InputSelect.js +1 -1
  344. package/build/features/shared/Address/InputText.d.ts +1 -1
  345. package/build/features/shared/Background/Background.d.ts +1 -1
  346. package/build/features/shared/Background/LogoBackground.d.ts +1 -1
  347. package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +1 -2
  348. package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +1 -2
  349. package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
  350. package/build/features/shared/Button/AbsherButton.d.ts +1 -2
  351. package/build/features/shared/Button/Button.d.ts +1 -2
  352. package/build/features/shared/Button/EmailProvidersButtons.d.ts +2 -3
  353. package/build/features/shared/Button/FlowsButtons.d.ts +2 -3
  354. package/build/features/shared/Button/FlowsButtons.js +1 -1
  355. package/build/features/shared/Button/IndividualActionButtons.d.ts +2 -2
  356. package/build/features/shared/Button/MobileButton.d.ts +1 -2
  357. package/build/features/shared/Button/SuccessButton.d.ts +1 -2
  358. package/build/features/shared/Calender/Calender.d.ts +1 -2
  359. package/build/features/shared/CheckIcon/CheckIcon.d.ts +2 -3
  360. package/build/features/shared/Chip/Chip.d.ts +1 -2
  361. package/build/features/shared/ClearIcon/ClearIcon.d.ts +1 -2
  362. package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
  363. package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
  364. package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
  365. package/build/features/shared/DataLoading/DataLoading.d.ts +1 -1
  366. package/build/features/shared/Dialog/CloseDialog.d.ts +1 -2
  367. package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
  368. package/build/features/shared/Dot/Dot.d.ts +1 -2
  369. package/build/features/shared/EndAdornment/EndAdornment.d.ts +1 -2
  370. package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +1 -2
  371. package/build/features/shared/Footer/Footer.d.ts +1 -2
  372. package/build/features/shared/Footer/PoweredByFooter.d.ts +2 -3
  373. package/build/features/shared/GenericError/GenericError.d.ts +1 -1
  374. package/build/features/shared/Input/Input.d.ts +6 -14
  375. package/build/features/shared/InputSelect/InputSelect.d.ts +1 -2
  376. package/build/features/shared/Mandatory/Mandatory.d.ts +1 -2
  377. package/build/features/shared/OTP/OTP.d.ts +1 -1
  378. package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
  379. package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +1 -2
  380. package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +1 -2
  381. package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
  382. package/build/features/shared/Search/Search.d.ts +1 -2
  383. package/build/features/shared/SearchIcon/SearchIcon.d.ts +1 -2
  384. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
  385. package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -1
  386. package/build/features/shared/UploadFile/FileUpload.d.ts +4 -4
  387. package/build/features/shared/UploadFile/FileUpload.js +1 -1
  388. package/build/features/shared/UploadFile/UploadFile.d.ts +3 -3
  389. package/build/features/shared/UploadFile/UploadWrapper.d.ts +3 -3
  390. package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +4 -4
  391. package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
  392. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +3 -3
  393. package/build/features/signIn/SignIn.d.ts +1 -2
  394. package/build/features/signIn/SignIn.js +1 -1
  395. package/build/features/signIn/screens/Email/Email.d.ts +1 -1
  396. package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
  397. package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
  398. package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
  399. package/build/features/signIn/screens/Password/Password.d.ts +1 -1
  400. package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
  401. package/build/features/tax/Tax.d.ts +1 -2
  402. package/build/features/tax/Tax.js +1 -1
  403. package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  404. package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  405. package/build/features/tax/screens/Success/Success.d.ts +1 -1
  406. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  407. package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +2 -3
  408. package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +1 -2
  409. package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +1 -2
  410. package/build/features/tax/screens/TaxDetails/VATId.d.ts +2 -3
  411. package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
  412. package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
  413. package/build/hooks/useAppConfig.d.ts +3 -3
  414. package/build/hooks/useAppConfig.js +2 -2
  415. package/build/hooks/useDataVerified.d.ts +1 -1
  416. package/build/hooks/useExcludeReadOnlyFelids.d.ts +2 -2
  417. package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +2 -2
  418. package/build/hooks/useFormReadOnly.d.ts +2 -2
  419. package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
  420. package/build/utils/array.js +1 -1
  421. package/build/utils/device.d.ts +2 -0
  422. package/build/utils/device.js +6 -0
  423. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
- export declare type EntityInfoBody = {
2
+ export type EntityInfoBody = {
3
3
  id: string;
4
4
  lead_id?: string;
5
5
  activities?: Array<{
@@ -34,7 +34,7 @@ export declare type EntityInfoBody = {
34
34
  encryption_contract?: Array<string>;
35
35
  vat_acknowledged_by?: string;
36
36
  };
37
- export declare type BankDocumentInfo = {
37
+ export type BankDocumentInfo = {
38
38
  type?: string;
39
39
  number?: string;
40
40
  issuing_country?: string;
@@ -42,7 +42,7 @@ export declare type BankDocumentInfo = {
42
42
  expiry_date?: string;
43
43
  files: Array<string>;
44
44
  };
45
- export declare type EntityBankUpdateBody = {
45
+ export type EntityBankUpdateBody = {
46
46
  wallet_id: string;
47
47
  acknowledged_by?: string;
48
48
  bank_account: {
@@ -58,7 +58,7 @@ export declare type EntityBankUpdateBody = {
58
58
  step_name: string;
59
59
  encryption_contract?: Array<string>;
60
60
  };
61
- export declare type UpdateEntityBody = {
61
+ export type UpdateEntityBody = {
62
62
  id: string;
63
63
  license?: {
64
64
  type?: string;
@@ -88,13 +88,13 @@ export declare type UpdateEntityBody = {
88
88
  };
89
89
  encryption_contract?: Array<string>;
90
90
  };
91
- export declare type UpdateEntityActivityBody = {
91
+ export type UpdateEntityActivityBody = {
92
92
  id: string;
93
93
  activities?: Array<{
94
94
  id: string;
95
95
  }>;
96
96
  };
97
- export declare type UpdateEntityCapitalBody = {
97
+ export type UpdateEntityCapitalBody = {
98
98
  id: string;
99
99
  capital: {
100
100
  paid: string;
@@ -104,23 +104,23 @@ export declare type UpdateEntityCapitalBody = {
104
104
  };
105
105
  };
106
106
  };
107
- export declare type UpdateEntityAOAFileBody = {
107
+ export type UpdateEntityAOAFileBody = {
108
108
  id: string;
109
109
  AOA_file_id: string;
110
110
  };
111
- export declare type RemoveEntityActivity = {
111
+ export type RemoveEntityActivity = {
112
112
  id: string;
113
113
  activities?: Array<{
114
114
  id: string;
115
115
  }>;
116
116
  };
117
- export declare type MerchantListBody = {
117
+ export type MerchantListBody = {
118
118
  business_entity_id: string;
119
119
  brand_id: string;
120
120
  create_if_not_present: boolean;
121
121
  platforms?: Array<string>;
122
122
  };
123
- export declare type CreateEntityBody = {
123
+ export type CreateEntityBody = {
124
124
  business_id: string;
125
125
  entity: {
126
126
  legal_name: {
@@ -1,5 +1,5 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
- export declare type UploadFileBody = {
2
+ export type UploadFileBody = {
3
3
  file_link_create: boolean;
4
4
  file?: File;
5
5
  title: string | undefined;
@@ -1,8 +1,8 @@
1
1
  import { DocumentInfo } from './document';
2
- export declare type BrandListBody = {
2
+ export type BrandListBody = {
3
3
  individual_id: string;
4
4
  };
5
- export declare type UpdateBrandBody = {
5
+ export type UpdateBrandBody = {
6
6
  id: string;
7
7
  name?: {
8
8
  en?: string;
@@ -74,14 +74,14 @@ export declare type UpdateBrandBody = {
74
74
  encryption_contract?: Array<string>;
75
75
  term_by?: string;
76
76
  };
77
- export declare type UpdateSalesChannels = {
77
+ export type UpdateSalesChannels = {
78
78
  id?: string;
79
79
  channel_services: Array<{
80
80
  id: string;
81
81
  address: string;
82
82
  }>;
83
83
  };
84
- export declare type UpdateIndividualBody = {
84
+ export type UpdateIndividualBody = {
85
85
  names?: {
86
86
  en?: {
87
87
  title?: string;
@@ -148,7 +148,7 @@ export interface UpdateIndividualWithTypeBody extends UpdateIndividualBody {
148
148
  export interface UpdateMultipleIndividualBody extends UpdateIndividualBody {
149
149
  ids: Array<string>;
150
150
  }
151
- export declare type GetIndividualListBody = {
151
+ export type GetIndividualListBody = {
152
152
  page: number;
153
153
  limit: number;
154
154
  business_id: string;
@@ -1,4 +1,4 @@
1
- export declare type InitBody = {
1
+ export type InitBody = {
2
2
  type: string;
3
3
  app_client_version: string;
4
4
  requirer_browser: string;
@@ -1,32 +1,32 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
2
  import { LanguageMode } from '../@types';
3
- declare type Name = {
3
+ type Name = {
4
4
  title?: string;
5
5
  first?: string;
6
6
  middle?: string;
7
7
  last?: string;
8
8
  };
9
- declare type Contact = {
9
+ type Contact = {
10
10
  email?: string;
11
11
  phone?: {
12
12
  country_code?: string;
13
13
  number?: string;
14
14
  };
15
15
  };
16
- declare type BusinessName = {
16
+ type BusinessName = {
17
17
  en?: string;
18
18
  ar?: string;
19
19
  };
20
- declare type BrandTitle = {
20
+ type BrandTitle = {
21
21
  en?: string;
22
22
  ar?: string;
23
23
  zh?: string;
24
24
  };
25
- declare type BrandContent = {
25
+ type BrandContent = {
26
26
  tag_line?: BrandTitle;
27
27
  about?: BrandTitle;
28
28
  };
29
- declare type BrandInfo = {
29
+ type BrandInfo = {
30
30
  id?: string;
31
31
  name?: BrandTitle;
32
32
  sector?: Array<string>;
@@ -35,7 +35,7 @@ declare type BrandInfo = {
35
35
  logo?: string;
36
36
  content?: BrandContent;
37
37
  };
38
- export declare type UpdateLeadBody = {
38
+ export type UpdateLeadBody = {
39
39
  step_name?: string;
40
40
  id: string;
41
41
  encryption_contract?: Array<string>;
@@ -67,21 +67,21 @@ export declare type UpdateLeadBody = {
67
67
  team: string;
68
68
  };
69
69
  };
70
- export declare type LeadVerifyBody = {
70
+ export type LeadVerifyBody = {
71
71
  verify_token: string;
72
72
  service_name: string;
73
73
  notification?: {
74
74
  sms: boolean;
75
75
  };
76
76
  };
77
- export declare type CreateVerifyTokenBody = {
77
+ export type CreateVerifyTokenBody = {
78
78
  service_name: string;
79
79
  board_id: string;
80
80
  notification?: {
81
81
  sms: boolean;
82
82
  };
83
83
  };
84
- export declare type ExpressLeadVerifyBody = {
84
+ export type ExpressLeadVerifyBody = {
85
85
  token: string;
86
86
  };
87
87
  export interface LeadOTPVerifyBody extends LeadVerifyBody {
@@ -89,11 +89,11 @@ export interface LeadOTPVerifyBody extends LeadVerifyBody {
89
89
  step_name: string;
90
90
  encryption_contract: Array<string>;
91
91
  }
92
- export declare type CreateLeadBody = {
92
+ export type CreateLeadBody = {
93
93
  individual_id: string;
94
94
  country_code: string;
95
95
  };
96
- export declare type LeadIdentityUpdateBody = {
96
+ export type LeadIdentityUpdateBody = {
97
97
  id: string;
98
98
  identification: {
99
99
  id: string;
package/build/api/lead.js CHANGED
@@ -13,7 +13,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
13
13
  function verb(n) { return function (v) { return step([n, v]); }; }
14
14
  function step(op) {
15
15
  if (f) throw new TypeError("Generator is already executing.");
16
- while (_) try {
16
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
17
17
  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;
18
18
  if (y = 0, t) op = [op[0] & 2, t.value];
19
19
  switch (op[0]) {
@@ -1,4 +1,4 @@
1
- export declare type ValidateOperatorBody = {
1
+ export type ValidateOperatorBody = {
2
2
  type: string;
3
3
  app_client_version: string;
4
4
  requirer_browser: string;
@@ -6,7 +6,7 @@ export declare type ValidateOperatorBody = {
6
6
  locale: string;
7
7
  connect_pkey?: string;
8
8
  };
9
- export declare type ConfirmBody = {
9
+ export type ConfirmBody = {
10
10
  post_url: string;
11
11
  authentication_id: string;
12
12
  bi: string;
@@ -13,7 +13,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
13
13
  function verb(n) { return function (v) { return step([n, v]); }; }
14
14
  function step(op) {
15
15
  if (f) throw new TypeError("Generator is already executing.");
16
- while (_) try {
16
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
17
17
  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;
18
18
  if (y = 0, t) op = [op[0] & 2, t.value];
19
19
  switch (op[0]) {
@@ -1,8 +1,8 @@
1
- export declare type UserCredential = {
1
+ export type UserCredential = {
2
2
  code: string;
3
3
  phone: string;
4
4
  };
5
- export declare type GetUserListBody = {
5
+ export type GetUserListBody = {
6
6
  page: number;
7
7
  limit: number;
8
8
  business_id: string;
@@ -1,19 +1,37 @@
1
1
  import { RootState } from './store';
2
- import { ActionState, LanguageMode, SharedState, ThemeMode, ScreenStepNavigation, DeviceInfo, LibConfig, CountryCode, MerchantInfo, ConfigExpressTokenParams, BusinessCountryInfo, LocalProps } from '../@types';
2
+ import { ActionState, LanguageMode, SharedState, ThemeMode, ScreenStepNavigation, DeviceInfo, LibConfig, CountryCode, MerchantInfo, BusinessCountryInfo, ConfigInfo, LocalProps } from '../@types';
3
3
  interface SettingParams {
4
4
  disableCountries?: boolean;
5
5
  disableLocale?: boolean;
6
6
  mdn: string;
7
7
  maturity?: 'full' | 'express';
8
8
  configToken?: string;
9
- onVerifyConfigTokenSuccess?: (data: ConfigExpressTokenParams) => Promise<void>;
9
+ onVerifyConfigTokenSuccess?: (data: ConfigInfo) => Promise<void>;
10
10
  }
11
- export declare const fetchAppSettingsSync: import("@reduxjs/toolkit").AsyncThunk<any, SettingParams, {}>;
11
+ export declare const fetchAppSettingsSync: import("@reduxjs/toolkit").AsyncThunk<any, SettingParams, {
12
+ state?: unknown;
13
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
14
+ extra?: unknown;
15
+ rejectValue?: unknown;
16
+ serializedErrorType?: unknown;
17
+ pendingMeta?: unknown;
18
+ fulfilledMeta?: unknown;
19
+ rejectedMeta?: unknown;
20
+ }>;
12
21
  export declare const onCloseComplete: import("@reduxjs/toolkit").AsyncThunk<void, {
13
22
  merchantId: string;
14
23
  brandId: string;
15
24
  entityId: string;
16
- }, {}>;
25
+ }, {
26
+ state?: unknown;
27
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
28
+ extra?: unknown;
29
+ rejectValue?: unknown;
30
+ serializedErrorType?: unknown;
31
+ pendingMeta?: unknown;
32
+ fulfilledMeta?: unknown;
33
+ rejectedMeta?: unknown;
34
+ }>;
17
35
  export interface SettingsData {
18
36
  skin: ThemeMode;
19
37
  language: LanguageMode;
@@ -53,7 +71,7 @@ export declare const settingsSlice: import("@reduxjs/toolkit").Slice<SettingsSta
53
71
  handleSetAppConfig: (state: SettingsState, action: ActionState<LibConfig>) => void;
54
72
  handleSetCountryByIso2: (state: SettingsState, action: ActionState<string>) => void;
55
73
  }, "settings">;
56
- export declare const storeAuthId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, handleSkin: import("@reduxjs/toolkit").ActionCreatorWithPayload<ThemeMode, string>, handleLanguage: import("@reduxjs/toolkit").ActionCreatorWithPayload<LanguageMode, string>, handleActiveFlowScreens: import("@reduxjs/toolkit").ActionCreatorWithPayload<ScreenStepNavigation[], string>, handleNextScreenStep: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, string>, handlePrevScreenStep: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, string>, handleCurrentActiveScreen: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, handleSetAppConfig: import("@reduxjs/toolkit").ActionCreatorWithPayload<LibConfig, string>, handleOpen: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, handleSetCountryByIso2: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, handleIsTapOrigin: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, handelBoardMaturity: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, handlePublicKey: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, handleSwitchCalender: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>;
74
+ export declare const storeAuthId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "settings/storeAuthId">, handleSkin: import("@reduxjs/toolkit").ActionCreatorWithPayload<ThemeMode, "settings/handleSkin">, handleLanguage: import("@reduxjs/toolkit").ActionCreatorWithPayload<LanguageMode, "settings/handleLanguage">, handleActiveFlowScreens: import("@reduxjs/toolkit").ActionCreatorWithPayload<ScreenStepNavigation[], "settings/handleActiveFlowScreens">, handleNextScreenStep: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, "settings/handleNextScreenStep">, handlePrevScreenStep: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, "settings/handlePrevScreenStep">, handleCurrentActiveScreen: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "settings/handleCurrentActiveScreen">, handleSetAppConfig: import("@reduxjs/toolkit").ActionCreatorWithPayload<LibConfig, "settings/handleSetAppConfig">, handleOpen: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "settings/handleOpen">, handleSetCountryByIso2: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "settings/handleSetCountryByIso2">, handleIsTapOrigin: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "settings/handleIsTapOrigin">, handelBoardMaturity: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "settings/handelBoardMaturity">, handlePublicKey: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "settings/handlePublicKey">, handleSwitchCalender: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "settings/handleSwitchCalender">;
57
75
  declare const _default: import("redux").Reducer<SettingsState, import("redux").AnyAction>;
58
76
  export default _default;
59
77
  export declare const settingsSelector: (state: RootState) => SettingsState;
@@ -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 (_) try {
27
+ while (g && (g = 0, op[0] && (_ = 0)), _) 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]) {
@@ -47,15 +47,16 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
47
47
  };
48
48
  var _a;
49
49
  import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
50
- import { getStoredData, storeData, isArray, findItem, getBrowserInfo, getFingerPrint, sortCountries, findCountryByIso2, getRequestHeaders, encryptString, dangerousMessage, getParameterByName, setBaseUrl } from '../utils';
50
+ import { getStoredData, storeData, isArray, findItem, getBrowserInfo, getFingerPrint, sortCountries, findCountryByIso2, getRequestHeaders, encryptString, dangerousMessage, getParameterByName, setBaseUrl, getUserLanguage } from '../utils';
51
51
  import { BUSINESS_COUNTRIES, DefaultDeviceInfo, LOCAL_STORAGE_KEYS } from '../constants';
52
52
  import i18n from '../i18n';
53
53
  import { updateLocale } from '../utils/locale';
54
54
  import API, { getAxiosHeaders, setAxiosGlobalHeaders } from '../api';
55
55
  export var fetchAppSettingsSync = createAsyncThunk('fetchAppSettingsSync', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
56
- var settings, _a, appConfig, language, _b, client, device, os, disableLocale, maturity, disableCountries, configToken, onVerifyConfigTokenSuccess, _c, visitorId, locale, configInfo, matureData, lang, initPayload, _d, country_list, ip_info, merchant, operator, config, list, _e, ip, latitude, longitude, country_code, domain, language_1, country, scope, public_key, mature, board_maturity, post, platform_redirect_url, data, lead_id, platforms, deviceInfo, isValidOperator, countries, countryCode, businessCountry, ipCountry;
57
- return __generator(this, function (_f) {
58
- switch (_f.label) {
56
+ var settings, _a, appConfig, language, _b, client, device, os, disableLocale, maturity, disableCountries, configToken, onVerifyConfigTokenSuccess, _c, visitorId, locale, configInfo, matureData, lang, initPayload, _d, country_list, ip_info, merchant, operator, config, list, _e, ip, latitude, longitude, country_code, countries, _f, operator_1, scope, data, lead, board, interfaceData, redirect, post, platforms, _g, locale_1, edges, deviceInfo, isValidOperator, countryCode, businessCountry, ipCountry;
57
+ var _h;
58
+ return __generator(this, function (_j) {
59
+ switch (_j.label) {
59
60
  case 0:
60
61
  settings = thunkApi.getState().settings;
61
62
  _a = settings.data, appConfig = _a.appConfig, language = _a.language;
@@ -63,10 +64,10 @@ export var fetchAppSettingsSync = createAsyncThunk('fetchAppSettingsSync', funct
63
64
  disableLocale = params.disableLocale, maturity = params.maturity, disableCountries = params.disableCountries, configToken = params.configToken, onVerifyConfigTokenSuccess = params.onVerifyConfigTokenSuccess;
64
65
  return [4, Promise.all([getFingerPrint(), API.firebaseService.getLocale(disableLocale)])];
65
66
  case 1:
66
- _c = _f.sent(), visitorId = _c[0].visitorId, locale = _c[1];
67
+ _c = _j.sent(), visitorId = _c[0].visitorId, locale = _c[1];
67
68
  configInfo = appConfig;
68
69
  matureData = maturity;
69
- lang = getParameterByName('lang');
70
+ lang = getParameterByName('lang') || language;
70
71
  setAxiosGlobalHeaders({
71
72
  bi: visitorId || '',
72
73
  mdn: encryptString(params.mdn || window.location.origin),
@@ -77,24 +78,27 @@ export var fetchAppSettingsSync = createAsyncThunk('fetchAppSettingsSync', funct
77
78
  } });
78
79
  return [4, API.initService.getInitialData(initPayload)];
79
80
  case 2:
80
- _d = _f.sent(), country_list = _d.country_list, ip_info = _d.ip_info, merchant = _d.merchant, operator = _d.operator, config = _d.config;
81
+ _d = _j.sent(), country_list = _d.country_list, ip_info = _d.ip_info, merchant = _d.merchant, operator = _d.operator, config = _d.config;
81
82
  list = (country_list || { list: [] }).list;
82
83
  _e = ip_info || {}, ip = _e.ip, latitude = _e.latitude, longitude = _e.longitude, country_code = _e.country_code;
84
+ countries = sortCountries(list);
83
85
  if (config) {
84
- domain = config.domain, language_1 = config.language, country = config.country, scope = config.scope, public_key = config.public_key, mature = config.maturity, board_maturity = config.board_maturity, post = config.post, platform_redirect_url = config.platform_redirect_url, data = config.data, lead_id = config.lead_id, platforms = config.platforms;
85
- configInfo = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, configInfo), (domain && { merchantDomain: domain })), (language_1 && { language: language_1 })), (country && { businessCountryCode: country })), (scope && { scope: scope })), (public_key && { publicKey: public_key })), ((post === null || post === void 0 ? void 0 : post.url) && { postURL: post === null || post === void 0 ? void 0 : post.url })), (platform_redirect_url && { redirectUrl: platform_redirect_url })), (data && { data: data })), (lead_id && { leadId: lead_id })), (platforms && { platforms: platforms }));
86
- if (typeof mature === 'boolean')
87
- matureData = mature ? 'full' : 'express';
86
+ _f = config, operator_1 = _f.operator, scope = _f.scope, data = _f.data, lead = _f.lead, board = _f.board, interfaceData = _f.interface, redirect = _f.redirect, post = _f.post, platforms = _f.platforms;
87
+ _g = interfaceData || {}, locale_1 = _g.locale, edges = _g.edges;
88
+ if (locale_1)
89
+ lang = locale_1 === 'dynamic' ? getUserLanguage() : locale_1;
90
+ configInfo = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, configInfo), ((lead === null || lead === void 0 ? void 0 : lead.id) && { leadId: lead.id })), (scope && { scope: scope.toLowerCase() })), ((operator_1 === null || operator_1 === void 0 ? void 0 : operator_1.public_key) && { publicKey: operator_1.public_key })), ((post === null || post === void 0 ? void 0 : post.url) && { postURL: post.url })), ((redirect === null || redirect === void 0 ? void 0 : redirect.url) && { redirectUrl: redirect.url })), (data && { data: data })), (edges && { dialogEdgeFormat: edges })), (platforms && { platforms: platforms }));
91
+ matureData = 'express';
88
92
  thunkApi.dispatch(handleSetAppConfig(configInfo));
89
- thunkApi.dispatch(handleLanguage(language_1 || lang));
90
- if (public_key) {
93
+ thunkApi.dispatch(handleLanguage(lang));
94
+ if (configInfo.publicKey) {
91
95
  if (configToken) {
92
- setBaseUrl(public_key);
96
+ setBaseUrl(configInfo.publicKey);
93
97
  }
94
- thunkApi.dispatch(handlePublicKey(public_key));
98
+ thunkApi.dispatch(handlePublicKey(configInfo.publicKey));
95
99
  }
96
- if (typeof board_maturity === 'boolean')
97
- thunkApi.dispatch(handelBoardMaturity(board_maturity));
100
+ if (typeof (board === null || board === void 0 ? void 0 : board.editable) === 'boolean')
101
+ thunkApi.dispatch(handelBoardMaturity(board.editable));
98
102
  onVerifyConfigTokenSuccess === null || onVerifyConfigTokenSuccess === void 0 ? void 0 : onVerifyConfigTokenSuccess(config);
99
103
  if (matureData === 'express' && maturity !== matureData && typeof configInfo.onMaturityChanged === 'function') {
100
104
  configInfo.onMaturityChanged(matureData);
@@ -102,7 +106,7 @@ export var fetchAppSettingsSync = createAsyncThunk('fetchAppSettingsSync', funct
102
106
  }
103
107
  deviceInfo = {
104
108
  app: {
105
- language: configInfo.language || 'en',
109
+ language: language !== null && language !== void 0 ? language : (lang || 'en'),
106
110
  name: configInfo.appInfo.name,
107
111
  identifier: configInfo.appInfo.identifier || 'auth-connect',
108
112
  version: configInfo.appInfo.version || '2.0.0'
@@ -133,7 +137,6 @@ export var fetchAppSettingsSync = createAsyncThunk('fetchAppSettingsSync', funct
133
137
  };
134
138
  setAxiosGlobalHeaders(__assign(__assign(__assign({}, getRequestHeaders(deviceInfo)), { authorization: encryptString(configInfo.publicKey), mdn: encryptString(params.mdn || window.location.origin), cu: window.location.href }), (matureData && { maturity: matureData })));
135
139
  isValidOperator = operator === 'valid';
136
- countries = sortCountries(list);
137
140
  countryCode = configInfo.businessCountryCode;
138
141
  businessCountry = undefined;
139
142
  ipCountry = undefined;
@@ -141,7 +144,7 @@ export var fetchAppSettingsSync = createAsyncThunk('fetchAppSettingsSync', funct
141
144
  businessCountry = findCountryByIso2(countries, countryCode);
142
145
  if (country_code)
143
146
  ipCountry = findCountryByIso2(countries, country_code);
144
- return [2, __assign(__assign({ countries: countries, businessCountry: businessCountry, locale: locale, deviceInfo: deviceInfo, ipCountry: ipCountry, isValidOperator: isValidOperator, isMaturityExpress: matureData === 'express' }, (config && { boardMaturity: config.board_maturity })), (merchant && { merchant: merchant }))];
147
+ return [2, __assign(__assign({ countries: countries, businessCountry: businessCountry, locale: locale, deviceInfo: deviceInfo, ipCountry: ipCountry, isValidOperator: isValidOperator, isMaturityExpress: matureData === 'express' }, (config && { boardMaturity: (_h = config === null || config === void 0 ? void 0 : config.board) === null || _h === void 0 ? void 0 : _h.board_maturity })), (merchant && { merchant: merchant }))];
145
148
  }
146
149
  });
147
150
  }); });
@@ -1,5 +1,5 @@
1
1
  import { ThunkAction, Action } from '@reduxjs/toolkit';
2
- export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
2
+ export declare const store: import("@reduxjs/toolkit/dist/configureStore").ToolkitStore<{
3
3
  settings: import("./settings").SettingsState;
4
4
  connect: import("../features/app/connect/connectStore").ConnectState;
5
5
  business: import("../features/app/business/businessStore").BusinessState;
@@ -28,6 +28,6 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
28
28
  auth: import("../features/app/auth/authStore").AuthState;
29
29
  board: import("../features/app/board/boardStore").BoardState;
30
30
  }, import("redux").AnyAction, undefined>]>>;
31
- export declare type AppDispatch = typeof store.dispatch;
32
- export declare type RootState = ReturnType<typeof store.getState>;
33
- export declare type AppThunk<ReturnType = void> = ThunkAction<ReturnType, RootState, unknown, Action<string>>;
31
+ export type AppDispatch = typeof store.dispatch;
32
+ export type RootState = ReturnType<typeof store.getState>;
33
+ export type AppThunk<ReturnType = void> = ThunkAction<ReturnType, RootState, unknown, Action<string>>;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { MerchantInfo } from '../../@types';
2
+ import { DialogEdgeFormat, MerchantInfo } from '../../@types';
3
3
  export interface AnimationFlowProps {
4
4
  open: boolean;
5
5
  children: React.ReactNode;
@@ -21,5 +21,6 @@ export interface AnimationFlowProps {
21
21
  hideLoaderOverlay?: boolean;
22
22
  animationDirection?: 'left' | 'right' | 'up' | 'down';
23
23
  loaderColor?: string;
24
+ dialogEdgeFormat?: DialogEdgeFormat;
24
25
  }
25
- export default function AnimationFlow({ open, children, breakpoint, type, loading, error, isTapOrigin, screenId, animationType, onClose, onConfirm, pointerEvents, merchantInfo, isMaturityExpress, showTextLogo, hideFooter, hideMerchantLogo, hideLoaderOverlay, animationDirection, loaderColor }: AnimationFlowProps): JSX.Element;
26
+ export default function AnimationFlow({ open, children, breakpoint, type, loading, error, isTapOrigin, screenId, animationType, onClose, onConfirm, pointerEvents, merchantInfo, isMaturityExpress, showTextLogo, hideFooter, hideMerchantLogo, hideLoaderOverlay, animationDirection, loaderColor, dialogEdgeFormat }: AnimationFlowProps): import("react/jsx-runtime").JSX.Element;
@@ -24,7 +24,7 @@ var BoxStyled = styled(Box)(function () { return ({
24
24
  alignItems: 'center'
25
25
  }); });
26
26
  export default function AnimationFlow(_a) {
27
- var open = _a.open, children = _a.children, breakpoint = _a.breakpoint, type = _a.type, loading = _a.loading, error = _a.error, isTapOrigin = _a.isTapOrigin, screenId = _a.screenId, animationType = _a.animationType, onClose = _a.onClose, onConfirm = _a.onConfirm, _b = _a.pointerEvents, pointerEvents = _b === void 0 ? 'auto' : _b, merchantInfo = _a.merchantInfo, isMaturityExpress = _a.isMaturityExpress, showTextLogo = _a.showTextLogo, hideFooter = _a.hideFooter, hideMerchantLogo = _a.hideMerchantLogo, hideLoaderOverlay = _a.hideLoaderOverlay, animationDirection = _a.animationDirection, loaderColor = _a.loaderColor;
27
+ var open = _a.open, children = _a.children, breakpoint = _a.breakpoint, type = _a.type, loading = _a.loading, error = _a.error, isTapOrigin = _a.isTapOrigin, screenId = _a.screenId, animationType = _a.animationType, onClose = _a.onClose, onConfirm = _a.onConfirm, _b = _a.pointerEvents, pointerEvents = _b === void 0 ? 'auto' : _b, merchantInfo = _a.merchantInfo, isMaturityExpress = _a.isMaturityExpress, showTextLogo = _a.showTextLogo, hideFooter = _a.hideFooter, hideMerchantLogo = _a.hideMerchantLogo, hideLoaderOverlay = _a.hideLoaderOverlay, animationDirection = _a.animationDirection, loaderColor = _a.loaderColor, dialogEdgeFormat = _a.dialogEdgeFormat;
28
28
  var small = useScreen(breakpoint).small;
29
29
  if (loading) {
30
30
  return _jsx(Loader, { color: loaderColor, hideLoaderOverlay: type === 'CONTENT' ? true : hideLoaderOverlay });
@@ -36,10 +36,10 @@ export default function AnimationFlow(_a) {
36
36
  return (_jsx(Fade, __assign({ in: true }, { children: _jsx(BoxStyled, { children: children }) })));
37
37
  }
38
38
  if (type === 'PUPOP') {
39
- return (_jsx(Dialog, __assign({ pointerEvents: pointerEvents, onClose: onClose, onConfirm: onConfirm, open: open, isTapOrigin: isTapOrigin, animationType: animationType, merchantInfo: merchantInfo, isMaturityExpress: isMaturityExpress, showTextLogo: showTextLogo, hideFooter: hideFooter, hideMerchantLogo: hideMerchantLogo, animationDirection: animationDirection }, { children: children })));
39
+ return (_jsx(Dialog, __assign({ pointerEvents: pointerEvents, onClose: onClose, onConfirm: onConfirm, open: open, isTapOrigin: isTapOrigin, animationType: animationType, merchantInfo: merchantInfo, isMaturityExpress: isMaturityExpress, showTextLogo: showTextLogo, hideFooter: hideFooter, hideMerchantLogo: hideMerchantLogo, animationDirection: animationDirection, dialogEdgeFormat: dialogEdgeFormat }, { children: children })));
40
40
  }
41
41
  if (type === 'BOTTOMSHEET') {
42
42
  return (_jsx(BottomSheet, __assign({ pointerEvents: pointerEvents, open: open, isMaturityExpress: isMaturityExpress, merchantInfo: merchantInfo, hideFooter: hideFooter, hideMerchantLogo: hideMerchantLogo }, { children: children })));
43
43
  }
44
- return small ? (_jsx(BottomSheet, __assign({ pointerEvents: pointerEvents, open: open, screenId: screenId, isMaturityExpress: isMaturityExpress, merchantInfo: merchantInfo, hideFooter: hideFooter, hideMerchantLogo: hideMerchantLogo }, { children: children }))) : (_jsx(Dialog, __assign({ pointerEvents: pointerEvents, onClose: onClose, onConfirm: onConfirm, open: open, isTapOrigin: isTapOrigin, animationType: animationType, merchantInfo: merchantInfo, isMaturityExpress: isMaturityExpress, showTextLogo: showTextLogo, hideFooter: hideFooter, hideMerchantLogo: hideMerchantLogo, animationDirection: animationDirection }, { children: children })));
44
+ return small ? (_jsx(BottomSheet, __assign({ pointerEvents: pointerEvents, open: open, screenId: screenId, isMaturityExpress: isMaturityExpress, merchantInfo: merchantInfo, hideFooter: hideFooter, hideMerchantLogo: hideMerchantLogo }, { children: children }))) : (_jsx(Dialog, __assign({ pointerEvents: pointerEvents, onClose: onClose, onConfirm: onConfirm, open: open, isTapOrigin: isTapOrigin, animationType: animationType, merchantInfo: merchantInfo, isMaturityExpress: isMaturityExpress, showTextLogo: showTextLogo, hideFooter: hideFooter, hideMerchantLogo: hideMerchantLogo, animationDirection: animationDirection, dialogEdgeFormat: dialogEdgeFormat }, { children: children })));
45
45
  }
@@ -12,5 +12,5 @@ export interface BottomSheetProps extends MainBottomSheetProps {
12
12
  hideFooter?: boolean;
13
13
  hideMerchantLogo?: boolean;
14
14
  }
15
- declare const _default: React.MemoExoticComponent<({ open, children, screenId, pointerEvents, isMaturityExpress, merchantInfo, hideFooter, hideMerchantLogo, ...rest }: BottomSheetProps) => JSX.Element>;
15
+ declare const _default: React.MemoExoticComponent<({ open, children, screenId, pointerEvents, isMaturityExpress, merchantInfo, hideFooter, hideMerchantLogo, ...rest }: BottomSheetProps) => import("react/jsx-runtime").JSX.Element>;
16
16
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { DialogProps as MUIDialogProps } from '@mui/material/Dialog';
3
3
  import { SxProps, Theme } from '@mui/material/styles';
4
- import { MerchantInfo } from '../../@types';
4
+ import { DialogEdgeFormat, MerchantInfo } from '../../@types';
5
5
  export interface DialogProps extends MUIDialogProps {
6
6
  open: boolean;
7
7
  isTapOrigin?: boolean;
@@ -19,6 +19,7 @@ export interface DialogProps extends MUIDialogProps {
19
19
  animationDirection?: 'left' | 'right' | 'up' | 'down';
20
20
  showAsContent?: boolean;
21
21
  sx?: SxProps<Theme>;
22
+ dialogEdgeFormat?: DialogEdgeFormat;
22
23
  }
23
- declare const _default: React.MemoExoticComponent<({ open, children, transitionDuration, isTapOrigin, animationType, onClose, onConfirm, pointerEvents, merchantInfo, isMaturityExpress, showTextLogo, hideFooter, hideMerchantLogo, animationDirection, sx, ...rest }: DialogProps) => JSX.Element>;
24
+ declare const _default: React.MemoExoticComponent<({ open, children, transitionDuration, isTapOrigin, animationType, onClose, onConfirm, pointerEvents, merchantInfo, isMaturityExpress, showTextLogo, hideFooter, hideMerchantLogo, animationDirection, sx, dialogEdgeFormat, ...rest }: DialogProps) => import("react/jsx-runtime").JSX.Element>;
24
25
  export default _default;
@@ -26,9 +26,10 @@ import MuiDialog from '@mui/material/Dialog';
26
26
  import DialogContent from '@mui/material/DialogContent';
27
27
  import Paper from '@mui/material/Paper';
28
28
  import Box from '@mui/material/Box';
29
- import { styled } from '@mui/material/styles';
29
+ import { styled, useTheme } from '@mui/material/styles';
30
30
  import { DIALOG_ID, ICONS_NAMES } from '../../constants';
31
31
  import { useLanguage } from '../../hooks';
32
+ import { DialogEdgeFormat } from '../../@types';
32
33
  import DialogContainer from '../../features/shared/Dialog';
33
34
  import { CustomFooter, PoweredByFooter } from '../../features/shared/Footer';
34
35
  import Slide from '../Slide';
@@ -104,8 +105,9 @@ var LanguageFooterStyled = styled(Box, { shouldForwardProp: function (prop) { re
104
105
  });
105
106
  });
106
107
  var Dialog = function (_a) {
107
- var open = _a.open, children = _a.children, transitionDuration = _a.transitionDuration, isTapOrigin = _a.isTapOrigin, _b = _a.animationType, animationType = _b === void 0 ? 'slide' : _b, onClose = _a.onClose, onConfirm = _a.onConfirm, _c = _a.pointerEvents, pointerEvents = _c === void 0 ? 'auto' : _c, merchantInfo = _a.merchantInfo, isMaturityExpress = _a.isMaturityExpress, showTextLogo = _a.showTextLogo, hideFooter = _a.hideFooter, hideMerchantLogo = _a.hideMerchantLogo, _d = _a.animationDirection, animationDirection = _d === void 0 ? 'up' : _d, sx = _a.sx, rest = __rest(_a, ["open", "children", "transitionDuration", "isTapOrigin", "animationType", "onClose", "onConfirm", "pointerEvents", "merchantInfo", "isMaturityExpress", "showTextLogo", "hideFooter", "hideMerchantLogo", "animationDirection", "sx"]);
108
+ var open = _a.open, children = _a.children, transitionDuration = _a.transitionDuration, isTapOrigin = _a.isTapOrigin, _b = _a.animationType, animationType = _b === void 0 ? 'slide' : _b, onClose = _a.onClose, onConfirm = _a.onConfirm, _c = _a.pointerEvents, pointerEvents = _c === void 0 ? 'auto' : _c, merchantInfo = _a.merchantInfo, isMaturityExpress = _a.isMaturityExpress, showTextLogo = _a.showTextLogo, hideFooter = _a.hideFooter, hideMerchantLogo = _a.hideMerchantLogo, _d = _a.animationDirection, animationDirection = _d === void 0 ? 'up' : _d, sx = _a.sx, dialogEdgeFormat = _a.dialogEdgeFormat, rest = __rest(_a, ["open", "children", "transitionDuration", "isTapOrigin", "animationType", "onClose", "onConfirm", "pointerEvents", "merchantInfo", "isMaturityExpress", "showTextLogo", "hideFooter", "hideMerchantLogo", "animationDirection", "sx", "dialogEdgeFormat"]);
108
109
  var isAr = useLanguage().isAr;
110
+ var theme = useTheme();
109
111
  var animation = {};
110
112
  if (animationType === 'slide') {
111
113
  Object.assign(animation, { TransitionComponent: Transition });
@@ -121,9 +123,7 @@ var Dialog = function (_a) {
121
123
  }, []);
122
124
  return (_jsxs(MuiDialog, __assign({ id: DIALOG_ID, PaperProps: {
123
125
  elevation: 0
124
- }, sx: __assign({ '& .MuiDialog-paper': {
125
- overflowY: 'visible'
126
- }, '&.MuiDialog-root': {
126
+ }, sx: __assign({ '& .MuiDialog-paper': __assign({ overflowY: 'visible' }, (dialogEdgeFormat === DialogEdgeFormat.STRAIGHT && { borderRadius: theme.spacing(0) })), '&.MuiDialog-root': {
127
127
  marginBottom: isMaturityExpress ? '60px' : '0px'
128
128
  }, pointerEvents: pointerEvents }, sx), hideBackdrop: true, PaperComponent: PaperStyled, open: open, transitionDuration: transitionDuration || 500, keepMounted: true, "aria-describedby": 'dialog-slide-description' }, rest, animation, (animationDirection && { TransitionProps: { direction: animationDirection } }), { children: [_jsx(DialogContainer, __assign({ isTapOrigin: isTapOrigin, onClose: onClose, onConfirm: onConfirm }, { children: _jsxs(DialogContentStyled, __assign({ isTapOrigin: isTapOrigin }, { children: [_jsxs(Collapse, __assign({ in: !isTapOrigin }, { children: [!hideMerchantLogo && _jsx(LogoBadge, { src: isMaturityExpress ? logo || ICONS_NAMES.LOGO_ICON : ICONS_NAMES.LOGO_ICON }), !isMaturityExpress && showTextLogo && (_jsx(LogoIconBoxStyled, { children: _jsx(LogoIconStyled, { src: isAr ? ICONS_NAMES.TAP_AR : ICONS_NAMES.TAP_EN, alt: 'tap logo' }) }))] })), children] })) })), isMaturityExpress ? _jsx(PoweredByFooter, {}) : !hideFooter && _jsx(CustomFooter, {}), !hideFooter && (_jsx(LanguageFooterStyled, __assign({ showLanguage: showLanguage }, { children: _jsx(CustomFooter, {}) })))] })));
129
129
  };
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  interface Props {
3
2
  error: string;
4
3
  }
5
- export default function Error({ error }: Props): JSX.Element;
4
+ export default function Error({ error }: Props): import("react/jsx-runtime").JSX.Element;
6
5
  export {};
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  interface LoadingProps {
3
2
  hideLoaderOverlay?: boolean;
4
3
  color?: string;
5
4
  }
6
- export default function FlowLoading({ hideLoaderOverlay, color }: LoadingProps): JSX.Element;
5
+ export default function FlowLoading({ hideLoaderOverlay, color }: LoadingProps): import("react/jsx-runtime").JSX.Element;
7
6
  export {};
@@ -12,5 +12,5 @@ export interface DatePickerProps extends CalendarProps {
12
12
  isDob?: boolean;
13
13
  isVerified?: boolean;
14
14
  }
15
- declare const _default: React.MemoExoticComponent<({ open, disabled, dir, readOnly, onDateChange, onClick, onDatePicked, value, isDob, isVerified, ...rest }: DatePickerProps) => JSX.Element>;
15
+ declare const _default: React.MemoExoticComponent<({ open, disabled, dir, readOnly, onDateChange, onClick, onDatePicked, value, isDob, isVerified, ...rest }: DatePickerProps) => import("react/jsx-runtime").JSX.Element>;
16
16
  export default _default;
@@ -8,7 +8,7 @@ export interface ButtonProps extends MUIButtonProps {
8
8
  outLineColor?: string;
9
9
  }
10
10
  declare const _default: React.MemoExoticComponent<{
11
- ({ children, startIcon, outLineColor, endIcon, ...rest }: ButtonProps): JSX.Element;
11
+ ({ children, startIcon, outLineColor, endIcon, ...rest }: ButtonProps): import("react/jsx-runtime").JSX.Element;
12
12
  defaultProps: {};
13
13
  }>;
14
14
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  import { CheckboxProps } from '@mui/material/Checkbox/Checkbox';
3
3
  export type { CheckboxProps };
4
- declare const _default: React.MemoExoticComponent<({ ...rest }: CheckboxProps) => JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<({ ...rest }: CheckboxProps) => import("react/jsx-runtime").JSX.Element>;
5
5
  export default _default;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  import { CollapseProps as MUICollapseProps } from '@mui/material/Collapse';
3
2
  export interface CollapseProps extends MUICollapseProps {
4
3
  }
5
- export default function Collapse({ children, ...rest }: CollapseProps): JSX.Element;
4
+ export default function Collapse({ children, ...rest }: CollapseProps): import("react/jsx-runtime").JSX.Element;
@@ -13,5 +13,5 @@ export interface DatePickerProps extends CalendarProps {
13
13
  isDob?: boolean;
14
14
  isVerified?: boolean;
15
15
  }
16
- declare const _default: React.MemoExoticComponent<({ onDateChange, disabled, readOnly, onClick, onDatePicked, dir, defaultValue, isDob, isVerified, open, ...rest }: DatePickerProps) => JSX.Element>;
16
+ declare const _default: React.MemoExoticComponent<({ onDateChange, disabled, readOnly, onClick, onDatePicked, dir, defaultValue, isDob, isVerified, open, ...rest }: DatePickerProps) => import("react/jsx-runtime").JSX.Element>;
17
17
  export default _default;