@incodetech/web 2.3.2-rc.4 → 2.4.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/THIRD_PARTY_NOTICES.txt +0 -3
- package/dist/GeolocationPermissionDenied-ChCQ6Mhi.js +444 -0
- package/dist/ae-signature/ae-signature.es.js +3 -3
- package/dist/{af-ZA-CA6Cuvy7.js → af-ZA-B5RfX0Do.js} +1 -0
- package/dist/ageVerification-BMwwu3EI.js +77 -0
- package/dist/{am-C9PowMKj.js → am-BE3vlUmQ.js} +1 -0
- package/dist/antifraud/antifraud.es.js +3 -3
- package/dist/antifraud/styles.css +0 -1
- package/dist/{ar-AE-CyVB3e6w.js → ar-AE-Dw0claA-.js} +2 -1
- package/dist/{ar-CA-xYPJY.js → ar-B3gZ5W2R.js} +1 -0
- package/dist/{ar-EG-CbZZLN4a.js → ar-EG-5pSqEbCR.js} +1 -0
- package/dist/authentication/authentication.es.js +4 -4
- package/dist/{autoFocusTitle-DIaSbuq7.js → autoFocusTitle-DTSPbDgY.js} +1 -1
- package/dist/{az-CKYeugV_.js → az-CtWu_6fI.js} +1 -0
- package/dist/back-horizontal-hint-BztyPanp.js +134 -0
- package/dist/back-vertical-hint-BSzA4QbJ.js +127 -0
- package/dist/base.css +1 -7230
- package/dist/{baseTutorial-DO4gqrJQ.js → baseTutorial-CW-zwkOM.js} +13 -24
- package/dist/{bn-DmUH7q5R.js → bn-CXOCkHeB.js} +1 -0
- package/dist/{bottomSheet-BLJeBfa5.js → bottomSheet-DmQVpuxJ.js} +2 -2
- package/dist/{bs-CWfAeJNO.js → bs-B4mczUkN.js} +1 -0
- package/dist/{ca-DWaNc0fo.js → ca-DAE1dQj9.js} +1 -0
- package/dist/cameraOverlay-Bgpa6tky.js +2 -0
- package/dist/cameraOverlayHeader-BZlR-wkk.js +83 -0
- package/dist/{cameraView-rIbhv8fs.js → cameraView-DG425WNr.js} +2 -2
- package/dist/{ceb-BG6KB0JE.js → ceb-C9GCq8zw.js} +1 -0
- package/dist/certificate-issuance/certificate-issuance.es.js +9 -8
- package/dist/certificate-issuance/styles.css +1 -72
- package/dist/certificate-issuance/styles.css.js +1 -1
- package/dist/check-icon-BpjpKqhJ.js +48 -0
- package/dist/{checkbox-BhwI4wQM.js → checkbox-ClDWA_GP.js} +2 -2
- package/dist/connectionError-DnLv1SEA.js +45 -0
- package/dist/consent/consent.es.js +8 -6
- package/dist/consent/styles.css +1 -129
- package/dist/consent/styles.css.js +1 -1
- package/dist/countryDefinitions-BO9OSKQO.js +555 -0
- package/dist/countryFlag-2Vj85OIZ.js +67 -0
- package/dist/{countrySelector-yIGWfr2F.js → countrySelector-65mrWgRB.js} +6 -5
- package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
- package/dist/{cs-CZ-BACKrF5t.js → cs-CZ-CLmA_0jN.js} +1 -0
- package/dist/{cs-6iPoRnQs.js → cs-DJEcT5M8.js} +1 -0
- package/dist/curp-validation/curp-validation.es.js +13 -11
- package/dist/curp-validation/styles.css +1 -128
- package/dist/curp-validation/styles.css.js +1 -1
- package/dist/custom-fields/styles.css +1 -21
- package/dist/custom-fields/styles.css.js +1 -1
- package/dist/{customFields-C69ImDUR.js → customFields-BNX1AHc3.js} +10 -9
- package/dist/{customWatchlist-4DzMKHnO.js → customWatchlist-BdCLsmp2.js} +6 -6
- package/dist/{da-DK-CST8ldZv.js → da-DK-B0G-1XCN.js} +1 -0
- package/dist/{dashboardTheme-byzaKQpO.js → dashboardTheme-B3JLw1w6.js} +1 -1
- package/dist/dateInputComposed-81cxVVay.js +1 -0
- package/dist/{dateInputComposed-BJ2i31Qg.js → dateInputComposed-BwqEyZNg.js} +4 -4
- package/dist/{de-DvBX387Q.js → de-Pw3Ziz4S.js} +1 -0
- package/dist/denied-D977k8ju.js +1871 -0
- package/dist/deviceWallet-CoXT8GNt.js +66 -0
- package/dist/digitalIdRedirect-CI0JpjXY.js +162 -0
- package/dist/digitalIdUpload-DTrEj4Q3.js +496 -0
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/document-capture/styles.css +1 -378
- package/dist/document-capture/styles.css.js +1 -1
- package/dist/{documentCapture-BmmRBhhG.js → documentCapture-BVs_R-Aj.js} +127 -180
- package/dist/documentCapture-CE3xt7Qu.js +2 -0
- package/dist/dropdownComposed-BBeW4gkE.js +1 -0
- package/dist/{dropdownComposed-BthB9H5H.js → dropdownComposed-CB55QqNd.js} +8 -14
- package/dist/dynamic-forms/dynamic-forms.es.js +13 -12
- package/dist/dynamic-forms/styles.css +1 -104
- package/dist/dynamic-forms/styles.css.js +1 -1
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekyb/styles.css +1 -113
- package/dist/ekyb/styles.css.js +1 -1
- package/dist/ekybModule-BiVsuQhj.js +2 -0
- package/dist/{ekybModule-C92p0vvi.js → ekybModule-Deru8qGu.js} +13 -12
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekyc/styles.css +1 -108
- package/dist/ekyc/styles.css.js +1 -1
- package/dist/ekycModule-CGS7oZAu.js +2 -0
- package/dist/{ekycModule-eBrLm0sR.js → ekycModule-Cb3HnENz.js} +46 -14
- package/dist/{el-BCSLBNUY.js → el-DlcHAcXD.js} +1 -0
- package/dist/{el-GR-DZW16R9N.js → el-GR-fXRg7fVy.js} +1 -0
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/electronic-signature/styles.css +1 -407
- package/dist/electronic-signature/styles.css.js +1 -1
- package/dist/{electronic-signature-D1d_WObD.js → electronic-signature-Bt644x6v.js} +24 -21
- package/dist/email/email.es.js +8 -7
- package/dist/email/styles.css +1 -11
- package/dist/email/styles.css.js +1 -1
- package/dist/{emailInput-CZ-0HyRS.js → emailInput-DQlm6sys.js} +3 -3
- package/dist/{en-QnHXrrY7.js → en-BQfrZw2Q.js} +1 -0
- package/dist/{en-DG-Dlff-IsT.js → en-DG-Dbay0TVK.js} +1 -0
- package/dist/{errorContent-T3IsDggM.js → errorContent-i-XKbliC.js} +5 -5
- package/dist/{es-419-JaSs0Que.js → es-419-B494eoOQ.js} +1 -0
- package/dist/{es-xOhDko1G.js → es-CIaH0_TG.js} +1 -0
- package/dist/{es-ES-C7SEV5MS.js → es-ES-BAy8H_o4.js} +1 -0
- package/dist/{es-MX-8mD6Ru26.js → es-MX-mRlcVoSi.js} +1 -0
- package/dist/esm-15CISqPe.js +430 -0
- package/dist/{et-DVMXfkQT.js → et-BsM-KF4Y.js} +2 -1
- package/dist/{expiredId-BQukSylk.js → expiredId-Bc_tCf-R.js} +6 -6
- package/dist/extensibility.es.js +38 -36
- package/dist/{fa-IR-B7JNyhKz.js → fa-IR-DKPXxDgD.js} +1 -0
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/face-match/styles.css +1 -535
- package/dist/face-match/styles.css.js +1 -1
- package/dist/faceMatch-KF3QElE7.js +2 -0
- package/dist/faceMatch-MVYGreUC.js +336 -0
- package/dist/{fi-FI-CgZFjWp0.js → fi-FI-BehaswUi.js} +1 -0
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/field-comparison/styles.css +1 -27
- package/dist/field-comparison/styles.css.js +1 -1
- package/dist/fieldComparison-CQG-0wfE.js +2 -0
- package/dist/{fieldComparison-B79amZ7h.js → fieldComparison-D4FRpZlC.js} +13 -7
- package/dist/finalSuccessScreen-DS4fm_uM.js +500 -0
- package/dist/fiscal-qr/fiscal-qr.es.js +28 -23
- package/dist/fiscal-qr/styles.css +1 -82
- package/dist/fiscal-qr/styles.css.js +1 -1
- package/dist/{flipAnimation-GbvrJ0-_.js → flipAnimation-NcDmqbnT.js} +643 -355
- package/dist/flow/flow.es.js +41 -24
- package/dist/flow/shell/styles.css +1 -401
- package/dist/flow/shell/styles.css.js +1 -1
- package/dist/flow/styles.css +1 -5702
- package/dist/{formField-tq_XH-Th.js → formField-D1sSXdbf.js} +2 -2
- package/dist/{fr-CA-pLsuP6oV.js → fr-CA-DZcH7XE0.js} +1 -0
- package/dist/{fr-DWhWFv0v.js → fr-DuG6kscd.js} +1 -0
- package/dist/front-horizontal-hint-DEHmtcdg.js +379 -0
- package/dist/{front-vertical-hint-qXMVdLri.js → front-vertical-hint-Cb1NO-xT.js} +71 -72
- package/dist/geolocation/geolocation.es.js +26 -459
- package/dist/geolocation/styles.css +1 -165
- package/dist/geolocation/styles.css.js +1 -1
- package/dist/government-validation/government-validation.es.js +15 -13
- package/dist/government-validation/styles.css +1 -4
- package/dist/government-validation/styles.css.js +1 -1
- package/dist/{he-BCXU1BJZ.js → he-B_PP0efY.js} +1 -0
- package/dist/{hi-DHKWk_3O.js → hi-D0rSX1o4.js} +1 -0
- package/dist/{hmn-DKxFifxf.js → hmn-DK7VD_xu.js} +1 -0
- package/dist/{homeScreen-C6n4tcTo.js → homeScreen-CKLvX3bf.js} +10 -11
- package/dist/{hr-Bb5L8s7b.js → hr-BpjWRIC0.js} +1 -0
- package/dist/{ht-NA3g5Q-7.js → ht-CG8o1xEm.js} +1 -0
- package/dist/{hu-D34RjbYg.js → hu-BmwC53l2.js} +1 -0
- package/dist/icons-Cri5P1f0.js +535 -0
- package/dist/id/id.es.js +315 -1174
- package/dist/id/styles.css +1 -1691
- package/dist/id/styles.css.js +1 -1
- package/dist/{id-lD25ONXO.js → id-CKlkbZdM.js} +1 -0
- package/dist/id-back-of-card-C7Au2tqk.js +71 -0
- package/dist/id-back-of-card-vertical-CtQBFw8w.js +74 -0
- package/dist/id-front-of-card-BmHL_keG.js +305 -0
- package/dist/id-front-of-card-vertical-DkNUn2Vx.js +253 -0
- package/dist/id-ocr/styles.css +1 -55
- package/dist/id-ocr/styles.css.js +1 -1
- package/dist/id-selfie-flow/id-selfie-flow.es.js +12 -9
- package/dist/id-selfie-flow/styles.css +1 -780
- package/dist/id-verification/id-verification.es.js +6 -5
- package/dist/{idOcr-B1KXgAbC.js → idOcr-vWU87y1x.js} +12 -11
- package/dist/identity-reuse/identity-reuse.es.js +167 -139
- package/dist/identity-reuse/styles.css +1 -216
- package/dist/incode-logo-r5UBM52t.js +341 -0
- package/dist/{incodeComponent-CdiXt7v7.js → incodeComponent-I3JIdKa5.js} +147 -269
- package/dist/incodeModule-t2FDQ-II.js +68 -0
- package/dist/index.es.js +4 -3
- package/dist/{inputComposed-8oVJL9fW.js → inputComposed-B27kZydt.js} +2 -2
- package/dist/inputComposed-DfPNjr7W.js +1 -0
- package/dist/{it-Bjpo7bkn.js → it-Ha3KMdAw.js} +1 -0
- package/dist/{ja-G_1vszjj.js → ja-BcpfEJD1.js} +1 -0
- package/dist/{ja-JP-SAKkGA9f.js → ja-JP-6Sg-lS3C.js} +2 -1
- package/dist/{jv-BP3Kidjb.js → jv-BhDDvojx.js} +1 -0
- package/dist/{ka-Byk8FCEP.js → ka-DSEmyiG7.js} +1 -0
- package/dist/{kk-C4-RGR2p.js → kk-DfTBM0Ac.js} +1 -0
- package/dist/{km-Cz7zimk3.js → km-DSH-1ryG.js} +6 -5
- package/dist/{ko-BDxjQ_OF.js → ko-DmCEEN9O.js} +1 -0
- package/dist/{ko-KP-BknUJpo0.js → ko-KP-DxNF6PVH.js} +1 -0
- package/dist/{ky-DwIO9bLp.js → ky-BYYkLAWt.js} +1 -0
- package/dist/{lo-c59MQX2S.js → lo-Dd7cFyNu.js} +1 -0
- package/dist/{lt-BrhZu2Vj.js → lt-DJemxo6s.js} +1 -0
- package/dist/{lv-Db2rbWSh.js → lv-DV6PxXYU.js} +1 -0
- package/dist/{mandatoryConsent-BLdpQxu2.js → mandatoryConsent-CEFsoyzd.js} +8 -6
- package/dist/{manualCaptureButton-wmNH54-0.js → manualCaptureButton-DghY-ZUO.js} +5 -5
- package/dist/{manualCaptureButton-BE9SVH5c.js → manualCaptureButton-DwcLDSMN.js} +43 -34
- package/dist/{mk-Uqn_8kGi.js → mk-0GH3TF8e.js} +1 -0
- package/dist/{mn-D7Jznd1-.js → mn-DhhnhyBd.js} +1 -0
- package/dist/{ms-BfMCHUa8.js → ms-DmVYGU6Y.js} +1 -0
- package/dist/{my-DsHXgcbs.js → my-DGXxog_l.js} +1 -0
- package/dist/{nb-NO-CPRHGQCR.js → nb-NO-SMmm3cOU.js} +1 -0
- package/dist/{ne-CMjCTP-p.js → ne-DVsGmeSd.js} +1 -0
- package/dist/{nl-CnBRdS5k.js → nl-CL7EuWSC.js} +2 -1
- package/dist/{optionAccessibleLabel-CI7JZggS.js → optionAccessibleLabel-BApMWddn.js} +5 -5
- package/dist/{otpInput-DxD_x747.js → otpInput-D0RomcH9.js} +6 -6
- package/dist/page-BzEithea.js +299 -0
- package/dist/{passport-horizontal-hint-6Ghn2EEN.js → passport-horizontal-hint-DgNc6F0-.js} +48 -49
- package/dist/{passport-vertical-hint-UPFFpdf4.js → passport-vertical-hint-B-toVsfT.js} +42 -42
- package/dist/{passwordInputComposed-CIM8-Hvd.js → passwordInputComposed-DqiG9IUM.js} +4 -4
- package/dist/{pdf-CFubyG0B.js → pdf-BKHLi5Ac.js} +2 -2
- package/dist/pdf.worker.min-BM1b2w9V.js +4 -0
- package/dist/pdfViewer-6PrH9fHg.js +2 -0
- package/dist/pdfViewer-DZurXIAg.js +154 -0
- package/dist/{permissions-plW5DkaX.js → permissions-C6NE4tvm.js} +41 -14
- package/dist/phone/phone.es.js +9 -8
- package/dist/phone/styles.css +1 -10
- package/dist/phone/styles.css.js +1 -1
- package/dist/phoneInputComposed-CVDIUrRy.js +249 -0
- package/dist/{pl-Dk_XCbHn.js → pl-9hyt0nnb.js} +1 -0
- package/dist/policyUrls-B3M8nLRh.js +7 -0
- package/dist/{processing-BnNbgJs3.js → processing-Do2ee2et.js} +1 -1
- package/dist/progressBar-CNBUGgEc.js +27 -0
- package/dist/{pt-BR-BL7B4wuD.js → pt-BR-BBMw-S8O.js} +1 -0
- package/dist/{pt-PT-CNhvgKtg.js → pt-PT-fSxcH0NK.js} +1 -0
- package/dist/{pt-BLVxgywN.js → pt-WGxHmjdN.js} +1 -0
- package/dist/{spacer-BmQEPV3n.js → purify.es-0fCPkEV1.js} +2 -740
- package/dist/qe-signature/qe-signature.es.js +3 -3
- package/dist/radioGroupComposed-Cy6hgLBE.js +1 -0
- package/dist/{radioGroupComposed-DFloG_N-.js → radioGroupComposed-FYYC8SNS.js} +2 -2
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +116 -13
- package/dist/redirect-to-mobile/styles.css +1 -323
- package/dist/redirect-to-mobile/styles.css.js +1 -1
- package/dist/reload-icon-elAFo9-k.js +70 -0
- package/dist/{resendTimer-BdmoqbO1.js → resendTimer-C0tGof4N.js} +1 -1
- package/dist/{richText-lWTHIpaP.js → richText-aCnLd3j2.js} +2 -2
- package/dist/{ro-B_y2K2EA.js → ro-CRut2TFS.js} +1 -0
- package/dist/{ru-BYq3R3Mj.js → ru-DKaZyUKL.js} +1 -0
- package/dist/{ru-RU-CRVS8j8Y.js → ru-RU-C09Xv3Yg.js} +1 -0
- package/dist/sanitizeSvg-BC-qLUgS.js +35 -0
- package/dist/selfie/selfie.es.js +9 -184
- package/dist/selfie/styles.css +1 -501
- package/dist/selfie/styles.css.js +1 -1
- package/dist/signature/signature.es.js +8 -7
- package/dist/signature/styles.css +1 -116
- package/dist/signature/styles.css.js +1 -1
- package/dist/{sk-CezkyMyH.js → sk-CRgCa4Xy.js} +1 -0
- package/dist/{sl-BWF10Icq.js → sl-BnWo7ffO.js} +1 -0
- package/dist/{smsTabContent-ok2pyDhh.js → smsTabContent-DrX3JFpW.js} +6 -7
- package/dist/{so-BrcNZ8Mr.js → so-QQqlxuIj.js} +1 -0
- package/dist/spacer-CRMb016O.js +741 -0
- package/dist/{spinner-C4do7hWX.js → spinner-B2lU14AQ.js} +2 -2
- package/dist/{sr-BnXGxOH1.js → sr-B5E7ItZS.js} +1 -0
- package/dist/{sr-Latn-6U6Ovy-Q.js → sr-Latn-DYffMLFY.js} +4 -3
- package/dist/{sr-YU-9B3BK4Ps.js → sr-YU-wTH5Bs0f.js} +1 -0
- package/dist/{statusPage-CXHHTIXA.js → statusPage-BIL3xP5F.js} +3 -3
- package/dist/{sv-SE-CpuV8J7C.js → sv-SE-CWW4jCGJ.js} +1 -0
- package/dist/{sw-BT-fzBc4.js → sw-DQMkDT3g.js} +1 -0
- package/dist/{th-D3ufVPwG.js → th-3PSK_Dsh.js} +1 -0
- package/dist/{th-TH-B4rqmZvR.js → th-TH-BT3vwWPA.js} +1 -0
- package/dist/themes/dark.css +1 -1537
- package/dist/themes/light.css +1 -1413
- package/dist/{tl-CUyJhGKF.js → tl-BjxdIajM.js} +1 -0
- package/dist/{tl-PH-D6NzZs7e.js → tl-PH-C_wJmHt1.js} +1 -0
- package/dist/{tr-BTjhr_32.js → tr-BhmOJl6w.js} +3 -2
- package/dist/transitionSpinner-CPK1gaqC.js +76 -0
- package/dist/{tutorial-BywSwy2f.js → tutorial-D9Tr_r15.js} +14 -18
- package/dist/types/ae-signature.d.ts +27 -5
- package/dist/types/antifraud.d.ts +27 -5
- package/dist/types/authentication.d.ts +27 -5
- package/dist/types/certificate-issuance.d.ts +27 -5
- package/dist/types/consent.d.ts +27 -3
- package/dist/types/cross-document-data-match.d.ts +32 -2
- package/dist/types/curp-validation.d.ts +27 -5
- package/dist/types/document-capture.d.ts +32 -2
- package/dist/types/dynamic-forms.d.ts +27 -5
- package/dist/types/ekyb.d.ts +32 -2
- package/dist/types/ekyc.d.ts +32 -2
- package/dist/types/electronic-signature.d.ts +27 -5
- package/dist/types/email.d.ts +27 -3
- package/dist/types/extensibility.d.ts +135 -27
- package/dist/types/face-match.d.ts +32 -2
- package/dist/types/field-comparison.d.ts +32 -2
- package/dist/types/fiscal-qr.d.ts +27 -3
- package/dist/types/flow.d.ts +27 -3
- package/dist/types/geolocation.d.ts +27 -3
- package/dist/types/government-validation.d.ts +32 -2
- package/dist/types/id-selfie-flow.d.ts +27 -14
- package/dist/types/id-verification.d.ts +27 -5
- package/dist/types/id.d.ts +27 -3
- package/dist/types/identity-reuse.d.ts +27 -5
- package/dist/types/index.d.ts +52 -1
- package/dist/types/phone.d.ts +27 -3
- package/dist/types/qe-signature.d.ts +27 -5
- package/dist/types/selfie.d.ts +27 -3
- package/dist/types/signature.d.ts +27 -5
- package/dist/types/video-selfie.d.ts +5 -2
- package/dist/types/watchlist.d.ts +27 -5
- package/dist/types/workflow.d.ts +50 -4
- package/dist/{typography-Cn7-Znpn.js → typography-CVggEHuL.js} +1 -1
- package/dist/{uiConfig-qMQHPoxa.js → uiConfig-CzjzpmLx.js} +256 -874
- package/dist/{uk-UA-YhEHqst_.js → uk-UA-D8etJPYS.js} +2 -1
- package/dist/{uk-ChhaHUBd.js → uk-XbgXa2Ga.js} +1 -0
- package/dist/{ur-BG91n7xX.js → ur-EvEZPGeH.js} +1 -0
- package/dist/useCaptureHelpButton-Dh2rCLy1.js +86 -0
- package/dist/useCoverMedia-VLw3OYN_.js +149 -0
- package/dist/{uz-BHE3Jn6i.js → uz-CLNoByCo.js} +1 -0
- package/dist/{verificationResult-C7wTXPts.js → verificationResult-CZbJPu23.js} +6 -6
- package/dist/{vi-BV5GRZ61.js → vi-Drg8ZYY0.js} +1 -0
- package/dist/video-selfie/styles.css +1 -864
- package/dist/video-selfie/styles.css.js +1 -1
- package/dist/video-selfie/video-selfie.es.js +15 -12
- package/dist/watchlist/watchlist.es.js +6 -6
- package/dist/watchlist-for-business/styles.css +1 -17
- package/dist/watchlist-for-business/styles.css.js +1 -1
- package/dist/{watchlistForBusiness-Bjh_-5Y6.js → watchlistForBusiness-CjEsaTUW.js} +265 -8
- package/dist/{resolveApiKey-D14Dir23.js → withEndScreenTexts-CFZVBpbY.js} +53 -25
- package/dist/workflow/styles.css +1 -5116
- package/dist/workflow/workflow.es.js +83 -28
- package/dist/{zh-CN-DGW8k_EJ.js → zh-CN-DgsFb5nA.js} +3 -2
- package/dist/{zh-DNadxa_J.js → zh-D9t3i09v.js} +1 -0
- package/dist/{zh-HANT-DZvzTGaC.js → zh-HANT-DA0DsBcr.js} +1 -0
- package/dist/{zh-TW-DNQrPdBy.js → zh-TW-BjJ6hVEd.js} +1 -0
- package/package.json +8 -6
- package/dist/back-horizontal-hint-UQ7Nof6k.js +0 -137
- package/dist/back-vertical-hint-Crc8ybfk.js +0 -128
- package/dist/cameraOverlay-B_XWm0TM.js +0 -2
- package/dist/cameraOverlayHeader-DP6EP8Yu.js +0 -43
- package/dist/captureFooter-c_0jBnZ7.js +0 -67
- package/dist/connectionError-C7NJ8tzk.js +0 -45
- package/dist/countries-5e8kwG_m.js +0 -8560
- package/dist/dateInputComposed-D4OMicAE.js +0 -1
- package/dist/denied-D9PfdAvK.js +0 -2191
- package/dist/documentCapture-BSewRSbI.js +0 -2
- package/dist/dropdownComposed-09JlREPP.js +0 -1
- package/dist/ekybModule-DJhJoDkx.js +0 -2
- package/dist/ekycModule-CNshA9vz.js +0 -2
- package/dist/faceMatch-CbE3kMV1.js +0 -2
- package/dist/faceMatch-DdQuasoZ.js +0 -334
- package/dist/fieldComparison-fl8WhFZs.js +0 -2
- package/dist/finalSuccessScreen-DCG20NUQ.js +0 -499
- package/dist/front-horizontal-hint-mgovnJf3.js +0 -380
- package/dist/icons-lmBQFGnv.js +0 -533
- package/dist/id-back-of-card-B6EcmiCs.js +0 -83
- package/dist/id-back-of-card-vertical-B3FXhPpj.js +0 -88
- package/dist/id-front-of-card-V_BlLaZr.js +0 -308
- package/dist/id-front-of-card-vertical-CuZjL8kc.js +0 -278
- package/dist/incode-logo-BzJOZr3f.js +0 -4
- package/dist/incodeModule-f_OUurEl.js +0 -31
- package/dist/inputComposed-DMfj1MDU.js +0 -1
- package/dist/modal-CDsyaY_Z.js +0 -140
- package/dist/modal.hooks-B0Wrc9s2.js +0 -201
- package/dist/pdfViewer-DZpdaUDt.js +0 -149
- package/dist/pdfViewer-O6xIPlaK.js +0 -2
- package/dist/phoneInputComposed-DZMfEBok.js +0 -3751
- package/dist/radioGroupComposed-B06_2Xwu.js +0 -1
- package/dist/tabs-CaZGiNK8.js +0 -104
- /package/dist/{aligndevicelottie-B12hbVhG.js → aligndevicelottie-BARt-rhe.js} +0 -0
- /package/dist/{back-tutorial-XdmQ0Wml.js → back-tutorial-CZrMmj1_.js} +0 -0
- /package/dist/{backdevicelottie-m_DOD8xE.js → backdevicelottie-CIM3ekd8.js} +0 -0
- /package/dist/{blurdevicelottie-DQo_hTMD.js → blurdevicelottie-BRyXfLB6.js} +0 -0
- /package/dist/{browser-ponyfill-ZkeBm4ji.js → browser-ponyfill-DT11p-Ob.js} +0 -0
- /package/dist/{defineProperty-BojnCa44.js → defineProperty-CjeJoXkx.js} +0 -0
- /package/dist/{flip-animation-VicedlT5.js → flip-animation-BU5LNKYx.js} +0 -0
- /package/dist/{frontdevicelottie-CyIerlMv.js → frontdevicelottie-arpyu_Fz.js} +0 -0
- /package/dist/{glaredevicelottie-QM2C6Ivp.js → glaredevicelottie-TwTFxe7h.js} +0 -0
- /package/dist/{id-laser-h-B0-iXcvl.js → id-laser-h-Dr-hBxrq.js} +0 -0
- /package/dist/{id-laser-v-Bqh6vimi.js → id-laser-v-D_r0QNY8.js} +0 -0
- /package/dist/{id-tutorial-IhmAzrIF.js → id-tutorial-DM9Pkfs-.js} +0 -0
- /package/dist/{lottie_light-CzZ3CHBk.js → lottie_light-aMg9Q9iO.js} +0 -0
- /package/dist/{numberedStep-C8e_uPaz.js → numberedStep-CvbL3ht2.js} +0 -0
- /package/dist/{passport-tutorial-61vlloJS.js → passport-tutorial-CKZZuDf_.js} +0 -0
- /package/dist/{registerIncodeElement-CbZczi4S.js → registerIncodeElement-D_cn4dSI.js} +0 -0
- /package/dist/{selfieTutorial-BRQ2QNxQ.js → selfieTutorial-Dz6lDFMn.js} +0 -0
- /package/dist/{useModuleLoader-DpcbSKBH.js → useModuleLoader-BdIp6TNQ.js} +0 -0
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
import { o as useTranslation } from "./uiConfig-CzjzpmLx.js";
|
|
2
|
+
import { S as k, _ as y, c as A, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
+
import { a as withStandaloneModuleBootstrap, i as Snackbar, t as IncodeComponent, v as isTerminalModuleState, x as useManager, y as useModuleTerminalCallbacks } from "./incodeComponent-I3JIdKa5.js";
|
|
4
|
+
import { s as Asset, t as Spacer } from "./spacer-CRMb016O.js";
|
|
5
|
+
import { t as Title } from "./typography-CVggEHuL.js";
|
|
6
|
+
import { t as TransitionSpinner } from "./transitionSpinner-CPK1gaqC.js";
|
|
7
|
+
import { x as Button } from "./icons-Cri5P1f0.js";
|
|
8
|
+
import { t as Page } from "./page-BzEithea.js";
|
|
9
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-t2FDQ-II.js";
|
|
10
|
+
import { createFaceMatchManager } from "@incodetech/core/face-match";
|
|
11
|
+
//#region src/modules/face-match/assets/match-success.svg?react
|
|
12
|
+
var SvgMatchSuccess = (props) => /* @__PURE__ */ u("svg", {
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
+
width: 24,
|
|
15
|
+
height: 24,
|
|
16
|
+
fill: "none",
|
|
17
|
+
viewBox: "0 0 24 24",
|
|
18
|
+
...props,
|
|
19
|
+
children: [/* @__PURE__ */ u("circle", {
|
|
20
|
+
cx: 12,
|
|
21
|
+
cy: 12,
|
|
22
|
+
r: 12,
|
|
23
|
+
fill: "#189f60"
|
|
24
|
+
}), /* @__PURE__ */ u("path", {
|
|
25
|
+
fill: "#fff",
|
|
26
|
+
fillRule: "evenodd",
|
|
27
|
+
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",
|
|
28
|
+
clipRule: "evenodd"
|
|
29
|
+
})]
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region src/modules/face-match/assets/match-fail.svg?react
|
|
33
|
+
var SvgMatchFail = (props) => /* @__PURE__ */ u("svg", {
|
|
34
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
35
|
+
width: 25,
|
|
36
|
+
height: 24,
|
|
37
|
+
fill: "none",
|
|
38
|
+
viewBox: "0 0 25 24",
|
|
39
|
+
...props,
|
|
40
|
+
children: [/* @__PURE__ */ u("circle", {
|
|
41
|
+
cx: 12.5,
|
|
42
|
+
cy: 12,
|
|
43
|
+
r: 12,
|
|
44
|
+
fill: "#e71111"
|
|
45
|
+
}), /* @__PURE__ */ u("path", {
|
|
46
|
+
fill: "#fff",
|
|
47
|
+
fillRule: "evenodd",
|
|
48
|
+
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",
|
|
49
|
+
clipRule: "evenodd"
|
|
50
|
+
})]
|
|
51
|
+
});
|
|
52
|
+
//#endregion
|
|
53
|
+
//#region src/modules/face-match/assets/face-placeholder.svg
|
|
54
|
+
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";
|
|
55
|
+
//#endregion
|
|
56
|
+
//#region src/modules/face-match/animation.tsx
|
|
57
|
+
var Tooltip = ({ children }) => {
|
|
58
|
+
return /* @__PURE__ */ u("div", {
|
|
59
|
+
className: "IncodeFaceMatchTooltip",
|
|
60
|
+
"aria-hidden": "true",
|
|
61
|
+
children
|
|
62
|
+
});
|
|
63
|
+
};
|
|
64
|
+
var PhotoAnimation = ({ images, variant = "selfieVsId", isCompleted = false }) => {
|
|
65
|
+
const { t } = useTranslation();
|
|
66
|
+
const isSecondId = variant === "secondId";
|
|
67
|
+
const { idFace: croppedIdFace, selfie: croppedFace, secondIdFace: croppedSecondIdFace } = images;
|
|
68
|
+
if (isSecondId) return /* @__PURE__ */ u("div", {
|
|
69
|
+
className: "IncodeFaceMatchContainer",
|
|
70
|
+
children: [
|
|
71
|
+
/* @__PURE__ */ u("div", {
|
|
72
|
+
className: `IncodeFaceMatchPhotoContainer IncodeFaceMatchLeftPhoto ${isCompleted ? "IncodeFaceMatchPhotoContainerHidden" : ""}`,
|
|
73
|
+
children: [/* @__PURE__ */ u(Tooltip, { children: t("faceMatch.firstId") }), /* @__PURE__ */ u("img", {
|
|
74
|
+
className: "IncodeFaceMatchCircularImage",
|
|
75
|
+
src: croppedIdFace ? croppedIdFace : face_placeholder_default,
|
|
76
|
+
alt: t("faceMatch.firstId")
|
|
77
|
+
})]
|
|
78
|
+
}),
|
|
79
|
+
/* @__PURE__ */ u("div", {
|
|
80
|
+
className: `IncodeFaceMatchPhotoContainer IncodeFaceMatchRightPhoto ${isCompleted ? "IncodeFaceMatchPhotoContainerHidden" : ""}`,
|
|
81
|
+
children: [/* @__PURE__ */ u(Tooltip, { children: t("faceMatch.secondId") }), /* @__PURE__ */ u("img", {
|
|
82
|
+
className: "IncodeFaceMatchCircularImage",
|
|
83
|
+
src: croppedSecondIdFace ? croppedSecondIdFace : face_placeholder_default,
|
|
84
|
+
alt: t("faceMatch.secondId")
|
|
85
|
+
})]
|
|
86
|
+
}),
|
|
87
|
+
/* @__PURE__ */ u("div", {
|
|
88
|
+
className: `IncodeFaceMatchBottomPhotoContainer ${isCompleted ? "IncodeFaceMatchBottomPhotoContainerHidden" : ""}`,
|
|
89
|
+
children: [/* @__PURE__ */ u(Tooltip, { children: t("faceMatch.selfie") }), /* @__PURE__ */ u("img", {
|
|
90
|
+
className: "IncodeFaceMatchCircularImage",
|
|
91
|
+
src: croppedFace ? croppedFace : face_placeholder_default,
|
|
92
|
+
alt: t("faceMatch.selfie")
|
|
93
|
+
})]
|
|
94
|
+
})
|
|
95
|
+
]
|
|
96
|
+
});
|
|
97
|
+
return /* @__PURE__ */ u("div", {
|
|
98
|
+
className: "IncodeFaceMatchContainer",
|
|
99
|
+
children: [/* @__PURE__ */ u("div", {
|
|
100
|
+
className: `IncodeFaceMatchPhotoContainer IncodeFaceMatchLeftPhoto ${isCompleted ? "IncodeFaceMatchPhotoContainerHidden" : ""}`,
|
|
101
|
+
children: [/* @__PURE__ */ u(Tooltip, { children: t("faceMatch.selfie") }), /* @__PURE__ */ u("img", {
|
|
102
|
+
className: "IncodeFaceMatchCircularImage",
|
|
103
|
+
src: croppedFace ? croppedFace : face_placeholder_default,
|
|
104
|
+
alt: t("faceMatch.selfie")
|
|
105
|
+
})]
|
|
106
|
+
}), /* @__PURE__ */ u("div", {
|
|
107
|
+
className: `IncodeFaceMatchPhotoContainer IncodeFaceMatchRightPhoto ${isCompleted ? "IncodeFaceMatchPhotoContainerHidden" : ""}`,
|
|
108
|
+
children: [/* @__PURE__ */ u(Tooltip, { children: t("faceMatch.id") }), /* @__PURE__ */ u("img", {
|
|
109
|
+
className: "IncodeFaceMatchCircularImage",
|
|
110
|
+
src: croppedIdFace ? croppedIdFace : face_placeholder_default,
|
|
111
|
+
alt: t("faceMatch.id")
|
|
112
|
+
})]
|
|
113
|
+
})]
|
|
114
|
+
});
|
|
115
|
+
};
|
|
116
|
+
//#endregion
|
|
117
|
+
//#region src/modules/face-match/faceMatch.tsx
|
|
118
|
+
/**
|
|
119
|
+
* @module @incodetech/ui/face-match
|
|
120
|
+
*
|
|
121
|
+
* Face match UI component for the Incode Web SDK.
|
|
122
|
+
* Provides a complete, ready-to-use face comparison experience
|
|
123
|
+
* with animated comparison and result display.
|
|
124
|
+
*
|
|
125
|
+
* ## UI Usage
|
|
126
|
+
*
|
|
127
|
+
* The FaceMatch component can be used as a React/Preact component or as a
|
|
128
|
+
* Web Component (`<incode-face-match>`).
|
|
129
|
+
*
|
|
130
|
+
* @example React/Preact component usage
|
|
131
|
+
* ```tsx
|
|
132
|
+
* import { FaceMatch } from '@incodetech/ui/face-match';
|
|
133
|
+
* import { setup } from '@incodetech/core';
|
|
134
|
+
*
|
|
135
|
+
* // Configure the SDK first
|
|
136
|
+
* setup({ apiURL: 'https://api.example.com', token: 'your-token' });
|
|
137
|
+
*
|
|
138
|
+
* function App() {
|
|
139
|
+
* const config = {
|
|
140
|
+
* variant: 'selfieVsId',
|
|
141
|
+
* disableFaceMatchAnimation: false,
|
|
142
|
+
* };
|
|
143
|
+
*
|
|
144
|
+
* return (
|
|
145
|
+
* <FaceMatch
|
|
146
|
+
* config={config}
|
|
147
|
+
* onFinish={() => console.log('Face match complete!')}
|
|
148
|
+
* onError={(error) => console.error('Error:', error)}
|
|
149
|
+
* />
|
|
150
|
+
* );
|
|
151
|
+
* }
|
|
152
|
+
* ```
|
|
153
|
+
*
|
|
154
|
+
* @example Web Component usage
|
|
155
|
+
* ```html
|
|
156
|
+
* <!-- Include the script -->
|
|
157
|
+
* <script type="module">
|
|
158
|
+
* import '@incodetech/ui/face-match';
|
|
159
|
+
* import { setup } from '@incodetech/core';
|
|
160
|
+
*
|
|
161
|
+
* setup({ apiURL: 'https://api.example.com', token: 'your-token' });
|
|
162
|
+
*
|
|
163
|
+
* const faceMatch = document.querySelector('incode-face-match');
|
|
164
|
+
* faceMatch.config = {
|
|
165
|
+
* variant: 'selfieVsId',
|
|
166
|
+
* disableFaceMatchAnimation: false,
|
|
167
|
+
* };
|
|
168
|
+
* faceMatch.onFinish = () => console.log('Face match complete!');
|
|
169
|
+
* faceMatch.onError = (error) => console.error('Error:', error);
|
|
170
|
+
* <\/script>
|
|
171
|
+
*
|
|
172
|
+
* <incode-face-match></incode-face-match>
|
|
173
|
+
* ```
|
|
174
|
+
*
|
|
175
|
+
* ## Styling
|
|
176
|
+
*
|
|
177
|
+
* The component uses CSS custom properties (variables) for theming.
|
|
178
|
+
* Override these variables to customize the appearance.
|
|
179
|
+
*
|
|
180
|
+
* ## Headless Alternative
|
|
181
|
+
*
|
|
182
|
+
* For complete control over the UI, use the headless `createFaceMatchManager`
|
|
183
|
+
* from `@incodetech/core/face-match` instead. See the core module documentation.
|
|
184
|
+
*/
|
|
185
|
+
var ANIMATION_TOTAL_DURATION = 3900;
|
|
186
|
+
var MatchResultDisplay = ({ matched, titleRef }) => {
|
|
187
|
+
const { t } = useTranslation();
|
|
188
|
+
return /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u("div", {
|
|
189
|
+
className: "IncodeFaceMatchAnimatedIcon",
|
|
190
|
+
"aria-hidden": "true",
|
|
191
|
+
"data-testid": "face-match-result-icon",
|
|
192
|
+
children: matched === true ? /* @__PURE__ */ u(Asset, {
|
|
193
|
+
name: "faceMatch.success",
|
|
194
|
+
class: "IncodeFaceMatchResultIcon",
|
|
195
|
+
default: SvgMatchSuccess
|
|
196
|
+
}) : matched === false ? /* @__PURE__ */ u(Asset, {
|
|
197
|
+
name: "faceMatch.fail",
|
|
198
|
+
class: "IncodeFaceMatchResultIcon",
|
|
199
|
+
default: SvgMatchFail
|
|
200
|
+
}) : null
|
|
201
|
+
}), /* @__PURE__ */ u(Title, {
|
|
202
|
+
ref: titleRef,
|
|
203
|
+
className: "IncodeFaceMatchAnimatedResultTitle",
|
|
204
|
+
tabIndex: -1,
|
|
205
|
+
children: matched === true ? t("faceMatch.matched") : matched === false ? t("faceMatch.facesNoMatch") : ""
|
|
206
|
+
})] });
|
|
207
|
+
};
|
|
208
|
+
var FaceMatchContent = ({ config, manager: externalManager, onFinish, onError }) => {
|
|
209
|
+
const { t } = useTranslation();
|
|
210
|
+
const titleRef = A(null);
|
|
211
|
+
const resultTitleRef = A(null);
|
|
212
|
+
const [state, manager] = useManager(() => {
|
|
213
|
+
if (externalManager) return externalManager;
|
|
214
|
+
if (!config) throw new Error("FaceMatch config is required");
|
|
215
|
+
return createFaceMatchManager({ config });
|
|
216
|
+
}, { manageLifecycle: !externalManager });
|
|
217
|
+
const animationTimeoutRef = A(null);
|
|
218
|
+
y(() => {
|
|
219
|
+
if (state.status === "animating") animationTimeoutRef.current = window.setTimeout(() => {
|
|
220
|
+
manager.animationComplete();
|
|
221
|
+
}, ANIMATION_TOTAL_DURATION);
|
|
222
|
+
return () => {
|
|
223
|
+
if (animationTimeoutRef.current !== null) window.clearTimeout(animationTimeoutRef.current);
|
|
224
|
+
};
|
|
225
|
+
}, [state.status, manager]);
|
|
226
|
+
y(() => {
|
|
227
|
+
if (state.status === "animating") titleRef.current?.focus();
|
|
228
|
+
else if (state.status === "result") resultTitleRef.current?.focus();
|
|
229
|
+
}, [state.status]);
|
|
230
|
+
useModuleTerminalCallbacks({
|
|
231
|
+
status: state.status,
|
|
232
|
+
onFinish,
|
|
233
|
+
onError,
|
|
234
|
+
error: state.status === "error" ? state.error : void 0
|
|
235
|
+
});
|
|
236
|
+
if (state.status === "loading") return /* @__PURE__ */ u(TransitionSpinner, {});
|
|
237
|
+
if (state.status === "animating" || state.status === "result") {
|
|
238
|
+
const isSecondId = config?.matchingType === "secondId";
|
|
239
|
+
const matched = state.status === "animating" ? state.result?.matched ?? null : state.matched;
|
|
240
|
+
const showResult = state.status === "result";
|
|
241
|
+
const liveness = state.status === "result" ? state.result.liveness : null;
|
|
242
|
+
return /* @__PURE__ */ u(Page, {
|
|
243
|
+
className: "IncodeFaceMatchPage",
|
|
244
|
+
children: /* @__PURE__ */ u("div", {
|
|
245
|
+
className: "IncodeFaceMatchContent",
|
|
246
|
+
children: [
|
|
247
|
+
/* @__PURE__ */ u("div", {
|
|
248
|
+
className: `IncodeFaceMatchHeader ${showResult ? "IncodeFaceMatchHeaderHidden" : ""}`,
|
|
249
|
+
"aria-hidden": showResult || void 0,
|
|
250
|
+
children: [
|
|
251
|
+
/* @__PURE__ */ u(Spacer, { size: 24 }),
|
|
252
|
+
/* @__PURE__ */ u(Title, {
|
|
253
|
+
ref: titleRef,
|
|
254
|
+
className: "IncodeFaceMatchAnimatedTitle",
|
|
255
|
+
tabIndex: -1,
|
|
256
|
+
children: t("faceMatch.verifyingIdentity")
|
|
257
|
+
}),
|
|
258
|
+
/* @__PURE__ */ u(Spacer, { size: 64 })
|
|
259
|
+
]
|
|
260
|
+
}),
|
|
261
|
+
/* @__PURE__ */ u("div", {
|
|
262
|
+
className: `IncodeFaceMatchAnimationContainer ${showResult ? "IncodeFaceMatchShowResult" : ""}`,
|
|
263
|
+
children: [/* @__PURE__ */ u("div", {
|
|
264
|
+
className: `IncodeFaceMatchPhotoWrapper ${showResult ? "IncodeFaceMatchPhotoWrapperHidden" : ""}`,
|
|
265
|
+
"aria-hidden": "true",
|
|
266
|
+
"data-testid": "face-match-photo-wrapper",
|
|
267
|
+
children: /* @__PURE__ */ u(PhotoAnimation, {
|
|
268
|
+
images: state.images,
|
|
269
|
+
variant: isSecondId ? "secondId" : "selfieVsId"
|
|
270
|
+
})
|
|
271
|
+
}), showResult && /* @__PURE__ */ u("div", {
|
|
272
|
+
className: "IncodeFaceMatchResultContainer IncodeFaceMatchResultVisible",
|
|
273
|
+
children: /* @__PURE__ */ u(MatchResultDisplay, {
|
|
274
|
+
matched,
|
|
275
|
+
titleRef: resultTitleRef
|
|
276
|
+
})
|
|
277
|
+
})]
|
|
278
|
+
}),
|
|
279
|
+
showResult && liveness !== null && /* @__PURE__ */ u("div", {
|
|
280
|
+
className: "IncodeFaceMatchLivenessContainer IncodeFaceMatchLivenessVisible",
|
|
281
|
+
"data-testid": "face-match-liveness",
|
|
282
|
+
"data-variant": liveness ? "positive" : "negative",
|
|
283
|
+
children: /* @__PURE__ */ u(Snackbar, {
|
|
284
|
+
variant: liveness ? "positive" : "negative",
|
|
285
|
+
children: t(liveness ? "matchUser.livenessSuccess" : "matchUser.livenessFailed")
|
|
286
|
+
})
|
|
287
|
+
}),
|
|
288
|
+
showResult && /* @__PURE__ */ u("div", {
|
|
289
|
+
className: "IncodeFaceMatchButtonContainer IncodeFaceMatchButtonVisible",
|
|
290
|
+
children: /* @__PURE__ */ u(Button, {
|
|
291
|
+
onClick: () => manager.continue(),
|
|
292
|
+
"data-testid": "face-match-continue",
|
|
293
|
+
children: t("faceMatch.continue")
|
|
294
|
+
})
|
|
295
|
+
})
|
|
296
|
+
]
|
|
297
|
+
})
|
|
298
|
+
});
|
|
299
|
+
}
|
|
300
|
+
if (isTerminalModuleState(state)) return null;
|
|
301
|
+
return null;
|
|
302
|
+
};
|
|
303
|
+
/**
|
|
304
|
+
* Face match UI component.
|
|
305
|
+
*
|
|
306
|
+
* Provides a complete face comparison experience including:
|
|
307
|
+
* - Animated photo comparison sequence
|
|
308
|
+
* - Match/no-match result display
|
|
309
|
+
* - Continue button to proceed
|
|
310
|
+
*
|
|
311
|
+
* @example Basic usage
|
|
312
|
+
* ```tsx
|
|
313
|
+
* <FaceMatch
|
|
314
|
+
* config={{
|
|
315
|
+
* variant: 'selfieVsId',
|
|
316
|
+
* disableFaceMatchAnimation: false,
|
|
317
|
+
* }}
|
|
318
|
+
* onFinish={() => router.push('/next-step')}
|
|
319
|
+
* onError={(err) => toast.error(err)}
|
|
320
|
+
* />
|
|
321
|
+
* ```
|
|
322
|
+
*
|
|
323
|
+
* @see {@link createFaceMatchManager} for headless usage
|
|
324
|
+
*/
|
|
325
|
+
var FaceMatchWithLocalConfig = ({ config, manager, onFinish, onError }) => {
|
|
326
|
+
return /* @__PURE__ */ u(IncodeComponent, { children: config || manager ? /* @__PURE__ */ u(FaceMatchContent, {
|
|
327
|
+
config,
|
|
328
|
+
manager,
|
|
329
|
+
onFinish,
|
|
330
|
+
onError
|
|
331
|
+
}) : null });
|
|
332
|
+
};
|
|
333
|
+
var FaceMatch = withStandaloneModuleBootstrap(FaceMatchWithLocalConfig, "FACE_MATCH", { supportsExternalManager: true });
|
|
334
|
+
registerIncodeModuleElement(FaceMatch, "incode-face-match");
|
|
335
|
+
//#endregion
|
|
336
|
+
export { FaceMatch as t };
|
|
@@ -3127,6 +3127,7 @@ var fi_FI_default = {
|
|
|
3127
3127
|
"invalidSessionResponse": "Virheellinen istuntovastaus.",
|
|
3128
3128
|
"missingFlowConfiguration": "Virtausasetukset puuttuvat.",
|
|
3129
3129
|
"restartLabel": "Käynnistä perehdytys uudelleen",
|
|
3130
|
+
"sessionExpiredMessage": "Istuntosi on vanhentunut. Aloita prosessi alusta, jotta voit jatkaa.",
|
|
3130
3131
|
"sessionInvalidMessage": "Tätä vahvistusistuntoa ei ole enää käytettävissä. Aloita uusi istunto jatkaaksesi.",
|
|
3131
3132
|
"sessionRestartDisabledMessage": "Tämä vahvistusvaihe on jo suoritettu, eikä sitä voi enää avata uudelleen.",
|
|
3132
3133
|
"sessionUnavailableTitle": "Istuntoa ei ole enää saatavilla",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FieldComparison } from "../fieldComparison-
|
|
1
|
+
import { t as FieldComparison } from "../fieldComparison-D4FRpZlC.js";
|
|
2
2
|
export { FieldComparison };
|
|
@@ -1,28 +1,2 @@
|
|
|
1
1
|
/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
|
|
2
|
-
.IncodeFieldComparisonPage {
|
|
3
|
-
animation: fadeIn var(--motion-fade-in-duration, .7s) ease-out;
|
|
4
|
-
animation-fill-mode: both;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.IncodeFieldComparisonPage .IncodeSrOnly {
|
|
8
|
-
clip-path: inset(50%);
|
|
9
|
-
white-space: nowrap;
|
|
10
|
-
border-width: 0;
|
|
11
|
-
width: 1px;
|
|
12
|
-
height: 1px;
|
|
13
|
-
margin: -1px;
|
|
14
|
-
padding: 0;
|
|
15
|
-
position: absolute;
|
|
16
|
-
overflow: hidden;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.IncodeFieldComparisonPage .IncodeFieldComparisonForm {
|
|
20
|
-
margin-top: var(--spacing-32, var(--spacing-32, 32px));
|
|
21
|
-
justify-content: center;
|
|
22
|
-
align-items: center;
|
|
23
|
-
gap: var(--spacing-16, var(--spacing-16, 16px));
|
|
24
|
-
flex-direction: column;
|
|
25
|
-
flex: 1;
|
|
26
|
-
width: 100%;
|
|
27
|
-
display: flex;
|
|
28
|
-
}
|
|
2
|
+
.IncodeFieldComparisonPage{animation:fadeIn var(--motion-fade-in-duration,.7s) ease-out;animation-fill-mode:both}.IncodeFieldComparisonPage .IncodeSrOnly{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.IncodeFieldComparisonPage .IncodeFieldComparisonForm{margin-top:var(--spacing-32,var(--spacing-32,32px));justify-content:center;align-items:center;gap:var(--spacing-16,var(--spacing-16,16px));flex-direction:column;flex:1;width:100%;display:flex}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default "/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n.IncodeFieldComparisonPage
|
|
1
|
+
export default "/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n.IncodeFieldComparisonPage{animation:fadeIn var(--motion-fade-in-duration,.7s) ease-out;animation-fill-mode:both}.IncodeFieldComparisonPage .IncodeSrOnly{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.IncodeFieldComparisonPage .IncodeFieldComparisonForm{margin-top:var(--spacing-32,var(--spacing-32,32px));justify-content:center;align-items:center;gap:var(--spacing-16,var(--spacing-16,16px));flex-direction:column;flex:1;width:100%;display:flex}";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { o as useTranslation } from "./uiConfig-
|
|
1
|
+
import { o as useTranslation } from "./uiConfig-CzjzpmLx.js";
|
|
2
2
|
import { v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as Spacer } from "./spacer-
|
|
5
|
-
import { x as Button } from "./icons-
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
3
|
+
import { a as withStandaloneModuleBootstrap, t as IncodeComponent, x as useManager, y as useModuleTerminalCallbacks } from "./incodeComponent-I3JIdKa5.js";
|
|
4
|
+
import { t as Spacer } from "./spacer-CRMb016O.js";
|
|
5
|
+
import { x as Button } from "./icons-Cri5P1f0.js";
|
|
6
|
+
import { t as Page } from "./page-BzEithea.js";
|
|
7
|
+
import { t as VerificationResult } from "./verificationResult-CZbJPu23.js";
|
|
8
|
+
import { t as InputComposed } from "./inputComposed-B27kZydt.js";
|
|
9
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-t2FDQ-II.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 }) => {
|
|
@@ -35,6 +36,7 @@ var FieldComparisonContent = ({ config, manager: externalManager, onFinish }) =>
|
|
|
35
36
|
if (state.status === "submitting" || state.status === "inputting") {
|
|
36
37
|
const isDisabled = state.status === "submitting";
|
|
37
38
|
const canSubmit = state.status === "inputting" && state.canSubmit;
|
|
39
|
+
const validationErrors = state.status === "inputting" ? state.validationErrors : void 0;
|
|
38
40
|
return /* @__PURE__ */ u(Page, {
|
|
39
41
|
className: "IncodeFieldComparisonPage",
|
|
40
42
|
title: t("fieldComparison.title"),
|
|
@@ -60,6 +62,8 @@ var FieldComparisonContent = ({ config, manager: externalManager, onFinish }) =>
|
|
|
60
62
|
required: true,
|
|
61
63
|
disabled: isDisabled,
|
|
62
64
|
value: state.fields.firstName,
|
|
65
|
+
error: validationErrors?.firstName ? t(validationErrors.firstName) : void 0,
|
|
66
|
+
showErrorIcon: !!validationErrors?.firstName,
|
|
63
67
|
onInput: (e) => {
|
|
64
68
|
manager.setField("firstName", e.target.value);
|
|
65
69
|
}
|
|
@@ -73,6 +77,8 @@ var FieldComparisonContent = ({ config, manager: externalManager, onFinish }) =>
|
|
|
73
77
|
required: true,
|
|
74
78
|
disabled: isDisabled,
|
|
75
79
|
value: state.fields.lastName,
|
|
80
|
+
error: validationErrors?.lastName ? t(validationErrors.lastName) : void 0,
|
|
81
|
+
showErrorIcon: !!validationErrors?.lastName,
|
|
76
82
|
onInput: (e) => {
|
|
77
83
|
manager.setField("lastName", e.target.value);
|
|
78
84
|
}
|