@incodetech/web 2.4.1-agentic.1 → 2.4.1-agentic.11
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/{GeolocationPermissionDenied-ClGp0a23.js → GeolocationPermissionDenied-B2Bk62IZ.js} +16 -6
- package/dist/Password-CcWXvH2K.js +212 -0
- package/dist/RadioGroup-BpoGOEE9.js +123 -0
- package/dist/RequiredLegend-Dduneyqf.js +16 -0
- package/dist/RequiredMarker-CsKs64ir.js +16 -0
- package/dist/TextField-omV_Sh0m.js +166 -0
- package/dist/ae-signature/ae-signature.es.js +4 -4
- package/dist/{af-ZA-BKpmmWDe.js → af-ZA-CTo61lUd.js} +69 -42
- package/dist/{ageVerification-CtuJDuRV.js → ageVerification-BCINBQZO.js} +5 -6
- package/dist/{am-CW_ro5Ws.js → am-D_H0614H.js} +69 -42
- package/dist/antifraud/antifraud.es.js +5 -5
- package/dist/{applyStudioConfig-C6-Ak0q6.js → applyStudioConfig-CI-BsnUG.js} +4 -5
- package/dist/{ar-AE-D9h8UMbm.js → ar-AE-Bgxs3Joi.js} +69 -42
- package/dist/{ar-B5ToweVl.js → ar-CSbyYe80.js} +70 -43
- package/dist/{ar-EG-DQqE9B26.js → ar-EG-Cy5uiVhr.js} +69 -42
- package/dist/authentication/authentication.es.js +9 -8
- package/dist/autoFocusTitle-mBhEhLCL.js +19 -0
- package/dist/{az-DAZq-CQj.js → az-1XE8GFvS.js} +69 -42
- package/dist/{back-horizontal-hint-qzSaNkEU.js → back-horizontal-hint-BhCF0si3.js} +1 -1
- package/dist/{back-vertical-hint-DkYLOege.js → back-vertical-hint-C0qae_uz.js} +1 -1
- package/dist/base.css +1 -1
- package/dist/{baseTutorial-CF6WiVYt.js → baseTutorial-D-9vkH72.js} +4 -5
- package/dist/{bn-DRTyq2Y9.js → bn-dGfYPmMR.js} +69 -42
- package/dist/{bottomSheet-DylE2INk.js → bottomSheet-Ckz0xCnC.js} +3 -3
- package/dist/{bs-B8q0B86-.js → bs-BjgKg9Cf.js} +69 -42
- package/dist/{ca-DvsHXRB-.js → ca-Cr39O5Ar.js} +69 -42
- package/dist/cameraOverlay-DEY4yXvj.js +2 -0
- package/dist/{cameraOverlayHeader-CuVGnyXI.js → cameraOverlayHeader-CDpbhCAc.js} +5 -5
- package/dist/{cameraView-D9ZxLKtA.js → cameraView-CnIsWzFE.js} +3 -3
- package/dist/{capture-BlGlXoTx.js → capture-BkrTEMEe.js} +27 -44
- package/dist/{capture-0jMDSGCE.js → capture-CZIhLzQY.js} +25 -33
- package/dist/capture-D7Fc3cz1.js +2 -0
- package/dist/capture-Dz-xGs-a.js +3 -0
- package/dist/captureButtonIcon-BvVQ4ryA.js +1 -0
- package/dist/{captureFocusContext-9789qOe3.js → captureFocusContext--U4sVQrN.js} +53 -64
- package/dist/{captureFooter-B6WUFQCV.js → captureFooter-CStw2uWE.js} +5 -5
- package/dist/{ceb-pvlomXHV.js → ceb-DpLMbrUz.js} +69 -42
- package/dist/certificate-issuance/certificate-issuance.es.js +56 -39
- package/dist/certificate-issuance/styles.css +1 -1
- package/dist/certificate-issuance/styles.css.js +1 -1
- package/dist/{checkbox-BwUQ0Rs9.js → checkbox-x33wsoSj.js} +4 -4
- package/dist/chooser-BN9n5HDp.js +1517 -0
- package/dist/{connectionError-DexRpKWs.js → connectionError-BkahLNGI.js} +25 -15
- package/dist/consent/consent.es.js +11 -11
- package/dist/{countryDefinitions-RBVGM1D_.js → countryDefinitions-UXJ0maPk.js} +6 -0
- package/dist/{countryFlag-CQMfCnE9.js → countryFlag-CjuXF_8C.js} +1 -1
- package/dist/{countrySelector-C0OEKMqL.js → countrySelector-DABZxmqi.js} +4 -4
- package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -5
- package/dist/{cs-CZ-GgvnJLMj.js → cs-CZ-CVwwXA_L.js} +69 -42
- package/dist/{cs-DB5PLEdt.js → cs-CcAAwFsV.js} +69 -42
- package/dist/curp-validation/curp-validation.es.js +82 -96
- package/dist/curp-validation/styles.css +1 -1
- package/dist/curp-validation/styles.css.js +1 -1
- package/dist/{customFields-DQgRumW0.js → customFields-CDsK2O2w.js} +29 -21
- package/dist/{customWatchlist-BbC0fA-6.js → customWatchlist-C3xpw7I9.js} +11 -10
- package/dist/{da-DK-ZhpcfE_F.js → da-DK-DIOLzZUl.js} +69 -42
- package/dist/dashboardTheme-BlYK5PP-.js +397 -0
- package/dist/dateInputComposed-CdA01ZKl.js +1 -0
- package/dist/{dateInputComposed-1IcnucPq.js → dateInputComposed-DfuBg6LH.js} +4 -5
- package/dist/{de-DEBjzaow.js → de-C_TxF_HV.js} +69 -42
- package/dist/denied-C191Nj7Q.js +272 -0
- package/dist/{i18n-Dp014ljG.js → devWarn-D1Ek78cG.js} +204 -90
- package/dist/{deviceWallet-CMjguFJO.js → deviceWallet-DiOUJQWn.js} +4 -4
- package/dist/{digitalIdRedirect-MNty16-5.js → digitalIdRedirect-DQwT-h56.js} +4 -4
- package/dist/{digitalIdUpload-CUzTaoaI.js → digitalIdUpload-BFfezopc.js} +7 -9
- 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-B8hj8CV5.js +2 -0
- package/dist/{documentCapture-BUMyJ8vw.js → documentCapture-CBgP2Ee2.js} +43 -50
- package/dist/dropdownComposed-DOCszIPl.js +1 -0
- package/dist/{dropdownComposed-x3ewHxbT.js → dropdownComposed-DlZ6Ga04.js} +8 -6
- package/dist/dynamic-forms/dynamic-forms.es.js +57 -35
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekybModule-C3qDGa1O.js +2 -0
- package/dist/{ekybModule-C5hEBLMs.js → ekybModule-CNAZvVCJ.js} +101 -85
- 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-B5tOgX1t.js +789 -0
- package/dist/ekycModule-PbLlN8Ur.js +2 -0
- package/dist/ekycPrefillModule-BCqr5xg6.js +2 -0
- package/dist/ekycPrefillModule-D-7Ki7ip.js +233 -0
- package/dist/{el-Dplr_D5N.js → el-CbZPwFNa.js} +69 -42
- package/dist/{el-GR-IZ4reOR7.js → el-GR-CtGerZAg.js} +69 -42
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-BMda_cf3.js → electronic-signature-XwF2a5Di.js} +18 -14
- package/dist/email/email.es.js +16 -15
- package/dist/{emailInput-BI8gWC0D.js → emailInput-3NfW39yQ.js} +23 -12
- package/dist/{en-Db1L_u7B.js → en-BSiYsQaj.js} +69 -42
- package/dist/{en-DG-C6tsWvHi.js → en-DG-hE633fCD.js} +69 -42
- package/dist/{errorContent-pPAgyy2i.js → errorContent-B41Nj1qz.js} +17 -19
- package/dist/{formField-CfQKYeGF.js → errorParams-E_uvPMjt.js} +2 -33
- package/dist/{es-419-DxKrJq7W.js → es-419-DWEh9txr.js} +1 -1
- package/dist/{es-C5unKsaF.js → es-DuW9UEF8.js} +70 -43
- package/dist/{es-ES-sHbsufzT.js → es-ES-D2rHmm0b.js} +69 -42
- package/dist/{es-MX-Cd_DCR0A.js → es-MX-Bl9PwVe4.js} +69 -42
- package/dist/{et-BoGq2cx8.js → et-C_qNoiMz.js} +69 -42
- package/dist/{expiredId-DWjw94rT.js → expiredId-Cd2Q6EHG.js} +20 -37
- package/dist/extensibility.es.js +329 -47
- package/dist/{fa-IR-DuUxGXrf.js → fa-IR-BVniIYjM.js} +69 -42
- 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-BAsoLDQA.js +2 -0
- package/dist/{faceMatch-DV7NxYu_.js → faceMatch-DJ3-Ig1q.js} +60 -72
- package/dist/{fi-FI-DMOBNTjA.js → fi-FI-BG79wR8h.js} +69 -42
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-BTGJh1YJ.js +2 -0
- package/dist/fieldComparison-CGGRQKrN.js +126 -0
- package/dist/{fieldLabelHint-CjrLxBaj.js → fieldLabelHint-Djc7xmZT.js} +1 -1
- package/dist/{finalSuccessScreen-C50L96j9.js → finalSuccessScreen-BcohKzS1.js} +25 -20
- package/dist/fiscal-qr/fiscal-qr.es.js +23 -23
- package/dist/flipAnimation-DaDWXMfZ.js +46 -0
- package/dist/{flipCapturedCardEligibility-DLr9F2g2.js → flipCapturedCardEligibility-BNB-qpRE.js} +4 -4
- package/dist/flow/flow.es.js +126 -121
- 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-j7McuK7h.js +49 -0
- package/dist/{fr-CA-DZ8jlsp3.js → fr-CA-9oYCImH0.js} +69 -42
- package/dist/{fr-DSR-AP0e.js → fr-Cg9U-S6G.js} +69 -42
- package/dist/{front-horizontal-hint-DOphQZg2.js → front-horizontal-hint-C5AX0o5M.js} +1 -1
- package/dist/{front-vertical-hint-S6PcS9_m.js → front-vertical-hint-DSu5UGet.js} +1 -1
- package/dist/geolocation/geolocation.es.js +10 -10
- package/dist/government-validation/government-validation.es.js +7 -7
- package/dist/{he-N5dfJeyd.js → he-BuOJ3WYa.js} +69 -42
- package/dist/{hi-JR6K9zbd.js → hi-G8P5MAzO.js} +69 -42
- package/dist/{hmn-j2YA7FxW.js → hmn-BvHL7svq.js} +69 -42
- package/dist/{homeScreen-C3pPw52y.js → homeScreen-B8ywi_89.js} +12 -11
- package/dist/{hooks-BFP0WaJM.js → hooks-BqVQkncd.js} +73 -27
- package/dist/{hr-8cOdwB0t.js → hr-DRJtcnlS.js} +69 -42
- package/dist/{ht-DDNL4C__.js → ht-DXMGL2_w.js} +69 -42
- package/dist/{hu-CynQQUFQ.js → hu-CwdSmnHn.js} +70 -43
- package/dist/{icons-c-hFaG4L.js → icons-SdRhlEsv.js} +3 -27
- package/dist/id/id.es.js +106 -40
- package/dist/id/styles.css +1 -1
- package/dist/id/styles.css.js +1 -1
- package/dist/{id-o_Yg0n8W.js → id-D6g-wk9x.js} +70 -43
- package/dist/{id-back-of-card-Bk6ZQUE9.js → id-back-of-card-C9LVxYkn.js} +1 -1
- package/dist/{id-back-of-card-vertical-BZo00s50.js → id-back-of-card-vertical-CCIea4QU.js} +1 -1
- package/dist/{id-front-of-card-BJ96se7u.js → id-front-of-card-trQfnbrC.js} +1 -1
- package/dist/{id-front-of-card-vertical-DSfJB0lX.js → id-front-of-card-vertical-Bh0hwhIW.js} +1 -1
- package/dist/id-selfie-flow/id-selfie-flow.es.js +13 -12
- package/dist/id-selfie-flow/styles.css +1 -1
- package/dist/id-verification/id-verification.es.js +12 -7
- package/dist/{idFlipTransition-DXdtXYza.js → idFlipTransition-DQpwN58q.js} +22 -26
- package/dist/{idOcr-CjqfkRJ7.js → idOcr-SFg10SpY.js} +60 -37
- package/dist/identity-reuse/identity-reuse.es.js +23 -20
- package/dist/identity-reuse/styles.css.js +1 -0
- package/dist/{incodeComponent-DtKh-UUm.js → incodeComponent-BENGVuhV.js} +10 -12
- package/dist/{incodeModule-DCHXAeYU.js → incodeModule-CbnJvDEH.js} +5 -5
- package/dist/index.es.js +3 -4
- package/dist/{inputComposed-CmVsaHOa.js → inputComposed-CnDzkCJv.js} +4 -4
- package/dist/{it-BXevrtHn.js → it-BWjGnNwa.js} +69 -42
- package/dist/{ja-DiTXnTx-.js → ja-B2EseKGW.js} +69 -42
- package/dist/{ja-JP-D1IRWR-p.js → ja-JP-DQjago_s.js} +69 -42
- package/dist/{jv-Us70GzGp.js → jv-CtzXD5lC.js} +69 -42
- package/dist/{ka-BSsWQ4yU.js → ka-Bssgtrd_.js} +69 -42
- package/dist/{kk-D5R6r4H7.js → kk-BHnBuK2W.js} +69 -42
- package/dist/{km-CCCb2Rnt.js → km-BIL5Ed9V.js} +73 -46
- package/dist/{ko-kQioCg2w.js → ko-CmDO-mum.js} +69 -42
- package/dist/{ko-KP-JF4khv1Y.js → ko-KP-CeSTYxel.js} +69 -42
- package/dist/{ky-CLOemVjC.js → ky-BWJyd0t2.js} +69 -42
- package/dist/kyb-checks/kyb-checks.es.js +1 -1
- package/dist/{kybChecksModule-C6Y9Hxpr.js → kybChecksModule-CJ90syjd.js} +83 -67
- package/dist/kybChecksModule-ChsvrbfT.js +2 -0
- package/dist/{lo-tzHUt1CQ.js → lo-BVvTu242.js} +69 -42
- package/dist/{lt-B2ZI-Cgu.js → lt-JwOwodX2.js} +69 -42
- package/dist/{lv-BJnxtSYw.js → lv-DSDxxJ_h.js} +69 -42
- package/dist/{mandatoryConsent-BiQuEZRu.js → mandatoryConsent-C6ZefYLC.js} +11 -11
- package/dist/{manualCaptureButton-BRSmPTeR.js → manualCaptureButton-BZ-Nv4QS.js} +4 -4
- package/dist/{manualCaptureButton-Dw0MMSkc.js → manualCaptureButton-fEvRSnUW.js} +12 -13
- package/dist/{mk-Cj7Iw2Q4.js → mk-Bwwu7fnf.js} +69 -42
- package/dist/{mn-CA_rNxtz.js → mn-BsCSafHQ.js} +69 -42
- package/dist/{ms-BydA1Zjz.js → ms-DuCxe2U9.js} +69 -42
- package/dist/{my-gFKufKaG.js → my-CflowlPp.js} +69 -42
- package/dist/{nb-NO-CDsGQbOZ.js → nb-NO-IRjagSiy.js} +69 -42
- package/dist/{ne-Cyfi0vFI.js → ne-BsajHxYU.js} +69 -42
- package/dist/{nl-e1gbmAFO.js → nl-DXpDJ6zI.js} +70 -43
- package/dist/{optionAccessibleLabel-BTUieMxH.js → optionAccessibleLabel-ItPhisCK.js} +25 -10
- package/dist/{otpInput-D3L3QhnR.js → otpInput-Cbn49SGB.js} +96 -15
- package/dist/{page-U6jZ7BBI.js → page-Bb4rrhng.js} +32 -36
- package/dist/{pageUiConfig-Qf6ItVv9.js → pageUiConfig-BkJA2XV2.js} +67 -17
- package/dist/{passport-horizontal-hint-Ddsh6fUS.js → passport-horizontal-hint-CBq1h88h.js} +1 -1
- package/dist/{passport-vertical-hint-Dukxq6-T.js → passport-vertical-hint-B6f0PLJY.js} +1 -1
- package/dist/passwordRequirements-BKSvSZxo.js +49 -0
- package/dist/{pdf-Bd5QplFS.js → pdf-D1Pr2CZ4.js} +2 -2
- package/dist/{pdfViewer-BrqSEtbr.js → pdfViewer-BSGAWeqT.js} +4 -4
- package/dist/pdfViewer-BtnBQrGk.js +2 -0
- package/dist/permissionInstructionList-B8CJCXL5.js +43 -0
- package/dist/{permissions-KUDhffd9.js → permissions-R-neqe0N.js} +61 -43
- package/dist/phone/phone.es.js +11 -11
- package/dist/{phoneInputComposed-DlJMTavK.js → phoneInputComposed-ByeX0Sic.js} +6 -6
- package/dist/{pl-BSMcCWS-.js → pl-C42whrYF.js} +69 -42
- package/dist/{preloadableLazy-C8_OYaTC.js → preloadableLazy-_lM-nglt.js} +11 -5
- package/dist/{processing-B5EH7yNg.js → processing-hHvue_ME.js} +2 -2
- package/dist/{progressBar-CSpS29pV.js → progressBar-C4iuSuxR.js} +2 -2
- package/dist/{pt-BNFC2quK.js → pt-0Jr0-Yry.js} +69 -42
- package/dist/{pt-BR-bH8DC2gH.js → pt-BR-Bn7cqcUT.js} +69 -42
- package/dist/{pt-PT-B8PXmgwU.js → pt-PT-BPEyU0ie.js} +69 -42
- package/dist/qe-signature/qe-signature.es.js +4 -4
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +29 -26
- package/dist/redirect-to-mobile/styles.css +1 -1
- package/dist/redirect-to-mobile/styles.css.js +1 -1
- package/dist/{registerIncodeElement-oiLvm6xq.js → registerIncodeElement-CMz_Vc48.js} +1 -1
- package/dist/{resendTimer-D1H3gwkI.js → resendTimer-b5wytV7b.js} +2 -2
- package/dist/{richText-sUdTiRDE.js → richText-BYXtPKpx.js} +4 -4
- package/dist/{ro-DnN8QNYa.js → ro-bHQGkUYn.js} +69 -42
- package/dist/{ru-DAwUFXHq.js → ru-BK0qvY_8.js} +70 -43
- package/dist/{ru-RU-Coxt0VCU.js → ru-RU-B7pq6WN4.js} +69 -42
- package/dist/{sanitizeSvg-OdNh1mqY.js → sanitizeSvg-C0F3d-dD.js} +1 -1
- package/dist/selfie/selfie.es.js +13 -12
- package/dist/signature/signature.es.js +10 -10
- package/dist/{sk-AB8sSlNw.js → sk-DlgcM31l.js} +71 -44
- package/dist/{sl-6Dfzfi7s.js → sl-CAV2Uwch.js} +69 -42
- package/dist/{smsTabContent-CBEKgzFv.js → smsTabContent-2rN4ryR5.js} +15 -11
- package/dist/{so-X5BdrDvV.js → so-D4WsnGaD.js} +69 -42
- package/dist/spacer-BcGAnh8E.js +1100 -0
- package/dist/spinner-DFDls7SH.js +69 -0
- package/dist/{sr-JHjMcbGs.js → sr-DeBs4kA0.js} +69 -42
- package/dist/{sr-Latn-DgT7eTG2.js → sr-Latn-ChWZo0gk.js} +73 -46
- package/dist/{sr-YU-BBhB_G63.js → sr-YU-BzgaL8Ei.js} +1 -1
- package/dist/step-up/step-up.es.js +483 -0
- package/dist/step-up/styles.css +2 -0
- package/dist/{sv-SE-CvX8mC8T.js → sv-SE-BJspdcry.js} +69 -42
- package/dist/{sw-CN0TdnY4.js → sw-BG-JFyjf.js} +69 -42
- package/dist/{th-TH-CWr4z3JK.js → th-TH-DoZ3Rcmz.js} +69 -42
- package/dist/{th-BmFntKib.js → th-zofl9630.js} +69 -42
- package/dist/themes/dark.css +1 -1
- package/dist/themes/light.css +1 -1
- package/dist/{tl-rzkk5P_n.js → tl-C5QnY_gb.js} +69 -42
- package/dist/{tl-PH-BRIbtBRN.js → tl-PH-Bhxpk4ul.js} +69 -42
- package/dist/{tr-DKuVBwqW.js → tr-DwQl9-Ts.js} +69 -42
- package/dist/{transitionSpinner-Di0XBAix.js → transitionSpinner-2eSD88pA.js} +7 -8
- package/dist/{tutorial-C9psDR2i.js → tutorial-DnyGsQJ3.js} +4 -4
- package/dist/types/ae-signature.d.ts +7 -3
- package/dist/types/antifraud.d.ts +7 -3
- package/dist/types/authentication.d.ts +7 -3
- package/dist/types/certificate-issuance.d.ts +7 -3
- package/dist/types/consent.d.ts +7 -3
- package/dist/types/cross-document-data-match.d.ts +7 -3
- package/dist/types/curp-validation.d.ts +7 -3
- package/dist/types/document-capture.d.ts +7 -3
- package/dist/types/dynamic-forms.d.ts +7 -3
- package/dist/types/ekyb.d.ts +7 -3
- package/dist/types/ekyc-prefill.d.ts +213 -0
- package/dist/types/ekyc.d.ts +7 -3
- package/dist/types/electronic-signature.d.ts +7 -3
- package/dist/types/email.d.ts +7 -3
- package/dist/types/extensibility.d.ts +57 -16
- package/dist/types/face-match.d.ts +7 -3
- package/dist/types/field-comparison.d.ts +7 -3
- package/dist/types/fiscal-qr.d.ts +7 -3
- package/dist/types/flow.d.ts +16 -3
- package/dist/types/geolocation.d.ts +7 -3
- package/dist/types/government-validation.d.ts +7 -3
- package/dist/types/id-selfie-flow.d.ts +7 -3
- package/dist/types/id-verification.d.ts +7 -3
- package/dist/types/id.d.ts +7 -3
- package/dist/types/identity-reuse.d.ts +8 -4
- package/dist/types/kyb-checks.d.ts +7 -3
- package/dist/types/phone.d.ts +7 -3
- package/dist/types/qe-signature.d.ts +7 -3
- package/dist/types/selfie.d.ts +7 -3
- package/dist/types/signature.d.ts +7 -3
- package/dist/types/step-up.d.ts +85 -0
- package/dist/types/video-selfie.d.ts +1 -1
- package/dist/types/watchlist.d.ts +7 -3
- package/dist/types/workflow.d.ts +7 -3
- package/dist/{typography-CiGhKJGx.js → typography-CJF2fvfq.js} +3 -11
- package/dist/{uk-CXjqq4lX.js → uk-CG9j_fy0.js} +69 -42
- package/dist/{uk-UA-BIE9WByU.js → uk-UA-DTmaE-v5.js} +69 -42
- package/dist/{ur-vNGesC3r.js → ur-VNtbU8oD.js} +69 -42
- package/dist/{useCameraPreview-Bd7AYE9h.js → useCameraPreview-DjrzWKVS.js} +1 -1
- package/dist/{useCaptureHelpButton-Dj-jESrS.js → useCaptureHelpButton-BjfpyOzO.js} +3 -3
- package/dist/{useIsDarkTheme-Bu9CvKxW.js → useIsDarkTheme-DQk4EE9W.js} +1 -1
- package/dist/{useModuleLoader-BBCNkJmc.js → useModuleLoader-DzKhXYfC.js} +31 -18
- package/dist/{uz-Gmw1XRgv.js → uz-Bo112Gyd.js} +69 -42
- package/dist/{vendor-preact-DHGqBGMH.js → vendor-preact-D-eB0kEm.js} +129 -5
- package/dist/{verificationResult-Clxdxm_s.js → verificationResult-WmEwUUUh.js} +19 -24
- package/dist/{vi-DTxxRUw0.js → vi-B--95ytR.js} +69 -42
- 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 +33 -26
- package/dist/watchlist/watchlist.es.js +12 -10
- package/dist/{watchlistForBusiness-CpFp2EYX.js → watchlistForBusiness-DzLgyZrr.js} +34 -23
- package/dist/{withEndScreenTexts-Bd3mof3s.js → withEndScreenTexts-Dlm_g8k3.js} +51 -33
- package/dist/workflow/styles.css +1 -1
- package/dist/workflow/workflow.es.js +1 -534
- package/dist/workflow-B9tRGTLm.js +532 -0
- package/dist/{zh-DjtyfO4e.js → zh-BHKHrNVf.js} +69 -42
- package/dist/{zh-CN-aB48G_R1.js → zh-CN-B2MKijyX.js} +69 -42
- package/dist/{zh-HANT-8p8SH8C3.js → zh-HANT-azEQ9F_K.js} +69 -42
- package/dist/{zh-TW-CCsz9gKq.js → zh-TW-D_fKX8Me.js} +69 -42
- package/package.json +28 -8
- package/dist/asset-Ctwd_20H.js +0 -355
- package/dist/autoFocusTitle-CzaCWWW5.js +0 -32
- package/dist/cameraOverlay-DNf0PEF4.js +0 -2
- package/dist/capture-DKBA5j5A.js +0 -3
- package/dist/capture-D_Dwrj1F.js +0 -2
- package/dist/captureButtonIcon-A9kn2E_m.js +0 -1
- package/dist/check-icon-BdHltEK6.js +0 -48
- package/dist/chooser-CmG71-lh.js +0 -1589
- package/dist/dashboardTheme-DtXsx9IK.js +0 -246
- package/dist/dateInputComposed-BFlCk-sg.js +0 -1
- package/dist/denied-CwdVWAUw.js +0 -1874
- package/dist/devWarn-CW20j1Qd.js +0 -9
- package/dist/documentCapture-rECLkwpi.js +0 -2
- package/dist/dropdownComposed-C9sLQE6i.js +0 -1
- package/dist/ekybModule-B5IEiSyi.js +0 -2
- package/dist/ekycModule-B7OFnP3H.js +0 -2
- package/dist/ekycModule-TVKk0qdS.js +0 -327
- package/dist/faceMatch-B2aMz3X2.js +0 -2
- package/dist/fieldComparison-BY2XXsp3.js +0 -2
- package/dist/fieldComparison-CFLU1h6n.js +0 -113
- package/dist/flipAnimation-8x-qdtF_.js +0 -33
- package/dist/inputComposed-DvGrso7g.js +0 -1
- package/dist/kybChecksModule-r3MIpFhS.js +0 -2
- package/dist/numberedStep-CeN77hnQ.js +0 -13
- package/dist/passwordInputComposed-CW_1DcB8.js +0 -74
- package/dist/pdfViewer-rDnnHzmw.js +0 -2
- package/dist/radioGroupComposed-CW8ElYSR.js +0 -160
- package/dist/radioGroupComposed-flIYNffL.js +0 -1
- package/dist/reload-icon-FD2e9Wet.js +0 -70
- package/dist/spacer-Jaru_3sb.js +0 -82
- package/dist/spinner-51btbot0.js +0 -407
- package/dist/uiConfig-BJAuZQWc.js +0 -77
- /package/dist/{aligndevicelottie-BEKzL4SB.js → aligndevicelottie-DroBRtbt.js} +0 -0
- /package/dist/{assertClassBrand-DJr5K93j.js → assertClassBrand-F6pL6aIr.js} +0 -0
- /package/dist/{back-tutorial-B9W63fa-.js → back-tutorial-ydxRtY-Y.js} +0 -0
- /package/dist/{backdevicelottie-DsN8QBV3.js → backdevicelottie-hv8vbwYH.js} +0 -0
- /package/dist/{blurdevicelottie-DkV7Kwo4.js → blurdevicelottie-Cgu4hKn7.js} +0 -0
- /package/dist/{defineProperty-E9wRIIo9.js → defineProperty-B4FQTz14.js} +0 -0
- /package/dist/{flip-animation-DJVnWWL5.js → flip-animation-CJhh7l_J.js} +0 -0
- /package/dist/{frontdevicelottie-DiW1Wmya.js → frontdevicelottie-vyO3BJJe.js} +0 -0
- /package/dist/{glaredevicelottie-CK-fnX_s.js → glaredevicelottie-DrgkRjFh.js} +0 -0
- /package/dist/{helpButtonConfig-CjbrBQaV.js → helpButtonConfig-BFragC_J.js} +0 -0
- /package/dist/{id-laser-h-6Am_cjM8.js → id-laser-h-CUz29uFc.js} +0 -0
- /package/dist/{id-laser-v-DXoF3flH.js → id-laser-v-Bnf10QJp.js} +0 -0
- /package/dist/{id-tutorial-DkKH3eTE.js → id-tutorial-DGwvKAMs.js} +0 -0
- /package/dist/{lottie_light-B819EhaL.js → lottie_light-BXXuEKyZ.js} +0 -0
- /package/dist/{passport-tutorial-D3Fpk-Tj.js → passport-tutorial-DoqqyBXo.js} +0 -0
- /package/dist/{pdf.worker.min-DzBNMoKS.js → pdf.worker.min-Cm2oniEB.js} +0 -0
- /package/dist/{policyUrls-Benduf-R.js → policyUrls-B3TEaluh.js} +0 -0
- /package/dist/{purify.es-CSPoFViI.js → purify.es-DhY3JLdI.js} +0 -0
- /package/dist/{realtimeFeedbackConfig-tBX94SOm.js → realtimeFeedbackConfig-DeZksjlR.js} +0 -0
- /package/dist/{selfieTutorial-DnsRD1Z9.js → selfieTutorial-BTewRjM5.js} +0 -0
package/dist/devWarn-CW20j1Qd.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
//#region src/shared/devWarn/devWarn.ts
|
|
2
|
-
/**
|
|
3
|
-
* Emits a namespaced `console.warn` in development only. Override load
|
|
4
|
-
* failures and bad catalog keys are non-fatal (we always fall back to a
|
|
5
|
-
* built-in default), so they must never surface in production consoles.
|
|
6
|
-
*/
|
|
7
|
-
function devWarn(message, error) {}
|
|
8
|
-
//#endregion
|
|
9
|
-
export { devWarn as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./dropdownComposed-x3ewHxbT.js";
|
|
@@ -1,327 +0,0 @@
|
|
|
1
|
-
import { i as useTranslation } from "./i18n-Dp014ljG.js";
|
|
2
|
-
import { b as u, l as A, y } from "./vendor-preact-DHGqBGMH.js";
|
|
3
|
-
import { x as PrizmaButton } from "./icons-c-hFaG4L.js";
|
|
4
|
-
import { t as Page } from "./page-U6jZ7BBI.js";
|
|
5
|
-
import { g as useModuleTerminalCallbacks, m as useFormScrollable, t as withStandaloneModuleBootstrap, v as useManager } from "./hooks-BFP0WaJM.js";
|
|
6
|
-
import { t as Spinner } from "./spinner-51btbot0.js";
|
|
7
|
-
import { t as IncodeComponent } from "./incodeComponent-DtKh-UUm.js";
|
|
8
|
-
import { t as VerificationResult } from "./verificationResult-Clxdxm_s.js";
|
|
9
|
-
import { t as InputComposed } from "./inputComposed-CmVsaHOa.js";
|
|
10
|
-
import "./inputComposed-DvGrso7g.js";
|
|
11
|
-
import { t as PasswordInputComposed } from "./passwordInputComposed-CW_1DcB8.js";
|
|
12
|
-
import { n as translateError, t as FormField } from "./formField-CfQKYeGF.js";
|
|
13
|
-
import { t as PhoneInputComposed } from "./phoneInputComposed-DlJMTavK.js";
|
|
14
|
-
import { t as DropdownComposed } from "./dropdownComposed-x3ewHxbT.js";
|
|
15
|
-
import { t as DateInputComposed } from "./dateInputComposed-1IcnucPq.js";
|
|
16
|
-
import { t as RadioGroupComposed } from "./radioGroupComposed-CW8ElYSR.js";
|
|
17
|
-
import { t as registerIncodeModuleElement } from "./incodeModule-DCHXAeYU.js";
|
|
18
|
-
import { n as AddressAutocomplete, t as getAccessibleOptionLabel } from "./optionAccessibleLabel-BTUieMxH.js";
|
|
19
|
-
import { createEkycManager } from "@incodetech/core/ekyc";
|
|
20
|
-
//#region src/modules/ekyc/ekycModule.tsx
|
|
21
|
-
/**
|
|
22
|
-
* WCAG 2.2 SC 1.3.5 (Identify Input Purpose) — maps eKYC field names to the
|
|
23
|
-
* standard HTML `autocomplete` token so browsers/password managers can offer
|
|
24
|
-
* the right value. Only personal-info fields with an unambiguous token are
|
|
25
|
-
* listed; unmapped fields (IDs, SSNs, dropdowns, address-search combobox) fall
|
|
26
|
-
* through to `undefined`.
|
|
27
|
-
*/
|
|
28
|
-
var EKYC_AUTOCOMPLETE_TOKENS = {
|
|
29
|
-
firstName: "given-name",
|
|
30
|
-
middleName: "additional-name",
|
|
31
|
-
surName: "family-name",
|
|
32
|
-
email: "email",
|
|
33
|
-
phone: "tel",
|
|
34
|
-
city: "address-level2",
|
|
35
|
-
state: "address-level1",
|
|
36
|
-
postalCode: "postal-code",
|
|
37
|
-
dateOfBirth: "bday"
|
|
38
|
-
};
|
|
39
|
-
var getEkycAutocomplete = (name) => EKYC_AUTOCOMPLETE_TOKENS[name];
|
|
40
|
-
/**
|
|
41
|
-
* Sensitive ID fields rendered as a masked input with a show/hide toggle,
|
|
42
|
-
* keyed by `fieldsCountry`.
|
|
43
|
-
*/
|
|
44
|
-
var EKYC_MASKED_FIELDS = { US: ["ssn"] };
|
|
45
|
-
var isMaskedEkycField = (name, country) => EKYC_MASKED_FIELDS[country]?.includes(name) ?? false;
|
|
46
|
-
var EkycContent = ({ config, manager: externalManager, onFinish }) => {
|
|
47
|
-
const { t } = useTranslation();
|
|
48
|
-
const [state, manager] = useManager(() => {
|
|
49
|
-
if (externalManager) return externalManager;
|
|
50
|
-
if (!config) throw new Error("Ekyc config is required when no manager is provided");
|
|
51
|
-
return createEkycManager({ config });
|
|
52
|
-
}, { manageLifecycle: !externalManager });
|
|
53
|
-
useModuleTerminalCallbacks({
|
|
54
|
-
status: state.status === "closed" ? "finished" : state.status,
|
|
55
|
-
onFinish
|
|
56
|
-
});
|
|
57
|
-
if (state.status === "finished" || state.status === "closed") return null;
|
|
58
|
-
if (state.status === "loading") return /* @__PURE__ */ u(VerificationResult, {
|
|
59
|
-
status: "submitting",
|
|
60
|
-
submittingTitle: t("common.loading")
|
|
61
|
-
});
|
|
62
|
-
if (state.status === "submitting") return /* @__PURE__ */ u(Page, {
|
|
63
|
-
className: "IncodeEkycPage",
|
|
64
|
-
children: /* @__PURE__ */ u(Spinner, {
|
|
65
|
-
fullScreen: false,
|
|
66
|
-
title: t("common.processing"),
|
|
67
|
-
className: "IncodeEkycSpinner"
|
|
68
|
-
})
|
|
69
|
-
});
|
|
70
|
-
if (state.status === "success") return /* @__PURE__ */ u(VerificationResult, { status: "success" });
|
|
71
|
-
if (state.status === "error") return /* @__PURE__ */ u(VerificationResult, {
|
|
72
|
-
status: "failure",
|
|
73
|
-
onRetry: () => manager.retry(),
|
|
74
|
-
onSkip: () => manager.skip()
|
|
75
|
-
});
|
|
76
|
-
if (state.status === "misconfigured") return /* @__PURE__ */ u(VerificationResult, {
|
|
77
|
-
status: "failure",
|
|
78
|
-
failureTitle: t("verification.noFormFields"),
|
|
79
|
-
onSkip: () => manager.close(),
|
|
80
|
-
skipLabel: t("common.close")
|
|
81
|
-
});
|
|
82
|
-
if (state.status === "form") return /* @__PURE__ */ u(EkycForm, {
|
|
83
|
-
state,
|
|
84
|
-
manager
|
|
85
|
-
});
|
|
86
|
-
return null;
|
|
87
|
-
};
|
|
88
|
-
var EkycForm = ({ state, manager }) => {
|
|
89
|
-
const { fields, values, validationErrors, isValid, addressSuggestions, hideEmail, fieldsCountry, submitError } = state;
|
|
90
|
-
const { t } = useTranslation();
|
|
91
|
-
const formRef = A(null);
|
|
92
|
-
const postalCodeFieldRef = A(null);
|
|
93
|
-
const previousPostalCodeErrorRef = A(void 0);
|
|
94
|
-
const isScrollable = useFormScrollable(formRef, fields.length);
|
|
95
|
-
const postalCodeErrorKey = validationErrors?.postalCode?.key;
|
|
96
|
-
y(() => {
|
|
97
|
-
const previous = previousPostalCodeErrorRef.current;
|
|
98
|
-
previousPostalCodeErrorRef.current = postalCodeErrorKey;
|
|
99
|
-
if (!postalCodeErrorKey || previous === postalCodeErrorKey) return;
|
|
100
|
-
const rafId = requestAnimationFrame(() => {
|
|
101
|
-
const postalField = postalCodeFieldRef.current;
|
|
102
|
-
if (!postalField) return;
|
|
103
|
-
(postalField.querySelector("#postalCode-error") ?? postalField).scrollIntoView({
|
|
104
|
-
behavior: "smooth",
|
|
105
|
-
block: "nearest"
|
|
106
|
-
});
|
|
107
|
-
});
|
|
108
|
-
return () => cancelAnimationFrame(rafId);
|
|
109
|
-
}, [postalCodeErrorKey]);
|
|
110
|
-
const translateError$1 = (err) => translateError(t, err?.key, err?.params);
|
|
111
|
-
let currentSection;
|
|
112
|
-
return /* @__PURE__ */ u(Page, {
|
|
113
|
-
className: `IncodeEkycPage${isScrollable ? " IncodeEkycPageScrollable" : ""}`,
|
|
114
|
-
title: t("verification.title"),
|
|
115
|
-
subtitle: t("forms.subtitle"),
|
|
116
|
-
children: [/* @__PURE__ */ u("div", {
|
|
117
|
-
ref: formRef,
|
|
118
|
-
className: "IncodeEkycForm",
|
|
119
|
-
children: fields.map((field) => {
|
|
120
|
-
if (field.name === "email" && hideEmail) return null;
|
|
121
|
-
if (field.displayMode === "hidden") return null;
|
|
122
|
-
let sectionHeader = null;
|
|
123
|
-
if (field.section && field.section !== currentSection) {
|
|
124
|
-
currentSection = field.section;
|
|
125
|
-
sectionHeader = /* @__PURE__ */ u("h3", {
|
|
126
|
-
className: "IncodeEkycSectionHeader",
|
|
127
|
-
children: t({
|
|
128
|
-
address: "verification.labels.addressDetailsSection",
|
|
129
|
-
driverLicense: "verification.labels.dlDetailsSection"
|
|
130
|
-
}[field.section] ?? field.section)
|
|
131
|
-
});
|
|
132
|
-
}
|
|
133
|
-
const isReadonly = Boolean(field.readonly);
|
|
134
|
-
const isFieldRequired = isReadonly ? false : field.required;
|
|
135
|
-
const fieldValue = values[field.name] ?? "";
|
|
136
|
-
const fieldError = validationErrors?.[field.name];
|
|
137
|
-
if (field.name === "street" && field.section === "address") return /* @__PURE__ */ u("div", { children: [sectionHeader, /* @__PURE__ */ u(AddressAutocomplete, {
|
|
138
|
-
label: field.label,
|
|
139
|
-
value: fieldValue,
|
|
140
|
-
error: fieldError?.key,
|
|
141
|
-
errorParams: fieldError?.params,
|
|
142
|
-
suggestions: addressSuggestions,
|
|
143
|
-
disabled: isReadonly,
|
|
144
|
-
required: isFieldRequired,
|
|
145
|
-
onChange: (value) => manager.setField("street", value),
|
|
146
|
-
onSearch: (query) => manager.searchAddress(query),
|
|
147
|
-
onSelect: (suggestion) => manager.selectAddress(suggestion),
|
|
148
|
-
onBlur: () => manager.validateField("street")
|
|
149
|
-
})] }, field.name);
|
|
150
|
-
if (field.type === "dropdown") {
|
|
151
|
-
const dropdownLabel = t(field.label);
|
|
152
|
-
return /* @__PURE__ */ u("div", { children: [sectionHeader, /* @__PURE__ */ u(DropdownComposed, {
|
|
153
|
-
id: `ekyc-${field.name}`,
|
|
154
|
-
label: dropdownLabel,
|
|
155
|
-
placeholder: field.placeholder ? t(field.placeholder) : void 0,
|
|
156
|
-
value: fieldValue,
|
|
157
|
-
options: (field.options ?? []).map((o) => {
|
|
158
|
-
const translatedOptionLabel = t(o.label);
|
|
159
|
-
return {
|
|
160
|
-
...o,
|
|
161
|
-
label: translatedOptionLabel,
|
|
162
|
-
ariaLabel: getAccessibleOptionLabel(translatedOptionLabel)
|
|
163
|
-
};
|
|
164
|
-
}),
|
|
165
|
-
error: translateError$1(fieldError),
|
|
166
|
-
disabled: isReadonly,
|
|
167
|
-
required: isFieldRequired,
|
|
168
|
-
searchable: true,
|
|
169
|
-
onChange: (value) => manager.setField(field.name, value),
|
|
170
|
-
onBlur: () => manager.validateField(field.name),
|
|
171
|
-
"data-testid": `ekyc-field-${field.name}`
|
|
172
|
-
})] }, field.name);
|
|
173
|
-
}
|
|
174
|
-
if (field.type === "date") {
|
|
175
|
-
const dateLabel = t(field.label);
|
|
176
|
-
return /* @__PURE__ */ u("div", { children: [sectionHeader, /* @__PURE__ */ u(DateInputComposed, {
|
|
177
|
-
id: `ekyc-${field.name}`,
|
|
178
|
-
label: dateLabel,
|
|
179
|
-
autoComplete: getEkycAutocomplete(field.name),
|
|
180
|
-
value: fieldValue,
|
|
181
|
-
error: translateError$1(fieldError),
|
|
182
|
-
disabled: isReadonly,
|
|
183
|
-
required: isFieldRequired,
|
|
184
|
-
onInput: (e) => {
|
|
185
|
-
const target = e.target;
|
|
186
|
-
manager.setField(field.name, target.value);
|
|
187
|
-
},
|
|
188
|
-
onBlur: () => manager.validateField(field.name),
|
|
189
|
-
"data-testid": `ekyc-field-${field.name}`
|
|
190
|
-
})] }, field.name);
|
|
191
|
-
}
|
|
192
|
-
if (field.type === "phone") {
|
|
193
|
-
const phoneLabel = t(field.label);
|
|
194
|
-
return /* @__PURE__ */ u("div", { children: [sectionHeader, /* @__PURE__ */ u(PhoneInputComposed, {
|
|
195
|
-
id: `ekyc-${field.name}`,
|
|
196
|
-
label: phoneLabel,
|
|
197
|
-
autoComplete: getEkycAutocomplete(field.name),
|
|
198
|
-
countryCode: fieldsCountry,
|
|
199
|
-
value: fieldValue,
|
|
200
|
-
placeholder: field.placeholder,
|
|
201
|
-
error: translateError$1(fieldError),
|
|
202
|
-
disabled: isReadonly,
|
|
203
|
-
disableCountrySelector: field.disableCountrySelector,
|
|
204
|
-
required: isFieldRequired,
|
|
205
|
-
maxDigits: field.maxLength,
|
|
206
|
-
onChange: (fullNumber) => manager.setField(field.name, fullNumber),
|
|
207
|
-
onBlur: () => manager.validateField(field.name),
|
|
208
|
-
"data-testid": `ekyc-field-${field.name}`
|
|
209
|
-
})] }, field.name);
|
|
210
|
-
}
|
|
211
|
-
if (field.type === "radio") return /* @__PURE__ */ u("div", { children: [sectionHeader, /* @__PURE__ */ u(RadioGroupComposed, {
|
|
212
|
-
id: `ekyc-${field.name}`,
|
|
213
|
-
class: "IncodeEkycRadioGroup",
|
|
214
|
-
label: t(field.label),
|
|
215
|
-
value: fieldValue,
|
|
216
|
-
options: (field.options ?? []).map((option) => ({
|
|
217
|
-
value: option.value,
|
|
218
|
-
label: t(option.label)
|
|
219
|
-
})),
|
|
220
|
-
error: translateError$1(fieldError),
|
|
221
|
-
disabled: isReadonly,
|
|
222
|
-
required: isFieldRequired,
|
|
223
|
-
onChange: (next) => manager.setField(field.name, next),
|
|
224
|
-
onBlur: () => manager.validateField(field.name)
|
|
225
|
-
})] }, field.name);
|
|
226
|
-
if (isMaskedEkycField(field.name, fieldsCountry)) {
|
|
227
|
-
const maskedLabel = field.displayLabel ?? t(field.label);
|
|
228
|
-
const maskedPlaceholder = field.placeholder ? t(field.placeholder, field.placeholderParams) : void 0;
|
|
229
|
-
if (isReadonly) return /* @__PURE__ */ u("div", { children: [sectionHeader, /* @__PURE__ */ u("div", {
|
|
230
|
-
className: "IncodeFormField",
|
|
231
|
-
children: /* @__PURE__ */ u(InputComposed, {
|
|
232
|
-
id: field.name,
|
|
233
|
-
name: field.name,
|
|
234
|
-
label: maskedLabel,
|
|
235
|
-
value: fieldValue,
|
|
236
|
-
placeholder: maskedPlaceholder,
|
|
237
|
-
type: "password",
|
|
238
|
-
autoComplete: "off",
|
|
239
|
-
disabled: true,
|
|
240
|
-
"data-testid": `form-field-${field.name}`
|
|
241
|
-
})
|
|
242
|
-
})] }, field.name);
|
|
243
|
-
return /* @__PURE__ */ u("div", { children: [sectionHeader, /* @__PURE__ */ u("div", {
|
|
244
|
-
className: "IncodeFormField",
|
|
245
|
-
children: /* @__PURE__ */ u(PasswordInputComposed, {
|
|
246
|
-
id: field.name,
|
|
247
|
-
name: field.name,
|
|
248
|
-
label: maskedLabel,
|
|
249
|
-
value: fieldValue,
|
|
250
|
-
placeholder: maskedPlaceholder,
|
|
251
|
-
inputMode: "numeric",
|
|
252
|
-
autoComplete: "off",
|
|
253
|
-
required: isFieldRequired,
|
|
254
|
-
maxLength: field.maxLength,
|
|
255
|
-
error: translateError$1(fieldError),
|
|
256
|
-
showPasswordAriaLabel: t("verification.labels.showSsn"),
|
|
257
|
-
hidePasswordAriaLabel: t("verification.labels.hideSsn"),
|
|
258
|
-
onInput: (e) => {
|
|
259
|
-
const target = e.target;
|
|
260
|
-
manager.setField(field.name, target.value);
|
|
261
|
-
},
|
|
262
|
-
onBlur: () => manager.validateField(field.name),
|
|
263
|
-
"data-testid": `form-field-${field.name}`
|
|
264
|
-
})
|
|
265
|
-
})] }, field.name);
|
|
266
|
-
}
|
|
267
|
-
return /* @__PURE__ */ u("div", {
|
|
268
|
-
ref: field.name === "postalCode" ? postalCodeFieldRef : void 0,
|
|
269
|
-
children: [sectionHeader, /* @__PURE__ */ u(FormField, {
|
|
270
|
-
name: field.name,
|
|
271
|
-
label: field.label,
|
|
272
|
-
displayLabel: field.displayLabel,
|
|
273
|
-
autoComplete: getEkycAutocomplete(field.name),
|
|
274
|
-
value: fieldValue,
|
|
275
|
-
error: fieldError?.key,
|
|
276
|
-
errorParams: fieldError?.params,
|
|
277
|
-
type: field.type,
|
|
278
|
-
placeholder: field.placeholder,
|
|
279
|
-
placeholderParams: field.placeholderParams,
|
|
280
|
-
required: isFieldRequired,
|
|
281
|
-
disabled: isReadonly,
|
|
282
|
-
maxLength: field.maxLength,
|
|
283
|
-
onChange: (name, value) => manager.setField(name, value),
|
|
284
|
-
onBlur: (name) => manager.validateField(name)
|
|
285
|
-
})]
|
|
286
|
-
}, field.name);
|
|
287
|
-
})
|
|
288
|
-
}), /* @__PURE__ */ u("div", {
|
|
289
|
-
className: "IncodeEkycFooter",
|
|
290
|
-
children: [
|
|
291
|
-
submitError && /* @__PURE__ */ u("p", {
|
|
292
|
-
className: "IncodeEkycSubmitError",
|
|
293
|
-
role: "alert",
|
|
294
|
-
children: t(submitError)
|
|
295
|
-
}),
|
|
296
|
-
/* @__PURE__ */ u(PrizmaButton, {
|
|
297
|
-
variant: "primary",
|
|
298
|
-
size: "L",
|
|
299
|
-
className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
|
|
300
|
-
onClick: () => manager.submit(),
|
|
301
|
-
disabled: !isValid,
|
|
302
|
-
"data-testid": "ekyc-submit",
|
|
303
|
-
children: t("common.continue")
|
|
304
|
-
}),
|
|
305
|
-
submitError === "verification.errors.countryNotSupported" && /* @__PURE__ */ u(PrizmaButton, {
|
|
306
|
-
size: "L",
|
|
307
|
-
className: "IncodeButton IncodeButtonLink IncodeButtonL",
|
|
308
|
-
variant: "tertiary-link",
|
|
309
|
-
onClick: () => manager.skip(),
|
|
310
|
-
"data-testid": "ekyc-skip",
|
|
311
|
-
children: t("verification.labels.skip")
|
|
312
|
-
})
|
|
313
|
-
]
|
|
314
|
-
})]
|
|
315
|
-
});
|
|
316
|
-
};
|
|
317
|
-
var EkycModuleWithLocalConfig = ({ config, manager, onFinish }) => {
|
|
318
|
-
return /* @__PURE__ */ u(IncodeComponent, { children: config || manager ? /* @__PURE__ */ u(EkycContent, {
|
|
319
|
-
config,
|
|
320
|
-
manager,
|
|
321
|
-
onFinish
|
|
322
|
-
}) : null });
|
|
323
|
-
};
|
|
324
|
-
var EkycModule = withStandaloneModuleBootstrap(EkycModuleWithLocalConfig, "EXTERNAL_VERIFICATION", { supportsExternalManager: true });
|
|
325
|
-
registerIncodeModuleElement(EkycModule, "incode-ekyc");
|
|
326
|
-
//#endregion
|
|
327
|
-
export { EkycModule as t };
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { i as useTranslation } from "./i18n-Dp014ljG.js";
|
|
2
|
-
import { b as u } from "./vendor-preact-DHGqBGMH.js";
|
|
3
|
-
import { x as PrizmaButton } from "./icons-c-hFaG4L.js";
|
|
4
|
-
import { n as cn, t as Spacer } from "./spacer-Jaru_3sb.js";
|
|
5
|
-
import { t as Page } from "./page-U6jZ7BBI.js";
|
|
6
|
-
import { g as useModuleTerminalCallbacks, t as withStandaloneModuleBootstrap, v as useManager } from "./hooks-BFP0WaJM.js";
|
|
7
|
-
import { t as IncodeComponent } from "./incodeComponent-DtKh-UUm.js";
|
|
8
|
-
import { t as VerificationResult } from "./verificationResult-Clxdxm_s.js";
|
|
9
|
-
import { t as InputComposed } from "./inputComposed-CmVsaHOa.js";
|
|
10
|
-
import { t as registerIncodeModuleElement } from "./incodeModule-DCHXAeYU.js";
|
|
11
|
-
import { createFieldComparisonManager } from "@incodetech/core/field-comparison";
|
|
12
|
-
//#region src/modules/field-comparison/fieldComparison.tsx
|
|
13
|
-
var FieldComparisonContent = ({ config, manager: externalManager, onFinish }) => {
|
|
14
|
-
const { t } = useTranslation();
|
|
15
|
-
const [state, manager] = useManager(() => externalManager ?? createFieldComparisonManager({ config }), {
|
|
16
|
-
manageLifecycle: !externalManager,
|
|
17
|
-
autoLoad: true
|
|
18
|
-
});
|
|
19
|
-
useModuleTerminalCallbacks({
|
|
20
|
-
status: state.status === "finished" ? "finished" : "loading",
|
|
21
|
-
onFinish
|
|
22
|
-
});
|
|
23
|
-
const handleSubmit = (e) => {
|
|
24
|
-
e.preventDefault();
|
|
25
|
-
manager.submit();
|
|
26
|
-
};
|
|
27
|
-
if (state.status === "finished") return null;
|
|
28
|
-
if (state.status === "error") return /* @__PURE__ */ u(VerificationResult, {
|
|
29
|
-
status: "failure",
|
|
30
|
-
onRetry: manager.retry,
|
|
31
|
-
onSkip: manager.skip
|
|
32
|
-
});
|
|
33
|
-
if (state.status === "success") return /* @__PURE__ */ u(VerificationResult, {
|
|
34
|
-
status: "success",
|
|
35
|
-
successTitle: t("customFields.completed")
|
|
36
|
-
});
|
|
37
|
-
if (state.status === "submitting" || state.status === "inputting") {
|
|
38
|
-
const isDisabled = state.status === "submitting";
|
|
39
|
-
const canSubmit = state.status === "inputting" && state.canSubmit;
|
|
40
|
-
const validationErrors = state.status === "inputting" ? state.validationErrors : void 0;
|
|
41
|
-
return /* @__PURE__ */ u(Page, {
|
|
42
|
-
className: "IncodeFieldComparisonPage",
|
|
43
|
-
title: t("fieldComparison.title"),
|
|
44
|
-
subtitle: t("forms.subtitle"),
|
|
45
|
-
hideFooterBranding: true,
|
|
46
|
-
"data-testid": "field-comparison-page",
|
|
47
|
-
children: [isDisabled ? /* @__PURE__ */ u("div", {
|
|
48
|
-
class: "IncodeSrOnly",
|
|
49
|
-
role: "status",
|
|
50
|
-
"aria-live": "polite",
|
|
51
|
-
"data-testid": "field-comparison-status",
|
|
52
|
-
children: t("common.processing")
|
|
53
|
-
}) : null, /* @__PURE__ */ u("div", {
|
|
54
|
-
class: "IncodeFieldComparisonForm",
|
|
55
|
-
"data-testid": "field-comparison-fields",
|
|
56
|
-
children: [
|
|
57
|
-
/* @__PURE__ */ u(InputComposed, {
|
|
58
|
-
id: "field-comparison-first-name",
|
|
59
|
-
name: "firstName",
|
|
60
|
-
label: t("verification.labels.firstName"),
|
|
61
|
-
"data-testid": "field-comparison-first-name",
|
|
62
|
-
autoComplete: "given-name",
|
|
63
|
-
required: true,
|
|
64
|
-
disabled: isDisabled,
|
|
65
|
-
value: state.fields.firstName,
|
|
66
|
-
error: validationErrors?.firstName ? t(validationErrors.firstName) : void 0,
|
|
67
|
-
showErrorIcon: !!validationErrors?.firstName,
|
|
68
|
-
onInput: (e) => {
|
|
69
|
-
manager.setField("firstName", e.target.value);
|
|
70
|
-
}
|
|
71
|
-
}),
|
|
72
|
-
/* @__PURE__ */ u(InputComposed, {
|
|
73
|
-
id: "field-comparison-last-name",
|
|
74
|
-
name: "lastName",
|
|
75
|
-
label: t("verification.labels.lastName"),
|
|
76
|
-
"data-testid": "field-comparison-last-name",
|
|
77
|
-
autoComplete: "family-name",
|
|
78
|
-
required: true,
|
|
79
|
-
disabled: isDisabled,
|
|
80
|
-
value: state.fields.lastName,
|
|
81
|
-
error: validationErrors?.lastName ? t(validationErrors.lastName) : void 0,
|
|
82
|
-
showErrorIcon: !!validationErrors?.lastName,
|
|
83
|
-
onInput: (e) => {
|
|
84
|
-
manager.setField("lastName", e.target.value);
|
|
85
|
-
}
|
|
86
|
-
}),
|
|
87
|
-
/* @__PURE__ */ u(Spacer, {}),
|
|
88
|
-
/* @__PURE__ */ u(PrizmaButton, {
|
|
89
|
-
variant: "primary",
|
|
90
|
-
size: "L",
|
|
91
|
-
className: cn("IncodeButton IncodeButtonPrimary IncodeButtonL", isDisabled && "IncodeButtonLoading"),
|
|
92
|
-
type: "submit",
|
|
93
|
-
"data-testid": "field-comparison-submit",
|
|
94
|
-
disabled: !canSubmit || isDisabled,
|
|
95
|
-
loading: isDisabled,
|
|
96
|
-
onClick: handleSubmit,
|
|
97
|
-
children: t("common.continue")
|
|
98
|
-
})
|
|
99
|
-
]
|
|
100
|
-
})]
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
return null;
|
|
104
|
-
};
|
|
105
|
-
var FieldComparisonWithLocalConfig = ({ config = {}, manager, onFinish }) => /* @__PURE__ */ u(IncodeComponent, { children: /* @__PURE__ */ u(FieldComparisonContent, {
|
|
106
|
-
config,
|
|
107
|
-
manager,
|
|
108
|
-
onFinish
|
|
109
|
-
}) });
|
|
110
|
-
var FieldComparison = withStandaloneModuleBootstrap(FieldComparisonWithLocalConfig, "FIELD_COMPARISON", { supportsExternalManager: true });
|
|
111
|
-
registerIncodeModuleElement(FieldComparison, "incode-field-comparison");
|
|
112
|
-
//#endregion
|
|
113
|
-
export { FieldComparison as t };
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { i as useTranslation } from "./i18n-Dp014ljG.js";
|
|
2
|
-
import { _ as q, b as u } from "./vendor-preact-DHGqBGMH.js";
|
|
3
|
-
import { t as Spacer } from "./spacer-Jaru_3sb.js";
|
|
4
|
-
import { t as Title } from "./typography-CiGhKJGx.js";
|
|
5
|
-
import { r as AnimatedAsset } from "./spinner-51btbot0.js";
|
|
6
|
-
//#region src/modules/id/flipAnimation.tsx
|
|
7
|
-
var FlipAnimation = ({ manager, direction }) => {
|
|
8
|
-
const { t } = useTranslation();
|
|
9
|
-
const handleAnimationComplete = q(async () => {
|
|
10
|
-
await new Promise((resolve) => setTimeout(resolve, 1e3));
|
|
11
|
-
if (direction === "toBack") manager.continueToBack();
|
|
12
|
-
else manager.continueToFront();
|
|
13
|
-
}, [direction, manager]);
|
|
14
|
-
return /* @__PURE__ */ u("div", {
|
|
15
|
-
class: "IncodeFlipAnimation",
|
|
16
|
-
children: [
|
|
17
|
-
/* @__PURE__ */ u(Title, {
|
|
18
|
-
role: "status",
|
|
19
|
-
className: "IncodeFlipAnimationTitle",
|
|
20
|
-
children: t(direction === "toBack" ? "idv2.flipAnimation.title" : "idv2.flipAnimation.titleToFront")
|
|
21
|
-
}),
|
|
22
|
-
/* @__PURE__ */ u(Spacer, { size: 32 }),
|
|
23
|
-
/* @__PURE__ */ u(AnimatedAsset, {
|
|
24
|
-
name: "id.flip",
|
|
25
|
-
loop: false,
|
|
26
|
-
reverse: direction === "toFront",
|
|
27
|
-
onComplete: handleAnimationComplete
|
|
28
|
-
})
|
|
29
|
-
]
|
|
30
|
-
});
|
|
31
|
-
};
|
|
32
|
-
//#endregion
|
|
33
|
-
export { FlipAnimation as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./inputComposed-CmVsaHOa.js";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { b as u } from "./vendor-preact-DHGqBGMH.js";
|
|
2
|
-
//#region src/shared/permissions/camera/numberedStep.tsx
|
|
3
|
-
var NumberedStep = ({ number }) => {
|
|
4
|
-
return /* @__PURE__ */ u("div", {
|
|
5
|
-
class: "IncodeNumberedStep",
|
|
6
|
-
children: /* @__PURE__ */ u("span", {
|
|
7
|
-
class: "IncodeNumberedStepText",
|
|
8
|
-
children: number
|
|
9
|
-
})
|
|
10
|
-
});
|
|
11
|
-
};
|
|
12
|
-
//#endregion
|
|
13
|
-
export { NumberedStep as t };
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { b as u, i as D, m as d } from "./vendor-preact-DHGqBGMH.js";
|
|
2
|
-
import { c as EyeOffIcon, d as EllipseIcon, l as EyeIcon, r as SuccessIcon, u as ErrorIcon } from "./icons-c-hFaG4L.js";
|
|
3
|
-
import { n as cn } from "./spacer-Jaru_3sb.js";
|
|
4
|
-
import { t as InputComposed } from "./inputComposed-CmVsaHOa.js";
|
|
5
|
-
import "./inputComposed-DvGrso7g.js";
|
|
6
|
-
//#region src/shared/passwordInputComposed/passwordInputComposed.tsx
|
|
7
|
-
var PasswordInputComposed = D(({ id, value, class: className, invalid, showPasswordAriaLabel, hidePasswordAriaLabel, defaultVisible = false, requirementsHeading, requirements = [], requirementMetLabel, requirementUnmetLabel, ...restProps }, ref) => {
|
|
8
|
-
const [visible, setVisible] = d(defaultVisible);
|
|
9
|
-
const hasValue = !!(value && String(value).length > 0);
|
|
10
|
-
const allMet = requirements.every((requirement) => requirement.met);
|
|
11
|
-
const showRequirementsError = hasValue && requirements.length > 0 && !allMet;
|
|
12
|
-
const requirementsHeadingId = `${id}-requirements-heading`;
|
|
13
|
-
return /* @__PURE__ */ u("div", {
|
|
14
|
-
class: cn("IncodePasswordInputComposed", className),
|
|
15
|
-
children: [/* @__PURE__ */ u(InputComposed, {
|
|
16
|
-
...restProps,
|
|
17
|
-
id,
|
|
18
|
-
ref,
|
|
19
|
-
value,
|
|
20
|
-
type: visible ? "text" : "password",
|
|
21
|
-
invalid: showRequirementsError || invalid,
|
|
22
|
-
rightIcon: /* @__PURE__ */ u("button", {
|
|
23
|
-
type: "button",
|
|
24
|
-
class: "IncodePasswordInputComposedToggle",
|
|
25
|
-
"aria-label": visible ? hidePasswordAriaLabel : showPasswordAriaLabel,
|
|
26
|
-
"aria-pressed": visible,
|
|
27
|
-
"aria-controls": id,
|
|
28
|
-
"data-testid": `${id}-toggle-visibility`,
|
|
29
|
-
onClick: () => setVisible((currentlyVisible) => !currentlyVisible),
|
|
30
|
-
children: visible ? /* @__PURE__ */ u(EyeOffIcon, { size: 24 }) : /* @__PURE__ */ u(EyeIcon, { size: 24 })
|
|
31
|
-
})
|
|
32
|
-
}), requirements.length > 0 && /* @__PURE__ */ u("div", {
|
|
33
|
-
class: "IncodePasswordInputComposedRequirements",
|
|
34
|
-
children: [requirementsHeading && /* @__PURE__ */ u("p", {
|
|
35
|
-
id: requirementsHeadingId,
|
|
36
|
-
class: "IncodePasswordInputComposedRequirementsHeading",
|
|
37
|
-
"data-invalid": showRequirementsError,
|
|
38
|
-
"data-testid": requirementsHeadingId,
|
|
39
|
-
children: [showRequirementsError && /* @__PURE__ */ u("span", {
|
|
40
|
-
class: "IncodePasswordInputComposedRequirementsHeadingIcon",
|
|
41
|
-
"aria-hidden": "true",
|
|
42
|
-
children: /* @__PURE__ */ u(ErrorIcon, { size: 16 })
|
|
43
|
-
}), requirementsHeading]
|
|
44
|
-
}), /* @__PURE__ */ u("ul", {
|
|
45
|
-
class: "IncodePasswordInputComposedRequirementsList",
|
|
46
|
-
"aria-live": "polite",
|
|
47
|
-
"aria-labelledby": requirementsHeading ? requirementsHeadingId : void 0,
|
|
48
|
-
"data-testid": `${id}-requirements`,
|
|
49
|
-
children: requirements.map(({ key, label, met }) => /* @__PURE__ */ u("li", {
|
|
50
|
-
class: "IncodePasswordInputComposedRequirement",
|
|
51
|
-
"data-met": met,
|
|
52
|
-
"data-testid": `${id}-requirement-${key}`,
|
|
53
|
-
children: [
|
|
54
|
-
/* @__PURE__ */ u("span", {
|
|
55
|
-
"aria-hidden": "true",
|
|
56
|
-
class: "IncodePasswordInputComposedRequirementIcon",
|
|
57
|
-
children: met ? /* @__PURE__ */ u(SuccessIcon, { size: 16 }) : /* @__PURE__ */ u(EllipseIcon, { size: 16 })
|
|
58
|
-
}),
|
|
59
|
-
/* @__PURE__ */ u("span", {
|
|
60
|
-
class: "IncodePasswordInputComposedRequirementLabel",
|
|
61
|
-
children: label
|
|
62
|
-
}),
|
|
63
|
-
(requirementMetLabel || requirementUnmetLabel) && /* @__PURE__ */ u("span", {
|
|
64
|
-
class: "IncodeSrOnly",
|
|
65
|
-
children: met ? requirementMetLabel : requirementUnmetLabel
|
|
66
|
-
})
|
|
67
|
-
]
|
|
68
|
-
}, key))
|
|
69
|
-
})]
|
|
70
|
-
})]
|
|
71
|
-
});
|
|
72
|
-
});
|
|
73
|
-
//#endregion
|
|
74
|
-
export { PasswordInputComposed as t };
|