@tap-payments/auth-jsconnect 2.0.52-test → 2.0.54-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 (194) hide show
  1. package/build/@types/app.d.ts +4 -15
  2. package/build/@types/app.js +0 -9
  3. package/build/@types/form.d.ts +0 -11
  4. package/build/api/auth.d.ts +1 -14
  5. package/build/api/auth.js +1 -24
  6. package/build/api/axios.js +2 -2
  7. package/build/api/data.d.ts +1 -4
  8. package/build/api/data.js +2 -6
  9. package/build/api/entity.d.ts +0 -2
  10. package/build/api/index.d.ts +1 -5
  11. package/build/app/rootReducer.d.ts +0 -3
  12. package/build/app/rootReducer.js +1 -7
  13. package/build/app/settings.js +2 -8
  14. package/build/app/store.d.ts +1 -7
  15. package/build/assets/locales/ar.json +4 -14
  16. package/build/assets/locales/en.json +4 -14
  17. package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -4
  18. package/build/components/AnimationFlow/AnimationFlow.js +7 -5
  19. package/build/components/AnimationFlow/BottomSheet.js +1 -2
  20. package/build/components/AnimationFlow/Dialog.d.ts +1 -4
  21. package/build/components/AnimationFlow/Dialog.js +4 -9
  22. package/build/components/FileInput/DragAndDrop.d.ts +1 -9
  23. package/build/components/FileInput/DragAndDrop.js +8 -113
  24. package/build/components/ProgressBar/index.d.ts +0 -2
  25. package/build/components/ProgressBar/index.js +0 -2
  26. package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -2
  27. package/build/components/SocialMediaGroup/SocialMediaGroup.js +34 -27
  28. package/build/constants/api.d.ts +0 -1
  29. package/build/constants/api.js +2 -5
  30. package/build/constants/app.d.ts +0 -15
  31. package/build/constants/app.js +3 -75
  32. package/build/constants/assets.d.ts +1 -17
  33. package/build/constants/assets.js +6 -22
  34. package/build/constants/validation.d.ts +0 -1
  35. package/build/constants/validation.js +0 -1
  36. package/build/features/app/bank/bankStore.d.ts +0 -4
  37. package/build/features/app/bank/bankStore.js +22 -42
  38. package/build/features/app/business/businessStore.js +12 -16
  39. package/build/features/app/connect/connectStore.d.ts +1 -13
  40. package/build/features/app/connect/connectStore.js +4 -164
  41. package/build/features/app/signIn/signInStore.js +2 -2
  42. package/build/features/bank/Bank.js +4 -10
  43. package/build/features/bank/screens/BankDetails/BankDetails.js +2 -2
  44. package/build/features/bank/screens/BankDetails/BankStatement.js +8 -33
  45. package/build/features/business/Business.d.ts +1 -1
  46. package/build/features/business/Business.js +5 -12
  47. package/build/features/business/screens/Activities/ActivitiesList.d.ts +1 -1
  48. package/build/features/business/screens/Activities/SalesChannels.js +1 -1
  49. package/build/features/business/screens/Customers/CustomerLocations.d.ts +2 -2
  50. package/build/features/connect/Connect.d.ts +1 -2
  51. package/build/features/connect/Connect.js +10 -40
  52. package/build/features/connect/screens/Individual/Individual.js +2 -6
  53. package/build/features/connect/screens/Merchant/Merchant.js +11 -35
  54. package/build/features/connect/screens/Merchant/SocialMedia.js +11 -56
  55. package/build/features/connect/screens/Merchant/validation.d.ts +0 -87
  56. package/build/features/connect/screens/Merchant/validation.js +2 -68
  57. package/build/features/connect/screens/Mobile/Mobile.js +4 -7
  58. package/build/features/featuresScreens.d.ts +0 -3
  59. package/build/features/featuresScreens.js +0 -48
  60. package/build/features/individual/Individual.d.ts +1 -1
  61. package/build/features/individual/Individual.js +5 -12
  62. package/build/features/password/Password.d.ts +1 -1
  63. package/build/features/password/Password.js +5 -12
  64. package/build/features/shared/Background/Background.d.ts +5 -7
  65. package/build/features/shared/Background/Background.js +5 -16
  66. package/build/features/shared/Input/Input.d.ts +1 -1
  67. package/build/features/shared/Input/Input.js +2 -2
  68. package/build/features/shared/UploadFile/UploadFile.d.ts +3 -8
  69. package/build/features/shared/UploadFile/UploadFile.js +8 -23
  70. package/build/features/signIn/SignIn.d.ts +1 -1
  71. package/build/features/signIn/SignIn.js +4 -12
  72. package/build/features/tax/Tax.d.ts +1 -1
  73. package/build/features/tax/Tax.js +4 -12
  74. package/build/hooks/index.d.ts +0 -1
  75. package/build/hooks/index.js +0 -1
  76. package/build/hooks/useAppConfig.js +0 -2
  77. package/build/hooks/useAppDispatch.d.ts +0 -3
  78. package/build/hooks/useErrorListener.js +2 -3
  79. package/build/index.d.ts +2 -5
  80. package/build/index.js +2 -11
  81. package/build/utils/device.d.ts +0 -1
  82. package/build/utils/device.js +0 -13
  83. package/build/utils/html.d.ts +0 -1
  84. package/build/utils/html.js +0 -6
  85. package/build/utils/locale.js +1 -1
  86. package/build/utils/rsa.d.ts +2 -2
  87. package/build/utils/rsa.js +1 -1
  88. package/build/utils/string.d.ts +20 -22
  89. package/build/utils/string.js +0 -9
  90. package/package.json +129 -129
  91. package/build/components/Lottie/Lottie.d.ts +0 -878
  92. package/build/components/Lottie/Lottie.js +0 -58
  93. package/build/components/Lottie/files/pulsating_circle_waves.json +0 -236
  94. package/build/components/Lottie/files/success.json +0 -425
  95. package/build/components/Lottie/index.d.ts +0 -3
  96. package/build/components/Lottie/index.js +0 -3
  97. package/build/components/ProgressBar/CircularProgressBar.d.ts +0 -14
  98. package/build/components/ProgressBar/CircularProgressBar.js +0 -48
  99. package/build/features/app/auth/authStore.d.ts +0 -35
  100. package/build/features/app/auth/authStore.js +0 -148
  101. package/build/features/app/entity/entityStore.d.ts +0 -53
  102. package/build/features/app/entity/entityStore.js +0 -461
  103. package/build/features/app/otp/otpStore.d.ts +0 -28
  104. package/build/features/app/otp/otpStore.js +0 -153
  105. package/build/features/auth/Auth.d.ts +0 -10
  106. package/build/features/auth/Auth.js +0 -87
  107. package/build/features/auth/index.d.ts +0 -1
  108. package/build/features/auth/index.js +0 -1
  109. package/build/features/auth/screens/OTP/OTP.d.ts +0 -5
  110. package/build/features/auth/screens/OTP/OTP.js +0 -72
  111. package/build/features/auth/screens/OTP/OTPInput.d.ts +0 -5
  112. package/build/features/auth/screens/OTP/OTPInput.js +0 -44
  113. package/build/features/auth/screens/OTP/index.d.ts +0 -3
  114. package/build/features/auth/screens/OTP/index.js +0 -2
  115. package/build/features/auth/screens/OTP/validation.d.ts +0 -8
  116. package/build/features/auth/screens/OTP/validation.js +0 -4
  117. package/build/features/connect/screens/CivilID/CivilID.d.ts +0 -5
  118. package/build/features/connect/screens/CivilID/CivilID.js +0 -85
  119. package/build/features/connect/screens/CivilID/IDNumber.d.ts +0 -7
  120. package/build/features/connect/screens/CivilID/IDNumber.js +0 -59
  121. package/build/features/connect/screens/CivilID/index.d.ts +0 -3
  122. package/build/features/connect/screens/CivilID/index.js +0 -2
  123. package/build/features/connect/screens/CivilID/validation.d.ts +0 -8
  124. package/build/features/connect/screens/CivilID/validation.js +0 -4
  125. package/build/features/connect/screens/Merchant/SalesChannels.d.ts +0 -5
  126. package/build/features/connect/screens/Merchant/SalesChannels.js +0 -114
  127. package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +0 -5
  128. package/build/features/connect/screens/VerifyPACI/VerifyPACI.js +0 -169
  129. package/build/features/connect/screens/VerifyPACI/VerifyPACILoading.d.ts +0 -5
  130. package/build/features/connect/screens/VerifyPACI/VerifyPACILoading.js +0 -22
  131. package/build/features/connect/screens/VerifyPACI/VerifyPACISuccess.d.ts +0 -5
  132. package/build/features/connect/screens/VerifyPACI/VerifyPACISuccess.js +0 -8
  133. package/build/features/connect/screens/VerifyPACI/index.d.ts +0 -3
  134. package/build/features/connect/screens/VerifyPACI/index.js +0 -2
  135. package/build/features/entity/Entity.d.ts +0 -7
  136. package/build/features/entity/Entity.js +0 -70
  137. package/build/features/entity/index.d.ts +0 -1
  138. package/build/features/entity/index.js +0 -1
  139. package/build/features/entity/screens/EntityInfoConfirm/ActivitiesList.d.ts +0 -54
  140. package/build/features/entity/screens/EntityInfoConfirm/ActivitiesList.js +0 -139
  141. package/build/features/entity/screens/EntityInfoConfirm/EntityInfo.d.ts +0 -5
  142. package/build/features/entity/screens/EntityInfoConfirm/EntityInfo.js +0 -56
  143. package/build/features/entity/screens/EntityInfoConfirm/LicenseName.d.ts +0 -5
  144. package/build/features/entity/screens/EntityInfoConfirm/LicenseName.js +0 -17
  145. package/build/features/entity/screens/EntityInfoConfirm/LicenseNumber.d.ts +0 -5
  146. package/build/features/entity/screens/EntityInfoConfirm/LicenseNumber.js +0 -28
  147. package/build/features/entity/screens/EntityInfoConfirm/OperationStartDate.d.ts +0 -6
  148. package/build/features/entity/screens/EntityInfoConfirm/OperationStartDate.js +0 -38
  149. package/build/features/entity/screens/EntityInfoConfirm/SalesChannels.d.ts +0 -5
  150. package/build/features/entity/screens/EntityInfoConfirm/SalesChannels.js +0 -112
  151. package/build/features/entity/screens/EntityInfoConfirm/index.d.ts +0 -2
  152. package/build/features/entity/screens/EntityInfoConfirm/index.js +0 -2
  153. package/build/features/entity/screens/EntityInfoConfirm/validation.d.ts +0 -107
  154. package/build/features/entity/screens/EntityInfoConfirm/validation.js +0 -17
  155. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +0 -5
  156. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +0 -9
  157. package/build/features/entity/screens/ResetPasswordSuccess/index.d.ts +0 -3
  158. package/build/features/entity/screens/ResetPasswordSuccess/index.js +0 -2
  159. package/build/features/entity/screens/Success/Success.d.ts +0 -5
  160. package/build/features/entity/screens/Success/Success.js +0 -16
  161. package/build/features/entity/screens/Success/index.d.ts +0 -3
  162. package/build/features/entity/screens/Success/index.js +0 -2
  163. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +0 -3
  164. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +0 -109
  165. package/build/features/entity/screens/SuccessWithFlowButtons/index.d.ts +0 -2
  166. package/build/features/entity/screens/SuccessWithFlowButtons/index.js +0 -2
  167. package/build/features/entity/screens/Verify/OTPInput.d.ts +0 -7
  168. package/build/features/entity/screens/Verify/OTPInput.js +0 -47
  169. package/build/features/entity/screens/Verify/Verify.d.ts +0 -5
  170. package/build/features/entity/screens/Verify/Verify.js +0 -78
  171. package/build/features/entity/screens/Verify/index.d.ts +0 -2
  172. package/build/features/entity/screens/Verify/index.js +0 -2
  173. package/build/features/entity/screens/Verify/validation.d.ts +0 -8
  174. package/build/features/entity/screens/Verify/validation.js +0 -4
  175. package/build/features/otp/OTP.d.ts +0 -7
  176. package/build/features/otp/OTP.js +0 -58
  177. package/build/features/otp/index.d.ts +0 -0
  178. package/build/features/otp/index.js +0 -1
  179. package/build/features/otp/screens/OTPVerify/OTPInput.d.ts +0 -6
  180. package/build/features/otp/screens/OTPVerify/OTPInput.js +0 -47
  181. package/build/features/otp/screens/OTPVerify/Verify.d.ts +0 -5
  182. package/build/features/otp/screens/OTPVerify/Verify.js +0 -49
  183. package/build/features/otp/screens/OTPVerify/index.d.ts +0 -2
  184. package/build/features/otp/screens/OTPVerify/index.js +0 -2
  185. package/build/features/otp/screens/OTPVerify/validation.d.ts +0 -8
  186. package/build/features/otp/screens/OTPVerify/validation.js +0 -4
  187. package/build/features/shared/Dialog/CloseDialog.d.ts +0 -11
  188. package/build/features/shared/Dialog/CloseDialog.js +0 -62
  189. package/build/features/shared/Dialog/DialogContainer.d.ts +0 -8
  190. package/build/features/shared/Dialog/DialogContainer.js +0 -56
  191. package/build/features/shared/Dialog/index.d.ts +0 -4
  192. package/build/features/shared/Dialog/index.js +0 -4
  193. package/build/hooks/useScreen.d.ts +0 -3
  194. package/build/hooks/useScreen.js +0 -14
