@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
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FieldComparison } from "../fieldComparison-
|
|
1
|
+
import { t as FieldComparison } from "../fieldComparison-CDGiqzsu.js";
|
|
2
2
|
export { FieldComparison };
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { d as useTranslation } from "./devWarn-B4kGEiva.js";
|
|
2
|
+
import { b as u } from "./vendor-preact-HIccnts1.js";
|
|
3
|
+
import { b as PrizmaButton } from "./icons-CLoob8B-.js";
|
|
4
|
+
import { h as cn, t as Spacer } from "./spacer-NanHQwzu.js";
|
|
5
|
+
import { t as PrizmaTextField } from "./TextField-o3qwE7KD.js";
|
|
6
|
+
import { t as Page } from "./page-5CklyQnq.js";
|
|
7
|
+
import { b as useManager, n as withStandaloneModuleBootstrap, v as useModuleTerminalCallbacks } from "./hooks-COiwxC3h.js";
|
|
8
|
+
import { t as IncodeComponent } from "./incodeComponent-CxWTvgqz.js";
|
|
9
|
+
import { t as VerificationResult } from "./verificationResult-sh4xut0K.js";
|
|
10
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-BQVPjhJE.js";
|
|
11
|
+
import { t as PrizmaRequiredLegend } from "./RequiredLegend-DwaAzhid.js";
|
|
12
|
+
import { createFieldComparisonManager } from "@incodetech/core/field-comparison";
|
|
13
|
+
//#region src/modules/field-comparison/fieldComparison.tsx
|
|
14
|
+
var FieldComparisonContent = ({ config, manager: externalManager, onFinish }) => {
|
|
15
|
+
const { t } = useTranslation();
|
|
16
|
+
const [state, manager] = useManager(() => externalManager ?? createFieldComparisonManager({ config }), {
|
|
17
|
+
manageLifecycle: !externalManager,
|
|
18
|
+
autoLoad: true
|
|
19
|
+
});
|
|
20
|
+
useModuleTerminalCallbacks({
|
|
21
|
+
status: state.status === "finished" ? "finished" : "loading",
|
|
22
|
+
onFinish
|
|
23
|
+
});
|
|
24
|
+
const handleSubmit = (e) => {
|
|
25
|
+
e.preventDefault();
|
|
26
|
+
manager.submit();
|
|
27
|
+
};
|
|
28
|
+
if (state.status === "finished") return null;
|
|
29
|
+
if (state.status === "error") return /* @__PURE__ */ u(VerificationResult, {
|
|
30
|
+
status: "failure",
|
|
31
|
+
onRetry: manager.retry,
|
|
32
|
+
onSkip: manager.skip
|
|
33
|
+
});
|
|
34
|
+
if (state.status === "success") return /* @__PURE__ */ u(VerificationResult, {
|
|
35
|
+
status: "success",
|
|
36
|
+
successTitle: t("customFields.completed")
|
|
37
|
+
});
|
|
38
|
+
if (state.status === "submitting" || state.status === "inputting") {
|
|
39
|
+
const isDisabled = state.status === "submitting";
|
|
40
|
+
const canSubmit = state.status === "inputting" && state.canSubmit;
|
|
41
|
+
const validationErrors = state.status === "inputting" ? state.validationErrors : void 0;
|
|
42
|
+
return /* @__PURE__ */ u(Page, {
|
|
43
|
+
className: "IncodeFieldComparisonPage",
|
|
44
|
+
title: t("fieldComparison.title"),
|
|
45
|
+
hideFooterBranding: true,
|
|
46
|
+
"data-testid": "field-comparison-page",
|
|
47
|
+
children: [
|
|
48
|
+
/* @__PURE__ */ u(PrizmaRequiredLegend, {
|
|
49
|
+
className: "IncodeRequiredLegend",
|
|
50
|
+
children: t("forms.subtitle")
|
|
51
|
+
}),
|
|
52
|
+
isDisabled ? /* @__PURE__ */ u("div", {
|
|
53
|
+
class: "IncodeSrOnly",
|
|
54
|
+
role: "status",
|
|
55
|
+
"aria-live": "polite",
|
|
56
|
+
"data-testid": "field-comparison-status",
|
|
57
|
+
children: t("common.processing")
|
|
58
|
+
}) : null,
|
|
59
|
+
/* @__PURE__ */ u("div", {
|
|
60
|
+
class: "IncodeFieldComparisonForm",
|
|
61
|
+
"data-testid": "field-comparison-fields",
|
|
62
|
+
children: [
|
|
63
|
+
/* @__PURE__ */ u(PrizmaTextField, {
|
|
64
|
+
id: "field-comparison-first-name",
|
|
65
|
+
className: "IncodeInputComposed",
|
|
66
|
+
inputClassName: "IncodeInput",
|
|
67
|
+
name: "firstName",
|
|
68
|
+
label: t("verification.labels.firstName"),
|
|
69
|
+
"data-testid": "field-comparison-first-name",
|
|
70
|
+
autoComplete: "given-name",
|
|
71
|
+
required: true,
|
|
72
|
+
disabled: isDisabled,
|
|
73
|
+
value: state.fields.firstName,
|
|
74
|
+
error: !!validationErrors?.firstName,
|
|
75
|
+
errorText: validationErrors?.firstName ? t(validationErrors.firstName) : void 0,
|
|
76
|
+
clearable: false,
|
|
77
|
+
onInput: (e) => {
|
|
78
|
+
manager.setField("firstName", e.target.value);
|
|
79
|
+
}
|
|
80
|
+
}),
|
|
81
|
+
/* @__PURE__ */ u(PrizmaTextField, {
|
|
82
|
+
className: "IncodeInputComposed",
|
|
83
|
+
inputClassName: "IncodeInput",
|
|
84
|
+
clearable: false,
|
|
85
|
+
id: "field-comparison-last-name",
|
|
86
|
+
name: "lastName",
|
|
87
|
+
label: t("verification.labels.lastName"),
|
|
88
|
+
"data-testid": "field-comparison-last-name",
|
|
89
|
+
autoComplete: "family-name",
|
|
90
|
+
required: true,
|
|
91
|
+
disabled: isDisabled,
|
|
92
|
+
value: state.fields.lastName,
|
|
93
|
+
error: !!validationErrors?.lastName,
|
|
94
|
+
errorText: validationErrors?.lastName ? t(validationErrors.lastName) : void 0,
|
|
95
|
+
onInput: (e) => {
|
|
96
|
+
manager.setField("lastName", e.target.value);
|
|
97
|
+
}
|
|
98
|
+
}),
|
|
99
|
+
/* @__PURE__ */ u(Spacer, {}),
|
|
100
|
+
/* @__PURE__ */ u(PrizmaButton, {
|
|
101
|
+
variant: "primary",
|
|
102
|
+
size: "L",
|
|
103
|
+
className: cn("IncodeButton IncodeButtonPrimary IncodeButtonL", isDisabled && "IncodeButtonLoading"),
|
|
104
|
+
type: "submit",
|
|
105
|
+
"data-testid": "field-comparison-submit",
|
|
106
|
+
disabled: !canSubmit || isDisabled,
|
|
107
|
+
loading: isDisabled,
|
|
108
|
+
onClick: handleSubmit,
|
|
109
|
+
children: t("common.continue")
|
|
110
|
+
})
|
|
111
|
+
]
|
|
112
|
+
})
|
|
113
|
+
]
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
return null;
|
|
117
|
+
};
|
|
118
|
+
var FieldComparisonWithLocalConfig = ({ config = {}, manager, onFinish }) => /* @__PURE__ */ u(IncodeComponent, { children: /* @__PURE__ */ u(FieldComparisonContent, {
|
|
119
|
+
config,
|
|
120
|
+
manager,
|
|
121
|
+
onFinish
|
|
122
|
+
}) });
|
|
123
|
+
var FieldComparison = withStandaloneModuleBootstrap(FieldComparisonWithLocalConfig, "FIELD_COMPARISON", { supportsExternalManager: true });
|
|
124
|
+
registerIncodeModuleElement(FieldComparison, "incode-field-comparison");
|
|
125
|
+
//#endregion
|
|
126
|
+
export { FieldComparison as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { T as k, a as M, b as u } from "./vendor-preact-HIccnts1.js";
|
|
2
2
|
//#region src/shared/fieldLabelHint/fieldLabelHint.tsx
|
|
3
|
-
var FieldLabelHint = ({ className, hint, required, testId })
|
|
3
|
+
var FieldLabelHint = M(function FieldLabelHint({ className, hint, required, testId }) {
|
|
4
4
|
if (!required && !hint) return null;
|
|
5
5
|
return /* @__PURE__ */ u(k, { children: [required ? /* @__PURE__ */ u(k, { children: [" ", /* @__PURE__ */ u("span", {
|
|
6
6
|
"aria-hidden": "true",
|
|
@@ -11,6 +11,6 @@ var FieldLabelHint = ({ className, hint, required, testId }) => {
|
|
|
11
11
|
"data-testid": required ? `${testId}-supplementary` : testId,
|
|
12
12
|
children: hint
|
|
13
13
|
}) : null] });
|
|
14
|
-
};
|
|
14
|
+
});
|
|
15
15
|
//#endregion
|
|
16
16
|
export { FieldLabelHint as t };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as AutoFocusTitle } from "./autoFocusTitle-
|
|
6
|
-
import { t as Page } from "./page-
|
|
7
|
-
import { r as Modal } from "./pageUiConfig-
|
|
8
|
-
import {
|
|
9
|
-
import { n as CameraFrame } from "./cameraView-
|
|
10
|
-
import { t as ManualCaptureButton } from "./manualCaptureButton-
|
|
11
|
-
import { n as CaptureNotification, t as ManualCaptureButton$1 } from "./manualCaptureButton-
|
|
12
|
-
import { checkCameraPermission, requestCameraPermission } from "@incodetech/core/camera";
|
|
1
|
+
import { d as useTranslation } from "./devWarn-B4kGEiva.js";
|
|
2
|
+
import { T as k, _ as q, b as u, l as A, m as d, y } from "./vendor-preact-HIccnts1.js";
|
|
3
|
+
import { b as PrizmaButton, l as ErrorIcon, n as SuccessIcon } from "./icons-CLoob8B-.js";
|
|
4
|
+
import { _ as PrizmaLoadingSpinner, h as cn, i as Asset, p as Lottie, r as useLoaderOverride } from "./spacer-NanHQwzu.js";
|
|
5
|
+
import { t as AutoFocusTitle } from "./autoFocusTitle-CNeT8ydU.js";
|
|
6
|
+
import { t as Page } from "./page-5CklyQnq.js";
|
|
7
|
+
import { r as Modal } from "./pageUiConfig-DZQHreIo.js";
|
|
8
|
+
import { d as useTimeoutHandle } from "./hooks-COiwxC3h.js";
|
|
9
|
+
import { n as CameraFrame } from "./cameraView-B7l40Opf.js";
|
|
10
|
+
import { t as ManualCaptureButton } from "./manualCaptureButton-DIlebb4i.js";
|
|
11
|
+
import { n as CaptureNotification, t as ManualCaptureButton$1 } from "./manualCaptureButton-t0b_hCKH.js";
|
|
13
12
|
import { resolveVideoSelfieSteps } from "@incodetech/core/video-selfie";
|
|
13
|
+
import { checkCameraPermission, requestCameraPermission } from "@incodetech/core/camera";
|
|
14
14
|
//#region src/modules/video-selfie/useVideoSelfiePermissions.ts
|
|
15
15
|
/**
|
|
16
16
|
* Drives the shared camera `<Permissions>` screen for Video Selfie. Mirrors the
|
|
@@ -175,10 +175,12 @@ var VideoSelfieTutorial = ({ config, steps, copy, onStart, isLoading }) => {
|
|
|
175
175
|
})
|
|
176
176
|
}), /* @__PURE__ */ u("div", {
|
|
177
177
|
class: "IncodeVideoSelfieTutorialActions",
|
|
178
|
-
children: /* @__PURE__ */ u(
|
|
179
|
-
|
|
178
|
+
children: /* @__PURE__ */ u(PrizmaButton, {
|
|
179
|
+
variant: "primary",
|
|
180
|
+
size: "L",
|
|
181
|
+
className: cn("IncodeButton IncodeButtonPrimary IncodeButtonL IncodeVideoSelfieTutorialStartButton", isLoading && "IncodeButtonLoading"),
|
|
180
182
|
onClick: onStart,
|
|
181
|
-
isLoading,
|
|
183
|
+
loading: isLoading,
|
|
182
184
|
children: copy?.startLabel ?? t("videoSelfie.tutorial.startVideoSelfie", { defaultValue: "Start video selfie" })
|
|
183
185
|
})
|
|
184
186
|
})]
|
|
@@ -212,6 +214,7 @@ var RING_GRADIENT = {
|
|
|
212
214
|
var SelfieMask = ({ variant = "idle", message, onManualCapture }) => {
|
|
213
215
|
const [fromColor, toColor] = RING_GRADIENT[variant];
|
|
214
216
|
const gradientId = `IncodeVsSelfieRing-${variant}`;
|
|
217
|
+
const loaderOverride = useLoaderOverride();
|
|
215
218
|
return /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u("div", {
|
|
216
219
|
class: "IncodeVsSelfieMask",
|
|
217
220
|
"aria-hidden": "true",
|
|
@@ -244,7 +247,11 @@ var SelfieMask = ({ variant = "idle", message, onManualCapture }) => {
|
|
|
244
247
|
role: "region",
|
|
245
248
|
"aria-live": "polite",
|
|
246
249
|
children: [
|
|
247
|
-
variant === "processing" ? /* @__PURE__ */ u(
|
|
250
|
+
variant === "processing" ? /* @__PURE__ */ u(PrizmaLoadingSpinner, {
|
|
251
|
+
icon: loaderOverride,
|
|
252
|
+
role: "presentation",
|
|
253
|
+
"aria-live": "off"
|
|
254
|
+
}) : null,
|
|
248
255
|
variant === "success" ? /* @__PURE__ */ u(Asset, {
|
|
249
256
|
name: "videoSelfie.success",
|
|
250
257
|
class: "IncodeVsSelfieMaskIcon",
|
|
@@ -273,7 +280,7 @@ var SelfieMask = ({ variant = "idle", message, onManualCapture }) => {
|
|
|
273
280
|
//#region src/modules/video-selfie/idFlipModal.tsx
|
|
274
281
|
var animationPromise = null;
|
|
275
282
|
function loadIdFlipAnimation() {
|
|
276
|
-
animationPromise ??= import("./flip-animation-
|
|
283
|
+
animationPromise ??= import("./flip-animation-CJhh7l_J.js").then((module) => module.default);
|
|
277
284
|
return animationPromise;
|
|
278
285
|
}
|
|
279
286
|
function preloadIdFlipAnimation() {
|
|
@@ -309,7 +316,7 @@ var IdFlipModal = ({ onComplete }) => {
|
|
|
309
316
|
dismissible: false,
|
|
310
317
|
hasBackdrop: false,
|
|
311
318
|
class: "IncodeVsIdFlipModal",
|
|
312
|
-
children: /* @__PURE__ */ u(Modal.Content, { children: [/* @__PURE__ */ u(Modal.
|
|
319
|
+
children: /* @__PURE__ */ u(Modal.Content, { children: [/* @__PURE__ */ u(Modal.Header, { title: t("idv2.flipAnimation.title") }), animationData ? /* @__PURE__ */ u(Lottie, {
|
|
313
320
|
animationData,
|
|
314
321
|
loop: false,
|
|
315
322
|
className: "IncodeVsIdFlipAnimation",
|
|
@@ -320,16 +327,18 @@ var IdFlipModal = ({ onComplete }) => {
|
|
|
320
327
|
//#endregion
|
|
321
328
|
//#region src/modules/video-selfie/idMask.tsx
|
|
322
329
|
var IdFeedbackPanel = ({ variant, message }) => {
|
|
330
|
+
const loaderOverride = useLoaderOverride();
|
|
323
331
|
const variantClass = () => {
|
|
324
332
|
if (variant === "error") return "IncodeVsIdFeedbackError";
|
|
325
333
|
if (variant === "processing") return "IncodeVsIdFeedbackProcessing";
|
|
326
334
|
return "IncodeVsIdFeedbackSuccess";
|
|
327
335
|
};
|
|
328
336
|
const renderIcon = () => {
|
|
329
|
-
if (variant === "processing") return /* @__PURE__ */ u(
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
337
|
+
if (variant === "processing") return /* @__PURE__ */ u(PrizmaLoadingSpinner, {
|
|
338
|
+
className: "IncodeVsIdFeedbackSpinner",
|
|
339
|
+
icon: loaderOverride,
|
|
340
|
+
role: "presentation",
|
|
341
|
+
"aria-live": "off"
|
|
333
342
|
});
|
|
334
343
|
if (variant === "success") return /* @__PURE__ */ u(SuccessIcon, { size: 32 });
|
|
335
344
|
return /* @__PURE__ */ u(ErrorIcon, { size: 32 });
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as Page } from "../page-
|
|
6
|
-
import {
|
|
7
|
-
import { t as Spinner } from "../spinner-
|
|
8
|
-
import "../transitionSpinner-
|
|
9
|
-
import { t as
|
|
10
|
-
import {
|
|
11
|
-
import { n as
|
|
12
|
-
import "../
|
|
13
|
-
import
|
|
1
|
+
import { d as useTranslation } from "../devWarn-B4kGEiva.js";
|
|
2
|
+
import { b as u, c as z, o as P } from "../vendor-preact-HIccnts1.js";
|
|
3
|
+
import { b as PrizmaButton } from "../icons-CLoob8B-.js";
|
|
4
|
+
import { t as Spacer } from "../spacer-NanHQwzu.js";
|
|
5
|
+
import { t as Page } from "../page-5CklyQnq.js";
|
|
6
|
+
import { b as useManager, n as withStandaloneModuleBootstrap, v as useModuleTerminalCallbacks } from "../hooks-COiwxC3h.js";
|
|
7
|
+
import { t as Spinner } from "../spinner-bRH4yw9e.js";
|
|
8
|
+
import "../transitionSpinner-MclJtdHE.js";
|
|
9
|
+
import { t as IncodeComponent } from "../incodeComponent-CxWTvgqz.js";
|
|
10
|
+
import { t as VerificationResult } from "../verificationResult-sh4xut0K.js";
|
|
11
|
+
import { n as CameraFrame, t as CameraView } from "../cameraView-B7l40Opf.js";
|
|
12
|
+
import { n as CameraOverlay, t as CameraOverlayHeader } from "../cameraOverlayHeader-C7Pi5eIm.js";
|
|
13
|
+
import "../cameraOverlay-Bciqav_0.js";
|
|
14
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-BQVPjhJE.js";
|
|
14
15
|
import { createFiscalQrManager } from "@incodetech/core/fiscal-qr";
|
|
15
16
|
//#region src/modules/fiscal-qr/fiscalQrCapture.tsx
|
|
16
17
|
function getFrameState(status) {
|
|
@@ -34,7 +35,7 @@ var FiscalQrCapture = ({ manager, state }) => {
|
|
|
34
35
|
stream: state.stream,
|
|
35
36
|
"data-testid": "fiscal-qr-camera",
|
|
36
37
|
children: /* @__PURE__ */ u(CameraOverlay, {
|
|
37
|
-
className: "IncodeFiscalQrOverlay",
|
|
38
|
+
className: "IncodeFiscalQrOverlay IncodeCompactReflow",
|
|
38
39
|
children: [
|
|
39
40
|
statusMessage ? /* @__PURE__ */ u("p", {
|
|
40
41
|
class: "IncodeSrOnly",
|
|
@@ -67,8 +68,10 @@ var FiscalQrCapture = ({ manager, state }) => {
|
|
|
67
68
|
}),
|
|
68
69
|
/* @__PURE__ */ u("div", {
|
|
69
70
|
className: "IncodeFiscalQrButtonWrapper",
|
|
70
|
-
children: /* @__PURE__ */ u(
|
|
71
|
-
|
|
71
|
+
children: /* @__PURE__ */ u(PrizmaButton, {
|
|
72
|
+
size: "L",
|
|
73
|
+
className: "IncodeButton IncodeButtonLink IncodeButtonL",
|
|
74
|
+
variant: "tertiary-link",
|
|
72
75
|
onClick: () => manager.skip(),
|
|
73
76
|
"data-testid": "fiscal-qr-skip",
|
|
74
77
|
children: t("common.skip")
|
|
@@ -194,15 +197,12 @@ var FiscalQrLoading = () => /* @__PURE__ */ u(Page, {
|
|
|
194
197
|
"data-testid": "fiscal-qr-loading",
|
|
195
198
|
children: /* @__PURE__ */ u("div", {
|
|
196
199
|
class: "IncodeFiscalQrTutorialContent",
|
|
197
|
-
children: /* @__PURE__ */ u(Spinner, {
|
|
198
|
-
size: "large",
|
|
199
|
-
presentational: true
|
|
200
|
-
})
|
|
200
|
+
children: /* @__PURE__ */ u(Spinner, { presentational: true })
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
203
|
//#endregion
|
|
204
204
|
//#region src/modules/fiscal-qr/fiscal-qr.tsx
|
|
205
|
-
var Denied = z(() => import("../denied-
|
|
205
|
+
var Denied = z(() => import("../denied-BeVKpBem.js").then((module) => ({ default: module.Denied })));
|
|
206
206
|
var FiscalQrContent = ({ config, manager: externalManager, onFinish }) => {
|
|
207
207
|
const { t } = useTranslation();
|
|
208
208
|
const [state, manager] = useManager(() => externalManager ?? createFiscalQrManager({ config: config ?? {} }), {
|
|
@@ -246,7 +246,10 @@ var FiscalQrContent = ({ config, manager: externalManager, onFinish }) => {
|
|
|
246
246
|
children: [
|
|
247
247
|
/* @__PURE__ */ u(fiscalQrIcon, {}),
|
|
248
248
|
/* @__PURE__ */ u(Spacer, {}),
|
|
249
|
-
/* @__PURE__ */ u(
|
|
249
|
+
/* @__PURE__ */ u(PrizmaButton, {
|
|
250
|
+
variant: "primary",
|
|
251
|
+
size: "L",
|
|
252
|
+
className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
|
|
250
253
|
onClick: () => manager.continue(),
|
|
251
254
|
"data-testid": "fiscal-qr-continue",
|
|
252
255
|
children: t("common.continue")
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { d as useTranslation } from "./devWarn-B4kGEiva.js";
|
|
2
|
+
import { _ as q, b as u, l as A } from "./vendor-preact-HIccnts1.js";
|
|
3
|
+
import { a as AnimatedAsset, n as Title, t as Spacer } from "./spacer-NanHQwzu.js";
|
|
4
|
+
import { d as useTimeoutHandle, u as useTimeout } from "./hooks-COiwxC3h.js";
|
|
5
|
+
import "./typography-Dncyo-3D.js";
|
|
6
|
+
//#region src/modules/id/flipAnimation.tsx
|
|
7
|
+
/** The built-in flip runs 3 s. Then the screen holds for 1 s. */
|
|
8
|
+
var HOLD_AFTER_FLIP_MS = 1e3;
|
|
9
|
+
/**
|
|
10
|
+
* Core waits on this screen with no timeout of its own. When the animation
|
|
11
|
+
* never plays (its chunk failed to load), continue after twice the normal
|
|
12
|
+
* 4 s path so the user is not left on a blank flip.
|
|
13
|
+
*/
|
|
14
|
+
var FLIP_WATCHDOG_MS = 8e3;
|
|
15
|
+
var FlipAnimation = ({ manager, direction }) => {
|
|
16
|
+
const { t } = useTranslation();
|
|
17
|
+
const continuedRef = A(false);
|
|
18
|
+
const continueToNextSide = q(() => {
|
|
19
|
+
if (continuedRef.current) return;
|
|
20
|
+
continuedRef.current = true;
|
|
21
|
+
if (direction === "toBack") manager.continueToBack();
|
|
22
|
+
else manager.continueToFront();
|
|
23
|
+
}, [direction, manager]);
|
|
24
|
+
useTimeout(continueToNextSide, FLIP_WATCHDOG_MS);
|
|
25
|
+
const { schedule: scheduleHold } = useTimeoutHandle();
|
|
26
|
+
const handleAnimationComplete = q(() => scheduleHold(continueToNextSide, HOLD_AFTER_FLIP_MS), [scheduleHold, continueToNextSide]);
|
|
27
|
+
return /* @__PURE__ */ u("div", {
|
|
28
|
+
class: "IncodeFlipAnimation",
|
|
29
|
+
children: [
|
|
30
|
+
/* @__PURE__ */ u(Title, {
|
|
31
|
+
role: "status",
|
|
32
|
+
className: "IncodeFlipAnimationTitle",
|
|
33
|
+
children: t(direction === "toBack" ? "idv2.flipAnimation.title" : "idv2.flipAnimation.titleToFront")
|
|
34
|
+
}),
|
|
35
|
+
/* @__PURE__ */ u(Spacer, { size: 32 }),
|
|
36
|
+
/* @__PURE__ */ u(AnimatedAsset, {
|
|
37
|
+
name: "id.flip",
|
|
38
|
+
loop: false,
|
|
39
|
+
reverse: direction === "toFront",
|
|
40
|
+
onComplete: handleAnimationComplete
|
|
41
|
+
})
|
|
42
|
+
]
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
//#endregion
|
|
46
|
+
export { FlipAnimation as t };
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { b as u, d as T, y } from "./vendor-preact-HIccnts1.js";
|
|
2
|
+
import "./icons-CLoob8B-.js";
|
|
3
|
+
import { h as cn } from "./spacer-NanHQwzu.js";
|
|
4
|
+
import { o as useFeatureManagement } from "./hooks-COiwxC3h.js";
|
|
5
|
+
import { eventModuleNames, recordExperimentAssignmentOnce } from "@incodetech/core/events";
|
|
6
|
+
import { ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, numberParam, resolveExperiment } from "@incodetech/core/feature-management";
|
|
7
|
+
//#region src/modules/id/experiments/constants.ts
|
|
8
|
+
var CAMERA_PERMISSION_UX = {
|
|
9
|
+
CONTROL: "control",
|
|
10
|
+
PENDING: "pending",
|
|
11
|
+
PERMISSION_SHEET: "permissionSheet",
|
|
12
|
+
HOW_IT_WORKS: "howItWorks",
|
|
13
|
+
PERMISSION_IN_CAMERA: "permissionInCamera"
|
|
14
|
+
};
|
|
15
|
+
var ID_CAPTURE_STATUS = {
|
|
16
|
+
TUTORIAL: "tutorial",
|
|
17
|
+
PERMISSIONS: "permissions",
|
|
18
|
+
LOADING: "loading",
|
|
19
|
+
CAPTURE: "capture"
|
|
20
|
+
};
|
|
21
|
+
/** Underlying machine phases core collapses into `status: 'loading'`. */
|
|
22
|
+
var ID_CAPTURE_LOADING_PHASE = {
|
|
23
|
+
PERMISSIONS_IDLE: "permissionsIdle",
|
|
24
|
+
CHECKING_STREAM: "checkingStream",
|
|
25
|
+
INITIALIZING_DEEPSIGHT: "initializingDeepsight",
|
|
26
|
+
INITIALIZING_CAMERA: "initializingCamera"
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* The post-grant camera warm-up phases. IDC-03 is the only arm that renders
|
|
30
|
+
* across them — its shell stays mounted until live capture takes over — so
|
|
31
|
+
* `useCameraPermissionUx` (which arm may paint) and
|
|
32
|
+
* `useIdPermissionExperience` (whether the shell is retained) must agree on
|
|
33
|
+
* exactly this set.
|
|
34
|
+
*/
|
|
35
|
+
var CAMERA_WARMUP_LOADING_PHASES = new Set([
|
|
36
|
+
ID_CAPTURE_LOADING_PHASE.CHECKING_STREAM,
|
|
37
|
+
ID_CAPTURE_LOADING_PHASE.INITIALIZING_DEEPSIGHT,
|
|
38
|
+
ID_CAPTURE_LOADING_PHASE.INITIALIZING_CAMERA
|
|
39
|
+
]);
|
|
40
|
+
/** Underlying machine phases core collapses into `status: 'tutorial'`. */
|
|
41
|
+
var ID_CAPTURE_TUTORIAL_PHASE = {
|
|
42
|
+
CHECKING_PERMISSION: "checkingPermission",
|
|
43
|
+
READY: "ready",
|
|
44
|
+
INITIALIZING_CAMERA: "initializingCamera",
|
|
45
|
+
WAITING_FOR_PERMISSION: "waitingForPermission",
|
|
46
|
+
WAITING_FOR_CAMERA: "waitingForCamera"
|
|
47
|
+
};
|
|
48
|
+
/** Tutorial phases where the user has already continued and the CTA must show busy. */
|
|
49
|
+
var CONTINUING_TUTORIAL_PHASES = new Set([ID_CAPTURE_TUTORIAL_PHASE.WAITING_FOR_PERMISSION, ID_CAPTURE_TUTORIAL_PHASE.WAITING_FOR_CAMERA]);
|
|
50
|
+
var PERMISSION_DIALOG_STATUS = {
|
|
51
|
+
IDLE: "idle",
|
|
52
|
+
MOTION_ONLY: "motionOnly",
|
|
53
|
+
REQUESTING: "requesting"
|
|
54
|
+
};
|
|
55
|
+
var EXPERIMENT_LIFECYCLE_STATUS = { PENDING: "pending" };
|
|
56
|
+
/** IDC-08 arms — console-owned values, kebab-case `auto-dismiss` included. */
|
|
57
|
+
var MANUAL_TOOLTIP = {
|
|
58
|
+
CONTROL: "control",
|
|
59
|
+
REMOVE: "remove",
|
|
60
|
+
AUTO_DISMISS: "auto-dismiss"
|
|
61
|
+
};
|
|
62
|
+
var MANUAL_TOOLTIP_VARIANTS = [
|
|
63
|
+
MANUAL_TOOLTIP.CONTROL,
|
|
64
|
+
MANUAL_TOOLTIP.REMOVE,
|
|
65
|
+
MANUAL_TOOLTIP.AUTO_DISMISS
|
|
66
|
+
];
|
|
67
|
+
/**
|
|
68
|
+
* Today's shipped CSS dwell (`manualCaptureTooltipExit` animation-delay) — the
|
|
69
|
+
* control arm's behavior, so also the param default: an unallocated/control
|
|
70
|
+
* session that omits `autoDismissIntervalMs` must reproduce this exactly, not
|
|
71
|
+
* the treatment's shortened dwell.
|
|
72
|
+
*/
|
|
73
|
+
var MANUAL_TOOLTIP_DISMISS_DELAY_MS = 3500;
|
|
74
|
+
/**
|
|
75
|
+
* Console-owned param name that selects IDC-08's `experimentAssigned` dedupe
|
|
76
|
+
* granularity at runtime — ships ahead of the PM/mobile sync on this, so the
|
|
77
|
+
* rule can be flipped without a code change. See
|
|
78
|
+
* `useManualTooltipExperiment.ts` for how each rule builds the dedupe key.
|
|
79
|
+
*/
|
|
80
|
+
var MANUAL_TOOLTIP_DEDUPE_RULE_PARAM = "idcExp08ManualTooltipDedupeRule";
|
|
81
|
+
/** One `experimentAssigned` per session (default — today's product decision). */
|
|
82
|
+
var MANUAL_TOOLTIP_DEDUPE_RULE_ONCE = "once";
|
|
83
|
+
/** One `experimentAssigned` per (ID-module allocation, side). */
|
|
84
|
+
var MANUAL_TOOLTIP_DEDUPE_RULE_PER_CAPTURE = "per-capture";
|
|
85
|
+
//#endregion
|
|
86
|
+
//#region src/modules/id/experiments/idExperiments.ts
|
|
87
|
+
/**
|
|
88
|
+
* Code-owned registry of ID-module UI experiments. Each entry is a
|
|
89
|
+
* self-describing object param on `onboarding_web_sdk_ps`; see
|
|
90
|
+
* `useIdExperiment` for how it is read and reported.
|
|
91
|
+
*/
|
|
92
|
+
var ID_EXPERIMENTS = {
|
|
93
|
+
flipCapturedCard: {
|
|
94
|
+
storeParam: "idcExp07FlipInCaptureState",
|
|
95
|
+
module: eventModuleNames.idCapture,
|
|
96
|
+
...defineExperimentParams({ shouldFlipCapturedCard: booleanParam(false) })
|
|
97
|
+
},
|
|
98
|
+
cameraPermissionSheet: {
|
|
99
|
+
storeParam: "idcExp01PermissionSheet",
|
|
100
|
+
module: eventModuleNames.idCapture,
|
|
101
|
+
...defineExperimentParams({ showPermissionSheet: booleanParam(false) })
|
|
102
|
+
},
|
|
103
|
+
darkCameraLoading: {
|
|
104
|
+
storeParam: "idcExp04DarkCameraLoading",
|
|
105
|
+
module: eventModuleNames.idCapture,
|
|
106
|
+
...defineExperimentParams({ showDarkCameraLoading: booleanParam(false) })
|
|
107
|
+
},
|
|
108
|
+
cameraPermissionHowItWorks: {
|
|
109
|
+
storeParam: "idcExp02HowItWorks",
|
|
110
|
+
module: eventModuleNames.idCapture,
|
|
111
|
+
...defineExperimentParams({ showHowItWorks: booleanParam(false) })
|
|
112
|
+
},
|
|
113
|
+
cameraPermissionInCamera: {
|
|
114
|
+
storeParam: "idcExp03PermissionInCamera",
|
|
115
|
+
module: eventModuleNames.idCapture,
|
|
116
|
+
...defineExperimentParams({ showPermissionInCamera: booleanParam(false) })
|
|
117
|
+
},
|
|
118
|
+
manualTooltip: {
|
|
119
|
+
storeParam: "idcExp08ManualTooltip",
|
|
120
|
+
module: eventModuleNames.idCapture,
|
|
121
|
+
...defineExperimentParams({
|
|
122
|
+
manualTooltipVariant: enumParam(MANUAL_TOOLTIP.CONTROL, MANUAL_TOOLTIP_VARIANTS),
|
|
123
|
+
autoDismissIntervalMs: numberParam(MANUAL_TOOLTIP_DISMISS_DELAY_MS, {
|
|
124
|
+
min: 0,
|
|
125
|
+
max: 1e4,
|
|
126
|
+
integer: true
|
|
127
|
+
})
|
|
128
|
+
})
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
//#endregion
|
|
132
|
+
//#region src/experiments/makeUseModuleExperiment.ts
|
|
133
|
+
/**
|
|
134
|
+
* Builds a per-module experiment hook bound to `registry` (e.g.
|
|
135
|
+
* `ID_EXPERIMENTS`). Each experiment is a self-describing object param on the
|
|
136
|
+
* shared `onboarding_web_sdk_ps` store; the hook resolves it once at the
|
|
137
|
+
* visibility site (single-phase read — exposure logged on that read).
|
|
138
|
+
*/
|
|
139
|
+
function makeUseModuleExperiment(registry) {
|
|
140
|
+
return function useModuleExperiment({ key, enabled = true, reportAssignment = true, dedupeKey, conditions }) {
|
|
141
|
+
const spec = registry[key];
|
|
142
|
+
const { value: store, status } = useFeatureManagement("parameterStore", ONBOARDING_WEB_SDK_PARAMETER_STORE);
|
|
143
|
+
const conditionsKey = conditions ? JSON.stringify(conditions) : "";
|
|
144
|
+
const resolvedDedupeKey = dedupeKey ?? spec.storeParam;
|
|
145
|
+
const resolved = T(() => enabled && status === "ready" ? resolveExperiment(spec, { store }) : {
|
|
146
|
+
params: { ...spec.defaults },
|
|
147
|
+
assignment: null
|
|
148
|
+
}, [
|
|
149
|
+
enabled,
|
|
150
|
+
status,
|
|
151
|
+
store,
|
|
152
|
+
spec
|
|
153
|
+
]);
|
|
154
|
+
const assignment = resolved.assignment;
|
|
155
|
+
const variant = typeof assignment?.variant === "string" ? assignment.variant : null;
|
|
156
|
+
y(() => {
|
|
157
|
+
if (!assignment || !reportAssignment) return;
|
|
158
|
+
recordExperimentAssignmentOnce(spec.module, resolvedDedupeKey, {
|
|
159
|
+
...assignment,
|
|
160
|
+
conditions: conditionsKey ? JSON.parse(conditionsKey) : void 0
|
|
161
|
+
});
|
|
162
|
+
}, [
|
|
163
|
+
assignment,
|
|
164
|
+
reportAssignment,
|
|
165
|
+
spec,
|
|
166
|
+
resolvedDedupeKey,
|
|
167
|
+
conditionsKey
|
|
168
|
+
]);
|
|
169
|
+
return {
|
|
170
|
+
variant,
|
|
171
|
+
status,
|
|
172
|
+
params: resolved.params
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
//#endregion
|
|
177
|
+
//#region src/modules/id/experiments/useIdExperiment.ts
|
|
178
|
+
/**
|
|
179
|
+
* ID-module binding of `makeUseModuleExperiment` (see `@/experiments` for
|
|
180
|
+
* the shared parameter-store/analytics-gate/assignment-recording mechanics),
|
|
181
|
+
* bound to `ID_EXPERIMENTS`.
|
|
182
|
+
*
|
|
183
|
+
* Pass `enabled: false` for a surface/mode the treatment can never apply to
|
|
184
|
+
* (e.g. passport in `flipCapturedCard`) so that surface neither logs an
|
|
185
|
+
* exposure nor records an assignment; `params` still resolves to the
|
|
186
|
+
* registry-declared defaults so callers don't need a separate
|
|
187
|
+
* branch.
|
|
188
|
+
*/
|
|
189
|
+
var useIdExperiment = makeUseModuleExperiment(ID_EXPERIMENTS);
|
|
190
|
+
//#endregion
|
|
191
|
+
//#region src/modules/id/shared/captureFrame.tsx
|
|
192
|
+
var CaptureFrame = ({ orientation, mode, state, children, className }) => {
|
|
193
|
+
const isHorizontal = orientation !== "vertical";
|
|
194
|
+
const isPassport = mode === "passport";
|
|
195
|
+
const stateClass = `IncodeCaptureFrame${state.charAt(0).toUpperCase() + state.slice(1)}`;
|
|
196
|
+
return /* @__PURE__ */ u("div", {
|
|
197
|
+
class: cn("IncodeCaptureFrame", isHorizontal ? "IncodeCaptureFrameHorizontal" : "IncodeCaptureFrameVertical", stateClass, isPassport && "IncodeCaptureFramePassport", className),
|
|
198
|
+
"aria-hidden": "true",
|
|
199
|
+
role: "presentation",
|
|
200
|
+
children
|
|
201
|
+
});
|
|
202
|
+
};
|
|
203
|
+
//#endregion
|
|
204
|
+
//#region src/modules/id/experiments/flipCapturedCardEligibility.ts
|
|
205
|
+
/** Whether the captured-card treatment has a camera image it can physically flip. */
|
|
206
|
+
function canFlipCapturedCard(mode, previewImageUrl) {
|
|
207
|
+
return mode !== "passport" && Boolean(previewImageUrl);
|
|
208
|
+
}
|
|
209
|
+
//#endregion
|
|
210
|
+
export { PERMISSION_DIALOG_STATUS as _, CAMERA_PERMISSION_UX as a, EXPERIMENT_LIFECYCLE_STATUS as c, ID_CAPTURE_TUTORIAL_PHASE as d, MANUAL_TOOLTIP as f, MANUAL_TOOLTIP_DISMISS_DELAY_MS as g, MANUAL_TOOLTIP_DEDUPE_RULE_PER_CAPTURE as h, ID_EXPERIMENTS as i, ID_CAPTURE_LOADING_PHASE as l, MANUAL_TOOLTIP_DEDUPE_RULE_PARAM as m, CaptureFrame as n, CAMERA_WARMUP_LOADING_PHASES as o, MANUAL_TOOLTIP_DEDUPE_RULE_ONCE as p, useIdExperiment as r, CONTINUING_TUTORIAL_PHASES as s, canFlipCapturedCard as t, ID_CAPTURE_STATUS as u };
|