@incodetech/web 2.4.1-agentic → 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-CUt-uebQ.js → GeolocationPermissionDenied-ClGp0a23.js} +13 -8
- package/dist/ae-signature/ae-signature.es.js +4 -4
- package/dist/{af-ZA-BWKMRc6V.js → af-ZA-BKpmmWDe.js} +75 -865
- package/dist/{ageVerification-CMIp0I--.js → ageVerification-CtuJDuRV.js} +11 -8
- package/dist/{am-DPyjIvQV.js → am-CW_ro5Ws.js} +75 -865
- package/dist/antifraud/antifraud.es.js +5 -4
- package/dist/{applyStudioConfig-DxtP9221.js → applyStudioConfig-C6-Ak0q6.js} +5 -4
- package/dist/{ar-AE-CxCvbyoW.js → ar-AE-D9h8UMbm.js} +75 -865
- package/dist/{ar-10SoqF1i.js → ar-B5ToweVl.js} +75 -865
- package/dist/{ar-EG-B1hHB55j.js → ar-EG-DQqE9B26.js} +75 -865
- 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-BxsSeMSB.js → autoFocusTitle-CzaCWWW5.js} +2 -2
- package/dist/{az-cmuBNn_5.js → az-DAZq-CQj.js} +75 -865
- package/dist/{back-horizontal-hint-Dl2C4J4u.js → back-horizontal-hint-qzSaNkEU.js} +1 -1
- package/dist/{back-vertical-hint-CM4_HjWk.js → back-vertical-hint-DkYLOege.js} +1 -1
- package/dist/base.css +1 -1
- package/dist/{baseTutorial-BGU2Gcly.js → baseTutorial-CF6WiVYt.js} +10 -7
- package/dist/{bn-CuGYlngZ.js → bn-DRTyq2Y9.js} +75 -865
- package/dist/{bottomSheet-x20yd6eP.js → bottomSheet-DylE2INk.js} +3 -3
- package/dist/{bs-vwpJzaHm.js → bs-B8q0B86-.js} +75 -865
- package/dist/{ca-DXZs5vtr.js → ca-DvsHXRB-.js} +75 -865
- package/dist/cameraOverlay-DNf0PEF4.js +2 -0
- package/dist/{cameraOverlayHeader-BxutAKy-.js → cameraOverlayHeader-CuVGnyXI.js} +9 -8
- package/dist/{cameraView-DVzaEGW8.js → cameraView-D9ZxLKtA.js} +3 -3
- package/dist/capture-0jMDSGCE.js +762 -0
- package/dist/{tutorial-BKPHj5To.js → capture-BlGlXoTx.js} +13 -36
- 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-CmhS_VOs.js → ceb-pvlomXHV.js} +75 -865
- package/dist/certificate-issuance/certificate-issuance.es.js +23 -13
- package/dist/{check-icon-BWTjhSuA.js → check-icon-BdHltEK6.js} +1 -1
- package/dist/{checkbox-BC26Qbxh.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 +16 -12
- package/dist/{countryFlag-DXSVHiby.js → countryFlag-CQMfCnE9.js} +1 -1
- package/dist/{countrySelector-0PDDFsZF.js → countrySelector-C0OEKMqL.js} +4 -4
- package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -4
- package/dist/{cs-CZ-Dg5O-Vom.js → cs-CZ-GgvnJLMj.js} +75 -865
- package/dist/{cs-CoJlE7De.js → cs-DB5PLEdt.js} +75 -865
- 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-COYGTuuK.js → customFields-DQgRumW0.js} +17 -11
- package/dist/{customWatchlist-B0wY6Rwb.js → customWatchlist-BbC0fA-6.js} +8 -6
- package/dist/{da-DK-C_JAndM-.js → da-DK-ZhpcfE_F.js} +75 -865
- package/dist/{dashboardTheme-COBidrbH.js → dashboardTheme-DtXsx9IK.js} +1 -1
- package/dist/{dateInputComposed-QkmLGLHg.js → dateInputComposed-1IcnucPq.js} +5 -5
- package/dist/dateInputComposed-BFlCk-sg.js +1 -0
- package/dist/{de-11hHLedu.js → de-DEBjzaow.js} +75 -865
- package/dist/{denied-Btt81vUD.js → denied-CwdVWAUw.js} +12 -9
- package/dist/devWarn-CW20j1Qd.js +9 -0
- package/dist/{deviceWallet-BeTpokSL.js → deviceWallet-CMjguFJO.js} +4 -4
- package/dist/{digitalIdRedirect-BnljwZV3.js → digitalIdRedirect-MNty16-5.js} +4 -4
- package/dist/{digitalIdUpload-DNhqqMHT.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-uAKPK1U-.js → documentCapture-BUMyJ8vw.js} +94 -32
- package/dist/documentCapture-rECLkwpi.js +2 -0
- package/dist/dropdownComposed-C9sLQE6i.js +1 -0
- package/dist/{dropdownComposed-D_RQd0Z9.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/ekybModule-B5IEiSyi.js +2 -0
- package/dist/{ekybModule-Bsqag_MS.js → ekybModule-C5hEBLMs.js} +27 -23
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekycModule-B7OFnP3H.js +2 -0
- package/dist/{ekycModule-WlhVn8AO.js → ekycModule-TVKk0qdS.js} +26 -20
- package/dist/{el-CRGmVrep.js → el-Dplr_D5N.js} +75 -865
- package/dist/{el-GR-CjtJiRTo.js → el-GR-IZ4reOR7.js} +75 -865
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-Cm2BEiQu.js → electronic-signature-BMda_cf3.js} +49 -34
- package/dist/email/email.es.js +15 -11
- package/dist/{emailInput-JmK2JIFS.js → emailInput-BI8gWC0D.js} +4 -4
- package/dist/{en-DG-Cruu6Woh.js → en-DG-C6tsWvHi.js} +75 -865
- package/dist/{en-CSjoG3e4.js → en-Db1L_u7B.js} +75 -865
- package/dist/{errorContent-zY4jb6uY.js → errorContent-pPAgyy2i.js} +10 -7
- package/dist/es-419-DxKrJq7W.js +5 -0
- package/dist/{es-C_LAY-Yu.js → es-C5unKsaF.js} +75 -865
- package/dist/{es-ES-D7O0P5Mg.js → es-ES-sHbsufzT.js} +75 -865
- package/dist/{es-MX-DVzFaANh.js → es-MX-Cd_DCR0A.js} +75 -865
- package/dist/{et-DdSwjU5d.js → et-BoGq2cx8.js} +76 -866
- package/dist/{expiredId-DpbWqSzB.js → expiredId-DWjw94rT.js} +12 -8
- package/dist/extensibility.es.js +85 -41
- package/dist/{fa-IR-CdK8XLkS.js → fa-IR-DuUxGXrf.js} +75 -865
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/faceMatch-B2aMz3X2.js +2 -0
- package/dist/{faceMatch-B0IzR9_u.js → faceMatch-DV7NxYu_.js} +15 -10
- package/dist/{fi-FI-CYlEPu44.js → fi-FI-DMOBNTjA.js} +75 -865
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-BY2XXsp3.js +2 -0
- package/dist/{fieldComparison-OwGIeOM5.js → fieldComparison-CFLU1h6n.js} +15 -11
- package/dist/{fieldLabelHint-gdoE5nLQ.js → fieldLabelHint-CjrLxBaj.js} +3 -3
- package/dist/{finalSuccessScreen-BM9oeJDH.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 +183 -167
- 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-C3MNhFKI.js → formField-CfQKYeGF.js} +3 -3
- package/dist/{fr-CA-DD_s9NuV.js → fr-CA-DZ8jlsp3.js} +75 -865
- package/dist/{fr-C4cP8ZNE.js → fr-DSR-AP0e.js} +75 -865
- package/dist/{front-horizontal-hint-Dol0Lpc6.js → front-horizontal-hint-DOphQZg2.js} +1 -1
- package/dist/{front-vertical-hint-CAhAzw92.js → front-vertical-hint-S6PcS9_m.js} +1 -1
- package/dist/geolocation/geolocation.es.js +15 -10
- package/dist/government-validation/government-validation.es.js +7 -6
- package/dist/{he-D3fvMZAl.js → he-N5dfJeyd.js} +75 -865
- package/dist/{hi-DLf6_opn.js → hi-JR6K9zbd.js} +75 -865
- package/dist/{hmn-DzoODzbN.js → hmn-j2YA7FxW.js} +75 -865
- package/dist/{homeScreen-D1Xd93In.js → homeScreen-C3pPw52y.js} +17 -11
- package/dist/{incodeComponent-C1Bz5Qou.js → hooks-BFP0WaJM.js} +14 -308
- package/dist/{hr-C-jP0DrB.js → hr-8cOdwB0t.js} +75 -865
- package/dist/{ht-CVt9koJf.js → ht-DDNL4C__.js} +75 -865
- package/dist/{hu-9fSzIeAd.js → hu-CynQQUFQ.js} +75 -865
- package/dist/i18n-Dp014ljG.js +942 -0
- package/dist/{icons-BdiCuWFP.js → icons-c-hFaG4L.js} +129 -32
- 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-CHFxXTEq.js → id-back-of-card-Bk6ZQUE9.js} +1 -1
- package/dist/{id-back-of-card-vertical-CUBdKGbw.js → id-back-of-card-vertical-BZo00s50.js} +1 -1
- package/dist/{id-front-of-card-DplNJr13.js → id-front-of-card-BJ96se7u.js} +1 -1
- package/dist/{id-front-of-card-vertical-D1duHEsV.js → id-front-of-card-vertical-DSfJB0lX.js} +1 -1
- package/dist/{id-Dgi5uGHK.js → id-o_Yg0n8W.js} +75 -865
- 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-sknZwQNF.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-DJToJb00.js → incodeModule-DCHXAeYU.js} +5 -5
- package/dist/index.es.js +4 -3
- package/dist/{inputComposed-BuE0iZlw.js → inputComposed-CmVsaHOa.js} +4 -4
- package/dist/inputComposed-DvGrso7g.js +1 -0
- package/dist/{it-CEFstYFG.js → it-BXevrtHn.js} +75 -865
- package/dist/{ja-BNdVd9B6.js → ja-DiTXnTx-.js} +75 -865
- package/dist/{ja-JP-B5TPMV1q.js → ja-JP-D1IRWR-p.js} +75 -865
- package/dist/{jv-CMxkkXUk.js → jv-Us70GzGp.js} +75 -865
- package/dist/{ka-C70bUmEK.js → ka-BSsWQ4yU.js} +75 -865
- package/dist/{kk-C_55EmWt.js → kk-D5R6r4H7.js} +75 -865
- package/dist/{km-D4Ig0NhN.js → km-CCCb2Rnt.js} +79 -869
- package/dist/{ko-KP-BwBB8ahu.js → ko-KP-JF4khv1Y.js} +75 -865
- package/dist/{ko-DfUa3dzQ.js → ko-kQioCg2w.js} +75 -865
- package/dist/{ky-CnJichOm.js → ky-CLOemVjC.js} +75 -865
- 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-ww1DXVAP.js → lo-tzHUt1CQ.js} +75 -865
- package/dist/{lt-IJ8qpluI.js → lt-B2ZI-Cgu.js} +76 -866
- package/dist/{lv-DMfsmqyK.js → lv-BJnxtSYw.js} +76 -866
- package/dist/{mandatoryConsent-Bp8sQoiu.js → mandatoryConsent-BiQuEZRu.js} +20 -14
- package/dist/{manualCaptureButton-Cd-FY05-.js → manualCaptureButton-BRSmPTeR.js} +8 -7
- package/dist/{manualCaptureButton-BXOTp2PS.js → manualCaptureButton-Dw0MMSkc.js} +17 -13
- package/dist/{mk-ByafmFak.js → mk-Cj7Iw2Q4.js} +75 -865
- package/dist/{mn-DjO9p3xN.js → mn-CA_rNxtz.js} +75 -865
- package/dist/{ms-3Vf1QpHl.js → ms-BydA1Zjz.js} +75 -865
- package/dist/{my-C5hpE5P1.js → my-gFKufKaG.js} +75 -865
- package/dist/{nb-NO-DGCWCOul.js → nb-NO-CDsGQbOZ.js} +75 -865
- package/dist/{ne-CpJxcVhV.js → ne-Cyfi0vFI.js} +75 -865
- package/dist/{nl-R2RykJHB.js → nl-e1gbmAFO.js} +75 -865
- package/dist/{numberedStep-CqgNwc_a.js → numberedStep-CeN77hnQ.js} +1 -1
- package/dist/{optionAccessibleLabel-BQl8HooZ.js → optionAccessibleLabel-BTUieMxH.js} +6 -6
- package/dist/{otpInput-B_iLvmIn.js → otpInput-D3L3QhnR.js} +24 -17
- package/dist/{page-utEpSa9Z.js → page-U6jZ7BBI.js} +69 -23
- package/dist/{pageUiConfig-rOL18JSI.js → pageUiConfig-Qf6ItVv9.js} +6 -14
- package/dist/{passport-horizontal-hint-BfTXA2LB.js → passport-horizontal-hint-Ddsh6fUS.js} +1 -1
- package/dist/{passport-vertical-hint-C7dzd2ks.js → passport-vertical-hint-Dukxq6-T.js} +1 -1
- package/dist/{passwordInputComposed-NtiseM85.js → passwordInputComposed-CW_1DcB8.js} +5 -5
- package/dist/{pdf-BnPw8ZaT.js → pdf-Bd5QplFS.js} +2 -17
- package/dist/{pdfViewer-DNMZsDFD.js → pdfViewer-BrqSEtbr.js} +11 -14
- package/dist/pdfViewer-rDnnHzmw.js +2 -0
- package/dist/{permissions-CCEc9lKM.js → permissions-KUDhffd9.js} +36 -23
- package/dist/phone/phone.es.js +16 -12
- package/dist/{phoneInputComposed-ByiK_6Hu.js → phoneInputComposed-DlJMTavK.js} +6 -6
- package/dist/{pl-B1LgnPj1.js → pl-BSMcCWS-.js} +75 -865
- package/dist/preloadableLazy-C8_OYaTC.js +37 -0
- package/dist/{processing-Ci_Kl-Rh.js → processing-B5EH7yNg.js} +2 -2
- package/dist/{progressBar-Caj-Vu1e.js → progressBar-CSpS29pV.js} +2 -2
- package/dist/{pt-CPVeH0hD.js → pt-BNFC2quK.js} +75 -865
- package/dist/{pt-BR-DSJDHb-K.js → pt-BR-bH8DC2gH.js} +75 -865
- package/dist/{pt-PT-BWJTVPZY.js → pt-PT-B8PXmgwU.js} +75 -865
- package/dist/qe-signature/qe-signature.es.js +4 -4
- package/dist/{radioGroupComposed-CocqpoKe.js → radioGroupComposed-CW8ElYSR.js} +4 -4
- package/dist/radioGroupComposed-flIYNffL.js +1 -0
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +19 -21
- package/dist/redirect-to-mobile/styles.css +1 -1
- package/dist/redirect-to-mobile/styles.css.js +1 -1
- package/dist/{registerIncodeElement-Dtw9dM3O.js → registerIncodeElement-oiLvm6xq.js} +1 -1
- package/dist/{reload-icon-BR1POqkD.js → reload-icon-FD2e9Wet.js} +1 -1
- package/dist/{resendTimer-ODOCcKyh.js → resendTimer-D1H3gwkI.js} +2 -2
- package/dist/richText-sUdTiRDE.js +1761 -0
- package/dist/{ro-8gGEWeHO.js → ro-DnN8QNYa.js} +75 -865
- package/dist/{ru-C4EVku5S.js → ru-DAwUFXHq.js} +75 -865
- package/dist/{ru-RU-Dr0NOGjg.js → ru-RU-Coxt0VCU.js} +75 -865
- package/dist/{sanitizeSvg-ilJ8VQmH.js → sanitizeSvg-OdNh1mqY.js} +1 -1
- package/dist/selfie/selfie.es.js +30 -14
- package/dist/selfie/styles.css +1 -1
- package/dist/selfie/styles.css.js +1 -1
- package/dist/signature/signature.es.js +18 -13
- package/dist/{sk-BSTzMa__.js → sk-AB8sSlNw.js} +77 -867
- package/dist/{sl-_HvO-HVX.js → sl-6Dfzfi7s.js} +75 -865
- package/dist/{smsTabContent-CWBrtP4u.js → smsTabContent-CBEKgzFv.js} +32 -23
- package/dist/{so-pyCaqonl.js → so-X5BdrDvV.js} +75 -865
- package/dist/spacer-Jaru_3sb.js +82 -0
- package/dist/spinner-51btbot0.js +407 -0
- package/dist/{sr-Bpxtt0kk.js → sr-JHjMcbGs.js} +75 -865
- package/dist/{sr-Latn-BjueCJSI.js → sr-Latn-DgT7eTG2.js} +80 -870
- package/dist/sr-YU-BBhB_G63.js +5 -0
- package/dist/{sv-SE-sv5v6ZWe.js → sv-SE-CvX8mC8T.js} +75 -865
- package/dist/{sw-BseJSmdR.js → sw-CN0TdnY4.js} +75 -865
- package/dist/{th-C2G8Ur12.js → th-BmFntKib.js} +75 -865
- package/dist/{th-TH-D0WNW-3l.js → th-TH-CWr4z3JK.js} +75 -865
- package/dist/themes/dark.css +1 -1
- package/dist/themes/light.css +1 -1
- package/dist/{tl-PH-CwafDrED.js → tl-PH-BRIbtBRN.js} +75 -865
- package/dist/{tl-CBOmxz5r.js → tl-rzkk5P_n.js} +75 -865
- package/dist/{tr-C4iH8UJx.js → tr-DKuVBwqW.js} +76 -866
- package/dist/{transitionSpinner-DbrWrpRU.js → transitionSpinner-Di0XBAix.js} +5 -4
- package/dist/tutorial-C9psDR2i.js +28 -0
- package/dist/types/extensibility.d.ts +6 -1
- package/dist/types/index.d.ts +4 -0
- package/dist/types/kyb-checks.d.ts +209 -0
- package/dist/{typography-BF9d8wEc.js → typography-CiGhKJGx.js} +2 -2
- package/dist/uiConfig-BJAuZQWc.js +77 -0
- package/dist/{uk-BGYlvKb_.js → uk-CXjqq4lX.js} +75 -865
- package/dist/{uk-UA-CbxzkCL_.js → uk-UA-BIE9WByU.js} +75 -865
- package/dist/{ur-BQgtsAfv.js → ur-vNGesC3r.js} +75 -865
- package/dist/{useCameraPreview-BmkAmzAs.js → useCameraPreview-Bd7AYE9h.js} +1 -1
- package/dist/useCaptureHelpButton-Dj-jESrS.js +43 -0
- package/dist/{useIsDarkTheme-COJZngNK.js → useIsDarkTheme-Bu9CvKxW.js} +1 -1
- package/dist/{useModuleLoader-CceEKjsh.js → useModuleLoader-BBCNkJmc.js} +2 -2
- package/dist/{uz-DqOg1Fdv.js → uz-Gmw1XRgv.js} +75 -865
- package/dist/{vendor-preact-C0jX1Cbq.js → vendor-preact-DHGqBGMH.js} +19 -1
- package/dist/{verificationResult-m99Ragq6.js → verificationResult-Clxdxm_s.js} +18 -10
- package/dist/{vi-COxdKkHn.js → vi-DTxxRUw0.js} +75 -865
- package/dist/video-selfie/video-selfie.es.js +50 -33
- package/dist/watchlist/watchlist.es.js +8 -6
- package/dist/{watchlistForBusiness-C2zxbavl.js → watchlistForBusiness-CpFp2EYX.js} +16 -11
- package/dist/{withEndScreenTexts-BwNU-8-X.js → withEndScreenTexts-Bd3mof3s.js} +204 -41
- package/dist/workflow/styles.css +1 -1
- package/dist/workflow/workflow.es.js +19 -15
- package/dist/{zh-CN-DfvYQGdE.js → zh-CN-aB48G_R1.js} +76 -866
- package/dist/{zh-CPQoDPxf.js → zh-DjtyfO4e.js} +75 -865
- package/dist/{zh-HANT-B4LzHH2y.js → zh-HANT-8p8SH8C3.js} +75 -865
- package/dist/{zh-TW-DtvvhBYL.js → zh-TW-CCsz9gKq.js} +75 -865
- package/package.json +22 -10
- package/dist/browser-ponyfill-CHlXHPpU.js +0 -441
- package/dist/cameraOverlay-Be1PFI8S.js +0 -2
- package/dist/dateInputComposed-CONPVayx.js +0 -1
- package/dist/devWarn-Cr7MglXv.js +0 -2628
- package/dist/documentCapture-DGCraCO3.js +0 -2
- package/dist/dropdownComposed-DyZXfcTf.js +0 -1
- package/dist/ekybModule-D-czIusz.js +0 -2
- package/dist/ekycModule-CkBRa6h2.js +0 -2
- package/dist/es-419-CTB15v-l.js +0 -3231
- package/dist/esm-BTUEHyry.js +0 -430
- package/dist/faceMatch-CRbIcwK2.js +0 -2
- package/dist/fieldComparison-DKQNK0-r.js +0 -2
- package/dist/flipAnimation-D-5tokFC.js +0 -3275
- package/dist/inputComposed-5mLbxAZJ.js +0 -1
- package/dist/pdfViewer-7FzYV8l3.js +0 -2
- package/dist/radioGroupComposed-DlQ-fNrF.js +0 -1
- package/dist/richText-CRWB2afV.js +0 -1549
- package/dist/spacer-CwyNauIk.js +0 -733
- package/dist/spinner-DEZJxLSc.js +0 -88
- package/dist/sr-YU-xCb5qxap.js +0 -3235
- package/dist/useCaptureHelpButton-D40hYyD7.js +0 -88
- /package/dist/{aligndevicelottie-BHWuptBk.js → aligndevicelottie-BEKzL4SB.js} +0 -0
- /package/dist/{back-tutorial-BYZr11eV.js → back-tutorial-B9W63fa-.js} +0 -0
- /package/dist/{backdevicelottie-JflQKxT_.js → backdevicelottie-DsN8QBV3.js} +0 -0
- /package/dist/{blurdevicelottie-CWuMQEHL.js → blurdevicelottie-DkV7Kwo4.js} +0 -0
- /package/dist/{countryDefinitions-6FOOLcB2.js → countryDefinitions-RBVGM1D_.js} +0 -0
- /package/dist/{defineProperty-CUC2zCmh.js → defineProperty-E9wRIIo9.js} +0 -0
- /package/dist/{flip-animation-BqTKEBcW.js → flip-animation-DJVnWWL5.js} +0 -0
- /package/dist/{frontdevicelottie-BWD-NCfG.js → frontdevicelottie-DiW1Wmya.js} +0 -0
- /package/dist/{glaredevicelottie-Cjy50jGc.js → glaredevicelottie-CK-fnX_s.js} +0 -0
- /package/dist/{helpButtonConfig-BFragC_J.js → helpButtonConfig-CjbrBQaV.js} +0 -0
- /package/dist/{id-laser-h-By7lMim8.js → id-laser-h-6Am_cjM8.js} +0 -0
- /package/dist/{id-laser-v-BCPAN2x5.js → id-laser-v-DXoF3flH.js} +0 -0
- /package/dist/{id-tutorial-B9cUQuf0.js → id-tutorial-DkKH3eTE.js} +0 -0
- /package/dist/{lottie_light-DywVSPMT.js → lottie_light-B819EhaL.js} +0 -0
- /package/dist/{passport-tutorial-TSZzEGqb.js → passport-tutorial-D3Fpk-Tj.js} +0 -0
- /package/dist/{pdf.worker.min-D7ZNTVBZ.js → pdf.worker.min-DzBNMoKS.js} +0 -0
- /package/dist/{policyUrls-Bpacx_pp.js → policyUrls-Benduf-R.js} +0 -0
- /package/dist/{purify.es-DZazHwBu.js → purify.es-CSPoFViI.js} +0 -0
- /package/dist/{realtimeFeedbackConfig-DeZksjlR.js → realtimeFeedbackConfig-tBX94SOm.js} +0 -0
- /package/dist/{selfieTutorial-CLJAEuXG.js → selfieTutorial-DnsRD1Z9.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
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
8
|
var AddressAutocomplete = ({ label, value, error, errorParams, suggestions, readonly, disabled, required, labelHint, onChange, onSearch, onSelect, onBlur }) => {
|
|
9
9
|
const { t } = useTranslation();
|
|
@@ -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,21 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { S as
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
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";
|
|
7
9
|
//#region src/shared/closeButton/closeButton.tsx
|
|
8
10
|
/** The "X" button that cancels the current module. Purely presentational. */
|
|
9
11
|
var CloseButton = D(({ onClick, ariaLabel, class: className, size = "S", iconSize = 24, color = "var(--icon-neutral-500)", "data-testid": dataTestId }, ref) => {
|
|
10
|
-
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
|
+
},
|
|
11
20
|
ref,
|
|
12
|
-
size,
|
|
13
|
-
variant: "link",
|
|
14
21
|
onClick,
|
|
15
22
|
"aria-label": ariaLabel,
|
|
16
|
-
|
|
23
|
+
className: cn("IncodeButton IncodeButtonLink IncodeButtonIconOnly IncodeCloseButton", size === "inline" ? "IncodeButtonInline" : `IncodeButton${size}`, className),
|
|
17
24
|
"data-testid": dataTestId,
|
|
18
|
-
|
|
25
|
+
children: /* @__PURE__ */ u(CloseIcon, {
|
|
19
26
|
width: iconSize,
|
|
20
27
|
height: iconSize,
|
|
21
28
|
fillColor: color
|
|
@@ -36,12 +43,16 @@ function QuitConfirmDialog({ open, onOpenChange, onConfirm, returnFocusRef }) {
|
|
|
36
43
|
onOpenChange,
|
|
37
44
|
returnFocusRef,
|
|
38
45
|
"data-testid": "quit-confirm-dialog",
|
|
39
|
-
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",
|
|
40
49
|
variant: "secondary",
|
|
41
50
|
onClick: () => onOpenChange(false),
|
|
42
51
|
"data-testid": "quit-confirm-cancel",
|
|
43
52
|
children: t("page.close.cancel")
|
|
44
|
-
}), /* @__PURE__ */ u(
|
|
53
|
+
}), /* @__PURE__ */ u(PrizmaButton, {
|
|
54
|
+
size: "L",
|
|
55
|
+
className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
|
|
45
56
|
variant: "primary",
|
|
46
57
|
onClick: onConfirm,
|
|
47
58
|
"data-testid": "quit-confirm-confirm",
|
|
@@ -130,8 +141,49 @@ function useCloseButton() {
|
|
|
130
141
|
};
|
|
131
142
|
}
|
|
132
143
|
//#endregion
|
|
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
|
+
};
|
|
165
|
+
return {
|
|
166
|
+
isSquarish: squarishBySrc.get(src) === true,
|
|
167
|
+
onLoad
|
|
168
|
+
};
|
|
169
|
+
}
|
|
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: ""
|
|
182
|
+
});
|
|
183
|
+
};
|
|
184
|
+
//#endregion
|
|
133
185
|
//#region src/shared/page/verifiedByIncode.tsx
|
|
134
|
-
var VerifiedByIncodeLogo = ()
|
|
186
|
+
var VerifiedByIncodeLogo = M(function VerifiedByIncodeLogo() {
|
|
135
187
|
return /* @__PURE__ */ u("svg", {
|
|
136
188
|
width: "121",
|
|
137
189
|
height: "15",
|
|
@@ -201,7 +253,7 @@ var VerifiedByIncodeLogo = () => {
|
|
|
201
253
|
}) })
|
|
202
254
|
]
|
|
203
255
|
});
|
|
204
|
-
};
|
|
256
|
+
});
|
|
205
257
|
//#endregion
|
|
206
258
|
//#region src/shared/page/page.tsx
|
|
207
259
|
var Page = ({ title, titleId, subtitle, titleTopSlot, className, logo, children, hideHeader, hideFooterBranding, footerBrandingSlot, theme, "data-testid": dataTestId, "data-permission-status": dataPermissionStatus }) => {
|
|
@@ -228,13 +280,7 @@ var Page = ({ title, titleId, subtitle, titleTopSlot, className, logo, children,
|
|
|
228
280
|
children: [
|
|
229
281
|
!uiConfig.hideHeader && /* @__PURE__ */ u("header", {
|
|
230
282
|
class: "IncodePageHeader",
|
|
231
|
-
children: [/* @__PURE__ */ u(
|
|
232
|
-
src: uiConfig.logoSrc,
|
|
233
|
-
height: uiConfig.logoHeightPx,
|
|
234
|
-
class: "IncodePageLogo",
|
|
235
|
-
"aria-hidden": "true",
|
|
236
|
-
alt: ""
|
|
237
|
-
}), closeButton ? /* @__PURE__ */ u(CloseButtonWithConfirm, {
|
|
283
|
+
children: [/* @__PURE__ */ u(Logo, { src: uiConfig.logoSrc }), closeButton ? /* @__PURE__ */ u(CloseButtonWithConfirm, {
|
|
238
284
|
onConfirm: closeButton.onQuit,
|
|
239
285
|
ariaLabel: closeButton.ariaLabel,
|
|
240
286
|
"data-testid": "page-close-button",
|
|
@@ -277,4 +323,4 @@ var Page = ({ title, titleId, subtitle, titleTopSlot, className, logo, children,
|
|
|
277
323
|
});
|
|
278
324
|
};
|
|
279
325
|
//#endregion
|
|
280
|
-
export {
|
|
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,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { r as useIsDarkTheme } from "./useIsDarkTheme-
|
|
4
|
-
import {
|
|
5
|
-
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";
|
|
6
6
|
//#region src/shared/modal/modal.hooks.ts
|
|
7
7
|
var MODAL_SCROLL_LOCK_CLASS = "IncodeModalScrollLock";
|
|
8
8
|
/** `id` of the `Modal.Title` heading; also the dialog's `aria-labelledby`. */
|
|
@@ -344,19 +344,11 @@ var incode_logo_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/
|
|
|
344
344
|
function resolveFirst(values) {
|
|
345
345
|
for (const value of values) if (value !== void 0) return value;
|
|
346
346
|
}
|
|
347
|
-
function parseLogoHeight(height) {
|
|
348
|
-
if (!height) return void 0;
|
|
349
|
-
if (/^\d+$/.test(height)) return Number(height);
|
|
350
|
-
const px = height.match(/^(\d+)px$/);
|
|
351
|
-
if (px) return Number(px[1]);
|
|
352
|
-
}
|
|
353
347
|
function resolvePageUiConfig(args) {
|
|
354
|
-
const logoHeight = resolveFirst([args.logo?.height, args.uiConfig.logoHeight]);
|
|
355
348
|
return {
|
|
356
349
|
hideHeader: resolveFirst([args.hideHeader, args.uiConfig.hideHeader]) ?? false,
|
|
357
350
|
hideFooterBranding: Boolean(args.hideFooterBranding || args.uiConfig.hideFooterBranding),
|
|
358
|
-
logoSrc: args.logo?.src || (args.isDark ? args.uiConfig.logoDarkSrc : void 0) || args.uiConfig.logoSrc || args.defaultLogoSrc
|
|
359
|
-
logoHeightPx: parseLogoHeight(logoHeight) ?? 80
|
|
351
|
+
logoSrc: args.logo?.src || (args.isDark ? args.uiConfig.logoDarkSrc : void 0) || args.uiConfig.logoSrc || args.defaultLogoSrc
|
|
360
352
|
};
|
|
361
353
|
}
|
|
362
354
|
function usePageUiConfig(args) {
|
|
@@ -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 { u 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 { n as WarningIcon, x as
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
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;
|
package/dist/phone/phone.es.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as Page } from "../page-
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
1
|
+
import { i as useTranslation } from "../i18n-Dp014ljG.js";
|
|
2
|
+
import { _ as q, 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, h as isTerminalModuleState, t as withStandaloneModuleBootstrap, v as useManager } from "../hooks-BFP0WaJM.js";
|
|
7
|
+
import { t as IncodeComponent } from "../incodeComponent-DtKh-UUm.js";
|
|
8
|
+
import { t as OtpInput } from "../otpInput-D3L3QhnR.js";
|
|
9
|
+
import { t as Checkbox } from "../checkbox-BwUQ0Rs9.js";
|
|
10
|
+
import { t as PhoneInputComposed } from "../phoneInputComposed-DlJMTavK.js";
|
|
11
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-DCHXAeYU.js";
|
|
11
12
|
import { createPhoneManager } from "@incodetech/core/phone";
|
|
12
13
|
//#region src/modules/phone/phone.tsx
|
|
13
14
|
/**
|
|
@@ -164,10 +165,13 @@ var PhoneContent = ({ config, manager: externalManager, onFinish, onError }) =>
|
|
|
164
165
|
]
|
|
165
166
|
}),
|
|
166
167
|
/* @__PURE__ */ u(Spacer, {}),
|
|
167
|
-
/* @__PURE__ */ u(
|
|
168
|
+
/* @__PURE__ */ u(PrizmaButton, {
|
|
169
|
+
variant: "primary",
|
|
170
|
+
size: "L",
|
|
171
|
+
className: cn("IncodeButton IncodeButtonPrimary IncodeButtonL", isLoading && "IncodeButtonLoading"),
|
|
168
172
|
onClick: () => manager.submit(),
|
|
169
173
|
disabled: !isValid,
|
|
170
|
-
isLoading,
|
|
174
|
+
loading: isLoading,
|
|
171
175
|
"data-testid": "phone-submit",
|
|
172
176
|
children: t("common.continue")
|
|
173
177
|
})
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as SuccessIcon, u as ErrorIcon } from "./icons-
|
|
3
|
-
import { t as InputComposed } from "./inputComposed-
|
|
4
|
-
import { t as FieldLabelHint } from "./fieldLabelHint-
|
|
5
|
-
import { t as countryDefinitions } from "./countryDefinitions-
|
|
6
|
-
import { t as DropdownComposed } from "./dropdownComposed-
|
|
1
|
+
import { _ as q, b as u, d as T, i as D, l as A, m as d, w as k, y } from "./vendor-preact-DHGqBGMH.js";
|
|
2
|
+
import { r as SuccessIcon, u as ErrorIcon } from "./icons-c-hFaG4L.js";
|
|
3
|
+
import { t as InputComposed } from "./inputComposed-CmVsaHOa.js";
|
|
4
|
+
import { t as FieldLabelHint } from "./fieldLabelHint-CjrLxBaj.js";
|
|
5
|
+
import { t as countryDefinitions } from "./countryDefinitions-RBVGM1D_.js";
|
|
6
|
+
import { t as DropdownComposed } from "./dropdownComposed-x3ewHxbT.js";
|
|
7
7
|
//#region src/shared/countries/countries.ts
|
|
8
8
|
var countries = Object.entries(countryDefinitions).map(([code, data]) => ({
|
|
9
9
|
code,
|