@tap-payments/auth-jsconnect 2.8.59-development → 2.8.60-beta

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 (453) hide show
  1. package/build/@types/app.d.ts +17 -17
  2. package/build/@types/config.d.ts +1 -1
  3. package/build/@types/form.d.ts +23 -23
  4. package/build/@types/redux.d.ts +0 -1
  5. package/build/@types/theme.d.ts +1 -1
  6. package/build/api/account.d.ts +2 -2
  7. package/build/api/auth.d.ts +13 -13
  8. package/build/api/availabilityServices.d.ts +3 -3
  9. package/build/api/axios.js +1 -1
  10. package/build/api/board.d.ts +3 -3
  11. package/build/api/brand.d.ts +1 -1
  12. package/build/api/country.d.ts +1 -1
  13. package/build/api/data.d.ts +11 -11
  14. package/build/api/document.d.ts +2 -2
  15. package/build/api/entity.d.ts +12 -12
  16. package/build/api/entity.js +4 -12
  17. package/build/api/file.d.ts +1 -1
  18. package/build/api/firebase.js +1 -1
  19. package/build/api/index.d.ts +2 -2
  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 +21 -3
  28. package/build/app/settings.js +1 -1
  29. package/build/app/store.d.ts +4 -4
  30. package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -1
  31. package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
  32. package/build/components/AnimationFlow/Dialog.d.ts +1 -1
  33. package/build/components/AnimationFlow/Error.d.ts +1 -2
  34. package/build/components/AnimationFlow/Loader.d.ts +1 -2
  35. package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
  36. package/build/components/Button/Button.d.ts +1 -1
  37. package/build/components/CheckBox/CheckBox.d.ts +1 -1
  38. package/build/components/Collapse/Collapse.d.ts +1 -2
  39. package/build/components/DatePicker/DatePicker.d.ts +1 -1
  40. package/build/components/ExpandIcon/ExpandIcon.d.ts +1 -2
  41. package/build/components/FileInput/DragAndDrop.d.ts +1 -2
  42. package/build/components/FileInput/UploadInput.d.ts +1 -2
  43. package/build/components/Footer/Footer.d.ts +1 -1
  44. package/build/components/Form/Form.d.ts +1 -1
  45. package/build/components/Input/Input.d.ts +1 -1
  46. package/build/components/InputAdornment/InputAdornment.d.ts +1 -1
  47. package/build/components/List/List.d.ts +1 -1
  48. package/build/components/ListItem/ListItem.d.ts +1 -1
  49. package/build/components/Loader/Loader.d.ts +1 -1
  50. package/build/components/LogoBadge/LogoBadge.d.ts +1 -1
  51. package/build/components/OTPField/OTPField.d.ts +1 -1
  52. package/build/components/OTPTimer/OTPTimer.d.ts +1 -1
  53. package/build/components/ProgressBar/CircularProgressBar.d.ts +1 -2
  54. package/build/components/ProgressBar/ProgressBar.d.ts +1 -1
  55. package/build/components/Providers/ReduxProvider.d.ts +1 -1
  56. package/build/components/Providers/ThemeProvider.d.ts +1 -1
  57. package/build/components/Radio/Radio.d.ts +1 -1
  58. package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
  59. package/build/components/RadioLabel/RadioLabel.d.ts +1 -1
  60. package/build/components/SimpleList/SimpleList.d.ts +1 -1
  61. package/build/components/Slide/Slide.d.ts +1 -1
  62. package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
  63. package/build/components/Text/Text.d.ts +1 -1
  64. package/build/components/ToggleButton/ToggleButton.d.ts +1 -1
  65. package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  66. package/build/components/Tooltip/Tooltip.d.ts +1 -1
  67. package/build/components/Tooltip/Tooltip.js +1 -1
  68. package/build/components/Warning/Warning.d.ts +1 -1
  69. package/build/constants/api.d.ts +1 -0
  70. package/build/constants/api.js +2 -0
  71. package/build/constants/app.d.ts +3 -1
  72. package/build/constants/app.js +2 -0
  73. package/build/features/app/auth/authStore.d.ts +201 -21
  74. package/build/features/app/auth/authStore.js +1 -1
  75. package/build/features/app/bank/bankStore.d.ts +110 -23
  76. package/build/features/app/bank/bankStore.js +166 -184
  77. package/build/features/app/board/boardStore.d.ts +41 -5
  78. package/build/features/app/board/boardStore.js +11 -17
  79. package/build/features/app/brand/brandStore.d.ts +172 -31
  80. package/build/features/app/brand/brandStore.js +240 -244
  81. package/build/features/app/business/businessStore.d.ts +162 -18
  82. package/build/features/app/business/businessStore.js +2 -8
  83. package/build/features/app/connect/connectStore.d.ts +151 -16
  84. package/build/features/app/connect/connectStore.js +1 -1
  85. package/build/features/app/connectExpress/connectExpressStore.d.ts +281 -29
  86. package/build/features/app/connectExpress/connectExpressStore.js +1 -1
  87. package/build/features/app/entity/entityStore.d.ts +125 -30
  88. package/build/features/app/entity/entityStore.js +250 -205
  89. package/build/features/app/individual/individualStore.d.ts +220 -39
  90. package/build/features/app/individual/individualStore.js +271 -222
  91. package/build/features/app/password/passwordStore.d.ts +145 -31
  92. package/build/features/app/password/passwordStore.js +217 -171
  93. package/build/features/app/signIn/signInStore.d.ts +61 -7
  94. package/build/features/app/signIn/signInStore.js +1 -1
  95. package/build/features/app/tax/taxStore.d.ts +88 -22
  96. package/build/features/app/tax/taxStore.js +148 -169
  97. package/build/features/auth/Auth.d.ts +1 -2
  98. package/build/features/auth/Auth.js +1 -1
  99. package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
  100. package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +1 -1
  101. package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
  102. package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +1 -1
  103. package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
  104. package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +1 -1
  105. package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +1 -2
  106. package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +3 -3
  107. package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +1 -1
  108. package/build/features/auth/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
  109. package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  110. package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +1 -1
  111. package/build/features/auth/screens/CivilID/CivilID.d.ts +1 -1
  112. package/build/features/auth/screens/Email/Email.d.ts +1 -1
  113. package/build/features/auth/screens/EmailSent/EmailSent.d.ts +1 -1
  114. package/build/features/auth/screens/MigratingData/MigratingData.d.ts +1 -1
  115. package/build/features/auth/screens/Mobile/Mobile.d.ts +1 -1
  116. package/build/features/auth/screens/NID/DOB.d.ts +1 -2
  117. package/build/features/auth/screens/NID/NID.d.ts +1 -1
  118. package/build/features/auth/screens/OTP/OTP.d.ts +1 -1
  119. package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
  120. package/build/features/auth/screens/OperatorError/OperatorError.d.ts +1 -1
  121. package/build/features/auth/screens/Password/Password.d.ts +1 -1
  122. package/build/features/auth/screens/Password/PasswordField.d.ts +1 -1
  123. package/build/features/auth/screens/PreparingData/PreparingData.d.ts +1 -1
  124. package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.d.ts +1 -1
  125. package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  126. package/build/features/bank/Bank.d.ts +1 -2
  127. package/build/features/bank/screens/BankDetails/BankDetails.d.ts +1 -2
  128. package/build/features/bank/screens/BankDetails/BankDetails.js +4 -17
  129. package/build/features/bank/screens/BankDetails/BankName.d.ts +2 -3
  130. package/build/features/bank/screens/BankDetails/BankStatement.d.ts +2 -3
  131. package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +1 -2
  132. package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +2 -3
  133. package/build/features/bank/screens/BankDetails/IBAN.d.ts +1 -2
  134. package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
  135. package/build/features/bank/screens/OperatorError/OperatorError.d.ts +1 -1
  136. package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  137. package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  138. package/build/features/bank/screens/Success/Success.d.ts +1 -1
  139. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  140. package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
  141. package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
  142. package/build/features/board/Board.d.ts +1 -2
  143. package/build/features/board/screens/OperatorError/OperatorError.d.ts +1 -1
  144. package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  145. package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  146. package/build/features/board/screens/Verify/OTPInput.d.ts +1 -1
  147. package/build/features/board/screens/Verify/Verify.d.ts +1 -1
  148. package/build/features/brand/Brand.d.ts +1 -2
  149. package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +13 -29
  150. package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +1 -2
  151. package/build/features/brand/screens/BrandActivities/BrandActivities.js +11 -48
  152. package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +13 -37
  153. package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +1 -2
  154. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +1 -2
  155. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +12 -20
  156. package/build/features/brand/screens/BrandActivities/TAC.d.ts +3 -3
  157. package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +2 -3
  158. package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +1 -2
  159. package/build/features/brand/screens/BrandInfo/BrandInfo.js +4 -22
  160. package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +2 -3
  161. package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -1
  162. package/build/features/brand/screens/BrandInfo/BrandName.js +1 -1
  163. package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +1 -2
  164. package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +1 -2
  165. package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.js +6 -22
  166. package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +1 -2
  167. package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +1 -2
  168. package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +1 -2
  169. package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +1 -2
  170. package/build/features/brand/screens/OperatorError/OperatorError.d.ts +1 -1
  171. package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  172. package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  173. package/build/features/brand/screens/Success/Success.d.ts +1 -1
  174. package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  175. package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
  176. package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
  177. package/build/features/business/Business.d.ts +1 -2
  178. package/build/features/business/screens/Activities/Activities.d.ts +1 -2
  179. package/build/features/business/screens/Activities/Activities.js +1 -9
  180. package/build/features/business/screens/Activities/ActivitiesList.d.ts +9 -25
  181. package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
  182. package/build/features/business/screens/Activities/OperationStartDate.d.ts +5 -13
  183. package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
  184. package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
  185. package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
  186. package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
  187. package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +5 -13
  188. package/build/features/business/screens/BusinessType/Article.d.ts +2 -3
  189. package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
  190. package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
  191. package/build/features/business/screens/BusinessType/EntityName.d.ts +1 -2
  192. package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +1 -2
  193. package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
  194. package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
  195. package/build/features/business/screens/BusinessType/LicenseType.d.ts +4 -4
  196. package/build/features/business/screens/BusinessType/SelectType.d.ts +1 -1
  197. package/build/features/business/screens/BusinessType/Switch.d.ts +1 -1
  198. package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
  199. package/build/features/business/screens/Customers/CustomerLocations.d.ts +17 -41
  200. package/build/features/business/screens/Customers/Customers.d.ts +1 -1
  201. package/build/features/business/screens/Customers/Customers.js +1 -9
  202. package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +1 -2
  203. package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +1 -2
  204. package/build/features/business/screens/Customers/RefundPolicy.d.ts +12 -20
  205. package/build/features/business/screens/Customers/TransactionPolicy.d.ts +2 -3
  206. package/build/features/business/screens/IDBOD/DOB.d.ts +1 -1
  207. package/build/features/business/screens/IDBOD/ID.d.ts +1 -1
  208. package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
  209. package/build/features/business/screens/OTP/OTP.d.ts +1 -1
  210. package/build/features/business/screens/OTP/OTPInput.d.ts +1 -1
  211. package/build/features/business/screens/OperatorError/OperatorError.d.ts +1 -1
  212. package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  213. package/build/features/business/screens/Success/Success.d.ts +1 -1
  214. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  215. package/build/features/business/screens/Verify/OTPInput.d.ts +1 -1
  216. package/build/features/business/screens/Verify/Verify.d.ts +1 -1
  217. package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  218. package/build/features/connect/Connect.d.ts +1 -2
  219. package/build/features/connect/Connect.js +1 -1
  220. package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
  221. package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +1 -2
  222. package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  223. package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +2 -8
  224. package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
  225. package/build/features/connect/screens/Individual/Email.d.ts +1 -1
  226. package/build/features/connect/screens/Individual/Email.js +2 -4
  227. package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
  228. package/build/features/connect/screens/Individual/Name.d.ts +1 -1
  229. package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
  230. package/build/features/connect/screens/Merchant/BrandName.d.ts +1 -1
  231. package/build/features/connect/screens/Merchant/BrandName.js +1 -1
  232. package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
  233. package/build/features/connect/screens/Merchant/SalesChannels.d.ts +1 -2
  234. package/build/features/connect/screens/Merchant/TAC.d.ts +1 -1
  235. package/build/features/connect/screens/Mobile/Mobile.d.ts +1 -1
  236. package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
  237. package/build/features/connect/screens/NID/DOB.d.ts +1 -2
  238. package/build/features/connect/screens/NID/NID.d.ts +1 -1
  239. package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
  240. package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
  241. package/build/features/connect/screens/OperatorError/OperatorError.d.ts +1 -1
  242. package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
  243. package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  244. package/build/features/connectExpress/ConnectExpress.d.ts +1 -2
  245. package/build/features/connectExpress/ConnectExpress.js +1 -1
  246. package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
  247. package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
  248. package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
  249. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
  250. package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +1 -1
  251. package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.d.ts +1 -2
  252. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +3 -3
  253. package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +1 -1
  254. package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
  255. package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
  256. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  257. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +1 -1
  258. package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
  259. package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
  260. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
  261. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +1 -1
  262. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
  263. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
  264. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
  265. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +4 -4
  266. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +3 -3
  267. package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
  268. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
  269. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +2 -4
  270. package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
  271. package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
  272. package/build/features/connectExpress/screens/IdentityOTP/OTP.d.ts +1 -1
  273. package/build/features/connectExpress/screens/IdentityOTP/OTPInput.d.ts +1 -1
  274. package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +1 -1
  275. package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +1 -1
  276. package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
  277. package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
  278. package/build/features/connectExpress/screens/NID/DOB.d.ts +1 -2
  279. package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
  280. package/build/features/connectExpress/screens/NID/TAC.d.ts +3 -3
  281. package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +1 -2
  282. package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
  283. package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
  284. package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
  285. package/build/features/connectExpress/screens/OperatorError/OperatorError.d.ts +1 -1
  286. package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.d.ts +1 -1
  287. package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  288. package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  289. package/build/features/entity/Entity.d.ts +1 -2
  290. package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +9 -25
  291. package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
  292. package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
  293. package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
  294. package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +1 -2
  295. package/build/features/entity/screens/EntityCapital/EntityCapital.js +9 -33
  296. package/build/features/entity/screens/EntityName/Article.d.ts +2 -3
  297. package/build/features/entity/screens/EntityName/EntityName.d.ts +1 -2
  298. package/build/features/entity/screens/EntityName/EntityName.js +14 -31
  299. package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +13 -29
  300. package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +5 -13
  301. package/build/features/entity/screens/EntityName/IssuingDate.d.ts +5 -13
  302. package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
  303. package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +1 -2
  304. package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
  305. package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
  306. package/build/features/entity/screens/OperatorError/OperatorError.d.ts +1 -1
  307. package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  308. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  309. package/build/features/entity/screens/Success/Success.d.ts +1 -1
  310. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  311. package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
  312. package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
  313. package/build/features/individual/Individual.d.ts +1 -2
  314. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +5 -13
  315. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +10 -43
  316. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +2 -3
  317. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
  318. package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +3 -3
  319. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
  320. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -2
  321. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +3 -3
  322. package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +1 -1
  323. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +1 -1
  324. package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +1 -2
  325. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
  326. package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
  327. package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
  328. package/build/features/individual/screens/IndividualList/Email.js +3 -4
  329. package/build/features/individual/screens/IndividualList/IndividualList.d.ts +9 -25
  330. package/build/features/individual/screens/IndividualList/IndividualList.js +0 -7
  331. package/build/features/individual/screens/IndividualList/UserList.d.ts +1 -2
  332. package/build/features/individual/screens/IndividualList/UserList.js +3 -3
  333. package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
  334. package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +1 -1
  335. package/build/features/individual/screens/IndividualPersonalInfo/Email.js +2 -4
  336. package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
  337. package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +4 -4
  338. package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
  339. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +5 -13
  340. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +18 -73
  341. package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
  342. package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
  343. package/build/features/individual/screens/OperatorError/OperatorError.d.ts +1 -1
  344. package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  345. package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  346. package/build/features/individual/screens/Success/Success.d.ts +1 -1
  347. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  348. package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
  349. package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
  350. package/build/features/password/Password.d.ts +1 -2
  351. package/build/features/password/Password.js +2 -2
  352. package/build/features/password/screens/CreatePassword/ConditionText.d.ts +1 -2
  353. package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
  354. package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
  355. package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
  356. package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +1 -2
  357. package/build/features/password/screens/OTP/OTP.d.ts +1 -1
  358. package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
  359. package/build/features/password/screens/OperatorError/OperatorError.d.ts +1 -1
  360. package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  361. package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  362. package/build/features/password/screens/Success/Success.d.ts +1 -1
  363. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  364. package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
  365. package/build/features/password/screens/Verify/Verify.d.ts +1 -1
  366. package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +1 -2
  367. package/build/features/shared/Address/Address.d.ts +1 -2
  368. package/build/features/shared/Address/CountryList.d.ts +13 -29
  369. package/build/features/shared/Address/InputSelect.d.ts +13 -29
  370. package/build/features/shared/Address/InputSelect.js +1 -1
  371. package/build/features/shared/Address/InputText.d.ts +1 -1
  372. package/build/features/shared/Background/Background.d.ts +1 -1
  373. package/build/features/shared/Background/LogoBackground.d.ts +1 -1
  374. package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +1 -2
  375. package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +1 -2
  376. package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
  377. package/build/features/shared/Button/AbsherButton.d.ts +1 -2
  378. package/build/features/shared/Button/Button.d.ts +1 -2
  379. package/build/features/shared/Button/EmailProvidersButtons.d.ts +2 -3
  380. package/build/features/shared/Button/FlowsButtons.d.ts +2 -3
  381. package/build/features/shared/Button/FlowsButtons.js +2 -8
  382. package/build/features/shared/Button/IndividualActionButtons.d.ts +2 -2
  383. package/build/features/shared/Button/MobileButton.d.ts +1 -2
  384. package/build/features/shared/Button/SuccessButton.d.ts +1 -2
  385. package/build/features/shared/Calender/Calender.d.ts +1 -2
  386. package/build/features/shared/CheckIcon/CheckIcon.d.ts +2 -3
  387. package/build/features/shared/Chip/Chip.d.ts +1 -2
  388. package/build/features/shared/ClearIcon/ClearIcon.d.ts +1 -2
  389. package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
  390. package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
  391. package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
  392. package/build/features/shared/DataLoading/DataLoading.d.ts +1 -1
  393. package/build/features/shared/Dialog/CloseDialog.d.ts +1 -2
  394. package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
  395. package/build/features/shared/Dot/Dot.d.ts +1 -2
  396. package/build/features/shared/EndAdornment/EndAdornment.d.ts +1 -2
  397. package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +1 -2
  398. package/build/features/shared/Footer/Footer.d.ts +1 -2
  399. package/build/features/shared/Footer/PoweredByFooter.d.ts +2 -3
  400. package/build/features/shared/GenericError/GenericError.d.ts +1 -1
  401. package/build/features/shared/Input/Input.d.ts +6 -14
  402. package/build/features/shared/InputSelect/InputSelect.d.ts +1 -2
  403. package/build/features/shared/Mandatory/Mandatory.d.ts +1 -2
  404. package/build/features/shared/OTP/OTP.d.ts +1 -1
  405. package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
  406. package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +1 -2
  407. package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +1 -2
  408. package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
  409. package/build/features/shared/Search/Search.d.ts +1 -2
  410. package/build/features/shared/SearchIcon/SearchIcon.d.ts +1 -2
  411. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
  412. package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -1
  413. package/build/features/shared/UploadFile/FileUpload.d.ts +4 -4
  414. package/build/features/shared/UploadFile/FileUpload.js +1 -1
  415. package/build/features/shared/UploadFile/UploadFile.d.ts +3 -3
  416. package/build/features/shared/UploadFile/UploadWrapper.d.ts +3 -3
  417. package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +4 -4
  418. package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
  419. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +3 -3
  420. package/build/features/signIn/SignIn.d.ts +1 -2
  421. package/build/features/signIn/SignIn.js +2 -10
  422. package/build/features/signIn/screens/Email/Email.d.ts +1 -1
  423. package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
  424. package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
  425. package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
  426. package/build/features/signIn/screens/OperatorError/OperatorError.d.ts +1 -1
  427. package/build/features/signIn/screens/Password/Password.d.ts +1 -1
  428. package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
  429. package/build/features/tax/Tax.d.ts +1 -2
  430. package/build/features/tax/screens/OperatorError/OperatorError.d.ts +1 -1
  431. package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  432. package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  433. package/build/features/tax/screens/Success/Success.d.ts +1 -1
  434. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  435. package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +2 -3
  436. package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +1 -2
  437. package/build/features/tax/screens/TaxDetails/TaxDetails.js +2 -7
  438. package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +1 -2
  439. package/build/features/tax/screens/TaxDetails/VATId.d.ts +2 -3
  440. package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
  441. package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
  442. package/build/hooks/index.d.ts +0 -1
  443. package/build/hooks/index.js +0 -1
  444. package/build/hooks/useDataVerified.d.ts +1 -1
  445. package/build/hooks/useExcludeReadOnlyFelids.d.ts +2 -2
  446. package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +2 -2
  447. package/build/hooks/useFormReadOnly.d.ts +2 -2
  448. package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
  449. package/build/utils/array.js +1 -1
  450. package/build/utils/common.js +4 -4
  451. package/package.json +2 -2
  452. package/build/hooks/useFormDirtyCheck.d.ts +0 -10
  453. package/build/hooks/useFormDirtyCheck.js +0 -66
