assentify-sdk-react-native 0.0.2 → 0.0.3

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 (297) hide show
  1. package/lib/commonjs/AssentifyProvider.js +2 -49
  2. package/lib/commonjs/AssentifyProvider.js.map +1 -1
  3. package/lib/commonjs/AssentifyWrapper.js +0 -12
  4. package/lib/commonjs/AssentifyWrapper.js.map +1 -1
  5. package/lib/commonjs/types.js.map +1 -1
  6. package/lib/module/AssentifyProvider.js +2 -50
  7. package/lib/module/AssentifyProvider.js.map +1 -1
  8. package/lib/module/AssentifyWrapper.js +0 -11
  9. package/lib/module/AssentifyWrapper.js.map +1 -1
  10. package/lib/module/types.js.map +1 -1
  11. package/lib/typescript/example/src/Home.d.ts.map +1 -1
  12. package/lib/typescript/lib/commonjs/AssentifyProvider.d.ts +0 -2
  13. package/lib/typescript/lib/commonjs/AssentifyProvider.d.ts.map +1 -1
  14. package/lib/typescript/lib/commonjs/AssentifyWrapper.d.ts +0 -1
  15. package/lib/typescript/lib/commonjs/AssentifyWrapper.d.ts.map +1 -1
  16. package/lib/typescript/lib/module/AssentifyProvider.d.ts +1 -3
  17. package/lib/typescript/lib/module/AssentifyProvider.d.ts.map +1 -1
  18. package/lib/typescript/lib/module/AssentifyWrapper.d.ts +0 -1
  19. package/lib/typescript/lib/module/AssentifyWrapper.d.ts.map +1 -1
  20. package/lib/typescript/lib/module/index.d.ts +0 -1
  21. package/lib/typescript/lib/module/index.d.ts.map +1 -1
  22. package/lib/typescript/src/AssentifyProvider.d.ts +0 -3
  23. package/lib/typescript/src/AssentifyProvider.d.ts.map +1 -1
  24. package/lib/typescript/src/AssentifyWrapper.d.ts +0 -1
  25. package/lib/typescript/src/AssentifyWrapper.d.ts.map +1 -1
  26. package/lib/typescript/src/index.d.ts +0 -1
  27. package/lib/typescript/src/index.d.ts.map +1 -1
  28. package/lib/typescript/src/types.d.ts +0 -2
  29. package/lib/typescript/src/types.d.ts.map +1 -1
  30. package/package.json +1 -1
  31. package/src/AssentifyProvider.tsx +5 -59
  32. package/src/AssentifyWrapper.ts +19 -29
  33. package/src/types.ts +0 -3
  34. package/lib/commonjs/components/BackButton.js +0 -33
  35. package/lib/commonjs/components/BackButton.js.map +0 -1
  36. package/lib/commonjs/components/BaseButton.js +0 -41
  37. package/lib/commonjs/components/BaseButton.js.map +0 -1
  38. package/lib/commonjs/components/BaseIcon.js +0 -83
  39. package/lib/commonjs/components/BaseIcon.js.map +0 -1
  40. package/lib/commonjs/components/CloseButton.js +0 -33
  41. package/lib/commonjs/components/CloseButton.js.map +0 -1
  42. package/lib/commonjs/components/CustomHeader.js +0 -54
  43. package/lib/commonjs/components/CustomHeader.js.map +0 -1
  44. package/lib/commonjs/components/Each.js +0 -16
  45. package/lib/commonjs/components/Each.js.map +0 -1
  46. package/lib/commonjs/components/Page.js +0 -45
  47. package/lib/commonjs/components/Page.js.map +0 -1
  48. package/lib/commonjs/components/icons/arrow-left.js +0 -28
  49. package/lib/commonjs/components/icons/arrow-left.js.map +0 -1
  50. package/lib/commonjs/components/icons/big-warning.js +0 -34
  51. package/lib/commonjs/components/icons/big-warning.js.map +0 -1
  52. package/lib/commonjs/components/icons/check-success.js +0 -28
  53. package/lib/commonjs/components/icons/check-success.js.map +0 -1
  54. package/lib/commonjs/components/icons/chevron-down.js +0 -28
  55. package/lib/commonjs/components/icons/chevron-down.js.map +0 -1
  56. package/lib/commonjs/components/icons/chevron-left.js +0 -28
  57. package/lib/commonjs/components/icons/chevron-left.js.map +0 -1
  58. package/lib/commonjs/components/icons/chevron-right.js +0 -28
  59. package/lib/commonjs/components/icons/chevron-right.js.map +0 -1
  60. package/lib/commonjs/components/icons/chevron-up.js +0 -27
  61. package/lib/commonjs/components/icons/chevron-up.js.map +0 -1
  62. package/lib/commonjs/components/icons/close.js +0 -28
  63. package/lib/commonjs/components/icons/close.js.map +0 -1
  64. package/lib/commonjs/components/type.js +0 -2
  65. package/lib/commonjs/components/type.js.map +0 -1
  66. package/lib/commonjs/helpers/NavigationService.js +0 -80
  67. package/lib/commonjs/helpers/NavigationService.js.map +0 -1
  68. package/lib/commonjs/helpers/constants.js +0 -16
  69. package/lib/commonjs/helpers/constants.js.map +0 -1
  70. package/lib/commonjs/helpers/useBackHandler.js +0 -16
  71. package/lib/commonjs/helpers/useBackHandler.js.map +0 -1
  72. package/lib/commonjs/navigator/index.js +0 -30
  73. package/lib/commonjs/navigator/index.js.map +0 -1
  74. package/lib/commonjs/screens/SelectDocument.js +0 -248
  75. package/lib/commonjs/screens/SelectDocument.js.map +0 -1
  76. package/lib/commonjs/themes/index.js +0 -22
  77. package/lib/commonjs/themes/index.js.map +0 -1
  78. package/lib/commonjs/themes/styling.js +0 -64
  79. package/lib/commonjs/themes/styling.js.map +0 -1
  80. package/lib/commonjs/useGlobalStore.js +0 -52
  81. package/lib/commonjs/useGlobalStore.js.map +0 -1
  82. package/lib/module/components/BackButton.js +0 -26
  83. package/lib/module/components/BackButton.js.map +0 -1
  84. package/lib/module/components/BaseButton.js +0 -34
  85. package/lib/module/components/BaseButton.js.map +0 -1
  86. package/lib/module/components/BaseIcon.js +0 -76
  87. package/lib/module/components/BaseIcon.js.map +0 -1
  88. package/lib/module/components/CloseButton.js +0 -26
  89. package/lib/module/components/CloseButton.js.map +0 -1
  90. package/lib/module/components/CustomHeader.js +0 -47
  91. package/lib/module/components/CustomHeader.js.map +0 -1
  92. package/lib/module/components/Each.js +0 -9
  93. package/lib/module/components/Each.js.map +0 -1
  94. package/lib/module/components/Page.js +0 -38
  95. package/lib/module/components/Page.js.map +0 -1
  96. package/lib/module/components/icons/arrow-left.js +0 -19
  97. package/lib/module/components/icons/arrow-left.js.map +0 -1
  98. package/lib/module/components/icons/big-warning.js +0 -25
  99. package/lib/module/components/icons/big-warning.js.map +0 -1
  100. package/lib/module/components/icons/check-success.js +0 -19
  101. package/lib/module/components/icons/check-success.js.map +0 -1
  102. package/lib/module/components/icons/chevron-down.js +0 -19
  103. package/lib/module/components/icons/chevron-down.js.map +0 -1
  104. package/lib/module/components/icons/chevron-left.js +0 -19
  105. package/lib/module/components/icons/chevron-left.js.map +0 -1
  106. package/lib/module/components/icons/chevron-right.js +0 -19
  107. package/lib/module/components/icons/chevron-right.js.map +0 -1
  108. package/lib/module/components/icons/chevron-up.js +0 -19
  109. package/lib/module/components/icons/chevron-up.js.map +0 -1
  110. package/lib/module/components/icons/close.js +0 -19
  111. package/lib/module/components/icons/close.js.map +0 -1
  112. package/lib/module/components/type.js +0 -2
  113. package/lib/module/components/type.js.map +0 -1
  114. package/lib/module/helpers/NavigationService.js +0 -75
  115. package/lib/module/helpers/NavigationService.js.map +0 -1
  116. package/lib/module/helpers/constants.js +0 -10
  117. package/lib/module/helpers/constants.js.map +0 -1
  118. package/lib/module/helpers/useBackHandler.js +0 -10
  119. package/lib/module/helpers/useBackHandler.js.map +0 -1
  120. package/lib/module/navigator/index.js +0 -23
  121. package/lib/module/navigator/index.js.map +0 -1
  122. package/lib/module/screens/SelectDocument.js +0 -240
  123. package/lib/module/screens/SelectDocument.js.map +0 -1
  124. package/lib/module/themes/index.js +0 -16
  125. package/lib/module/themes/index.js.map +0 -1
  126. package/lib/module/themes/styling.js +0 -52
  127. package/lib/module/themes/styling.js.map +0 -1
  128. package/lib/module/useGlobalStore.js +0 -46
  129. package/lib/module/useGlobalStore.js.map +0 -1
  130. package/lib/typescript/lib/commonjs/components/BackButton.d.ts +0 -6
  131. package/lib/typescript/lib/commonjs/components/BackButton.d.ts.map +0 -1
  132. package/lib/typescript/lib/commonjs/components/BaseButton.d.ts +0 -7
  133. package/lib/typescript/lib/commonjs/components/BaseButton.d.ts.map +0 -1
  134. package/lib/typescript/lib/commonjs/components/BaseIcon.d.ts +0 -29
  135. package/lib/typescript/lib/commonjs/components/BaseIcon.d.ts.map +0 -1
  136. package/lib/typescript/lib/commonjs/components/CloseButton.d.ts +0 -6
  137. package/lib/typescript/lib/commonjs/components/CloseButton.d.ts.map +0 -1
  138. package/lib/typescript/lib/commonjs/components/CustomHeader.d.ts +0 -9
  139. package/lib/typescript/lib/commonjs/components/CustomHeader.d.ts.map +0 -1
  140. package/lib/typescript/lib/commonjs/components/Each.d.ts +0 -7
  141. package/lib/typescript/lib/commonjs/components/Each.d.ts.map +0 -1
  142. package/lib/typescript/lib/commonjs/components/Page.d.ts +0 -14
  143. package/lib/typescript/lib/commonjs/components/Page.d.ts.map +0 -1
  144. package/lib/typescript/lib/commonjs/components/icons/arrow-left.d.ts +0 -4
  145. package/lib/typescript/lib/commonjs/components/icons/arrow-left.d.ts.map +0 -1
  146. package/lib/typescript/lib/commonjs/components/icons/big-warning.d.ts +0 -4
  147. package/lib/typescript/lib/commonjs/components/icons/big-warning.d.ts.map +0 -1
  148. package/lib/typescript/lib/commonjs/components/icons/check-success.d.ts +0 -4
  149. package/lib/typescript/lib/commonjs/components/icons/check-success.d.ts.map +0 -1
  150. package/lib/typescript/lib/commonjs/components/icons/chevron-down.d.ts +0 -4
  151. package/lib/typescript/lib/commonjs/components/icons/chevron-down.d.ts.map +0 -1
  152. package/lib/typescript/lib/commonjs/components/icons/chevron-left.d.ts +0 -4
  153. package/lib/typescript/lib/commonjs/components/icons/chevron-left.d.ts.map +0 -1
  154. package/lib/typescript/lib/commonjs/components/icons/chevron-right.d.ts +0 -4
  155. package/lib/typescript/lib/commonjs/components/icons/chevron-right.d.ts.map +0 -1
  156. package/lib/typescript/lib/commonjs/components/icons/chevron-up.d.ts +0 -4
  157. package/lib/typescript/lib/commonjs/components/icons/chevron-up.d.ts.map +0 -1
  158. package/lib/typescript/lib/commonjs/components/icons/close.d.ts +0 -4
  159. package/lib/typescript/lib/commonjs/components/icons/close.d.ts.map +0 -1
  160. package/lib/typescript/lib/commonjs/components/type.d.ts +0 -1
  161. package/lib/typescript/lib/commonjs/components/type.d.ts.map +0 -1
  162. package/lib/typescript/lib/commonjs/helpers/NavigationService.d.ts +0 -29
  163. package/lib/typescript/lib/commonjs/helpers/NavigationService.d.ts.map +0 -1
  164. package/lib/typescript/lib/commonjs/helpers/constants.d.ts +0 -11
  165. package/lib/typescript/lib/commonjs/helpers/constants.d.ts.map +0 -1
  166. package/lib/typescript/lib/commonjs/helpers/useBackHandler.d.ts +0 -3
  167. package/lib/typescript/lib/commonjs/helpers/useBackHandler.d.ts.map +0 -1
  168. package/lib/typescript/lib/commonjs/navigator/index.d.ts +0 -4
  169. package/lib/typescript/lib/commonjs/navigator/index.d.ts.map +0 -1
  170. package/lib/typescript/lib/commonjs/screens/SelectDocument.d.ts +0 -4
  171. package/lib/typescript/lib/commonjs/screens/SelectDocument.d.ts.map +0 -1
  172. package/lib/typescript/lib/commonjs/themes/index.d.ts +0 -17
  173. package/lib/typescript/lib/commonjs/themes/index.d.ts.map +0 -1
  174. package/lib/typescript/lib/commonjs/themes/styling.d.ts +0 -8
  175. package/lib/typescript/lib/commonjs/themes/styling.d.ts.map +0 -1
  176. package/lib/typescript/lib/commonjs/useGlobalStore.d.ts +0 -5
  177. package/lib/typescript/lib/commonjs/useGlobalStore.d.ts.map +0 -1
  178. package/lib/typescript/lib/module/components/BackButton.d.ts +0 -7
  179. package/lib/typescript/lib/module/components/BackButton.d.ts.map +0 -1
  180. package/lib/typescript/lib/module/components/BaseButton.d.ts +0 -8
  181. package/lib/typescript/lib/module/components/BaseButton.d.ts.map +0 -1
  182. package/lib/typescript/lib/module/components/BaseIcon.d.ts +0 -29
  183. package/lib/typescript/lib/module/components/BaseIcon.d.ts.map +0 -1
  184. package/lib/typescript/lib/module/components/CloseButton.d.ts +0 -7
  185. package/lib/typescript/lib/module/components/CloseButton.d.ts.map +0 -1
  186. package/lib/typescript/lib/module/components/CustomHeader.d.ts +0 -10
  187. package/lib/typescript/lib/module/components/CustomHeader.d.ts.map +0 -1
  188. package/lib/typescript/lib/module/components/Each.d.ts +0 -7
  189. package/lib/typescript/lib/module/components/Each.d.ts.map +0 -1
  190. package/lib/typescript/lib/module/components/Page.d.ts +0 -15
  191. package/lib/typescript/lib/module/components/Page.d.ts.map +0 -1
  192. package/lib/typescript/lib/module/components/icons/arrow-left.d.ts +0 -5
  193. package/lib/typescript/lib/module/components/icons/arrow-left.d.ts.map +0 -1
  194. package/lib/typescript/lib/module/components/icons/big-warning.d.ts +0 -5
  195. package/lib/typescript/lib/module/components/icons/big-warning.d.ts.map +0 -1
  196. package/lib/typescript/lib/module/components/icons/check-success.d.ts +0 -5
  197. package/lib/typescript/lib/module/components/icons/check-success.d.ts.map +0 -1
  198. package/lib/typescript/lib/module/components/icons/chevron-down.d.ts +0 -5
  199. package/lib/typescript/lib/module/components/icons/chevron-down.d.ts.map +0 -1
  200. package/lib/typescript/lib/module/components/icons/chevron-left.d.ts +0 -5
  201. package/lib/typescript/lib/module/components/icons/chevron-left.d.ts.map +0 -1
  202. package/lib/typescript/lib/module/components/icons/chevron-right.d.ts +0 -5
  203. package/lib/typescript/lib/module/components/icons/chevron-right.d.ts.map +0 -1
  204. package/lib/typescript/lib/module/components/icons/chevron-up.d.ts +0 -5
  205. package/lib/typescript/lib/module/components/icons/chevron-up.d.ts.map +0 -1
  206. package/lib/typescript/lib/module/components/icons/close.d.ts +0 -5
  207. package/lib/typescript/lib/module/components/icons/close.d.ts.map +0 -1
  208. package/lib/typescript/lib/module/components/type.d.ts +0 -1
  209. package/lib/typescript/lib/module/components/type.d.ts.map +0 -1
  210. package/lib/typescript/lib/module/helpers/NavigationService.d.ts +0 -28
  211. package/lib/typescript/lib/module/helpers/NavigationService.d.ts.map +0 -1
  212. package/lib/typescript/lib/module/helpers/constants.d.ts +0 -10
  213. package/lib/typescript/lib/module/helpers/constants.d.ts.map +0 -1
  214. package/lib/typescript/lib/module/helpers/useBackHandler.d.ts +0 -2
  215. package/lib/typescript/lib/module/helpers/useBackHandler.d.ts.map +0 -1
  216. package/lib/typescript/lib/module/navigator/index.d.ts +0 -4
  217. package/lib/typescript/lib/module/navigator/index.d.ts.map +0 -1
  218. package/lib/typescript/lib/module/screens/SelectDocument.d.ts +0 -4
  219. package/lib/typescript/lib/module/screens/SelectDocument.d.ts.map +0 -1
  220. package/lib/typescript/lib/module/themes/index.d.ts +0 -16
  221. package/lib/typescript/lib/module/themes/index.d.ts.map +0 -1
  222. package/lib/typescript/lib/module/themes/styling.d.ts +0 -7
  223. package/lib/typescript/lib/module/themes/styling.d.ts.map +0 -1
  224. package/lib/typescript/lib/module/useGlobalStore.d.ts +0 -3
  225. package/lib/typescript/lib/module/useGlobalStore.d.ts.map +0 -1
  226. package/lib/typescript/src/components/BackButton.d.ts +0 -7
  227. package/lib/typescript/src/components/BackButton.d.ts.map +0 -1
  228. package/lib/typescript/src/components/BaseButton.d.ts +0 -8
  229. package/lib/typescript/src/components/BaseButton.d.ts.map +0 -1
  230. package/lib/typescript/src/components/BaseIcon.d.ts +0 -45
  231. package/lib/typescript/src/components/BaseIcon.d.ts.map +0 -1
  232. package/lib/typescript/src/components/CloseButton.d.ts +0 -7
  233. package/lib/typescript/src/components/CloseButton.d.ts.map +0 -1
  234. package/lib/typescript/src/components/CustomHeader.d.ts +0 -12
  235. package/lib/typescript/src/components/CustomHeader.d.ts.map +0 -1
  236. package/lib/typescript/src/components/Each.d.ts +0 -8
  237. package/lib/typescript/src/components/Each.d.ts.map +0 -1
  238. package/lib/typescript/src/components/Page.d.ts +0 -17
  239. package/lib/typescript/src/components/Page.d.ts.map +0 -1
  240. package/lib/typescript/src/components/icons/arrow-left.d.ts +0 -4
  241. package/lib/typescript/src/components/icons/arrow-left.d.ts.map +0 -1
  242. package/lib/typescript/src/components/icons/big-warning.d.ts +0 -4
  243. package/lib/typescript/src/components/icons/big-warning.d.ts.map +0 -1
  244. package/lib/typescript/src/components/icons/check-success.d.ts +0 -4
  245. package/lib/typescript/src/components/icons/check-success.d.ts.map +0 -1
  246. package/lib/typescript/src/components/icons/chevron-down.d.ts +0 -4
  247. package/lib/typescript/src/components/icons/chevron-down.d.ts.map +0 -1
  248. package/lib/typescript/src/components/icons/chevron-left.d.ts +0 -4
  249. package/lib/typescript/src/components/icons/chevron-left.d.ts.map +0 -1
  250. package/lib/typescript/src/components/icons/chevron-right.d.ts +0 -4
  251. package/lib/typescript/src/components/icons/chevron-right.d.ts.map +0 -1
  252. package/lib/typescript/src/components/icons/chevron-up.d.ts +0 -4
  253. package/lib/typescript/src/components/icons/chevron-up.d.ts.map +0 -1
  254. package/lib/typescript/src/components/icons/close.d.ts +0 -4
  255. package/lib/typescript/src/components/icons/close.d.ts.map +0 -1
  256. package/lib/typescript/src/components/type.d.ts +0 -3
  257. package/lib/typescript/src/components/type.d.ts.map +0 -1
  258. package/lib/typescript/src/helpers/NavigationService.d.ts +0 -29
  259. package/lib/typescript/src/helpers/NavigationService.d.ts.map +0 -1
  260. package/lib/typescript/src/helpers/constants.d.ts +0 -10
  261. package/lib/typescript/src/helpers/constants.d.ts.map +0 -1
  262. package/lib/typescript/src/helpers/useBackHandler.d.ts +0 -2
  263. package/lib/typescript/src/helpers/useBackHandler.d.ts.map +0 -1
  264. package/lib/typescript/src/navigator/index.d.ts +0 -4
  265. package/lib/typescript/src/navigator/index.d.ts.map +0 -1
  266. package/lib/typescript/src/screens/SelectDocument.d.ts +0 -5
  267. package/lib/typescript/src/screens/SelectDocument.d.ts.map +0 -1
  268. package/lib/typescript/src/themes/index.d.ts +0 -16
  269. package/lib/typescript/src/themes/index.d.ts.map +0 -1
  270. package/lib/typescript/src/themes/styling.d.ts +0 -7
  271. package/lib/typescript/src/themes/styling.d.ts.map +0 -1
  272. package/lib/typescript/src/useGlobalStore.d.ts +0 -25
  273. package/lib/typescript/src/useGlobalStore.d.ts.map +0 -1
  274. package/src/components/BackButton.tsx +0 -28
  275. package/src/components/BaseButton.tsx +0 -44
  276. package/src/components/BaseIcon.tsx +0 -96
  277. package/src/components/CloseButton.tsx +0 -28
  278. package/src/components/CustomHeader.tsx +0 -58
  279. package/src/components/Each.tsx +0 -12
  280. package/src/components/Page.tsx +0 -64
  281. package/src/components/icons/arrow-left.tsx +0 -22
  282. package/src/components/icons/big-warning.tsx +0 -29
  283. package/src/components/icons/check-success.tsx +0 -22
  284. package/src/components/icons/chevron-down.tsx +0 -22
  285. package/src/components/icons/chevron-left.tsx +0 -22
  286. package/src/components/icons/chevron-right.tsx +0 -22
  287. package/src/components/icons/chevron-up.tsx +0 -22
  288. package/src/components/icons/close.tsx +0 -22
  289. package/src/components/type.ts +0 -11
  290. package/src/helpers/NavigationService.ts +0 -89
  291. package/src/helpers/constants.ts +0 -13
  292. package/src/helpers/useBackHandler.ts +0 -14
  293. package/src/navigator/index.tsx +0 -34
  294. package/src/screens/SelectDocument.tsx +0 -250
  295. package/src/themes/index.ts +0 -16
  296. package/src/themes/styling.ts +0 -53
  297. package/src/useGlobalStore.ts +0 -65
