@ha_tecno/live-id-sdk 2.12.3 → 2.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (220) hide show
  1. package/lib/commonjs/@types/declarations.d.js +2 -0
  2. package/lib/commonjs/@types/declarations.d.js.map +1 -0
  3. package/lib/commonjs/assets/svg/exampleCalibration1.svg +9 -0
  4. package/lib/commonjs/assets/svg/exampleCalibration2.svg +9 -0
  5. package/lib/commonjs/assets/svg/fingerPrint.svg +30 -0
  6. package/lib/commonjs/assets/svg/fingerPrintWithMask.svg +34 -0
  7. package/lib/commonjs/assets/svg/selfieStick.svg +167 -0
  8. package/lib/commonjs/components/HACaptureInstructions/HACaptureInstructions.js +52 -0
  9. package/lib/commonjs/components/HACaptureInstructions/HACaptureInstructions.js.map +1 -0
  10. package/lib/commonjs/components/HACaptureInstructions/HACard/HACard.js +49 -0
  11. package/lib/commonjs/components/HACaptureInstructions/HACard/HACard.js.map +1 -0
  12. package/lib/commonjs/components/HACaptureInstructions/HACard/styles.js +37 -0
  13. package/lib/commonjs/components/HACaptureInstructions/HACard/styles.js.map +1 -0
  14. package/lib/commonjs/components/HACaptureInstructions/data.js +25 -0
  15. package/lib/commonjs/components/HACaptureInstructions/data.js.map +1 -0
  16. package/lib/commonjs/components/HACaptureInstructions/style.js +32 -0
  17. package/lib/commonjs/components/HACaptureInstructions/style.js.map +1 -0
  18. package/lib/commonjs/components/HACarouselCalibration/HACarouselCalibration.js +81 -0
  19. package/lib/commonjs/components/HACarouselCalibration/HACarouselCalibration.js.map +1 -0
  20. package/lib/commonjs/components/HACarouselCalibration/HACarouselItem/HACarouselItem.js +81 -0
  21. package/lib/commonjs/components/HACarouselCalibration/HACarouselItem/HACarouselItem.js.map +1 -0
  22. package/lib/commonjs/components/HACarouselCalibration/HACarouselItem/styles.js +49 -0
  23. package/lib/commonjs/components/HACarouselCalibration/HACarouselItem/styles.js.map +1 -0
  24. package/lib/commonjs/components/HACarouselCalibration/HAPagination/HAPagination.js +46 -0
  25. package/lib/commonjs/components/HACarouselCalibration/HAPagination/HAPagination.js.map +1 -0
  26. package/lib/commonjs/components/HACarouselCalibration/HAPagination/styles.js +22 -0
  27. package/lib/commonjs/components/HACarouselCalibration/HAPagination/styles.js.map +1 -0
  28. package/lib/commonjs/components/HACarouselCalibration/data.js +28 -0
  29. package/lib/commonjs/components/HACarouselCalibration/data.js.map +1 -0
  30. package/lib/commonjs/components/Typograph/typograph.js +28 -0
  31. package/lib/commonjs/components/Typograph/typograph.js.map +1 -0
  32. package/lib/commonjs/components/index.js +28 -0
  33. package/lib/commonjs/components/index.js.map +1 -1
  34. package/lib/commonjs/index.js +25 -0
  35. package/lib/commonjs/index.js.map +1 -1
  36. package/lib/commonjs/screens/RegisterOperations/registerOperationPointsBiometrics.js +185 -0
  37. package/lib/commonjs/screens/RegisterOperations/registerOperationPointsBiometrics.js.map +1 -0
  38. package/lib/commonjs/screens/RegisterOperations/registerOperationPointsLifeCertificate.js +165 -0
  39. package/lib/commonjs/screens/RegisterOperations/registerOperationPointsLifeCertificate.js.map +1 -0
  40. package/lib/commonjs/screens/RegisterOperations/styles.js +47 -0
  41. package/lib/commonjs/screens/RegisterOperations/styles.js.map +1 -0
  42. package/lib/commonjs/screens/index.js +14 -0
  43. package/lib/commonjs/screens/index.js.map +1 -1
  44. package/lib/commonjs/services/index.js +18 -0
  45. package/lib/commonjs/services/index.js.map +1 -1
  46. package/lib/commonjs/services/services.js +106 -1
  47. package/lib/commonjs/services/services.js.map +1 -1
  48. package/lib/commonjs/store/modules/operationPoints/index.js +19 -0
  49. package/lib/commonjs/store/modules/operationPoints/index.js.map +1 -0
  50. package/lib/commonjs/store/modules/operationPoints/selectors.js +13 -0
  51. package/lib/commonjs/store/modules/operationPoints/selectors.js.map +1 -0
  52. package/lib/commonjs/store/modules/operationPoints/slice.js +233 -0
  53. package/lib/commonjs/store/modules/operationPoints/slice.js.map +1 -0
  54. package/lib/commonjs/store/modules/operationPoints/types.js +2 -0
  55. package/lib/commonjs/store/modules/operationPoints/types.js.map +1 -0
  56. package/lib/commonjs/theme/colors.js +19 -0
  57. package/lib/commonjs/theme/colors.js.map +1 -0
  58. package/lib/commonjs/theme/theme.js +25 -0
  59. package/lib/commonjs/theme/theme.js.map +1 -0
  60. package/lib/commonjs/utils/index.js +12 -0
  61. package/lib/commonjs/utils/index.js.map +1 -1
  62. package/lib/commonjs/utils/utils.js +9 -1
  63. package/lib/commonjs/utils/utils.js.map +1 -1
  64. package/lib/module/@types/declarations.d.js +2 -0
  65. package/lib/module/@types/declarations.d.js.map +1 -0
  66. package/lib/module/assets/svg/exampleCalibration1.svg +9 -0
  67. package/lib/module/assets/svg/exampleCalibration2.svg +9 -0
  68. package/lib/module/assets/svg/fingerPrint.svg +30 -0
  69. package/lib/module/assets/svg/fingerPrintWithMask.svg +34 -0
  70. package/lib/module/assets/svg/selfieStick.svg +167 -0
  71. package/lib/module/components/HACaptureInstructions/HACaptureInstructions.js +45 -0
  72. package/lib/module/components/HACaptureInstructions/HACaptureInstructions.js.map +1 -0
  73. package/lib/module/components/HACaptureInstructions/HACard/HACard.js +41 -0
  74. package/lib/module/components/HACaptureInstructions/HACard/HACard.js.map +1 -0
  75. package/lib/module/components/HACaptureInstructions/HACard/styles.js +31 -0
  76. package/lib/module/components/HACaptureInstructions/HACard/styles.js.map +1 -0
  77. package/lib/module/components/HACaptureInstructions/data.js +18 -0
  78. package/lib/module/components/HACaptureInstructions/data.js.map +1 -0
  79. package/lib/module/components/HACaptureInstructions/style.js +26 -0
  80. package/lib/module/components/HACaptureInstructions/style.js.map +1 -0
  81. package/lib/module/components/HACarouselCalibration/HACarouselCalibration.js +72 -0
  82. package/lib/module/components/HACarouselCalibration/HACarouselCalibration.js.map +1 -0
  83. package/lib/module/components/HACarouselCalibration/HACarouselItem/HACarouselItem.js +73 -0
  84. package/lib/module/components/HACarouselCalibration/HACarouselItem/HACarouselItem.js.map +1 -0
  85. package/lib/module/components/HACarouselCalibration/HACarouselItem/styles.js +44 -0
  86. package/lib/module/components/HACarouselCalibration/HACarouselItem/styles.js.map +1 -0
  87. package/lib/module/components/HACarouselCalibration/HAPagination/HAPagination.js +36 -0
  88. package/lib/module/components/HACarouselCalibration/HAPagination/HAPagination.js.map +1 -0
  89. package/lib/module/components/HACarouselCalibration/HAPagination/styles.js +16 -0
  90. package/lib/module/components/HACarouselCalibration/HAPagination/styles.js.map +1 -0
  91. package/lib/module/components/HACarouselCalibration/data.js +21 -0
  92. package/lib/module/components/HACarouselCalibration/data.js.map +1 -0
  93. package/lib/module/components/Typograph/typograph.js +21 -0
  94. package/lib/module/components/Typograph/typograph.js.map +1 -0
  95. package/lib/module/components/index.js +5 -1
  96. package/lib/module/components/index.js.map +1 -1
  97. package/lib/module/index.js +3 -2
  98. package/lib/module/index.js.map +1 -1
  99. package/lib/module/screens/RegisterOperations/registerOperationPointsBiometrics.js +176 -0
  100. package/lib/module/screens/RegisterOperations/registerOperationPointsBiometrics.js.map +1 -0
  101. package/lib/module/screens/RegisterOperations/registerOperationPointsLifeCertificate.js +157 -0
  102. package/lib/module/screens/RegisterOperations/registerOperationPointsLifeCertificate.js.map +1 -0
  103. package/lib/module/screens/RegisterOperations/styles.js +41 -0
  104. package/lib/module/screens/RegisterOperations/styles.js.map +1 -0
  105. package/lib/module/screens/index.js +3 -1
  106. package/lib/module/screens/index.js.map +1 -1
  107. package/lib/module/services/index.js +2 -2
  108. package/lib/module/services/index.js.map +1 -1
  109. package/lib/module/services/services.js +102 -0
  110. package/lib/module/services/services.js.map +1 -1
  111. package/lib/module/store/modules/operationPoints/index.js +3 -0
  112. package/lib/module/store/modules/operationPoints/index.js.map +1 -0
  113. package/lib/module/store/modules/operationPoints/selectors.js +6 -0
  114. package/lib/module/store/modules/operationPoints/selectors.js.map +1 -0
  115. package/lib/module/store/modules/operationPoints/slice.js +227 -0
  116. package/lib/module/store/modules/operationPoints/slice.js.map +1 -0
  117. package/lib/module/store/modules/operationPoints/types.js +2 -0
  118. package/lib/module/store/modules/operationPoints/types.js.map +1 -0
  119. package/lib/module/theme/colors.js +14 -0
  120. package/lib/module/theme/colors.js.map +1 -0
  121. package/lib/module/theme/theme.js +18 -0
  122. package/lib/module/theme/theme.js.map +1 -0
  123. package/lib/module/utils/index.js +2 -2
  124. package/lib/module/utils/index.js.map +1 -1
  125. package/lib/module/utils/utils.js +7 -1
  126. package/lib/module/utils/utils.js.map +1 -1
  127. package/lib/typescript/src/components/HACaptureInstructions/HACaptureInstructions.d.ts +8 -0
  128. package/lib/typescript/src/components/HACaptureInstructions/HACaptureInstructions.d.ts.map +1 -0
  129. package/lib/typescript/src/components/HACaptureInstructions/HACard/HACard.d.ts +11 -0
  130. package/lib/typescript/src/components/HACaptureInstructions/HACard/HACard.d.ts.map +1 -0
  131. package/lib/typescript/src/components/HACaptureInstructions/HACard/styles.d.ts +27 -0
  132. package/lib/typescript/src/components/HACaptureInstructions/HACard/styles.d.ts.map +1 -0
  133. package/lib/typescript/src/components/HACaptureInstructions/data.d.ts +9 -0
  134. package/lib/typescript/src/components/HACaptureInstructions/data.d.ts.map +1 -0
  135. package/lib/typescript/src/components/HACaptureInstructions/style.d.ts +25 -0
  136. package/lib/typescript/src/components/HACaptureInstructions/style.d.ts.map +1 -0
  137. package/lib/typescript/src/components/HACarouselCalibration/HACarouselCalibration.d.ts +7 -0
  138. package/lib/typescript/src/components/HACarouselCalibration/HACarouselCalibration.d.ts.map +1 -0
  139. package/lib/typescript/src/components/HACarouselCalibration/HACarouselItem/HACarouselItem.d.ts +17 -0
  140. package/lib/typescript/src/components/HACarouselCalibration/HACarouselItem/HACarouselItem.d.ts.map +1 -0
  141. package/lib/typescript/src/components/HACarouselCalibration/HACarouselItem/styles.d.ts +39 -0
  142. package/lib/typescript/src/components/HACarouselCalibration/HACarouselItem/styles.d.ts.map +1 -0
  143. package/lib/typescript/src/components/HACarouselCalibration/HAPagination/HAPagination.d.ts +14 -0
  144. package/lib/typescript/src/components/HACarouselCalibration/HAPagination/HAPagination.d.ts.map +1 -0
  145. package/lib/typescript/src/components/HACarouselCalibration/HAPagination/styles.d.ts +15 -0
  146. package/lib/typescript/src/components/HACarouselCalibration/HAPagination/styles.d.ts.map +1 -0
  147. package/lib/typescript/src/components/HACarouselCalibration/data.d.ts +9 -0
  148. package/lib/typescript/src/components/HACarouselCalibration/data.d.ts.map +1 -0
  149. package/lib/typescript/src/components/Typograph/typograph.d.ts +10 -0
  150. package/lib/typescript/src/components/Typograph/typograph.d.ts.map +1 -0
  151. package/lib/typescript/src/components/index.d.ts +5 -1
  152. package/lib/typescript/src/components/index.d.ts.map +1 -1
  153. package/lib/typescript/src/index.d.ts +3 -2
  154. package/lib/typescript/src/index.d.ts.map +1 -1
  155. package/lib/typescript/src/screens/RegisterOperations/registerOperationPointsBiometrics.d.ts +7 -0
  156. package/lib/typescript/src/screens/RegisterOperations/registerOperationPointsBiometrics.d.ts.map +1 -0
  157. package/lib/typescript/src/screens/RegisterOperations/registerOperationPointsLifeCertificate.d.ts +7 -0
  158. package/lib/typescript/src/screens/RegisterOperations/registerOperationPointsLifeCertificate.d.ts.map +1 -0
  159. package/lib/typescript/src/screens/RegisterOperations/styles.d.ts +40 -0
  160. package/lib/typescript/src/screens/RegisterOperations/styles.d.ts.map +1 -0
  161. package/lib/typescript/src/screens/index.d.ts +3 -1
  162. package/lib/typescript/src/screens/index.d.ts.map +1 -1
  163. package/lib/typescript/src/services/index.d.ts +2 -2
  164. package/lib/typescript/src/services/index.d.ts.map +1 -1
  165. package/lib/typescript/src/services/services.d.ts +4 -1
  166. package/lib/typescript/src/services/services.d.ts.map +1 -1
  167. package/lib/typescript/src/services/types.d.ts +29 -0
  168. package/lib/typescript/src/services/types.d.ts.map +1 -1
  169. package/lib/typescript/src/store/modules/operationPoints/index.d.ts +3 -0
  170. package/lib/typescript/src/store/modules/operationPoints/index.d.ts.map +1 -0
  171. package/lib/typescript/src/store/modules/operationPoints/selectors.d.ts +24 -0
  172. package/lib/typescript/src/store/modules/operationPoints/selectors.d.ts.map +1 -0
  173. package/lib/typescript/src/store/modules/operationPoints/slice.d.ts +4 -0
  174. package/lib/typescript/src/store/modules/operationPoints/slice.d.ts.map +1 -0
  175. package/lib/typescript/src/store/modules/operationPoints/types.d.ts +51 -0
  176. package/lib/typescript/src/store/modules/operationPoints/types.d.ts.map +1 -0
  177. package/lib/typescript/src/theme/colors.d.ts +14 -0
  178. package/lib/typescript/src/theme/colors.d.ts.map +1 -0
  179. package/lib/typescript/src/theme/theme.d.ts +8 -0
  180. package/lib/typescript/src/theme/theme.d.ts.map +1 -0
  181. package/lib/typescript/src/utils/index.d.ts +2 -2
  182. package/lib/typescript/src/utils/index.d.ts.map +1 -1
  183. package/lib/typescript/src/utils/utils.d.ts +3 -1
  184. package/lib/typescript/src/utils/utils.d.ts.map +1 -1
  185. package/package.json +4 -1
  186. package/src/@types/declarations.d.ts +5 -0
  187. package/src/assets/svg/exampleCalibration1.svg +9 -0
  188. package/src/assets/svg/exampleCalibration2.svg +9 -0
  189. package/src/assets/svg/fingerPrint.svg +30 -0
  190. package/src/assets/svg/fingerPrintWithMask.svg +34 -0
  191. package/src/assets/svg/selfieStick.svg +167 -0
  192. package/src/components/HACaptureInstructions/HACaptureInstructions.tsx +36 -0
  193. package/src/components/HACaptureInstructions/HACard/HACard.tsx +34 -0
  194. package/src/components/HACaptureInstructions/HACard/styles.ts +30 -0
  195. package/src/components/HACaptureInstructions/data.ts +23 -0
  196. package/src/components/HACaptureInstructions/style.ts +17 -0
  197. package/src/components/HACarouselCalibration/HACarouselCalibration.tsx +71 -0
  198. package/src/components/HACarouselCalibration/HACarouselItem/HACarouselItem.tsx +53 -0
  199. package/src/components/HACarouselCalibration/HACarouselItem/styles.ts +43 -0
  200. package/src/components/HACarouselCalibration/HAPagination/HAPagination.tsx +51 -0
  201. package/src/components/HACarouselCalibration/HAPagination/styles.ts +16 -0
  202. package/src/components/HACarouselCalibration/data.ts +27 -0
  203. package/src/components/Typograph/typograph.tsx +24 -0
  204. package/src/components/index.ts +16 -1
  205. package/src/index.tsx +18 -2
  206. package/src/screens/RegisterOperations/registerOperationPointsBiometrics.tsx +168 -0
  207. package/src/screens/RegisterOperations/registerOperationPointsLifeCertificate.tsx +175 -0
  208. package/src/screens/RegisterOperations/styles.ts +41 -0
  209. package/src/screens/index.ts +9 -1
  210. package/src/services/index.ts +18 -2
  211. package/src/services/services.ts +113 -1
  212. package/src/services/types.ts +33 -0
  213. package/src/store/modules/operationPoints/index.ts +3 -0
  214. package/src/store/modules/operationPoints/selectors.ts +7 -0
  215. package/src/store/modules/operationPoints/slice.ts +240 -0
  216. package/src/store/modules/operationPoints/types.ts +61 -0
  217. package/src/theme/colors.ts +15 -0
  218. package/src/theme/theme.ts +13 -0
  219. package/src/utils/index.ts +2 -2
  220. package/src/utils/utils.ts +9 -1