@@ -8,12 +8,12 @@ export declare const TACContainerStyled: import("@emotion/styled").StyledCompone
8
8
  component?: React.ElementType<any> | undefined;
9
9
  ref?: React.Ref<unknown> | undefined;
10
10
  sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
11
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
11
+ } & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
12
12
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
13
- }, keyof import("@mui/material/OverridableComponent").CommonProps | ("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" | "right" | "bottom" | "left" | "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" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "children" | "component" | "ref" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & TACContainerStyledProps, {}, {}>;
13
+ }, ("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" | "right" | "bottom" | "left" | "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" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "children" | "component" | "ref" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & TACContainerStyledProps, {}, {}>;
14
14
  interface TACProps {
15
15
  show: boolean;
16
16
  readOnly?: boolean;
17
17
  }
18
- declare const _default: React.MemoExoticComponent<({ show, readOnly }: TACProps) => JSX.Element>;
18
+ declare const _default: React.MemoExoticComponent<({ show, readOnly }: TACProps) => import("react/jsx-runtime").JSX.Element>;
19
19
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  export interface CollectIndividualInfoProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<({}: CollectIndividualInfoProps) => JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<({}: CollectIndividualInfoProps) => import("react/jsx-runtime").JSX.Element>;
5
5
  export default _default;
@@ -5,5 +5,5 @@ export interface EmailProps {
5
5
  emailChecking: boolean;
6
6
  readOnly?: boolean;
7
7
  }
8
- declare const _default: React.MemoExoticComponent<({ show, fetchingEmail, emailChecking, readOnly }: EmailProps) => JSX.Element>;
8
+ declare const _default: React.MemoExoticComponent<({ show, fetchingEmail, emailChecking, readOnly }: EmailProps) => import("react/jsx-runtime").JSX.Element>;
9
9
  export default _default;
@@ -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]) {
@@ -53,7 +53,6 @@ import { useController, useFormContext } from 'react-hook-form';
53
53
  import axios from 'axios';
54
54
  import { styled } from '@mui/material/styles';
55
55
  import { useAppDispatch, useAppSelector } from '../../../../hooks';
56
- import { removeAllOtherThanCharsNumbersAtAndDot } from '../../../../utils';
57
56
  import Collapse from '../../../../components/Collapse';
58
57
  import { ScreenContainer } from '../../../shared/Containers';
59
58
  import Input from '../../../shared/Input';
@@ -89,8 +88,7 @@ var Email = function (_a) {
89
88
  });