@@ -25,38 +25,15 @@ import JsonParserPassport from './helpers/parsers/PassportParser';
25
25
  import JsonParserFaceMatch from './helpers/parsers/FaceMatchParser';
26
26
  import JsonParserIdCard from './helpers/parsers/IDCardParser';
27
27
  import JsonParserOtherID from './helpers/parsers/OtherIDParser';
28
- import './navigator';
29
- import NavigationContainer from './navigator';
30
- import {
31
- BottomSheetModal,
32
- BottomSheetModalProvider,
33
- } from '@gorhom/bottom-sheet';
34
- import useGlobalStore from './useGlobalStore';
35
- const { NativeAssentifySdk } = NativeModules;
36
- const AssentifySdk = NativeModules.NativeAssentifySdk
37
28
 
29
+ const { NativeAssentifySdk } = NativeModules;
38
30
 
39
- export const bottomSheetModalRef = useRef<BottomSheetModal>(null);
40
- export const kycDocumentDetailsSize = useRef<number | null>(null);
41
31
  const AssentifyContext = createContext<undefined>(undefined);
42
- const { setSupportedCountries } = useGlobalStore();
43
- LogBox.ignoreAllLogs();
44
-
45
- let imageUrl = '';
46
- let isFlow = false;
47
- let order = 0;
48
32
 