@@ -0,0 +1,25 @@
1
+ export declare const styles: {
2
+ container: {
3
+ flex: number;
4
+ paddingVertical: number;
5
+ };
6
+ title: {
7
+ fontSize: number;
8
+ fontWeight: "600";
9
+ textAlign: "center";
10
+ paddingBottom: number;
11
+ };
12
+ containerButton: {
13
+ marginHorizontal: number;
14
+ padding: number;
15
+ borderRadius: number;
16
+ justifyContent: "center";
17
+ alignItems: "center";
18
+ };
19
+ buttonText: {
20
+ color: string;
21
+ fontSize: number;
22
+ fontWeight: "500";
23
+ };
24
+ };
25
+ //# sourceMappingURL=style.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../src/components/HACaptureInstructions/style.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;CAcjB,CAAC"}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ type HACarouselCalibrationType = {
3
+ onClose: () => void;
4
+ };
5
+ declare const HACarouselCalibration: ({ onClose }: HACarouselCalibrationType) => JSX.Element;
6
+ export default HACarouselCalibration;
7
+ //# sourceMappingURL=HACarouselCalibration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HACarouselCalibration.d.ts","sourceRoot":"","sources":["../../../../../src/components/HACarouselCalibration/HACarouselCalibration.tsx"],"names":[],"mappings":";AAQA,KAAK,yBAAyB,GAAG;IAC/B,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,qBAAqB,gBAAiB,yBAAyB,gBAwDpE,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import { SharedValue } from "react-native-reanimated";
3
+ type HACarouselItemType = {
4
+ index: number;
5
+ item: {
6
+ title: string;
7
+ text: string;
8
+ ImageComponent?: React.FC<React.SVGProps<SVGSVGElement>>;
9
+ };
10
+ paginationIndex: number;
11
+ scrollX: SharedValue<number>;
12
+ handleNext: () => void;
13
+ onClose: () => void;
14
+ };
15
+ export declare const HACarouselItem: ({ item, index, paginationIndex, scrollX, handleNext, onClose }: HACarouselItemType) => JSX.Element;
16
+ export {};
17
+ //# sourceMappingURL=HACarouselItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HACarouselItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/HACarouselCalibration/HACarouselItem/HACarouselItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAQtD,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,cAAc,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;KAC1D,CAAC;IACF,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7B,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,cAAc,mEAAoE,kBAAkB,gBA6BhH,CAAC"}
@@ -0,0 +1,39 @@
1
+ export declare const styles: {
2
+ container: {
3
+ flex: number;
4
+ width: number;
5
+ justifyContent: "center";
6
+ alignItems: "center";
7
+ padding: number;
8
+ };
9
+ card: {
10
+ justifyContent: "center";
11
+ minHeight: "60%";
12
+ borderRadius: number;
13
+ gap: number;
14
+ padding: number;
15
+ };
16
+ content: {
17
+ alignItems: "center";
18
+ justifyContent: "center";
19
+ gap: number;
20
+ };
21
+ title: {
22
+ textAlign: "center";
23
+ };
24
+ text: {
25
+ textAlign: "center";
26
+ };
27
+ containerPagination: {
28
+ alignSelf: "center";
29
+ };
30
+ containerButton: {
31
+ height: number;
32
+ width: number;
33
+ alignSelf: "center";
34
+ justifyContent: "center";
35
+ alignItems: "center";
36
+ borderRadius: number;
37
+ };
38
+ };
39
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/HACarouselCalibration/HACarouselItem/styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCjB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ import { SharedValue } from "react-native-reanimated";
3
+ type PaginationType = {
4
+ item: {
5
+ title: string;
6
+ text: string;
7
+ ImageComponent?: React.FC<React.SVGProps<SVGSVGElement>>;
8
+ }[];
9
+ paginationIndex: number;
10
+ scrollX: SharedValue<number>;
11
+ };
12
+ export declare const HAPagination: ({ item, paginationIndex, scrollX }: PaginationType) => JSX.Element;
13
+ export {};
14
+ //# sourceMappingURL=HAPagination.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HAPagination.d.ts","sourceRoot":"","sources":["../../../../../../src/components/HACarouselCalibration/HAPagination/HAPagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAiB,EAAiB,WAAW,EAAiC,MAAM,yBAAyB,CAAC;AAI9G,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,cAAc,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;KAC1D,EAAE,CAAC;IACJ,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC9B,CAAC;AAIF,eAAO,MAAM,YAAY,uCAAwC,cAAc,gBAgC9E,CAAC"}
@@ -0,0 +1,15 @@
1
+ export declare const styles: {
2
+ container: {
3
+ flexDirection: "row";
4
+ height: number;
5
+ justifyContent: "center";
6
+ alignItems: "center";
7
+ };
8
+ pagination: {
9
+ height: number;
10
+ width: number;
11
+ marginHorizontal: number;
12
+ borderRadius: number;
13
+ };
14
+ };
15
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/HACarouselCalibration/HAPagination/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CAajB,CAAC"}
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ /// <reference types="react" />
3
+ declare const data: {
4
+ title: string;
5
+ ImageComponent?: React.FC<React.SVGProps<SVGSVGElement>>;
6
+ text: string;
7
+ }[];
8
+ export default data;
9
+ //# sourceMappingURL=data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../../src/components/HACarouselCalibration/data.ts"],"names":[],"mappings":";;AAIA,QAAA,MAAM,IAAI,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,cAAc,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAoBpG,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import { TextStyle } from "react-native";
3
+ type Props = {
4
+ children: string | string[] | undefined;
5
+ bold?: boolean;
6
+ style?: TextStyle;
7
+ };
8
+ declare const HAText: ({ children, bold, style }: Props) => JSX.Element;
9
+ export default HAText;
10
+ //# sourceMappingURL=typograph.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typograph.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typograph/typograph.tsx"],"names":[],"mappings":";AACA,OAAO,EAAQ,SAAS,EAAkB,MAAM,cAAc,CAAC;AAG/D,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,CAAC;IACxC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,QAAA,MAAM,MAAM,8BAA+B,KAAK,gBAW/C,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -4,5 +4,9 @@ import RecordButton from "./recordButton/recordButton";
4
4
  import CaptureButton from "./CaptureButton";