90
89
  }); }, 500);
91
90
  var handleEmailChange = function (event) {
92
- var value = removeAllOtherThanCharsNumbersAtAndDot(event.target.value);
93
- emailControl.field.onChange(value);
91
+ emailControl.field.onChange(event.target.value);
94
92
  };
95
93
  React.useEffect(function () {
96
94
  var isValid = emailValue && !error && emailValue.length > 3;
@@ -3,5 +3,5 @@ export interface NameProps {
3
3
  show: boolean;
4
4
  readOnly?: boolean;
5
5
  }
6
- declare const _default: React.MemoExoticComponent<({ show, readOnly }: NameProps) => JSX.Element>;
6
+ declare const _default: React.MemoExoticComponent<({ show, readOnly }: NameProps) => import("react/jsx-runtime").JSX.Element>;
7
7
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  export interface CreateAccountLoaderProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<({}: CreateAccountLoaderProps) => JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<({}: CreateAccountLoaderProps) => import("react/jsx-runtime").JSX.Element>;
5
5
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  export interface OTPProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<() => JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
5
5
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  export interface OTPProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<({}: OTPProps) => JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<({}: OTPProps) => import("react/jsx-runtime").JSX.Element>;
5
5
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  export interface VerifyPACIProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<() => JSX.Element | null>;
4
+ declare const _default: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element | null>;
5
5
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  export interface MobileProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<({}: MobileProps) => JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<({}: MobileProps) => import("react/jsx-runtime").JSX.Element>;
5
5
  export default _default;
@@ -3,5 +3,5 @@ interface TACProps {
3
3
  show: boolean;
4
4
  readOnly?: boolean;
5
5
  }
6
- declare const _default: React.MemoExoticComponent<({ show, readOnly }: TACProps) => JSX.Element>;
6
+ declare const _default: React.MemoExoticComponent<({ show, readOnly }: TACProps) => import("react/jsx-runtime").JSX.Element>;
7
7
  export default _default;
@@ -4,5 +4,5 @@ interface MIDTitleProps {
4
4
  title: string;
5
5
  description: string;
6
6
  }
7
- declare const _default: React.MemoExoticComponent<({ description, show, title }: MIDTitleProps) => JSX.Element>;
7
+ declare const _default: React.MemoExoticComponent<({ description, show, title }: MIDTitleProps) => import("react/jsx-runtime").JSX.Element>;
8
8
  export default _default;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  interface DOBProps {
3
2
  onDateClicked?: (flag: boolean) => void;
4
3
  readOnly?: boolean;
5
4
  }
6
- declare const DOB: ({ onDateClicked, readOnly }: DOBProps) => JSX.Element;
5
+ declare const DOB: ({ onDateClicked, readOnly }: DOBProps) => import("react/jsx-runtime").JSX.Element;
7
6
  export default DOB;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  export interface NIDProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<({}: NIDProps) => JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<({}: NIDProps) => import("react/jsx-runtime").JSX.Element>;
5
5
  export default _default;
@@ -8,12 +8,12 @@ export declare const TACContainerStyled: import("@emotion/styled").StyledCompone
8
8
  component?: React.ElementType<any> | undefined;
9
9
  ref?: React.Ref<unknown> | undefined;
10
10
  sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
11
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
11
+ } & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
12
12
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
13
- }, keyof import("@mui/material/OverridableComponent").CommonProps | ("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" | "right" | "bottom" | "left" | "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" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "children" | "component" | "ref" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & TACContainerStyledProps, {}, {}>;
13
+ }, ("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" | "right" | "bottom" | "left" | "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" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "children" | "component" | "ref" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & TACContainerStyledProps, {}, {}>;
14
14
  interface TACProps {
15
15
  show: boolean;
16
16
  readOnly?: boolean;
17
17
  }
18
- declare const _default: React.MemoExoticComponent<({ show, readOnly }: TACProps) => JSX.Element>;
18
+ declare const _default: React.MemoExoticComponent<({ show, readOnly }: TACProps) => import("react/jsx-runtime").JSX.Element>;
19
19
  export default _default;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  interface DOBProps {
3
2
  onDateClicked?: (flag: boolean) => void;
4
3
  }
5
- declare const DOB: ({ onDateClicked }: DOBProps) => JSX.Element;
4
+ declare const DOB: ({ onDateClicked }: DOBProps) => import("react/jsx-runtime").JSX.Element;
6
5
  export default DOB;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  export interface NIDProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<({}: NIDProps) => JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<({}: NIDProps) => import("react/jsx-runtime").JSX.Element>;
5
5
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  export interface OTPProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<() => JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
5
5
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  export interface OTPProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<({}: OTPProps) => JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<({}: OTPProps) => import("react/jsx-runtime").JSX.Element>;
5
5
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  export interface OperatorErrorProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<({}: OperatorErrorProps) => JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<({}: OperatorErrorProps) => import("react/jsx-runtime").JSX.Element>;
5
5
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  export interface PrepareDataLoadingProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<({}: PrepareDataLoadingProps) => JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<({}: PrepareDataLoadingProps) => import("react/jsx-runtime").JSX.Element>;
5
5
  export default _default;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- declare const _default: React.MemoExoticComponent<() => JSX.Element>;
2
+ declare const _default: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
3
3
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  export interface VerifyPACIProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<() => JSX.Element | null>;
4
+ declare const _default: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element | null>;
5
5
  export default _default;
@@ -1,11 +1,10 @@
1
- /// <reference types="react" />
2
1
  import { LibConfig } from '../../@types';
3
2
  export interface EntityLibProps extends LibConfig {
4
3
  verifyToken?: string;
5
4
  configToken?: string;
6
5
  loaderColor?: string;
7
6
  }
8
- export declare function EntityElement(props: EntityLibProps): JSX.Element;
7
+ export declare function EntityElement(props: EntityLibProps): import("react/jsx-runtime").JSX.Element;
9
8
  export declare function renderEntityLib(config: EntityLibProps, elementId: string): {
10
9
  unmount: () => void;
11
10
  };
@@ -1,38 +1,22 @@
1
1
  import * as React from 'react';
2
- export declare const NameContainer: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material/styles").Theme> & {
3
- align?: "right" | "left" | "inherit" | "center" | "justify" | undefined;
4
- children?: React.ReactNode;
5
- classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
6
- gutterBottom?: boolean | undefined;
7
- noWrap?: boolean | undefined;
8
- paragraph?: boolean | undefined;
9
- sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
10
- variant?: "button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "subtitle1" | "subtitle2" | "body1" | "body2" | "overline" | undefined;
11
- variantMapping?: Partial<Record<"button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "subtitle1" | "subtitle2" | "body1" | "body2" | "overline", string>> | undefined;
12
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof React.HTMLAttributes<HTMLSpanElement>> & {
2
+ export declare const NameContainer: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
13
3
  ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
14
- }, keyof import("@mui/material/OverridableComponent").CommonProps | ("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" | "right" | "bottom" | "left" | "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" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "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> & {
4
+ }, "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" | "right" | "bottom" | "left" | "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" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "children" | "sx" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
5
+ component?: React.ElementType<any> | undefined;
6
+ } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
15
7
  isSelected?: boolean | undefined;