@@ -1,58 +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
- var __rest = (this && this.__rest) || function (s, e) {
13
- var t = {};
14
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
- t[p] = s[p];
16
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
- t[p[i]] = s[p[i]];
20
- }
21
- return t;
22
- };
23
- import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
24
- import { memo, useEffect, useRef } from 'react';
25
- import lottie from 'lottie-web/build/player/lottie_light';
26
- import pulsating_circle_waves from './files/pulsating_circle_waves.json';
27
- import success from './files/success.json';
28
- export var LottieAnimationFiles = {
29
- pulsating_circle_waves: pulsating_circle_waves,
30
- success: success
31
- };
32
- var LottieFile = function (_a) {
33
- var file = _a.file, width = _a.width, height = _a.height, _b = _a.loop, loop = _b === void 0 ? true : _b, props = __rest(_a, ["file", "width", "height", "loop"]);
34
- var lottieContainer = useRef(null);
35
- useEffect(function () {
36
- var anim;
37
- if (lottieContainer.current) {
38
- anim = lottie.loadAnimation({
39
- container: lottieContainer.current,
40
- renderer: 'svg',
41
- loop: loop,
42
- autoplay: true,
43
- animationData: file
44
- });
45
- }
46
- return function () {
47
- anim.destroy();
48
- };
49
- }, []);
50
- return (_jsx(_Fragment, { children: _jsx("div", __assign({ ref: lottieContainer, style: {
51
- width: width || '100%',
52
- height: height || '100%'
53
- }, className: "".concat(props.className ? props.className : '') }, props)) }));
54
- };
55
- LottieFile.defaultProps = {
56
- file: LottieAnimationFiles.pulsating_circle_waves
57
- };
58
- export default memo(LottieFile);
@@ -1,236 +0,0 @@
1
- {
2
- "v": "5.7.6",
3
- "fr": 60,
4
- "ip": 0,
5
- "op": 148,
6
- "w": 530,
7
- "h": 530,
8
- "nm": "Searching",
9
- "ddd": 0,
10
- "assets": [],
11
- "layers": [
12
- {
13
- "ddd": 0,
14
- "ind": 1,
15
- "ty": 4,
16
- "nm": "line 2",
17
- "sr": 1,
18
- "ks": {
19
- "o": {
20
- "a": 1,
21
- "k": [
22
- { "i": { "x": [0.667], "y": [1] }, "o": { "x": [0.333], "y": [0] }, "t": 30, "s": [100] },
23
- { "i": { "x": [0.667], "y": [1] }, "o": { "x": [0.333], "y": [0] }, "t": 97.184, "s": [100] },
24
- { "t": 169, "s": [0] }
25
- ],
26
- "ix": 11
27
- },
28
- "r": { "a": 0, "k": 0, "ix": 10 },
29
- "p": { "a": 0, "k": [264.5, 263.5, 0], "ix": 2, "l": 2 },
30
- "a": { "a": 0, "k": [0.5, -100, 0], "ix": 1, "l": 2 },
31
- "s": {
32
- "a": 1,
33
- "k": [
34
- {
35
- "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] },
36
- "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] },
37
- "t": 30,
38
- "s": [30, 30, 100]
39
- },
40
- { "t": 169, "s": [240, 240, 100] }
41
- ],
42
- "ix": 6,
43
- "l": 2
44
- }
45
- },
46
- "ao": 0,
47
- "shapes": [
48
- {
49
- "ty": "gr",
50
- "it": [
51
- {
52
- "ind": 0,
53
- "ty": "sh",
54
- "ix": 1,
55
- "ks": {
56
- "a": 0,
57
- "k": {
58
- "i": [
59
- [60.564, 0],
60
- [0, -60.564],
61
- [-60.564, 0],
62
- [0, 60.564]
63
- ],
64
- "o": [
65
- [-60.564, 0],
66
- [0, 60.564],
67
- [60.564, 0],
68
- [0, -60.564]
69
- ],
70
- "v": [
71
- [0, -109.66],
72
- [-109.66, 0],
73
- [0, 109.66],
74
- [109.66, 0]
75
- ],
76
- "c": true
77
- },
78
- "ix": 2
79
- },
80
- "nm": "Path 1",
81
- "mn": "ADBE Vector Shape - Group",
82
- "hd": false
83
- },
84
- {
85
- "ty": "st",
86
- "c": { "a": 0, "k": [0.901960784314, 0.905882352941, 0.905882352941, 1], "ix": 3 },
87
- "o": { "a": 0, "k": 100, "ix": 4 },
88
- "w": { "a": 0, "k": 1, "ix": 5 },
89
- "lc": 1,
90
- "lj": 1,
91
- "ml": 4,
92
- "bm": 0,
93
- "nm": "Stroke 1",
94
- "mn": "ADBE Vector Graphic - Stroke",
95
- "hd": false
96
- },
97
- {
98
- "ty": "tr",
99
- "p": { "a": 0, "k": [0.5, -100], "ix": 2 },
100
- "a": { "a": 0, "k": [0, 0], "ix": 1 },
101
- "s": { "a": 0, "k": [100, 100], "ix": 3 },
102
- "r": { "a": 0, "k": 0, "ix": 6 },
103
- "o": { "a": 0, "k": 100, "ix": 7 },
104
- "sk": { "a": 0, "k": 0, "ix": 4 },
105
- "sa": { "a": 0, "k": 0, "ix": 5 },
106
- "nm": "Transform"
107
- }
108
- ],
109
- "nm": "Ellipse 1",
110
- "np": 3,
111
- "cix": 2,
112
- "bm": 0,
113
- "ix": 1,
114
- "mn": "ADBE Vector Group",
115
- "hd": false
116
- }
117
- ],
118
- "ip": 30,
119
- "op": 148,
120
- "st": 30,
121
- "bm": 0
122
- },
123
- {
124
- "ddd": 0,
125
- "ind": 2,
126
- "ty": 4,
127
- "nm": "line",
128
- "sr": 1,
129
- "ks": {
130
- "o": {
131
- "a": 1,
132
- "k": [
133
- { "i": { "x": [0.667], "y": [1] }, "o": { "x": [0.333], "y": [0] }, "t": 0, "s": [100] },
134
- { "i": { "x": [0.667], "y": [1] }, "o": { "x": [0.333], "y": [0] }, "t": 67.184, "s": [100] },
135
- { "t": 139, "s": [0] }
136
- ],
137
- "ix": 11
138
- },
139
- "r": { "a": 0, "k": 0, "ix": 10 },
140
- "p": { "a": 0, "k": [264.5, 263.5, 0], "ix": 2, "l": 2 },
141
- "a": { "a": 0, "k": [0.5, -100, 0], "ix": 1, "l": 2 },
142
- "s": {
143
- "a": 1,
144
- "k": [
145
- {
146
- "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] },
147
- "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] },
148
- "t": 0,
149
- "s": [30, 30, 100]
150
- },
151
- { "t": 139, "s": [240, 240, 100] }
152
- ],
153
- "ix": 6,
154
- "l": 2
155
- }
156
- },
157
- "ao": 0,
158
- "shapes": [
159
- {
160
- "ty": "gr",
161
- "it": [
162
- {
163
- "ind": 0,
164
- "ty": "sh",
165
- "ix": 1,
166
- "ks": {
167
- "a": 0,
168
- "k": {
169
- "i": [
170
- [60.564, 0],
171
- [0, -60.564],
172
- [-60.564, 0],
173
- [0, 60.564]
174
- ],
175
- "o": [
176
- [-60.564, 0],
177
- [0, 60.564],
178
- [60.564, 0],
179
- [0, -60.564]
180
- ],
181
- "v": [
182
- [0, -109.66],
183
- [-109.66, 0],
184
- [0, 109.66],
185
- [109.66, 0]
186
- ],
187
- "c": true
188
- },
189
- "ix": 2
190
- },
191
- "nm": "Path 1",
192
- "mn": "ADBE Vector Shape - Group",
193
- "hd": false
194
- },
195
- {
196
- "ty": "st",
197
- "c": { "a": 0, "k": [0.901960784314, 0.905882352941, 0.905882352941, 1], "ix": 3 },
198
- "o": { "a": 0, "k": 100, "ix": 4 },
199
- "w": { "a": 0, "k": 1, "ix": 5 },
200
- "lc": 1,
201
- "lj": 1,
202
- "ml": 4,
203
- "bm": 0,
204
- "nm": "Stroke 1",
205
- "mn": "ADBE Vector Graphic - Stroke",
206
- "hd": false
207
- },
208
- {
209
- "ty": "tr",
210
- "p": { "a": 0, "k": [0.5, -100], "ix": 2 },
211
- "a": { "a": 0, "k": [0, 0], "ix": 1 },
212
- "s": { "a": 0, "k": [100, 100], "ix": 3 },
213
- "r": { "a": 0, "k": 0, "ix": 6 },
214
- "o": { "a": 0, "k": 100, "ix": 7 },
215
- "sk": { "a": 0, "k": 0, "ix": 4 },
216
- "sa": { "a": 0, "k": 0, "ix": 5 },
217
- "nm": "Transform"
218
- }
219
- ],
220
- "nm": "Ellipse 1",
221
- "np": 3,
222
- "cix": 2,
223
- "bm": 0,
224
- "ix": 1,
225
- "mn": "ADBE Vector Group",
226
- "hd": false
227
- }
228
- ],
229
- "ip": 0,
230
- "op": 148,
231
- "st": 0,
232
- "bm": 0
233
- }
234
- ],
235
- "markers": []
236
- }