assentify-sdk-react-native 0.0.2 → 0.0.4

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 (298) hide show
  1. package/README.md +49 -0
  2. package/lib/commonjs/AssentifyProvider.js +2 -49
  3. package/lib/commonjs/AssentifyProvider.js.map +1 -1
  4. package/lib/commonjs/AssentifyWrapper.js +0 -12
  5. package/lib/commonjs/AssentifyWrapper.js.map +1 -1
  6. package/lib/commonjs/types.js.map +1 -1
  7. package/lib/module/AssentifyProvider.js +2 -50
  8. package/lib/module/AssentifyProvider.js.map +1 -1
  9. package/lib/module/AssentifyWrapper.js +0 -11
  10. package/lib/module/AssentifyWrapper.js.map +1 -1
  11. package/lib/module/types.js.map +1 -1
  12. package/lib/typescript/example/src/Home.d.ts.map +1 -1
  13. package/lib/typescript/lib/commonjs/AssentifyProvider.d.ts +0 -2
  14. package/lib/typescript/lib/commonjs/AssentifyProvider.d.ts.map +1 -1
  15. package/lib/typescript/lib/commonjs/AssentifyWrapper.d.ts +0 -1
  16. package/lib/typescript/lib/commonjs/AssentifyWrapper.d.ts.map +1 -1
  17. package/lib/typescript/lib/module/AssentifyProvider.d.ts +1 -3
  18. package/lib/typescript/lib/module/AssentifyProvider.d.ts.map +1 -1
  19. package/lib/typescript/lib/module/AssentifyWrapper.d.ts +0 -1
  20. package/lib/typescript/lib/module/AssentifyWrapper.d.ts.map +1 -1
  21. package/lib/typescript/lib/module/index.d.ts +0 -1
  22. package/lib/typescript/lib/module/index.d.ts.map +1 -1
  23. package/lib/typescript/src/AssentifyProvider.d.ts +0 -3
  24. package/lib/typescript/src/AssentifyProvider.d.ts.map +1 -1
  25. package/lib/typescript/src/AssentifyWrapper.d.ts +0 -1
  26. package/lib/typescript/src/AssentifyWrapper.d.ts.map +1 -1
  27. package/lib/typescript/src/index.d.ts +0 -1
  28. package/lib/typescript/src/index.d.ts.map +1 -1
  29. package/lib/typescript/src/types.d.ts +0 -2
  30. package/lib/typescript/src/types.d.ts.map +1 -1
  31. package/package.json +1 -1
  32. package/src/AssentifyProvider.tsx +5 -59
  33. package/src/AssentifyWrapper.ts +19 -29
  34. package/src/types.ts +0 -3
  35. package/lib/commonjs/components/BackButton.js +0 -33
  36. package/lib/commonjs/components/BackButton.js.map +0 -1
  37. package/lib/commonjs/components/BaseButton.js +0 -41
  38. package/lib/commonjs/components/BaseButton.js.map +0 -1
  39. package/lib/commonjs/components/BaseIcon.js +0 -83
  40. package/lib/commonjs/components/BaseIcon.js.map +0 -1
  41. package/lib/commonjs/components/CloseButton.js +0 -33
  42. package/lib/commonjs/components/CloseButton.js.map +0 -1
  43. package/lib/commonjs/components/CustomHeader.js +0 -54
  44. package/lib/commonjs/components/CustomHeader.js.map +0 -1
  45. package/lib/commonjs/components/Each.js +0 -16
  46. package/lib/commonjs/components/Each.js.map +0 -1
  47. package/lib/commonjs/components/Page.js +0 -45
  48. package/lib/commonjs/components/Page.js.map +0 -1
  49. package/lib/commonjs/components/icons/arrow-left.js +0 -28
  50. package/lib/commonjs/components/icons/arrow-left.js.map +0 -1
  51. package/lib/commonjs/components/icons/big-warning.js +0 -34
  52. package/lib/commonjs/components/icons/big-warning.js.map +0 -1
  53. package/lib/commonjs/components/icons/check-success.js +0 -28
  54. package/lib/commonjs/components/icons/check-success.js.map +0 -1
  55. package/lib/commonjs/components/icons/chevron-down.js +0 -28
  56. package/lib/commonjs/components/icons/chevron-down.js.map +0 -1
  57. package/lib/commonjs/components/icons/chevron-left.js +0 -28
  58. package/lib/commonjs/components/icons/chevron-left.js.map +0 -1
  59. package/lib/commonjs/components/icons/chevron-right.js +0 -28
  60. package/lib/commonjs/components/icons/chevron-right.js.map +0 -1
  61. package/lib/commonjs/components/icons/chevron-up.js +0 -27
  62. package/lib/commonjs/components/icons/chevron-up.js.map +0 -1
  63. package/lib/commonjs/components/icons/close.js +0 -28
  64. package/lib/commonjs/components/icons/close.js.map +0 -1
  65. package/lib/commonjs/components/type.js +0 -2
  66. package/lib/commonjs/components/type.js.map +0 -1
  67. package/lib/commonjs/helpers/NavigationService.js +0 -80
  68. package/lib/commonjs/helpers/NavigationService.js.map +0 -1
  69. package/lib/commonjs/helpers/constants.js +0 -16
  70. package/lib/commonjs/helpers/constants.js.map +0 -1
  71. package/lib/commonjs/helpers/useBackHandler.js +0 -16
  72. package/lib/commonjs/helpers/useBackHandler.js.map +0 -1
  73. package/lib/commonjs/navigator/index.js +0 -30
  74. package/lib/commonjs/navigator/index.js.map +0 -1
  75. package/lib/commonjs/screens/SelectDocument.js +0 -248
  76. package/lib/commonjs/screens/SelectDocument.js.map +0 -1
  77. package/lib/commonjs/themes/index.js +0 -22
  78. package/lib/commonjs/themes/index.js.map +0 -1
  79. package/lib/commonjs/themes/styling.js +0 -64
  80. package/lib/commonjs/themes/styling.js.map +0 -1
  81. package/lib/commonjs/useGlobalStore.js +0 -52
  82. package/lib/commonjs/useGlobalStore.js.map +0 -1
  83. package/lib/module/components/BackButton.js +0 -26
  84. package/lib/module/components/BackButton.js.map +0 -1
  85. package/lib/module/components/BaseButton.js +0 -34
  86. package/lib/module/components/BaseButton.js.map +0 -1
  87. package/lib/module/components/BaseIcon.js +0 -76
  88. package/lib/module/components/BaseIcon.js.map +0 -1
  89. package/lib/module/components/CloseButton.js +0 -26
  90. package/lib/module/components/CloseButton.js.map +0 -1
  91. package/lib/module/components/CustomHeader.js +0 -47
  92. package/lib/module/components/CustomHeader.js.map +0 -1
  93. package/lib/module/components/Each.js +0 -9
  94. package/lib/module/components/Each.js.map +0 -1
  95. package/lib/module/components/Page.js +0 -38
  96. package/lib/module/components/Page.js.map +0 -1
  97. package/lib/module/components/icons/arrow-left.js +0 -19
  98. package/lib/module/components/icons/arrow-left.js.map +0 -1
  99. package/lib/module/components/icons/big-warning.js +0 -25
  100. package/lib/module/components/icons/big-warning.js.map +0 -1
  101. package/lib/module/components/icons/check-success.js +0 -19
  102. package/lib/module/components/icons/check-success.js.map +0 -1
  103. package/lib/module/components/icons/chevron-down.js +0 -19
  104. package/lib/module/components/icons/chevron-down.js.map +0 -1
  105. package/lib/module/components/icons/chevron-left.js +0 -19
  106. package/lib/module/components/icons/chevron-left.js.map +0 -1
  107. package/lib/module/components/icons/chevron-right.js +0 -19
  108. package/lib/module/components/icons/chevron-right.js.map +0 -1
  109. package/lib/module/components/icons/chevron-up.js +0 -19
  110. package/lib/module/components/icons/chevron-up.js.map +0 -1
  111. package/lib/module/components/icons/close.js +0 -19
  112. package/lib/module/components/icons/close.js.map +0 -1
  113. package/lib/module/components/type.js +0 -2
  114. package/lib/module/components/type.js.map +0 -1
  115. package/lib/module/helpers/NavigationService.js +0 -75
  116. package/lib/module/helpers/NavigationService.js.map +0 -1
  117. package/lib/module/helpers/constants.js +0 -10
  118. package/lib/module/helpers/constants.js.map +0 -1
  119. package/lib/module/helpers/useBackHandler.js +0 -10
  120. package/lib/module/helpers/useBackHandler.js.map +0 -1
  121. package/lib/module/navigator/index.js +0 -23
  122. package/lib/module/navigator/index.js.map +0 -1
  123. package/lib/module/screens/SelectDocument.js +0 -240
  124. package/lib/module/screens/SelectDocument.js.map +0 -1
  125. package/lib/module/themes/index.js +0 -16
  126. package/lib/module/themes/index.js.map +0 -1
  127. package/lib/module/themes/styling.js +0 -52
  128. package/lib/module/themes/styling.js.map +0 -1
  129. package/lib/module/useGlobalStore.js +0 -46
  130. package/lib/module/useGlobalStore.js.map +0 -1
  131. package/lib/typescript/lib/commonjs/components/BackButton.d.ts +0 -6
  132. package/lib/typescript/lib/commonjs/components/BackButton.d.ts.map +0 -1
  133. package/lib/typescript/lib/commonjs/components/BaseButton.d.ts +0 -7
  134. package/lib/typescript/lib/commonjs/components/BaseButton.d.ts.map +0 -1
  135. package/lib/typescript/lib/commonjs/components/BaseIcon.d.ts +0 -29
  136. package/lib/typescript/lib/commonjs/components/BaseIcon.d.ts.map +0 -1
  137. package/lib/typescript/lib/commonjs/components/CloseButton.d.ts +0 -6
  138. package/lib/typescript/lib/commonjs/components/CloseButton.d.ts.map +0 -1
  139. package/lib/typescript/lib/commonjs/components/CustomHeader.d.ts +0 -9
  140. package/lib/typescript/lib/commonjs/components/CustomHeader.d.ts.map +0 -1
  141. package/lib/typescript/lib/commonjs/components/Each.d.ts +0 -7
  142. package/lib/typescript/lib/commonjs/components/Each.d.ts.map +0 -1
  143. package/lib/typescript/lib/commonjs/components/Page.d.ts +0 -14
  144. package/lib/typescript/lib/commonjs/components/Page.d.ts.map +0 -1
  145. package/lib/typescript/lib/commonjs/components/icons/arrow-left.d.ts +0 -4
  146. package/lib/typescript/lib/commonjs/components/icons/arrow-left.d.ts.map +0 -1
  147. package/lib/typescript/lib/commonjs/components/icons/big-warning.d.ts +0 -4
  148. package/lib/typescript/lib/commonjs/components/icons/big-warning.d.ts.map +0 -1
  149. package/lib/typescript/lib/commonjs/components/icons/check-success.d.ts +0 -4
  150. package/lib/typescript/lib/commonjs/components/icons/check-success.d.ts.map +0 -1
  151. package/lib/typescript/lib/commonjs/components/icons/chevron-down.d.ts +0 -4
  152. package/lib/typescript/lib/commonjs/components/icons/chevron-down.d.ts.map +0 -1
  153. package/lib/typescript/lib/commonjs/components/icons/chevron-left.d.ts +0 -4
  154. package/lib/typescript/lib/commonjs/components/icons/chevron-left.d.ts.map +0 -1
  155. package/lib/typescript/lib/commonjs/components/icons/chevron-right.d.ts +0 -4
  156. package/lib/typescript/lib/commonjs/components/icons/chevron-right.d.ts.map +0 -1
  157. package/lib/typescript/lib/commonjs/components/icons/chevron-up.d.ts +0 -4
  158. package/lib/typescript/lib/commonjs/components/icons/chevron-up.d.ts.map +0 -1
  159. package/lib/typescript/lib/commonjs/components/icons/close.d.ts +0 -4
  160. package/lib/typescript/lib/commonjs/components/icons/close.d.ts.map +0 -1
  161. package/lib/typescript/lib/commonjs/components/type.d.ts +0 -1
  162. package/lib/typescript/lib/commonjs/components/type.d.ts.map +0 -1
  163. package/lib/typescript/lib/commonjs/helpers/NavigationService.d.ts +0 -29
  164. package/lib/typescript/lib/commonjs/helpers/NavigationService.d.ts.map +0 -1
  165. package/lib/typescript/lib/commonjs/helpers/constants.d.ts +0 -11
  166. package/lib/typescript/lib/commonjs/helpers/constants.d.ts.map +0 -1
  167. package/lib/typescript/lib/commonjs/helpers/useBackHandler.d.ts +0 -3
  168. package/lib/typescript/lib/commonjs/helpers/useBackHandler.d.ts.map +0 -1
  169. package/lib/typescript/lib/commonjs/navigator/index.d.ts +0 -4
  170. package/lib/typescript/lib/commonjs/navigator/index.d.ts.map +0 -1
  171. package/lib/typescript/lib/commonjs/screens/SelectDocument.d.ts +0 -4
  172. package/lib/typescript/lib/commonjs/screens/SelectDocument.d.ts.map +0 -1
  173. package/lib/typescript/lib/commonjs/themes/index.d.ts +0 -17
  174. package/lib/typescript/lib/commonjs/themes/index.d.ts.map +0 -1
  175. package/lib/typescript/lib/commonjs/themes/styling.d.ts +0 -8
  176. package/lib/typescript/lib/commonjs/themes/styling.d.ts.map +0 -1
  177. package/lib/typescript/lib/commonjs/useGlobalStore.d.ts +0 -5
  178. package/lib/typescript/lib/commonjs/useGlobalStore.d.ts.map +0 -1
  179. package/lib/typescript/lib/module/components/BackButton.d.ts +0 -7
  180. package/lib/typescript/lib/module/components/BackButton.d.ts.map +0 -1
  181. package/lib/typescript/lib/module/components/BaseButton.d.ts +0 -8
  182. package/lib/typescript/lib/module/components/BaseButton.d.ts.map +0 -1
  183. package/lib/typescript/lib/module/components/BaseIcon.d.ts +0 -29
  184. package/lib/typescript/lib/module/components/BaseIcon.d.ts.map +0 -1
  185. package/lib/typescript/lib/module/components/CloseButton.d.ts +0 -7
  186. package/lib/typescript/lib/module/components/CloseButton.d.ts.map +0 -1
  187. package/lib/typescript/lib/module/components/CustomHeader.d.ts +0 -10
  188. package/lib/typescript/lib/module/components/CustomHeader.d.ts.map +0 -1
  189. package/lib/typescript/lib/module/components/Each.d.ts +0 -7
  190. package/lib/typescript/lib/module/components/Each.d.ts.map +0 -1
  191. package/lib/typescript/lib/module/components/Page.d.ts +0 -15
  192. package/lib/typescript/lib/module/components/Page.d.ts.map +0 -1
  193. package/lib/typescript/lib/module/components/icons/arrow-left.d.ts +0 -5
  194. package/lib/typescript/lib/module/components/icons/arrow-left.d.ts.map +0 -1
  195. package/lib/typescript/lib/module/components/icons/big-warning.d.ts +0 -5
  196. package/lib/typescript/lib/module/components/icons/big-warning.d.ts.map +0 -1
  197. package/lib/typescript/lib/module/components/icons/check-success.d.ts +0 -5
  198. package/lib/typescript/lib/module/components/icons/check-success.d.ts.map +0 -1
  199. package/lib/typescript/lib/module/components/icons/chevron-down.d.ts +0 -5
  200. package/lib/typescript/lib/module/components/icons/chevron-down.d.ts.map +0 -1
  201. package/lib/typescript/lib/module/components/icons/chevron-left.d.ts +0 -5
  202. package/lib/typescript/lib/module/components/icons/chevron-left.d.ts.map +0 -1
  203. package/lib/typescript/lib/module/components/icons/chevron-right.d.ts +0 -5
  204. package/lib/typescript/lib/module/components/icons/chevron-right.d.ts.map +0 -1
  205. package/lib/typescript/lib/module/components/icons/chevron-up.d.ts +0 -5
  206. package/lib/typescript/lib/module/components/icons/chevron-up.d.ts.map +0 -1
  207. package/lib/typescript/lib/module/components/icons/close.d.ts +0 -5
  208. package/lib/typescript/lib/module/components/icons/close.d.ts.map +0 -1
  209. package/lib/typescript/lib/module/components/type.d.ts +0 -1
  210. package/lib/typescript/lib/module/components/type.d.ts.map +0 -1
  211. package/lib/typescript/lib/module/helpers/NavigationService.d.ts +0 -28
  212. package/lib/typescript/lib/module/helpers/NavigationService.d.ts.map +0 -1
  213. package/lib/typescript/lib/module/helpers/constants.d.ts +0 -10
  214. package/lib/typescript/lib/module/helpers/constants.d.ts.map +0 -1
  215. package/lib/typescript/lib/module/helpers/useBackHandler.d.ts +0 -2
  216. package/lib/typescript/lib/module/helpers/useBackHandler.d.ts.map +0 -1
  217. package/lib/typescript/lib/module/navigator/index.d.ts +0 -4
  218. package/lib/typescript/lib/module/navigator/index.d.ts.map +0 -1
  219. package/lib/typescript/lib/module/screens/SelectDocument.d.ts +0 -4
  220. package/lib/typescript/lib/module/screens/SelectDocument.d.ts.map +0 -1
  221. package/lib/typescript/lib/module/themes/index.d.ts +0 -16
  222. package/lib/typescript/lib/module/themes/index.d.ts.map +0 -1
  223. package/lib/typescript/lib/module/themes/styling.d.ts +0 -7
  224. package/lib/typescript/lib/module/themes/styling.d.ts.map +0 -1
  225. package/lib/typescript/lib/module/useGlobalStore.d.ts +0 -3
  226. package/lib/typescript/lib/module/useGlobalStore.d.ts.map +0 -1
  227. package/lib/typescript/src/components/BackButton.d.ts +0 -7
  228. package/lib/typescript/src/components/BackButton.d.ts.map +0 -1
  229. package/lib/typescript/src/components/BaseButton.d.ts +0 -8
  230. package/lib/typescript/src/components/BaseButton.d.ts.map +0 -1
  231. package/lib/typescript/src/components/BaseIcon.d.ts +0 -45
  232. package/lib/typescript/src/components/BaseIcon.d.ts.map +0 -1
  233. package/lib/typescript/src/components/CloseButton.d.ts +0 -7
  234. package/lib/typescript/src/components/CloseButton.d.ts.map +0 -1
  235. package/lib/typescript/src/components/CustomHeader.d.ts +0 -12
  236. package/lib/typescript/src/components/CustomHeader.d.ts.map +0 -1
  237. package/lib/typescript/src/components/Each.d.ts +0 -8
  238. package/lib/typescript/src/components/Each.d.ts.map +0 -1
  239. package/lib/typescript/src/components/Page.d.ts +0 -17
  240. package/lib/typescript/src/components/Page.d.ts.map +0 -1
  241. package/lib/typescript/src/components/icons/arrow-left.d.ts +0 -4
  242. package/lib/typescript/src/components/icons/arrow-left.d.ts.map +0 -1
  243. package/lib/typescript/src/components/icons/big-warning.d.ts +0 -4
  244. package/lib/typescript/src/components/icons/big-warning.d.ts.map +0 -1
  245. package/lib/typescript/src/components/icons/check-success.d.ts +0 -4
  246. package/lib/typescript/src/components/icons/check-success.d.ts.map +0 -1
  247. package/lib/typescript/src/components/icons/chevron-down.d.ts +0 -4
  248. package/lib/typescript/src/components/icons/chevron-down.d.ts.map +0 -1
  249. package/lib/typescript/src/components/icons/chevron-left.d.ts +0 -4
  250. package/lib/typescript/src/components/icons/chevron-left.d.ts.map +0 -1
  251. package/lib/typescript/src/components/icons/chevron-right.d.ts +0 -4
  252. package/lib/typescript/src/components/icons/chevron-right.d.ts.map +0 -1
  253. package/lib/typescript/src/components/icons/chevron-up.d.ts +0 -4
  254. package/lib/typescript/src/components/icons/chevron-up.d.ts.map +0 -1
  255. package/lib/typescript/src/components/icons/close.d.ts +0 -4
  256. package/lib/typescript/src/components/icons/close.d.ts.map +0 -1
  257. package/lib/typescript/src/components/type.d.ts +0 -3
  258. package/lib/typescript/src/components/type.d.ts.map +0 -1
  259. package/lib/typescript/src/helpers/NavigationService.d.ts +0 -29
  260. package/lib/typescript/src/helpers/NavigationService.d.ts.map +0 -1
  261. package/lib/typescript/src/helpers/constants.d.ts +0 -10
  262. package/lib/typescript/src/helpers/constants.d.ts.map +0 -1
  263. package/lib/typescript/src/helpers/useBackHandler.d.ts +0 -2
  264. package/lib/typescript/src/helpers/useBackHandler.d.ts.map +0 -1
  265. package/lib/typescript/src/navigator/index.d.ts +0 -4
  266. package/lib/typescript/src/navigator/index.d.ts.map +0 -1
  267. package/lib/typescript/src/screens/SelectDocument.d.ts +0 -5
  268. package/lib/typescript/src/screens/SelectDocument.d.ts.map +0 -1
  269. package/lib/typescript/src/themes/index.d.ts +0 -16
  270. package/lib/typescript/src/themes/index.d.ts.map +0 -1
  271. package/lib/typescript/src/themes/styling.d.ts +0 -7
  272. package/lib/typescript/src/themes/styling.d.ts.map +0 -1
  273. package/lib/typescript/src/useGlobalStore.d.ts +0 -25
  274. package/lib/typescript/src/useGlobalStore.d.ts.map +0 -1
  275. package/src/components/BackButton.tsx +0 -28
  276. package/src/components/BaseButton.tsx +0 -44
  277. package/src/components/BaseIcon.tsx +0 -96
  278. package/src/components/CloseButton.tsx +0 -28
  279. package/src/components/CustomHeader.tsx +0 -58
  280. package/src/components/Each.tsx +0 -12
  281. package/src/components/Page.tsx +0 -64
  282. package/src/components/icons/arrow-left.tsx +0 -22
  283. package/src/components/icons/big-warning.tsx +0 -29
  284. package/src/components/icons/check-success.tsx +0 -22
  285. package/src/components/icons/chevron-down.tsx +0 -22
  286. package/src/components/icons/chevron-left.tsx +0 -22
  287. package/src/components/icons/chevron-right.tsx +0 -22
  288. package/src/components/icons/chevron-up.tsx +0 -22
  289. package/src/components/icons/close.tsx +0 -22
  290. package/src/components/type.ts +0 -11
  291. package/src/helpers/NavigationService.ts +0 -89
  292. package/src/helpers/constants.ts +0 -13
  293. package/src/helpers/useBackHandler.ts +0 -14
  294. package/src/navigator/index.tsx +0 -34
  295. package/src/screens/SelectDocument.tsx +0 -250
  296. package/src/themes/index.ts +0 -16
  297. package/src/themes/styling.ts +0 -53
  298. package/src/useGlobalStore.ts +0 -65