16
8
  isAr?: boolean | undefined;
17
9
  }, {}, {}>;
18
- export declare const InputLabelStyled: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material/styles").Theme> & {
19
- align?: "right" | "left" | "inherit" | "center" | "justify" | undefined;
20
- children?: React.ReactNode;
21
- classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
22
- gutterBottom?: boolean | undefined;
23
- noWrap?: boolean | undefined;
24
- paragraph?: boolean | undefined;
25
- sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
26
- variant?: "button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "subtitle1" | "subtitle2" | "body1" | "body2" | "overline" | undefined;
27
- variantMapping?: Partial<Record<"button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "subtitle1" | "subtitle2" | "body1" | "body2" | "overline", string>> | undefined;
28
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof React.HTMLAttributes<HTMLSpanElement>> & {
10
+ export declare const InputLabelStyled: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
29
11
  ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
30
- }, keyof import("@mui/material/OverridableComponent").CommonProps | ("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" | "right" | "bottom" | "left" | "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" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "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>, {}, {}>;
12
+ }, "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" | "right" | "bottom" | "left" | "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" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "children" | "sx" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
13
+ component?: React.ElementType<any> | undefined;
14
+ } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
31
15
  export declare const MandatoryStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
32
16
  interface ActivityListProps {
33
17
  onListOpen?: () => void;
34
18
  onListClose?: () => void;
35
19
  readOnly?: boolean;
36
20
  }