5
5
  import CameraConfigInfo from "./CameraConfigInfo";
6
6
  import Gabarito from "./Gabarito";
7
- export { DeviceNotFound, ModalMessage, RecordButton, CaptureButton, CameraConfigInfo, Gabarito };
7
+ import HAText from "./Typograph/typograph";
8
+ import Icon from "./icon/icon";
9
+ import HACarouselCalibration from "./HACarouselCalibration/HACarouselCalibration";
10
+ import HACaptureInstructions from "./HACaptureInstructions/HACaptureInstructions";
11
+ export { DeviceNotFound, ModalMessage, RecordButton, CaptureButton, CameraConfigInfo, Gabarito, HAText, Icon, HACarouselCalibration, HACaptureInstructions };
8
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,iCAAiC,CAAC;AAC7D,OAAO,YAAY,MAAM,6BAA6B,CAAC;AACvD,OAAO,YAAY,MAAM,6BAA6B,CAAC;AACvD,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,QAAQ,MAAM,YAAY,CAAC;AAElC,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,QAAQ,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,iCAAiC,CAAC;AAC7D,OAAO,YAAY,MAAM,6BAA6B,CAAC;AACvD,OAAO,YAAY,MAAM,6BAA6B,CAAC;AACvD,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAC3C,OAAO,IAAI,MAAM,aAAa,CAAC;AAC/B,OAAO,qBAAqB,MAAM,+CAA+C,CAAC;AAClF,OAAO,qBAAqB,MAAM,+CAA+C,CAAC;AAElF,OAAO,EACL,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,QAAQ,EACR,MAAM,EACN,IAAI,EACJ,qBAAqB,EACrB,qBAAqB,EACtB,CAAC"}
@@ -1,3 +1,4 @@
1
- import { LifeCertificate, FingerRegister, FingerAuth } from "./screens";
2
- export { LifeCertificate, FingerRegister, FingerAuth };
1
+ import { LifeCertificate, FingerRegister, FingerAuth, RegisterOperationPointsBiometrics, RegisterOperationPointsLifeCertificate } from "./screens";
2
+ import { HACarouselCalibration, HACaptureInstructions } from "./components";
3
+ export { LifeCertificate, FingerRegister, FingerAuth, RegisterOperationPointsBiometrics, RegisterOperationPointsLifeCertificate, HACarouselCalibration, HACaptureInstructions };
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAExE,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,cAAc,EACd,UAAU,EACV,iCAAiC,EACjC,sCAAsC,EACvC,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAE5E,OAAO,EACL,eAAe,EACf,cAAc,EACd,UAAU,EACV,iCAAiC,EACjC,sCAAsC,EACtC,qBAAqB,EACrB,qBAAqB,EACtB,CAAC"}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ type Props = {
3
+ onSuccess: () => void;
4
+ };
5
+ declare const RegisterOperationPointsBiometrics: ({ onSuccess }: Props) => JSX.Element;
6
+ export default RegisterOperationPointsBiometrics;
7
+ //# sourceMappingURL=registerOperationPointsBiometrics.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registerOperationPointsBiometrics.d.ts","sourceRoot":"","sources":["../../../../../src/screens/RegisterOperations/registerOperationPointsBiometrics.tsx"],"names":[],"mappings":";AAaA,KAAK,KAAK,GAAG;IACX,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,iCAAiC,kBAAmB,KAAK,gBAoJ9D,CAAC;AAEF,eAAe,iCAAiC,CAAC"}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ type Props = {
3
+ onSuccess: () => void;
4
+ };
5
+ declare const RegisterOperationPointsLifeCertificate: ({ onSuccess }: Props) => JSX.Element;
6
+ export default RegisterOperationPointsLifeCertificate;
7
+ //# sourceMappingURL=registerOperationPointsLifeCertificate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registerOperationPointsLifeCertificate.d.ts","sourceRoot":"","sources":["../../../../../src/screens/RegisterOperations/registerOperationPointsLifeCertificate.tsx"],"names":[],"mappings":";AASA,KAAK,KAAK,GAAG;IACX,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,sCAAsC,kBAAmB,KAAK,gBA+JnE,CAAC;AAEF,eAAe,sCAAsC,CAAC"}
@@ -0,0 +1,40 @@
1
+ export declare const styles: {
2
+ containerCamera: {
3
+ flex: number;
4
+ justifyContent: "center";
5
+ };
6
+ camera: {
7
+ flex: number;
8
+ };
9
+ box: {
10
+ flexDirection: "row";
11
+ height: number;
12
+ justifyContent: "center";
13
+ alignItems: "center";
14
+ borderRadius: number;
15
+ backgroundColor: string;
16
+ marginVertical: number;
17
+ };
18
+ text: {
19
+ position: "absolute";
20
+ color: string;
21
+ };
22
+ containerCapture: {
23
+ position: "absolute";
24
+ width: "100%";
25
+ marginBottom: "30%";
26
+ alignItems: "center";
27
+ };
28
+ containerModalLoading: {
29
+ flex: number;
30
+ justifyContent: "center";
31
+ alignItems: "center";
32
+ backgroundColor: string;
33
+ };
34
+ containerSlider: {
35
+ height: number;
36
+ padding: number;
37
+ gap: number;
38
+ };
39
+ };
40
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/screens/RegisterOperations/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCjB,CAAC"}
@@ -1,5 +1,7 @@
1
1
  import FingerRegister from "./FingerRegister/FingerRegister";
