@incodetech/web 2.4.1-agentic → 2.4.1-agentic.2
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-CnHv9nyT.js +2 -0
- package/dist/{documentCapture-uAKPK1U-.js → documentCapture-Cs2zEfJD.js} +94 -32
- 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 -17
- 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-3LgeouU9.js} +36 -22
- 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-DhN_T_kp.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,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { x as
|
|
5
|
-
import { n as
|
|
6
|
-
import { t as
|
|
7
|
-
import "./dropdownComposed-
|
|
1
|
+
import { d as supportedLanguages, i as useTranslation, u as getLanguageEmoji } from "./i18n-Dp014ljG.js";
|
|
2
|
+
import { b as u, d as T, l as A, m as d, y } from "./vendor-preact-DHGqBGMH.js";
|
|
3
|
+
import { i as useUiConfig } from "./uiConfig-BJAuZQWc.js";
|
|
4
|
+
import { x as PrizmaButton } from "./icons-c-hFaG4L.js";
|
|
5
|
+
import { n as cn, t as Spacer } from "./spacer-Jaru_3sb.js";
|
|
6
|
+
import { n as incode_logo_default, r as Modal, t as usePageUiConfig } from "./pageUiConfig-Qf6ItVv9.js";
|
|
7
|
+
import { t as DropdownComposed } from "./dropdownComposed-x3ewHxbT.js";
|
|
8
|
+
import "./dropdownComposed-C9sLQE6i.js";
|
|
8
9
|
//#region src/shared/homeScreen/language.ts
|
|
9
10
|
function capitalizeLabel(text, locale) {
|
|
10
11
|
const [firstCharacter, ...rest] = Array.from(text);
|
|
@@ -128,7 +129,10 @@ function Settings({ onClose }) {
|
|
|
128
129
|
}),
|
|
129
130
|
/* @__PURE__ */ u("div", {
|
|
130
131
|
class: "IncodeHomeSettingsFooter",
|
|
131
|
-
children: /* @__PURE__ */ u(
|
|
132
|
+
children: /* @__PURE__ */ u(PrizmaButton, {
|
|
133
|
+
variant: "primary",
|
|
134
|
+
size: "L",
|
|
135
|
+
className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
|
|
132
136
|
onClick: onClose,
|
|
133
137
|
"data-testid": "home-settings-done-button",
|
|
134
138
|
children: t("settings.done")
|
|
@@ -242,13 +246,15 @@ function HomeScreen({ onContinue, isContinueLoading }) {
|
|
|
242
246
|
children: subtitle
|
|
243
247
|
}) : null]
|
|
244
248
|
}),
|
|
245
|
-
/* @__PURE__ */ u(
|
|
249
|
+
/* @__PURE__ */ u(PrizmaButton, {
|
|
250
|
+
variant: "primary",
|
|
251
|
+
size: "L",
|
|
246
252
|
ref: startButtonRef,
|
|
247
253
|
onClick: () => {
|
|
248
254
|
onContinue();
|
|
249
255
|
},
|
|
250
|
-
|
|
251
|
-
|
|
256
|
+
loading: isContinueLoading,
|
|
257
|
+
className: cn("IncodeButton IncodeButtonPrimary IncodeButtonL IncodeHomeStartButton", isContinueLoading && "IncodeButtonLoading"),
|
|
252
258
|
"data-testid": "home-start-button",
|
|
253
259
|
children: t("home.start")
|
|
254
260
|
})
|
|
@@ -1,95 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { S as
|
|
3
|
-
import { a as getStandaloneSetupPolicy, n as preloadDashboardTheme, t as getDashboardTheme } from "./dashboardTheme-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import { i as ModuleCancelProvider, t as Page } from "./page-utEpSa9Z.js";
|
|
9
|
-
import { t as TransitionSpinner } from "./transitionSpinner-DbrWrpRU.js";
|
|
1
|
+
import { i as useTranslation } from "./i18n-Dp014ljG.js";
|
|
2
|
+
import { S as Q, _ as q, b as u, d as T, f as _, g as h, l as A, m as d, r as C, s as gn, v as x, y } from "./vendor-preact-DHGqBGMH.js";
|
|
3
|
+
import { a as getStandaloneSetupPolicy, n as preloadDashboardTheme, t as getDashboardTheme } from "./dashboardTheme-DtXsx9IK.js";
|
|
4
|
+
import { u as ErrorIcon, x as PrizmaButton } from "./icons-c-hFaG4L.js";
|
|
5
|
+
import { a as ModuleCancelProvider, t as Page } from "./page-U6jZ7BBI.js";
|
|
6
|
+
import { t as ConnectionError } from "./connectionError-DexRpKWs.js";
|
|
7
|
+
import { t as TransitionSpinner } from "./transitionSpinner-Di0XBAix.js";
|
|
10
8
|
import { isConnectivityLost, onConnectivityChange, onSessionExpired } from "@incodetech/core/session";
|
|
11
|
-
import { ScreenOrientationProvider, createScreenOrientationObserver, getDeviceClass,
|
|
12
|
-
import {
|
|
9
|
+
import { ScreenOrientationProvider, createScreenOrientationObserver, getDeviceClass, isSupportedBrowser } from "@incodetech/core/device";
|
|
10
|
+
import { resolveDashboardModuleConfig } from "@incodetech/core/flow";
|
|
13
11
|
import "@incodetech/core/events";
|
|
14
12
|
import { getExperiment, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, subscribeFeatureManagement, updateFeatureManagementUser } from "@incodetech/core/feature-management";
|
|
15
|
-
//#region src/shared/statusPage/statusPage.tsx
|
|
16
|
-
var StatusPage = ({ variant, icon, title, subtitle, hideFooterBranding, actions, isLive }) => {
|
|
17
|
-
const subtitleId = `${g()}-subtitle`;
|
|
18
|
-
return /* @__PURE__ */ u(Page, {
|
|
19
|
-
className: `IncodeStatusPage IncodeStatusPage--${variant}`,
|
|
20
|
-
hideFooterBranding,
|
|
21
|
-
children: [/* @__PURE__ */ u("div", {
|
|
22
|
-
class: "IncodeStatusPageContainer",
|
|
23
|
-
role: isLive ?? variant === "loading" ? "status" : void 0,
|
|
24
|
-
"aria-live": isLive ?? variant === "loading" ? "polite" : void 0,
|
|
25
|
-
children: [
|
|
26
|
-
icon,
|
|
27
|
-
/* @__PURE__ */ u(Spacer, { size: 16 }),
|
|
28
|
-
/* @__PURE__ */ u(AutoFocusTitle, {
|
|
29
|
-
className: "IncodeStatusPageTitle",
|
|
30
|
-
describedById: subtitle ? subtitleId : void 0,
|
|
31
|
-
children: title
|
|
32
|
-
}, variant),
|
|
33
|
-
subtitle && /* @__PURE__ */ u("p", {
|
|
34
|
-
id: subtitleId,
|
|
35
|
-
class: "IncodeStatusPageSubtitle",
|
|
36
|
-
children: subtitle
|
|
37
|
-
})
|
|
38
|
-
]
|
|
39
|
-
}), actions ? /* @__PURE__ */ u("div", {
|
|
40
|
-
class: "IncodeStatusPageActions",
|
|
41
|
-
children: actions
|
|
42
|
-
}) : null]
|
|
43
|
-
});
|
|
44
|
-
};
|
|
45
|
-
//#endregion
|
|
46
|
-
//#region src/shared/connectionError/NoNetworkIcon.tsx
|
|
47
|
-
var NoNetworkIcon = ({ size = 32 }) => /* @__PURE__ */ u("svg", {
|
|
48
|
-
width: size,
|
|
49
|
-
height: size,
|
|
50
|
-
viewBox: "0 0 32 32",
|
|
51
|
-
fill: "none",
|
|
52
|
-
"aria-hidden": "true",
|
|
53
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
54
|
-
children: /* @__PURE__ */ u("path", {
|
|
55
|
-
d: "M5.769 4.741a1.333 1.333 0 0 1 1.882.09l12.734 14.006q.168.124.332.258c.178.148.309.333.388.535l5.165 5.681a1.333 1.333 0 0 1-1.973 1.793l-5.686-6.253a4.59 4.59 0 0 0-5.69.514 1.334 1.334 0 0 1-1.842-1.929 7.26 7.26 0 0 1 4.441-1.986l-2.327-2.56a10.15 10.15 0 0 0-4.315 2.507 1.334 1.334 0 0 1-1.865-1.906 12.8 12.8 0 0 1 4.227-2.749l-2.07-2.277a15.6 15.6 0 0 0-4.232 2.982 1.333 1.333 0 0 1-1.877-1.895 18.3 18.3 0 0 1 4.25-3.133L5.678 6.624a1.333 1.333 0 0 1 .09-1.883Zm10.23 17.925a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm1.485-9.462c.177-.715.9-1.15 1.615-.974a12.7 12.7 0 0 1 5.838 3.264 1.333 1.333 0 0 1-1.869 1.902 10 10 0 0 0-4.61-2.578 1.334 1.334 0 0 1-.974-1.614Zm-1.51-6.947a18.28 18.28 0 0 1 12.913 5.296 1.334 1.334 0 1 1-1.877 1.893 15.6 15.6 0 0 0-11.033-4.524h-.004q-1.126-.001-2.239.16a1.334 1.334 0 0 1-.384-2.638 18 18 0 0 1 2.62-.187v-.001zh.002z",
|
|
56
|
-
fill: "var(--icon-status-negative)"
|
|
57
|
-
})
|
|
58
|
-
});
|
|
59
|
-
//#endregion
|
|
60
|
-
//#region src/shared/connectionError/connectionError.tsx
|
|
61
|
-
/**
|
|
62
|
-
* Full-screen "no internet connection" state, shown whenever a backend request
|
|
63
|
-
* fails due to lost connectivity. Flow-agnostic and cross-cutting — any module
|
|
64
|
-
* can render it on a connectivity failure — so it lives in `shared/` rather
|
|
65
|
-
* than inside a single module. Composes the shared `StatusPage` primitive
|
|
66
|
-
* (icon + title + subtitle + actions) so it stays visually consistent with the
|
|
67
|
-
* rest of the status/result screens. Copy defaults to the shared
|
|
68
|
-
* `connectionError.*` namespace and can be overridden per caller. It can show
|
|
69
|
-
* offline, before the translation bundle loads, so it reads `I18N_LOCAL`
|
|
70
|
-
* fallbacks through `useTranslationWithFallback`.
|
|
71
|
-
*/
|
|
72
|
-
var ConnectionError = ({ onClose, onRefresh, title, subtitle, refreshLabel }) => {
|
|
73
|
-
const { t } = useTranslationWithFallback();
|
|
74
|
-
return /* @__PURE__ */ u(StatusPage, {
|
|
75
|
-
variant: "connectionError",
|
|
76
|
-
hideFooterBranding: true,
|
|
77
|
-
icon: /* @__PURE__ */ u(NoNetworkIcon, { size: 32 }),
|
|
78
|
-
title: title ?? t("connectionError.title"),
|
|
79
|
-
subtitle: subtitle ?? t("connectionError.subtitle"),
|
|
80
|
-
actions: onRefresh || onClose ? /* @__PURE__ */ u(k, { children: [onRefresh ? /* @__PURE__ */ u(Button, {
|
|
81
|
-
onClick: onRefresh,
|
|
82
|
-
"data-testid": "connection-error-refresh",
|
|
83
|
-
children: refreshLabel ?? t("connectionError.refresh")
|
|
84
|
-
}) : null, onClose ? /* @__PURE__ */ u(Button, {
|
|
85
|
-
variant: "secondary",
|
|
86
|
-
onClick: onClose,
|
|
87
|
-
"data-testid": "connection-error-close",
|
|
88
|
-
children: t("common.close")
|
|
89
|
-
}) : null] }) : void 0
|
|
90
|
-
});
|
|
91
|
-
};
|
|
92
|
-
//#endregion
|
|
93
13
|
//#region src/shared/webComponent/useModuleCancel.ts
|
|
94
14
|
var USER_CANCELLED = "USER_CANCELLED";
|
|
95
15
|
/** The user closed the offline screen, or the step cannot resume after it. */
|
|
@@ -794,7 +714,10 @@ var TerminalErrorPage = ({ message, moduleErrorCode, onRetry, retryable = true }
|
|
|
794
714
|
]
|
|
795
715
|
}), retryable ? /* @__PURE__ */ u("div", {
|
|
796
716
|
class: "IncodeTerminalErrorPageFooter",
|
|
797
|
-
children: /* @__PURE__ */ u(
|
|
717
|
+
children: /* @__PURE__ */ u(PrizmaButton, {
|
|
718
|
+
variant: "primary",
|
|
719
|
+
size: "L",
|
|
720
|
+
className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
|
|
798
721
|
onClick: handleRetry,
|
|
799
722
|
children: t("common.tryAgain")
|
|
800
723
|
})
|
|
@@ -906,221 +829,4 @@ function withStandaloneModuleBootstrap(Component, moduleKey, options = {}) {
|
|
|
906
829
|
});
|
|
907
830
|
}
|
|
908
831
|
//#endregion
|
|
909
|
-
|
|
910
|
-
var Snackbar = ({ variant = "neutral", children, className, ariaLive = "polite" }) => {
|
|
911
|
-
return /* @__PURE__ */ u("div", {
|
|
912
|
-
role: "status",
|
|
913
|
-
"aria-live": ariaLive,
|
|
914
|
-
class: cn("IncodeSnackbar", `IncodeSnackbar--${variant}`, className),
|
|
915
|
-
children: /* @__PURE__ */ u("span", {
|
|
916
|
-
class: "IncodeSnackbarContent",
|
|
917
|
-
children
|
|
918
|
-
})
|
|
919
|
-
});
|
|
920
|
-
};
|
|
921
|
-
//#endregion
|
|
922
|
-
//#region src/shared/browserNotSupported/browser-not-supported.svg?react
|
|
923
|
-
var SvgBrowserNotSupported = (props) => /* @__PURE__ */ u("svg", {
|
|
924
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
925
|
-
width: 32,
|
|
926
|
-
height: 32,
|
|
927
|
-
fill: "none",
|
|
928
|
-
viewBox: "0 0 32 32",
|
|
929
|
-
...props,
|
|
930
|
-
children: /* @__PURE__ */ u("path", {
|
|
931
|
-
fill: "#e71111",
|
|
932
|
-
fillRule: "evenodd",
|
|
933
|
-
d: "M9.962 3.84c-2.04 0-3.746.726-4.94 2.007C3.833 7.122 3.2 8.896 3.2 10.914v.916h24.319v-.916c0-2.017-.63-3.791-1.817-5.067-1.193-1.28-2.9-2.007-4.944-2.007zM8.05 8.065a.96.96 0 0 0 0 1.92h.07a.96.96 0 0 0 0-1.92zm3.181 0a.96.96 0 1 0 0 1.92h.071a.96.96 0 1 0 0-1.92zm3.183 0a.96.96 0 0 0 0 1.92h.071a.96.96 0 0 0 0-1.92zM3.2 21.085V13.75h24.319v7.335c0 2.017-.63 3.791-1.817 5.067-1.193 1.28-2.9 2.007-4.945 2.007H9.962c-2.045 0-3.752-.726-4.944-2.007C3.83 24.876 3.2 23.102 3.2 21.085m15.365-3.398a.96.96 0 0 1 0 1.358l-1.845 1.844 1.844 1.844a.96.96 0 0 1-1.358 1.358l-1.844-1.844-1.847 1.847a.96.96 0 1 1-1.357-1.358l1.846-1.847-1.847-1.847a.96.96 0 0 1 1.357-1.358l1.848 1.848 1.845-1.845a.96.96 0 0 1 1.358 0",
|
|
934
|
-
clipRule: "evenodd"
|
|
935
|
-
})
|
|
936
|
-
});
|
|
937
|
-
//#endregion
|
|
938
|
-
//#region src/shared/browserNotSupported/browserNotSupported.tsx
|
|
939
|
-
var COPY_SNACKBAR_DURATION_MS = 3e3;
|
|
940
|
-
/**
|
|
941
|
-
* Full-screen block shown by `IncodeComponent` in place of every module when
|
|
942
|
-
* the browser is not one the capture/WASM pipelines are known to work in.
|
|
943
|
-
*
|
|
944
|
-
* Renders before the translation bundle can be ready, so it uses
|
|
945
|
-
* `useTranslationWithFallback` instead of `useTranslation`.
|
|
946
|
-
*/
|
|
947
|
-
var BrowserNotSupported = ({ onContinue }) => {
|
|
948
|
-
const { t } = useTranslationWithFallback();
|
|
949
|
-
const copyToClipboard = useCopyToClipboard();
|
|
950
|
-
const copiedSnackbarTimer = useTimeoutHandle();
|
|
951
|
-
const [showCopiedSnackbar, setShowCopiedSnackbar] = d(false);
|
|
952
|
-
const shouldSuggestSafari = isApplePlatform();
|
|
953
|
-
const handleCopyLink = async () => {
|
|
954
|
-
if (!await copyToClipboard(window.location.href)) return;
|
|
955
|
-
setShowCopiedSnackbar(true);
|
|
956
|
-
copiedSnackbarTimer.schedule(() => setShowCopiedSnackbar(false), COPY_SNACKBAR_DURATION_MS);
|
|
957
|
-
};
|
|
958
|
-
return /* @__PURE__ */ u(Page, {
|
|
959
|
-
hideFooterBranding: true,
|
|
960
|
-
hideHeader: true,
|
|
961
|
-
className: "IncodeBrowserNotSupported",
|
|
962
|
-
children: [showCopiedSnackbar && /* @__PURE__ */ u("div", {
|
|
963
|
-
className: "IncodeBrowserNotSupportedSnackbar",
|
|
964
|
-
children: /* @__PURE__ */ u(Snackbar, {
|
|
965
|
-
variant: "positive",
|
|
966
|
-
children: /* @__PURE__ */ u("span", {
|
|
967
|
-
className: "IncodeBrowserNotSupportedSnackbarContent",
|
|
968
|
-
children: [/* @__PURE__ */ u(SuccessIcon, { size: 32 }), /* @__PURE__ */ u("span", { children: t("unsupportedBrowser.linkCopied") })]
|
|
969
|
-
})
|
|
970
|
-
})
|
|
971
|
-
}), /* @__PURE__ */ u("div", {
|
|
972
|
-
className: "IncodeBrowserNotSupportedPageContent",
|
|
973
|
-
children: [/* @__PURE__ */ u("div", {
|
|
974
|
-
className: "IncodeBrowserNotSupportedPageBody",
|
|
975
|
-
children: [
|
|
976
|
-
/* @__PURE__ */ u(SvgBrowserNotSupported, {}),
|
|
977
|
-
/* @__PURE__ */ u(Spacer, { size: 16 }),
|
|
978
|
-
/* @__PURE__ */ u(AutoFocusTitle, { children: t("unsupportedBrowser.title") }),
|
|
979
|
-
/* @__PURE__ */ u(Spacer, { size: 12 }),
|
|
980
|
-
/* @__PURE__ */ u(TypographyH5, {
|
|
981
|
-
className: "IncodeBrowserNotSupportedText",
|
|
982
|
-
children: [
|
|
983
|
-
t("unsupportedBrowser.betterExperience"),
|
|
984
|
-
" ",
|
|
985
|
-
shouldSuggestSafari && /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u("span", { children: "Safari" }), ` ${t("unsupportedBrowser.or")} `] }),
|
|
986
|
-
/* @__PURE__ */ u("span", { children: "Chrome" })
|
|
987
|
-
]
|
|
988
|
-
})
|
|
989
|
-
]
|
|
990
|
-
}), /* @__PURE__ */ u("div", {
|
|
991
|
-
className: "IncodeBrowserNotSupportedWrapper",
|
|
992
|
-
children: [
|
|
993
|
-
/* @__PURE__ */ u("div", {
|
|
994
|
-
className: "IncodeBrowserNotSupportedLink",
|
|
995
|
-
children: /* @__PURE__ */ u(TypographyH4, {
|
|
996
|
-
className: "IncodeBrowserNotSupportedLinkText",
|
|
997
|
-
children: window.location.href
|
|
998
|
-
})
|
|
999
|
-
}),
|
|
1000
|
-
/* @__PURE__ */ u(Button, {
|
|
1001
|
-
onClick: handleCopyLink,
|
|
1002
|
-
children: t("unsupportedBrowser.copyLink")
|
|
1003
|
-
}),
|
|
1004
|
-
/* @__PURE__ */ u(Button, {
|
|
1005
|
-
variant: "link",
|
|
1006
|
-
type: "button",
|
|
1007
|
-
onClick: onContinue,
|
|
1008
|
-
children: t("unsupportedBrowser.continueAnyways")
|
|
1009
|
-
})
|
|
1010
|
-
]
|
|
1011
|
-
})]
|
|
1012
|
-
})]
|
|
1013
|
-
});
|
|
1014
|
-
};
|
|
1015
|
-
//#endregion
|
|
1016
|
-
//#region src/shared/icons/rotate-icon.svg
|
|
1017
|
-
var rotate_icon_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='90'%20height='90'%20viewBox='0%200%2090%2090'%3e%3cpath%20fill='%2320263d'%20d='m84.12%2027.54-2.58-2.58L65.036%208.456l-2.58-2.58c-3.127-3.127-8.58-2.764-12.157.81L6.69%2050.306c-3.574%203.574-3.938%209.027-.81%2012.158l21.66%2021.66c3.128%203.127%208.58%202.764%2012.157-.81l43.617-43.616c3.574-3.578%203.937-9.03.806-12.158m-5.524%208.617-42.439%2042.44c-1.3%201.3-3.28%201.432-4.42.296l-20.63-20.63c-1.14-1.14-1.008-3.12.297-4.42l42.438-42.44c1.302-1.3%203.282-1.432%204.422-.296l1.031%201.032c1.14%201.14%201.009%203.12-.296%204.421-1.302%201.301-1.433%203.281-.297%204.421L69.02%2031.297c1.14%201.14%203.12%201.01%204.421-.296%201.301-1.301%203.281-1.432%204.421-.296l1.031%201.031c1.137%201.14%201.005%203.12-.296%204.421zM51.885%2090a3.135%203.135%200%200%201-2.22-5.351l8.925-8.925a3.14%203.14%200%200%201%204.646.233l3.308%204.046c10.114-5.374%2017.081-15.994%2017.178-28.14a3.136%203.136%200%200%201%203.136-3.113h.026a3.14%203.14%200%200%201%203.112%203.161C89.835%2072.746%2072.746%2089.835%2051.911%2090zM38.115%200a3.135%203.135%200%200%201%202.22%205.351l-8.925%208.925a3.13%203.13%200%200%201-2.378.915%203.14%203.14%200%200%201-2.272-1.147l-3.308-4.046C13.34%2015.37%206.373%2025.99%206.274%2038.138a3.14%203.14%200%200%201-3.139%203.112h-.026a3.14%203.14%200%200%201-3.11-3.161C.166%2017.254%2017.255.165%2038.09%200h.026z'/%3e%3c/svg%3e";
|
|
1018
|
-
//#endregion
|
|
1019
|
-
//#region src/shared/landscapeBlocker/landscapeBlocker.tsx
|
|
1020
|
-
function usePortalContainer() {
|
|
1021
|
-
const [container, setContainer] = d(null);
|
|
1022
|
-
const containerRef = A(null);
|
|
1023
|
-
y(() => {
|
|
1024
|
-
const el = document.createElement("div");
|
|
1025
|
-
el.setAttribute("data-incode-landscape-portal", "");
|
|
1026
|
-
document.body.appendChild(el);
|
|
1027
|
-
containerRef.current = el;
|
|
1028
|
-
setContainer(el);
|
|
1029
|
-
return () => {
|
|
1030
|
-
el.remove();
|
|
1031
|
-
containerRef.current = null;
|
|
1032
|
-
};
|
|
1033
|
-
}, []);
|
|
1034
|
-
return container;
|
|
1035
|
-
}
|
|
1036
|
-
function LandscapeBlocker() {
|
|
1037
|
-
const { t } = useTranslation();
|
|
1038
|
-
const container = usePortalContainer();
|
|
1039
|
-
if (!container) return null;
|
|
1040
|
-
return $(/* @__PURE__ */ u("div", {
|
|
1041
|
-
class: "IncodeLandscapeBlocker",
|
|
1042
|
-
children: [
|
|
1043
|
-
/* @__PURE__ */ u("img", {
|
|
1044
|
-
class: "IncodeLandscapeBlocker-icon",
|
|
1045
|
-
src: rotate_icon_default,
|
|
1046
|
-
alt: "",
|
|
1047
|
-
"aria-hidden": true
|
|
1048
|
-
}),
|
|
1049
|
-
/* @__PURE__ */ u("p", {
|
|
1050
|
-
class: "IncodeLandscapeBlocker-text",
|
|
1051
|
-
children: t("common.landscape")
|
|
1052
|
-
}),
|
|
1053
|
-
/* @__PURE__ */ u("p", {
|
|
1054
|
-
class: "IncodeLandscapeBlocker-text",
|
|
1055
|
-
children: isIPad() ? t("common.rotateIpad") : t("common.rotate")
|
|
1056
|
-
})
|
|
1057
|
-
]
|
|
1058
|
-
}), container);
|
|
1059
|
-
}
|
|
1060
|
-
//#endregion
|
|
1061
|
-
//#region src/shared/componentRoot/incodeComponent.tsx
|
|
1062
|
-
/** True below an `IncodeComponent`; only the outermost one checks. */
|
|
1063
|
-
var BrowserCheckOwnerContext = Q(false);
|
|
1064
|
-
/**
|
|
1065
|
-
* The session Flow's `disableUnsupportedBrowserScreen`. False when Flow-backed
|
|
1066
|
-
* configuration is off, there is no session, or the Flow fails to load, so the
|
|
1067
|
-
* screen stays on by default.
|
|
1068
|
-
*/
|
|
1069
|
-
function readFlowDisablesScreen(signal) {
|
|
1070
|
-
if (!getStandaloneSetupPolicy().flow.enabled) return Promise.resolve(false);
|
|
1071
|
-
return Promise.resolve().then(() => preloadDashboardFlow(signal)).then((flow) => flow.disableUnsupportedBrowserScreen === true, () => false);
|
|
1072
|
-
}
|
|
1073
|
-
/**
|
|
1074
|
-
* Per-element `config.disableUnsupportedBrowserScreen` wins over
|
|
1075
|
-
* `setup({ uiConfig })`, which wins over the session Flow. The Flow is read
|
|
1076
|
-
* only on an unsupported browser with no host value.
|
|
1077
|
-
*/
|
|
1078
|
-
function useBrowserGate(skip) {
|
|
1079
|
-
const { isSupported, continueAnyway } = useIsBrowserSupported();
|
|
1080
|
-
const instanceValue = useInstanceOverrides().disableUnsupportedBrowserScreen;
|
|
1081
|
-
const globalValue = useUiConfig().disableUnsupportedBrowserScreen;
|
|
1082
|
-
const hostValue = instanceValue ?? globalValue;
|
|
1083
|
-
const needsFlowValue = !skip && !isSupported && hostValue === void 0;
|
|
1084
|
-
const [flowValue, setFlowValue] = d();
|
|
1085
|
-
y(() => {
|
|
1086
|
-
if (!needsFlowValue) return;
|
|
1087
|
-
const controller = new AbortController();
|
|
1088
|
-
readFlowDisablesScreen(controller.signal).then((value) => {
|
|
1089
|
-
if (!controller.signal.aborted) setFlowValue(value);
|
|
1090
|
-
});
|
|
1091
|
-
return () => controller.abort();
|
|
1092
|
-
}, [needsFlowValue]);
|
|
1093
|
-
const disabled = hostValue ?? flowValue;
|
|
1094
|
-
let gate = "blocked";
|
|
1095
|
-
if (skip || isSupported || disabled === true) gate = "open";
|
|
1096
|
-
else if (disabled === void 0) gate = "checking";
|
|
1097
|
-
return {
|
|
1098
|
-
gate,
|
|
1099
|
-
continueAnyway
|
|
1100
|
-
};
|
|
1101
|
-
}
|
|
1102
|
-
/**
|
|
1103
|
-
* Wraps UI modules with the standard container. Blocks unsupported browsers
|
|
1104
|
-
* and shows a landscape blocker on rotated mobile (excluding iPad).
|
|
1105
|
-
*/
|
|
1106
|
-
function IncodeComponent({ children, deferBrowserCheck = false }) {
|
|
1107
|
-
const { isLandscapeMobile } = useScreenOrientation();
|
|
1108
|
-
const { gate, continueAnyway } = useBrowserGate(x(BrowserCheckOwnerContext) || deferBrowserCheck);
|
|
1109
|
-
if (gate === "blocked") return /* @__PURE__ */ u("div", {
|
|
1110
|
-
class: "IncodeComponent",
|
|
1111
|
-
children: /* @__PURE__ */ u(BrowserNotSupported, { onContinue: continueAnyway })
|
|
1112
|
-
});
|
|
1113
|
-
if (gate === "checking") return /* @__PURE__ */ u("div", {
|
|
1114
|
-
class: "IncodeComponent",
|
|
1115
|
-
children: /* @__PURE__ */ u(TransitionSpinner, { renderMode: "spinnerOnly" })
|
|
1116
|
-
});
|
|
1117
|
-
return /* @__PURE__ */ u("div", {
|
|
1118
|
-
class: "IncodeComponent",
|
|
1119
|
-
children: [/* @__PURE__ */ u(BrowserCheckOwnerContext.Provider, {
|
|
1120
|
-
value: true,
|
|
1121
|
-
children
|
|
1122
|
-
}), isLandscapeMobile ? /* @__PURE__ */ u(LandscapeBlocker, {}) : null]
|
|
1123
|
-
});
|
|
1124
|
-
}
|
|
1125
|
-
//#endregion
|
|
1126
|
-
export { useModuleCancel as C, withSessionExpiry as S, StatusPage as T, useFormScrollable as _, withStandaloneModuleBootstrap as a, useScreenOrientation as b, TerminalErrorPage as c, useAnimationSignal as d, useTimeoutHandle as f, useIsBrowserSupported as g, useIsMobileDeviceWidth as h, Snackbar as i, useFeatureManagement as l, useEventListener as m, LandscapeBlocker as n, ResolvedConfigProvider as o, useResizeObserver as p, BrowserNotSupported as r, useHasResolvedConfig as s, IncodeComponent as t, usePresence as u, isTerminalModuleState as v, ConnectionError as w, useManager as x, useModuleTerminalCallbacks as y };
|
|
832
|
+
export { useScreenOrientation as _, useFeatureManagement as a, useModuleCancel as b, useCopyToClipboard as c, useEventListener as d, useIsMobileDeviceWidth as f, useModuleTerminalCallbacks as g, isTerminalModuleState as h, TerminalErrorPage as i, useTimeoutHandle as l, useFormScrollable as m, ResolvedConfigProvider as n, usePresence as o, useIsBrowserSupported as p, useHasResolvedConfig as r, useAnimationSignal as s, withStandaloneModuleBootstrap as t, useResizeObserver as u, useManager as v, withSessionExpiry as y };
|