@idmission/websdk-ui 0.1.0-rc.1

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 (500) hide show
  1. package/README.md +189 -0
  2. package/dist/DocumentCaptureView.d.ts +111 -0
  3. package/dist/DocumentCaptureView.d.ts.map +1 -0
  4. package/dist/DocumentCaptureView.js +225 -0
  5. package/dist/FaceLivenessView.d.ts +88 -0
  6. package/dist/FaceLivenessView.d.ts.map +1 -0
  7. package/dist/FaceLivenessView.js +298 -0
  8. package/dist/IdCaptureView.d.ts +271 -0
  9. package/dist/IdCaptureView.d.ts.map +1 -0
  10. package/dist/IdCaptureView.js +454 -0
  11. package/dist/SelfieCaptureView.d.ts +119 -0
  12. package/dist/SelfieCaptureView.d.ts.map +1 -0
  13. package/dist/SelfieCaptureView.js +168 -0
  14. package/dist/SignatureCaptureView.d.ts +136 -0
  15. package/dist/SignatureCaptureView.d.ts.map +1 -0
  16. package/dist/SignatureCaptureView.js +521 -0
  17. package/dist/VideoIdCaptureView.d.ts +104 -0
  18. package/dist/VideoIdCaptureView.d.ts.map +1 -0
  19. package/dist/VideoIdCaptureView.js +253 -0
  20. package/dist/bindings/useDocumentCapture.d.ts +3 -0
  21. package/dist/bindings/useDocumentCapture.d.ts.map +1 -0
  22. package/dist/bindings/useDocumentCapture.js +6 -0
  23. package/dist/bindings/useIdCapture.d.ts +5 -0
  24. package/dist/bindings/useIdCapture.d.ts.map +1 -0
  25. package/dist/bindings/useIdCapture.js +53 -0
  26. package/dist/bindings/useSelfieCapture.d.ts +5 -0
  27. package/dist/bindings/useSelfieCapture.d.ts.map +1 -0
  28. package/dist/bindings/useSelfieCapture.js +53 -0
  29. package/dist/bindings/useSignatureCapture.d.ts +3 -0
  30. package/dist/bindings/useSignatureCapture.d.ts.map +1 -0
  31. package/dist/bindings/useSignatureCapture.js +6 -0
  32. package/dist/bindings/useVideoIdCapture.d.ts +3 -0
  33. package/dist/bindings/useVideoIdCapture.d.ts.map +1 -0
  34. package/dist/bindings/useVideoIdCapture.js +6 -0
  35. package/dist/components/CameraFeed.d.ts +36 -0
  36. package/dist/components/CameraFeed.d.ts.map +1 -0
  37. package/dist/components/CameraFeed.js +74 -0
  38. package/dist/components/ExitCaptureButton.d.ts +6 -0
  39. package/dist/components/ExitCaptureButton.d.ts.map +1 -0
  40. package/dist/components/ExitCaptureButton.js +32 -0
  41. package/dist/components/GuidanceMessage.d.ts +25 -0
  42. package/dist/components/GuidanceMessage.d.ts.map +1 -0
  43. package/dist/components/GuidanceMessage.js +39 -0
  44. package/dist/components/OverrideWrongDocumentTypeDialog.d.ts +20 -0
  45. package/dist/components/OverrideWrongDocumentTypeDialog.d.ts.map +1 -0
  46. package/dist/components/OverrideWrongDocumentTypeDialog.js +55 -0
  47. package/dist/components/additional_documents/AdditionalDocumentCapture.d.ts +41 -0
  48. package/dist/components/additional_documents/AdditionalDocumentCapture.d.ts.map +1 -0
  49. package/dist/components/additional_documents/AdditionalDocumentCapture.js +118 -0
  50. package/dist/components/additional_documents/AdditionalDocumentCaptureWizard.d.ts +18 -0
  51. package/dist/components/additional_documents/AdditionalDocumentCaptureWizard.d.ts.map +1 -0
  52. package/dist/components/additional_documents/AdditionalDocumentCaptureWizard.js +93 -0
  53. package/dist/components/additional_documents/sequence.d.ts +10 -0
  54. package/dist/components/additional_documents/sequence.d.ts.map +1 -0
  55. package/dist/components/additional_documents/sequence.js +11 -0
  56. package/dist/components/additional_documents/types.d.ts +15 -0
  57. package/dist/components/additional_documents/types.d.ts.map +1 -0
  58. package/dist/components/additional_documents/types.js +1 -0
  59. package/dist/components/barcode/BarcodeGuideOverlay.d.ts +23 -0
  60. package/dist/components/barcode/BarcodeGuideOverlay.d.ts.map +1 -0
  61. package/dist/components/barcode/BarcodeGuideOverlay.js +157 -0
  62. package/dist/components/barcode/BarcodeSuccessOverlay.d.ts +7 -0
  63. package/dist/components/barcode/BarcodeSuccessOverlay.d.ts.map +1 -0
  64. package/dist/components/barcode/BarcodeSuccessOverlay.js +58 -0
  65. package/dist/components/common/ButtonsRow.d.ts +2 -0
  66. package/dist/components/common/ButtonsRow.d.ts.map +1 -0
  67. package/dist/components/common/ButtonsRow.js +7 -0
  68. package/dist/components/common/CapturedDocumentImg.d.ts +7 -0
  69. package/dist/components/common/CapturedDocumentImg.d.ts.map +1 -0
  70. package/dist/components/common/CapturedDocumentImg.js +31 -0
  71. package/dist/components/common/Card.d.ts +9 -0
  72. package/dist/components/common/Card.d.ts.map +1 -0
  73. package/dist/components/common/Card.js +16 -0
  74. package/dist/components/common/LoaderButton.d.ts +31 -0
  75. package/dist/components/common/LoaderButton.d.ts.map +1 -0
  76. package/dist/components/common/LoaderButton.js +444 -0
  77. package/dist/components/common/LoadingListItemIndicator.d.ts +5 -0
  78. package/dist/components/common/LoadingListItemIndicator.d.ts.map +1 -0
  79. package/dist/components/common/LoadingListItemIndicator.js +8 -0
  80. package/dist/components/common/animation.d.ts +5 -0
  81. package/dist/components/common/animation.d.ts.map +1 -0
  82. package/dist/components/common/animation.js +35 -0
  83. package/dist/components/common/downloadingLabel.d.ts +10 -0
  84. package/dist/components/common/downloadingLabel.d.ts.map +1 -0
  85. package/dist/components/common/downloadingLabel.js +15 -0
  86. package/dist/components/common/overlay.d.ts +142 -0
  87. package/dist/components/common/overlay.d.ts.map +1 -0
  88. package/dist/components/common/overlay.js +183 -0
  89. package/dist/components/customer_match/CustomerMatchFailure.d.ts +37 -0
  90. package/dist/components/customer_match/CustomerMatchFailure.d.ts.map +1 -0
  91. package/dist/components/customer_match/CustomerMatchFailure.js +38 -0
  92. package/dist/components/customer_match/CustomerMatchSuccess.d.ts +35 -0
  93. package/dist/components/customer_match/CustomerMatchSuccess.d.ts.map +1 -0
  94. package/dist/components/customer_match/CustomerMatchSuccess.js +44 -0
  95. package/dist/components/debug/debug.d.ts +91 -0
  96. package/dist/components/debug/debug.d.ts.map +1 -0
  97. package/dist/components/debug/debug.js +270 -0
  98. package/dist/components/document/DocumentCaptureGuideOverlay.d.ts +15 -0
  99. package/dist/components/document/DocumentCaptureGuideOverlay.d.ts.map +1 -0
  100. package/dist/components/document/DocumentCaptureGuideOverlay.js +148 -0
  101. package/dist/components/document/guideRect.d.ts +11 -0
  102. package/dist/components/document/guideRect.d.ts.map +1 -0
  103. package/dist/components/document/guideRect.js +25 -0
  104. package/dist/components/document/types.d.ts +25 -0
  105. package/dist/components/document/types.d.ts.map +1 -0
  106. package/dist/components/document/types.js +1 -0
  107. package/dist/components/error/CameraAccessDeniedOverlay.d.ts +31 -0
  108. package/dist/components/error/CameraAccessDeniedOverlay.d.ts.map +1 -0
  109. package/dist/components/error/CameraAccessDeniedOverlay.js +45 -0
  110. package/dist/components/error/ErrorScreen.d.ts +60 -0
  111. package/dist/components/error/ErrorScreen.d.ts.map +1 -0
  112. package/dist/components/error/ErrorScreen.js +150 -0
  113. package/dist/components/face_liveness/FaceLivenessFailure.d.ts +35 -0
  114. package/dist/components/face_liveness/FaceLivenessFailure.d.ts.map +1 -0
  115. package/dist/components/face_liveness/FaceLivenessFailure.js +30 -0
  116. package/dist/components/face_liveness/FaceLivenessSuccess.d.ts +31 -0
  117. package/dist/components/face_liveness/FaceLivenessSuccess.d.ts.map +1 -0
  118. package/dist/components/face_liveness/FaceLivenessSuccess.js +56 -0
  119. package/dist/components/fallback/IdCaptureFallback.d.ts +58 -0
  120. package/dist/components/fallback/IdCaptureFallback.d.ts.map +1 -0
  121. package/dist/components/fallback/IdCaptureFallback.js +128 -0
  122. package/dist/components/fallback/IdCaptureOrUploadScreen.d.ts +75 -0
  123. package/dist/components/fallback/IdCaptureOrUploadScreen.d.ts.map +1 -0
  124. package/dist/components/fallback/IdCaptureOrUploadScreen.js +205 -0
  125. package/dist/components/fallback/SelfieCaptureFallback.d.ts +54 -0
  126. package/dist/components/fallback/SelfieCaptureFallback.d.ts.map +1 -0
  127. package/dist/components/fallback/SelfieCaptureFallback.js +106 -0
  128. package/dist/components/fallback/fallbackInstructionStep.d.ts +5 -0
  129. package/dist/components/fallback/fallbackInstructionStep.d.ts.map +1 -0
  130. package/dist/components/fallback/fallbackInstructionStep.js +18 -0
  131. package/dist/components/fallback/readFile.d.ts +2 -0
  132. package/dist/components/fallback/readFile.d.ts.map +1 -0
  133. package/dist/components/fallback/readFile.js +14 -0
  134. package/dist/components/guide_images/backToFront.d.ts +3 -0
  135. package/dist/components/guide_images/backToFront.d.ts.map +1 -0
  136. package/dist/components/guide_images/backToFront.js +17 -0
  137. package/dist/components/guide_images/byUrl.d.ts +3 -0
  138. package/dist/components/guide_images/byUrl.d.ts.map +1 -0
  139. package/dist/components/guide_images/byUrl.js +6 -0
  140. package/dist/components/guide_images/defaults.d.ts +37 -0
  141. package/dist/components/guide_images/defaults.d.ts.map +1 -0
  142. package/dist/components/guide_images/defaults.js +37 -0
  143. package/dist/components/guide_images/index.d.ts +7 -0
  144. package/dist/components/guide_images/index.d.ts.map +1 -0
  145. package/dist/components/guide_images/index.js +5 -0
  146. package/dist/components/guide_images/orientation.d.ts +2 -0
  147. package/dist/components/guide_images/orientation.d.ts.map +1 -0
  148. package/dist/components/guide_images/orientation.js +5 -0
  149. package/dist/components/guide_images/types.d.ts +15 -0
  150. package/dist/components/guide_images/types.d.ts.map +1 -0
  151. package/dist/components/guide_images/types.js +1 -0
  152. package/dist/components/guide_images/useGuideImages.d.ts +3 -0
  153. package/dist/components/guide_images/useGuideImages.d.ts.map +1 -0
  154. package/dist/components/guide_images/useGuideImages.js +19 -0
  155. package/dist/components/guides/FlipIdPrompt.d.ts +28 -0
  156. package/dist/components/guides/FlipIdPrompt.d.ts.map +1 -0
  157. package/dist/components/guides/FlipIdPrompt.js +54 -0
  158. package/dist/components/guides/IdCaptureFitGuide.d.ts +51 -0
  159. package/dist/components/guides/IdCaptureFitGuide.d.ts.map +1 -0
  160. package/dist/components/guides/IdCaptureFitGuide.js +199 -0
  161. package/dist/components/guides/IdCaptureGuideOverlay.d.ts +100 -0
  162. package/dist/components/guides/IdCaptureGuideOverlay.d.ts.map +1 -0
  163. package/dist/components/guides/IdCaptureGuideOverlay.js +137 -0
  164. package/dist/components/guides/IdCaptureGuides.d.ts +47 -0
  165. package/dist/components/guides/IdCaptureGuides.d.ts.map +1 -0
  166. package/dist/components/guides/IdCaptureGuides.js +136 -0
  167. package/dist/components/guides/IdCaptureGuidesCommon.d.ts +136 -0
  168. package/dist/components/guides/IdCaptureGuidesCommon.d.ts.map +1 -0
  169. package/dist/components/guides/IdCaptureGuidesCommon.js +123 -0
  170. package/dist/components/loading/IdCaptureLoadingGraphic.d.ts +9 -0
  171. package/dist/components/loading/IdCaptureLoadingGraphic.d.ts.map +1 -0
  172. package/dist/components/loading/IdCaptureLoadingGraphic.js +76 -0
  173. package/dist/components/loading/IdCaptureLoadingOverlay.d.ts +134 -0
  174. package/dist/components/loading/IdCaptureLoadingOverlay.d.ts.map +1 -0
  175. package/dist/components/loading/IdCaptureLoadingOverlay.js +13 -0
  176. package/dist/components/loading/IdCaptureLoadingOverlayDefault.d.ts +3 -0
  177. package/dist/components/loading/IdCaptureLoadingOverlayDefault.d.ts.map +1 -0
  178. package/dist/components/loading/IdCaptureLoadingOverlayDefault.js +196 -0
  179. package/dist/components/loading/IdCaptureLoadingOverlayLegacy.d.ts +4 -0
  180. package/dist/components/loading/IdCaptureLoadingOverlayLegacy.d.ts.map +1 -0
  181. package/dist/components/loading/IdCaptureLoadingOverlayLegacy.js +69 -0
  182. package/dist/components/loading/IdCaptureLoadingOverlayRing.d.ts +3 -0
  183. package/dist/components/loading/IdCaptureLoadingOverlayRing.d.ts.map +1 -0
  184. package/dist/components/loading/IdCaptureLoadingOverlayRing.js +260 -0
  185. package/dist/components/loading/RingIntroScreen.d.ts +39 -0
  186. package/dist/components/loading/RingIntroScreen.d.ts.map +1 -0
  187. package/dist/components/loading/RingIntroScreen.js +216 -0
  188. package/dist/components/loading/RingProgress.d.ts +9 -0
  189. package/dist/components/loading/RingProgress.d.ts.map +1 -0
  190. package/dist/components/loading/RingProgress.js +24 -0
  191. package/dist/components/loading/RingStageTransition.d.ts +27 -0
  192. package/dist/components/loading/RingStageTransition.d.ts.map +1 -0
  193. package/dist/components/loading/RingStageTransition.js +145 -0
  194. package/dist/components/loading/customerSpinner.d.ts +58 -0
  195. package/dist/components/loading/customerSpinner.d.ts.map +1 -0
  196. package/dist/components/loading/customerSpinner.js +69 -0
  197. package/dist/components/loading/ringIntro.d.ts +15 -0
  198. package/dist/components/loading/ringIntro.d.ts.map +1 -0
  199. package/dist/components/loading/ringIntro.js +5 -0
  200. package/dist/components/loading/ringStatus.d.ts +8 -0
  201. package/dist/components/loading/ringStatus.d.ts.map +1 -0
  202. package/dist/components/loading/ringStatus.js +13 -0
  203. package/dist/components/loading/useAutoContinueWhenReady.d.ts +8 -0
  204. package/dist/components/loading/useAutoContinueWhenReady.d.ts.map +1 -0
  205. package/dist/components/loading/useAutoContinueWhenReady.js +25 -0
  206. package/dist/components/review/ReviewDiagnosticsPanel.d.ts +27 -0
  207. package/dist/components/review/ReviewDiagnosticsPanel.d.ts.map +1 -0
  208. package/dist/components/review/ReviewDiagnosticsPanel.js +475 -0
  209. package/dist/components/review/ReviewScreen.d.ts +34 -0
  210. package/dist/components/review/ReviewScreen.d.ts.map +1 -0
  211. package/dist/components/review/ReviewScreen.js +91 -0
  212. package/dist/components/ring/RingFailureScreen.d.ts +41 -0
  213. package/dist/components/ring/RingFailureScreen.d.ts.map +1 -0
  214. package/dist/components/ring/RingFailureScreen.js +384 -0
  215. package/dist/components/ring/RingFinishingScreen.d.ts +27 -0
  216. package/dist/components/ring/RingFinishingScreen.d.ts.map +1 -0
  217. package/dist/components/ring/RingFinishingScreen.js +184 -0
  218. package/dist/components/ring/RingSuccessScreen.d.ts +33 -0
  219. package/dist/components/ring/RingSuccessScreen.d.ts.map +1 -0
  220. package/dist/components/ring/RingSuccessScreen.js +185 -0
  221. package/dist/components/selfie/FaceCaptureGuideOverlay.d.ts +17 -0
  222. package/dist/components/selfie/FaceCaptureGuideOverlay.d.ts.map +1 -0
  223. package/dist/components/selfie/FaceCaptureGuideOverlay.js +39 -0
  224. package/dist/components/selfie/SelfieCameraFeed.d.ts +8 -0
  225. package/dist/components/selfie/SelfieCameraFeed.d.ts.map +1 -0
  226. package/dist/components/selfie/SelfieCameraFeed.js +16 -0
  227. package/dist/components/selfie/SelfieCaptureAnimatedMask.d.ts +15 -0
  228. package/dist/components/selfie/SelfieCaptureAnimatedMask.d.ts.map +1 -0
  229. package/dist/components/selfie/SelfieCaptureAnimatedMask.js +111 -0
  230. package/dist/components/selfie/SelfieCaptureLoadingGraphic.d.ts +4 -0
  231. package/dist/components/selfie/SelfieCaptureLoadingGraphic.d.ts.map +1 -0
  232. package/dist/components/selfie/SelfieCaptureLoadingGraphic.js +28 -0
  233. package/dist/components/selfie/SelfieCaptureSurface.d.ts +126 -0
  234. package/dist/components/selfie/SelfieCaptureSurface.d.ts.map +1 -0
  235. package/dist/components/selfie/SelfieCaptureSurface.js +248 -0
  236. package/dist/components/selfie_loading/SelfieCaptureLoadingOverlay.d.ts +136 -0
  237. package/dist/components/selfie_loading/SelfieCaptureLoadingOverlay.d.ts.map +1 -0
  238. package/dist/components/selfie_loading/SelfieCaptureLoadingOverlay.js +13 -0
  239. package/dist/components/selfie_loading/SelfieCaptureLoadingOverlayDefault.d.ts +3 -0
  240. package/dist/components/selfie_loading/SelfieCaptureLoadingOverlayDefault.d.ts.map +1 -0
  241. package/dist/components/selfie_loading/SelfieCaptureLoadingOverlayDefault.js +181 -0
  242. package/dist/components/selfie_loading/SelfieCaptureLoadingOverlayLegacy.d.ts +3 -0
  243. package/dist/components/selfie_loading/SelfieCaptureLoadingOverlayLegacy.d.ts.map +1 -0
  244. package/dist/components/selfie_loading/SelfieCaptureLoadingOverlayLegacy.js +67 -0
  245. package/dist/components/selfie_loading/SelfieCaptureLoadingOverlayRing.d.ts +3 -0
  246. package/dist/components/selfie_loading/SelfieCaptureLoadingOverlayRing.d.ts.map +1 -0
  247. package/dist/components/selfie_loading/SelfieCaptureLoadingOverlayRing.js +265 -0
  248. package/dist/components/videoId/VideoIdCaptureGuides.d.ts +42 -0
  249. package/dist/components/videoId/VideoIdCaptureGuides.d.ts.map +1 -0
  250. package/dist/components/videoId/VideoIdCaptureGuides.js +173 -0
  251. package/dist/flows/AuthStateContext.d.ts +33 -0
  252. package/dist/flows/AuthStateContext.d.ts.map +1 -0
  253. package/dist/flows/AuthStateContext.js +47 -0
  254. package/dist/flows/CompositeWizard.d.ts +76 -0
  255. package/dist/flows/CompositeWizard.d.ts.map +1 -0
  256. package/dist/flows/CompositeWizard.js +200 -0
  257. package/dist/flows/CustomerBiometricsEnrollmentFlow.d.ts +28 -0
  258. package/dist/flows/CustomerBiometricsEnrollmentFlow.d.ts.map +1 -0
  259. package/dist/flows/CustomerBiometricsEnrollmentFlow.js +138 -0
  260. package/dist/flows/CustomerIdAndBiometricsEnrollmentFlow.d.ts +47 -0
  261. package/dist/flows/CustomerIdAndBiometricsEnrollmentFlow.d.ts.map +1 -0
  262. package/dist/flows/CustomerIdAndBiometricsEnrollmentFlow.js +231 -0
  263. package/dist/flows/CustomerIdentificationFlow.d.ts +4 -0
  264. package/dist/flows/CustomerIdentificationFlow.d.ts.map +1 -0
  265. package/dist/flows/CustomerIdentificationFlow.js +11 -0
  266. package/dist/flows/CustomerVerificationFlow.d.ts +9 -0
  267. package/dist/flows/CustomerVerificationFlow.d.ts.map +1 -0
  268. package/dist/flows/CustomerVerificationFlow.js +17 -0
  269. package/dist/flows/DocumentCaptureFlow.d.ts +23 -0
  270. package/dist/flows/DocumentCaptureFlow.d.ts.map +1 -0
  271. package/dist/flows/DocumentCaptureFlow.js +116 -0
  272. package/dist/flows/FaceValidationFlow.d.ts +12 -0
  273. package/dist/flows/FaceValidationFlow.d.ts.map +1 -0
  274. package/dist/flows/FaceValidationFlow.js +53 -0
  275. package/dist/flows/FlowChassis.d.ts +39 -0
  276. package/dist/flows/FlowChassis.d.ts.map +1 -0
  277. package/dist/flows/FlowChassis.js +69 -0
  278. package/dist/flows/IdAndFaceValidationFlow.d.ts +36 -0
  279. package/dist/flows/IdAndFaceValidationFlow.d.ts.map +1 -0
  280. package/dist/flows/IdAndFaceValidationFlow.js +168 -0
  281. package/dist/flows/IdValidationFlow.d.ts +29 -0
  282. package/dist/flows/IdValidationFlow.d.ts.map +1 -0
  283. package/dist/flows/IdValidationFlow.js +106 -0
  284. package/dist/flows/OrbStatusScreen.d.ts +14 -0
  285. package/dist/flows/OrbStatusScreen.d.ts.map +1 -0
  286. package/dist/flows/OrbStatusScreen.js +60 -0
  287. package/dist/flows/RemoteDiagnosticsMount.d.ts +6 -0
  288. package/dist/flows/RemoteDiagnosticsMount.d.ts.map +1 -0
  289. package/dist/flows/RemoteDiagnosticsMount.js +57 -0
  290. package/dist/flows/SignatureKYCFlow.d.ts +33 -0
  291. package/dist/flows/SignatureKYCFlow.d.ts.map +1 -0
  292. package/dist/flows/SignatureKYCFlow.js +228 -0
  293. package/dist/flows/SubmissionProvider.d.ts +40 -0
  294. package/dist/flows/SubmissionProvider.d.ts.map +1 -0
  295. package/dist/flows/SubmissionProvider.js +136 -0
  296. package/dist/flows/SubmissionSuccess.d.ts +48 -0
  297. package/dist/flows/SubmissionSuccess.d.ts.map +1 -0
  298. package/dist/flows/SubmissionSuccess.js +488 -0
  299. package/dist/flows/VideoIdValidationFlow.d.ts +61 -0
  300. package/dist/flows/VideoIdValidationFlow.d.ts.map +1 -0
  301. package/dist/flows/VideoIdValidationFlow.js +171 -0
  302. package/dist/flows/additionalDocuments.d.ts +5 -0
  303. package/dist/flows/additionalDocuments.d.ts.map +1 -0
  304. package/dist/flows/additionalDocuments.js +26 -0
  305. package/dist/flows/artifacts.d.ts +8 -0
  306. package/dist/flows/artifacts.d.ts.map +1 -0
  307. package/dist/flows/artifacts.js +80 -0
  308. package/dist/flows/customerMatch/CustomerMatchCapture.d.ts +53 -0
  309. package/dist/flows/customerMatch/CustomerMatchCapture.d.ts.map +1 -0
  310. package/dist/flows/customerMatch/CustomerMatchCapture.js +211 -0
  311. package/dist/flows/customerMatch/CustomerMatchFlow.d.ts +94 -0
  312. package/dist/flows/customerMatch/CustomerMatchFlow.d.ts.map +1 -0
  313. package/dist/flows/customerMatch/CustomerMatchFlow.js +209 -0
  314. package/dist/flows/customerMatch/adapters.d.ts +34 -0
  315. package/dist/flows/customerMatch/adapters.d.ts.map +1 -0
  316. package/dist/flows/customerMatch/adapters.js +63 -0
  317. package/dist/flows/customerMatch/identificationReducer.d.ts +34 -0
  318. package/dist/flows/customerMatch/identificationReducer.d.ts.map +1 -0
  319. package/dist/flows/customerMatch/identificationReducer.js +75 -0
  320. package/dist/flows/customerMatch/verificationReducer.d.ts +34 -0
  321. package/dist/flows/customerMatch/verificationReducer.d.ts.map +1 -0
  322. package/dist/flows/customerMatch/verificationReducer.js +77 -0
  323. package/dist/flows/documentCapture.d.ts +5 -0
  324. package/dist/flows/documentCapture.d.ts.map +1 -0
  325. package/dist/flows/documentCapture.js +8 -0
  326. package/dist/flows/jsonHighlight.d.ts +19 -0
  327. package/dist/flows/jsonHighlight.d.ts.map +1 -0
  328. package/dist/flows/jsonHighlight.js +90 -0
  329. package/dist/flows/overlays.d.ts +91 -0
  330. package/dist/flows/overlays.d.ts.map +1 -0
  331. package/dist/flows/overlays.js +150 -0
  332. package/dist/flows/ringIntroImplications.d.ts +30 -0
  333. package/dist/flows/ringIntroImplications.d.ts.map +1 -0
  334. package/dist/flows/ringIntroImplications.js +58 -0
  335. package/dist/flows/ringScreens.d.ts +27 -0
  336. package/dist/flows/ringScreens.d.ts.map +1 -0
  337. package/dist/flows/ringScreens.js +18 -0
  338. package/dist/flows/sequencer.d.ts +12 -0
  339. package/dist/flows/sequencer.d.ts.map +1 -0
  340. package/dist/flows/sequencer.js +18 -0
  341. package/dist/flows/sharedCamera.d.ts +23 -0
  342. package/dist/flows/sharedCamera.d.ts.map +1 -0
  343. package/dist/flows/sharedCamera.js +64 -0
  344. package/dist/flows/signatureStep.d.ts +25 -0
  345. package/dist/flows/signatureStep.d.ts.map +1 -0
  346. package/dist/flows/signatureStep.js +99 -0
  347. package/dist/flows/types.d.ts +106 -0
  348. package/dist/flows/types.d.ts.map +1 -0
  349. package/dist/flows/types.js +1 -0
  350. package/dist/flows/useGeolocation.d.ts +24 -0
  351. package/dist/flows/useGeolocation.d.ts.map +1 -0
  352. package/dist/flows/useGeolocation.js +82 -0
  353. package/dist/flows/useShowSuccessScreen.d.ts +3 -0
  354. package/dist/flows/useShowSuccessScreen.d.ts.map +1 -0
  355. package/dist/flows/useShowSuccessScreen.js +51 -0
  356. package/dist/flows/useTimeout.d.ts +7 -0
  357. package/dist/flows/useTimeout.d.ts.map +1 -0
  358. package/dist/flows/useTimeout.js +68 -0
  359. package/dist/flows/videoIdSteps.d.ts +33 -0
  360. package/dist/flows/videoIdSteps.d.ts.map +1 -0
  361. package/dist/flows/videoIdSteps.js +54 -0
  362. package/dist/guidance/selfieStrings.d.ts +18 -0
  363. package/dist/guidance/selfieStrings.d.ts.map +1 -0
  364. package/dist/guidance/selfieStrings.js +97 -0
  365. package/dist/guidance/strings.d.ts +4 -0
  366. package/dist/guidance/strings.d.ts.map +1 -0
  367. package/dist/guidance/strings.js +43 -0
  368. package/dist/guidance/videoIdStrings.d.ts +23 -0
  369. package/dist/guidance/videoIdStrings.d.ts.map +1 -0
  370. package/dist/guidance/videoIdStrings.js +23 -0
  371. package/dist/i18n/index.d.ts +1221 -0
  372. package/dist/i18n/index.d.ts.map +1 -0
  373. package/dist/i18n/index.js +92 -0
  374. package/dist/i18n/locales/de.d.ts +149 -0
  375. package/dist/i18n/locales/de.d.ts.map +1 -0
  376. package/dist/i18n/locales/de.js +147 -0
  377. package/dist/i18n/locales/en.d.ts +3 -0
  378. package/dist/i18n/locales/en.d.ts.map +1 -0
  379. package/dist/i18n/locales/en.js +1 -0
  380. package/dist/i18n/locales/es.d.ts +149 -0
  381. package/dist/i18n/locales/es.d.ts.map +1 -0
  382. package/dist/i18n/locales/es.js +147 -0
  383. package/dist/i18n/locales/fr.d.ts +149 -0
  384. package/dist/i18n/locales/fr.d.ts.map +1 -0
  385. package/dist/i18n/locales/fr.js +147 -0
  386. package/dist/i18n/locales/it.d.ts +149 -0
  387. package/dist/i18n/locales/it.d.ts.map +1 -0
  388. package/dist/i18n/locales/it.js +147 -0
  389. package/dist/i18n/locales/ja.d.ts +149 -0
  390. package/dist/i18n/locales/ja.d.ts.map +1 -0
  391. package/dist/i18n/locales/ja.js +147 -0
  392. package/dist/i18n/locales/pt.d.ts +149 -0
  393. package/dist/i18n/locales/pt.d.ts.map +1 -0
  394. package/dist/i18n/locales/pt.js +147 -0
  395. package/dist/i18n/locales/ru.d.ts +149 -0
  396. package/dist/i18n/locales/ru.d.ts.map +1 -0
  397. package/dist/i18n/locales/ru.js +147 -0
  398. package/dist/i18n/locales/zh.d.ts +149 -0
  399. package/dist/i18n/locales/zh.d.ts.map +1 -0
  400. package/dist/i18n/locales/zh.js +147 -0
  401. package/dist/i18n/render.d.ts +3 -0
  402. package/dist/i18n/render.d.ts.map +1 -0
  403. package/dist/i18n/render.js +7 -0
  404. package/dist/index.d.ts +157 -0
  405. package/dist/index.d.ts.map +1 -0
  406. package/dist/index.js +191 -0
  407. package/dist/layout/GuideLayoutContext.d.ts +24 -0
  408. package/dist/layout/GuideLayoutContext.d.ts.map +1 -0
  409. package/dist/layout/GuideLayoutContext.js +19 -0
  410. package/dist/layout/GuideOrientationContext.d.ts +16 -0
  411. package/dist/layout/GuideOrientationContext.d.ts.map +1 -0
  412. package/dist/layout/GuideOrientationContext.js +40 -0
  413. package/dist/layout/useResizeObserver.d.ts +11 -0
  414. package/dist/layout/useResizeObserver.d.ts.map +1 -0
  415. package/dist/layout/useResizeObserver.js +114 -0
  416. package/dist/testing/alignGlobals.d.ts +2 -0
  417. package/dist/testing/alignGlobals.d.ts.map +1 -0
  418. package/dist/testing/alignGlobals.js +25 -0
  419. package/dist/testing/buildDocumentState.d.ts +4 -0
  420. package/dist/testing/buildDocumentState.d.ts.map +1 -0
  421. package/dist/testing/buildDocumentState.js +19 -0
  422. package/dist/testing/buildSelfieState.d.ts +8 -0
  423. package/dist/testing/buildSelfieState.d.ts.map +1 -0
  424. package/dist/testing/buildSelfieState.js +84 -0
  425. package/dist/testing/buildSignatureState.d.ts +3 -0
  426. package/dist/testing/buildSignatureState.d.ts.map +1 -0
  427. package/dist/testing/buildSignatureState.js +12 -0
  428. package/dist/testing/buildState.d.ts +3 -0
  429. package/dist/testing/buildState.d.ts.map +1 -0
  430. package/dist/testing/buildState.js +34 -0
  431. package/dist/testing/buildVideoIdState.d.ts +3 -0
  432. package/dist/testing/buildVideoIdState.d.ts.map +1 -0
  433. package/dist/testing/buildVideoIdState.js +11 -0
  434. package/dist/testing/classNamesLeaves.d.ts +14 -0
  435. package/dist/testing/classNamesLeaves.d.ts.map +1 -0
  436. package/dist/testing/classNamesLeaves.js +144 -0
  437. package/dist/testing/fakeClient.d.ts +61 -0
  438. package/dist/testing/fakeClient.d.ts.map +1 -0
  439. package/dist/testing/fakeClient.js +142 -0
  440. package/dist/testing/fakeController.d.ts +18 -0
  441. package/dist/testing/fakeController.d.ts.map +1 -0
  442. package/dist/testing/fakeController.js +165 -0
  443. package/dist/testing/fakeDocumentController.d.ts +37 -0
  444. package/dist/testing/fakeDocumentController.d.ts.map +1 -0
  445. package/dist/testing/fakeDocumentController.js +104 -0
  446. package/dist/testing/fakeSelfieController.d.ts +15 -0
  447. package/dist/testing/fakeSelfieController.d.ts.map +1 -0
  448. package/dist/testing/fakeSelfieController.js +154 -0
  449. package/dist/testing/fakeSignatureController.d.ts +12 -0
  450. package/dist/testing/fakeSignatureController.d.ts.map +1 -0
  451. package/dist/testing/fakeSignatureController.js +58 -0
  452. package/dist/testing/fakeVideoIdController.d.ts +12 -0
  453. package/dist/testing/fakeVideoIdController.d.ts.map +1 -0
  454. package/dist/testing/fakeVideoIdController.js +50 -0
  455. package/dist/testing/index.d.ts +15 -0
  456. package/dist/testing/index.d.ts.map +1 -0
  457. package/dist/testing/index.js +18 -0
  458. package/dist/testing/stubSignatureCanvas.d.ts +2 -0
  459. package/dist/testing/stubSignatureCanvas.d.ts.map +1 -0
  460. package/dist/testing/stubSignatureCanvas.js +26 -0
  461. package/dist/testing/stubVideoCaptureDom.d.ts +2 -0
  462. package/dist/testing/stubVideoCaptureDom.d.ts.map +1 -0
  463. package/dist/testing/stubVideoCaptureDom.js +36 -0
  464. package/dist/theme/color.d.ts +14 -0
  465. package/dist/theme/color.d.ts.map +1 -0
  466. package/dist/theme/color.js +1 -0
  467. package/dist/theme/index.d.ts +405 -0
  468. package/dist/theme/index.d.ts.map +1 -0
  469. package/dist/theme/index.js +230 -0
  470. package/dist/utils/canvas.d.ts +3 -0
  471. package/dist/utils/canvas.d.ts.map +1 -0
  472. package/dist/utils/canvas.js +16 -0
  473. package/dist/utils/cdn.d.ts +2 -0
  474. package/dist/utils/cdn.d.ts.map +1 -0
  475. package/dist/utils/cdn.js +3 -0
  476. package/dist/utils/cropping.d.ts +4 -0
  477. package/dist/utils/cropping.d.ts.map +1 -0
  478. package/dist/utils/cropping.js +11 -0
  479. package/dist/utils/flowClock.d.ts +6 -0
  480. package/dist/utils/flowClock.d.ts.map +1 -0
  481. package/dist/utils/flowClock.js +22 -0
  482. package/dist/utils/isMobile.d.ts +3 -0
  483. package/dist/utils/isMobile.d.ts.map +1 -0
  484. package/dist/utils/isMobile.js +35 -0
  485. package/dist/utils/loadProgressHooks.d.ts +25 -0
  486. package/dist/utils/loadProgressHooks.d.ts.map +1 -0
  487. package/dist/utils/loadProgressHooks.js +79 -0
  488. package/dist/utils/logger.d.ts +18 -0
  489. package/dist/utils/logger.d.ts.map +1 -0
  490. package/dist/utils/logger.js +38 -0
  491. package/dist/utils/merge.d.ts +3 -0
  492. package/dist/utils/merge.d.ts.map +1 -0
  493. package/dist/utils/merge.js +23 -0
  494. package/dist/utils/signaturePadStrokeGuard.d.ts +16 -0
  495. package/dist/utils/signaturePadStrokeGuard.d.ts.map +1 -0
  496. package/dist/utils/signaturePadStrokeGuard.js +70 -0
  497. package/dist/version.d.ts +2 -0
  498. package/dist/version.d.ts.map +1 -0
  499. package/dist/version.js +3 -0
  500. package/package.json +71 -0