2
2
  import LifeCertificate from "./LifeCertificate/LifeCertificate";
3
3
  import FingerAuth from "./FingerAuth/FingerAuth";
4
- export { FingerRegister, LifeCertificate, FingerAuth };
4
+ import RegisterOperationPointsBiometrics from "./RegisterOperations/registerOperationPointsBiometrics";
5
+ import RegisterOperationPointsLifeCertificate from "./RegisterOperations/registerOperationPointsLifeCertificate";
6
+ export { FingerRegister, LifeCertificate, FingerAuth, RegisterOperationPointsBiometrics, RegisterOperationPointsLifeCertificate };
5
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/screens/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,iCAAiC,CAAC;AAC7D,OAAO,eAAe,MAAM,mCAAmC,CAAC;AAChE,OAAO,UAAU,MAAM,yBAAyB,CAAC;AAEjD,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/screens/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,iCAAiC,CAAC;AAC7D,OAAO,eAAe,MAAM,mCAAmC,CAAC;AAChE,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,iCAAiC,MAAM,wDAAwD,CAAC;AACvG,OAAO,sCAAsC,MAAM,6DAA6D,CAAC;AAEjH,OAAO,EACL,cAAc,EACd,eAAe,EACf,UAAU,EACV,iCAAiC,EACjC,sCAAsC,EACvC,CAAC"}
@@ -1,6 +1,6 @@
1
- import { lifeCertificate, getConfigsApi, registerFingerImages, authFinger } from "./services";
1
+ import { lifeCertificate, getConfigsApi, registerFingerImages, authFinger, getConfigOperationPoints, sendImagesForRegisterOperationPoints, sendVideoForRegisterOperationPoints } from "./services";
2
2
  export declare const login: (cpf: any, senha: any) => Promise<any>;
