@incodetech/web 2.4.0 → 2.4.1-agentic.1
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-NCe8TBk4.js → GeolocationPermissionDenied-ClGp0a23.js} +13 -8
- package/dist/ae-signature/ae-signature.es.js +4 -4
- package/dist/{af-ZA-BbU0OdlG.js → af-ZA-BKpmmWDe.js} +165 -869
- package/dist/{ageVerification-B5ownHdO.js → ageVerification-CtuJDuRV.js} +11 -8
- package/dist/{am-BuvQtV50.js → am-CW_ro5Ws.js} +165 -869
- package/dist/antifraud/antifraud.es.js +5 -4
- package/dist/applyStudioConfig-C6-Ak0q6.js +127 -0
- package/dist/{ar-AE-Bdk7NfI2.js → ar-AE-D9h8UMbm.js} +165 -869
- package/dist/{ar-Ba-wMBXP.js → ar-B5ToweVl.js} +166 -870
- package/dist/{ar-EG-C9FVwsEB.js → ar-EG-DQqE9B26.js} +165 -869
- package/dist/assertClassBrand-DJr5K93j.js +17 -0
- package/dist/asset-Ctwd_20H.js +355 -0
- package/dist/authentication/authentication.es.js +7 -5
- package/dist/{autoFocusTitle-BQltp_Nn.js → autoFocusTitle-CzaCWWW5.js} +2 -2
- package/dist/{az-DHRJfgCV.js → az-DAZq-CQj.js} +165 -869
- package/dist/{back-horizontal-hint-BztyPanp.js → back-horizontal-hint-qzSaNkEU.js} +1 -1
- package/dist/{back-vertical-hint-BSzA4QbJ.js → back-vertical-hint-DkYLOege.js} +1 -1
- package/dist/base.css +1 -1
- package/dist/{baseTutorial-CL2A9XLh.js → baseTutorial-CF6WiVYt.js} +10 -7
- package/dist/{bn-BfE2MHPG.js → bn-DRTyq2Y9.js} +165 -869
- package/dist/{bottomSheet-DU4SrMOH.js → bottomSheet-DylE2INk.js} +3 -3
- package/dist/{bs-Ck9dCVYh.js → bs-B8q0B86-.js} +164 -868
- package/dist/{ca-yJUG5zqw.js → ca-DvsHXRB-.js} +164 -868
- package/dist/cameraOverlay-DNf0PEF4.js +2 -0
- package/dist/{cameraOverlayHeader-Bp7NCrl9.js → cameraOverlayHeader-CuVGnyXI.js} +9 -8
- package/dist/{cameraView-CLlWARBI.js → cameraView-D9ZxLKtA.js} +13 -14
- package/dist/capture-0jMDSGCE.js +762 -0
- package/dist/{tutorial-Bwt7rxfr.js → capture-BlGlXoTx.js} +212 -51
- package/dist/capture-DKBA5j5A.js +3 -0
- package/dist/capture-D_Dwrj1F.js +2 -0
- package/dist/captureButtonIcon-A9kn2E_m.js +1 -0
- package/dist/captureFocusContext-9789qOe3.js +729 -0
- package/dist/captureFooter-B6WUFQCV.js +47 -0
- package/dist/{ceb-oov4R9JM.js → ceb-pvlomXHV.js} +165 -869
- package/dist/certificate-issuance/certificate-issuance.es.js +23 -13
- package/dist/{check-icon-BpjpKqhJ.js → check-icon-BdHltEK6.js} +1 -1
- package/dist/{checkbox-DbYUeTao.js → checkbox-BwUQ0Rs9.js} +4 -4
- package/dist/chooser-CmG71-lh.js +1589 -0
- package/dist/connectionError-DexRpKWs.js +90 -0
- package/dist/consent/consent.es.js +19 -14
- package/dist/consent/styles.css +1 -1
- package/dist/consent/styles.css.js +1 -1
- package/dist/{countryFlag-2Vj85OIZ.js → countryFlag-CQMfCnE9.js} +1 -1
- package/dist/{countrySelector-El6_zLMs.js → countrySelector-C0OEKMqL.js} +6 -5
- package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -4
- package/dist/{cs-CZ-B9jWzmE_.js → cs-CZ-GgvnJLMj.js} +164 -868
- package/dist/{cs-ovOFxGB0.js → cs-DB5PLEdt.js} +164 -868
- package/dist/curp-validation/curp-validation.es.js +34 -19
- package/dist/curp-validation/styles.css +1 -1
- package/dist/curp-validation/styles.css.js +1 -1
- package/dist/{customFields-BlYfgYje.js → customFields-DQgRumW0.js} +17 -12
- package/dist/{customWatchlist-BsBTzCCN.js → customWatchlist-BbC0fA-6.js} +8 -7
- package/dist/{da-DK-C0l5MGWM.js → da-DK-ZhpcfE_F.js} +164 -868
- package/dist/{dashboardTheme-MVQerNVn.js → dashboardTheme-DtXsx9IK.js} +22 -23
- package/dist/{dateInputComposed-DXCc1HRe.js → dateInputComposed-1IcnucPq.js} +5 -5
- package/dist/dateInputComposed-BFlCk-sg.js +1 -0
- package/dist/{de-B0IRPjwJ.js → de-DEBjzaow.js} +164 -868
- package/dist/{denied-wXsbFjy_.js → denied-CwdVWAUw.js} +12 -9
- package/dist/devWarn-CW20j1Qd.js +9 -0
- package/dist/deviceWallet-CMjguFJO.js +37 -0
- package/dist/{digitalIdRedirect-CF7zG3wS.js → digitalIdRedirect-MNty16-5.js} +4 -4
- package/dist/{digitalIdUpload-CbPm090z.js → digitalIdUpload-CUzTaoaI.js} +39 -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-CgpHXm_8.js → documentCapture-BUMyJ8vw.js} +115 -44
- package/dist/documentCapture-rECLkwpi.js +2 -0
- package/dist/dropdownComposed-C9sLQE6i.js +1 -0
- package/dist/{dropdownComposed-qb9GgX5X.js → dropdownComposed-x3ewHxbT.js} +4 -4
- package/dist/dynamic-forms/dynamic-forms.es.js +20 -15
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekyb/styles.css +1 -1
- package/dist/ekyb/styles.css.js +1 -1
- package/dist/ekybModule-B5IEiSyi.js +2 -0
- package/dist/{ekybModule-BgZIkVVl.js → ekybModule-C5hEBLMs.js} +27 -23
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekyc/styles.css +1 -1
- package/dist/ekyc/styles.css.js +1 -1
- package/dist/ekycModule-B7OFnP3H.js +2 -0
- package/dist/{ekycModule-DEVrRrnH.js → ekycModule-TVKk0qdS.js} +71 -44
- package/dist/{el-Do7wYurZ.js → el-Dplr_D5N.js} +164 -868
- package/dist/{el-GR-BZEKLkvc.js → el-GR-IZ4reOR7.js} +164 -868
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-DE6FJfvu.js → electronic-signature-BMda_cf3.js} +49 -34
- package/dist/email/email.es.js +15 -11
- package/dist/{emailInput-Cp77LavN.js → emailInput-BI8gWC0D.js} +4 -4
- package/dist/{en-DG-Cvwm0nfj.js → en-DG-C6tsWvHi.js} +165 -869
- package/dist/{en-CJ6l68pH.js → en-Db1L_u7B.js} +165 -869
- package/dist/{errorContent-YeJNVb1U.js → errorContent-pPAgyy2i.js} +10 -7
- package/dist/es-419-DxKrJq7W.js +5 -0
- package/dist/{es-rayGAvsH.js → es-C5unKsaF.js} +164 -868
- package/dist/{es-ES-B8h3jMgN.js → es-ES-sHbsufzT.js} +164 -868
- package/dist/{es-MX-DA__jQOC.js → es-MX-Cd_DCR0A.js} +164 -868
- package/dist/{et-DvX7tm-R.js → et-BoGq2cx8.js} +165 -869
- package/dist/{expiredId-CsKNCK5M.js → expiredId-DWjw94rT.js} +12 -8
- package/dist/extensibility.es.js +100 -55
- package/dist/{fa-IR-DfrzWcH0.js → fa-IR-DuUxGXrf.js} +165 -869
- 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-B2aMz3X2.js +2 -0
- package/dist/{faceMatch-Bqspq0cw.js → faceMatch-DV7NxYu_.js} +15 -20
- package/dist/{fi-FI-CcFDkeiE.js → fi-FI-DMOBNTjA.js} +164 -868
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-BY2XXsp3.js +2 -0
- package/dist/{fieldComparison-CmQN2MEj.js → fieldComparison-CFLU1h6n.js} +15 -11
- package/dist/{fieldLabelHint-CxjArYkQ.js → fieldLabelHint-CjrLxBaj.js} +3 -3
- package/dist/{finalSuccessScreen-1Ea3wZWM.js → finalSuccessScreen-C50L96j9.js} +20 -16
- package/dist/fiscal-qr/fiscal-qr.es.js +24 -18
- package/dist/flipAnimation-8x-qdtF_.js +33 -0
- package/dist/flipCapturedCardEligibility-DLr9F2g2.js +210 -0
- package/dist/flow/flow.es.js +209 -186
- 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-DoXWcoL9.js → formField-CfQKYeGF.js} +19 -11
- package/dist/{fr-CA-CeL7RQc-.js → fr-CA-DZ8jlsp3.js} +164 -868
- package/dist/{fr-DtdqfaF8.js → fr-DSR-AP0e.js} +164 -868
- package/dist/{front-horizontal-hint-DEHmtcdg.js → front-horizontal-hint-DOphQZg2.js} +1 -1
- package/dist/{front-vertical-hint-Cb1NO-xT.js → front-vertical-hint-S6PcS9_m.js} +1 -1
- package/dist/geolocation/geolocation.es.js +15 -12
- package/dist/government-validation/government-validation.es.js +7 -6
- package/dist/{he-CPeNHo0I.js → he-N5dfJeyd.js} +165 -869
- package/dist/helpButtonConfig-CjbrBQaV.js +24 -0
- package/dist/{hi-DIbkmie6.js → hi-JR6K9zbd.js} +165 -869
- package/dist/{hmn-CscGik4W.js → hmn-j2YA7FxW.js} +165 -869
- package/dist/{homeScreen-C0j_8KKD.js → homeScreen-C3pPw52y.js} +24 -13
- package/dist/{incodeComponent-CMBg2gpq.js → hooks-BFP0WaJM.js} +192 -262
- package/dist/{hr-DWUsAZnf.js → hr-8cOdwB0t.js} +164 -868
- package/dist/{ht-DgaboG3c.js → ht-DDNL4C__.js} +165 -869
- package/dist/{hu-Lz2qVC3S.js → hu-CynQQUFQ.js} +166 -870
- package/dist/i18n-Dp014ljG.js +942 -0
- package/dist/{icons-OQDvn5r2.js → icons-c-hFaG4L.js} +153 -56
- package/dist/id/id.es.js +101 -197
- package/dist/id/styles.css +1 -1
- package/dist/id/styles.css.js +1 -1
- package/dist/{id-back-of-card-C7Au2tqk.js → id-back-of-card-Bk6ZQUE9.js} +1 -1
- package/dist/{id-back-of-card-vertical-CtQBFw8w.js → id-back-of-card-vertical-BZo00s50.js} +1 -1
- package/dist/{id-front-of-card-BmHL_keG.js → id-front-of-card-BJ96se7u.js} +1 -1
- package/dist/{id-front-of-card-vertical-DkNUn2Vx.js → id-front-of-card-vertical-DSfJB0lX.js} +1 -1
- package/dist/{id-C5eOEjgu.js → id-o_Yg0n8W.js} +165 -869
- package/dist/id-selfie-flow/id-selfie-flow.es.js +12 -11
- package/dist/id-selfie-flow/styles.css +1 -1
- package/dist/id-verification/id-verification.es.js +6 -5
- package/dist/idFlipTransition-DXdtXYza.js +158 -0
- package/dist/{idOcr-C-kHrU_d.js → idOcr-CjqfkRJ7.js} +18 -14
- package/dist/identity-reuse/identity-reuse.es.js +28 -18
- package/dist/incodeComponent-DtKh-UUm.js +237 -0
- package/dist/incodeModule-DCHXAeYU.js +41 -0
- package/dist/index.es.js +5 -3
- package/dist/{inputComposed-CR1IW-mQ.js → inputComposed-CmVsaHOa.js} +4 -4
- package/dist/inputComposed-DvGrso7g.js +1 -0
- package/dist/{it-CQGuLrxZ.js → it-BXevrtHn.js} +165 -869
- package/dist/{ja-CBD-jOkP.js → ja-DiTXnTx-.js} +165 -869
- package/dist/{ja-JP-Dgbzh2aL.js → ja-JP-D1IRWR-p.js} +166 -870
- package/dist/{jv-C-E67yDR.js → jv-Us70GzGp.js} +164 -868
- package/dist/{ka-CcCqDmzw.js → ka-BSsWQ4yU.js} +165 -869
- package/dist/{kk-B_5WgCfa.js → kk-D5R6r4H7.js} +164 -868
- package/dist/{km-CucJh4em.js → km-CCCb2Rnt.js} +171 -875
- package/dist/{ko-KP-BSjl3hdX.js → ko-KP-JF4khv1Y.js} +165 -869
- package/dist/{ko-BEd2Jz4C.js → ko-kQioCg2w.js} +165 -869
- package/dist/{ky-Bb9MfmYr.js → ky-CLOemVjC.js} +164 -868
- 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-C6Y9Hxpr.js +329 -0
- package/dist/kybChecksModule-r3MIpFhS.js +2 -0
- package/dist/{lo-CD_Ehkf5.js → lo-tzHUt1CQ.js} +165 -869
- package/dist/{lt-DHkwvJ8e.js → lt-B2ZI-Cgu.js} +165 -869
- package/dist/{lv-CPuPO_jU.js → lv-BJnxtSYw.js} +165 -869
- package/dist/{mandatoryConsent-BHMWyBUp.js → mandatoryConsent-BiQuEZRu.js} +23 -16
- package/dist/{manualCaptureButton-D_tGP6tv.js → manualCaptureButton-BRSmPTeR.js} +8 -7
- package/dist/{manualCaptureButton-D5XP3Oaf.js → manualCaptureButton-Dw0MMSkc.js} +17 -12
- package/dist/{mk-DO85nJp4.js → mk-Cj7Iw2Q4.js} +165 -869
- package/dist/{mn-D5fhne6X.js → mn-CA_rNxtz.js} +164 -868
- package/dist/{ms-D_FFGDor.js → ms-BydA1Zjz.js} +164 -868
- package/dist/{my-D1JKF20F.js → my-gFKufKaG.js} +165 -869
- package/dist/{nb-NO-oEMuavpl.js → nb-NO-CDsGQbOZ.js} +164 -868
- package/dist/{ne-Ds3QEMQ4.js → ne-Cyfi0vFI.js} +165 -869
- package/dist/{nl-DGyLucC1.js → nl-e1gbmAFO.js} +165 -869
- package/dist/{numberedStep-CvbL3ht2.js → numberedStep-CeN77hnQ.js} +1 -1
- package/dist/{optionAccessibleLabel-SwDCMYKc.js → optionAccessibleLabel-BTUieMxH.js} +8 -7
- package/dist/{otpInput-DIUf37GR.js → otpInput-D3L3QhnR.js} +24 -17
- package/dist/{page-BGUJaLaG.js → page-U6jZ7BBI.js} +85 -58
- package/dist/{incode-logo-BBYHyycP.js → pageUiConfig-Qf6ItVv9.js} +28 -4
- package/dist/{passport-horizontal-hint-DgNc6F0-.js → passport-horizontal-hint-Ddsh6fUS.js} +1 -1
- package/dist/{passport-vertical-hint-B-toVsfT.js → passport-vertical-hint-Dukxq6-T.js} +1 -1
- package/dist/{passwordInputComposed-Cd-3kyua.js → passwordInputComposed-CW_1DcB8.js} +5 -5
- package/dist/{pdf-BKHLi5Ac.js → pdf-Bd5QplFS.js} +2 -17
- package/dist/{pdfViewer-EDgSzrdc.js → pdfViewer-BrqSEtbr.js} +11 -14
- package/dist/pdfViewer-rDnnHzmw.js +2 -0
- package/dist/{permissions-Vh-QG2Tj.js → permissions-KUDhffd9.js} +36 -23
- package/dist/phone/phone.es.js +16 -12
- package/dist/{phoneInputComposed-wZaDiedP.js → phoneInputComposed-DlJMTavK.js} +49 -12
- package/dist/{pl-nEtI_VZQ.js → pl-BSMcCWS-.js} +164 -868
- package/dist/preloadableLazy-C8_OYaTC.js +37 -0
- package/dist/{processing-SzW6Mfrg.js → processing-B5EH7yNg.js} +2 -2
- package/dist/{progressBar-KEnpi8uj.js → progressBar-CSpS29pV.js} +2 -2
- package/dist/{pt-EmaaUJGm.js → pt-BNFC2quK.js} +165 -869
- package/dist/{pt-BR-BkLAWIbx.js → pt-BR-bH8DC2gH.js} +165 -869
- package/dist/{pt-PT-Py_4_Z05.js → pt-PT-B8PXmgwU.js} +165 -869
- package/dist/qe-signature/qe-signature.es.js +4 -4
- package/dist/{radioGroupComposed-CRr_78He.js → radioGroupComposed-CW8ElYSR.js} +4 -4
- package/dist/radioGroupComposed-flIYNffL.js +1 -0
- package/dist/realtimeFeedbackConfig-tBX94SOm.js +16 -0
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +51 -50
- package/dist/redirect-to-mobile/styles.css +1 -1
- package/dist/redirect-to-mobile/styles.css.js +1 -1
- package/dist/{registerIncodeElement-D_cn4dSI.js → registerIncodeElement-oiLvm6xq.js} +1 -1
- package/dist/{reload-icon-elAFo9-k.js → reload-icon-FD2e9Wet.js} +1 -1
- package/dist/{resendTimer-EhLnxeID.js → resendTimer-D1H3gwkI.js} +2 -2
- package/dist/richText-sUdTiRDE.js +1761 -0
- package/dist/{ro-BKmZhZl1.js → ro-DnN8QNYa.js} +165 -869
- package/dist/{ru-BYQKvZtn.js → ru-DAwUFXHq.js} +165 -869
- package/dist/{ru-RU-BdhCs3uF.js → ru-RU-Coxt0VCU.js} +164 -868
- package/dist/{sanitizeSvg-BC-qLUgS.js → sanitizeSvg-OdNh1mqY.js} +1 -1
- package/dist/selfie/selfie.es.js +36 -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-CZipa19k.js → sk-AB8sSlNw.js} +166 -870
- package/dist/{sl-_sx3gvEv.js → sl-6Dfzfi7s.js} +165 -869
- package/dist/{smsTabContent-DHuEgl3E.js → smsTabContent-CBEKgzFv.js} +32 -23
- package/dist/{so-D3T7YyfC.js → so-X5BdrDvV.js} +165 -869
- package/dist/spacer-Jaru_3sb.js +82 -0
- package/dist/spinner-51btbot0.js +407 -0
- package/dist/{sr-D0lglPAd.js → sr-JHjMcbGs.js} +164 -868
- package/dist/{sr-Latn-Dy2rgSEv.js → sr-Latn-DgT7eTG2.js} +171 -875
- package/dist/sr-YU-BBhB_G63.js +5 -0
- package/dist/{sv-SE-VsDd4VP5.js → sv-SE-CvX8mC8T.js} +164 -868
- package/dist/{sw-D2VfTj6a.js → sw-CN0TdnY4.js} +165 -869
- package/dist/{th-BzmKSnbD.js → th-BmFntKib.js} +165 -869
- package/dist/{th-TH-BU_NqN97.js → th-TH-CWr4z3JK.js} +165 -869
- package/dist/themes/dark.css +1 -1
- package/dist/themes/light.css +1 -1
- package/dist/{tl-PH-BJJNA9rs.js → tl-PH-BRIbtBRN.js} +165 -869
- package/dist/{tl-GXkKKnzb.js → tl-rzkk5P_n.js} +165 -869
- package/dist/{tr-C1MJnwIJ.js → tr-DKuVBwqW.js} +166 -870
- package/dist/{transitionSpinner-Bkjw-WAJ.js → transitionSpinner-Di0XBAix.js} +5 -4
- package/dist/tutorial-C9psDR2i.js +28 -0
- package/dist/types/ae-signature.d.ts +10 -1
- package/dist/types/antifraud.d.ts +10 -1
- package/dist/types/authentication.d.ts +10 -1
- package/dist/types/certificate-issuance.d.ts +10 -1
- package/dist/types/consent.d.ts +10 -1
- package/dist/types/cross-document-data-match.d.ts +10 -1
- package/dist/types/curp-validation.d.ts +10 -1
- package/dist/types/document-capture.d.ts +10 -1
- package/dist/types/dynamic-forms.d.ts +10 -1
- package/dist/types/ekyb.d.ts +10 -1
- package/dist/types/ekyc.d.ts +10 -1
- package/dist/types/electronic-signature.d.ts +10 -1
- package/dist/types/email.d.ts +10 -1
- package/dist/types/extensibility.d.ts +147 -21
- package/dist/types/face-match.d.ts +10 -1
- package/dist/types/field-comparison.d.ts +10 -1
- package/dist/types/fiscal-qr.d.ts +10 -1
- package/dist/types/flow.d.ts +22 -2
- package/dist/types/geolocation.d.ts +10 -1
- package/dist/types/government-validation.d.ts +10 -1
- package/dist/types/id-selfie-flow.d.ts +10 -1
- package/dist/types/id-verification.d.ts +10 -1
- package/dist/types/id.d.ts +10 -1
- package/dist/types/identity-reuse.d.ts +10 -1
- package/dist/types/index.d.ts +92 -10
- package/dist/types/kyb-checks.d.ts +209 -0
- package/dist/types/phone.d.ts +10 -1
- package/dist/types/qe-signature.d.ts +10 -1
- package/dist/types/redirect-to-mobile.d.ts +1 -1
- package/dist/types/selfie.d.ts +10 -1
- package/dist/types/signature.d.ts +10 -1
- package/dist/types/video-selfie.d.ts +1 -1
- package/dist/types/watchlist.d.ts +10 -1
- package/dist/types/workflow.d.ts +10 -1
- package/dist/{typography-DKXgPZsU.js → typography-CiGhKJGx.js} +2 -2
- package/dist/uiConfig-BJAuZQWc.js +77 -0
- package/dist/{uk-DFL26I5l.js → uk-CXjqq4lX.js} +164 -868
- package/dist/{uk-UA-3o9Xbam-.js → uk-UA-BIE9WByU.js} +165 -869
- package/dist/{ur-DXJAfyQA.js → ur-vNGesC3r.js} +165 -869
- package/dist/useCameraPreview-Bd7AYE9h.js +93 -0
- package/dist/useCaptureHelpButton-Dj-jESrS.js +43 -0
- package/dist/useIsDarkTheme-Bu9CvKxW.js +27 -0
- package/dist/{useModuleLoader-BdIp6TNQ.js → useModuleLoader-BBCNkJmc.js} +2 -2
- package/dist/{uz-BXvj8vlH.js → uz-Gmw1XRgv.js} +165 -869
- package/dist/{vendor-preact-C0jX1Cbq.js → vendor-preact-DHGqBGMH.js} +19 -1
- package/dist/{verificationResult-BVrKFRMf.js → verificationResult-Clxdxm_s.js} +18 -10
- package/dist/{vi-DRfsxu1a.js → vi-DTxxRUw0.js} +165 -869
- 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 +103 -67
- package/dist/watchlist/watchlist.es.js +8 -7
- package/dist/{watchlistForBusiness-CyAmoIrv.js → watchlistForBusiness-CpFp2EYX.js} +44 -14
- package/dist/{withEndScreenTexts-MHocOODe.js → withEndScreenTexts-Bd3mof3s.js} +225 -45
- package/dist/workflow/styles.css +1 -1
- package/dist/workflow/workflow.es.js +32 -21
- package/dist/{zh-CN-DMfj1_Nh.js → zh-CN-aB48G_R1.js} +164 -868
- package/dist/{zh-Ct8GKGhw.js → zh-DjtyfO4e.js} +164 -868
- package/dist/{zh-HANT-NZFdeKuE.js → zh-HANT-8p8SH8C3.js} +165 -869
- package/dist/{zh-TW-8wkrOHM8.js → zh-TW-CCsz9gKq.js} +165 -869
- package/package.json +35 -10
- package/dist/browser-ponyfill-DT11p-Ob.js +0 -441
- package/dist/cameraOverlay-CBTjtbNP.js +0 -2
- package/dist/connectionError-DX3wd4vm.js +0 -45
- package/dist/dateInputComposed-BzW0cv1o.js +0 -1
- package/dist/deviceWallet-CImevqFB.js +0 -66
- package/dist/documentCapture-CmWd-wNL.js +0 -2
- package/dist/dropdownComposed-B76j7pz9.js +0 -1
- package/dist/ekybModule-Bshc_ANM.js +0 -2
- package/dist/ekycModule-MmJYwp1l.js +0 -2
- package/dist/es-419-DlCbbvcc.js +0 -3145
- package/dist/esm-15CISqPe.js +0 -430
- package/dist/faceMatch-BVSCpwmA.js +0 -2
- package/dist/fieldComparison-nFj9pSeZ.js +0 -2
- package/dist/flipAnimation-DY9K2zel.js +0 -3048
- package/dist/incodeModule-D6oey1Mb.js +0 -68
- package/dist/inputComposed-45HxIMO0.js +0 -1
- package/dist/pdfViewer-CFkuHOV4.js +0 -2
- package/dist/radioGroupComposed-DJ71F9KK.js +0 -1
- package/dist/richText-aCnLd3j2.js +0 -1549
- package/dist/spacer-BvrtrwSF.js +0 -741
- package/dist/spinner-CkN8sW0d.js +0 -88
- package/dist/sr-YU-UEhyvXZ-.js +0 -3149
- package/dist/statusPage-3zRxvkSE.js +0 -36
- package/dist/uiConfig-BA7U_zLr.js +0 -2589
- package/dist/useCaptureHelpButton-CSG3fO48.js +0 -86
- package/dist/useCoverMedia-VLw3OYN_.js +0 -149
- /package/dist/{aligndevicelottie-BARt-rhe.js → aligndevicelottie-BEKzL4SB.js} +0 -0
- /package/dist/{back-tutorial-CZrMmj1_.js → back-tutorial-B9W63fa-.js} +0 -0
- /package/dist/{backdevicelottie-CIM3ekd8.js → backdevicelottie-DsN8QBV3.js} +0 -0
- /package/dist/{blurdevicelottie-BRyXfLB6.js → blurdevicelottie-DkV7Kwo4.js} +0 -0
- /package/dist/{countryDefinitions-BO9OSKQO.js → countryDefinitions-RBVGM1D_.js} +0 -0
- /package/dist/{defineProperty-CjeJoXkx.js → defineProperty-E9wRIIo9.js} +0 -0
- /package/dist/{flip-animation-BU5LNKYx.js → flip-animation-DJVnWWL5.js} +0 -0
- /package/dist/{frontdevicelottie-arpyu_Fz.js → frontdevicelottie-DiW1Wmya.js} +0 -0
- /package/dist/{glaredevicelottie-TwTFxe7h.js → glaredevicelottie-CK-fnX_s.js} +0 -0
- /package/dist/{id-laser-h-Dr-hBxrq.js → id-laser-h-6Am_cjM8.js} +0 -0
- /package/dist/{id-laser-v-D_r0QNY8.js → id-laser-v-DXoF3flH.js} +0 -0
- /package/dist/{id-tutorial-DM9Pkfs-.js → id-tutorial-DkKH3eTE.js} +0 -0
- /package/dist/{lottie_light-aMg9Q9iO.js → lottie_light-B819EhaL.js} +0 -0
- /package/dist/{passport-tutorial-CKZZuDf_.js → passport-tutorial-D3Fpk-Tj.js} +0 -0
- /package/dist/{pdf.worker.min-BM1b2w9V.js → pdf.worker.min-DzBNMoKS.js} +0 -0
- /package/dist/{policyUrls-B3M8nLRh.js → policyUrls-Benduf-R.js} +0 -0
- /package/dist/{purify.es-0fCPkEV1.js → purify.es-CSPoFViI.js} +0 -0
- /package/dist/{selfieTutorial-Dz6lDFMn.js → selfieTutorial-DnsRD1Z9.js} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FieldComparison } from "../fieldComparison-
|
|
1
|
+
import { t as FieldComparison } from "../fieldComparison-CFLU1h6n.js";
|
|
2
2
|
export { FieldComparison };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as Spacer } from "./spacer-
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
1
|
+
import { i as useTranslation } from "./i18n-Dp014ljG.js";
|
|
2
|
+
import { b as u } from "./vendor-preact-DHGqBGMH.js";
|
|
3
|
+
import { x as PrizmaButton } from "./icons-c-hFaG4L.js";
|
|
4
|
+
import { n as cn, t as Spacer } from "./spacer-Jaru_3sb.js";
|
|
5
|
+
import { t as Page } from "./page-U6jZ7BBI.js";
|
|
6
|
+
import { g as useModuleTerminalCallbacks, t as withStandaloneModuleBootstrap, v as useManager } from "./hooks-BFP0WaJM.js";
|
|
7
|
+
import { t as IncodeComponent } from "./incodeComponent-DtKh-UUm.js";
|
|
8
|
+
import { t as VerificationResult } from "./verificationResult-Clxdxm_s.js";
|
|
9
|
+
import { t as InputComposed } from "./inputComposed-CmVsaHOa.js";
|
|
10
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-DCHXAeYU.js";
|
|
10
11
|
import { createFieldComparisonManager } from "@incodetech/core/field-comparison";
|
|
11
12
|
//#region src/modules/field-comparison/fieldComparison.tsx
|
|
12
13
|
var FieldComparisonContent = ({ config, manager: externalManager, onFinish }) => {
|
|
@@ -84,11 +85,14 @@ var FieldComparisonContent = ({ config, manager: externalManager, onFinish }) =>
|
|
|
84
85
|
}
|
|
85
86
|
}),
|
|
86
87
|
/* @__PURE__ */ u(Spacer, {}),
|
|
87
|
-
/* @__PURE__ */ u(
|
|
88
|
+
/* @__PURE__ */ u(PrizmaButton, {
|
|
89
|
+
variant: "primary",
|
|
90
|
+
size: "L",
|
|
91
|
+
className: cn("IncodeButton IncodeButtonPrimary IncodeButtonL", isDisabled && "IncodeButtonLoading"),
|
|
88
92
|
type: "submit",
|
|
89
93
|
"data-testid": "field-comparison-submit",
|
|
90
94
|
disabled: !canSubmit || isDisabled,
|
|
91
|
-
|
|
95
|
+
loading: isDisabled,
|
|
92
96
|
onClick: handleSubmit,
|
|
93
97
|
children: t("common.continue")
|
|
94
98
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as M, b as u, w as k } from "./vendor-preact-DHGqBGMH.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,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as Page } from "./page-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { n as
|
|
12
|
-
import {
|
|
1
|
+
import { i as useTranslation } from "./i18n-Dp014ljG.js";
|
|
2
|
+
import { _ as q, b as u, l as A, m as d, w as k, y } from "./vendor-preact-DHGqBGMH.js";
|
|
3
|
+
import { r as SuccessIcon, u as ErrorIcon, x as PrizmaButton } from "./icons-c-hFaG4L.js";
|
|
4
|
+
import { n as cn } from "./spacer-Jaru_3sb.js";
|
|
5
|
+
import { t as AutoFocusTitle } from "./autoFocusTitle-CzaCWWW5.js";
|
|
6
|
+
import { t as Page } from "./page-U6jZ7BBI.js";
|
|
7
|
+
import { r as Modal } from "./pageUiConfig-Qf6ItVv9.js";
|
|
8
|
+
import { l as useTimeoutHandle } from "./hooks-BFP0WaJM.js";
|
|
9
|
+
import { t as Asset } from "./asset-Ctwd_20H.js";
|
|
10
|
+
import { n as LoadingIcon, o as Lottie } from "./spinner-51btbot0.js";
|
|
11
|
+
import { n as CameraFrame } from "./cameraView-D9ZxLKtA.js";
|
|
12
|
+
import { t as ManualCaptureButton } from "./manualCaptureButton-BRSmPTeR.js";
|
|
13
|
+
import { n as CaptureNotification, t as ManualCaptureButton$1 } from "./manualCaptureButton-Dw0MMSkc.js";
|
|
13
14
|
import { resolveVideoSelfieSteps } from "@incodetech/core/video-selfie";
|
|
15
|
+
import { checkCameraPermission, requestCameraPermission } from "@incodetech/core/camera";
|
|
14
16
|
//#region src/modules/video-selfie/useVideoSelfiePermissions.ts
|
|
15
17
|
/**
|
|
16
18
|
* Drives the shared camera `<Permissions>` screen for Video Selfie. Mirrors the
|
|
@@ -175,10 +177,12 @@ var VideoSelfieTutorial = ({ config, steps, copy, onStart, isLoading }) => {
|
|
|
175
177
|
})
|
|
176
178
|
}), /* @__PURE__ */ u("div", {
|
|
177
179
|
class: "IncodeVideoSelfieTutorialActions",
|
|
178
|
-
children: /* @__PURE__ */ u(
|
|
179
|
-
|
|
180
|
+
children: /* @__PURE__ */ u(PrizmaButton, {
|
|
181
|
+
variant: "primary",
|
|
182
|
+
size: "L",
|
|
183
|
+
className: cn("IncodeButton IncodeButtonPrimary IncodeButtonL IncodeVideoSelfieTutorialStartButton", isLoading && "IncodeButtonLoading"),
|
|
180
184
|
onClick: onStart,
|
|
181
|
-
isLoading,
|
|
185
|
+
loading: isLoading,
|
|
182
186
|
children: copy?.startLabel ?? t("videoSelfie.tutorial.startVideoSelfie", { defaultValue: "Start video selfie" })
|
|
183
187
|
})
|
|
184
188
|
})]
|
|
@@ -273,7 +277,7 @@ var SelfieMask = ({ variant = "idle", message, onManualCapture }) => {
|
|
|
273
277
|
//#region src/modules/video-selfie/idFlipModal.tsx
|
|
274
278
|
var animationPromise = null;
|
|
275
279
|
function loadIdFlipAnimation() {
|
|
276
|
-
animationPromise ??= import("./flip-animation-
|
|
280
|
+
animationPromise ??= import("./flip-animation-DJVnWWL5.js").then((module) => module.default);
|
|
277
281
|
return animationPromise;
|
|
278
282
|
}
|
|
279
283
|
function preloadIdFlipAnimation() {
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as Spacer } from "../spacer-
|
|
5
|
-
import { t as
|
|
6
|
-
import "../
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import { t as
|
|
10
|
-
import {
|
|
11
|
-
import { n as
|
|
12
|
-
import "../
|
|
13
|
-
import
|
|
1
|
+
import { i as useTranslation } from "../i18n-Dp014ljG.js";
|
|
2
|
+
import { b as u, c as z, o as P } from "../vendor-preact-DHGqBGMH.js";
|
|
3
|
+
import { x as PrizmaButton } from "../icons-c-hFaG4L.js";
|
|
4
|
+
import { t as Spacer } from "../spacer-Jaru_3sb.js";
|
|
5
|
+
import { t as Page } from "../page-U6jZ7BBI.js";
|
|
6
|
+
import { g as useModuleTerminalCallbacks, t as withStandaloneModuleBootstrap, v as useManager } from "../hooks-BFP0WaJM.js";
|
|
7
|
+
import { t as Spinner } from "../spinner-51btbot0.js";
|
|
8
|
+
import "../transitionSpinner-Di0XBAix.js";
|
|
9
|
+
import { t as IncodeComponent } from "../incodeComponent-DtKh-UUm.js";
|
|
10
|
+
import { t as VerificationResult } from "../verificationResult-Clxdxm_s.js";
|
|
11
|
+
import { n as CameraFrame, t as CameraView } from "../cameraView-D9ZxLKtA.js";
|
|
12
|
+
import { n as CameraOverlay, t as CameraOverlayHeader } from "../cameraOverlayHeader-CuVGnyXI.js";
|
|
13
|
+
import "../cameraOverlay-DNf0PEF4.js";
|
|
14
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-DCHXAeYU.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")
|
|
@@ -202,7 +205,7 @@ var FiscalQrLoading = () => /* @__PURE__ */ u(Page, {
|
|
|
202
205
|
});
|
|
203
206
|
//#endregion
|
|
204
207
|
//#region src/modules/fiscal-qr/fiscal-qr.tsx
|
|
205
|
-
var Denied = z(() => import("../denied-
|
|
208
|
+
var Denied = z(() => import("../denied-CwdVWAUw.js").then((module) => ({ default: module.Denied })));
|
|
206
209
|
var FiscalQrContent = ({ config, manager: externalManager, onFinish }) => {
|
|
207
210
|
const { t } = useTranslation();
|
|
208
211
|
const [state, manager] = useManager(() => externalManager ?? createFiscalQrManager({ config: config ?? {} }), {
|
|
@@ -246,7 +249,10 @@ var FiscalQrContent = ({ config, manager: externalManager, onFinish }) => {
|
|
|
246
249
|
children: [
|
|
247
250
|
/* @__PURE__ */ u(fiscalQrIcon, {}),
|
|
248
251
|
/* @__PURE__ */ u(Spacer, {}),
|
|
249
|
-
/* @__PURE__ */ u(
|
|
252
|
+
/* @__PURE__ */ u(PrizmaButton, {
|
|
253
|
+
variant: "primary",
|
|
254
|
+
size: "L",
|
|
255
|
+
className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
|
|
250
256
|
onClick: () => manager.continue(),
|
|
251
257
|
"data-testid": "fiscal-qr-continue",
|
|
252
258
|
children: t("common.continue")
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { i as useTranslation } from "./i18n-Dp014ljG.js";
|
|
2
|
+
import { _ as q, b as u } from "./vendor-preact-DHGqBGMH.js";
|
|
3
|
+
import { t as Spacer } from "./spacer-Jaru_3sb.js";
|
|
4
|
+
import { t as Title } from "./typography-CiGhKJGx.js";
|
|
5
|
+
import { r as AnimatedAsset } from "./spinner-51btbot0.js";
|
|
6
|
+
//#region src/modules/id/flipAnimation.tsx
|
|
7
|
+
var FlipAnimation = ({ manager, direction }) => {
|
|
8
|
+
const { t } = useTranslation();
|
|
9
|
+
const handleAnimationComplete = q(async () => {
|
|
10
|
+
await new Promise((resolve) => setTimeout(resolve, 1e3));
|
|
11
|
+
if (direction === "toBack") manager.continueToBack();
|
|
12
|
+
else manager.continueToFront();
|
|
13
|
+
}, [direction, manager]);
|
|
14
|
+
return /* @__PURE__ */ u("div", {
|
|
15
|
+
class: "IncodeFlipAnimation",
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ u(Title, {
|
|
18
|
+
role: "status",
|
|
19
|
+
className: "IncodeFlipAnimationTitle",
|
|
20
|
+
children: t(direction === "toBack" ? "idv2.flipAnimation.title" : "idv2.flipAnimation.titleToFront")
|
|
21
|
+
}),
|
|
22
|
+
/* @__PURE__ */ u(Spacer, { size: 32 }),
|
|
23
|
+
/* @__PURE__ */ u(AnimatedAsset, {
|
|
24
|
+
name: "id.flip",
|
|
25
|
+
loop: false,
|
|
26
|
+
reverse: direction === "toFront",
|
|
27
|
+
onComplete: handleAnimationComplete
|
|
28
|
+
})
|
|
29
|
+
]
|
|
30
|
+
});
|
|
31
|
+
};
|
|
32
|
+
//#endregion
|
|
33
|
+
export { FlipAnimation as t };
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { b as u, d as T, y } from "./vendor-preact-DHGqBGMH.js";
|
|
2
|
+
import "./icons-c-hFaG4L.js";
|
|
3
|
+
import { n as cn } from "./spacer-Jaru_3sb.js";
|
|
4
|
+
import { a as useFeatureManagement } from "./hooks-BFP0WaJM.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 };
|