@@ -0,0 +1,147 @@
1
+ export default {
2
+ 'English - en': 'Chinese (Traditional) - zh',
3
+ 'Use your device camera to capture your ID': '使用裝置相機拍攝證件',
4
+ 'Use your iPhone as a webcam': '將 iPhone 當作網路攝影機使用',
5
+ 'Authenticating...': '正在驗證...',
6
+ 'Models warming up...': '正在暖機...',
7
+ 'Camera initializing...': '相機正在初始化...',
8
+ 'Camera access blocked': '相機存取遭封鎖',
9
+ 'Location access blocked': '位置存取遭封鎖',
10
+ Continue: '繼續',
11
+ 'Processing...': '正在處理...',
12
+ 'Your camera permission is disabled': '已停用相機權限',
13
+ 'This application requires access to your camera to continue. Please accept the permission once prompted by the browser. If the browser does not prompt for camera permissions, you must go to settings and provide camera access to the current browser.': '此應用程式需要存取相機才能繼續。瀏覽器提示後,請接受權限。如果瀏覽器未提示相機權限,必須前往設定並為目前瀏覽器提供相機存取權限。',
14
+ 'Your microphone permission is disabled': '已停用麥克風權限',
15
+ 'This application requires access to your microphone to continue. Please accept the permission once prompted by the browser. If the browser does not prompt for microphone permissions, you must go to settings and provide microphone access to the current browser.': '此應用程式需要存取麥克風才能繼續。瀏覽器提示後,請接受權限。如果瀏覽器未提示麥克風權限,必須前往設定並為目前瀏覽器提供麥克風存取權限。',
16
+ 'Your location permission is disabled': '已停用位置權限',
17
+ 'This application requires access to your location to continue. Please accept the permission once prompted by the browser. If the browser does not prompt for location permissions, you must go to settings and provide location access to the current browser.': '此應用程式需要存取位置才能繼續。瀏覽器提示後,請接受權限。如果瀏覽器未提示位置權限,必須前往設定並為目前瀏覽器提供位置存取權限。',
18
+ Retry: '重試',
19
+ 'Scan the front of ID': '掃描證件正面',
20
+ 'Scan the back of ID': '掃描證件背面',
21
+ 'Scan the ID page of passport': '掃描護照的 ID 頁面',
22
+ 'ID Card Front': '證件正面',
23
+ 'ID Card Back': '證件背面',
24
+ Passport: '護照',
25
+ 'Document not detected': '未偵測到文件',
26
+ 'Document is not centered': '文件未置中',
27
+ 'Move closer, fill the frame with your fully opened passport booklet.': '靠近一些,讓完全翻開的護照填滿畫面。',
28
+ 'Move back, make sure all 4 corners of your fully opened passport booklet are visible.': '後退一些,確保完全翻開的護照的四個角都清晰可見。',
29
+ 'Document too close, please back up': '文件太近,請後退',
30
+ 'Please hold your ID document steady': '請拿穩證件',
31
+ 'Document out of focus - try improving the lighting': '文件失焦 - 請嘗試改善燈光',
32
+ 'ID card front detected - please flip your ID card': '偵測到證件正面 - 請將證件翻面',
33
+ 'ID card back detected - please flip your ID card': '偵測到證件背面 - 請將證件翻面',
34
+ 'ID card detected, please scan a passport instead': '偵測到證件,請掃描護照',
35
+ 'Passport detected, please scan an ID card instead': '偵測到護照,請掃描證件',
36
+ 'Document detected, hold still...': '偵測到的文件保持不動...',
37
+ 'ID card front detected, hold still...': '偵測到的證件正面保持不動...',
38
+ 'ID card back detected, hold still...': '偵測到的證件背面保持不動...',
39
+ 'Passport detected, hold still...': '偵測到的護照保持不動...',
40
+ 'Capturing...': '正在拍攝...',
41
+ 'Capture failed!': '拍攝失敗!',
42
+ 'Please flip your ID card...': '請將證件翻面...',
43
+ 'ID card front captured.': '已拍攝證件正面。',
44
+ 'ID card back captured.': '已拍攝證件背面。',
45
+ 'ID Capture Successful': '證件拍攝成功',
46
+ 'Verify the entire ID was captured clearly with no glare.': '確認是否清楚拍攝整個證件,無眩光。',
47
+ Submit: '提交',
48
+ 'Submitting...': '正在提交...',
49
+ 'Use your device camera to capture your face': '使用裝置相機拍攝您的臉部',
50
+ 'Remove Sunglasses & Hat': '取下太陽眼鏡和帽子',
51
+ 'Avoid Excessive Backlighting': '避免過度背光',
52
+ 'Hold still for a few seconds...': '請保持不動幾秒...',
53
+ 'Photo captured, verifying...': '照片已拍攝,驗證中...',
54
+ 'Please hold still...': '請保持不動...',
55
+ 'Look straight into the camera...': '請直視相機...',
56
+ 'Move back...': '請後退...',
57
+ 'Move forward...': '請前進...',
58
+ 'Move to the center...': '請移至中心...',
59
+ 'Waiting for face to be detected...': '正在等待臉部辨識...',
60
+ 'Improve lighting conditions...': '改善照明條件...',
61
+ 'Please remove your eye coverings (sunglasses eye patch etc.)...': '請取下眼睛遮蓋物(太陽眼鏡、眼罩等)...',
62
+ 'Please remove your head coverings (hat scarf etc.)...': '請取下頭部遮蓋物(帽子、圍巾等)...',
63
+ 'Please remove your mask...': '請脫下口罩...',
64
+ 'Live face not detected, please try again': '未偵測到活體人臉,請再試一次',
65
+ Exit: '退出',
66
+ 'Face liveness has been verified!': '已驗證人臉活體!',
67
+ Done: '完成',
68
+ 'Could not verify your face.': '無法驗證您的臉部。',
69
+ 'An error occurred while verifying your face.': '驗證您的臉部時發生錯誤。',
70
+ 'Customer has been identified!': '已識別客戶!',
71
+ 'Customer not found': '找不到客戶',
72
+ 'Additional document capture': '其他文件拍攝',
73
+ Next: '下一步',
74
+ 'Please sign the box below': '請在下方的方框中簽名',
75
+ Accept: '接受',
76
+ Clear: '清除',
77
+ 'Video signature has been successfully captured!': '已成功拍攝影片簽名!',
78
+ 'Network unreachable': '網路無法連線',
79
+ "We're having trouble reaching our services please check your connection and try again.": '無法與服務連線,請檢查連線並再試一次。',
80
+ 'Authentication failed': '驗證失敗',
81
+ 'Your session could not be authenticated. Please start a new session and try again.': '無法驗證您的工作階段。請開始新的工作階段後再試一次。',
82
+ "We're sorry an unexpected error has occurred.": '很抱歉,發生非預期錯誤。',
83
+ 'Document Capture': '文件拍攝',
84
+ Capture: '拍攝',
85
+ 'Retry capture': '重試拍攝',
86
+ Upload: '上傳',
87
+ 'Uploading...': '正在上傳...',
88
+ 'Upload succeeded!': '上傳成功!',
89
+ 'Performing facial recognition, please hold still...': '正在進行臉部辨識,請保持不動...',
90
+ 'Display the front of your ID card...': '出示證件正面...',
91
+ 'Display the back of your ID card...': '出示證件背面...',
92
+ 'Display the ID page of your passport...': '出示護照的 ID 頁面...',
93
+ 'Please move your face to the center...': '請將臉部移至中心...',
94
+ 'Searching for ID card...': '正在搜尋證件...',
95
+ 'Please read the following text aloud': '請大聲讀出以下文字',
96
+ 'Video ID has been successfully captured!': '已成功拍攝影片 ID!',
97
+ 'ID Front Image': '證件正面影像',
98
+ 'ID Back Image': '證件背面影像',
99
+ "We're having some trouble.": '發生一些問題。',
100
+ 'On-device capture guidance failed, please capture a selfie manually.': '裝置上拍攝引導失敗,請手動拍攝自拍照',
101
+ 'Verifying...': '正在驗證...',
102
+ 'Please capture the front of your ID card.': '請拍攝證件正面。',
103
+ 'Please capture the back of your ID card.': '請拍攝證件背面。',
104
+ 'Please capture the front of your ID card, or the ID page of your passport.': '請拍攝證件正面或護照的 ID 頁面。',
105
+ 'Please capture the back of your ID card, or click Done if submitting a passport.': '請拍攝證件背面,或者如果提交護照,請按一下「完成」。',
106
+ 'Please capture the ID page of your passport.': '請拍攝護照的 ID 頁面。',
107
+ 'On-device capture guidance failed, please capture a photo of your ID card manually.': '裝置上拍攝引導失敗,請手動拍攝證件的照片。',
108
+ 'On-device capture guidance failed, please capture a photo of your passport manually.': '裝置上拍攝引導失敗,請手動拍攝護照的照片。',
109
+ 'On-device capture guidance failed, please capture photos of your ID card and passport manually.': '裝置上拍攝引導失敗,請手動拍攝證件和護照的照片。',
110
+ 'On-device capture guidance failed, please capture photos of your ID card or passport manually.': '裝置上拍攝引導失敗,請手動拍攝證件或護照的照片。',
111
+ 'Capture ID page of passport': '拍攝護照的 ID 頁面',
112
+ 'Capture back of ID card': '拍攝證件背面',
113
+ 'Downloading...': '正在下載...',
114
+ 'Accessing camera...': '正在存取相機...',
115
+ 'Camera ready': '相機就緒',
116
+ 'Loading guided capture experience...': '正在載入引導式拍攝體驗...',
117
+ 'Guided capture experience ready': '引導式拍攝體驗就緒',
118
+ "Let's Go!": '開始!',
119
+ 'Please wait...': '請稍候...',
120
+ 'We are having trouble identifying the correct side of your id, do you want to continue with capture anyway?': '無法識別證件的正確一面,是否仍要繼續拍攝?',
121
+ OK: '確定',
122
+ 'Capture with Camera': '使用相机拍摄',
123
+ OR: '或者',
124
+ 'Upload from Storage': '从存储中上传',
125
+ 'Select ID Type': '选择身份证类型',
126
+ 'ID Card': '身份证',
127
+ 'Upload Passport': '上传护照',
128
+ 'Upload ID Front': '上传身份证正面',
129
+ 'Upload ID Back': '上传身份证背面',
130
+ Cancel: '取消',
131
+ 'Upload the back of the ID if it is not included in the front image.': '如果正面照片没有包含身份证背面,请上传背面照片。',
132
+ 'Camera tampering detected': '檢測到相機被篡改',
133
+ 'A browser extension or other software is interfering with camera access. Please try disabling browser extensions, updating your browser to the latest version, or switching to a different browser.': '瀏覽器擴充功能或其他軟體正在干擾相機存取。請嘗試停用瀏覽器擴充功能、將瀏覽器更新至最新版本或切換至其他瀏覽器。',
134
+ 'Position your face in the circle and click to capture.': '將您的臉部置於圓圈中,點擊拍攝。',
135
+ 'Sign here': '在此簽名',
136
+ 'Customer has been verified!': '客户已验证!',
137
+ 'Customer not verified': '客户未验证',
138
+ "Let's try that again — please follow the prompts.": '让我们再试一次——请按照提示操作。',
139
+ 'Please move your fingers off the document': '请将手指从证件上移开',
140
+ 'Please reduce glare on the document': '请减少证件上的眩光',
141
+ 'Please reduce reflections on the document': '请减少证件上的反光',
142
+ 'Verify liveness...': '正在验证活体...',
143
+ 'SCAN THE BARCODE': '扫描条形码',
144
+ 'Bring camera closer until the barcode fills the rectangular box.': '请将相机靠近,直到条形码填满矩形框。',
145
+ 'Please move the barcode closer to the camera': '请将条形码靠近相机',
146
+ 'Barcode capture in progress, please hold still': '正在采集条形码,请保持不动',
147
+ };
@@ -0,0 +1,3 @@
1
+ import { ComponentType, ReactElement } from 'react';
2
+ export declare function renderVerbiage(verbiage: string | ComponentType): ReactElement;
3
+ //# sourceMappingURL=render.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../src/i18n/render.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAEnD,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,aAAa,GAAG,YAAY,CAI7E"}
@@ -0,0 +1,7 @@
1
+ import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
2
+ export function renderVerbiage(verbiage) {
3
+ if (typeof verbiage === 'string')
4
+ return _jsx(_Fragment, { children: verbiage });
5
+ const Verbiage = verbiage;
6
+ return _jsx(Verbiage, {});
7
+ }
@@ -0,0 +1,157 @@
1
+ export { webSdkUiVersion } from './version';
2
+ export { IdCaptureView } from './IdCaptureView';
3
+ export type { IdCaptureViewProps, IdCaptureViewVerbiage, IdCaptureViewClassNames, IdCaptureViewAssets, } from './IdCaptureView';
4
+ export { SelfieCaptureView } from './SelfieCaptureView';
5
+ export type { SelfieCaptureViewProps, SelfieCaptureViewVerbiage, SelfieCaptureViewClassNames, SelfieCaptureViewAssets, SelfieGuidanceVerbiage, } from './SelfieCaptureView';
6
+ export { FaceLivenessView } from './FaceLivenessView';
7
+ export type { FaceLivenessViewProps, FaceLivenessViewVerbiage, FaceLivenessViewClassNames, FaceLivenessViewAssets, FaceLivenessGuidanceVerbiage, } from './FaceLivenessView';
8
+ export { SignatureCaptureView } from './SignatureCaptureView';
9
+ export type { RecordingInterruptedScreenProps, SignatureCaptureViewProps, SignatureCaptureViewAssets, SignatureCaptureViewClassNames, SignatureCaptureViewVerbiage, } from './SignatureCaptureView';
10
+ export { VideoIdCaptureView } from './VideoIdCaptureView';
11
+ export type { VideoIdCaptureViewProps, VideoIdCaptureViewClassNames, VideoIdCaptureViewVerbiage, } from './VideoIdCaptureView';
12
+ export { DocumentCaptureView } from './DocumentCaptureView';
13
+ export type { DocumentCaptureViewProps, DocumentCaptureViewClassNames, DocumentCaptureViewVerbiage, } from './DocumentCaptureView';
14
+ export { DocumentCaptureGuideOverlay } from './components/document/DocumentCaptureGuideOverlay';
15
+ export type { DocumentCaptureGuideOverlayProps, DocumentCaptureGuideOverlayClassNames, } from './components/document/DocumentCaptureGuideOverlay';
16
+ export type { CapturedDocument } from './components/document/types';
17
+ export { useIdCapture, useIdCaptureSelector } from './bindings/useIdCapture';
18
+ export { useSelfieCapture, useSelfieCaptureSelector } from './bindings/useSelfieCapture';
19
+ export { useSignatureCapture } from './bindings/useSignatureCapture';
20
+ export { useVideoIdCapture } from './bindings/useVideoIdCapture';
21
+ export { useDocumentCapture } from './bindings/useDocumentCapture';
22
+ export { ThemeProvider, themes, resolveTheme } from './theme';
23
+ export type { Theme, ThemeInput } from './theme';
24
+ export type { Color } from './theme/color';
25
+ export { initializeI18n, useLanguage, useVerbiage, useTranslations, ALL_LANGUAGES } from './i18n';
26
+ export type { LangOption, CustomerSuppliedVerbiage, CustomerSuppliedTranslations, } from './i18n';
27
+ export { guidanceMessageKey, instructionKey } from './guidance/strings';
28
+ export { GuideLayoutProvider, useGuideLayout } from './layout/GuideLayoutContext';
29
+ export type { GuideRect, GuideLayoutState } from './layout/GuideLayoutContext';
30
+ export { default as GuideOrientationContextProvider } from './layout/GuideOrientationContext';
31
+ export { useGuideOrientationContext, } from './layout/GuideOrientationContext';
32
+ export type { GuideOrientationState } from './layout/GuideOrientationContext';
33
+ export { CameraVideoTag, ScalingCameraFeed, CameraFeedWrapper } from './components/CameraFeed';
34
+ export type { CameraVideoTagProps, CameraFeedMode, ScalingCameraFeedProps, } from './components/CameraFeed';
35
+ export { GuidanceMessage, GuidanceMessageContainer } from './components/GuidanceMessage';
36
+ export type { GuidanceMessageVariant } from './components/GuidanceMessage';
37
+ export { ExitCaptureButton } from './components/ExitCaptureButton';
38
+ export { OverrideWrongDocumentTypeDialog } from './components/OverrideWrongDocumentTypeDialog';
39
+ export type { OverrideWrongDocumentTypeDialogProps, OverrideWrongDocumentTypeDialogClassNames, OverrideWrongDocumentTypeDialogVerbiage, } from './components/OverrideWrongDocumentTypeDialog';
40
+ export { BarcodeGuideOverlay } from './components/barcode/BarcodeGuideOverlay';
41
+ export type { BarcodeGuideOverlayProps, BarcodeGuideOverlayClassNames, } from './components/barcode/BarcodeGuideOverlay';
42
+ export { BarcodeSuccessOverlay } from './components/barcode/BarcodeSuccessOverlay';
43
+ export type { BarcodeSuccessOverlayProps } from './components/barcode/BarcodeSuccessOverlay';
44
+ export { Card, FlexCard } from './components/common/Card';
45
+ export { OverlayContainer, GrayOverlayContainer, OverlayInner, ButtonsColumn, WideButton, WideBorderButton, } from './components/common/overlay';
46
+ export { ButtonsRow } from './components/common/ButtonsRow';
47
+ export { LoaderButton } from './components/common/LoaderButton';
48
+ export type { LoaderButtonProps, LoaderButtonVariant, LoaderButtonColors, } from './components/common/LoaderButton';
49
+ export { CapturedDocumentImg } from './components/common/CapturedDocumentImg';
50
+ export { LoadingListItemIndicator } from './components/common/LoadingListItemIndicator';
51
+ export { IdCaptureGuides } from './components/guides/IdCaptureGuides';
52
+ export type { IdCaptureGuidesProps, IdCaptureGuidesClassNames, IdCaptureGuidesVerbiage, IdCaptureGuideType, } from './components/guides/IdCaptureGuides';
53
+ export { IdCaptureFitGuide } from './components/guides/IdCaptureFitGuide';
54
+ export type { IdCaptureFitGuideProps, IdCaptureFitGuideClassNames, } from './components/guides/IdCaptureFitGuide';
55
+ export { IdCaptureGuideOverlay } from './components/guides/IdCaptureGuideOverlay';
56
+ export type { IdCaptureGuideOverlayProps, IdCaptureGuideOverlayClassNames, IdCaptureGuideAction, } from './components/guides/IdCaptureGuideOverlay';
57
+ export { FlipIdPrompt } from './components/guides/FlipIdPrompt';
58
+ export type { FlipIdPromptProps, FlipIdPromptClassNames, FlipIdPromptVerbiage, } from './components/guides/FlipIdPrompt';
59
+ export type { IdCardGuideStatus } from './components/guides/IdCaptureGuidesCommon';
60
+ export type { IdCaptureGuideImages, IdCaptureGuidesForOrientation, IdCaptureGuideImage, } from './components/guide_images';
61
+ export { defaultIdCaptureGuideImages } from './components/guide_images';
62
+ export { IdCaptureLoadingOverlay } from './components/loading/IdCaptureLoadingOverlay';
63
+ export type { IdCaptureLoadingOverlayProps, IdCaptureLoadingOverlayMode, IdCaptureLoadingOverlayAssets, IdCaptureLoadingOverlayClassNames, IdCaptureLoadingOverlayColors, IdCaptureLoadingOverlayVerbiage, } from './components/loading/IdCaptureLoadingOverlay';
64
+ export { IdCaptureLoadingGraphic } from './components/loading/IdCaptureLoadingGraphic';
65
+ export type { IdCaptureLoadingGraphicProps } from './components/loading/IdCaptureLoadingGraphic';
66
+ export { ReviewScreen } from './components/review/ReviewScreen';
67
+ export type { ReviewScreenProps, ReviewScreenClassNames, ReviewScreenVerbiage, } from './components/review/ReviewScreen';
68
+ export type { ReviewDiagnosticsModel } from './components/review/ReviewDiagnosticsPanel';
69
+ export { ErrorScreen } from './components/error/ErrorScreen';
70
+ export type { ErrorScreenProps, ErrorScreenClassNames, ErrorScreenVerbiage, } from './components/error/ErrorScreen';
71
+ export { CameraAccessDeniedOverlay } from './components/error/CameraAccessDeniedOverlay';
72
+ export type { CameraAccessDeniedOverlayProps, CameraAccessDeniedOverlayAssets, CameraAccessDeniedOverlayClassNames, CameraAccessDeniedOverlayColors, CameraAccessDeniedOverlayVerbiage, } from './components/error/CameraAccessDeniedOverlay';
73
+ export { FaceCaptureGuideOverlay } from './components/selfie/FaceCaptureGuideOverlay';
74
+ export type { FaceCaptureGuideOverlayProps, FaceCaptureGuideOverlayClassNames, FaceCaptureGuideOverlayVariant, FaceGuideStatus, } from './components/selfie/FaceCaptureGuideOverlay';
75
+ export { SelfieCaptureAnimatedMask, SelfieCaptureAnimatedMaskWithStatus, } from './components/selfie/SelfieCaptureAnimatedMask';
76
+ export type { SelfieCaptureAnimatedMaskProps } from './components/selfie/SelfieCaptureAnimatedMask';
77
+ export { SelfieCaptureLoadingGraphic } from './components/selfie/SelfieCaptureLoadingGraphic';
78
+ export { SelfieCameraFeed } from './components/selfie/SelfieCameraFeed';
79
+ export type { SelfieCameraFeedProps } from './components/selfie/SelfieCameraFeed';
80
+ export { FaceLivenessSuccess } from './components/face_liveness/FaceLivenessSuccess';
81
+ export type { FaceLivenessSuccessProps, FaceLivenessSuccessClassNames, FaceLivenessSuccessColors, FaceLivenessSuccessVerbiage, } from './components/face_liveness/FaceLivenessSuccess';
82
+ export { FaceLivenessFailure } from './components/face_liveness/FaceLivenessFailure';
83
+ export type { FaceLivenessFailureProps, FaceLivenessFailureAssets, FaceLivenessFailureClassNames, FaceLivenessFailureColors, FaceLivenessFailureVerbiage, } from './components/face_liveness/FaceLivenessFailure';
84
+ export { selfieGuidanceMessageKey, selfieGuidanceVariant } from './guidance/selfieStrings';
85
+ export { SelfieCaptureLoadingOverlay } from './components/selfie_loading/SelfieCaptureLoadingOverlay';
86
+ export type { SelfieCaptureLoadingOverlayProps, SelfieCaptureLoadingOverlayMode, SelfieCaptureLoadingOverlayAssets, SelfieCaptureLoadingOverlayClassNames, SelfieCaptureLoadingOverlayColors, SelfieCaptureLoadingOverlayVerbiage, } from './components/selfie_loading/SelfieCaptureLoadingOverlay';
87
+ export { AdditionalDocumentCapture } from './components/additional_documents/AdditionalDocumentCapture';
88
+ export type { AdditionalDocumentCaptureProps, AdditionalDocumentCaptureClassNames, AdditionalDocumentCaptureVerbiage, } from './components/additional_documents/AdditionalDocumentCapture';
89
+ export { AdditionalDocumentCaptureWizard } from './components/additional_documents/AdditionalDocumentCaptureWizard';
90
+ export type { AdditionalDocumentCaptureWizardProps, AdditionalDocumentCaptureWizardClassNames, AdditionalDocumentCaptureWizardVerbiage, } from './components/additional_documents/AdditionalDocumentCaptureWizard';
91
+ export type { AdditionalDocument } from './components/additional_documents/types';
92
+ export { RingSuccessScreen } from './components/ring/RingSuccessScreen';
93
+ export type { RingSuccessScreenClassNames, RingSuccessScreenVerbiage, } from './components/ring/RingSuccessScreen';
94
+ export { RingFailureScreen } from './components/ring/RingFailureScreen';
95
+ export type { RingFailureReason, RingFailureScreenClassNames, RingFailureScreenVerbiage, } from './components/ring/RingFailureScreen';
96
+ export { RingFinishingScreen } from './components/ring/RingFinishingScreen';
97
+ export type { RingFinishingScreenClassNames, RingFinishingScreenVerbiage, } from './components/ring/RingFinishingScreen';
98
+ export { readFlowElapsedMs } from './utils/flowClock';
99
+ export { CustomerMatchSuccess } from './components/customer_match/CustomerMatchSuccess';
100
+ export type { CustomerMatchSuccessProps, CustomerMatchSuccessClassNames, CustomerMatchSuccessColors, CustomerMatchSuccessVerbiage, CustomerMatchVariant, } from './components/customer_match/CustomerMatchSuccess';
101
+ export { CustomerMatchFailure } from './components/customer_match/CustomerMatchFailure';
102
+ export type { CustomerMatchFailureProps, CustomerMatchFailureAssets, CustomerMatchFailureClassNames, CustomerMatchFailureColors, CustomerMatchFailureVerbiage, } from './components/customer_match/CustomerMatchFailure';
103
+ export { AuthProvider, useAuthState } from './flows/AuthStateContext';
104
+ export type { AuthProviderProps, AuthStateContextValue, } from './flows/AuthStateContext';
105
+ export { SubmissionProvider, useSubmission, } from './flows/SubmissionProvider';
106
+ export type { SubmissionCallbacks, SubmissionContextValue, SubmissionProviderProps, } from './flows/SubmissionProvider';
107
+ export { CompositeWizard } from './flows/CompositeWizard';
108
+ export type { CompositeWizardProps, CompositeWizardStep, CompositeWizardFinishingScreenProps, CompositeWizardSuccessScreenProps, } from './flows/CompositeWizard';
109
+ export { capturedArtifactLabels } from './flows/CompositeWizard';
110
+ export { buildAdditionalDocumentsStep } from './flows/additionalDocuments';
111
+ export { buildSignatureStep, signatureStageMode, signatureStageReplacesFaceLiveness, } from './flows/signatureStep';
112
+ export { buildVideoIdSteps } from './flows/videoIdSteps';
113
+ export type { BuildVideoIdStepsOptions, VideoIdFlowViewProps, } from './flows/videoIdSteps';
114
+ export type { BuildSignatureStepOptions, SignatureFlowViewProps, SignatureStageDecision, } from './flows/signatureStep';
115
+ export { FlowChassis } from './flows/FlowChassis';
116
+ export type { FlowChassisProps } from './flows/FlowChassis';
117
+ export type { LoadingSpinnerComponent, LoadingSpinnerProps, LoadingSpinnerStage, } from './flows/OrbStatusScreen';
118
+ export { useGeolocation } from './flows/useGeolocation';
119
+ export type { GeolocationGateState } from './flows/useGeolocation';
120
+ export { RemoteDiagnosticsMount } from './flows/RemoteDiagnosticsMount';
121
+ export type { RemoteDiagnostics } from '@idmission/websdk-core/diagnostics';
122
+ export { IdValidationFlow } from './flows/IdValidationFlow';
123
+ export type { IdValidationFlowProps } from './flows/IdValidationFlow';
124
+ export { FaceValidationFlow } from './flows/FaceValidationFlow';
125
+ export type { FaceValidationFlowProps } from './flows/FaceValidationFlow';
126
+ export { IdAndFaceValidationFlow } from './flows/IdAndFaceValidationFlow';
127
+ export type { IdAndFaceValidationFlowProps } from './flows/IdAndFaceValidationFlow';
128
+ export { SignatureKYCFlow } from './flows/SignatureKYCFlow';
129
+ export type { SignatureKYCFlowProps } from './flows/SignatureKYCFlow';
130
+ export { VideoIdValidationFlow } from './flows/VideoIdValidationFlow';
131
+ export type { VideoIdValidationFlowProps } from './flows/VideoIdValidationFlow';
132
+ export { DocumentCaptureFlow } from './flows/DocumentCaptureFlow';
133
+ export type { DocumentCaptureFlowProps } from './flows/DocumentCaptureFlow';
134
+ export { buildDocumentCaptureStep } from './flows/documentCapture';
135
+ export { CustomerBiometricsEnrollmentFlow } from './flows/CustomerBiometricsEnrollmentFlow';
136
+ export type { CustomerBiometricsEnrollmentFlowProps } from './flows/CustomerBiometricsEnrollmentFlow';
137
+ export { CustomerIdAndBiometricsEnrollmentFlow } from './flows/CustomerIdAndBiometricsEnrollmentFlow';
138
+ export type { CustomerIdAndBiometricsEnrollmentFlowProps } from './flows/CustomerIdAndBiometricsEnrollmentFlow';
139
+ export { CustomerIdentificationFlow } from './flows/CustomerIdentificationFlow';
140
+ export type { CustomerIdentificationFlowProps } from './flows/CustomerIdentificationFlow';
141
+ export { CustomerVerificationFlow } from './flows/CustomerVerificationFlow';
142
+ export type { CustomerVerificationFlowProps } from './flows/CustomerVerificationFlow';
143
+ export { ALLOWED_RETRIES, DEFAULT_CAPTURE_GUIDANCE_TIMEOUT_MS, } from './flows/customerMatch/CustomerMatchFlow';
144
+ export type { CustomerMatchAssets, CustomerMatchClassNames, CustomerMatchColors, CustomerMatchFlowProps, CustomerMatchVerbiage, } from './flows/customerMatch/CustomerMatchFlow';
145
+ export { mergeSubmissionArtifacts, buildSelfieArtifacts, } from './flows/artifacts';
146
+ export { completeFlowStep, createFlowSequence, isFlowSequenceComplete, } from './flows/sequencer';
147
+ export type { FlowSequenceState } from './flows/sequencer';
148
+ export { useShowSuccessScreen } from './flows/useShowSuccessScreen';
149
+ export type { SkipSuccessScreen } from './flows/useShowSuccessScreen';
150
+ export { SubmissionSuccess } from './flows/SubmissionSuccess';
151
+ export type { SubmissionSuccessClassNames, SubmissionSuccessProps, SubmissionSuccessVerbiage, } from './flows/SubmissionSuccess';
152
+ export { AuthUrlNotAllowedOverlay, GeolocationAccessDeniedOverlay, MicrophoneAccessDeniedOverlay, SessionIdMissingOverlay, SessionValidationErrorOverlay, SessionValidationFailedOverlay, SubmissionErrorOverlay, TokenExpiredErrorOverlay, TokenInvalidFormatErrorOverlay, TokenInvalidSignatureErrorOverlay, } from './flows/overlays';
153
+ export type { FlowOverlayAssets, FlowOverlayClassNames, FlowOverlayColors, FlowOverlayVerbiage, SubmissionErrorOverlayVerbiage, } from './flows/overlays';
154
+ export type { CommonFlowProps, ControllerOverrides, FaceLivenessFlowConfig, FaceLivenessFlowViewProps, FlowChassisPassthroughProps, FlowResultCallbacks, FlowSubmissionConfig, IdCaptureFlowConfig, IdCaptureFlowViewProps, RingScreenClassNames, SelfieCaptureFlowConfig, SelfieFlowViewProps, } from './flows/types';
155
+ export { getOrientation, useGuideImages, useGuideImagesByUrl, useImagesWithBackToFront, } from './components/guide_images';
156
+ export { isObject } from './utils/merge';
157
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,eAAe,EAAE,MAAM,WAA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ACxB,8BAA8B,EAC9B,6BAA6B,EAC7B,uBAAuB,EACvB,6BAA6B,EAC7B,8BAA8B,EAC9B,sBAAsB,EACtB,wBAAwB,EACxB,8BAA8B,EAC9B,iCAAiC,GAClC,MAAM,kBAAkB,CAAA;AACzB,YAAY,EACV,iBAAiB,EACjB,qBAAqB,EACrB,iBAAiB,EACjB,mBAAmB,EACnB,8BAA8B,GAC/B,MAAM,kBAAkB,CAAA;AACzB,YAAY,EACV,eAAe,EACf,mBAAmB,EACnB,sBAAsB,EACtB,yBAAyB,EACzB,2BAA2B,EAC3B,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,oBAAoB,EACpB,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,eAAe,CAAA;AAEtB,OAAO,EACL,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,wBAAwB,GACzB,MAAM,2BAA2B,CAAA;AAMlC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA"}
package/dist/index.js ADDED
@@ -0,0 +1,191 @@
1
+ // The public façade for `@idmission/websdk-ui` — the React presentation
2
+ // layer over `@idmission/websdk-core`'s headless ID-capture engine.
3
+ //
4
+ // Deliberately curated, NAMED re-exports only — never `export *` (core-barrel
5
+ // style, see `@idmission/websdk-core/idCapture`'s src/idCapture/index.ts).
6
+ // `guard()` (bindings/useIdCapture.ts) and every other module-internal helper
7
+ // stay unreachable through this barrel on purpose: this is the surface a
8
+ // strictly-typed consumer composes custom ID-capture UIs against, not an
9
+ // escape hatch into this package's own plumbing.
10
+ //
11
+ // `export type` is used for isolatedModules (this package's tsconfig sets
12
+ // it): every type-only declaration must be re-exported with `export type`,
13
+ // not a plain `export`, or the build fails.
14
+ export { webSdkUiVersion } from './version';
15
+ // ---------------------------------------------------------------------
16
+ // Top-level assembly (Task 12) — most consumers need only this.
17
+ // ---------------------------------------------------------------------
18
+ export { IdCaptureView } from './IdCaptureView';
19
+ export { SelfieCaptureView } from './SelfieCaptureView';
20
+ export { FaceLivenessView } from './FaceLivenessView';
21
+ export { SignatureCaptureView } from './SignatureCaptureView';
22
+ export { VideoIdCaptureView } from './VideoIdCaptureView';
23
+ export { DocumentCaptureView } from './DocumentCaptureView';
24
+ export { DocumentCaptureGuideOverlay } from './components/document/DocumentCaptureGuideOverlay';
25
+ // ---------------------------------------------------------------------
26
+ // Bindings (Task 6) — read a controller's state into React; `guard` (the
27
+ // listener-exception seam) is intentionally NOT exported.
28
+ // ---------------------------------------------------------------------
29
+ export { useIdCapture, useIdCaptureSelector } from './bindings/useIdCapture';
30
+ export { useSelfieCapture, useSelfieCaptureSelector } from './bindings/useSelfieCapture';
31
+ export { useSignatureCapture } from './bindings/useSignatureCapture';
32
+ export { useVideoIdCapture } from './bindings/useVideoIdCapture';
33
+ export { useDocumentCapture } from './bindings/useDocumentCapture';
34
+ // ---------------------------------------------------------------------
35
+ // Theme (Task 3).
36
+ // ---------------------------------------------------------------------
37
+ export { ThemeProvider, themes, resolveTheme } from './theme';
38
+ // ---------------------------------------------------------------------
39
+ // i18n (Task 4).
40
+ // ---------------------------------------------------------------------
41
+ export { initializeI18n, useLanguage, useVerbiage, useTranslations, ALL_LANGUAGES } from './i18n';
42
+ // Guidance/instruction code -> sdk2-identical English string keys (Task 4a).
43
+ export { guidanceMessageKey, instructionKey } from './guidance/strings';
44
+ // ---------------------------------------------------------------------
45
+ // Layout contexts (Task 7) — screen geometry consumed by ScalingCameraFeed
46
+ // and the guide tree; a la carte consumers building their own capture
47
+ // screen need these to size their own guide box correctly.
48
+ // ---------------------------------------------------------------------
49
+ export { GuideLayoutProvider, useGuideLayout } from './layout/GuideLayoutContext';
50
+ export { default as GuideOrientationContextProvider } from './layout/GuideOrientationContext';
51
+ export { useGuideOrientationContext, } from './layout/GuideOrientationContext';
52
+ // ---------------------------------------------------------------------
53
+ // Camera feed (Task 7).
54
+ // ---------------------------------------------------------------------
55
+ export { CameraVideoTag, ScalingCameraFeed, CameraFeedWrapper } from './components/CameraFeed';
56
+ // ---------------------------------------------------------------------
57
+ // Guidance pills + portal, exit button, override dialog, shared primitives
58
+ // (Task 8).
59
+ // ---------------------------------------------------------------------
60
+ export { GuidanceMessage, GuidanceMessageContainer } from './components/GuidanceMessage';
61
+ export { ExitCaptureButton } from './components/ExitCaptureButton';
62
+ export { OverrideWrongDocumentTypeDialog } from './components/OverrideWrongDocumentTypeDialog';
63
+ export { BarcodeGuideOverlay } from './components/barcode/BarcodeGuideOverlay';
64
+ export { BarcodeSuccessOverlay } from './components/barcode/BarcodeSuccessOverlay';
65
+ export { Card, FlexCard } from './components/common/Card';
66
+ export {
67
+ // The plain container, not just the gray variant: sdk2's render* entry
68
+ // points wrap every rendered flow in it (sdk2/src/index.tsx:99), so the 2.x
69
+ // façade needs it by name rather than by reaching into this package's
70
+ // internals.
71
+ OverlayContainer, GrayOverlayContainer, OverlayInner, ButtonsColumn, WideButton, WideBorderButton, } from './components/common/overlay';
72
+ export { ButtonsRow } from './components/common/ButtonsRow';
73
+ export { LoaderButton } from './components/common/LoaderButton';
74
+ export { CapturedDocumentImg } from './components/common/CapturedDocumentImg';
75
+ export { LoadingListItemIndicator } from './components/common/LoadingListItemIndicator';
76
+ // ---------------------------------------------------------------------
77
+ // ID-capture guides (Task 9) — the fit/overlay guide box router plus its
78
+ // leaf components, for consumers assembling their own capture screen.
79
+ // ---------------------------------------------------------------------
80
+ export { IdCaptureGuides } from './components/guides/IdCaptureGuides';
81
+ export { IdCaptureFitGuide } from './components/guides/IdCaptureFitGuide';
82
+ export { IdCaptureGuideOverlay } from './components/guides/IdCaptureGuideOverlay';
83
+ export { FlipIdPrompt } from './components/guides/FlipIdPrompt';
84
+ export { defaultIdCaptureGuideImages } from './components/guide_images';
85
+ // ---------------------------------------------------------------------
86
+ // Loading overlay family (Task 10).
87
+ // ---------------------------------------------------------------------
88
+ export { IdCaptureLoadingOverlay } from './components/loading/IdCaptureLoadingOverlay';
89
+ export { IdCaptureLoadingGraphic } from './components/loading/IdCaptureLoadingGraphic';
90
+ // ---------------------------------------------------------------------
91
+ // Review + error screens (Task 11).
92
+ // ---------------------------------------------------------------------
93
+ export { ReviewScreen } from './components/review/ReviewScreen';
94
+ export { ErrorScreen } from './components/error/ErrorScreen';
95
+ export { CameraAccessDeniedOverlay } from './components/error/CameraAccessDeniedOverlay';
96
+ // ---------------------------------------------------------------------
97
+ // Selfie/liveness oval mask (iteration 4, selfie engine plan-4 task-3) —
98
+ // FaceCaptureGuideOverlay drives the animated oval mask consumers overlay on
99
+ // the selfie camera feed; SelfieCaptureLoadingGraphic is the standalone
100
+ // avatar animation for the selfie loading overlay (plan-4 task-4).
101
+ // ---------------------------------------------------------------------
102
+ export { FaceCaptureGuideOverlay } from './components/selfie/FaceCaptureGuideOverlay';
103
+ export { SelfieCaptureAnimatedMask, SelfieCaptureAnimatedMaskWithStatus, } from './components/selfie/SelfieCaptureAnimatedMask';
104
+ export { SelfieCaptureLoadingGraphic } from './components/selfie/SelfieCaptureLoadingGraphic';
105
+ export { SelfieCameraFeed } from './components/selfie/SelfieCameraFeed';
106
+ // ---------------------------------------------------------------------
107
+ // Face-liveness success/failure screens (plan-4 task-8) -- the terminal
108
+ // full-screen overlays FaceLivenessView swaps the capture surface for on
109
+ // phase 'completed'/'failed'. Exported for a la carte consumers building
110
+ // their own liveness screen. `SelfieCaptureSurface` (the internal shared
111
+ // capture-surface piece both SelfieCaptureView and FaceLivenessView
112
+ // compose) is deliberately NOT exported here -- it's plumbing, not a
113
+ // supported a la carte piece.
114
+ // ---------------------------------------------------------------------
115
+ export { FaceLivenessSuccess } from './components/face_liveness/FaceLivenessSuccess';
116
+ export { FaceLivenessFailure } from './components/face_liveness/FaceLivenessFailure';
117
+ // Selfie guidance code -> sdk2-identical English string keys/variant
118
+ // (plan-4 task-2), consumed directly by SelfieCaptureView's guidance pill.
119
+ export { selfieGuidanceMessageKey, selfieGuidanceVariant } from './guidance/selfieStrings';
120
+ // ---------------------------------------------------------------------
121
+ // Selfie loading overlay family (plan-4 tasks 4-5) — the default/legacy/ring
122
+ // mode dispatcher SelfieCaptureView composes; exported here (rather than
123
+ // only reachable through SelfieCaptureView's own props) for a la carte
124
+ // consumers building their own selfie capture screen, mirroring the ID
125
+ // loading overlay family's export shape.
126
+ // ---------------------------------------------------------------------
127
+ export { SelfieCaptureLoadingOverlay } from './components/selfie_loading/SelfieCaptureLoadingOverlay';
128
+ // ---------------------------------------------------------------------
129
+ // Additional documents — the file-picker step the ID/video flows append
130
+ // last. sdk2 kept these internal (reachable only through flow props); they
131
+ // are exported here to match how every other leaf view in this package is
132
+ // offered to à la carte consumers.
133
+ // ---------------------------------------------------------------------
134
+ export { AdditionalDocumentCapture } from './components/additional_documents/AdditionalDocumentCapture';
135
+ export { AdditionalDocumentCaptureWizard } from './components/additional_documents/AdditionalDocumentCaptureWizard';
136
+ // ---------------------------------------------------------------------
137
+ // Ring-mode terminal screens — the result family sdk2 built to replace the
138
+ // legacy full-screen placeholder illustrations. Their loading-side siblings
139
+ // (RingIntroScreen/RingProgress/RingStageTransition) live under
140
+ // components/loading, ported by workstream 01.
141
+ // ---------------------------------------------------------------------
142
+ export { RingSuccessScreen } from './components/ring/RingSuccessScreen';
143
+ export { RingFailureScreen } from './components/ring/RingFailureScreen';
144
+ export { RingFinishingScreen } from './components/ring/RingFinishingScreen';
145
+ // Only the READER is public: markFlowStart/resetFlowClock mutate module-level
146
+ // state that the flows own, and an integrator calling them would corrupt the
147
+ // elapsed time the ring success screen reports.
148
+ export { readFlowElapsedMs } from './utils/flowClock';
149
+ // ---------------------------------------------------------------------
150
+ // Customer match outcome screens — the terminal success/failure pair the
151
+ // identification and verification flows swap the capture surface for. One
152
+ // component each covers both flows; `variant` picks sdk2's default heading.
153
+ // ---------------------------------------------------------------------
154
+ export { CustomerMatchSuccess } from './components/customer_match/CustomerMatchSuccess';
155
+ export { CustomerMatchFailure } from './components/customer_match/CustomerMatchFailure';
156
+ // ---------------------------------------------------------------------
157
+ // Flow chassis + validation flows.
158
+ // ---------------------------------------------------------------------
159
+ export { AuthProvider, useAuthState } from './flows/AuthStateContext';
160
+ export { SubmissionProvider, useSubmission, } from './flows/SubmissionProvider';
161
+ export { CompositeWizard } from './flows/CompositeWizard';
162
+ export { capturedArtifactLabels } from './flows/CompositeWizard';
163
+ export { buildAdditionalDocumentsStep } from './flows/additionalDocuments';
164
+ export { buildSignatureStep, signatureStageMode, signatureStageReplacesFaceLiveness, } from './flows/signatureStep';
165
+ export { buildVideoIdSteps } from './flows/videoIdSteps';
166
+ export { FlowChassis } from './flows/FlowChassis';
167
+ export { useGeolocation } from './flows/useGeolocation';
168
+ export { RemoteDiagnosticsMount } from './flows/RemoteDiagnosticsMount';
169
+ export { IdValidationFlow } from './flows/IdValidationFlow';
170
+ export { FaceValidationFlow } from './flows/FaceValidationFlow';
171
+ export { IdAndFaceValidationFlow } from './flows/IdAndFaceValidationFlow';
172
+ export { SignatureKYCFlow } from './flows/SignatureKYCFlow';
173
+ export { VideoIdValidationFlow } from './flows/VideoIdValidationFlow';
174
+ export { DocumentCaptureFlow } from './flows/DocumentCaptureFlow';
175
+ export { buildDocumentCaptureStep } from './flows/documentCapture';
176
+ export { CustomerBiometricsEnrollmentFlow } from './flows/CustomerBiometricsEnrollmentFlow';
177
+ export { CustomerIdAndBiometricsEnrollmentFlow } from './flows/CustomerIdAndBiometricsEnrollmentFlow';
178
+ export { CustomerIdentificationFlow } from './flows/CustomerIdentificationFlow';
179
+ export { CustomerVerificationFlow } from './flows/CustomerVerificationFlow';
180
+ export { ALLOWED_RETRIES, DEFAULT_CAPTURE_GUIDANCE_TIMEOUT_MS, } from './flows/customerMatch/CustomerMatchFlow';
181
+ export { mergeSubmissionArtifacts, buildSelfieArtifacts, } from './flows/artifacts';
182
+ export { completeFlowStep, createFlowSequence, isFlowSequenceComplete, } from './flows/sequencer';
183
+ export { useShowSuccessScreen } from './flows/useShowSuccessScreen';
184
+ export { SubmissionSuccess } from './flows/SubmissionSuccess';
185
+ export { AuthUrlNotAllowedOverlay, GeolocationAccessDeniedOverlay, MicrophoneAccessDeniedOverlay, SessionIdMissingOverlay, SessionValidationErrorOverlay, SessionValidationFailedOverlay, SubmissionErrorOverlay, TokenExpiredErrorOverlay, TokenInvalidFormatErrorOverlay, TokenInvalidSignatureErrorOverlay, } from './flows/overlays';
186
+ export { getOrientation, useGuideImages, useGuideImagesByUrl, useImagesWithBackToFront, } from './components/guide_images';
187
+ // Part of the 2.x public surface (`sdk2/src/index.tsx:296`), so the compat
188
+ // façade re-exports it from here rather than keeping its own copy — this
189
+ // predicate gates `mergeDeep`, and a second copy is how the two silently
190
+ // diverge on what counts as a mergeable object.
191
+ export { isObject } from './utils/merge';
@@ -0,0 +1,24 @@
1
+ import { ReactElement, ReactNode } from 'react';
2
+ export type GuideRect = {
3
+ x: number;
4
+ y: number;
5
+ width: number;
6
+ height: number;
7
+ /**
8
+ * Corner radius of the hole cut in the dimming mask. Published so a camera
9
+ * feed sized to this rect can match it: the feed is a square-cornered
10
+ * <video>, and in `snapToGuides` the mask paints above it, so an unrounded
11
+ * feed leaves a dimmed wedge in each corner. Optional — a guide that draws a
12
+ * square hole simply omits it.
13
+ */
14
+ radius?: number;
15
+ };
16
+ export type GuideLayoutState = {
17
+ guideRect: GuideRect | null;
18
+ setGuideRect: (rect: GuideRect | null) => void;
19
+ };
20
+ export declare function GuideLayoutProvider({ children, }: {
21
+ children: ReactNode;
22
+ }): ReactElement;
23
+ export declare function useGuideLayout(): GuideLayoutState;
24
+ //# sourceMappingURL=GuideLayoutContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GuideLayoutContext.d.ts","sourceRoot":"","sources":["../../src/layout/GuideLayoutContext.tsx"],"names":[],"mappings":"AAKA,OAAO,EAEL,YAAY,EACZ,SAAS,EAIV,MAAM,OAAO,CAAA;AAEd,MAAM,MAAM,SAAS,GAAG;IACtB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,SAAS,EAAE,SAAS,GAAG,IAAI,CAAA;IAC3B,YAAY,EAAE,CAAC,IAAI,EAAE,SAAS,GAAG,IAAI,KAAK,IAAI,CAAA;CAC/C,CAAA;AAOD,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,SAAS,CAAA;CACpB,GAAG,YAAY,CASf;AAED,wBAAgB,cAAc,IAAI,gBAAgB,CAEjD"}
@@ -0,0 +1,19 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ // UI-local replacement for the guideRectX/Y/Width/Height + redrawing fields
3
+ // sdk2 round-tripped through its id-capture store (divergence 4: those
4
+ // fields are UI-only screen geometry and never crossed the core port). This
5
+ // context is the sole owner of "where does the guide rect sit on screen" —
6
+ // consumed by ScalingCameraFeed to snap the camera video under the guide.
7
+ import { createContext, useContext, useMemo, useState, } from 'react';
8
+ const GuideLayoutContext = createContext({
9
+ guideRect: null,
10
+ setGuideRect: () => null,
11
+ });
12
+ export function GuideLayoutProvider({ children, }) {
13
+ const [guideRect, setGuideRect] = useState(null);
14
+ const value = useMemo(() => ({ guideRect, setGuideRect }), [guideRect]);
15
+ return (_jsx(GuideLayoutContext.Provider, { value: value, children: children }));
16
+ }
17
+ export function useGuideLayout() {
18
+ return useContext(GuideLayoutContext);
19
+ }
@@ -0,0 +1,16 @@
1
+ import { ReactElement, ReactNode, RefCallback } from 'react';
2
+ export type GuideOrientationState = {
3
+ orientation: 'portrait' | 'landscape';
4
+ wrapperWidth: number;
5
+ wrapperHeight: number;
6
+ wrapperAspectRatio: number;
7
+ imageAspectRatio: number;
8
+ setImageAspectRatio: (n: number) => void;
9
+ wrapperRef: RefCallback<HTMLDivElement>;
10
+ };
11
+ export declare const GuideOrientationContext: import("react").Context<GuideOrientationState>;
12
+ export default function GuideOrientationContextProvider({ children, }: {
13
+ children: ReactNode;
14
+ }): ReactElement;
15
+ export declare function useGuideOrientationContext(): GuideOrientationState;
16
+ //# sourceMappingURL=GuideOrientationContext.d.ts.map