3
3
  export declare const cadastro: (cpf: string, name: string, senha: string) => Promise<any>;
4
4
  export declare const verificaCPF: (cpf: any) => Promise<any>;
5
- export { lifeCertificate, getConfigsApi, registerFingerImages, authFinger };
5
+ export { lifeCertificate, getConfigsApi, registerFingerImages, authFinger, getConfigOperationPoints, sendImagesForRegisterOperationPoints, sendVideoForRegisterOperationPoints };
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/services/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,oBAAoB,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAW9F,eAAO,MAAM,KAAK,QAAe,GAAG,SAAS,GAAG,iBAQ/C,CAAC;AAEF,eAAO,MAAM,QAAQ,QAAe,MAAM,QAAQ,MAAM,SAAS,MAAM,iBAQtE,CAAC;AAEF,eAAO,MAAM,WAAW,QAAe,GAAG,iBAQzC,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,oBAAoB,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/services/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,aAAa,EACb,oBAAoB,EACpB,UAAU,EACV,wBAAwB,EACxB,oCAAoC,EACpC,mCAAmC,EACpC,MAAM,YAAY,CAAC;AAWpB,eAAO,MAAM,KAAK,QAAe,GAAG,SAAS,GAAG,iBAQ/C,CAAC;AAEF,eAAO,MAAM,QAAQ,QAAe,MAAM,QAAQ,MAAM,SAAS,MAAM,iBAQtE,CAAC;AAEF,eAAO,MAAM,WAAW,QAAe,GAAG,iBAQzC,CAAC;AAEF,OAAO,EACL,eAAe,EACf,aAAa,EACb,oBAAoB,EACpB,UAAU,EACV,wBAAwB,EACxB,oCAAoC,EACpC,mCAAmC,EACpC,CAAC"}
@@ -1,6 +1,9 @@
1
- import type { GetConfigApiResponse, LifeCertificateResponse, LifeCertificateType, RegisterFingerResponse, RegisterFingerImagesType, AuthFingerType, AuthFingerResponse } from "./types";
1
+ import type { GetConfigApiResponse, LifeCertificateResponse, LifeCertificateType, RegisterFingerResponse, RegisterFingerImagesType, AuthFingerType, AuthFingerResponse, SendImagesForRegisterOperationPointsType, SendImagesForRegisterOperationPointsResponse, SendVideoForRegisterOperationPointsType, SendVideoForRegisterOperationPointsResponse } from "./types";
2
2
  export declare const getConfigsApi: () => Promise<GetConfigApiResponse>;
