@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,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as
|
|
3
|
-
import {
|
|
4
|
-
import { t as InputComposed } from "./inputComposed-
|
|
5
|
-
import { n as translateError } from "./formField-
|
|
6
|
-
import { t as BottomSheet } from "./bottomSheet-
|
|
1
|
+
import { i as useTranslation } from "./i18n-Dp014ljG.js";
|
|
2
|
+
import { _ as q, b as u, l as A, m as d, y } from "./vendor-preact-DHGqBGMH.js";
|
|
3
|
+
import { f as useIsMobileDeviceWidth } from "./hooks-BFP0WaJM.js";
|
|
4
|
+
import { t as InputComposed } from "./inputComposed-CmVsaHOa.js";
|
|
5
|
+
import { n as translateError } from "./formField-CfQKYeGF.js";
|
|
6
|
+
import { t as BottomSheet } from "./bottomSheet-DylE2INk.js";
|
|
7
7
|
//#region src/shared/addressAutocomplete/addressAutocomplete.tsx
|
|
8
|
-
var AddressAutocomplete = ({ label, value, error, errorParams, suggestions, readonly, required, labelHint, onChange, onSearch, onSelect, onBlur }) => {
|
|
8
|
+
var AddressAutocomplete = ({ label, value, error, errorParams, suggestions, readonly, disabled, required, labelHint, onChange, onSearch, onSelect, onBlur }) => {
|
|
9
9
|
const { t } = useTranslation();
|
|
10
10
|
const [showSuggestions, setShowSuggestions] = d(false);
|
|
11
11
|
const [isModalOpen, setIsModalOpen] = d(false);
|
|
@@ -97,6 +97,7 @@ var AddressAutocomplete = ({ label, value, error, errorParams, suggestions, read
|
|
|
97
97
|
name: "street",
|
|
98
98
|
value,
|
|
99
99
|
readOnly: readonly,
|
|
100
|
+
disabled,
|
|
100
101
|
required,
|
|
101
102
|
error: translateError(t, error, errorParams),
|
|
102
103
|
onInput: (e) => handleInput(e.target.value),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as InputComposed } from "./inputComposed-
|
|
6
|
-
import "./inputComposed-
|
|
7
|
-
import { n as useResendTimerAnnouncements, t as formatResendTimer } from "./resendTimer-
|
|
1
|
+
import { i as useTranslation } from "./i18n-Dp014ljG.js";
|
|
2
|
+
import { _ as q, b as u, l as A, y } 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 InputComposed } from "./inputComposed-CmVsaHOa.js";
|
|
6
|
+
import "./inputComposed-DvGrso7g.js";
|
|
7
|
+
import { n as useResendTimerAnnouncements, t as formatResendTimer } from "./resendTimer-D1H3gwkI.js";
|
|
8
8
|
//#region src/shared/otpInput/otpInput.tsx
|
|
9
9
|
var normalizeOtp = (value, maxLength) => {
|
|
10
10
|
return value.replace(/[^a-zA-Z0-9]/g, "").toUpperCase().slice(0, maxLength);
|
|
@@ -68,8 +68,10 @@ var OtpInput = ({ value, otpLength, resendTimer, canResend, error, validationErr
|
|
|
68
68
|
if (!canResend && resendTimer > 0) return /* @__PURE__ */ u("div", {
|
|
69
69
|
class: "IncodeOtpInputActions",
|
|
70
70
|
"data-testid": "otp-timer",
|
|
71
|
-
children: /* @__PURE__ */ u(
|
|
72
|
-
|
|
71
|
+
children: /* @__PURE__ */ u(PrizmaButton, {
|
|
72
|
+
size: "L",
|
|
73
|
+
className: "IncodeButton IncodeButtonLink IncodeButtonL",
|
|
74
|
+
variant: "tertiary-link",
|
|
73
75
|
disabled: true,
|
|
74
76
|
children: t("otp.resendCountdown", { time: formatResendTimer(resendTimer) })
|
|
75
77
|
})
|
|
@@ -91,21 +93,23 @@ var OtpInput = ({ value, otpLength, resendTimer, canResend, error, validationErr
|
|
|
91
93
|
"data-testid": "otp-resend-section",
|
|
92
94
|
children: [
|
|
93
95
|
t("otp.didYouNotGetIt"),
|
|
94
|
-
/* @__PURE__ */ u(
|
|
95
|
-
variant: "link",
|
|
96
|
-
size: "
|
|
96
|
+
/* @__PURE__ */ u(PrizmaButton, {
|
|
97
|
+
variant: "tertiary-link",
|
|
98
|
+
size: "L",
|
|
97
99
|
onClick: handleResend,
|
|
98
100
|
disabled: disabled || !canResend,
|
|
99
101
|
"data-testid": "otp-resend",
|
|
102
|
+
className: "IncodeButton IncodeButtonLink IncodeButtonInline",
|
|
100
103
|
children: t("otp.resendCode")
|
|
101
104
|
}),
|
|
102
105
|
` ${t("otp.or")} `,
|
|
103
|
-
/* @__PURE__ */ u(
|
|
104
|
-
variant: "link",
|
|
105
|
-
size: "
|
|
106
|
+
/* @__PURE__ */ u(PrizmaButton, {
|
|
107
|
+
variant: "tertiary-link",
|
|
108
|
+
size: "L",
|
|
106
109
|
onClick: handleBack,
|
|
107
110
|
disabled,
|
|
108
111
|
"data-testid": "otp-back",
|
|
112
|
+
className: "IncodeButton IncodeButtonLink IncodeButtonInline",
|
|
109
113
|
children: t(backLinkText)
|
|
110
114
|
})
|
|
111
115
|
]
|
|
@@ -141,10 +145,13 @@ var OtpInput = ({ value, otpLength, resendTimer, canResend, error, validationErr
|
|
|
141
145
|
showErrorIcon: true
|
|
142
146
|
}),
|
|
143
147
|
/* @__PURE__ */ u(Spacer, {}),
|
|
144
|
-
/* @__PURE__ */ u(
|
|
148
|
+
/* @__PURE__ */ u(PrizmaButton, {
|
|
149
|
+
variant: "primary",
|
|
150
|
+
size: "L",
|
|
151
|
+
className: cn("IncodeButton IncodeButtonPrimary IncodeButtonL", isLoading && "IncodeButtonLoading"),
|
|
145
152
|
onClick: handleSubmitClick,
|
|
146
153
|
disabled: disabled || isLoading || !isValid,
|
|
147
|
-
isLoading,
|
|
154
|
+
loading: isLoading,
|
|
148
155
|
"data-testid": "otp-submit",
|
|
149
156
|
children: t("common.continue")
|
|
150
157
|
}),
|
|
@@ -1,20 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { S as
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
1
|
+
import { i as useTranslation } from "./i18n-Dp014ljG.js";
|
|
2
|
+
import { S as Q, a as M, b as u, g as h, i as D, l as A, m as d, v as x, w as k, y } from "./vendor-preact-DHGqBGMH.js";
|
|
3
|
+
import { i as useUiConfig } from "./uiConfig-BJAuZQWc.js";
|
|
4
|
+
import "./devWarn-CW20j1Qd.js";
|
|
5
|
+
import { t as DEFAULT_HELP_BUTTON_POSITION } from "./helpButtonConfig-CjbrBQaV.js";
|
|
6
|
+
import { f as CloseIcon, x as PrizmaButton } from "./icons-c-hFaG4L.js";
|
|
7
|
+
import { n as cn, t as Spacer } from "./spacer-Jaru_3sb.js";
|
|
8
|
+
import { n as incode_logo_default, r as Modal, t as usePageUiConfig } from "./pageUiConfig-Qf6ItVv9.js";
|
|
6
9
|
//#region src/shared/closeButton/closeButton.tsx
|
|
7
10
|
/** The "X" button that cancels the current module. Purely presentational. */
|
|
8
11
|
var CloseButton = D(({ onClick, ariaLabel, class: className, size = "S", iconSize = 24, color = "var(--icon-neutral-500)", "data-testid": dataTestId }, ref) => {
|
|
9
|
-
return /* @__PURE__ */ u(
|
|
12
|
+
return /* @__PURE__ */ u(PrizmaButton, {
|
|
13
|
+
...size === "L" || size === "inline" ? {
|
|
14
|
+
variant: "tertiary-link",
|
|
15
|
+
size: "L"
|
|
16
|
+
} : {
|
|
17
|
+
variant: "icon",
|
|
18
|
+
size
|
|
19
|
+
},
|
|
10
20
|
ref,
|
|
11
|
-
size,
|
|
12
|
-
variant: "link",
|
|
13
21
|
onClick,
|
|
14
22
|
"aria-label": ariaLabel,
|
|
15
|
-
|
|
23
|
+
className: cn("IncodeButton IncodeButtonLink IncodeButtonIconOnly IncodeCloseButton", size === "inline" ? "IncodeButtonInline" : `IncodeButton${size}`, className),
|
|
16
24
|
"data-testid": dataTestId,
|
|
17
|
-
|
|
25
|
+
children: /* @__PURE__ */ u(CloseIcon, {
|
|
18
26
|
width: iconSize,
|
|
19
27
|
height: iconSize,
|
|
20
28
|
fillColor: color
|
|
@@ -35,12 +43,16 @@ function QuitConfirmDialog({ open, onOpenChange, onConfirm, returnFocusRef }) {
|
|
|
35
43
|
onOpenChange,
|
|
36
44
|
returnFocusRef,
|
|
37
45
|
"data-testid": "quit-confirm-dialog",
|
|
38
|
-
children: /* @__PURE__ */ u(Modal.Content, { children: [/* @__PURE__ */ u(Modal.TitleSection, { children: /* @__PURE__ */ u(Modal.Title, { children: t("page.close.confirmQuit") }) }), /* @__PURE__ */ u(Modal.Actions, { children: [/* @__PURE__ */ u(
|
|
46
|
+
children: /* @__PURE__ */ u(Modal.Content, { children: [/* @__PURE__ */ u(Modal.TitleSection, { children: /* @__PURE__ */ u(Modal.Title, { children: t("page.close.confirmQuit") }) }), /* @__PURE__ */ u(Modal.Actions, { children: [/* @__PURE__ */ u(PrizmaButton, {
|
|
47
|
+
size: "L",
|
|
48
|
+
className: "IncodeButton IncodeButtonSecondary IncodeButtonL",
|
|
39
49
|
variant: "secondary",
|
|
40
50
|
onClick: () => onOpenChange(false),
|
|
41
51
|
"data-testid": "quit-confirm-cancel",
|
|
42
52
|
children: t("page.close.cancel")
|
|
43
|
-
}), /* @__PURE__ */ u(
|
|
53
|
+
}), /* @__PURE__ */ u(PrizmaButton, {
|
|
54
|
+
size: "L",
|
|
55
|
+
className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
|
|
44
56
|
variant: "primary",
|
|
45
57
|
onClick: onConfirm,
|
|
46
58
|
"data-testid": "quit-confirm-confirm",
|
|
@@ -69,16 +81,18 @@ function CloseButtonWithConfirm({ onConfirm, ...buttonProps }) {
|
|
|
69
81
|
})] });
|
|
70
82
|
}
|
|
71
83
|
//#endregion
|
|
72
|
-
//#region src/shared/helpButton/helpButtonConfig.ts
|
|
73
|
-
var DEFAULT_HELP_BUTTON_POSITION = "bottomRight";
|
|
74
|
-
//#endregion
|
|
75
84
|
//#region src/shared/uiConfig/resolveCornerControls.ts
|
|
76
85
|
var lastWarnedCollision = null;
|
|
77
|
-
/**
|
|
78
|
-
|
|
79
|
-
|
|
86
|
+
/**
|
|
87
|
+
* Resolves help/close button corners together; on collision, help yields
|
|
88
|
+
* (keeps the host's explicit close position). `closeEnabled` is whether the
|
|
89
|
+
* module allows the user to cancel (`allowUserToCancel`): without it there is
|
|
90
|
+
* no close button, so its position is ignored and nothing can collide.
|
|
91
|
+
*/
|
|
92
|
+
function resolveCornerControls(uiConfig, closeEnabled = false) {
|
|
93
|
+
const { helpButtonPosition, closeButtonPosition } = uiConfig;
|
|
80
94
|
const help = helpButtonPosition ?? "bottomRight";
|
|
81
|
-
const close =
|
|
95
|
+
const close = closeEnabled ? closeButtonPosition ?? "topRight" : void 0;
|
|
82
96
|
if (close && close === help) {
|
|
83
97
|
const collision = `${help}|${close}`;
|
|
84
98
|
if (lastWarnedCollision !== collision) {
|
|
@@ -109,12 +123,15 @@ function useModuleCancelContext() {
|
|
|
109
123
|
* Resolves the close button: where it sits and what it cancels. Shared by
|
|
110
124
|
* `Page`'s header and the capture screens' floating overlay control.
|
|
111
125
|
*
|
|
112
|
-
* Undefined (hidden) unless
|
|
113
|
-
*
|
|
126
|
+
* Undefined (hidden) unless the module allows cancelling: the module root
|
|
127
|
+
* (`withInstanceOverrides`) publishes a cancel action only when its `config`
|
|
128
|
+
* sets `allowUserToCancel` — see `moduleCancelContext`. The corner comes from
|
|
129
|
+
* `uiConfig.closeButtonPosition`.
|
|
114
130
|
*/
|
|
115
131
|
function useCloseButton() {
|
|
116
|
-
const
|
|
132
|
+
const uiConfig = useUiConfig();
|
|
117
133
|
const moduleCancel = useModuleCancelContext();
|
|
134
|
+
const { close } = resolveCornerControls(uiConfig, moduleCancel !== void 0);
|
|
118
135
|
const { t } = useTranslation();
|
|
119
136
|
if (!close || !moduleCancel) return;
|
|
120
137
|
return {
|
|
@@ -124,35 +141,49 @@ function useCloseButton() {
|
|
|
124
141
|
};
|
|
125
142
|
}
|
|
126
143
|
//#endregion
|
|
127
|
-
//#region src/shared/page/
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
function
|
|
138
|
-
const
|
|
144
|
+
//#region src/shared/page/logoQuality.ts
|
|
145
|
+
/** An SVG never blurs, so it may fill its box. Any other URL counts as raster. */
|
|
146
|
+
var isVectorLogo = (src) => /^data:image\/svg\+xml|\.svg([?#]|$)/i.test(src);
|
|
147
|
+
//#endregion
|
|
148
|
+
//#region src/shared/page/useLogoShape.ts
|
|
149
|
+
/** Narrower than 1.5:1 is squarish (mark, badge, stacked lockup). */
|
|
150
|
+
var SQUARISH_MAX_RATIO = 1.5;
|
|
151
|
+
/** Shape per logo URL, so later screens get the right box straight away. */
|
|
152
|
+
var squarishBySrc = /* @__PURE__ */ new Map();
|
|
153
|
+
/** Whether a logo is squarish, read from its natural size once it loads. */
|
|
154
|
+
function useLogoShape(src) {
|
|
155
|
+
const [, rerender] = h((n) => n + 1, 0);
|
|
156
|
+
const onLoad = (event) => {
|
|
157
|
+
const { naturalWidth, naturalHeight } = event.currentTarget;
|
|
158
|
+
if (!naturalWidth || !naturalHeight) return;
|
|
159
|
+
if (!squarishBySrc.has(src)) {
|
|
160
|
+
const isSquarish = naturalWidth / naturalHeight < SQUARISH_MAX_RATIO;
|
|
161
|
+
squarishBySrc.set(src, isSquarish);
|
|
162
|
+
}
|
|
163
|
+
if (squarishBySrc.get(src)) rerender(0);
|
|
164
|
+
};
|
|
139
165
|
return {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
logoSrc: resolveFirst([args.logo?.src, args.uiConfig.logoSrc]) ?? args.defaultLogoSrc,
|
|
143
|
-
logoHeightPx: parseLogoHeight(logoHeight) ?? 80
|
|
166
|
+
isSquarish: squarishBySrc.get(src) === true,
|
|
167
|
+
onLoad
|
|
144
168
|
};
|
|
145
169
|
}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
170
|
+
//#endregion
|
|
171
|
+
//#region src/shared/page/logo.tsx
|
|
172
|
+
/** Header logo. A custom logo is sized by shape (see `logo.css`). */
|
|
173
|
+
var Logo = ({ src, class: className }) => {
|
|
174
|
+
const isCustom = src !== incode_logo_default;
|
|
175
|
+
const { isSquarish, onLoad } = useLogoShape(src);
|
|
176
|
+
return /* @__PURE__ */ u("img", {
|
|
177
|
+
src,
|
|
178
|
+
class: cn("IncodePageLogo", isCustom && "IncodePageLogoCustom", isCustom && isSquarish && "IncodePageLogoSquarish", isCustom && isVectorLogo(src) && "IncodePageLogoVector", className),
|
|
179
|
+
onLoad: isCustom ? onLoad : void 0,
|
|
180
|
+
"aria-hidden": "true",
|
|
181
|
+
alt: ""
|
|
151
182
|
});
|
|
152
|
-
}
|
|
183
|
+
};
|
|
153
184
|
//#endregion
|
|
154
185
|
//#region src/shared/page/verifiedByIncode.tsx
|
|
155
|
-
var VerifiedByIncodeLogo = ()
|
|
186
|
+
var VerifiedByIncodeLogo = M(function VerifiedByIncodeLogo() {
|
|
156
187
|
return /* @__PURE__ */ u("svg", {
|
|
157
188
|
width: "121",
|
|
158
189
|
height: "15",
|
|
@@ -164,7 +195,7 @@ var VerifiedByIncodeLogo = () => {
|
|
|
164
195
|
/* @__PURE__ */ u("title", { children: "Verified by Incode" }),
|
|
165
196
|
/* @__PURE__ */ u("path", {
|
|
166
197
|
d: "M14.044 7.258c0-.978-.518-1.854-1.301-2.335a2.74 2.74 0 0 0-.754-2.57c-.71-.7-1.685-.934-2.602-.744A2.8 2.8 0 0 0 7.022.324c-.99 0-1.878.511-2.365 1.285a2.82 2.82 0 0 0-2.602.744c-.71.701-.946 1.665-.754 2.57A2.77 2.77 0 0 0 0 7.258c0 .979.517 1.854 1.3 2.336-.206.89.045 1.869.755 2.57s1.685.949 2.602.744a2.82 2.82 0 0 0 2.365 1.285c.99 0 1.862-.511 2.365-1.285a2.82 2.82 0 0 0 2.602-.744c.71-.701.96-1.665.754-2.57a2.75 2.75 0 0 0 1.3-2.336ZM5.558 9.55 4.124 8.134a.647.647 0 0 1 0-.934.666.666 0 0 1 .947 0l.975.949 2.942-2.905a.666.666 0 0 1 .946 0 .646.646 0 0 1 0 .934L6.504 9.55a.666.666 0 0 1-.946 0Z",
|
|
167
|
-
fill: "
|
|
198
|
+
fill: "var(--icon-brand-500-static)"
|
|
168
199
|
}),
|
|
169
200
|
/* @__PURE__ */ u("g", {
|
|
170
201
|
clipPath: "url(#clip0_3596_4926)",
|
|
@@ -172,7 +203,7 @@ var VerifiedByIncodeLogo = () => {
|
|
|
172
203
|
fillRule: "evenodd",
|
|
173
204
|
clipRule: "evenodd",
|
|
174
205
|
d: "M99.562 4.776q1.784 0 2.694.991.904.99.903 2.845.001 1.854-.932 2.865-.94 1.014-2.651 1.013-1.77 0-2.673-.999l-.074-.085q-.824-.99-.823-2.794c0-2.545 1.194-3.836 3.555-3.836Zm16.678 0c1.153 0 2.006.37 2.549 1.113q.77 1.053.789 2.896v.262h-5.066q.089.947.592 1.44.524.52 1.511.52.652 0 1.243-.16a4.7 4.7 0 0 0 1.045-.411l.142-.078v1.615l-.057.025q-1.141.491-2.619.491-1.668 0-2.628-1.003-.956-1.005-.955-2.832 0-1.869.903-2.872.91-1.006 2.551-1.006Zm-5.022-2.817v8.715c0 .408-.172.755-.51 1.033q-.493.405-1.234.595-.73.187-1.508.187-1.577 0-2.601-.883-1.029-.893-1.027-3.08 0-1.754.874-2.75.882-1.001 2.595-1 .4 0 .92.1.438.087.801.244V1.959zm-18.72 2.83q1.186 0 2.256.434l.06.024V6.79l-.133-.055q-1.08-.449-1.966-.448-1.102.002-1.633.534-.534.53-.535 1.72.001 1.247.523 1.807.515.558 1.688.559.959 0 1.933-.46l.137-.064v1.547l-.057.025a5.55 5.55 0 0 1-2.258.463q-1.489 0-2.506-.807l-.1-.083-.077-.068c-.65-.602-.973-1.54-.973-2.806q-.001-2.03 1.033-2.95 1.03-.914 2.608-.914Zm-13.714.2.015 7.287h-1.72V4.99zm5.455-.2q1.545 0 2.297.65.754.658.753 2.02v4.817h-1.704V7.66c0-.942-.527-1.4-1.62-1.4q-.686 0-1.319.19l-.157.052v5.775h-1.705v-6.71l.052-.026q.66-.333 1.601-.542l.208-.044a8 8 0 0 1 1.594-.164ZM99.56 6.217c-.672 0-1.145.198-1.428.593q-.436.606-.436 1.803 0 1.195.45 1.816c.293.404.761.607 1.414.607 1.268 0 1.894-.792 1.894-2.423q0-1.223-.456-1.814-.444-.581-1.437-.582Zm8.462.028c-1.308 0-1.952.756-1.952 2.31q.001 1.17.446 1.818c.287.422.795.635 1.535.635q.65 0 1.086-.15c.246-.086.369-.186.387-.295l.003-.03V6.617l-.108-.055a3.312 3.312 0 0 0-1.397-.318Zm8.173-.056q-.729 0-1.131.372-.356.328-.498 1.08l-.019.109h3.285l-.017-.112q-.12-.714-.462-1.058-.387-.39-1.158-.391ZM78.842 2.456v1.54h-1.806v-1.54z",
|
|
175
|
-
fill: "
|
|
206
|
+
fill: "var(--icon-brand-500-static)"
|
|
176
207
|
})
|
|
177
208
|
}),
|
|
178
209
|
/* @__PURE__ */ u("path", {
|
|
@@ -222,10 +253,10 @@ var VerifiedByIncodeLogo = () => {
|
|
|
222
253
|
}) })
|
|
223
254
|
]
|
|
224
255
|
});
|
|
225
|
-
};
|
|
256
|
+
});
|
|
226
257
|
//#endregion
|
|
227
258
|
//#region src/shared/page/page.tsx
|
|
228
|
-
var Page = ({ title, titleId, subtitle, titleTopSlot, className, logo, children, hideHeader, hideFooterBranding, footerBrandingSlot, "data-testid": dataTestId, "data-permission-status": dataPermissionStatus }) => {
|
|
259
|
+
var Page = ({ title, titleId, subtitle, titleTopSlot, className, logo, children, hideHeader, hideFooterBranding, footerBrandingSlot, theme, "data-testid": dataTestId, "data-permission-status": dataPermissionStatus }) => {
|
|
229
260
|
const titleRef = A(null);
|
|
230
261
|
const closeButton = useCloseButton();
|
|
231
262
|
y(() => {
|
|
@@ -235,11 +266,13 @@ var Page = ({ title, titleId, subtitle, titleTopSlot, className, logo, children,
|
|
|
235
266
|
hideHeader,
|
|
236
267
|
hideFooterBranding,
|
|
237
268
|
logo,
|
|
238
|
-
defaultLogoSrc: incode_logo_default
|
|
269
|
+
defaultLogoSrc: incode_logo_default,
|
|
270
|
+
theme
|
|
239
271
|
});
|
|
240
272
|
const shouldShowHeader = title || subtitle || titleTopSlot;
|
|
241
273
|
return /* @__PURE__ */ u("div", {
|
|
242
274
|
class: `IncodePageContainer ${className ?? ""}`,
|
|
275
|
+
"data-incode-theme": theme,
|
|
243
276
|
"data-testid": dataTestId,
|
|
244
277
|
"data-permission-status": dataPermissionStatus,
|
|
245
278
|
children: /* @__PURE__ */ u("main", {
|
|
@@ -247,13 +280,7 @@ var Page = ({ title, titleId, subtitle, titleTopSlot, className, logo, children,
|
|
|
247
280
|
children: [
|
|
248
281
|
!uiConfig.hideHeader && /* @__PURE__ */ u("header", {
|
|
249
282
|
class: "IncodePageHeader",
|
|
250
|
-
children: [/* @__PURE__ */ u(
|
|
251
|
-
src: uiConfig.logoSrc,
|
|
252
|
-
height: uiConfig.logoHeightPx,
|
|
253
|
-
class: "IncodePageLogo",
|
|
254
|
-
"aria-hidden": "true",
|
|
255
|
-
alt: ""
|
|
256
|
-
}), closeButton ? /* @__PURE__ */ u(CloseButtonWithConfirm, {
|
|
283
|
+
children: [/* @__PURE__ */ u(Logo, { src: uiConfig.logoSrc }), closeButton ? /* @__PURE__ */ u(CloseButtonWithConfirm, {
|
|
257
284
|
onConfirm: closeButton.onQuit,
|
|
258
285
|
ariaLabel: closeButton.ariaLabel,
|
|
259
286
|
"data-testid": "page-close-button",
|
|
@@ -296,4 +323,4 @@ var Page = ({ title, titleId, subtitle, titleTopSlot, className, logo, children,
|
|
|
296
323
|
});
|
|
297
324
|
};
|
|
298
325
|
//#endregion
|
|
299
|
-
export { ModuleCancelProvider as a, CloseButtonWithConfirm as c, useCloseButton as i, VerifiedByIncodeLogo as n,
|
|
326
|
+
export { ModuleCancelProvider as a, CloseButtonWithConfirm as c, useCloseButton as i, VerifiedByIncodeLogo as n, useModuleCancelContext as o, Logo as r, resolveCornerControls as s, Page as t };
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { S as Q, _ as q, b as u, d as T, f as _, l as A, m as d, n as $, v as x, y } from "./vendor-preact-DHGqBGMH.js";
|
|
2
|
+
import { i as useUiConfig } from "./uiConfig-BJAuZQWc.js";
|
|
3
|
+
import { r as useIsDarkTheme } from "./useIsDarkTheme-Bu9CvKxW.js";
|
|
4
|
+
import { f as CloseIcon } from "./icons-c-hFaG4L.js";
|
|
5
|
+
import { n as cn } from "./spacer-Jaru_3sb.js";
|
|
4
6
|
//#region src/shared/modal/modal.hooks.ts
|
|
5
7
|
var MODAL_SCROLL_LOCK_CLASS = "IncodeModalScrollLock";
|
|
6
8
|
/** `id` of the `Modal.Title` heading; also the dialog's `aria-labelledby`. */
|
|
@@ -338,4 +340,26 @@ var Modal = {
|
|
|
338
340
|
//#region src/shared/page/incode-logo.svg
|
|
339
341
|
var incode_logo_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='76'%20height='20'%20fill='none'%20viewBox='0%200%2076%2020'%3e%3cpath%20fill='%23006aff'%20fill-rule='evenodd'%20d='M40.169%206.018c2.062%200%203.624.579%204.676%201.742q1.57%201.739%201.568%204.998.001%203.259-1.619%205.036c-1.084%201.188-2.621%201.78-4.6%201.78-2.046%200-3.597-.584-4.64-1.755l-.127-.149q-1.43-1.741-1.429-4.912c0-4.471%202.072-6.74%206.17-6.74m28.944%200c2.001%200%203.482.651%204.424%201.955q1.337%201.853%201.37%205.09l-.001.461h-8.791c.102%201.11.445%201.95%201.026%202.53.608.608%201.478.914%202.623.914q1.132%200%202.157-.282a8%208%200%200%200%201.814-.721l.246-.138v2.839l-.099.043q-1.982.865-4.544.864c-1.93%200-3.453-.587-4.561-1.764-1.107-1.174-1.659-2.837-1.659-4.976q-.002-3.283%201.568-5.048c1.05-1.179%202.53-1.767%204.427-1.767m-8.715-4.95v15.315c0%20.717-.298%201.326-.886%201.815q-.855.711-2.14%201.046-1.269.33-2.619.33c-1.823%200-3.33-.518-4.512-1.554-1.193-1.045-1.782-2.852-1.782-5.413q-.001-3.08%201.516-4.833c1.019-1.172%202.523-1.756%204.503-1.756q.695%200%201.596.176.762.152%201.39.429V1.067zM27.91%206.041q2.058%200%203.915.762l.103.042v2.712l-.23-.097q-1.873-.789-3.413-.788c-1.276%200-2.218.315-2.834.939-.615.623-.928%201.628-.928%203.021%200%201.463.306%202.52.907%203.176.598.653%201.571.983%202.93.983q1.665%200%203.355-.808l.237-.113v2.72l-.098.043a9.5%209.5%200%200%201-3.919.814q-2.581%200-4.35-1.42l-.174-.145-.132-.12c-1.128-1.056-1.689-2.704-1.689-4.93%200-2.377.595-4.11%201.794-5.186%201.19-1.07%202.702-1.605%204.526-1.605m-23.8.35L4.135%2019.2H1.153V6.393zm9.466-.35c1.788%200%203.118.377%203.987%201.142q1.308%201.156%201.307%203.55v8.464h-2.958v-8.114c0-1.655-.914-2.46-2.812-2.46q-1.188%200-2.288.336l-.273.089v10.15H7.581V7.405l.09-.046q1.146-.584%202.78-.952l.36-.077a14%2014%200%200%201%202.766-.289m26.592%202.506c-1.168%200-1.988.35-2.48%201.043q-.755%201.065-.757%203.167.002%202.102.782%203.192c.508.711%201.32%201.068%202.455%201.068%202.2%200%203.287-1.393%203.287-4.26%200-1.433-.267-2.495-.792-3.187-.517-.68-1.344-1.023-2.495-1.023m14.685.05c-2.27%200-3.388%201.33-3.388%204.06q.002%202.054.773%203.195c.499.742%201.38%201.115%202.665%201.115q1.128%200%201.884-.265c.428-.15.64-.325.672-.517l.005-.053V9.254l-.187-.098a5%205%200%200%200-1.027-.375%205.7%205.7%200%200%200-1.398-.183m14.184-.1c-.846%200-1.497.22-1.964.656q-.617.574-.864%201.896l-.033.192h5.701l-.03-.197q-.207-1.254-.802-1.859c-.45-.456-1.116-.687-2.008-.687M4.21%201.943v2.706H1.077V1.942z'%20clip-rule='evenodd'/%3e%3c/svg%3e";
|
|
340
342
|
//#endregion
|
|
341
|
-
|
|
343
|
+
//#region src/shared/page/pageUiConfig.ts
|
|
344
|
+
function resolveFirst(values) {
|
|
345
|
+
for (const value of values) if (value !== void 0) return value;
|
|
346
|
+
}
|
|
347
|
+
function resolvePageUiConfig(args) {
|
|
348
|
+
return {
|
|
349
|
+
hideHeader: resolveFirst([args.hideHeader, args.uiConfig.hideHeader]) ?? false,
|
|
350
|
+
hideFooterBranding: Boolean(args.hideFooterBranding || args.uiConfig.hideFooterBranding),
|
|
351
|
+
logoSrc: args.logo?.src || (args.isDark ? args.uiConfig.logoDarkSrc : void 0) || args.uiConfig.logoSrc || args.defaultLogoSrc
|
|
352
|
+
};
|
|
353
|
+
}
|
|
354
|
+
function usePageUiConfig(args) {
|
|
355
|
+
const uiConfig = useUiConfig();
|
|
356
|
+
const documentIsDark = useIsDarkTheme();
|
|
357
|
+
const isDark = args.theme ? args.theme === "dark" : documentIsDark;
|
|
358
|
+
return resolvePageUiConfig({
|
|
359
|
+
...args,
|
|
360
|
+
uiConfig,
|
|
361
|
+
isDark
|
|
362
|
+
});
|
|
363
|
+
}
|
|
364
|
+
//#endregion
|
|
365
|
+
export { useModalEscapeDismiss as a, useModalVisualViewportBounds as c, useModalBodyScrollLock as i, incode_logo_default as n, useModalFocusCapture as o, Modal as r, useModalTabCycle as s, usePageUiConfig as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as u } from "./vendor-preact-DHGqBGMH.js";
|
|
2
2
|
//#region src/modules/id/capture/assets/hints/passport-horizontal-hint.svg?react
|
|
3
3
|
var SvgPassportHorizontalHint = (props) => /* @__PURE__ */ u("svg", {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as u } from "./vendor-preact-DHGqBGMH.js";
|
|
2
2
|
//#region src/modules/id/capture/assets/hints/passport-vertical-hint.svg?react
|
|
3
3
|
var SvgPassportVerticalHint = (props) => /* @__PURE__ */ u("svg", {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as
|
|
3
|
-
import {
|
|
4
|
-
import { t as InputComposed } from "./inputComposed-
|
|
5
|
-
import "./inputComposed-
|
|
1
|
+
import { b as u, i as D, m as d } from "./vendor-preact-DHGqBGMH.js";
|
|
2
|
+
import { c as EyeOffIcon, d as EllipseIcon, l as EyeIcon, r as SuccessIcon, u as ErrorIcon } from "./icons-c-hFaG4L.js";
|
|
3
|
+
import { n as cn } from "./spacer-Jaru_3sb.js";
|
|
4
|
+
import { t as InputComposed } from "./inputComposed-CmVsaHOa.js";
|
|
5
|
+
import "./inputComposed-DvGrso7g.js";
|
|
6
6
|
//#region src/shared/passwordInputComposed/passwordInputComposed.tsx
|
|
7
7
|
var PasswordInputComposed = D(({ id, value, class: className, invalid, showPasswordAriaLabel, hidePasswordAriaLabel, defaultVisible = false, requirementsHeading, requirements = [], requirementMetLabel, requirementUnmetLabel, ...restProps }, ref) => {
|
|
8
8
|
const [visible, setVisible] = d(defaultVisible);
|
|
@@ -1,20 +1,5 @@
|
|
|
1
|
-
import { t as _defineProperty } from "./defineProperty-
|
|
2
|
-
|
|
3
|
-
function _assertClassBrand(e, t, n) {
|
|
4
|
-
if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
|
|
5
|
-
throw new TypeError("Private element is not present on this object");
|
|
6
|
-
}
|
|
7
|
-
//#endregion
|
|
8
|
-
//#region \0@oxc-project+runtime@0.122.0/helpers/checkPrivateRedeclaration.js
|
|
9
|
-
function _checkPrivateRedeclaration(e, t) {
|
|
10
|
-
if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
//#region \0@oxc-project+runtime@0.122.0/helpers/classPrivateMethodInitSpec.js
|
|
14
|
-
function _classPrivateMethodInitSpec(e, a) {
|
|
15
|
-
_checkPrivateRedeclaration(e, a), a.add(e);
|
|
16
|
-
}
|
|
17
|
-
//#endregion
|
|
1
|
+
import { t as _defineProperty } from "./defineProperty-E9wRIIo9.js";
|
|
2
|
+
import { n as _classPrivateMethodInitSpec, r as _checkPrivateRedeclaration, t as _assertClassBrand } from "./assertClassBrand-DJr5K93j.js";
|
|
18
3
|
//#region \0@oxc-project+runtime@0.122.0/helpers/classPrivateFieldInitSpec.js
|
|
19
4
|
function _classPrivateFieldInitSpec(e, t, a) {
|
|
20
5
|
_checkPrivateRedeclaration(e, t), t.set(e, a);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { t as Spinner } from "./spinner-
|
|
1
|
+
import { b as u, l as A, m as d, y } from "./vendor-preact-DHGqBGMH.js";
|
|
2
|
+
import { n as cn } from "./spacer-Jaru_3sb.js";
|
|
3
|
+
import { t as Spinner } from "./spinner-51btbot0.js";
|
|
4
4
|
//#region src/shared/pdfViewer/pdfViewer.tsx
|
|
5
5
|
var DPR = typeof window !== "undefined" ? window.devicePixelRatio ?? 1 : 1;
|
|
6
6
|
/** `blob:` URL of the pdf.js worker, created on the first PDF render. */
|
|
@@ -76,7 +76,7 @@ var PdfViewer = ({ url, mode = "full", "aria-label": ariaLabel, className, onErr
|
|
|
76
76
|
setStatus("loading");
|
|
77
77
|
(async () => {
|
|
78
78
|
try {
|
|
79
|
-
const [pdfjs, { default: workerSource }] = await Promise.all([import("./pdf-
|
|
79
|
+
const [pdfjs, { default: workerSource }] = await Promise.all([import("./pdf-Bd5QplFS.js"), import("./pdf.worker.min-DzBNMoKS.js")]);
|
|
80
80
|
workerSrc ??= URL.createObjectURL(new Blob([workerSource], { type: "text/javascript" }));
|
|
81
81
|
pdfjs.GlobalWorkerOptions.workerSrc = workerSrc;
|
|
82
82
|
if (cancelled) return;
|
|
@@ -99,16 +99,13 @@ var PdfViewer = ({ url, mode = "full", "aria-label": ariaLabel, className, onErr
|
|
|
99
99
|
const canvas = document.createElement("canvas");
|
|
100
100
|
canvas.className = "IncodePdfViewerCanvas";
|
|
101
101
|
pagesHost.appendChild(canvas);
|
|
102
|
-
await renderPage(page, canvas, targetWidth);
|
|
103
|
-
if (
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
pageTextEl.textContent = pageText;
|
|
110
|
-
textHost.appendChild(pageTextEl);
|
|
111
|
-
}
|
|
102
|
+
const [, pageText] = await Promise.all([renderPage(page, canvas, targetWidth), includeTextLayer && textHost ? extractPageText(page) : void 0]);
|
|
103
|
+
if (cancelled) return;
|
|
104
|
+
if (pageText && textHost) {
|
|
105
|
+
const pageTextEl = document.createElement("div");
|
|
106
|
+
pageTextEl.className = "IncodePdfViewerTextPage";
|
|
107
|
+
pageTextEl.textContent = pageText;
|
|
108
|
+
textHost.appendChild(pageTextEl);
|
|
112
109
|
}
|
|
113
110
|
page.cleanup();
|
|
114
111
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
import {
|
|
7
|
-
import { t as Page } from "./page-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { t as
|
|
11
|
-
import {
|
|
12
|
-
import "
|
|
1
|
+
import { i as useTranslation } from "./i18n-Dp014ljG.js";
|
|
2
|
+
import { S as Q, b as u, c as z, l as A, o as P, v as x, y } from "./vendor-preact-DHGqBGMH.js";
|
|
3
|
+
import { n as WarningIcon, x as PrizmaButton } from "./icons-c-hFaG4L.js";
|
|
4
|
+
import { n as cn } from "./spacer-Jaru_3sb.js";
|
|
5
|
+
import { i as TypographyH4, t as Title } from "./typography-CiGhKJGx.js";
|
|
6
|
+
import { t as AutoFocusTitle } from "./autoFocusTitle-CzaCWWW5.js";
|
|
7
|
+
import { t as Page } from "./page-U6jZ7BBI.js";
|
|
8
|
+
import { r as Modal } from "./pageUiConfig-Qf6ItVv9.js";
|
|
9
|
+
import { f as useIsMobileDeviceWidth } from "./hooks-BFP0WaJM.js";
|
|
10
|
+
import { t as TransitionSpinner } from "./transitionSpinner-Di0XBAix.js";
|
|
11
|
+
import { t as BottomSheet } from "./bottomSheet-DylE2INk.js";
|
|
12
|
+
import { n as SvgCameraIcon, r as SvgBankCardIcon, t as SvgCheckIcon } from "./check-icon-BdHltEK6.js";
|
|
13
13
|
//#region src/shared/permissions/camera/learnMore.tsx
|
|
14
14
|
var learnMoreInstructions = [
|
|
15
15
|
{
|
|
@@ -48,7 +48,6 @@ var LearnMore = ({ onAllowPermissions, onQuitProcess, "data-testid": dataTestId,
|
|
|
48
48
|
})]
|
|
49
49
|
}), /* @__PURE__ */ u("ul", {
|
|
50
50
|
class: "IncodeLearnMoreInstructionsContainer",
|
|
51
|
-
role: "list",
|
|
52
51
|
children: learnMoreInstructions.map(({ icon: Icon, ...instruction }) => /* @__PURE__ */ u("li", {
|
|
53
52
|
class: "IncodeLearnMoreInstruction",
|
|
54
53
|
children: [/* @__PURE__ */ u("div", {
|
|
@@ -63,11 +62,16 @@ var LearnMore = ({ onAllowPermissions, onQuitProcess, "data-testid": dataTestId,
|
|
|
63
62
|
})]
|
|
64
63
|
}), /* @__PURE__ */ u("div", {
|
|
65
64
|
class: "IncodeLearnMoreActions",
|
|
66
|
-
children: [/* @__PURE__ */ u(
|
|
67
|
-
|
|
65
|
+
children: [/* @__PURE__ */ u(PrizmaButton, {
|
|
66
|
+
size: "L",
|
|
67
|
+
className: "IncodeButton IncodeButtonLink IncodeButtonL",
|
|
68
|
+
variant: "tertiary-link",
|
|
68
69
|
onClick: onQuitProcess,
|
|
69
70
|
children: t("idv2.permissions.learnMorePage.quitProcess")
|
|
70
|
-
}), /* @__PURE__ */ u(
|
|
71
|
+
}), /* @__PURE__ */ u(PrizmaButton, {
|
|
72
|
+
variant: "primary",
|
|
73
|
+
size: "L",
|
|
74
|
+
className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
|
|
71
75
|
onClick: onAllowPermissions,
|
|
72
76
|
children: t("idv2.permissions.learnMorePage.allowPermissions")
|
|
73
77
|
})]
|
|
@@ -116,15 +120,20 @@ function PermissionsBottomSheet({ onAllowPermissions, onDenyPermissions, showDen
|
|
|
116
120
|
})]
|
|
117
121
|
}), /* @__PURE__ */ u("div", {
|
|
118
122
|
class: "IncodePermissionsBottomSheetActions",
|
|
119
|
-
children: [showDenyButton && /* @__PURE__ */ u(
|
|
123
|
+
children: [showDenyButton && /* @__PURE__ */ u(PrizmaButton, {
|
|
124
|
+
size: "L",
|
|
125
|
+
className: "IncodeButton IncodeButtonSecondary IncodeButtonL",
|
|
120
126
|
variant: "secondary",
|
|
121
127
|
onClick: onDenyPermissions,
|
|
122
128
|
disabled: isRequestingPermissions,
|
|
123
129
|
children: t("idv2.permissions.dontAllow")
|
|
124
|
-
}), /* @__PURE__ */ u(
|
|
130
|
+
}), /* @__PURE__ */ u(PrizmaButton, {
|
|
131
|
+
variant: "primary",
|
|
132
|
+
size: "L",
|
|
133
|
+
className: cn("IncodeButton IncodeButtonPrimary IncodeButtonL", isRequestingPermissions && "IncodeButtonLoading"),
|
|
125
134
|
onClick: onAllowPermissions,
|
|
126
135
|
disabled: isRequestingPermissions,
|
|
127
|
-
|
|
136
|
+
loading: isRequestingPermissions,
|
|
128
137
|
children: t("idv2.permissions.allowV2")
|
|
129
138
|
})]
|
|
130
139
|
})]
|
|
@@ -181,16 +190,20 @@ var PermissionsDialog = ({ manager, permissionStatus, isDismissible }) => {
|
|
|
181
190
|
class: "IncodePermissionsModalTitle",
|
|
182
191
|
children: t("idv2.permissions.allowPermissionsV2")
|
|
183
192
|
}), /* @__PURE__ */ u(Modal.Subtitle, { children: t("idv2.permissions.subtitleV2") })] }),
|
|
184
|
-
/* @__PURE__ */ u(Modal.Actions, { children: [!isMotionOnly && /* @__PURE__ */ u(
|
|
193
|
+
/* @__PURE__ */ u(Modal.Actions, { children: [!isMotionOnly && /* @__PURE__ */ u(PrizmaButton, {
|
|
194
|
+
size: "L",
|
|
195
|
+
className: "IncodeButton IncodeButtonSecondary IncodeButtonL",
|
|
185
196
|
variant: "secondary",
|
|
186
197
|
onClick: manager.goToLearnMore,
|
|
187
198
|
disabled: isRequestingPermissions,
|
|
188
199
|
children: t("idv2.permissions.dontAllow")
|
|
189
|
-
}), /* @__PURE__ */ u(
|
|
200
|
+
}), /* @__PURE__ */ u(PrizmaButton, {
|
|
201
|
+
size: "L",
|
|
202
|
+
className: cn("IncodeButton IncodeButtonPrimary IncodeButtonL", isRequestingPermissions && "IncodeButtonLoading"),
|
|
190
203
|
variant: "primary",
|
|
191
204
|
onClick: manager.requestPermission,
|
|
192
205
|
disabled: isRequestingPermissions,
|
|
193
|
-
|
|
206
|
+
loading: isRequestingPermissions,
|
|
194
207
|
children: t("idv2.permissions.allowV2")
|
|
195
208
|
})] })
|
|
196
209
|
] })
|
|
@@ -198,7 +211,7 @@ var PermissionsDialog = ({ manager, permissionStatus, isDismissible }) => {
|
|
|
198
211
|
};
|
|
199
212
|
//#endregion
|
|
200
213
|
//#region src/shared/permissions/camera/permissions.tsx
|
|
201
|
-
var Denied = z(() => import("./denied-
|
|
214
|
+
var Denied = z(() => import("./denied-CwdVWAUw.js").then((module) => ({ default: module.Denied })));
|
|
202
215
|
var Permissions = ({ manager, permissionStatus }) => {
|
|
203
216
|
const { alwaysDark } = usePermissionsContext();
|
|
204
217
|
if (permissionStatus === "checking") return null;
|