@incodetech/web 2.4.1 → 2.5.0-rc.1
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/THIRD_PARTY_NOTICES.txt +1 -4
- package/dist/{GeolocationPermissionDenied-GbB9B3J0.js → GeolocationPermissionDenied-C7oh9rAr.js} +23 -8
- package/dist/Password-CV69m5l9.js +212 -0
- package/dist/RadioGroup-DmCpmlJN.js +123 -0
- package/dist/RequiredLegend-CLQ0HX7d.js +16 -0
- package/dist/RequiredMarker-CAqxArxr.js +16 -0
- package/dist/TextField-D41q5WTe.js +166 -0
- package/dist/ae-signature/ae-signature.es.js +4 -4
- package/dist/{af-ZA-Dm5i-KRC.js → af-ZA-Bp16S_5w.js} +135 -881
- package/dist/{ageVerification-n-1fouaD.js → ageVerification-BBnJYo9K.js} +10 -8
- package/dist/{am-UBTEdpJv.js → am-CWJUWWuF.js} +135 -881
- package/dist/antifraud/antifraud.es.js +5 -4
- package/dist/applyStudioConfig-20qjppIu.js +126 -0
- package/dist/{ar-AE--KjG2EAr.js → ar-AE-O12WV51F.js} +136 -882
- package/dist/{ar-RFuhholc.js → ar-DgUYRgR_.js} +135 -881
- package/dist/{ar-EG-y8SWJjy1.js → ar-EG-C7LOd56j.js} +135 -881
- package/dist/assertClassBrand-F6pL6aIr.js +17 -0
- package/dist/authentication/authentication.es.js +9 -6
- package/dist/autoFocusTitle-C2Ro8zdn.js +19 -0
- package/dist/{az-4Z0ZZq7T.js → az-DusLpWep.js} +135 -881
- package/dist/{back-horizontal-hint-BztyPanp.js → back-horizontal-hint-Bci98ivl.js} +1 -1
- package/dist/{back-vertical-hint-BSzA4QbJ.js → back-vertical-hint-DyPCItxn.js} +1 -1
- package/dist/base.css +1 -1
- package/dist/{baseTutorial-BixkM88z.js → baseTutorial-BBwEV7AE.js} +9 -7
- package/dist/{bn-CNhjOqja.js → bn-CX4BixDE.js} +135 -881
- package/dist/{bottomSheet-B4REej8W.js → bottomSheet-DRRJstLk.js} +3 -3
- package/dist/{bs-Culcuxab.js → bs-DTnRhENx.js} +134 -880
- package/dist/{ca-h1xwo6CW.js → ca-DBI3m_a_.js} +134 -880
- package/dist/cameraOverlay-Bz9UJCHp.js +2 -0
- package/dist/{cameraOverlayHeader-D4Bjr6Fw.js → cameraOverlayHeader-VCCUFLoy.js} +9 -8
- package/dist/{cameraView-BpdAdfIK.js → cameraView-CKWEmlho.js} +13 -14
- package/dist/capture-B6vGKsRf.js +3 -0
- package/dist/capture-B_WX2h2H.js +2 -0
- package/dist/{tutorial-HfSD-QZ3.js → capture-BszIVhdg.js} +226 -82
- package/dist/capture-wy0SZwxu.js +754 -0
- package/dist/captureButtonIcon-DhTUlcGq.js +1 -0
- package/dist/captureFocusContext-OuX65pCg.js +718 -0
- package/dist/captureFooter-5KiLmkNi.js +47 -0
- package/dist/{ceb-pTDH3h1x.js → ceb-fG0bt_zV.js} +135 -881
- package/dist/certificate-issuance/certificate-issuance.es.js +68 -41
- package/dist/certificate-issuance/styles.css +1 -1
- package/dist/certificate-issuance/styles.css.js +1 -1
- package/dist/{checkbox-CALR7EFM.js → checkbox-tpW2Q3Zi.js} +4 -4
- package/dist/chooser-CqCxdQx8.js +1517 -0
- package/dist/connectionError-D67rCsgf.js +100 -0
- package/dist/consent/consent.es.js +19 -14
- package/dist/consent/styles.css +1 -1
- package/dist/consent/styles.css.js +1 -1
- package/dist/{countryDefinitions-BO9OSKQO.js → countryDefinitions-UXJ0maPk.js} +6 -0
- package/dist/{countryFlag-2Vj85OIZ.js → countryFlag-CjuXF_8C.js} +1 -1
- package/dist/{countrySelector-DKvvYxP6.js → countrySelector-mjGgTZBA.js} +6 -5
- package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -4
- package/dist/{cs-CZ-CiATe8nW.js → cs-CZ-DCggApzq.js} +134 -880
- package/dist/{cs-CrQuSSOI.js → cs-DsBY9V_4.js} +134 -880
- package/dist/curp-validation/curp-validation.es.js +97 -96
- package/dist/curp-validation/styles.css +1 -1
- package/dist/curp-validation/styles.css.js +1 -1
- package/dist/{customFields-DRwjotY-.js → customFields-COihEvWm.js} +33 -20
- package/dist/{customWatchlist-DmROVUfp.js → customWatchlist-CE5WPSMm.js} +11 -9
- package/dist/{da-DK-CgrU79mp.js → da-DK-B7LXeFYP.js} +134 -880
- package/dist/dashboardTheme-Cxl2WlSK.js +388 -0
- package/dist/{dateInputComposed-Bu7vM-M4.js → dateInputComposed-DqOzOxfP.js} +4 -5
- package/dist/dateInputComposed-kP5wiNvH.js +1 -0
- package/dist/{de-D0xnkswj.js → de-BhQ2hOut.js} +134 -880
- package/dist/denied-D4oFpTuV.js +272 -0
- package/dist/devWarn-SLn4Qexk.js +1034 -0
- package/dist/deviceWallet-CPP5AFbd.js +37 -0
- package/dist/{digitalIdRedirect-Dpv37Mbi.js → digitalIdRedirect-DqhYI_sj.js} +4 -4
- package/dist/{digitalIdUpload-DKXe-_GE.js → digitalIdUpload-p7Zcbeom.js} +37 -15
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/document-capture/styles.css +1 -1
- package/dist/document-capture/styles.css.js +1 -1
- package/dist/{documentCapture-DlBMtLvL.js → documentCapture-DXG8TB9t.js} +136 -72
- package/dist/documentCapture-DczZSZ4A.js +2 -0
- package/dist/dropdownComposed-C3uN_APy.js +1 -0
- package/dist/{dropdownComposed-B-qTBcja.js → dropdownComposed-CUBU43V3.js} +8 -6
- package/dist/dynamic-forms/dynamic-forms.es.js +62 -35
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekyb/styles.css +1 -1
- package/dist/ekyb/styles.css.js +1 -1
- package/dist/{ekybModule-qkUiNFdJ.js → ekybModule-mGfuTVTJ.js} +109 -89
- package/dist/ekybModule-xZtYttfn.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekyc/styles.css +1 -1
- package/dist/ekyc/styles.css.js +1 -1
- package/dist/ekyc-prefill/ekyc-prefill.es.js +2 -0
- package/dist/ekyc-prefill/styles.css +2 -0
- package/dist/ekyc-prefill/styles.css.js +1 -0
- package/dist/ekycModule-Cp-GdWbC.js +789 -0
- package/dist/ekycModule-DXy4cT0v.js +2 -0
- package/dist/ekycPrefillModule-BKbRJuek.js +233 -0
- package/dist/ekycPrefillModule-Cdu0zr52.js +2 -0
- package/dist/{el-B5gLXHxC.js → el-D-zg7VzS.js} +134 -880
- package/dist/{el-GR-DPUvlcvr.js → el-GR-D9eldyAW.js} +134 -880
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-Jx8qWrW-.js → electronic-signature-uWLkdb8_.js} +55 -36
- package/dist/email/email.es.js +21 -16
- package/dist/{emailInput-ClX3Lu8X.js → emailInput-Bd8XECrW.js} +23 -12
- package/dist/{en-DG-DOwBuCCl.js → en-DG-CKwP-05W.js} +135 -881
- package/dist/{en-DNuMvR7-.js → en-DY1lnV9V.js} +135 -881
- package/dist/{errorContent-B_pH1MX7.js → errorContent-CqXgrkbQ.js} +21 -20
- package/dist/errorParams-B7BZHaA4.js +37 -0
- package/dist/es-419-DCPTzJnF.js +5 -0
- package/dist/{es-DNl7ceDm.js → es-BKio8b3N.js} +135 -881
- package/dist/{es-ES-BF9vl0Um.js → es-ES-MZM-tZ4f.js} +134 -880
- package/dist/{es-MX-Brp4FXN8.js → es-MX-Bwa400AE.js} +134 -880
- package/dist/{et-D5pPP4r0.js → et-CxKV1DgL.js} +136 -882
- package/dist/expiredId-BGfpQzNG.js +67 -0
- package/dist/extensibility.es.js +382 -55
- package/dist/{fa-IR-BoyK-lax.js → fa-IR-C1bLFtOi.js} +135 -881
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/face-match/styles.css +1 -1
- package/dist/face-match/styles.css.js +1 -1
- package/dist/faceMatch-ClTodgeI.js +2 -0
- package/dist/{faceMatch-Dp1AGBtg.js → faceMatch-DpccWhgb.js} +54 -71
- package/dist/{fi-FI-mYdAUbtG.js → fi-FI-BC_3lqbM.js} +134 -880
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-CXSUE89Z.js +2 -0
- package/dist/fieldComparison-D2c7jots.js +126 -0
- package/dist/{fieldLabelHint-CxjArYkQ.js → fieldLabelHint-yMZjXK6p.js} +3 -3
- package/dist/{finalSuccessScreen-BgPVGAr4.js → finalSuccessScreen-D1AeAOtK.js} +31 -22
- package/dist/fiscal-qr/fiscal-qr.es.js +32 -26
- package/dist/flipAnimation-DwvNk514.js +46 -0
- package/dist/flipCapturedCardEligibility-C8ppBgP9.js +210 -0
- package/dist/flow/flow.es.js +315 -287
- package/dist/flow/shell/styles.css +1 -1
- package/dist/flow/shell/styles.css.js +1 -1
- package/dist/flow/styles.css +1 -1
- package/dist/formField-Bum3oh1A.js +49 -0
- package/dist/{fr-B4R5fgnm.js → fr-BGr4ZZSw.js} +134 -880
- package/dist/{fr-CA-DJSwRuWt.js → fr-CA-COfhYgrk.js} +134 -880
- package/dist/{front-horizontal-hint-DEHmtcdg.js → front-horizontal-hint-LxyNVfjy.js} +1 -1
- package/dist/{front-vertical-hint-Cb1NO-xT.js → front-vertical-hint-BKEg_DRs.js} +1 -1
- package/dist/geolocation/geolocation.es.js +15 -12
- package/dist/government-validation/government-validation.es.js +7 -6
- package/dist/{he-D2RDlnbd.js → he-BGdP9Cfd.js} +135 -881
- package/dist/helpButtonConfig-BFragC_J.js +24 -0
- package/dist/{hi-DFXhGN9O.js → hi-B8upUDpu.js} +135 -881
- package/dist/{hmn-BlNbfL-D.js → hmn-DOK-cZdX.js} +135 -881
- package/dist/{homeScreen-DjzxBrYL.js → homeScreen-CPaZiLqi.js} +26 -14
- package/dist/{incodeComponent-B-lwJJCV.js → hooks-C6m_ILVe.js} +256 -280
- package/dist/{hr-DArr3n62.js → hr-BjtqyvXa.js} +134 -880
- package/dist/{ht-CAd-Hmi1.js → ht-CbbFp5XL.js} +135 -881
- package/dist/{hu-CulT8eq_.js → hu-BXk1xFve.js} +135 -881
- package/dist/{icons-C2LgNjXy.js → icons-DLZTxOV2.js} +153 -80
- package/dist/id/id.es.js +167 -197
- package/dist/id/styles.css +1 -1
- package/dist/id/styles.css.js +1 -1
- package/dist/{id-D2VZL6b-.js → id-BrJu1D4k.js} +134 -880
- package/dist/{id-back-of-card-C7Au2tqk.js → id-back-of-card-BhF5T4fC.js} +1 -1
- package/dist/{id-back-of-card-vertical-CtQBFw8w.js → id-back-of-card-vertical-BudLiGPR.js} +1 -1
- package/dist/{id-front-of-card-BmHL_keG.js → id-front-of-card-CiGcJhVW.js} +1 -1
- package/dist/{id-front-of-card-vertical-DkNUn2Vx.js → id-front-of-card-vertical-C_GyecLf.js} +1 -1
- package/dist/id-selfie-flow/id-selfie-flow.es.js +13 -11
- package/dist/id-selfie-flow/styles.css +1 -1
- package/dist/id-verification/id-verification.es.js +12 -6
- package/dist/idFlipTransition-DMAbw1_Y.js +154 -0
- package/dist/{idOcr-BWG3vj8j.js → idOcr-D9zxy2eU.js} +64 -37
- package/dist/identity-reuse/identity-reuse.es.js +38 -25
- package/dist/identity-reuse/styles.css.js +1 -0
- package/dist/incodeComponent-DPY-ikO3.js +235 -0
- package/dist/incodeModule-Dyy5PfM4.js +41 -0
- package/dist/index.es.js +4 -3
- package/dist/{inputComposed-B35soRFg.js → inputComposed-BG3XgpYE.js} +4 -4
- package/dist/{it-fs9OkGbv.js → it-DI-TPE-K.js} +135 -881
- package/dist/{ja-BvKVI6Oo.js → ja-3XIFqaXu.js} +135 -881
- package/dist/{ja-JP-C5-gDGuX.js → ja-JP-BAeRWiVk.js} +136 -882
- package/dist/{jv-CyId7aPo.js → jv-BhjQxxBl.js} +134 -880
- package/dist/{ka-pqIPc2el.js → ka-Bx4-RrZ_.js} +135 -881
- package/dist/{kk-DK7mWl6k.js → kk-Ct91ZRbP.js} +134 -880
- package/dist/{km-BaJYdDrm.js → km-BWQuuNXz.js} +142 -888
- package/dist/{ko-CdYIGTH_.js → ko-Cve9iLc7.js} +135 -881
- package/dist/{ko-KP-Q3GGdDp3.js → ko-KP-0iLztCuj.js} +135 -881
- package/dist/{ky-Bc7ZXIXy.js → ky-DGt4vj88.js} +134 -880
- package/dist/kyb-checks/kyb-checks.es.js +2 -0
- package/dist/kyb-checks/styles.css +2 -0
- package/dist/kyb-checks/styles.css.js +1 -0
- package/dist/kybChecksModule-BlLRwSFe.js +2 -0
- package/dist/kybChecksModule-DmjxRBhO.js +345 -0
- package/dist/{lo-0jgAavCe.js → lo-DPvsfR2F.js} +135 -881
- package/dist/{lt-DDEjR6RD.js → lt-BMI5NrHt.js} +134 -880
- package/dist/{lv-Ddzb_N3H.js → lv-Bpw5rGRP.js} +135 -881
- package/dist/{mandatoryConsent-C21a2d2-.js → mandatoryConsent-Blhxc0KK.js} +23 -16
- package/dist/{manualCaptureButton-1KC7N_B-.js → manualCaptureButton-B1hLcNl4.js} +8 -7
- package/dist/{manualCaptureButton-C5VMDamt.js → manualCaptureButton-Cr-FQ3-N.js} +16 -12
- package/dist/{mk-SJwou4aX.js → mk-C9Z-5xUg.js} +135 -881
- package/dist/{mn-7B86xjpb.js → mn-p0zBw-tm.js} +134 -880
- package/dist/{ms-Bb-SlQCF.js → ms-CF8aT_Qq.js} +134 -880
- package/dist/{my-3ci4RJZY.js → my-CqWwTa_5.js} +135 -881
- package/dist/{nb-NO-DpZAni0R.js → nb-NO-C7Hb8Ok5.js} +134 -880
- package/dist/{ne-Dncyvxqt.js → ne-B5InVJ21.js} +135 -881
- package/dist/{nl-C1mnzCBH.js → nl-aJiBBLFg.js} +134 -880
- package/dist/{optionAccessibleLabel-DG8Lks9f.js → optionAccessibleLabel-JFrEz0Ax.js} +27 -11
- package/dist/otpInput-Bn8PHFh7.js +245 -0
- package/dist/{page-DINsqGIw.js → page-b7Hx6klV.js} +102 -79
- package/dist/{incode-logo-B1bl2S0z.js → pageUiConfig-BlsOWl2d.js} +88 -14
- package/dist/{passport-horizontal-hint-DgNc6F0-.js → passport-horizontal-hint-Bn18pckF.js} +1 -1
- package/dist/{passport-vertical-hint-B-toVsfT.js → passport-vertical-hint-D_bvTNZY.js} +1 -1
- package/dist/passwordRequirements-13qw_WSJ.js +49 -0
- package/dist/{pdf-BKHLi5Ac.js → pdf-DO_HvE8T.js} +2 -17
- package/dist/pdfViewer-BT-O-Zj1.js +2 -0
- package/dist/{pdfViewer-C8xHykz1.js → pdfViewer-D_sXx3SF.js} +11 -14
- package/dist/permissionInstructionList-CGo9uSeQ.js +43 -0
- package/dist/{permissions-B7-lHrFm.js → permissions-CS58hLHp.js} +84 -53
- package/dist/phone/phone.es.js +16 -12
- package/dist/{phoneInputComposed-Di4acsc0.js → phoneInputComposed-Dc2lHg4Z.js} +49 -12
- package/dist/{pl-CWr2fVBg.js → pl-CDmSpQ_-.js} +134 -880
- package/dist/preloadableLazy-KWGuHoqn.js +43 -0
- package/dist/{processing-z5wuXrKw.js → processing-C5A54RCC.js} +2 -2
- package/dist/{progressBar-BcKFaXZR.js → progressBar-CmkJY5xT.js} +2 -2
- package/dist/{pt-AGz2XGAK.js → pt-0SO_cPU9.js} +135 -881
- package/dist/{pt-BR-CMvTsOqE.js → pt-BR-BEfs5M8G.js} +135 -881
- package/dist/{pt-PT-KzIM0vpf.js → pt-PT-ONBmg0BR.js} +135 -881
- package/dist/qe-signature/qe-signature.es.js +4 -4
- package/dist/realtimeFeedbackConfig-DeZksjlR.js +16 -0
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +66 -62
- package/dist/redirect-to-mobile/styles.css +1 -1
- package/dist/redirect-to-mobile/styles.css.js +1 -1
- package/dist/{registerIncodeElement-D_cn4dSI.js → registerIncodeElement-FoirFu19.js} +1 -1
- package/dist/{resendTimer-On_zrMLS.js → resendTimer-B7aR2zn3.js} +2 -2
- package/dist/richText-DlHC_sMB.js +1761 -0
- package/dist/{ro-DYdJJDKn.js → ro-ChyvDsu3.js} +135 -881
- package/dist/{ru-C1cguVi2.js → ru-B_vdxKv-.js} +134 -880
- package/dist/{ru-RU-18JeDfwz.js → ru-RU-CrvUlCJj.js} +134 -880
- package/dist/{sanitizeSvg-BC-qLUgS.js → sanitizeSvg-IfqLuP1N.js} +1 -1
- package/dist/selfie/selfie.es.js +37 -14
- package/dist/selfie/styles.css +1 -1
- package/dist/selfie/styles.css.js +1 -1
- package/dist/signature/signature.es.js +18 -13
- package/dist/{sk-CtIcnYOo.js → sk-ljMYKwHQ.js} +136 -882
- package/dist/{sl-DS_Gc0Wc.js → sl-BbVJSIEt.js} +135 -881
- package/dist/{smsTabContent-vE0WyKtg.js → smsTabContent-BOIszuLx.js} +40 -27
- package/dist/{so-dqMTkg5E.js → so-DTymvbrx.js} +135 -881
- package/dist/spacer-DQdgPJjU.js +1100 -0
- package/dist/spinner-DQf6JseL.js +69 -0
- package/dist/{sr-DgHGiiWM.js → sr-JVvblELi.js} +134 -880
- package/dist/{sr-Latn-Du7_x_Tr.js → sr-Latn-9I-jEoNt.js} +142 -888
- package/dist/sr-YU-AHJXObyx.js +5 -0
- package/dist/{sv-SE-Dw61hRjx.js → sv-SE-MhrEy6Di.js} +134 -880
- package/dist/{sw-De-Jo8XY.js → sw-2Mtjggv_.js} +135 -881
- package/dist/{th-BJixOgsM.js → th-CRCVvVIy.js} +135 -881
- package/dist/{th-TH-VyhljC5U.js → th-TH-BJP2vgt1.js} +135 -881
- package/dist/themes/dark.css +1 -1
- package/dist/themes/light.css +1 -1
- package/dist/{tl-DhjdqhA4.js → tl-CI98qs3U.js} +135 -881
- package/dist/{tl-PH-D2S2Irx7.js → tl-PH-Bwmbtl_j.js} +135 -881
- package/dist/{tr-BJAuvOwN.js → tr-Bjsibm46.js} +135 -881
- package/dist/{transitionSpinner-BZO916B1.js → transitionSpinner-BTr1yrwy.js} +7 -7
- package/dist/tutorial-DO3fs1fY.js +28 -0
- package/dist/types/ae-signature.d.ts +17 -4
- package/dist/types/antifraud.d.ts +17 -4
- package/dist/types/authentication.d.ts +17 -4
- package/dist/types/certificate-issuance.d.ts +17 -4
- package/dist/types/consent.d.ts +17 -4
- package/dist/types/cross-document-data-match.d.ts +17 -4
- package/dist/types/curp-validation.d.ts +17 -4
- package/dist/types/document-capture.d.ts +17 -4
- package/dist/types/dynamic-forms.d.ts +17 -4
- package/dist/types/ekyb.d.ts +17 -4
- package/dist/types/ekyc-prefill.d.ts +213 -0
- package/dist/types/ekyc.d.ts +17 -4
- package/dist/types/electronic-signature.d.ts +17 -4
- package/dist/types/email.d.ts +17 -4
- package/dist/types/extensibility.d.ts +204 -37
- package/dist/types/face-match.d.ts +17 -4
- package/dist/types/field-comparison.d.ts +17 -4
- package/dist/types/fiscal-qr.d.ts +17 -4
- package/dist/types/flow.d.ts +38 -5
- package/dist/types/geolocation.d.ts +17 -4
- package/dist/types/government-validation.d.ts +17 -4
- package/dist/types/id-selfie-flow.d.ts +17 -4
- package/dist/types/id-verification.d.ts +17 -4
- package/dist/types/id.d.ts +17 -4
- package/dist/types/identity-reuse.d.ts +18 -5
- package/dist/types/index.d.ts +92 -10
- package/dist/types/kyb-checks.d.ts +213 -0
- package/dist/types/phone.d.ts +17 -4
- package/dist/types/qe-signature.d.ts +17 -4
- package/dist/types/redirect-to-mobile.d.ts +1 -1
- package/dist/types/selfie.d.ts +17 -4
- package/dist/types/signature.d.ts +17 -4
- package/dist/types/video-selfie.d.ts +1 -1
- package/dist/types/watchlist.d.ts +17 -4
- package/dist/types/workflow.d.ts +17 -4
- package/dist/{typography-8iwtPQbj.js → typography-CyT20XIA.js} +3 -11
- package/dist/{uk-UA-BZR90qDZ.js → uk-UA-DmKAplUk.js} +135 -881
- package/dist/{uk-CcU91ee-.js → uk-fCdIfhh5.js} +134 -880
- package/dist/{ur-CIXtUYHK.js → ur-Dh9AF1hS.js} +135 -881
- package/dist/useCameraPreview-hNLhri73.js +93 -0
- package/dist/useCaptureHelpButton-CSuQmlEp.js +43 -0
- package/dist/useIsDarkTheme-DoOFy9TN.js +27 -0
- package/dist/{useModuleLoader-BdIp6TNQ.js → useModuleLoader-BCYS1xLP.js} +31 -18
- package/dist/{uz-CeLVgwAD.js → uz-DYarfGyT.js} +135 -881
- package/dist/{vendor-preact-C0jX1Cbq.js → vendor-preact-CjnloSla.js} +147 -5
- package/dist/{verificationResult-C2gxbmAo.js → verificationResult-C8jlwbOw.js} +30 -27
- package/dist/{vi-CgfGVVLY.js → vi-uK03Bfuc.js} +135 -881
- package/dist/video-selfie/styles.css +1 -1
- package/dist/video-selfie/styles.css.js +1 -1
- package/dist/video-selfie/video-selfie.es.js +120 -77
- package/dist/watchlist/watchlist.es.js +12 -9
- package/dist/{watchlistForBusiness-eOPtmu7z.js → watchlistForBusiness-DjSYKjVv.js} +63 -22
- package/dist/{withEndScreenTexts-aFUEeBgM.js → withEndScreenTexts-TlaaD6Qn.js} +253 -55
- package/dist/workflow/styles.css +1 -1
- package/dist/workflow/workflow.es.js +36 -28
- package/dist/{zh-CN-BOxod1_T.js → zh-CN-BkQoAg2R.js} +136 -882
- package/dist/{zh-HANT-zAahQ8nP.js → zh-HANT-DRh68ryN.js} +135 -881
- package/dist/{zh-B-kjeCig.js → zh-JlU3mjl9.js} +134 -880
- package/dist/{zh-TW-B0v7GYYG.js → zh-TW-ByGAHrvB.js} +135 -881
- package/package.json +48 -12
- package/dist/autoFocusTitle-Cy0J3lvr.js +0 -32
- package/dist/browser-ponyfill-DT11p-Ob.js +0 -441
- package/dist/cameraOverlay-DQEG24io.js +0 -2
- package/dist/check-icon-BpjpKqhJ.js +0 -48
- package/dist/connectionError-Cf6iGFyx.js +0 -45
- package/dist/dashboardTheme-CkyISqIs.js +0 -247
- package/dist/dateInputComposed-cgZGBSiu.js +0 -1
- package/dist/denied-ByGDWkTW.js +0 -1871
- package/dist/deviceWallet-C4UT05wN.js +0 -66
- package/dist/documentCapture-Dh1ftzGG.js +0 -2
- package/dist/dropdownComposed-DmT4s8VM.js +0 -1
- package/dist/ekybModule-BHInfPHS.js +0 -2
- package/dist/ekycModule-B2cfT3zi.js +0 -2
- package/dist/ekycModule-BQPl1KQT.js +0 -300
- package/dist/es-419-BU7r2Fvh.js +0 -3193
- package/dist/esm-15CISqPe.js +0 -430
- package/dist/expiredId-GIHjGAuY.js +0 -80
- package/dist/faceMatch-bXhejzhf.js +0 -2
- package/dist/fieldComparison-BirXQb7f.js +0 -2
- package/dist/fieldComparison-D8PL0eR1.js +0 -109
- package/dist/flipAnimation-BgMPQ8Ma.js +0 -3048
- package/dist/formField-0k8wVfXl.js +0 -60
- package/dist/incodeModule-DiVtqekm.js +0 -68
- package/dist/inputComposed-CKujYUSB.js +0 -1
- package/dist/numberedStep-CvbL3ht2.js +0 -13
- package/dist/otpInput-_B7xEZUU.js +0 -157
- package/dist/passwordInputComposed-B3WKjODU.js +0 -74
- package/dist/pdfViewer-DcB41xr7.js +0 -2
- package/dist/radioGroupComposed-CIbHjX4v.js +0 -160
- package/dist/radioGroupComposed-eXNWg1ez.js +0 -1
- package/dist/reload-icon-elAFo9-k.js +0 -70
- package/dist/richText-aCnLd3j2.js +0 -1549
- package/dist/spacer-lcnhSC-5.js +0 -741
- package/dist/spinner-B8BswhBb.js +0 -88
- package/dist/sr-YU-YuZu7wdb.js +0 -3197
- package/dist/statusPage-WIsGgf_m.js +0 -36
- package/dist/uiConfig-CwGL3QjP.js +0 -2589
- package/dist/useCaptureHelpButton-BTUZs3Ev.js +0 -86
- package/dist/useCoverMedia-VLw3OYN_.js +0 -149
- /package/dist/{aligndevicelottie-BARt-rhe.js → aligndevicelottie-BEKzL4SB.js} +0 -0
- /package/dist/{back-tutorial-CZrMmj1_.js → back-tutorial-B9W63fa-.js} +0 -0
- /package/dist/{backdevicelottie-CIM3ekd8.js → backdevicelottie-DsN8QBV3.js} +0 -0
- /package/dist/{blurdevicelottie-BRyXfLB6.js → blurdevicelottie-DkV7Kwo4.js} +0 -0
- /package/dist/{defineProperty-CjeJoXkx.js → defineProperty-B4FQTz14.js} +0 -0
- /package/dist/{flip-animation-BU5LNKYx.js → flip-animation-DJVnWWL5.js} +0 -0
- /package/dist/{frontdevicelottie-arpyu_Fz.js → frontdevicelottie-DiW1Wmya.js} +0 -0
- /package/dist/{glaredevicelottie-TwTFxe7h.js → glaredevicelottie-CK-fnX_s.js} +0 -0
- /package/dist/{id-laser-h-Dr-hBxrq.js → id-laser-h-6Am_cjM8.js} +0 -0
- /package/dist/{id-laser-v-D_r0QNY8.js → id-laser-v-DXoF3flH.js} +0 -0
- /package/dist/{id-tutorial-DM9Pkfs-.js → id-tutorial-DkKH3eTE.js} +0 -0
- /package/dist/{lottie_light-aMg9Q9iO.js → lottie_light-Bam05Bc9.js} +0 -0
- /package/dist/{passport-tutorial-CKZZuDf_.js → passport-tutorial-D3Fpk-Tj.js} +0 -0
- /package/dist/{pdf.worker.min-BM1b2w9V.js → pdf.worker.min-D0hm-8jN.js} +0 -0
- /package/dist/{policyUrls-B3M8nLRh.js → policyUrls-B3TEaluh.js} +0 -0
- /package/dist/{purify.es-0fCPkEV1.js → purify.es-DhY3JLdI.js} +0 -0
- /package/dist/{selfieTutorial-Dz6lDFMn.js → selfieTutorial-DnsRD1Z9.js} +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ComponentChildren } from 'preact';
|
|
2
|
+
import { ComponentProps } from 'preact';
|
|
2
3
|
import { CountryCode } from '@incodetech/core/phone-number';
|
|
3
4
|
import { CSSProperties } from 'preact';
|
|
4
5
|
import { FC } from 'preact/compat';
|
|
@@ -44,6 +45,35 @@ export declare type AnimationOverride = LottieAnimationData | {
|
|
|
44
45
|
|
|
45
46
|
export declare type AnimationOverrides = Partial<Record<AnimationKey, AnimationOverride>>;
|
|
46
47
|
|
|
48
|
+
/**
|
|
49
|
+
* Applies an Incode Studio export: the whole downloaded JSON document (not
|
|
50
|
+
* one section of it), plus the assets that ship beside it.
|
|
51
|
+
*
|
|
52
|
+
* ```ts
|
|
53
|
+
* import './incode-theme.css';
|
|
54
|
+
* import studioConfig from './CustomizationOptionsV2.json';
|
|
55
|
+
* import logo from './assets/logo-light.svg';
|
|
56
|
+
* import logoDark from './assets/logo-dark.svg';
|
|
57
|
+
*
|
|
58
|
+
* applyStudioConfig(studioConfig, { logoSrc: logo, logoDarkSrc: logoDark });
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* Merges into host config rather than replacing it, so applying a Studio
|
|
62
|
+
* export never drops animation or spinner overrides set elsewhere. Safe to
|
|
63
|
+
* call again later with a different export (e.g. per tenant).
|
|
64
|
+
*
|
|
65
|
+
* Colors and corner radius are not applied here. They come from the CSS file
|
|
66
|
+
* Studio exports alongside the JSON (`incode-theme.css`), which the host
|
|
67
|
+
* imports as a stylesheet. This call covers everything else.
|
|
68
|
+
*
|
|
69
|
+
* Throws on a structurally invalid document, which is a build-time mistake
|
|
70
|
+
* in a static file rather than a runtime condition. An unrecognized *value*
|
|
71
|
+
* in an otherwise valid field is tolerated instead: it usually means Studio
|
|
72
|
+
* is ahead of this SDK version, so the SDK default applies and a warning is
|
|
73
|
+
* logged in development only.
|
|
74
|
+
*/
|
|
75
|
+
export declare function applyStudioConfig(config: StudioConfig | string, assets?: StudioAssets): void;
|
|
76
|
+
|
|
47
77
|
/**
|
|
48
78
|
* Allowlisted keys for overridable branded SVG illustrations
|
|
49
79
|
*/
|
|
@@ -202,6 +232,7 @@ declare type CameraViewProps = {
|
|
|
202
232
|
children: ComponentChildren;
|
|
203
233
|
videoRef?: Ref<HTMLVideoElement>;
|
|
204
234
|
onPlaying?: () => void;
|
|
235
|
+
onPreviewPendingChange?: (pending: boolean) => void;
|
|
205
236
|
className?: string;
|
|
206
237
|
mirrored?: boolean;
|
|
207
238
|
'data-testid'?: string;
|
|
@@ -230,6 +261,7 @@ declare type CaptureFooterProps = {
|
|
|
230
261
|
showHelpButton?: boolean;
|
|
231
262
|
className?: string;
|
|
232
263
|
inactive?: boolean;
|
|
264
|
+
captureDisabled?: boolean;
|
|
233
265
|
};
|
|
234
266
|
|
|
235
267
|
/** Everything the help button needs, independent of where it mounts. */
|
|
@@ -323,6 +355,11 @@ declare type ChooserProps = {
|
|
|
323
355
|
}>;
|
|
324
356
|
};
|
|
325
357
|
|
|
358
|
+
/**
|
|
359
|
+
* Corner the close button renders in. Defaults to `topRight`.
|
|
360
|
+
*/
|
|
361
|
+
declare const CLOSE_BUTTON_POSITIONS: readonly ["topRight", "topLeft"];
|
|
362
|
+
|
|
326
363
|
/** Close button data, independent of where it mounts. */
|
|
327
364
|
declare type CloseButton = {
|
|
328
365
|
onQuit: () => void;
|
|
@@ -334,8 +371,7 @@ declare type CloseButtonOptions = {
|
|
|
334
371
|
onClose?: () => void;
|
|
335
372
|
};
|
|
336
373
|
|
|
337
|
-
|
|
338
|
-
declare type CloseButtonPosition = 'topRight' | 'topLeft';
|
|
374
|
+
declare type CloseButtonPosition = (typeof CLOSE_BUTTON_POSITIONS)[number];
|
|
339
375
|
|
|
340
376
|
export declare const CloseIcon: FC<CloseIconProps>;
|
|
341
377
|
|
|
@@ -351,7 +387,7 @@ declare type CloseIconProps = {
|
|
|
351
387
|
* the UI boundary so core config types (e.g. `IdCaptureConfig`) stay untouched;
|
|
352
388
|
* `FlowConfig` also declares the maps directly.
|
|
353
389
|
*/
|
|
354
|
-
declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides;
|
|
390
|
+
declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides & ModuleCancelOptions;
|
|
355
391
|
|
|
356
392
|
/**
|
|
357
393
|
* Full-screen "no internet connection" state, shown whenever a backend request
|
|
@@ -360,18 +396,29 @@ declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides;
|
|
|
360
396
|
* than inside a single module. Composes the shared `StatusPage` primitive
|
|
361
397
|
* (icon + title + subtitle + actions) so it stays visually consistent with the
|
|
362
398
|
* rest of the status/result screens. Copy defaults to the shared
|
|
363
|
-
* `connectionError.*` namespace and can be overridden per caller.
|
|
399
|
+
* `connectionError.*` namespace and can be overridden per caller. It can show
|
|
400
|
+
* offline, before the translation bundle loads, so it reads `I18N_LOCAL`
|
|
401
|
+
* fallbacks through `useTranslationWithFallback`.
|
|
364
402
|
*/
|
|
365
403
|
export declare const ConnectionError: FC<ConnectionErrorProps>;
|
|
366
404
|
|
|
367
405
|
declare type ConnectionErrorProps = {
|
|
368
|
-
/**
|
|
369
|
-
|
|
406
|
+
/** Shows a secondary "Close" button that invokes this callback. */
|
|
407
|
+
onClose?: () => void;
|
|
408
|
+
/**
|
|
409
|
+
* Shows a primary "Refresh" button that invokes this callback.
|
|
410
|
+
* @deprecated The SDK screen has no Refresh button: it closes by itself when
|
|
411
|
+
* the connection returns. Use `onClose` to let the user leave.
|
|
412
|
+
*/
|
|
413
|
+
onRefresh?: () => void;
|
|
370
414
|
/** Overrides the default connectivity title copy. */
|
|
371
415
|
title?: string;
|
|
372
416
|
/** Overrides the default connectivity subtitle copy. */
|
|
373
417
|
subtitle?: string;
|
|
374
|
-
/**
|
|
418
|
+
/**
|
|
419
|
+
* Overrides the default refresh button label.
|
|
420
|
+
* @deprecated Applies only to the deprecated `onRefresh` button.
|
|
421
|
+
*/
|
|
375
422
|
refreshLabel?: string;
|
|
376
423
|
};
|
|
377
424
|
|
|
@@ -455,6 +502,9 @@ declare type ErrorIconProps = {
|
|
|
455
502
|
size?: number | string;
|
|
456
503
|
};
|
|
457
504
|
|
|
505
|
+
/** A list value (`lengths: [8, 10]`) is shown as "8 or 10". */
|
|
506
|
+
declare type ErrorParams = Record<string, string | number | ReadonlyArray<string | number>>;
|
|
507
|
+
|
|
458
508
|
export declare const EyeIcon: FC<EyeIconProps>;
|
|
459
509
|
|
|
460
510
|
declare type EyeIconProps = {
|
|
@@ -498,7 +548,7 @@ declare type FormFieldProps = {
|
|
|
498
548
|
displayLabel?: string;
|
|
499
549
|
value?: string;
|
|
500
550
|
error?: string;
|
|
501
|
-
errorParams?:
|
|
551
|
+
errorParams?: ErrorParams;
|
|
502
552
|
type?: string;
|
|
503
553
|
placeholder?: string;
|
|
504
554
|
placeholderParams?: Record<string, string>;
|
|
@@ -524,8 +574,13 @@ export declare function getCountryByCode(code: string | undefined): CountryData
|
|
|
524
574
|
* Where the capture help button renders. `topLeft`/`topRight` float outside
|
|
525
575
|
* the footer — the footer's own box only covers the bottom of the screen, so
|
|
526
576
|
* a top offset inside it would land mid-screen, not near the header.
|
|
577
|
+
*
|
|
578
|
+
* The array is the source of truth; the type is derived from it so a caller
|
|
579
|
+
* validating an untrusted value can reuse the same list.
|
|
527
580
|
*/
|
|
528
|
-
|
|
581
|
+
declare const HELP_BUTTON_POSITIONS: readonly ["bottomRight", "topRight", "topLeft"];
|
|
582
|
+
|
|
583
|
+
export declare type HelpButtonPosition = (typeof HELP_BUTTON_POSITIONS)[number];
|
|
529
584
|
|
|
530
585
|
export declare const HelpIcon: FC<HelpIconProps>;
|
|
531
586
|
|
|
@@ -598,7 +653,7 @@ declare type IncodeComponentProps = {
|
|
|
598
653
|
/**
|
|
599
654
|
* Extra context passed to `onFinish` alongside the result. Lets a host decide
|
|
600
655
|
* how to react to the terminal state without inspecting the DOM. Only the
|
|
601
|
-
* workflow
|
|
656
|
+
* flow and workflow modules set these fields.
|
|
602
657
|
*/
|
|
603
658
|
declare type IncodeFinishMeta = {
|
|
604
659
|
/**
|
|
@@ -614,14 +669,18 @@ declare type IncodeFinishMeta = {
|
|
|
614
669
|
*/
|
|
615
670
|
sdkOwnsTerminalScreen?: boolean;
|
|
616
671
|
/**
|
|
617
|
-
* True when the workflow is OAuth2-secured. The OAuth authorization server
|
|
672
|
+
* True when the flow or workflow is OAuth2-secured. The OAuth authorization server
|
|
618
673
|
* owns the redirect back to the client's `redirect_uri`, so the host must not
|
|
619
674
|
* navigate to `redirectionUrl` itself. A host redirect drops the `error` and
|
|
620
675
|
* `state` parameters, and the client reads a failed authentication as a
|
|
621
|
-
* success.
|
|
676
|
+
* success. Flow and workflow always set it on finish; treat a missing value as
|
|
622
677
|
* unknown.
|
|
623
678
|
*/
|
|
624
679
|
oauth2Secured?: boolean;
|
|
680
|
+
/** Suppress the final redirect on a browser reached through a mobile handoff. */
|
|
681
|
+
redirectOriginOnly?: boolean;
|
|
682
|
+
/** Desktop observed completion on the linked mobile device. */
|
|
683
|
+
completedOnMobile?: boolean;
|
|
625
684
|
};
|
|
626
685
|
|
|
627
686
|
export declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
|
|
@@ -772,6 +831,7 @@ export declare const Modal: {
|
|
|
772
831
|
Root: typeof ModalRoot;
|
|
773
832
|
Content: typeof ModalContent;
|
|
774
833
|
Close: typeof ModalClose;
|
|
834
|
+
Header: typeof ModalHeader;
|
|
775
835
|
Icon: typeof ModalIcon;
|
|
776
836
|
TitleSection: typeof ModalTitleSection;
|
|
777
837
|
Title: typeof ModalTitle;
|
|
@@ -803,6 +863,15 @@ declare type ModalContentProps = {
|
|
|
803
863
|
class?: string;
|
|
804
864
|
};
|
|
805
865
|
|
|
866
|
+
declare function ModalHeader({ title, subtitle, showSubtitle, icon, variant, headingProps, headingRef, subtitleProps, titleTopSlot, class: className, }: ModalHeaderProps): JSX.Element;
|
|
867
|
+
|
|
868
|
+
declare type ModalHeaderProps = Pick<ComponentProps<typeof Title>, 'subtitle' | 'showSubtitle' | 'icon' | 'variant' | 'headingProps' | 'headingRef' | 'subtitleProps'> & {
|
|
869
|
+
title: string;
|
|
870
|
+
/** Custom artwork above the title; takes precedence over the Prizma icon. */
|
|
871
|
+
titleTopSlot?: ComponentChildren;
|
|
872
|
+
class?: string;
|
|
873
|
+
};
|
|
874
|
+
|
|
806
875
|
declare function ModalIcon({ children, class: className }: ModalIconProps): JSX.Element;
|
|
807
876
|
|
|
808
877
|
declare type ModalIconProps = {
|
|
@@ -860,6 +929,15 @@ declare type ModalTitleSectionProps = {
|
|
|
860
929
|
align?: 'center' | 'left';
|
|
861
930
|
};
|
|
862
931
|
|
|
932
|
+
/**
|
|
933
|
+
* Behavior option on a module's `config` (flow, workflow or standalone module).
|
|
934
|
+
* Not a theme option: it decides whether the end user may quit, so it is set by
|
|
935
|
+
* the integrator's code and never read from a Studio export or the dashboard.
|
|
936
|
+
*/
|
|
937
|
+
declare type ModuleCancelOptions = {
|
|
938
|
+
allowUserToCancel?: boolean;
|
|
939
|
+
};
|
|
940
|
+
|
|
863
941
|
declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
|
|
864
942
|
|
|
865
943
|
export declare const OtpInput: FC<OtpInputProps>;
|
|
@@ -896,7 +974,7 @@ declare type OverlayProps = {
|
|
|
896
974
|
class?: string;
|
|
897
975
|
};
|
|
898
976
|
|
|
899
|
-
export declare const Page: ({ title, titleId, subtitle, titleTopSlot, className, logo, children, hideHeader, hideFooterBranding, footerBrandingSlot, "data-testid": dataTestId, "data-permission-status": dataPermissionStatus, }: PageProps) => JSX.Element;
|
|
977
|
+
export declare const Page: ({ title, titleId, subtitle, titleTopSlot, className, logo, children, hideHeader, hideFooterBranding, footerBrandingSlot, theme, "data-testid": dataTestId, "data-permission-status": dataPermissionStatus, }: PageProps) => JSX.Element;
|
|
900
978
|
|
|
901
979
|
declare type PageProps = {
|
|
902
980
|
children?: ComponentChildren;
|
|
@@ -908,11 +986,18 @@ declare type PageProps = {
|
|
|
908
986
|
className?: string;
|
|
909
987
|
logo?: {
|
|
910
988
|
src?: string;
|
|
989
|
+
/** @deprecated Has no effect: the logo is sized by its shape. */
|
|
911
990
|
height?: string;
|
|
912
991
|
};
|
|
913
992
|
hideFooterBranding?: boolean;
|
|
914
993
|
hideHeader?: boolean;
|
|
915
994
|
footerBrandingSlot?: ComponentChildren;
|
|
995
|
+
/**
|
|
996
|
+
* Pins this screen to one theme whatever the document theme is, for screens
|
|
997
|
+
* that must stay light on camera (the face frame). Colors and the logo
|
|
998
|
+
* follow the pin, not the document.
|
|
999
|
+
*/
|
|
1000
|
+
theme?: Theme;
|
|
916
1001
|
'data-testid'?: string;
|
|
917
1002
|
'data-permission-status'?: string;
|
|
918
1003
|
};
|
|
@@ -978,6 +1063,12 @@ declare type PhoneInputOwnProps = {
|
|
|
978
1063
|
disabled?: boolean;
|
|
979
1064
|
disableCountrySelector?: boolean;
|
|
980
1065
|
required?: boolean;
|
|
1066
|
+
/**
|
|
1067
|
+
* Most national significant digits the user can type: the calling code and
|
|
1068
|
+
* a trunk prefix don't count, as in Core's `phoneDigits`. Digits past it are
|
|
1069
|
+
* dropped as they're typed or pasted, once the phone rules have loaded.
|
|
1070
|
+
*/
|
|
1071
|
+
maxDigits?: number;
|
|
981
1072
|
onChange?: (fullNumber: string, isValid: boolean) => void;
|
|
982
1073
|
formatHintBuilder?: (example: string) => string | undefined;
|
|
983
1074
|
countryAriaLabelBuilder?: (args: {
|
|
@@ -1066,8 +1157,13 @@ declare type RadioGroupOption = {
|
|
|
1066
1157
|
* - `standard` — the full message: Lottie animation beside the copy.
|
|
1067
1158
|
* - `minimal` — compact: no animation, copy centred. More legible on small
|
|
1068
1159
|
* screens, where the animation crowds the text out of the frame.
|
|
1160
|
+
*
|
|
1161
|
+
* The array is the source of truth; the type is derived from it so a caller
|
|
1162
|
+
* validating an untrusted value can reuse the same list.
|
|
1069
1163
|
*/
|
|
1070
|
-
|
|
1164
|
+
declare const REALTIME_FEEDBACK_MESSAGE_UI_FLAVORS: readonly ["standard", "minimal"];
|
|
1165
|
+
|
|
1166
|
+
export declare type RealtimeFeedbackMessageUIFlavor = (typeof REALTIME_FEEDBACK_MESSAGE_UI_FLAVORS)[number];
|
|
1071
1167
|
|
|
1072
1168
|
export declare const SearchIcon: FC<SearchIconProps>;
|
|
1073
1169
|
|
|
@@ -1097,14 +1193,14 @@ export declare const SelfieCapture: FC<CaptureProps>;
|
|
|
1097
1193
|
export declare const SelfieTutorial: ({ manager, ageAssurance }: TutorialProps) => JSX.Element;
|
|
1098
1194
|
|
|
1099
1195
|
/**
|
|
1100
|
-
* Sets global UI configuration defaults for `@incodetech/
|
|
1196
|
+
* Sets global UI configuration defaults for `@incodetech/web`.
|
|
1101
1197
|
*
|
|
1102
1198
|
* Replaces (does not merge with) the previous host-supplied config, so omitting
|
|
1103
1199
|
* a field clears it. The dashboard theme is held separately and is unaffected.
|
|
1104
1200
|
*/
|
|
1105
1201
|
export declare function setUiConfig(next: UiConfig): void;
|
|
1106
1202
|
|
|
1107
|
-
export declare const Spacer:
|
|
1203
|
+
export declare const Spacer: FunctionComponent<SpacerProps>;
|
|
1108
1204
|
|
|
1109
1205
|
declare type SpacerProps = {
|
|
1110
1206
|
size?: number | string;
|
|
@@ -1151,7 +1247,11 @@ declare type SpinnerProps = {
|
|
|
1151
1247
|
/** Subtitle text to display below the title */
|
|
1152
1248
|
subtitle?: string;
|
|
1153
1249
|
ariaLabel?: string;
|
|
1154
|
-
/**
|
|
1250
|
+
/**
|
|
1251
|
+
* Size of the spinner icon (24 / 48 / 64px). Omit it to use Prizma's
|
|
1252
|
+
* loader size (`--prizma-spinner-ring-size`, 48px today), so a Prizma
|
|
1253
|
+
* change reaches us. Pass it only for a size someone configured.
|
|
1254
|
+
*/
|
|
1155
1255
|
size?: SpinnerSize;
|
|
1156
1256
|
/** Whether to fill the SDK container */
|
|
1157
1257
|
fullScreen?: boolean;
|
|
@@ -1191,6 +1291,41 @@ export declare type SpinnerRenderMode = 'spinnerAndText' | 'spinnerOnly' | 'text
|
|
|
1191
1291
|
|
|
1192
1292
|
export declare type SpinnerSize = 'small' | 'medium' | 'large';
|
|
1193
1293
|
|
|
1294
|
+
/**
|
|
1295
|
+
* The parts of a Studio theme that travel outside the JSON document. Today
|
|
1296
|
+
* that is the logo (shipped in the export's `assets/` folder); typography and
|
|
1297
|
+
* other assets will join here as Studio adds them.
|
|
1298
|
+
*/
|
|
1299
|
+
export declare type StudioAssets = {
|
|
1300
|
+
/** URL of the logo from the Studio export's `assets/` folder. */
|
|
1301
|
+
logoSrc?: string;
|
|
1302
|
+
/** URL of the dark-theme logo. The light logo is used when it is absent. */
|
|
1303
|
+
logoDarkSrc?: string;
|
|
1304
|
+
};
|
|
1305
|
+
|
|
1306
|
+
/** One Studio export. Applied by {@link applyStudioConfig}. */
|
|
1307
|
+
export declare type StudioConfig = {
|
|
1308
|
+
theme?: StudioThemeConfig;
|
|
1309
|
+
ux?: StudioUxConfig;
|
|
1310
|
+
};
|
|
1311
|
+
|
|
1312
|
+
/**
|
|
1313
|
+
* The parts of a Studio export's `theme` section that JS must apply. Colors,
|
|
1314
|
+
* radius and typography are not here — they ride the CSS file.
|
|
1315
|
+
*/
|
|
1316
|
+
export declare type StudioThemeConfig = {
|
|
1317
|
+
displayMode?: string;
|
|
1318
|
+
};
|
|
1319
|
+
|
|
1320
|
+
/** The `ux` section of a Studio export. `theme` (colors, radius, typography) applies via CSS, not this type. */
|
|
1321
|
+
export declare type StudioUxConfig = {
|
|
1322
|
+
showFooter?: boolean;
|
|
1323
|
+
helpButtonPosition?: string;
|
|
1324
|
+
realtimeFeedbackMessageUIFlavor?: string;
|
|
1325
|
+
closeButtonPosition?: string;
|
|
1326
|
+
headerAlignment?: string;
|
|
1327
|
+
};
|
|
1328
|
+
|
|
1194
1329
|
export declare const SuccessIcon: FC<SuccessIconProps>;
|
|
1195
1330
|
|
|
1196
1331
|
declare type SuccessIconProps = {
|
|
@@ -1226,13 +1361,40 @@ declare type TextAreaProps = Omit<JSX.IntrinsicElements['textarea'], 'class'> &
|
|
|
1226
1361
|
|
|
1227
1362
|
declare type TextSize = 'M' | 'S';
|
|
1228
1363
|
|
|
1364
|
+
declare type Theme = (typeof THEMES)[number];
|
|
1365
|
+
|
|
1366
|
+
declare const THEMES: readonly ["light", "dark"];
|
|
1367
|
+
|
|
1229
1368
|
export declare const Title: FunctionalComponent<PropsWithoutRef<TitleProps> & {
|
|
1230
1369
|
ref?: Ref<HTMLHeadingElement> | undefined;
|
|
1231
1370
|
}>;
|
|
1232
1371
|
|
|
1372
|
+
declare type TitleIconSlot = {
|
|
1373
|
+
type: 'status';
|
|
1374
|
+
status: 'success' | 'error' | 'warning';
|
|
1375
|
+
} | {
|
|
1376
|
+
type: 'spinner';
|
|
1377
|
+
} | {
|
|
1378
|
+
type: 'none';
|
|
1379
|
+
};
|
|
1380
|
+
|
|
1233
1381
|
declare type TitleProps = HTMLAttributes_2<HTMLHeadingElement> & {
|
|
1382
|
+
/** Horizontal alignment. Default: `'centered'`. */
|
|
1383
|
+
variant?: 'centered' | 'left';
|
|
1384
|
+
icon?: TitleIconSlot;
|
|
1385
|
+
subtitle?: string;
|
|
1386
|
+
showSubtitle?: boolean;
|
|
1234
1387
|
children: ComponentChildren;
|
|
1235
|
-
|
|
1388
|
+
/** Native attributes for the SDK-rendered description, not a Prizma prop. */
|
|
1389
|
+
subtitleProps?: Omit<HTMLAttributes_2<HTMLParagraphElement>, 'children' | 'dangerouslySetInnerHTML'> & {
|
|
1390
|
+
[attribute: `data-${string}`]: string | number | boolean | undefined;
|
|
1391
|
+
};
|
|
1392
|
+
headingProps?: HTMLAttributes_2<HTMLHeadingElement>;
|
|
1393
|
+
headingRef?: Ref<HTMLHeadingElement>;
|
|
1394
|
+
wrapperProps?: Omit<HTMLAttributes_2<HTMLDivElement>, 'children' | 'title'> & {
|
|
1395
|
+
[attribute: `data-${string}`]: string | number | boolean | undefined;
|
|
1396
|
+
};
|
|
1397
|
+
wrapperRef?: Ref<HTMLDivElement>;
|
|
1236
1398
|
};
|
|
1237
1399
|
|
|
1238
1400
|
declare type TutorialProps = {
|
|
@@ -1263,20 +1425,30 @@ declare type TutorialProps_2 = {
|
|
|
1263
1425
|
shouldScaleAnimationContainer?: boolean;
|
|
1264
1426
|
};
|
|
1265
1427
|
|
|
1266
|
-
export declare const TypographyH1: FunctionalComponent<PropsWithoutRef<
|
|
1428
|
+
export declare const TypographyH1: FunctionalComponent<PropsWithoutRef<TypographyProps> & {
|
|
1267
1429
|
ref?: Ref<HTMLHeadingElement> | undefined;
|
|
1268
1430
|
}>;
|
|
1269
1431
|
|
|
1270
|
-
export declare const TypographyH3: FC<
|
|
1432
|
+
export declare const TypographyH3: FC<TypographyProps>;
|
|
1271
1433
|
|
|
1272
|
-
export declare const TypographyH4: FC<
|
|
1434
|
+
export declare const TypographyH4: FC<TypographyProps>;
|
|
1273
1435
|
|
|
1274
|
-
export declare const TypographyH5: FC<
|
|
1436
|
+
export declare const TypographyH5: FC<TypographyProps>;
|
|
1275
1437
|
|
|
1276
|
-
export declare const TypographyP: FC<
|
|
1438
|
+
export declare const TypographyP: FC<TypographyProps>;
|
|
1439
|
+
|
|
1440
|
+
declare type TypographyProps = HTMLAttributes_2<HTMLHeadingElement> & {
|
|
1441
|
+
children: ComponentChildren;
|
|
1442
|
+
className?: string;
|
|
1443
|
+
};
|
|
1277
1444
|
|
|
1278
1445
|
export declare type UiConfig = {
|
|
1279
1446
|
logoSrc?: string;
|
|
1447
|
+
logoDarkSrc?: string;
|
|
1448
|
+
/**
|
|
1449
|
+
* @deprecated Has no effect: the header sizes the logo by its shape
|
|
1450
|
+
* (customer logo sizing guideline).
|
|
1451
|
+
*/
|
|
1280
1452
|
logoHeight?: string;
|
|
1281
1453
|
subtitle?: string;
|
|
1282
1454
|
hideHeader?: boolean;
|
|
@@ -1290,12 +1462,11 @@ export declare type UiConfig = {
|
|
|
1290
1462
|
spinner?: SpinnerPresentation;
|
|
1291
1463
|
/** Where the capture help button renders. Defaults to `'bottomRight'`. */
|
|
1292
1464
|
helpButtonPosition?: HelpButtonPosition;
|
|
1293
|
-
/** Shows an X close button that cancels the current module. Off by default. */
|
|
1294
|
-
showCloseButton?: boolean;
|
|
1295
1465
|
/**
|
|
1296
|
-
* Close button corner
|
|
1297
|
-
*
|
|
1298
|
-
*
|
|
1466
|
+
* Close button corner. Defaults to `'topRight'`. The button itself only
|
|
1467
|
+
* shows when the module's `config` sets `allowUserToCancel: true`; without
|
|
1468
|
+
* it this has no effect. Can't match `helpButtonPosition` — on a collision
|
|
1469
|
+
* the help button falls back to its own default and a dev warning is logged.
|
|
1299
1470
|
*/
|
|
1300
1471
|
closeButtonPosition?: CloseButtonPosition;
|
|
1301
1472
|
/**
|
|
@@ -1330,8 +1501,8 @@ declare type UseManagerOptions = {
|
|
|
1330
1501
|
autoLoad?: boolean;
|
|
1331
1502
|
/**
|
|
1332
1503
|
* False leaves ordinary lifecycle ownership with the caller. Session expiry
|
|
1333
|
-
* always
|
|
1334
|
-
* when mounting a replacement session.
|
|
1504
|
+
* and connectivity loss always stop the manager to release capture
|
|
1505
|
+
* resources; use a new manager when mounting a replacement session.
|
|
1335
1506
|
*/
|
|
1336
1507
|
manageLifecycle?: boolean;
|
|
1337
1508
|
};
|
|
@@ -1344,7 +1515,7 @@ export declare function useScreenOrientation(): {
|
|
|
1344
1515
|
isLandscapeMobile: boolean;
|
|
1345
1516
|
};
|
|
1346
1517
|
|
|
1347
|
-
export declare function VerificationOptionCard({ icon: Icon, iconSrc, title, testId, onClick, tag, }: Readonly<VerificationOptionCardProps>): JSX.Element;
|
|
1518
|
+
export declare function VerificationOptionCard({ icon: Icon, iconSrc, title, description, testId, onClick, tag, }: Readonly<VerificationOptionCardProps>): JSX.Element;
|
|
1348
1519
|
|
|
1349
1520
|
export declare function VerificationOptionCardList({ children, }: Readonly<VerificationOptionCardListProps>): JSX.Element;
|
|
1350
1521
|
|
|
@@ -1363,6 +1534,8 @@ declare type VerificationOptionCardProps = {
|
|
|
1363
1534
|
*/
|
|
1364
1535
|
iconSrc?: string;
|
|
1365
1536
|
title: string;
|
|
1537
|
+
/** Secondary line under the title (e.g. "Your ID in Apple Wallet"). */
|
|
1538
|
+
description?: string;
|
|
1366
1539
|
testId: string;
|
|
1367
1540
|
onClick: () => void;
|
|
1368
1541
|
tag?: string;
|
|
@@ -1396,10 +1569,4 @@ declare type VerificationResultProps = {
|
|
|
1396
1569
|
footerBrandingSlot?: ComponentChildren;
|
|
1397
1570
|
};
|
|
1398
1571
|
|
|
1399
|
-
export declare const WarningIcon: FC<WarningIconProps>;
|
|
1400
|
-
|
|
1401
|
-
declare type WarningIconProps = {
|
|
1402
|
-
size?: number | string;
|
|
1403
|
-
};
|
|
1404
|
-
|
|
1405
1572
|
export { }
|
|
@@ -54,7 +54,7 @@ declare type AssetOverrides = Partial<Record<AssetKey, AssetOverride>>;
|
|
|
54
54
|
* the UI boundary so core config types (e.g. `IdCaptureConfig`) stay untouched;
|
|
55
55
|
* `FlowConfig` also declares the maps directly.
|
|
56
56
|
*/
|
|
57
|
-
declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides;
|
|
57
|
+
declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides & ModuleCancelOptions;
|
|
58
58
|
|
|
59
59
|
export declare const FaceMatch: FC<Omit<FaceMatchProps, "config"> & {
|
|
60
60
|
config?: (Omit<unknown, never> & DeepPartial<Pick<unknown, never>>) | undefined;
|
|
@@ -68,7 +68,7 @@ declare type FaceMatchProps = IncodeModuleProps<FaceMatchConfig, void, FaceMatch
|
|
|
68
68
|
/**
|
|
69
69
|
* Extra context passed to `onFinish` alongside the result. Lets a host decide
|
|
70
70
|
* how to react to the terminal state without inspecting the DOM. Only the
|
|
71
|
-
* workflow
|
|
71
|
+
* flow and workflow modules set these fields.
|
|
72
72
|
*/
|
|
73
73
|
declare type IncodeFinishMeta = {
|
|
74
74
|
/**
|
|
@@ -84,14 +84,18 @@ declare type IncodeFinishMeta = {
|
|
|
84
84
|
*/
|
|
85
85
|
sdkOwnsTerminalScreen?: boolean;
|
|
86
86
|
/**
|
|
87
|
-
* True when the workflow is OAuth2-secured. The OAuth authorization server
|
|
87
|
+
* True when the flow or workflow is OAuth2-secured. The OAuth authorization server
|
|
88
88
|
* owns the redirect back to the client's `redirect_uri`, so the host must not
|
|
89
89
|
* navigate to `redirectionUrl` itself. A host redirect drops the `error` and
|
|
90
90
|
* `state` parameters, and the client reads a failed authentication as a
|
|
91
|
-
* success.
|
|
91
|
+
* success. Flow and workflow always set it on finish; treat a missing value as
|
|
92
92
|
* unknown.
|
|
93
93
|
*/
|
|
94
94
|
oauth2Secured?: boolean;
|
|
95
|
+
/** Suppress the final redirect on a browser reached through a mobile handoff. */
|
|
96
|
+
redirectOriginOnly?: boolean;
|
|
97
|
+
/** Desktop observed completion on the linked mobile device. */
|
|
98
|
+
completedOnMobile?: boolean;
|
|
95
99
|
};
|
|
96
100
|
|
|
97
101
|
declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
|
|
@@ -164,6 +168,15 @@ declare type LottieAnimationData = {
|
|
|
164
168
|
h: number;
|
|
165
169
|
};
|
|
166
170
|
|
|
171
|
+
/**
|
|
172
|
+
* Behavior option on a module's `config` (flow, workflow or standalone module).
|
|
173
|
+
* Not a theme option: it decides whether the end user may quit, so it is set by
|
|
174
|
+
* the integrator's code and never read from a Studio export or the dashboard.
|
|
175
|
+
*/
|
|
176
|
+
declare type ModuleCancelOptions = {
|
|
177
|
+
allowUserToCancel?: boolean;
|
|
178
|
+
};
|
|
179
|
+
|
|
167
180
|
declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
|
|
168
181
|
|
|
169
182
|
/**
|
|
@@ -54,7 +54,7 @@ declare type AssetOverrides = Partial<Record<AssetKey, AssetOverride>>;
|
|
|
54
54
|
* the UI boundary so core config types (e.g. `IdCaptureConfig`) stay untouched;
|
|
55
55
|
* `FlowConfig` also declares the maps directly.
|
|
56
56
|
*/
|
|
57
|
-
declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides;
|
|
57
|
+
declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides & ModuleCancelOptions;
|
|
58
58
|
|
|
59
59
|
export declare const FieldComparison: FC<Omit<FieldComparisonProps, "config"> & {
|
|
60
60
|
config?: (Omit<unknown, never> & DeepPartial<Pick<unknown, never>>) | undefined;
|
|
@@ -65,7 +65,7 @@ declare type FieldComparisonProps = IncodeModuleProps<FieldComparisonConfig, voi
|
|
|
65
65
|
/**
|
|
66
66
|
* Extra context passed to `onFinish` alongside the result. Lets a host decide
|
|
67
67
|
* how to react to the terminal state without inspecting the DOM. Only the
|
|
68
|
-
* workflow
|
|
68
|
+
* flow and workflow modules set these fields.
|
|
69
69
|
*/
|
|
70
70
|
declare type IncodeFinishMeta = {
|
|
71
71
|
/**
|
|
@@ -81,14 +81,18 @@ declare type IncodeFinishMeta = {
|
|
|
81
81
|
*/
|
|
82
82
|
sdkOwnsTerminalScreen?: boolean;
|
|
83
83
|
/**
|
|
84
|
-
* True when the workflow is OAuth2-secured. The OAuth authorization server
|
|
84
|
+
* True when the flow or workflow is OAuth2-secured. The OAuth authorization server
|
|
85
85
|
* owns the redirect back to the client's `redirect_uri`, so the host must not
|
|
86
86
|
* navigate to `redirectionUrl` itself. A host redirect drops the `error` and
|
|
87
87
|
* `state` parameters, and the client reads a failed authentication as a
|
|
88
|
-
* success.
|
|
88
|
+
* success. Flow and workflow always set it on finish; treat a missing value as
|
|
89
89
|
* unknown.
|
|
90
90
|
*/
|
|
91
91
|
oauth2Secured?: boolean;
|
|
92
|
+
/** Suppress the final redirect on a browser reached through a mobile handoff. */
|
|
93
|
+
redirectOriginOnly?: boolean;
|
|
94
|
+
/** Desktop observed completion on the linked mobile device. */
|
|
95
|
+
completedOnMobile?: boolean;
|
|
92
96
|
};
|
|
93
97
|
|
|
94
98
|
declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
|
|
@@ -161,6 +165,15 @@ declare type LottieAnimationData = {
|
|
|
161
165
|
h: number;
|
|
162
166
|
};
|
|
163
167
|
|
|
168
|
+
/**
|
|
169
|
+
* Behavior option on a module's `config` (flow, workflow or standalone module).
|
|
170
|
+
* Not a theme option: it decides whether the end user may quit, so it is set by
|
|
171
|
+
* the integrator's code and never read from a Studio export or the dashboard.
|
|
172
|
+
*/
|
|
173
|
+
declare type ModuleCancelOptions = {
|
|
174
|
+
allowUserToCancel?: boolean;
|
|
175
|
+
};
|
|
176
|
+
|
|
164
177
|
declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
|
|
165
178
|
|
|
166
179
|
/**
|
|
@@ -54,7 +54,7 @@ declare type AssetOverrides = Partial<Record<AssetKey, AssetOverride>>;
|
|
|
54
54
|
* the UI boundary so core config types (e.g. `IdCaptureConfig`) stay untouched;
|
|
55
55
|
* `FlowConfig` also declares the maps directly.
|
|
56
56
|
*/
|
|
57
|
-
declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides;
|
|
57
|
+
declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides & ModuleCancelOptions;
|
|
58
58
|
|
|
59
59
|
export declare const FiscalQr: FC<Omit<FiscalQrProps, "config"> & {
|
|
60
60
|
config?: (Omit<unknown, never> & DeepPartial<Pick<unknown, never>>) | undefined;
|
|
@@ -65,7 +65,7 @@ declare type FiscalQrProps = IncodeModuleProps<FiscalQrConfig, void, FiscalQrMan
|
|
|
65
65
|
/**
|
|
66
66
|
* Extra context passed to `onFinish` alongside the result. Lets a host decide
|
|
67
67
|
* how to react to the terminal state without inspecting the DOM. Only the
|
|
68
|
-
* workflow
|
|
68
|
+
* flow and workflow modules set these fields.
|
|
69
69
|
*/
|
|
70
70
|
declare type IncodeFinishMeta = {
|
|
71
71
|
/**
|
|
@@ -81,14 +81,18 @@ declare type IncodeFinishMeta = {
|
|
|
81
81
|
*/
|
|
82
82
|
sdkOwnsTerminalScreen?: boolean;
|
|
83
83
|
/**
|
|
84
|
-
* True when the workflow is OAuth2-secured. The OAuth authorization server
|
|
84
|
+
* True when the flow or workflow is OAuth2-secured. The OAuth authorization server
|
|
85
85
|
* owns the redirect back to the client's `redirect_uri`, so the host must not
|
|
86
86
|
* navigate to `redirectionUrl` itself. A host redirect drops the `error` and
|
|
87
87
|
* `state` parameters, and the client reads a failed authentication as a
|
|
88
|
-
* success.
|
|
88
|
+
* success. Flow and workflow always set it on finish; treat a missing value as
|
|
89
89
|
* unknown.
|
|
90
90
|
*/
|
|
91
91
|
oauth2Secured?: boolean;
|
|
92
|
+
/** Suppress the final redirect on a browser reached through a mobile handoff. */
|
|
93
|
+
redirectOriginOnly?: boolean;
|
|
94
|
+
/** Desktop observed completion on the linked mobile device. */
|
|
95
|
+
completedOnMobile?: boolean;
|
|
92
96
|
};
|
|
93
97
|
|
|
94
98
|
declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
|
|
@@ -161,6 +165,15 @@ declare type LottieAnimationData = {
|
|
|
161
165
|
h: number;
|
|
162
166
|
};
|
|
163
167
|
|
|
168
|
+
/**
|
|
169
|
+
* Behavior option on a module's `config` (flow, workflow or standalone module).
|
|
170
|
+
* Not a theme option: it decides whether the end user may quit, so it is set by
|
|
171
|
+
* the integrator's code and never read from a Studio export or the dashboard.
|
|
172
|
+
*/
|
|
173
|
+
declare type ModuleCancelOptions = {
|
|
174
|
+
allowUserToCancel?: boolean;
|
|
175
|
+
};
|
|
176
|
+
|
|
164
177
|
declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
|
|
165
178
|
|
|
166
179
|
/**
|