37
- declare const ActivityList: ({ onListClose, onListOpen, readOnly }: ActivityListProps) => JSX.Element;
21
+ declare const ActivityList: ({ onListClose, onListOpen, readOnly }: ActivityListProps) => import("react/jsx-runtime").JSX.Element;
38
22
  export default ActivityList;
@@ -3,5 +3,5 @@ interface CapitalPaidProps {
3
3
  readOnly?: boolean;
4
4
  isVerified?: boolean;
5
5
  }
6
- declare const _default: React.MemoExoticComponent<({ readOnly, isVerified }: CapitalPaidProps) => JSX.Element>;
6
+ declare const _default: React.MemoExoticComponent<({ readOnly, isVerified }: CapitalPaidProps) => import("react/jsx-runtime").JSX.Element>;
7
7
  export default _default;
@@ -3,5 +3,5 @@ interface CapitalShareCountProps {
3
3
  readOnly?: boolean;
4
4
  isVerified?: boolean;
5
5
  }
6
- declare const _default: React.MemoExoticComponent<({ readOnly, isVerified }: CapitalShareCountProps) => JSX.Element>;
6
+ declare const _default: React.MemoExoticComponent<({ readOnly, isVerified }: CapitalShareCountProps) => import("react/jsx-runtime").JSX.Element>;
7
7
  export default _default;
