idmission-web-sdk 2.3.7 → 2.3.9
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/dist/components/common/overlay.d.ts +2 -0
- package/dist/components/common/overlay.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts +6 -0
- package/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts +6 -0
- package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerIdentification.d.ts +6 -0
- package/dist/components/customer_flows/CustomerIdentification.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerVerification.d.ts +6 -0
- package/dist/components/customer_flows/CustomerVerification.d.ts.map +1 -1
- package/dist/components/customer_flows/FaceValidation.d.ts +6 -0
- package/dist/components/customer_flows/FaceValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/IdAndFaceValidation.d.ts +6 -0
- package/dist/components/customer_flows/IdAndFaceValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/SignatureKYC.d.ts +6 -0
- package/dist/components/customer_flows/SignatureKYC.d.ts.map +1 -1
- package/dist/components/customer_flows/VideoIdValidation.d.ts +6 -0
- package/dist/components/customer_flows/VideoIdValidation.d.ts.map +1 -1
- package/dist/components/customer_identification/CustomerIdentificationWizard.d.ts +4 -1
- package/dist/components/customer_identification/CustomerIdentificationWizard.d.ts.map +1 -1
- package/dist/components/customer_verification/CustomerVerificationWizard.d.ts +4 -1
- package/dist/components/customer_verification/CustomerVerificationWizard.d.ts.map +1 -1
- package/dist/components/face_liveness/FaceLivenessWizard.d.ts +4 -1
- package/dist/components/face_liveness/FaceLivenessWizard.d.ts.map +1 -1
- package/dist/components/id_capture/IdCaptureLoadingOverlayDefault.d.ts.map +1 -1
- package/dist/components/selfie_capture/SelfieCaptureLoadingOverlay.d.ts +3 -0
- package/dist/components/selfie_capture/SelfieCaptureLoadingOverlay.d.ts.map +1 -1
- package/dist/components/selfie_capture/SelfieCaptureLoadingOverlayDefault.d.ts +1 -1
- package/dist/components/selfie_capture/SelfieCaptureLoadingOverlayDefault.d.ts.map +1 -1
- package/dist/components/video_id/IdVideoCaptureWizard.d.ts +4 -1
- package/dist/components/video_id/IdVideoCaptureWizard.d.ts.map +1 -1
- package/dist/components/video_signature_capture/VideoSignatureWizard.d.ts +4 -1
- package/dist/components/video_signature_capture/VideoSignatureWizard.d.ts.map +1 -1
- package/dist/lib/locales/de.d.ts +3 -3
- package/dist/lib/locales/es.d.ts +3 -3
- package/dist/lib/locales/fr.d.ts +3 -3
- package/dist/lib/locales/index.d.ts +24 -24
- package/dist/lib/locales/it.d.ts +3 -3
- package/dist/lib/locales/ja.d.ts +3 -3
- package/dist/lib/locales/pt.d.ts +3 -3
- package/dist/lib/locales/ru.d.ts +3 -3
- package/dist/lib/locales/zh.d.ts +3 -3
- package/dist/lib/models/loadProgressHooks.d.ts +10 -0
- package/dist/lib/models/loadProgressHooks.d.ts.map +1 -0
- package/dist/sdk2.cjs.development.js +227 -108
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +227 -108
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +227 -108
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +3 -3
package/dist/sdk2.esm.js
CHANGED
|
@@ -204,7 +204,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
204
204
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
205
205
|
};
|
|
206
206
|
|
|
207
|
-
var webSdkVersion = '2.3.
|
|
207
|
+
var webSdkVersion = '2.3.9';
|
|
208
208
|
|
|
209
209
|
function getPlatform() {
|
|
210
210
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -475,8 +475,8 @@ var OverlayInner$2 = styled.div(templateObject_2$D || (templateObject_2$D = __ma
|
|
|
475
475
|
var OverlayImageContainer = styled.div(templateObject_3$r || (templateObject_3$r = __makeTemplateObject(["\n position: relative;\n display: flex;\n flex-grow: 1;\n padding-bottom: 25px;\n overflow: hidden;\n\n & > img,\n & > svg {\n margin: 0 auto;\n width: max-content;\n max-width: 100%;\n max-height: 100%;\n aspect-ratio: initial;\n object-fit: contain;\n display: block;\n }\n"], ["\n position: relative;\n display: flex;\n flex-grow: 1;\n padding-bottom: 25px;\n overflow: hidden;\n\n & > img,\n & > svg {\n margin: 0 auto;\n width: max-content;\n max-width: 100%;\n max-height: 100%;\n aspect-ratio: initial;\n object-fit: contain;\n display: block;\n }\n"])));
|
|
476
476
|
var OverlayImageRow = styled.div(templateObject_4$l || (templateObject_4$l = __makeTemplateObject(["\n display: flex;\n margin: auto;\n\n & > div {\n max-height: calc(100% - 320px);\n\n & > img {\n width: 100%;\n max-height: 100%;\n height: auto;\n object-fit: contain;\n }\n }\n"], ["\n display: flex;\n margin: auto;\n\n & > div {\n max-height: calc(100% - 320px);\n\n & > img {\n width: 100%;\n max-height: 100%;\n height: auto;\n object-fit: contain;\n }\n }\n"])));
|
|
477
477
|
var GrayOverlayContainer = styled(OverlayContainer)(templateObject_5$e || (templateObject_5$e = __makeTemplateObject(["\n background: #f7f6fb;\n"], ["\n background: #f7f6fb;\n"])));
|
|
478
|
-
var ButtonsColumn = styled.div(templateObject_6$
|
|
479
|
-
var WideButton = styled(LoaderButton)(templateObject_7$
|
|
478
|
+
var ButtonsColumn = styled.div(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: 15px 0;\n justify-content: center;\n margin-top: 24px;\n"], ["\n display: flex;\n flex-direction: column;\n gap: 15px 0;\n justify-content: center;\n margin-top: 24px;\n"])));
|
|
479
|
+
var WideButton = styled(LoaderButton)(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject(["\n width: 100%;\n border-radius: 30px;\n"], ["\n width: 100%;\n border-radius: 30px;\n"])));
|
|
480
480
|
var WideBorderButton = styled(WideButton)(templateObject_8$4 || (templateObject_8$4 = __makeTemplateObject(["\n color: ", ";\n background: ", ";\n border: 1px solid\n ", ";\n box-sizing: border-box;\n"], ["\n color: ", ";\n background: ", ";\n border: 1px solid\n ", ";\n box-sizing: border-box;\n"])), function (props) {
|
|
481
481
|
var _a, _b;
|
|
482
482
|
return (_b = (_a = props.colors) === null || _a === void 0 ? void 0 : _a.textColor) !== null && _b !== void 0 ? _b : 'black';
|
|
@@ -487,8 +487,8 @@ var WideBorderButton = styled(WideButton)(templateObject_8$4 || (templateObject_
|
|
|
487
487
|
var _a, _b;
|
|
488
488
|
return (_b = (_a = props.colors) === null || _a === void 0 ? void 0 : _a.borderColor) !== null && _b !== void 0 ? _b : 'var(--idm-color-secondary-500)';
|
|
489
489
|
});
|
|
490
|
-
var LoadingOverlayInner = styled(OverlayInner$2)(templateObject_9$
|
|
491
|
-
var LoadingOverlayHeader = styled.div(templateObject_10$
|
|
490
|
+
var LoadingOverlayInner = styled(OverlayInner$2)(templateObject_9$3 || (templateObject_9$3 = __makeTemplateObject(["\n position: relative;\n height: 100%;\n display: flex;\n flex-direction: column;\n padding: 0;\n"], ["\n position: relative;\n height: 100%;\n display: flex;\n flex-direction: column;\n padding: 0;\n"])));
|
|
491
|
+
var LoadingOverlayHeader = styled.div(templateObject_10$1 || (templateObject_10$1 = __makeTemplateObject(["\n text-align: ", ";\n display: flex;\n flex-direction: column;\n flex-wrap: nowrap;\n ", "\n padding-bottom: 0;\n"], ["\n text-align: ", ";\n display: flex;\n flex-direction: column;\n flex-wrap: nowrap;\n ", "\n padding-bottom: 0;\n"])), function (props) {
|
|
492
492
|
var _a;
|
|
493
493
|
return (_a = props.theme.textAlign) !== null && _a !== void 0 ? _a : 'center';
|
|
494
494
|
}, function (props) {
|
|
@@ -512,7 +512,9 @@ var LoadingOverlayLoadingListContainer = styled.div(templateObject_17 || (templa
|
|
|
512
512
|
var LoadingOverlayLoadingList = styled.ul(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n display: block;\n margin: auto;\n list-style: none;\n padding: 0;\n"], ["\n display: block;\n margin: auto;\n list-style: none;\n padding: 0;\n"])));
|
|
513
513
|
var LoadingOverlayLoadingListItem = styled.li(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n display: inline-flex;\n justify-content: center;\n align-items: center;\n padding: 2px 1.25rem 2px 0;\n line-height: 1rem;\n"], ["\n display: inline-flex;\n justify-content: center;\n align-items: center;\n padding: 2px 1.25rem 2px 0;\n line-height: 1rem;\n"])));
|
|
514
514
|
var LoadingOverlayProgressContainer = styled.div(templateObject_20 || (templateObject_20 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"])));
|
|
515
|
-
var
|
|
515
|
+
var LoadingOverlayCustomLoadingGraphic = styled.img(templateObject_21 || (templateObject_21 = __makeTemplateObject(["\n transform-style: preserve-3d;\n"], ["\n transform-style: preserve-3d;\n"])));
|
|
516
|
+
var LoadingOverlayContinueButtonContainer = styled.div(templateObject_22 || (templateObject_22 = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
|
|
517
|
+
var templateObject_1$M, templateObject_2$D, templateObject_3$r, templateObject_4$l, templateObject_5$e, templateObject_6$9, templateObject_7$6, templateObject_8$4, templateObject_9$3, templateObject_10$1, templateObject_11$1, templateObject_12$1, templateObject_13$1, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22;
|
|
516
518
|
|
|
517
519
|
var GeolocationAccessDeniedOverlay = function GeolocationAccessDeniedOverlay(_a) {
|
|
518
520
|
var accessBlockedImageUrl = _a.accessBlockedImageUrl;
|
|
@@ -3631,11 +3633,11 @@ var es = {
|
|
|
3631
3633
|
Continue: 'Continuar',
|
|
3632
3634
|
'Processing...': 'Procesando…',
|
|
3633
3635
|
'Your camera permission is disabled': 'El permiso de la cámara está desactivado',
|
|
3634
|
-
'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.': 'Esta aplicación requiere el acceso a la cámara para continuar. Hay que aceptar el permiso una vez que se muestre la ventana en el explorador. Si no aparece la ventana para otorgar permisos entonces hay que dirigirse a Configuración y otorgar el permiso a la cámara en el explorador actual.',
|
|
3636
|
+
'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.': 'Esta aplicación requiere el acceso a la cámara para continuar. Hay que aceptar el permiso una vez que se muestre la ventana en el explorador. Si no aparece la ventana para otorgar permisos entonces hay que dirigirse a Configuración y otorgar el permiso a la cámara en el explorador actual.',
|
|
3635
3637
|
'Your microphone permission is disabled': 'El permiso del micrófono está desactivado',
|
|
3636
|
-
'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.': 'Esta aplicación requiere tener acceso al micrófono para continuar. Hay que aceptar el permiso una vez que se muestre la ventana en el explorador. Si no aparece la ventana para otorgar permisos entonces hay que dirigirse a Configuración y otorgar el permiso al micrófono en el explorador actual.',
|
|
3638
|
+
'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.': 'Esta aplicación requiere tener acceso al micrófono para continuar. Hay que aceptar el permiso una vez que se muestre la ventana en el explorador. Si no aparece la ventana para otorgar permisos entonces hay que dirigirse a Configuración y otorgar el permiso al micrófono en el explorador actual.',
|
|
3637
3639
|
'Your location permission is disabled': 'El permiso de la localización está desactivado',
|
|
3638
|
-
'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.': 'Esta aplicación requiere el acceso a la localización para continuar. Hay que aceptar el permiso una vez que se muestre la ventana en el explorador. Si no aparece la ventana para otorgar permisos entonces hay que dirigirse a Configuración y otorgar el permiso a la localización en el explorador actual.',
|
|
3640
|
+
'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.': 'Esta aplicación requiere el acceso a la localización para continuar. Hay que aceptar el permiso una vez que se muestre la ventana en el explorador. Si no aparece la ventana para otorgar permisos entonces hay que dirigirse a Configuración y otorgar el permiso a la localización en el explorador actual.',
|
|
3639
3641
|
Retry: 'Reintentar',
|
|
3640
3642
|
'Scan the front of ID': 'Escanear el frente de la ID',
|
|
3641
3643
|
'Scan the back of ID': 'Escanear el reverso de la ID',
|
|
@@ -3760,11 +3762,11 @@ var de = {
|
|
|
3760
3762
|
Continue: 'Fortfahren',
|
|
3761
3763
|
'Processing...': 'Verarbeitung läuft...',
|
|
3762
3764
|
'Your camera permission is disabled': 'Ihre Kameraberechtigung ist deaktiviert',
|
|
3763
|
-
'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.': 'Diese Anwendung benötigt zum Fortfahren Zugriff auf Ihre Kamera. Bitte stimmen Sie der Berechtigung bei Aufforderung durch den Browser zu. Wenn der Browser nicht nach Kameraberechtigungen fragt, müssen Sie die Einstellungen aufrufen und der Kamera Zugriff auf den aktuellen Browser gewähren.',
|
|
3765
|
+
'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.': 'Diese Anwendung benötigt zum Fortfahren Zugriff auf Ihre Kamera. Bitte stimmen Sie der Berechtigung bei Aufforderung durch den Browser zu. Wenn der Browser nicht nach Kameraberechtigungen fragt, müssen Sie die Einstellungen aufrufen und der Kamera Zugriff auf den aktuellen Browser gewähren.',
|
|
3764
3766
|
'Your microphone permission is disabled': 'Ihre Mikrofonberechtigung ist deaktiviert',
|
|
3765
|
-
'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.': 'Diese Anwendung benötigt zum Fortfahren Zugriff auf Ihr Mikrofon. Bitte stimmen Sie der Berechtigung bei Aufforderung durch den Browser zu. Wenn der Browser nicht nach Mikrofonberechtigungen fragt, müssen Sie die Einstellungen aufrufen und dem Mikrofon Zugriff auf den aktuellen Browser gewähren.',
|
|
3767
|
+
'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.': 'Diese Anwendung benötigt zum Fortfahren Zugriff auf Ihr Mikrofon. Bitte stimmen Sie der Berechtigung bei Aufforderung durch den Browser zu. Wenn der Browser nicht nach Mikrofonberechtigungen fragt, müssen Sie die Einstellungen aufrufen und dem Mikrofon Zugriff auf den aktuellen Browser gewähren.',
|
|
3766
3768
|
'Your location permission is disabled': 'Ihre Standortberechtigung ist deaktiviert',
|
|
3767
|
-
'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.': 'Diese Anwendung benötigt zum Fortfahren Zugriff auf Ihren Standort. Bitte stimmen Sie der Berechtigung bei Aufforderung durch den Browser zu. Wenn der Browser nicht nach Standortberechtigungen fragt, müssen Sie die Einstellungen aufrufen und dem Standort Zugriff auf den aktuellen Browser gewähren.',
|
|
3769
|
+
'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.': 'Diese Anwendung benötigt zum Fortfahren Zugriff auf Ihren Standort. Bitte stimmen Sie der Berechtigung bei Aufforderung durch den Browser zu. Wenn der Browser nicht nach Standortberechtigungen fragt, müssen Sie die Einstellungen aufrufen und dem Standort Zugriff auf den aktuellen Browser gewähren.',
|
|
3768
3770
|
Retry: 'Erneut versuchen',
|
|
3769
3771
|
'Scan the front of ID': 'Vorderseite des Ausweises scannen',
|
|
3770
3772
|
'Scan the back of ID': 'Rückseite des Ausweises scannen',
|
|
@@ -3889,11 +3891,11 @@ var fr = {
|
|
|
3889
3891
|
Continue: 'Continuer',
|
|
3890
3892
|
'Processing...': 'Traitement en cours...',
|
|
3891
3893
|
'Your camera permission is disabled': "L'autorisation de votre caméra est désactivée",
|
|
3892
|
-
'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.': "Cette application nécessite l'accès à votre caméra pour continuer. Veuillez accepter l'autorisation une fois que le navigateur vous le demande. Si le navigateur ne vous demande pas d'autorisation pour la caméra vous devez accéder aux paramètres et accorder l'accès à la caméra pour le navigateur actuel.",
|
|
3894
|
+
'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.': "Cette application nécessite l'accès à votre caméra pour continuer. Veuillez accepter l'autorisation une fois que le navigateur vous le demande. Si le navigateur ne vous demande pas d'autorisation pour la caméra vous devez accéder aux paramètres et accorder l'accès à la caméra pour le navigateur actuel.",
|
|
3893
3895
|
'Your microphone permission is disabled': "L'autorisation de votre microphone est désactivée",
|
|
3894
|
-
'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.': "Cette application nécessite l'accès à votre microphone pour continuer. Veuillez accepter l'autorisation une fois que le navigateur vous le demande. Si le navigateur ne vous demande pas d'autorisation pour le microphone vous devez accéder aux paramètres et accorder l'accès au microphone pour le navigateur actuel.",
|
|
3896
|
+
'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.': "Cette application nécessite l'accès à votre microphone pour continuer. Veuillez accepter l'autorisation une fois que le navigateur vous le demande. Si le navigateur ne vous demande pas d'autorisation pour le microphone vous devez accéder aux paramètres et accorder l'accès au microphone pour le navigateur actuel.",
|
|
3895
3897
|
'Your location permission is disabled': "L'autorisation de votre localisation est désactivée",
|
|
3896
|
-
'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.': "Cette application nécessite l'accès à votre localisation pour continuer. Veuillez accepter l'autorisation une fois que le navigateur vous le demande. Si le navigateur ne vous demande pas d'autorisation pour la localisation vous devez accéder aux paramètres et accorder l'accès à la localisation pour le navigateur actuel.",
|
|
3898
|
+
'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.': "Cette application nécessite l'accès à votre localisation pour continuer. Veuillez accepter l'autorisation une fois que le navigateur vous le demande. Si le navigateur ne vous demande pas d'autorisation pour la localisation vous devez accéder aux paramètres et accorder l'accès à la localisation pour le navigateur actuel.",
|
|
3897
3899
|
Retry: 'Réessayer',
|
|
3898
3900
|
'Scan the front of ID': "Scannez le recto de la pièce d'identité",
|
|
3899
3901
|
'Scan the back of ID': "Scannez le verso de la pièce d'identité",
|
|
@@ -4018,11 +4020,11 @@ var it = {
|
|
|
4018
4020
|
Continue: 'Continua',
|
|
4019
4021
|
'Processing...': 'Elaborazione...',
|
|
4020
4022
|
'Your camera permission is disabled': 'Autorizzazione fotocamera disabilitata',
|
|
4021
|
-
'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.': "Questa applicazione richiede l'accesso alla fotocamera per continuare. Accettare l'autorizzazione una volta richiesta dal browser. Se il browser non richiede l'autorizzazione della fotocamera, accedere alle impostazioni e fornire l'accesso alla fotocamera al browser corrente.",
|
|
4023
|
+
'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.': "Questa applicazione richiede l'accesso alla fotocamera per continuare. Accettare l'autorizzazione una volta richiesta dal browser. Se il browser non richiede l'autorizzazione della fotocamera, accedere alle impostazioni e fornire l'accesso alla fotocamera al browser corrente.",
|
|
4022
4024
|
'Your microphone permission is disabled': 'Autorizzazione microfono disabilitata',
|
|
4023
|
-
'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.': "Questa applicazione richiede l'accesso al microfono per continuare. Accettare l'autorizzazione una volta richiesta dal browser. Se il browser non richiede l'autorizzazione del microfono, accedere alle impostazioni e fornire l'accesso al microfono al browser corrente.",
|
|
4025
|
+
'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.': "Questa applicazione richiede l'accesso al microfono per continuare. Accettare l'autorizzazione una volta richiesta dal browser. Se il browser non richiede l'autorizzazione del microfono, accedere alle impostazioni e fornire l'accesso al microfono al browser corrente.",
|
|
4024
4026
|
'Your location permission is disabled': 'Autorizzazione posizione disabilitata',
|
|
4025
|
-
'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.': "Questa applicazione richiede l'accesso alla posizione per continuare. Accettare l'autorizzazione una volta richiesta dal browser. Se il browser non richiede l'autorizzazione della posizione, accedere alle impostazioni e fornire l'accesso alla posizione al browser corrente.",
|
|
4027
|
+
'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.': "Questa applicazione richiede l'accesso alla posizione per continuare. Accettare l'autorizzazione una volta richiesta dal browser. Se il browser non richiede l'autorizzazione della posizione, accedere alle impostazioni e fornire l'accesso alla posizione al browser corrente.",
|
|
4026
4028
|
Retry: 'Riprova',
|
|
4027
4029
|
'Scan the front of ID': 'Scansiona il fronte del documento',
|
|
4028
4030
|
'Scan the back of ID': 'Scansiona il retro del documento',
|
|
@@ -4147,11 +4149,11 @@ var ja = {
|
|
|
4147
4149
|
Continue: '続行',
|
|
4148
4150
|
'Processing...': '処理中…',
|
|
4149
4151
|
'Your camera permission is disabled': 'カメラの許可が停止されました',
|
|
4150
|
-
'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.': 'このアプリケーションが動作するにはカメラへのアクセスが必要です。ブラウザーで許可をプロンプトされたら、同意してください。ブラウザーがカメラの許可をプロンプト表示しない場合は、設定へ進んでお使いのブラウザーへカメラへのアクセスを許可する必要があります。',
|
|
4152
|
+
'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.': 'このアプリケーションが動作するにはカメラへのアクセスが必要です。ブラウザーで許可をプロンプトされたら、同意してください。ブラウザーがカメラの許可をプロンプト表示しない場合は、設定へ進んでお使いのブラウザーへカメラへのアクセスを許可する必要があります。',
|
|
4151
4153
|
'Your microphone permission is disabled': 'マイクの許可が停止されました',
|
|
4152
|
-
'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.': 'このアプリケーションが動作するにはマイクへのアクセスが必要です。ブラウザーで許可をプロンプトされたら、同意してください。ブラウザーがマイクの許可をプロンプト表示しない場合は、設定へ進んでお使いのブラウザーへマイクへのアクセスを許可する必要があります。',
|
|
4154
|
+
'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.': 'このアプリケーションが動作するにはマイクへのアクセスが必要です。ブラウザーで許可をプロンプトされたら、同意してください。ブラウザーがマイクの許可をプロンプト表示しない場合は、設定へ進んでお使いのブラウザーへマイクへのアクセスを許可する必要があります。',
|
|
4153
4155
|
'Your location permission is disabled': '位置の許可が停止されました',
|
|
4154
|
-
'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.': 'このアプリケーションが動作するには位置へのアクセスが必要です。ブラウザーで許可をプロンプトされたら、同意してください。ブラウザーが位置の許可をプロンプト表示しない場合は、設定へ進んでお使いのブラウザーへ位置へのアクセスを許可する必要があります。',
|
|
4156
|
+
'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.': 'このアプリケーションが動作するには位置へのアクセスが必要です。ブラウザーで許可をプロンプトされたら、同意してください。ブラウザーが位置の許可をプロンプト表示しない場合は、設定へ進んでお使いのブラウザーへ位置へのアクセスを許可する必要があります。',
|
|
4155
4157
|
Retry: '再試行',
|
|
4156
4158
|
'Scan the front of ID': '身分証の正面をスキャン',
|
|
4157
4159
|
'Scan the back of ID': '身分証の背面をスキャン',
|
|
@@ -4276,11 +4278,11 @@ var pt = {
|
|
|
4276
4278
|
Continue: 'Continuar',
|
|
4277
4279
|
'Processing...': 'Processando...',
|
|
4278
4280
|
'Your camera permission is disabled': 'A permissão da câmera está desativada',
|
|
4279
|
-
'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.': 'Este aplicativo requer acesso à sua câmera para continuar. Aceite a permissão quando o navegador solicitar. Se o navegador não solicitar permissões para a câmera vá para as configurações e forneça acesso à câmera para o navegador atual.',
|
|
4281
|
+
'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.': 'Este aplicativo requer acesso à sua câmera para continuar. Aceite a permissão quando o navegador solicitar. Se o navegador não solicitar permissões para a câmera vá para as configurações e forneça acesso à câmera para o navegador atual.',
|
|
4280
4282
|
'Your microphone permission is disabled': 'A permissão do seu microfone está desativada',
|
|
4281
|
-
'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.': 'Este aplicativo requer acesso ao seu microfone para continuar. Aceite a permissão quando o navegador solicitar. Se o navegador não solicitar permissões para o microfone vá para as configurações e forneça acesso ao microfone para o navegador atual.',
|
|
4283
|
+
'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.': 'Este aplicativo requer acesso ao seu microfone para continuar. Aceite a permissão quando o navegador solicitar. Se o navegador não solicitar permissões para o microfone vá para as configurações e forneça acesso ao microfone para o navegador atual.',
|
|
4282
4284
|
'Your location permission is disabled': 'A permissão do seu local está desativada',
|
|
4283
|
-
'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.': 'Este aplicativo requer acesso ao seu local para continuar. Aceite a permissão quando o navegador solicitar. Se o navegador não solicitar permissões para o local vá para as configurações e forneça acesso do local para o navegador atual.',
|
|
4285
|
+
'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.': 'Este aplicativo requer acesso ao seu local para continuar. Aceite a permissão quando o navegador solicitar. Se o navegador não solicitar permissões para o local vá para as configurações e forneça acesso do local para o navegador atual.',
|
|
4284
4286
|
Retry: 'Tentar novamente',
|
|
4285
4287
|
'Scan the front of ID': 'Digitalizar a frente da ID',
|
|
4286
4288
|
'Scan the back of ID': 'Digitalize o verso da ID',
|
|
@@ -4405,11 +4407,11 @@ var ru = {
|
|
|
4405
4407
|
Continue: 'Продолжить',
|
|
4406
4408
|
'Processing...': 'Обработка...',
|
|
4407
4409
|
'Your camera permission is disabled': 'Не выдано разрешение для использования камеры',
|
|
4408
|
-
'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.': 'Для продолжения работы данного приложения требуется доступ к камере. Предоставьте разрешение, как только браузер его запросит. Если браузер не запрашивает разрешение на доступ к камере, необходимо перейти в настройки и предоставить текущему браузеру доступ к камере.',
|
|
4410
|
+
'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.': 'Для продолжения работы данного приложения требуется доступ к камере. Предоставьте разрешение, как только браузер его запросит. Если браузер не запрашивает разрешение на доступ к камере, необходимо перейти в настройки и предоставить текущему браузеру доступ к камере.',
|
|
4409
4411
|
'Your microphone permission is disabled': 'Разрешение на доступ к микрофону отключено',
|
|
4410
|
-
'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.': 'Для продолжения работы данного приложения требуется доступ к микрофону. Предоставьте разрешение, как только браузер его запросит. Если браузер не запрашивает разрешение на доступ к микрофону, необходимо перейти в настройки и предоставить текущему браузеру доступ к микрофону.',
|
|
4412
|
+
'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.': 'Для продолжения работы данного приложения требуется доступ к микрофону. Предоставьте разрешение, как только браузер его запросит. Если браузер не запрашивает разрешение на доступ к микрофону, необходимо перейти в настройки и предоставить текущему браузеру доступ к микрофону.',
|
|
4411
4413
|
'Your location permission is disabled': 'Разрешение на доступ к местоположению отключено',
|
|
4412
|
-
'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.': 'Для продолжения работы данного приложения требуется доступ к местоположению. Предоставьте разрешение, как только браузер его запросит. Если браузер не запрашивает разрешение на доступ к местоположению, необходимо перейти в настройки и предоставить текущему браузеру доступ к местоположению.',
|
|
4414
|
+
'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.': 'Для продолжения работы данного приложения требуется доступ к местоположению. Предоставьте разрешение, как только браузер его запросит. Если браузер не запрашивает разрешение на доступ к местоположению, необходимо перейти в настройки и предоставить текущему браузеру доступ к местоположению.',
|
|
4413
4415
|
Retry: 'Повторить попытку',
|
|
4414
4416
|
'Scan the front of ID': 'Сканируйте лицевую сторону удостоверения личности',
|
|
4415
4417
|
'Scan the back of ID': 'Сканируйте оборотную сторону удостоверения личности',
|
|
@@ -4534,11 +4536,11 @@ var zh = {
|
|
|
4534
4536
|
Continue: '繼續',
|
|
4535
4537
|
'Processing...': '正在處理...',
|
|
4536
4538
|
'Your camera permission is disabled': '已停用相機權限',
|
|
4537
|
-
'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.': '此應用程式需要存取相機才能繼續。瀏覽器提示後,請接受權限。如果瀏覽器未提示相機權限,必須前往設定並為目前瀏覽器提供相機存取權限。',
|
|
4539
|
+
'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.': '此應用程式需要存取相機才能繼續。瀏覽器提示後,請接受權限。如果瀏覽器未提示相機權限,必須前往設定並為目前瀏覽器提供相機存取權限。',
|
|
4538
4540
|
'Your microphone permission is disabled': '已停用麥克風權限',
|
|
4539
|
-
'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.': '此應用程式需要存取麥克風才能繼續。瀏覽器提示後,請接受權限。如果瀏覽器未提示麥克風權限,必須前往設定並為目前瀏覽器提供麥克風存取權限。',
|
|
4541
|
+
'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.': '此應用程式需要存取麥克風才能繼續。瀏覽器提示後,請接受權限。如果瀏覽器未提示麥克風權限,必須前往設定並為目前瀏覽器提供麥克風存取權限。',
|
|
4540
4542
|
'Your location permission is disabled': '已停用位置權限',
|
|
4541
|
-
'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.': '此應用程式需要存取位置才能繼續。瀏覽器提示後,請接受權限。如果瀏覽器未提示位置權限,必須前往設定並為目前瀏覽器提供位置存取權限。',
|
|
4543
|
+
'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.': '此應用程式需要存取位置才能繼續。瀏覽器提示後,請接受權限。如果瀏覽器未提示位置權限,必須前往設定並為目前瀏覽器提供位置存取權限。',
|
|
4542
4544
|
Retry: '重試',
|
|
4543
4545
|
'Scan the front of ID': '掃描證件正面',
|
|
4544
4546
|
'Scan the back of ID': '掃描證件背面',
|
|
@@ -7341,6 +7343,42 @@ function LoadingListItemIndicator(_a) {
|
|
|
7341
7343
|
}))))));
|
|
7342
7344
|
}
|
|
7343
7345
|
|
|
7346
|
+
function useLoadProgressHooks(_a) {
|
|
7347
|
+
var ready = _a.ready,
|
|
7348
|
+
modelLoadState = _a.modelLoadState,
|
|
7349
|
+
modelLoadProgress = _a.modelLoadProgress,
|
|
7350
|
+
onLoadingStarted = _a.onLoadingStarted,
|
|
7351
|
+
onLoadingProgress = _a.onLoadingProgress,
|
|
7352
|
+
onLoadingCompleted = _a.onLoadingCompleted;
|
|
7353
|
+
var onLoadingStartedRef = useRef(onLoadingStarted);
|
|
7354
|
+
useEffect(function () {
|
|
7355
|
+
onLoadingStartedRef.current = onLoadingStarted;
|
|
7356
|
+
}, [onLoadingStarted]);
|
|
7357
|
+
var onLoadingProgressRef = useRef(onLoadingProgress);
|
|
7358
|
+
useEffect(function () {
|
|
7359
|
+
onLoadingProgressRef.current = onLoadingProgress;
|
|
7360
|
+
}, [onLoadingProgress]);
|
|
7361
|
+
var onLoadingCompletedRef = useRef(onLoadingCompleted);
|
|
7362
|
+
useEffect(function () {
|
|
7363
|
+
onLoadingCompletedRef.current = onLoadingCompleted;
|
|
7364
|
+
}, [onLoadingCompleted]);
|
|
7365
|
+
var loadingStarted = modelLoadState !== 'not-started';
|
|
7366
|
+
useEffect(function () {
|
|
7367
|
+
var _a;
|
|
7368
|
+
if (loadingStarted) (_a = onLoadingStartedRef.current) === null || _a === void 0 ? void 0 : _a.call(onLoadingStartedRef);
|
|
7369
|
+
}, [loadingStarted]);
|
|
7370
|
+
useEffect(function () {
|
|
7371
|
+
var _a;
|
|
7372
|
+
if (modelLoadProgress > 0) {
|
|
7373
|
+
(_a = onLoadingProgressRef.current) === null || _a === void 0 ? void 0 : _a.call(onLoadingProgressRef, modelLoadProgress);
|
|
7374
|
+
}
|
|
7375
|
+
}, [modelLoadProgress]);
|
|
7376
|
+
useEffect(function () {
|
|
7377
|
+
var _a;
|
|
7378
|
+
if (ready) (_a = onLoadingCompletedRef.current) === null || _a === void 0 ? void 0 : _a.call(onLoadingCompletedRef);
|
|
7379
|
+
}, [ready]);
|
|
7380
|
+
}
|
|
7381
|
+
|
|
7344
7382
|
var legacyInstructionImageUrl$1 = "".concat(DEFAULT_CDN_URL, "/WebSDK-Instruction-DL-Capture-3-Portrait.png");
|
|
7345
7383
|
var IdCaptureLoadingOverlayDefault = function IdCaptureLoadingOverlayDefault(_a) {
|
|
7346
7384
|
var _b, _c, _d, _e, _f, _g;
|
|
@@ -7378,6 +7416,7 @@ var IdCaptureLoadingOverlayDefault = function IdCaptureLoadingOverlayDefault(_a)
|
|
|
7378
7416
|
setDismissed = _q[1];
|
|
7379
7417
|
var theme = useTheme();
|
|
7380
7418
|
assets.instructionImageUrl || (assets.instructionImageUrl = legacyInstructionImageUrl$1);
|
|
7419
|
+
var hasCustomInstructionGraphic = assets.instructionImageUrl !== legacyInstructionImageUrl$1;
|
|
7381
7420
|
var verbiage = useTranslations(rawVerbiage, {
|
|
7382
7421
|
headingText: 'Use your device camera to capture your ID',
|
|
7383
7422
|
useContinuityCameraText: 'Use your iPhone as a webcam',
|
|
@@ -7390,27 +7429,11 @@ var IdCaptureLoadingOverlayDefault = function IdCaptureLoadingOverlayDefault(_a)
|
|
|
7390
7429
|
pleaseWaitText: 'Please wait...',
|
|
7391
7430
|
sessionCheckingText: 'Authenticating...'
|
|
7392
7431
|
});
|
|
7393
|
-
var onLoadingStartedRef = useRef(onLoadingStarted);
|
|
7394
|
-
useEffect(function () {
|
|
7395
|
-
onLoadingStartedRef.current = onLoadingStarted;
|
|
7396
|
-
}, [onLoadingStarted]);
|
|
7397
|
-
var onLoadingProgressRef = useRef(onLoadingProgress);
|
|
7398
|
-
useEffect(function () {
|
|
7399
|
-
onLoadingProgressRef.current = onLoadingProgress;
|
|
7400
|
-
}, [onLoadingProgress]);
|
|
7401
|
-
var onLoadingCompletedRef = useRef(onLoadingCompleted);
|
|
7402
|
-
useEffect(function () {
|
|
7403
|
-
onLoadingCompletedRef.current = onLoadingCompleted;
|
|
7404
|
-
}, [onLoadingCompleted]);
|
|
7405
7432
|
var ready = sessionReady && modelsReady && cameraReady;
|
|
7406
7433
|
useEffect(function () {
|
|
7407
|
-
|
|
7408
|
-
|
|
7409
|
-
|
|
7410
|
-
return function () {
|
|
7411
|
-
return null;
|
|
7412
|
-
};
|
|
7413
|
-
}
|
|
7434
|
+
if (ready) return function () {
|
|
7435
|
+
return null;
|
|
7436
|
+
};
|
|
7414
7437
|
var t = setTimeout(function () {
|
|
7415
7438
|
return setDismissed(false);
|
|
7416
7439
|
}, 500);
|
|
@@ -7422,16 +7445,14 @@ var IdCaptureLoadingOverlayDefault = function IdCaptureLoadingOverlayDefault(_a)
|
|
|
7422
7445
|
var timeSinceWarmingStarted = modelWarmingStartedAt ? new Date().getTime() - modelWarmingStartedAt : 0;
|
|
7423
7446
|
var warmingProgress = timeSinceWarmingStarted / 5000.0;
|
|
7424
7447
|
var modelLoadProgress = modelsReady ? 100 : modelDownloadProgress * 0.5 + warmingProgress * 49.0;
|
|
7425
|
-
|
|
7426
|
-
|
|
7427
|
-
|
|
7428
|
-
|
|
7429
|
-
|
|
7430
|
-
|
|
7431
|
-
|
|
7432
|
-
|
|
7433
|
-
}
|
|
7434
|
-
}, [modelLoadProgress]);
|
|
7448
|
+
useLoadProgressHooks({
|
|
7449
|
+
ready: ready,
|
|
7450
|
+
modelLoadState: modelLoadState,
|
|
7451
|
+
modelLoadProgress: modelLoadProgress,
|
|
7452
|
+
onLoadingStarted: onLoadingStarted,
|
|
7453
|
+
onLoadingProgress: onLoadingProgress,
|
|
7454
|
+
onLoadingCompleted: onLoadingCompleted
|
|
7455
|
+
});
|
|
7435
7456
|
if (dismissed) return /*#__PURE__*/React__default.createElement(React__default.Fragment, null);
|
|
7436
7457
|
if (cameraAccessDenied) {
|
|
7437
7458
|
return /*#__PURE__*/React__default.createElement(CameraAccessDeniedOverlay, {
|
|
@@ -7461,7 +7482,7 @@ var IdCaptureLoadingOverlayDefault = function IdCaptureLoadingOverlayDefault(_a)
|
|
|
7461
7482
|
className: classNames.heading
|
|
7462
7483
|
}, verbiage.headingText)), /*#__PURE__*/React__default.createElement(LoadingOverlayImageContainer, {
|
|
7463
7484
|
className: classNames.imageContainer
|
|
7464
|
-
},
|
|
7485
|
+
}, hasCustomInstructionGraphic ? ( /*#__PURE__*/React__default.createElement(LoadingOverlayCustomLoadingGraphic, {
|
|
7465
7486
|
ref: imageRef,
|
|
7466
7487
|
alt: verbiage.headingText,
|
|
7467
7488
|
src: assets.instructionImageUrl,
|
|
@@ -7509,7 +7530,7 @@ var IdCaptureLoadingOverlayDefault = function IdCaptureLoadingOverlayDefault(_a)
|
|
|
7509
7530
|
}, /*#__PURE__*/React__default.createElement(LoadingListItemIndicator, {
|
|
7510
7531
|
className: classNames.loadingListItemIndicator,
|
|
7511
7532
|
state: sessionReady && modelsReady ? 'done' : 'running'
|
|
7512
|
-
}), !sessionReady ? verbiage.sessionCheckingText : modelsReady ? verbiage.modelsReadyText : modelLoadState === 'downloading' ? "".concat(verbiage.downloadingText, " (").concat(modelDownloadProgress, "%)") : modelLoadState === 'warming' ? verbiage.modelsWarmingUpText : verbiage.modelsReadyText))), /*#__PURE__*/React__default.createElement(
|
|
7533
|
+
}), !sessionReady ? verbiage.sessionCheckingText : modelsReady ? verbiage.modelsReadyText : modelLoadState === 'downloading' ? "".concat(verbiage.downloadingText, " (").concat(modelDownloadProgress, "%)") : modelLoadState === 'warming' ? verbiage.modelsWarmingUpText : verbiage.modelsReadyText))), /*#__PURE__*/React__default.createElement(LoadingOverlayContinueButtonContainer, {
|
|
7513
7534
|
className: classNames.continueBtnContainer
|
|
7514
7535
|
}, (ready || ((_g = (_f = theme.idCapture) === null || _f === void 0 ? void 0 : _f.loadingOverlay) === null || _g === void 0 ? void 0 : _g.displayDisabledContinueBtn)) && ( /*#__PURE__*/React__default.createElement(ContinueButton$1, {
|
|
7515
7536
|
autoFocus: true,
|
|
@@ -7532,8 +7553,8 @@ var OverlayInner$1 = styled(LoadingOverlayInner)(templateObject_1$E || (template
|
|
|
7532
7553
|
return (_d = (_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.idCapture) === null || _b === void 0 ? void 0 : _b.loadingOverlay) === null || _c === void 0 ? void 0 : _c.textColor) !== null && _d !== void 0 ? _d : 'black';
|
|
7533
7554
|
});
|
|
7534
7555
|
var ContinuityCameraCheckboxContainer$1 = styled.div(templateObject_2$x || (templateObject_2$x = __makeTemplateObject(["\n position: absolute;\n bottom: 120px;\n width: 100%;\n display: flex;\n"], ["\n position: absolute;\n bottom: 120px;\n width: 100%;\n display: flex;\n"])));
|
|
7535
|
-
var ContinuityCameraCheckboxInner = styled(GuidanceMessage)(templateObject_3$m || (templateObject_3$m = __makeTemplateObject(["\n padding: 12px 18px;\n margin: 0 auto;\n font-size: 14px;\n font-weight: bold;\n background: white;\n box-shadow:\n 0 1px 3px 0 rgb(0 0 0 / 0.1),\n 0 1px 2px -1px rgb(0 0 0 / 0.1);\n"], ["\n padding: 12px 18px;\n margin: 0 auto;\n font-size: 14px;\n font-weight: bold;\n background: white;\n box-shadow:\n 0 1px 3px 0 rgb(0 0 0 / 0.1),\n 0 1px 2px -1px rgb(0 0 0 / 0.1);\n"])));
|
|
7536
|
-
var ContinuityCameraCheckbox$1 = styled.input(templateObject_4$g || (templateObject_4$g = __makeTemplateObject(["\n margin
|
|
7556
|
+
var ContinuityCameraCheckboxInner = styled(GuidanceMessage)(templateObject_3$m || (templateObject_3$m = __makeTemplateObject(["\n display: flex;\n gap: 8px;\n align-items: center;\n padding: 12px 18px;\n margin: 0 auto;\n font-size: 14px;\n font-weight: bold;\n background: white;\n box-shadow:\n 0 1px 3px 0 rgb(0 0 0 / 0.1),\n 0 1px 2px -1px rgb(0 0 0 / 0.1);\n"], ["\n display: flex;\n gap: 8px;\n align-items: center;\n padding: 12px 18px;\n margin: 0 auto;\n font-size: 14px;\n font-weight: bold;\n background: white;\n box-shadow:\n 0 1px 3px 0 rgb(0 0 0 / 0.1),\n 0 1px 2px -1px rgb(0 0 0 / 0.1);\n"])));
|
|
7557
|
+
var ContinuityCameraCheckbox$1 = styled.input(templateObject_4$g || (templateObject_4$g = __makeTemplateObject(["\n margin: 0;\n"], ["\n margin: 0;\n"])));
|
|
7537
7558
|
var ButtonsRow$1 = styled(LoadingOverlayButtonsRow)(templateObject_5$c || (templateObject_5$c = __makeTemplateObject(["\n color: ", ";\n ", "\n"], ["\n color: ", ";\n ", "\n"])), function (props) {
|
|
7538
7559
|
var _a, _b, _c, _d;
|
|
7539
7560
|
return (_d = (_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.idCapture) === null || _b === void 0 ? void 0 : _b.loadingOverlay) === null || _c === void 0 ? void 0 : _c.progressBarTextColor) !== null && _d !== void 0 ? _d : 'white';
|
|
@@ -7541,20 +7562,18 @@ var ButtonsRow$1 = styled(LoadingOverlayButtonsRow)(templateObject_5$c || (templ
|
|
|
7541
7562
|
var _a, _b, _c, _d, _e, _f;
|
|
7542
7563
|
return ((_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.idCapture) === null || _b === void 0 ? void 0 : _b.loadingOverlay) === null || _c === void 0 ? void 0 : _c.progressBarFontSize) ? "font-size: ".concat((_f = (_e = (_d = props.theme) === null || _d === void 0 ? void 0 : _d.idCapture) === null || _e === void 0 ? void 0 : _e.loadingOverlay) === null || _f === void 0 ? void 0 : _f.progressBarFontSize, ";") : '';
|
|
7543
7564
|
});
|
|
7544
|
-
var ProgressBarBackground$1 = styled(LoadingOverlayProgressBarBackground)(templateObject_6$
|
|
7565
|
+
var ProgressBarBackground$1 = styled(LoadingOverlayProgressBarBackground)(templateObject_6$8 || (templateObject_6$8 = __makeTemplateObject(["\n background: ", ";\n opacity: ", ";\n"], ["\n background: ", ";\n opacity: ", ";\n"])), function (props) {
|
|
7545
7566
|
var _a, _b, _c, _d;
|
|
7546
7567
|
return (_d = (_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.idCapture) === null || _b === void 0 ? void 0 : _b.loadingOverlay) === null || _c === void 0 ? void 0 : _c.progressBarBackgroundColor) !== null && _d !== void 0 ? _d : 'var(--idm-color-positive-600)';
|
|
7547
7568
|
}, function (props) {
|
|
7548
7569
|
var _a, _b, _c, _d;
|
|
7549
7570
|
return (_d = (_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.idCapture) === null || _b === void 0 ? void 0 : _b.loadingOverlay) === null || _c === void 0 ? void 0 : _c.progressBarBackgroundOpacity) !== null && _d !== void 0 ? _d : 0.75;
|
|
7550
7571
|
});
|
|
7551
|
-
var ProgressIndicator$1 = styled(LoadingOverlayProgressIndicator)(templateObject_7$
|
|
7572
|
+
var ProgressIndicator$1 = styled(LoadingOverlayProgressIndicator)(templateObject_7$5 || (templateObject_7$5 = __makeTemplateObject(["\n background: ", ";\n"], ["\n background: ", ";\n"])), function (props) {
|
|
7552
7573
|
var _a, _b, _c, _d;
|
|
7553
7574
|
return (_d = (_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.idCapture) === null || _b === void 0 ? void 0 : _b.loadingOverlay) === null || _c === void 0 ? void 0 : _c.progressBarIndicatorColor) !== null && _d !== void 0 ? _d : 'var(--idm-color-primary-500)';
|
|
7554
7575
|
});
|
|
7555
|
-
var
|
|
7556
|
-
var ContinueButtonContainer$1 = styled.div(templateObject_9$3 || (templateObject_9$3 = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
|
|
7557
|
-
var ContinueButton$1 = styled(LoaderButton)(templateObject_10$1 || (templateObject_10$1 = __makeTemplateObject(["\n margin: auto;\n white-space: nowrap;\n ", "\n ", "\n \n &:focus-visible {\n ", "\n box-shadow: none;\n }\n\n &.disabled {\n background: ", ";\n color: ", ";\n border: ", ";\n }\n"], ["\n margin: auto;\n white-space: nowrap;\n ", "\n ", "\n \n &:focus-visible {\n ", "\n box-shadow: none;\n }\n\n &.disabled {\n background: ", ";\n color: ", ";\n border: ", ";\n }\n"])), function (props) {
|
|
7576
|
+
var ContinueButton$1 = styled(LoaderButton)(templateObject_8$3 || (templateObject_8$3 = __makeTemplateObject(["\n margin: auto;\n white-space: nowrap;\n ", "\n ", "\n \n &:focus-visible {\n ", "\n box-shadow: none;\n }\n\n &.disabled {\n background: ", ";\n color: ", ";\n border: ", ";\n }\n"], ["\n margin: auto;\n white-space: nowrap;\n ", "\n ", "\n \n &:focus-visible {\n ", "\n box-shadow: none;\n }\n\n &.disabled {\n background: ", ";\n color: ", ";\n border: ", ";\n }\n"])), function (props) {
|
|
7558
7577
|
var _a, _b, _c, _d, _e, _f;
|
|
7559
7578
|
return ((_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.idCapture) === null || _b === void 0 ? void 0 : _b.loadingOverlay) === null || _c === void 0 ? void 0 : _c.progressBarFontSize) ? "font-size: ".concat((_f = (_e = (_d = props.theme) === null || _d === void 0 ? void 0 : _d.idCapture) === null || _e === void 0 ? void 0 : _e.loadingOverlay) === null || _f === void 0 ? void 0 : _f.progressBarFontSize, ";") : '';
|
|
7560
7579
|
}, function (props) {
|
|
@@ -7573,7 +7592,7 @@ var ContinueButton$1 = styled(LoaderButton)(templateObject_10$1 || (templateObje
|
|
|
7573
7592
|
var _a, _b, _c, _d;
|
|
7574
7593
|
return (_d = (_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.idCapture) === null || _b === void 0 ? void 0 : _b.loadingOverlay) === null || _c === void 0 ? void 0 : _c.continueBtnDisabledBorder) !== null && _d !== void 0 ? _d : 'none';
|
|
7575
7594
|
});
|
|
7576
|
-
var templateObject_1$E, templateObject_2$x, templateObject_3$m, templateObject_4$g, templateObject_5$c, templateObject_6$
|
|
7595
|
+
var templateObject_1$E, templateObject_2$x, templateObject_3$m, templateObject_4$g, templateObject_5$c, templateObject_6$8, templateObject_7$5, templateObject_8$3;
|
|
7577
7596
|
|
|
7578
7597
|
var ContinuityCameraCheckboxContainer = styled.div(templateObject_1$D || (templateObject_1$D = __makeTemplateObject(["\n margin-top: 15px;\n margin-bottom: 15px;\n"], ["\n margin-top: 15px;\n margin-bottom: 15px;\n"])));
|
|
7579
7598
|
var ContinuityCameraCheckbox = styled.input(templateObject_2$w || (templateObject_2$w = __makeTemplateObject(["\n margin-right: 8px;\n"], ["\n margin-right: 8px;\n"])));
|
|
@@ -7824,8 +7843,8 @@ var ImagesContainer = styled(OverlayImageContainer)(templateObject_2$u || (templ
|
|
|
7824
7843
|
var ImageRow = styled(OverlayImageRow)(templateObject_3$l || (templateObject_3$l = __makeTemplateObject(["\n max-width: 100%;\n flex-direction: column;\n position: relative;\n width: 100%;\n"], ["\n max-width: 100%;\n flex-direction: column;\n position: relative;\n width: 100%;\n"])));
|
|
7825
7844
|
var ImageCol$1 = styled.div(templateObject_4$f || (templateObject_4$f = __makeTemplateObject(["\n width: 450px;\n max-width: 100%;\n max-height: none !important;\n"], ["\n width: 450px;\n max-width: 100%;\n max-height: none !important;\n"])));
|
|
7826
7845
|
var StyledImage = styled(CapturedDocumentImg)(templateObject_5$b || (templateObject_5$b = __makeTemplateObject(["\n width: 100%;\n border-radius: 12px;\n"], ["\n width: 100%;\n border-radius: 12px;\n"])));
|
|
7827
|
-
var DebugPre = styled.pre(templateObject_6$
|
|
7828
|
-
var templateObject_1$B, templateObject_2$u, templateObject_3$l, templateObject_4$f, templateObject_5$b, templateObject_6$
|
|
7846
|
+
var DebugPre = styled.pre(templateObject_6$7 || (templateObject_6$7 = __makeTemplateObject(["\n display: block;\n text-align: left;\n width: 100%;\n max-width: 100%;\n overflow-x: auto;\n"], ["\n display: block;\n text-align: left;\n width: 100%;\n max-width: 100%;\n overflow-x: auto;\n"])));
|
|
7847
|
+
var templateObject_1$B, templateObject_2$u, templateObject_3$l, templateObject_4$f, templateObject_5$b, templateObject_6$7;
|
|
7829
7848
|
|
|
7830
7849
|
function useShowSuccessScreen(skipSuccessScreen, successScreenReady, onDoneCallback) {
|
|
7831
7850
|
var _this = this;
|
|
@@ -8516,12 +8535,12 @@ var GuideRegion = styled.div(templateObject_4$d || (templateObject_4$d = __makeT
|
|
|
8516
8535
|
return props.$minHeight ? "min-height: ".concat(props.$minHeight, "px;") : "";
|
|
8517
8536
|
});
|
|
8518
8537
|
var Spacer = styled(GuideRegion)(templateObject_5$9 || (templateObject_5$9 = __makeTemplateObject(["\n display: block;\n width: auto;\n"], ["\n display: block;\n width: auto;\n"])));
|
|
8519
|
-
var GuideCenterRegion = styled.div(templateObject_6$
|
|
8538
|
+
var GuideCenterRegion = styled.div(templateObject_6$6 || (templateObject_6$6 = __makeTemplateObject(["\n ", "\n ", "\n transform-style: preserve-3d;\n box-sizing: border-box;\n display: flex;\n flex: 1;\n max-height: 100%;\n height: 100%;\n"], ["\n ", "\n ", "\n transform-style: preserve-3d;\n box-sizing: border-box;\n display: flex;\n flex: 1;\n max-height: 100%;\n height: 100%;\n"])), function (props) {
|
|
8520
8539
|
return props.$minWidth ? "min-width: ".concat(props.$minWidth, "px;") : "";
|
|
8521
8540
|
}, function (props) {
|
|
8522
8541
|
return props.$isMirrored ? 'transform: scaleX(-1);' : '';
|
|
8523
8542
|
});
|
|
8524
|
-
var GuideCenterBorder = styled.div(templateObject_7$
|
|
8543
|
+
var GuideCenterBorder = styled.div(templateObject_7$4 || (templateObject_7$4 = __makeTemplateObject(["\n box-sizing: border-box;\n border: ", ";\n display: flex;\n flex: 1;\n justify-content: center;\n max-height: 100%;\n min-height: 0;\n position: relative;\n ", "\n"], ["\n box-sizing: border-box;\n border: ", ";\n display: flex;\n flex: 1;\n justify-content: center;\n max-height: 100%;\n min-height: 0;\n position: relative;\n ", "\n"])), function (props) {
|
|
8525
8544
|
var _a, _b;
|
|
8526
8545
|
return "".concat((_a = props.$borderWidth) !== null && _a !== void 0 ? _a : 4, "px solid ").concat((_b = props.$borderColor) !== null && _b !== void 0 ? _b : 'white');
|
|
8527
8546
|
}, function (props) {
|
|
@@ -8529,7 +8548,7 @@ var GuideCenterBorder = styled.div(templateObject_7$5 || (templateObject_7$5 = _
|
|
|
8529
8548
|
});
|
|
8530
8549
|
var GuideText = styled.span(templateObject_8$2 || (templateObject_8$2 = __makeTemplateObject(["\n align-content: center;\n margin-top: 12px;\n margin-bottom: 12px;\n"], ["\n align-content: center;\n margin-top: 12px;\n margin-bottom: 12px;\n"])));
|
|
8531
8550
|
var GuideCenterInner = styled.div(templateObject_9$2 || (templateObject_9$2 = __makeTemplateObject(["\n position: relative;\n margin: auto;\n"], ["\n position: relative;\n margin: auto;\n"])));
|
|
8532
|
-
var templateObject_1$y, templateObject_2$s, templateObject_3$j, templateObject_4$d, templateObject_5$9, templateObject_6$
|
|
8551
|
+
var templateObject_1$y, templateObject_2$s, templateObject_3$j, templateObject_4$d, templateObject_5$9, templateObject_6$6, templateObject_7$4, templateObject_8$2, templateObject_9$2;
|
|
8533
8552
|
|
|
8534
8553
|
var IdCaptureFitGuide = function IdCaptureFitGuide(_a) {
|
|
8535
8554
|
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
@@ -9401,9 +9420,9 @@ var Instructions = styled.div(templateObject_5$8 || (templateObject_5$8 = __make
|
|
|
9401
9420
|
var _a, _b, _c;
|
|
9402
9421
|
return (_c = (_b = (_a = props.theme.documentCapture) === null || _a === void 0 ? void 0 : _a.instructions) === null || _b === void 0 ? void 0 : _b.maxHeight) !== null && _c !== void 0 ? _c : '8rem';
|
|
9403
9422
|
});
|
|
9404
|
-
var StyledButtonsRow$8 = styled(ButtonsRow$2)(templateObject_6$
|
|
9405
|
-
var PreviewImage = styled.img(templateObject_7$
|
|
9406
|
-
var templateObject_1$r, templateObject_2$n, templateObject_3$h, templateObject_4$b, templateObject_5$8, templateObject_6$
|
|
9423
|
+
var StyledButtonsRow$8 = styled(ButtonsRow$2)(templateObject_6$5 || (templateObject_6$5 = __makeTemplateObject(["\n padding-top: 20px;\n"], ["\n padding-top: 20px;\n"])));
|
|
9424
|
+
var PreviewImage = styled.img(templateObject_7$3 || (templateObject_7$3 = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n object-fit: cover;\n"], ["\n width: 100%;\n height: 100%;\n object-fit: cover;\n"])));
|
|
9425
|
+
var templateObject_1$r, templateObject_2$n, templateObject_3$h, templateObject_4$b, templateObject_5$8, templateObject_6$5, templateObject_7$3;
|
|
9407
9426
|
|
|
9408
9427
|
var DocumentCaptureWizard = function DocumentCaptureWizard(_a) {
|
|
9409
9428
|
var onSuccess = _a.onSuccess,
|
|
@@ -9679,8 +9698,8 @@ var Heading$8 = styled.h3(templateObject_2$m || (templateObject_2$m = __makeTemp
|
|
|
9679
9698
|
var Description$3 = styled.p(templateObject_3$g || (templateObject_3$g = __makeTemplateObject(["\n margin-bottom: 8px;\n"], ["\n margin-bottom: 8px;\n"])));
|
|
9680
9699
|
var Instruction = styled.p(templateObject_4$a || (templateObject_4$a = __makeTemplateObject(["\n font-weight: bold;\n"], ["\n font-weight: bold;\n"])));
|
|
9681
9700
|
var ImageCol = styled.div(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n flex-grow: 1;\n flex-basis: 0;\n"], ["\n display: flex;\n justify-content: center;\n flex-grow: 1;\n flex-basis: 0;\n"])));
|
|
9682
|
-
var StyledButtonsRow$7 = styled(ButtonsRow$2)(templateObject_6$
|
|
9683
|
-
var templateObject_1$q, templateObject_2$m, templateObject_3$g, templateObject_4$a, templateObject_5$7, templateObject_6$
|
|
9701
|
+
var StyledButtonsRow$7 = styled(ButtonsRow$2)(templateObject_6$4 || (templateObject_6$4 = __makeTemplateObject(["\n margin-top: 32px;\n"], ["\n margin-top: 32px;\n"])));
|
|
9702
|
+
var templateObject_1$q, templateObject_2$m, templateObject_3$g, templateObject_4$a, templateObject_5$7, templateObject_6$4;
|
|
9684
9703
|
|
|
9685
9704
|
function ScalingCameraFeed() {
|
|
9686
9705
|
var _a = useIdCaptureStore(),
|
|
@@ -10040,8 +10059,8 @@ var ScreenPanel = styled.div(templateObject_2$l || (templateObject_2$l = __makeT
|
|
|
10040
10059
|
var SelectIdCardScreenPanel = styled(ScreenPanel)(templateObject_3$f || (templateObject_3$f = __makeTemplateObject(["\n background: white;\n padding: 80px 0;\n\n @media (max-height: 1000px) {\n padding: 40px 0;\n }\n"], ["\n background: white;\n padding: 80px 0;\n\n @media (max-height: 1000px) {\n padding: 40px 0;\n }\n"])));
|
|
10041
10060
|
var ScreenPanelHeading = styled.h3(templateObject_4$9 || (templateObject_4$9 = __makeTemplateObject(["\n margin: 0 0 30px;\n"], ["\n margin: 0 0 30px;\n"])));
|
|
10042
10061
|
var ScreenActionsBar = styled.div(templateObject_5$6 || (templateObject_5$6 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: end;\n gap: 20px;\n padding: 20px;\n width: 100%;\n box-sizing: border-box;\n border-top: 1px solid #ccc;\n\n @media (max-width: 600px) {\n justify-content: center;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: end;\n gap: 20px;\n padding: 20px;\n width: 100%;\n box-sizing: border-box;\n border-top: 1px solid #ccc;\n\n @media (max-width: 600px) {\n justify-content: center;\n }\n"])));
|
|
10043
|
-
var DashedSeparator = styled.div(templateObject_6$
|
|
10044
|
-
var OrWrapper = styled.div(templateObject_7$
|
|
10062
|
+
var DashedSeparator = styled.div(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject(["\n width: 100%;\n height: 0;\n border-top: 2px solid #606060;\n border-top-style: dashed;\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n width: 100%;\n height: 0;\n border-top: 2px solid #606060;\n border-top-style: dashed;\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
|
|
10063
|
+
var OrWrapper = styled.div(templateObject_7$2 || (templateObject_7$2 = __makeTemplateObject(["\n color: #323232;\n font-weight: bold;\n background: white;\n border-radius: 50%;\n top: -2px;\n position: relative;\n width: 60px;\n height: 60px;\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n color: #323232;\n font-weight: bold;\n background: white;\n border-radius: 50%;\n top: -2px;\n position: relative;\n width: 60px;\n height: 60px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
|
|
10045
10064
|
var UploadIdBackHelpText = styled.p(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject(["\n color: #323232;\n font-style: italic;\n margin: 30px 0 0;\n"], ["\n color: #323232;\n font-style: italic;\n margin: 30px 0 0;\n"])));
|
|
10046
10065
|
var Button = styled(WideBorderButton)(templateObject_9$1 || (templateObject_9$1 = __makeTemplateObject(["\n width: auto;\n font-weight: 500;\n padding-left: 40px;\n padding-right: 40px;\n transition: background-color 0.3s ease;\n background-color: #ffffff;\n white-space: nowrap;\n\n &:disabled,\n &.disabled {\n background-color: #f1f1f1 !important;\n border-color: #dbdbdb !important;\n color: #323232 !important;\n }\n\n &:hover {\n filter: none;\n background-color: #fafafa !important;\n }\n"], ["\n width: auto;\n font-weight: 500;\n padding-left: 40px;\n padding-right: 40px;\n transition: background-color 0.3s ease;\n background-color: #ffffff;\n white-space: nowrap;\n\n &:disabled,\n &.disabled {\n background-color: #f1f1f1 !important;\n border-color: #dbdbdb !important;\n color: #323232 !important;\n }\n\n &:hover {\n filter: none;\n background-color: #fafafa !important;\n }\n"])));
|
|
10047
10066
|
var Modal = styled.div(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.5);\n z-index: 10000;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.5);\n z-index: 10000;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n"])));
|
|
@@ -10321,7 +10340,7 @@ function humanFileSize(bytes, si, dp) {
|
|
|
10321
10340
|
} while (Math.round(Math.abs(bytes) * r) / r >= thresh && u < units.length - 1);
|
|
10322
10341
|
return bytes.toFixed(dp) + ' ' + units[u];
|
|
10323
10342
|
}
|
|
10324
|
-
var templateObject_1$p, templateObject_2$l, templateObject_3$f, templateObject_4$9, templateObject_5$6, templateObject_6$
|
|
10343
|
+
var templateObject_1$p, templateObject_2$l, templateObject_3$f, templateObject_4$9, templateObject_5$6, templateObject_6$3, templateObject_7$2, templateObject_8$1, templateObject_9$1, templateObject_10, templateObject_11, templateObject_12, templateObject_13;
|
|
10325
10344
|
|
|
10326
10345
|
var IdCaptureWizard = function IdCaptureWizard(_a) {
|
|
10327
10346
|
var _b, _c, _d, _e, _f;
|
|
@@ -12408,7 +12427,10 @@ var templateObject_1$h, templateObject_2$e;
|
|
|
12408
12427
|
var legacyInstructionImageUrl = "".concat(DEFAULT_CDN_URL, "/Selfie-Image-1.png");
|
|
12409
12428
|
var SelfieCaptureLoadingOverlayDefault = function SelfieCaptureLoadingOverlayDefault(_a) {
|
|
12410
12429
|
var _b, _c;
|
|
12411
|
-
var
|
|
12430
|
+
var onLoadingStarted = _a.onLoadingStarted,
|
|
12431
|
+
onLoadingProgress = _a.onLoadingProgress,
|
|
12432
|
+
onLoadingCompleted = _a.onLoadingCompleted,
|
|
12433
|
+
onDismissed = _a.onDismissed,
|
|
12412
12434
|
onUserCancel = _a.onUserCancel,
|
|
12413
12435
|
customOverlayContent = _a.customOverlayContent,
|
|
12414
12436
|
_d = _a.waitForIdCaptureModels,
|
|
@@ -12434,8 +12456,9 @@ var SelfieCaptureLoadingOverlayDefault = function SelfieCaptureLoadingOverlayDef
|
|
|
12434
12456
|
cameraAccessDenied = _j.cameraAccessDenied,
|
|
12435
12457
|
microphoneAccessDenied = _j.microphoneAccessDenied;
|
|
12436
12458
|
var _k = useSelfieGuidanceModelsContext(),
|
|
12437
|
-
|
|
12438
|
-
modelDownloadProgress = _k.modelDownloadProgress
|
|
12459
|
+
modelLoadState = _k.modelLoadState,
|
|
12460
|
+
modelDownloadProgress = _k.modelDownloadProgress,
|
|
12461
|
+
modelWarmingStartedAt = _k.modelWarmingStartedAt;
|
|
12439
12462
|
var idCaptureModelsContext = useContext(IdCaptureModelsContext);
|
|
12440
12463
|
var theme = useTheme();
|
|
12441
12464
|
var verbiage = useTranslations(rawVerbiage, {
|
|
@@ -12462,6 +12485,19 @@ var SelfieCaptureLoadingOverlayDefault = function SelfieCaptureLoadingOverlayDef
|
|
|
12462
12485
|
});
|
|
12463
12486
|
}, 3000);
|
|
12464
12487
|
}, []);
|
|
12488
|
+
var timeSinceWarmingStarted = modelWarmingStartedAt ? new Date().getTime() - modelWarmingStartedAt : 0;
|
|
12489
|
+
var warmingProgress = timeSinceWarmingStarted / 5000.0;
|
|
12490
|
+
var allModelsReady = modelLoadState === 'ready' && (!waitForIdCaptureModels || (idCaptureModelsContext === null || idCaptureModelsContext === void 0 ? void 0 : idCaptureModelsContext.ready));
|
|
12491
|
+
var ready = sessionReady && allModelsReady && cameraReady;
|
|
12492
|
+
var modelLoadProgress = allModelsReady ? 100 : modelDownloadProgress * 0.5 + warmingProgress * 49.0;
|
|
12493
|
+
useLoadProgressHooks({
|
|
12494
|
+
ready: ready,
|
|
12495
|
+
modelLoadState: modelLoadState,
|
|
12496
|
+
modelLoadProgress: modelLoadProgress,
|
|
12497
|
+
onLoadingStarted: onLoadingStarted,
|
|
12498
|
+
onLoadingProgress: onLoadingProgress,
|
|
12499
|
+
onLoadingCompleted: onLoadingCompleted
|
|
12500
|
+
});
|
|
12465
12501
|
var _m = useState(false),
|
|
12466
12502
|
dismissed = _m[0],
|
|
12467
12503
|
setDismissed = _m[1];
|
|
@@ -12482,8 +12518,6 @@ var SelfieCaptureLoadingOverlayDefault = function SelfieCaptureLoadingOverlayDef
|
|
|
12482
12518
|
verbiage: rawVerbiage.microphoneAccessDenied
|
|
12483
12519
|
});
|
|
12484
12520
|
}
|
|
12485
|
-
var allModelsReady = modelsReady && (!waitForIdCaptureModels || (idCaptureModelsContext === null || idCaptureModelsContext === void 0 ? void 0 : idCaptureModelsContext.ready));
|
|
12486
|
-
var ready = sessionReady && allModelsReady && cameraReady;
|
|
12487
12521
|
return /*#__PURE__*/React__default.createElement(OverlayContainer, {
|
|
12488
12522
|
className: classNames.container
|
|
12489
12523
|
}, /*#__PURE__*/React__default.createElement(OverlayInner, {
|
|
@@ -12497,7 +12531,7 @@ var SelfieCaptureLoadingOverlayDefault = function SelfieCaptureLoadingOverlayDef
|
|
|
12497
12531
|
className: classNames.heading
|
|
12498
12532
|
}, headingText)), /*#__PURE__*/React__default.createElement(LoadingOverlayImageContainer, {
|
|
12499
12533
|
className: classNames.imageContainer
|
|
12500
|
-
}, (assets === null || assets === void 0 ? void 0 : assets.instructionImageUrl) && assets.instructionImageUrl !== legacyInstructionImageUrl ? ( /*#__PURE__*/React__default.createElement(
|
|
12534
|
+
}, (assets === null || assets === void 0 ? void 0 : assets.instructionImageUrl) && assets.instructionImageUrl !== legacyInstructionImageUrl ? ( /*#__PURE__*/React__default.createElement(LoadingOverlayCustomLoadingGraphic, {
|
|
12501
12535
|
className: classNames.image,
|
|
12502
12536
|
alt: verbiage.headingText,
|
|
12503
12537
|
src: assets.instructionImageUrl
|
|
@@ -12510,7 +12544,7 @@ var SelfieCaptureLoadingOverlayDefault = function SelfieCaptureLoadingOverlayDef
|
|
|
12510
12544
|
}, /*#__PURE__*/React__default.createElement(ProgressBarBackground, {
|
|
12511
12545
|
className: classNames.progressBackground
|
|
12512
12546
|
}), /*#__PURE__*/React__default.createElement(LoadingOverlayProgressBar, {
|
|
12513
|
-
"$progress":
|
|
12547
|
+
"$progress": modelLoadProgress,
|
|
12514
12548
|
className: classNames.progressBar
|
|
12515
12549
|
}, /*#__PURE__*/React__default.createElement(ProgressIndicator, {
|
|
12516
12550
|
className: classNames.progressIndicator
|
|
@@ -12528,7 +12562,7 @@ var SelfieCaptureLoadingOverlayDefault = function SelfieCaptureLoadingOverlayDef
|
|
|
12528
12562
|
}, /*#__PURE__*/React__default.createElement(LoadingListItemIndicator, {
|
|
12529
12563
|
className: classNames.loadingListItemIndicator,
|
|
12530
12564
|
state: sessionReady && allModelsReady ? 'done' : 'running'
|
|
12531
|
-
}), !sessionReady ? verbiage.sessionCheckingText : allModelsReady ? verbiage.modelsReadyText : modelDownloadProgress >= 100 ? verbiage.modelsWarmingUpText : "".concat(verbiage.downloadingText, " (").concat(modelDownloadProgress, "%)")))), /*#__PURE__*/React__default.createElement(
|
|
12565
|
+
}), !sessionReady ? verbiage.sessionCheckingText : allModelsReady ? verbiage.modelsReadyText : modelDownloadProgress >= 100 ? verbiage.modelsWarmingUpText : "".concat(verbiage.downloadingText, " (").concat(modelDownloadProgress, "%)")))), /*#__PURE__*/React__default.createElement(LoadingOverlayContinueButtonContainer, {
|
|
12532
12566
|
className: classNames.continueBtnContainer
|
|
12533
12567
|
}, (ready || ((_c = (_b = theme.selfieCapture) === null || _b === void 0 ? void 0 : _b.loadingOverlay) === null || _c === void 0 ? void 0 : _c.displayDisabledContinueBtn)) && ( /*#__PURE__*/React__default.createElement(ContinueButton, {
|
|
12534
12568
|
autoFocus: true,
|
|
@@ -12568,9 +12602,7 @@ var ProgressIndicator = styled(LoadingOverlayProgressIndicator)(templateObject_4
|
|
|
12568
12602
|
var _a, _b, _c, _d;
|
|
12569
12603
|
return (_d = (_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.selfieCapture) === null || _b === void 0 ? void 0 : _b.loadingOverlay) === null || _c === void 0 ? void 0 : _c.progressBarIndicatorColor) !== null && _d !== void 0 ? _d : 'var(--idm-color-positive-600)';
|
|
12570
12604
|
});
|
|
12571
|
-
var
|
|
12572
|
-
var ContinueButtonContainer = styled.div(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
|
|
12573
|
-
var ContinueButton = styled(LoaderButton)(templateObject_7$2 || (templateObject_7$2 = __makeTemplateObject(["\n margin: auto;\n white-space: nowrap;\n ", "\n ", "\n \n &:focus-visible {\n ", "\n box-shadow: none;\n }\n\n &.disabled {\n background: ", ";\n color: ", ";\n border: ", ";\n box-shadow: none;\n }\n"], ["\n margin: auto;\n white-space: nowrap;\n ", "\n ", "\n \n &:focus-visible {\n ", "\n box-shadow: none;\n }\n\n &.disabled {\n background: ", ";\n color: ", ";\n border: ", ";\n box-shadow: none;\n }\n"])), function (props) {
|
|
12605
|
+
var ContinueButton = styled(LoaderButton)(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject(["\n margin: auto;\n white-space: nowrap;\n ", "\n ", "\n \n &:focus-visible {\n ", "\n box-shadow: none;\n }\n\n &.disabled {\n background: ", ";\n color: ", ";\n border: ", ";\n box-shadow: none;\n }\n"], ["\n margin: auto;\n white-space: nowrap;\n ", "\n ", "\n \n &:focus-visible {\n ", "\n box-shadow: none;\n }\n\n &.disabled {\n background: ", ";\n color: ", ";\n border: ", ";\n box-shadow: none;\n }\n"])), function (props) {
|
|
12574
12606
|
var _a, _b, _c, _d, _e, _f;
|
|
12575
12607
|
return ((_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.selfieCapture) === null || _b === void 0 ? void 0 : _b.loadingOverlay) === null || _c === void 0 ? void 0 : _c.progressBarFontSize) ? "font-size: ".concat((_f = (_e = (_d = props.theme) === null || _d === void 0 ? void 0 : _d.selfieCapture) === null || _e === void 0 ? void 0 : _e.loadingOverlay) === null || _f === void 0 ? void 0 : _f.progressBarFontSize, ";") : '';
|
|
12576
12608
|
}, function (props) {
|
|
@@ -12589,7 +12621,7 @@ var ContinueButton = styled(LoaderButton)(templateObject_7$2 || (templateObject_
|
|
|
12589
12621
|
var _a, _b, _c, _d;
|
|
12590
12622
|
return (_d = (_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.selfieCapture) === null || _b === void 0 ? void 0 : _b.loadingOverlay) === null || _c === void 0 ? void 0 : _c.continueBtnBorder) !== null && _d !== void 0 ? _d : 'none';
|
|
12591
12623
|
});
|
|
12592
|
-
var templateObject_1$g, templateObject_2$d, templateObject_3$b, templateObject_4$6, templateObject_5$4
|
|
12624
|
+
var templateObject_1$g, templateObject_2$d, templateObject_3$b, templateObject_4$6, templateObject_5$4;
|
|
12593
12625
|
|
|
12594
12626
|
var components = {
|
|
12595
12627
|
"default": SelfieCaptureLoadingOverlayDefault,
|
|
@@ -12606,7 +12638,10 @@ var SelfieCaptureLoadingOverlay = function SelfieCaptureLoadingOverlay(_a) {
|
|
|
12606
12638
|
|
|
12607
12639
|
var FaceLivenessWizard = function FaceLivenessWizard(_a) {
|
|
12608
12640
|
var _b;
|
|
12609
|
-
var
|
|
12641
|
+
var onLoadingStarted = _a.onLoadingStarted,
|
|
12642
|
+
onLoadingProgress = _a.onLoadingProgress,
|
|
12643
|
+
onLoadingCompleted = _a.onLoadingCompleted,
|
|
12644
|
+
onComplete = _a.onComplete,
|
|
12610
12645
|
onSuccess = _a.onSuccess,
|
|
12611
12646
|
onFailure = _a.onFailure,
|
|
12612
12647
|
onTimeout = _a.onTimeout,
|
|
@@ -12873,6 +12908,9 @@ var FaceLivenessWizard = function FaceLivenessWizard(_a) {
|
|
|
12873
12908
|
classNames: classNames.loadingOverlay,
|
|
12874
12909
|
colors: colors.loadingOverlay,
|
|
12875
12910
|
verbiage: verbiage.loadingOverlay,
|
|
12911
|
+
onLoadingStarted: onLoadingStarted,
|
|
12912
|
+
onLoadingProgress: onLoadingProgress,
|
|
12913
|
+
onLoadingCompleted: onLoadingCompleted,
|
|
12876
12914
|
onUserCancel: onUserCancel,
|
|
12877
12915
|
onDismissed: onLoadingOverlayDismissedCallback,
|
|
12878
12916
|
waitForIdCaptureModels: waitForIdCaptureModels
|
|
@@ -13961,7 +13999,10 @@ var StyledVideo$1 = styled.video(templateObject_1$9 || (templateObject_1$9 = __m
|
|
|
13961
13999
|
var templateObject_1$9;
|
|
13962
14000
|
|
|
13963
14001
|
var VideoSignatureWizard = function VideoSignatureWizard(_a) {
|
|
13964
|
-
var
|
|
14002
|
+
var onLoadingStarted = _a.onLoadingStarted,
|
|
14003
|
+
onLoadingProgress = _a.onLoadingProgress,
|
|
14004
|
+
onLoadingCompleted = _a.onLoadingCompleted,
|
|
14005
|
+
onComplete = _a.onComplete,
|
|
13965
14006
|
onVideoCaptured = _a.onVideoCaptured,
|
|
13966
14007
|
onRetryClicked = _a.onRetryClicked,
|
|
13967
14008
|
onExitCapture = _a.onExitCapture,
|
|
@@ -14113,6 +14154,9 @@ var VideoSignatureWizard = function VideoSignatureWizard(_a) {
|
|
|
14113
14154
|
return /*#__PURE__*/React__default.createElement(FaceLivenessWizard, _assign({
|
|
14114
14155
|
key: "face-liveness-".concat(attempt)
|
|
14115
14156
|
}, faceLivenessProps, {
|
|
14157
|
+
onLoadingStarted: onLoadingStarted,
|
|
14158
|
+
onLoadingProgress: onLoadingProgress,
|
|
14159
|
+
onLoadingCompleted: onLoadingCompleted,
|
|
14116
14160
|
onSuccess: onFaceCaptureSuccess,
|
|
14117
14161
|
onExitCapture: onExitCapture,
|
|
14118
14162
|
onUserCancel: onUserCancel,
|
|
@@ -15058,6 +15102,9 @@ var VideoIdWizard = function VideoIdWizard(_a) {
|
|
|
15058
15102
|
_s = _a.idCaptureLoadingOverlayMode,
|
|
15059
15103
|
idCaptureLoadingOverlayMode = _s === void 0 ? 'default' : _s,
|
|
15060
15104
|
customOverlayContent = _a.customOverlayContent,
|
|
15105
|
+
onLoadingStarted = _a.onLoadingStarted,
|
|
15106
|
+
onLoadingProgress = _a.onLoadingProgress,
|
|
15107
|
+
onLoadingCompleted = _a.onLoadingCompleted,
|
|
15061
15108
|
onLoadingOverlayDismissed = _a.onLoadingOverlayDismissed,
|
|
15062
15109
|
_t = _a.idDocumentType,
|
|
15063
15110
|
idDocumentType = _t === void 0 ? 'idCardOrPassport' : _t,
|
|
@@ -15215,6 +15262,9 @@ var VideoIdWizard = function VideoIdWizard(_a) {
|
|
|
15215
15262
|
key: "id-capture-".concat(attempt),
|
|
15216
15263
|
loadingOverlayMode: idCaptureLoadingOverlayMode,
|
|
15217
15264
|
customOverlayContent: customOverlayContent,
|
|
15265
|
+
onLoadingStarted: onLoadingStarted,
|
|
15266
|
+
onLoadingProgress: onLoadingProgress,
|
|
15267
|
+
onLoadingCompleted: onLoadingCompleted,
|
|
15218
15268
|
onLoadingOverlayDismissed: onLoadingOverlayDismissed,
|
|
15219
15269
|
silentFallback: silentFallback,
|
|
15220
15270
|
guideImages: idCaptureGuideImages
|
|
@@ -15239,6 +15289,9 @@ var VideoIdWizard = function VideoIdWizard(_a) {
|
|
|
15239
15289
|
key: "face-liveness-".concat(attempt),
|
|
15240
15290
|
loadingOverlayMode: faceLivenessLoadingOverlayMode,
|
|
15241
15291
|
customOverlayContent: customOverlayContent,
|
|
15292
|
+
onLoadingStarted: onLoadingStarted,
|
|
15293
|
+
onLoadingProgress: onLoadingProgress,
|
|
15294
|
+
onLoadingCompleted: onLoadingCompleted,
|
|
15242
15295
|
onLoadingOverlayDismissed: onLoadingOverlayDismissed,
|
|
15243
15296
|
silentFallback: silentFallback
|
|
15244
15297
|
}, faceLivenessProps, {
|
|
@@ -16042,6 +16095,9 @@ var FaceValidation = function FaceValidation(_a) {
|
|
|
16042
16095
|
_h = _a.skipSuccessScreen,
|
|
16043
16096
|
skipSuccessScreen = _h === void 0 ? false : _h,
|
|
16044
16097
|
idCardForFaceMatch = _a.idCardForFaceMatch,
|
|
16098
|
+
onLoadingStarted = _a.onLoadingStarted,
|
|
16099
|
+
onLoadingProgress = _a.onLoadingProgress,
|
|
16100
|
+
onLoadingCompleted = _a.onLoadingCompleted,
|
|
16045
16101
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
16046
16102
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
16047
16103
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -16078,6 +16134,9 @@ var FaceValidation = function FaceValidation(_a) {
|
|
|
16078
16134
|
timeoutDurationMs: timeoutDurationMs,
|
|
16079
16135
|
modelLoadTimeoutMs: modelLoadTimeoutMs,
|
|
16080
16136
|
skipSuccessScreen: skipSuccessScreen,
|
|
16137
|
+
onLoadingStarted: onLoadingStarted,
|
|
16138
|
+
onLoadingProgress: onLoadingProgress,
|
|
16139
|
+
onLoadingCompleted: onLoadingCompleted,
|
|
16081
16140
|
onComplete: onComplete,
|
|
16082
16141
|
onSuccess: onApproved,
|
|
16083
16142
|
onDenied: onDenied,
|
|
@@ -16091,7 +16150,7 @@ var FaceValidation = function FaceValidation(_a) {
|
|
|
16091
16150
|
verbiage: verbiage,
|
|
16092
16151
|
debugMode: debugMode
|
|
16093
16152
|
};
|
|
16094
|
-
}, [assets, classNames, colors, debugMode, initialCaptureDelayMs, loadingOverlayMode, modelLoadTimeoutMs, onApproved, onComplete, onDenied, onExitAfterFailure, onExitCapture, onModelError, onUserCancel, skipSuccessScreen, timeoutDurationMs, verbiage]);
|
|
16153
|
+
}, [assets, classNames, colors, debugMode, initialCaptureDelayMs, loadingOverlayMode, modelLoadTimeoutMs, onApproved, onComplete, onDenied, onExitAfterFailure, onExitCapture, onLoadingCompleted, onLoadingProgress, onLoadingStarted, onModelError, onUserCancel, skipSuccessScreen, timeoutDurationMs, verbiage]);
|
|
16095
16154
|
return /*#__PURE__*/React__default.createElement(AuthProvider, {
|
|
16096
16155
|
sessionId: sessionId,
|
|
16097
16156
|
authUrl: authUrl
|
|
@@ -16214,6 +16273,9 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
|
|
|
16214
16273
|
enableOverrideWrongDocumentTypeDialog = _w === void 0 ? false : _w,
|
|
16215
16274
|
_x = _a.allowOverrideWrongDocumentTypeAfterMs,
|
|
16216
16275
|
allowOverrideWrongDocumentTypeAfterMs = _x === void 0 ? 8000 : _x,
|
|
16276
|
+
onLoadingStarted = _a.onLoadingStarted,
|
|
16277
|
+
onLoadingProgress = _a.onLoadingProgress,
|
|
16278
|
+
onLoadingCompleted = _a.onLoadingCompleted,
|
|
16217
16279
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
16218
16280
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
16219
16281
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
@@ -16258,6 +16320,9 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
|
|
|
16258
16320
|
useDebugLogging(debugMode);
|
|
16259
16321
|
var idCaptureProps = useMemo(function () {
|
|
16260
16322
|
return {
|
|
16323
|
+
onLoadingStarted: onLoadingStarted,
|
|
16324
|
+
onLoadingProgress: onLoadingProgress,
|
|
16325
|
+
onLoadingCompleted: onLoadingCompleted,
|
|
16261
16326
|
onExitCapture: onExitCapture,
|
|
16262
16327
|
onUserCancel: onUserCancel,
|
|
16263
16328
|
onModelError: onIdCaptureModelError,
|
|
@@ -16285,9 +16350,12 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
|
|
|
16285
16350
|
skipSuccessScreen: skipSuccessScreen,
|
|
16286
16351
|
debugMode: debugMode
|
|
16287
16352
|
};
|
|
16288
|
-
}, [onExitCapture, onUserCancel, onIdCaptureModelError, assets.idCapture, classNames.idCapture, colors.idCapture, verbiage.idCapture, precapturedDocuments, idCaptureRequirement, allowSinglePageIdCapture, idCaptureThresholds, idCaptureLoadingOverlayMode, idCaptureInstructions, idCaptureGuideType, idCaptureGuideImages, idCapturePortraitGuidesOnMobile, idCaptureRotateLoadingOverlayImageWhenPortrait, idCaptureModelLoadTimeoutMs, allowIdCardBackToFrontCapture, idCaptureAllowUploadingDocumentsFromStorage, enableOverrideWrongDocumentTypeDialog, allowOverrideWrongDocumentTypeAfterMs, idCaptureForceFallbackMode, separateIdCardCaptureSequence, skipSuccessScreen, debugMode]);
|
|
16353
|
+
}, [onLoadingStarted, onLoadingProgress, onLoadingCompleted, onExitCapture, onUserCancel, onIdCaptureModelError, assets.idCapture, classNames.idCapture, colors.idCapture, verbiage.idCapture, precapturedDocuments, idCaptureRequirement, allowSinglePageIdCapture, idCaptureThresholds, idCaptureLoadingOverlayMode, idCaptureInstructions, idCaptureGuideType, idCaptureGuideImages, idCapturePortraitGuidesOnMobile, idCaptureRotateLoadingOverlayImageWhenPortrait, idCaptureModelLoadTimeoutMs, allowIdCardBackToFrontCapture, idCaptureAllowUploadingDocumentsFromStorage, enableOverrideWrongDocumentTypeDialog, allowOverrideWrongDocumentTypeAfterMs, idCaptureForceFallbackMode, separateIdCardCaptureSequence, skipSuccessScreen, debugMode]);
|
|
16289
16354
|
var faceLivenessProps = useMemo(function () {
|
|
16290
16355
|
return {
|
|
16356
|
+
onLoadingStarted: onLoadingStarted,
|
|
16357
|
+
onLoadingProgress: onLoadingProgress,
|
|
16358
|
+
onLoadingCompleted: onLoadingCompleted,
|
|
16291
16359
|
loadingOverlayMode: faceLivenessLoadingOverlayMode,
|
|
16292
16360
|
initialCaptureDelayMs: faceLivenessInitialCaptureDelayMs,
|
|
16293
16361
|
timeoutDurationMs: faceLivenessTimeoutDurationMs,
|
|
@@ -16305,7 +16373,7 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
|
|
|
16305
16373
|
verbiage: verbiage.faceLiveness,
|
|
16306
16374
|
debugMode: debugMode
|
|
16307
16375
|
};
|
|
16308
|
-
}, [assets.faceLiveness, classNames.faceLiveness, colors.faceLiveness, debugMode, faceLivenessInitialCaptureDelayMs, faceLivenessLoadingOverlayMode, faceLivenessTimeoutDurationMs, onDenied, onExitAfterFailure, onExitCapture, onSelfieCaptureModelError, onUserCancel, precapturedDocuments, selfieCaptureModelLoadTimeoutMs, skipSuccessScreen, verbiage.faceLiveness]);
|
|
16376
|
+
}, [assets.faceLiveness, classNames.faceLiveness, colors.faceLiveness, debugMode, faceLivenessInitialCaptureDelayMs, faceLivenessLoadingOverlayMode, faceLivenessTimeoutDurationMs, onDenied, onExitAfterFailure, onExitCapture, onLoadingCompleted, onLoadingProgress, onLoadingStarted, onSelfieCaptureModelError, onUserCancel, precapturedDocuments, selfieCaptureModelLoadTimeoutMs, skipSuccessScreen, verbiage.faceLiveness]);
|
|
16309
16377
|
var additionalDocumentCaptureProps = useMemo(function () {
|
|
16310
16378
|
return {
|
|
16311
16379
|
documents: captureAdditionalDocuments,
|
|
@@ -16481,6 +16549,9 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
|
|
|
16481
16549
|
allowUploadingDocumentsFromStorage = _w === void 0 ? false : _w,
|
|
16482
16550
|
_x = _a.separateIdCardCaptureSequence,
|
|
16483
16551
|
separateIdCardCaptureSequence = _x === void 0 ? false : _x,
|
|
16552
|
+
onLoadingStarted = _a.onLoadingStarted,
|
|
16553
|
+
onLoadingProgress = _a.onLoadingProgress,
|
|
16554
|
+
onLoadingCompleted = _a.onLoadingCompleted,
|
|
16484
16555
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
16485
16556
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
16486
16557
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -16527,6 +16598,9 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
|
|
|
16527
16598
|
useDebugLogging(debugMode);
|
|
16528
16599
|
var idCaptureProps = useMemo(function () {
|
|
16529
16600
|
return {
|
|
16601
|
+
onLoadingStarted: onLoadingStarted,
|
|
16602
|
+
onLoadingProgress: onLoadingProgress,
|
|
16603
|
+
onLoadingCompleted: onLoadingCompleted,
|
|
16530
16604
|
assets: assets.idCapture,
|
|
16531
16605
|
classNames: classNames.idCapture,
|
|
16532
16606
|
colors: colors.idCapture,
|
|
@@ -16554,9 +16628,12 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
|
|
|
16554
16628
|
skipSuccessScreen: skipSuccessScreen,
|
|
16555
16629
|
debugMode: debugMode
|
|
16556
16630
|
};
|
|
16557
|
-
}, [assets.idCapture, classNames.idCapture, colors.idCapture, verbiage.idCapture, precapturedDocuments, idCaptureRequirement, allowSinglePageIdCapture, idCaptureThresholds, idCaptureLoadingOverlayMode, idCaptureInstructions, idCaptureGuideType, idCaptureGuideImages, idCapturePortraitGuidesOnMobile, idCaptureRotateLoadingOverlayImageWhenPortrait, idCaptureModelLoadTimeoutMs, allowIdCardBackToFrontCapture, idCaptureForceFallbackMode, enableOverrideWrongDocumentTypeDialog, allowOverrideWrongDocumentTypeAfterMs, allowUploadingDocumentsFromStorage, separateIdCardCaptureSequence, onExitCapture, onUserCancel, onIdCaptureModelError, skipSuccessScreen, debugMode]);
|
|
16631
|
+
}, [onLoadingCompleted, onLoadingProgress, onLoadingStarted, assets.idCapture, classNames.idCapture, colors.idCapture, verbiage.idCapture, precapturedDocuments, idCaptureRequirement, allowSinglePageIdCapture, idCaptureThresholds, idCaptureLoadingOverlayMode, idCaptureInstructions, idCaptureGuideType, idCaptureGuideImages, idCapturePortraitGuidesOnMobile, idCaptureRotateLoadingOverlayImageWhenPortrait, idCaptureModelLoadTimeoutMs, allowIdCardBackToFrontCapture, idCaptureForceFallbackMode, enableOverrideWrongDocumentTypeDialog, allowOverrideWrongDocumentTypeAfterMs, allowUploadingDocumentsFromStorage, separateIdCardCaptureSequence, onExitCapture, onUserCancel, onIdCaptureModelError, skipSuccessScreen, debugMode]);
|
|
16558
16632
|
var faceLivenessProps = useMemo(function () {
|
|
16559
16633
|
return {
|
|
16634
|
+
onLoadingStarted: onLoadingStarted,
|
|
16635
|
+
onLoadingProgress: onLoadingProgress,
|
|
16636
|
+
onLoadingCompleted: onLoadingCompleted,
|
|
16560
16637
|
onExitCapture: onExitCapture,
|
|
16561
16638
|
onExitAfterFailure: onExitAfterFailure,
|
|
16562
16639
|
onUserCancel: onUserCancel,
|
|
@@ -16573,7 +16650,7 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
|
|
|
16573
16650
|
verbiage: verbiage.faceLiveness,
|
|
16574
16651
|
debugMode: debugMode
|
|
16575
16652
|
};
|
|
16576
|
-
}, [assets.faceLiveness, classNames.faceLiveness, colors.faceLiveness, debugMode, faceLivenessInitialCaptureDelayMs, faceLivenessLoadingOverlayMode, faceLivenessTimeoutDurationMs, onExitAfterFailure, onExitCapture, onSelfieCaptureModelError, onUserCancel, precapturedDocuments, selfieCaptureModelLoadTimeoutMs, skipSuccessScreen, verbiage.faceLiveness]);
|
|
16653
|
+
}, [onLoadingCompleted, onLoadingProgress, onLoadingStarted, assets.faceLiveness, classNames.faceLiveness, colors.faceLiveness, debugMode, faceLivenessInitialCaptureDelayMs, faceLivenessLoadingOverlayMode, faceLivenessTimeoutDurationMs, onExitAfterFailure, onExitCapture, onSelfieCaptureModelError, onUserCancel, precapturedDocuments, selfieCaptureModelLoadTimeoutMs, skipSuccessScreen, verbiage.faceLiveness]);
|
|
16577
16654
|
var videoIdCaptureProps = useMemo(function () {
|
|
16578
16655
|
return _assign({
|
|
16579
16656
|
onExitCapture: onExitCapture,
|
|
@@ -16988,7 +17065,10 @@ var templateObject_1$2, templateObject_2$2, templateObject_3$2;
|
|
|
16988
17065
|
|
|
16989
17066
|
var ALLOWED_RETRIES$2 = 2;
|
|
16990
17067
|
var CustomerVerificationWizard = function CustomerVerificationWizard(_a) {
|
|
16991
|
-
var
|
|
17068
|
+
var onLoadingStarted = _a.onLoadingStarted,
|
|
17069
|
+
onLoadingProgress = _a.onLoadingProgress,
|
|
17070
|
+
onLoadingCompleted = _a.onLoadingCompleted,
|
|
17071
|
+
onComplete = _a.onComplete,
|
|
16992
17072
|
onCustomerMatched = _a.onCustomerMatched,
|
|
16993
17073
|
onCustomerNotMatched = _a.onCustomerNotMatched,
|
|
16994
17074
|
onExitCapture = _a.onExitCapture,
|
|
@@ -17118,7 +17198,7 @@ var CustomerVerificationWizard = function CustomerVerificationWizard(_a) {
|
|
|
17118
17198
|
onExitAfterFailure === null || onExitAfterFailure === void 0 ? void 0 : onExitAfterFailure();
|
|
17119
17199
|
},
|
|
17120
17200
|
onRetryClick: function onRetryClick() {
|
|
17121
|
-
setAttempt(function (n) {
|
|
17201
|
+
return setAttempt(function (n) {
|
|
17122
17202
|
return n + 1;
|
|
17123
17203
|
});
|
|
17124
17204
|
}
|
|
@@ -17133,9 +17213,12 @@ var CustomerVerificationWizard = function CustomerVerificationWizard(_a) {
|
|
|
17133
17213
|
classNames: classNames.loadingOverlay,
|
|
17134
17214
|
colors: colors.loadingOverlay,
|
|
17135
17215
|
verbiage: verbiage.loadingOverlay,
|
|
17216
|
+
onLoadingStarted: onLoadingStarted,
|
|
17217
|
+
onLoadingProgress: onLoadingProgress,
|
|
17218
|
+
onLoadingCompleted: onLoadingCompleted,
|
|
17136
17219
|
onUserCancel: onUserCancel,
|
|
17137
17220
|
onDismissed: function onDismissed() {
|
|
17138
|
-
setCaptureState('CAPTURING');
|
|
17221
|
+
return setCaptureState('CAPTURING');
|
|
17139
17222
|
}
|
|
17140
17223
|
}));
|
|
17141
17224
|
};
|
|
@@ -17177,6 +17260,9 @@ var CustomerVerification = function CustomerVerification(_a) {
|
|
|
17177
17260
|
classNames = _a.classNames,
|
|
17178
17261
|
colors = _a.colors,
|
|
17179
17262
|
verbiage = _a.verbiage,
|
|
17263
|
+
onLoadingStarted = _a.onLoadingStarted,
|
|
17264
|
+
onLoadingProgress = _a.onLoadingProgress,
|
|
17265
|
+
onLoadingCompleted = _a.onLoadingCompleted,
|
|
17180
17266
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
17181
17267
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
17182
17268
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -17245,6 +17331,9 @@ var CustomerVerification = function CustomerVerification(_a) {
|
|
|
17245
17331
|
}, /*#__PURE__*/React__default.createElement(SdkPage, {
|
|
17246
17332
|
className: classNames === null || classNames === void 0 ? void 0 : classNames.container
|
|
17247
17333
|
}, /*#__PURE__*/React__default.createElement(CustomerVerificationWizard, {
|
|
17334
|
+
onLoadingStarted: onLoadingStarted,
|
|
17335
|
+
onLoadingProgress: onLoadingProgress,
|
|
17336
|
+
onLoadingCompleted: onLoadingCompleted,
|
|
17248
17337
|
onComplete: onComplete,
|
|
17249
17338
|
onCustomerMatched: onCustomerMatched,
|
|
17250
17339
|
onCustomerNotMatched: onCustomerNotMatched,
|
|
@@ -17558,7 +17647,10 @@ var templateObject_1, templateObject_2, templateObject_3;
|
|
|
17558
17647
|
|
|
17559
17648
|
var ALLOWED_RETRIES = 2;
|
|
17560
17649
|
var CustomerIdentificationWizard = function CustomerIdentificationWizard(_a) {
|
|
17561
|
-
var
|
|
17650
|
+
var onLoadingStarted = _a.onLoadingStarted,
|
|
17651
|
+
onLoadingProgress = _a.onLoadingProgress,
|
|
17652
|
+
onLoadingCompleted = _a.onLoadingCompleted,
|
|
17653
|
+
onComplete = _a.onComplete,
|
|
17562
17654
|
onCustomerMatched = _a.onCustomerMatched,
|
|
17563
17655
|
onCustomerNotMatched = _a.onCustomerNotMatched,
|
|
17564
17656
|
onExitCapture = _a.onExitCapture,
|
|
@@ -17703,6 +17795,9 @@ var CustomerIdentificationWizard = function CustomerIdentificationWizard(_a) {
|
|
|
17703
17795
|
classNames: classNames.loadingOverlay,
|
|
17704
17796
|
colors: colors.loadingOverlay,
|
|
17705
17797
|
verbiage: verbiage.loadingOverlay,
|
|
17798
|
+
onLoadingStarted: onLoadingStarted,
|
|
17799
|
+
onLoadingProgress: onLoadingProgress,
|
|
17800
|
+
onLoadingCompleted: onLoadingCompleted,
|
|
17706
17801
|
onUserCancel: onUserCancel,
|
|
17707
17802
|
onDismissed: function onDismissed() {
|
|
17708
17803
|
setCaptureState('CAPTURING');
|
|
@@ -17740,6 +17835,9 @@ var CustomerIdentification = function CustomerIdentification(_a) {
|
|
|
17740
17835
|
modelLoadTimeoutMs = _e === void 0 ? defaultSelfieCaptureModelLoadTimeoutMs : _e,
|
|
17741
17836
|
_f = _a.skipSuccessScreen,
|
|
17742
17837
|
skipSuccessScreen = _f === void 0 ? false : _f,
|
|
17838
|
+
onLoadingStarted = _a.onLoadingStarted,
|
|
17839
|
+
onLoadingProgress = _a.onLoadingProgress,
|
|
17840
|
+
onLoadingCompleted = _a.onLoadingCompleted,
|
|
17743
17841
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
17744
17842
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
17745
17843
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -17813,6 +17911,9 @@ var CustomerIdentification = function CustomerIdentification(_a) {
|
|
|
17813
17911
|
}, /*#__PURE__*/React__default.createElement(SdkPage, {
|
|
17814
17912
|
className: classNames === null || classNames === void 0 ? void 0 : classNames.container
|
|
17815
17913
|
}, /*#__PURE__*/React__default.createElement(CustomerIdentificationWizard, {
|
|
17914
|
+
onLoadingStarted: onLoadingStarted,
|
|
17915
|
+
onLoadingProgress: onLoadingProgress,
|
|
17916
|
+
onLoadingCompleted: onLoadingCompleted,
|
|
17816
17917
|
onComplete: onComplete,
|
|
17817
17918
|
onCustomerMatched: onCustomerMatched,
|
|
17818
17919
|
onCustomerNotMatched: onCustomerNotMatched,
|
|
@@ -17844,6 +17945,9 @@ var SignatureKYC = function SignatureKYC(_a) {
|
|
|
17844
17945
|
documentServiceUrl = _a.documentServiceUrl,
|
|
17845
17946
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
17846
17947
|
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
17948
|
+
onLoadingStarted = _a.onLoadingStarted,
|
|
17949
|
+
onLoadingProgress = _a.onLoadingProgress,
|
|
17950
|
+
onLoadingCompleted = _a.onLoadingCompleted,
|
|
17847
17951
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
17848
17952
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
17849
17953
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -17923,6 +18027,9 @@ var SignatureKYC = function SignatureKYC(_a) {
|
|
|
17923
18027
|
onCameraTamperingDetected: onCameraTamperingDetected,
|
|
17924
18028
|
videoSignatureCaptureProps: useMemo(function () {
|
|
17925
18029
|
return {
|
|
18030
|
+
onLoadingStarted: onLoadingStarted,
|
|
18031
|
+
onLoadingProgress: onLoadingProgress,
|
|
18032
|
+
onLoadingCompleted: onLoadingCompleted,
|
|
17926
18033
|
customOverlayContent: customOverlayContent,
|
|
17927
18034
|
onLoadingOverlayDismissed: onLoadingOverlayDismissed,
|
|
17928
18035
|
loadingOverlayMode: loadingOverlayMode,
|
|
@@ -17941,7 +18048,7 @@ var SignatureKYC = function SignatureKYC(_a) {
|
|
|
17941
18048
|
onModelError: onModelError,
|
|
17942
18049
|
onUserCancel: onUserCancel
|
|
17943
18050
|
};
|
|
17944
|
-
}, [customOverlayContent, onLoadingOverlayDismissed, loadingOverlayMode, skipSuccessScreen, captureAudio, minSignaturePadPoints, headTrackingBoundaryPercentage, modelLoadTimeoutMs, faceLivenessProps, allowSignatureAfterLivenessCheckFailure, restartVideoOnSignaturePadCleared, classNames, colors, debugMode, verbiage, onModelError, onUserCancel])
|
|
18051
|
+
}, [onLoadingStarted, onLoadingProgress, onLoadingCompleted, customOverlayContent, onLoadingOverlayDismissed, loadingOverlayMode, skipSuccessScreen, captureAudio, minSignaturePadPoints, headTrackingBoundaryPercentage, modelLoadTimeoutMs, faceLivenessProps, allowSignatureAfterLivenessCheckFailure, restartVideoOnSignaturePadCleared, classNames, colors, debugMode, verbiage, onModelError, onUserCancel])
|
|
17945
18052
|
})))));
|
|
17946
18053
|
};
|
|
17947
18054
|
|
|
@@ -17979,6 +18086,9 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
17979
18086
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
17980
18087
|
customerDataMatchConfig = _a.customerDataMatchConfig,
|
|
17981
18088
|
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
18089
|
+
onLoadingStarted = _a.onLoadingStarted,
|
|
18090
|
+
onLoadingProgress = _a.onLoadingProgress,
|
|
18091
|
+
onLoadingCompleted = _a.onLoadingCompleted,
|
|
17982
18092
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
17983
18093
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
17984
18094
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -18063,6 +18173,9 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
18063
18173
|
useDebugLogging(debugMode);
|
|
18064
18174
|
var videoIdCaptureProps = useMemo(function () {
|
|
18065
18175
|
return {
|
|
18176
|
+
onLoadingStarted: onLoadingStarted,
|
|
18177
|
+
onLoadingProgress: onLoadingProgress,
|
|
18178
|
+
onLoadingCompleted: onLoadingCompleted,
|
|
18066
18179
|
idCaptureProps: idCaptureProps,
|
|
18067
18180
|
faceLivenessProps: faceLivenessProps,
|
|
18068
18181
|
idCaptureModelsEnabled: idCaptureModelsEnabled,
|
|
@@ -18095,7 +18208,7 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
18095
18208
|
verbiage: verbiage,
|
|
18096
18209
|
debugMode: debugMode
|
|
18097
18210
|
};
|
|
18098
|
-
}, [idCaptureProps, faceLivenessProps, idCaptureModelsEnabled, videoIdCaptureThresholds, readTextPrompt, readTextTimeoutDurationMs, readTextMinReadingMs, onExitCapture, onExitAfterFailure, onUserCancel, skipSuccessScreen, skipIdCapture, skipShowIdCardBack, idCaptureLoadingOverlayMode, customOverlayContent, onLoadingOverlayDismissed, idDocumentType, idCaptureGuideType, idCaptureGuideImages, idCapturePortraitGuidesOnMobile, idCaptureRotateLoadingOverlayImageWhenPortrait, faceLivenessLoadingOverlayMode, disableFaceDetectionWhileAudioCapture, disableFaceDetectionWhileAudioCaptureMsDelay, silentFallback, mergeAVStreams, assets, classNames, colors, verbiage, debugMode]);
|
|
18211
|
+
}, [onLoadingStarted, onLoadingProgress, onLoadingCompleted, idCaptureProps, faceLivenessProps, idCaptureModelsEnabled, videoIdCaptureThresholds, readTextPrompt, readTextTimeoutDurationMs, readTextMinReadingMs, onExitCapture, onExitAfterFailure, onUserCancel, skipSuccessScreen, skipIdCapture, skipShowIdCardBack, idCaptureLoadingOverlayMode, customOverlayContent, onLoadingOverlayDismissed, idDocumentType, idCaptureGuideType, idCaptureGuideImages, idCapturePortraitGuidesOnMobile, idCaptureRotateLoadingOverlayImageWhenPortrait, faceLivenessLoadingOverlayMode, disableFaceDetectionWhileAudioCapture, disableFaceDetectionWhileAudioCaptureMsDelay, silentFallback, mergeAVStreams, assets, classNames, colors, verbiage, debugMode]);
|
|
18099
18212
|
var additionalDocumentCaptureProps = useMemo(function () {
|
|
18100
18213
|
return {
|
|
18101
18214
|
documents: captureAdditionalDocuments,
|
|
@@ -18218,6 +18331,9 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
|
|
|
18218
18331
|
modelLoadTimeoutMs = _f === void 0 ? defaultSelfieCaptureModelLoadTimeoutMs : _f,
|
|
18219
18332
|
_g = _a.skipSuccessScreen,
|
|
18220
18333
|
skipSuccessScreen = _g === void 0 ? false : _g,
|
|
18334
|
+
onLoadingStarted = _a.onLoadingStarted,
|
|
18335
|
+
onLoadingProgress = _a.onLoadingProgress,
|
|
18336
|
+
onLoadingCompleted = _a.onLoadingCompleted,
|
|
18221
18337
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
18222
18338
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
18223
18339
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -18260,6 +18376,9 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
|
|
|
18260
18376
|
useDebugLogging(debugMode);
|
|
18261
18377
|
var faceLivenessProps = useMemo(function () {
|
|
18262
18378
|
return {
|
|
18379
|
+
onLoadingStarted: onLoadingStarted,
|
|
18380
|
+
onLoadingProgress: onLoadingProgress,
|
|
18381
|
+
onLoadingCompleted: onLoadingCompleted,
|
|
18263
18382
|
onExitCapture: onExitCapture,
|
|
18264
18383
|
onUserCancel: onUserCancel,
|
|
18265
18384
|
onExitAfterFailure: onExitAfterFailure,
|
|
@@ -18275,7 +18394,7 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
|
|
|
18275
18394
|
verbiage: verbiage.faceLiveness,
|
|
18276
18395
|
debugMode: debugMode
|
|
18277
18396
|
};
|
|
18278
|
-
}, [assets.faceLiveness, classNames.faceLiveness, colors.faceLiveness, debugMode, initialCaptureDelayMs, loadingOverlayMode, modelLoadTimeoutMs, onExitAfterFailure, onExitCapture, onModelError, onUserCancel, skipSuccessScreen, timeoutDurationMs, verbiage.faceLiveness]);
|
|
18397
|
+
}, [assets.faceLiveness, classNames.faceLiveness, colors.faceLiveness, debugMode, initialCaptureDelayMs, loadingOverlayMode, modelLoadTimeoutMs, onExitAfterFailure, onExitCapture, onLoadingCompleted, onLoadingProgress, onLoadingStarted, onModelError, onUserCancel, skipSuccessScreen, timeoutDurationMs, verbiage.faceLiveness]);
|
|
18279
18398
|
var additionalDocumentCaptureProps = useMemo(function () {
|
|
18280
18399
|
return {
|
|
18281
18400
|
documents: captureAdditionalDocuments,
|