3
3
  export declare const registerFingerImages: ({ UID, images, finger, exposure, zoom }: RegisterFingerImagesType) => Promise<RegisterFingerResponse>;
4
4
  export declare const authFinger: ({ UID, image, exposure, zoom }: AuthFingerType) => Promise<AuthFingerResponse>;
5
5
  export declare const lifeCertificate: ({ videoPath, exposure, UID }: LifeCertificateType) => Promise<LifeCertificateResponse>;
6
+ export declare const getConfigOperationPoints: () => Promise<GetConfigApiResponse>;
7
+ export declare const sendImagesForRegisterOperationPoints: ({ deviceModel, exposure, exposureMax, exposureMin, exposureScaleZeroToOneBiometrics, images, zoom, zoomMax, zoomMin, zoomScaleZeroToOne }: SendImagesForRegisterOperationPointsType) => Promise<SendImagesForRegisterOperationPointsResponse>;
8
+ export declare const sendVideoForRegisterOperationPoints: ({ deviceModel, exposure, exposureMax, exposureMin, exposureScaleZeroToOneLifeCertificate, videoPath }: SendVideoForRegisterOperationPointsType) => Promise<SendVideoForRegisterOperationPointsResponse>;
6
9
  //# sourceMappingURL=services.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../../../src/services/services.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,oBAAoB,EACpB,uBAAuB,EACvB,mBAAmB,EACnB,sBAAsB,EACtB,wBAAwB,EACxB,cAAc,EACd,kBAAkB,EACnB,MAAM,SAAS,CAAC;AAajB,eAAO,MAAM,aAAa,QAAa,QAAQ,oBAAoB,CAQlE,CAAC;AAEF,eAAO,MAAM,oBAAoB,4CAM9B,wBAAwB,KAAG,QAAQ,sBAAsB,CA8B3D,CAAC;AAEF,eAAO,MAAM,UAAU,mCAA0C,cAAc,KAAG,QAAQ,kBAAkB,CAwB3G,CAAC;AAEF,eAAO,MAAM,eAAe,iCAIzB,mBAAmB,KAAG,QAAQ,uBAAuB,CAmCvD,CAAC"}
1
+ {"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../../../src/services/services.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,oBAAoB,EACpB,uBAAuB,EACvB,mBAAmB,EACnB,sBAAsB,EACtB,wBAAwB,EACxB,cAAc,EACd,kBAAkB,EAClB,wCAAwC,EACxC,4CAA4C,EAC5C,uCAAuC,EACvC,2CAA2C,EAC5C,MAAM,SAAS,CAAC;AAajB,eAAO,MAAM,aAAa,QAAa,QAAQ,oBAAoB,CAQlE,CAAC;AAEF,eAAO,MAAM,oBAAoB,4CAM9B,wBAAwB,KAAG,QAAQ,sBAAsB,CA8B3D,CAAC;AAEF,eAAO,MAAM,UAAU,mCAA0C,cAAc,KAAG,QAAQ,kBAAkB,CAwB3G,CAAC;AAEF,eAAO,MAAM,eAAe,iCAIzB,mBAAmB,KAAG,QAAQ,uBAAuB,CAmCvD,CAAC;AAEF,eAAO,MAAM,wBAAwB,QAAa,QAAQ,oBAAoB,CAQ7E,CAAC;AAEF,eAAO,MAAM,oCAAoC,8IAW9C,wCAAwC,KAAG,QAAQ,4CAA4C,CAkCjG,CAAC;AAEF,eAAO,MAAM,mCAAmC,0GAO7C,uCAAuC,KAAG,QAAQ,2CAA2C,CA0C/F,CAAC"}
@@ -51,4 +51,33 @@ export type LifeCertificateResponse = {
51
51
  bpm?: number;
52
52
  message?: string;
53
53
  };