@@ -3,5 +3,5 @@ interface CapitalShareValueProps {
3
3
  readOnly?: boolean;
4
4
  isVerified?: boolean;
5
5
  }
6
- declare const _default: React.MemoExoticComponent<({ readOnly, isVerified }: CapitalShareValueProps) => JSX.Element>;
6
+ declare const _default: React.MemoExoticComponent<({ readOnly, isVerified }: CapitalShareValueProps) => import("react/jsx-runtime").JSX.Element>;
7
7
  export default _default;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  export interface EntityCapitalProps {
3
2
  }
4
- declare const EntityCapital: ({}: EntityCapitalProps) => JSX.Element;
3
+ declare const EntityCapital: ({}: EntityCapitalProps) => import("react/jsx-runtime").JSX.Element;
5
4
  export default EntityCapital;
@@ -15,11 +15,11 @@ import { FormProvider, useForm } from 'react-hook-form';
15
15
  import { useTranslation } from 'react-i18next';
16
16
  import { styled } from '@mui/material/styles';
17
17
  import Collapse from '@mui/material/Collapse';
18
- import { useAppDispatch, useAppSelector, useDataNoneEditable, useFormReadOnly, useLanguage, useSetFromDefaultValues, useFormErrorAndUpdateReadOnly, useExcludeReadOnlyFelids, useDataVerified, useFormDirtyCheck } from '../../../../hooks';
19
- import { deepCopy, formatNumberAsCurrency, removeAllCharsFromNumber, sendCustomEventToGTM } from '../../../../utils';
18
+ import { useAppDispatch, useAppSelector, useDataNoneEditable, useFormReadOnly, useLanguage, useSetFromDefaultValues, useFormErrorAndUpdateReadOnly, useExcludeReadOnlyFelids, useDataVerified } from '../../../../hooks';
19
+ import { deepCopy, removeAllCharsFromNumber } from '../../../../utils';
20
20
  import { clearError, entitySelector, updateEntityCapital } from '../../../app/entity/entityStore';
21
21
  import { yupResolver } from '@hookform/resolvers/yup';
22
- import { handlePrevScreenStep, settingsSelector } from '../../../../app/settings';
22
+ import { handlePrevScreenStep } from '../../../../app/settings';
23
23
  import { ScreenContainer } from '../../../shared/Containers';
24
24
  import Form from '../../../../components/Form';
25
25
  import Button from '../../../shared/Button';
