@tap-payments/auth-jsconnect 2.6.40-test → 2.6.46-test

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (337) hide show
  1. package/build/api/availabilityServices.d.ts +1 -0
  2. package/build/app/settings.js +18 -12
  3. package/build/assets/locales/ar.json +2 -1
  4. package/build/assets/locales/en.json +2 -1
  5. package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -1
  6. package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
  7. package/build/components/AnimationFlow/Dialog.d.ts +1 -1
  8. package/build/components/AnimationFlow/Error.d.ts +1 -2
  9. package/build/components/AnimationFlow/Loader.d.ts +1 -2
  10. package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
  11. package/build/components/Button/Button.d.ts +1 -1
  12. package/build/components/CheckBox/CheckBox.d.ts +1 -1
  13. package/build/components/Collapse/Collapse.d.ts +1 -2
  14. package/build/components/DatePicker/DatePicker.d.ts +1 -1
  15. package/build/components/ExpandIcon/ExpandIcon.d.ts +1 -2
  16. package/build/components/FileInput/DragAndDrop.d.ts +1 -2
  17. package/build/components/FileInput/UploadInput.d.ts +1 -2
  18. package/build/components/Footer/Footer.d.ts +1 -1
  19. package/build/components/Form/Form.d.ts +1 -1
  20. package/build/components/Input/Input.d.ts +1 -1
  21. package/build/components/InputAdornment/InputAdornment.d.ts +1 -1
  22. package/build/components/List/List.d.ts +1 -1
  23. package/build/components/ListItem/ListItem.d.ts +1 -1
  24. package/build/components/Loader/Loader.d.ts +1 -1
  25. package/build/components/LogoBadge/LogoBadge.d.ts +1 -1
  26. package/build/components/OTPField/OTPField.d.ts +1 -1
  27. package/build/components/OTPTimer/OTPTimer.d.ts +1 -1
  28. package/build/components/ProgressBar/CircularProgressBar.d.ts +1 -2
  29. package/build/components/ProgressBar/ProgressBar.d.ts +1 -1
  30. package/build/components/Providers/ReduxProvider.d.ts +1 -1
  31. package/build/components/Providers/ThemeProvider.d.ts +1 -1
  32. package/build/components/Radio/Radio.d.ts +1 -1
  33. package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
  34. package/build/components/RadioLabel/RadioLabel.d.ts +1 -1
  35. package/build/components/SimpleList/SimpleList.d.ts +1 -1
  36. package/build/components/Slide/Slide.d.ts +1 -1
  37. package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
  38. package/build/components/Text/Text.d.ts +1 -1
  39. package/build/components/ToggleButton/ToggleButton.d.ts +1 -1
  40. package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  41. package/build/components/Tooltip/Tooltip.d.ts +1 -1
  42. package/build/components/Warning/Warning.d.ts +1 -1
  43. package/build/constants/app.js +6 -0
  44. package/build/features/app/board/boardStore.d.ts +4 -1
  45. package/build/features/app/board/boardStore.js +30 -16
  46. package/build/features/app/connect/connectStore.d.ts +3 -17
  47. package/build/features/app/connect/connectStore.js +49 -122
  48. package/build/features/app/connectExpress/connectExpressStore.js +8 -5
  49. package/build/features/app/individual/individualStore.js +9 -6
  50. package/build/features/bank/Bank.d.ts +1 -2
  51. package/build/features/bank/screens/BankDetails/BankDetails.d.ts +1 -2
  52. package/build/features/bank/screens/BankDetails/BankName.d.ts +1 -2
  53. package/build/features/bank/screens/BankDetails/BankStatement.d.ts +1 -2
  54. package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +1 -2
  55. package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +1 -2
  56. package/build/features/bank/screens/BankDetails/IBAN.d.ts +1 -2
  57. package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  58. package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  59. package/build/features/bank/screens/Success/Success.d.ts +1 -1
  60. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  61. package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
  62. package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
  63. package/build/features/board/Board.d.ts +1 -2
  64. package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  65. package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  66. package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +1 -1
  67. package/build/features/board/screens/Verify/OTPInput.d.ts +1 -1
  68. package/build/features/board/screens/Verify/Verify.d.ts +1 -1
  69. package/build/features/brand/Brand.d.ts +1 -2
  70. package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +14 -30
  71. package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +1 -2
  72. package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +13 -37
  73. package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +1 -2
  74. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +1 -2
  75. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +10 -18
  76. package/build/features/brand/screens/BrandActivities/TAC.d.ts +2 -2
  77. package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +1 -2
  78. package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +1 -2
  79. package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +1 -2
  80. package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -1
  81. package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +1 -2
  82. package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +1 -2
  83. package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +1 -2
  84. package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +1 -2
  85. package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +1 -2
  86. package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +1 -2
  87. package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  88. package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  89. package/build/features/brand/screens/Success/Success.d.ts +1 -1
  90. package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  91. package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
  92. package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
  93. package/build/features/business/Business.d.ts +1 -2
  94. package/build/features/business/screens/Activities/Activities.d.ts +1 -2
  95. package/build/features/business/screens/Activities/ActivitiesList.d.ts +9 -25
  96. package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
  97. package/build/features/business/screens/Activities/OperationStartDate.d.ts +5 -13
  98. package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
  99. package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
  100. package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
  101. package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
  102. package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +5 -13
  103. package/build/features/business/screens/BusinessType/Article.d.ts +1 -2
  104. package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
  105. package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
  106. package/build/features/business/screens/BusinessType/EntityName.d.ts +1 -2
  107. package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +1 -2
  108. package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
  109. package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
  110. package/build/features/business/screens/BusinessType/LicenseType.d.ts +5 -5
  111. package/build/features/business/screens/BusinessType/SelectType.d.ts +1 -1
  112. package/build/features/business/screens/BusinessType/Switch.d.ts +1 -1
  113. package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
  114. package/build/features/business/screens/Customers/CustomerLocations.d.ts +18 -42
  115. package/build/features/business/screens/Customers/Customers.d.ts +1 -1
  116. package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +1 -2
  117. package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +1 -2
  118. package/build/features/business/screens/Customers/RefundPolicy.d.ts +10 -18
  119. package/build/features/business/screens/Customers/TransactionPolicy.d.ts +1 -2
  120. package/build/features/business/screens/IDBOD/DOB.d.ts +1 -1
  121. package/build/features/business/screens/IDBOD/ID.d.ts +1 -1
  122. package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
  123. package/build/features/business/screens/OTP/OTP.d.ts +1 -1
  124. package/build/features/business/screens/OTP/OTPInput.d.ts +1 -1
  125. package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  126. package/build/features/business/screens/Success/Success.d.ts +1 -1
  127. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  128. package/build/features/business/screens/Verify/OTPInput.d.ts +1 -1
  129. package/build/features/business/screens/Verify/Verify.d.ts +1 -1
  130. package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  131. package/build/features/connect/Connect.d.ts +1 -2
  132. package/build/features/connect/Connect.js +4 -0
  133. package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
  134. package/build/features/connect/screens/BrandSegment/BrandSegment.js +3 -25
  135. package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +1 -2
  136. package/build/features/connect/screens/BrandSegment/TeamSize.js +1 -1
  137. package/build/features/connect/screens/BrandSegment/validation.d.ts +0 -9
  138. package/build/features/connect/screens/BrandSegment/validation.js +0 -3
  139. package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  140. package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
  141. package/build/features/connect/screens/Individual/Email.d.ts +1 -1
  142. package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
  143. package/build/features/connect/screens/Individual/Name.d.ts +1 -1
  144. package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
  145. package/build/features/connect/screens/Merchant/BrandName.d.ts +1 -1
  146. package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
  147. package/build/features/connect/screens/Merchant/SalesChannels.d.ts +1 -2
  148. package/build/features/connect/screens/Merchant/TAC.d.ts +1 -1
  149. package/build/features/connect/screens/Mobile/Mobile.d.ts +1 -1
  150. package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
  151. package/build/features/connect/screens/NID/DOB.d.ts +1 -2
  152. package/build/features/connect/screens/NID/NID.d.ts +1 -1
  153. package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
  154. package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
  155. package/build/features/connect/screens/OperatorError/OperatorError.d.ts +5 -0
  156. package/build/features/connect/screens/OperatorError/OperatorError.js +9 -0
  157. package/build/features/connect/screens/OperatorError/index.d.ts +3 -0
  158. package/build/features/connect/screens/OperatorError/index.js +2 -0
  159. package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
  160. package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  161. package/build/features/connectExpress/ConnectExpress.d.ts +1 -2
  162. package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
  163. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
  164. package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +1 -1
  165. package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +1 -1
  166. package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
  167. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  168. package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
  169. package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
  170. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
  171. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
  172. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
  173. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
  174. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +5 -5
  175. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.js +1 -1
  176. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +2 -2
  177. package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
  178. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
  179. package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
  180. package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
  181. package/build/features/connectExpress/screens/IdentityOTP/OTP.d.ts +1 -1
  182. package/build/features/connectExpress/screens/IdentityOTP/OTPInput.d.ts +1 -1
  183. package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +1 -1
  184. package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +1 -1
  185. package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
  186. package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
  187. package/build/features/connectExpress/screens/NID/DOB.d.ts +1 -2
  188. package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
  189. package/build/features/connectExpress/screens/NID/TAC.d.ts +2 -2
  190. package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +1 -2
  191. package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
  192. package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
  193. package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
  194. package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  195. package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  196. package/build/features/entity/Entity.d.ts +1 -2
  197. package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +9 -25
  198. package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
  199. package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
  200. package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
  201. package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +1 -2
  202. package/build/features/entity/screens/EntityName/Article.d.ts +1 -2
  203. package/build/features/entity/screens/EntityName/EntityName.d.ts +1 -2
  204. package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +14 -30
  205. package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +5 -13
  206. package/build/features/entity/screens/EntityName/IssuingDate.d.ts +5 -13
  207. package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
  208. package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +1 -2
  209. package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
  210. package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
  211. package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  212. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  213. package/build/features/entity/screens/Success/Success.d.ts +1 -1
  214. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  215. package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
  216. package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
  217. package/build/features/featuresScreens.js +5 -0
  218. package/build/features/individual/Individual.d.ts +1 -2
  219. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +5 -13
  220. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +1 -2
  221. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
  222. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
  223. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -2
  224. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +5 -5
  225. package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +1 -1
  226. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +1 -1
  227. package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +1 -2
  228. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
  229. package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
  230. package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
  231. package/build/features/individual/screens/IndividualList/IndividualList.d.ts +9 -25
  232. package/build/features/individual/screens/IndividualList/UserList.d.ts +1 -2
  233. package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
  234. package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +1 -1
  235. package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
  236. package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +5 -5
  237. package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
  238. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +5 -13
  239. package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
  240. package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
  241. package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  242. package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  243. package/build/features/individual/screens/Success/Success.d.ts +1 -1
  244. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  245. package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
  246. package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
  247. package/build/features/password/Password.d.ts +1 -2
  248. package/build/features/password/screens/CreatePassword/ConditionText.d.ts +1 -2
  249. package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
  250. package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
  251. package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
  252. package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +1 -2
  253. package/build/features/password/screens/OTP/OTP.d.ts +1 -1
  254. package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
  255. package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  256. package/build/features/password/screens/Success/Success.d.ts +1 -1
  257. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  258. package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
  259. package/build/features/password/screens/Verify/Verify.d.ts +1 -1
  260. package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +1 -2
  261. package/build/features/shared/Address/Address.d.ts +1 -2
  262. package/build/features/shared/Address/CountryList.d.ts +13 -29
  263. package/build/features/shared/Address/InputSelect.d.ts +13 -29
  264. package/build/features/shared/Address/InputText.d.ts +1 -1
  265. package/build/features/shared/Background/Background.d.ts +1 -1
  266. package/build/features/shared/Background/LogoBackground.d.ts +1 -1
  267. package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +1 -2
  268. package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +1 -2
  269. package/build/features/shared/Button/AbsherButton.d.ts +1 -2
  270. package/build/features/shared/Button/Button.d.ts +1 -2
  271. package/build/features/shared/Button/EmailProvidersButtons.d.ts +1 -2
  272. package/build/features/shared/Button/FlowsButtons.d.ts +1 -2
  273. package/build/features/shared/Button/IndividualActionButtons.d.ts +1 -1
  274. package/build/features/shared/Button/MobileButton.d.ts +1 -2
  275. package/build/features/shared/Button/SuccessButton.d.ts +1 -2
  276. package/build/features/shared/Calender/Calender.d.ts +1 -2
  277. package/build/features/shared/CheckIcon/CheckIcon.d.ts +1 -2
  278. package/build/features/shared/Chip/Chip.d.ts +1 -2
  279. package/build/features/shared/ClearIcon/ClearIcon.d.ts +1 -2
  280. package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
  281. package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
  282. package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
  283. package/build/features/shared/DataLoading/DataLoading.d.ts +1 -1
  284. package/build/features/shared/Dialog/CloseDialog.d.ts +1 -2
  285. package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
  286. package/build/features/shared/Dot/Dot.d.ts +1 -2
  287. package/build/features/shared/EndAdornment/EndAdornment.d.ts +1 -2
  288. package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +1 -2
  289. package/build/features/shared/Footer/Footer.d.ts +1 -2
  290. package/build/features/shared/Footer/PoweredByFooter.d.ts +1 -2
  291. package/build/features/shared/GenericError/GenericError.d.ts +1 -1
  292. package/build/features/shared/Input/Input.d.ts +6 -14
  293. package/build/features/shared/InputSelect/InputSelect.d.ts +1 -2
  294. package/build/features/shared/Mandatory/Mandatory.d.ts +1 -2
  295. package/build/features/shared/OTP/OTP.d.ts +1 -1
  296. package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
  297. package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +1 -2
  298. package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +1 -2
  299. package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
  300. package/build/features/shared/Search/Search.d.ts +1 -2
  301. package/build/features/shared/SearchIcon/SearchIcon.d.ts +1 -2
  302. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
  303. package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -1
  304. package/build/features/shared/UploadFile/FileUpload.d.ts +2 -2
  305. package/build/features/shared/UploadFile/UploadFile.d.ts +2 -2
  306. package/build/features/shared/UploadFile/UploadWrapper.d.ts +2 -2
  307. package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +2 -2
  308. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +2 -2
  309. package/build/features/signIn/SignIn.d.ts +1 -2
  310. package/build/features/signIn/screens/Email/Email.d.ts +1 -1
  311. package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
  312. package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
  313. package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
  314. package/build/features/signIn/screens/Password/Password.d.ts +1 -1
  315. package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
  316. package/build/features/tax/Tax.d.ts +1 -2
  317. package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  318. package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  319. package/build/features/tax/screens/Success/Success.d.ts +1 -1
  320. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  321. package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +1 -2
  322. package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +1 -2
  323. package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +1 -2
  324. package/build/features/tax/screens/TaxDetails/VATId.d.ts +1 -2
  325. package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
  326. package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
  327. package/build/hooks/useExcludeReadOnlyFelids.d.ts +1 -1
  328. package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +1 -1
  329. package/build/hooks/useFormReadOnly.d.ts +1 -1
  330. package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
  331. package/package.json +1 -1
  332. package/build/features/connect/screens/BrandSegment/SegmentLocations.d.ts +0 -8
  333. package/build/features/connect/screens/BrandSegment/SegmentLocations.js +0 -66
  334. package/build/features/connect/screens/BrandSegment/SegmentProfits.d.ts +0 -8
  335. package/build/features/connect/screens/BrandSegment/SegmentProfits.js +0 -66
  336. package/build/features/connect/screens/BrandSegment/SegmentTechs.d.ts +0 -8
  337. package/build/features/connect/screens/BrandSegment/SegmentTechs.js +0 -66
