@incodetech/web 0.0.0-dev-20260930-952cb476 → 0.0.0-dev-20260930-65e7cbcd
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ae-signature/ae-signature.es.js +3 -3
- package/dist/antifraud/antifraud.es.js +3 -3
- package/dist/authentication/authentication.es.js +4 -4
- package/dist/{autoFocusTitle-3HjeycqK.js → autoFocusTitle-CVaObzKw.js} +1 -1
- package/dist/{baseTutorial-D50rveiM.js → baseTutorial-D3F-4tjL.js} +3 -3
- package/dist/{bottomSheet-DL0kaQHQ.js → bottomSheet-CdQbUttH.js} +2 -2
- package/dist/button-BOiUFVnQ.js +40 -0
- package/dist/cameraOverlay-BMEl93lN.js +2 -0
- package/dist/{cameraOverlayHeader-DrTJld7J.js → cameraOverlayHeader-Cgn37zxH.js} +4 -3
- package/dist/{cameraView-Bs6xxSwR.js → cameraView-bcOva3MI.js} +2 -2
- package/dist/certificate-issuance/certificate-issuance.es.js +10 -8
- package/dist/check-icon-KHNsu7ud.js +48 -0
- package/dist/{checkbox-CH5PMxhT.js → checkbox-CMvogVjm.js} +3 -3
- package/dist/{connectionError-DyXCC-dq.js → connectionError-aKVyiDnu.js} +3 -3
- package/dist/consent/consent.es.js +7 -6
- package/dist/{countrySelector-BhG8ojp_.js → countrySelector-DhpHQpMY.js} +3 -3
- package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
- package/dist/curp-validation/curp-validation.es.js +13 -11
- package/dist/{customFields-Q2yn8jRP.js → customFields-uYsLCqGP.js} +11 -9
- package/dist/{customWatchlist-Cq64Ic7h.js → customWatchlist-BOZRj0tt.js} +6 -6
- package/dist/{dashboardTheme-CBWEuWa2.js → dashboardTheme-CZ7v0WTv.js} +1 -1
- package/dist/{dateInputComposed-BknNh5Wb.js → dateInputComposed-B_3193eu.js} +4 -4
- package/dist/dateInputComposed-CldWrJeK.js +1 -0
- package/dist/{denied-BnLjxNgw.js → denied-BZbfC36x.js} +9 -268
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/documentCapture-CbTs22dP.js +2 -0
- package/dist/{documentCapture-DVDwX_gz.js → documentCapture-_5eZXhBn.js} +17 -15
- package/dist/{dropdownComposed-Bbw3YewA.js → dropdownComposed-1VfwXJQw.js} +3 -3
- package/dist/dropdownComposed-mrzWB6xQ.js +1 -0
- package/dist/dynamic-forms/dynamic-forms.es.js +12 -11
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/{ekybModule-BSF7ge4r.js → ekybModule-DJgRThtw.js} +13 -12
- package/dist/ekybModule-ujmc2aP0.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/{ekycModule-DGHSz7hf.js → ekycModule-B4qexiH_.js} +14 -13
- package/dist/ekycModule-uvhkgwjF.js +2 -0
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-DMSx0h13.js → electronic-signature-H48pCRVV.js} +11 -9
- package/dist/email/email.es.js +8 -7
- package/dist/{emailInput-DxQI3gFR.js → emailInput-C5vPVUWU.js} +3 -3
- package/dist/{errorContent-2A00dBao.js → errorContent-DED4szNz.js} +6 -5
- package/dist/{expiredId-DopZinlK.js → expiredId-CRGmaefx.js} +5 -5
- package/dist/extensibility.es.js +38 -36
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/faceMatch-BgSsKQub.js +335 -0
- package/dist/faceMatch-CkO2o6SX.js +2 -0
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/{fieldComparison-v5L1qIL6.js → fieldComparison-CnaJupLI.js} +8 -7
- package/dist/fieldComparison-QswNmmz9.js +2 -0
- package/dist/{finalSuccessScreen-DHNSJCP0.js → finalSuccessScreen-DbhnideR.js} +12 -10
- package/dist/fiscal-qr/fiscal-qr.es.js +20 -16
- package/dist/{flipAnimation-DeQ2BR5E.js → flipAnimation-Aq5F7-Ht.js} +22 -20
- package/dist/flow/flow.es.js +8 -8
- package/dist/{formField-QimkvH4M.js → formField-CC6lh0Rt.js} +2 -2
- package/dist/geolocation/geolocation.es.js +9 -8
- package/dist/government-validation/government-validation.es.js +4 -3
- package/dist/{homeScreen-Bgr0C-5o.js → homeScreen-RweyfyML.js} +7 -7
- package/dist/{icons-BPq1WUW2.js → icons-DyHSqfXP.js} +2 -40
- package/dist/id/id.es.js +32 -30
- package/dist/id-selfie-flow/id-selfie-flow.es.js +9 -8
- package/dist/id-verification/id-verification.es.js +4 -4
- package/dist/{idOcr-DePwmenP.js → idOcr-hPvSOxKR.js} +12 -11
- package/dist/identity-reuse/identity-reuse.es.js +10 -9
- package/dist/{incodeComponent-YGyHPcGy.js → incodeComponent-3y7uzRlG.js} +10 -175
- package/dist/{incodeModule-qgk2AKQs.js → incodeModule-gcky0V2v.js} +2 -2
- package/dist/index.es.js +2 -2
- package/dist/{inputComposed-DrGh0BXu.js → inputComposed-DtLBtQcz.js} +3 -3
- package/dist/inputComposed-hBl27lp8.js +1 -0
- package/dist/{mandatoryConsent-DGPdHEH3.js → mandatoryConsent-o8vtN77p.js} +7 -6
- package/dist/{manualCaptureButton-Cf0XiN9V.js → manualCaptureButton-DCgfdYkt.js} +9 -8
- package/dist/{manualCaptureButton-DgKZLz2F.js → manualCaptureButton-euVS4A9B.js} +3 -3
- package/dist/{modal-CEYOG-i5.js → modal-BjvGouYz.js} +3 -3
- package/dist/{optionAccessibleLabel-5SBt-4V3.js → optionAccessibleLabel-suyr1Y_f.js} +5 -5
- package/dist/{otpInput-CWo5K1zx.js → otpInput-D-7ICpR9.js} +6 -6
- package/dist/page-CLhk6jqh.js +171 -0
- package/dist/{passwordInputComposed-BXVDPnJV.js → passwordInputComposed-Cx4UJbYe.js} +4 -4
- package/dist/{pdf-ChuL7x_Q.js → pdf-Bl_edHCY.js} +1 -1
- package/dist/pdfViewer-BWfCfXhY.js +2 -0
- package/dist/{pdfViewer-wH3DCiSM.js → pdfViewer-vBXGvTlS.js} +3 -3
- package/dist/{permissions-D4Asn4V_.js → permissions-DiZeQOSb.js} +19 -13
- package/dist/phone/phone.es.js +9 -8
- package/dist/{phoneInputComposed-DO8g0kaG.js → phoneInputComposed-Cy7kaa9h.js} +5 -5
- package/dist/{processing-DPO1VjAl.js → processing-D1jf8HSk.js} +1 -1
- package/dist/qe-signature/qe-signature.es.js +3 -3
- package/dist/{radioGroupComposed-CNG34EpR.js → radioGroupComposed-D9tKYw8O.js} +3 -3
- package/dist/radioGroupComposed-uYwaw2_r.js +1 -0
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +11 -9
- package/dist/reload-icon-elAFo9-k.js +70 -0
- package/dist/{resendTimer-BpM1X9Di.js → resendTimer-CBWgrmq4.js} +1 -1
- package/dist/{resolveApiKey-DcJWJ7Kq.js → resolveApiKey-C-r1hdsK.js} +17 -17
- package/dist/{richText-pMJ-76f4.js → richText-DIFNXI0f.js} +2 -2
- package/dist/selfie/selfie.es.js +6 -6
- package/dist/signature/signature.es.js +8 -7
- package/dist/{smsTabContent-Dhg1iAUa.js → smsTabContent-ZDqB3hiC.js} +8 -7
- package/dist/{spacer-BYY7o36c.js → spacer-PIxKgZSz.js} +9 -9
- package/dist/{spinner-Bm6eeJ_u.js → spinner-CSotEf_2.js} +2 -2
- package/dist/{statusPage-uYn0oxTF.js → statusPage-8naw9NlM.js} +3 -3
- package/dist/{tutorial-CIVcGByA.js → tutorial-CsMkob6G.js} +11 -10
- package/dist/{typography-DxAhSVvF.js → typography-CKHLGjMP.js} +1 -1
- package/dist/{uiConfig-Cwoab2XW.js → uiConfig-COHiKZzW.js} +84 -84
- package/dist/{useCaptureHelpButton-WafivkkC.js → useCaptureHelpButton-DmigQUsV.js} +4 -4
- package/dist/useCoverMedia-C_veh7NC.js +149 -0
- package/dist/{verificationResult-CRXaPA2E.js → verificationResult-C07CpnI3.js} +7 -6
- package/dist/video-selfie/video-selfie.es.js +12 -10
- package/dist/watchlist/watchlist.es.js +6 -6
- package/dist/{watchlistForBusiness-BnI5aWP-.js → watchlistForBusiness-D4G1ND7Q.js} +10 -8
- package/dist/workflow/workflow.es.js +9 -8
- package/package.json +2 -2
- package/dist/cameraOverlay-CiOtXYSl.js +0 -2
- package/dist/dateInputComposed-iCUqvc2C.js +0 -1
- package/dist/documentCapture-CM8adRoN.js +0 -2
- package/dist/dropdownComposed-Dnt80ytO.js +0 -1
- package/dist/ekybModule-DCcl0kWT.js +0 -2
- package/dist/ekycModule-sB34_0F3.js +0 -2
- package/dist/faceMatch-B56ztevz.js +0 -334
- package/dist/faceMatch-CgNV4kuZ.js +0 -2
- package/dist/fieldComparison-DzksBVpK.js +0 -2
- package/dist/inputComposed-IyXlviTc.js +0 -1
- package/dist/pdfViewer-Cke6wHDj.js +0 -2
- package/dist/radioGroupComposed-COkFxd5L.js +0 -1
- /package/dist/{af-ZA-B6BZwCWL.js → af-ZA-BS_9U-yE.js} +0 -0
- /package/dist/{aligndevicelottie-DBN7W2vd.js → aligndevicelottie-U-Shu4GY.js} +0 -0
- /package/dist/{am-B0Eko569.js → am-CRnf1pgh.js} +0 -0
- /package/dist/{ar-AE-BLicXYrK.js → ar-AE-CcsvbDAd.js} +0 -0
- /package/dist/{ar-BlONPD_G.js → ar-BRtwNsrK.js} +0 -0
- /package/dist/{ar-EG-CyIZVyY1.js → ar-EG-DecJvJYj.js} +0 -0
- /package/dist/{az-C8HSen8d.js → az-BZml-qtC.js} +0 -0
- /package/dist/{back-horizontal-hint-Bt6hRXjM.js → back-horizontal-hint-BfnSvpyc.js} +0 -0
- /package/dist/{back-tutorial-CfbEh09z.js → back-tutorial-BAjF7tU7.js} +0 -0
- /package/dist/{back-vertical-hint-UoSjzI-0.js → back-vertical-hint-zfKhFXl4.js} +0 -0
- /package/dist/{backdevicelottie-DuRhi5bs.js → backdevicelottie-BzDiNIm0.js} +0 -0
- /package/dist/{blurdevicelottie-BfdiIObh.js → blurdevicelottie-DZiPbRRs.js} +0 -0
- /package/dist/{bn-DYlQzhMx.js → bn-DOvf1gMo.js} +0 -0
- /package/dist/{browser-ponyfill-ZkeBm4ji.js → browser-ponyfill-DT11p-Ob.js} +0 -0
- /package/dist/{bs-BEgVqVCr.js → bs-Pkd_opAU.js} +0 -0
- /package/dist/{ca-CYhexOU0.js → ca-0BJY-VMh.js} +0 -0
- /package/dist/{ceb-BtxIqKCN.js → ceb-CBk81rCG.js} +0 -0
- /package/dist/{countries-5e8kwG_m.js → countries-BYiwnTqF.js} +0 -0
- /package/dist/{cs-CZ-DBqA64o3.js → cs-CZ-BstiHw0k.js} +0 -0
- /package/dist/{cs-D9rFnNXS.js → cs-DwT_rUp_.js} +0 -0
- /package/dist/{da-DK-Da-Jl8y6.js → da-DK-BQJ-u9ho.js} +0 -0
- /package/dist/{de-Cm42Uq8v.js → de-Bli1aqRR.js} +0 -0
- /package/dist/{defineProperty-2P9-Vesh.js → defineProperty-CTEPCm5S.js} +0 -0
- /package/dist/{el-Bl_PbWhz.js → el-BTZWyaiT.js} +0 -0
- /package/dist/{el-GR-CsBQsPEP.js → el-GR-CgTe8SVG.js} +0 -0
- /package/dist/{en-DBNErQ-B.js → en-BcIrHy8m.js} +0 -0
- /package/dist/{en-DG-SeBc62fC.js → en-DG-pyy75pEF.js} +0 -0
- /package/dist/{es-m2cZRodr.js → es-0PvxBKkr.js} +0 -0
- /package/dist/{es-419-BLZ4z2jd.js → es-419-CIOQrI_Z.js} +0 -0
- /package/dist/{es-ES-BJGrzkBn.js → es-ES-BAGv3L1_.js} +0 -0
- /package/dist/{es-MX-BtAerlo5.js → es-MX-C4X77vNf.js} +0 -0
- /package/dist/{et-CV7Bqamy.js → et-CyYqKDtu.js} +0 -0
- /package/dist/{fa-IR-CwqqirXv.js → fa-IR-C0Pp2_bf.js} +0 -0
- /package/dist/{fi-FI-BAJSVxX9.js → fi-FI-UUbaFTQk.js} +0 -0
- /package/dist/{fieldLabelHint-CxjArYkQ.js → fieldLabelHint-BYuLa8tB.js} +0 -0
- /package/dist/{flip-animation-kAX4ci_p.js → flip-animation-KDIQmzzD.js} +0 -0
- /package/dist/{fr-CA-tyW2YkJs.js → fr-CA-C84aoFD2.js} +0 -0
- /package/dist/{fr--Ar4uNI3.js → fr-paKp5rwD.js} +0 -0
- /package/dist/{front-horizontal-hint-DuwCWe5N.js → front-horizontal-hint-DiW6UNZ_.js} +0 -0
- /package/dist/{front-vertical-hint-DKh6_hdQ.js → front-vertical-hint-BdTlZlIZ.js} +0 -0
- /package/dist/{frontdevicelottie-DTR9YwGl.js → frontdevicelottie-D6Ys_ds6.js} +0 -0
- /package/dist/{glaredevicelottie-Bf5olr0V.js → glaredevicelottie-DkOsBAxz.js} +0 -0
- /package/dist/{he-CjEiFgW9.js → he-Cq6qf85q.js} +0 -0
- /package/dist/{hi-tV5VGuGH.js → hi-RzWTrt2Q.js} +0 -0
- /package/dist/{hmn-BAg7XFTJ.js → hmn--aIGXX-G.js} +0 -0
- /package/dist/{hr-C7t0wfIl.js → hr-S1XjhDfr.js} +0 -0
- /package/dist/{ht-DbXFjm8l.js → ht-WU7Jjk-s.js} +0 -0
- /package/dist/{hu-BTcGzMM9.js → hu-Cmd9aZKK.js} +0 -0
- /package/dist/{id-t948f-gm.js → id-QNHxOxSS.js} +0 -0
- /package/dist/{id-back-of-card-C8pO3egM.js → id-back-of-card-C7Au2tqk.js} +0 -0
- /package/dist/{id-back-of-card-vertical-DJoRqxeR.js → id-back-of-card-vertical-CtQBFw8w.js} +0 -0
- /package/dist/{id-front-of-card-BqP6G9N_.js → id-front-of-card-BmHL_keG.js} +0 -0
- /package/dist/{id-front-of-card-vertical-Dcn1Epbl.js → id-front-of-card-vertical-DkNUn2Vx.js} +0 -0
- /package/dist/{id-laser-h-iXQvxl7U.js → id-laser-h-lIUBPfpO.js} +0 -0
- /package/dist/{id-laser-v-C2Fdy9xS.js → id-laser-v-CB3nhZzO.js} +0 -0
- /package/dist/{id-tutorial-DUGt5nrs.js → id-tutorial-nqSjZ-Ow.js} +0 -0
- /package/dist/{incode-logo-DJn-0qYR.js → incode-logo-kZv9XhW2.js} +0 -0
- /package/dist/{it-UieSF7z5.js → it-BE1BhAIt.js} +0 -0
- /package/dist/{ja-pXZ_eqUp.js → ja-8ylUPCWk.js} +0 -0
- /package/dist/{ja-JP-LUjRRhxZ.js → ja-JP-BqzYtZJO.js} +0 -0
- /package/dist/{jv-Cne1M_Zu.js → jv-0eULar1V.js} +0 -0
- /package/dist/{ka-BCoHOl6Z.js → ka-CMGrf7OA.js} +0 -0
- /package/dist/{kk-B3IzH20L.js → kk-D2qGirTN.js} +0 -0
- /package/dist/{km-CZlsiMzF.js → km-CZKXdTGt.js} +0 -0
- /package/dist/{ko-Dd7PFRoJ.js → ko-BLlEJcnz.js} +0 -0
- /package/dist/{ko-KP-Bam6u0uN.js → ko-KP-CdhfiqB2.js} +0 -0
- /package/dist/{ky-CQNvLipT.js → ky-BNF0DVwS.js} +0 -0
- /package/dist/{lo-DdY2tKzi.js → lo-CGZWewn1.js} +0 -0
- /package/dist/{lottie_light-CzZ3CHBk.js → lottie_light-CqGqwsMf.js} +0 -0
- /package/dist/{lt-CfeG9ro0.js → lt-DIS6v0sR.js} +0 -0
- /package/dist/{lv-BT38ePwW.js → lv-BWcVVGUs.js} +0 -0
- /package/dist/{mk-CZLhpPsf.js → mk-DZwuAW1k.js} +0 -0
- /package/dist/{mn-B0CTyAkM.js → mn-wqajXQuC.js} +0 -0
- /package/dist/{modal.hooks-B0Wrc9s2.js → modal.hooks-6p8d91zj.js} +0 -0
- /package/dist/{ms-Bn7cym3T.js → ms-rvveJN4R.js} +0 -0
- /package/dist/{my-Coie35Rt.js → my-CaZPNJDt.js} +0 -0
- /package/dist/{nb-NO-HvWRHIaG.js → nb-NO-B4Pf1W8t.js} +0 -0
- /package/dist/{ne-DK4lFofU.js → ne-vOwO79T7.js} +0 -0
- /package/dist/{nl-1nHMT37G.js → nl-Dj3GGvKk.js} +0 -0
- /package/dist/{numberedStep-C8e_uPaz.js → numberedStep-DdxdOzxz.js} +0 -0
- /package/dist/{passport-horizontal-hint-D4n7TTG1.js → passport-horizontal-hint-DmOFbl98.js} +0 -0
- /package/dist/{passport-tutorial-Bfq2SGp6.js → passport-tutorial-86YJHWln.js} +0 -0
- /package/dist/{passport-vertical-hint-C98GtkTM.js → passport-vertical-hint-D-PRNOBh.js} +0 -0
- /package/dist/{pdf.worker.min-R5fmNRdh.js → pdf.worker.min-DvTIgyJP.js} +0 -0
- /package/dist/{pl-CPXnHqek.js → pl-riL8uWHE.js} +0 -0
- /package/dist/{policyUrls-Dslljmyd.js → policyUrls-B3M8nLRh.js} +0 -0
- /package/dist/{pt-BR-DuadijLg.js → pt-BR-DJf9JjKI.js} +0 -0
- /package/dist/{pt-Bn443Mn_.js → pt-DypJjozT.js} +0 -0
- /package/dist/{pt-PT-B_mCLDZN.js → pt-PT-CBtFlH_Q.js} +0 -0
- /package/dist/{registerIncodeElement-CbZczi4S.js → registerIncodeElement-D_cn4dSI.js} +0 -0
- /package/dist/{ro-Dayob_eo.js → ro-Cf1T-UGg.js} +0 -0
- /package/dist/{ru-CNPEtRDr.js → ru-Cby-Sc0X.js} +0 -0
- /package/dist/{ru-RU-xYmgnI3X.js → ru-RU-CVq0GQHA.js} +0 -0
- /package/dist/{selfieTutorial-DWd8qkr5.js → selfieTutorial-fYdcb9Cm.js} +0 -0
- /package/dist/{sk-DCajs2eH.js → sk-D4UIYF98.js} +0 -0
- /package/dist/{sl-DUcWK-_Z.js → sl-Bp4-GV6Z.js} +0 -0
- /package/dist/{so-BLCSrwMf.js → so-LXBCL9jq.js} +0 -0
- /package/dist/{sr-cTyy9dBp.js → sr-0HVS9DO-.js} +0 -0
- /package/dist/{sr-Latn-CD3KTp-O.js → sr-Latn-BHb81O3V.js} +0 -0
- /package/dist/{sr-YU-sR5UZtPY.js → sr-YU-DuyDzKGn.js} +0 -0
- /package/dist/{sv-SE-Ci9wtD_g.js → sv-SE-C6wk4yHn.js} +0 -0
- /package/dist/{sw-LG41WYSE.js → sw-CtNhtRYd.js} +0 -0
- /package/dist/{th-DeQ-FgfK.js → th-Br9GMRj4.js} +0 -0
- /package/dist/{th-TH-BMiyOOny.js → th-TH-D7ujSbtM.js} +0 -0
- /package/dist/{tl-DZOlHWDc.js → tl-DAkooKBF.js} +0 -0
- /package/dist/{tl-PH-F2R70JoM.js → tl-PH-BsUInMvh.js} +0 -0
- /package/dist/{tr-C0DQlRrl.js → tr-DMoE-ccI.js} +0 -0
- /package/dist/{uk-D5oEACx7.js → uk-Bj3DH9M5.js} +0 -0
- /package/dist/{uk-UA-DgKz4EkZ.js → uk-UA-DKmej7ZN.js} +0 -0
- /package/dist/{ur-BKX-4dpA.js → ur-0F4wnl9P.js} +0 -0
- /package/dist/{useModuleLoader-oNRCioyG.js → useModuleLoader-UX_HIhHB.js} +0 -0
- /package/dist/{uz-BPJLQKcI.js → uz-l6etBNLG.js} +0 -0
- /package/dist/{vi-Cg7NBeGM.js → vi-D8ybtfZf.js} +0 -0
- /package/dist/{zh-CN-B8XNH2qg.js → zh-CN-BW859pV6.js} +0 -0
- /package/dist/{zh-CqD52-Hj.js → zh-CS_3XkXX.js} +0 -0
- /package/dist/{zh-HANT-CR2WHQSf.js → zh-HANT-BBUrB8Fx.js} +0 -0
- /package/dist/{zh-TW-CLzdvcgz.js → zh-TW-BL5M9xJ7.js} +0 -0
package/dist/extensibility.es.js
CHANGED
|
@@ -1,40 +1,42 @@
|
|
|
1
|
-
import { n as setUiConfig, o as useTranslation } from "./uiConfig-
|
|
1
|
+
import { n as setUiConfig, o as useTranslation } from "./uiConfig-COHiKZzW.js";
|
|
2
2
|
import { S as k, _ as y, c as A, f as d, h as q, i as D, u as T, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import {
|
|
4
|
-
import { d as cn, o as Lottie, t as Spacer } from "./spacer-
|
|
5
|
-
import { a as TypographyH5, i as TypographyH4, n as TypographyH1, o as TypographyP, r as TypographyH3, t as Title } from "./typography-
|
|
6
|
-
import { t as Spinner } from "./spinner-
|
|
7
|
-
import {
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import "./inputComposed-
|
|
17
|
-
import { t as
|
|
18
|
-
import
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import {
|
|
22
|
-
import { t as
|
|
23
|
-
import {
|
|
24
|
-
import "./
|
|
25
|
-
import { t as
|
|
26
|
-
import "./
|
|
27
|
-
import {
|
|
28
|
-
import "./
|
|
29
|
-
import {
|
|
30
|
-
import
|
|
31
|
-
import { n as
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import "./
|
|
35
|
-
import { t as
|
|
36
|
-
import
|
|
37
|
-
import {
|
|
3
|
+
import { b as useManager, n as LandscapeBlocker, t as IncodeComponent, y as useScreenOrientation } from "./incodeComponent-3y7uzRlG.js";
|
|
4
|
+
import { d as cn, o as Lottie, t as Spacer } from "./spacer-PIxKgZSz.js";
|
|
5
|
+
import { a as TypographyH5, i as TypographyH4, n as TypographyH1, o as TypographyP, r as TypographyH3, t as Title } from "./typography-CKHLGjMP.js";
|
|
6
|
+
import { t as Spinner } from "./spinner-CSotEf_2.js";
|
|
7
|
+
import { t as Button } from "./button-BOiUFVnQ.js";
|
|
8
|
+
import { _ as CaptureButtonIcon, a as LockIcon, b as ErrorIcon, c as EyeOffIcon, d as CloseIcon, f as ChevronRightIcon, g as CheckmarkIcon, h as CheckmarkCompactIcon, i as SearchIcon, l as EyeIcon, m as ChevronDown, n as WarningIcon, o as HelpIcon, p as ChevronLeftIcon, r as SuccessIcon, s as FileIcon, t as SvgLightningIcon, u as EllipseIcon, v as CameraIcon, y as CalendarIcon } from "./icons-DyHSqfXP.js";
|
|
9
|
+
import { t as Page } from "./page-CLhk6jqh.js";
|
|
10
|
+
import { t as Processing } from "./processing-D1jf8HSk.js";
|
|
11
|
+
import { t as Modal } from "./modal-BjvGouYz.js";
|
|
12
|
+
import { t as ErrorContent } from "./errorContent-DED4szNz.js";
|
|
13
|
+
import { t as VerificationResult } from "./verificationResult-C07CpnI3.js";
|
|
14
|
+
import { t as ConnectionError } from "./connectionError-aKVyiDnu.js";
|
|
15
|
+
import { n as CaptureFooter, r as ProgressBar } from "./useCaptureHelpButton-DmigQUsV.js";
|
|
16
|
+
import { n as Input, t as InputComposed } from "./inputComposed-DtLBtQcz.js";
|
|
17
|
+
import { t as FieldLabelHint } from "./fieldLabelHint-BYuLa8tB.js";
|
|
18
|
+
import "./inputComposed-hBl27lp8.js";
|
|
19
|
+
import { t as PasswordInputComposed } from "./passwordInputComposed-Cx4UJbYe.js";
|
|
20
|
+
import { t as OtpInput } from "./otpInput-D-7ICpR9.js";
|
|
21
|
+
import { t as Checkbox } from "./checkbox-CMvogVjm.js";
|
|
22
|
+
import { t as FormField } from "./formField-CC6lh0Rt.js";
|
|
23
|
+
import { a as getCountryByCode, i as getCountryByCallingCode, r as countries } from "./countries-BYiwnTqF.js";
|
|
24
|
+
import { t as PhoneInputComposed } from "./phoneInputComposed-Cy7kaa9h.js";
|
|
25
|
+
import { t as DropdownComposed } from "./dropdownComposed-1VfwXJQw.js";
|
|
26
|
+
import "./dropdownComposed-mrzWB6xQ.js";
|
|
27
|
+
import { t as DateInputComposed } from "./dateInputComposed-B_3193eu.js";
|
|
28
|
+
import "./dateInputComposed-CldWrJeK.js";
|
|
29
|
+
import { n as RadioButtonComposed, t as RadioGroupComposed } from "./radioGroupComposed-D9tKYw8O.js";
|
|
30
|
+
import "./radioGroupComposed-uYwaw2_r.js";
|
|
31
|
+
import { b as VerificationOptionCard, c as IdExpired, i as Capture, l as IdError, n as Chooser, r as Tutorial, t as FlipAnimation, x as VerificationOptionCardList } from "./flipAnimation-Aq5F7-Ht.js";
|
|
32
|
+
import { t as BottomSheet } from "./bottomSheet-CdQbUttH.js";
|
|
33
|
+
import { n as CameraFrame, t as CameraView } from "./cameraView-bcOva3MI.js";
|
|
34
|
+
import { n as CameraOverlay, t as CameraOverlayHeader } from "./cameraOverlayHeader-Cgn37zxH.js";
|
|
35
|
+
import { t as useCoverMedia } from "./useCoverMedia-C_veh7NC.js";
|
|
36
|
+
import "./cameraOverlay-BMEl93lN.js";
|
|
37
|
+
import { t as BaseTutorial } from "./baseTutorial-D3F-4tjL.js";
|
|
38
|
+
import { t as Permissions } from "./permissions-DiZeQOSb.js";
|
|
39
|
+
import { n as Capture$1, t as Tutorial$1 } from "./tutorial-CsMkob6G.js";
|
|
38
40
|
//#region src/shared/overlay/overlay.tsx
|
|
39
41
|
var Overlay = ({ children, "aria-labelledby": ariaLabelledBy, class: className }) => {
|
|
40
42
|
return /* @__PURE__ */ u("div", {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FaceMatch } from "../faceMatch-
|
|
1
|
+
import { t as FaceMatch } from "../faceMatch-BgSsKQub.js";
|
|
2
2
|
export { FaceMatch };
|
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
import { o as useTranslation } from "./uiConfig-COHiKZzW.js";
|
|
2
|
+
import { S as k, _ as y, c as A, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
+
import { _ as isTerminalModuleState, b as useManager, c as TransitionSpinner, i as withStandaloneModuleBootstrap, r as Snackbar, t as IncodeComponent, v as useModuleTerminalCallbacks } from "./incodeComponent-3y7uzRlG.js";
|
|
4
|
+
import { s as Asset, t as Spacer } from "./spacer-PIxKgZSz.js";
|
|
5
|
+
import { t as Title } from "./typography-CKHLGjMP.js";
|
|
6
|
+
import { t as Button } from "./button-BOiUFVnQ.js";
|
|
7
|
+
import { t as Page } from "./page-CLhk6jqh.js";
|
|
8
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-gcky0V2v.js";
|
|
9
|
+
import { createFaceMatchManager } from "@incodetech/core/face-match";
|
|
10
|
+
//#region src/modules/face-match/assets/match-success.svg?react
|
|
11
|
+
var SvgMatchSuccess = (props) => /* @__PURE__ */ u("svg", {
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13
|
+
width: 24,
|
|
14
|
+
height: 24,
|
|
15
|
+
fill: "none",
|
|
16
|
+
viewBox: "0 0 24 24",
|
|
17
|
+
...props,
|
|
18
|
+
children: [/* @__PURE__ */ u("circle", {
|
|
19
|
+
cx: 12,
|
|
20
|
+
cy: 12,
|
|
21
|
+
r: 12,
|
|
22
|
+
fill: "#189f60"
|
|
23
|
+
}), /* @__PURE__ */ u("path", {
|
|
24
|
+
fill: "#fff",
|
|
25
|
+
fillRule: "evenodd",
|
|
26
|
+
d: "M16.74 9.327a1 1 0 0 1-.067 1.413l-6.206 5.641-3.174-3.174a1 1 0 1 1 1.414-1.414l1.826 1.826 4.794-4.359a1 1 0 0 1 1.413.067",
|
|
27
|
+
clipRule: "evenodd"
|
|
28
|
+
})]
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/modules/face-match/assets/match-fail.svg?react
|
|
32
|
+
var SvgMatchFail = (props) => /* @__PURE__ */ u("svg", {
|
|
33
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
34
|
+
width: 25,
|
|
35
|
+
height: 24,
|
|
36
|
+
fill: "none",
|
|
37
|
+
viewBox: "0 0 25 24",
|
|
38
|
+
...props,
|
|
39
|
+
children: [/* @__PURE__ */ u("circle", {
|
|
40
|
+
cx: 12.5,
|
|
41
|
+
cy: 12,
|
|
42
|
+
r: 12,
|
|
43
|
+
fill: "#e71111"
|
|
44
|
+
}), /* @__PURE__ */ u("path", {
|
|
45
|
+
fill: "#fff",
|
|
46
|
+
fillRule: "evenodd",
|
|
47
|
+
d: "M16.798 9.12a1 1 0 0 0-1.415-1.415l-2.88 2.881L9.62 7.705a1 1 0 0 0-1.414 1.414L11.088 12l-2.881 2.881a1 1 0 1 0 1.414 1.415l2.881-2.881 2.881 2.88a1 1 0 0 0 1.415-1.414l-2.882-2.88z",
|
|
48
|
+
clipRule: "evenodd"
|
|
49
|
+
})]
|
|
50
|
+
});
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region src/modules/face-match/assets/face-placeholder.svg
|
|
53
|
+
var face_placeholder_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='525'%20height='525'%20viewBox='0%200%20525%20525'%3e%3ccircle%20cx='262.5'%20cy='262.5'%20r='261.3'%20fill='%23fff'/%3e%3ccircle%20cx='262.5'%20cy='262.5'%20r='253.5'%20fill='%23b3b3b3'/%3e%3ccircle%20cx='262.5'%20cy='262.5'%20r='245.7'%20fill='%23172732'/%3e%3cpath%20fill='%23fff'%20d='m254%20144.5%206.5-.4%208%20.5%207%20.7%209%201.9%206%202%207%202.9%2010%206.2%208.1%207.2%205%206%203.3%205%204%208%201.8%205%202.2%2011-.1%2014-1%206-.9%204-2.1%206-4%208-4.8%207-6.5%207.3-12%2010-15%2010.4-7.2%207.3-3.1%205-2%205-1.4%207v8l-1.3.5-30-.3-.7-11.2.3-8%201-6%202.1-7%203.9-8%204.2-6%209.2-9.3%2023-17.2%204.2-4.5%204.2-7%202.1-7%20.4-6-.5-6-1.3-5-2.7-6-4-5-5.4-4.4-6-2.9-6-1.5-5-.6h-7l-6%201.1-6%202.1-5%202.9-5%204.5-2.3%202.8-2.1%203-2.9%206-1.7%207-.5%206%20.2%207%201.3%207.2-34-2.2-1-.3-.5-.7-1.1-6-.6-8%20.4-5%20.7-6%201.7-7%204.3-11%202.8-5%206-8%207.3-7.3%205-3.7%207-4.2%207-3.1%206-2%209-1.9Zm-2.4%20184%204.9-.5%204%20.3%205%201.7%204%202.2%203%202.7%203%203.6%202.2%204%201.2%204%20.4%205-.3%204-1.2%204-2%204-3.3%204-4%203.2-4%202-4%201.2-9-.2-7-2.8-4-3-3-3.7-2.2-3.7-1.2-4-.7-5%20.6-5%201.1-4%202-4%203.4-4%203-2.5%203-1.8Z'/%3e%3c/svg%3e";
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region src/modules/face-match/animation.tsx
|
|
56
|
+
var Tooltip = ({ children }) => {
|
|
57
|
+
return /* @__PURE__ */ u("div", {
|
|
58
|
+
className: "IncodeFaceMatchTooltip",
|
|
59
|
+
"aria-hidden": "true",
|
|
60
|
+
children
|
|
61
|
+
});
|
|
62
|
+
};
|
|
63
|
+
var PhotoAnimation = ({ images, variant = "selfieVsId", isCompleted = false }) => {
|
|
64
|
+
const { t } = useTranslation();
|
|
65
|
+
const isSecondId = variant === "secondId";
|
|
66
|
+
const { idFace: croppedIdFace, selfie: croppedFace, secondIdFace: croppedSecondIdFace } = images;
|
|
67
|
+
if (isSecondId) return /* @__PURE__ */ u("div", {
|
|
68
|
+
className: "IncodeFaceMatchContainer",
|
|
69
|
+
children: [
|
|
70
|
+
/* @__PURE__ */ u("div", {
|
|
71
|
+
className: `IncodeFaceMatchPhotoContainer IncodeFaceMatchLeftPhoto ${isCompleted ? "IncodeFaceMatchPhotoContainerHidden" : ""}`,
|
|
72
|
+
children: [/* @__PURE__ */ u(Tooltip, { children: t("faceMatch.firstId") }), /* @__PURE__ */ u("img", {
|
|
73
|
+
className: "IncodeFaceMatchCircularImage",
|
|
74
|
+
src: croppedIdFace ? croppedIdFace : face_placeholder_default,
|
|
75
|
+
alt: t("faceMatch.firstId")
|
|
76
|
+
})]
|
|
77
|
+
}),
|
|
78
|
+
/* @__PURE__ */ u("div", {
|
|
79
|
+
className: `IncodeFaceMatchPhotoContainer IncodeFaceMatchRightPhoto ${isCompleted ? "IncodeFaceMatchPhotoContainerHidden" : ""}`,
|
|
80
|
+
children: [/* @__PURE__ */ u(Tooltip, { children: t("faceMatch.secondId") }), /* @__PURE__ */ u("img", {
|
|
81
|
+
className: "IncodeFaceMatchCircularImage",
|
|
82
|
+
src: croppedSecondIdFace ? croppedSecondIdFace : face_placeholder_default,
|
|
83
|
+
alt: t("faceMatch.secondId")
|
|
84
|
+
})]
|
|
85
|
+
}),
|
|
86
|
+
/* @__PURE__ */ u("div", {
|
|
87
|
+
className: `IncodeFaceMatchBottomPhotoContainer ${isCompleted ? "IncodeFaceMatchBottomPhotoContainerHidden" : ""}`,
|
|
88
|
+
children: [/* @__PURE__ */ u(Tooltip, { children: t("faceMatch.selfie") }), /* @__PURE__ */ u("img", {
|
|
89
|
+
className: "IncodeFaceMatchCircularImage",
|
|
90
|
+
src: croppedFace ? croppedFace : face_placeholder_default,
|
|
91
|
+
alt: t("faceMatch.selfie")
|
|
92
|
+
})]
|
|
93
|
+
})
|
|
94
|
+
]
|
|
95
|
+
});
|
|
96
|
+
return /* @__PURE__ */ u("div", {
|
|
97
|
+
className: "IncodeFaceMatchContainer",
|
|
98
|
+
children: [/* @__PURE__ */ u("div", {
|
|
99
|
+
className: `IncodeFaceMatchPhotoContainer IncodeFaceMatchLeftPhoto ${isCompleted ? "IncodeFaceMatchPhotoContainerHidden" : ""}`,
|
|
100
|
+
children: [/* @__PURE__ */ u(Tooltip, { children: t("faceMatch.selfie") }), /* @__PURE__ */ u("img", {
|
|
101
|
+
className: "IncodeFaceMatchCircularImage",
|
|
102
|
+
src: croppedFace ? croppedFace : face_placeholder_default,
|
|
103
|
+
alt: t("faceMatch.selfie")
|
|
104
|
+
})]
|
|
105
|
+
}), /* @__PURE__ */ u("div", {
|
|
106
|
+
className: `IncodeFaceMatchPhotoContainer IncodeFaceMatchRightPhoto ${isCompleted ? "IncodeFaceMatchPhotoContainerHidden" : ""}`,
|
|
107
|
+
children: [/* @__PURE__ */ u(Tooltip, { children: t("faceMatch.id") }), /* @__PURE__ */ u("img", {
|
|
108
|
+
className: "IncodeFaceMatchCircularImage",
|
|
109
|
+
src: croppedIdFace ? croppedIdFace : face_placeholder_default,
|
|
110
|
+
alt: t("faceMatch.id")
|
|
111
|
+
})]
|
|
112
|
+
})]
|
|
113
|
+
});
|
|
114
|
+
};
|
|
115
|
+
//#endregion
|
|
116
|
+
//#region src/modules/face-match/faceMatch.tsx
|
|
117
|
+
/**
|
|
118
|
+
* @module @incodetech/ui/face-match
|
|
119
|
+
*
|
|
120
|
+
* Face match UI component for the Incode Web SDK.
|
|
121
|
+
* Provides a complete, ready-to-use face comparison experience
|
|
122
|
+
* with animated comparison and result display.
|
|
123
|
+
*
|
|
124
|
+
* ## UI Usage
|
|
125
|
+
*
|
|
126
|
+
* The FaceMatch component can be used as a React/Preact component or as a
|
|
127
|
+
* Web Component (`<incode-face-match>`).
|
|
128
|
+
*
|
|
129
|
+
* @example React/Preact component usage
|
|
130
|
+
* ```tsx
|
|
131
|
+
* import { FaceMatch } from '@incodetech/ui/face-match';
|
|
132
|
+
* import { setup } from '@incodetech/core';
|
|
133
|
+
*
|
|
134
|
+
* // Configure the SDK first
|
|
135
|
+
* setup({ apiURL: 'https://api.example.com', token: 'your-token' });
|
|
136
|
+
*
|
|
137
|
+
* function App() {
|
|
138
|
+
* const config = {
|
|
139
|
+
* variant: 'selfieVsId',
|
|
140
|
+
* disableFaceMatchAnimation: false,
|
|
141
|
+
* };
|
|
142
|
+
*
|
|
143
|
+
* return (
|
|
144
|
+
* <FaceMatch
|
|
145
|
+
* config={config}
|
|
146
|
+
* onFinish={() => console.log('Face match complete!')}
|
|
147
|
+
* onError={(error) => console.error('Error:', error)}
|
|
148
|
+
* />
|
|
149
|
+
* );
|
|
150
|
+
* }
|
|
151
|
+
* ```
|
|
152
|
+
*
|
|
153
|
+
* @example Web Component usage
|
|
154
|
+
* ```html
|
|
155
|
+
* <!-- Include the script -->
|
|
156
|
+
* <script type="module">
|
|
157
|
+
* import '@incodetech/ui/face-match';
|
|
158
|
+
* import { setup } from '@incodetech/core';
|
|
159
|
+
*
|
|
160
|
+
* setup({ apiURL: 'https://api.example.com', token: 'your-token' });
|
|
161
|
+
*
|
|
162
|
+
* const faceMatch = document.querySelector('incode-face-match');
|
|
163
|
+
* faceMatch.config = {
|
|
164
|
+
* variant: 'selfieVsId',
|
|
165
|
+
* disableFaceMatchAnimation: false,
|
|
166
|
+
* };
|
|
167
|
+
* faceMatch.onFinish = () => console.log('Face match complete!');
|
|
168
|
+
* faceMatch.onError = (error) => console.error('Error:', error);
|
|
169
|
+
* <\/script>
|
|
170
|
+
*
|
|
171
|
+
* <incode-face-match></incode-face-match>
|
|
172
|
+
* ```
|
|
173
|
+
*
|
|
174
|
+
* ## Styling
|
|
175
|
+
*
|
|
176
|
+
* The component uses CSS custom properties (variables) for theming.
|
|
177
|
+
* Override these variables to customize the appearance.
|
|
178
|
+
*
|
|
179
|
+
* ## Headless Alternative
|
|
180
|
+
*
|
|
181
|
+
* For complete control over the UI, use the headless `createFaceMatchManager`
|
|
182
|
+
* from `@incodetech/core/face-match` instead. See the core module documentation.
|
|
183
|
+
*/
|
|
184
|
+
var ANIMATION_TOTAL_DURATION = 3900;
|
|
185
|
+
var MatchResultDisplay = ({ matched, titleRef }) => {
|
|
186
|
+
const { t } = useTranslation();
|
|
187
|
+
return /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u("div", {
|
|
188
|
+
className: "IncodeFaceMatchAnimatedIcon",
|
|
189
|
+
"aria-hidden": "true",
|
|
190
|
+
"data-testid": "face-match-result-icon",
|
|
191
|
+
children: matched === true ? /* @__PURE__ */ u(Asset, {
|
|
192
|
+
name: "faceMatch.success",
|
|
193
|
+
class: "IncodeFaceMatchResultIcon",
|
|
194
|
+
default: SvgMatchSuccess
|
|
195
|
+
}) : matched === false ? /* @__PURE__ */ u(Asset, {
|
|
196
|
+
name: "faceMatch.fail",
|
|
197
|
+
class: "IncodeFaceMatchResultIcon",
|
|
198
|
+
default: SvgMatchFail
|
|
199
|
+
}) : null
|
|
200
|
+
}), /* @__PURE__ */ u(Title, {
|
|
201
|
+
ref: titleRef,
|
|
202
|
+
className: "IncodeFaceMatchAnimatedResultTitle",
|
|
203
|
+
tabIndex: -1,
|
|
204
|
+
children: matched === true ? t("faceMatch.matched") : matched === false ? t("faceMatch.facesNoMatch") : ""
|
|
205
|
+
})] });
|
|
206
|
+
};
|
|
207
|
+
var FaceMatchContent = ({ config, manager: externalManager, onFinish, onError }) => {
|
|
208
|
+
const { t } = useTranslation();
|
|
209
|
+
const titleRef = A(null);
|
|
210
|
+
const resultTitleRef = A(null);
|
|
211
|
+
const [state, manager] = useManager(() => {
|
|
212
|
+
if (externalManager) return externalManager;
|
|
213
|
+
if (!config) throw new Error("FaceMatch config is required");
|
|
214
|
+
return createFaceMatchManager({ config });
|
|
215
|
+
}, { manageLifecycle: !externalManager });
|
|
216
|
+
const animationTimeoutRef = A(null);
|
|
217
|
+
y(() => {
|
|
218
|
+
if (state.status === "animating") animationTimeoutRef.current = window.setTimeout(() => {
|
|
219
|
+
manager.animationComplete();
|
|
220
|
+
}, ANIMATION_TOTAL_DURATION);
|
|
221
|
+
return () => {
|
|
222
|
+
if (animationTimeoutRef.current !== null) window.clearTimeout(animationTimeoutRef.current);
|
|
223
|
+
};
|
|
224
|
+
}, [state.status, manager]);
|
|
225
|
+
y(() => {
|
|
226
|
+
if (state.status === "animating") titleRef.current?.focus();
|
|
227
|
+
else if (state.status === "result") resultTitleRef.current?.focus();
|
|
228
|
+
}, [state.status]);
|
|
229
|
+
useModuleTerminalCallbacks({
|
|
230
|
+
status: state.status,
|
|
231
|
+
onFinish,
|
|
232
|
+
onError,
|
|
233
|
+
error: state.status === "error" ? state.error : void 0
|
|
234
|
+
});
|
|
235
|
+
if (state.status === "loading") return /* @__PURE__ */ u(TransitionSpinner, {});
|
|
236
|
+
if (state.status === "animating" || state.status === "result") {
|
|
237
|
+
const isSecondId = config?.matchingType === "secondId";
|
|
238
|
+
const matched = state.status === "animating" ? state.result?.matched ?? null : state.matched;
|
|
239
|
+
const showResult = state.status === "result";
|
|
240
|
+
const liveness = state.status === "result" ? state.result.liveness : null;
|
|
241
|
+
return /* @__PURE__ */ u(Page, {
|
|
242
|
+
className: "IncodeFaceMatchPage",
|
|
243
|
+
children: /* @__PURE__ */ u("div", {
|
|
244
|
+
className: "IncodeFaceMatchContent",
|
|
245
|
+
children: [
|
|
246
|
+
/* @__PURE__ */ u("div", {
|
|
247
|
+
className: `IncodeFaceMatchHeader ${showResult ? "IncodeFaceMatchHeaderHidden" : ""}`,
|
|
248
|
+
"aria-hidden": showResult || void 0,
|
|
249
|
+
children: [
|
|
250
|
+
/* @__PURE__ */ u(Spacer, { size: 24 }),
|
|
251
|
+
/* @__PURE__ */ u(Title, {
|
|
252
|
+
ref: titleRef,
|
|
253
|
+
className: "IncodeFaceMatchAnimatedTitle",
|
|
254
|
+
tabIndex: -1,
|
|
255
|
+
children: t("faceMatch.verifyingIdentity")
|
|
256
|
+
}),
|
|
257
|
+
/* @__PURE__ */ u(Spacer, { size: 64 })
|
|
258
|
+
]
|
|
259
|
+
}),
|
|
260
|
+
/* @__PURE__ */ u("div", {
|
|
261
|
+
className: `IncodeFaceMatchAnimationContainer ${showResult ? "IncodeFaceMatchShowResult" : ""}`,
|
|
262
|
+
children: [/* @__PURE__ */ u("div", {
|
|
263
|
+
className: `IncodeFaceMatchPhotoWrapper ${showResult ? "IncodeFaceMatchPhotoWrapperHidden" : ""}`,
|
|
264
|
+
"aria-hidden": "true",
|
|
265
|
+
"data-testid": "face-match-photo-wrapper",
|
|
266
|
+
children: /* @__PURE__ */ u(PhotoAnimation, {
|
|
267
|
+
images: state.images,
|
|
268
|
+
variant: isSecondId ? "secondId" : "selfieVsId"
|
|
269
|
+
})
|
|
270
|
+
}), showResult && /* @__PURE__ */ u("div", {
|
|
271
|
+
className: "IncodeFaceMatchResultContainer IncodeFaceMatchResultVisible",
|
|
272
|
+
children: /* @__PURE__ */ u(MatchResultDisplay, {
|
|
273
|
+
matched,
|
|
274
|
+
titleRef: resultTitleRef
|
|
275
|
+
})
|
|
276
|
+
})]
|
|
277
|
+
}),
|
|
278
|
+
showResult && liveness !== null && /* @__PURE__ */ u("div", {
|
|
279
|
+
className: "IncodeFaceMatchLivenessContainer IncodeFaceMatchLivenessVisible",
|
|
280
|
+
"data-testid": "face-match-liveness",
|
|
281
|
+
"data-variant": liveness ? "positive" : "negative",
|
|
282
|
+
children: /* @__PURE__ */ u(Snackbar, {
|
|
283
|
+
variant: liveness ? "positive" : "negative",
|
|
284
|
+
children: t(liveness ? "matchUser.livenessSuccess" : "matchUser.livenessFailed")
|
|
285
|
+
})
|
|
286
|
+
}),
|
|
287
|
+
showResult && /* @__PURE__ */ u("div", {
|
|
288
|
+
className: "IncodeFaceMatchButtonContainer IncodeFaceMatchButtonVisible",
|
|
289
|
+
children: /* @__PURE__ */ u(Button, {
|
|
290
|
+
onClick: () => manager.continue(),
|
|
291
|
+
"data-testid": "face-match-continue",
|
|
292
|
+
children: t("faceMatch.continue")
|
|
293
|
+
})
|
|
294
|
+
})
|
|
295
|
+
]
|
|
296
|
+
})
|
|
297
|
+
});
|
|
298
|
+
}
|
|
299
|
+
if (isTerminalModuleState(state)) return null;
|
|
300
|
+
return null;
|
|
301
|
+
};
|
|
302
|
+
/**
|
|
303
|
+
* Face match UI component.
|
|
304
|
+
*
|
|
305
|
+
* Provides a complete face comparison experience including:
|
|
306
|
+
* - Animated photo comparison sequence
|
|
307
|
+
* - Match/no-match result display
|
|
308
|
+
* - Continue button to proceed
|
|
309
|
+
*
|
|
310
|
+
* @example Basic usage
|
|
311
|
+
* ```tsx
|
|
312
|
+
* <FaceMatch
|
|
313
|
+
* config={{
|
|
314
|
+
* variant: 'selfieVsId',
|
|
315
|
+
* disableFaceMatchAnimation: false,
|
|
316
|
+
* }}
|
|
317
|
+
* onFinish={() => router.push('/next-step')}
|
|
318
|
+
* onError={(err) => toast.error(err)}
|
|
319
|
+
* />
|
|
320
|
+
* ```
|
|
321
|
+
*
|
|
322
|
+
* @see {@link createFaceMatchManager} for headless usage
|
|
323
|
+
*/
|
|
324
|
+
var FaceMatchWithLocalConfig = ({ config, manager, onFinish, onError }) => {
|
|
325
|
+
return /* @__PURE__ */ u(IncodeComponent, { children: config || manager ? /* @__PURE__ */ u(FaceMatchContent, {
|
|
326
|
+
config,
|
|
327
|
+
manager,
|
|
328
|
+
onFinish,
|
|
329
|
+
onError
|
|
330
|
+
}) : null });
|
|
331
|
+
};
|
|
332
|
+
var FaceMatch = withStandaloneModuleBootstrap(FaceMatchWithLocalConfig, "FACE_MATCH", { supportsExternalManager: true });
|
|
333
|
+
registerIncodeModuleElement(FaceMatch, "incode-face-match");
|
|
334
|
+
//#endregion
|
|
335
|
+
export { FaceMatch as t };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FieldComparison } from "../fieldComparison-
|
|
1
|
+
import { t as FieldComparison } from "../fieldComparison-CnaJupLI.js";
|
|
2
2
|
export { FieldComparison };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { o as useTranslation } from "./uiConfig-
|
|
1
|
+
import { o as useTranslation } from "./uiConfig-COHiKZzW.js";
|
|
2
2
|
import { v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as Spacer } from "./spacer-
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
3
|
+
import { b as useManager, i as withStandaloneModuleBootstrap, t as IncodeComponent, v as useModuleTerminalCallbacks } from "./incodeComponent-3y7uzRlG.js";
|
|
4
|
+
import { t as Spacer } from "./spacer-PIxKgZSz.js";
|
|
5
|
+
import { t as Button } from "./button-BOiUFVnQ.js";
|
|
6
|
+
import { t as Page } from "./page-CLhk6jqh.js";
|
|
7
|
+
import { t as VerificationResult } from "./verificationResult-C07CpnI3.js";
|
|
8
|
+
import { t as InputComposed } from "./inputComposed-DtLBtQcz.js";
|
|
9
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-gcky0V2v.js";
|
|
9
10
|
import { createFieldComparisonManager } from "@incodetech/core/field-comparison";
|
|
10
11
|
//#region src/modules/field-comparison/fieldComparison.tsx
|
|
11
12
|
var FieldComparisonContent = ({ config, manager: externalManager, onFinish }) => {
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { o as useTranslation } from "./uiConfig-
|
|
1
|
+
import { o as useTranslation } from "./uiConfig-COHiKZzW.js";
|
|
2
2
|
import { S as k, _ as y, c as A, f as d, h as q, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import {
|
|
4
|
-
import { d as cn, n as LoadingIcon, o as Lottie, s as Asset } from "./spacer-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
9
|
-
import { t as
|
|
10
|
-
import { n as
|
|
3
|
+
import { f as useTimeoutHandle } from "./incodeComponent-3y7uzRlG.js";
|
|
4
|
+
import { d as cn, n as LoadingIcon, o as Lottie, s as Asset } from "./spacer-PIxKgZSz.js";
|
|
5
|
+
import { t as Button } from "./button-BOiUFVnQ.js";
|
|
6
|
+
import { b as ErrorIcon, r as SuccessIcon } from "./icons-DyHSqfXP.js";
|
|
7
|
+
import { t as Page } from "./page-CLhk6jqh.js";
|
|
8
|
+
import { t as AutoFocusTitle } from "./autoFocusTitle-CVaObzKw.js";
|
|
9
|
+
import { t as Modal } from "./modal-BjvGouYz.js";
|
|
10
|
+
import { n as CameraFrame } from "./cameraView-bcOva3MI.js";
|
|
11
|
+
import { t as ManualCaptureButton } from "./manualCaptureButton-euVS4A9B.js";
|
|
12
|
+
import { n as CaptureNotification, t as ManualCaptureButton$1 } from "./manualCaptureButton-DCgfdYkt.js";
|
|
11
13
|
import { checkCameraPermission, requestCameraPermission } from "@incodetech/core/camera";
|
|
12
14
|
import { resolveVideoSelfieSteps } from "@incodetech/core/video-selfie";
|
|
13
15
|
//#region src/modules/video-selfie/useVideoSelfiePermissions.ts
|
|
@@ -272,7 +274,7 @@ var SelfieMask = ({ variant = "idle", message, onManualCapture }) => {
|
|
|
272
274
|
//#region src/modules/video-selfie/idFlipModal.tsx
|
|
273
275
|
var animationPromise = null;
|
|
274
276
|
function loadIdFlipAnimation() {
|
|
275
|
-
animationPromise ??= import("./flip-animation-
|
|
277
|
+
animationPromise ??= import("./flip-animation-KDIQmzzD.js").then((module) => module.default);
|
|
276
278
|
return animationPromise;
|
|
277
279
|
}
|
|
278
280
|
function preloadIdFlipAnimation() {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { o as useTranslation } from "../uiConfig-
|
|
2
|
-
import { v as u } from "../vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as Spacer } from "../spacer-
|
|
5
|
-
import { t as Spinner } from "../spinner-
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
9
|
-
import { n as
|
|
10
|
-
import { t as
|
|
11
|
-
import "../cameraOverlay-
|
|
12
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
1
|
+
import { o as useTranslation } from "../uiConfig-COHiKZzW.js";
|
|
2
|
+
import { a as P, s as z, v as u } from "../vendor-preact-C0jX1Cbq.js";
|
|
3
|
+
import { b as useManager, i as withStandaloneModuleBootstrap, t as IncodeComponent, v as useModuleTerminalCallbacks } from "../incodeComponent-3y7uzRlG.js";
|
|
4
|
+
import { t as Spacer } from "../spacer-PIxKgZSz.js";
|
|
5
|
+
import { t as Spinner } from "../spinner-CSotEf_2.js";
|
|
6
|
+
import { t as Button } from "../button-BOiUFVnQ.js";
|
|
7
|
+
import { t as Page } from "../page-CLhk6jqh.js";
|
|
8
|
+
import { t as VerificationResult } from "../verificationResult-C07CpnI3.js";
|
|
9
|
+
import { n as CameraFrame, t as CameraView } from "../cameraView-bcOva3MI.js";
|
|
10
|
+
import { n as CameraOverlay, t as CameraOverlayHeader } from "../cameraOverlayHeader-Cgn37zxH.js";
|
|
11
|
+
import "../cameraOverlay-BMEl93lN.js";
|
|
12
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-gcky0V2v.js";
|
|
13
13
|
import { createFiscalQrManager } from "@incodetech/core/fiscal-qr";
|
|
14
14
|
//#region src/modules/fiscal-qr/fiscalQrCapture.tsx
|
|
15
15
|
function getFrameState(status) {
|
|
@@ -201,6 +201,7 @@ var FiscalQrLoading = () => /* @__PURE__ */ u(Page, {
|
|
|
201
201
|
});
|
|
202
202
|
//#endregion
|
|
203
203
|
//#region src/modules/fiscal-qr/fiscal-qr.tsx
|
|
204
|
+
var Denied = z(() => import("../denied-BZbfC36x.js").then((module) => ({ default: module.Denied })));
|
|
204
205
|
var FiscalQrContent = ({ config, manager: externalManager, onFinish }) => {
|
|
205
206
|
const { t } = useTranslation();
|
|
206
207
|
const [state, manager] = useManager(() => externalManager ?? createFiscalQrManager({ config: config ?? {} }), {
|
|
@@ -212,10 +213,13 @@ var FiscalQrContent = ({ config, manager: externalManager, onFinish }) => {
|
|
|
212
213
|
onFinish
|
|
213
214
|
});
|
|
214
215
|
if (state.status === "finished") return null;
|
|
215
|
-
if (state.status === "permissionDenied") return /* @__PURE__ */ u(
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
216
|
+
if (state.status === "permissionDenied") return /* @__PURE__ */ u(P, {
|
|
217
|
+
fallback: null,
|
|
218
|
+
children: /* @__PURE__ */ u(Denied, {
|
|
219
|
+
onRefresh: () => window.location.reload(),
|
|
220
|
+
"data-testid": "fiscal-qr-permission-denied",
|
|
221
|
+
"data-permission-status": "denied"
|
|
222
|
+
})
|
|
219
223
|
});
|
|
220
224
|
if (state.status === "scanning" && !state.stream) return /* @__PURE__ */ u(FiscalQrLoading, {});
|
|
221
225
|
if (state.status === "scanning" || state.status === "capturing" || state.status === "success" || state.status === "error") return /* @__PURE__ */ u(FiscalQrCapture, {
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
import { o as useTranslation } from "./uiConfig-
|
|
1
|
+
import { o as useTranslation } from "./uiConfig-COHiKZzW.js";
|
|
2
2
|
import { S as k, _ as y, a as P, b as Q, c as A, d as _, f as d, g as x, h as q, i as D, s as z, u as T, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import {
|
|
4
|
-
import { a as useAnimationData, d as cn, r as AnimatedAsset, t as Spacer } from "./spacer-
|
|
5
|
-
import { o as TypographyP, r as TypographyH3, t as Title } from "./typography-
|
|
6
|
-
import { t as Spinner } from "./spinner-
|
|
7
|
-
import {
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { n as
|
|
12
|
-
import { n as
|
|
13
|
-
import { t as
|
|
14
|
-
import { n as
|
|
15
|
-
import {
|
|
3
|
+
import { c as TransitionSpinner, f as useTimeoutHandle, l as useFeatureManagement, m as useEventListener, p as useResizeObserver, u as usePresence } from "./incodeComponent-3y7uzRlG.js";
|
|
4
|
+
import { a as useAnimationData, d as cn, r as AnimatedAsset, t as Spacer } from "./spacer-PIxKgZSz.js";
|
|
5
|
+
import { o as TypographyP, r as TypographyH3, t as Title } from "./typography-CKHLGjMP.js";
|
|
6
|
+
import { t as Spinner } from "./spinner-CSotEf_2.js";
|
|
7
|
+
import { t as Button } from "./button-BOiUFVnQ.js";
|
|
8
|
+
import { a as LockIcon, f as ChevronRightIcon, t as SvgLightningIcon } from "./icons-DyHSqfXP.js";
|
|
9
|
+
import { t as Page } from "./page-CLhk6jqh.js";
|
|
10
|
+
import { t as Modal } from "./modal-BjvGouYz.js";
|
|
11
|
+
import { n as CaptureFooter, r as ProgressBar, t as useCaptureHelpButton } from "./useCaptureHelpButton-DmigQUsV.js";
|
|
12
|
+
import { n as getCountryDisplayName, t as countryFlagEmoji } from "./countries-BYiwnTqF.js";
|
|
13
|
+
import { n as CameraFrame, t as CameraView } from "./cameraView-bcOva3MI.js";
|
|
14
|
+
import { n as CameraOverlay, t as CameraOverlayHeader } from "./cameraOverlayHeader-Cgn37zxH.js";
|
|
15
|
+
import { t as BaseTutorial } from "./baseTutorial-D3F-4tjL.js";
|
|
16
|
+
import { n as RedStrikeIcon, t as ExpiredId } from "./expiredId-CRGmaefx.js";
|
|
17
|
+
import { i as usePreloadCaptureAnimations, n as CaptureNotification } from "./manualCaptureButton-DCgfdYkt.js";
|
|
16
18
|
import { eventModuleNames, recordExperimentAssignmentOnce } from "@incodetech/core/events";
|
|
17
19
|
import { ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, numberParam, resolveExperiment } from "@incodetech/core/feature-management";
|
|
18
20
|
//#region src/shared/card/verificationOption/verificationOptionCard.tsx
|
|
@@ -1204,12 +1206,12 @@ var CaptureResultFlash = ({ delayMs, onAnimationEnd }) => /* @__PURE__ */ u("div
|
|
|
1204
1206
|
});
|
|
1205
1207
|
//#endregion
|
|
1206
1208
|
//#region src/modules/id/capture/idHint.tsx
|
|
1207
|
-
var FrontHorizontalHintSvg = z(() => import("./front-horizontal-hint-
|
|
1208
|
-
var FrontVerticalHintSvg = z(() => import("./front-vertical-hint-
|
|
1209
|
-
var BackHorizontalHintSvg = z(() => import("./back-horizontal-hint-
|
|
1210
|
-
var BackVerticalHintSvg = z(() => import("./back-vertical-hint-
|
|
1211
|
-
var PassportHorizontalHintSvg = z(() => import("./passport-horizontal-hint-
|
|
1212
|
-
var PassportVerticalHintSvg = z(() => import("./passport-vertical-hint-
|
|
1209
|
+
var FrontHorizontalHintSvg = z(() => import("./front-horizontal-hint-DiW6UNZ_.js"));
|
|
1210
|
+
var FrontVerticalHintSvg = z(() => import("./front-vertical-hint-BdTlZlIZ.js"));
|
|
1211
|
+
var BackHorizontalHintSvg = z(() => import("./back-horizontal-hint-BfnSvpyc.js"));
|
|
1212
|
+
var BackVerticalHintSvg = z(() => import("./back-vertical-hint-zfKhFXl4.js"));
|
|
1213
|
+
var PassportHorizontalHintSvg = z(() => import("./passport-horizontal-hint-DmOFbl98.js"));
|
|
1214
|
+
var PassportVerticalHintSvg = z(() => import("./passport-vertical-hint-D-PRNOBh.js"));
|
|
1213
1215
|
var CARD_WIDTH_IN_SVG = {
|
|
1214
1216
|
"front-horizontal": 348,
|
|
1215
1217
|
"back-horizontal": 348,
|