@incodetech/web 2.4.1-agentic → 2.4.1-agentic.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES.txt +1 -4
- package/dist/{GeolocationPermissionDenied-CUt-uebQ.js → GeolocationPermissionDenied-Dag9fchQ.js} +23 -8
- package/dist/Password-4ht2vsqv.js +212 -0
- package/dist/RadioGroup-Cf6xDIm5.js +123 -0
- package/dist/RequiredLegend-DwaAzhid.js +16 -0
- package/dist/RequiredMarker-CGQR8lsb.js +16 -0
- package/dist/TextField-o3qwE7KD.js +166 -0
- package/dist/ae-signature/ae-signature.es.js +4 -4
- package/dist/{af-ZA-BWKMRc6V.js → af-ZA-CdJRBJEg.js} +107 -881
- package/dist/{ageVerification-CMIp0I--.js → ageVerification-u2zo-WUl.js} +10 -8
- package/dist/{am-DPyjIvQV.js → am-Df9uoE6e.js} +107 -881
- package/dist/antifraud/antifraud.es.js +5 -4
- package/dist/{applyStudioConfig-DxtP9221.js → applyStudioConfig-Deh55YNW.js} +2 -2
- package/dist/{ar-AE-CxCvbyoW.js → ar-AE-CAoWsgnA.js} +107 -881
- package/dist/{ar-EG-B1hHB55j.js → ar-EG-CXi0p-DV.js} +107 -881
- package/dist/{ar-10SoqF1i.js → ar-hyEIwsq9.js} +108 -882
- package/dist/assertClassBrand-CuHX5JcR.js +17 -0
- package/dist/authentication/authentication.es.js +7 -5
- package/dist/autoFocusTitle-CNeT8ydU.js +19 -0
- package/dist/{az-cmuBNn_5.js → az-CUehzrK3.js} +107 -881
- package/dist/{back-horizontal-hint-Dl2C4J4u.js → back-horizontal-hint-D5xvRtEe.js} +1 -1
- package/dist/{back-vertical-hint-CM4_HjWk.js → back-vertical-hint-DoKJSQhY.js} +1 -1
- package/dist/base.css +1 -1
- package/dist/{baseTutorial-BGU2Gcly.js → baseTutorial-xDkp34JC.js} +9 -7
- package/dist/{bn-CuGYlngZ.js → bn-DStUscj0.js} +107 -881
- package/dist/{bottomSheet-x20yd6eP.js → bottomSheet-COrgITc6.js} +3 -3
- package/dist/{bs-vwpJzaHm.js → bs-Lq1FPKJj.js} +107 -881
- package/dist/{ca-DXZs5vtr.js → ca-K83Ys4Fe.js} +107 -881
- package/dist/cameraOverlay-Bciqav_0.js +2 -0
- package/dist/{cameraOverlayHeader-BxutAKy-.js → cameraOverlayHeader-C7Pi5eIm.js} +9 -8
- package/dist/{cameraView-DVzaEGW8.js → cameraView-B7l40Opf.js} +3 -3
- package/dist/capture-D7HVD1ht.js +754 -0
- package/dist/capture-Do7z-u0d.js +3 -0
- package/dist/{tutorial-BKPHj5To.js → capture-I1enj-0M.js} +28 -68
- package/dist/capture-WaSNv1Wn.js +2 -0
- package/dist/captureButtonIcon-DVbAZ8TK.js +1 -0
- package/dist/captureFocusContext-CNtkY3Lk.js +718 -0
- package/dist/captureFooter-CucCxqz-.js +47 -0
- package/dist/{ceb-CmhS_VOs.js → ceb-NR8sWgTh.js} +107 -881
- package/dist/certificate-issuance/certificate-issuance.es.js +68 -41
- package/dist/certificate-issuance/styles.css +1 -1
- package/dist/certificate-issuance/styles.css.js +1 -1
- package/dist/{checkbox-BC26Qbxh.js → checkbox-C5k2pepr.js} +4 -4
- package/dist/chooser-CNm0MKQl.js +1517 -0
- package/dist/connectionError-Bs3TO2RP.js +100 -0
- package/dist/consent/consent.es.js +16 -12
- package/dist/{countryFlag-DXSVHiby.js → countryFlag-CZUyZ06G.js} +1 -1
- package/dist/{countrySelector-0PDDFsZF.js → countrySelector-CPgaMT7n.js} +4 -4
- package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -4
- package/dist/{cs-CZ-Dg5O-Vom.js → cs-CZ-KpSXcWZT.js} +107 -881
- package/dist/{cs-CoJlE7De.js → cs-UYoUjOrG.js} +107 -881
- package/dist/curp-validation/curp-validation.es.js +97 -96
- package/dist/curp-validation/styles.css +1 -1
- package/dist/curp-validation/styles.css.js +1 -1
- package/dist/{customFields-COYGTuuK.js → customFields-BcubL9au.js} +33 -19
- package/dist/{customWatchlist-B0wY6Rwb.js → customWatchlist-D4RK0ow6.js} +11 -8
- package/dist/{da-DK-C_JAndM-.js → da-DK-Bds8n-Rj.js} +107 -881
- package/dist/dashboardTheme-DQaxmEq3.js +383 -0
- package/dist/dateInputComposed-BrpUtswb.js +1 -0
- package/dist/{dateInputComposed-QkmLGLHg.js → dateInputComposed-BzCDzTM3.js} +4 -5
- package/dist/{de-11hHLedu.js → de-CZlvE1Xz.js} +107 -881
- package/dist/denied-BeVKpBem.js +272 -0
- package/dist/devWarn-B4kGEiva.js +1056 -0
- package/dist/{deviceWallet-BeTpokSL.js → deviceWallet-7b1VpcGm.js} +4 -4
- package/dist/{digitalIdRedirect-BnljwZV3.js → digitalIdRedirect-CG9jzrQh.js} +4 -4
- package/dist/{digitalIdUpload-DNhqqMHT.js → digitalIdUpload-BUJcgYY5.js} +37 -15
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/document-capture/styles.css +1 -1
- package/dist/document-capture/styles.css.js +1 -1
- package/dist/documentCapture-BdEStEoH.js +2 -0
- package/dist/{documentCapture-uAKPK1U-.js → documentCapture-JcxukEgT.js} +113 -59
- package/dist/dropdownComposed-C36c9ZOm.js +1 -0
- package/dist/{dropdownComposed-D_RQd0Z9.js → dropdownComposed-yNmLuHxU.js} +8 -6
- package/dist/dynamic-forms/dynamic-forms.es.js +62 -35
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/{ekybModule-Bsqag_MS.js → ekybModule-Cp-7fs23.js} +109 -89
- package/dist/ekybModule-ccZRVb7E.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekyc-prefill/ekyc-prefill.es.js +2 -0
- package/dist/ekyc-prefill/styles.css +2 -0
- package/dist/ekyc-prefill/styles.css.js +1 -0
- package/dist/ekycModule-CcZTIgGK.js +2 -0
- package/dist/ekycModule-DKUZp3Ww.js +358 -0
- package/dist/ekycPrefillModule-Bou_Ig42.js +2 -0
- package/dist/ekycPrefillModule-DJoeviHP.js +233 -0
- package/dist/{el-CRGmVrep.js → el-C6tFl9i9.js} +107 -881
- package/dist/{el-GR-CjtJiRTo.js → el-GR-BLkQ_dbO.js} +107 -881
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-Cm2BEiQu.js → electronic-signature-D-4uTJdE.js} +55 -36
- package/dist/email/email.es.js +21 -16
- package/dist/{emailInput-JmK2JIFS.js → emailInput-C5VHG66O.js} +23 -12
- package/dist/{en-DG-Cruu6Woh.js → en-DG-BEuiDKtl.js} +107 -881
- package/dist/{en-CSjoG3e4.js → en-DNBypQuu.js} +107 -881
- package/dist/{errorContent-zY4jb6uY.js → errorContent-BC8mDFld.js} +21 -20
- package/dist/{formField-C3MNhFKI.js → errorParams-W7NX72mI.js} +2 -33
- package/dist/es-419-BCIRYhZK.js +5 -0
- package/dist/{es-C_LAY-Yu.js → es-DjQEM4f9.js} +108 -882
- package/dist/{es-ES-D7O0P5Mg.js → es-ES-Q6nMptUM.js} +107 -881
- package/dist/{es-MX-DVzFaANh.js → es-MX-Df5g3bAX.js} +107 -881
- package/dist/{et-DdSwjU5d.js → et-BYRhgB8X.js} +108 -882
- package/dist/expiredId-BVa13c9u.js +67 -0
- package/dist/extensibility.es.js +368 -42
- package/dist/{fa-IR-CdK8XLkS.js → fa-IR-DP-FPc-r.js} +107 -881
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/face-match/styles.css +1 -1
- package/dist/face-match/styles.css.js +1 -1
- package/dist/faceMatch-B2n0FPIm.js +2 -0
- package/dist/{faceMatch-B0IzR9_u.js → faceMatch-C5QmR3Vt.js} +44 -53
- package/dist/{fi-FI-CYlEPu44.js → fi-FI-rnIjEC7X.js} +107 -881
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-CDGiqzsu.js +126 -0
- package/dist/fieldComparison-D-LmR1LR.js +2 -0
- package/dist/{fieldLabelHint-gdoE5nLQ.js → fieldLabelHint-eF42wLDJ.js} +3 -3
- package/dist/{finalSuccessScreen-BM9oeJDH.js → finalSuccessScreen-vOR061dK.js} +31 -22
- package/dist/fiscal-qr/fiscal-qr.es.js +25 -22
- package/dist/flipAnimation-CGP9Fu9J.js +46 -0
- package/dist/flipCapturedCardEligibility-C8wQ0_No.js +210 -0
- package/dist/flow/flow.es.js +216 -191
- package/dist/flow/shell/styles.css +1 -1
- package/dist/flow/shell/styles.css.js +1 -1
- package/dist/flow/styles.css +1 -1
- package/dist/formField-DrSwXufE.js +49 -0
- package/dist/{fr-CA-DD_s9NuV.js → fr-CA-vPsubqTC.js} +107 -881
- package/dist/{fr-C4cP8ZNE.js → fr-P8YbBMxT.js} +107 -881
- package/dist/{front-horizontal-hint-Dol0Lpc6.js → front-horizontal-hint-CDHj9LQF.js} +1 -1
- package/dist/{front-vertical-hint-CAhAzw92.js → front-vertical-hint-B_pU27Iv.js} +1 -1
- package/dist/geolocation/geolocation.es.js +15 -10
- package/dist/government-validation/government-validation.es.js +7 -6
- package/dist/{he-D3fvMZAl.js → he-DfptjOXC.js} +107 -881
- package/dist/{hi-DLf6_opn.js → hi-C7tSzMcB.js} +107 -881
- package/dist/{hmn-DzoODzbN.js → hmn-jKsUYgaq.js} +107 -881
- package/dist/{homeScreen-D1Xd93In.js → homeScreen-C1b8yg4y.js} +21 -14
- package/dist/{incodeComponent-C1Bz5Qou.js → hooks-COiwxC3h.js} +39 -325
- package/dist/{hr-C-jP0DrB.js → hr-ehtrddz3.js} +107 -881
- package/dist/{ht-CVt9koJf.js → ht-CA5NNkri.js} +107 -881
- package/dist/{hu-9fSzIeAd.js → hu-DYgOdNXH.js} +107 -881
- package/dist/{icons-BdiCuWFP.js → icons-CLoob8B-.js} +129 -56
- package/dist/id/id.es.js +166 -197
- package/dist/id/styles.css +1 -1
- package/dist/id/styles.css.js +1 -1
- package/dist/{id-Dgi5uGHK.js → id-CMBxWcTV.js} +107 -881
- package/dist/{id-back-of-card-CHFxXTEq.js → id-back-of-card-BEAthtU0.js} +1 -1
- package/dist/{id-back-of-card-vertical-CUBdKGbw.js → id-back-of-card-vertical-Ce0d7tp5.js} +1 -1
- package/dist/{id-front-of-card-DplNJr13.js → id-front-of-card-DS0lS9jP.js} +1 -1
- package/dist/{id-front-of-card-vertical-D1duHEsV.js → id-front-of-card-vertical-BLWn85NX.js} +1 -1
- package/dist/id-selfie-flow/id-selfie-flow.es.js +13 -11
- package/dist/id-selfie-flow/styles.css +1 -1
- package/dist/id-verification/id-verification.es.js +6 -5
- package/dist/idFlipTransition-3z8Lqcab.js +154 -0
- package/dist/{idOcr-sknZwQNF.js → idOcr-qPEZSG5D.js} +64 -37
- package/dist/identity-reuse/identity-reuse.es.js +36 -24
- package/dist/incodeComponent-CxWTvgqz.js +235 -0
- package/dist/{incodeModule-DJToJb00.js → incodeModule-BQVPjhJE.js} +5 -5
- package/dist/index.es.js +3 -3
- package/dist/{inputComposed-BuE0iZlw.js → inputComposed-oWeKvdES.js} +4 -4
- package/dist/{it-CEFstYFG.js → it-DNcyH3GL.js} +107 -881
- package/dist/{ja-BNdVd9B6.js → ja-BkVsn7yw.js} +107 -881
- package/dist/{ja-JP-B5TPMV1q.js → ja-JP-BI4iShf-.js} +108 -882
- package/dist/{jv-CMxkkXUk.js → jv-Bpp0lYl-.js} +107 -881
- package/dist/{ka-C70bUmEK.js → ka-__y8BNrb.js} +107 -881
- package/dist/{kk-C_55EmWt.js → kk-C8RZv7Y9.js} +107 -881
- package/dist/{km-D4Ig0NhN.js → km-CdNpEVlv.js} +114 -888
- package/dist/{ko-DfUa3dzQ.js → ko-Db8jh_Pq.js} +107 -881
- package/dist/{ko-KP-BwBB8ahu.js → ko-KP-Cn4RuF_b.js} +107 -881
- package/dist/{ky-CnJichOm.js → ky-DljlRCIf.js} +107 -881
- package/dist/kyb-checks/kyb-checks.es.js +2 -0
- package/dist/kyb-checks/styles.css +2 -0
- package/dist/kyb-checks/styles.css.js +1 -0
- package/dist/kybChecksModule-B2nSWMuy.js +2 -0
- package/dist/kybChecksModule-DGXAS1Sc.js +345 -0
- package/dist/{lo-ww1DXVAP.js → lo-DXJI47k7.js} +107 -881
- package/dist/{lt-IJ8qpluI.js → lt-CUHwdgrq.js} +107 -881
- package/dist/{lv-DMfsmqyK.js → lv-BFrYWmGH.js} +107 -881
- package/dist/{mandatoryConsent-Bp8sQoiu.js → mandatoryConsent-Dc0PQou0.js} +20 -14
- package/dist/{manualCaptureButton-Cd-FY05-.js → manualCaptureButton-DIlebb4i.js} +8 -7
- package/dist/{manualCaptureButton-BXOTp2PS.js → manualCaptureButton-t0b_hCKH.js} +15 -12
- package/dist/{mk-ByafmFak.js → mk-BRpnPevj.js} +107 -881
- package/dist/{mn-DjO9p3xN.js → mn-tly7Lz7o.js} +107 -881
- package/dist/{ms-3Vf1QpHl.js → ms-DFpRACK3.js} +107 -881
- package/dist/{my-C5hpE5P1.js → my-G2jJl4tA.js} +107 -881
- package/dist/{nb-NO-DGCWCOul.js → nb-NO-CaDPgzxb.js} +107 -881
- package/dist/{ne-CpJxcVhV.js → ne-BaCq8Imv.js} +107 -881
- package/dist/{nl-R2RykJHB.js → nl-BK-jT4yQ.js} +107 -881
- package/dist/{optionAccessibleLabel-BQl8HooZ.js → optionAccessibleLabel-CDKKh7c3.js} +25 -10
- package/dist/otpInput-B4mH5be-.js +245 -0
- package/dist/{page-utEpSa9Z.js → page-5CklyQnq.js} +86 -44
- package/dist/{pageUiConfig-rOL18JSI.js → pageUiConfig-DZQHreIo.js} +67 -25
- package/dist/{passport-horizontal-hint-BfTXA2LB.js → passport-horizontal-hint-JdWoLKa5.js} +1 -1
- package/dist/{passport-vertical-hint-C7dzd2ks.js → passport-vertical-hint-BgtJXbvC.js} +1 -1
- package/dist/passwordRequirements-bbbHZACR.js +49 -0
- package/dist/{pdf-BnPw8ZaT.js → pdf-CLcY9ugT.js} +2 -17
- package/dist/pdfViewer-2NTW2bZn.js +2 -0
- package/dist/{pdfViewer-DNMZsDFD.js → pdfViewer-D4xu2J13.js} +11 -14
- package/dist/permissionInstructionList-Dmy2y4cX.js +43 -0
- package/dist/{permissions-CCEc9lKM.js → permissions-BPh2QNoI.js} +84 -53
- package/dist/phone/phone.es.js +16 -12
- package/dist/{phoneInputComposed-ByiK_6Hu.js → phoneInputComposed-Dzt9xdrF.js} +6 -6
- package/dist/{pl-B1LgnPj1.js → pl-CoWZGdbr.js} +107 -881
- package/dist/preloadableLazy-2hqV2Q8z.js +43 -0
- package/dist/{processing-Ci_Kl-Rh.js → processing-DStiN9XK.js} +2 -2
- package/dist/{progressBar-Caj-Vu1e.js → progressBar-CJqJXzAh.js} +2 -2
- package/dist/{pt-CPVeH0hD.js → pt-BDByRgpr.js} +107 -881
- package/dist/{pt-BR-DSJDHb-K.js → pt-BR-BRMyrqIN.js} +107 -881
- package/dist/{pt-PT-BWJTVPZY.js → pt-PT-CfwlYo6V.js} +107 -881
- package/dist/qe-signature/qe-signature.es.js +4 -4
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +34 -33
- package/dist/redirect-to-mobile/styles.css +1 -1
- package/dist/redirect-to-mobile/styles.css.js +1 -1
- package/dist/{registerIncodeElement-Dtw9dM3O.js → registerIncodeElement-B5W7SqS3.js} +1 -1
- package/dist/{resendTimer-ODOCcKyh.js → resendTimer-COMRdeDC.js} +2 -2
- package/dist/richText-BMvr5dhl.js +1761 -0
- package/dist/{ro-8gGEWeHO.js → ro-ju058j4P.js} +107 -881
- package/dist/{ru-C4EVku5S.js → ru-DYwhf4Hw.js} +107 -881
- package/dist/{ru-RU-Dr0NOGjg.js → ru-RU-BAvJW-vp.js} +107 -881
- package/dist/{sanitizeSvg-ilJ8VQmH.js → sanitizeSvg-BZoCoRr0.js} +1 -1
- package/dist/selfie/selfie.es.js +30 -14
- package/dist/selfie/styles.css +1 -1
- package/dist/selfie/styles.css.js +1 -1
- package/dist/signature/signature.es.js +18 -13
- package/dist/{sk-BSTzMa__.js → sk-Cl6F-Kaz.js} +108 -882
- package/dist/{sl-_HvO-HVX.js → sl-BxsNneWx.js} +107 -881
- package/dist/{smsTabContent-CWBrtP4u.js → smsTabContent-BLJM1Hbk.js} +40 -27
- package/dist/{so-pyCaqonl.js → so-D8izvKPD.js} +107 -881
- package/dist/spacer-NanHQwzu.js +1100 -0
- package/dist/spinner-bRH4yw9e.js +69 -0
- package/dist/{sr-Bpxtt0kk.js → sr-BtsYxFKz.js} +107 -881
- package/dist/{sr-Latn-BjueCJSI.js → sr-Latn-BTn5o62j.js} +112 -886
- package/dist/sr-YU-BNViLYA5.js +5 -0
- package/dist/step-up/step-up.es.js +483 -0
- package/dist/step-up/styles.css +2 -0
- package/dist/{sv-SE-sv5v6ZWe.js → sv-SE-f5R8i8ue.js} +107 -881
- package/dist/{sw-BseJSmdR.js → sw-BgHNoEGs.js} +107 -881
- package/dist/{th-TH-D0WNW-3l.js → th-TH-DmfU-a6A.js} +107 -881
- package/dist/{th-C2G8Ur12.js → th-aFkhFNxp.js} +107 -881
- package/dist/themes/dark.css +1 -1
- package/dist/themes/light.css +1 -1
- package/dist/{tl-CBOmxz5r.js → tl-CA42NVfv.js} +107 -881
- package/dist/{tl-PH-CwafDrED.js → tl-PH-DMCUe7pP.js} +107 -881
- package/dist/{tr-C4iH8UJx.js → tr-BVjID0jl.js} +108 -882
- package/dist/{transitionSpinner-DbrWrpRU.js → transitionSpinner-MclJtdHE.js} +5 -5
- package/dist/tutorial-fC2iei2v.js +28 -0
- package/dist/types/ae-signature.d.ts +7 -3
- package/dist/types/antifraud.d.ts +7 -3
- package/dist/types/authentication.d.ts +7 -3
- package/dist/types/certificate-issuance.d.ts +7 -3
- package/dist/types/consent.d.ts +7 -3
- package/dist/types/cross-document-data-match.d.ts +7 -3
- package/dist/types/curp-validation.d.ts +7 -3
- package/dist/types/document-capture.d.ts +7 -3
- package/dist/types/dynamic-forms.d.ts +7 -3
- package/dist/types/ekyb.d.ts +7 -3
- package/dist/types/ekyc-prefill.d.ts +213 -0
- package/dist/types/ekyc.d.ts +7 -3
- package/dist/types/electronic-signature.d.ts +7 -3
- package/dist/types/email.d.ts +7 -3
- package/dist/types/extensibility.d.ts +63 -17
- package/dist/types/face-match.d.ts +7 -3
- package/dist/types/field-comparison.d.ts +7 -3
- package/dist/types/fiscal-qr.d.ts +7 -3
- package/dist/types/flow.d.ts +16 -3
- package/dist/types/geolocation.d.ts +7 -3
- package/dist/types/government-validation.d.ts +7 -3
- package/dist/types/id-selfie-flow.d.ts +7 -3
- package/dist/types/id-verification.d.ts +7 -3
- package/dist/types/id.d.ts +7 -3
- package/dist/types/identity-reuse.d.ts +7 -3
- package/dist/types/index.d.ts +4 -0
- package/dist/types/kyb-checks.d.ts +213 -0
- package/dist/types/phone.d.ts +7 -3
- package/dist/types/qe-signature.d.ts +7 -3
- package/dist/types/selfie.d.ts +7 -3
- package/dist/types/signature.d.ts +7 -3
- package/dist/types/step-up.d.ts +85 -0
- package/dist/types/watchlist.d.ts +7 -3
- package/dist/types/workflow.d.ts +7 -3
- package/dist/{typography-BF9d8wEc.js → typography-Dncyo-3D.js} +3 -11
- package/dist/{uk-BGYlvKb_.js → uk-HjZTXCOA.js} +107 -881
- package/dist/{uk-UA-CbxzkCL_.js → uk-UA-ChpoWDcU.js} +108 -882
- package/dist/{ur-BQgtsAfv.js → ur-CZkQHBM4.js} +107 -881
- package/dist/{useCameraPreview-BmkAmzAs.js → useCameraPreview-DrteOjaq.js} +1 -1
- package/dist/useCaptureHelpButton-B5zEGcaB.js +43 -0
- package/dist/{useIsDarkTheme-COJZngNK.js → useIsDarkTheme-DAs5RhsW.js} +1 -1
- package/dist/{useModuleLoader-CceEKjsh.js → useModuleLoader-C2fbLotc.js} +8 -3
- package/dist/{uz-DqOg1Fdv.js → uz-BCp_m_Om.js} +107 -881
- package/dist/{vendor-preact-C0jX1Cbq.js → vendor-preact-HIccnts1.js} +19 -1
- package/dist/{verificationResult-m99Ragq6.js → verificationResult-sh4xut0K.js} +30 -27
- package/dist/{vi-COxdKkHn.js → vi-BvxcvDgc.js} +107 -881
- package/dist/video-selfie/styles.css +1 -1
- package/dist/video-selfie/styles.css.js +1 -1
- package/dist/video-selfie/video-selfie.es.js +64 -42
- package/dist/watchlist/watchlist.es.js +12 -8
- package/dist/{watchlistForBusiness-C2zxbavl.js → watchlistForBusiness-DnS1r-Ml.js} +38 -22
- package/dist/{withEndScreenTexts-BwNU-8-X.js → withEndScreenTexts-CHWofhk5.js} +212 -46
- package/dist/workflow/styles.css +1 -1
- package/dist/workflow/workflow.es.js +1 -530
- package/dist/workflow-DBS9eyu4.js +533 -0
- package/dist/{zh-CN-DfvYQGdE.js → zh-CN-DZRia1ir.js} +108 -882
- package/dist/{zh-CPQoDPxf.js → zh-DN_kUZaR.js} +107 -881
- package/dist/{zh-HANT-B4LzHH2y.js → zh-HANT-DisU_Tal.js} +107 -881
- package/dist/{zh-TW-DtvvhBYL.js → zh-TW-BJzCsdPP.js} +107 -881
- package/package.json +44 -12
- package/dist/autoFocusTitle-BxsSeMSB.js +0 -32
- package/dist/browser-ponyfill-CHlXHPpU.js +0 -441
- package/dist/cameraOverlay-Be1PFI8S.js +0 -2
- package/dist/check-icon-BWTjhSuA.js +0 -48
- package/dist/dashboardTheme-COBidrbH.js +0 -246
- package/dist/dateInputComposed-CONPVayx.js +0 -1
- package/dist/denied-Btt81vUD.js +0 -1871
- package/dist/devWarn-Cr7MglXv.js +0 -2628
- package/dist/documentCapture-DGCraCO3.js +0 -2
- package/dist/dropdownComposed-DyZXfcTf.js +0 -1
- package/dist/ekybModule-D-czIusz.js +0 -2
- package/dist/ekycModule-CkBRa6h2.js +0 -2
- package/dist/ekycModule-WlhVn8AO.js +0 -321
- package/dist/es-419-CTB15v-l.js +0 -3231
- package/dist/esm-BTUEHyry.js +0 -430
- package/dist/expiredId-DpbWqSzB.js +0 -80
- package/dist/faceMatch-CRbIcwK2.js +0 -2
- package/dist/fieldComparison-DKQNK0-r.js +0 -2
- package/dist/fieldComparison-OwGIeOM5.js +0 -109
- package/dist/flipAnimation-D-5tokFC.js +0 -3275
- package/dist/inputComposed-5mLbxAZJ.js +0 -1
- package/dist/numberedStep-CqgNwc_a.js +0 -13
- package/dist/otpInput-B_iLvmIn.js +0 -157
- package/dist/passwordInputComposed-NtiseM85.js +0 -74
- package/dist/pdfViewer-7FzYV8l3.js +0 -2
- package/dist/radioGroupComposed-CocqpoKe.js +0 -160
- package/dist/radioGroupComposed-DlQ-fNrF.js +0 -1
- package/dist/reload-icon-BR1POqkD.js +0 -70
- package/dist/richText-CRWB2afV.js +0 -1549
- package/dist/spacer-CwyNauIk.js +0 -733
- package/dist/spinner-DEZJxLSc.js +0 -88
- package/dist/sr-YU-xCb5qxap.js +0 -3235
- package/dist/useCaptureHelpButton-D40hYyD7.js +0 -88
- /package/dist/{aligndevicelottie-BHWuptBk.js → aligndevicelottie-DroBRtbt.js} +0 -0
- /package/dist/{back-tutorial-BYZr11eV.js → back-tutorial-ydxRtY-Y.js} +0 -0
- /package/dist/{backdevicelottie-JflQKxT_.js → backdevicelottie-hv8vbwYH.js} +0 -0
- /package/dist/{blurdevicelottie-CWuMQEHL.js → blurdevicelottie-Cgu4hKn7.js} +0 -0
- /package/dist/{countryDefinitions-6FOOLcB2.js → countryDefinitions-DlsV3Tf8.js} +0 -0
- /package/dist/{defineProperty-CUC2zCmh.js → defineProperty-CRYuXE79.js} +0 -0
- /package/dist/{flip-animation-BqTKEBcW.js → flip-animation-CJhh7l_J.js} +0 -0
- /package/dist/{frontdevicelottie-BWD-NCfG.js → frontdevicelottie-vyO3BJJe.js} +0 -0
- /package/dist/{glaredevicelottie-Cjy50jGc.js → glaredevicelottie-DrgkRjFh.js} +0 -0
- /package/dist/{id-laser-h-By7lMim8.js → id-laser-h-CUz29uFc.js} +0 -0
- /package/dist/{id-laser-v-BCPAN2x5.js → id-laser-v-Bnf10QJp.js} +0 -0
- /package/dist/{id-tutorial-B9cUQuf0.js → id-tutorial-DGwvKAMs.js} +0 -0
- /package/dist/{lottie_light-DywVSPMT.js → lottie_light-BXXuEKyZ.js} +0 -0
- /package/dist/{passport-tutorial-TSZzEGqb.js → passport-tutorial-DoqqyBXo.js} +0 -0
- /package/dist/{pdf.worker.min-D7ZNTVBZ.js → pdf.worker.min-Cm2oniEB.js} +0 -0
- /package/dist/{policyUrls-Bpacx_pp.js → policyUrls-Hvb4jPfF.js} +0 -0
- /package/dist/{purify.es-DZazHwBu.js → purify.es-DIIgrZ-E.js} +0 -0
- /package/dist/{selfieTutorial-CLJAEuXG.js → selfieTutorial-BTewRjM5.js} +0 -0
package/dist/id/id.es.js
CHANGED
|
@@ -1,27 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { a as
|
|
10
|
-
import { t as TransitionSpinner } from "../transitionSpinner-
|
|
11
|
-
import { t as
|
|
12
|
-
import {
|
|
13
|
-
import { t as
|
|
14
|
-
import {
|
|
15
|
-
import { n as
|
|
16
|
-
import { n as
|
|
17
|
-
import {
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import {
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { n as SvgPersonCardIcon, r as SvgCheckV2Icon, t as SvgReloadIcon } from "../reload-icon-BR1POqkD.js";
|
|
24
|
-
import { ONBOARDING_WEB_SDK_PARAMETER_STORE } from "@incodetech/core/feature-management";
|
|
1
|
+
import { d as useTranslation, o as useUiConfig } from "../devWarn-B4kGEiva.js";
|
|
2
|
+
import { T as k, _ as q, b as u, c as z, l as A, m as d, o as P, p as b, y } from "../vendor-preact-HIccnts1.js";
|
|
3
|
+
import { b as PrizmaButton } from "../icons-CLoob8B-.js";
|
|
4
|
+
import { h as cn, m as loadLottie, o as preloadAnimations } from "../spacer-NanHQwzu.js";
|
|
5
|
+
import { t as AutoFocusTitle } from "../autoFocusTitle-CNeT8ydU.js";
|
|
6
|
+
import { n as VerifiedByIncodeLogo, t as Page } from "../page-5CklyQnq.js";
|
|
7
|
+
import { r as Modal } from "../pageUiConfig-DZQHreIo.js";
|
|
8
|
+
import { b as useManager, c as useAnimationSignal, i as useHasResolvedConfig, m as useIsMobileDeviceWidth, n as withStandaloneModuleBootstrap, s as usePresence, v as useModuleTerminalCallbacks } from "../hooks-COiwxC3h.js";
|
|
9
|
+
import { a as TypographyP } from "../typography-Dncyo-3D.js";
|
|
10
|
+
import { t as TransitionSpinner } from "../transitionSpinner-MclJtdHE.js";
|
|
11
|
+
import { t as IncodeComponent } from "../incodeComponent-CxWTvgqz.js";
|
|
12
|
+
import { t as Processing } from "../processing-DStiN9XK.js";
|
|
13
|
+
import { n as Tutorial, t as Chooser } from "../chooser-CNm0MKQl.js";
|
|
14
|
+
import { t as BottomSheet } from "../bottomSheet-COrgITc6.js";
|
|
15
|
+
import { n as CameraFrame, t as CameraView } from "../cameraView-B7l40Opf.js";
|
|
16
|
+
import { n as CameraOverlay, t as CameraOverlayHeader } from "../cameraOverlayHeader-C7Pi5eIm.js";
|
|
17
|
+
import { t as CaptureFooter } from "../captureFooter-CucCxqz-.js";
|
|
18
|
+
import { n as PermissionsDialog, r as PermissionsProvider, t as Permissions } from "../permissions-BPh2QNoI.js";
|
|
19
|
+
import { c as IdError, o as IdNoAttempts, r as getCaptureFrameTitle, s as IdExpired, t as CaptureAutoFocusProvider } from "../captureFocusContext-CNtkY3Lk.js";
|
|
20
|
+
import { _ as PERMISSION_DIALOG_STATUS, a as CAMERA_PERMISSION_UX, c as EXPERIMENT_LIFECYCLE_STATUS, d as ID_CAPTURE_TUTORIAL_PHASE, l as ID_CAPTURE_LOADING_PHASE, o as CAMERA_WARMUP_LOADING_PHASES, r as useIdExperiment, s as CONTINUING_TUTORIAL_PHASES, u as ID_CAPTURE_STATUS } from "../flipCapturedCardEligibility-C8wQ0_No.js";
|
|
21
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-BQVPjhJE.js";
|
|
22
|
+
import { t as preloadableLazy } from "../preloadableLazy-2hqV2Q8z.js";
|
|
25
23
|
import { createIdCaptureManager } from "@incodetech/core/id";
|
|
26
24
|
//#region src/shared/fonts/preloadDisplayFont.ts
|
|
27
25
|
function preloadDisplayFont() {
|
|
@@ -36,148 +34,14 @@ function usePreloadDisplayFont() {
|
|
|
36
34
|
}, []);
|
|
37
35
|
}
|
|
38
36
|
//#endregion
|
|
39
|
-
//#region src/modules/id/
|
|
40
|
-
var TERMINAL_ANIMATION_NAMES = new Set(["incodeIdFlipCardRotate", "incodeIdFlipCardReducedMotionFadeIn"]);
|
|
41
|
-
var HOLD_AFTER_FLIP_MS = 1250;
|
|
42
|
-
var HANDOFF_WATCHDOG_MS = 3500;
|
|
43
|
-
var IdFlipCard = ({ manager, direction, imageUrl, orientation }) => {
|
|
44
|
-
const { t } = useTranslation();
|
|
45
|
-
const hasCompletedRef = A(false);
|
|
46
|
-
const [isFlipping, setIsFlipping] = d(false);
|
|
47
|
-
const { schedule: scheduleHandoff } = useTimeoutHandle();
|
|
48
|
-
const titleRef = A(null);
|
|
49
|
-
const { value: store } = useFeatureManagement("parameterStore", ONBOARDING_WEB_SDK_PARAMETER_STORE, { disableExposureLog: true });
|
|
50
|
-
const durations = store?.get("flipCapturedCardDurations", {
|
|
51
|
-
holdAfterFlipMs: HOLD_AFTER_FLIP_MS,
|
|
52
|
-
fallbackHoldMs: HANDOFF_WATCHDOG_MS
|
|
53
|
-
});
|
|
54
|
-
y(() => {
|
|
55
|
-
titleRef.current?.focus();
|
|
56
|
-
}, []);
|
|
57
|
-
const complete = () => {
|
|
58
|
-
if (hasCompletedRef.current) return;
|
|
59
|
-
hasCompletedRef.current = true;
|
|
60
|
-
if (direction === "toBack") manager.continueToBack();
|
|
61
|
-
else manager.continueToFront();
|
|
62
|
-
};
|
|
63
|
-
const scheduleComplete = () => scheduleHandoff(complete, durations.holdAfterFlipMs);
|
|
64
|
-
const handleAnimationState = (fn) => (event) => {
|
|
65
|
-
if (TERMINAL_ANIMATION_NAMES.has(event.animationName)) fn();
|
|
66
|
-
};
|
|
67
|
-
y(() => {
|
|
68
|
-
if (!imageUrl) {
|
|
69
|
-
complete();
|
|
70
|
-
return;
|
|
71
|
-
}
|
|
72
|
-
scheduleHandoff(complete, durations.fallbackHoldMs);
|
|
73
|
-
}, []);
|
|
74
|
-
const isVertical = orientation === "vertical";
|
|
75
|
-
const BackOfCard = isVertical ? SvgIdBackOfCardVertical : SvgIdBackOfCard;
|
|
76
|
-
const FrontOfCard = isVertical ? SvgIdFrontOfCardVertical : SvgIdFrontOfCard;
|
|
77
|
-
let titleKey = "";
|
|
78
|
-
let subtitleKey = "";
|
|
79
|
-
if (direction === "toBack") {
|
|
80
|
-
titleKey = "idv2.flipAnimation.title";
|
|
81
|
-
subtitleKey = "idv2.flipAnimation.subtitleToBack";
|
|
82
|
-
} else {
|
|
83
|
-
titleKey = "idv2.flipAnimation.titleToFront";
|
|
84
|
-
subtitleKey = "idv2.capture.processing.successBackSubtitleScanFront";
|
|
85
|
-
}
|
|
86
|
-
return /* @__PURE__ */ u(Page, {
|
|
87
|
-
hideHeader: true,
|
|
88
|
-
hideFooterBranding: true,
|
|
89
|
-
className: "IncodeIdFlipCardPage",
|
|
90
|
-
children: /* @__PURE__ */ u("div", {
|
|
91
|
-
class: "IncodeIdFlipCardLayout",
|
|
92
|
-
children: /* @__PURE__ */ u("div", {
|
|
93
|
-
class: "IncodeIdFlipCardLayoutContent",
|
|
94
|
-
children: [
|
|
95
|
-
/* @__PURE__ */ u("div", {
|
|
96
|
-
class: "IncodeIdFlipCardTopArea",
|
|
97
|
-
children: /* @__PURE__ */ u("div", {
|
|
98
|
-
class: "IncodeIdFlipCardCopy",
|
|
99
|
-
role: "status",
|
|
100
|
-
children: [
|
|
101
|
-
/* @__PURE__ */ u(Title, {
|
|
102
|
-
ref: titleRef,
|
|
103
|
-
tabIndex: -1,
|
|
104
|
-
className: "IncodeIdFlipCardTitle",
|
|
105
|
-
children: t(titleKey)
|
|
106
|
-
}),
|
|
107
|
-
/* @__PURE__ */ u(Spacer, { size: 12 }),
|
|
108
|
-
/* @__PURE__ */ u("p", {
|
|
109
|
-
class: "IncodeIdFlipCardSubtitle",
|
|
110
|
-
children: t(subtitleKey)
|
|
111
|
-
})
|
|
112
|
-
]
|
|
113
|
-
})
|
|
114
|
-
}),
|
|
115
|
-
/* @__PURE__ */ u(CaptureFrame, {
|
|
116
|
-
orientation,
|
|
117
|
-
mode: "front",
|
|
118
|
-
state: "success",
|
|
119
|
-
className: cn(isFlipping && "IncodeIdFlipCardFrameFlipping"),
|
|
120
|
-
children: imageUrl && /* @__PURE__ */ u("div", {
|
|
121
|
-
class: "IncodeIdFlipCardScene",
|
|
122
|
-
"data-testid": "id-flip-card-scene",
|
|
123
|
-
onAnimationStart: handleAnimationState(() => setIsFlipping(true)),
|
|
124
|
-
onAnimationEnd: handleAnimationState(scheduleComplete),
|
|
125
|
-
children: /* @__PURE__ */ u("div", {
|
|
126
|
-
class: "IncodeIdFlipCardCard",
|
|
127
|
-
children: [/* @__PURE__ */ u("div", {
|
|
128
|
-
class: "IncodeIdFlipCardFace IncodeIdFlipCardFaceFront",
|
|
129
|
-
children: /* @__PURE__ */ u("img", {
|
|
130
|
-
src: imageUrl,
|
|
131
|
-
alt: "",
|
|
132
|
-
"aria-hidden": "true",
|
|
133
|
-
class: "IncodeIdFlipCardImage"
|
|
134
|
-
})
|
|
135
|
-
}), /* @__PURE__ */ u("div", {
|
|
136
|
-
class: "IncodeIdFlipCardFace IncodeIdFlipCardFaceBack",
|
|
137
|
-
children: direction === "toBack" ? /* @__PURE__ */ u(BackOfCard, { className: "IncodeIdFlipCardAsset" }) : /* @__PURE__ */ u(FrontOfCard, { className: "IncodeIdFlipCardAsset" })
|
|
138
|
-
})]
|
|
139
|
-
})
|
|
140
|
-
})
|
|
141
|
-
}),
|
|
142
|
-
/* @__PURE__ */ u("div", {
|
|
143
|
-
class: "IncodeIdFlipCardBottomArea",
|
|
144
|
-
children: /* @__PURE__ */ u("div", {
|
|
145
|
-
class: "IncodeCaptureEncryptionLabel",
|
|
146
|
-
children: [/* @__PURE__ */ u(LockIcon, { className: "IncodeCaptureEncryptionIcon" }), /* @__PURE__ */ u("span", { children: t("idv2.capture.allDataIsEncrypted") })]
|
|
147
|
-
})
|
|
148
|
-
})
|
|
149
|
-
]
|
|
150
|
-
})
|
|
151
|
-
})
|
|
152
|
-
});
|
|
153
|
-
};
|
|
154
|
-
//#endregion
|
|
155
|
-
//#region src/modules/id/flip-transition/idFlipTransition.tsx
|
|
37
|
+
//#region src/modules/id/capture/lazyCapture.ts
|
|
156
38
|
/**
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
* finished) — treatment (`test`, non-passport) replaces the generic Lottie
|
|
160
|
-
* flip with `IdFlipCard`'s continuous CSS 3D flip built from the user's own
|
|
161
|
-
* captured photo; control (or passport) keeps `FlipAnimation`.
|
|
39
|
+
* The capture screen is not part of the first ID screen (chooser, tutorial or
|
|
40
|
+
* permissions). It loads on first use, or earlier through `loadCapture()`.
|
|
162
41
|
*/
|
|
163
|
-
var
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
enabled: canFlipCapturedCard(state.mode, state.previewImageUrl)
|
|
167
|
-
});
|
|
168
|
-
const shouldFlipCapturedCard = params.shouldFlipCapturedCard;
|
|
169
|
-
const direction = state.status === "frontFinished" ? "toBack" : "toFront";
|
|
170
|
-
if (shouldFlipCapturedCard) return /* @__PURE__ */ u(IdFlipCard, {
|
|
171
|
-
manager,
|
|
172
|
-
direction,
|
|
173
|
-
imageUrl: state.previewImageUrl,
|
|
174
|
-
orientation: state.orientation
|
|
175
|
-
});
|
|
176
|
-
return /* @__PURE__ */ u(FlipAnimation, {
|
|
177
|
-
manager,
|
|
178
|
-
direction
|
|
179
|
-
});
|
|
180
|
-
};
|
|
42
|
+
var capture = preloadableLazy(() => import("../capture-Do7z-u0d.js").then((module) => module.Capture));
|
|
43
|
+
var loadCapture = capture.load;
|
|
44
|
+
var LazyCapture = capture.Lazy;
|
|
181
45
|
//#endregion
|
|
182
46
|
//#region src/modules/id/digitalIdRedirect/returnUrl.ts
|
|
183
47
|
/**
|
|
@@ -206,19 +70,89 @@ function preloadIdTutorialAssets() {
|
|
|
206
70
|
preloadAnimations([
|
|
207
71
|
"id.tutorial.front",
|
|
208
72
|
"id.tutorial.back",
|
|
209
|
-
"id.tutorial.passport"
|
|
73
|
+
"id.tutorial.passport",
|
|
74
|
+
"id.flip"
|
|
210
75
|
]);
|
|
76
|
+
loadLottie().catch(() => void 0);
|
|
211
77
|
preloadAnimations(["id.processing"], "horizontal");
|
|
212
78
|
preloadAnimations(["id.processing"], "vertical");
|
|
213
|
-
import("../id-tutorial-
|
|
214
|
-
import("../back-tutorial-
|
|
215
|
-
import("../passport-tutorial-
|
|
216
|
-
import("../id-back-of-card-
|
|
217
|
-
import("../id-back-of-card-vertical-
|
|
218
|
-
import("../id-front-of-card-
|
|
219
|
-
import("../id-front-of-card-vertical-
|
|
79
|
+
import("../id-tutorial-DGwvKAMs.js");
|
|
80
|
+
import("../back-tutorial-ydxRtY-Y.js");
|
|
81
|
+
import("../passport-tutorial-DoqqyBXo.js");
|
|
82
|
+
import("../id-back-of-card-BEAthtU0.js").then((n) => n.n);
|
|
83
|
+
import("../id-back-of-card-vertical-Ce0d7tp5.js").then((n) => n.n);
|
|
84
|
+
import("../id-front-of-card-DS0lS9jP.js").then((n) => n.n);
|
|
85
|
+
import("../id-front-of-card-vertical-BLWn85NX.js").then((n) => n.n);
|
|
220
86
|
}
|
|
221
87
|
//#endregion
|
|
88
|
+
//#region src/shared/permissions/assets/check-v2-icon.svg?react
|
|
89
|
+
var SvgCheckV2Icon = (props) => /* @__PURE__ */ u("svg", {
|
|
90
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
91
|
+
width: 24,
|
|
92
|
+
height: 24,
|
|
93
|
+
fill: "none",
|
|
94
|
+
viewBox: "0 0 24 24",
|
|
95
|
+
...props,
|
|
96
|
+
children: [
|
|
97
|
+
/* @__PURE__ */ u("path", {
|
|
98
|
+
fill: "currentColor",
|
|
99
|
+
fillRule: "evenodd",
|
|
100
|
+
d: "m18.229 10.358-1.073 1.757a.75.75 0 0 1-.647.356.8.8 0 0 1-.381-.1l-1.817-1.027a.706.706 0 0 1-.266-.986.767.767 0 0 1 1.028-.255l.26.147A3.73 3.73 0 0 0 12 8.208c-1.216 0-2.355.573-3.047 1.533a.77.77 0 0 1-1.043.183.7.7 0 0 1-.19-1.003c.972-1.348 2.572-2.153 4.28-2.153 2.146 0 4.005 1.287 4.792 3.097l.144-.235a.764.764 0 0 1 1.026-.257.704.704 0 0 1 .267.985m-1.95 4.24c-.972 1.35-2.571 2.155-4.28 2.155-2.149 0-4.008-1.286-4.794-3.094l-.142.232a.77.77 0 0 1-1.026.256.703.703 0 0 1-.267-.984l1.073-1.757a.75.75 0 0 1 .458-.333.78.78 0 0 1 .57.076l1.817 1.028a.705.705 0 0 1 .266.986.77.77 0 0 1-1.028.255l-.266-.15a3.73 3.73 0 0 0 3.339 2.045c1.215 0 2.355-.573 3.045-1.533a.77.77 0 0 1 1.044-.183.7.7 0 0 1 .191 1.002M15.974 2.64H8.027C4.721 2.64 2.5 4.678 2.5 7.71v8.101c0 3.032 2.221 5.069 5.527 5.069h7.947c3.306 0 5.526-2.037 5.526-5.069V7.71c0-3.032-2.22-5.07-5.526-5.07",
|
|
101
|
+
clipRule: "evenodd"
|
|
102
|
+
}),
|
|
103
|
+
/* @__PURE__ */ u("path", {
|
|
104
|
+
fill: "currentColor",
|
|
105
|
+
d: "M4 6h16v12H4z"
|
|
106
|
+
}),
|
|
107
|
+
/* @__PURE__ */ u("path", {
|
|
108
|
+
fill: "#fff",
|
|
109
|
+
d: "M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5m-1 7.5L8.5 12l.705-.705L11 13.085l3.795-3.795.705.71z"
|
|
110
|
+
})
|
|
111
|
+
]
|
|
112
|
+
});
|
|
113
|
+
//#endregion
|
|
114
|
+
//#region src/shared/permissions/assets/person-card-icon.svg?react
|
|
115
|
+
var SvgPersonCardIcon = (props) => /* @__PURE__ */ u("svg", {
|
|
116
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
117
|
+
width: 24,
|
|
118
|
+
height: 24,
|
|
119
|
+
fill: "none",
|
|
120
|
+
viewBox: "0 0 24 24",
|
|
121
|
+
...props,
|
|
122
|
+
children: [
|
|
123
|
+
/* @__PURE__ */ u("path", {
|
|
124
|
+
fill: "currentColor",
|
|
125
|
+
fillRule: "evenodd",
|
|
126
|
+
d: "m18.229 10.358-1.073 1.757a.75.75 0 0 1-.647.356.8.8 0 0 1-.381-.1l-1.817-1.027a.706.706 0 0 1-.266-.986.767.767 0 0 1 1.028-.255l.26.147A3.73 3.73 0 0 0 12 8.208c-1.216 0-2.355.573-3.047 1.533a.77.77 0 0 1-1.043.183.7.7 0 0 1-.19-1.003c.972-1.348 2.572-2.153 4.28-2.153 2.146 0 4.005 1.287 4.792 3.097l.144-.235a.764.764 0 0 1 1.026-.257.704.704 0 0 1 .267.985m-1.95 4.24c-.972 1.35-2.571 2.155-4.28 2.155-2.149 0-4.008-1.286-4.794-3.094l-.142.232a.77.77 0 0 1-1.026.256.703.703 0 0 1-.267-.984l1.073-1.757a.75.75 0 0 1 .458-.333.78.78 0 0 1 .57.076l1.817 1.028a.705.705 0 0 1 .266.986.77.77 0 0 1-1.028.255l-.266-.15a3.73 3.73 0 0 0 3.339 2.045c1.215 0 2.355-.573 3.045-1.533a.77.77 0 0 1 1.044-.183.7.7 0 0 1 .191 1.002M15.974 2.64H8.027C4.721 2.64 2.5 4.678 2.5 7.71v8.101c0 3.032 2.221 5.069 5.527 5.069h7.947c3.306 0 5.526-2.037 5.526-5.069V7.71c0-3.032-2.22-5.07-5.526-5.07",
|
|
127
|
+
clipRule: "evenodd"
|
|
128
|
+
}),
|
|
129
|
+
/* @__PURE__ */ u("path", {
|
|
130
|
+
fill: "currentColor",
|
|
131
|
+
d: "M4 6h16v12H4z"
|
|
132
|
+
}),
|
|
133
|
+
/* @__PURE__ */ u("path", {
|
|
134
|
+
fill: "#fff",
|
|
135
|
+
d: "M16.868 7.133H7.801c-.625 0-1.133.509-1.133 1.134v6.8c0 .625.508 1.133 1.133 1.133h9.067c.625 0 1.133-.508 1.133-1.133v-6.8c0-.625-.508-1.134-1.133-1.134M10.473 9.4c.652 0 1.133.481 1.133 1.133s-.48 1.134-1.133 1.134c-.652 0-1.133-.482-1.133-1.134S9.82 9.4 10.473 9.4m2.105 4.533h-4.21v-.263c0-.778.95-1.578 2.105-1.578s2.105.8 2.105 1.578zm3.723-.566h-2.266v-1.134H16.3zm0-2.267h-2.833V9.967h2.833z"
|
|
136
|
+
})
|
|
137
|
+
]
|
|
138
|
+
});
|
|
139
|
+
//#endregion
|
|
140
|
+
//#region src/shared/permissions/assets/reload-icon.svg?react
|
|
141
|
+
var SvgReloadIcon = (props) => /* @__PURE__ */ u("svg", {
|
|
142
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
143
|
+
width: 24,
|
|
144
|
+
height: 24,
|
|
145
|
+
fill: "none",
|
|
146
|
+
viewBox: "0 0 24 24",
|
|
147
|
+
...props,
|
|
148
|
+
children: /* @__PURE__ */ u("path", {
|
|
149
|
+
fill: "currentColor",
|
|
150
|
+
fillRule: "evenodd",
|
|
151
|
+
d: "m18.229 10.358-1.073 1.757a.75.75 0 0 1-.647.356.8.8 0 0 1-.381-.1l-1.817-1.027a.706.706 0 0 1-.266-.986.767.767 0 0 1 1.028-.255l.26.147A3.73 3.73 0 0 0 12 8.208c-1.216 0-2.355.573-3.047 1.533a.77.77 0 0 1-1.043.183.7.7 0 0 1-.19-1.003c.972-1.348 2.572-2.153 4.28-2.153 2.146 0 4.005 1.287 4.792 3.097l.144-.235a.764.764 0 0 1 1.026-.257.704.704 0 0 1 .267.985m-1.95 4.24c-.972 1.35-2.571 2.155-4.28 2.155-2.149 0-4.008-1.286-4.794-3.094l-.142.232a.77.77 0 0 1-1.026.256.703.703 0 0 1-.267-.984l1.073-1.757a.75.75 0 0 1 .458-.333.78.78 0 0 1 .57.076l1.817 1.028a.705.705 0 0 1 .266.986.77.77 0 0 1-1.028.255l-.266-.15a3.73 3.73 0 0 0 3.339 2.045c1.215 0 2.355-.573 3.045-1.533a.77.77 0 0 1 1.044-.183.7.7 0 0 1 .191 1.002M15.974 2.64H8.027C4.721 2.64 2.5 4.678 2.5 7.71v8.101c0 3.032 2.221 5.069 5.527 5.069h7.947c3.306 0 5.526-2.037 5.526-5.069V7.71c0-3.032-2.22-5.07-5.526-5.07",
|
|
152
|
+
clipRule: "evenodd"
|
|
153
|
+
})
|
|
154
|
+
});
|
|
155
|
+
//#endregion
|
|
222
156
|
//#region src/modules/id/tutorialWithPermissions/howItWorksOverlay.constants.ts
|
|
223
157
|
var HOW_IT_WORKS_TITLE_ID = "how-it-works-title";
|
|
224
158
|
var HOW_IT_WORKS_INSTRUCTIONS_LABELS = {
|
|
@@ -279,11 +213,13 @@ function HowItWorksContent({ onContinue, isLoading }) {
|
|
|
279
213
|
}),
|
|
280
214
|
/* @__PURE__ */ u("div", {
|
|
281
215
|
class: "IncodeHowItWorksOverlayActions",
|
|
282
|
-
children: /* @__PURE__ */ u(
|
|
216
|
+
children: /* @__PURE__ */ u(PrizmaButton, {
|
|
217
|
+
variant: "primary",
|
|
218
|
+
size: "L",
|
|
283
219
|
onClick: onContinue,
|
|
284
220
|
disabled: isLoading,
|
|
285
|
-
isLoading,
|
|
286
|
-
|
|
221
|
+
loading: isLoading,
|
|
222
|
+
className: cn("IncodeButton IncodeButtonPrimary IncodeButtonL IncodeHowItWorksOverlayActionButton", isLoading && "IncodeButtonLoading"),
|
|
287
223
|
children: t(HOW_IT_WORKS_INSTRUCTIONS_LABELS.START_SCAN)
|
|
288
224
|
})
|
|
289
225
|
}),
|
|
@@ -341,8 +277,10 @@ function createSlots({ manager, stage, howItWorksOpen, onOpenHowItWorks, onClose
|
|
|
341
277
|
});
|
|
342
278
|
else if (stage.ux.id === CAMERA_PERMISSION_UX.HOW_IT_WORKS) {
|
|
343
279
|
const isRequesting = stage.permissionStatus === PERMISSION_DIALOG_STATUS.REQUESTING;
|
|
344
|
-
actions = /* @__PURE__ */ u(
|
|
345
|
-
|
|
280
|
+
actions = /* @__PURE__ */ u(PrizmaButton, {
|
|
281
|
+
size: "L",
|
|
282
|
+
className: "IncodeButton IncodeButtonLink IncodeButtonL",
|
|
283
|
+
variant: "tertiary-link",
|
|
346
284
|
onClick: onOpenHowItWorks,
|
|
347
285
|
children: t("idv2.tutorial.howItWorks.link")
|
|
348
286
|
});
|
|
@@ -448,7 +386,7 @@ var PermissionInCamera = ({ manager, state }) => {
|
|
|
448
386
|
children: /* @__PURE__ */ u(CameraView, {
|
|
449
387
|
stream: void 0,
|
|
450
388
|
children: /* @__PURE__ */ u(CameraOverlay, {
|
|
451
|
-
className: "IncodeCaptureOverlayId",
|
|
389
|
+
className: "IncodeCaptureOverlayId IncodeCompactReflow",
|
|
452
390
|
children: /* @__PURE__ */ u("div", {
|
|
453
391
|
class: "IncodePermissionInCameraContent",
|
|
454
392
|
onAnimationEnd: handleShellAnimationEnd,
|
|
@@ -532,9 +470,12 @@ var PermissionInCameraFlowTransition = ({ manager, tutorialStage, permissionStat
|
|
|
532
470
|
inert: isCaptureHandoff || void 0,
|
|
533
471
|
children: /* @__PURE__ */ u(CaptureAutoFocusProvider, {
|
|
534
472
|
enabled: !isCaptureHandoff,
|
|
535
|
-
children: /* @__PURE__ */ u(
|
|
536
|
-
|
|
537
|
-
|
|
473
|
+
children: /* @__PURE__ */ u(P, {
|
|
474
|
+
fallback: null,
|
|
475
|
+
children: /* @__PURE__ */ u(LazyCapture, {
|
|
476
|
+
manager,
|
|
477
|
+
state: captureState
|
|
478
|
+
})
|
|
538
479
|
})
|
|
539
480
|
})
|
|
540
481
|
}, "capture") : null,
|
|
@@ -689,7 +630,17 @@ function resolvePermissionInCameraState(state, cameraPermissionUx, wasPermission
|
|
|
689
630
|
*/
|
|
690
631
|
function useIdPermissionExperience(state) {
|
|
691
632
|
const cameraPermissionUx = useCameraPermissionUx(state);
|
|
692
|
-
const
|
|
633
|
+
const resolvedTutorialStage = resolveIdTutorialWithPermissionsUxStage(state, cameraPermissionUx);
|
|
634
|
+
const lastTutorialStageRef = A(null);
|
|
635
|
+
const tutorialHandoffStage = resolvedTutorialStage === null && isCameraWarmupState(state) ? lastTutorialStageRef.current : null;
|
|
636
|
+
if (!tutorialHandoffStage) lastTutorialStageRef.current = resolvedTutorialStage !== null && resolvedTutorialStage.tutorialPhase !== null && resolvedTutorialStage.ux.id !== CAMERA_PERMISSION_UX.PERMISSION_IN_CAMERA ? resolvedTutorialStage : null;
|
|
637
|
+
const tutorialWithPermissionsUxStage = tutorialHandoffStage ? {
|
|
638
|
+
...tutorialHandoffStage,
|
|
639
|
+
tutorialPhase: ID_CAPTURE_TUTORIAL_PHASE.WAITING_FOR_CAMERA
|
|
640
|
+
} : resolvedTutorialStage;
|
|
641
|
+
const lastFlipStateRef = A(null);
|
|
642
|
+
const flipHandoffState = isCameraWarmupState(state) ? lastFlipStateRef.current : null;
|
|
643
|
+
if (!flipHandoffState) lastFlipStateRef.current = state.status === "frontFinished" || state.status === "backFinished" ? state : null;
|
|
693
644
|
const wasPermissionInCameraVisibleRef = A(false);
|
|
694
645
|
const permissionInCameraFlowActiveRef = A(false);
|
|
695
646
|
const permissionInCameraState = resolvePermissionInCameraState(state, cameraPermissionUx, wasPermissionInCameraVisibleRef.current);
|
|
@@ -702,24 +653,28 @@ function useIdPermissionExperience(state) {
|
|
|
702
653
|
}, [isPermissionInCameraVisible]);
|
|
703
654
|
return {
|
|
704
655
|
cameraPermissionUx,
|
|
656
|
+
flipHandoffState,
|
|
705
657
|
tutorialWithPermissionsUxStage,
|
|
706
658
|
permissionInCameraState,
|
|
707
659
|
permissionInCameraCaptureState,
|
|
708
660
|
isPermissionRequestingLoader: state.status === "permissions" && state.permissionStatus === "requesting" && cameraPermissionUx.id === CAMERA_PERMISSION_UX.CONTROL,
|
|
709
|
-
isPreparingCameraLoader: state.status === "loading" && permissionInCameraState === null && tutorialWithPermissionsUxStage?.ux.id !== CAMERA_PERMISSION_UX.PERMISSION_SHEET
|
|
661
|
+
isPreparingCameraLoader: state.status === "loading" && tutorialHandoffStage === null && flipHandoffState === null && permissionInCameraState === null && tutorialWithPermissionsUxStage?.ux.id !== CAMERA_PERMISSION_UX.PERMISSION_SHEET
|
|
710
662
|
};
|
|
711
663
|
}
|
|
712
664
|
//#endregion
|
|
713
665
|
//#region src/modules/id/id.tsx
|
|
714
|
-
var MandatoryConsent = z(() => import("../mandatoryConsent-
|
|
715
|
-
var AgeVerification = z(() => import("../ageVerification-
|
|
716
|
-
var DigitalIdUpload = z(() => import("../digitalIdUpload-
|
|
717
|
-
var DigitalIdRedirect = z(() => import("../digitalIdRedirect-
|
|
718
|
-
var DeviceWallet = z(() => import("../deviceWallet-
|
|
666
|
+
var MandatoryConsent = z(() => import("../mandatoryConsent-Dc0PQou0.js").then((module) => ({ default: module.MandatoryConsent })));
|
|
667
|
+
var AgeVerification = z(() => import("../ageVerification-u2zo-WUl.js").then((module) => ({ default: module.AgeVerification })));
|
|
668
|
+
var DigitalIdUpload = z(() => import("../digitalIdUpload-BUJcgYY5.js").then((module) => ({ default: module.DigitalIdUpload })));
|
|
669
|
+
var DigitalIdRedirect = z(() => import("../digitalIdRedirect-CG9jzrQh.js").then((module) => ({ default: module.DigitalIdRedirect })));
|
|
670
|
+
var DeviceWallet = z(() => import("../deviceWallet-7b1VpcGm.js").then((module) => ({ default: module.DeviceWallet })));
|
|
671
|
+
var flipTransition = preloadableLazy(() => import("../idFlipTransition-3z8Lqcab.js").then((module) => module.IdFlipTransition));
|
|
672
|
+
var IdFlipTransition = flipTransition.Lazy;
|
|
719
673
|
var IdContent = ({ config, manager: externalManager, onFinish, onError }) => {
|
|
720
674
|
usePreloadDisplayFont();
|
|
721
675
|
y(() => {
|
|
722
676
|
preloadIdTutorialAssets();
|
|
677
|
+
Promise.all([loadCapture(), flipTransition.load()]).catch(() => void 0);
|
|
723
678
|
}, []);
|
|
724
679
|
const [state, manager] = useManager(() => {
|
|
725
680
|
if (externalManager) return externalManager;
|
|
@@ -730,17 +685,20 @@ var IdContent = ({ config, manager: externalManager, onFinish, onError }) => {
|
|
|
730
685
|
digitalIdReturnUrl: config.digitalIdReturnUrl ?? getDefaultDigitalIdReturnUrl()
|
|
731
686
|
} });
|
|
732
687
|
}, { manageLifecycle: !externalManager });
|
|
688
|
+
const [screenError] = b();
|
|
733
689
|
useModuleTerminalCallbacks({
|
|
734
|
-
status: state.status === "finished" || state.status === "closed" ? state.status : "loading",
|
|
690
|
+
status: screenError ? "error" : state.status === "finished" || state.status === "closed" ? state.status : "loading",
|
|
735
691
|
output: state.status === "finished" ? state.output : void 0,
|
|
736
692
|
onFinish,
|
|
737
|
-
onError
|
|
693
|
+
onError,
|
|
694
|
+
error: screenError ? String(screenError) : void 0
|
|
738
695
|
});
|
|
739
|
-
const { tutorialWithPermissionsUxStage, permissionInCameraState, permissionInCameraCaptureState, isPreparingCameraLoader, isPermissionRequestingLoader } = useIdPermissionExperience(state);
|
|
696
|
+
const { tutorialWithPermissionsUxStage, permissionInCameraState, permissionInCameraCaptureState, isPreparingCameraLoader, isPermissionRequestingLoader, flipHandoffState } = useIdPermissionExperience(state);
|
|
740
697
|
const { params: darkCameraLoadingParams } = useIdExperiment({
|
|
741
698
|
key: "darkCameraLoading",
|
|
742
699
|
enabled: isPreparingCameraLoader || isPermissionRequestingLoader
|
|
743
700
|
});
|
|
701
|
+
if (screenError) return null;
|
|
744
702
|
if (state.status === "idle") return /* @__PURE__ */ u(TransitionSpinner, { renderMode: "spinnerOnly" });
|
|
745
703
|
if (tutorialWithPermissionsUxStage?.ux.id === CAMERA_PERMISSION_UX.PERMISSION_IN_CAMERA || permissionInCameraState !== null || permissionInCameraCaptureState !== null) return /* @__PURE__ */ u(PermissionInCameraFlowTransition, {
|
|
746
704
|
manager,
|
|
@@ -772,13 +730,24 @@ var IdContent = ({ config, manager: externalManager, onFinish, onError }) => {
|
|
|
772
730
|
permissionStatus: state.permissionStatus
|
|
773
731
|
})
|
|
774
732
|
});
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
733
|
+
const flipState = state.status === "frontFinished" || state.status === "backFinished" ? state : flipHandoffState;
|
|
734
|
+
if (flipState) return /* @__PURE__ */ u(P, {
|
|
735
|
+
fallback: null,
|
|
736
|
+
children: /* @__PURE__ */ u(IdFlipTransition, {
|
|
737
|
+
manager,
|
|
738
|
+
state: flipState
|
|
739
|
+
})
|
|
778
740
|
});
|
|
779
|
-
if (state.status === "capture") return /* @__PURE__ */ u(
|
|
780
|
-
|
|
781
|
-
|
|
741
|
+
if (state.status === "capture") return /* @__PURE__ */ u(P, {
|
|
742
|
+
fallback: /* @__PURE__ */ u(TransitionSpinner, {
|
|
743
|
+
titleKey: "loadingCircle.holdOn",
|
|
744
|
+
subtitleKey: "loadingCircle.preparingCamera",
|
|
745
|
+
alwaysDark: darkCameraLoadingParams.showDarkCameraLoading
|
|
746
|
+
}),
|
|
747
|
+
children: /* @__PURE__ */ u(LazyCapture, {
|
|
748
|
+
manager,
|
|
749
|
+
state
|
|
750
|
+
})
|
|
782
751
|
});
|
|
783
752
|
if (state.status === "mandatoryConsent") return /* @__PURE__ */ u(P, {
|
|
784
753
|
fallback: null,
|