54
+ export type SendImagesForRegisterOperationPointsType = {
55
+ deviceModel: string;
56
+ images: string[];
57
+ exposure: number;
58
+ exposureMin: number;
59
+ exposureMax: number;
60
+ exposureScaleZeroToOneBiometrics: number;
61
+ zoom: number;
62
+ zoomMax: number;
63
+ zoomMin: number;
64
+ zoomScaleZeroToOne: number;
65
+ };
66
+ export type SendImagesForRegisterOperationPointsResponse = {
67
+ status: number;
68
+ message: string;
69
+ };
70
+ export type SendVideoForRegisterOperationPointsType = {
71
+ deviceModel: string;
72
+ videoPath: string;
73
+ exposure: number;
74
+ exposureScaleZeroToOneLifeCertificate: number;
75
+ exposureMin: number;
76
+ exposureMax: number;
77
+ };
78
+ export type SendVideoForRegisterOperationPointsResponse = {
79
+ status: number;
80
+ message: string;
81
+ hasConfig?: boolean;
82
+ };
54
83
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/services/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;CACzB,EAAE,CAAC;AAEJ,oBAAY,MAAM;IAChB,UAAU,OAAO;IACjB,UAAU,OAAO;IACjB,WAAW,OAAO;IAClB,SAAS,OAAO;IAChB,UAAU,OAAO;IACjB,WAAW,OAAO;IAClB,WAAW,OAAO;IAClB,YAAY,OAAO;IACnB,UAAU,OAAO;IACjB,WAAW,OAAO;CACnB;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IA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G;IACpD,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,qCAAqC,EAAE,MAAM,CAAC;IAC9C,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,2CAA2C,GAAG;IACxD,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { useDispatch, useSelector } from "./selectors";
2
+ export { useDispatch, useSelector };
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/store/modules/operationPoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAEvD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC"}
@@ -0,0 +1,24 @@
1
+ export declare const useSelector: () => {
2
+ exposureScaleZeroToOneBiometrics: 0.5 | 0.4 | 0.2 | 0.12 | 0.35 | 0.65 | 0.8 | 0.3 | 0.6 | 0.7;
3
+ exposureScaleZeroToOneLifeCertificate: 0.5 | 0.4 | 0.2 | 0.12 | 0.35 | 0.65 | 0.8 | 0.3 | 0.6 | 0.7;
4
+ loading: "idle" | "pending" | "succeeded" | "failed";
5
+ hasConfigOperationPointsBiometrics: "empty" | "notEmpty" | "idle";
6
+ hasConfigOperationPointsLifeCertificate: "empty" | "notEmpty" | "idle";
7
+ base64Images: string[];
8
+ status?: number | undefined;
9
+ message?: string | undefined;
10
+ registered: boolean;
11
+ helpStep: "introduction" | "instruction";
12
+ };
13
+ export declare const useDispatch: () => {
14
+ setImageBase64: (imageBase64: string) => void;
15
+ resetState: () => void;
16
+ changeExposureBiometrics: () => void;
17
+ changeExposureLifeCertificate: () => void;
18
+ handleStepHelp: () => void;
19
+ getConfigDefaultBiometrics: () => void;
20
+ getConfigDefaultLifeCertificate: () => void;
21
+ sendImagesBase64: (payload: import("./types").SendImagesBase64Payload) => void;
22
+ sendVideosLifeCertificate: (payload: import("./types").sendVideosLifeCertificatePayload) => void;
23
+ };
24
+ //# sourceMappingURL=selectors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../../src/store/modules/operationPoints/selectors.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW;;;;;;;;;;;CAAqB,CAAC;AAC9C,eAAO,MAAM,WAAW;;;;;;;;;;CAAwB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { OperationPointsState } from "./types";
2
+ declare const slice: import("zustand").UseBoundStore<import("zustand").StoreApi<OperationPointsState>>;
3
+ export default slice;
4
+ //# sourceMappingURL=slice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../../../src/store/modules/operationPoints/slice.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,oBAAoB,EAIrB,MAAM,SAAS,CAAC;AAwNjB,QAAA,MAAM,KAAK,mFAaR,CAAC;AAEJ,eAAe,KAAK,CAAC"}
@@ -0,0 +1,51 @@
1
+ type ScaleZeroToOneAndroid = 0.12 | 0.2 | 0.35 | 0.5 | 0.65 | 0.8;
2
+ type ScaleZeroToOneIOS = 0.3 | 0.4 | 0.5 | 0.6 | 0.7;
3
+ type StatusConfigOperationPoints = "empty" | "notEmpty" | "idle";
4
+ type State = {
5
+ exposureScaleZeroToOneBiometrics: ScaleZeroToOneIOS | ScaleZeroToOneAndroid;
6
+ exposureScaleZeroToOneLifeCertificate: ScaleZeroToOneIOS | ScaleZeroToOneAndroid;
7
+ loading: "idle" | "pending" | "succeeded" | "failed";
8
+ hasConfigOperationPointsBiometrics: StatusConfigOperationPoints;
9
+ hasConfigOperationPointsLifeCertificate: StatusConfigOperationPoints;
10
+ base64Images: string[];
11
+ status?: number;
12
+ message?: string;
13
+ registered: boolean;
14
+ helpStep: "introduction" | "instruction";
15
+ };
16
+ type Dispatch = {
17
+ setImageBase64: (imageBase64: SetImageBase64Payload) => void;
18
+ resetState: () => void;
19
+ changeExposureBiometrics: () => void;
20
+ changeExposureLifeCertificate: () => void;
21
+ handleStepHelp: () => void;
22
+ getConfigDefaultBiometrics: () => void;
23
+ getConfigDefaultLifeCertificate: () => void;
24
+ sendImagesBase64: (payload: SendImagesBase64Payload) => void;
25
+ sendVideosLifeCertificate: (payload: sendVideosLifeCertificatePayload) => void;
26
+ };
27
+ export type InitialState = {
28
+ state: State;
29
+ };
30
+ export type OperationPointsState = {
31
+ state: State;
32
+ dispatch: Dispatch;
33
+ };
34
+ export type ExposureMapOperationPoints = Record<State["exposureScaleZeroToOneBiometrics"], State["exposureScaleZeroToOneBiometrics"]>;
35
+ export type SetImageBase64Payload = string;
36
+ export type SendImagesBase64Payload = {
37
+ base64Images: string[];
38
+ exposureScaleZeroToOneBiometrics: State["exposureScaleZeroToOneBiometrics"];
39
+ exposureMin: number;
40
+ exposureMax: number;
41
+ zoomMin: number;
42
+ zoomMax: number;
43
+ };
44
+ export type sendVideosLifeCertificatePayload = {
45
+ exposureMin: number;
46
+ exposureMax: number;
47
+ videoPath: string;
48
+ exposureScaleZeroToOneLifeCertificate: State["exposureScaleZeroToOneLifeCertificate"];
49
+ };
50
+ export {};
51
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/store/modules/operationPoints/types.ts"],"names":[],"mappings":"AAAA,KAAK,qBAAqB,GAAG,IAAI,GAAG,GAAG,GAAG,IAAI,GAAG,GAAG,GAAG,IAAI,GAAG,GAAG,CAAC;AAClE,KAAK,iBAAiB,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAErD,KAAK,2BAA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AAkC,CAAC,CAC1C,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC;AAE3C,MAAM,MAAM,uBAAuB,GAAG;IACpC,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,gCAAgC,EAAE,KAAK,CAAC,kCAAkC,CAAC,CAAC;IAC5E,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,qCAAqC,EAAE,KAAK,CAAC,uCAAuC,CAAC,CAAC;CACvF,CAAC"}
@@ -0,0 +1,14 @@
1
+ declare const light: {
2
+ backgroundColor: string;
3
+ gray: string;
4
+ text: string;
5
+ blue: string;
6
+ };
7
+ declare const dark: {
8
+ backgroundColor: string;
9
+ gray: string;
10
+ text: string;
11
+ blue: string;
12
+ };
13
+ export { light, dark };
14
+ //# sourceMappingURL=colors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../src/theme/colors.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,KAAK;;;;;CAKV,CAAC;AAEF,QAAA,MAAM,IAAI;;;;;CAKT,CAAC;AAEF,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC"}
@@ -0,0 +1,8 @@
1
+ export declare const useTheme: () => {
2
+ isDark: boolean;
3
+ backgroundColor: string;
4
+ gray: string;
5
+ text: string;
6
+ blue: string;
7
+ };
8
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src/theme/theme.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;CASpB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import getConfigCamera from "./getConfigCamera";
2
- import { randomHeartRate, filteredFingers } from "./utils";
2
+ import { randomHeartRate, filteredFingers, scale0to1, scale0to1Inverse } from "./utils";
3
3
  import { useIsForeground } from "./hooks/useIsForeground";
