@incodetech/web 2.1.0-rc.1 → 2.1.0-rc.3
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/ae-signature/ae-signature.es.js +2 -2
- package/dist/ae-signature/styles.css +59 -45
- package/dist/antifraud/antifraud.es.js +4 -4
- package/dist/authentication/authentication.es.js +5 -4
- package/dist/{autoFocusTitle-BzkUiELM.js → autoFocusTitle-CuRu2lPg.js} +1 -1
- package/dist/base.css +100 -60
- package/dist/{bottomSheet-F1GJfQx_.js → bottomSheet-CnWbbUAM.js} +1 -1
- package/dist/{button-CM_hgyIP.js → button-Dz6AsbmF.js} +7 -2
- package/dist/cameraView-DIEzM5ru.js +47 -0
- package/dist/{tutorial-D1qaY2Tm.js → capture-CkGvdDNH.js} +23 -573
- package/dist/certificate-issuance/certificate-issuance.es.js +249 -0
- package/dist/certificate-issuance/styles.css +114 -0
- package/dist/{checkbox-BoeLHKgp.js → checkbox-1wUHSoaK.js} +2 -2
- package/dist/consent/consent.es.js +11 -11
- package/dist/{countrySelector-mSWyHSy4.js → countrySelector-SvUOyPo0.js} +2 -2
- package/dist/cpf-ocr/cpf-ocr.es.js +1 -1
- package/dist/cpfOcr-B79245-3.js +2 -0
- package/dist/{cpfOcr-MtpRztkG.js → cpfOcr-BhxT-lRN.js} +7 -7
- package/dist/cross-document-data-match/cross-document-data-match.es.js +4 -4
- package/dist/curp-validation/curp-validation.es.js +17 -17
- package/dist/{customFields-DXXt9HGM.js → customFields-BDsXR7A-.js} +11 -11
- package/dist/{customWatchlist-DsW04UF6.js → customWatchlist-CYoRNCim.js} +6 -6
- package/dist/dateInputComposed-DRzZi6uy.js +1 -0
- package/dist/{dateInputComposed-C_mh4XBg.js → dateInputComposed-DuaofcBl.js} +3 -3
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/documentCapture-DXYYyxZl.js +2 -0
- package/dist/{documentCapture-BDV_921m.js → documentCapture-DhbO-A-V.js} +15 -13
- package/dist/dropdownComposed-BAoxIIsE.js +1 -0
- package/dist/{dropdownComposed-_fgAlo_C.js → dropdownComposed-CoU0enG6.js} +9 -10
- package/dist/{dynamicForms-DyfnsS7E.js → dynamicForms-BifGbC9F.js} +24 -13
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekybModule-C6Nttked.js +2 -0
- package/dist/{ekybModule-CIPGmCvD.js → ekybModule-DGnTw5UV.js} +15 -15
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekycModule-CDIEjI6V.js +2 -0
- package/dist/{ekycModule-BuTaC5ct.js → ekycModule-Dxpdd0ns.js} +14 -14
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-B-Q7M0wK.js → electronic-signature-Ueoffasr.js} +42 -31
- package/dist/email/email.es.js +8 -8
- package/dist/{emailInput-KZmhjOdZ.js → emailInput-DsLkDtER.js} +6 -6
- package/dist/{expiredId-Q1t6aVpk.js → expiredId-BZXLrLk-.js} +6 -6
- package/dist/{extensibility-Cs3KQQdC.js → extensibility-7sRIN0JC.js} +54 -89
- package/dist/extensibility.es.js +25 -23
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/face-match/styles.css +4 -0
- package/dist/faceMatch-B_HvxLm_.js +2 -0
- package/dist/{faceMatch--RDHJe4t.js → faceMatch-DyTBoMDm.js} +10 -10
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-DfNEuEE5.js +2 -0
- package/dist/{fieldComparison-CAF86bTC.js → fieldComparison-L_knHqgw.js} +9 -9
- package/dist/fiscal-qr/fiscal-qr.es.js +9 -8
- package/dist/flow/flow.es.js +35 -12
- package/dist/flow/styles.css +4242 -2972
- package/dist/geolocation/geolocation.es.js +190 -326
- package/dist/geolocation/styles.css +8 -0
- package/dist/{governmentValidation/governmentValidation.es.js → government-validation/government-validation.es.js} +12 -16
- package/dist/{homeScreen-BZnIEDrV.js → homeScreen-B6T0JVh8.js} +5 -5
- package/dist/{hooks-Da_yP_Dr.js → hooks-CNu7o-v8.js} +39 -2
- package/dist/{i18n-CoCO2ZuN.js → i18n-CU4xq8qC.js} +1 -1
- package/dist/{icons-Dbs9ZfYM.js → icons-CJJbIpBq.js} +2 -2
- package/dist/id/id.es.js +80 -50
- package/dist/id/styles.css +1 -9
- package/dist/id-ocr/styles.css +12 -2
- package/dist/id-verification/id-verification.es.js +5 -5
- package/dist/{idOcr-CjGbb4dB.js → idOcr-WFBvqy3b.js} +34 -16
- package/dist/identity-reuse/identity-reuse.es.js +7 -7
- package/dist/{incodeComponent-wfnHlnXx.js → incodeComponent-CfzJGETt.js} +3 -2
- package/dist/{incodeModule-BUDoTwT9.js → incodeModule-B-4_3JrK.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/inputComposed-BaY5q9WM.js +1 -0
- package/dist/{inputComposed-CQ4AsvZg.js → inputComposed-C1R2LAa3.js} +3 -3
- package/dist/{mandatoryConsent-r0PQHmv-.js → mandatoryConsent-D0GTKu-H.js} +10 -10
- package/dist/{modal-nTSaG7nB.js → modal-OxkFuuiR.js} +2 -2
- package/dist/{optionAccessibleLabel-CnA-mNAU.js → optionAccessibleLabel-gfF-58Mv.js} +5 -5
- package/dist/{otpInput-_JmtVwa0.js → otpInput-CnDc6pQm.js} +14 -13
- package/dist/{verifiedByIncode-DjXOdCml.js → page-DidH_RkX.js} +70 -2
- package/dist/{pdf-BZA70WbM.js → pdf-BqtJTlor.js} +1 -1
- package/dist/{pdfViewer-BK-yVIve.js → pdfViewer-B97DmT9m.js} +57 -20
- package/dist/phone/phone.es.js +9 -9
- package/dist/{phoneInputComposed-DjNdsmPE.js → phoneInputComposed-DMiXfF-1.js} +5 -5
- package/dist/{processing-BM-wT-1W.js → processing-BeUMfdJJ.js} +1 -1
- package/dist/qe-signature/qe-signature.es.js +2 -2
- package/dist/{radioGroupComposed-BNuaopVr.js → radioGroupComposed-DuQxslB2.js} +4 -4
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +36 -32
- package/dist/redirect-to-mobile/styles.css +3 -2
- package/dist/{richText-Cf9aMOCk.js → richText-CB1fmegc.js} +1 -1
- package/dist/selfie/selfie.es.js +8 -7
- package/dist/selfie/styles.css +133 -63
- package/dist/signature/signature.es.js +9 -9
- package/dist/spinner-BCDCoi9C.js +1 -0
- package/dist/{spinner-D8a_2LvW.js → spinner-BMeIEK1d.js} +18 -6
- package/dist/{statusPage-DMYPUwRZ.js → statusPage-Bk8nJwXV.js} +2 -2
- package/dist/themes/dark.css +24 -2
- package/dist/themes/light.css +24 -2
- package/dist/{transitionSpinner-DRRz-NV8.js → transitionSpinner-CuNCqHNi.js} +12 -8
- package/dist/tutorial-CCfPuVKX.js +706 -0
- package/dist/types/ae-signature.d.ts +23 -1
- package/dist/types/antifraud.d.ts +23 -1
- package/dist/types/authentication.d.ts +23 -1
- package/dist/types/certificate-issuance.d.ts +68 -0
- package/dist/types/consent.d.ts +23 -1
- package/dist/types/cross-document-data-match.d.ts +23 -1
- package/dist/types/curp-validation.d.ts +23 -1
- package/dist/types/document-capture.d.ts +23 -1
- package/dist/types/ekyb.d.ts +23 -1
- package/dist/types/ekyc.d.ts +23 -1
- package/dist/types/electronic-signature.d.ts +23 -1
- package/dist/types/email.d.ts +23 -1
- package/dist/types/extensibility.d.ts +40 -3
- package/dist/types/face-match.d.ts +23 -1
- package/dist/types/field-comparison.d.ts +23 -1
- package/dist/types/fiscal-qr.d.ts +23 -1
- package/dist/types/flow.d.ts +23 -1
- package/dist/types/geolocation.d.ts +27 -2
- package/dist/types/{governmentValidation.d.ts → government-validation.d.ts} +23 -1
- package/dist/types/id-verification.d.ts +23 -1
- package/dist/types/id.d.ts +23 -1
- package/dist/types/identity-reuse.d.ts +23 -1
- package/dist/types/phone.d.ts +23 -1
- package/dist/types/qe-signature.d.ts +23 -1
- package/dist/types/selfie.d.ts +23 -1
- package/dist/types/signature.d.ts +23 -1
- package/dist/types/video-selfie.d.ts +72 -0
- package/dist/types/watchlist.d.ts +23 -1
- package/dist/types/workflow.d.ts +23 -1
- package/dist/{useModuleLoader-CeJ2jL25.js → useModuleLoader-Gvo9qscB.js} +42 -25
- package/dist/{verificationResult-Do5SpZ6X.js → verificationResult-BWWkmeiA.js} +8 -8
- package/dist/video-selfie/styles.css +1644 -0
- package/dist/video-selfie/video-selfie.es.js +854 -0
- package/dist/watchlist/watchlist.es.js +6 -6
- package/dist/{watchlistForBusiness-BFFXC9d-.js → watchlistForBusiness-D2Uo_TwF.js} +10 -10
- package/dist/workflow/styles.css +254 -76
- package/dist/workflow/workflow.es.js +146 -17
- package/package.json +42 -5
- package/dist/cpfOcr-jJkYCfsX.js +0 -2
- package/dist/dateInputComposed-Cy6a7ymh.js +0 -1
- package/dist/documentCapture-8ypBJehw.js +0 -2
- package/dist/dropdownComposed-CEWBSdGl.js +0 -1
- package/dist/ekybModule-DFoYpheB.js +0 -2
- package/dist/ekycModule-BGzwgjl1.js +0 -2
- package/dist/faceMatch-yEKPYaym.js +0 -2
- package/dist/fieldComparison-D0an7T_g.js +0 -2
- package/dist/inputComposed-BEn7_nZd.js +0 -1
- package/dist/page-DxGQj7Gk.js +0 -71
- package/dist/spinner-B6RxGFrI.js +0 -1
- /package/dist/{aligndevicelottie-DY_bX_p8.js → aligndevicelottie-DFscByAI.js} +0 -0
- /package/dist/{back-horizontal-hint-D_8LptLm.js → back-horizontal-hint-xTnSQbzn.js} +0 -0
- /package/dist/{back-tutorial-vb1MxlrT.js → back-tutorial-cI_4VHmE.js} +0 -0
- /package/dist/{back-vertical-hint-C1evxxq2.js → back-vertical-hint-BWWlHfX2.js} +0 -0
- /package/dist/{backdevicelottie-HypPqBz7.js → backdevicelottie-COyhTrxM.js} +0 -0
- /package/dist/{blurdevicelottie-CBXtBFiJ.js → blurdevicelottie-BLVeJHEG.js} +0 -0
- /package/dist/{browser-ponyfill-CLLvZCVg.js → browser-ponyfill-Df13Th-G.js} +0 -0
- /package/dist/{defineProperty-mefzVtTv.js → defineProperty-Qjefk7Uf.js} +0 -0
- /package/dist/{errorIcon-DJRZpd8j.js → errorIcon-BA4T6iy-.js} +0 -0
- /package/dist/{flip-animation-BGRvygw9.js → flip-animation-CZYSUtMm.js} +0 -0
- /package/dist/{front-horizontal-hint-Uf5bHCsd.js → front-horizontal-hint-B84GgTO1.js} +0 -0
- /package/dist/{front-vertical-hint-DdWNA45v.js → front-vertical-hint-Bs_avngq.js} +0 -0
- /package/dist/{frontdevicelottie-CLqitJhG.js → frontdevicelottie-B4tE2PYQ.js} +0 -0
- /package/dist/{glaredevicelottie-BS04U6Fc.js → glaredevicelottie-D1pR73sx.js} +0 -0
- /package/dist/{governmentValidation → government-validation}/styles.css +0 -0
- /package/dist/{id-laser-h-DX8UbVNH.js → id-laser-h-CzPegPMn.js} +0 -0
- /package/dist/{id-laser-v-DhnHdjlB.js → id-laser-v-BiUXkM4x.js} +0 -0
- /package/dist/{id-tutorial-lj4iKtYT.js → id-tutorial-DwO90SAm.js} +0 -0
- /package/dist/{lottie_light-Dp9Bz3mf.js → lottie_light-C6B2ec41.js} +0 -0
- /package/dist/{modal.hooks-D2xhIuHA.js → modal.hooks-ZrzmHAUa.js} +0 -0
- /package/dist/{numberedStep-CEtwZqLp.js → numberedStep-CEb-lFJm.js} +0 -0
- /package/dist/{passport-horizontal-hint-Bbm2mvSn.js → passport-horizontal-hint-Bj0ZJY0g.js} +0 -0
- /package/dist/{passport-tutorial-zT1ZoA-D.js → passport-tutorial-D9JNsMsM.js} +0 -0
- /package/dist/{passport-vertical-hint-DJbCtBiM.js → passport-vertical-hint-Dfk77xUJ.js} +0 -0
- /package/dist/{registerIncodeElement-77NGCDsy.js → registerIncodeElement-DaNjbAwZ.js} +0 -0
- /package/dist/{requiredLabelHint-DEadtiwx.js → requiredLabelHint-D0RhuMed.js} +0 -0
- /package/dist/{selfieTutorial-CtruLyO2.js → selfieTutorial-pB-N-fj5.js} +0 -0
- /package/dist/{snackbar-CxepGC3e.js → snackbar-DS7Mv62v.js} +0 -0
- /package/dist/{successIcon-BAyDPT7I.js → successIcon-B5mGvdx1.js} +0 -0
- /package/dist/{tabs-C8npVBbk.js → tabs-C__chW-u.js} +0 -0
- /package/dist/{typography-YLgHHuao.js → typography-BZIpjo97.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { _ as y, l as A, p as d, v as u, x as k } from "./vendor-preact-DThS2ZQ_.js";
|
|
2
2
|
import { n as cn } from "./loadingIcon-B0ysgiNq.js";
|
|
3
|
-
import { t as ErrorIcon } from "./errorIcon-
|
|
4
|
-
import { l as ChevronDown, n as SearchIcon, o as CloseIcon, u as CheckmarkCompactIcon } from "./icons-
|
|
5
|
-
import { t as SuccessIcon } from "./successIcon-
|
|
3
|
+
import { t as ErrorIcon } from "./errorIcon-BA4T6iy-.js";
|
|
4
|
+
import { l as ChevronDown, n as SearchIcon, o as CloseIcon, u as CheckmarkCompactIcon } from "./icons-CJJbIpBq.js";
|
|
5
|
+
import { t as SuccessIcon } from "./successIcon-B5mGvdx1.js";
|
|
6
6
|
//#region src/shared/dropdownComposed/dropdownComposed.tsx
|
|
7
|
-
var DropdownComposed = ({ id, label, labelHint, placeholder = "Choose an option", value, options, onChange, error, helper, showErrorIcon, showHelperIcon, suppressMessages = false, disabled = false, required, searchable = false, searchPlaceholder = "Search...", noResultsText = "No results found", name, tabIndex, onKeyDown, onBlur, renderSelectedLabel, siblingElement,
|
|
7
|
+
var DropdownComposed = ({ id, label, labelHint, placeholder = "Choose an option", value, options, onChange, error, helper, showErrorIcon, showHelperIcon, suppressMessages = false, disabled = false, required, searchable = false, searchPlaceholder = "Search...", noResultsText = "No results found", name, tabIndex, onKeyDown, onBlur, renderSelectedLabel, siblingElement, class: className, "aria-label": ariaLabel, "data-testid": dataTestId }) => {
|
|
8
8
|
const [isOpen, setIsOpen] = d(false);
|
|
9
9
|
const [isFocused, setIsFocused] = d(false);
|
|
10
10
|
const [highlightedIndex, setHighlightedIndex] = d(-1);
|
|
@@ -222,15 +222,16 @@ var DropdownComposed = ({ id, label, labelHint, placeholder = "Choose an option"
|
|
|
222
222
|
onKeyDown: handleKeyboardNavigation,
|
|
223
223
|
tabIndex: disabled ? -1 : tabIndex ?? 0,
|
|
224
224
|
disabled,
|
|
225
|
+
role: "combobox",
|
|
225
226
|
"aria-haspopup": "listbox",
|
|
226
227
|
"aria-expanded": isOpen ? "true" : "false",
|
|
227
228
|
"aria-disabled": disabled ? "true" : void 0,
|
|
228
|
-
"aria-
|
|
229
|
+
"aria-required": required ? "true" : void 0,
|
|
230
|
+
"aria-invalid": error ? "true" : void 0,
|
|
231
|
+
"aria-labelledby": label ? `${labelId} ${valueId}` : ariaLabel ? void 0 : valueId,
|
|
229
232
|
"aria-label": !label ? ariaLabel : void 0,
|
|
230
233
|
"aria-controls": isOpen ? listboxId : void 0,
|
|
231
234
|
"aria-activedescendant": isOpen && highlightedIndex >= 0 ? `${id}-option-${highlightedIndex}` : void 0,
|
|
232
|
-
"aria-invalid": error ? "true" : void 0,
|
|
233
|
-
"aria-required": required ? "true" : void 0,
|
|
234
235
|
"aria-describedby": describedByIds || void 0,
|
|
235
236
|
"data-error": error ? "true" : void 0,
|
|
236
237
|
"data-focused": isFocused || isOpen ? "true" : void 0,
|
|
@@ -275,9 +276,8 @@ var DropdownComposed = ({ id, label, labelHint, placeholder = "Choose an option"
|
|
|
275
276
|
},
|
|
276
277
|
onKeyDown: handleSearchKeyDown,
|
|
277
278
|
placeholder: searchPlaceholder,
|
|
278
|
-
role: "
|
|
279
|
+
role: "searchbox",
|
|
279
280
|
"aria-autocomplete": "list",
|
|
280
|
-
"aria-expanded": "true",
|
|
281
281
|
"aria-controls": listboxId,
|
|
282
282
|
"aria-activedescendant": highlightedIndex >= 0 ? `${id}-option-${highlightedIndex}` : void 0,
|
|
283
283
|
"aria-label": searchPlaceholder,
|
|
@@ -287,7 +287,6 @@ var DropdownComposed = ({ id, label, labelHint, placeholder = "Choose an option"
|
|
|
287
287
|
class: "IncodeDropdownComposedCloseIconButton",
|
|
288
288
|
onMouseDown: (e) => e.preventDefault(),
|
|
289
289
|
onClick: () => {
|
|
290
|
-
if (!searchQuery) return;
|
|
291
290
|
setSearchQuery("");
|
|
292
291
|
searchInputRef.current?.focus();
|
|
293
292
|
},
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { n as useTranslation } from "./i18n-
|
|
1
|
+
import { n as useTranslation } from "./i18n-CU4xq8qC.js";
|
|
2
2
|
import { d as T, m as g, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
|
-
import { c as
|
|
4
|
-
import { t as IncodeComponent } from "./incodeComponent-
|
|
3
|
+
import { c as useModuleTerminalCallbacks, u as useManager } from "./hooks-CNu7o-v8.js";
|
|
4
|
+
import { t as IncodeComponent } from "./incodeComponent-CfzJGETt.js";
|
|
5
5
|
import { r as Spacer } from "./loadingIcon-B0ysgiNq.js";
|
|
6
|
-
import { t as Page } from "./page-
|
|
7
|
-
import { t as Button } from "./button-
|
|
8
|
-
import { t as VerificationResult } from "./verificationResult-
|
|
9
|
-
import { t as InputComposed } from "./inputComposed-
|
|
10
|
-
import { n as countries, t as PhoneInputComposed } from "./phoneInputComposed-
|
|
11
|
-
import { t as DropdownComposed } from "./dropdownComposed-
|
|
12
|
-
import { t as DateInputComposed } from "./dateInputComposed-
|
|
13
|
-
import { t as registerIncodeModuleElement } from "./incodeModule-
|
|
14
|
-
import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-
|
|
15
|
-
import { t as EmailInput } from "./emailInput-
|
|
6
|
+
import { t as Page } from "./page-DidH_RkX.js";
|
|
7
|
+
import { t as Button } from "./button-Dz6AsbmF.js";
|
|
8
|
+
import { t as VerificationResult } from "./verificationResult-BWWkmeiA.js";
|
|
9
|
+
import { t as InputComposed } from "./inputComposed-C1R2LAa3.js";
|
|
10
|
+
import { n as countries, t as PhoneInputComposed } from "./phoneInputComposed-DMiXfF-1.js";
|
|
11
|
+
import { t as DropdownComposed } from "./dropdownComposed-CoU0enG6.js";
|
|
12
|
+
import { t as DateInputComposed } from "./dateInputComposed-DuaofcBl.js";
|
|
13
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-B-4_3JrK.js";
|
|
14
|
+
import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-D0RhuMed.js";
|
|
15
|
+
import { t as EmailInput } from "./emailInput-DsLkDtER.js";
|
|
16
16
|
import { formatCPF, isValidCPF } from "@incodetech/core/cpf-ocr";
|
|
17
17
|
import { createDynamicFormsManager } from "@incodetech/core/dynamic-forms";
|
|
18
18
|
//#region src/modules/dynamic-forms/dynamicForms.tsx
|
|
@@ -52,6 +52,7 @@ var QuestionInput = ({ question, value, disabled = false, error, labelHint, onCh
|
|
|
52
52
|
class: "IncodeDynamicFormsField",
|
|
53
53
|
children: /* @__PURE__ */ u(DropdownComposed, {
|
|
54
54
|
id,
|
|
55
|
+
"data-testid": id,
|
|
55
56
|
name: question.questionId,
|
|
56
57
|
label,
|
|
57
58
|
labelHint,
|
|
@@ -69,6 +70,7 @@ var QuestionInput = ({ question, value, disabled = false, error, labelHint, onCh
|
|
|
69
70
|
class: "IncodeDynamicFormsField",
|
|
70
71
|
children: /* @__PURE__ */ u(DateInputComposed, {
|
|
71
72
|
id,
|
|
73
|
+
"data-testid": id,
|
|
72
74
|
name: question.questionId,
|
|
73
75
|
label,
|
|
74
76
|
labelHint,
|
|
@@ -87,6 +89,7 @@ var QuestionInput = ({ question, value, disabled = false, error, labelHint, onCh
|
|
|
87
89
|
onFocusOut: () => onBlur?.(question.questionId),
|
|
88
90
|
children: /* @__PURE__ */ u(PhoneInputComposed, {
|
|
89
91
|
id,
|
|
92
|
+
"data-testid": id,
|
|
90
93
|
label,
|
|
91
94
|
labelHint,
|
|
92
95
|
value,
|
|
@@ -105,6 +108,7 @@ var QuestionInput = ({ question, value, disabled = false, error, labelHint, onCh
|
|
|
105
108
|
class: "IncodeDynamicFormsField",
|
|
106
109
|
children: /* @__PURE__ */ u(DropdownComposed, {
|
|
107
110
|
id,
|
|
111
|
+
"data-testid": id,
|
|
108
112
|
label,
|
|
109
113
|
labelHint,
|
|
110
114
|
value,
|
|
@@ -126,6 +130,7 @@ var QuestionInput = ({ question, value, disabled = false, error, labelHint, onCh
|
|
|
126
130
|
class: "IncodeDynamicFormsField",
|
|
127
131
|
children: /* @__PURE__ */ u(DropdownComposed, {
|
|
128
132
|
id,
|
|
133
|
+
"data-testid": id,
|
|
129
134
|
label,
|
|
130
135
|
labelHint,
|
|
131
136
|
value,
|
|
@@ -142,6 +147,8 @@ var QuestionInput = ({ question, value, disabled = false, error, labelHint, onCh
|
|
|
142
147
|
if (effectiveType === "EMAIL") return /* @__PURE__ */ u("div", {
|
|
143
148
|
class: "IncodeDynamicFormsField",
|
|
144
149
|
children: /* @__PURE__ */ u(EmailInput, {
|
|
150
|
+
id,
|
|
151
|
+
"data-testid": id,
|
|
145
152
|
value,
|
|
146
153
|
emailError: error,
|
|
147
154
|
label,
|
|
@@ -159,6 +166,7 @@ var QuestionInput = ({ question, value, disabled = false, error, labelHint, onCh
|
|
|
159
166
|
class: "IncodeDynamicFormsField",
|
|
160
167
|
children: /* @__PURE__ */ u(InputComposed, {
|
|
161
168
|
id,
|
|
169
|
+
"data-testid": id,
|
|
162
170
|
name: question.questionId,
|
|
163
171
|
label,
|
|
164
172
|
labelHint,
|
|
@@ -182,6 +190,7 @@ var QuestionInput = ({ question, value, disabled = false, error, labelHint, onCh
|
|
|
182
190
|
class: "IncodeDynamicFormsField",
|
|
183
191
|
children: /* @__PURE__ */ u(InputComposed, {
|
|
184
192
|
id,
|
|
193
|
+
"data-testid": id,
|
|
185
194
|
name: question.questionId,
|
|
186
195
|
label,
|
|
187
196
|
labelHint,
|
|
@@ -203,6 +212,7 @@ var QuestionInput = ({ question, value, disabled = false, error, labelHint, onCh
|
|
|
203
212
|
class: "IncodeDynamicFormsField",
|
|
204
213
|
children: /* @__PURE__ */ u(InputComposed, {
|
|
205
214
|
id,
|
|
215
|
+
"data-testid": id,
|
|
206
216
|
name: question.questionId,
|
|
207
217
|
label,
|
|
208
218
|
labelHint,
|
|
@@ -262,6 +272,7 @@ var ScreenForm = ({ screen, answers, validationErrors, canSubmit, isSubmitting =
|
|
|
262
272
|
}, question.questionId);
|
|
263
273
|
}), /* @__PURE__ */ u(Button, {
|
|
264
274
|
type: "submit",
|
|
275
|
+
"data-testid": "dynamic-forms-submit",
|
|
265
276
|
disabled: !canSubmit,
|
|
266
277
|
isLoading: isSubmitting,
|
|
267
278
|
children: t("common.continue")
|
package/dist/ekyb/ekyb.es.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as EkybModule } from "../ekybModule-
|
|
1
|
+
import { t as EkybModule } from "../ekybModule-DGnTw5UV.js";
|
|
2
2
|
export { EkybModule };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { n as useTranslation } from "./i18n-
|
|
1
|
+
import { n as useTranslation } from "./i18n-CU4xq8qC.js";
|
|
2
2
|
import { _ as y, d as T, l as A, v as u, x as k } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
|
-
import { c as
|
|
4
|
-
import { t as IncodeComponent } from "./incodeComponent-
|
|
3
|
+
import { c as useModuleTerminalCallbacks, o as useFormScrollable, u as useManager } from "./hooks-CNu7o-v8.js";
|
|
4
|
+
import { t as IncodeComponent } from "./incodeComponent-CfzJGETt.js";
|
|
5
5
|
import { r as Spacer } from "./loadingIcon-B0ysgiNq.js";
|
|
6
|
-
import { t as Page } from "./page-
|
|
7
|
-
import "./extensibility-
|
|
8
|
-
import { t as Spinner } from "./spinner-
|
|
9
|
-
import { t as Button } from "./button-
|
|
10
|
-
import { t as VerificationResult } from "./verificationResult-
|
|
11
|
-
import { t as InputComposed } from "./inputComposed-
|
|
12
|
-
import { i as translateError, r as FormField } from "./radioGroupComposed-
|
|
13
|
-
import { t as DropdownComposed } from "./dropdownComposed-
|
|
14
|
-
import { t as registerIncodeModuleElement } from "./incodeModule-
|
|
15
|
-
import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-
|
|
16
|
-
import { n as AddressAutocomplete, t as getAccessibleOptionLabel } from "./optionAccessibleLabel-
|
|
17
|
-
import { t as CountrySelector$1 } from "./countrySelector-
|
|
6
|
+
import { t as Page } from "./page-DidH_RkX.js";
|
|
7
|
+
import "./extensibility-7sRIN0JC.js";
|
|
8
|
+
import { t as Spinner } from "./spinner-BMeIEK1d.js";
|
|
9
|
+
import { t as Button } from "./button-Dz6AsbmF.js";
|
|
10
|
+
import { t as VerificationResult } from "./verificationResult-BWWkmeiA.js";
|
|
11
|
+
import { t as InputComposed } from "./inputComposed-C1R2LAa3.js";
|
|
12
|
+
import { i as translateError, r as FormField } from "./radioGroupComposed-DuQxslB2.js";
|
|
13
|
+
import { t as DropdownComposed } from "./dropdownComposed-CoU0enG6.js";
|
|
14
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-B-4_3JrK.js";
|
|
15
|
+
import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-D0RhuMed.js";
|
|
16
|
+
import { n as AddressAutocomplete, t as getAccessibleOptionLabel } from "./optionAccessibleLabel-gfF-58Mv.js";
|
|
17
|
+
import { t as CountrySelector$1 } from "./countrySelector-SvUOyPo0.js";
|
|
18
18
|
import { DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager } from "@incodetech/core/ekyb";
|
|
19
19
|
//#region src/modules/ekyb/countrySelector.tsx
|
|
20
20
|
var CountrySelector = ({ value, onChange }) => {
|
package/dist/ekyc/ekyc.es.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as EkycModule } from "../ekycModule-
|
|
1
|
+
import { t as EkycModule } from "../ekycModule-Dxpdd0ns.js";
|
|
2
2
|
export { EkycModule };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { n as useTranslation } from "./i18n-
|
|
1
|
+
import { n as useTranslation } from "./i18n-CU4xq8qC.js";
|
|
2
2
|
import { _ as y, d as T, l as A, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
|
-
import { c as
|
|
4
|
-
import { t as IncodeComponent } from "./incodeComponent-
|
|
5
|
-
import { t as Page } from "./page-
|
|
6
|
-
import { t as Spinner } from "./spinner-
|
|
7
|
-
import { t as Button } from "./button-
|
|
8
|
-
import { t as VerificationResult } from "./verificationResult-
|
|
9
|
-
import { i as translateError, r as FormField, t as RadioGroupComposed } from "./radioGroupComposed-
|
|
10
|
-
import { t as PhoneInputComposed } from "./phoneInputComposed-
|
|
11
|
-
import { t as DropdownComposed } from "./dropdownComposed-
|
|
12
|
-
import { t as DateInputComposed } from "./dateInputComposed-
|
|
13
|
-
import { t as registerIncodeModuleElement } from "./incodeModule-
|
|
14
|
-
import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-
|
|
15
|
-
import { n as AddressAutocomplete, t as getAccessibleOptionLabel } from "./optionAccessibleLabel-
|
|
3
|
+
import { c as useModuleTerminalCallbacks, o as useFormScrollable, u as useManager } from "./hooks-CNu7o-v8.js";
|
|
4
|
+
import { t as IncodeComponent } from "./incodeComponent-CfzJGETt.js";
|
|
5
|
+
import { t as Page } from "./page-DidH_RkX.js";
|
|
6
|
+
import { t as Spinner } from "./spinner-BMeIEK1d.js";
|
|
7
|
+
import { t as Button } from "./button-Dz6AsbmF.js";
|
|
8
|
+
import { t as VerificationResult } from "./verificationResult-BWWkmeiA.js";
|
|
9
|
+
import { i as translateError, r as FormField, t as RadioGroupComposed } from "./radioGroupComposed-DuQxslB2.js";
|
|
10
|
+
import { t as PhoneInputComposed } from "./phoneInputComposed-DMiXfF-1.js";
|
|
11
|
+
import { t as DropdownComposed } from "./dropdownComposed-CoU0enG6.js";
|
|
12
|
+
import { t as DateInputComposed } from "./dateInputComposed-DuaofcBl.js";
|
|
13
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-B-4_3JrK.js";
|
|
14
|
+
import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-D0RhuMed.js";
|
|
15
|
+
import { n as AddressAutocomplete, t as getAccessibleOptionLabel } from "./optionAccessibleLabel-gfF-58Mv.js";
|
|
16
16
|
import { createEkycManager } from "@incodetech/core/ekyc";
|
|
17
17
|
//#region src/modules/ekyc/ekycModule.tsx
|
|
18
18
|
var EkycContent = ({ config, onFinish }) => {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ElectronicSignature, t as AeSignature } from "../electronic-signature-
|
|
1
|
+
import { n as ElectronicSignature, t as AeSignature } from "../electronic-signature-Ueoffasr.js";
|
|
2
2
|
export { AeSignature, ElectronicSignature };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { n as useTranslation, t as Trans } from "./i18n-
|
|
1
|
+
import { n as useTranslation, t as Trans } from "./i18n-CU4xq8qC.js";
|
|
2
2
|
import { _ as y, h as q, l as A, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
|
-
import { c as
|
|
4
|
-
import { t as IncodeComponent } from "./incodeComponent-
|
|
5
|
-
import { t as Page } from "./page-
|
|
6
|
-
import { t as Button } from "./button-
|
|
7
|
-
import { c as ChevronLeftIcon, r as LockIcon } from "./icons-
|
|
8
|
-
import { t as SuccessIcon } from "./successIcon-
|
|
9
|
-
import { t as AutoFocusTitle } from "./autoFocusTitle-
|
|
10
|
-
import { t as VerificationResult } from "./verificationResult-
|
|
11
|
-
import { t as Checkbox } from "./checkbox-
|
|
12
|
-
import { t as PdfViewer } from "./pdfViewer-
|
|
13
|
-
import { t as registerIncodeModuleElement } from "./incodeModule-
|
|
3
|
+
import { c as useModuleTerminalCallbacks, u as useManager } from "./hooks-CNu7o-v8.js";
|
|
4
|
+
import { t as IncodeComponent } from "./incodeComponent-CfzJGETt.js";
|
|
5
|
+
import { t as Page } from "./page-DidH_RkX.js";
|
|
6
|
+
import { t as Button } from "./button-Dz6AsbmF.js";
|
|
7
|
+
import { c as ChevronLeftIcon, r as LockIcon } from "./icons-CJJbIpBq.js";
|
|
8
|
+
import { t as SuccessIcon } from "./successIcon-B5mGvdx1.js";
|
|
9
|
+
import { t as AutoFocusTitle } from "./autoFocusTitle-CuRu2lPg.js";
|
|
10
|
+
import { t as VerificationResult } from "./verificationResult-BWWkmeiA.js";
|
|
11
|
+
import { t as Checkbox } from "./checkbox-1wUHSoaK.js";
|
|
12
|
+
import { t as PdfViewer } from "./pdfViewer-B97DmT9m.js";
|
|
13
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-B-4_3JrK.js";
|
|
14
14
|
import { createElectronicSignatureManager } from "@incodetech/core/electronic-signature";
|
|
15
15
|
//#region src/modules/electronic-signature/documentIllustration.tsx
|
|
16
16
|
var DocumentIllustration = () => /* @__PURE__ */ u("svg", {
|
|
@@ -193,7 +193,7 @@ function getVariantCopy(variant, t) {
|
|
|
193
193
|
if (variant === "qe") return {
|
|
194
194
|
signingTitle: t("qes.consent.title"),
|
|
195
195
|
signingSubtitle: t("qes.consent.text"),
|
|
196
|
-
signButtonLabel: t("
|
|
196
|
+
signButtonLabel: t("aes.confirmSignature.finishSigning")
|
|
197
197
|
};
|
|
198
198
|
return {
|
|
199
199
|
signingTitle: t("aes.confirmSignature.title"),
|
|
@@ -214,8 +214,7 @@ var ElectronicSignatureContent = ({ config, onFinish, onError }) => {
|
|
|
214
214
|
status: state.status,
|
|
215
215
|
onFinish,
|
|
216
216
|
onError: state.status === "closed" ? () => onError?.("closed") : onError,
|
|
217
|
-
|
|
218
|
-
errorStatuses: ["failed"]
|
|
217
|
+
errorStatuses: []
|
|
219
218
|
});
|
|
220
219
|
const handleFileChange = q((event) => {
|
|
221
220
|
const file = event.target.files?.[0];
|
|
@@ -285,7 +284,7 @@ var ElectronicSignatureContent = ({ config, onFinish, onError }) => {
|
|
|
285
284
|
children: [/* @__PURE__ */ u(Button, {
|
|
286
285
|
onClick: () => manager.finish(),
|
|
287
286
|
children: t("common.continue")
|
|
288
|
-
}), state.signedDocuments.map((doc, i) => /* @__PURE__ */ u("a", {
|
|
287
|
+
}), state.signedDocuments.filter((doc) => !!doc.signedDocumentUrl).map((doc, i) => /* @__PURE__ */ u("a", {
|
|
289
288
|
href: doc.signedDocumentUrl,
|
|
290
289
|
target: "_blank",
|
|
291
290
|
rel: "noopener noreferrer",
|
|
@@ -304,25 +303,36 @@ var ElectronicSignatureContent = ({ config, onFinish, onError }) => {
|
|
|
304
303
|
warningTitle: t("aes.confirmSignature.fail"),
|
|
305
304
|
onRetry: () => manager.retry()
|
|
306
305
|
});
|
|
306
|
+
if (state.status === "signError") return /* @__PURE__ */ u(VerificationResult, {
|
|
307
|
+
status: "warning",
|
|
308
|
+
warningTitle: t("aes.confirmSignature.fail")
|
|
309
|
+
});
|
|
307
310
|
if (state.status === "signing") {
|
|
308
311
|
if (state.viewingDocumentUrl) return /* @__PURE__ */ u(Page, {
|
|
309
312
|
className: "IncodeElectronicSignature",
|
|
310
|
-
children: [
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
313
|
+
children: [
|
|
314
|
+
/* @__PURE__ */ u(AutoFocusTitle, {
|
|
315
|
+
className: "IncodeSrOnly",
|
|
316
|
+
children: t("aes.confirmSignature.contract")
|
|
317
|
+
}),
|
|
318
|
+
/* @__PURE__ */ u("div", {
|
|
319
|
+
className: "IncodeElectronicSignatureDocViewHeader",
|
|
320
|
+
children: /* @__PURE__ */ u(Button, {
|
|
321
|
+
size: "M",
|
|
322
|
+
variant: "link",
|
|
323
|
+
class: "IncodeElectronicSignatureBackButton",
|
|
324
|
+
icon: /* @__PURE__ */ u(ChevronLeftIcon, { variant: "m" }),
|
|
325
|
+
onClick: () => manager.closeDocumentView(),
|
|
326
|
+
"aria-label": t("common.back")
|
|
327
|
+
})
|
|
328
|
+
}),
|
|
329
|
+
/* @__PURE__ */ u(PdfViewer, {
|
|
330
|
+
url: state.viewingDocumentUrl,
|
|
331
|
+
mode: "full",
|
|
332
|
+
className: "IncodeElectronicSignatureDocViewer",
|
|
333
|
+
"aria-label": t("aes.confirmSignature.contract")
|
|
319
334
|
})
|
|
320
|
-
|
|
321
|
-
url: state.viewingDocumentUrl,
|
|
322
|
-
mode: "full",
|
|
323
|
-
className: "IncodeElectronicSignatureDocViewer",
|
|
324
|
-
"aria-label": t("aes.confirmSignature.viewDocument")
|
|
325
|
-
})]
|
|
335
|
+
]
|
|
326
336
|
});
|
|
327
337
|
const variant = state.variant;
|
|
328
338
|
const consentItems = getConsentItems(variant, t);
|
|
@@ -361,6 +371,7 @@ var ElectronicSignatureContent = ({ config, onFinish, onError }) => {
|
|
|
361
371
|
id: `es-${item.id}`,
|
|
362
372
|
label: item.label,
|
|
363
373
|
size: "s",
|
|
374
|
+
required: true,
|
|
364
375
|
checked: !!state.consentChecks[item.id],
|
|
365
376
|
onChange: () => manager.setConsent(item.id, !state.consentChecks[item.id])
|
|
366
377
|
}, item.id))
|
package/dist/email/email.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as useTranslation } from "../i18n-
|
|
1
|
+
import { n as useTranslation } from "../i18n-CU4xq8qC.js";
|
|
2
2
|
import { _ as y, p as d, v as u } from "../vendor-preact-DThS2ZQ_.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as IncodeComponent } from "../incodeComponent-
|
|
3
|
+
import { c as useModuleTerminalCallbacks, s as isTerminalModuleState, u as useManager } from "../hooks-CNu7o-v8.js";
|
|
4
|
+
import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
|
|
5
5
|
import { r as Spacer } from "../loadingIcon-B0ysgiNq.js";
|
|
6
|
-
import { t as Page } from "../page-
|
|
7
|
-
import { t as Button } from "../button-
|
|
8
|
-
import { t as OtpInput } from "../otpInput-
|
|
9
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
10
|
-
import { t as EmailInput } from "../emailInput-
|
|
6
|
+
import { t as Page } from "../page-DidH_RkX.js";
|
|
7
|
+
import { t as Button } from "../button-Dz6AsbmF.js";
|
|
8
|
+
import { t as OtpInput } from "../otpInput-CnDc6pQm.js";
|
|
9
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
|
|
10
|
+
import { t as EmailInput } from "../emailInput-DsLkDtER.js";
|
|
11
11
|
import { createEmailManager } from "@incodetech/core/email";
|
|
12
12
|
//#region src/modules/email/email.tsx
|
|
13
13
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as useTranslation } from "./i18n-
|
|
1
|
+
import { n as useTranslation } from "./i18n-CU4xq8qC.js";
|
|
2
2
|
import { v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
|
-
import "./extensibility-
|
|
4
|
-
import { t as InputComposed } from "./inputComposed-
|
|
3
|
+
import "./extensibility-7sRIN0JC.js";
|
|
4
|
+
import { t as InputComposed } from "./inputComposed-C1R2LAa3.js";
|
|
5
5
|
//#region src/modules/email/emailInput.tsx
|
|
6
6
|
var EMAIL_REGEX = /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;
|
|
7
|
-
var EmailInput = ({ value, emailError, label, labelHint, disabled = false, required = false, onEmailChange, onBlur }) => {
|
|
7
|
+
var EmailInput = ({ value, emailError, label, labelHint, disabled = false, required = false, id = "email-input", "data-testid": dataTestId, onEmailChange, onBlur }) => {
|
|
8
8
|
const { t } = useTranslation();
|
|
9
9
|
const handleEmailChange = (e) => {
|
|
10
10
|
const trimmed = e.target.value.trim();
|
|
@@ -16,7 +16,7 @@ var EmailInput = ({ value, emailError, label, labelHint, disabled = false, requi
|
|
|
16
16
|
class: "IncodeEmailInputContainer",
|
|
17
17
|
onFocusOut: onBlur,
|
|
18
18
|
children: /* @__PURE__ */ u(InputComposed, {
|
|
19
|
-
id
|
|
19
|
+
id,
|
|
20
20
|
type: "email",
|
|
21
21
|
value,
|
|
22
22
|
onInput: handleEmailChange,
|
|
@@ -25,7 +25,7 @@ var EmailInput = ({ value, emailError, label, labelHint, disabled = false, requi
|
|
|
25
25
|
required,
|
|
26
26
|
label,
|
|
27
27
|
labelHint,
|
|
28
|
-
"data-testid":
|
|
28
|
+
"data-testid": dataTestId ?? id,
|
|
29
29
|
"aria-label": !label ? "Email address" : void 0,
|
|
30
30
|
"aria-invalid": emailError ? "true" : void 0,
|
|
31
31
|
autocomplete: "email",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as useTranslation } from "./i18n-
|
|
1
|
+
import { n as useTranslation } from "./i18n-CU4xq8qC.js";
|
|
2
2
|
import { _ as y, l as A, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
3
|
import { r as Spacer } from "./loadingIcon-B0ysgiNq.js";
|
|
4
|
-
import { t as Page } from "./page-
|
|
5
|
-
import { t as Title } from "./typography-
|
|
6
|
-
import { t as Button } from "./button-
|
|
4
|
+
import { t as Page } from "./page-DidH_RkX.js";
|
|
5
|
+
import { t as Title } from "./typography-BZIpjo97.js";
|
|
6
|
+
import { t as Button } from "./button-Dz6AsbmF.js";
|
|
7
7
|
//#region src/shared/icons/redStrikeIcon.tsx
|
|
8
8
|
var RedStrikeIcon = ({ className, ...rest }) => /* @__PURE__ */ u("svg", {
|
|
9
9
|
class: className,
|
|
@@ -31,7 +31,7 @@ var RedStrikeIcon = ({ className, ...rest }) => /* @__PURE__ */ u("svg", {
|
|
|
31
31
|
* bottom). The optional attempts counter (added by core PR #439 / SDK 1
|
|
32
32
|
* `IdError` parity) renders only when `attemptsRemaining` is supplied.
|
|
33
33
|
*/
|
|
34
|
-
var ExpiredId = ({ onRetry, onContinue, attemptsRemaining }) => {
|
|
34
|
+
var ExpiredId = ({ onRetry, onContinue, attemptsRemaining, isBackSide }) => {
|
|
35
35
|
const { t } = useTranslation();
|
|
36
36
|
const titleRef = A(null);
|
|
37
37
|
y(() => {
|
|
@@ -56,7 +56,7 @@ var ExpiredId = ({ onRetry, onContinue, attemptsRemaining }) => {
|
|
|
56
56
|
/* @__PURE__ */ u(Spacer, { size: 12 }),
|
|
57
57
|
/* @__PURE__ */ u("p", {
|
|
58
58
|
class: "IncodeIdExpiredSubtitle",
|
|
59
|
-
children: t("idv2.capture.expiredId.pleaseTryWithADifferentId")
|
|
59
|
+
children: isBackSide ? t("idv2.digitalIdUpload.wrongDocumentTypeScreen.errorSubtitle") : t("idv2.capture.expiredId.pleaseTryWithADifferentId")
|
|
60
60
|
}),
|
|
61
61
|
/* @__PURE__ */ u(Spacer, { size: 80 }),
|
|
62
62
|
attemptsRemaining !== void 0 ? /* @__PURE__ */ u("p", {
|