@idmission/websdk-ui 0.2.0-rc.2 → 0.5.0

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 (212) hide show
  1. package/README.md +168 -56
  2. package/dist/DocumentCaptureView.d.ts +44 -5
  3. package/dist/DocumentCaptureView.d.ts.map +1 -1
  4. package/dist/DocumentCaptureView.js +517 -30
  5. package/dist/FaceLivenessView.d.ts +3 -3
  6. package/dist/FaceLivenessView.d.ts.map +1 -1
  7. package/dist/FaceLivenessView.js +82 -40
  8. package/dist/IdCaptureView.d.ts +33 -20
  9. package/dist/IdCaptureView.d.ts.map +1 -1
  10. package/dist/IdCaptureView.js +196 -33
  11. package/dist/SelfieCaptureView.d.ts +19 -2
  12. package/dist/SelfieCaptureView.d.ts.map +1 -1
  13. package/dist/SelfieCaptureView.js +17 -5
  14. package/dist/SignatureCaptureView.d.ts +23 -2
  15. package/dist/SignatureCaptureView.d.ts.map +1 -1
  16. package/dist/SignatureCaptureView.js +138 -22
  17. package/dist/VideoIdCaptureView.d.ts +15 -3
  18. package/dist/VideoIdCaptureView.d.ts.map +1 -1
  19. package/dist/VideoIdCaptureView.js +35 -8
  20. package/dist/bindings/useDocumentCapture.d.ts.map +1 -1
  21. package/dist/bindings/useDocumentCapture.js +2 -1
  22. package/dist/bindings/useIdCapture.d.ts.map +1 -1
  23. package/dist/bindings/useIdCapture.js +2 -1
  24. package/dist/bindings/useSelfieCapture.d.ts.map +1 -1
  25. package/dist/bindings/useSelfieCapture.js +2 -1
  26. package/dist/bindings/useSignatureCapture.d.ts.map +1 -1
  27. package/dist/bindings/useSignatureCapture.js +2 -1
  28. package/dist/bindings/useVideoIdCapture.d.ts.map +1 -1
  29. package/dist/bindings/useVideoIdCapture.js +2 -1
  30. package/dist/components/CameraFeed.d.ts +11 -3
  31. package/dist/components/CameraFeed.d.ts.map +1 -1
  32. package/dist/components/CameraFeed.js +24 -4
  33. package/dist/components/barcode/BarcodeGuideOverlay.d.ts +7 -1
  34. package/dist/components/barcode/BarcodeGuideOverlay.d.ts.map +1 -1
  35. package/dist/components/barcode/BarcodeGuideOverlay.js +2 -2
  36. package/dist/components/common/BrowserEdgeTint.d.ts +63 -0
  37. package/dist/components/common/BrowserEdgeTint.d.ts.map +1 -0
  38. package/dist/components/common/BrowserEdgeTint.js +111 -0
  39. package/dist/components/common/LoaderButton.d.ts +9 -0
  40. package/dist/components/common/LoaderButton.d.ts.map +1 -1
  41. package/dist/components/common/LoaderButton.js +44 -321
  42. package/dist/components/common/ScreenReaderStatus.d.ts +8 -0
  43. package/dist/components/common/ScreenReaderStatus.d.ts.map +1 -0
  44. package/dist/components/common/ScreenReaderStatus.js +18 -0
  45. package/dist/components/common/overlay.d.ts +6 -0
  46. package/dist/components/common/overlay.d.ts.map +1 -1
  47. package/dist/components/common/overlay.js +7 -1
  48. package/dist/components/debug/debug.d.ts +10 -4
  49. package/dist/components/debug/debug.d.ts.map +1 -1
  50. package/dist/components/debug/debug.js +5 -1
  51. package/dist/components/document/DocumentCaptureAutoCaptureDebugLayer.d.ts +29 -0
  52. package/dist/components/document/DocumentCaptureAutoCaptureDebugLayer.d.ts.map +1 -0
  53. package/dist/components/document/DocumentCaptureAutoCaptureDebugLayer.js +273 -0
  54. package/dist/components/document/DocumentCaptureAutoCaptureGuidance.d.ts +56 -0
  55. package/dist/components/document/DocumentCaptureAutoCaptureGuidance.d.ts.map +1 -0
  56. package/dist/components/document/DocumentCaptureAutoCaptureGuidance.js +128 -0
  57. package/dist/components/document/DocumentCaptureGuideOverlay.d.ts +31 -1
  58. package/dist/components/document/DocumentCaptureGuideOverlay.d.ts.map +1 -1
  59. package/dist/components/document/DocumentCaptureGuideOverlay.js +121 -2
  60. package/dist/components/document/DocumentCaptureReviewScreen.d.ts +44 -0
  61. package/dist/components/document/DocumentCaptureReviewScreen.d.ts.map +1 -0
  62. package/dist/components/document/DocumentCaptureReviewScreen.js +40 -0
  63. package/dist/components/document/types.d.ts +25 -0
  64. package/dist/components/document/types.d.ts.map +1 -1
  65. package/dist/components/document/types.js +18 -1
  66. package/dist/components/error/CameraAccessDeniedOverlay.d.ts +8 -1
  67. package/dist/components/error/CameraAccessDeniedOverlay.d.ts.map +1 -1
  68. package/dist/components/error/useCameraAccessDeniedReport.d.ts +12 -0
  69. package/dist/components/error/useCameraAccessDeniedReport.d.ts.map +1 -0
  70. package/dist/components/error/useCameraAccessDeniedReport.js +31 -0
  71. package/dist/components/face_liveness/FaceLivenessFailure.d.ts +4 -1
  72. package/dist/components/face_liveness/FaceLivenessFailure.d.ts.map +1 -1
  73. package/dist/components/face_liveness/FaceLivenessFailure.js +4 -2
  74. package/dist/components/face_liveness/FaceLivenessSuccess.d.ts +4 -1
  75. package/dist/components/face_liveness/FaceLivenessSuccess.d.ts.map +1 -1
  76. package/dist/components/face_liveness/FaceLivenessSuccess.js +6 -2
  77. package/dist/components/guides/IdCaptureFitGuide.d.ts +2 -0
  78. package/dist/components/guides/IdCaptureFitGuide.d.ts.map +1 -1
  79. package/dist/components/guides/IdCaptureFitGuide.js +4 -1
  80. package/dist/components/guides/IdCaptureGuideOverlay.d.ts +2 -0
  81. package/dist/components/guides/IdCaptureGuideOverlay.d.ts.map +1 -1
  82. package/dist/components/guides/IdCaptureGuideOverlay.js +3 -1
  83. package/dist/components/guides/IdCaptureGuides.d.ts +14 -0
  84. package/dist/components/guides/IdCaptureGuides.d.ts.map +1 -1
  85. package/dist/components/guides/IdCaptureGuides.js +23 -9
  86. package/dist/components/guides/IdCaptureGuidesCommon.d.ts.map +1 -1
  87. package/dist/components/guides/IdCaptureGuidesCommon.js +12 -7
  88. package/dist/components/loading/IdCaptureLoadingOverlayDefault.d.ts +9 -0
  89. package/dist/components/loading/IdCaptureLoadingOverlayDefault.d.ts.map +1 -1
  90. package/dist/components/loading/IdCaptureLoadingOverlayDefault.js +26 -4
  91. package/dist/components/loading/RingIntroScreen.d.ts.map +1 -1
  92. package/dist/components/loading/RingIntroScreen.js +4 -34
  93. package/dist/components/review/ReviewScreen.d.ts +10 -1
  94. package/dist/components/review/ReviewScreen.d.ts.map +1 -1
  95. package/dist/components/review/ReviewScreen.js +8 -8
  96. package/dist/components/review/SignatureCaptureDiagnostics.d.ts +54 -0
  97. package/dist/components/review/SignatureCaptureDiagnostics.d.ts.map +1 -0
  98. package/dist/components/review/SignatureCaptureDiagnostics.js +144 -0
  99. package/dist/components/selfie/FaceCaptureGuideOverlay.d.ts +9 -2
  100. package/dist/components/selfie/FaceCaptureGuideOverlay.d.ts.map +1 -1
  101. package/dist/components/selfie/FaceCaptureGuideOverlay.js +10 -4
  102. package/dist/components/selfie/SelfieCaptureAnimatedMask.d.ts +8 -1
  103. package/dist/components/selfie/SelfieCaptureAnimatedMask.d.ts.map +1 -1
  104. package/dist/components/selfie/SelfieCaptureAnimatedMask.js +55 -21
  105. package/dist/components/selfie/SelfieCaptureSurface.d.ts +19 -3
  106. package/dist/components/selfie/SelfieCaptureSurface.d.ts.map +1 -1
  107. package/dist/components/selfie/SelfieCaptureSurface.js +78 -14
  108. package/dist/components/selfie_loading/SelfieCaptureLoadingOverlayDefault.d.ts +9 -0
  109. package/dist/components/selfie_loading/SelfieCaptureLoadingOverlayDefault.d.ts.map +1 -1
  110. package/dist/components/selfie_loading/SelfieCaptureLoadingOverlayDefault.js +26 -4
  111. package/dist/components/videoId/VideoIdCaptureGuides.d.ts +4 -1
  112. package/dist/components/videoId/VideoIdCaptureGuides.d.ts.map +1 -1
  113. package/dist/components/videoId/VideoIdCaptureGuides.js +2 -2
  114. package/dist/flows/AuthStateContext.d.ts.map +1 -1
  115. package/dist/flows/AuthStateContext.js +2 -1
  116. package/dist/flows/CaptureProgress.d.ts +14 -0
  117. package/dist/flows/CaptureProgress.d.ts.map +1 -0
  118. package/dist/flows/CaptureProgress.js +51 -0
  119. package/dist/flows/CompositeWizard.d.ts +5 -0
  120. package/dist/flows/CompositeWizard.d.ts.map +1 -1
  121. package/dist/flows/CompositeWizard.js +6 -1
  122. package/dist/flows/CustomerBiometricsEnrollmentFlow.d.ts +1 -1
  123. package/dist/flows/CustomerBiometricsEnrollmentFlow.d.ts.map +1 -1
  124. package/dist/flows/CustomerBiometricsEnrollmentFlow.js +6 -3
  125. package/dist/flows/CustomerIdAndBiometricsEnrollmentFlow.d.ts +1 -1
  126. package/dist/flows/CustomerIdAndBiometricsEnrollmentFlow.d.ts.map +1 -1
  127. package/dist/flows/CustomerIdAndBiometricsEnrollmentFlow.js +5 -2
  128. package/dist/flows/DocumentCaptureFlow.d.ts +2 -2
  129. package/dist/flows/DocumentCaptureFlow.d.ts.map +1 -1
  130. package/dist/flows/DocumentCaptureFlow.js +6 -6
  131. package/dist/flows/FaceValidationFlow.d.ts +2 -2
  132. package/dist/flows/FaceValidationFlow.d.ts.map +1 -1
  133. package/dist/flows/FaceValidationFlow.js +2 -2
  134. package/dist/flows/FlowChassis.d.ts +3 -1
  135. package/dist/flows/FlowChassis.d.ts.map +1 -1
  136. package/dist/flows/FlowChassis.js +23 -4
  137. package/dist/flows/IdAndFaceValidationFlow.d.ts +1 -1
  138. package/dist/flows/IdAndFaceValidationFlow.d.ts.map +1 -1
  139. package/dist/flows/IdAndFaceValidationFlow.js +5 -2
  140. package/dist/flows/IdValidationFlow.d.ts +1 -1
  141. package/dist/flows/IdValidationFlow.d.ts.map +1 -1
  142. package/dist/flows/IdValidationFlow.js +18 -4
  143. package/dist/flows/SignatureKYCFlow.d.ts +18 -3
  144. package/dist/flows/SignatureKYCFlow.d.ts.map +1 -1
  145. package/dist/flows/SignatureKYCFlow.js +94 -11
  146. package/dist/flows/SubmissionProvider.d.ts.map +1 -1
  147. package/dist/flows/SubmissionProvider.js +10 -5
  148. package/dist/flows/VideoIdValidationFlow.d.ts +1 -1
  149. package/dist/flows/VideoIdValidationFlow.d.ts.map +1 -1
  150. package/dist/flows/VideoIdValidationFlow.js +6 -3
  151. package/dist/flows/additionalDocuments.d.ts.map +1 -1
  152. package/dist/flows/additionalDocuments.js +3 -6
  153. package/dist/flows/approval.d.ts +2 -0
  154. package/dist/flows/approval.d.ts.map +1 -0
  155. package/dist/flows/approval.js +1 -0
  156. package/dist/flows/artifacts.d.ts +1 -1
  157. package/dist/flows/artifacts.d.ts.map +1 -1
  158. package/dist/flows/artifacts.js +29 -9
  159. package/dist/flows/autoCaptureMountGuard.d.ts +22 -0
  160. package/dist/flows/autoCaptureMountGuard.d.ts.map +1 -0
  161. package/dist/flows/autoCaptureMountGuard.js +61 -0
  162. package/dist/flows/customerMatch/CustomerMatchFlow.d.ts +1 -1
  163. package/dist/flows/customerMatch/CustomerMatchFlow.d.ts.map +1 -1
  164. package/dist/flows/customerMatch/CustomerMatchFlow.js +5 -6
  165. package/dist/flows/ringScreens.d.ts +1 -3
  166. package/dist/flows/ringScreens.d.ts.map +1 -1
  167. package/dist/flows/ringScreens.js +19 -5
  168. package/dist/flows/types.d.ts +17 -3
  169. package/dist/flows/types.d.ts.map +1 -1
  170. package/dist/guidance/selfieStrings.d.ts +9 -1
  171. package/dist/guidance/selfieStrings.d.ts.map +1 -1
  172. package/dist/guidance/selfieStrings.js +67 -24
  173. package/dist/guidance/strings.d.ts +34 -1
  174. package/dist/guidance/strings.d.ts.map +1 -1
  175. package/dist/guidance/strings.js +39 -0
  176. package/dist/i18n/index.d.ts +28 -1177
  177. package/dist/i18n/index.d.ts.map +1 -1
  178. package/dist/i18n/index.js +58 -22
  179. package/dist/i18n/locales/threeOh.d.ts +4 -0
  180. package/dist/i18n/locales/threeOh.d.ts.map +1 -0
  181. package/dist/i18n/locales/threeOh.js +159 -0
  182. package/dist/index.d.ts +12 -6
  183. package/dist/index.d.ts.map +1 -1
  184. package/dist/index.js +4 -0
  185. package/dist/testing/autoCaptureFrames.d.ts +23 -0
  186. package/dist/testing/autoCaptureFrames.d.ts.map +1 -0
  187. package/dist/testing/autoCaptureFrames.js +193 -0
  188. package/dist/testing/buildSelfieState.d.ts.map +1 -1
  189. package/dist/testing/buildSelfieState.js +5 -0
  190. package/dist/testing/classNamesLeaves.js +1 -1
  191. package/dist/testing/fakeDocumentController.d.ts +7 -1
  192. package/dist/testing/fakeDocumentController.d.ts.map +1 -1
  193. package/dist/testing/fakeDocumentController.js +10 -2
  194. package/dist/testing/fakeSelfieController.d.ts.map +1 -1
  195. package/dist/testing/fakeSelfieController.js +7 -0
  196. package/dist/testing/index.d.ts +1 -0
  197. package/dist/testing/index.d.ts.map +1 -1
  198. package/dist/testing/index.js +1 -0
  199. package/dist/theme/index.d.ts +10 -0
  200. package/dist/theme/index.d.ts.map +1 -1
  201. package/dist/useDocumentUpload.d.ts +63 -0
  202. package/dist/useDocumentUpload.d.ts.map +1 -0
  203. package/dist/useDocumentUpload.js +45 -0
  204. package/dist/useIdmissionClient.d.ts +29 -0
  205. package/dist/useIdmissionClient.d.ts.map +1 -0
  206. package/dist/useIdmissionClient.js +44 -0
  207. package/dist/utils/canvas.d.ts.map +1 -1
  208. package/dist/utils/canvas.js +41 -0
  209. package/dist/version.d.ts +1 -1
  210. package/dist/version.d.ts.map +1 -1
  211. package/dist/version.js +1 -1
  212. package/package.json +9 -7