@@ -1,240 +0,0 @@
1
- import { StyleSheet, Text, TouchableOpacity, View, FlatList } from 'react-native';
2
- import React, { useEffect, useState } from 'react';
3
- import { fontPixel, pixelSizeHorizontal, pixelSizeVertical } from '../themes/styling';
4
- import { COLORS } from '../themes';
5
- import BaseIcon from '../components/BaseIcon';
6
- import Page from '../components/Page';
7
- import CloseButton from '../components/CloseButton';
8
- import useGlobalStore from '../useGlobalStore';
9
- import Each from '../components/Each';
10
- import { useBackHandler } from '../helpers/useBackHandler';
11
- import { Image } from 'react-native';
12
- import { kycDocumentDetailsSize, bottomSheetModalRef } from '../AssentifyProvider';
13
- import AssentifyWrapper from '../AssentifyWrapper';
14
- const SelectDocument = () => {
15
- const {
16
- supportedTemplates,
17
- languageCode,
18
- supportedCountries,
19
- preferredCountry,
20
- countryCode,
21
- setCountryCode,
22
- setSupportedTemplates,
23
- setKYCDocumentDetails,
24
- setDocType,
25
- setIsVisible
26
- } = useGlobalStore();
27
- const [isOpenModal, setIsOpenModal] = useState(false);
28
- const [selectedCountry, setSelectedCountry] = useState(null);
29
- useBackHandler(() => {
30
- onClose();
31
- return false;
32
- });
33
- const onClose = () => {
34
- var _bottomSheetModalRef$;
35
- setCountryCode(null);
36
- setDocType(null);
37
- setIsVisible(false);
38
- (_bottomSheetModalRef$ = bottomSheetModalRef.current) === null || _bottomSheetModalRef$ === void 0 || _bottomSheetModalRef$.dismiss();
39
- };
40
- const onScanId = kycDocumentDetailsList => {
41
- kycDocumentDetailsSize.current = (kycDocumentDetailsList === null || kycDocumentDetailsList === void 0 ? void 0 : kycDocumentDetailsList.length) ?? 0;
42
- AssentifyWrapper.startScanIDCard(kycDocumentDetailsList ?? [], languageCode, true);
43
- };
44
- const onScanPassport = () => {
45
- console.log("ExampleEvents : ", languageCode);
46
- AssentifyWrapper.startScanPassport(languageCode);
47
- };
48
- const onSelect = country => {
49
- setCountryCode(country.sourceCountryCode);
50
- setSelectedCountry(country);
51
- setIsOpenModal(false);
52
- };
53
- const onOpen = () => {
54
- setIsOpenModal(true);
55
- };
56
- useEffect(() => {
57
- if (supportedCountries) {
58
- var _supportedCountries$;
59
- const codeToUse = (countryCode ?? '') || ((_supportedCountries$ = supportedCountries[0]) === null || _supportedCountries$ === void 0 ? void 0 : _supportedCountries$.sourceCountryCode);
60
- const selected = supportedCountries.find(item => item.sourceCountryCode === codeToUse);
61
- if (selected) {
62
- const templates = selected.templates;
63
- const kycDetails = [];
64
- templates.forEach(item => {
65
- if (item.kycDocumentDetails && item.kycDocumentDetails.length) {
66
- kycDetails.push(item);
67
- }
68
- });
69
- setSupportedTemplates(kycDetails);
70
- setSelectedCountry(selected);
71
- }
72
- }
73
- }, [countryCode, setSupportedTemplates, supportedCountries]);
74
- return /*#__PURE__*/React.createElement(Page, {
75
- scrollViewStyle: styles.ScrollView,
76
- headerLeft: /*#__PURE__*/React.createElement(CloseButton, {
77
- onPress: onClose
78
- })
79
- }, /*#__PURE__*/React.createElement(View, {
80
- style: styles.container
81
- }, /*#__PURE__*/React.createElement(Text, {
82
- style: styles.CardTitle
83
- }, "Select Document"), preferredCountry && /*#__PURE__*/React.createElement(TouchableOpacity, {
84
- style: styles.DropdownSelect,
85
- onPress: onOpen
86
- }, selectedCountry ? /*#__PURE__*/React.createElement(View, {
87
- style: styles.selectedCountryContainer
88
- }, /*#__PURE__*/React.createElement(Image, {
89
- source: {
90
- uri: selectedCountry.flag
91
- },
92
- style: [styles.flag, {
93
- width: 30,
94
- height: undefined,
95
- aspectRatio: 1
96
- }]
97
- }), /*#__PURE__*/React.createElement(Text, {
98
- style: styles.DropdownTitle
99
- }, selectedCountry.name)) : /*#__PURE__*/React.createElement(Text, {
100
- style: styles.DropdownTitle
101
- }, "Select Country"), /*#__PURE__*/React.createElement(BaseIcon, {
102
- name: "chevron_down",
103
- color: COLORS.secondary800
104
- }))), isOpenModal && /*#__PURE__*/React.createElement(View, {
105
- style: styles.dropdownModal
106
- }, /*#__PURE__*/React.createElement(FlatList, {
107
- data: supportedCountries,
108
- renderItem: ({
109
- item
110
- }) => /*#__PURE__*/React.createElement(TouchableOpacity, {
111
- style: styles.dropdownItem,
112
- onPress: () => onSelect(item)
113
- }, /*#__PURE__*/React.createElement(Image, {
114
- source: {
115
- uri: item.flag
116
- },
117
- style: styles.flag
118
- }), /*#__PURE__*/React.createElement(Text, {
119
- style: styles.DropdownTitle
120
- }, item.name)),
121
- keyExtractor: item => item.sourceCountryCode
122
- })), /*#__PURE__*/React.createElement(View, {
123
- style: styles.Card
124
- }, /*#__PURE__*/React.createElement(Text, {
125
- style: styles.CardTitle
126
- }, "Select document type"), /*#__PURE__*/React.createElement(View, {
127
- style: styles.CardContent
128
- }, /*#__PURE__*/React.createElement(TouchableOpacity, {
129
- style: [styles.CardItem, supportedTemplates !== null && supportedTemplates !== void 0 && supportedTemplates.length ? styles.CardItemBordered : null],
130
- onPress: () => onScanPassport()
131
- }, /*#__PURE__*/React.createElement(Text, {
132
- style: styles.CardItemText
133
- }, "Passport"), /*#__PURE__*/React.createElement(BaseIcon, {
134
- name: "chevron_right",
135
- color: COLORS.secondary800
136
- })), supportedTemplates && /*#__PURE__*/React.createElement(Each, {
137
- of: supportedTemplates,
138
- render: (item, index) => /*#__PURE__*/React.createElement(TouchableOpacity, {
139
- key: `supported_template_${index}`,
140
- style: [styles.CardItem, index !== supportedTemplates.length - 1 ? styles.CardItemBordered : null],
141
- onPress: () => onScanId(item.kycDocumentDetails)
142
- }, /*#__PURE__*/React.createElement(Text, {
143
- style: styles.CardItemText
144
- }, item === null || item === void 0 ? void 0 : item.kycDocumentType), /*#__PURE__*/React.createElement(BaseIcon, {
145
- name: "chevron_right",
146
- color: COLORS.secondary800
147
- }))
148
- }))));
149
- };
150
- export default SelectDocument;
151
- const styles = StyleSheet.create({
152
- ScrollView: {
153
- flex: 1,
154
- backgroundColor: '#fff',
155
- paddingHorizontal: pixelSizeHorizontal(16)
156
- },
157
- container: {
158
- marginTop: pixelSizeVertical(40)
159
- },
160
- Card: {
161
- flex: 1,
162
- marginVertical: pixelSizeVertical(16)
163
- },
164
- CardTitle: {
165
- fontSize: fontPixel(14),
166
- fontWeight: '600',
167
- lineHeight: 20,
168
- color: COLORS.secondary1200,
169
- marginBottom: pixelSizeVertical(8)
170
- },
171
- CardContent: {
172
- borderWidth: 1,
173
- borderColor: COLORS.secondary300,
174
- borderRadius: 16
175
- },
176
- CardItem: {
177
- flexDirection: 'row',
178
- alignItems: 'center',
179
- justifyContent: 'space-between',
180
- paddingLeft: pixelSizeHorizontal(24),
181
- paddingRight: pixelSizeHorizontal(12),
182
- paddingVertical: pixelSizeVertical(16)
183
- },
184
- CardItemBordered: {
185
- borderBottomWidth: 1,
186
- borderBottomColor: COLORS.secondary300
187
- },
188
- CardItemText: {
189
- fontSize: fontPixel(14),
190
- fontWeight: '600',
191
- lineHeight: 20,
192
- color: COLORS.secondaryBase1
193
- },
194
- DropdownSelect: {
195
- borderWidth: 1,
196
- borderColor: COLORS.secondary300,
197
- borderRadius: 16,
198
- flexDirection: 'row',
199
- alignItems: 'center',
200
- justifyContent: 'space-between',
201
- paddingVertical: pixelSizeVertical(10),
202
- paddingHorizontal: pixelSizeVertical(16)
203
- },
204
- DropdownTitle: {
205
- fontSize: fontPixel(14),
206
- fontWeight: '500',
207
- lineHeight: 20,
208
- color: COLORS.secondaryBase1
209
- },
210
- selectedCountryContainer: {
211
- flexDirection: 'row',
212
- alignItems: 'center'
213
- },
214
- flag: {
215
- width: 24,
216
- height: 24,
217
- marginRight: pixelSizeHorizontal(8)
218
- },
219
- dropdownModal: {
220
- backgroundColor: 'white',
221
- borderRadius: 16,
222
- marginTop: pixelSizeVertical(8),
223
- position: 'absolute',
224
- top: 80,
225
- // Adjust depending on your layout
226
- left: 16,
227
- right: 16,
228
- maxHeight: 300,
229
- borderWidth: 1,
230
- borderColor: COLORS.secondary300,
231
- zIndex: 1000
232
- },
233
- dropdownItem: {
234
- flexDirection: 'row',
235
- alignItems: 'center',
236
- paddingVertical: pixelSizeVertical(12),
237
- paddingHorizontal: pixelSizeHorizontal(16)
238
- }
239
- });
240
- //# sourceMappingURL=SelectDocument.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["StyleSheet","Text","TouchableOpacity","View","FlatList","React","useEffect","useState","fontPixel","pixelSizeHorizontal","pixelSizeVertical","COLORS","BaseIcon","Page","CloseButton","useGlobalStore","Each","useBackHandler","Image","kycDocumentDetailsSize","bottomSheetModalRef","AssentifyWrapper","SelectDocument","supportedTemplates","languageCode","supportedCountries","preferredCountry","countryCode","setCountryCode","setSupportedTemplates","setKYCDocumentDetails","setDocType","setIsVisible","isOpenModal","setIsOpenModal","selectedCountry","setSelectedCountry","onClose","_bottomSheetModalRef$","current","dismiss","onScanId","kycDocumentDetailsList","length","startScanIDCard","onScanPassport","console","log","startScanPassport","onSelect","country","sourceCountryCode","onOpen","_supportedCountries$","codeToUse","selected","find","item","templates","kycDetails","forEach","kycDocumentDetails","push","createElement","scrollViewStyle","styles","ScrollView","headerLeft","onPress","style","container","CardTitle","DropdownSelect","selectedCountryContainer","source","uri","flag","width","height","undefined","aspectRatio","DropdownTitle","name","color","secondary800","dropdownModal","data","renderItem","dropdownItem","keyExtractor","Card","CardContent","CardItem","CardItemBordered","CardItemText","of","render","index","key","kycDocumentType","create","flex","backgroundColor","paddingHorizontal","marginTop","marginVertical","fontSize","fontWeight","lineHeight","secondary1200","marginBottom","borderWidth","borderColor","secondary300","borderRadius","flexDirection","alignItems","justifyContent","paddingLeft","paddingRight","paddingVertical","borderBottomWidth","borderBottomColor","secondaryBase1","marginRight","position","top","left","right","maxHeight","zIndex"],"sourceRoot":"..\\..\\..\\src","sources":["screens/SelectDocument.tsx"],"mappings":"AAAA,SAAwBA,UAAU,EAAEC,IAAI,EAAEC,gBAAgB,EAAEC,IAAI,EAAEC,QAAQ,QAAQ,cAAc;AAChG,OAAOC,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAElD,SAASC,SAAS,EAAEC,mBAAmB,EAAEC,iBAAiB,QAAQ,mBAAmB;AACrF,SAASC,MAAM,QAAQ,WAAW;AAClC,OAAOC,QAAQ,MAAM,wBAAwB;AAC7C,OAAOC,IAAI,MAAM,oBAAoB;AACrC,OAAOC,WAAW,MAAM,2BAA2B;AAEnD,OAAOC,cAAc,MAAM,mBAAmB;AAC9C,OAAOC,IAAI,MAAM,oBAAoB;AAErC,SAASC,cAAc,QAAQ,2BAA2B;AAC1D,SAASC,KAAK,QAAQ,cAAc;AACpC,SAASC,sBAAsB,EAACC,mBAAmB,QAAS,sBAAsB;AAClF,OAAQC,gBAAgB,MAAQ,qBAAqB;AAQrD,MAAMC,cAA+B,GAAGA,CAAA,KAAM;EAC5C,MAAM;IACJC,kBAAkB;IAClBC,YAAY;IACZC,kBAAkB;IAClBC,gBAAgB;IAChBC,WAAW;IACXC,cAAc;IACdC,qBAAqB;IACrBC,qBAAqB;IACrBC,UAAU;IACVC;EACF,CAAC,GAAGjB,cAAc,CAAC,CAAC;EACpB,MAAM,CAACkB,WAAW,EAAEC,cAAc,CAAC,GAAG3B,QAAQ,CAAU,KAAK,CAAC;EAC9D,MAAM,CAAC4B,eAAe,EAAEC,kBAAkB,CAAC,GAAG7B,QAAQ,CAA4B,IAAI,CAAC;EACvFU,cAAc,C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,EAAE;IACTC,SAAS,EAAE,GAAG;IACdlB,WAAW,EAAE,CAAC;IACdC,WAAW,EAAErG,MAAM,CAACsG,YAAY;IAChCiB,MAAM,EAAE;EACV,CAAC;EACD1C,YAAY,EAAE;IACZ2B,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBI,eAAe,EAAE9G,iBAAiB,CAAC,EAAE,CAAC;IACtC6F,iBAAiB,EAAE9F,mBAAmB,CAAC,EAAE;EAC3C;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,16 +0,0 @@
1
- export const COLORS = {
2
- white: '#ffffff',
3
- primaryBase1: '#66023C',
4
- secondaryBase1: '#44546A',
5
- secondary100: '#F9FAFB',
6
- secondary200: '#EEF1F6',
7
- secondary300: '#DBE0E9',
8
- secondary700: '#808E9E',
9
- secondary800: '#6C7B8E',
10
- secondary1200: '#2C3844',
11
- grey100: '#F9FAFA',
12
- grey300: '#DCDEE1',
13
- grey600: '#9AA0A7',
14
- grey800: '#76797E'
15
- };
16
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["COLORS","white","primaryBase1","secondaryBase1","secondary100","secondary200","secondary300","secondary700","secondary800","secondary1200","grey100","grey300","grey600","grey800"],"sourceRoot":"..\\..\\..\\src","sources":["themes/index.ts"],"mappings":"AAAA,OAAO,MAAMA,MAAM,GAAG;EACpBC,KAAK,EAAE,SAAS;EAChBC,YAAY,EAAE,SAAS;EAEvBC,cAAc,EAAE,SAAS;EACzBC,YAAY,EAAE,SAAS;EACvBC,YAAY,EAAE,SAAS;EACvBC,YAAY,EAAE,SAAS;EACvBC,YAAY,EAAE,SAAS;EACvBC,YAAY,EAAE,SAAS;EACvBC,aAAa,EAAE,SAAS;EACxBC,OAAO,EAAE,SAAS;EAClBC,OAAO,EAAE,SAAS;EAClBC,OAAO,EAAE,SAAS;EAClBC,OAAO,EAAE;AACX,CAAC","ignoreList":[]}
@@ -1,52 +0,0 @@
1
- import { Dimensions, PixelRatio, Platform } from 'react-native';
2
- const {
3
- width: SCREEN_WIDTH,
4
- height: SCREEN_HEIGHT
5
- } = Dimensions.get('window');
6
- // const ratio = PixelRatio.get();
7
-
8
- // Use iPhone5 as base size which is 320 x 568
9
- // const baseWidth = 320;
10
- // const baseHeight = 568;
11
-
12
- // Use iPhone6 as base size which is 375 x 667
13
- const baseWidth = 375;
14
- const baseHeight = 667;
15
-
16
- // const baseWidth = 375;
17
- // const baseHeight = 811;
18
-
19
- const scaleWidth = SCREEN_WIDTH / baseWidth;
20
- const scaleHeight = SCREEN_HEIGHT / baseHeight;
21
- const scale = Math.min(scaleWidth, scaleHeight);
22
- export const normalize = (size, based = 'width') => {
23
- // const newSize = size * scale;
24
- const newSize = based === 'height' ? size * scale : size * scale;
25
- if (Platform.OS === 'ios') {
26
- return Math.round(PixelRatio.roundToNearestPixel(newSize));
27
- } else {
28
- return Math.round(PixelRatio.roundToNearestPixel(newSize)) - 2;
29
- }
30
- };
31
-
32
- //for width pixel
33
- export const widthPixel = size => {
34
- return normalize(size, 'width');
35
- };
36
- //for height pixel
37
- export const heightPixel = size => {
38
- return normalize(size, 'height');
39
- };
40
- //for font pixel
41
- export const fontPixel = size => {
42
- return heightPixel(size);
43
- };
44
- //for Margin and Padding vertical pixel
45
- export const pixelSizeVertical = size => {
46
- return heightPixel(size);
47
- };
48
- //for Margin and Padding horizontal pixel
49
- export const pixelSizeHorizontal = size => {
50
- return widthPixel(size);
51
- };
52
- //# sourceMappingURL=styling.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["Dimensions","PixelRatio","Platform","width","SCREEN_WIDTH","height","SCREEN_HEIGHT","get","baseWidth","baseHeight","scaleWidth","scaleHeight","scale","Math","min","normalize","size","based","newSize","OS","round","roundToNearestPixel","widthPixel","heightPixel","fontPixel","pixelSizeVertical","pixelSizeHorizontal"],"sourceRoot":"..\\..\\..\\src","sources":["themes/styling.ts"],"mappings":"AAAA,SAASA,UAAU,EAAEC,UAAU,EAAEC,QAA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K;EACjD,OAAOO,WAAW,CAACP,IAAI,CAAC;AAC1B,CAAC;AACD;AACA,OAAO,MAAMU,mBAAmB,GAAIV,IAAY,IAAK;EACnD,OAAOM,UAAU,CAACN,IAAI,CAAC;AACzB,CAAC","ignoreList":[]}
@@ -1,46 +0,0 @@
1
- import { create } from 'zustand';
2
- const persistState = {
3
- countryCode: '',
4
- languageCode: '',
5
- preferredCountry: [],
6
- supportedCountries: [],
7
- supportedTemplates: [],
8
- kycDocumentDetails: []
9
- };
10
- const initialState = {
11
- docType: null,
12
- isVisible: false
13
- };
14
- const useGlobalStore = create()(set => ({
15
- ...initialState,
16
- ...persistState,
17
- setCountryCode: countryCode => set({
18
- countryCode: countryCode
19
- }),
20
- setFlowLanguage: languageCode => set({
21
- languageCode: languageCode
22
- }),
23
- setPreferredCountry: preferredCountry => set({
24
- preferredCountry
25
- }),
26
- setSupportedCountries: supportedCountries => set({
27
- supportedCountries
28
- }),
29
- setSupportedTemplates: supportedTemplates => set({
30
- supportedTemplates
31
- }),
32
- setKYCDocumentDetails: kycDocumentDetails => set({
33
- kycDocumentDetails
34
- }),
35
- setDocType: docType => set({
36
- docType
37
- }),
38
- setIsVisible: isVisible => set({
39
- isVisible
40
- }),
41
- clearGlobalStore: () => set({
42
- ...initialState
43
- })
44
- }));
45
- export default useGlobalStore;
46
- //# sourceMappingURL=useGlobalStore.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["create","persistState","countryCode","languageCode","preferredCountry","supportedCountries","supportedTemplates","kycDocumentDetails","initialState","docType","isVisible","useGlobalStore","set","setCountryCode","setFlowLanguage","setPreferredCountry","setSupportedCountries","setSupportedTemplates","setKYCDocumentDetails","setDocType","setIsVisible","clearGlobalStore"],"sourceRoot":"..\\..\\src","sources":["useGlobalStore.ts"],"mappings":"AASA,SAASA,MAAM,QAAQ,SAAS;AA2BhC,MAAMC,YAAY,GAAG;EACnBC,WAAW,EAAE,EAAiB;EAC9BC,YAAY,EAAE,EAAkB;EAChCC,gBAAgB,EAAE,EAAE;EACpBC,kBAAkB,EAAE,EAAE;EACtBC,kBAAkB,EAAE,EAAE;EACtBC,kBAAkB,EAAE;AACtB,CAAC;AAED,MAAMC,YAAY,GAAG;EACnBC,OAAO,EAAE,IAAI;EACbC,SAAS,EAAE;AACb,CAAC;AAED,MAAMC,cAAc,GAAGX,MAAM,CAAmB,CAAC,CAAEY,GAAG,KAAM;EAC1D,GAAGJ,YAAY;EACf,GAAGP,YAAY;EACfY,cAAc,EAAGX,WAA+B,IAAKU,GAAG,CAAC;IAAEV,WAAW,EAAEA;EAAmB,CAAC,CAAC;EAC7FY,eAAe,EAAGX,YAAiC,IAAKS,GAAG,CAAC;IAAET,YAAY,EAAEA;EAAoB,CAAC,CAAC;EAClGY,mBAAmB,EAAGX,gBAA+B,IAAIQ,GAAG,CAAC;IAAER;EAAiB,CAAC,CAAC;EAClFY,qBAAqB,EAAGX,kBAAwC,IAAKO,GAAG,CAAC;IAAEP;EAAmB,CAAC,CAAC;EAChGY,qBAAqB,EAAGX,kBAA+B,IAAIM,GAAG,CAAC;IAAEN;EAAmB,CAAC,CAAC;EACtFY,qBAAqB,EAAGX,kBAA+C,IAAIK,GAAG,CAAC;IAAEL;EAAmB,CAAC,CAAC;EACtGY,UAAU,EAAGV,OAAsB,IAAKG,GAAG,CAAC;IAAEH;EAAQ,CAAC,CAAC;EACxDW,YAAY,EAAGV,SAAkB,IAAKE,GAAG,CAAC;IAAEF;EAAU,CAAC,CAAC;EACxDW,gBAAgB,EAAEA,CAAA,KAAMT,GAAG,CAAC;IAAE,GAAGJ;EAAa,CAAC;AACjD,CAAC,CAAC,CAAC;AAEH,eAAeG,cAAc","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- export const __esModule: boolean;
2
- export default BackButton;
3
- declare function BackButton({ onPress }: {
4
- onPress: any;
5
- }): any;
6
- //# sourceMappingURL=BackButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BackButton.d.ts","sourceRoot":"","sources":["../../../../commonjs/components/BackButton.js"],"names":[],"mappings":";;AAYA;;QAUC"}
@@ -1,7 +0,0 @@
1
- export const __esModule: boolean;
2
- export default BaseButton;
3
- declare function BaseButton({ label, onPress }: {
4
- label: any;
5
- onPress: any;
6
- }): any;
7
- //# sourceMappingURL=BaseButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BaseButton.d.ts","sourceRoot":"","sources":["../../../../commonjs/components/BaseButton.js"],"names":[],"mappings":";;AAWA;;;QAWC"}
@@ -1,29 +0,0 @@
1
- export const __esModule: boolean;
2
- export default BaseIcon;
3
- /**
4
- *
5
- * <div class="screenshots">
6
- * <figure>
7
- * <img class="small" src="screenshots/icon-1.png" />
8
- * <figcaption>Default icon</figcaption>
9
- * </figure>
10
- * <figure>
11
- * <img class="small" src="screenshots/icon-2.png" />
12
- * <figcaption>Custom icon colors</figcaption>
13
- * </figure>
14
- * <figure>
15
- * <img class="small" src="screenshots/icon-3.png" />
16
- * <figcaption>Custom icon sizes</figcaption>
17
- * </figure>
18
- * </div>
19
- *
20
- * ## Usage
21
- * ```js
22
- */
23
- declare function BaseIcon({ name, color, size, ...rest }: {
24
- [x: string]: any;
25
- name: any;
26
- color: any;
27
- size: any;
28
- }): any;
29
- //# sourceMappingURL=BaseIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BaseIcon.d.ts","sourceRoot":"","sources":["../../../../commonjs/components/BaseIcon.js"],"names":[],"mappings":";;AAgBA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH;;;;;QA2CC"}
@@ -1,6 +0,0 @@
1
- export const __esModule: boolean;
2
- export default CloseButton;
3
- declare function CloseButton({ onPress }: {
4
- onPress: any;
5
- }): any;
6
- //# sourceMappingURL=CloseButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CloseButton.d.ts","sourceRoot":"","sources":["../../../../commonjs/components/CloseButton.js"],"names":[],"mappings":";;AAYA;;QAUC"}
@@ -1,9 +0,0 @@
1
- export const __esModule: boolean;
2
- export default CustomHeader;
3
- declare function CustomHeader({ headerLeft, headerRight, headerTitle, containerStyle }: {
4
- headerLeft: any;
5
- headerRight: any;
6
- headerTitle: any;
7
- containerStyle: any;
8
- }): any;
9
- //# sourceMappingURL=CustomHeader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CustomHeader.d.ts","sourceRoot":"","sources":["../../../../commonjs/components/CustomHeader.js"],"names":[],"mappings":";;AAUA;;;;;QAeC"}
@@ -1,7 +0,0 @@
1
- export const __esModule: boolean;
2
- export default Each;
3
- declare function Each({ render, of }: {
4
- render: any;
5
- of: any;
6
- }): any;
7
- //# sourceMappingURL=Each.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Each.d.ts","sourceRoot":"","sources":["../../../../commonjs/components/Each.js"],"names":[],"mappings":";;AAQA;;;QAKC"}
@@ -1,14 +0,0 @@
1
- export const __esModule: boolean;
2
- export default Page;
3
- declare function Page({ containerStyle, scrollViewStyle, scrollViewContentContainerStyle, children, footerComponent, headerContainerStyle, headerLeft, headerRight, headerTitle }: {
4
- containerStyle: any;
5
- scrollViewStyle: any;
6
- scrollViewContentContainerStyle: any;
7
- children: any;
8
- footerComponent: any;
9
- headerContainerStyle: any;
10
- headerLeft: any;
11
- headerRight: any;
12
- headerTitle: any;
13
- }): any;
14
- //# sourceMappingURL=Page.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Page.d.ts","sourceRoot":"","sources":["../../../../commonjs/components/Page.js"],"names":[],"mappings":";;AAWA;;;;;;;;;;QAsBC"}
@@ -1,4 +0,0 @@
1
- export const __esModule: boolean;
2
- export default ArrowLeftIcon;
3
- declare function ArrowLeftIcon(props: any): any;
4
- //# sourceMappingURL=arrow-left.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"arrow-left.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/icons/arrow-left.js"],"names":[],"mappings":";;AAYA,gDAaG"}
@@ -1,4 +0,0 @@
1
- export const __esModule: boolean;
2
- export default BigWarningIcon;
3
- declare function BigWarningIcon(props: any): any;
4
- //# sourceMappingURL=big-warning.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"big-warning.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/icons/big-warning.js"],"names":[],"mappings":";;AAYA,iDAmBG"}
@@ -1,4 +0,0 @@
1
- export const __esModule: boolean;
2
- export default CheckSuccessIcon;
3
- declare function CheckSuccessIcon(props: any): any;
4
- //# sourceMappingURL=check-success.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"check-success.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/icons/check-success.js"],"names":[],"mappings":";;AAYA,mDAaG"}
@@ -1,4 +0,0 @@
1
- export const __esModule: boolean;
2
- export default ChevronDownIcon;
3
- declare function ChevronDownIcon(props: any): any;
4
- //# sourceMappingURL=chevron-down.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chevron-down.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/icons/chevron-down.js"],"names":[],"mappings":";;AAYA,kDAaG"}
@@ -1,4 +0,0 @@
1
- export const __esModule: boolean;
2
- export default ChevronLeftIcon;
3
- declare function ChevronLeftIcon(props: any): any;
4
- //# sourceMappingURL=chevron-left.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chevron-left.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/icons/chevron-left.js"],"names":[],"mappings":";;AAYA,kDAaG"}
@@ -1,4 +0,0 @@
1
- export const __esModule: boolean;
2
- export default ChevronRightIcon;
3
- declare function ChevronRightIcon(props: any): any;
4
- //# sourceMappingURL=chevron-right.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chevron-right.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/icons/chevron-right.js"],"names":[],"mappings":";;AAYA,mDAaG"}
@@ -1,4 +0,0 @@
1
- export const __esModule: boolean;
2
- export default ChevronUpIcon;
3
- declare function ChevronUpIcon(props: any): any;
4
- //# sourceMappingURL=chevron-up.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chevron-up.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/icons/chevron-up.js"],"names":[],"mappings":";;AAWA,gDAaG"}
@@ -1,4 +0,0 @@
1
- export const __esModule: boolean;
2
- export default CloseIcon;
3
- declare function CloseIcon(props: any): any;
4
- //# sourceMappingURL=close.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"close.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/icons/close.js"],"names":[],"mappings":";;AAYA,4CAaG"}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../commonjs/components/type.js"],"names":[],"mappings":""}
@@ -1,29 +0,0 @@
1
- export const __esModule: boolean;
2
- declare namespace _default {
3
- export { replace };
4
- export { push };
5
- export { pop };
6
- export { setTopLevelNavigator };
7
- export { setCurrentRoute };
8
- export { getCurrentRoute };
9
- export { getNavigator };
10
- export { navigate };
11
- export { reset };
12
- export { popToTop };
13
- export { goBack };
14
- export { canGoBack };
15
- }
16
- export default _default;
17
- declare function replace(routeName: any, params: any): void;
18
- declare function push(routeName: any, params: any): void;
19
- declare function pop(number?: number): void;
20
- declare function setTopLevelNavigator(navigatorRef: any): void;
21
- declare function setCurrentRoute(route: any): void;
22
- declare function getCurrentRoute(): string;
23
- declare function getNavigator(): any;
24
- declare function navigate(routeName: any, params: any): void;
25
- declare function reset(routeName: any): void;
26
- declare function popToTop(): void;
27
- declare function goBack(): void;
28
- declare function canGoBack(): any;
29
- //# sourceMappingURL=NavigationService.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigationService.d.ts","sourceRoot":"","sources":["../../../../commonjs/helpers/NavigationService.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAeA,4DAEC;AACD,yDAEC;AACD,4CAEC;AAdD,+DAEC;AAyCD,mDAEC;AACD,2CAOC;AA7BD,qCAEC;AAvBD,6DAEC;AAsBD,6CAeC;AA3BD,kCAEC;AACD,gCAEC;AACD,kCAEC"}
@@ -1,11 +0,0 @@
1
- export const __esModule: boolean;
2
- export namespace DOC_TYPE {
3
- let PASSPORT: string;
4
- let CIVIL_ID: string;
5
- let OTHER: string;
6
- }
7
- export namespace PAGES {
8
- let SELECT_DOCUMENT: string;
9
- let Empty: string;
10
- }
11
- //# sourceMappingURL=constants.d.ts.map