@tap-payments/auth-jsconnect 2.10.1-beta → 2.10.1-development

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 (627) hide show
  1. package/build/@types/app.d.ts +26 -19
  2. package/build/@types/app.js +8 -0
  3. package/build/@types/config.d.ts +1 -1
  4. package/build/@types/form.d.ts +28 -25
  5. package/build/@types/index.d.ts +1 -0
  6. package/build/@types/index.js +1 -0
  7. package/build/@types/terminal.d.ts +116 -0
  8. package/build/@types/terminal.js +1 -0
  9. package/build/@types/theme.d.ts +1 -1
  10. package/build/api/account.d.ts +3 -2
  11. package/build/api/account.js +7 -0
  12. package/build/api/auth.d.ts +25 -16
  13. package/build/api/availabilityServices.d.ts +3 -3
  14. package/build/api/axios.js +1 -1
  15. package/build/api/board.d.ts +3 -3
  16. package/build/api/brand.d.ts +1 -1
  17. package/build/api/country.d.ts +1 -1
  18. package/build/api/data.d.ts +8 -8
  19. package/build/api/document.d.ts +2 -2
  20. package/build/api/entity.d.ts +10 -10
  21. package/build/api/file.d.ts +1 -1
  22. package/build/api/firebase.js +1 -1
  23. package/build/api/index.d.ts +9 -1
  24. package/build/api/index.js +3 -1
  25. package/build/api/individual.d.ts +5 -5
  26. package/build/api/init.d.ts +1 -1
  27. package/build/api/lead.d.ts +13 -13
  28. package/build/api/lead.js +1 -1
  29. package/build/api/operator.d.ts +2 -2
  30. package/build/api/operator.js +1 -1
  31. package/build/api/terminal.d.ts +23 -0
  32. package/build/api/terminal.js +60 -0
  33. package/build/api/user.d.ts +3 -3
  34. package/build/app/rootReducer.d.ts +1 -0
  35. package/build/app/rootReducer.js +3 -1
  36. package/build/app/settings.d.ts +22 -3
  37. package/build/app/settings.js +10 -5
  38. package/build/app/store.d.ts +6 -4
  39. package/build/assets/currencies/SARSymbol.d.ts +7 -0
  40. package/build/assets/currencies/SARSymbol.js +28 -0
  41. package/build/assets/currencies/index.d.ts +2 -0
  42. package/build/assets/currencies/index.js +2 -0
  43. package/build/assets/currencies/utils.d.ts +4 -0
  44. package/build/assets/currencies/utils.js +4 -0
  45. package/build/assets/locales/ar.json +10 -1
  46. package/build/assets/locales/en.json +37 -1
  47. package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -1
  48. package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
  49. package/build/components/AnimationFlow/Dialog.d.ts +1 -1
  50. package/build/components/AnimationFlow/Error.d.ts +1 -2
  51. package/build/components/AnimationFlow/Loader.d.ts +1 -2
  52. package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
  53. package/build/components/Button/Button.d.ts +1 -1
  54. package/build/components/CheckBox/CheckBox.d.ts +1 -1
  55. package/build/components/Collapse/Collapse.d.ts +1 -2
  56. package/build/components/DatePicker/DatePicker.d.ts +1 -1
  57. package/build/components/DeviceCard/DeviceCard.d.ts +18 -0
  58. package/build/components/DeviceCard/DeviceCard.js +103 -0
  59. package/build/components/DeviceCard/index.d.ts +3 -0
  60. package/build/components/DeviceCard/index.js +2 -0
  61. package/build/components/ExpandIcon/ExpandIcon.d.ts +1 -2
  62. package/build/components/FileInput/DragAndDrop.d.ts +1 -2
  63. package/build/components/FileInput/UploadInput.d.ts +1 -2
  64. package/build/components/Footer/Footer.d.ts +1 -1
  65. package/build/components/Form/Form.d.ts +1 -1
  66. package/build/components/Input/Input.d.ts +1 -1
  67. package/build/components/InputAdornment/InputAdornment.d.ts +1 -1
  68. package/build/components/List/List.d.ts +1 -1
  69. package/build/components/ListItem/ListItem.d.ts +1 -1
  70. package/build/components/Loader/Loader.d.ts +1 -1
  71. package/build/components/LogoBadge/LogoBadge.d.ts +1 -1
  72. package/build/components/OTPField/OTPField.d.ts +1 -1
  73. package/build/components/OTPTimer/OTPTimer.d.ts +2 -1
  74. package/build/components/OTPTimer/OTPTimer.js +4 -4
  75. package/build/components/ProgressBar/CircularProgressBar.d.ts +1 -2
  76. package/build/components/ProgressBar/ProgressBar.d.ts +1 -1
  77. package/build/components/Providers/ReduxProvider.d.ts +1 -1
  78. package/build/components/Providers/ThemeProvider.d.ts +1 -1
  79. package/build/components/Radio/Radio.d.ts +1 -1
  80. package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
  81. package/build/components/RadioLabel/RadioLabel.d.ts +1 -1
  82. package/build/components/SimpleList/SimpleList.d.ts +1 -1
  83. package/build/components/Slide/Slide.d.ts +1 -1
  84. package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
  85. package/build/components/Text/Text.d.ts +1 -1
  86. package/build/components/TextWithCurrency/TextWithCurrency.d.ts +6 -0
  87. package/build/components/TextWithCurrency/TextWithCurrency.js +14 -0
  88. package/build/components/TextWithCurrency/index.d.ts +2 -0
  89. package/build/components/TextWithCurrency/index.js +2 -0
  90. package/build/components/ToggleButton/ToggleButton.d.ts +1 -1
  91. package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  92. package/build/components/Tooltip/Tooltip.d.ts +1 -1
  93. package/build/components/Tooltip/Tooltip.js +1 -1
  94. package/build/components/Warning/Warning.d.ts +1 -1
  95. package/build/constants/api.d.ts +1 -1
  96. package/build/constants/api.js +2 -2
  97. package/build/constants/app.d.ts +15 -4
  98. package/build/constants/app.js +151 -14
  99. package/build/constants/assets.d.ts +11 -0
  100. package/build/constants/assets.js +17 -3
  101. package/build/constants/flows.d.ts +14 -0
  102. package/build/constants/flows.js +14 -0
  103. package/build/constants/validation.d.ts +2 -0
  104. package/build/constants/validation.js +2 -0
  105. package/build/features/app/auth/authStore.d.ts +232 -24
  106. package/build/features/app/auth/authStore.js +192 -93
  107. package/build/features/app/bank/bankStore.d.ts +93 -12
  108. package/build/features/app/bank/bankStore.js +1 -1
  109. package/build/features/app/board/boardStore.d.ts +41 -5
  110. package/build/features/app/board/boardStore.js +1 -1
  111. package/build/features/app/brand/brandStore.d.ts +143 -17
  112. package/build/features/app/brand/brandStore.js +1 -1
  113. package/build/features/app/business/businessStore.d.ts +192 -21
  114. package/build/features/app/business/businessStore.js +54 -30
  115. package/build/features/app/connect/connectStore.d.ts +181 -19
  116. package/build/features/app/connect/connectStore.js +48 -36
  117. package/build/features/app/connectExpress/connectExpressStore.d.ts +321 -31
  118. package/build/features/app/connectExpress/connectExpressStore.js +302 -110
  119. package/build/features/app/entity/entityStore.d.ts +93 -12
  120. package/build/features/app/entity/entityStore.js +1 -1
  121. package/build/features/app/individual/individualStore.d.ts +186 -24
  122. package/build/features/app/individual/individualStore.js +1 -2
  123. package/build/features/app/kyc/kycStore.d.ts +62 -8
  124. package/build/features/app/kyc/kycStore.js +50 -26
  125. package/build/features/app/password/passwordStore.d.ts +123 -15
  126. package/build/features/app/password/passwordStore.js +1 -1
  127. package/build/features/app/signIn/signInStore.d.ts +61 -7
  128. package/build/features/app/signIn/signInStore.js +1 -1
  129. package/build/features/app/tax/taxStore.d.ts +83 -11
  130. package/build/features/app/tax/taxStore.js +2 -2
  131. package/build/features/app/terminal/terminalStore.d.ts +223 -0
  132. package/build/features/app/terminal/terminalStore.js +638 -0
  133. package/build/features/auth/Auth.d.ts +1 -2
  134. package/build/features/auth/Auth.js +1 -1
  135. package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
  136. package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +1 -1
  137. package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
  138. package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +1 -1
  139. package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
  140. package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +1 -1
  141. package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +1 -2
  142. package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +5 -27
  143. package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +1 -1
  144. package/build/features/auth/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
  145. package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  146. package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +1 -1
  147. package/build/features/auth/screens/CivilID/CivilID.d.ts +1 -1
  148. package/build/features/auth/screens/DOB/DOB.d.ts +1 -2
  149. package/build/features/auth/screens/DOB/DOBForm.d.ts +1 -1
  150. package/build/features/auth/screens/Email/Email.d.ts +1 -1
  151. package/build/features/auth/screens/EmailSent/EmailSent.d.ts +1 -1
  152. package/build/features/auth/screens/MigratingData/MigratingData.d.ts +1 -1
  153. package/build/features/auth/screens/Mobile/Mobile.d.ts +1 -1
  154. package/build/features/auth/screens/NID/NID.d.ts +1 -1
  155. package/build/features/auth/screens/OTP/OTP.d.ts +6 -3
  156. package/build/features/auth/screens/OTP/OTP.js +15 -3
  157. package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
  158. package/build/features/auth/screens/OTP/index.d.ts +1 -2
  159. package/build/features/auth/screens/OperatorError/OperatorError.d.ts +1 -1
  160. package/build/features/auth/screens/Passcode/Passcode.d.ts +8 -0
  161. package/build/features/auth/screens/Passcode/Passcode.js +82 -0
  162. package/build/features/auth/screens/Passcode/PasscodeInput.d.ts +6 -0
  163. package/build/features/auth/screens/Passcode/PasscodeInput.js +42 -0
  164. package/build/features/auth/screens/Passcode/index.d.ts +2 -0
  165. package/build/features/auth/screens/Passcode/index.js +2 -0
  166. package/build/features/auth/screens/Passcode/validation.d.ts +8 -0
  167. package/build/features/auth/screens/Passcode/validation.js +4 -0
  168. package/build/features/auth/screens/Password/Password.d.ts +1 -1
  169. package/build/features/auth/screens/Password/PasswordField.d.ts +1 -1
  170. package/build/features/auth/screens/PreparingData/PreparingData.d.ts +1 -1
  171. package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.d.ts +1 -1
  172. package/build/features/auth/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
  173. package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  174. package/build/features/bank/Bank.d.ts +1 -2
  175. package/build/features/bank/screens/BankDetails/BankDetails.d.ts +1 -2
  176. package/build/features/bank/screens/BankDetails/BankName.d.ts +2 -3
  177. package/build/features/bank/screens/BankDetails/BankStatement.d.ts +2 -3
  178. package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +1 -2
  179. package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +2 -3
  180. package/build/features/bank/screens/BankDetails/IBAN.d.ts +1 -2
  181. package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
  182. package/build/features/bank/screens/OperatorError/OperatorError.d.ts +1 -1
  183. package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  184. package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  185. package/build/features/bank/screens/Success/Success.d.ts +1 -1
  186. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  187. package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
  188. package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
  189. package/build/features/board/Board.d.ts +1 -2
  190. package/build/features/board/screens/OperatorError/OperatorError.d.ts +1 -1
  191. package/build/features/board/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  192. package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  193. package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  194. package/build/features/board/screens/Verify/OTPInput.d.ts +1 -1
  195. package/build/features/board/screens/Verify/Verify.d.ts +1 -1
  196. package/build/features/brand/Brand.d.ts +1 -2
  197. package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +15 -58
  198. package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +1 -2
  199. package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +13 -37
  200. package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +1 -2
  201. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +1 -2
  202. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +3 -8
  203. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +10 -31
  204. package/build/features/brand/screens/BrandActivities/TAC.d.ts +3 -8
  205. package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +2 -3
  206. package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +1 -2
  207. package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +2 -3
  208. package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -1
  209. package/build/features/brand/screens/BrandInfo/BrandName.js +1 -1
  210. package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +1 -2
  211. package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +1 -2
  212. package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +1 -2
  213. package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +1 -2
  214. package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +1 -2
  215. package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +1 -2
  216. package/build/features/brand/screens/OperatorError/OperatorError.d.ts +1 -1
  217. package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  218. package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  219. package/build/features/brand/screens/Success/Success.d.ts +1 -1
  220. package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  221. package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
  222. package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
  223. package/build/features/business/Business.d.ts +1 -2
  224. package/build/features/business/screens/Activities/Activities.d.ts +1 -2
  225. package/build/features/business/screens/Activities/ActivitiesList.d.ts +9 -25
  226. package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
  227. package/build/features/business/screens/Activities/OperationStartDate.d.ts +5 -13
  228. package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
  229. package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
  230. package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
  231. package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
  232. package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +5 -13
  233. package/build/features/business/screens/BusinessType/Article.d.ts +2 -3
  234. package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
  235. package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
  236. package/build/features/business/screens/BusinessType/EntityName.d.ts +1 -2
  237. package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +1 -2
  238. package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
  239. package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
  240. package/build/features/business/screens/BusinessType/LicenseType.d.ts +6 -28
  241. package/build/features/business/screens/BusinessType/SelectType.d.ts +1 -1
  242. package/build/features/business/screens/BusinessType/Switch.d.ts +1 -1
  243. package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
  244. package/build/features/business/screens/Customers/CustomerLocations.d.ts +19 -70
  245. package/build/features/business/screens/Customers/Customers.d.ts +1 -1
  246. package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +1 -2
  247. package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +1 -2
  248. package/build/features/business/screens/Customers/ExpectedSalesRange.js +3 -8
  249. package/build/features/business/screens/Customers/RefundPolicy.d.ts +10 -31
  250. package/build/features/business/screens/Customers/TransactionPolicy.d.ts +2 -3
  251. package/build/features/business/screens/DOB/DOB.d.ts +1 -1
  252. package/build/features/business/screens/DOB/DOBForm.d.ts +1 -1
  253. package/build/features/business/screens/IDBOD/DOB.d.ts +1 -1
  254. package/build/features/business/screens/IDBOD/ID.d.ts +1 -1
  255. package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
  256. package/build/features/business/screens/MobileOwnership/CollectMobileOwnership.d.ts +1 -2
  257. package/build/features/business/screens/MobileOwnership/CollectMobileOwnership.js +3 -4
  258. package/build/features/business/screens/MobileOwnership/MobileNumber.d.ts +1 -1
  259. package/build/features/business/screens/OperatorError/OperatorError.d.ts +1 -1
  260. package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  261. package/build/features/business/screens/Success/Success.d.ts +1 -1
  262. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  263. package/build/features/business/screens/Verify/OTPInput.d.ts +1 -1
  264. package/build/features/business/screens/Verify/Verify.d.ts +1 -1
  265. package/build/features/business/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
  266. package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  267. package/build/features/connect/Connect.d.ts +1 -2
  268. package/build/features/connect/Connect.js +1 -1
  269. package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
  270. package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +1 -2
  271. package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  272. package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +1 -1
  273. package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
  274. package/build/features/connect/screens/DOB/DOB.d.ts +1 -2
  275. package/build/features/connect/screens/DOB/DOBForm.d.ts +1 -1
  276. package/build/features/connect/screens/Individual/Email.d.ts +1 -1
  277. package/build/features/connect/screens/Individual/Email.js +1 -1
  278. package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
  279. package/build/features/connect/screens/Individual/Name.d.ts +1 -1
  280. package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
  281. package/build/features/connect/screens/Merchant/BrandName.d.ts +1 -1
  282. package/build/features/connect/screens/Merchant/BrandName.js +1 -1
  283. package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
  284. package/build/features/connect/screens/Merchant/SalesChannels.d.ts +1 -2
  285. package/build/features/connect/screens/Merchant/TAC.d.ts +1 -1
  286. package/build/features/connect/screens/Mobile/Mobile.d.ts +1 -1
  287. package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
  288. package/build/features/connect/screens/MobileOwnership/CollectMobileOwnership.d.ts +1 -2
  289. package/build/features/connect/screens/MobileOwnership/CollectMobileOwnership.js +3 -4
  290. package/build/features/connect/screens/MobileOwnership/MobileNumber.d.ts +1 -1
  291. package/build/features/connect/screens/NID/NID.d.ts +1 -1
  292. package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
  293. package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
  294. package/build/features/connect/screens/OperatorError/OperatorError.d.ts +1 -1
  295. package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
  296. package/build/features/connect/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
  297. package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  298. package/build/features/connectExpress/ConnectExpress.d.ts +1 -2
  299. package/build/features/connectExpress/ConnectExpress.js +1 -1
  300. package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
  301. package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
  302. package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
  303. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
  304. package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +1 -1
  305. package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.d.ts +1 -2
  306. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +5 -27
  307. package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +1 -1
  308. package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
  309. package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
  310. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  311. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +1 -1
  312. package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
  313. package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
  314. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
  315. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +1 -1
  316. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
  317. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
  318. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
  319. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +6 -28
  320. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +3 -8
  321. package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
  322. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
  323. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +1 -1
  324. package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
  325. package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
  326. package/build/features/connectExpress/screens/DOB/DOB.d.ts +1 -2
  327. package/build/features/connectExpress/screens/DOB/DOBForm.d.ts +1 -1
  328. package/build/features/connectExpress/screens/GenericPrepareDataLoading/GenericPrepareDataLoading.d.ts +2 -0
  329. package/build/features/connectExpress/screens/GenericPrepareDataLoading/GenericPrepareDataLoading.js +9 -0
  330. package/build/features/connectExpress/screens/GenericPrepareDataLoading/index.d.ts +2 -0
  331. package/build/features/connectExpress/screens/GenericPrepareDataLoading/index.js +2 -0
  332. package/build/features/connectExpress/screens/IdentityVerifyNafath/IdentityVerifyNafath.d.ts +1 -1
  333. package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +1 -1
  334. package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +1 -1
  335. package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
  336. package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
  337. package/build/features/connectExpress/screens/MobileOwnership/CollectMobileOwnership.d.ts +1 -2
  338. package/build/features/connectExpress/screens/MobileOwnership/CollectMobileOwnership.js +3 -4
  339. package/build/features/connectExpress/screens/MobileOwnership/MobileNumber.d.ts +1 -1
  340. package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
  341. package/build/features/connectExpress/screens/NID/TAC.d.ts +3 -8
  342. package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +1 -2
  343. package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
  344. package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
  345. package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
  346. package/build/features/connectExpress/screens/OperatorError/OperatorError.d.ts +1 -1
  347. package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.d.ts +1 -1
  348. package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  349. package/build/features/connectExpress/screens/VerifyMobileAuthOTP/OTPInput.d.ts +5 -0
  350. package/build/features/connectExpress/screens/VerifyMobileAuthOTP/OTPInput.js +49 -0
  351. package/build/features/connectExpress/screens/VerifyMobileAuthOTP/VerifyMobileAuthOTP.d.ts +5 -0
  352. package/build/features/connectExpress/screens/VerifyMobileAuthOTP/VerifyMobileAuthOTP.js +88 -0
  353. package/build/features/connectExpress/screens/VerifyMobileAuthOTP/index.d.ts +3 -0
  354. package/build/features/connectExpress/screens/VerifyMobileAuthOTP/index.js +2 -0
  355. package/build/features/connectExpress/screens/VerifyMobileAuthOTP/validation.d.ts +8 -0
  356. package/build/features/connectExpress/screens/VerifyMobileAuthOTP/validation.js +4 -0
  357. package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
  358. package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.js +9 -3
  359. package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  360. package/build/features/entity/Entity.d.ts +1 -2
  361. package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +9 -25
  362. package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
  363. package/build/features/entity/screens/EntityCapital/CapitalPaid.js +3 -7
  364. package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
  365. package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
  366. package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +3 -7
  367. package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +1 -2
  368. package/build/features/entity/screens/EntityName/Article.d.ts +2 -3
  369. package/build/features/entity/screens/EntityName/EntityName.d.ts +1 -2
  370. package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +15 -58
  371. package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +5 -13
  372. package/build/features/entity/screens/EntityName/IssuingDate.d.ts +5 -13
  373. package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
  374. package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +1 -2
  375. package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
  376. package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
  377. package/build/features/entity/screens/OperatorError/OperatorError.d.ts +1 -1
  378. package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  379. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  380. package/build/features/entity/screens/Success/Success.d.ts +1 -1
  381. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  382. package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
  383. package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
  384. package/build/features/featuresScreens.d.ts +1 -0
  385. package/build/features/featuresScreens.js +72 -0
  386. package/build/features/individual/Individual.d.ts +1 -2
  387. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +5 -13
  388. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +2 -3
  389. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
  390. package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +5 -27
  391. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
  392. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +3 -8
  393. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -2
  394. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +5 -27
  395. package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +1 -1
  396. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +1 -1
  397. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +3 -8
  398. package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +1 -2
  399. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
  400. package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
  401. package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
  402. package/build/features/individual/screens/IndividualList/Email.js +1 -1
  403. package/build/features/individual/screens/IndividualList/IndividualList.d.ts +9 -25
  404. package/build/features/individual/screens/IndividualList/UserList.d.ts +1 -2
  405. package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
  406. package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +1 -1
  407. package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
  408. package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +6 -28
  409. package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
  410. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +5 -13
  411. package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
  412. package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
  413. package/build/features/individual/screens/OperatorError/OperatorError.d.ts +1 -1
  414. package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  415. package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  416. package/build/features/individual/screens/Success/Success.d.ts +1 -1
  417. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  418. package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
  419. package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
  420. package/build/features/kyc/KYC.d.ts +1 -2
  421. package/build/features/kyc/screens/AlreadySubmitted/AlreadySubmitted.d.ts +1 -1
  422. package/build/features/kyc/screens/Loading/Loading.d.ts +2 -2
  423. package/build/features/kyc/screens/OperatorError/OperatorError.d.ts +1 -1
  424. package/build/features/kyc/screens/Success/Success.d.ts +1 -1
  425. package/build/features/kyc/screens/Terms/Header.d.ts +1 -1
  426. package/build/features/kyc/screens/Terms/Terms.d.ts +2 -2
  427. package/build/features/kyc/screens/Terms/Terms.js +8 -2
  428. package/build/features/kyc/screens/TokenError/TokenError.d.ts +1 -1
  429. package/build/features/kyc/screens/Users/Users.d.ts +1 -1
  430. package/build/features/kyc/screens/Users/Users.js +1 -1
  431. package/build/features/kyc/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
  432. package/build/features/kyc/screens/VerifyPaci/VerifyPACI.d.ts +1 -1
  433. package/build/features/password/Password.d.ts +1 -2
  434. package/build/features/password/Password.js +1 -1
  435. package/build/features/password/screens/CreatePassword/ConditionText.d.ts +1 -2
  436. package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
  437. package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
  438. package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
  439. package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +1 -2
  440. package/build/features/password/screens/OTP/OTP.d.ts +1 -1
  441. package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
  442. package/build/features/password/screens/OperatorError/OperatorError.d.ts +1 -1
  443. package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  444. package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  445. package/build/features/password/screens/Success/Success.d.ts +1 -1
  446. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  447. package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
  448. package/build/features/password/screens/Verify/Verify.d.ts +1 -1
  449. package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +1 -2
  450. package/build/features/shared/Address/Address.d.ts +1 -2
  451. package/build/features/shared/Address/CountryList.d.ts +14 -46
  452. package/build/features/shared/Address/InputSelect.d.ts +14 -46
  453. package/build/features/shared/Address/InputSelect.js +1 -1
  454. package/build/features/shared/Address/InputText.d.ts +1 -1
  455. package/build/features/shared/Background/Background.d.ts +1 -1
  456. package/build/features/shared/Background/LogoBackground.d.ts +1 -1
  457. package/build/features/shared/Background/LogoBackground.js +5 -17
  458. package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +1 -2
  459. package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +1 -2
  460. package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
  461. package/build/features/shared/Button/Button.d.ts +1 -2
  462. package/build/features/shared/Button/Button.js +2 -3
  463. package/build/features/shared/Button/EmailProvidersButtons.d.ts +2 -3
  464. package/build/features/shared/Button/FlowsButtons.d.ts +2 -3
  465. package/build/features/shared/Button/FlowsButtons.js +3 -2
  466. package/build/features/shared/Button/IndividualActionButtons.d.ts +2 -2
  467. package/build/features/shared/Button/MobileButton.d.ts +1 -2
  468. package/build/features/shared/Button/NafathButton.d.ts +1 -2
  469. package/build/features/shared/Button/SuccessButton.d.ts +1 -2
  470. package/build/features/shared/Calender/Calender.d.ts +1 -2
  471. package/build/features/shared/CheckIcon/CheckIcon.d.ts +2 -3
  472. package/build/features/shared/Chip/Chip.d.ts +1 -2
  473. package/build/features/shared/ClearIcon/ClearIcon.d.ts +1 -2
  474. package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
  475. package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
  476. package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
  477. package/build/features/shared/DataLoading/DataLoading.d.ts +1 -1
  478. package/build/features/shared/Dialog/CloseDialog.d.ts +1 -2
  479. package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
  480. package/build/features/shared/Dot/Dot.d.ts +1 -2
  481. package/build/features/shared/EndAdornment/EndAdornment.d.ts +1 -2
  482. package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +1 -2
  483. package/build/features/shared/Footer/Footer.d.ts +1 -2
  484. package/build/features/shared/Footer/PoweredByFooter.d.ts +2 -3
  485. package/build/features/shared/GenericError/GenericError.d.ts +1 -1
  486. package/build/features/shared/Input/Input.d.ts +7 -15
  487. package/build/features/shared/InputSelect/InputSelect.d.ts +1 -2
  488. package/build/features/shared/Mandatory/Mandatory.d.ts +1 -2
  489. package/build/features/shared/NafathVerification/NafathVerification.d.ts +1 -1
  490. package/build/features/shared/OTP/OTP.d.ts +1 -1
  491. package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
  492. package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +1 -2
  493. package/build/features/shared/PushNotification/PushNotification.d.ts +11 -0
  494. package/build/features/shared/PushNotification/PushNotification.js +34 -0
  495. package/build/features/shared/PushNotification/index.d.ts +2 -0
  496. package/build/features/shared/PushNotification/index.js +2 -0
  497. package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +1 -2
  498. package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
  499. package/build/features/shared/Search/Search.d.ts +1 -2
  500. package/build/features/shared/SearchIcon/SearchIcon.d.ts +1 -2
  501. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
  502. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +2 -2
  503. package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +3 -1
  504. package/build/features/shared/SuccessScreen/SuccessScreen.js +2 -2
  505. package/build/features/shared/UploadFile/FileUpload.d.ts +4 -9
  506. package/build/features/shared/UploadFile/FileUpload.js +1 -1
  507. package/build/features/shared/UploadFile/UploadFile.d.ts +3 -8
  508. package/build/features/shared/UploadFile/UploadWrapper.d.ts +3 -8
  509. package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +4 -9
  510. package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
  511. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +3 -8
  512. package/build/features/signIn/SignIn.d.ts +1 -2
  513. package/build/features/signIn/screens/Email/Email.d.ts +1 -1
  514. package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
  515. package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
  516. package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
  517. package/build/features/signIn/screens/OperatorError/OperatorError.d.ts +1 -1
  518. package/build/features/signIn/screens/Password/Password.d.ts +1 -1
  519. package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
  520. package/build/features/tax/Tax.d.ts +1 -2
  521. package/build/features/tax/screens/OperatorError/OperatorError.d.ts +1 -1
  522. package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  523. package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  524. package/build/features/tax/screens/Success/Success.d.ts +1 -1
  525. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  526. package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +2 -3
  527. package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +1 -2
  528. package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +1 -2
  529. package/build/features/tax/screens/TaxDetails/VATId.d.ts +2 -3
  530. package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
  531. package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
  532. package/build/features/terminal/Terminal.d.ts +13 -0
  533. package/build/features/terminal/Terminal.js +95 -0
  534. package/build/features/terminal/index.d.ts +1 -0
  535. package/build/features/terminal/index.js +1 -0
  536. package/build/features/terminal/screens/LinkNewTerminal/LinkNewTerminal.d.ts +3 -0
  537. package/build/features/terminal/screens/LinkNewTerminal/LinkNewTerminal.js +68 -0
  538. package/build/features/terminal/screens/LinkNewTerminal/index.d.ts +2 -0
  539. package/build/features/terminal/screens/LinkNewTerminal/index.js +2 -0
  540. package/build/features/terminal/screens/LinkNewTerminal/styles.d.ts +5 -0
  541. package/build/features/terminal/screens/LinkNewTerminal/styles.js +28 -0
  542. package/build/features/terminal/screens/LinkedSuccess/LinkedSuccess.d.ts +3 -0
  543. package/build/features/terminal/screens/LinkedSuccess/LinkedSuccess.js +50 -0
  544. package/build/features/terminal/screens/LinkedSuccess/index.d.ts +2 -0
  545. package/build/features/terminal/screens/LinkedSuccess/index.js +2 -0
  546. package/build/features/terminal/screens/LinkedTerminalInfo/LinkedTerminalInfo.d.ts +3 -0
  547. package/build/features/terminal/screens/LinkedTerminalInfo/LinkedTerminalInfo.js +50 -0
  548. package/build/features/terminal/screens/LinkedTerminalInfo/index.d.ts +2 -0
  549. package/build/features/terminal/screens/LinkedTerminalInfo/index.js +2 -0
  550. package/build/features/terminal/screens/Loading/Loading.d.ts +4 -0
  551. package/build/features/terminal/screens/Loading/Loading.js +10 -0
  552. package/build/features/terminal/screens/Loading/index.d.ts +2 -0
  553. package/build/features/terminal/screens/Loading/index.js +2 -0
  554. package/build/features/terminal/screens/NoTerminalDeviceLinked/NoTerminalDeviceLinked.d.ts +3 -0
  555. package/build/features/terminal/screens/NoTerminalDeviceLinked/NoTerminalDeviceLinked.js +56 -0
  556. package/build/features/terminal/screens/NoTerminalDeviceLinked/index.d.ts +2 -0
  557. package/build/features/terminal/screens/NoTerminalDeviceLinked/index.js +2 -0
  558. package/build/features/terminal/screens/NoTerminalDeviceLinked/styles.d.ts +11 -0
  559. package/build/features/terminal/screens/NoTerminalDeviceLinked/styles.js +34 -0
  560. package/build/features/terminal/screens/OperatorError/OperatorError.d.ts +5 -0
  561. package/build/features/terminal/screens/OperatorError/OperatorError.js +9 -0
  562. package/build/features/terminal/screens/OperatorError/index.d.ts +2 -0
  563. package/build/features/terminal/screens/OperatorError/index.js +2 -0
  564. package/build/features/terminal/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +3 -0
  565. package/build/features/terminal/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +21 -0
  566. package/build/features/terminal/screens/ResetPasswordSuccess/index.d.ts +2 -0
  567. package/build/features/terminal/screens/ResetPasswordSuccess/index.js +2 -0
  568. package/build/features/terminal/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
  569. package/build/features/terminal/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +31 -0
  570. package/build/features/terminal/screens/SuccessWithFlowButtons/index.d.ts +2 -0
  571. package/build/features/terminal/screens/SuccessWithFlowButtons/index.js +2 -0
  572. package/build/features/terminal/screens/TerminalDeviceList/DeviceList.d.ts +9 -0
  573. package/build/features/terminal/screens/TerminalDeviceList/DeviceList.js +20 -0
  574. package/build/features/terminal/screens/TerminalDeviceList/Header.d.ts +6 -0
  575. package/build/features/terminal/screens/TerminalDeviceList/Header.js +23 -0
  576. package/build/features/terminal/screens/TerminalDeviceList/TerminalDeviceList.d.ts +3 -0
  577. package/build/features/terminal/screens/TerminalDeviceList/TerminalDeviceList.js +129 -0
  578. package/build/features/terminal/screens/TerminalDeviceList/index.d.ts +2 -0
  579. package/build/features/terminal/screens/TerminalDeviceList/index.js +2 -0
  580. package/build/features/terminal/screens/TerminalDeviceList/styles.d.ts +16 -0
  581. package/build/features/terminal/screens/TerminalDeviceList/styles.js +56 -0
  582. package/build/features/terminal/screens/UnlinkedSuccess/UnlinkedSuccess.d.ts +3 -0
  583. package/build/features/terminal/screens/UnlinkedSuccess/UnlinkedSuccess.js +52 -0
  584. package/build/features/terminal/screens/UnlinkedSuccess/index.d.ts +2 -0
  585. package/build/features/terminal/screens/UnlinkedSuccess/index.js +2 -0
  586. package/build/features/terminal/screens/UnlinkedTerminalInfo/TerminalList.d.ts +9 -0
  587. package/build/features/terminal/screens/UnlinkedTerminalInfo/TerminalList.js +16 -0
  588. package/build/features/terminal/screens/UnlinkedTerminalInfo/UnlinkedTerminalInfo.d.ts +3 -0
  589. package/build/features/terminal/screens/UnlinkedTerminalInfo/UnlinkedTerminalInfo.js +98 -0
  590. package/build/features/terminal/screens/UnlinkedTerminalInfo/index.d.ts +2 -0
  591. package/build/features/terminal/screens/UnlinkedTerminalInfo/index.js +2 -0
  592. package/build/features/terminal/screens/UnlinkedTerminalInfo/styles.d.ts +29 -0
  593. package/build/features/terminal/screens/UnlinkedTerminalInfo/styles.js +98 -0
  594. package/build/features/terminal/screens/Verify/OTPInput.d.ts +7 -0
  595. package/build/features/terminal/screens/Verify/OTPInput.js +51 -0
  596. package/build/features/terminal/screens/Verify/Verify.d.ts +5 -0
  597. package/build/features/terminal/screens/Verify/Verify.js +85 -0
  598. package/build/features/terminal/screens/Verify/index.d.ts +2 -0
  599. package/build/features/terminal/screens/Verify/index.js +2 -0
  600. package/build/features/terminal/screens/Verify/validation.d.ts +8 -0
  601. package/build/features/terminal/screens/Verify/validation.js +4 -0
  602. package/build/features/terminal/screens/shared/index.d.ts +2 -0
  603. package/build/features/terminal/screens/shared/index.js +2 -0
  604. package/build/features/terminal/screens/shared/styles.d.ts +22 -0
  605. package/build/features/terminal/screens/shared/styles.js +50 -0
  606. package/build/features/terminal/screens/shared/utils.d.ts +7 -0
  607. package/build/features/terminal/screens/shared/utils.js +24 -0
  608. package/build/hooks/useAppConfig.js +1 -1
  609. package/build/hooks/useAppDispatch.d.ts +1 -0
  610. package/build/hooks/useDataVerified.d.ts +1 -1
  611. package/build/hooks/useExcludeReadOnlyFelids.d.ts +2 -2
  612. package/build/hooks/useFormDirtyCheck.d.ts +3 -3
  613. package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +2 -2
  614. package/build/hooks/useFormReadOnly.d.ts +2 -2
  615. package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
  616. package/build/index.d.ts +3 -2
  617. package/build/index.js +4 -2
  618. package/build/theme/palette.js +12 -0
  619. package/build/theme/typography.js +4 -0
  620. package/build/utils/array.js +1 -1
  621. package/build/utils/common.d.ts +1 -1
  622. package/build/utils/common.js +7 -5
  623. package/build/utils/error.d.ts +1 -0
  624. package/build/utils/error.js +3 -0
  625. package/build/utils/string.d.ts +2 -2
  626. package/build/utils/string.js +4 -1
  627. package/package.json +3 -4
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ export declare const Container: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
5
+ export declare const LinkButton: import("@emotion/styled").StyledComponent<import("@mui/material/Button").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
6
+ ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
7
+ }, "className" | "style" | "classes" | "color" | "children" | "sx" | "tabIndex" | "size" | "action" | "disabled" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "href" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
8
+ export declare const AddIconContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
9
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
10
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
11
+ export declare const LinkText: import("@emotion/styled").StyledComponent<import("@mui/material/Typography").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
12
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
13
+ }, "left" | "right" | "className" | "style" | "classes" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "bottom" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "children" | "sx" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
14
+ export declare const DeviceListContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
15
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
16
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
@@ -0,0 +1,56 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import Button from '@mui/material/Button';
13
+ import Box from '@mui/material/Box';
14
+ import { alpha, styled } from '@mui/material/styles';
15
+ import Typography from '@mui/material/Typography';
16
+ export var Container = styled(Box)(function (_a) {
17
+ var spacing = _a.theme.spacing;
18
+ return ({
19
+ display: 'flex',
20
+ justifyContent: 'space-between',
21
+ alignItems: 'center',
22
+ width: '100%',
23
+ paddingBottom: spacing(2)
24
+ });
25
+ });
26
+ export var LinkButton = styled(Button)(function (_a) {
27
+ var _b = _a.theme, spacing = _b.spacing, palette = _b.palette, typography = _b.typography;
28
+ return (__assign(__assign({}, typography.button_small), { fontWeight: typography.fontWeightRegular, textTransform: 'none', color: palette.primary.main, display: 'flex', alignItems: 'center', gap: spacing(0.5) }));
29
+ });
30
+ export var AddIconContainer = styled(Box)(function (_a) {
31
+ var _b = _a.theme, spacing = _b.spacing, palette = _b.palette;
32
+ return ({
33
+ background: alpha(palette.primary.main, 0.1),
34
+ height: spacing(2.25),
35
+ width: spacing(2.25),
36
+ display: 'flex',
37
+ justifyContent: 'center',
38
+ borderRadius: spacing(11.25),
39
+ alignItems: 'center'
40
+ });
41
+ });
42
+ export var LinkText = styled(Typography)(function (_a) {
43
+ var typography = _a.theme.typography;
44
+ return (__assign({}, typography.button_small));
45
+ });
46
+ export var DeviceListContainer = styled(Box)(function (_a) {
47
+ var spacing = _a.theme.spacing;
48
+ return ({
49
+ display: 'flex',
50
+ justifyContent: 'space-between',
51
+ flexDirection: 'column',
52
+ alignItems: 'center',
53
+ width: '100%',
54
+ gap: spacing(0.75)
55
+ });
56
+ });
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ declare const _default: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
3
+ export default _default;
@@ -0,0 +1,52 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import * as React from 'react';
14
+ import { useTranslation } from 'react-i18next';
15
+ import Box from '@mui/material/Box';
16
+ import { useAppDispatch, useAppSelector, useLanguage } from '../../../../hooks';
17
+ import { CONNECT_FLOWS } from '../../../../constants';
18
+ import { handleNextScreenStep, handlePrevScreenStep } from '../../../../app/settings';
19
+ import { retrieveBoardDetails, retrieveBoardStatus, terminalSelector } from '../../../app/terminal/terminalStore';
20
+ import SuccessScreen from '../../../shared/SuccessScreen';
21
+ import Button from '../../../shared/Button';
22
+ import { SuccessContainerStyled } from '../shared';
23
+ var UnlinkedSuccess = function () {
24
+ var _a, _b, _c;
25
+ var t = useTranslation().t;
26
+ var isAr = useLanguage().isAr;
27
+ var dispatch = useAppDispatch();
28
+ var _d = useAppSelector(terminalSelector), error = _d.error, loading = _d.loading, _e = _d.data, selectedTerminalDevice = _e.terminalInfo.selectedTerminalDevice, responseData = _e.responseData;
29
+ var _f = responseData || {}, boardData = _f.boardData, authData = _f.authData;
30
+ var terminal = (selectedTerminalDevice || {}).terminal;
31
+ var deviceName = (_b = (_a = terminal === null || terminal === void 0 ? void 0 : terminal.device) === null || _a === void 0 ? void 0 : _a.display_name) !== null && _b !== void 0 ? _b : (_c = terminal === null || terminal === void 0 ? void 0 : terminal.name) === null || _c === void 0 ? void 0 : _c.en;
32
+ var handleGoToBoard = function () {
33
+ var board_id = (boardData || {}).id;
34
+ var _a = (authData === null || authData === void 0 ? void 0 : authData.recipient) || {}, id = _a.id, type = _a.type;
35
+ dispatch(retrieveBoardStatus({ boardId: board_id }))
36
+ .unwrap()
37
+ .then(function () {
38
+ dispatch(retrieveBoardDetails({ boardId: board_id, individualId: id, individualType: type }))
39
+ .unwrap()
40
+ .then(function () {
41
+ dispatch(handleNextScreenStep(CONNECT_FLOWS.terminal.board));
42
+ })
43
+ .catch(function () { });
44
+ })
45
+ .catch(function () { });
46
+ };
47
+ var handleOnBack = function () {
48
+ dispatch(handlePrevScreenStep());
49
+ };
50
+ return (_jsxs(SuccessContainerStyled, { children: [_jsx(SuccessScreen, { sx: { minHeight: 'unset', ml: 2.5, mr: 2.5 }, title: t('terminal_unlinked_success', { device: deviceName }), successTitle: t('terminal_go_to_board'), loading: loading, error: error || '' }), _jsx(Box, __assign({ sx: { width: '100%' } }, { children: _jsx(Button, __assign({ loading: loading, disableBack: true, onBackClicked: handleOnBack, onClick: handleGoToBoard, isAr: isAr }, { children: t('terminal_go_to_board') })) }))] }));
51
+ };
52
+ export default React.memo(UnlinkedSuccess);
@@ -0,0 +1,2 @@
1
+ import UnlinkedSuccess from './UnlinkedSuccess';
2
+ export default UnlinkedSuccess;
@@ -0,0 +1,2 @@
1
+ import UnlinkedSuccess from './UnlinkedSuccess';
2
+ export default UnlinkedSuccess;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { TerminalInfo } from '../../../../@types';
3
+ interface TerminalListProps {
4
+ selectedTerminal: TerminalInfo;
5
+ list: TerminalInfo[];
6
+ onClick: (device: TerminalInfo) => void;
7
+ }
8
+ declare const _default: React.MemoExoticComponent<({ list, onClick, selectedTerminal }: TerminalListProps) => import("react/jsx-runtime").JSX.Element>;
9
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { memo } from 'react';
3
+ import { useTranslation } from 'react-i18next';
4
+ import { ICONS_NAMES } from '../../../../constants';
5
+ import { Container, TerminalListContainer, TitleContainer, Image, Title, ScrollContainer, ListItem, StyledRadio } from './styles';
6
+ import { getTerminalId, getTerminalIdLabel, getTerminalName } from '../shared';
7
+ import Icon from '../../../../components/Icon';
8
+ var TerminalList = function (_a) {
9
+ var _b, _c, _d, _e, _f, _g, _h, _j;
10
+ var list = _a.list, onClick = _a.onClick, selectedTerminal = _a.selectedTerminal;
11
+ var t = useTranslation().t;
12
+ var platformImage = ((_d = (_c = (_b = list[0]) === null || _b === void 0 ? void 0 : _b.platform) === null || _c === void 0 ? void 0 : _c.brand) === null || _d === void 0 ? void 0 : _d.logo) || ICONS_NAMES.platform_image;
13
+ var platformName = (_j = (_h = (_g = (_f = (_e = list[0]) === null || _e === void 0 ? void 0 : _e.platform) === null || _f === void 0 ? void 0 : _f.brand) === null || _g === void 0 ? void 0 : _g.name) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.text;
14
+ return (_jsxs(Container, { children: [_jsxs(TitleContainer, { children: [_jsx(Image, { src: platformImage, alt: 'Device' }), _jsx(Title, { children: t('terminal_devices', { name: platformName }) })] }), _jsx(ScrollContainer, { children: _jsx(TerminalListContainer, { children: list.map(function (terminal, index) { return (_jsx(ListItem, { sx: { minHeight: 'unset' }, onClick: function () { return onClick(terminal); }, name: getTerminalName(terminal), deviceId: getTerminalId(terminal), deviceIdLabel: getTerminalIdLabel(terminal), endAdornment: _jsx(StyledRadio, { sx: { paddingInlineEnd: 0 }, disableFocusRipple: true, disableRipple: true, disableTouchRipple: true, onChange: function () { return onClick(terminal); }, checkedIcon: _jsx(Icon, { src: ICONS_NAMES.radio_checked }), checked: (selectedTerminal === null || selectedTerminal === void 0 ? void 0 : selectedTerminal.id) === terminal.id }) }, index)); }) }) })] }));
15
+ };
16
+ export default memo(TerminalList);
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ declare const _default: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
3
+ export default _default;
@@ -0,0 +1,98 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import * as React from 'react';
14
+ import { useTranslation } from 'react-i18next';
15
+ import { useTheme } from '@mui/material/styles';
16
+ import Box from '@mui/material/Box';
17
+ import { CONNECT_FLOWS, DEFAULT_TIMER_VALUE, ICONS_NAMES, TERMINAL_PUSH_NOTIFICATION_DURATION } from '../../../../constants';
18
+ import { useAppDispatch, useAppSelector, useLanguage } from '../../../../hooks';
19
+ import { handleNextScreenStep, handlePrevScreenStep } from '../../../../app/settings';
20
+ import { ScreenContainer } from '../../../shared/Containers';
21
+ import DeviceCard from '../../../../components/DeviceCard';
22
+ import OTPTimer from '../../../../components/OTPTimer';
23
+ import Collapse from '../../../../components/Collapse';
24
+ import { clearError, linkTerminalDevice, pushNotificationLinkNewTerminal, storeSelectedTerminal, terminalSelector } from '../../../app/terminal/terminalStore';
25
+ import PushNotification from '../../../shared/PushNotification';
26
+ import Button from '../../../shared/Button';
27
+ import { Container, getId, getIdLabel, LinkWithText } from '../shared';
28
+ import { SendRequestContainer } from './styles';
29
+ import TerminalList from './TerminalList';
30
+ var UnlinkedTerminalInfo = function () {
31
+ var t = useTranslation().t;
32
+ var typography = useTheme().typography;
33
+ var dispatch = useAppDispatch();
34
+ var isAr = useLanguage().isAr;
35
+ var _a = React.useState(false), isRequestSent = _a[0], setIsRequestSent = _a[1];
36
+ var _b = React.useState(false), isReady = _b[0], setIsReady = _b[1];
37
+ var _c = React.useState(false), success = _c[0], setSuccess = _c[1];
38
+ var _d = React.useState(false), failed = _d[0], setFailed = _d[1];
39
+ var _e = useAppSelector(terminalSelector), data = _e.data, error = _e.error;
40
+ var _f = data.terminalInfo, selectedTerminalDevice = _f.selectedTerminalDevice, selectedTerminal = _f.selectedTerminal, responseData = data.responseData;
41
+ var _g = responseData || {}, linkTerminalDeviceData = _g.linkTerminalDeviceData, terminalList = _g.terminalList;
42
+ var model = selectedTerminalDevice.model, linked = selectedTerminalDevice.linked, display_name = selectedTerminalDevice.display_name;
43
+ var _h = (model || {}).image_url, image_url = _h === void 0 ? ICONS_NAMES.device_image : _h;
44
+ var expiry = TERMINAL_PUSH_NOTIFICATION_DURATION;
45
+ var newTerminal = false;
46
+ React.useEffect(function () {
47
+ if (linkTerminalDeviceData && !isReady) {
48
+ setIsReady(true);
49
+ }
50
+ }, [linkTerminalDeviceData]);
51
+ React.useEffect(function () {
52
+ if (!isReady)
53
+ return;
54
+ var promise = dispatch(pushNotificationLinkNewTerminal({ newTerminal: newTerminal, onSuccess: function () { return setSuccess(true); }, onFailure: function () { return setFailed(true); } }));
55
+ promise
56
+ .unwrap()
57
+ .then(function (_a) {
58
+ var nextScreen = _a.nextScreen;
59
+ if (nextScreen)
60
+ dispatch(handleNextScreenStep(nextScreen));
61
+ })
62
+ .catch(function () { });
63
+ return function () {
64
+ promise === null || promise === void 0 ? void 0 : promise.abort();
65
+ };
66
+ }, [isReady]);
67
+ var getRequestSendDescription = function () {
68
+ if (error)
69
+ return t('terminal_request_denied', { device: display_name });
70
+ if (isRequestSent)
71
+ return t('terminal_new_request_will_send');
72
+ return t('terminal_request_will_send');
73
+ };
74
+ var handleOnSendRequest = function () {
75
+ setIsRequestSent(true);
76
+ handleOnResendClick();
77
+ };
78
+ var handleOnBack = function () {
79
+ if (error)
80
+ dispatch(clearError());
81
+ dispatch(handlePrevScreenStep(CONNECT_FLOWS.terminal.terminalList));
82
+ };
83
+ var handleOnSelectTerminal = function (terminal) {
84
+ if (error)
85
+ dispatch(clearError());
86
+ dispatch(storeSelectedTerminal(terminal));
87
+ };
88
+ var handleOnResendClick = function () {
89
+ if (isReady)
90
+ setIsReady(false);
91
+ if (failed)
92
+ setFailed(false);
93
+ dispatch(linkTerminalDevice());
94
+ };
95
+ var disabled = !(selectedTerminal === null || selectedTerminal === void 0 ? void 0 : selectedTerminal.id) || isRequestSent;
96
+ return (_jsxs(ScreenContainer, __assign({ minHeight: 224, justifyContent: 'space-between' }, { children: [_jsx(PushNotification, __assign({ error: t('terminal_request_denied', { device: display_name }), failed: failed, success: success, expiryInSeconds: expiry }, { children: _jsxs(Container, { children: [_jsxs(Box, __assign({ sx: { ml: 2.5, mr: 2.5 } }, { children: [_jsx(LinkWithText, { children: "".concat(t('terminal_link'), " ").concat(display_name) }), _jsx(DeviceCard, { image: image_url, name: display_name, deviceId: getId(selectedTerminalDevice), deviceIdLabel: getIdLabel(selectedTerminalDevice), isLinked: linked }), _jsx(LinkWithText, { children: t('terminal_with') }), _jsx(TerminalList, { selectedTerminal: selectedTerminal, list: terminalList, onClick: handleOnSelectTerminal })] })), _jsxs(SendRequestContainer, __assign({ hasError: !!error, sx: __assign(__assign({}, typography.button_small), { fontWeight: typography.fontWeightRegular, mt: 2 }) }, { children: [getRequestSendDescription(), _jsx(Collapse, __assign({ in: isRequestSent && !error }, { children: _jsx(OTPTimer, { timeEndLabel: t('terminal_resend_request'), failed: failed, timeInSeconds: DEFAULT_TIMER_VALUE, onResetClick: handleOnResendClick }) }))] }))] }) })), _jsx(Button, __assign({ sx: { ml: 2.5, mr: 2.5, mt: 2 }, disabled: disabled, onBackClicked: handleOnBack, onClick: handleOnSendRequest, isAr: isAr }, { children: t('terminal_send_link_request') }))] })));
97
+ };
98
+ export default React.memo(UnlinkedTerminalInfo);
@@ -0,0 +1,2 @@
1
+ import UnlinkedTerminalInfo from './UnlinkedTerminalInfo';
2
+ export default UnlinkedTerminalInfo;
@@ -0,0 +1,2 @@
1
+ import UnlinkedTerminalInfo from './UnlinkedTerminalInfo';
2
+ export default UnlinkedTerminalInfo;
@@ -0,0 +1,29 @@
1
+ /// <reference types="react" />
2
+ export declare const ResendText: import("@emotion/styled").StyledComponent<import("@mui/material/Typography").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
3
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
4
+ }, "left" | "right" | "className" | "style" | "classes" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "bottom" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "children" | "sx" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
5
+ interface SendRequestContainerProps {
6
+ hasError?: boolean;
7
+ }
8
+ export declare const SendRequestContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
9
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
10
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & SendRequestContainerProps, {}, {}>;
11
+ export declare const ScrollContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
12
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
13
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
14
+ export declare const TerminalListContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
15
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
16
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
17
+ export declare const Container: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
18
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
19
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
20
+ export declare const TitleContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
21
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
22
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
23
+ export declare const Image: import("@emotion/styled").StyledComponent<import("../../../../components/Icon").IconProps & import("react").RefAttributes<HTMLImageElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
24
+ export declare const Title: import("@emotion/styled").StyledComponent<import("@mui/material/Typography").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
25
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
26
+ }, "left" | "right" | "className" | "style" | "classes" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "bottom" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "children" | "sx" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
27
+ export declare const ListItem: import("@emotion/styled").StyledComponent<import("../../../../components/DeviceCard").DeviceCardProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
28
+ export declare const StyledRadio: import("@emotion/styled").StyledComponent<import("@mui/material/Radio").RadioProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
29
+ export {};
@@ -0,0 +1,98 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { alpha, styled } from '@mui/material/styles';
13
+ import Typography from '@mui/material/Typography';
14
+ import Box from '@mui/material/Box';
15
+ import Icon from '../../../../components/Icon';
16
+ import DeviceCard from '../../../../components/DeviceCard';
17
+ import { QRCodeDescription } from '../shared';
18
+ import Radio from '@mui/material/Radio';
19
+ export var ResendText = styled(Typography)(function (_a) {
20
+ var _b = _a.theme, palette = _b.palette, typography = _b.typography, spacing = _b.spacing;
21
+ return (__assign(__assign({ cursor: 'pointer', color: palette.primary.main }, typography.caption), { fontWeight: typography.fontWeightRegular, textAlign: 'end', marginTop: spacing(0.75) }));
22
+ });
23
+ export var SendRequestContainer = styled(QRCodeDescription, {
24
+ shouldForwardProp: function (prop) { return !['hasError'].includes(prop.toString()); }
25
+ })(function (_a) {
26
+ var _b = _a.theme, typography = _b.typography, palette = _b.palette, hasError = _a.hasError;
27
+ return (__assign(__assign(__assign({}, typography.button_small), { fontWeight: typography.fontWeightRegular, mt: 2 }), (hasError && {
28
+ background: alpha(palette.error.dark, 0.3),
29
+ borderWidth: '1px, 0px, 1px, 0px',
30
+ borderStyle: 'solid',
31
+ borderColor: alpha(palette.error.dark, 0.7),
32
+ color: alpha(palette.error.main, 0.7)
33
+ })));
34
+ });
35
+ export var ScrollContainer = styled(Box)(function (_a) {
36
+ var spacing = _a.theme.spacing;
37
+ return ({
38
+ maxHeight: spacing(20.625),
39
+ overflow: 'scroll'
40
+ });
41
+ });
42
+ export var TerminalListContainer = styled(Box)(function (_a) {
43
+ var spacing = _a.theme.spacing;
44
+ return ({
45
+ display: 'flex',
46
+ justifyContent: 'space-between',
47
+ flexDirection: 'column',
48
+ alignItems: 'center',
49
+ width: '100%',
50
+ gap: spacing(0.75)
51
+ });
52
+ });
53
+ export var Container = styled(Box)(function (_a) {
54
+ var _b = _a.theme, spacing = _b.spacing, _c = _b.palette, common = _c.common, toastDeviceSelectorDropdown = _c.components.toastDeviceSelectorDropdown;
55
+ return ({
56
+ marginTop: spacing(1),
57
+ border: "1px solid ".concat(toastDeviceSelectorDropdown.border),
58
+ backgroundColor: common.white,
59
+ borderRadius: spacing(1)
60
+ });
61
+ });
62
+ export var TitleContainer = styled(Box)(function (_a) {
63
+ var _b = _a.theme, spacing = _b.spacing, toastDeviceSelectorDropdown = _b.palette.components.toastDeviceSelectorDropdown;
64
+ return ({
65
+ padding: spacing(1.5, 2, 1.5, 2),
66
+ display: 'flex',
67
+ flexDirection: 'row',
68
+ gap: spacing(0.75),
69
+ alignItems: 'center',
70
+ borderBottom: "1px solid ".concat(toastDeviceSelectorDropdown.border)
71
+ });
72
+ });
73
+ export var Image = styled(Icon)(function (_a) {
74
+ var spacing = _a.theme.spacing;
75
+ return ({
76
+ width: spacing(3),
77
+ height: spacing(3)
78
+ });
79
+ });
80
+ export var Title = styled(Typography)(function (_a) {
81
+ var _b = _a.theme, typography = _b.typography, palette = _b.palette;
82
+ return (__assign(__assign({}, typography.body2), { color: palette.components.deviceCard.title, fontWeight: typography.fontWeightBold }));
83
+ });
84
+ export var ListItem = styled(DeviceCard)(function (_a) {
85
+ var spacing = _a.theme.spacing;
86
+ return ({
87
+ paddingTop: spacing(1),
88
+ paddingBottom: spacing(1)
89
+ });
90
+ });
91
+ export var StyledRadio = styled(Radio)(function (_a) {
92
+ var theme = _a.theme;
93
+ return ({
94
+ '&.Mui-checked': {
95
+ color: theme.palette.primary.main
96
+ }
97
+ });
98
+ });
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ export interface OTPProps {
3
+ loading: boolean;
4
+ setLoading: (flag: boolean) => void;
5
+ }
6
+ declare const _default: React.MemoExoticComponent<({ loading }: OTPProps) => import("react/jsx-runtime").JSX.Element>;
7
+ export default _default;
@@ -0,0 +1,51 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import * as React from 'react';
14
+ import Box from '@mui/material/Box/Box';
15
+ import { styled } from '@mui/material/styles';
16
+ import OTPField from '../../../shared/OTP';
17
+ import { useController, useFormContext } from 'react-hook-form';
18
+ import { useTranslation } from 'react-i18next';
19
+ import { DEFAULT_TIMER_VALUE } from '../../../../constants';
20
+ import { useAppDispatch, useAppSelector } from '../../../../hooks';
21
+ import { isTokenExpired } from '../../../../utils';
22
+ import { clearError, terminalSelector, resendOTP } from '../../../app/terminal/terminalStore';
23
+ var BoxStyled = styled(Box)(function (_a) {
24
+ var theme = _a.theme;
25
+ return ({
26
+ display: 'flex',
27
+ flexDirection: 'column',
28
+ fontFamily: theme.typography.fontFamily
29
+ });
30
+ });
31
+ var OTPInput = function (_a) {
32
+ var loading = _a.loading;
33
+ var _b = useFormContext(), control = _b.control, setValue = _b.setValue;
34
+ var t = useTranslation().t;
35
+ var otpControl = useController({ name: 'otp', control: control });
36
+ var dispatch = useAppDispatch();
37
+ var error = useAppSelector(terminalSelector).error;
38
+ var handleOnOTPChange = function (otp) {
39
+ if (error)
40
+ dispatch(clearError());
41
+ otpControl.field.onChange(otp);
42
+ };
43
+ var handleOnResendOTP = function () {
44
+ if (otpControl.field.value)
45
+ setValue('otp', '', { shouldValidate: true });
46
+ dispatch(resendOTP());
47
+ };
48
+ var otpValue = otpControl.field.value;
49
+ return (_jsx(BoxStyled, __assign({ dir: 'ltr' }, { children: _jsx(OTPField, { loading: loading, timeEndLabel: t('ide_otp_resend_label'), timerInSeconds: DEFAULT_TIMER_VALUE, onResetClick: handleOnResendOTP, value: otpValue, hasError: isTokenExpired(error), onChange: function (number) { return handleOnOTPChange(number.toString()); } }) })));
50
+ };
51
+ export default React.memo(OTPInput);
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ export interface OTPProps {
3
+ }
4
+ declare const _default: React.MemoExoticComponent<({}: OTPProps) => import("react/jsx-runtime").JSX.Element>;
5
+ export default _default;
@@ -0,0 +1,85 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import * as React from 'react';
14
+ import { useAppDispatch, useSetFromDefaultValues, useSanitizedTranslation, useLanguage, useAppSelector } from '../../../../hooks';
15
+ import { useTranslation } from 'react-i18next';
16
+ import { useForm, FormProvider } from 'react-hook-form';
17
+ import { yupResolver } from '@hookform/resolvers/yup';
18
+ import Box from '@mui/material/Box/Box';
19
+ import { styled } from '@mui/material/styles';
20
+ import { handleNextScreenStep } from '../../../../app/settings';
21
+ import { deepCopy, maskPhone } from '../../../../utils';
22
+ import Form from '../../../../components/Form';
23
+ import Text from '../../../../components/Text';
24
+ import { ScreenContainer } from '../../../shared/Containers';
25
+ import { terminalSelector, clearError, resetOTPScreen, verifyTokenOTP } from '../../../app/terminal/terminalStore';
26
+ import Button from '../../../shared/Button';
27
+ import { OTPValidation } from './validation';
28
+ import OTPInput from './OTPInput';
29
+ var OTPTitleContainerStyled = styled(Box)(function (_a) {
30
+ var theme = _a.theme;
31
+ return ({
32
+ background: theme.palette.common.white,
33
+ border: '1px solid',
34
+ borderColor: theme.palette.divider,
35
+ direction: theme.direction,
36
+ borderRadius: theme.spacing(0, 0, 1.25, 1.25),
37
+ marginBottom: theme.spacing(5.75)
38
+ });
39
+ });
40
+ var OTPTitleStyled = styled(Text)(function (_a) {
41
+ var theme = _a.theme;
42
+ return (__assign(__assign({}, theme.typography.body1), { color: theme.palette.text.primary, fontWeight: theme.typography.fontWeightLight, marginBlock: theme.spacing(1.75), marginInlineStart: theme.spacing(2.5), lineHeight: 1.75 }));
43
+ });
44
+ var FormStyled = styled(Form)(function () { return ({
45
+ display: 'flex',
46
+ flexDirection: 'column'
47
+ }); });
48
+ var VerifyNumber = function (_a) {
49
+ var _b, _c, _d;
50
+ var dispatch = useAppDispatch();
51
+ var _e = useAppSelector(terminalSelector), data = _e.data, loading = _e.loading, error = _e.error;
52
+ var otp = data.otpData.otp;
53
+ var methods = useForm({
54
+ resolver: yupResolver(OTPValidation),
55
+ defaultValues: {
56
+ otp: otp
57
+ },
58
+ mode: 'onChange'
59
+ });
60
+ useSetFromDefaultValues(methods, data.otpData);
61
+ var t = useTranslation().t;
62
+ var st = useSanitizedTranslation();
63
+ var isAr = useLanguage().isAr;
64
+ var _f = React.useState(false), resendLoading = _f[0], setResendLoading = _f[1];
65
+ var phone = (_d = (_c = (_b = data.responseData) === null || _b === void 0 ? void 0 : _b.authData) === null || _c === void 0 ? void 0 : _c.verification_by) === null || _d === void 0 ? void 0 : _d.sent_to;
66
+ React.useEffect(function () {
67
+ if (error && methods.formState.isValid && phone)
68
+ dispatch(clearError());
69
+ return function () {
70
+ dispatch(resetOTPScreen());
71
+ };
72
+ }, [methods.formState.isValid]);
73
+ var onSubmit = function (formData) {
74
+ dispatch(verifyTokenOTP(deepCopy(formData)))
75
+ .unwrap()
76
+ .then(function (_a) {
77
+ var nextScreen = _a.nextScreen;
78
+ dispatch(handleNextScreenStep(nextScreen));
79
+ })
80
+ .catch(function () { });
81
+ };
82
+ var disabled = !methods.formState.isValid || !phone || resendLoading;
83
+ return (_jsx(ScreenContainer, { children: _jsx(FormProvider, __assign({}, methods, { children: _jsxs(FormStyled, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsx(OTPTitleContainerStyled, { children: _jsxs(OTPTitleStyled, { children: [loading ? st('ide_otp_waiting_title') : st('ide_opt_sent_title'), !loading && phone && _jsx("span", __assign({ dir: 'ltr' }, { children: "".concat(maskPhone(phone || '')) }))] }) }), _jsx(OTPInput, { loading: resendLoading, setLoading: setResendLoading }), _jsx(Button, __assign({ disableBack: true, disabled: disabled, isAr: isAr, loading: loading, error: st(error || '') }, { children: t('next') }))] })) })) }));
84
+ };
85
+ export default React.memo(VerifyNumber);
@@ -0,0 +1,2 @@
1
+ import OTP from './Verify';
2
+ export default OTP;
@@ -0,0 +1,2 @@
1
+ import OTP from './Verify';
2
+ export default OTP;
@@ -0,0 +1,8 @@
1
+ import * as yup from 'yup';
2
+ export declare const OTPValidation: yup.ObjectSchema<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
3
+ otp: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
4
+ }>, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
5
+ otp: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
6
+ }>>, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
7
+ otp: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
8
+ }>>>;
@@ -0,0 +1,4 @@
1
+ import * as yup from 'yup';
2
+ export var OTPValidation = yup.object().shape({
3
+ otp: yup.string().min(6, 'otp_min_length').required('otp_required')
4
+ });
@@ -0,0 +1,2 @@
1
+ export * from './styles';
2
+ export * from './utils';
@@ -0,0 +1,2 @@
1
+ export * from './styles';
2
+ export * from './utils';