@@ -1 +1 @@
1
- {"version":3,"file":"FaceLivenessView.d.ts","sourceRoot":"","sources":["../src/FaceLivenessView.tsx"],"names":[],"mappings":"AAqDA,OAAO,EACL,YAAY,EAEZ,KAAK,SAAS,EAIf,MAAM,OAAO,CAAA;AAOd,OAAO,EAA4B,KAAK,wBAAwB,EAAE,MAAM,QAAQ,CAAA;AAShF,OAAO,EAEL,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC/B,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAEL,KAAK,6BAA6B,EAClC,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EACjC,MAAM,gDAAgD,CAAA;AACvD,OAAO,EAEL,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,EAClC,KAAK,yBAAyB,EAC9B,KAA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AA;IACvC,MAAM,CAAC,EAAE,sBAAsB,CAAA;CAChC,CAAA;AAuBD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,GAAG,YAAY,CAM3E"}
@@ -56,31 +56,34 @@ import { useEffect, useRef, useState, } from 'react';
56
56
  import { styled } from 'styled-components';
57
57
  import { ALLOWED_LIVENESS_FAILURES, SelfieGuidanceCode, } from '@idmission/websdk-core/selfieCapture';
58
58
  import { useSelfieCapture } from './bindings/useSelfieCapture';
