idmission-web-sdk 2.3.75 → 2.3.76
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/video_signature_capture/VideoSignaturePad.d.ts +1 -0
- package/dist/components/video_signature_capture/VideoSignaturePad.d.ts.map +1 -1
- package/dist/lib/locales/de.d.ts +1 -0
- package/dist/lib/locales/de.d.ts.map +1 -1
- package/dist/lib/locales/es.d.ts +1 -0
- package/dist/lib/locales/es.d.ts.map +1 -1
- package/dist/lib/locales/fr.d.ts +1 -0
- package/dist/lib/locales/fr.d.ts.map +1 -1
- package/dist/lib/locales/index.d.ts +8 -0
- package/dist/lib/locales/index.d.ts.map +1 -1
- package/dist/lib/locales/it.d.ts +1 -0
- package/dist/lib/locales/it.d.ts.map +1 -1
- package/dist/lib/locales/ja.d.ts +1 -0
- package/dist/lib/locales/ja.d.ts.map +1 -1
- package/dist/lib/locales/pt.d.ts +1 -0
- package/dist/lib/locales/pt.d.ts.map +1 -1
- package/dist/lib/locales/ru.d.ts +1 -0
- package/dist/lib/locales/ru.d.ts.map +1 -1
- package/dist/lib/locales/zh.d.ts +1 -0
- package/dist/lib/locales/zh.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +44 -34
- 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 +44 -34
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +44 -34
- 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
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
212
212
|
};
|
|
213
213
|
|
|
214
|
-
var webSdkVersion = '2.3.
|
|
214
|
+
var webSdkVersion = '2.3.76';
|
|
215
215
|
|
|
216
216
|
function getPlatform() {
|
|
217
217
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -500,7 +500,7 @@
|
|
|
500
500
|
});
|
|
501
501
|
var OverlayImageContainer = styled.div(templateObject_3$t || (templateObject_3$t = __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"])));
|
|
502
502
|
var OverlayImageRow = styled.div(templateObject_4$n || (templateObject_4$n = __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"])));
|
|
503
|
-
var GrayOverlayContainer = styled(OverlayContainer)(templateObject_5$
|
|
503
|
+
var GrayOverlayContainer = styled(OverlayContainer)(templateObject_5$f || (templateObject_5$f = __makeTemplateObject(["\n background: #f7f6fb;\n"], ["\n background: #f7f6fb;\n"])));
|
|
504
504
|
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"])));
|
|
505
505
|
var WideButton = styled(LoaderButton)(templateObject_7$5 || (templateObject_7$5 = __makeTemplateObject(["\n width: 100%;\n border-radius: 30px;\n"], ["\n width: 100%;\n border-radius: 30px;\n"])));
|
|
506
506
|
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) {
|
|
@@ -540,7 +540,7 @@
|
|
|
540
540
|
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"])));
|
|
541
541
|
var LoadingOverlayCustomLoadingGraphic = styled.img(templateObject_21 || (templateObject_21 = __makeTemplateObject(["\n transform-style: preserve-3d;\n"], ["\n transform-style: preserve-3d;\n"])));
|
|
542
542
|
var LoadingOverlayContinueButtonContainer = styled.div(templateObject_22 || (templateObject_22 = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
|
|
543
|
-
var templateObject_1$N, templateObject_2$G, templateObject_3$t, templateObject_4$n, templateObject_5$
|
|
543
|
+
var templateObject_1$N, templateObject_2$G, templateObject_3$t, templateObject_4$n, templateObject_5$f, templateObject_6$9, templateObject_7$5, templateObject_8$4, templateObject_9$2, 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;
|
|
544
544
|
|
|
545
545
|
function _extends() {
|
|
546
546
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
@@ -12814,7 +12814,8 @@
|
|
|
12814
12814
|
'Upload the back of the ID if it is not included in the front image.': 'Adjuntar el reverso de la ID si no se incluye en la imagen del frente',
|
|
12815
12815
|
'Camera tampering detected': 'Se ha detectado un intento de manipulación de la cámara',
|
|
12816
12816
|
"We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'Lo sentimos, pero parece que la cámara está siendo manipulada. Por favor, verifique su dispositivo y vuelva a intentarlo recargando la página.',
|
|
12817
|
-
'Position your face in the circle and click to capture.': 'Enfoca tu cara en el círculo y da clic en capturar.'
|
|
12817
|
+
'Position your face in the circle and click to capture.': 'Enfoca tu cara en el círculo y da clic en capturar.',
|
|
12818
|
+
'Sign here': 'Firma aquí'
|
|
12818
12819
|
};
|
|
12819
12820
|
|
|
12820
12821
|
var de = {
|
|
@@ -12944,7 +12945,8 @@
|
|
|
12944
12945
|
'Upload the back of the ID if it is not included in the front image.': 'Laden Sie die Rückseite des Ausweises hoch, wenn diese nicht im Bild der Vorderseite enthalten ist.',
|
|
12945
12946
|
'Camera tampering detected': 'Kamera manipuliert',
|
|
12946
12947
|
"We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'Leider scheint die Kamera manipuliert zu werden. Bitte prüfen Sie Ihr Gerät und laden Sie die Seite neu.',
|
|
12947
|
-
'Position your face in the circle and click to capture.': 'Stellen Sie Ihr Gesicht im Kreis ein und klicken Sie auf Erfassen.'
|
|
12948
|
+
'Position your face in the circle and click to capture.': 'Stellen Sie Ihr Gesicht im Kreis ein und klicken Sie auf Erfassen.',
|
|
12949
|
+
'Sign here': 'Hier unterschreiben'
|
|
12948
12950
|
};
|
|
12949
12951
|
|
|
12950
12952
|
var fr = {
|
|
@@ -13074,7 +13076,8 @@
|
|
|
13074
13076
|
'Upload the back of the ID if it is not included in the front image.': "Téléchargez le verso de la pièce d'identité si ce n'est pas inclus dans l'image du recto.",
|
|
13075
13077
|
'Camera tampering detected': 'Manipulation de la caméra détectée',
|
|
13076
13078
|
"We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'Nous sommes désolés, mais il semble que la caméra soit manipulée. Veuillez vérifier votre appareil et réessayer en rechargeant la page.',
|
|
13077
|
-
'Position your face in the circle and click to capture.': 'Positionnez votre visage dans le cercle et cliquez pour capturer.'
|
|
13079
|
+
'Position your face in the circle and click to capture.': 'Positionnez votre visage dans le cercle et cliquez pour capturer.',
|
|
13080
|
+
'Sign here': 'Signer ici'
|
|
13078
13081
|
};
|
|
13079
13082
|
|
|
13080
13083
|
var it = {
|
|
@@ -13204,7 +13207,8 @@
|
|
|
13204
13207
|
'Upload the back of the ID if it is not included in the front image.': "Carica il retro dell'ID se non è incluso nell'immagine del fronte.",
|
|
13205
13208
|
'Camera tampering detected': 'Manipolazione della fotocamera rilevata',
|
|
13206
13209
|
"We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'Siamo spiacenti, ma sembra che la fotocamera stia venendo manipolata. Controlla il tuo dispositivo e riprova ricaricando la pagina.',
|
|
13207
|
-
'Position your face in the circle and click to capture.': 'Posiziona il tuo volto nel cerchio e clicca per acquisire.'
|
|
13210
|
+
'Position your face in the circle and click to capture.': 'Posiziona il tuo volto nel cerchio e clicca per acquisire.',
|
|
13211
|
+
'Sign here': 'Firma qui'
|
|
13208
13212
|
};
|
|
13209
13213
|
|
|
13210
13214
|
var ja = {
|
|
@@ -13334,7 +13338,8 @@
|
|
|
13334
13338
|
'Upload the back of the ID if it is not included in the front image.': '表面画像に裏面が含まれていない場合は、裏面をアップロードしてください。',
|
|
13335
13339
|
'Camera tampering detected': 'カメラの操作が検出されました',
|
|
13336
13340
|
"We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'カメラの操作が検出されました。デバイスを確認し、ページを再読み込みしてください。',
|
|
13337
|
-
'Position your face in the circle and click to capture.': '顔を円の中に合わせてクリックして撮影してください。'
|
|
13341
|
+
'Position your face in the circle and click to capture.': '顔を円の中に合わせてクリックして撮影してください。',
|
|
13342
|
+
'Sign here': 'ここに署名'
|
|
13338
13343
|
};
|
|
13339
13344
|
|
|
13340
13345
|
var pt = {
|
|
@@ -13464,7 +13469,8 @@
|
|
|
13464
13469
|
'Upload the back of the ID if it is not included in the front image.': 'Carregue o verso do ID se não estiver incluído na imagem da frente.',
|
|
13465
13470
|
'Camera tampering detected': 'Manipulação da câmera detectada',
|
|
13466
13471
|
"We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'Lamentamos, mas parece que a câmera está sendo manipulada. Verifique seu dispositivo e tente novamente recarregando a página.',
|
|
13467
|
-
'Position your face in the circle and click to capture.': 'Posicione seu rosto no círculo e clique para capturar.'
|
|
13472
|
+
'Position your face in the circle and click to capture.': 'Posicione seu rosto no círculo e clique para capturar.',
|
|
13473
|
+
'Sign here': 'Assinar aqui'
|
|
13468
13474
|
};
|
|
13469
13475
|
|
|
13470
13476
|
var ru = {
|
|
@@ -13594,7 +13600,8 @@
|
|
|
13594
13600
|
'Upload the back of the ID if it is not included in the front image.': 'Загрузите заднюю сторону удостоверения, если она не включена в изображение передней стороны.',
|
|
13595
13601
|
'Camera tampering detected': 'Обнаружена манипуляция с камерой',
|
|
13596
13602
|
"We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'К сожалению, кажется, что камера подвергается манипуляциям. Пожалуйста, проверьте свое устройство и попробуйте снова, перезагрузив страницу.',
|
|
13597
|
-
'Position your face in the circle and click to capture.': 'Поместите свое лицо в круг и нажмите для съемки.'
|
|
13603
|
+
'Position your face in the circle and click to capture.': 'Поместите свое лицо в круг и нажмите для съемки.',
|
|
13604
|
+
'Sign here': 'Подписать здесь'
|
|
13598
13605
|
};
|
|
13599
13606
|
|
|
13600
13607
|
var zh = {
|
|
@@ -13724,7 +13731,8 @@
|
|
|
13724
13731
|
'Upload the back of the ID if it is not included in the front image.': '如果正面照片没有包含身份证背面,请上传背面照片。',
|
|
13725
13732
|
'Camera tampering detected': '檢測到相機被篡改',
|
|
13726
13733
|
"We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": '很抱歉,看起來相機被篡改了。請檢查您的設備並重新載入頁面。',
|
|
13727
|
-
'Position your face in the circle and click to capture.': '將您的臉部置於圓圈中,點擊拍攝。'
|
|
13734
|
+
'Position your face in the circle and click to capture.': '將您的臉部置於圓圈中,點擊拍攝。',
|
|
13735
|
+
'Sign here': '在此簽名'
|
|
13728
13736
|
};
|
|
13729
13737
|
|
|
13730
13738
|
function renderVerbiage(verbiage) {
|
|
@@ -15880,8 +15888,8 @@
|
|
|
15880
15888
|
var InnerContainer = styled.div(templateObject_2$D || (templateObject_2$D = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n padding: 16px 24px;\n margin: auto 0;\n width: 100%;\n"], ["\n display: flex;\n flex-direction: row;\n padding: 16px 24px;\n margin: auto 0;\n width: 100%;\n"])));
|
|
15881
15889
|
var Message = styled.span(templateObject_3$r || (templateObject_3$r = __makeTemplateObject(["\n display: block;\n margin: auto 12px auto 0;\n"], ["\n display: block;\n margin: auto 12px auto 0;\n"])));
|
|
15882
15890
|
var ButtonContainer = styled.div(templateObject_4$l || (templateObject_4$l = __makeTemplateObject(["\n display: flex;\n margin-left: auto;\n"], ["\n display: flex;\n margin-left: auto;\n"])));
|
|
15883
|
-
var Button$1 = styled(LoaderButton)(templateObject_5$
|
|
15884
|
-
var templateObject_1$J, templateObject_2$D, templateObject_3$r, templateObject_4$l, templateObject_5$
|
|
15891
|
+
var Button$1 = styled(LoaderButton)(templateObject_5$e || (templateObject_5$e = __makeTemplateObject(["\n white-space: nowrap;\n margin: auto;\n"], ["\n white-space: nowrap;\n margin: auto;\n"])));
|
|
15892
|
+
var templateObject_1$J, templateObject_2$D, templateObject_3$r, templateObject_4$l, templateObject_5$e;
|
|
15885
15893
|
|
|
15886
15894
|
// This is a simplified version of https://github.com/ZeeCoder/use-resize-observer.
|
|
15887
15895
|
// We have removed all options and made it compliant with React Compiler/React 19.
|
|
@@ -17027,7 +17035,7 @@
|
|
|
17027
17035
|
var ContinuityCameraCheckboxContainer$1 = styled.div(templateObject_2$A || (templateObject_2$A = __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"])));
|
|
17028
17036
|
var ContinuityCameraCheckboxInner = styled(GuidanceMessage)(templateObject_3$o || (templateObject_3$o = __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"])));
|
|
17029
17037
|
var ContinuityCameraCheckbox$1 = styled.input(templateObject_4$i || (templateObject_4$i = __makeTemplateObject(["\n margin: 0;\n"], ["\n margin: 0;\n"])));
|
|
17030
|
-
var ButtonsRow$1 = styled(LoadingOverlayButtonsRow)(templateObject_5$
|
|
17038
|
+
var ButtonsRow$1 = styled(LoadingOverlayButtonsRow)(templateObject_5$d || (templateObject_5$d = __makeTemplateObject(["\n color: ", ";\n ", "\n"], ["\n color: ", ";\n ", "\n"])), function (props) {
|
|
17031
17039
|
var _a, _b, _c, _d;
|
|
17032
17040
|
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';
|
|
17033
17041
|
}, function (props) {
|
|
@@ -17064,7 +17072,7 @@
|
|
|
17064
17072
|
var _a, _b, _c, _d;
|
|
17065
17073
|
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';
|
|
17066
17074
|
});
|
|
17067
|
-
var templateObject_1$F, templateObject_2$A, templateObject_3$o, templateObject_4$i, templateObject_5$
|
|
17075
|
+
var templateObject_1$F, templateObject_2$A, templateObject_3$o, templateObject_4$i, templateObject_5$d, templateObject_6$8, templateObject_7$4, templateObject_8$3;
|
|
17068
17076
|
|
|
17069
17077
|
var ContinuityCameraCheckboxContainer = styled.div(templateObject_1$E || (templateObject_1$E = __makeTemplateObject(["\n margin-top: 15px;\n margin-bottom: 15px;\n"], ["\n margin-top: 15px;\n margin-bottom: 15px;\n"])));
|
|
17070
17078
|
var ContinuityCameraCheckbox = styled.input(templateObject_2$z || (templateObject_2$z = __makeTemplateObject(["\n margin-right: 8px;\n"], ["\n margin-right: 8px;\n"])));
|
|
@@ -17314,9 +17322,9 @@
|
|
|
17314
17322
|
var ImagesContainer = styled(OverlayImageContainer)(templateObject_2$x || (templateObject_2$x = __makeTemplateObject(["\n flex-grow: 1;\n overflow-y: auto;\n padding-bottom: 0;\n max-width: 100%;\n"], ["\n flex-grow: 1;\n overflow-y: auto;\n padding-bottom: 0;\n max-width: 100%;\n"])));
|
|
17315
17323
|
var ImageRow = styled(OverlayImageRow)(templateObject_3$n || (templateObject_3$n = __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"])));
|
|
17316
17324
|
var ImageCol$1 = styled.div(templateObject_4$h || (templateObject_4$h = __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"])));
|
|
17317
|
-
var StyledImage = styled(CapturedDocumentImg)(templateObject_5$
|
|
17325
|
+
var StyledImage = styled(CapturedDocumentImg)(templateObject_5$c || (templateObject_5$c = __makeTemplateObject(["\n width: 100%;\n border-radius: 12px;\n"], ["\n width: 100%;\n border-radius: 12px;\n"])));
|
|
17318
17326
|
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"])));
|
|
17319
|
-
var templateObject_1$C, templateObject_2$x, templateObject_3$n, templateObject_4$h, templateObject_5$
|
|
17327
|
+
var templateObject_1$C, templateObject_2$x, templateObject_3$n, templateObject_4$h, templateObject_5$c, templateObject_6$7;
|
|
17320
17328
|
|
|
17321
17329
|
function useShowSuccessScreen(skipSuccessScreen, successScreenReady, onDoneCallback) {
|
|
17322
17330
|
var _this = this;
|
|
@@ -17525,7 +17533,7 @@
|
|
|
17525
17533
|
}
|
|
17526
17534
|
var IdCardBorderContainer = styled.div(templateObject_3$m || (templateObject_3$m = __makeTemplateObject(["\n align-items: center;\n justify-content: center;\n display: flex;\n position: relative;\n margin: auto;\n\n & .idmSdkWaves {\n position: absolute;\n animation: ", " 2s ease-out infinite;\n transform-style: preserve-3d;\n\n &:nth-child(3) {\n animation-delay: 0.66s;\n }\n\n &:nth-child(4) {\n animation-delay: 1.33s;\n }\n }\n"], ["\n align-items: center;\n justify-content: center;\n display: flex;\n position: relative;\n margin: auto;\n\n & .idmSdkWaves {\n position: absolute;\n animation: ", " 2s ease-out infinite;\n transform-style: preserve-3d;\n\n &:nth-child(3) {\n animation-delay: 0.66s;\n }\n\n &:nth-child(4) {\n animation-delay: 1.33s;\n }\n }\n"])), wavesAnimation);
|
|
17527
17535
|
var IdCardBorderInner = styled.div(templateObject_4$g || (templateObject_4$g = __makeTemplateObject(["\n max-height: 100%;\n max-width: 100%;\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n"], ["\n max-height: 100%;\n max-width: 100%;\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n"])));
|
|
17528
|
-
var SvgOverlay = styled.svg(templateObject_5$
|
|
17536
|
+
var SvgOverlay = styled.svg(templateObject_5$b || (templateObject_5$b = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n"])));
|
|
17529
17537
|
var IdCardBorderRect = styled.rect(templateObject_6$6 || (templateObject_6$6 = __makeTemplateObject(["\n &.idmSdkProgressBorder {\n animation: ", " ", "\n ", ";\n }\n\n &.idmSdkProgressPaused {\n animation-play-state: paused;\n }\n"], ["\n &.idmSdkProgressBorder {\n animation: ", " ", "\n ", ";\n }\n\n &.idmSdkProgressPaused {\n animation-play-state: paused;\n }\n"])), progressBorderAnimation, function (props) {
|
|
17530
17538
|
var _a;
|
|
17531
17539
|
return (_a = props.$speed) !== null && _a !== void 0 ? _a : '3s';
|
|
@@ -17533,7 +17541,7 @@
|
|
|
17533
17541
|
var _a;
|
|
17534
17542
|
return (_a = props.$fillMode) !== null && _a !== void 0 ? _a : 'forwards';
|
|
17535
17543
|
});
|
|
17536
|
-
var templateObject_1$B, templateObject_2$w, templateObject_3$m, templateObject_4$g, templateObject_5$
|
|
17544
|
+
var templateObject_1$B, templateObject_2$w, templateObject_3$m, templateObject_4$g, templateObject_5$b, templateObject_6$6;
|
|
17537
17545
|
|
|
17538
17546
|
var defaultIdCaptureGuideImages = {
|
|
17539
17547
|
portrait: {
|
|
@@ -18032,7 +18040,7 @@
|
|
|
18032
18040
|
}, function (props) {
|
|
18033
18041
|
return props.$minHeight ? "min-height: ".concat(props.$minHeight, "px;") : "";
|
|
18034
18042
|
});
|
|
18035
|
-
var Spacer = styled(GuideRegion)(templateObject_5$
|
|
18043
|
+
var Spacer = styled(GuideRegion)(templateObject_5$a || (templateObject_5$a = __makeTemplateObject(["\n display: block;\n width: auto;\n"], ["\n display: block;\n width: auto;\n"])));
|
|
18036
18044
|
var GuideCenterRegion = styled.div(templateObject_6$5 || (templateObject_6$5 = __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) {
|
|
18037
18045
|
return props.$minWidth ? "min-width: ".concat(props.$minWidth, "px;") : "";
|
|
18038
18046
|
}, function (props) {
|
|
@@ -18048,7 +18056,7 @@
|
|
|
18048
18056
|
var GuideCenterInner = styled.div(templateObject_9$1 || (templateObject_9$1 = __makeTemplateObject(["\n position: relative;\n top: 0;\n margin: auto;\n ", "\n max-height: 100%;\n max-width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n position: relative;\n top: 0;\n margin: auto;\n ", "\n max-height: 100%;\n max-width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (props) {
|
|
18049
18057
|
return props.$isLandscape ? 'height: 100%;' : 'width: 90%;';
|
|
18050
18058
|
});
|
|
18051
|
-
var templateObject_1$y, templateObject_2$u, templateObject_3$l, templateObject_4$f, templateObject_5$
|
|
18059
|
+
var templateObject_1$y, templateObject_2$u, templateObject_3$l, templateObject_4$f, templateObject_5$a, templateObject_6$5, templateObject_7$3, templateObject_8$2, templateObject_9$1;
|
|
18052
18060
|
|
|
18053
18061
|
var IdCaptureFitGuide = function IdCaptureFitGuide(_a) {
|
|
18054
18062
|
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
@@ -18912,13 +18920,13 @@
|
|
|
18912
18920
|
var FooterRow = styled.div(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n background: ", ";\n display: flex;\n flex-direction: column;\n justify-content: center;\n padding: 0 20px 20px;\n height: auto;\n color: white;\n"], ["\n background: ", ";\n display: flex;\n flex-direction: column;\n justify-content: center;\n padding: 0 20px 20px;\n height: auto;\n color: white;\n"])), function (props) {
|
|
18913
18921
|
return props.$maskColor;
|
|
18914
18922
|
});
|
|
18915
|
-
var Instructions = styled.div(templateObject_5$
|
|
18923
|
+
var Instructions = styled.div(templateObject_5$9 || (templateObject_5$9 = __makeTemplateObject(["\n max-height: ", ";\n overflow-y: auto;\n"], ["\n max-height: ", ";\n overflow-y: auto;\n"])), function (props) {
|
|
18916
18924
|
var _a, _b, _c;
|
|
18917
18925
|
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';
|
|
18918
18926
|
});
|
|
18919
18927
|
var StyledButtonsRow$8 = styled(ButtonsRow$2)(templateObject_6$4 || (templateObject_6$4 = __makeTemplateObject(["\n padding-top: 20px;\n"], ["\n padding-top: 20px;\n"])));
|
|
18920
18928
|
var PreviewImage = styled.img(templateObject_7$2 || (templateObject_7$2 = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n object-fit: cover;\n"], ["\n width: 100%;\n height: 100%;\n object-fit: cover;\n"])));
|
|
18921
|
-
var templateObject_1$r, templateObject_2$p, templateObject_3$j, templateObject_4$d, templateObject_5$
|
|
18929
|
+
var templateObject_1$r, templateObject_2$p, templateObject_3$j, templateObject_4$d, templateObject_5$9, templateObject_6$4, templateObject_7$2;
|
|
18922
18930
|
|
|
18923
18931
|
var DocumentCaptureWizard = function DocumentCaptureWizard(_a) {
|
|
18924
18932
|
var onSuccess = _a.onSuccess,
|
|
@@ -19193,9 +19201,9 @@
|
|
|
19193
19201
|
var Heading$8 = styled.h3(templateObject_2$o || (templateObject_2$o = __makeTemplateObject(["\n margin-bottom: 8px;\n"], ["\n margin-bottom: 8px;\n"])));
|
|
19194
19202
|
var Description$3 = styled.p(templateObject_3$i || (templateObject_3$i = __makeTemplateObject(["\n margin-bottom: 8px;\n"], ["\n margin-bottom: 8px;\n"])));
|
|
19195
19203
|
var Instruction = styled.p(templateObject_4$c || (templateObject_4$c = __makeTemplateObject(["\n font-weight: bold;\n"], ["\n font-weight: bold;\n"])));
|
|
19196
|
-
var ImageCol = styled.div(templateObject_5$
|
|
19204
|
+
var ImageCol = styled.div(templateObject_5$8 || (templateObject_5$8 = __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"])));
|
|
19197
19205
|
var StyledButtonsRow$7 = styled(ButtonsRow$2)(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject(["\n margin-top: 32px;\n"], ["\n margin-top: 32px;\n"])));
|
|
19198
|
-
var templateObject_1$q, templateObject_2$o, templateObject_3$i, templateObject_4$c, templateObject_5$
|
|
19206
|
+
var templateObject_1$q, templateObject_2$o, templateObject_3$i, templateObject_4$c, templateObject_5$8, templateObject_6$3;
|
|
19199
19207
|
|
|
19200
19208
|
function ScalingCameraFeed() {
|
|
19201
19209
|
var _a = useIdCaptureStore(),
|
|
@@ -19554,7 +19562,7 @@
|
|
|
19554
19562
|
var ScreenPanel = styled.div(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n flex-grow: 1;\n background: #f7f6fb;\n box-sizing: border-box;\n padding: 40px;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n flex-grow: 1;\n background: #f7f6fb;\n box-sizing: border-box;\n padding: 40px;\n"])));
|
|
19555
19563
|
var SelectIdCardScreenPanel = styled(ScreenPanel)(templateObject_3$h || (templateObject_3$h = __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"])));
|
|
19556
19564
|
var ScreenPanelHeading = styled.h3(templateObject_4$b || (templateObject_4$b = __makeTemplateObject(["\n margin: 0 0 30px;\n"], ["\n margin: 0 0 30px;\n"])));
|
|
19557
|
-
var ScreenActionsBar = styled.div(templateObject_5$
|
|
19565
|
+
var ScreenActionsBar = styled.div(templateObject_5$7 || (templateObject_5$7 = __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"])));
|
|
19558
19566
|
var DashedSeparator = styled.div(templateObject_6$2 || (templateObject_6$2 = __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"])));
|
|
19559
19567
|
var OrWrapper = styled.div(templateObject_7$1 || (templateObject_7$1 = __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"])));
|
|
19560
19568
|
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"])));
|
|
@@ -19836,7 +19844,7 @@
|
|
|
19836
19844
|
} while (Math.round(Math.abs(bytes) * r) / r >= thresh && u < units.length - 1);
|
|
19837
19845
|
return bytes.toFixed(dp) + ' ' + units[u];
|
|
19838
19846
|
}
|
|
19839
|
-
var templateObject_1$p, templateObject_2$n, templateObject_3$h, templateObject_4$b, templateObject_5$
|
|
19847
|
+
var templateObject_1$p, templateObject_2$n, templateObject_3$h, templateObject_4$b, templateObject_5$7, templateObject_6$2, templateObject_7$1, templateObject_8$1, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13;
|
|
19840
19848
|
|
|
19841
19849
|
var lastDocumentDetectedAtDefaults = {
|
|
19842
19850
|
idCardFront: null,
|
|
@@ -21221,8 +21229,8 @@
|
|
|
21221
21229
|
var Heading$7 = styled.h3(templateObject_2$k || (templateObject_2$k = __makeTemplateObject(["\n margin-bottom: 8px;\n"], ["\n margin-bottom: 8px;\n"])));
|
|
21222
21230
|
var Description$2 = styled.p(templateObject_3$f || (templateObject_3$f = __makeTemplateObject(["\n margin-bottom: 8px;\n"], ["\n margin-bottom: 8px;\n"])));
|
|
21223
21231
|
var ImageContainer$6 = styled(OverlayImageContainer)(templateObject_4$a || (templateObject_4$a = __makeTemplateObject(["\n margin-top: 32px;\n"], ["\n margin-top: 32px;\n"])));
|
|
21224
|
-
var StyledButtonsRow$6 = styled(ButtonsRow$2)(templateObject_5$
|
|
21225
|
-
var templateObject_1$m, templateObject_2$k, templateObject_3$f, templateObject_4$a, templateObject_5$
|
|
21232
|
+
var StyledButtonsRow$6 = styled(ButtonsRow$2)(templateObject_5$6 || (templateObject_5$6 = __makeTemplateObject(["\n margin-top: 32px;\n"], ["\n margin-top: 32px;\n"])));
|
|
21233
|
+
var templateObject_1$m, templateObject_2$k, templateObject_3$f, templateObject_4$a, templateObject_5$6;
|
|
21226
21234
|
|
|
21227
21235
|
var initialState$4 = {
|
|
21228
21236
|
busy: false,
|
|
@@ -22189,7 +22197,7 @@
|
|
|
22189
22197
|
var _a, _b, _c, _d;
|
|
22190
22198
|
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)';
|
|
22191
22199
|
});
|
|
22192
|
-
var ContinueButton = styled(LoaderButton)(templateObject_5$
|
|
22200
|
+
var ContinueButton = styled(LoaderButton)(templateObject_5$5 || (templateObject_5$5 = __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) {
|
|
22193
22201
|
var _a, _b, _c, _d, _e, _f;
|
|
22194
22202
|
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, ";") : '';
|
|
22195
22203
|
}, function (props) {
|
|
@@ -22208,7 +22216,7 @@
|
|
|
22208
22216
|
var _a, _b, _c, _d;
|
|
22209
22217
|
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';
|
|
22210
22218
|
});
|
|
22211
|
-
var templateObject_1$g, templateObject_2$e, templateObject_3$c, templateObject_4$8, templateObject_5$
|
|
22219
|
+
var templateObject_1$g, templateObject_2$e, templateObject_3$c, templateObject_4$8, templateObject_5$5;
|
|
22212
22220
|
|
|
22213
22221
|
var components = {
|
|
22214
22222
|
"default": SelfieCaptureLoadingOverlayDefault,
|
|
@@ -24055,7 +24063,8 @@
|
|
|
24055
24063
|
signaturePadEmptyText: '',
|
|
24056
24064
|
headTrackingUnsatisfiedText: '',
|
|
24057
24065
|
clearSignatureBtnText: 'Clear',
|
|
24058
|
-
acceptSignatureBtnText: 'Accept'
|
|
24066
|
+
acceptSignatureBtnText: 'Accept',
|
|
24067
|
+
signHereText: 'Sign here'
|
|
24059
24068
|
});
|
|
24060
24069
|
return /*#__PURE__*/React.createElement(SignatureCanvasContainer, {
|
|
24061
24070
|
className: clsx(classNames.signatureCanvasContainer, disabled && classNames.signatureCanvasContainerDisabled),
|
|
@@ -24093,7 +24102,7 @@
|
|
|
24093
24102
|
}
|
|
24094
24103
|
}, /*#__PURE__*/React.createElement(SignaturePadContentInner, {
|
|
24095
24104
|
className: classNames.emptyContentInner
|
|
24096
|
-
}, verbiage.signaturePadEmptyText)))), /*#__PURE__*/React.createElement(SignatureButtonsContainer, {
|
|
24105
|
+
}, verbiage.signaturePadEmptyText))), /*#__PURE__*/React.createElement(SignHereText, null, verbiage.signHereText)), /*#__PURE__*/React.createElement(SignatureButtonsContainer, {
|
|
24097
24106
|
className: classNames.signatureButtonsRow
|
|
24098
24107
|
}, /*#__PURE__*/React.createElement(LoaderButton, {
|
|
24099
24108
|
variant: "secondary",
|
|
@@ -24120,7 +24129,8 @@
|
|
|
24120
24129
|
var _a, _b, _c;
|
|
24121
24130
|
return (_c = (_b = (_a = props.theme.signatureCapture) === null || _a === void 0 ? void 0 : _a.canvas) === null || _b === void 0 ? void 0 : _b.emptyTextColor) !== null && _c !== void 0 ? _c : 'black';
|
|
24122
24131
|
});
|
|
24123
|
-
var
|
|
24132
|
+
var SignHereText = styled.div(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject(["\n position: absolute;\n bottom: 18px;\n left: 0;\n right: 0;\n width: 90%;\n color: black;\n display: flex;\n justify-content: center;\n border-top: 2px solid black;\n margin: 0 auto;\n padding-top: 18px;\n font-size: 18px;\n font-weight: bold;\n pointer-events: none;\n"], ["\n position: absolute;\n bottom: 18px;\n left: 0;\n right: 0;\n width: 90%;\n color: black;\n display: flex;\n justify-content: center;\n border-top: 2px solid black;\n margin: 0 auto;\n padding-top: 18px;\n font-size: 18px;\n font-weight: bold;\n pointer-events: none;\n"])));
|
|
24133
|
+
var templateObject_1$b, templateObject_2$a, templateObject_3$9, templateObject_4$5, templateObject_5$4;
|
|
24124
24134
|
|
|
24125
24135
|
function VideoSignatureGuides(_a) {
|
|
24126
24136
|
var onAcceptBtnClicked = _a.onAcceptBtnClicked,
|