@incodetech/web 2.4.1-agentic → 2.4.1-agentic.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES.txt +1 -4
- package/dist/{GeolocationPermissionDenied-CUt-uebQ.js → GeolocationPermissionDenied-Dag9fchQ.js} +23 -8
- package/dist/Password-4ht2vsqv.js +212 -0
- package/dist/RadioGroup-Cf6xDIm5.js +123 -0
- package/dist/RequiredLegend-DwaAzhid.js +16 -0
- package/dist/RequiredMarker-CGQR8lsb.js +16 -0
- package/dist/TextField-o3qwE7KD.js +166 -0
- package/dist/ae-signature/ae-signature.es.js +4 -4
- package/dist/{af-ZA-BWKMRc6V.js → af-ZA-CdJRBJEg.js} +107 -881
- package/dist/{ageVerification-CMIp0I--.js → ageVerification-u2zo-WUl.js} +10 -8
- package/dist/{am-DPyjIvQV.js → am-Df9uoE6e.js} +107 -881
- package/dist/antifraud/antifraud.es.js +5 -4
- package/dist/{applyStudioConfig-DxtP9221.js → applyStudioConfig-Deh55YNW.js} +2 -2
- package/dist/{ar-AE-CxCvbyoW.js → ar-AE-CAoWsgnA.js} +107 -881
- package/dist/{ar-EG-B1hHB55j.js → ar-EG-CXi0p-DV.js} +107 -881
- package/dist/{ar-10SoqF1i.js → ar-hyEIwsq9.js} +108 -882
- package/dist/assertClassBrand-CuHX5JcR.js +17 -0
- package/dist/authentication/authentication.es.js +7 -5
- package/dist/autoFocusTitle-CNeT8ydU.js +19 -0
- package/dist/{az-cmuBNn_5.js → az-CUehzrK3.js} +107 -881
- package/dist/{back-horizontal-hint-Dl2C4J4u.js → back-horizontal-hint-D5xvRtEe.js} +1 -1
- package/dist/{back-vertical-hint-CM4_HjWk.js → back-vertical-hint-DoKJSQhY.js} +1 -1
- package/dist/base.css +1 -1
- package/dist/{baseTutorial-BGU2Gcly.js → baseTutorial-xDkp34JC.js} +9 -7
- package/dist/{bn-CuGYlngZ.js → bn-DStUscj0.js} +107 -881
- package/dist/{bottomSheet-x20yd6eP.js → bottomSheet-COrgITc6.js} +3 -3
- package/dist/{bs-vwpJzaHm.js → bs-Lq1FPKJj.js} +107 -881
- package/dist/{ca-DXZs5vtr.js → ca-K83Ys4Fe.js} +107 -881
- package/dist/cameraOverlay-Bciqav_0.js +2 -0
- package/dist/{cameraOverlayHeader-BxutAKy-.js → cameraOverlayHeader-C7Pi5eIm.js} +9 -8
- package/dist/{cameraView-DVzaEGW8.js → cameraView-B7l40Opf.js} +3 -3
- package/dist/capture-D7HVD1ht.js +754 -0
- package/dist/capture-Do7z-u0d.js +3 -0
- package/dist/{tutorial-BKPHj5To.js → capture-I1enj-0M.js} +28 -68
- package/dist/capture-WaSNv1Wn.js +2 -0
- package/dist/captureButtonIcon-DVbAZ8TK.js +1 -0
- package/dist/captureFocusContext-CNtkY3Lk.js +718 -0
- package/dist/captureFooter-CucCxqz-.js +47 -0
- package/dist/{ceb-CmhS_VOs.js → ceb-NR8sWgTh.js} +107 -881
- package/dist/certificate-issuance/certificate-issuance.es.js +68 -41
- package/dist/certificate-issuance/styles.css +1 -1
- package/dist/certificate-issuance/styles.css.js +1 -1
- package/dist/{checkbox-BC26Qbxh.js → checkbox-C5k2pepr.js} +4 -4
- package/dist/chooser-CNm0MKQl.js +1517 -0
- package/dist/connectionError-Bs3TO2RP.js +100 -0
- package/dist/consent/consent.es.js +16 -12
- package/dist/{countryFlag-DXSVHiby.js → countryFlag-CZUyZ06G.js} +1 -1
- package/dist/{countrySelector-0PDDFsZF.js → countrySelector-CPgaMT7n.js} +4 -4
- package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -4
- package/dist/{cs-CZ-Dg5O-Vom.js → cs-CZ-KpSXcWZT.js} +107 -881
- package/dist/{cs-CoJlE7De.js → cs-UYoUjOrG.js} +107 -881
- package/dist/curp-validation/curp-validation.es.js +97 -96
- package/dist/curp-validation/styles.css +1 -1
- package/dist/curp-validation/styles.css.js +1 -1
- package/dist/{customFields-COYGTuuK.js → customFields-BcubL9au.js} +33 -19
- package/dist/{customWatchlist-B0wY6Rwb.js → customWatchlist-D4RK0ow6.js} +11 -8
- package/dist/{da-DK-C_JAndM-.js → da-DK-Bds8n-Rj.js} +107 -881
- package/dist/dashboardTheme-DQaxmEq3.js +383 -0
- package/dist/dateInputComposed-BrpUtswb.js +1 -0
- package/dist/{dateInputComposed-QkmLGLHg.js → dateInputComposed-BzCDzTM3.js} +4 -5
- package/dist/{de-11hHLedu.js → de-CZlvE1Xz.js} +107 -881
- package/dist/denied-BeVKpBem.js +272 -0
- package/dist/devWarn-B4kGEiva.js +1056 -0
- package/dist/{deviceWallet-BeTpokSL.js → deviceWallet-7b1VpcGm.js} +4 -4
- package/dist/{digitalIdRedirect-BnljwZV3.js → digitalIdRedirect-CG9jzrQh.js} +4 -4
- package/dist/{digitalIdUpload-DNhqqMHT.js → digitalIdUpload-BUJcgYY5.js} +37 -15
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/document-capture/styles.css +1 -1
- package/dist/document-capture/styles.css.js +1 -1
- package/dist/documentCapture-BdEStEoH.js +2 -0
- package/dist/{documentCapture-uAKPK1U-.js → documentCapture-JcxukEgT.js} +113 -59
- package/dist/dropdownComposed-C36c9ZOm.js +1 -0
- package/dist/{dropdownComposed-D_RQd0Z9.js → dropdownComposed-yNmLuHxU.js} +8 -6
- package/dist/dynamic-forms/dynamic-forms.es.js +62 -35
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/{ekybModule-Bsqag_MS.js → ekybModule-Cp-7fs23.js} +109 -89
- package/dist/ekybModule-ccZRVb7E.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekyc-prefill/ekyc-prefill.es.js +2 -0
- package/dist/ekyc-prefill/styles.css +2 -0
- package/dist/ekyc-prefill/styles.css.js +1 -0
- package/dist/ekycModule-CcZTIgGK.js +2 -0
- package/dist/ekycModule-DKUZp3Ww.js +358 -0
- package/dist/ekycPrefillModule-Bou_Ig42.js +2 -0
- package/dist/ekycPrefillModule-DJoeviHP.js +233 -0
- package/dist/{el-CRGmVrep.js → el-C6tFl9i9.js} +107 -881
- package/dist/{el-GR-CjtJiRTo.js → el-GR-BLkQ_dbO.js} +107 -881
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-Cm2BEiQu.js → electronic-signature-D-4uTJdE.js} +55 -36
- package/dist/email/email.es.js +21 -16
- package/dist/{emailInput-JmK2JIFS.js → emailInput-C5VHG66O.js} +23 -12
- package/dist/{en-DG-Cruu6Woh.js → en-DG-BEuiDKtl.js} +107 -881
- package/dist/{en-CSjoG3e4.js → en-DNBypQuu.js} +107 -881
- package/dist/{errorContent-zY4jb6uY.js → errorContent-BC8mDFld.js} +21 -20
- package/dist/{formField-C3MNhFKI.js → errorParams-W7NX72mI.js} +2 -33
- package/dist/es-419-BCIRYhZK.js +5 -0
- package/dist/{es-C_LAY-Yu.js → es-DjQEM4f9.js} +108 -882
- package/dist/{es-ES-D7O0P5Mg.js → es-ES-Q6nMptUM.js} +107 -881
- package/dist/{es-MX-DVzFaANh.js → es-MX-Df5g3bAX.js} +107 -881
- package/dist/{et-DdSwjU5d.js → et-BYRhgB8X.js} +108 -882
- package/dist/expiredId-BVa13c9u.js +67 -0
- package/dist/extensibility.es.js +368 -42
- package/dist/{fa-IR-CdK8XLkS.js → fa-IR-DP-FPc-r.js} +107 -881
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/face-match/styles.css +1 -1
- package/dist/face-match/styles.css.js +1 -1
- package/dist/faceMatch-B2n0FPIm.js +2 -0
- package/dist/{faceMatch-B0IzR9_u.js → faceMatch-C5QmR3Vt.js} +44 -53
- package/dist/{fi-FI-CYlEPu44.js → fi-FI-rnIjEC7X.js} +107 -881
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-CDGiqzsu.js +126 -0
- package/dist/fieldComparison-D-LmR1LR.js +2 -0
- package/dist/{fieldLabelHint-gdoE5nLQ.js → fieldLabelHint-eF42wLDJ.js} +3 -3
- package/dist/{finalSuccessScreen-BM9oeJDH.js → finalSuccessScreen-vOR061dK.js} +31 -22
- package/dist/fiscal-qr/fiscal-qr.es.js +25 -22
- package/dist/flipAnimation-CGP9Fu9J.js +46 -0
- package/dist/flipCapturedCardEligibility-C8wQ0_No.js +210 -0
- package/dist/flow/flow.es.js +216 -191
- package/dist/flow/shell/styles.css +1 -1
- package/dist/flow/shell/styles.css.js +1 -1
- package/dist/flow/styles.css +1 -1
- package/dist/formField-DrSwXufE.js +49 -0
- package/dist/{fr-CA-DD_s9NuV.js → fr-CA-vPsubqTC.js} +107 -881
- package/dist/{fr-C4cP8ZNE.js → fr-P8YbBMxT.js} +107 -881
- package/dist/{front-horizontal-hint-Dol0Lpc6.js → front-horizontal-hint-CDHj9LQF.js} +1 -1
- package/dist/{front-vertical-hint-CAhAzw92.js → front-vertical-hint-B_pU27Iv.js} +1 -1
- package/dist/geolocation/geolocation.es.js +15 -10
- package/dist/government-validation/government-validation.es.js +7 -6
- package/dist/{he-D3fvMZAl.js → he-DfptjOXC.js} +107 -881
- package/dist/{hi-DLf6_opn.js → hi-C7tSzMcB.js} +107 -881
- package/dist/{hmn-DzoODzbN.js → hmn-jKsUYgaq.js} +107 -881
- package/dist/{homeScreen-D1Xd93In.js → homeScreen-C1b8yg4y.js} +21 -14
- package/dist/{incodeComponent-C1Bz5Qou.js → hooks-COiwxC3h.js} +39 -325
- package/dist/{hr-C-jP0DrB.js → hr-ehtrddz3.js} +107 -881
- package/dist/{ht-CVt9koJf.js → ht-CA5NNkri.js} +107 -881
- package/dist/{hu-9fSzIeAd.js → hu-DYgOdNXH.js} +107 -881
- package/dist/{icons-BdiCuWFP.js → icons-CLoob8B-.js} +129 -56
- package/dist/id/id.es.js +166 -197
- package/dist/id/styles.css +1 -1
- package/dist/id/styles.css.js +1 -1
- package/dist/{id-Dgi5uGHK.js → id-CMBxWcTV.js} +107 -881
- package/dist/{id-back-of-card-CHFxXTEq.js → id-back-of-card-BEAthtU0.js} +1 -1
- package/dist/{id-back-of-card-vertical-CUBdKGbw.js → id-back-of-card-vertical-Ce0d7tp5.js} +1 -1
- package/dist/{id-front-of-card-DplNJr13.js → id-front-of-card-DS0lS9jP.js} +1 -1
- package/dist/{id-front-of-card-vertical-D1duHEsV.js → id-front-of-card-vertical-BLWn85NX.js} +1 -1
- package/dist/id-selfie-flow/id-selfie-flow.es.js +13 -11
- package/dist/id-selfie-flow/styles.css +1 -1
- package/dist/id-verification/id-verification.es.js +6 -5
- package/dist/idFlipTransition-3z8Lqcab.js +154 -0
- package/dist/{idOcr-sknZwQNF.js → idOcr-qPEZSG5D.js} +64 -37
- package/dist/identity-reuse/identity-reuse.es.js +36 -24
- package/dist/incodeComponent-CxWTvgqz.js +235 -0
- package/dist/{incodeModule-DJToJb00.js → incodeModule-BQVPjhJE.js} +5 -5
- package/dist/index.es.js +3 -3
- package/dist/{inputComposed-BuE0iZlw.js → inputComposed-oWeKvdES.js} +4 -4
- package/dist/{it-CEFstYFG.js → it-DNcyH3GL.js} +107 -881
- package/dist/{ja-BNdVd9B6.js → ja-BkVsn7yw.js} +107 -881
- package/dist/{ja-JP-B5TPMV1q.js → ja-JP-BI4iShf-.js} +108 -882
- package/dist/{jv-CMxkkXUk.js → jv-Bpp0lYl-.js} +107 -881
- package/dist/{ka-C70bUmEK.js → ka-__y8BNrb.js} +107 -881
- package/dist/{kk-C_55EmWt.js → kk-C8RZv7Y9.js} +107 -881
- package/dist/{km-D4Ig0NhN.js → km-CdNpEVlv.js} +114 -888
- package/dist/{ko-DfUa3dzQ.js → ko-Db8jh_Pq.js} +107 -881
- package/dist/{ko-KP-BwBB8ahu.js → ko-KP-Cn4RuF_b.js} +107 -881
- package/dist/{ky-CnJichOm.js → ky-DljlRCIf.js} +107 -881
- package/dist/kyb-checks/kyb-checks.es.js +2 -0
- package/dist/kyb-checks/styles.css +2 -0
- package/dist/kyb-checks/styles.css.js +1 -0
- package/dist/kybChecksModule-B2nSWMuy.js +2 -0
- package/dist/kybChecksModule-DGXAS1Sc.js +345 -0
- package/dist/{lo-ww1DXVAP.js → lo-DXJI47k7.js} +107 -881
- package/dist/{lt-IJ8qpluI.js → lt-CUHwdgrq.js} +107 -881
- package/dist/{lv-DMfsmqyK.js → lv-BFrYWmGH.js} +107 -881
- package/dist/{mandatoryConsent-Bp8sQoiu.js → mandatoryConsent-Dc0PQou0.js} +20 -14
- package/dist/{manualCaptureButton-Cd-FY05-.js → manualCaptureButton-DIlebb4i.js} +8 -7
- package/dist/{manualCaptureButton-BXOTp2PS.js → manualCaptureButton-t0b_hCKH.js} +15 -12
- package/dist/{mk-ByafmFak.js → mk-BRpnPevj.js} +107 -881
- package/dist/{mn-DjO9p3xN.js → mn-tly7Lz7o.js} +107 -881
- package/dist/{ms-3Vf1QpHl.js → ms-DFpRACK3.js} +107 -881
- package/dist/{my-C5hpE5P1.js → my-G2jJl4tA.js} +107 -881
- package/dist/{nb-NO-DGCWCOul.js → nb-NO-CaDPgzxb.js} +107 -881
- package/dist/{ne-CpJxcVhV.js → ne-BaCq8Imv.js} +107 -881
- package/dist/{nl-R2RykJHB.js → nl-BK-jT4yQ.js} +107 -881
- package/dist/{optionAccessibleLabel-BQl8HooZ.js → optionAccessibleLabel-CDKKh7c3.js} +25 -10
- package/dist/otpInput-B4mH5be-.js +245 -0
- package/dist/{page-utEpSa9Z.js → page-5CklyQnq.js} +86 -44
- package/dist/{pageUiConfig-rOL18JSI.js → pageUiConfig-DZQHreIo.js} +67 -25
- package/dist/{passport-horizontal-hint-BfTXA2LB.js → passport-horizontal-hint-JdWoLKa5.js} +1 -1
- package/dist/{passport-vertical-hint-C7dzd2ks.js → passport-vertical-hint-BgtJXbvC.js} +1 -1
- package/dist/passwordRequirements-bbbHZACR.js +49 -0
- package/dist/{pdf-BnPw8ZaT.js → pdf-CLcY9ugT.js} +2 -17
- package/dist/pdfViewer-2NTW2bZn.js +2 -0
- package/dist/{pdfViewer-DNMZsDFD.js → pdfViewer-D4xu2J13.js} +11 -14
- package/dist/permissionInstructionList-Dmy2y4cX.js +43 -0
- package/dist/{permissions-CCEc9lKM.js → permissions-BPh2QNoI.js} +84 -53
- package/dist/phone/phone.es.js +16 -12
- package/dist/{phoneInputComposed-ByiK_6Hu.js → phoneInputComposed-Dzt9xdrF.js} +6 -6
- package/dist/{pl-B1LgnPj1.js → pl-CoWZGdbr.js} +107 -881
- package/dist/preloadableLazy-2hqV2Q8z.js +43 -0
- package/dist/{processing-Ci_Kl-Rh.js → processing-DStiN9XK.js} +2 -2
- package/dist/{progressBar-Caj-Vu1e.js → progressBar-CJqJXzAh.js} +2 -2
- package/dist/{pt-CPVeH0hD.js → pt-BDByRgpr.js} +107 -881
- package/dist/{pt-BR-DSJDHb-K.js → pt-BR-BRMyrqIN.js} +107 -881
- package/dist/{pt-PT-BWJTVPZY.js → pt-PT-CfwlYo6V.js} +107 -881
- package/dist/qe-signature/qe-signature.es.js +4 -4
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +34 -33
- package/dist/redirect-to-mobile/styles.css +1 -1
- package/dist/redirect-to-mobile/styles.css.js +1 -1
- package/dist/{registerIncodeElement-Dtw9dM3O.js → registerIncodeElement-B5W7SqS3.js} +1 -1
- package/dist/{resendTimer-ODOCcKyh.js → resendTimer-COMRdeDC.js} +2 -2
- package/dist/richText-BMvr5dhl.js +1761 -0
- package/dist/{ro-8gGEWeHO.js → ro-ju058j4P.js} +107 -881
- package/dist/{ru-C4EVku5S.js → ru-DYwhf4Hw.js} +107 -881
- package/dist/{ru-RU-Dr0NOGjg.js → ru-RU-BAvJW-vp.js} +107 -881
- package/dist/{sanitizeSvg-ilJ8VQmH.js → sanitizeSvg-BZoCoRr0.js} +1 -1
- package/dist/selfie/selfie.es.js +30 -14
- package/dist/selfie/styles.css +1 -1
- package/dist/selfie/styles.css.js +1 -1
- package/dist/signature/signature.es.js +18 -13
- package/dist/{sk-BSTzMa__.js → sk-Cl6F-Kaz.js} +108 -882
- package/dist/{sl-_HvO-HVX.js → sl-BxsNneWx.js} +107 -881
- package/dist/{smsTabContent-CWBrtP4u.js → smsTabContent-BLJM1Hbk.js} +40 -27
- package/dist/{so-pyCaqonl.js → so-D8izvKPD.js} +107 -881
- package/dist/spacer-NanHQwzu.js +1100 -0
- package/dist/spinner-bRH4yw9e.js +69 -0
- package/dist/{sr-Bpxtt0kk.js → sr-BtsYxFKz.js} +107 -881
- package/dist/{sr-Latn-BjueCJSI.js → sr-Latn-BTn5o62j.js} +112 -886
- package/dist/sr-YU-BNViLYA5.js +5 -0
- package/dist/step-up/step-up.es.js +483 -0
- package/dist/step-up/styles.css +2 -0
- package/dist/{sv-SE-sv5v6ZWe.js → sv-SE-f5R8i8ue.js} +107 -881
- package/dist/{sw-BseJSmdR.js → sw-BgHNoEGs.js} +107 -881
- package/dist/{th-TH-D0WNW-3l.js → th-TH-DmfU-a6A.js} +107 -881
- package/dist/{th-C2G8Ur12.js → th-aFkhFNxp.js} +107 -881
- package/dist/themes/dark.css +1 -1
- package/dist/themes/light.css +1 -1
- package/dist/{tl-CBOmxz5r.js → tl-CA42NVfv.js} +107 -881
- package/dist/{tl-PH-CwafDrED.js → tl-PH-DMCUe7pP.js} +107 -881
- package/dist/{tr-C4iH8UJx.js → tr-BVjID0jl.js} +108 -882
- package/dist/{transitionSpinner-DbrWrpRU.js → transitionSpinner-MclJtdHE.js} +5 -5
- package/dist/tutorial-fC2iei2v.js +28 -0
- package/dist/types/ae-signature.d.ts +7 -3
- package/dist/types/antifraud.d.ts +7 -3
- package/dist/types/authentication.d.ts +7 -3
- package/dist/types/certificate-issuance.d.ts +7 -3
- package/dist/types/consent.d.ts +7 -3
- package/dist/types/cross-document-data-match.d.ts +7 -3
- package/dist/types/curp-validation.d.ts +7 -3
- package/dist/types/document-capture.d.ts +7 -3
- package/dist/types/dynamic-forms.d.ts +7 -3
- package/dist/types/ekyb.d.ts +7 -3
- package/dist/types/ekyc-prefill.d.ts +213 -0
- package/dist/types/ekyc.d.ts +7 -3
- package/dist/types/electronic-signature.d.ts +7 -3
- package/dist/types/email.d.ts +7 -3
- package/dist/types/extensibility.d.ts +63 -17
- package/dist/types/face-match.d.ts +7 -3
- package/dist/types/field-comparison.d.ts +7 -3
- package/dist/types/fiscal-qr.d.ts +7 -3
- package/dist/types/flow.d.ts +16 -3
- package/dist/types/geolocation.d.ts +7 -3
- package/dist/types/government-validation.d.ts +7 -3
- package/dist/types/id-selfie-flow.d.ts +7 -3
- package/dist/types/id-verification.d.ts +7 -3
- package/dist/types/id.d.ts +7 -3
- package/dist/types/identity-reuse.d.ts +7 -3
- package/dist/types/index.d.ts +4 -0
- package/dist/types/kyb-checks.d.ts +213 -0
- package/dist/types/phone.d.ts +7 -3
- package/dist/types/qe-signature.d.ts +7 -3
- package/dist/types/selfie.d.ts +7 -3
- package/dist/types/signature.d.ts +7 -3
- package/dist/types/step-up.d.ts +85 -0
- package/dist/types/watchlist.d.ts +7 -3
- package/dist/types/workflow.d.ts +7 -3
- package/dist/{typography-BF9d8wEc.js → typography-Dncyo-3D.js} +3 -11
- package/dist/{uk-BGYlvKb_.js → uk-HjZTXCOA.js} +107 -881
- package/dist/{uk-UA-CbxzkCL_.js → uk-UA-ChpoWDcU.js} +108 -882
- package/dist/{ur-BQgtsAfv.js → ur-CZkQHBM4.js} +107 -881
- package/dist/{useCameraPreview-BmkAmzAs.js → useCameraPreview-DrteOjaq.js} +1 -1
- package/dist/useCaptureHelpButton-B5zEGcaB.js +43 -0
- package/dist/{useIsDarkTheme-COJZngNK.js → useIsDarkTheme-DAs5RhsW.js} +1 -1
- package/dist/{useModuleLoader-CceEKjsh.js → useModuleLoader-C2fbLotc.js} +8 -3
- package/dist/{uz-DqOg1Fdv.js → uz-BCp_m_Om.js} +107 -881
- package/dist/{vendor-preact-C0jX1Cbq.js → vendor-preact-HIccnts1.js} +19 -1
- package/dist/{verificationResult-m99Ragq6.js → verificationResult-sh4xut0K.js} +30 -27
- package/dist/{vi-COxdKkHn.js → vi-BvxcvDgc.js} +107 -881
- package/dist/video-selfie/styles.css +1 -1
- package/dist/video-selfie/styles.css.js +1 -1
- package/dist/video-selfie/video-selfie.es.js +64 -42
- package/dist/watchlist/watchlist.es.js +12 -8
- package/dist/{watchlistForBusiness-C2zxbavl.js → watchlistForBusiness-DnS1r-Ml.js} +38 -22
- package/dist/{withEndScreenTexts-BwNU-8-X.js → withEndScreenTexts-CHWofhk5.js} +212 -46
- package/dist/workflow/styles.css +1 -1
- package/dist/workflow/workflow.es.js +1 -530
- package/dist/workflow-DBS9eyu4.js +533 -0
- package/dist/{zh-CN-DfvYQGdE.js → zh-CN-DZRia1ir.js} +108 -882
- package/dist/{zh-CPQoDPxf.js → zh-DN_kUZaR.js} +107 -881
- package/dist/{zh-HANT-B4LzHH2y.js → zh-HANT-DisU_Tal.js} +107 -881
- package/dist/{zh-TW-DtvvhBYL.js → zh-TW-BJzCsdPP.js} +107 -881
- package/package.json +44 -12
- package/dist/autoFocusTitle-BxsSeMSB.js +0 -32
- package/dist/browser-ponyfill-CHlXHPpU.js +0 -441
- package/dist/cameraOverlay-Be1PFI8S.js +0 -2
- package/dist/check-icon-BWTjhSuA.js +0 -48
- package/dist/dashboardTheme-COBidrbH.js +0 -246
- package/dist/dateInputComposed-CONPVayx.js +0 -1
- package/dist/denied-Btt81vUD.js +0 -1871
- package/dist/devWarn-Cr7MglXv.js +0 -2628
- package/dist/documentCapture-DGCraCO3.js +0 -2
- package/dist/dropdownComposed-DyZXfcTf.js +0 -1
- package/dist/ekybModule-D-czIusz.js +0 -2
- package/dist/ekycModule-CkBRa6h2.js +0 -2
- package/dist/ekycModule-WlhVn8AO.js +0 -321
- package/dist/es-419-CTB15v-l.js +0 -3231
- package/dist/esm-BTUEHyry.js +0 -430
- package/dist/expiredId-DpbWqSzB.js +0 -80
- package/dist/faceMatch-CRbIcwK2.js +0 -2
- package/dist/fieldComparison-DKQNK0-r.js +0 -2
- package/dist/fieldComparison-OwGIeOM5.js +0 -109
- package/dist/flipAnimation-D-5tokFC.js +0 -3275
- package/dist/inputComposed-5mLbxAZJ.js +0 -1
- package/dist/numberedStep-CqgNwc_a.js +0 -13
- package/dist/otpInput-B_iLvmIn.js +0 -157
- package/dist/passwordInputComposed-NtiseM85.js +0 -74
- package/dist/pdfViewer-7FzYV8l3.js +0 -2
- package/dist/radioGroupComposed-CocqpoKe.js +0 -160
- package/dist/radioGroupComposed-DlQ-fNrF.js +0 -1
- package/dist/reload-icon-BR1POqkD.js +0 -70
- package/dist/richText-CRWB2afV.js +0 -1549
- package/dist/spacer-CwyNauIk.js +0 -733
- package/dist/spinner-DEZJxLSc.js +0 -88
- package/dist/sr-YU-xCb5qxap.js +0 -3235
- package/dist/useCaptureHelpButton-D40hYyD7.js +0 -88
- /package/dist/{aligndevicelottie-BHWuptBk.js → aligndevicelottie-DroBRtbt.js} +0 -0
- /package/dist/{back-tutorial-BYZr11eV.js → back-tutorial-ydxRtY-Y.js} +0 -0
- /package/dist/{backdevicelottie-JflQKxT_.js → backdevicelottie-hv8vbwYH.js} +0 -0
- /package/dist/{blurdevicelottie-CWuMQEHL.js → blurdevicelottie-Cgu4hKn7.js} +0 -0
- /package/dist/{countryDefinitions-6FOOLcB2.js → countryDefinitions-DlsV3Tf8.js} +0 -0
- /package/dist/{defineProperty-CUC2zCmh.js → defineProperty-CRYuXE79.js} +0 -0
- /package/dist/{flip-animation-BqTKEBcW.js → flip-animation-CJhh7l_J.js} +0 -0
- /package/dist/{frontdevicelottie-BWD-NCfG.js → frontdevicelottie-vyO3BJJe.js} +0 -0
- /package/dist/{glaredevicelottie-Cjy50jGc.js → glaredevicelottie-DrgkRjFh.js} +0 -0
- /package/dist/{id-laser-h-By7lMim8.js → id-laser-h-CUz29uFc.js} +0 -0
- /package/dist/{id-laser-v-BCPAN2x5.js → id-laser-v-Bnf10QJp.js} +0 -0
- /package/dist/{id-tutorial-B9cUQuf0.js → id-tutorial-DGwvKAMs.js} +0 -0
- /package/dist/{lottie_light-DywVSPMT.js → lottie_light-BXXuEKyZ.js} +0 -0
- /package/dist/{passport-tutorial-TSZzEGqb.js → passport-tutorial-DoqqyBXo.js} +0 -0
- /package/dist/{pdf.worker.min-D7ZNTVBZ.js → pdf.worker.min-Cm2oniEB.js} +0 -0
- /package/dist/{policyUrls-Bpacx_pp.js → policyUrls-Hvb4jPfF.js} +0 -0
- /package/dist/{purify.es-DZazHwBu.js → purify.es-DIIgrZ-E.js} +0 -0
- /package/dist/{selfieTutorial-CLJAEuXG.js → selfieTutorial-BTewRjM5.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { n as
|
|
6
|
-
import { t as DropdownComposed } from "./dropdownComposed-
|
|
7
|
-
import "./dropdownComposed-
|
|
1
|
+
import { _ as getLanguageEmoji, d as useTranslation, o as useUiConfig, v as supportedLanguages } from "./devWarn-B4kGEiva.js";
|
|
2
|
+
import { b as u, d as T, l as A, m as d, y } from "./vendor-preact-HIccnts1.js";
|
|
3
|
+
import { b as PrizmaButton } from "./icons-CLoob8B-.js";
|
|
4
|
+
import { h as cn, t as Spacer } from "./spacer-NanHQwzu.js";
|
|
5
|
+
import { n as IncodeLogo, r as Modal, t as usePageUiConfig } from "./pageUiConfig-DZQHreIo.js";
|
|
6
|
+
import { t as DropdownComposed } from "./dropdownComposed-yNmLuHxU.js";
|
|
7
|
+
import "./dropdownComposed-C36c9ZOm.js";
|
|
8
8
|
//#region src/shared/homeScreen/language.ts
|
|
9
9
|
function capitalizeLabel(text, locale) {
|
|
10
10
|
const [firstCharacter, ...rest] = Array.from(text);
|
|
@@ -128,7 +128,10 @@ function Settings({ onClose }) {
|
|
|
128
128
|
}),
|
|
129
129
|
/* @__PURE__ */ u("div", {
|
|
130
130
|
class: "IncodeHomeSettingsFooter",
|
|
131
|
-
children: /* @__PURE__ */ u(
|
|
131
|
+
children: /* @__PURE__ */ u(PrizmaButton, {
|
|
132
|
+
variant: "primary",
|
|
133
|
+
size: "L",
|
|
134
|
+
className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
|
|
132
135
|
onClick: onClose,
|
|
133
136
|
"data-testid": "home-settings-done-button",
|
|
134
137
|
children: t("settings.done")
|
|
@@ -182,8 +185,7 @@ function HomeScreen({ onContinue, isContinueLoading }) {
|
|
|
182
185
|
const { logoSrc: displayLogo } = usePageUiConfig({
|
|
183
186
|
hideHeader: void 0,
|
|
184
187
|
hideFooterBranding: void 0,
|
|
185
|
-
logo: void 0
|
|
186
|
-
defaultLogoSrc: incode_logo_default
|
|
188
|
+
logo: void 0
|
|
187
189
|
});
|
|
188
190
|
const { selectedMainLanguageLabel, selectedMainLanguageEmoji } = useLanguage();
|
|
189
191
|
const subtitleRef = A(null);
|
|
@@ -228,12 +230,15 @@ function HomeScreen({ onContinue, isContinueLoading }) {
|
|
|
228
230
|
class: "IncodeHomeCenterSection",
|
|
229
231
|
children: [/* @__PURE__ */ u("div", {
|
|
230
232
|
class: "IncodeHomeLogoContainer",
|
|
231
|
-
children: /* @__PURE__ */ u("img", {
|
|
233
|
+
children: displayLogo ? /* @__PURE__ */ u("img", {
|
|
232
234
|
src: displayLogo,
|
|
233
235
|
alt: t("home.logo"),
|
|
234
236
|
class: "IncodeHomeLogo",
|
|
235
237
|
"data-testid": "home-logo",
|
|
236
238
|
"aria-hidden": "true"
|
|
239
|
+
}) : /* @__PURE__ */ u(IncodeLogo, {
|
|
240
|
+
class: "IncodeHomeLogo",
|
|
241
|
+
"data-testid": "home-logo"
|
|
237
242
|
})
|
|
238
243
|
}), subtitle ? /* @__PURE__ */ u("h2", {
|
|
239
244
|
ref: subtitleRef,
|
|
@@ -242,13 +247,15 @@ function HomeScreen({ onContinue, isContinueLoading }) {
|
|
|
242
247
|
children: subtitle
|
|
243
248
|
}) : null]
|
|
244
249
|
}),
|
|
245
|
-
/* @__PURE__ */ u(
|
|
250
|
+
/* @__PURE__ */ u(PrizmaButton, {
|
|
251
|
+
variant: "primary",
|
|
252
|
+
size: "L",
|
|
246
253
|
ref: startButtonRef,
|
|
247
254
|
onClick: () => {
|
|
248
255
|
onContinue();
|
|
249
256
|
},
|
|
250
|
-
|
|
251
|
-
|
|
257
|
+
loading: isContinueLoading,
|
|
258
|
+
className: cn("IncodeButton IncodeButtonPrimary IncodeButtonL IncodeHomeStartButton", isContinueLoading && "IncodeButtonLoading"),
|
|
252
259
|
"data-testid": "home-start-button",
|
|
253
260
|
children: t("home.start")
|
|
254
261
|
})
|
|
@@ -1,95 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { a as getStandaloneSetupPolicy, n as preloadDashboardTheme, t as getDashboardTheme } from "./dashboardTheme-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { a as
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
9
|
-
import { t as TransitionSpinner } from "./transitionSpinner-DbrWrpRU.js";
|
|
1
|
+
import { d as useTranslation } from "./devWarn-B4kGEiva.js";
|
|
2
|
+
import { C 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-HIccnts1.js";
|
|
3
|
+
import { a as getStandaloneSetupPolicy, n as preloadDashboardTheme, t as getDashboardTheme } from "./dashboardTheme-DQaxmEq3.js";
|
|
4
|
+
import { b as PrizmaButton } from "./icons-CLoob8B-.js";
|
|
5
|
+
import { t as AutoFocusTitle } from "./autoFocusTitle-CNeT8ydU.js";
|
|
6
|
+
import { a as ModuleCancelProvider, t as Page } from "./page-5CklyQnq.js";
|
|
7
|
+
import { t as ConnectionError } from "./connectionError-Bs3TO2RP.js";
|
|
8
|
+
import { t as TransitionSpinner } from "./transitionSpinner-MclJtdHE.js";
|
|
10
9
|
import { isConnectivityLost, onConnectivityChange, onSessionExpired } from "@incodetech/core/session";
|
|
11
|
-
import { ScreenOrientationProvider, createScreenOrientationObserver, getDeviceClass,
|
|
12
|
-
import {
|
|
10
|
+
import { ScreenOrientationProvider, createScreenOrientationObserver, getDeviceClass, isSupportedBrowser } from "@incodetech/core/device";
|
|
11
|
+
import { resolveDashboardModuleConfig } from "@incodetech/core/flow";
|
|
13
12
|
import "@incodetech/core/events";
|
|
14
13
|
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
14
|
//#region src/shared/webComponent/useModuleCancel.ts
|
|
94
15
|
var USER_CANCELLED = "USER_CANCELLED";
|
|
95
16
|
/** The user closed the offline screen, or the step cannot resume after it. */
|
|
@@ -474,6 +395,19 @@ function useResizeObserver(ref, onResize) {
|
|
|
474
395
|
//#endregion
|
|
475
396
|
//#region src/hooks/useTimeout.ts
|
|
476
397
|
/**
|
|
398
|
+
* Runs `callback` once after `delayMs` when `delayMs` is not null. Clears the
|
|
399
|
+
* timer on unmount or when `delayMs` / `callback` changes.
|
|
400
|
+
*/
|
|
401
|
+
function useTimeout(callback, delayMs) {
|
|
402
|
+
y(() => {
|
|
403
|
+
if (delayMs === null) return;
|
|
404
|
+
const timeoutId = window.setTimeout(callback, delayMs);
|
|
405
|
+
return () => {
|
|
406
|
+
window.clearTimeout(timeoutId);
|
|
407
|
+
};
|
|
408
|
+
}, [callback, delayMs]);
|
|
409
|
+
}
|
|
410
|
+
/**
|
|
477
411
|
* Imperative one-shot timeout handle for user-triggered delays. Clears any
|
|
478
412
|
* pending timer on unmount.
|
|
479
413
|
*/
|
|
@@ -761,10 +695,6 @@ function getTerminalErrorMessage(t, message, moduleErrorCode) {
|
|
|
761
695
|
*/
|
|
762
696
|
var TerminalErrorPage = ({ message, moduleErrorCode, onRetry, retryable = true }) => {
|
|
763
697
|
const { t } = useTranslation();
|
|
764
|
-
const titleRef = A(null);
|
|
765
|
-
y(() => {
|
|
766
|
-
titleRef.current?.focus();
|
|
767
|
-
}, []);
|
|
768
698
|
const handleRetry = () => {
|
|
769
699
|
if (onRetry) {
|
|
770
700
|
onRetry();
|
|
@@ -779,22 +709,23 @@ var TerminalErrorPage = ({ message, moduleErrorCode, onRetry, retryable = true }
|
|
|
779
709
|
class: "IncodeTerminalErrorPageBody",
|
|
780
710
|
children: [/* @__PURE__ */ u("div", {
|
|
781
711
|
class: "IncodeTerminalErrorPageStatus",
|
|
782
|
-
children:
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
})
|
|
794
|
-
]
|
|
712
|
+
children: /* @__PURE__ */ u(AutoFocusTitle, {
|
|
713
|
+
className: "IncodeTerminalErrorPageTitle",
|
|
714
|
+
showSubtitle: true,
|
|
715
|
+
subtitle: getTerminalErrorMessage(t, message, moduleErrorCode),
|
|
716
|
+
subtitleProps: { className: "IncodeTerminalErrorPageMessage" },
|
|
717
|
+
icon: {
|
|
718
|
+
type: "status",
|
|
719
|
+
status: "error"
|
|
720
|
+
},
|
|
721
|
+
children: t("common.somethingWrong")
|
|
722
|
+
})
|
|
795
723
|
}), retryable ? /* @__PURE__ */ u("div", {
|
|
796
724
|
class: "IncodeTerminalErrorPageFooter",
|
|
797
|
-
children: /* @__PURE__ */ u(
|
|
725
|
+
children: /* @__PURE__ */ u(PrizmaButton, {
|
|
726
|
+
variant: "primary",
|
|
727
|
+
size: "L",
|
|
728
|
+
className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
|
|
798
729
|
onClick: handleRetry,
|
|
799
730
|
children: t("common.tryAgain")
|
|
800
731
|
})
|
|
@@ -906,221 +837,4 @@ function withStandaloneModuleBootstrap(Component, moduleKey, options = {}) {
|
|
|
906
837
|
});
|
|
907
838
|
}
|
|
908
839
|
//#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 };
|
|
840
|
+
export { useModuleCancel as S, isTerminalModuleState as _, TerminalErrorPage as a, useManager as b, useAnimationSignal as c, useTimeoutHandle as d, useResizeObserver as f, useFormScrollable as g, useIsBrowserSupported as h, useHasResolvedConfig as i, useCopyToClipboard as l, useIsMobileDeviceWidth as m, withStandaloneModuleBootstrap as n, useFeatureManagement as o, useEventListener as p, ResolvedConfigProvider as r, usePresence as s, preloadOptionalDashboardTheme as t, useTimeout as u, useModuleTerminalCallbacks as v, withSessionExpiry as x, useScreenOrientation as y };
|