@@ -39,36 +39,21 @@ var EntityCapital = function (_a) {
39
39
  var isAr = useLanguage().isAr;
40
40
  var t = useTranslation().t;
41
41
  var dispatch = useAppDispatch();
42
- var settingsData = useAppSelector(settingsSelector).data;
43
42
  var _k = data.entityCapitalData, responseBody = _k.responseBody, capitalPaid = _k.capitalPaid, capitalShareCount = _k.capitalShareCount, capitalShareValue = _k.capitalShareValue, activities = _k.activities;
44
43
  var entity = (data.verify.responseBody || {}).entity;
45
- var _l = entity || {}, data_verification = _l.data_verification, capital = _l.capital, resActivities = _l.activities;
46
- var resCapitalPaidValue = (_b = capital === null || capital === void 0 ? void 0 : capital.paid) === null || _b === void 0 ? void 0 : _b.toString();
47
- var resCapitalShareCount = (_d = (_c = capital === null || capital === void 0 ? void 0 : capital.shares) === null || _c === void 0 ? void 0 : _c.count) === null || _d === void 0 ? void 0 : _d.toString();
48
- var resCapitalShareValue = (_f = (_e = capital === null || capital === void 0 ? void 0 : capital.shares) === null || _e === void 0 ? void 0 : _e.value) === null || _f === void 0 ? void 0 : _f.toString();
44
+ var _l = entity || {}, data_verification = _l.data_verification, capital = _l.capital;
49
45
  var methods = useForm({
50
46
  resolver: yupResolver(EntityCapitalValidationSchema()),
51
47
  defaultValues: {
52
48
  activities: activities,
53
49
  capitalPaid: capitalPaid,
54
- capitalShareCount: capitalShareCount === null || capitalShareCount === void 0 ? void 0 : capitalShareCount.toString(),
50
+ capitalShareCount: capitalShareCount,
55
51
  capitalShareValue: capitalShareValue
56
52
  },
57
53
  mode: 'onChange'
58
54
  });
59
55
  useSetFromDefaultValues(methods, data.entityCapitalData, true);
60
56
  var watch = methods.watch;
61
- var isDirty = useFormDirtyCheck(methods, {
62
- activities: resActivities,
63
- capitalPaid: resCapitalPaidValue && formatNumberAsCurrency(resCapitalPaidValue),
64
- capitalShareCount: resCapitalShareCount,
65
- capitalShareValue: resCapitalShareValue && formatNumberAsCurrency(resCapitalShareValue)
66
- }, [
67
- {
68
- name: 'activities',
69
- keys: ['id']
70
- }
71
- ]).isDirty;
72
57
  var originalReadOnly = useFormReadOnly(methods);
73
58
  var noneEditable = useDataNoneEditable(entity === null || entity === void 0 ? void 0 : entity.data_status, [
74
59
  'activities',
@@ -79,20 +64,11 @@ var EntityCapital = function (_a) {
79
64
  var readOnly = useFormErrorAndUpdateReadOnly(methods, originalReadOnly, noneEditable);
80
65
  var getFelids = useExcludeReadOnlyFelids(methods, readOnly).getFelids;
81
66
  var dataVerified = useDataVerified(data_verification, ['capital.paid', 'capital.shares.count', 'capital.shares.value']);
82
- var isCapitalPaidVerified = dataVerified['capital.paid'] && resCapitalPaidValue === removeAllCharsFromNumber(watch('capitalPaid'));
83
- var isCapitalShareCountVerified = dataVerified['capital.shares.count'] && resCapitalShareCount === ((_g = watch('capitalShareCount')) === null || _g === void 0 ? void 0 : _g.toString());
84
- var isCapitalShareValueVerified = dataVerified['capital.shares.value'] && resCapitalShareValue === removeAllCharsFromNumber(watch('capitalShareValue'));
85
- React.useEffect(function () {
86
- sendCustomEventToGTM({
87
- event: 'Send Event',
88
- event_category: 'Board Flows - Entity',
89
- event_action: 'Entity Activities and Capital Details Page',
90
- event_label: settingsData.businessCountry.iso2
91
- });
92
- }, []);
67
+ var isCapitalPaidVerified = dataVerified['capital.paid'] && ((_b = capital === null || capital === void 0 ? void 0 : capital.paid) === null || _b === void 0 ? void 0 : _b.toString()) === removeAllCharsFromNumber(watch('capitalPaid'));
68
+ var isCapitalShareCountVerified = dataVerified['capital.shares.count'] && ((_d = (_c = capital === null || capital === void 0 ? void 0 : capital.shares) === null || _c === void 0 ? void 0 : _c.count) === null || _d === void 0 ? void 0 : _d.toString()) === ((_e = watch('capitalShareCount')) === null || _e === void 0 ? void 0 : _e.toString());
69
+ var isCapitalShareValueVerified = dataVerified['capital.shares.value'] && ((_g = (_f = capital === null || capital === void 0 ? void 0 : capital.shares) === null || _f === void 0 ? void 0 : _f.value) === null || _g === void 0 ? void 0 : _g.toString()) === removeAllCharsFromNumber(watch('capitalShareValue'));
93
70
  var onSubmit = function (data) {
94
- var formData = __assign(__assign({}, deepCopy(getFelids(data))), { isDirty: isDirty });
95
- dispatch(updateEntityCapital(formData));
71
+ dispatch(updateEntityCapital(deepCopy(getFelids(data))));
96
72
  };
97
73
  var onBack = function () {
98
74
  dispatch(handlePrevScreenStep());
@@ -1,10 +1,9 @@
1
- /// <reference types="react" />
2
1
  import { FileDetails } from '../../../../@types';
3
- declare type ArticleProps = {
2
+ type ArticleProps = {
4
3
  show: boolean;
5
4
  readOnly?: boolean;
6
5
  defaultFile?: FileDetails;
7
6
  isVerified?: boolean;
8
7
  };
9
- declare const Article: ({ show, readOnly, defaultFile, isVerified }: ArticleProps) => JSX.Element;
8
+ declare const Article: ({ show, readOnly, defaultFile, isVerified }: ArticleProps) => import("react/jsx-runtime").JSX.Element;
10
9
  export default Article;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  export interface EntityProps {
3
2
  }
4
- declare const EntityName: ({}: EntityProps) => JSX.Element;
3
+ declare const EntityName: ({}: EntityProps) => import("react/jsx-runtime").JSX.Element;
5
4
  export default EntityName;
@@ -15,9 +15,9 @@ import { FormProvider, useForm } from 'react-hook-form';
15
15
  import { useTranslation } from 'react-i18next';
16
16
  import { yupResolver } from '@hookform/resolvers/yup';
17
17
  import { styled } from '@mui/material/styles';
18
- import { useAppDispatch, useAppSelector, useDataNoneEditable, useFormReadOnly, useLanguage, useSetFromDefaultValues, useFormErrorAndUpdateReadOnly, useExcludeReadOnlyFelids, useDataVerified, useFormDirtyCheck } from '../../../../hooks';
18
+ import { useAppDispatch, useAppSelector, useDataNoneEditable, useFormReadOnly, useLanguage, useSetFromDefaultValues, useFormErrorAndUpdateReadOnly, useExcludeReadOnlyFelids, useDataVerified } from '../../../../hooks';
19
19
  import { handlePrevScreenStep, settingsSelector } from '../../../../app/settings';
20
- import { convertToEnglishDateFormat, deepCopy, getFileDetailsFromDocument, isKW, isSA, sendCustomEventToGTM } from '../../../../utils';
20
+ import { convertToEnglishDateFormat, deepCopy, getFileDetailsFromDocument, isKW, isSA } from '../../../../utils';
21
21
  import { BusinessType, DocumentPurpose } from '../../../../@types';
22
22
  import Form from '../../../../components/Form';
23
23
  import Collapse from '../../../../components/Collapse';
@@ -38,22 +38,22 @@ var FormStyled = styled(Form)(function () { return ({
38
38
  flexDirection: 'column'
39
39
  }); });
40
40
  var EntityName = function (_a) {
41
- var _b, _c;
42
- var _d = React.useState(false), issueAnchorEl = _d[0], setIssueAnchorEl = _d[1];
43
- var _e = React.useState(false), expiryAnchorEl = _e[0], setExpiryAnchorEl = _e[1];
44
- var _f = React.useState(false), entityTypeAnchorEl = _f[0], setEntityTypeAnchorEl = _f[1];
45
- var _g = useAppSelector(entitySelector), data = _g.data, loading = _g.loading, error = _g.error, uploading = _g.uploading, uploadingArticle = _g.uploadingArticle;
41
+ var _b;
42
+ var _c = React.useState(false), issueAnchorEl = _c[0], setIssueAnchorEl = _c[1];
43
+ var _d = React.useState(false), expiryAnchorEl = _d[0], setExpiryAnchorEl = _d[1];
44
+ var _e = React.useState(false), entityTypeAnchorEl = _e[0], setEntityTypeAnchorEl = _e[1];
45
+ var _f = useAppSelector(entitySelector), data = _f.data, loading = _f.loading, error = _f.error, uploading = _f.uploading, uploadingArticle = _f.uploadingArticle;
46
46
  var settingsData = useAppSelector(settingsSelector).data;
47
47
  var isAr = useLanguage().isAr;
48
48
  var t = useTranslation().t;
49
49
  var dispatch = useAppDispatch();
50
- var _h = data.entityNameData, legalName = _h.legalName, licenseNumber = _h.licenseNumber, licenseType = _h.licenseType, entityType = _h.entityType, issuingDate = _h.issuingDate, expiryDate = _h.expiryDate, unifiedNumber = _h.unifiedNumber, certificateId = _h.certificateId, articleId = _h.articleId;
50
+ var _g = data.entityNameData, legalName = _g.legalName, licenseNumber = _g.licenseNumber, licenseType = _g.licenseType, entityType = _g.entityType, issuingDate = _g.issuingDate, expiryDate = _g.expiryDate, unifiedNumber = _g.unifiedNumber, certificateId = _g.certificateId, articleId = _g.articleId;
51
51
  var country_code = settingsData.businessCountry.iso2;
52
52
  var isSACountry = React.useMemo(function () { return isSA(country_code); }, [country_code]);
53
53
  var isKWCountry = React.useMemo(function () { return isKW(country_code); }, [country_code]);
54
54
  var isCR = licenseType === BusinessType.CR;
55
- var _j = data.verify.responseBody || {}, entity = _j.entity, flows = _j.flows, entityTypes = _j.entityTypes;
56
- var _k = entity || {}, AOA_file = _k.AOA_file, id = _k.id, documents = _k.documents, data_status = _k.data_status, data_verification = _k.data_verification, legal_name = _k.legal_name, type = _k.type, license = _k.license;
55
+ var _h = data.verify.responseBody || {}, entity = _h.entity, flows = _h.flows;
56
+ var _j = entity || {}, AOA_file = _j.AOA_file, id = _j.id, documents = _j.documents, data_status = _j.data_status, data_verification = _j.data_verification, legal_name = _j.legal_name, type = _j.type, license = _j.license;
57
57
  var getSchema = function () {
58
58
  if (isSACountry)
59
59
  return EntityNameValidationSchema();
@@ -80,18 +80,6 @@ var EntityName = function (_a) {
80
80
  useSetFromDefaultValues(methods, data.entityNameData, true);
81
81
  var defaultCertificateFiles = React.useMemo(function () { return getFileDetailsFromDocument(documents, DocumentPurpose.CR); }, [documents]);
82
82
  var defaultArticleFile = React.useMemo(function () { return AOA_file && __assign(__assign({}, AOA_file), { docId: id }); }, [AOA_file]);
83
- var issueDateRes = (license === null || license === void 0 ? void 0 : license.issuing_date) && convertToEnglishDateFormat(new Date(license.issuing_date));
84
- var expDateRes = (license === null || license === void 0 ? void 0 : license.expiry_date) && convertToEnglishDateFormat(new Date(license.expiry_date));
85
- var isDirty = useFormDirtyCheck(methods, {
86
- legalName: (legal_name === null || legal_name === void 0 ? void 0 : legal_name.en) || (legal_name === null || legal_name === void 0 ? void 0 : legal_name.ar),
87
- licenseNumber: license === null || license === void 0 ? void 0 : license.number,
88
- licenseType: (license === null || license === void 0 ? void 0 : license.type) === 'freelance' ? BusinessType.FL : BusinessType.CR,
89
- entityType: type || (entityTypes === null || entityTypes === void 0 ? void 0 : entityTypes[0]),
90
- issuingDate: issueDateRes,
91
- expiryDate: expDateRes,
92
- unifiedNumber: (_b = license === null || license === void 0 ? void 0 : license.additional_info) === null || _b === void 0 ? void 0 : _b.unified_number,
93
- articleId: defaultArticleFile === null || defaultArticleFile === void 0 ? void 0 : defaultArticleFile.id
94
- }).isDirty;
95
83
  var originalReadOnly = useFormReadOnly(methods, { certificateId: defaultCertificateFiles, articleId: defaultArticleFile });
96
84
  var noneEditable = useDataNoneEditable(data_status, [
97
85
  'legal_name.en',
@@ -116,16 +104,17 @@ var EntityName = function (_a) {
116
104
  'license.expiry_date',
117
105
  'AOA_file_id'
118
106
  ]);
107
+ var issueDateRes = (license === null || license === void 0 ? void 0 : license.issuing_date) && convertToEnglishDateFormat(new Date(license.issuing_date));
108
+ var expDateRes = (license === null || license === void 0 ? void 0 : license.expiry_date) && convertToEnglishDateFormat(new Date(license.expiry_date));
119
109
  var isLegalNameVerified = dataVerified['legal_name.en'] && dataVerified['legal_name.ar'] && ((legal_name === null || legal_name === void 0 ? void 0 : legal_name.en) === watch('legalName') || (legal_name === null || legal_name === void 0 ? void 0 : legal_name.ar) === watch('legalName'));
120
110
  var isEntityTypeVerified = dataVerified['type'] && type === watch('entityType');
121
111
  var isLicenseNumberVerified = dataVerified['license.number'] && (license === null || license === void 0 ? void 0 : license.number) === watch('licenseNumber');
122
- var isUnifiedNumberVerified = dataVerified['license.additional_info'] && ((_c = license === null || license === void 0 ? void 0 : license.additional_info) === null || _c === void 0 ? void 0 : _c.unified_number) === watch('unifiedNumber');
112
+ var isUnifiedNumberVerified = dataVerified['license.additional_info'] && ((_b = license === null || license === void 0 ? void 0 : license.additional_info) === null || _b === void 0 ? void 0 : _b.unified_number) === watch('unifiedNumber');
123
113
  var isIssuingDateVerified = dataVerified['license.issuing_date'] && issueDateRes === watch('issuingDate');
124
114
  var isExpiryDateVerified = dataVerified['license.expiry_date'] && expDateRes === watch('expiryDate');
125
115
  var isArticleIdVerified = dataVerified['AOA_file_id'];
126
116
  var onSubmit = function (data) {
127
- var formData = __assign(__assign({}, deepCopy(getFelids(data))), { isDirty: isDirty });
128
- dispatch(updateEntityName(formData));
117
+ dispatch(updateEntityName(deepCopy(getFelids(data))));
129
118
  };
130
119
  var handleIssueDateOpenClose = function (flag) {
131
120
  setIssueAnchorEl(flag);
@@ -137,12 +126,6 @@ var EntityName = function (_a) {
137
126
  setEntityTypeAnchorEl(flag);
138
127
  };
139
128
  var onBack = function () {
140
- sendCustomEventToGTM({
141
- event: 'Send Event',
142
- event_category: 'Board Flows - Entity',
143
- event_action: 'Entity Details Back button',
144
- event_label: settingsData.businessCountry.iso2
145
- });
146
129
  if ((flows === null || flows === void 0 ? void 0 : flows.length) > 0) {
147
130
  dispatch(handlePrevScreenStep());
148
131
  return;