33
+ LogBox.ignoreAllLogs();
49
34
  const AssentifyProvider = () => {
50
- const snapPoints = useMemo(() => ['100%'], []);
51
35
 
52
36
 
53
- const handleSheetChanges = (index: number) => {
54
- if (index === -1) {
55
- isFlow = false;
56
- } else {
57
- isFlow = true;
58
- }
59
- };
60
37
 
61
38
  useEffect(() => {
62
39
  const emitter = new NativeEventEmitter(NativeAssentifySdk);
@@ -66,7 +43,6 @@ const AssentifyProvider = () => {
66
43
  if(result?.assentifySdkInitSuccess!=null){
67
44
  if (result?.assentifySdkInitSuccess) {
68
45
  const templates = JSON.parse(result?.AssentifySdkHasTemplates ) as TemplatesByCountry[];
69
- setSupportedCountries(templates as TemplatesByCountry[]);
70
46
  DeviceEventEmitter.emit('assentifySdkInit',{"status":true,"templates":templates});
71
47
  }else{
72
48
  DeviceEventEmitter.emit('assentifySdkInit',{"status":false});
@@ -79,28 +55,12 @@ const AssentifyProvider = () => {
79
55
  if (result?.PassportDataModel) {
80
56
  const response = JsonParserPassport(result?.PassportDataModel);
81
57
  DeviceEventEmitter.emit('onCompletePassport',{"passportExtractedModel":response});
82
- if(isFlow === true){
83
- AssentifySdk.startFaceMatch(response.imageUrl,true);
84
- }
85
58
  } else if (result?.FaceMatchDataModel) {
86
59
  const response = JsonParserFaceMatch(result?.FaceMatchDataModel);
87
- DeviceEventEmitter.emit('onCompleteFaceMatch',{"faceExtractedModel":response});
88
- if(isFlow === true){
89
- DeviceEventEmitter.emit('onFlowComplete',{});
90
- bottomSheetModalRef.current?.dismiss();
91
- }
60
+ DeviceEventEmitter.emit('onCompleteFaceMatch',{"faceExtractedModel":response});
92
61
  } else if (result?.IdDataModel) {
93
62
  const response = JsonParserIdCard(result?.IdDataModel);
94
- DeviceEventEmitter.emit('onCompleteIDCard',{"iDExtractedModel":response});
95
- order = order + 1;
96
- if(isFlow === true){
97
- if (order === 1) {
98
- imageUrl = response.imageUrl ?? '';
99
- }
100
- if(kycDocumentDetailsSize.current === order){
101
- AssentifySdk.startFaceMatch(imageUrl,true);
102
- }
103
- }
63
+ DeviceEventEmitter.emit('onCompleteIDCard',{"iDExtractedModel":response});
104
64
  } else if (result?.OtherDataModel) {
105
65
  const response = JsonParserOtherID(result?.OtherDataModel);
106
66
  DeviceEventEmitter.emit('onCompleteOther',{"otherExtractedModel":response});
@@ -220,21 +180,7 @@ const AssentifyProvider = () => {
220
180
  ]);
221
181
 
222
182
  return (
223
- <AssentifyContext.Provider value={undefined}>
224
- <BottomSheetModalProvider>
225
- <BottomSheetModal
226
- handleComponent={null}
227
- enablePanDownToClose={false}
228
- enableHandlePanningGesture={true}
229
- enableContentPanningGesture={false}
230
- ref={bottomSheetModalRef}
231
- index={0}
232
- onChange={handleSheetChanges}
233
- snapPoints={snapPoints}
234
- >
235
- <NavigationContainer />
236
- </BottomSheetModal>
237
- </BottomSheetModalProvider>
183
+ <AssentifyContext.Provider value={undefined}>
238
184
  </AssentifyContext.Provider>
239
185
  );
240
186
  };
@@ -1,11 +1,7 @@
1
1
  import { NativeModules, Platform, Alert, Linking } from 'react-native';
2
2
  import { type LanguageCode } from './Language';
3
3
  import { type KycDocumentDetails } from './types';
4
- import NavigationService from './helpers/NavigationService';
5
- import { PAGES } from './helpers/constants';
6
- import { bottomSheetModalRef } from './AssentifyProvider';
7
- import React, { useContext } from 'react';
8
- import useGlobalStore from './useGlobalStore';
4
+
9
5
  const LINKING_ERROR =
10
6
  `The package 'assentify-sdk-react-native-react-native' doesn't seem to be linked. Make sure: \n\n` +
11
7
  Platform.select({ ios: "- You have run 'pod install'\n", default: '' }) +
@@ -13,7 +9,7 @@ const LINKING_ERROR =
13
9
  '- You are not using Expo Go\n';
14
10
 
15
11
  const { NativeAssentifySdk } = NativeModules;
16
- const { setFlowLanguage } = useGlobalStore();
12
+
17
13
  const AssentifySdk = NativeModules.NativeAssentifySdk
18
14
  ? NativeModules.NativeAssentifySdk
19
15
  : new Proxy(
@@ -25,8 +21,6 @@ const AssentifySdk = NativeModules.NativeAssentifySdk
25
21
  }
26
22
  );
27
23
 
28
-
29
-
30
24
  const AssentifyWrapper = {
31
25
  /// Initialize
32
26
  initialize: function (
@@ -44,21 +38,21 @@ const AssentifyWrapper = {
44
38
  enableDetect?: boolean,
45
39
  enableGuide?: boolean
46
40
  ) {
47
- AssentifySdk.initialize(
48
- apiKey,
49
- tenantIdentifier,
50
- instanceHash,
51
- processMrz ?? true,
52
- storeCapturedDocument ?? true,
53
- performLivenessDocument ?? false,
54
- performLivenessFace ?? false,
55
- storeImageStream ?? true,
56
- saveCapturedVideoID ?? true,
57
- saveCapturedVideoFace ?? true,
58
- ENV_CustomColor ?? '#f5a103',
59
- enableDetect ?? true,
60
- enableGuide ?? true
61
- );
41
+ AssentifySdk.initialize(
42
+ apiKey,
43
+ tenantIdentifier,
44
+ instanceHash,
45
+ processMrz ?? true,
46
+ storeCapturedDocument ?? true,
47
+ performLivenessDocument ?? false,
48
+ performLivenessFace ?? false,
49
+ storeImageStream ?? true,
50
+ saveCapturedVideoID ?? true,
51
+ saveCapturedVideoFace ?? true,
52
+ ENV_CustomColor ?? '#f5a103',
53
+ enableDetect ?? true,
54
+ enableGuide ?? true
55
+ );
62
56
  },
63
57
 
64
58
  /// Passport
@@ -85,16 +79,12 @@ const AssentifyWrapper = {
85
79
  /// Submit Data
86
80
  submitData: function (dataMap:Record<string, string> ){
87
81
  AssentifySdk.submitData(dataMap);
88
- },
89
-
90
- /// Start Flow
91
- startFlow: function (language: LanguageCode,){
92
- bottomSheetModalRef.current?.present();
93
- setFlowLanguage(language)
94
82
  }
95
83
 
96
84
 
97
85
 
86
+
87
+
98
88
  };
99
89
 
100
90
  export default AssentifyWrapper;
package/src/types.ts CHANGED
@@ -52,8 +52,6 @@ export interface Assentify {
52
52
 
53
53
  submitData:(dataMap: Map<string, string>)=> void;
54
54
 
55
- startFlow:()=> void;
56
-
57
55
  }
58
56
 
59
57
  export type MrzFields = {
@@ -158,7 +156,6 @@ export type FaceMatchCallback = {
158
156
  export type KycDocumentDetails = {
159
157
  name: string;
160
158
  order: number;
161
- templateSpecimen:String;
162
159
  templateProcessingKeyInformation: string;
163
160
  };
164
161
 
@@ -1,33 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _reactNative = require("react-native");
8
- var _react = _interopRequireDefault(require("react"));
9
- var _styling = require("../themes/styling");
10
- var _themes = require("../themes");
11
- var _BaseIcon = _interopRequireDefault(require("./BaseIcon"));
12
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
- const BackButton = ({
14
- onPress
15
- }) => {
16
- return /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
17
- style: styles.BackButtons,
18
- onPress: onPress
19
- }, /*#__PURE__*/_react.default.createElement(_BaseIcon.default, {
20
- name: "arrow_left",
21
- color: _themes.COLORS.secondaryBase1
22
- }));
23
- };
24
- var _default = exports.default = BackButton;
25
- const styles = _reactNative.StyleSheet.create({
26
- BackButtons: {
27
- padding: 6,
28
- justifyContent: 'center',
29
- alignItems: 'center',
30
- marginLeft: (0, _styling.pixelSizeHorizontal)(16)
31
- }
32
- });
33
- //# sourceMappingURL=BackButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_reactNative","require","_react","_interopRequireDefault","_styling","_themes","_BaseIcon","e","__esModule","default","BackButton","onPress","createElement","TouchableOpacity","style","styles","BackButtons","name","color","COLORS","secondaryBase1","_default","exports","StyleSheet","create","padding","justifyContent","alignItems","marginLeft","pixelSizeHorizontal"],"sourceRoot":"..\\..\\..\\src","sources":["components/BackButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAH,sBAAA,CAAAF,OAAA;AAAkC,SAAAE,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAMlC,MAAMG,UAA2B,GAAGA,CAAC;EAAEC;AAAQ,CAAC,KAAK;EACnD,oBACET,MAAA,CAAAO,OAAA,CAAAG,aAAA,CAACZ,YAAA,CAAAa,gBAAgB;IAACC,KAAK,EAAEC,MAAM,CAACC,WAAY;IAACL,OAAO,EAAEA;EAAQ,gBAC5DT,MAAA,CAAAO,OAAA,CAAAG,aAAA,CAACN,SAAA,CAAAG,OAAQ;IAACQ,IAAI,EAAC,YAAY;IAACC,KAAK,EAAEC,cAAM,CAACC;EAAe,CAAE,CAC3C,CAAC;AAEvB,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAb,OAAA,GAEaC,UAAU;AAEzB,MAAMK,MAAM,GAAGQ,uBAAU,CAACC,MAAM,CAAC;EAC/BR,WAAW,EAAE;IACXS,OAAO,EAAE,CAAC;IACVC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,UAAU,EAAE,IAAAC,4BAAmB,EAAC,EAAE;EACpC;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,41 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _reactNative = require("react-native");
8
- var _react = _interopRequireDefault(require("react"));
9
- var _themes = require("../themes");
10
- var _styling = require("../themes/styling");
11
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
- const BaseButton = ({
13
- label,
14
- onPress
15
- }) => {
16
- return /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
17
- activeOpacity: 0.7,
18
- style: styles.BaseButton,
19
- onPress: onPress
20
- }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
21
- style: styles.labelStyle
22
- }, label));
23
- };
24
- var _default = exports.default = BaseButton;
25
- const styles = _reactNative.StyleSheet.create({
26
- BaseButton: {
27
- backgroundColor: "#f5a103",
28
- paddingVertical: (0, _styling.pixelSizeVertical)(12),
29
- paddingHorizontal: (0, _styling.pixelSizeHorizontal)(16),
30
- justifyContent: 'center',
31
- alignItems: 'center',
32
- borderRadius: 48
33
- },
34
- labelStyle: {
35
- fontSize: (0, _styling.fontPixel)(16),
36
- fontWeight: '500',
37
- lineHeight: 22,
38
- color: _themes.COLORS.white
39
- }
40
- });
41
- //# sourceMappingURL=BaseButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_reactNative","require","_react","_interopRequireDefault","_themes","_styling","e","__esModule","default","BaseButton","label","onPress","createElement","TouchableOpacity","activeOpacity","style","styles","Text","labelStyle","_default","exports","StyleSheet","create","backgroundColor","paddingVertical","pixelSizeVertical","paddingHorizontal","pixelSizeHorizontal","justifyContent","alignItems","borderRadius","fontSize","fontPixel","fontWeight","lineHeight","color","COLORS","white"],"sourceRoot":"..\\..\\..\\src","sources":["components/BaseButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AAI2B,SAAAE,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAO3B,MAAMG,UAA2B,GAAGA,CAAC;EAAEC,KAAK;EAAEC;AAAQ,CAAC,KAAK;EAC1D,oBACET,MAAA,CAAAM,OAAA,CAAAI,aAAA,CAACZ,YAAA,CAAAa,gBAAgB;IACfC,aAAa,EAAE,GAAI;IACnBC,KAAK,EAAEC,MAAM,CAACP,UAAW;IACzBE,OAAO,EAAEA;EAAQ,gBAEjBT,MAAA,CAAAM,OAAA,CAAAI,aAAA,CAACZ,YAAA,CAAAiB,IAAI;IAACF,KAAK,EAAEC,MAAM,CAACE;EAAW,GAAER,KAAY,CAC7B,CAAC;AAEvB,CAAC;AAAC,IAAAS,QAAA,GAAAC,OAAA,CAAAZ,OAAA,GAEaC,UAAU;AAEzB,MAAMO,MAAM,GAAGK,uBAAU,CAACC,MAAM,CAAC;EAC/Bb,UAAU,EAAE;IACVc,eAAe,EAAE,SAAS;IAC1BC,eAAe,EAAE,IAAAC,0BAAiB,EAAC,EAAE,CAAC;IACtCC,iBAAiB,EAAE,IAAAC,4BAAmB,EAAC,EAAE,CAAC;IAC1CC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,YAAY,EAAE;EAChB,CAAC;EACDZ,UAAU,EAAE;IACVa,QAAQ,EAAE,IAAAC,kBAAS,EAAC,EAAE,CAAC;IACvBC,UAAU,EAAE,KAAK;IACjBC,UAAU,EAAE,EAAE;IACdC,KAAK,EAAEC,cAAM,CAACC;EAChB;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,83 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _react = _interopRequireDefault(require("react"));
8
- var _arrowLeft = _interopRequireDefault(require("./icons/arrow-left"));
9
- var _chevronDown = _interopRequireDefault(require("./icons/chevron-down"));
10
- var _chevronLeft = _interopRequireDefault(require("./icons/chevron-left"));
11
- var _chevronRight = _interopRequireDefault(require("./icons/chevron-right"));
12
- var _chevronUp = _interopRequireDefault(require("./icons/chevron-up"));
13
- var _close = _interopRequireDefault(require("./icons/close"));
14
- var _bigWarning = _interopRequireDefault(require("./icons/big-warning"));
15
- var _checkSuccess = _interopRequireDefault(require("./icons/check-success"));
16
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
17
- /**
18
- *
19
- * <div class="screenshots">
20
- * <figure>
21
- * <img class="small" src="screenshots/icon-1.png" />
22
- * <figcaption>Default icon</figcaption>
23
- * </figure>
24
- * <figure>
25
- * <img class="small" src="screenshots/icon-2.png" />
26
- * <figcaption>Custom icon colors</figcaption>
27
- * </figure>
28
- * <figure>
29
- * <img class="small" src="screenshots/icon-3.png" />
30
- * <figcaption>Custom icon sizes</figcaption>
31
- * </figure>
32
- * </div>
33
- *
34
- * ## Usage
35
- * ```js
36
- */
37
-
38
- const BaseIcon = ({
39
- name,
40
- color,
41
- size,
42
- ...rest
43
- }) => {
44
- const DEFAULT_SIZE = 24;
45
- const iconHeight = size || DEFAULT_SIZE;
46
- const iconWidth = size || DEFAULT_SIZE;
47
- const getProps = () => ({
48
- color: color,
49
- width: iconWidth,
50
- height: iconHeight,
51
- ...rest
52
- });
53
- switch (name) {
54
- case 'chevron_down':
55
- //@ts-ignore
56
- return /*#__PURE__*/_react.default.createElement(_chevronDown.default, getProps());
57
- case 'chevron_left':
58
- //@ts-ignore
59
- return /*#__PURE__*/_react.default.createElement(_chevronLeft.default, getProps());
60
- case 'chevron_right':
61
- //@ts-ignore
62
- return /*#__PURE__*/_react.default.createElement(_chevronRight.default, getProps());
63
- case 'chevron_up':
64
- //@ts-ignore
65
- return /*#__PURE__*/_react.default.createElement(_chevronUp.default, getProps());
66
- case 'close':
67
- //@ts-ignore
68
- return /*#__PURE__*/_react.default.createElement(_close.default, getProps());
69
- case 'arrow_left':
70
- //@ts-ignore
71
- return /*#__PURE__*/_react.default.createElement(_arrowLeft.default, getProps());
72
- case 'big_warning':
73
- //@ts-ignore
74
- return /*#__PURE__*/_react.default.createElement(_bigWarning.default, getProps());
75
- case 'check_success':
76
- //@ts-ignore
77
- return /*#__PURE__*/_react.default.createElement(_checkSuccess.default, getProps());
78
- default:
79
- return null;
80
- }
81
- };
82
- var _default = exports.default = BaseIcon;
83
- //# sourceMappingURL=BaseIcon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_arrowLeft","_chevronDown","_chevronLeft","_chevronRight","_chevronUp","_close","_bigWarning","_checkSuccess","e","__esModule","default","BaseIcon","name","color","size","rest","DEFAULT_SIZE","iconHeight","iconWidth","getProps","width","height","createElement","_default","exports"],"sourceRoot":"..\\..\\..\\src","sources":["components/BaseIcon.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,YAAA,GAAA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Y,aAAA,CAACnB,aAAA,CAAAO,OAAgB,EAAKS,QAAQ,CAAC,CAAI,CAAC;IAC7C,KAAK,YAAY;MACf;MACA,oBAAOtB,MAAA,CAAAa,OAAA,CAAAY,aAAA,CAAClB,UAAA,CAAAM,OAAa,EAAKS,QAAQ,CAAC,CAAI,CAAC;IAC1C,KAAK,OAAO;MACV;MACA,oBAAOtB,MAAA,CAAAa,OAAA,CAAAY,aAAA,CAACjB,MAAA,CAAAK,OAAS,EAAKS,QAAQ,CAAC,CAAI,CAAC;IACtC,KAAK,YAAY;MACf;MACA,oBAAOtB,MAAA,CAAAa,OAAA,CAAAY,aAAA,CAACtB,UAAA,CAAAU,OAAa,EAAKS,QAAQ,CAAC,CAAI,CAAC;IAC1C,KAAK,aAAa;MAChB;MACA,oBAAOtB,MAAA,CAAAa,OAAA,CAAAY,aAAA,CAAChB,WAAA,CAAAI,OAAc,EAAKS,QAAQ,CAAC,CAAI,CAAC;IAC3C,KAAK,eAAe;MAClB;MACA,oBAAOtB,MAAA,CAAAa,OAAA,CAAAY,aAAA,CAACf,aAAA,CAAAG,OAAgB,EAAKS,QAAQ,CAAC,CAAI,CAAC;IAC7C;MACE,OAAO,IAAI;EACf;AACF,CAAC;AAAC,IAAAI,QAAA,GAAAC,OAAA,CAAAd,OAAA,GAEaC,QAAQ","ignoreList":[]}
@@ -1,33 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _reactNative = require("react-native");
8
- var _react = _interopRequireDefault(require("react"));
9
- var _styling = require("../themes/styling");
10
- var _themes = require("../themes");
11
- var _BaseIcon = _interopRequireDefault(require("./BaseIcon"));
12
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
- const CloseButton = ({
14
- onPress
15
- }) => {
16
- return /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
17
- style: styles.BackButtons,
18
- onPress: onPress
19
- }, /*#__PURE__*/_react.default.createElement(_BaseIcon.default, {
20
- name: "close",
21
- color: _themes.COLORS.secondaryBase1
22
- }));
23
- };
24
- var _default = exports.default = CloseButton;
25
- const styles = _reactNative.StyleSheet.create({
26
- BackButtons: {
27
- padding: 6,
28
- justifyContent: 'center',
29
- alignItems: 'center',
30
- marginLeft: (0, _styling.pixelSizeHorizontal)(16)
31
- }
32
- });
33
- //# sourceMappingURL=CloseButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_reactNative","require","_react","_interopRequireDefault","_styling","_themes","_BaseIcon","e","__esModule","default","CloseButton","onPress","createElement","TouchableOpacity","style","styles","BackButtons","name","color","COLORS","secondaryBase1","_default","exports","StyleSheet","create","padding","justifyContent","alignItems","marginLeft","pixelSizeHorizontal"],"sourceRoot":"..\\..\\..\\src","sources":["components/CloseButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAH,sBAAA,CAAAF,OAAA;AAAkC,SAAAE,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAMlC,MAAMG,WAA4B,GAAGA,CAAC;EAAEC;AAAQ,CAAC,KAAK;EACpD,oBACET,MAAA,CAAAO,OAAA,CAAAG,aAAA,CAACZ,YAAA,CAAAa,gBAAgB;IAACC,KAAK,EAAEC,MAAM,CAACC,WAAY;IAACL,OAAO,EAAEA;EAAQ,gBAC5DT,MAAA,CAAAO,OAAA,CAAAG,aAAA,CAACN,SAAA,CAAAG,OAAQ;IAACQ,IAAI,EAAC,OAAO;IAACC,KAAK,EAAEC,cAAM,CAACC;EAAe,CAAE,CACtC,CAAC;AAEvB,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAb,OAAA,GAEaC,WAAW;AAE1B,MAAMK,MAAM,GAAGQ,uBAAU,CAACC,MAAM,CAAC;EAC/BR,WAAW,EAAE;IACXS,OAAO,EAAE,CAAC;IACVC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,UAAU,EAAE,IAAAC,4BAAmB,EAAC,EAAE;EACpC;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,54 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _styling = require("../themes/styling");
8
- var _react = _interopRequireDefault(require("react"));
9
- var _reactNative = require("react-native");
10
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
- const CustomHeader = ({
12
- headerLeft,
13
- headerRight,
14
- headerTitle,
15
- containerStyle
16
- }) => {
17
- return /*#__PURE__*/_react.default.createElement(_reactNative.SafeAreaView, {
18
- style: [styles.ViewHeader, containerStyle]
19
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
20
- style: styles.headerLeft
21
- }, headerLeft), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
22
- style: styles.headerTitle
23
- }, headerTitle), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
24
- style: styles.headerRight
25
- }, headerRight));
26
- };
27
- var _default = exports.default = CustomHeader;
28
- const styles = _reactNative.StyleSheet.create({
29
- ViewHeader: {
30
- flexDirection: 'row',
31
- alignItems: 'center',
32
- marginTop: (0, _styling.pixelSizeVertical)(15),
33
- width: '100%'
34
- },
35
- headerLeft: {
36
- // flex: 1,
37
- minWidth: 50,
38
- justifyContent: 'center',
39
- alignItems: 'flex-start'
40
- },
41
- headerRight: {
42
- // flex: 1,
43
- minWidth: 50,
44
- justifyContent: 'center',
45
- alignItems: 'flex-end'
46
- },
47
- headerTitle: {
48
- flex: 1,
49
- justifyContent: 'center',
50
- alignItems: 'center',
51
- width: 'auto'
52
- }
53
- });
54
- //# sourceMappingURL=CustomHeader.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_styling","require","_react","_interopRequireDefault","_reactNative","e","__esModule","default","CustomHeader","headerLeft","headerRight","headerTitle","containerStyle","createElement","SafeAreaView","style","styles","ViewHeader","View","_default","exports","StyleSheet","create","flexDirection","alignItems","marginTop","pixelSizeVertical","width","minWidth","justifyContent","flex"],"sourceRoot":"..\\..\\..\\src","sources":["components/CustomHeader.tsx"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AAA8D,SAAAE,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAY9D,MAAMG,YAAyC,GAAGA,CAAC;EACjDC,UAAU;EACVC,WAAW;EACXC,WAAW;EACXC;AACF,CAAC,KAAK;EACJ,oBACEV,MAAA,CAAAK,OAAA,CAAAM,aAAA,CAACT,YAAA,CAAAU,YAAY;IAACC,KAAK,EAAE,CAACC,MAAM,CAACC,UAAU,EAAEL,cAAc;EAAE,gBACvDV,MAAA,CAAAK,OAAA,CAAAM,aAAA,CAACT,YAAA,CAAAc,IAAI;IAACH,KAAK,EAAEC,MAAM,CAACP;EAAW,GAAEA,UAAiB,CAAC,eACnDP,MAAA,CAAAK,OAAA,CAAAM,aAAA,CAACT,YAAA,CAAAc,IAAI;IAACH,KAAK,EAAEC,MAAM,CAACL;EAAY,GAAEA,WAAkB,CAAC,eACrDT,MAAA,CAAAK,OAAA,CAAAM,aAAA,CAACT,YAAA,CAAAc,IAAI;IAACH,KAAK,EAAEC,MAAM,CAACN;EAAY,GAAEA,WAAkB,CACxC,CAAC;AAEnB,CAAC;AAAC,IAAAS,QAAA,GAAAC,OAAA,CAAAb,OAAA,GAEaC,YAAY;AAE3B,MAAMQ,MAAM,GAAGK,uBAAU,CAACC,MAAM,CAAC;EAC/BL,UAAU,EAAE;IACVM,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IAEpBC,SAAS,EAAE,IAAAC,0BAAiB,EAAC,EAAE,CAAC;IAChCC,KAAK,EAAE;EACT,CAAC;EACDlB,UAAU,EAAE;IACV;IACAmB,QAAQ,EAAE,EAAE;IACZC,cAAc,EAAE,QAAQ;IACxBL,UAAU,EAAE;EACd,CAAC;EACDd,WAAW,EAAE;IACX;IACAkB,QAAQ,EAAE,EAAE;IACZC,cAAc,EAAE,QAAQ;IACxBL,UAAU,EAAE;EACd,CAAC;EACDb,WAAW,EAAE;IACXmB,IAAI,EAAE,CAAC;IACPD,cAAc,EAAE,QAAQ;IACxBL,UAAU,EAAE,QAAQ;IACpBG,KAAK,EAAE;EACT;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,16 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _react = _interopRequireDefault(require("react"));
8
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
9
- const Each = ({
10
- render,
11
- of
12
- }) => {
13
- return _react.default.Children.toArray(of === null || of === void 0 ? void 0 : of.map((item, index) => render(item, index)));
14
- };
15
- var _default = exports.default = Each;
16
- //# sourceMappingURL=Each.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","e","__esModule","default","Each","render","of","React","Children","toArray","map","item","index","_default","exports"],"sourceRoot":"..\\..\\..\\src","sources":["components/Each.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA0B,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAO1B,MAAMG,IAAyB,GAAGA,CAAC;EAAEC,MAAM;EAAEC;AAAG,CAAC,KAAK;EACpD,OAAOC,cAAK,CAACC,QAAQ,CAACC,OAAO,CAACH,EAAE,aAAFA,EAAE,uBAAFA,EAAE,CAAEI,GAAG,CAAC,CAACC,IAAI,EAAEC,KAAK,KAAKP,MAAM,CAACM,IAAI,EAAEC,KAAK,CAAC,CAAC,CAAC;AAC9E,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAX,OAAA,GAEaC,IAAI","ignoreList":[]}
@@ -1,45 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _reactNative = require("react-native");
8
- var _react = _interopRequireDefault(require("react"));
9
- var _CustomHeader = _interopRequireDefault(require("./CustomHeader"));
10
- var _themes = require("../themes");
11
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
- const Page = ({
13
- containerStyle,
14
- scrollViewStyle,
15
- scrollViewContentContainerStyle,
16
- children,
17
- footerComponent,
18
- headerContainerStyle,
19
- headerLeft,
20
- headerRight,
21
- headerTitle
22
- }) => {
23
- return /*#__PURE__*/_react.default.createElement(_reactNative.SafeAreaView, {
24
- style: [styles.container, containerStyle]
25
- }, /*#__PURE__*/_react.default.createElement(_CustomHeader.default, {
26
- headerLeft: headerLeft,
27
- headerRight: headerRight,
28
- headerTitle: headerTitle,
29
- containerStyle: headerContainerStyle
30
- }), /*#__PURE__*/_react.default.createElement(_reactNative.ScrollView, {
31
- style: scrollViewStyle,
32
- contentContainerStyle: [styles.ScrollViewContainer, scrollViewContentContainerStyle]
33
- }, children), footerComponent);
34
- };
35
- var _default = exports.default = Page;
36
- const styles = _reactNative.StyleSheet.create({
37
- container: {
38
- flex: 1,
39
- backgroundColor: _themes.COLORS.white
40
- },
41
- ScrollViewContainer: {
42
- flexGrow: 1
43
- }
44
- });
45
- //# sourceMappingURL=Page.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_reactNative","require","_react","_interopRequireDefault","_CustomHeader","_themes","e","__esModule","default","Page","containerStyle","scrollViewStyle","scrollViewContentContainerStyle","children","footerComponent","headerContainerStyle","headerLeft","headerRight","headerTitle","createElement","SafeAreaView","style","styles","container","ScrollView","contentContainerStyle","ScrollViewContainer","_default","exports","StyleSheet","create","flex","backgroundColor","COLORS","white","flexGrow"],"sourceRoot":"..\\..\\..\\src","sources":["components/Page.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,aAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AAAmC,SAAAE,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAgBnC,MAAMG,IAAyB,GAAGA,CAAC;EACjCC,cAAc;EACdC,eAAe;EACfC,+BAA+B;EAC/BC,QAAQ;EACRC,eAAe;EACfC,oBAAoB;EACpBC,UAAU;EACVC,WAAW;EACXC;AACF,CAAC,KAAK;EACJ,oBACEhB,MAAA,CAAAM,OAAA,CAAAW,aAAA,CAACnB,YAAA,CAAAoB,YAAY;IAACC,KAAK,EAAE,CAACC,MAAM,CAACC,SAAS,EAAEb,cAAc;EAAE,gBACtDR,MAAA,CAAAM,OAAA,CAAAW,aAAA,CAACf,aAAA,CAAAI,OAAY;IACXQ,UAAU,EAAEA,UAAW;IACvBC,WAAW,EAAEA,WAAY;IACzBC,WAAW,EAAEA,WAAY;IACzBR,cAAc,EAAEK;EAAqB,CACtC,CAAC,eACFb,MAAA,CAAAM,OAAA,CAAAW,aAAA,CAACnB,YAAA,CAAAwB,UAAU;IACTH,KAAK,EAAEV,eAAgB;IACvBc,qBAAqB,EAAE,CACrBH,MAAM,CAACI,mBAAmB,EAC1Bd,+BAA+B;EAC/B,GAEDC,QACS,CAAC,EACZC,eACW,CAAC;AAEnB,CAAC;AAAC,IAAAa,QAAA,GAAAC,OAAA,CAAApB,OAAA,GAEaC,IAAI;AAEnB,MAAMa,MAAM,GAAGO,uBAAU,CAACC,MAAM,CAAC;EAC/BP,SAAS,EAAE;IACTQ,IAAI,EAAE,CAAC;IACPC,eAAe,EAAEC,cAAM,CAACC;EAC1B,CAAC;EACDR,mBAAmB,EAAE;IACnBS,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,28 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _react = _interopRequireDefault(require("react"));
8
- var _reactNativeSvg = _interopRequireWildcard(require("react-native-svg"));
9
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
10
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
11
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
13
- const ArrowLeftIcon = props => /*#__PURE__*/_react.default.createElement(_reactNativeSvg.default, _extends({
14
- width: 24,
15
- height: 24,
16
- viewBox: "0 0 24 24",
17
- fill: "none"
18
- // @ts-ignore
19
- ,
20
- xmlns: "http://www.w3.org/2000/svg"
21
- }, props), /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Path, {
22
- fillRule: "evenodd",
23
- clipRule: "evenodd",
24
- d: "M12.5303 5.46967C12.8232 5.76256 12.8232 6.23744 12.5303 6.53033L7.81066 11.25H18.5C18.9142 11.25 19.25 11.5858 19.25 12C19.25 12.4142 18.9142 12.75 18.5 12.75H7.81066L12.5303 17.4697C12.8232 17.7626 12.8232 18.2374 12.5303 18.5303C12.2374 18.8232 11.7626 18.8232 11.4697 18.5303L5.46967 12.5303C5.17678 12.2374 5.17678 11.7626 5.46967 11.4697L11.4697 5.46967C11.7626 5.17678 12.2374 5.17678 12.5303 5.46967Z",
25
- fill: props.color
26
- }));
27
- var _default = exports.default = ArrowLeftIcon;
28
- //# sourceMappingURL=arrow-left.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeSvg","_interopRequireWildcard","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","ArrowLeftIcon","props","createElement","width","height","viewBox","fill","xmlns","Path","fillRule","clipRule","d","color","_default","exports"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/icons/arrow-left.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAC,uBAAA,CAAAF,OAAA;AAA4D,SAAAG,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAF,wBAAAE,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,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AAIC,KAAe,iBAC9ChC,MAAA,CAAAW,OAAA,CAAAsB,aAAA,CAAC9B,eAAA,CAAAQ,OAAG,EAAAc,QAAA;EACFS,KAAK,EAAE,EAAG;EACVC,MAAM,EAAE,EAAG;EACXC,OAAO,EAAC,WAAW;EACnBC,IAAI,EAAC;EACL;EAAA;EACAC,KAAK,EAAC;AAA4B,GAC9BN,KAAK,gBAEThC,MAAA,CAAAW,OAAA,CAAAsB,aAAA,CAAC9B,eAAA,CAAAoC,IAAI;EACHC,QAAQ,EAAC,SAAS;EAClBC,QAAQ,EAAC,SAAS;EAClBC,CAAC,EAAC,0ZAA0Z;EAC5ZL,IAAI,EAAEL,KAAK,CAACW;AAAM,CACnB,CACE,CACN;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAlC,OAAA,GACaoB,aAAa","ignoreList":[]}
@@ -1,34 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _react = _interopRequireDefault(require("react"));
8
- var _reactNativeSvg = _interopRequireWildcard(require("react-native-svg"));
9
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
10
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
11
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
13
- const BigWarningIcon = props => /*#__PURE__*/_react.default.createElement(_reactNativeSvg.default, _extends({
14
- width: 81,
15
- height: 80,
16
- viewBox: "0 0 81 80",
17
- fill: "none"
18
- // @ts-ignore
19
- ,
20
- xmlns: "http://www.w3.org/2000/svg"
21
- }, props), /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Path, {
22
- d: "M40.5 29.9999V43.3333M67.31 69.9999H13.69C8.5633 69.9999 5.35663 64.4533 7.90996 60.0099L34.72 13.3833C37.2866 8.9266 43.7166 8.9266 46.28 13.3833L73.09 60.0099C75.6433 64.4533 72.4333 69.9999 67.31 69.9999Z",
23
- stroke: "#DB7742",
24
- strokeWidth: 3,
25
- strokeLinecap: "round"
26
- }), /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Path, {
27
- d: "M40.5 56.7L40.5333 56.6633",
28
- stroke: "#DB7742",
29
- strokeWidth: 3,
30
- strokeLinecap: "round",
31
- strokeLinejoin: "round"
32
- }));
33
- var _default = exports.default = BigWarningIcon;
34
- //# sourceMappingURL=big-warning.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeSvg","_interopRequireWildcard","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","BigWarningIcon","props","createElement","width","height","viewBox","fill","xmlns","Path","d","stroke","strokeWidth","strokeLinecap","strokeLinejoin","_default","exports"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/icons/big-warning.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAC,uBAAA,CAAAF,OAAA;AAA4D,SAAAG,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC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