@tap-payments/auth-jsconnect 2.0.55-test → 2.0.57-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 (289) hide show
  1. package/build/api/account.js +1 -1
  2. package/build/api/auth.d.ts +1 -1
  3. package/build/api/auth.js +1 -1
  4. package/build/api/availabilityServices.js +1 -1
  5. package/build/api/axios.js +2 -2
  6. package/build/api/board.js +1 -1
  7. package/build/api/brand.d.ts +1 -1
  8. package/build/api/brand.js +1 -1
  9. package/build/api/country.js +1 -1
  10. package/build/api/data.d.ts +16 -16
  11. package/build/api/data.js +1 -1
  12. package/build/api/entity.js +1 -1
  13. package/build/api/firebase.js +1 -1
  14. package/build/api/index.d.ts +101 -0
  15. package/build/api/individual.js +1 -1
  16. package/build/api/ip.js +1 -1
  17. package/build/api/lead.d.ts +1 -1
  18. package/build/api/lead.js +1 -1
  19. package/build/api/operator.js +1 -1
  20. package/build/api/user.js +1 -1
  21. package/build/app/rootReducer.d.ts +10 -10
  22. package/build/app/rootReducer.js +10 -10
  23. package/build/app/settings.d.ts +2 -2
  24. package/build/app/settings.js +5 -5
  25. package/build/app/store.d.ts +1 -1
  26. package/build/components/AnimationFlow/AnimationFlow.js +1 -1
  27. package/build/components/AnimationFlow/Dialog.js +3 -3
  28. package/build/components/DatePicker/DatePicker.js +3 -3
  29. package/build/components/DatePicker/customStyle.css +86 -0
  30. package/build/components/FileInput/DragAndDrop.js +6 -6
  31. package/build/components/FileInput/UploadInput.js +2 -2
  32. package/build/components/Footer/Footer.js +3 -3
  33. package/build/components/Input/Input.js +2 -2
  34. package/build/components/OTPTimer/OTPTimer.js +1 -1
  35. package/build/components/Providers/ThemeProvider.d.ts +1 -1
  36. package/build/components/SimpleList/SimpleList.js +1 -1
  37. package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
  38. package/build/components/SocialMediaGroup/SocialMediaGroup.js +2 -2
  39. package/build/constants/app.d.ts +2 -1
  40. package/build/constants/app.js +5 -4
  41. package/build/constants/validation.d.ts +1 -1
  42. package/build/constants/validation.js +1 -1
  43. package/build/features/app/auth/authStore.d.ts +2 -2
  44. package/build/features/app/auth/authStore.js +2 -2
  45. package/build/features/app/bank/bankStore.d.ts +2 -2
  46. package/build/features/app/bank/bankStore.js +4 -4
  47. package/build/features/app/business/businessStore.d.ts +12 -2
  48. package/build/features/app/business/businessStore.js +110 -5
  49. package/build/features/app/connect/connectStore.d.ts +2 -2
  50. package/build/features/app/connect/connectStore.js +52 -32
  51. package/build/features/app/entity/entityStore.d.ts +2 -2
  52. package/build/features/app/entity/entityStore.js +5 -5
  53. package/build/features/app/individual/individualStore.d.ts +2 -2
  54. package/build/features/app/individual/individualStore.js +4 -4
  55. package/build/features/app/otp/otpStore.d.ts +2 -2
  56. package/build/features/app/otp/otpStore.js +4 -4
  57. package/build/features/app/password/passwordStore.d.ts +2 -2
  58. package/build/features/app/password/passwordStore.js +4 -4
  59. package/build/features/app/signIn/signInStore.d.ts +2 -2
  60. package/build/features/app/signIn/signInStore.js +4 -4
  61. package/build/features/app/tax/taxStore.d.ts +2 -2
  62. package/build/features/app/tax/taxStore.js +5 -5
  63. package/build/features/auth/Auth.d.ts +1 -1
  64. package/build/features/auth/Auth.js +10 -10
  65. package/build/features/auth/screens/OTP/OTP.js +8 -8
  66. package/build/features/auth/screens/OTP/OTPInput.js +3 -3
  67. package/build/features/bank/Bank.d.ts +1 -1
  68. package/build/features/bank/Bank.js +10 -10
  69. package/build/features/bank/screens/BankDetails/BankDetails.js +7 -7
  70. package/build/features/bank/screens/BankDetails/BankName.js +8 -8
  71. package/build/features/bank/screens/BankDetails/BankStatement.js +5 -5
  72. package/build/features/bank/screens/BankDetails/Beneficiary.js +7 -7
  73. package/build/features/bank/screens/BankDetails/ConfirmPolicy.js +5 -5
  74. package/build/features/bank/screens/BankDetails/IBAN.js +8 -8
  75. package/build/features/bank/screens/BankDetails/validation.js +1 -1
  76. package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
  77. package/build/features/bank/screens/Success/Success.js +3 -3
  78. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +9 -9
  79. package/build/features/bank/screens/Verify/OTPInput.js +4 -4
  80. package/build/features/bank/screens/Verify/Verify.js +9 -9
  81. package/build/features/business/Business.d.ts +1 -1
  82. package/build/features/business/Business.js +10 -10
  83. package/build/features/business/screens/Activities/Activities.js +7 -7
  84. package/build/features/business/screens/Activities/ActivitiesList.d.ts +1 -1
  85. package/build/features/business/screens/Activities/ActivitiesList.js +9 -9
  86. package/build/features/business/screens/Activities/LicenseName.js +6 -6
  87. package/build/features/business/screens/Activities/OperationStartDate.js +4 -4
  88. package/build/features/business/screens/Activities/SalesChannels.d.ts +1 -1
  89. package/build/features/business/screens/Activities/SalesChannels.js +7 -7
  90. package/build/features/business/screens/BusinessType/BusinessType.js +8 -8
  91. package/build/features/business/screens/BusinessType/LicenseList.js +10 -10
  92. package/build/features/business/screens/BusinessType/LicenseNumber.js +8 -8
  93. package/build/features/business/screens/BusinessType/SelectType.js +6 -6
  94. package/build/features/business/screens/BusinessType/validation.js +2 -2
  95. package/build/features/business/screens/CivilID/CivilID.d.ts +5 -0
  96. package/build/features/business/screens/CivilID/CivilID.js +85 -0
  97. package/build/features/business/screens/CivilID/IDNumber.d.ts +7 -0
  98. package/build/features/business/screens/CivilID/IDNumber.js +59 -0
  99. package/build/features/business/screens/CivilID/index.d.ts +3 -0
  100. package/build/features/business/screens/CivilID/index.js +2 -0
  101. package/build/features/business/screens/CivilID/validation.d.ts +8 -0
  102. package/build/features/business/screens/CivilID/validation.js +4 -0
  103. package/build/features/business/screens/Customers/CustomerLocations.d.ts +1 -1
  104. package/build/features/business/screens/Customers/CustomerLocations.js +9 -9
  105. package/build/features/business/screens/Customers/Customers.js +8 -8
  106. package/build/features/business/screens/Customers/ExpectedCustomers.js +7 -7
  107. package/build/features/business/screens/Customers/ExpectedSalesRange.js +8 -8
  108. package/build/features/business/screens/Customers/RefundPolicy.d.ts +1 -1
  109. package/build/features/business/screens/Customers/RefundPolicy.js +7 -7
  110. package/build/features/business/screens/Customers/TransactionPolicy.js +5 -5
  111. package/build/features/business/screens/IDBOD/DOB.js +5 -5
  112. package/build/features/business/screens/IDBOD/ID.js +6 -6
  113. package/build/features/business/screens/IDBOD/IDBOD.js +6 -6
  114. package/build/features/business/screens/OTP/OTP.js +9 -9
  115. package/build/features/business/screens/OTP/OTPInput.js +4 -4
  116. package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
  117. package/build/features/business/screens/Success/Success.js +3 -3
  118. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +9 -9
  119. package/build/features/business/screens/Verify/OTPInput.js +4 -4
  120. package/build/features/business/screens/Verify/Verify.js +9 -9
  121. package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +5 -0
  122. package/build/features/business/screens/VerifyPACI/VerifyPACI.js +162 -0
  123. package/build/features/business/screens/VerifyPACI/VerifyPACILoading.d.ts +5 -0
  124. package/build/features/business/screens/VerifyPACI/VerifyPACILoading.js +22 -0
  125. package/build/features/business/screens/VerifyPACI/VerifyPACISuccess.d.ts +5 -0
  126. package/build/features/business/screens/VerifyPACI/VerifyPACISuccess.js +8 -0
  127. package/build/features/business/screens/VerifyPACI/index.d.ts +3 -0
  128. package/build/features/business/screens/VerifyPACI/index.js +2 -0
  129. package/build/features/connect/Connect.d.ts +1 -1
  130. package/build/features/connect/Connect.js +10 -10
  131. package/build/features/connect/screens/CivilID/CivilID.js +8 -8
  132. package/build/features/connect/screens/CivilID/IDNumber.js +7 -7
  133. package/build/features/connect/screens/CivilID/validation.js +1 -1
  134. package/build/features/connect/screens/Individual/Email.js +7 -7
  135. package/build/features/connect/screens/Individual/Individual.js +10 -10
  136. package/build/features/connect/screens/Individual/MobileNumber.d.ts +1 -1
  137. package/build/features/connect/screens/Individual/MobileNumber.js +11 -11
  138. package/build/features/connect/screens/Individual/Name.js +6 -6
  139. package/build/features/connect/screens/Individual/validation.js +1 -1
  140. package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
  141. package/build/features/connect/screens/Merchant/BrandList.js +8 -8
  142. package/build/features/connect/screens/Merchant/BrandName.js +10 -10
  143. package/build/features/connect/screens/Merchant/Merchant.js +9 -9
  144. package/build/features/connect/screens/Merchant/SalesChannels.d.ts +1 -1
  145. package/build/features/connect/screens/Merchant/SalesChannels.js +7 -7
  146. package/build/features/connect/screens/Merchant/SocialMedia.js +9 -9
  147. package/build/features/connect/screens/Merchant/TAC.js +7 -7
  148. package/build/features/connect/screens/Merchant/validation.js +1 -1
  149. package/build/features/connect/screens/Mobile/Mobile.js +10 -10
  150. package/build/features/connect/screens/Mobile/MobileNumber.d.ts +1 -1
  151. package/build/features/connect/screens/Mobile/MobileNumber.js +12 -12
  152. package/build/features/connect/screens/Mobile/Title.js +2 -2
  153. package/build/features/connect/screens/NID/DOB.js +5 -5
  154. package/build/features/connect/screens/NID/IDNumber.js +8 -8
  155. package/build/features/connect/screens/NID/NID.js +8 -8
  156. package/build/features/connect/screens/OTP/OTP.js +9 -9
  157. package/build/features/connect/screens/OTP/OTPInput.js +4 -4
  158. package/build/features/connect/screens/ThankYou/ThankYou.js +1 -1
  159. package/build/features/connect/screens/VerifyPACI/VerifyPACI.js +16 -23
  160. package/build/features/connect/screens/VerifyPACI/VerifyPACILoading.js +3 -3
  161. package/build/features/connect/screens/VerifyPACI/VerifyPACISuccess.js +1 -1
  162. package/build/features/entity/Entity.d.ts +1 -1
  163. package/build/features/entity/Entity.js +10 -10
  164. package/build/features/entity/screens/EntityInfoConfirm/ActivitiesList.d.ts +1 -1
  165. package/build/features/entity/screens/EntityInfoConfirm/ActivitiesList.js +9 -9
  166. package/build/features/entity/screens/EntityInfoConfirm/EntityInfo.js +7 -7
  167. package/build/features/entity/screens/EntityInfoConfirm/LicenseName.js +4 -4
  168. package/build/features/entity/screens/EntityInfoConfirm/LicenseNumber.js +5 -5
  169. package/build/features/entity/screens/EntityInfoConfirm/OperationStartDate.js +5 -5
  170. package/build/features/entity/screens/EntityInfoConfirm/SalesChannels.d.ts +1 -1
  171. package/build/features/entity/screens/EntityInfoConfirm/SalesChannels.js +7 -7
  172. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
  173. package/build/features/entity/screens/Success/Success.js +3 -3
  174. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +9 -9
  175. package/build/features/entity/screens/Verify/OTPInput.js +4 -4
  176. package/build/features/entity/screens/Verify/Verify.js +9 -9
  177. package/build/features/featuresScreens.d.ts +1 -1
  178. package/build/features/featuresScreens.js +49 -49
  179. package/build/features/individual/Individual.d.ts +1 -1
  180. package/build/features/individual/Individual.js +10 -10
  181. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +8 -8
  182. package/build/features/individual/screens/AdditionalIndividualInfo/EmployerLocation.d.ts +1 -1
  183. package/build/features/individual/screens/AdditionalIndividualInfo/EmployerLocation.js +8 -8
  184. package/build/features/individual/screens/AdditionalIndividualInfo/EmployerName.js +6 -6
  185. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +6 -6
  186. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
  187. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +10 -10
  188. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -1
  189. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +9 -9
  190. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +6 -6
  191. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
  192. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +8 -8
  193. package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +1 -1
  194. package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
  195. package/build/features/individual/screens/ShowIndividualInfo/ShowOwnerInfo.js +6 -6
  196. package/build/features/individual/screens/ShowIndividualInfo/info.js +1 -1
  197. package/build/features/individual/screens/Success/Success.js +3 -3
  198. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +9 -9
  199. package/build/features/individual/screens/Verify/OTPInput.js +4 -4
  200. package/build/features/individual/screens/Verify/Verify.js +9 -9
  201. package/build/features/otp/OTP.d.ts +1 -1
  202. package/build/features/otp/OTP.js +9 -9
  203. package/build/features/otp/screens/OTPVerify/OTPInput.js +4 -4
  204. package/build/features/otp/screens/OTPVerify/Verify.js +5 -5
  205. package/build/features/password/Password.d.ts +1 -1
  206. package/build/features/password/Password.js +10 -10
  207. package/build/features/password/screens/CreatePassword/ConditionText.js +1 -1
  208. package/build/features/password/screens/CreatePassword/ConfirmPassword.js +3 -3
  209. package/build/features/password/screens/CreatePassword/CreatePassword.js +8 -8
  210. package/build/features/password/screens/CreatePassword/Password.js +6 -6
  211. package/build/features/password/screens/OTP/OTP.js +9 -9
  212. package/build/features/password/screens/OTP/OTPInput.js +4 -4
  213. package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
  214. package/build/features/password/screens/Success/Success.js +4 -4
  215. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +9 -9
  216. package/build/features/password/screens/Verify/OTPInput.js +4 -4
  217. package/build/features/password/screens/Verify/Verify.js +9 -9
  218. package/build/features/shared/AcceptancePayouts/AcceptancePayouts.js +4 -4
  219. package/build/features/shared/Background/Background.js +2 -2
  220. package/build/features/shared/Background/LogoBackground.js +3 -3
  221. package/build/features/shared/Button/AbsherButton.d.ts +1 -1
  222. package/build/features/shared/Button/AbsherButton.js +3 -3
  223. package/build/features/shared/Button/Button.d.ts +1 -1
  224. package/build/features/shared/Button/Button.js +7 -7
  225. package/build/features/shared/Button/EmailProvidersButtons.d.ts +1 -1
  226. package/build/features/shared/Button/EmailProvidersButtons.js +2 -2
  227. package/build/features/shared/Button/FlowsButtons.d.ts +2 -2
  228. package/build/features/shared/Button/FlowsButtons.js +6 -6
  229. package/build/features/shared/Button/MobileButton.d.ts +1 -1
  230. package/build/features/shared/Button/MobileButton.js +3 -3
  231. package/build/features/shared/Dialog/CloseDialog.js +2 -2
  232. package/build/features/shared/Dialog/DialogContainer.js +2 -2
  233. package/build/features/shared/Footer/Footer.js +4 -4
  234. package/build/features/shared/Input/Input.d.ts +1 -1
  235. package/build/features/shared/Input/Input.js +2 -2
  236. package/build/features/shared/OTP/OTP.d.ts +1 -1
  237. package/build/features/shared/OTP/OTP.js +3 -3
  238. package/build/features/shared/Search/Search.js +1 -1
  239. package/build/features/shared/SearchIcon/SearchIcon.js +2 -2
  240. package/build/features/shared/SuccessScreen/SuccessScreen.js +5 -5
  241. package/build/features/shared/UploadFile/UploadFile.js +10 -10
  242. package/build/features/signIn/SignIn.d.ts +1 -1
  243. package/build/features/signIn/SignIn.js +10 -10
  244. package/build/features/signIn/screens/Email/Email.js +8 -8
  245. package/build/features/signIn/screens/Email/EmailField.js +5 -5
  246. package/build/features/signIn/screens/Email/validation.js +1 -1
  247. package/build/features/signIn/screens/Mobile/Mobile.js +9 -9
  248. package/build/features/signIn/screens/Mobile/MobileNumber.d.ts +1 -1
  249. package/build/features/signIn/screens/Mobile/MobileNumber.js +12 -12
  250. package/build/features/signIn/screens/OTP/OTP.js +9 -9
  251. package/build/features/signIn/screens/OTP/OTPInput.js +4 -4
  252. package/build/features/signIn/screens/Password/Password.js +7 -7
  253. package/build/features/signIn/screens/Password/PasswordInput.js +3 -3
  254. package/build/features/tax/Tax.d.ts +1 -1
  255. package/build/features/tax/Tax.js +10 -10
  256. package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
  257. package/build/features/tax/screens/Success/Success.js +3 -3
  258. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +9 -9
  259. package/build/features/tax/screens/TaxDetails/ConfirmPolicy.js +5 -5
  260. package/build/features/tax/screens/TaxDetails/TaxDetails.js +6 -6
  261. package/build/features/tax/screens/TaxDetails/VATId.js +5 -5
  262. package/build/features/tax/screens/Verify/OTPInput.js +4 -4
  263. package/build/features/tax/screens/Verify/Verify.js +9 -9
  264. package/build/hooks/useAppConfig.d.ts +1 -1
  265. package/build/hooks/useAppConfig.js +4 -4
  266. package/build/hooks/useAppSelector.d.ts +1 -1
  267. package/build/hooks/useAppTheme.d.ts +1 -1
  268. package/build/hooks/useAppTheme.js +3 -3
  269. package/build/hooks/useErrorListener.js +1 -1
  270. package/build/hooks/useLanguage.js +1 -1
  271. package/build/hooks/useRedirectionListener.js +1 -1
  272. package/build/hooks/useScreen.js +1 -1
  273. package/build/hooks/useStepStartedListener.js +1 -1
  274. package/build/i18n.js +1 -1
  275. package/build/index.css +140 -0
  276. package/build/index.d.ts +10 -10
  277. package/build/index.js +10 -10
  278. package/build/theme/theme.d.ts +1 -1
  279. package/build/utils/array.d.ts +1 -1
  280. package/build/utils/common.d.ts +1 -0
  281. package/build/utils/common.js +3 -0
  282. package/build/utils/index.d.ts +1 -0
  283. package/build/utils/index.js +1 -0
  284. package/build/utils/locale.d.ts +1 -1
  285. package/build/utils/locale.js +1 -1
  286. package/build/utils/rsa.js +1 -1
  287. package/build/utils/string.d.ts +1 -1
  288. package/build/utils/string.js +4 -4
  289. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import * as React from 'react';
