@incodetech/web 2.4.1-agentic.9 → 2.5.0-rc.0
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-Bl0ESi9x.js → GeolocationPermissionDenied-DRRBxdLP.js} +5 -5
- package/dist/Password-CY3Tv_5W.js +212 -0
- package/dist/RadioGroup-CnxMGtas.js +123 -0
- package/dist/RequiredLegend-CLQ0HX7d.js +16 -0
- package/dist/RequiredMarker-CAqxArxr.js +16 -0
- package/dist/TextField-MsdsbAbT.js +166 -0
- package/dist/ae-signature/ae-signature.es.js +4 -4
- package/dist/{af-ZA-BtuHt1ef.js → af-ZA-CtJyXRHO.js} +11 -27
- package/dist/{ageVerification-JN9VvXwE.js → ageVerification-C6fgHkhK.js} +5 -5
- package/dist/{am-l8nD7Xzz.js → am-BvQDMy8e.js} +11 -27
- package/dist/antifraud/antifraud.es.js +5 -5
- package/dist/{applyStudioConfig-B64x1L-J.js → applyStudioConfig-DO18I6Cf.js} +2 -2
- package/dist/{ar-AE-CO4WaEdG.js → ar-AE-CmS-eCPq.js} +11 -27
- package/dist/{ar-DsKx-YwP.js → ar-Bpe0wGYL.js} +11 -27
- package/dist/{ar-EG-CgYEh6do.js → ar-EG-DaxpzWwx.js} +11 -27
- package/dist/authentication/authentication.es.js +9 -8
- package/dist/{autoFocusTitle-MePwRIrH.js → autoFocusTitle-D_vDhPqZ.js} +2 -2
- package/dist/{az-DTmme8ut.js → az-zSRFEU_F.js} +11 -27
- package/dist/{back-horizontal-hint-yueBylfH.js → back-horizontal-hint-Bci98ivl.js} +1 -1
- package/dist/{back-vertical-hint-NzFSG2Bh.js → back-vertical-hint-DyPCItxn.js} +1 -1
- package/dist/base.css +1 -1
- package/dist/{baseTutorial-BYTLqczq.js → baseTutorial-Bktx_Yrr.js} +4 -4
- package/dist/{bn-CvF9FlWn.js → bn-BrITyCOh.js} +11 -27
- package/dist/{bottomSheet-BbgC68Rm.js → bottomSheet-CzU1QNua.js} +3 -3
- package/dist/{bs-DE7QTPiz.js → bs-rdaEnpNo.js} +11 -27
- package/dist/{ca-B2IOmHal.js → ca-BEtpN_ag.js} +11 -27
- package/dist/cameraOverlay-D6NPWfIT.js +2 -0
- package/dist/{cameraOverlayHeader-DKPegKOB.js → cameraOverlayHeader-DZHCfN1x.js} +5 -5
- package/dist/{cameraView-B9ulYDlK.js → cameraView-CYd-_y_r.js} +3 -3
- package/dist/capture-BBQJgktJ.js +2 -0
- package/dist/{capture-BfiBco34.js → capture-BstPDTgL.js} +10 -10
- package/dist/{capture-Ofbv-y4C.js → capture-CkvbPbJK.js} +21 -21
- package/dist/capture-DiJGnu9z.js +3 -0
- package/dist/captureButtonIcon-DhTUlcGq.js +1 -0
- package/dist/{captureFocusContext-CbhM0Rak.js → captureFocusContext-FsGun4Yd.js} +11 -11
- package/dist/{captureFooter-CyQw85c9.js → captureFooter-BLJ1Qvov.js} +5 -5
- package/dist/{ceb-DMyDJibH.js → ceb-D5rPC9mY.js} +11 -27
- package/dist/certificate-issuance/certificate-issuance.es.js +40 -29
- package/dist/{checkbox-COiob4-f.js → checkbox-HfnbGBMk.js} +4 -4
- package/dist/{chooser-CMZn17HH.js → chooser-Dm0wohHb.js} +12 -12
- package/dist/{connectionError-DQc99Xwr.js → connectionError-BFVvBEMq.js} +5 -5
- package/dist/consent/consent.es.js +11 -11
- package/dist/{countryDefinitions-YYJL8AKj.js → countryDefinitions-UXJ0maPk.js} +6 -0
- package/dist/{countryFlag-mUH97k33.js → countryFlag-CjuXF_8C.js} +1 -1
- package/dist/{countrySelector-Clj3rtbE.js → countrySelector-CEJAgeRY.js} +4 -4
- package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -5
- package/dist/{cs-CZ-BoJHPkXg.js → cs-CZ-BEprNqLt.js} +11 -27
- package/dist/{cs-C6BvjMnL.js → cs-D_U436l9.js} +11 -27
- package/dist/curp-validation/curp-validation.es.js +42 -28
- package/dist/{customFields-CTQsIMU8.js → customFields-DqebmaL5.js} +24 -18
- package/dist/{customWatchlist-BGVgykZy.js → customWatchlist-DVSMbzw5.js} +6 -6
- package/dist/{da-DK-BgryIABe.js → da-DK-dMikXCNn.js} +11 -27
- package/dist/{dashboardTheme-DmmLPc5-.js → dashboardTheme-CB91NoiD.js} +24 -19
- package/dist/{dateInputComposed-BAglkb04.js → dateInputComposed-CVJ4LSep.js} +4 -5
- package/dist/dateInputComposed-DF0Dx86l.js +1 -0
- package/dist/{de-CmigCxj3.js → de-C3c7Bo-M.js} +11 -27
- package/dist/{denied-B-Sa9xtg.js → denied-BR9pZqKi.js} +7 -7
- package/dist/{devWarn-Cus67U3P.js → devWarn-CXWsIkak.js} +86 -108
- package/dist/{deviceWallet-BC90NDd9.js → deviceWallet-DDHk7jBw.js} +4 -4
- package/dist/{digitalIdRedirect-C849eRWw.js → digitalIdRedirect-DKJgITR_.js} +4 -4
- package/dist/{digitalIdUpload-7IBs1xuH.js → digitalIdUpload-BgG6svjJ.js} +7 -7
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/{documentCapture-Dg6F5vPo.js → documentCapture-Cu3F_ka7.js} +23 -22
- package/dist/documentCapture-owKpu8oI.js +2 -0
- package/dist/{dropdownComposed-B-jwhIk3.js → dropdownComposed-BJCNWDGU.js} +4 -4
- package/dist/dropdownComposed-zidm_XVK.js +1 -0
- package/dist/dynamic-forms/dynamic-forms.es.js +57 -35
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekybModule-Qc_5cB3W.js +2 -0
- package/dist/{ekybModule-CXckmono.js → ekybModule-tV6tUWe_.js} +101 -86
- 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 +1 -1
- package/dist/ekycModule-BgB_xu54.js +789 -0
- package/dist/ekycModule-DZ7yboJO.js +2 -0
- package/dist/ekycPrefillModule-B0cJJiuu.js +2 -0
- package/dist/{ekycPrefillModule-Dvb4nz8D.js → ekycPrefillModule-B1xn0veW.js} +96 -69
- package/dist/{el-GR-DEVeeY1N.js → el-GR-eG5AImZr.js} +11 -27
- package/dist/{el-C504mByE.js → el-LOaoXfUU.js} +11 -27
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-DdTsRO4E.js → electronic-signature-BleJ65-Y.js} +12 -12
- package/dist/email/email.es.js +10 -10
- package/dist/{emailInput-BhovfkJr.js → emailInput-BVx96bJy.js} +23 -12
- package/dist/{en-CjGMhH0a.js → en-B_-7--AN.js} +11 -27
- package/dist/{en-DG-D0uJ-8uf.js → en-DG-BDnlBAUl.js} +11 -27
- package/dist/{errorContent-Do4AkQxk.js → errorContent-x8IajOaE.js} +6 -6
- package/dist/{errorParams-BsjlLhGl.js → errorParams-B68-Euu2.js} +1 -1
- package/dist/{es-419-Dj2u3lIS.js → es-419-DS4mN2d_.js} +1 -1
- package/dist/{es-ES-BFt41nFI.js → es-ES-BMafdM90.js} +11 -27
- package/dist/{es-MX-B_Wc9vvS.js → es-MX-DqhG7Zy7.js} +11 -27
- package/dist/{es-CceiWbcv.js → es-T4K5G5zB.js} +12 -28
- package/dist/{et-Bj_x5sOU.js → et-fBoHBc5h.js} +11 -27
- package/dist/{expiredId-CMUoX-P0.js → expiredId-Q5ITzZU-.js} +6 -6
- package/dist/extensibility.es.js +328 -45
- package/dist/{fa-IR-BN0UsB54.js → fa-IR--PnMtKvC.js} +11 -27
- 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-D0OyUbR5.js → faceMatch-D-ehWIdN.js} +40 -28
- package/dist/faceMatch-RxP2VPBm.js +2 -0
- package/dist/{fi-FI-XID8T9Ko.js → fi-FI-D-T9bf67.js} +11 -27
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-BhYiGx0t.js +2 -0
- package/dist/fieldComparison-c3xT3K4C.js +126 -0
- package/dist/{fieldLabelHint-C0ZLkktZ.js → fieldLabelHint-yMZjXK6p.js} +1 -1
- package/dist/{finalSuccessScreen-LISnhuf3.js → finalSuccessScreen-CDr8bsI6.js} +24 -17
- package/dist/fiscal-qr/fiscal-qr.es.js +22 -19
- package/dist/{flipAnimation-DjM5JYfL.js → flipAnimation-C95PZFAJ.js} +5 -5
- package/dist/{flipCapturedCardEligibility-BNIrIYfu.js → flipCapturedCardEligibility-CcB0uVfH.js} +4 -4
- package/dist/flow/flow.es.js +100 -99
- package/dist/flow/styles.css +1 -1
- package/dist/formField-Ba8BQ_l8.js +49 -0
- package/dist/{fr-IbVATPZV.js → fr-BlNTqS4_.js} +11 -27
- package/dist/{fr-CA-Bmt-kW3D.js → fr-CA-DBO_1sfd.js} +11 -27
- package/dist/{front-horizontal-hint-C9-5nbdp.js → front-horizontal-hint-LxyNVfjy.js} +1 -1
- package/dist/{front-vertical-hint-DTtHshwX.js → front-vertical-hint-BKEg_DRs.js} +1 -1
- package/dist/geolocation/geolocation.es.js +10 -10
- package/dist/government-validation/government-validation.es.js +7 -7
- package/dist/{he-B1oTlS7p.js → he-C-PnifVg.js} +11 -27
- package/dist/{hi-BFeWb9MT.js → hi-mETIwcDe.js} +11 -27
- package/dist/{hmn-naJkqwAe.js → hmn-BZabGetu.js} +11 -27
- package/dist/{homeScreen-kVe-PwZV.js → homeScreen-CcRzcWya.js} +7 -7
- package/dist/{hooks-CE8vvsR8.js → hooks-nmwpawA2.js} +49 -11
- package/dist/{hr-CpwG7WJ4.js → hr-DzkTH3cj.js} +11 -27
- package/dist/{ht-mbMGmJ9j.js → ht-D5zV7ROu.js} +11 -27
- package/dist/{hu-CAPECmUZ.js → hu-CeHrYR4q.js} +12 -28
- package/dist/{icons-Bz641AZd.js → icons-DLZTxOV2.js} +2 -2
- package/dist/id/id.es.js +38 -37
- package/dist/{id-DNQTblvO.js → id-B_qFrh_W.js} +12 -28
- package/dist/{id-back-of-card-DNgfCJsN.js → id-back-of-card-BhF5T4fC.js} +1 -1
- package/dist/{id-back-of-card-vertical-D7qtwPW5.js → id-back-of-card-vertical-BudLiGPR.js} +1 -1
- package/dist/{id-front-of-card-CM0hV6jv.js → id-front-of-card-CiGcJhVW.js} +1 -1
- package/dist/{id-front-of-card-vertical-Cz0op2vf.js → id-front-of-card-vertical-C_GyecLf.js} +1 -1
- package/dist/id-selfie-flow/id-selfie-flow.es.js +13 -13
- package/dist/id-selfie-flow/styles.css +1 -1
- package/dist/id-verification/id-verification.es.js +12 -7
- package/dist/{idFlipTransition-Cue3HSGt.js → idFlipTransition-DuwSIp-D.js} +13 -13
- package/dist/{idOcr-XOJ-JY-l.js → idOcr-DatcQrFh.js} +60 -37
- package/dist/identity-reuse/identity-reuse.es.js +14 -13
- package/dist/identity-reuse/styles.css.js +1 -0
- package/dist/{incodeComponent-C1TMotqV.js → incodeComponent-DFue7FgD.js} +10 -10
- package/dist/{incodeModule-BeATmadl.js → incodeModule-BWSWx6zz.js} +5 -5
- package/dist/index.es.js +3 -3
- package/dist/{inputComposed-CRp1H6U_.js → inputComposed-6M3lOVUo.js} +4 -4
- package/dist/{it-BcT816iZ.js → it-CwzQoTtJ.js} +11 -27
- package/dist/{ja-JP-BhZupQ7A.js → ja-JP-Cg6pV7OS.js} +12 -28
- package/dist/{ja-B5spS5-8.js → ja-eNtdzeB5.js} +11 -27
- package/dist/{jv-DalcXb84.js → jv-BANHtRb4.js} +11 -27
- package/dist/{ka-CbUOmftP.js → ka-DWhlum5Q.js} +11 -27
- package/dist/{kk-0EE3IrpX.js → kk-CAsKyYR9.js} +11 -27
- package/dist/{km-8LSGXQaW.js → km-DJHdr0lO.js} +16 -32
- package/dist/{ko-BjG0PPAP.js → ko-BAPbgx_r.js} +11 -27
- package/dist/{ko-KP-CpVrSvZB.js → ko-KP-BRD8crfV.js} +11 -27
- package/dist/{ky-xwaTThY0.js → ky-0IKHwWw_.js} +11 -27
- package/dist/kyb-checks/kyb-checks.es.js +1 -1
- package/dist/{kybChecksModule-DvZ-BZRh.js → kybChecksModule-CWFpU32e.js} +80 -64
- package/dist/kybChecksModule-D3u3hdUP.js +2 -0
- package/dist/{lo-EQF7PXWa.js → lo-DkBffqOP.js} +11 -27
- package/dist/{lt-DMmeCaHo.js → lt-Btf5JQPU.js} +12 -28
- package/dist/{lv-C1iTZMfE.js → lv-DMnPY0bZ.js} +12 -28
- package/dist/{mandatoryConsent-CvTtalAL.js → mandatoryConsent-Ci6fJR2F.js} +11 -11
- package/dist/{manualCaptureButton-BuQHmszh.js → manualCaptureButton-DrdeVhq8.js} +4 -4
- package/dist/{manualCaptureButton-DQAbimvq.js → manualCaptureButton-ZxWHf5Sa.js} +10 -10
- package/dist/{mk-DzMpKPOz.js → mk-CQIDbtM2.js} +11 -27
- package/dist/{mn-BvXd9F52.js → mn-Cc1HnwyR.js} +11 -27
- package/dist/{ms-Cp7ZJ7mK.js → ms-CORA9eaw.js} +11 -27
- package/dist/{my-GmBVDdMo.js → my-CNDvlF-Z.js} +11 -27
- package/dist/{nb-NO-y1MiZO8w.js → nb-NO-BwZ27fuH.js} +11 -27
- package/dist/{ne-Cl08Ph1J.js → ne-D7rkhft1.js} +11 -27
- package/dist/{nl-xrUuWU-J.js → nl-DsxNMb79.js} +12 -28
- package/dist/{optionAccessibleLabel-BU3kQ0En.js → optionAccessibleLabel-Cz2x8Q7x.js} +25 -10
- package/dist/{otpInput-Dmg_f47Q.js → otpInput-B2fLiJsF.js} +96 -15
- package/dist/{page-BR1C3Nzj.js → page-B0CjRMtF.js} +6 -6
- package/dist/{pageUiConfig-CHSWT3Gw.js → pageUiConfig-mKn_YhhU.js} +5 -5
- package/dist/{passport-horizontal-hint-SkVy1ylo.js → passport-horizontal-hint-Bn18pckF.js} +1 -1
- package/dist/{passport-vertical-hint-CgCA8IKR.js → passport-vertical-hint-D_bvTNZY.js} +1 -1
- package/dist/passwordRequirements-13qw_WSJ.js +49 -0
- package/dist/{pdf-B05hp9AA.js → pdf-DO_HvE8T.js} +2 -2
- package/dist/pdfViewer-CCHNUl5h.js +2 -0
- package/dist/{pdfViewer-CYoSQQNz.js → pdfViewer-pgBIY_Q7.js} +4 -4
- package/dist/{permissionInstructionList-hPNjHN71.js → permissionInstructionList-DPDqNKFJ.js} +3 -3
- package/dist/{permissions-Bu02I3PR.js → permissions-CKjgrM7q.js} +13 -13
- package/dist/phone/phone.es.js +11 -11
- package/dist/{phoneInputComposed-B7W1co5m.js → phoneInputComposed-BbZuW8Q8.js} +6 -6
- package/dist/{pl-C01qnZKR.js → pl-DOgi6huc.js} +11 -27
- package/dist/{preloadableLazy-BDZiRMcF.js → preloadableLazy-KWGuHoqn.js} +1 -1
- package/dist/{processing-CIy9REXo.js → processing-v4EkL9-U.js} +2 -2
- package/dist/{progressBar-Bv7JPmtA.js → progressBar-D-kfX8X1.js} +2 -2
- package/dist/{pt-BR-wEX_V9Uj.js → pt-BR-x__xGSN_.js} +11 -27
- package/dist/{pt-D4WG4iEZ.js → pt-CX0ngiGh.js} +11 -27
- package/dist/{pt-PT-BPg4BIJf.js → pt-PT-BKwyOX-W.js} +11 -27
- package/dist/qe-signature/qe-signature.es.js +4 -4
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +13 -13
- package/dist/redirect-to-mobile/styles.css +1 -1
- package/dist/redirect-to-mobile/styles.css.js +1 -1
- package/dist/{registerIncodeElement-B5W7SqS3.js → registerIncodeElement-FoirFu19.js} +1 -1
- package/dist/{resendTimer-CeSq33kX.js → resendTimer-DHgQUcAi.js} +2 -2
- package/dist/{richText-BMvr5dhl.js → richText-DlHC_sMB.js} +4 -4
- package/dist/{ro-Cqlj7IaS.js → ro-DGB5aI9B.js} +11 -27
- package/dist/{ru-4u-5Riz6.js → ru-Dnl6YnE6.js} +12 -28
- package/dist/{ru-RU-hoEJT3Zf.js → ru-RU-BM5Leyxp.js} +11 -27
- package/dist/{sanitizeSvg-wb-lG02K.js → sanitizeSvg-IfqLuP1N.js} +1 -1
- package/dist/selfie/selfie.es.js +13 -12
- package/dist/signature/signature.es.js +10 -10
- package/dist/{sk-Bcrhcaus.js → sk-B4HQZzV6.js} +12 -28
- package/dist/{sl-_NIS9uQY.js → sl-ClgVmZ1h.js} +11 -27
- package/dist/{smsTabContent-CuxElbq9.js → smsTabContent-D9Eb005G.js} +7 -7
- package/dist/{so-B9pngiw2.js → so-BLFIV5-m.js} +11 -27
- package/dist/{spacer-BMVbQdv1.js → spacer-D5j2phXI.js} +293 -322
- package/dist/spinner-BeYdZjPC.js +69 -0
- package/dist/{sr-CwLs8KQk.js → sr-CkSmwRiY.js} +11 -27
- package/dist/{sr-Latn-My3nXAfv.js → sr-Latn-BdLB-I3Z.js} +15 -31
- package/dist/{sr-YU-D6EswTRk.js → sr-YU-DJ3geBJs.js} +1 -1
- package/dist/{sv-SE-3XWHgiaY.js → sv-SE-DEfqYDzZ.js} +11 -27
- package/dist/{sw-u0GGYzxM.js → sw-16U52YpC.js} +11 -27
- package/dist/{th-DuUtrE7A.js → th-Cg0hYujg.js} +11 -27
- package/dist/{th-TH-CIxIVJnV.js → th-TH-BBPg926O.js} +11 -27
- package/dist/themes/dark.css +1 -1
- package/dist/themes/light.css +1 -1
- package/dist/{tl-PH-vdHV7e5l.js → tl-PH-DSHq83jb.js} +11 -27
- package/dist/{tl-Cnee5vHJ.js → tl-SL2bqb6j.js} +11 -27
- package/dist/{tr-B6NfQ1YM.js → tr-DclJKp5i.js} +11 -27
- package/dist/{transitionSpinner-BYT6Y26d.js → transitionSpinner-b8SMrhfd.js} +6 -6
- package/dist/{tutorial-DGi7njtc.js → tutorial-0IhGg6rb.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 +7 -3
- 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 +7 -10
- 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 +7 -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/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-CHx4UfE3.js → typography-D3swFCxZ.js} +2 -2
- package/dist/{uk-D8SBQUPY.js → uk-CfFK_Tnk.js} +11 -27
- package/dist/{uk-UA-CMvgmdmw.js → uk-UA-vkh8X4bX.js} +12 -28
- package/dist/{ur-DCLXBfJS.js → ur-32a-9tt8.js} +11 -27
- package/dist/{useCameraPreview-DrteOjaq.js → useCameraPreview-hNLhri73.js} +1 -1
- package/dist/{useCaptureHelpButton-BEjYpwg6.js → useCaptureHelpButton-BJQvSkuJ.js} +2 -2
- package/dist/{useIsDarkTheme-DAs5RhsW.js → useIsDarkTheme-DoOFy9TN.js} +1 -1
- package/dist/{useModuleLoader--rVDzHqn.js → useModuleLoader-BCYS1xLP.js} +25 -17
- package/dist/{uz-CdTikNR8.js → uz-BEx-De8I.js} +11 -27
- package/dist/{vendor-preact-HIccnts1.js → vendor-preact-CjnloSla.js} +129 -5
- package/dist/{verificationResult-D8QnyuI1.js → verificationResult-tHoFvrGZ.js} +6 -6
- package/dist/{vi-8i3fXIYC.js → vi-CMQXfqfw.js} +11 -27
- 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 +32 -24
- package/dist/watchlist/watchlist.es.js +7 -6
- package/dist/{watchlistForBusiness-gQlRJDj7.js → watchlistForBusiness-CbRaBYoJ.js} +29 -20
- package/dist/{withEndScreenTexts-oHy-aDwN.js → withEndScreenTexts-10ck20tq.js} +43 -28
- package/dist/workflow/styles.css +1 -1
- package/dist/workflow/workflow.es.js +531 -1
- package/dist/{zh-CN-C_3DQPAO.js → zh-CN-BelxA_Rf.js} +11 -27
- package/dist/{zh-HANT-DzKThLGe.js → zh-HANT-DsztptZA.js} +11 -27
- package/dist/{zh-TW-CRwvuA_1.js → zh-TW-DKQC3FXd.js} +11 -27
- package/dist/{zh-JxvLpfJI.js → zh-v3x4XYal.js} +11 -27
- package/package.json +5 -14
- package/dist/cameraOverlay-CbaSCAzN.js +0 -2
- package/dist/capture-B105Gyzk.js +0 -2
- package/dist/capture-kxXHrakb.js +0 -3
- package/dist/captureButtonIcon-DdqcSAFo.js +0 -1
- package/dist/dateInputComposed-Bq9yEjqE.js +0 -1
- package/dist/documentCapture-CSovKIfj.js +0 -2
- package/dist/dropdownComposed-D9WtKiZl.js +0 -1
- package/dist/ekybModule-CqV7hjNi.js +0 -2
- package/dist/ekycModule-DHEPIoB-.js +0 -328
- package/dist/ekycModule-OERg1YPW.js +0 -2
- package/dist/ekycPrefillModule-B4BJQWaa.js +0 -2
- package/dist/faceMatch-1IxVsuQC.js +0 -2
- package/dist/fieldComparison-D3dONVPr.js +0 -113
- package/dist/fieldComparison-DWl2ByZ2.js +0 -2
- package/dist/formField-BP6uJTSh.js +0 -34
- package/dist/inputComposed-Dc8tBgb6.js +0 -1
- package/dist/kybChecksModule-DMKKtrmB.js +0 -2
- package/dist/passwordInputComposed-DKEB8EmI.js +0 -74
- package/dist/pdfViewer-BRAs-KYx.js +0 -2
- package/dist/radioGroupComposed-BZ5zWFS6.js +0 -160
- package/dist/radioGroupComposed-DA4CM0OB.js +0 -1
- package/dist/spinner-DkgXsNMB.js +0 -106
- package/dist/step-up/step-up.es.js +0 -483
- package/dist/step-up/styles.css +0 -2
- package/dist/types/step-up.d.ts +0 -85
- package/dist/workflow-CXjNrouG.js +0 -531
- /package/dist/{aligndevicelottie-B6hTuIe8.js → aligndevicelottie-BEKzL4SB.js} +0 -0
- /package/dist/{assertClassBrand-CuHX5JcR.js → assertClassBrand-F6pL6aIr.js} +0 -0
- /package/dist/{back-tutorial-v-0Ek2vm.js → back-tutorial-B9W63fa-.js} +0 -0
- /package/dist/{backdevicelottie-DF1HiZ5r.js → backdevicelottie-DsN8QBV3.js} +0 -0
- /package/dist/{blurdevicelottie-BSyppjCM.js → blurdevicelottie-DkV7Kwo4.js} +0 -0
- /package/dist/{defineProperty-CRYuXE79.js → defineProperty-B4FQTz14.js} +0 -0
- /package/dist/{flip-animation-BwsJr5v0.js → flip-animation-DJVnWWL5.js} +0 -0
- /package/dist/{frontdevicelottie-DBYQ8I6w.js → frontdevicelottie-DiW1Wmya.js} +0 -0
- /package/dist/{glaredevicelottie-Cd1wXkQ6.js → glaredevicelottie-CK-fnX_s.js} +0 -0
- /package/dist/{id-laser-h-xw6WLLM_.js → id-laser-h-6Am_cjM8.js} +0 -0
- /package/dist/{id-laser-v-BHYuyf78.js → id-laser-v-DXoF3flH.js} +0 -0
- /package/dist/{id-tutorial-CYXjnunq.js → id-tutorial-DkKH3eTE.js} +0 -0
- /package/dist/{lottie_light-B819EhaL.js → lottie_light-Bam05Bc9.js} +0 -0
- /package/dist/{passport-tutorial-B_BAoSVc.js → passport-tutorial-D3Fpk-Tj.js} +0 -0
- /package/dist/{pdf.worker.min-DzBNMoKS.js → pdf.worker.min-D0hm-8jN.js} +0 -0
- /package/dist/{policyUrls-Hvb4jPfF.js → policyUrls-B3TEaluh.js} +0 -0
- /package/dist/{purify.es-DIIgrZ-E.js → purify.es-DhY3JLdI.js} +0 -0
- /package/dist/{selfieTutorial-2UnQ3071.js → selfieTutorial-DnsRD1Z9.js} +0 -0
|
@@ -1,328 +0,0 @@
|
|
|
1
|
-
import { d as useTranslation } from "./devWarn-Cus67U3P.js";
|
|
2
|
-
import { b as u, l as A, y } from "./vendor-preact-HIccnts1.js";
|
|
3
|
-
import { b as PrizmaButton } from "./icons-Bz641AZd.js";
|
|
4
|
-
import { t as Page } from "./page-BR1C3Nzj.js";
|
|
5
|
-
import { b as useManager, g as useFormScrollable, n as withStandaloneModuleBootstrap, v as useModuleTerminalCallbacks } from "./hooks-CE8vvsR8.js";
|
|
6
|
-
import { t as Spinner } from "./spinner-DkgXsNMB.js";
|
|
7
|
-
import { t as IncodeComponent } from "./incodeComponent-C1TMotqV.js";
|
|
8
|
-
import { t as VerificationResult } from "./verificationResult-D8QnyuI1.js";
|
|
9
|
-
import { t as InputComposed } from "./inputComposed-CRp1H6U_.js";
|
|
10
|
-
import "./inputComposed-Dc8tBgb6.js";
|
|
11
|
-
import { t as PasswordInputComposed } from "./passwordInputComposed-DKEB8EmI.js";
|
|
12
|
-
import { n as translateError } from "./errorParams-BsjlLhGl.js";
|
|
13
|
-
import { t as FormField } from "./formField-BP6uJTSh.js";
|
|
14
|
-
import { t as PhoneInputComposed } from "./phoneInputComposed-B7W1co5m.js";
|
|
15
|
-
import { t as DropdownComposed } from "./dropdownComposed-B-jwhIk3.js";
|
|
16
|
-
import { t as DateInputComposed } from "./dateInputComposed-BAglkb04.js";
|
|
17
|
-
import { t as RadioGroupComposed } from "./radioGroupComposed-BZ5zWFS6.js";
|
|
18
|
-
import { t as registerIncodeModuleElement } from "./incodeModule-BeATmadl.js";
|
|
19
|
-
import { n as AddressAutocomplete, t as getAccessibleOptionLabel } from "./optionAccessibleLabel-BU3kQ0En.js";
|
|
20
|
-
import { createEkycManager } from "@incodetech/core/ekyc";
|
|
21
|
-
//#region src/modules/ekyc/ekycModule.tsx
|
|
22
|
-
/**
|
|
23
|
-
* WCAG 2.2 SC 1.3.5 (Identify Input Purpose) — maps eKYC field names to the
|
|
24
|
-
* standard HTML `autocomplete` token so browsers/password managers can offer
|
|
25
|
-
* the right value. Only personal-info fields with an unambiguous token are
|
|
26
|
-
* listed; unmapped fields (IDs, SSNs, dropdowns, address-search combobox) fall
|
|
27
|
-
* through to `undefined`.
|
|
28
|
-
*/
|
|
29
|
-
var EKYC_AUTOCOMPLETE_TOKENS = {
|
|
30
|
-
firstName: "given-name",
|
|
31
|
-
middleName: "additional-name",
|
|
32
|
-
surName: "family-name",
|
|
33
|
-
email: "email",
|
|
34
|
-
phone: "tel",
|
|
35
|
-
city: "address-level2",
|
|
36
|
-
state: "address-level1",
|
|
37
|
-
postalCode: "postal-code",
|
|
38
|
-
dateOfBirth: "bday"
|
|
39
|
-
};
|
|
40
|
-
var getEkycAutocomplete = (name) => EKYC_AUTOCOMPLETE_TOKENS[name];
|
|
41
|
-
/**
|
|
42
|
-
* Sensitive ID fields rendered as a masked input with a show/hide toggle,
|
|
43
|
-
* keyed by `fieldsCountry`.
|
|
44
|
-
*/
|
|
45
|
-
var EKYC_MASKED_FIELDS = { US: ["ssn"] };
|
|
46
|
-
var isMaskedEkycField = (name, country) => EKYC_MASKED_FIELDS[country]?.includes(name) ?? false;
|
|
47
|
-
var EkycContent = ({ config, manager: externalManager, onFinish }) => {
|
|
48
|
-
const { t } = useTranslation();
|
|
49
|
-
const [state, manager] = useManager(() => {
|
|
50
|
-
if (externalManager) return externalManager;
|
|
51
|
-
if (!config) throw new Error("Ekyc config is required when no manager is provided");
|
|
52
|
-
return createEkycManager({ config });
|
|
53
|
-
}, { manageLifecycle: !externalManager });
|
|
54
|
-
useModuleTerminalCallbacks({
|
|
55
|
-
status: state.status === "closed" ? "finished" : state.status,
|
|
56
|
-
onFinish
|
|
57
|
-
});
|
|
58
|
-
if (state.status === "finished" || state.status === "closed") return null;
|
|
59
|
-
if (state.status === "loading") return /* @__PURE__ */ u(VerificationResult, {
|
|
60
|
-
status: "submitting",
|
|
61
|
-
submittingTitle: t("common.loading")
|
|
62
|
-
});
|
|
63
|
-
if (state.status === "submitting") return /* @__PURE__ */ u(Page, {
|
|
64
|
-
className: "IncodeEkycPage",
|
|
65
|
-
children: /* @__PURE__ */ u(Spinner, {
|
|
66
|
-
fullScreen: false,
|
|
67
|
-
title: t("common.processing"),
|
|
68
|
-
className: "IncodeEkycSpinner"
|
|
69
|
-
})
|
|
70
|
-
});
|
|
71
|
-
if (state.status === "success") return /* @__PURE__ */ u(VerificationResult, { status: "success" });
|
|
72
|
-
if (state.status === "error") return /* @__PURE__ */ u(VerificationResult, {
|
|
73
|
-
status: "failure",
|
|
74
|
-
onRetry: () => manager.retry(),
|
|
75
|
-
onSkip: () => manager.skip()
|
|
76
|
-
});
|
|
77
|
-
if (state.status === "misconfigured") return /* @__PURE__ */ u(VerificationResult, {
|
|
78
|
-
status: "failure",
|
|
79
|
-
failureTitle: t("verification.noFormFields"),
|
|
80
|
-
onSkip: () => manager.close(),
|
|
81
|
-
skipLabel: t("common.close")
|
|
82
|
-
});
|
|
83
|
-
if (state.status === "form") return /* @__PURE__ */ u(EkycForm, {
|
|
84
|
-
state,
|
|
85
|
-
manager
|
|
86
|
-
});
|
|
87
|
-
return null;
|
|
88
|
-
};
|
|
89
|
-
var EkycForm = ({ state, manager }) => {
|
|
90
|
-
const { fields, values, validationErrors, isValid, addressSuggestions, hideEmail, fieldsCountry, submitError } = state;
|
|
91
|
-
const { t } = useTranslation();
|
|
92
|
-
const formRef = A(null);
|
|
93
|
-
const postalCodeFieldRef = A(null);
|
|
94
|
-
const previousPostalCodeErrorRef = A(void 0);
|
|
95
|
-
const isScrollable = useFormScrollable(formRef, fields.length);
|
|
96
|
-
const postalCodeErrorKey = validationErrors?.postalCode?.key;
|
|
97
|
-
y(() => {
|
|
98
|
-
const previous = previousPostalCodeErrorRef.current;
|
|
99
|
-
previousPostalCodeErrorRef.current = postalCodeErrorKey;
|
|
100
|
-
if (!postalCodeErrorKey || previous === postalCodeErrorKey) return;
|
|
101
|
-
const rafId = requestAnimationFrame(() => {
|
|
102
|
-
const postalField = postalCodeFieldRef.current;
|
|
103
|
-
if (!postalField) return;
|
|
104
|
-
(postalField.querySelector("#postalCode-error") ?? postalField).scrollIntoView({
|
|
105
|
-
behavior: "smooth",
|
|
106
|
-
block: "nearest"
|
|
107
|
-
});
|
|
108
|
-
});
|
|
109
|
-
return () => cancelAnimationFrame(rafId);
|
|
110
|
-
}, [postalCodeErrorKey]);
|
|
111
|
-
const translateError$1 = (err) => translateError(t, err?.key, err?.params);
|
|
112
|
-
let currentSection;
|
|
113
|
-
return /* @__PURE__ */ u(Page, {
|
|
114
|
-
className: `IncodeEkycPage${isScrollable ? " IncodeEkycPageScrollable" : ""}`,
|
|
115
|
-
title: t("verification.title"),
|
|
116
|
-
subtitle: t("forms.subtitle"),
|
|
117
|
-
children: [/* @__PURE__ */ u("div", {
|
|
118
|
-
ref: formRef,
|
|
119
|
-
className: "IncodeEkycForm",
|
|
120
|
-
children: fields.map((field) => {
|
|
121
|
-
if (field.name === "email" && hideEmail) return null;
|
|
122
|
-
if (field.displayMode === "hidden") return null;
|
|
123
|
-
let sectionHeader = null;
|
|
124
|
-
if (field.section && field.section !== currentSection) {
|
|
125
|
-
currentSection = field.section;
|
|
126
|
-
sectionHeader = /* @__PURE__ */ u("h3", {
|
|
127
|
-
className: "IncodeEkycSectionHeader",
|
|
128
|
-
children: t({
|
|
129
|
-
address: "verification.labels.addressDetailsSection",
|
|
130
|
-
driverLicense: "verification.labels.dlDetailsSection"
|
|
131
|
-
}[field.section] ?? field.section)
|
|
132
|
-
});
|
|
133
|
-
}
|
|
134
|
-
const isReadonly = Boolean(field.readonly);
|
|
135
|
-
const isFieldRequired = isReadonly ? false : field.required;
|
|
136
|
-
const fieldValue = values[field.name] ?? "";
|
|
137
|
-
const fieldError = validationErrors?.[field.name];
|
|
138
|
-
if (field.name === "street" && field.section === "address") return /* @__PURE__ */ u("div", { children: [sectionHeader, /* @__PURE__ */ u(AddressAutocomplete, {
|
|
139
|
-
label: field.label,
|
|
140
|
-
value: fieldValue,
|
|
141
|
-
error: fieldError?.key,
|
|
142
|
-
errorParams: fieldError?.params,
|
|
143
|
-
suggestions: addressSuggestions,
|
|
144
|
-
disabled: isReadonly,
|
|
145
|
-
required: isFieldRequired,
|
|
146
|
-
onChange: (value) => manager.setField("street", value),
|
|
147
|
-
onSearch: (query) => manager.searchAddress(query),
|
|
148
|
-
onSelect: (suggestion) => manager.selectAddress(suggestion),
|
|
149
|
-
onBlur: () => manager.validateField("street")
|
|
150
|
-
})] }, field.name);
|
|
151
|
-
if (field.type === "dropdown") {
|
|
152
|
-
const dropdownLabel = t(field.label);
|
|
153
|
-
return /* @__PURE__ */ u("div", { children: [sectionHeader, /* @__PURE__ */ u(DropdownComposed, {
|
|
154
|
-
id: `ekyc-${field.name}`,
|
|
155
|
-
label: dropdownLabel,
|
|
156
|
-
placeholder: field.placeholder ? t(field.placeholder) : void 0,
|
|
157
|
-
value: fieldValue,
|
|
158
|
-
options: (field.options ?? []).map((o) => {
|
|
159
|
-
const translatedOptionLabel = t(o.label);
|
|
160
|
-
return {
|
|
161
|
-
...o,
|
|
162
|
-
label: translatedOptionLabel,
|
|
163
|
-
ariaLabel: getAccessibleOptionLabel(translatedOptionLabel)
|
|
164
|
-
};
|
|
165
|
-
}),
|
|
166
|
-
error: translateError$1(fieldError),
|
|
167
|
-
disabled: isReadonly,
|
|
168
|
-
required: isFieldRequired,
|
|
169
|
-
searchable: true,
|
|
170
|
-
onChange: (value) => manager.setField(field.name, value),
|
|
171
|
-
onBlur: () => manager.validateField(field.name),
|
|
172
|
-
"data-testid": `ekyc-field-${field.name}`
|
|
173
|
-
})] }, field.name);
|
|
174
|
-
}
|
|
175
|
-
if (field.type === "date") {
|
|
176
|
-
const dateLabel = t(field.label);
|
|
177
|
-
return /* @__PURE__ */ u("div", { children: [sectionHeader, /* @__PURE__ */ u(DateInputComposed, {
|
|
178
|
-
id: `ekyc-${field.name}`,
|
|
179
|
-
label: dateLabel,
|
|
180
|
-
autoComplete: getEkycAutocomplete(field.name),
|
|
181
|
-
value: fieldValue,
|
|
182
|
-
error: translateError$1(fieldError),
|
|
183
|
-
disabled: isReadonly,
|
|
184
|
-
required: isFieldRequired,
|
|
185
|
-
onInput: (e) => {
|
|
186
|
-
const target = e.target;
|
|
187
|
-
manager.setField(field.name, target.value);
|
|
188
|
-
},
|
|
189
|
-
onBlur: () => manager.validateField(field.name),
|
|
190
|
-
"data-testid": `ekyc-field-${field.name}`
|
|
191
|
-
})] }, field.name);
|
|
192
|
-
}
|
|
193
|
-
if (field.type === "phone") {
|
|
194
|
-
const phoneLabel = t(field.label);
|
|
195
|
-
return /* @__PURE__ */ u("div", { children: [sectionHeader, /* @__PURE__ */ u(PhoneInputComposed, {
|
|
196
|
-
id: `ekyc-${field.name}`,
|
|
197
|
-
label: phoneLabel,
|
|
198
|
-
autoComplete: getEkycAutocomplete(field.name),
|
|
199
|
-
countryCode: fieldsCountry,
|
|
200
|
-
value: fieldValue,
|
|
201
|
-
placeholder: field.placeholder,
|
|
202
|
-
error: translateError$1(fieldError),
|
|
203
|
-
disabled: isReadonly,
|
|
204
|
-
disableCountrySelector: field.disableCountrySelector,
|
|
205
|
-
required: isFieldRequired,
|
|
206
|
-
maxDigits: field.maxLength,
|
|
207
|
-
onChange: (fullNumber) => manager.setField(field.name, fullNumber),
|
|
208
|
-
onBlur: () => manager.validateField(field.name),
|
|
209
|
-
"data-testid": `ekyc-field-${field.name}`
|
|
210
|
-
})] }, field.name);
|
|
211
|
-
}
|
|
212
|
-
if (field.type === "radio") return /* @__PURE__ */ u("div", { children: [sectionHeader, /* @__PURE__ */ u(RadioGroupComposed, {
|
|
213
|
-
id: `ekyc-${field.name}`,
|
|
214
|
-
class: "IncodeEkycRadioGroup",
|
|
215
|
-
label: t(field.label),
|
|
216
|
-
value: fieldValue,
|
|
217
|
-
options: (field.options ?? []).map((option) => ({
|
|
218
|
-
value: option.value,
|
|
219
|
-
label: t(option.label)
|
|
220
|
-
})),
|
|
221
|
-
error: translateError$1(fieldError),
|
|
222
|
-
disabled: isReadonly,
|
|
223
|
-
required: isFieldRequired,
|
|
224
|
-
onChange: (next) => manager.setField(field.name, next),
|
|
225
|
-
onBlur: () => manager.validateField(field.name)
|
|
226
|
-
})] }, field.name);
|
|
227
|
-
if (isMaskedEkycField(field.name, fieldsCountry)) {
|
|
228
|
-
const maskedLabel = field.displayLabel ?? t(field.label);
|
|
229
|
-
const maskedPlaceholder = field.placeholder ? t(field.placeholder, field.placeholderParams) : void 0;
|
|
230
|
-
if (isReadonly) return /* @__PURE__ */ u("div", { children: [sectionHeader, /* @__PURE__ */ u("div", {
|
|
231
|
-
className: "IncodeFormField",
|
|
232
|
-
children: /* @__PURE__ */ u(InputComposed, {
|
|
233
|
-
id: field.name,
|
|
234
|
-
name: field.name,
|
|
235
|
-
label: maskedLabel,
|
|
236
|
-
value: fieldValue,
|
|
237
|
-
placeholder: maskedPlaceholder,
|
|
238
|
-
type: "password",
|
|
239
|
-
autoComplete: "off",
|
|
240
|
-
disabled: true,
|
|
241
|
-
"data-testid": `form-field-${field.name}`
|
|
242
|
-
})
|
|
243
|
-
})] }, field.name);
|
|
244
|
-
return /* @__PURE__ */ u("div", { children: [sectionHeader, /* @__PURE__ */ u("div", {
|
|
245
|
-
className: "IncodeFormField",
|
|
246
|
-
children: /* @__PURE__ */ u(PasswordInputComposed, {
|
|
247
|
-
id: field.name,
|
|
248
|
-
name: field.name,
|
|
249
|
-
label: maskedLabel,
|
|
250
|
-
value: fieldValue,
|
|
251
|
-
placeholder: maskedPlaceholder,
|
|
252
|
-
inputMode: "numeric",
|
|
253
|
-
autoComplete: "off",
|
|
254
|
-
required: isFieldRequired,
|
|
255
|
-
maxLength: field.maxLength,
|
|
256
|
-
error: translateError$1(fieldError),
|
|
257
|
-
showPasswordAriaLabel: t("verification.labels.showSsn"),
|
|
258
|
-
hidePasswordAriaLabel: t("verification.labels.hideSsn"),
|
|
259
|
-
onInput: (e) => {
|
|
260
|
-
const target = e.target;
|
|
261
|
-
manager.setField(field.name, target.value);
|
|
262
|
-
},
|
|
263
|
-
onBlur: () => manager.validateField(field.name),
|
|
264
|
-
"data-testid": `form-field-${field.name}`
|
|
265
|
-
})
|
|
266
|
-
})] }, field.name);
|
|
267
|
-
}
|
|
268
|
-
return /* @__PURE__ */ u("div", {
|
|
269
|
-
ref: field.name === "postalCode" ? postalCodeFieldRef : void 0,
|
|
270
|
-
children: [sectionHeader, /* @__PURE__ */ u(FormField, {
|
|
271
|
-
name: field.name,
|
|
272
|
-
label: field.label,
|
|
273
|
-
displayLabel: field.displayLabel,
|
|
274
|
-
autoComplete: getEkycAutocomplete(field.name),
|
|
275
|
-
value: fieldValue,
|
|
276
|
-
error: fieldError?.key,
|
|
277
|
-
errorParams: fieldError?.params,
|
|
278
|
-
type: field.type,
|
|
279
|
-
placeholder: field.placeholder,
|
|
280
|
-
placeholderParams: field.placeholderParams,
|
|
281
|
-
required: isFieldRequired,
|
|
282
|
-
disabled: isReadonly,
|
|
283
|
-
maxLength: field.maxLength,
|
|
284
|
-
onChange: (name, value) => manager.setField(name, value),
|
|
285
|
-
onBlur: (name) => manager.validateField(name)
|
|
286
|
-
})]
|
|
287
|
-
}, field.name);
|
|
288
|
-
})
|
|
289
|
-
}), /* @__PURE__ */ u("div", {
|
|
290
|
-
className: "IncodeEkycFooter",
|
|
291
|
-
children: [
|
|
292
|
-
submitError && /* @__PURE__ */ u("p", {
|
|
293
|
-
className: "IncodeEkycSubmitError",
|
|
294
|
-
role: "alert",
|
|
295
|
-
children: t(submitError)
|
|
296
|
-
}),
|
|
297
|
-
/* @__PURE__ */ u(PrizmaButton, {
|
|
298
|
-
variant: "primary",
|
|
299
|
-
size: "L",
|
|
300
|
-
className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
|
|
301
|
-
onClick: () => manager.submit(),
|
|
302
|
-
disabled: !isValid,
|
|
303
|
-
"data-testid": "ekyc-submit",
|
|
304
|
-
children: t("common.continue")
|
|
305
|
-
}),
|
|
306
|
-
submitError === "verification.errors.countryNotSupported" && /* @__PURE__ */ u(PrizmaButton, {
|
|
307
|
-
size: "L",
|
|
308
|
-
className: "IncodeButton IncodeButtonLink IncodeButtonL",
|
|
309
|
-
variant: "tertiary-link",
|
|
310
|
-
onClick: () => manager.skip(),
|
|
311
|
-
"data-testid": "ekyc-skip",
|
|
312
|
-
children: t("verification.labels.skip")
|
|
313
|
-
})
|
|
314
|
-
]
|
|
315
|
-
})]
|
|
316
|
-
});
|
|
317
|
-
};
|
|
318
|
-
var EkycModuleWithLocalConfig = ({ config, manager, onFinish }) => {
|
|
319
|
-
return /* @__PURE__ */ u(IncodeComponent, { children: config || manager ? /* @__PURE__ */ u(EkycContent, {
|
|
320
|
-
config,
|
|
321
|
-
manager,
|
|
322
|
-
onFinish
|
|
323
|
-
}) : null });
|
|
324
|
-
};
|
|
325
|
-
var EkycModule = withStandaloneModuleBootstrap(EkycModuleWithLocalConfig, "EXTERNAL_VERIFICATION", { supportsExternalManager: true });
|
|
326
|
-
registerIncodeModuleElement(EkycModule, "incode-ekyc");
|
|
327
|
-
//#endregion
|
|
328
|
-
export { EkycModule as t };
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { d as useTranslation } from "./devWarn-Cus67U3P.js";
|
|
2
|
-
import { b as u } from "./vendor-preact-HIccnts1.js";
|
|
3
|
-
import { b as PrizmaButton } from "./icons-Bz641AZd.js";
|
|
4
|
-
import { p as cn, t as Spacer } from "./spacer-BMVbQdv1.js";
|
|
5
|
-
import { t as Page } from "./page-BR1C3Nzj.js";
|
|
6
|
-
import { b as useManager, n as withStandaloneModuleBootstrap, v as useModuleTerminalCallbacks } from "./hooks-CE8vvsR8.js";
|
|
7
|
-
import { t as IncodeComponent } from "./incodeComponent-C1TMotqV.js";
|
|
8
|
-
import { t as VerificationResult } from "./verificationResult-D8QnyuI1.js";
|
|
9
|
-
import { t as InputComposed } from "./inputComposed-CRp1H6U_.js";
|
|
10
|
-
import { t as registerIncodeModuleElement } from "./incodeModule-BeATmadl.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,34 +0,0 @@
|
|
|
1
|
-
import { d as useTranslation } from "./devWarn-Cus67U3P.js";
|
|
2
|
-
import { b as u } from "./vendor-preact-HIccnts1.js";
|
|
3
|
-
import { t as InputComposed } from "./inputComposed-CRp1H6U_.js";
|
|
4
|
-
import { n as translateError } from "./errorParams-BsjlLhGl.js";
|
|
5
|
-
//#region src/shared/formField/formField.tsx
|
|
6
|
-
var FormField = ({ name, label, displayLabel: displayLabelProp, value = "", error, errorParams, type = "text", placeholder, placeholderParams, required, readonly, maxLength, disabled, autoComplete, labelHint, onChange, onBlur }) => {
|
|
7
|
-
const { t } = useTranslation();
|
|
8
|
-
return /* @__PURE__ */ u("div", {
|
|
9
|
-
className: "IncodeFormField",
|
|
10
|
-
children: /* @__PURE__ */ u(InputComposed, {
|
|
11
|
-
id: name,
|
|
12
|
-
label: displayLabelProp ?? t(label),
|
|
13
|
-
labelHint,
|
|
14
|
-
name,
|
|
15
|
-
type,
|
|
16
|
-
autoComplete,
|
|
17
|
-
value,
|
|
18
|
-
placeholder: placeholder ? t(placeholder, placeholderParams) : void 0,
|
|
19
|
-
readOnly: readonly,
|
|
20
|
-
disabled,
|
|
21
|
-
required,
|
|
22
|
-
maxLength,
|
|
23
|
-
error: translateError(t, error, errorParams),
|
|
24
|
-
onInput: (e) => {
|
|
25
|
-
const target = e.target;
|
|
26
|
-
onChange(name, target.value);
|
|
27
|
-
},
|
|
28
|
-
onBlur: onBlur ? () => onBlur(name) : void 0,
|
|
29
|
-
"data-testid": `form-field-${name}`
|
|
30
|
-
})
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
//#endregion
|
|
34
|
-
export { FormField as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./inputComposed-CRp1H6U_.js";
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { b as u, i as D, m as d } from "./vendor-preact-HIccnts1.js";
|
|
2
|
-
import { c as EyeIcon, l as ErrorIcon, n as SuccessIcon, s as EyeOffIcon, u as EllipseIcon } from "./icons-Bz641AZd.js";
|
|
3
|
-
import { p as cn } from "./spacer-BMVbQdv1.js";
|
|
4
|
-
import { t as InputComposed } from "./inputComposed-CRp1H6U_.js";
|
|
5
|
-
import "./inputComposed-Dc8tBgb6.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 };
|