59
- import { useLanguage, useVerbiage } from './i18n';
59
+ import { SdkLanguageProvider, useLanguage, useVerbiage, } from './i18n';
60
60
  import { SelfieCaptureSurface } from './components/selfie/SelfieCaptureSurface';
61
- import { challengePromptKey, livenessStatusKey, selfieGuidanceMessageKey, selfieGuidanceVariant, } from './guidance/selfieStrings';
61
+ import { challengePromptCode, faceMessageKey, livenessStatusCode, selfieGuidanceMessageKey, selfieGuidanceVariant, } from './guidance/selfieStrings';
62
62
  import { GUIDANCE_VERBIAGE_FIELD, } from './SelfieCaptureView';
63
63
  import { FaceLivenessSuccess, } from './components/face_liveness/FaceLivenessSuccess';
64
64
  import { FaceLivenessFailure, } from './components/face_liveness/FaceLivenessFailure';
65
65
  import { useSessionReady } from './flows/AuthStateContext';
66
- // `challengePromptKey`/`livenessStatusKey`'s returned English key strings ->
67
- // the FaceLivenessGuidanceVerbiage field that overrides them. Both helpers'
68
- // keys ARE their English fallback text (guidance/selfieStrings.ts's own
69
- // convention), so this is a plain string lookup, mirroring
70
- // SelfieCaptureView's GUIDANCE_VERBIAGE_FIELD for the plain pill.
66
+ // The FaceMessageCode a ladder resolved -> the FaceLivenessGuidanceVerbiage
67
+ // field that overrides its text, mirroring SelfieCaptureView's
68
+ // GUIDANCE_VERBIAGE_FIELD for the plain pill.
69
+ //
70
+ // Keyed by code rather than by the English string it maps to: those strings are
71
+ // i18n keys that may be reworded, and a reworded one would silently stop
72
+ // matching here and drop the customer's override. MANUAL_CAPTURE is excluded
73
+ // because its override lives in the guidance bag, not this one.
71
74
  const LADDER_VERBIAGE_FIELD = {
72
- 'Turn your head left': 'challengeTurnLeftText',
73
- 'Turn your head right': 'challengeTurnRightText',
74
- 'Return to center': 'challengeReturnToCenterText',
75
- 'Blink twice': 'challengeBlinkTwiceText',
76
- Blink: 'challengeBlinkText',
77
- 'Please remove your eye coverings (sunglasses, eye patch, etc.)...': 'guidanceRemoveEyeCoveringsText',
78
- 'Please remove your head coverings (hat, scarf, etc.)...': 'guidanceRemoveHeadCoveringsText',
79
- 'Please remove your mask...': 'guidanceRemoveMaskText',
80
- "Let's try that again — please follow the prompts.": 'challengeTimeoutText',
81
- 'Could not verify your face.': 'guidanceLivenessCheckFailedText',
82
- 'An error occurred while verifying your face.': 'guidanceLivenessCheckErrorText',
83
- 'Photo captured, verifying...': 'guidanceValidatingText',
75
+ TURN_LEFT: 'challengeTurnLeftText',
76
+ TURN_RIGHT: 'challengeTurnRightText',
77
+ RETURN_TO_CENTER: 'challengeReturnToCenterText',
78
+ BLINK_TWICE: 'challengeBlinkTwiceText',
79
+ BLINK: 'challengeBlinkText',
80
+ REMOVE_EYE_COVERINGS: 'guidanceRemoveEyeCoveringsText',
81
+ REMOVE_HEAD_COVERINGS: 'guidanceRemoveHeadCoveringsText',
82
+ REMOVE_MASK: 'guidanceRemoveMaskText',
83
+ CHALLENGE_TIMED_OUT: 'challengeTimeoutText',
84
+ LIVENESS_CHECK_FAILED: 'guidanceLivenessCheckFailedText',
85
+ LIVENESS_CHECK_ERROR: 'guidanceLivenessCheckErrorText',
86
+ VALIDATING: 'guidanceValidatingText',
84
87
  };