4
- export { getConfigCamera, useIsForeground, randomHeartRate, filteredFingers };
4
+ export { getConfigCamera, useIsForeground, randomHeartRate, filteredFingers, scale0to1, scale0to1Inverse };
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,eAAe,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AACxF,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,eAAe,EAAE,eAAe,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC"}
@@ -7,5 +7,7 @@ declare const filteredFingers: (registeredFingers: string[], items: {
7
7
  label: string;
8
8
  value: Finger;
9
9
  }[];
10
- export { randomHeartRate, filteredFingers };
10
+ declare const scale0to1: (value: number, min: number, max: number) => number;
11
+ declare const scale0to1Inverse: (scaledValue: number, min: number, max: number) => number;
12
+ export { randomHeartRate, filteredFingers, scale0to1, scale0to1Inverse };
11
13
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,QAAA,MAAM,eAAe,QAAO,MAE3B,CAAC;AAEF,QAAA,MAAM,eAAe,sBACA,MAAM,EAAE,SACpB;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EAAE,KACxC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EAElC,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,QAAA,MAAM,eAAe,QAAO,MAE3B,CAAC;AAEF,QAAA,MAAM,eAAe,sBACA,MAAM,EAAE,SACpB;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EAAE,KACxC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EAElC,CAAC;AAEF,QAAA,MAAM,SAAS,UAAW,MAAM,OAAO,MAAM,OAAO,MAAM,WAEzD,CAAC;AAEF,QAAA,MAAM,gBAAgB,gBAAiB,MAAM,OAAO,MAAM,OAAO,MAAM,WAEtE,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ha_tecno/live-id-sdk",
3
- "version": "2.12.3",
3
+ "version": "2.14.0",
4
4
  "description": "React Native SDK for Live ID",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -80,6 +80,7 @@
80
80
  "react": "18.2.0",
81
81
  "react-native": "0.72.7",
82
82
  "react-native-builder-bob": "^0.20.0",
83
+ "react-native-svg-transformer": "^1.5.0",
83
84
  "release-it": "^15.0.0",
84
85
  "turbo": "^1.10.7",
85
86
  "typescript": "*",
@@ -147,6 +148,7 @@
147
148
  },
148
149
  "dependencies": {
149
150
  "@react-native-camera-roll/camera-roll": "^7.8.3",
151
+ "@react-native-community/slider": "^4.5.3",
150
152
  "@react-native-picker/picker": "^2.7.7",
151
153
  "axios": "^1.6.8",
152
154
  "react-native-device-info": "^10.13.1",
@@ -157,6 +159,7 @@
157
159
  "react-native-picker-select": "^9.1.3",
158
160
  "react-native-reanimated": "^3.6.1",
159
161
  "react-native-responsive-fontsize": "^0.5.1",
162
+ "react-native-svg": "^15.7.1",
160
163
  "react-native-uuid": "^2.0.2",
161
164
  "react-native-vector-icons": "^10.0.3",
162
165
  "react-native-vision-camera": "^4.5.2",
@@ -0,0 +1,5 @@
1
+ declare module "*.svg" {
2
+ import { ReactElement, SVGProps } from "react";
3
+ const content: (props: SVGProps<SVGElement>) => ReactElement;
4
+ export default content;
5
+ }