@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.
- package/README.md +168 -56
- package/dist/DocumentCaptureView.d.ts +44 -5
- package/dist/DocumentCaptureView.d.ts.map +1 -1
- package/dist/DocumentCaptureView.js +517 -30
- package/dist/FaceLivenessView.d.ts +3 -3
- package/dist/FaceLivenessView.d.ts.map +1 -1
- package/dist/FaceLivenessView.js +82 -40
- package/dist/IdCaptureView.d.ts +33 -20
- package/dist/IdCaptureView.d.ts.map +1 -1
- package/dist/IdCaptureView.js +196 -33
- package/dist/SelfieCaptureView.d.ts +19 -2
- package/dist/SelfieCaptureView.d.ts.map +1 -1
- package/dist/SelfieCaptureView.js +17 -5
- package/dist/SignatureCaptureView.d.ts +23 -2
- package/dist/SignatureCaptureView.d.ts.map +1 -1
- package/dist/SignatureCaptureView.js +138 -22
- package/dist/VideoIdCaptureView.d.ts +15 -3
- package/dist/VideoIdCaptureView.d.ts.map +1 -1
- package/dist/VideoIdCaptureView.js +35 -8
- package/dist/bindings/useDocumentCapture.d.ts.map +1 -1
- package/dist/bindings/useDocumentCapture.js +2 -1
- package/dist/bindings/useIdCapture.d.ts.map +1 -1
- package/dist/bindings/useIdCapture.js +2 -1
- package/dist/bindings/useSelfieCapture.d.ts.map +1 -1
- package/dist/bindings/useSelfieCapture.js +2 -1
- package/dist/bindings/useSignatureCapture.d.ts.map +1 -1
- package/dist/bindings/useSignatureCapture.js +2 -1
- package/dist/bindings/useVideoIdCapture.d.ts.map +1 -1
- package/dist/bindings/useVideoIdCapture.js +2 -1
- package/dist/components/CameraFeed.d.ts +11 -3
- package/dist/components/CameraFeed.d.ts.map +1 -1
- package/dist/components/CameraFeed.js +24 -4
- package/dist/components/barcode/BarcodeGuideOverlay.d.ts +7 -1
- package/dist/components/barcode/BarcodeGuideOverlay.d.ts.map +1 -1
- package/dist/components/barcode/BarcodeGuideOverlay.js +2 -2
- package/dist/components/common/BrowserEdgeTint.d.ts +63 -0
- package/dist/components/common/BrowserEdgeTint.d.ts.map +1 -0
- package/dist/components/common/BrowserEdgeTint.js +111 -0
- package/dist/components/common/LoaderButton.d.ts +9 -0
- package/dist/components/common/LoaderButton.d.ts.map +1 -1
- package/dist/components/common/LoaderButton.js +44 -321
- package/dist/components/common/ScreenReaderStatus.d.ts +8 -0
- package/dist/components/common/ScreenReaderStatus.d.ts.map +1 -0
- package/dist/components/common/ScreenReaderStatus.js +18 -0
- package/dist/components/common/overlay.d.ts +6 -0
- package/dist/components/common/overlay.d.ts.map +1 -1
- package/dist/components/common/overlay.js +7 -1
- package/dist/components/debug/debug.d.ts +10 -4
- package/dist/components/debug/debug.d.ts.map +1 -1
- package/dist/components/debug/debug.js +5 -1
- package/dist/components/document/DocumentCaptureAutoCaptureDebugLayer.d.ts +29 -0
- package/dist/components/document/DocumentCaptureAutoCaptureDebugLayer.d.ts.map +1 -0
- package/dist/components/document/DocumentCaptureAutoCaptureDebugLayer.js +273 -0
- package/dist/components/document/DocumentCaptureAutoCaptureGuidance.d.ts +56 -0
- package/dist/components/document/DocumentCaptureAutoCaptureGuidance.d.ts.map +1 -0
- package/dist/components/document/DocumentCaptureAutoCaptureGuidance.js +128 -0
- package/dist/components/document/DocumentCaptureGuideOverlay.d.ts +31 -1
- package/dist/components/document/DocumentCaptureGuideOverlay.d.ts.map +1 -1
- package/dist/components/document/DocumentCaptureGuideOverlay.js +121 -2
- package/dist/components/document/DocumentCaptureReviewScreen.d.ts +44 -0
- package/dist/components/document/DocumentCaptureReviewScreen.d.ts.map +1 -0
- package/dist/components/document/DocumentCaptureReviewScreen.js +40 -0
- package/dist/components/document/types.d.ts +25 -0
- package/dist/components/document/types.d.ts.map +1 -1
- package/dist/components/document/types.js +18 -1
- package/dist/components/error/CameraAccessDeniedOverlay.d.ts +8 -1
- package/dist/components/error/CameraAccessDeniedOverlay.d.ts.map +1 -1
- package/dist/components/error/useCameraAccessDeniedReport.d.ts +12 -0
- package/dist/components/error/useCameraAccessDeniedReport.d.ts.map +1 -0
- package/dist/components/error/useCameraAccessDeniedReport.js +31 -0
- package/dist/components/face_liveness/FaceLivenessFailure.d.ts +4 -1
- package/dist/components/face_liveness/FaceLivenessFailure.d.ts.map +1 -1
- package/dist/components/face_liveness/FaceLivenessFailure.js +4 -2
- package/dist/components/face_liveness/FaceLivenessSuccess.d.ts +4 -1
- package/dist/components/face_liveness/FaceLivenessSuccess.d.ts.map +1 -1
- package/dist/components/face_liveness/FaceLivenessSuccess.js +6 -2
- package/dist/components/guides/IdCaptureFitGuide.d.ts +2 -0
- package/dist/components/guides/IdCaptureFitGuide.d.ts.map +1 -1
- package/dist/components/guides/IdCaptureFitGuide.js +4 -1
- package/dist/components/guides/IdCaptureGuideOverlay.d.ts +2 -0
- package/dist/components/guides/IdCaptureGuideOverlay.d.ts.map +1 -1
- package/dist/components/guides/IdCaptureGuideOverlay.js +3 -1
- package/dist/components/guides/IdCaptureGuides.d.ts +14 -0
- package/dist/components/guides/IdCaptureGuides.d.ts.map +1 -1
- package/dist/components/guides/IdCaptureGuides.js +23 -9
- package/dist/components/guides/IdCaptureGuidesCommon.d.ts.map +1 -1
- package/dist/components/guides/IdCaptureGuidesCommon.js +12 -7
- package/dist/components/loading/IdCaptureLoadingOverlayDefault.d.ts +9 -0
- package/dist/components/loading/IdCaptureLoadingOverlayDefault.d.ts.map +1 -1
- package/dist/components/loading/IdCaptureLoadingOverlayDefault.js +26 -4
- package/dist/components/loading/RingIntroScreen.d.ts.map +1 -1
- package/dist/components/loading/RingIntroScreen.js +4 -34
- package/dist/components/review/ReviewScreen.d.ts +10 -1
- package/dist/components/review/ReviewScreen.d.ts.map +1 -1
- package/dist/components/review/ReviewScreen.js +8 -8
- package/dist/components/review/SignatureCaptureDiagnostics.d.ts +54 -0
- package/dist/components/review/SignatureCaptureDiagnostics.d.ts.map +1 -0
- package/dist/components/review/SignatureCaptureDiagnostics.js +144 -0
- package/dist/components/selfie/FaceCaptureGuideOverlay.d.ts +9 -2
- package/dist/components/selfie/FaceCaptureGuideOverlay.d.ts.map +1 -1
- package/dist/components/selfie/FaceCaptureGuideOverlay.js +10 -4
- package/dist/components/selfie/SelfieCaptureAnimatedMask.d.ts +8 -1
- package/dist/components/selfie/SelfieCaptureAnimatedMask.d.ts.map +1 -1
- package/dist/components/selfie/SelfieCaptureAnimatedMask.js +55 -21
- package/dist/components/selfie/SelfieCaptureSurface.d.ts +19 -3
- package/dist/components/selfie/SelfieCaptureSurface.d.ts.map +1 -1
- package/dist/components/selfie/SelfieCaptureSurface.js +78 -14
- package/dist/components/selfie_loading/SelfieCaptureLoadingOverlayDefault.d.ts +9 -0
- package/dist/components/selfie_loading/SelfieCaptureLoadingOverlayDefault.d.ts.map +1 -1
- package/dist/components/selfie_loading/SelfieCaptureLoadingOverlayDefault.js +26 -4
- package/dist/components/videoId/VideoIdCaptureGuides.d.ts +4 -1
- package/dist/components/videoId/VideoIdCaptureGuides.d.ts.map +1 -1
- package/dist/components/videoId/VideoIdCaptureGuides.js +2 -2
- package/dist/flows/AuthStateContext.d.ts.map +1 -1
- package/dist/flows/AuthStateContext.js +2 -1
- package/dist/flows/CaptureProgress.d.ts +14 -0
- package/dist/flows/CaptureProgress.d.ts.map +1 -0
- package/dist/flows/CaptureProgress.js +51 -0
- package/dist/flows/CompositeWizard.d.ts +5 -0
- package/dist/flows/CompositeWizard.d.ts.map +1 -1
- package/dist/flows/CompositeWizard.js +6 -1
- package/dist/flows/CustomerBiometricsEnrollmentFlow.d.ts +1 -1
- package/dist/flows/CustomerBiometricsEnrollmentFlow.d.ts.map +1 -1
- package/dist/flows/CustomerBiometricsEnrollmentFlow.js +6 -3
- package/dist/flows/CustomerIdAndBiometricsEnrollmentFlow.d.ts +1 -1
- package/dist/flows/CustomerIdAndBiometricsEnrollmentFlow.d.ts.map +1 -1
- package/dist/flows/CustomerIdAndBiometricsEnrollmentFlow.js +5 -2
- package/dist/flows/DocumentCaptureFlow.d.ts +2 -2
- package/dist/flows/DocumentCaptureFlow.d.ts.map +1 -1
- package/dist/flows/DocumentCaptureFlow.js +6 -6
- package/dist/flows/FaceValidationFlow.d.ts +2 -2
- package/dist/flows/FaceValidationFlow.d.ts.map +1 -1
- package/dist/flows/FaceValidationFlow.js +2 -2
- package/dist/flows/FlowChassis.d.ts +3 -1
- package/dist/flows/FlowChassis.d.ts.map +1 -1
- package/dist/flows/FlowChassis.js +23 -4
- package/dist/flows/IdAndFaceValidationFlow.d.ts +1 -1
- package/dist/flows/IdAndFaceValidationFlow.d.ts.map +1 -1
- package/dist/flows/IdAndFaceValidationFlow.js +5 -2
- package/dist/flows/IdValidationFlow.d.ts +1 -1
- package/dist/flows/IdValidationFlow.d.ts.map +1 -1
- package/dist/flows/IdValidationFlow.js +18 -4
- package/dist/flows/SignatureKYCFlow.d.ts +18 -3
- package/dist/flows/SignatureKYCFlow.d.ts.map +1 -1
- package/dist/flows/SignatureKYCFlow.js +94 -11
- package/dist/flows/SubmissionProvider.d.ts.map +1 -1
- package/dist/flows/SubmissionProvider.js +10 -5
- package/dist/flows/VideoIdValidationFlow.d.ts +1 -1
- package/dist/flows/VideoIdValidationFlow.d.ts.map +1 -1
- package/dist/flows/VideoIdValidationFlow.js +6 -3
- package/dist/flows/additionalDocuments.d.ts.map +1 -1
- package/dist/flows/additionalDocuments.js +3 -6
- package/dist/flows/approval.d.ts +2 -0
- package/dist/flows/approval.d.ts.map +1 -0
- package/dist/flows/approval.js +1 -0
- package/dist/flows/artifacts.d.ts +1 -1
- package/dist/flows/artifacts.d.ts.map +1 -1
- package/dist/flows/artifacts.js +29 -9
- package/dist/flows/autoCaptureMountGuard.d.ts +22 -0
- package/dist/flows/autoCaptureMountGuard.d.ts.map +1 -0
- package/dist/flows/autoCaptureMountGuard.js +61 -0
- package/dist/flows/customerMatch/CustomerMatchFlow.d.ts +1 -1
- package/dist/flows/customerMatch/CustomerMatchFlow.d.ts.map +1 -1
- package/dist/flows/customerMatch/CustomerMatchFlow.js +5 -6
- package/dist/flows/ringScreens.d.ts +1 -3
- package/dist/flows/ringScreens.d.ts.map +1 -1
- package/dist/flows/ringScreens.js +19 -5
- package/dist/flows/types.d.ts +17 -3
- package/dist/flows/types.d.ts.map +1 -1
- package/dist/guidance/selfieStrings.d.ts +9 -1
- package/dist/guidance/selfieStrings.d.ts.map +1 -1
- package/dist/guidance/selfieStrings.js +67 -24
- package/dist/guidance/strings.d.ts +34 -1
- package/dist/guidance/strings.d.ts.map +1 -1
- package/dist/guidance/strings.js +39 -0
- package/dist/i18n/index.d.ts +28 -1177
- package/dist/i18n/index.d.ts.map +1 -1
- package/dist/i18n/index.js +58 -22
- package/dist/i18n/locales/threeOh.d.ts +4 -0
- package/dist/i18n/locales/threeOh.d.ts.map +1 -0
- package/dist/i18n/locales/threeOh.js +159 -0
- package/dist/index.d.ts +12 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/testing/autoCaptureFrames.d.ts +23 -0
- package/dist/testing/autoCaptureFrames.d.ts.map +1 -0
- package/dist/testing/autoCaptureFrames.js +193 -0
- package/dist/testing/buildSelfieState.d.ts.map +1 -1
- package/dist/testing/buildSelfieState.js +5 -0
- package/dist/testing/classNamesLeaves.js +1 -1
- package/dist/testing/fakeDocumentController.d.ts +7 -1
- package/dist/testing/fakeDocumentController.d.ts.map +1 -1
- package/dist/testing/fakeDocumentController.js +10 -2
- package/dist/testing/fakeSelfieController.d.ts.map +1 -1
- package/dist/testing/fakeSelfieController.js +7 -0
- package/dist/testing/index.d.ts +1 -0
- package/dist/testing/index.d.ts.map +1 -1
- package/dist/testing/index.js +1 -0
- package/dist/theme/index.d.ts +10 -0
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/useDocumentUpload.d.ts +63 -0
- package/dist/useDocumentUpload.d.ts.map +1 -0
- package/dist/useDocumentUpload.js +45 -0
- package/dist/useIdmissionClient.d.ts +29 -0
- package/dist/useIdmissionClient.d.ts.map +1 -0
- package/dist/useIdmissionClient.js +44 -0
- package/dist/utils/canvas.d.ts.map +1 -1
- package/dist/utils/canvas.js +41 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- 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;
|
|
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;AAQd,OAAO,EAIL,KAAK,wBAAwB,EAC9B,MAAM,QAAQ,CAAA;AAUf,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,KAAK,2BAA2B,EACjC,MAAM,gDAAgD,CAAA;AAOvD,MAAM,MAAM,4BAA4B,GAAG;IACzC,+BAA+B,CAAC,EAAE,wBAAwB,CAAA;IAC1D,8BAA8B,CAAC,EAAE,wBAAwB,CAAA;IACzD,8BAA8B,CAAC,EAAE,wBAAwB,CAAA;IACzD,+BAA+B,CAAC,EAAE,wBAAwB,CAAA;IAC1D,sBAAsB,CAAC,EAAE,wBAAwB,CAAA;IACjD,sBAAsB,CAAC,EAAE,wBAAwB,CAAA;IACjD,qBAAqB,CAAC,EAAE,wBAAw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G;IACH,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,MAAM,CAAC,EAAE,sBAAsB,CAAA;IAC/B,iEAAiE;IACjE,QAAQ,CAAC,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAA;IAE7C,2EAA2E;IAC3E,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,EAAE,wBAAwB,CAAA;IACnC,UAAU,CAAC,EAAE,0BAA0B,CAAA;IACvC,MAAM,CAAC,EAAE,sBAAsB,CAAA;CAChC,CAAA;AAuBD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,GAAG,YAAY,CAM3E"}
|
package/dist/FaceLivenessView.js
CHANGED
|
@@ -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 {
|
|
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
|
-
//
|
|
67
|
-
//
|
|
68
|
-
//
|
|
69
|
-
//
|
|
70
|
-
//
|
|
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
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
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(
|
|
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)
|
|
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
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
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
|
-
:
|
|
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
|
-
?
|
|
202
|
+
? challengePromptCode(challengeSnapshot)
|
|
185
203
|
: null;
|
|
186
204
|
let entry = null;
|
|
187
205
|
if (challengePrompt) {
|
|
188
206
|
entry = {
|
|
189
|
-
key: challengePrompt.
|
|
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
|
|
196
|
-
if (
|
|
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
|
|
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.
|
|
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 }),
|
|
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
|
}
|
package/dist/IdCaptureView.d.ts
CHANGED
|
@@ -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
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
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
|
|
218
|
-
*
|
|
219
|
-
*
|
|
220
|
-
*
|
|
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
|
|
224
|
-
*
|
|
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
|
|
264
|
-
* recoverable error
|
|
265
|
-
* submission failure
|
|
266
|
-
* counting retries counts every restart, not only the deliberate
|
|
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(
|
|
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":"
|
|
1
|
+
{"version":3,"file":"IdCaptureView.d.ts","sourceRoot":"","sources":["../src/IdCaptureView.tsx"],"names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