3
- import { useAppDispatch, useAppSelector } from '@hooks';
3
+ import { useAppDispatch, useAppSelector } from '../../../../hooks';
4
4
  import { useTranslation } from 'react-i18next';
5
- import SuccessScreen from '@features/shared/SuccessScreen';
6
- import { businessSelector, updateLeadSuccess } from '@features/app/business/businessStore';
5
+ import SuccessScreen from '../../../shared/SuccessScreen';
6
+ import { businessSelector, updateLeadSuccess } from '../../../app/business/businessStore';
7
7
  var Success = function (_a) {
8
8
  var t = useTranslation().t;
9
9
  var dispatch = useAppDispatch();
@@ -13,16 +13,16 @@ import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
13
13
  import { memo, useEffect, useState } from 'react';
14
14
  import { useTranslation } from 'react-i18next';
15
15
  import { styled } from '@mui/material/styles';
16
- import { FlowsButtons } from '@features/shared/Button';
17
- import { ICONS_NAMES, PASSWORD_OPERATION_TYPE } from '@constants';
18
- import { useAppSelector, useLanguage } from '@hooks';
19
- import { businessSelector } from '@features/app/business/businessStore';
20
- import { getResetFlowUrl, showLastFour } from '@utils';
16
+ import { FlowsButtons } from '../../../shared/Button';
17
+ import { ICONS_NAMES, PASSWORD_OPERATION_TYPE } from '../../../../constants';
18
+ import { useAppSelector, useLanguage } from '../../../../hooks';
19
+ import { businessSelector } from '../../../app/business/businessStore';
20
+ import { getResetFlowUrl, showLastFour } from '../../../../utils';
21
21
  import Box from '@mui/material/Box';
22
- import Text from '@components/Text';
23
- import Container from '@features/shared/Containers/ScreenContainer';
24
- import AcceptancePayouts from '@features/shared/AcceptancePayouts';
25
- import { settingsSelector } from '@app/settings';
22
+ import Text from '../../../../components/Text';
23
+ import Container from '../../../shared/Containers/ScreenContainer';
24
+ import AcceptancePayouts from '../../../shared/AcceptancePayouts';
25
+ import { settingsSelector } from '../../../../app/settings';
26
26
  var TitleStyled = styled(Text)(function (_a) {
27
27
  var _b;
28
28
  var theme = _a.theme;
@@ -11,14 +11,14 @@ var __assign = (this && this.__assign) || function () {
11
11
  };
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import * as React from 'react';
14
- import { useAppDispatch } from '@hooks';
14
+ import { useAppDispatch } from '../../../../hooks';
15
15
  import Box from '@mui/material/Box/Box';
16
16
  import { styled } from '@mui/material/styles';
17
- import OTPField from '@features/shared/OTP';
17
+ import OTPField from '../../../shared/OTP';
18
18
  import { useController, useFormContext } from 'react-hook-form';
19
19
  import { useTranslation } from 'react-i18next';
20
- import { DEFAULT_TIMER_VALUE } from '@constants';
21
- import { resendOTP } from '@features/app/business/businessStore';
20
+ import { DEFAULT_TIMER_VALUE } from '../../../../constants';
21
+ import { resendOTP } from '../../../app/business/businessStore';
22
22
  var BoxStyled = styled(Box)(function (_a) {
23
23
  var theme = _a.theme;
24
24
  return ({
@@ -11,20 +11,20 @@ var __assign = (this && this.__assign) || function () {
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
13
  import * as React from 'react';
14
- import { useAppDispatch, useAppSelector } from '@hooks';
14
+ import { useAppDispatch, useAppSelector } from '../../../../hooks';
15
15
  import { useTranslation } from 'react-i18next';
16
16
  import { useForm, FormProvider } from 'react-hook-form';
17
17
  import { yupResolver } from '@hookform/resolvers/yup';
18
18
  import Box from '@mui/material/Box/Box';
19
19
  import { styled } from '@mui/material/styles';
20
- import { handlePrevScreenStep } from '@app/settings';
21
- import { useLanguage } from '@hooks';
22
- import { maskPhone } from '@utils';
23
- import Form from '@components/Form';
24
- import Text from '@components/Text';
25
- import { ScreenContainer } from '@features/shared/Containers';
26
- import { businessSelector, clearError, resetOTPScreen, verifyLeadOTP } from '@features/app/business/businessStore';
27
- import Button from '@features/shared/Button';
20
+ import { handlePrevScreenStep } from '../../../../app/settings';
21
+ import { useLanguage } from '../../../../hooks';
22
+ import { maskPhone } from '../../../../utils';
23
+ import Form from '../../../../components/Form';
24
+ import Text from '../../../../components/Text';
25
+ import { ScreenContainer } from '../../../shared/Containers';
26
+ import { businessSelector, clearError, resetOTPScreen, verifyLeadOTP } from '../../../app/business/businessStore';
27
+ import Button from '../../../shared/Button';
28
28
  import { OTPValidation } from './validation';
29
29
  import OTPInput from './OTPInput';
30
30
  var OTPTitleContainerStyled = styled(Box)(function (_a) {
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ export interface VerifyPACIProps {
3
+ }
4
+ declare const _default: React.MemoExoticComponent<() => JSX.Element>;
5
+ export default _default;
@@ -0,0 +1,162 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
13
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
14
+ return new (P || (P = Promise))(function (resolve, reject) {
15
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
16
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
17
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
18
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
19
+ });
20
+ };
21
+ var __generator = (this && this.__generator) || function (thisArg, body) {
22
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
23
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
24
+ function verb(n) { return function (v) { return step([n, v]); }; }
25
+ function step(op) {
26
+ if (f) throw new TypeError("Generator is already executing.");
27
+ while (_) try {
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
+ if (y = 0, t) op = [op[0] & 2, t.value];
30
+ switch (op[0]) {
31
+ case 0: case 1: t = op; break;
32
+ case 4: _.label++; return { value: op[1], done: false };
33
+ case 5: _.label++; y = op[1]; op = [0]; continue;
34
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
35
+ default:
36
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
37
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
38
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
39
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
40
+ if (t[2]) _.ops.pop();
41
+ _.trys.pop(); continue;
42
+ }
43
+ op = body.call(thisArg, _);
44
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
45
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
46
+ }
47
+ };
48
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
49
+ import Box from '@mui/material/Box/Box';
50
+ import { styled } from '@mui/material/styles';
51
+ import * as React from 'react';
52
+ import { useTranslation } from 'react-i18next';
53
+ import Text from '../../../../components/Text';
54
+ import { connectSelector, verifyPACI as verifyPACIFun } from '../../../app/connect/connectStore';
55
+ import { handlePrevScreenStep } from '../../../../app/settings';
56
+ import { ScreenContainer } from '../../../shared/Containers';
57
+ import { MobileButton } from '../../../shared/Button';
58
+ import { useAppDispatch, useAppSelector } from '../../../../hooks';
59
+ import Icon from '../../../../components/Icon';
60
+ import { mobileOS, sleep } from '../../../../utils';
61
+ import VerifyPACILoading from './VerifyPACILoading';
62
+ import VerifyPACISuccess from './VerifyPACISuccess';
63
+ var VerifyPACITitleContainerStyled = styled(Box)(function (_a) {
64
+ var theme = _a.theme;
65
+ return ({
66
+ direction: theme.direction,
67
+ borderRadius: theme.spacing(0, 0, 1.25, 1.25),
68
+ display: 'flex',
69
+ flexDirection: 'column',
70
+ alignItems: 'center',
71
+ marginBottom: theme.spacing(2.5)
72
+ });
73
+ });
74
+ var VerifyPACITitleStyled = styled(Text)(function (_a) {
75
+ var theme = _a.theme;
76
+ return (__assign(__assign({}, theme.typography.body1), { color: theme.palette.text.primary, fontWeight: theme.typography.fontWeightBold, marginBlock: theme.spacing(1.75), marginInline: theme.spacing(2.5), lineHeight: 1.75, whiteSpace: 'pre-line' }));
77
+ });
78
+ var VerifyPACISubTitleStyled = styled(Text)(function (_a) {
79
+ var theme = _a.theme;
80
+ return (__assign(__assign({}, theme.typography.body1), { color: theme.palette.text.primary, fontWeight: theme.typography.fontWeightMedium, marginBlock: theme.spacing(1.75), marginInline: theme.spacing(2.5), lineHeight: 1.75, whiteSpace: 'pre-line', textAlign: 'center' }));
81
+ });
82
+ var Container = styled(Box)(function (_a) {
83
+ var theme = _a.theme;
84
+ return ({
85
+ position: 'relative',
86
+ display: 'flex',
87
+ justifyContent: 'center',
88
+ alignItems: 'center',
89
+ maxHeight: '300px'
90
+ });
91
+ });
92
+ var IconStyled = styled(Icon)(function (_a) {
93
+ var theme = _a.theme;
94
+ return ({
95
+ position: 'absolute',
96
+ top: '50%',
97
+ left: '50%',
98
+ transform: 'translate(-50%, -50%)',
99
+ width: 64,
100
+ height: 64
101
+ });
102
+ });
103
+ var BackButton = styled('button')(function (_a) {
104
+ var theme = _a.theme;
105
+ return ({
106
+ cursor: 'pointer',
107
+ height: 44,
108
+ appearance: 'none',
109
+ background: 'none',
110
+ border: 'none',
111
+ color: theme.palette.primary.main,
112
+ fontSize: theme.typography.body1.fontSize,
113
+ fontWeight: theme.typography.fontWeightMedium,
114
+ textTransform: 'capitalize',
115
+ '&:hover': {
116
+ backgroundColor: 'transparent'
117
+ }
118
+ });
119
+ });
120
+ var VerifyPACI = function () {
121
+ var _a = React.useState(false), success = _a[0], setSuccess = _a[1];
122
+ var dispatch = useAppDispatch();
123
+ var data = useAppSelector(connectSelector).data;
124
+ var responseBody = data.civilIdData.responseBody;
125
+ var t = useTranslation().t;
126
+ var onSuccess = function () { return __awaiter(void 0, void 0, void 0, function () {
127
+ return __generator(this, function (_a) {
128
+ switch (_a.label) {
129
+ case 0:
130
+ setSuccess(true);
131
+ return [4, sleep(2000)];
132
+ case 1:
133
+ _a.sent();
134
+ return [2];
135
+ }
136
+ });
137
+ }); };
138
+ React.useEffect(function () {
139
+ var promise = null;
140
+ if (responseBody)
141
+ promise = dispatch(verifyPACIFun({ onSuccess: onSuccess }));
142
+ return function () {
143
+ promise === null || promise === void 0 ? void 0 : promise.abort();
144
+ };
145
+ }, [responseBody]);
146
+ var onRedirect = React.useCallback(function () {
147
+ if (os === 'Android') {
148
+ window.open(responseBody === null || responseBody === void 0 ? void 0 : responseBody.app_url_android, '_blank');
149
+ }
150
+ if (os === 'iOS') {
151
+ window.open(responseBody === null || responseBody === void 0 ? void 0 : responseBody.app_url_ios, '_blank');
152
+ }
153
+ }, [responseBody]);
154
+ var onBack = React.useCallback(function () {
155
+ dispatch(handlePrevScreenStep());
156
+ }, []);
157
+ var os = React.useMemo(function () { return mobileOS(); }, []);
158
+ var isAndroid = React.useMemo(function () { return os === 'Android' && (responseBody === null || responseBody === void 0 ? void 0 : responseBody.app_url_ios); }, [os, responseBody]);
159
+ var isIOS = React.useMemo(function () { return os === 'iOS' && (responseBody === null || responseBody === void 0 ? void 0 : responseBody.app_url_ios); }, [os, responseBody]);
160
+ return (_jsxs(ScreenContainer, __assign({ sx: { mb: 2.5 } }, { children: [_jsxs(VerifyPACITitleContainerStyled, { children: [_jsx(Container, { children: success ? _jsx(VerifyPACISuccess, {}) : _jsx(VerifyPACILoading, {}) }), _jsx(VerifyPACITitleStyled, { children: t('authenticate_kuwait_mobile_title') }), _jsx(VerifyPACISubTitleStyled, { children: t('authenticate_kuwait_mobile_description') })] }), (isAndroid || isIOS) && (_jsx(MobileButton, __assign({ onClick: onRedirect, hideIcon: true }, { children: t('Open Kuwait Mobile ID') }))), _jsx(BackButton, __assign({ onClick: onBack }, { children: t('back') }))] })));
161
+ };
162
+ export default React.memo(VerifyPACI);
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ interface VerifyPACILoadingProps {
3
+ }
4
+ declare const _default: React.NamedExoticComponent<VerifyPACILoadingProps>;
5
+ export default _default;
@@ -0,0 +1,22 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { memo } from 'react';
3
+ import { styled } from '@mui/material/styles';
4
+ import LottieFile, { LottieAnimationFiles } from '../../../../components/Lottie';
5
+ import { ICONS_NAMES } from '../../../../constants';
6
+ import Icon from '../../../../components/Icon';
7
+ var IconStyled = styled(Icon)(function (_a) {
8
+ var theme = _a.theme;
9
+ return ({
10
+ position: 'absolute',
11
+ top: '50%',
12
+ left: '50%',
13
+ transform: 'translate(-50%, -50%)',
14
+ width: 64,
15
+ height: 64
16
+ });
17
+ });
18
+ var VerifyPACILoading = function () {
19
+ return (_jsxs(_Fragment, { children: [_jsx(LottieFile, { file: LottieAnimationFiles.pulsating_circle_waves, width: '90%' }), _jsx(IconStyled, { src: ICONS_NAMES.PACI_VERIFY_ICON })] }));
20
+ };
21
+ VerifyPACILoading.defaultProps = {};
22
+ export default memo(VerifyPACILoading);
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ interface VerifyPACISuccessProps {
3
+ }
4
+ declare const _default: React.NamedExoticComponent<VerifyPACISuccessProps>;
5
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { memo } from 'react';
3
+ import LottieFile, { LottieAnimationFiles } from '../../../../components/Lottie';
4
+ var VerifyPACISuccess = function () {
5
+ return (_jsx(_Fragment, { children: _jsx(LottieFile, { loop: false, file: LottieAnimationFiles.success, width: '90%' }) }));
6
+ };
7
+ VerifyPACISuccess.defaultProps = {};
8
+ export default memo(VerifyPACISuccess);
@@ -0,0 +1,3 @@
1
+ import VerifyPACI, { VerifyPACIProps } from './VerifyPACI';
2
+ export type { VerifyPACIProps };
3
+ export default VerifyPACI;
@@ -0,0 +1,2 @@
1
+ import VerifyPACI from './VerifyPACI';
2
+ export default VerifyPACI;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { LibConfig } from '@types';
2
+ import { LibConfig } from '../../@types';
3
3
  export interface ConnectLibProps extends LibConfig {
4
4
  onClose?: () => void;
5
5
  }
@@ -22,16 +22,16 @@ var __rest = (this && this.__rest) || function (s, e) {
22
22
  };
23
23
  import { jsx as _jsx } from "react/jsx-runtime";
24
24
  import React, { memo } from 'react';
25
- import { FeatureContainer } from '@features/shared/Containers';
26
- import { useAppTheme, useAppSelector, useAppConfig, useErrorListener, useStepStartedListener, useAppDispatch } from '@hooks';
27
- import { handleCurrentActiveScreen, settingsSelector, handleOpen } from '@app/settings';
28
- import AnimationFlow from '@components/AnimationFlow';
29
- import { store } from '@app/store';
30
- import { connectSelector } from '@features/app/connect/connectStore';
31
- import { ReduxProvider, ThemeProvider } from '@components/Providers';
32
- import Collapse from '@components/Collapse';
33
- import { reactElement, removeElement, isKW } from '@utils';
34
- import { CONNECT_SCREENS_NAVIGATION, DIALOG_ID } from '@constants';
25
+ import { FeatureContainer } from '../shared/Containers';
26
+ import { useAppTheme, useAppSelector, useAppConfig, useErrorListener, useStepStartedListener, useAppDispatch } from '../../hooks';
27
+ import { handleCurrentActiveScreen, settingsSelector, handleOpen } from '../../app/settings';
28
+ import AnimationFlow from '../../components/AnimationFlow';
29
+ import { store } from '../../app/store';
30
+ import { connectSelector } from '../app/connect/connectStore';
31
+ import { ReduxProvider, ThemeProvider } from '../../components/Providers';
32
+ import Collapse from '../../components/Collapse';
33
+ import { reactElement, removeElement, isKW } from '../../utils';
34
+ import { CONNECT_SCREENS_NAVIGATION, DIALOG_ID } from '../../constants';
35
35
  import { connectFeatureScreens } from '../featuresScreens';
36
36
  import CustomFooter from '../shared/Footer';
37
37
  import Background from '../shared/Background';
@@ -16,16 +16,16 @@ import { alpha, styled } from '@mui/material/styles';
16
16
  import { useForm, FormProvider } from 'react-hook-form';
17
17
  import { yupResolver } from '@hookform/resolvers/yup';
18
18
  import { civilIDValidationSchema } from './validation';
19
- import { useAppDispatch, useLanguage, useAppSelector } from '@hooks';
20
- import { handlePrevScreenStep, settingsSelector } from '@app/settings';
21
- import { clearError, connectSelector, createCivilIdAuth } from '@features/app/connect/connectStore';
22
- import Form from '@components/Form';
23
- import Button, { MobileButton } from '@features/shared/Button';
24
- import { ScreenContainer } from '@features/shared/Containers';
25
- import Collapse from '@components/Collapse';
19
+ import { useAppDispatch, useLanguage, useAppSelector } from '../../../../hooks';
20
+ import { handlePrevScreenStep, settingsSelector } from '../../../../app/settings';
21
+ import { clearError, connectSelector, createCivilIdAuth } from '../../../app/connect/connectStore';
22
+ import Form from '../../../../components/Form';
23
+ import Button, { MobileButton } from '../../../shared/Button';
24
+ import { ScreenContainer } from '../../../shared/Containers';
25
+ import Collapse from '../../../../components/Collapse';
26
26
  import Box from '@mui/material/Box';
27
27
  import Divider from '@mui/material/Divider';
28
- import Text from '@components/Text';
28
+ import Text from '../../../../components/Text';
29
29
  import IDNumber from './IDNumber';
30
30
  var FormStyled = styled(Form)(function () { return ({
31
31
  display: 'flex',
@@ -15,13 +15,13 @@ import Box from '@mui/material/Box';
15
15
  import { useTranslation } from 'react-i18next';
16
16
  import { useController, useFormContext } from 'react-hook-form';
17
17
  import { styled, alpha } from '@mui/material/styles';
18
- import Text from '@components/Text';
19
- import Input from '@features/shared/Input';
20
- import ClearIcon from '@features/shared/ClearIcon';
21
- import CheckIcon from '@features/shared/CheckIcon';
22
- import ScreenContainer from '@features/shared/Containers/ScreenContainer';
23
- import { removeAllOtherThanCharsAndNumber } from '@utils';
24
- import { CIVIL_ID_NUMBER_LENGTH } from '@constants';
18
+ import Text from '../../../../components/Text';
19
+ import Input from '../../../shared/Input';
20
+ import ClearIcon from '../../../shared/ClearIcon';
21
+ import CheckIcon from '../../../shared/CheckIcon';
22
+ import ScreenContainer from '../../../shared/Containers/ScreenContainer';
23
+ import { removeAllOtherThanCharsAndNumber } from '../../../../utils';
24
+ import { CIVIL_ID_NUMBER_LENGTH } from '../../../../constants';
25
25
  var LabelContainerStyled = styled(Box)(function (_a) {
26
26
  var theme = _a.theme;
27
27
  return ({
@@ -1,4 +1,4 @@
1
1
  import * as yup from 'yup';
2
2
  export var civilIDValidationSchema = yup.object().shape({
3
- civilId: yup.string().min(10, 'invalid_civil_id').max(20, 'invalid_civil_id').required('invalid_civil_id')
3
+ civilId: yup.string().min(12, 'invalid_civil_id').required('invalid_civil_id')
4
4
  });
@@ -49,15 +49,15 @@ import { jsx as _jsx } from "react/jsx-runtime";
49
49
  import * as React from 'react';
50
50
  import { useTranslation } from 'react-i18next';
51
51
  import axios from 'axios';
52
- import { ScreenContainer } from '@features/shared/Containers';
53
- import Input from '@features/shared/Input';
52
+ import { ScreenContainer } from '../../../shared/Containers';
53
+ import Input from '../../../shared/Input';
54
54
  import { useController, useFormContext } from 'react-hook-form';
55
- import ClearIcon from '@features/shared/ClearIcon';
56
- import CheckIcon from '@features/shared/CheckIcon';
57
- import { checkEmailAvailability } from '@features/app/connect/connectStore';
58
- import { useAppDispatch } from '@hooks';
55
+ import ClearIcon from '../../../shared/ClearIcon';
56
+ import CheckIcon from '../../../shared/CheckIcon';
57
+ import { checkEmailAvailability } from '../../../app/connect/connectStore';
58
+ import { useAppDispatch } from '../../../../hooks';
59
59
  import { debounce } from 'lodash-es';
60
- import Collapse from '@components/Collapse';
60
+ import Collapse from '../../../../components/Collapse';
61
61
  import { styled } from '@mui/material/styles';
62
62
  import CircularProgress from '@mui/material/CircularProgress';
63
63
  var InputStyled = styled(Input)(function (_a) {
@@ -17,18 +17,18 @@ import * as React from 'react';
17
17
  import { useTranslation } from 'react-i18next';
18
18
  import { useForm, FormProvider } from 'react-hook-form';
19
19
  import { yupResolver } from '@hookform/resolvers/yup';
20
- import { useAppDispatch, useAppSelector } from '@hooks';
21
- import { handlePrevScreenStep, settingsSelector } from '@app/settings';
20
+ import { useAppDispatch, useAppSelector } from '../../../../hooks';
21
+ import { handlePrevScreenStep, settingsSelector } from '../../../../app/settings';
22
22
  import { IndividualValidation, IndividualMobileValidation } from './validation';
23
- import Form from '@components/Form';
24
- import Button from '@features/shared/Button';
25
- import { ScreenContainer } from '@features/shared/Containers';
26
- import { clearError, connectSelector, resetIndividualScreen, updateLeadIndividual } from '@features/app/connect/connectStore';
27
- import { useLanguage } from '@hooks';
23
+ import Form from '../../../../components/Form';
24
+ import Button from '../../../shared/Button';
25
+ import { ScreenContainer } from '../../../shared/Containers';
26
+ import { clearError, connectSelector, resetIndividualScreen, updateLeadIndividual } from '../../../app/connect/connectStore';
27
+ import { useLanguage } from '../../../../hooks';
28
28
  import MobileNumber from './MobileNumber';
29
- import { countriesCode } from '@constants';
30
- import Collapse from '@components/Collapse';
31
- import { isKW } from '@utils';
29
+ import { countriesCode } from '../../../../constants';
30
+ import Collapse from '../../../../components/Collapse';
31
+ import { isKW } from '../../../../utils';
32
32
  var FormStyled = styled(Form)(function () { return ({
33
33
  display: 'flex',
34
34
  flexDirection: 'column'
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { CountryCode } from '@types';
2
+ import { CountryCode } from '../../../../@types';
3
3
  interface MobileNumberProps {
4
4
  countries: Array<CountryCode>;
5
5
  show: boolean;
@@ -26,17 +26,17 @@ import Box from '@mui/material/Box';
26
26
  import { useTranslation } from 'react-i18next';
27
27
  import { useController, useFormContext } from 'react-hook-form';
28
28
  import { styled, alpha } from '@mui/material/styles';
29
- import Text from '@components/Text';
30
- import Collapse from '@components/Collapse';
31
- import ClearIcon from '@features/shared/ClearIcon';
32
- import CheckIcon from '@features/shared/CheckIcon';
33
- import ScreenContainer from '@features/shared/Containers/ScreenContainer';
34
- import ExpandIcon from '@components/ExpandIcon';
35
- import Input from '@features/shared/Input';
36
- import SimpleList from '@components/SimpleList';
37
- import { removeAllCharsFromNumber } from '@utils';
38
- import { useLanguage } from '@hooks';
39
- import Search from '@features/shared/Search';
29
+ import Text from '../../../../components/Text';
30
+ import Collapse from '../../../../components/Collapse';
31
+ import ClearIcon from '../../../shared/ClearIcon';
32
+ import CheckIcon from '../../../shared/CheckIcon';
33
+ import ScreenContainer from '../../../shared/Containers/ScreenContainer';
34
+ import ExpandIcon from '../../../../components/ExpandIcon';
35
+ import Input from '../../../shared/Input';
36
+ import SimpleList from '../../../../components/SimpleList';
37
+ import { removeAllCharsFromNumber } from '../../../../utils';
38
+ import { useLanguage } from '../../../../hooks';
39
+ import Search from '../../../shared/Search';
40
40
  var LabelContainerStyled = styled(Box)(function (_a) {
41
41
  var theme = _a.theme;
42
42
  return ({
@@ -12,13 +12,13 @@ var __assign = (this && this.__assign) || function () {
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import * as React from 'react';
14
14
  import { useTranslation } from 'react-i18next';
15
- import { ScreenContainer } from '@features/shared/Containers';
16
- import Input from '@features/shared/Input';
17
- import { removeAllOtherThanAlphabetAndSpace } from '@utils';
15
+ import { ScreenContainer } from '../../../shared/Containers';
16
+ import Input from '../../../shared/Input';
17
+ import { removeAllOtherThanAlphabetAndSpace } from '../../../../utils';
18
18
  import { useController, useFormContext } from 'react-hook-form';
19
- import ClearIcon from '@features/shared/ClearIcon';
20
- import CheckIcon from '@features/shared/CheckIcon';
21
- import Collapse from '@components/Collapse';
19
+ import ClearIcon from '../../../shared/ClearIcon';
20
+ import CheckIcon from '../../../shared/CheckIcon';
21
+ import Collapse from '../../../../components/Collapse';
22
22
  import { styled } from '@mui/material/styles';
23
23
  var InputStyled = styled(Input)(function (_a) {
24
24
  var theme = _a.theme;
@@ -1,4 +1,4 @@
1
- import { REGEX_FULL_NAME } from '@constants';
1
+ import { REGEX_FULL_NAME } from '../../../../constants';
2
2
  import * as yup from 'yup';
3
3
  export var IndividualValidation = yup.object().shape({
4
4
  name: yup
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { BrandInfo } from '@types';
2
+ import { BrandInfo } from '../../../../@types';
3
3
  interface BrandListProps {
4
4
  show: boolean;
5
5
  list: Array<BrandInfo>;
@@ -26,14 +26,14 @@ import { useTranslation } from 'react-i18next';
26
26
  import { useFormContext, useController } from 'react-hook-form';
27
27
  import Box from '@mui/material/Box';
28
28
  import { styled } from '@mui/material/styles';
29
- import { useLanguage } from '@hooks';
30
- import ScreenContainer from '@features/shared/Containers/ScreenContainer';
31
- import Input from '@features/shared/Input';
32
- import CheckIcon from '@features/shared/CheckIcon';
33
- import SimpleList from '@components/SimpleList';
34
- import Text from '@components/Text';
35
- import ExpandIcon from '@components/ExpandIcon';
36
- import Collapse from '@components/Collapse';
29
+ import { useLanguage } from '../../../../hooks';
30
+ import ScreenContainer from '../../../shared/Containers/ScreenContainer';
31
+ import Input from '../../../shared/Input';
32
+ import CheckIcon from '../../../shared/CheckIcon';
33
+ import SimpleList from '../../../../components/SimpleList';
34
+ import Text from '../../../../components/Text';
35
+ import ExpandIcon from '../../../../components/ExpandIcon';
36
+ import Collapse from '../../../../components/Collapse';
37
37
  var InputStyled = styled(Input)(function () { return ({
38
38
  '& .MuiInputBase-input': {
39
39
  cursor: 'pointer'
@@ -54,17 +54,17 @@ import axios from 'axios';
54
54
  import { styled, alpha } from '@mui/material/styles';
55
55
  import InfoIcon from '@mui/icons-material/Info';
56
56
  import InfoOutlinedIcon from '@mui/icons-material/InfoOutlined';
57
- import { ScreenContainer } from '@features/shared/Containers';
57
+ import { ScreenContainer } from '../../../shared/Containers';
58
58
  import CircularProgress from '@mui/material/CircularProgress';
59
- import Text from '@components/Text';
60
- import Input from '@features/shared/Input';
61
- import ClearIcon from '@features/shared/ClearIcon';
62
- import Tooltip from '@components/Tooltip';
63
- import Collapse from '@components/Collapse';
64
- import { removeAllOtherThanCharsNumbersAndSpace } from '@utils';
65
- import CheckIcon from '@features/shared/CheckIcon';
66
- import { checkBrandNameAvailability } from '@features/app/connect/connectStore';
67
- import { useAppDispatch } from '@hooks';
59
+ import Text from '../../../../components/Text';
60
+ import Input from '../../../shared/Input';
61
+ import ClearIcon from '../../../shared/ClearIcon';
62
+ import Tooltip from '../../../../components/Tooltip';
63
+ import Collapse from '../../../../components/Collapse';
64
+ import { removeAllOtherThanCharsNumbersAndSpace } from '../../../../utils';
65
+ import CheckIcon from '../../../shared/CheckIcon';
66
+ import { checkBrandNameAvailability } from '../../../app/connect/connectStore';
67
+ import { useAppDispatch } from '../../../../hooks';
68
68
  import { debounce } from 'lodash-es';
69
69
  var LabelContainerStyled = styled(Box)(function (_a) {
70
70
  var theme = _a.theme;
@@ -15,15 +15,15 @@ import { useForm, FormProvider } from 'react-hook-form';
15
15
  import { useTranslation } from 'react-i18next';
16
16
  import Collapse from '@mui/material/Collapse';
17
17
  import { yupResolver } from '@hookform/resolvers/yup';
18
- import { useAppDispatch, useAppSelector } from '@hooks';
19
- import { handlePrevScreenStep, settingsSelector } from '@app/settings';
20
- import Form from '@components/Form';
21
- import { INSTAGRAM_URL, TWITTER_URL } from '@constants';
22
- import { ScreenContainer } from '@features/shared/Containers';
23
- import Button from '@features/shared/Button';
24
- import { clearError, connectSelector, updateLeadBrand } from '@features/app/connect/connectStore';
25
- import { useLanguage } from '@hooks';
26
- import { isKW } from '@utils';
18
+ import { useAppDispatch, useAppSelector } from '../../../../hooks';
19
+ import { handlePrevScreenStep, settingsSelector } from '../../../../app/settings';
20
+ import Form from '../../../../components/Form';
21
+ import { INSTAGRAM_URL, TWITTER_URL } from '../../../../constants';
22
+ import { ScreenContainer } from '../../../shared/Containers';
23
+ import Button from '../../../shared/Button';
24
+ import { clearError, connectSelector, updateLeadBrand } from '../../../app/connect/connectStore';
25
+ import { useLanguage } from '../../../../hooks';
26
+ import { isKW } from '../../../../utils';
27
27
  import { MerchantValidationSchema, ValidationOptions } from './validation';
28
28
  import BrandName from './BrandName';
29
29
  import SocialMedia from './SocialMedia';