85
88
  // requestStates sdk2's guidesByRequestState (FaceLivenessCapture.tsx:917-935)
86
89
  // maps onto the mask's 'processing'/'failure' visuals, verbatim.
@@ -108,7 +111,8 @@ const LIVENESS_CAPTURE_PATH_STATES = new Set([
108
111
  // EXCLUDED here: this view swaps the whole surface for FaceLivenessSuccess
109
112
  // once it lands, so the mask/pill underneath would be visual noise (the same
110
113
  // "full-bleed screen owns the phase" rationale SelfieCaptureView applies to
111
- // 'error').
114
+ // controller 'error'). Recoverable liveness ERROR has no controller error
115
+ // screen, so showCaptureSurface includes it separately during the retry delay.
112
116
  //
113
117
  // 'failed' IS included: a non-terminal liveness failure keeps the user on the
114
118
  // camera (see the header note), where the mask's 'failure' status and the
@@ -134,7 +138,10 @@ const Container = styled.div `
134
138
  instead. */
135
139
  ${(props) => props.theme?.fontFamily ? `font-family: ${props.theme.fontFamily};` : ''}
136
140
  `;
137
- export function FaceLivenessView({ controller, loadingOverlayMode = 'default', sessionReady: sessionReadyProp, lang = 'auto', autoContinueAfterLoading = false, showIntroScreen = false, transitionFromIdCapture = false, debugMode = false, showFaceLandmarks = false, debugShowSamplePoints, onLoadingStarted, onLoadingProgress, onLoadingCompleted, onLoadingFailed, onLoadingOverlayDismissed, onCameraAccessDenied, onModelError, onCameraTamperingDetected, onExitAfterTamperSealPopped, onUserCancel, customOverlayContent, allowManualSelfieCaptureOnLoadingError = false, onExit, onExitAfterFailure, onRetry, onDone, skipSuccessScreen = false, maxRetries = 2, allowLivenessFailure = false, videoRef, renderCameraFeed = true, renderFaceGuide = true, verbiage = {}, classNames = {}, colors = {}, assets = {}, }) {
141
+ export function FaceLivenessView(props) {
142
+ return (_jsx(SdkLanguageProvider, { lang: props.lang ?? 'auto', children: _jsx(FaceLivenessViewContent, { ...props }) }));
143
+ }
144
+ function FaceLivenessViewContent({ controller, loadingOverlayMode = 'default', sessionReady: sessionReadyProp, lang = 'auto', autoContinueAfterLoading = false, showIntroScreen = false, transitionFromIdCapture = false, debugMode = false, showFaceLandmarks = false, debugShowSamplePoints, onLoadingStarted, onLoadingProgress, onLoadingCompleted, onLoadingFailed, onLoadingOverlayDismissed, onCameraAccessDenied, onModelError, onCameraTamperingDetected, onExitAfterTamperSealPopped, onUserCancel, customOverlayContent, allowManualSelfieCaptureOnLoadingError = false, onExit, onExitAfterFailure, onRetry, onDone, skipSuccessScreen = false, maxRetries = 2, allowLivenessFailure = false, videoRef, renderCameraFeed = true, renderFaceGuide = true, faceGuideStyle, verbiage = {}, classNames = {}, colors = {}, assets = {}, }) {
138
145
  // Omitted means "follow the session": mounted inside a flow this view now
139
146
  // renders during session validation, so its own loading overlay is the one
140
147
  // loading surface (2.x behaviour — see useSessionReady). An explicit prop
@@ -155,7 +162,9 @@ export function FaceLivenessView({ controller, loadingOverlayMode = 'default', s
155
162
  // reads it -- the guidance pill does too, and it renders through a portal,
156
163
  // so a stale `true` here escapes the lockout screen's own subtree and floats
157
164
  // the last capture message ("Could not verify your face") over it.
158
- const showCaptureSurface = CAPTURE_SURFACE_PHASES.has(state.phase) && !showLockout;
165
+ const showCaptureSurface = (CAPTURE_SURFACE_PHASES.has(state.phase) ||
166
+ (state.liveness?.requestState === 'ERROR' && state.error === null)) &&
167
+ !showLockout;
159
168
  // maskStatus (task-8 brief / sdk2 guidesByRequestState): liveness
160
169
  // requestState wins when it says 'processing'/'failure' outright;
161
170
  // otherwise fall back to task-7's live-faceReady derivation.
@@ -165,15 +174,24 @@ export function FaceLivenessView({ controller, loadingOverlayMode = 'default', s
165
174
  // what the oval showed there before the prediction started advancing
166
175
  // through the challenge (it froze on the faceReady frame that opened it).
167
176
  const predictionDrivesGuides = !requestState || LIVENESS_CAPTURE_PATH_STATES.has(requestState);
168
- const maskStatus = requestState && LIVENESS_MASK_PROCESSING_STATES.has(requestState)
169
- ? 'processing'
170
- : requestState && LIVENESS_MASK_FAILURE_STATES.has(requestState)
171
- ? 'failure'
172
- : requestState === 'CHALLENGE'
173
- ? 'processing'
174
- : state.prediction?.faceReady
177
+ // The hand-over-face check holds the shutter at fire time, on one frame,
178
+ // without touching `faceReady`, so the pill and the guides have to read its
179
+ // hold too. Ahead of the machine states on purpose: a dropped frame parks
180
+ // the machine in GUIDANCE_SATISFIED and re-arms through CAPTURE_STARTED on
181
+ // every hold, and both of those read 'processing' below -- which is what
182
+ // kept the oval animating while the shutter was actually held.
183
+ const handOverFace = state.guidance.code === SelfieGuidanceCode.HAND_OVER_FACE;
184
+ const maskStatus = handOverFace
185
+ ? 'ready'
186
+ : requestState && LIVENESS_MASK_PROCESSING_STATES.has(requestState)
187
+ ? 'processing'
188
+ : requestState && LIVENESS_MASK_FAILURE_STATES.has(requestState)
189
+ ? 'failure'
190
+ : requestState === 'CHALLENGE'
175
191
  ? 'processing'
176
- : 'ready';
192
+ : state.prediction?.faceReady
193
+ ? 'processing'
194
+ : 'ready';
177
195
  // Message ladder (sdk2 FaceLivenessCapture.tsx:889-912): challenge prompt
178
196
  // beats livenessStatusKey (covering/FAILED/ERROR/validating) beats the
179
197
  // plain held-guidance-code pill. `challengeSnapshot` is only consulted
@@ -181,28 +199,30 @@ export function FaceLivenessView({ controller, loadingOverlayMode = 'default', s
181
199
  // documented precondition).
182
200
  const challengeSnapshot = state.phase === 'challenge' ? state.challenge : null;
183
201
  const challengePrompt = challengeSnapshot
184
- ? challengePromptKey(challengeSnapshot)
202
+ ? challengePromptCode(challengeSnapshot)
185
203
  : null;
186
204
  let entry = null;
187
205
  if (challengePrompt) {
188
206
  entry = {
189
- key: challengePrompt.key,
207
+ key: faceMessageKey(challengePrompt.code),
208
+ code: challengePrompt.code,
190
209
  source: 'challenge',
191
210
  blinkCount: challengePrompt.blinkCount,
192
211
  };
193
212
  }
194
213
  else if (state.liveness) {
195
- const key = livenessStatusKey(state.liveness);
196
- if (key)
197
- entry = { key, source: 'liveness' };
214
+ const code = livenessStatusCode(state.liveness);
215
+ if (code)
216
+ entry = { key: faceMessageKey(code), code, source: 'liveness' };
198
217
  }
199
218
  if (!entry) {
200
- const key = selfieGuidanceMessageKey(state.guidance.code);
219
+ const code = state.guidance.code;
220
+ const key = selfieGuidanceMessageKey(code);
201
221
  if (key !== '')
202
- entry = { key, source: 'guidance' };
222
+ entry = { key, code, source: 'guidance' };
203
223
  }
204
224
  const guidanceOverride = entry?.source === 'challenge' || entry?.source === 'liveness'
205
- ? verbiage.liveness?.[LADDER_VERBIAGE_FIELD[entry.key]]
225
+ ? verbiage.liveness?.[LADDER_VERBIAGE_FIELD[entry.code]]
206
226
  : entry?.source === 'guidance' &&
207
227
  state.guidance.code !== SelfieGuidanceCode.NONE
208
228
  ? verbiage.guidance?.[GUIDANCE_VERBIAGE_FIELD[state.guidance.code]]
@@ -213,6 +233,8 @@ export function FaceLivenessView({ controller, loadingOverlayMode = 'default', s
213
233
  const baseLadderText = useVerbiage(guidanceOverride, entry?.key ?? '');
214
234
  const manualCaptureText = useVerbiage(verbiage.guidance?.guidanceManualCaptureText, 'Position your face in the circle and click to capture.');
215
235
  const manualCaptureButtonText = useVerbiage(verbiage.guidance?.manualCaptureBtnText, 'Capture');
236
+ const recoveryCaptureText = useVerbiage(verbiage.guidance?.guidanceRecoveryCaptureText, 'We’re having trouble checking the lighting. Keep your face centered and hold still—we’ll still check your positioning.');
237
+ const recoveryCaptureButtonText = useVerbiage(verbiage.guidance?.recoveryCaptureBtnText, 'Continue with current lighting');
216
238
  // Count/step suffixes are RAW, untranslated appends onto the already-
217
239
  // translated base text -- sdk2 parity (guidance/selfieStrings.ts's own
218
240
  // documented rationale), and only ever apply to the challenge branch.
@@ -237,7 +259,7 @@ export function FaceLivenessView({ controller, loadingOverlayMode = 'default', s
237
259
  // challenge (which is entered on a satisfied face), neutral while the
238
260
  // check is in flight. FAILED/ERROR go negative via `negative` regardless.
239
261
  satisfied: predictionDrivesGuides
240
- ? Boolean(state.prediction?.faceReady)
262
+ ? Boolean(state.prediction?.faceReady) && !handOverFace
241
263
  : requestState === 'CHALLENGE',
242
264
  negative,
243
265
  });
@@ -284,6 +306,20 @@ export function FaceLivenessView({ controller, loadingOverlayMode = 'default', s
284
306
  controller.actions.retry();
285
307
  };
286
308
  const canRetryFailure = maxRetries > -1 && retryCount < maxRetries;
309
+ const showSuccessScreen = state.phase === 'completed' && !skipSuccessScreen;
310
+ const showFailureScreen = showLockout && !allowLivenessFailure;
311
+ // Nobody is looking at the camera behind either terminal screen, so hand it
312
+ // back and let the camera light go out. `restartRun` gets it again through
313
+ // the controller's retry(). A skipped success screen needs nothing here: the
314
+ // host moves on and unmounting detaches.
315
+ // Core holds the terminal screen up while a retry waits for that camera
316
+ // (`retryPending`), so its Retry button shows the wait instead of the user
317
+ // landing on a black feed.
318
+ const coveredByTerminalScreen = showSuccessScreen || showFailureScreen;
319
+ useEffect(() => {
320
+ if (coveredByTerminalScreen)
321
+ controller.actions.releaseCamera();
322
+ }, [controller, coveredByTerminalScreen]);
287
323
  return (_jsxs(Container, { className: classNames.container, children: [_jsx(SelfieCaptureSurface
288
324
  // Never on the liveness stage: a supplied image cannot pass a liveness
289
325
  // check, so offering it would complete the stage with a photo nothing
@@ -294,5 +330,11 @@ export function FaceLivenessView({ controller, loadingOverlayMode = 'default', s
294
330
  // check, so offering it would complete the stage with a photo nothing
295
331
  // verified. sdk2 scoped its fallback to the plain selfie component for
296
332
  // the same reason. Core refuses the commit too (captureManually).
297
- fallbackCapture: false, controller: controller, state: state, loadingOverlayMode: loadingOverlayMode, sessionReady: sessionReady, autoContinueAfterLoading: autoContinueAfterLoading, showIntroScreen: showIntroScreen, transitionFromIdCapture: transitionFromIdCapture, onExit: onExit, onLoadingStarted: onLoadingStarted, onLoadingProgress: onLoadingProgress, onLoadingCompleted: onLoadingCompleted, onLoadingFailed: onLoadingFailed, onLoadingOverlayDismissed: onLoadingOverlayDismissed, onCameraAccessDenied: onCameraAccessDenied, onModelError: onModelError, onCameraTamperingDetected: onCameraTamperingDetected, onExitAfterTamperSealPopped: onExitAfterTamperSealPopped, onUserCancel: onUserCancel, customOverlayContent: customOverlayContent, allowManualSelfieCaptureOnLoadingError: allowManualSelfieCaptureOnLoadingError, manualCaptureText: manualCaptureText, manualCaptureButtonText: manualCaptureButtonText, videoRef: videoRef, renderCameraFeed: renderCameraFeed, renderFaceGuide: renderFaceGuide, showCaptureSurface: showCaptureSurface, maskStatus: maskStatus, showGuidancePill: showGuidancePill, guidanceText: guidanceText, guidanceVariant: guidanceVariant, debugMode: debugMode, showFaceLandmarks: showFaceLandmarks, debugShowSamplePoints: debugShowSamplePoints, verbiage: verbiage, classNames: classNames, colors: colors, assets: assets }), state.phase === 'completed' && !skipSuccessScreen && (_jsx(FaceLivenessSuccess, { imageUrl: completedImageUrl, onDoneClick: () => onDone?.(completedImageUrl), onRetryClick: restartRun, verbiage: verbiage.success, classNames: classNames.success, colors: colors.success })), showLockout && !allowLivenessFailure && (_jsx(FaceLivenessFailure, { canRetry: canRetryFailure, onRetryClick: restartRun, onExitClick: onExitAfterFailure ?? onExit, assets: assets.failure, verbiage: verbiage.failure, classNames: classNames.failure, colors: colors.failure }))] }));
333
+ fallbackCapture: false, controller: controller, state: state, loadingOverlayMode: loadingOverlayMode, sessionReady: sessionReady, autoContinueAfterLoading: autoContinueAfterLoading, showIntroScreen: showIntroScreen, transitionFromIdCapture: transitionFromIdCapture, onExit: onExit, onLoadingStarted: onLoadingStarted, onLoadingProgress: onLoadingProgress, onLoadingCompleted: onLoadingCompleted, onLoadingFailed: onLoadingFailed, onLoadingOverlayDismissed: onLoadingOverlayDismissed, onCameraAccessDenied: onCameraAccessDenied, onModelError: onModelError, onCameraTamperingDetected: onCameraTamperingDetected, onExitAfterTamperSealPopped: onExitAfterTamperSealPopped, onUserCancel: onUserCancel, customOverlayContent: customOverlayContent, allowManualSelfieCaptureOnLoadingError: allowManualSelfieCaptureOnLoadingError, manualCaptureText: manualCaptureText, manualCaptureButtonText: manualCaptureButtonText, recoveryCaptureText: recoveryCaptureText, recoveryCaptureButtonText: recoveryCaptureButtonText, videoRef: videoRef, renderCameraFeed: renderCameraFeed, renderFaceGuide: renderFaceGuide, faceGuideStyle: faceGuideStyle, showCaptureSurface: showCaptureSurface, maskStatus: maskStatus, showGuidancePill: showGuidancePill, guidanceText: guidanceText, guidanceVariant: guidanceVariant, guidanceCode: entry?.code, debugMode: debugMode, showFaceLandmarks: showFaceLandmarks, debugShowSamplePoints: debugShowSamplePoints, verbiage: verbiage, classNames: classNames, colors: colors, assets: assets }), showSuccessScreen && (_jsx(FaceLivenessSuccess, { imageUrl: completedImageUrl, onDoneClick: () => onDone?.(completedImageUrl), onRetryClick: restartRun, retrying: state.retryPending, verbiage: verbiage.success, classNames: classNames.success, colors: colors.success })), showFailureScreen && (_jsx(FaceLivenessFailure
334
+ // The click already spent the budget; keep the last retry's button
335
+ // up while it waits on the camera.
336
+ , {
337
+ // The click already spent the budget; keep the last retry's button
338
+ // up while it waits on the camera.
339
+ canRetry: canRetryFailure || state.retryPending, onRetryClick: restartRun, retrying: state.retryPending, onExitClick: onExitAfterFailure ?? onExit, assets: assets.failure, verbiage: verbiage.failure, classNames: classNames.failure, colors: colors.failure }))] }));
298
340
  }
@@ -4,15 +4,25 @@ import type { SubmissionArtifacts, SubmissionResponse } from '@idmission/websdk-
4
4
  import { type LangOption } from './i18n';
5
5
  import { type CameraFeedMode } from './components/CameraFeed';
6
6
  import { type IdCaptureGuideType, type IdCaptureGuidesClassNames, type IdCaptureGuidesVerbiage } from './components/guides/IdCaptureGuides';
7
+ import { type IdCaptureDocumentVerbiage } from './guidance/strings';
7
8
  import { type OverrideWrongDocumentTypeDialogClassNames, type OverrideWrongDocumentTypeDialogVerbiage } from './components/OverrideWrongDocumentTypeDialog';
8
9
  import { type IdCaptureLoadingOverlayAssets, type IdCaptureLoadingOverlayClassNames, type IdCaptureLoadingOverlayColors, type IdCaptureLoadingOverlayMode, type IdCaptureLoadingOverlayVerbiage } from './components/loading/IdCaptureLoadingOverlay';
9
- import { type ReviewScreenClassNames, type ReviewScreenVerbiage } from './components/review/ReviewScreen';
10
+ import { type ReviewScreenClassNames, type ReviewScreenColors, type ReviewScreenVerbiage } from './components/review/ReviewScreen';
10
11
  import { type ErrorScreenClassNames, type ErrorScreenVerbiage } from './components/error/ErrorScreen';
12
+ import type { CameraAccessDeniedReason } from './components/error/CameraAccessDeniedOverlay';
11
13
  import type { IdCaptureGuideImages } from './components/guide_images';
12
14
  import { type IdCaptureFallbackClassNames, type IdCaptureFallbackColors, type IdCaptureFallbackVerbiage } from './components/fallback/IdCaptureFallback';
13
15
  import { type IdCaptureOrUploadScreenClassNames, type IdCaptureOrUploadScreenColors, type IdCaptureOrUploadScreenVerbiage } from './components/fallback/IdCaptureOrUploadScreen';
14
16
  import { type SkipSuccessScreen } from './flows/useShowSuccessScreen';
15
17
  export type IdCaptureViewVerbiage = {
18
+ /** Capture copy for each document: the scan instruction above the guide
19
+ * and the guidance message below it. The bag for the document currently
20
+ * requested is the one read, as in sdk2; its `instructionText`,
21
+ * `capturingText` and `captureFailedText` win over the same keys on
22
+ * `guides`. */
23
+ idCardFront?: IdCaptureDocumentVerbiage;
24
+ idCardBack?: IdCaptureDocumentVerbiage;
25
+ passport?: IdCaptureDocumentVerbiage;
16
26
  guides?: IdCaptureGuidesVerbiage;
17
27
  loadingOverlay?: IdCaptureLoadingOverlayVerbiage;
18
28
  review?: ReviewScreenVerbiage;
@@ -41,16 +51,15 @@ export type IdCaptureViewClassNames = {
41
51
  cameraFeed?: string;
42
52
  };
43
53
  /**
44
- * The one screen in this view whose 2.x colors have a per-screen destination.
45
- *
46
- * sdk2's `IdCaptureWizardColors` also carried `guideBox*`/`guidanceMessages*`
47
- * (now theme fields — `theme.idCapture.guideBox`, `theme.guidanceMessages`)
48
- * and `success` button colors (now the ReviewScreen's `variant`-driven
49
- * `theme.buttons`), so those reach this view through the theme instead. The
50
- * loading overlay kept its own `colors` bag, so it is exposed here.
54
+ * Per-screen button colours. sdk2's `IdCaptureWizardColors` also carried
55
+ * `guideBox*`/`guidanceMessages*`, which are theme fields now
56
+ * (`theme.idCapture.guideBox`, `theme.guidanceMessages`), so those reach this
57
+ * view through the theme instead.
51
58
  */
52
59
  export type IdCaptureViewColors = {
53
60
  loadingOverlay?: IdCaptureLoadingOverlayColors;
61
+ /** sdk2's `success` bag: the review screen's buttons. */
62
+ review?: ReviewScreenColors;
54
63
  fallback?: IdCaptureFallbackColors;
55
64
  uploadOrCaptureScreen?: IdCaptureOrUploadScreenColors;
56
65
  };
@@ -146,6 +155,9 @@ export type IdCaptureViewProps = {
146
155
  * calls `actions.confirmFlip()` instead of showing the flip-prompt guide
147
156
  * art. */
148
157
  flipReview?: boolean;
158
+ /** Show the barcode crop on the ID capture success screen. Defaults to true.
159
+ * False only hides the image; capture, decoding, and submission are unchanged. */
160
+ showBarcodeImage?: boolean;
149
161
  /** Default true. Gates ReviewScreen's submit button and the loading
150
162
  * overlay's session-checking line — same seam those components already
151
163
  * expose (see their own prop docs). */
@@ -214,16 +226,16 @@ export type IdCaptureViewProps = {
214
226
  */
215
227
  onCameraTamperingDetected?: () => void;
216
228
  /**
217
- * Fires once when the controller reports `CAMERA_PERMISSION_DENIED` —
218
- * sdk2's `onCameraAccessDenied`, which the selfie stage
219
- * (`SelfieCaptureSurface`) has always honoured and the ID stage did not.
220
- * A pure notification: the view renders its denial/error screen either way.
229
+ * Fires once when the camera cannot be used — sdk2's
230
+ * `onCameraAccessDenied`, which sdk2 fired for a refused permission and for
231
+ * a camera it could not start alike. `reason` tells the two apart. A pure
232
+ * notification: the view renders its camera error screen either way.
221
233
  *
222
234
  * Latched like `onCameraTamperingDetected`: it fires again only if the
223
- * error clears and a later attempt is denied again, so a host counting
224
- * these counts denials, not renders.
235
+ * error clears and a later attempt fails again, so a host counting these
236
+ * counts failures, not renders.
225
237
  */
226
- onCameraAccessDenied?: () => void;
238
+ onCameraAccessDenied?: (reason: CameraAccessDeniedReason) => void;
227
239
  /**
228
240
  * Fires once with the underlying Error when a model fails to load (or times
229
241
  * out) — sdk2's `onModelError` / `onIdCaptureModelError`. Distinct from
@@ -260,10 +272,11 @@ export type IdCaptureViewProps = {
260
272
  * sdk2's `onRetry` (PR #279), which fed `capture.retried`.
261
273
  *
262
274
  * Both restart affordances reach this: `ReviewScreen`'s Retry (discard the
263
- * captured document and shoot again) AND `ErrorScreen`'s Retry on a
264
- * recoverable error (camera unavailable, model load failed, a retryable
265
- * submission failure). Both call `controller.actions.retry()`, so a host
266
- * counting retries counts every restart, not only the deliberate redos.
275
+ * captured documents and shoot again, `controller.actions.retake()`) AND
276
+ * `ErrorScreen`'s Retry on a recoverable error — camera unavailable, model
277
+ * load failed, a retryable submission failure — (`actions.retry()`), so a
278
+ * host counting retries counts every restart, not only the deliberate
279
+ * redos.
267
280
  */
268
281
  onRetry?: () => void;
269
282
  /** Fires with the SubmissionResponse after ReviewScreen's submit calls
@@ -304,5 +317,5 @@ export type IdCaptureViewProps = {
304
317
  colors?: IdCaptureViewColors;
305
318
  assets?: IdCaptureViewAssets;
306
319
  };
307
- export declare function IdCaptureView({ controller, guideType, loadingOverlayMode, cameraFeedMode, guideBoxDisabled, forceFallbackMode, silentFallback, allowUploadingDocumentsFromStorage, portraitGuidesOnMobile, rotateLoadingOverlayImageWhenPortrait, guideBoxFollowsMask, guideBoxBorderRadius, guideBoxMaxWidth, guideBoxMaxHeight, guidanceMessagePlacement, guidanceMessageGap, flipReview, sessionReady: sessionReadyProp, skipSuccessScreen, lang, autoContinueAfterLoading, showIntroScreen, debugMode, onExit, onUserCancel, onLoadingStarted, onLoadingProgress, onLoadingCompleted, onLoadingFailed, onLoadingOverlayDismissed, customOverlayContent, instructions, onCameraTamperingDetected, onCameraAccessDenied, onModelError, onExitAfterTamperSealPopped, onDocumentStored, onRetry, onSubmitted, onCollected, verbiage, classNames, colors, assets, }: IdCaptureViewProps): ReactElement;
320
+ export declare function IdCaptureView(props: IdCaptureViewProps): ReactElement;
308
321
  //# sourceMappingURL=IdCaptureView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IdCaptureView.d.ts","sourceRoot":"","sources":["../src/IdCaptureView.tsx"],"names":[],"mappings":"AAmCA,OAAO,EACL,YAAY,EACZ,KAAK,SAAS,EAKf,MAAM,OAAO,CAAA;AAGd,OAAO,KAAK,EACV,oBAAoB,EAEpB,mBAAmB,EAEpB,MAAM,kCAAkC,CAAA;AACzC,OAAO,KAAK,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAA;AAE5F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