@@ -1,66 +0,0 @@
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, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
13
- import React from 'react';
14
- import { useTranslation } from 'react-i18next';
15
- import { useController, useFormContext } from 'react-hook-form';
16
- import Box from '@mui/material/Box';
17
- import { styled } from '@mui/material/styles';
18
- import { useAppSelector, useLanguage } from '../../../../hooks';
19
- import SimpleList from '../../../../components/SimpleList';
20
- import Text from '../../../../components/Text';
21
- import Collapse from '../../../../components/Collapse';
22
- import { EndAdornmentExpanded } from '../../../shared/EndAdornment';
23
- import { ScreenContainer } from '../../../shared/Containers';
24
- import InputSelect from '../../../shared/InputSelect';
25
- import CheckIcon from '../../../shared/CheckIcon';
26
- import { connectSelector } from '../../../app/connect/connectStore';
27
- var IncomeText = styled(Text, { shouldForwardProp: function (prop) { return prop !== 'isSelected'; } })(function (_a) {
28
- var theme = _a.theme, isSelected = _a.isSelected;
29
- return (__assign(__assign({ color: theme.palette.text.primary }, theme.typography.body2), { fontWeight: isSelected ? theme.typography.fontWeightMedium : theme.typography.fontWeightLight, paddingInlineStart: theme.spacing(1.25), textAlign: 'start' }));
30
- });
31
- var SegmentLocations = function (_a) {
32
- var _b, _c, _d, _e;
33
- var show = _a.show, onListOpen = _a.onListOpen, onListClose = _a.onListClose;
34
- var _f = React.useState([]), segmentList = _f[0], setSegmentList = _f[1];
35
- var _g = React.useState(null), anchorEl = _g[0], setAnchorEl = _g[1];
36
- var t = useTranslation().t;
37
- var isAr = useLanguage().isAr;
38
- var data = useAppSelector(connectSelector).data;
39
- var control = useFormContext().control;
40
- var segmentLocationList = ((_b = data.brandSegmentData.responseBody) === null || _b === void 0 ? void 0 : _b.segment_location_list) || [];
41
- var segmentControl = useController({ control: control, name: 'segmentLocation' });
42
- var segment = segmentControl.field.value;
43
- var error = (_c = segmentControl.fieldState.error) === null || _c === void 0 ? void 0 : _c.message;
44
- React.useEffect(function () {
45
- if ((segmentLocationList === null || segmentLocationList === void 0 ? void 0 : segmentLocationList.length) > 0) {
46
- setSegmentList(segmentLocationList);
47
- }
48
- }, [segmentLocationList]);
49
- var onOpenList = function (event) {
50
- setAnchorEl(event.currentTarget);
51
- onListOpen === null || onListOpen === void 0 ? void 0 : onListOpen();
52
- };
53
- var onCloseList = function () {
54
- setAnchorEl(null);
55
- onListClose === null || onListClose === void 0 ? void 0 : onListClose();
56
- };
57
- var onSelectItem = function (segment) {
58
- onCloseList();
59
- segmentControl.field.onChange(segment);
60
- };
61
- return (_jsx(Collapse, __assign({ in: show }, { children: _jsxs(ScreenContainer, __assign({ sx: { mt: 2.5, mb: 0 } }, { children: [_jsx(InputSelect, { required: true, label: t('segment_location_title'), onClick: !!anchorEl ? function () { return onCloseList(); } : onOpenList, endAdornment: _jsx(EndAdornmentExpanded, { anchorEl: anchorEl }), placeholder: t('choose_any_segment'), value: (isAr ? (_d = segment === null || segment === void 0 ? void 0 : segment.name) === null || _d === void 0 ? void 0 : _d.ar : (_e = segment === null || segment === void 0 ? void 0 : segment.name) === null || _e === void 0 ? void 0 : _e.en) || '', warningMessage: error && t(error) }), _jsx(Collapse, __assign({ in: !!anchorEl }, { children: _jsx(SimpleList, { searchKeyPath: 'name.en', searchValuePath: ['name.ar', 'name.en'], list: segmentList, onSelectItem: onSelectItem, renderItem: function (item) {
62
- var _a, _b;
63
- return (_jsxs(_Fragment, { children: [_jsx(Box, __assign({ display: 'flex' }, { children: _jsx(IncomeText, __assign({ isSelected: item.id === (segment === null || segment === void 0 ? void 0 : segment.id) }, { children: isAr ? (_a = item === null || item === void 0 ? void 0 : item.name) === null || _a === void 0 ? void 0 : _a.ar : (_b = item === null || item === void 0 ? void 0 : item.name) === null || _b === void 0 ? void 0 : _b.en })) })), item.id === (segment === null || segment === void 0 ? void 0 : segment.id) && _jsx(CheckIcon, {})] }));
64
- } }) }))] })) })));
65
- };
66
- export default SegmentLocations;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- interface SegmentProfitsProps {
3
- show: boolean;
4
- onListOpen?: () => void;
5
- onListClose?: () => void;
6
- }
7
- declare const SegmentProfits: ({ show, onListOpen, onListClose }: SegmentProfitsProps) => JSX.Element;
8
- export default SegmentProfits;
@@ -1,66 +0,0 @@
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, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
13
- import React from 'react';
14
- import { useTranslation } from 'react-i18next';
15
- import { useController, useFormContext } from 'react-hook-form';
16
- import Box from '@mui/material/Box';
17
- import { styled } from '@mui/material/styles';
18
- import { useAppSelector, useLanguage } from '../../../../hooks';
19
- import SimpleList from '../../../../components/SimpleList';
20
- import Text from '../../../../components/Text';
21
- import Collapse from '../../../../components/Collapse';
22
- import { EndAdornmentExpanded } from '../../../shared/EndAdornment';
23
- import { ScreenContainer } from '../../../shared/Containers';
24
- import InputSelect from '../../../shared/InputSelect';
25
- import CheckIcon from '../../../shared/CheckIcon';
26
- import { connectSelector } from '../../../app/connect/connectStore';
27
- var IncomeText = styled(Text, { shouldForwardProp: function (prop) { return prop !== 'isSelected'; } })(function (_a) {
28
- var theme = _a.theme, isSelected = _a.isSelected;
29
- return (__assign(__assign({ color: theme.palette.text.primary }, theme.typography.body2), { fontWeight: isSelected ? theme.typography.fontWeightMedium : theme.typography.fontWeightLight, paddingInlineStart: theme.spacing(1.25), textAlign: 'start' }));
30
- });
31
- var SegmentProfits = function (_a) {
32
- var _b, _c, _d, _e;
33
- var show = _a.show, onListOpen = _a.onListOpen, onListClose = _a.onListClose;
34
- var _f = React.useState([]), segmentList = _f[0], setSegmentList = _f[1];
35
- var _g = React.useState(null), anchorEl = _g[0], setAnchorEl = _g[1];
36
- var t = useTranslation().t;
37
- var isAr = useLanguage().isAr;
38
- var data = useAppSelector(connectSelector).data;
39
- var control = useFormContext().control;
40
- var segmentProfitList = ((_b = data.brandSegmentData.responseBody) === null || _b === void 0 ? void 0 : _b.segment_profit_list) || [];
41
- var segmentControl = useController({ control: control, name: 'segmentProfit' });
42
- var segment = segmentControl.field.value;
43
- var error = (_c = segmentControl.fieldState.error) === null || _c === void 0 ? void 0 : _c.message;
44
- React.useEffect(function () {
45
- if ((segmentProfitList === null || segmentProfitList === void 0 ? void 0 : segmentProfitList.length) > 0) {
46
- setSegmentList(segmentProfitList);
47
- }
48
- }, [segmentProfitList]);
49
- var onOpenList = function (event) {
50
- setAnchorEl(event.currentTarget);
51
- onListOpen === null || onListOpen === void 0 ? void 0 : onListOpen();
52
- };
53
- var onCloseList = function () {
54
- setAnchorEl(null);
55
- onListClose === null || onListClose === void 0 ? void 0 : onListClose();
56
- };
57
- var onSelectItem = function (segment) {
58
- onCloseList();
59
- segmentControl.field.onChange(segment);
60
- };
61
- return (_jsx(Collapse, __assign({ in: show }, { children: _jsxs(ScreenContainer, __assign({ sx: { mt: 2.5, mb: 0 } }, { children: [_jsx(InputSelect, { required: true, label: t('segment_profit_title'), onClick: !!anchorEl ? function () { return onCloseList(); } : onOpenList, endAdornment: _jsx(EndAdornmentExpanded, { anchorEl: anchorEl }), placeholder: t('choose_any_segment'), value: (isAr ? (_d = segment === null || segment === void 0 ? void 0 : segment.name) === null || _d === void 0 ? void 0 : _d.ar : (_e = segment === null || segment === void 0 ? void 0 : segment.name) === null || _e === void 0 ? void 0 : _e.en) || '', warningMessage: error && t(error) }), _jsx(Collapse, __assign({ in: !!anchorEl }, { children: _jsx(SimpleList, { searchKeyPath: 'name.en', searchValuePath: ['name.ar', 'name.en'], list: segmentList, onSelectItem: onSelectItem, renderItem: function (item) {
62
- var _a, _b;
63
- return (_jsxs(_Fragment, { children: [_jsx(Box, __assign({ display: 'flex' }, { children: _jsx(IncomeText, __assign({ isSelected: item.id === (segment === null || segment === void 0 ? void 0 : segment.id) }, { children: isAr ? (_a = item === null || item === void 0 ? void 0 : item.name) === null || _a === void 0 ? void 0 : _a.ar : (_b = item === null || item === void 0 ? void 0 : item.name) === null || _b === void 0 ? void 0 : _b.en })) })), item.id === (segment === null || segment === void 0 ? void 0 : segment.id) && _jsx(CheckIcon, {})] }));
64
- } }) }))] })) })));
65
- };
66
- export default SegmentProfits;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- interface SegmentTechsProps {
3
- show: boolean;
4
- onListOpen?: () => void;
5
- onListClose?: () => void;
6
- }
7
- declare const SegmentTechs: ({ show, onListOpen, onListClose }: SegmentTechsProps) => JSX.Element;
8
- export default SegmentTechs;
@@ -1,66 +0,0 @@
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, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
13
- import React from 'react';
14
- import { useTranslation } from 'react-i18next';
15
- import { useController, useFormContext } from 'react-hook-form';
16
- import Box from '@mui/material/Box';
17
- import { styled } from '@mui/material/styles';
18
- import { useAppSelector, useLanguage } from '../../../../hooks';
19
- import SimpleList from '../../../../components/SimpleList';
20
- import Text from '../../../../components/Text';
21
- import Collapse from '../../../../components/Collapse';
22
- import { EndAdornmentExpanded } from '../../../shared/EndAdornment';
23
- import { ScreenContainer } from '../../../shared/Containers';
24
- import InputSelect from '../../../shared/InputSelect';
25
- import CheckIcon from '../../../shared/CheckIcon';
26
- import { connectSelector } from '../../../app/connect/connectStore';
27
- var IncomeText = styled(Text, { shouldForwardProp: function (prop) { return prop !== 'isSelected'; } })(function (_a) {
28
- var theme = _a.theme, isSelected = _a.isSelected;
29
- return (__assign(__assign({ color: theme.palette.text.primary }, theme.typography.body2), { fontWeight: isSelected ? theme.typography.fontWeightMedium : theme.typography.fontWeightLight, paddingInlineStart: theme.spacing(1.25), textAlign: 'start' }));
30
- });
31
- var SegmentTechs = function (_a) {
32
- var _b, _c, _d, _e;
33
- var show = _a.show, onListOpen = _a.onListOpen, onListClose = _a.onListClose;
34
- var _f = React.useState([]), segmentList = _f[0], setSegmentList = _f[1];
35
- var _g = React.useState(null), anchorEl = _g[0], setAnchorEl = _g[1];
36
- var t = useTranslation().t;
37
- var isAr = useLanguage().isAr;
38
- var data = useAppSelector(connectSelector).data;
39
- var control = useFormContext().control;
40
- var segmentTechList = ((_b = data.brandSegmentData.responseBody) === null || _b === void 0 ? void 0 : _b.segment_tech_list) || [];
41
- var segmentControl = useController({ control: control, name: 'segmentTech' });
42
- var segment = segmentControl.field.value;
43
- var error = (_c = segmentControl.fieldState.error) === null || _c === void 0 ? void 0 : _c.message;
44
- React.useEffect(function () {
45
- if ((segmentTechList === null || segmentTechList === void 0 ? void 0 : segmentTechList.length) > 0) {
46
- setSegmentList(segmentTechList);
47
- }
48
- }, [segmentTechList]);
49
- var onOpenList = function (event) {
50
- setAnchorEl(event.currentTarget);
51
- onListOpen === null || onListOpen === void 0 ? void 0 : onListOpen();
52
- };
53
- var onCloseList = function () {
54
- setAnchorEl(null);
55
- onListClose === null || onListClose === void 0 ? void 0 : onListClose();
56
- };
57
- var onSelectItem = function (segment) {
58
- onCloseList();
59
- segmentControl.field.onChange(segment);
60
- };
61
- return (_jsx(Collapse, __assign({ in: show }, { children: _jsxs(ScreenContainer, __assign({ sx: { mt: 2.5, mb: 0 } }, { children: [_jsx(InputSelect, { required: true, label: t('segment_tech_title'), onClick: !!anchorEl ? function () { return onCloseList(); } : onOpenList, endAdornment: _jsx(EndAdornmentExpanded, { anchorEl: anchorEl }), placeholder: t('choose_any_segment'), value: (isAr ? (_d = segment === null || segment === void 0 ? void 0 : segment.name) === null || _d === void 0 ? void 0 : _d.ar : (_e = segment === null || segment === void 0 ? void 0 : segment.name) === null || _e === void 0 ? void 0 : _e.en) || '', warningMessage: error && t(error) }), _jsx(Collapse, __assign({ in: !!anchorEl }, { children: _jsx(SimpleList, { searchKeyPath: 'name.en', searchValuePath: ['name.ar', 'name.en'], list: segmentList, onSelectItem: onSelectItem, renderItem: function (item) {
62
- var _a, _b;
63
- return (_jsxs(_Fragment, { children: [_jsx(Box, __assign({ display: 'flex' }, { children: _jsx(IncomeText, __assign({ isSelected: item.id === (segment === null || segment === void 0 ? void 0 : segment.id) }, { children: isAr ? (_a = item === null || item === void 0 ? void 0 : item.name) === null || _a === void 0 ? void 0 : _a.ar : (_b = item === null || item === void 0 ? void 0 : item.name) === null || _b === void 0 ? void 0 : _b.en })) })), item.id === (segment === null || segment === void 0 ? void 0 : segment.id) && _jsx(CheckIcon, {})] }));
64
- } }) }))] })) })));
65
- };
66
- export default SegmentTechs;