@incodetech/web 2.4.1-agentic.1 → 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/dist/{GeolocationPermissionDenied-ClGp0a23.js → GeolocationPermissionDenied-Dag9fchQ.js} +16 -6
- 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-BKpmmWDe.js → af-ZA-CdJRBJEg.js} +58 -42
- package/dist/{ageVerification-CtuJDuRV.js → ageVerification-u2zo-WUl.js} +5 -6
- package/dist/{am-CW_ro5Ws.js → am-Df9uoE6e.js} +58 -42
- package/dist/antifraud/antifraud.es.js +5 -5
- package/dist/{applyStudioConfig-C6-Ak0q6.js → applyStudioConfig-Deh55YNW.js} +4 -5
- package/dist/{ar-AE-D9h8UMbm.js → ar-AE-CAoWsgnA.js} +58 -42
- package/dist/{ar-EG-DQqE9B26.js → ar-EG-CXi0p-DV.js} +58 -42
- package/dist/{ar-B5ToweVl.js → ar-hyEIwsq9.js} +59 -43
- package/dist/authentication/authentication.es.js +7 -7
- package/dist/autoFocusTitle-CNeT8ydU.js +19 -0
- package/dist/{az-DAZq-CQj.js → az-CUehzrK3.js} +58 -42
- package/dist/{back-horizontal-hint-qzSaNkEU.js → back-horizontal-hint-D5xvRtEe.js} +1 -1
- package/dist/{back-vertical-hint-DkYLOege.js → back-vertical-hint-DoKJSQhY.js} +1 -1
- package/dist/base.css +1 -1
- package/dist/{baseTutorial-CF6WiVYt.js → baseTutorial-xDkp34JC.js} +4 -5
- package/dist/{bn-DRTyq2Y9.js → bn-DStUscj0.js} +58 -42
- package/dist/{bottomSheet-DylE2INk.js → bottomSheet-COrgITc6.js} +3 -3
- package/dist/{bs-B8q0B86-.js → bs-Lq1FPKJj.js} +58 -42
- package/dist/{ca-DvsHXRB-.js → ca-K83Ys4Fe.js} +58 -42
- package/dist/cameraOverlay-Bciqav_0.js +2 -0
- package/dist/{cameraOverlayHeader-CuVGnyXI.js → cameraOverlayHeader-C7Pi5eIm.js} +5 -5
- package/dist/{cameraView-D9ZxLKtA.js → cameraView-B7l40Opf.js} +3 -3
- package/dist/{capture-0jMDSGCE.js → capture-D7HVD1ht.js} +25 -33
- package/dist/capture-Do7z-u0d.js +3 -0
- package/dist/{capture-BlGlXoTx.js → capture-I1enj-0M.js} +27 -44
- package/dist/capture-WaSNv1Wn.js +2 -0
- package/dist/captureButtonIcon-DVbAZ8TK.js +1 -0
- package/dist/{captureFocusContext-9789qOe3.js → captureFocusContext-CNtkY3Lk.js} +53 -64
- package/dist/{captureFooter-B6WUFQCV.js → captureFooter-CucCxqz-.js} +5 -5
- package/dist/{ceb-pvlomXHV.js → ceb-NR8sWgTh.js} +58 -42
- package/dist/certificate-issuance/certificate-issuance.es.js +56 -39
- package/dist/certificate-issuance/styles.css +1 -1
- package/dist/certificate-issuance/styles.css.js +1 -1
- package/dist/{checkbox-BwUQ0Rs9.js → checkbox-C5k2pepr.js} +4 -4
- package/dist/chooser-CNm0MKQl.js +1517 -0
- package/dist/{connectionError-DexRpKWs.js → connectionError-Bs3TO2RP.js} +25 -15
- package/dist/consent/consent.es.js +11 -11
- package/dist/{countryFlag-CQMfCnE9.js → countryFlag-CZUyZ06G.js} +1 -1
- package/dist/{countrySelector-C0OEKMqL.js → countrySelector-CPgaMT7n.js} +4 -4
- package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -5
- package/dist/{cs-CZ-GgvnJLMj.js → cs-CZ-KpSXcWZT.js} +58 -42
- package/dist/{cs-DB5PLEdt.js → cs-UYoUjOrG.js} +58 -42
- package/dist/curp-validation/curp-validation.es.js +82 -96
- package/dist/curp-validation/styles.css +1 -1
- package/dist/curp-validation/styles.css.js +1 -1
- package/dist/{customFields-DQgRumW0.js → customFields-BcubL9au.js} +29 -21
- package/dist/{customWatchlist-BbC0fA-6.js → customWatchlist-D4RK0ow6.js} +11 -10
- package/dist/{da-DK-ZhpcfE_F.js → da-DK-Bds8n-Rj.js} +58 -42
- package/dist/dashboardTheme-DQaxmEq3.js +383 -0
- package/dist/dateInputComposed-BrpUtswb.js +1 -0
- package/dist/{dateInputComposed-1IcnucPq.js → dateInputComposed-BzCDzTM3.js} +4 -5
- package/dist/{de-DEBjzaow.js → de-CZlvE1Xz.js} +58 -42
- package/dist/denied-BeVKpBem.js +272 -0
- package/dist/{i18n-Dp014ljG.js → devWarn-B4kGEiva.js} +204 -90
- package/dist/{deviceWallet-CMjguFJO.js → deviceWallet-7b1VpcGm.js} +4 -4
- package/dist/{digitalIdRedirect-MNty16-5.js → digitalIdRedirect-CG9jzrQh.js} +4 -4
- package/dist/{digitalIdUpload-CUzTaoaI.js → digitalIdUpload-BUJcgYY5.js} +7 -9
- 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-BUMyJ8vw.js → documentCapture-JcxukEgT.js} +41 -49
- package/dist/dropdownComposed-C36c9ZOm.js +1 -0
- package/dist/{dropdownComposed-x3ewHxbT.js → dropdownComposed-yNmLuHxU.js} +8 -6
- package/dist/dynamic-forms/dynamic-forms.es.js +57 -35
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/{ekybModule-C5hEBLMs.js → ekybModule-Cp-7fs23.js} +101 -85
- 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-Dplr_D5N.js → el-C6tFl9i9.js} +58 -42
- package/dist/{el-GR-IZ4reOR7.js → el-GR-BLkQ_dbO.js} +58 -42
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-BMda_cf3.js → electronic-signature-D-4uTJdE.js} +18 -14
- package/dist/email/email.es.js +16 -15
- package/dist/{emailInput-BI8gWC0D.js → emailInput-C5VHG66O.js} +23 -12
- package/dist/{en-DG-C6tsWvHi.js → en-DG-BEuiDKtl.js} +58 -42
- package/dist/{en-Db1L_u7B.js → en-DNBypQuu.js} +58 -42
- package/dist/{errorContent-pPAgyy2i.js → errorContent-BC8mDFld.js} +17 -19
- package/dist/{formField-CfQKYeGF.js → errorParams-W7NX72mI.js} +2 -33
- package/dist/{es-419-DxKrJq7W.js → es-419-BCIRYhZK.js} +1 -1
- package/dist/{es-C5unKsaF.js → es-DjQEM4f9.js} +59 -43
- package/dist/{es-ES-sHbsufzT.js → es-ES-Q6nMptUM.js} +58 -42
- package/dist/{es-MX-Cd_DCR0A.js → es-MX-Df5g3bAX.js} +58 -42
- package/dist/{et-BoGq2cx8.js → et-BYRhgB8X.js} +58 -42
- package/dist/{expiredId-DWjw94rT.js → expiredId-BVa13c9u.js} +20 -37
- package/dist/extensibility.es.js +329 -47
- package/dist/{fa-IR-DuUxGXrf.js → fa-IR-DP-FPc-r.js} +58 -42
- 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-DV7NxYu_.js → faceMatch-C5QmR3Vt.js} +40 -54
- package/dist/{fi-FI-DMOBNTjA.js → fi-FI-rnIjEC7X.js} +58 -42
- 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-CjrLxBaj.js → fieldLabelHint-eF42wLDJ.js} +1 -1
- package/dist/{finalSuccessScreen-C50L96j9.js → finalSuccessScreen-vOR061dK.js} +25 -20
- package/dist/fiscal-qr/fiscal-qr.es.js +16 -19
- package/dist/flipAnimation-CGP9Fu9J.js +46 -0
- package/dist/{flipCapturedCardEligibility-DLr9F2g2.js → flipCapturedCardEligibility-C8wQ0_No.js} +4 -4
- package/dist/flow/flow.es.js +45 -36
- 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-DZ8jlsp3.js → fr-CA-vPsubqTC.js} +58 -42
- package/dist/{fr-DSR-AP0e.js → fr-P8YbBMxT.js} +58 -42
- package/dist/{front-horizontal-hint-DOphQZg2.js → front-horizontal-hint-CDHj9LQF.js} +1 -1
- package/dist/{front-vertical-hint-S6PcS9_m.js → front-vertical-hint-B_pU27Iv.js} +1 -1
- package/dist/geolocation/geolocation.es.js +10 -10
- package/dist/government-validation/government-validation.es.js +7 -7
- package/dist/{he-N5dfJeyd.js → he-DfptjOXC.js} +58 -42
- package/dist/{hi-JR6K9zbd.js → hi-C7tSzMcB.js} +58 -42
- package/dist/{hmn-j2YA7FxW.js → hmn-jKsUYgaq.js} +58 -42
- package/dist/{homeScreen-C3pPw52y.js → homeScreen-C1b8yg4y.js} +12 -11
- package/dist/{hooks-BFP0WaJM.js → hooks-COiwxC3h.js} +33 -25
- package/dist/{hr-8cOdwB0t.js → hr-ehtrddz3.js} +58 -42
- package/dist/{ht-DDNL4C__.js → ht-CA5NNkri.js} +58 -42
- package/dist/{hu-CynQQUFQ.js → hu-DYgOdNXH.js} +58 -42
- package/dist/{icons-c-hFaG4L.js → icons-CLoob8B-.js} +3 -27
- package/dist/id/id.es.js +104 -39
- package/dist/id/styles.css +1 -1
- package/dist/id/styles.css.js +1 -1
- package/dist/{id-o_Yg0n8W.js → id-CMBxWcTV.js} +58 -42
- package/dist/{id-back-of-card-Bk6ZQUE9.js → id-back-of-card-BEAthtU0.js} +1 -1
- package/dist/{id-back-of-card-vertical-BZo00s50.js → id-back-of-card-vertical-Ce0d7tp5.js} +1 -1
- package/dist/{id-front-of-card-BJ96se7u.js → id-front-of-card-DS0lS9jP.js} +1 -1
- package/dist/{id-front-of-card-vertical-DSfJB0lX.js → id-front-of-card-vertical-BLWn85NX.js} +1 -1
- package/dist/id-selfie-flow/id-selfie-flow.es.js +13 -12
- package/dist/id-selfie-flow/styles.css +1 -1
- package/dist/id-verification/id-verification.es.js +6 -6
- package/dist/{idFlipTransition-DXdtXYza.js → idFlipTransition-3z8Lqcab.js} +22 -26
- package/dist/{idOcr-CjqfkRJ7.js → idOcr-qPEZSG5D.js} +60 -37
- package/dist/identity-reuse/identity-reuse.es.js +21 -19
- package/dist/{incodeComponent-DtKh-UUm.js → incodeComponent-CxWTvgqz.js} +10 -12
- package/dist/{incodeModule-DCHXAeYU.js → incodeModule-BQVPjhJE.js} +5 -5
- package/dist/index.es.js +3 -4
- package/dist/{inputComposed-CmVsaHOa.js → inputComposed-oWeKvdES.js} +4 -4
- package/dist/{it-BXevrtHn.js → it-DNcyH3GL.js} +58 -42
- package/dist/{ja-DiTXnTx-.js → ja-BkVsn7yw.js} +58 -42
- package/dist/{ja-JP-D1IRWR-p.js → ja-JP-BI4iShf-.js} +59 -43
- package/dist/{jv-Us70GzGp.js → jv-Bpp0lYl-.js} +58 -42
- package/dist/{ka-BSsWQ4yU.js → ka-__y8BNrb.js} +58 -42
- package/dist/{kk-D5R6r4H7.js → kk-C8RZv7Y9.js} +58 -42
- package/dist/{km-CCCb2Rnt.js → km-CdNpEVlv.js} +65 -49
- package/dist/{ko-kQioCg2w.js → ko-Db8jh_Pq.js} +58 -42
- package/dist/{ko-KP-JF4khv1Y.js → ko-KP-Cn4RuF_b.js} +58 -42
- package/dist/{ky-CLOemVjC.js → ky-DljlRCIf.js} +58 -42
- package/dist/kyb-checks/kyb-checks.es.js +1 -1
- package/dist/kybChecksModule-B2nSWMuy.js +2 -0
- package/dist/{kybChecksModule-C6Y9Hxpr.js → kybChecksModule-DGXAS1Sc.js} +83 -67
- package/dist/{lo-tzHUt1CQ.js → lo-DXJI47k7.js} +58 -42
- package/dist/{lt-B2ZI-Cgu.js → lt-CUHwdgrq.js} +59 -43
- package/dist/{lv-BJnxtSYw.js → lv-BFrYWmGH.js} +59 -43
- package/dist/{mandatoryConsent-BiQuEZRu.js → mandatoryConsent-Dc0PQou0.js} +11 -11
- package/dist/{manualCaptureButton-BRSmPTeR.js → manualCaptureButton-DIlebb4i.js} +4 -4
- package/dist/{manualCaptureButton-Dw0MMSkc.js → manualCaptureButton-t0b_hCKH.js} +12 -13
- package/dist/{mk-Cj7Iw2Q4.js → mk-BRpnPevj.js} +58 -42
- package/dist/{mn-CA_rNxtz.js → mn-tly7Lz7o.js} +58 -42
- package/dist/{ms-BydA1Zjz.js → ms-DFpRACK3.js} +58 -42
- package/dist/{my-gFKufKaG.js → my-G2jJl4tA.js} +58 -42
- package/dist/{nb-NO-CDsGQbOZ.js → nb-NO-CaDPgzxb.js} +58 -42
- package/dist/{ne-Cyfi0vFI.js → ne-BaCq8Imv.js} +58 -42
- package/dist/{nl-e1gbmAFO.js → nl-BK-jT4yQ.js} +58 -42
- package/dist/{optionAccessibleLabel-BTUieMxH.js → optionAccessibleLabel-CDKKh7c3.js} +25 -10
- package/dist/{otpInput-D3L3QhnR.js → otpInput-B4mH5be-.js} +96 -15
- package/dist/{page-U6jZ7BBI.js → page-5CklyQnq.js} +32 -36
- package/dist/{pageUiConfig-Qf6ItVv9.js → pageUiConfig-DZQHreIo.js} +67 -17
- package/dist/{passport-horizontal-hint-Ddsh6fUS.js → passport-horizontal-hint-JdWoLKa5.js} +1 -1
- package/dist/{passport-vertical-hint-Dukxq6-T.js → passport-vertical-hint-BgtJXbvC.js} +1 -1
- package/dist/passwordRequirements-bbbHZACR.js +49 -0
- package/dist/{pdf-Bd5QplFS.js → pdf-CLcY9ugT.js} +2 -2
- package/dist/pdfViewer-2NTW2bZn.js +2 -0
- package/dist/{pdfViewer-BrqSEtbr.js → pdfViewer-D4xu2J13.js} +4 -4
- package/dist/permissionInstructionList-Dmy2y4cX.js +43 -0
- package/dist/{permissions-KUDhffd9.js → permissions-BPh2QNoI.js} +61 -43
- package/dist/phone/phone.es.js +11 -11
- package/dist/{phoneInputComposed-DlJMTavK.js → phoneInputComposed-Dzt9xdrF.js} +6 -6
- package/dist/{pl-BSMcCWS-.js → pl-CoWZGdbr.js} +58 -42
- package/dist/{preloadableLazy-C8_OYaTC.js → preloadableLazy-2hqV2Q8z.js} +11 -5
- package/dist/{processing-B5EH7yNg.js → processing-DStiN9XK.js} +2 -2
- package/dist/{progressBar-CSpS29pV.js → progressBar-CJqJXzAh.js} +2 -2
- package/dist/{pt-BNFC2quK.js → pt-BDByRgpr.js} +58 -42
- package/dist/{pt-BR-bH8DC2gH.js → pt-BR-BRMyrqIN.js} +58 -42
- package/dist/{pt-PT-B8PXmgwU.js → pt-PT-CfwlYo6V.js} +58 -42
- package/dist/qe-signature/qe-signature.es.js +4 -4
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +29 -26
- package/dist/{registerIncodeElement-oiLvm6xq.js → registerIncodeElement-B5W7SqS3.js} +1 -1
- package/dist/{resendTimer-D1H3gwkI.js → resendTimer-COMRdeDC.js} +2 -2
- package/dist/{richText-sUdTiRDE.js → richText-BMvr5dhl.js} +4 -4
- package/dist/{ro-DnN8QNYa.js → ro-ju058j4P.js} +58 -42
- package/dist/{ru-DAwUFXHq.js → ru-DYwhf4Hw.js} +58 -42
- package/dist/{ru-RU-Coxt0VCU.js → ru-RU-BAvJW-vp.js} +58 -42
- package/dist/{sanitizeSvg-OdNh1mqY.js → sanitizeSvg-BZoCoRr0.js} +1 -1
- package/dist/selfie/selfie.es.js +11 -11
- package/dist/signature/signature.es.js +10 -10
- package/dist/{sk-AB8sSlNw.js → sk-Cl6F-Kaz.js} +61 -45
- package/dist/{sl-6Dfzfi7s.js → sl-BxsNneWx.js} +58 -42
- package/dist/{smsTabContent-CBEKgzFv.js → smsTabContent-BLJM1Hbk.js} +15 -11
- package/dist/{so-X5BdrDvV.js → so-D8izvKPD.js} +58 -42
- package/dist/spacer-NanHQwzu.js +1100 -0
- package/dist/spinner-bRH4yw9e.js +69 -0
- package/dist/{sr-JHjMcbGs.js → sr-BtsYxFKz.js} +58 -42
- package/dist/{sr-Latn-DgT7eTG2.js → sr-Latn-BTn5o62j.js} +64 -48
- package/dist/{sr-YU-BBhB_G63.js → sr-YU-BNViLYA5.js} +1 -1
- package/dist/step-up/step-up.es.js +483 -0
- package/dist/step-up/styles.css +2 -0
- package/dist/{sv-SE-CvX8mC8T.js → sv-SE-f5R8i8ue.js} +58 -42
- package/dist/{sw-CN0TdnY4.js → sw-BgHNoEGs.js} +58 -42
- package/dist/{th-TH-CWr4z3JK.js → th-TH-DmfU-a6A.js} +58 -42
- package/dist/{th-BmFntKib.js → th-aFkhFNxp.js} +58 -42
- package/dist/themes/dark.css +1 -1
- package/dist/themes/light.css +1 -1
- package/dist/{tl-rzkk5P_n.js → tl-CA42NVfv.js} +58 -42
- package/dist/{tl-PH-BRIbtBRN.js → tl-PH-DMCUe7pP.js} +58 -42
- package/dist/{tr-DKuVBwqW.js → tr-BVjID0jl.js} +58 -42
- package/dist/{transitionSpinner-Di0XBAix.js → transitionSpinner-MclJtdHE.js} +5 -6
- package/dist/{tutorial-C9psDR2i.js → tutorial-fC2iei2v.js} +4 -4
- 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 +57 -16
- 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/kyb-checks.d.ts +7 -3
- 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-CiGhKJGx.js → typography-Dncyo-3D.js} +3 -11
- package/dist/{uk-CXjqq4lX.js → uk-HjZTXCOA.js} +58 -42
- package/dist/{uk-UA-BIE9WByU.js → uk-UA-ChpoWDcU.js} +59 -43
- package/dist/{ur-vNGesC3r.js → ur-CZkQHBM4.js} +58 -42
- package/dist/{useCameraPreview-Bd7AYE9h.js → useCameraPreview-DrteOjaq.js} +1 -1
- package/dist/{useCaptureHelpButton-Dj-jESrS.js → useCaptureHelpButton-B5zEGcaB.js} +3 -3
- package/dist/{useIsDarkTheme-Bu9CvKxW.js → useIsDarkTheme-DAs5RhsW.js} +1 -1
- package/dist/{useModuleLoader-BBCNkJmc.js → useModuleLoader-C2fbLotc.js} +7 -2
- package/dist/{uz-Gmw1XRgv.js → uz-BCp_m_Om.js} +58 -42
- package/dist/{vendor-preact-DHGqBGMH.js → vendor-preact-HIccnts1.js} +1 -1
- package/dist/{verificationResult-Clxdxm_s.js → verificationResult-sh4xut0K.js} +19 -24
- package/dist/{vi-DTxxRUw0.js → vi-BvxcvDgc.js} +58 -42
- 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 +30 -25
- package/dist/watchlist/watchlist.es.js +12 -10
- package/dist/{watchlistForBusiness-CpFp2EYX.js → watchlistForBusiness-DnS1r-Ml.js} +34 -23
- package/dist/{withEndScreenTexts-Bd3mof3s.js → withEndScreenTexts-CHWofhk5.js} +28 -25
- package/dist/workflow/styles.css +1 -1
- package/dist/workflow/workflow.es.js +1 -534
- package/dist/workflow-DBS9eyu4.js +533 -0
- package/dist/{zh-CN-aB48G_R1.js → zh-CN-DZRia1ir.js} +58 -42
- package/dist/{zh-DjtyfO4e.js → zh-DN_kUZaR.js} +58 -42
- package/dist/{zh-HANT-8p8SH8C3.js → zh-HANT-DisU_Tal.js} +58 -42
- package/dist/{zh-TW-CCsz9gKq.js → zh-TW-BJzCsdPP.js} +58 -42
- package/package.json +27 -7
- package/dist/asset-Ctwd_20H.js +0 -355
- package/dist/autoFocusTitle-CzaCWWW5.js +0 -32
- package/dist/cameraOverlay-DNf0PEF4.js +0 -2
- package/dist/capture-DKBA5j5A.js +0 -3
- package/dist/capture-D_Dwrj1F.js +0 -2
- package/dist/captureButtonIcon-A9kn2E_m.js +0 -1
- package/dist/check-icon-BdHltEK6.js +0 -48
- package/dist/chooser-CmG71-lh.js +0 -1589
- package/dist/dashboardTheme-DtXsx9IK.js +0 -246
- package/dist/dateInputComposed-BFlCk-sg.js +0 -1
- package/dist/denied-CwdVWAUw.js +0 -1874
- package/dist/devWarn-CW20j1Qd.js +0 -9
- package/dist/documentCapture-rECLkwpi.js +0 -2
- package/dist/dropdownComposed-C9sLQE6i.js +0 -1
- package/dist/ekybModule-B5IEiSyi.js +0 -2
- package/dist/ekycModule-B7OFnP3H.js +0 -2
- package/dist/ekycModule-TVKk0qdS.js +0 -327
- package/dist/faceMatch-B2aMz3X2.js +0 -2
- package/dist/fieldComparison-BY2XXsp3.js +0 -2
- package/dist/fieldComparison-CFLU1h6n.js +0 -113
- package/dist/flipAnimation-8x-qdtF_.js +0 -33
- package/dist/inputComposed-DvGrso7g.js +0 -1
- package/dist/kybChecksModule-r3MIpFhS.js +0 -2
- package/dist/numberedStep-CeN77hnQ.js +0 -13
- package/dist/passwordInputComposed-CW_1DcB8.js +0 -74
- package/dist/pdfViewer-rDnnHzmw.js +0 -2
- package/dist/radioGroupComposed-CW8ElYSR.js +0 -160
- package/dist/radioGroupComposed-flIYNffL.js +0 -1
- package/dist/reload-icon-FD2e9Wet.js +0 -70
- package/dist/spacer-Jaru_3sb.js +0 -82
- package/dist/spinner-51btbot0.js +0 -407
- package/dist/uiConfig-BJAuZQWc.js +0 -77
- /package/dist/{aligndevicelottie-BEKzL4SB.js → aligndevicelottie-DroBRtbt.js} +0 -0
- /package/dist/{assertClassBrand-DJr5K93j.js → assertClassBrand-CuHX5JcR.js} +0 -0
- /package/dist/{back-tutorial-B9W63fa-.js → back-tutorial-ydxRtY-Y.js} +0 -0
- /package/dist/{backdevicelottie-DsN8QBV3.js → backdevicelottie-hv8vbwYH.js} +0 -0
- /package/dist/{blurdevicelottie-DkV7Kwo4.js → blurdevicelottie-Cgu4hKn7.js} +0 -0
- /package/dist/{countryDefinitions-RBVGM1D_.js → countryDefinitions-DlsV3Tf8.js} +0 -0
- /package/dist/{defineProperty-E9wRIIo9.js → defineProperty-CRYuXE79.js} +0 -0
- /package/dist/{flip-animation-DJVnWWL5.js → flip-animation-CJhh7l_J.js} +0 -0
- /package/dist/{frontdevicelottie-DiW1Wmya.js → frontdevicelottie-vyO3BJJe.js} +0 -0
- /package/dist/{glaredevicelottie-CK-fnX_s.js → glaredevicelottie-DrgkRjFh.js} +0 -0
- /package/dist/{helpButtonConfig-CjbrBQaV.js → helpButtonConfig-BFragC_J.js} +0 -0
- /package/dist/{id-laser-h-6Am_cjM8.js → id-laser-h-CUz29uFc.js} +0 -0
- /package/dist/{id-laser-v-DXoF3flH.js → id-laser-v-Bnf10QJp.js} +0 -0
- /package/dist/{id-tutorial-DkKH3eTE.js → id-tutorial-DGwvKAMs.js} +0 -0
- /package/dist/{lottie_light-B819EhaL.js → lottie_light-BXXuEKyZ.js} +0 -0
- /package/dist/{passport-tutorial-D3Fpk-Tj.js → passport-tutorial-DoqqyBXo.js} +0 -0
- /package/dist/{pdf.worker.min-DzBNMoKS.js → pdf.worker.min-Cm2oniEB.js} +0 -0
- /package/dist/{policyUrls-Benduf-R.js → policyUrls-Hvb4jPfF.js} +0 -0
- /package/dist/{purify.es-CSPoFViI.js → purify.es-DIIgrZ-E.js} +0 -0
- /package/dist/{realtimeFeedbackConfig-tBX94SOm.js → realtimeFeedbackConfig-DeZksjlR.js} +0 -0
- /package/dist/{selfieTutorial-DnsRD1Z9.js → selfieTutorial-BTewRjM5.js} +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as q, b as u, l as A, m as d, y } from "./vendor-preact-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { d as useTranslation } from "./devWarn-B4kGEiva.js";
|
|
2
|
+
import { _ as q, b as u, l as A, m as d, y } from "./vendor-preact-HIccnts1.js";
|
|
3
|
+
import { t as PrizmaTextField } from "./TextField-o3qwE7KD.js";
|
|
4
|
+
import { m as useIsMobileDeviceWidth } from "./hooks-COiwxC3h.js";
|
|
5
|
+
import { t as FieldLabelHint } from "./fieldLabelHint-eF42wLDJ.js";
|
|
6
|
+
import { n as translateError } from "./errorParams-W7NX72mI.js";
|
|
7
|
+
import { t as BottomSheet } from "./bottomSheet-COrgITc6.js";
|
|
7
8
|
//#region src/shared/addressAutocomplete/addressAutocomplete.tsx
|
|
8
9
|
var AddressAutocomplete = ({ label, value, error, errorParams, suggestions, readonly, disabled, required, labelHint, onChange, onSearch, onSelect, onBlur }) => {
|
|
9
10
|
const { t } = useTranslation();
|
|
@@ -20,6 +21,7 @@ var AddressAutocomplete = ({ label, value, error, errorParams, suggestions, read
|
|
|
20
21
|
const mobileTitleId = "ekyc-address-modal-title";
|
|
21
22
|
const isMobile = useIsMobileDeviceWidth();
|
|
22
23
|
const translatedLabel = t(label);
|
|
24
|
+
const errorText = translateError(t, error, errorParams);
|
|
23
25
|
y(() => {
|
|
24
26
|
function handleClickOutside(e) {
|
|
25
27
|
if (containerRef.current && !containerRef.current.contains(e.target)) setShowSuggestions(false);
|
|
@@ -90,16 +92,29 @@ var AddressAutocomplete = ({ label, value, error, errorParams, suggestions, read
|
|
|
90
92
|
className: "IncodeAddressAutocomplete",
|
|
91
93
|
ref: containerRef,
|
|
92
94
|
children: [
|
|
93
|
-
/* @__PURE__ */ u(
|
|
95
|
+
labelHint && /* @__PURE__ */ u("label", {
|
|
96
|
+
class: "IncodeInputComposedLabel",
|
|
97
|
+
htmlFor: "ekyc-street",
|
|
98
|
+
children: [translatedLabel, /* @__PURE__ */ u(FieldLabelHint, {
|
|
99
|
+
className: "IncodeInputComposedLabelHint",
|
|
100
|
+
hint: labelHint,
|
|
101
|
+
required,
|
|
102
|
+
testId: "ekyc-street-label-hint"
|
|
103
|
+
})]
|
|
104
|
+
}),
|
|
105
|
+
/* @__PURE__ */ u(PrizmaTextField, {
|
|
106
|
+
className: "IncodeInputComposed",
|
|
107
|
+
inputClassName: "IncodeInput",
|
|
108
|
+
clearable: false,
|
|
94
109
|
id: "ekyc-street",
|
|
95
|
-
label: translatedLabel,
|
|
96
|
-
labelHint,
|
|
110
|
+
label: labelHint ? void 0 : translatedLabel,
|
|
97
111
|
name: "street",
|
|
98
112
|
value,
|
|
99
113
|
readOnly: readonly,
|
|
100
114
|
disabled,
|
|
101
115
|
required,
|
|
102
|
-
error:
|
|
116
|
+
error: !!errorText,
|
|
117
|
+
errorText,
|
|
103
118
|
onInput: (e) => handleInput(e.target.value),
|
|
104
119
|
onKeyDown: handleKeyDown,
|
|
105
120
|
onBlur,
|
|
@@ -1,10 +1,90 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as q, b as u, l as A, y } from "./vendor-preact-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { d as useTranslation } from "./devWarn-B4kGEiva.js";
|
|
2
|
+
import { _ as q, b as u, h as g, i as D, l as A, m as d, y } from "./vendor-preact-HIccnts1.js";
|
|
3
|
+
import { b as PrizmaButton } from "./icons-CLoob8B-.js";
|
|
4
|
+
import { _ as PrizmaLoadingSpinner, g as mergeAriaIds, h as cn, t as Spacer } from "./spacer-NanHQwzu.js";
|
|
5
|
+
import { n as useResendTimerAnnouncements, t as formatResendTimer } from "./resendTimer-COMRdeDC.js";
|
|
6
|
+
//#region ../../node_modules/.pnpm/@incodetech+prizma-core-web@0.20.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@incodetech/prizma-core-web/dist/Otp.js
|
|
7
|
+
var IconFailCircle = () => u("svg", {
|
|
8
|
+
viewBox: "0 0 16 16",
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
"aria-hidden": "true",
|
|
11
|
+
children: [u("path", {
|
|
12
|
+
className: "prizma-input-otp__err-circle",
|
|
13
|
+
fillRule: "evenodd",
|
|
14
|
+
clipRule: "evenodd",
|
|
15
|
+
d: "M8 1.66667C4.508 1.66667 1.66667 4.508 1.66667 8C1.66667 11.4927 4.508 14.3333 8 14.3333C11.492 14.3333 14.3333 11.4927 14.3333 8C14.3333 4.508 11.492 1.66667 8 1.66667Z"
|
|
16
|
+
}), u("path", {
|
|
17
|
+
className: "prizma-input-otp__err-x",
|
|
18
|
+
fillRule: "evenodd",
|
|
19
|
+
clipRule: "evenodd",
|
|
20
|
+
d: "M6.0931 6.0898 C6.2884 5.8946 6.605 5.8946 6.8002 6.0898 L8.002 7.2916 L9.2028 6.0908 C9.398 5.8955 9.7146 5.8955 9.9098 6.0908 C10.1051 6.2861 10.1051 6.6026 9.9098 6.7979 L8.7091 7.9986 L9.9138 9.2034 C10.109 9.3986 10.109 9.7152 9.9138 9.9104 C9.7185 10.1057 9.4019 10.1057 9.2067 9.9104 L8.002 8.7058 L6.8015 9.9062 C6.6063 10.1015 6.2897 10.1015 6.0944 9.9062 C5.8992 9.711 5.8992 9.3944 6.0944 9.1991 L7.2949 7.9986 L6.0931 6.797 C5.8979 6.6017 5.8979 6.2851 6.0931 6.0898 Z"
|
|
21
|
+
})]
|
|
22
|
+
});
|
|
23
|
+
var PrizmaOtp = D((props, ref) => {
|
|
24
|
+
const { errorText, disabled = false, readOnly = false, loading = false, error = false, length = 6, pattern = "[A-Za-z0-9]*", inputMode = "numeric", autoComplete = "one-time-code", onValueChange, onComplete, id, value: controlledValue, defaultValue = "", className, inputClassName, style, onChange, ...inputRest } = props;
|
|
25
|
+
const reactId = g();
|
|
26
|
+
const inputId = id ?? `otp-${reactId}`;
|
|
27
|
+
const messageId = `${inputId}-msg`;
|
|
28
|
+
const isControlled = controlledValue !== void 0;
|
|
29
|
+
const [internalValue, setInternalValue] = d(String(defaultValue ?? ""));
|
|
30
|
+
const value = isControlled ? controlledValue : internalValue;
|
|
31
|
+
const hasValue = value !== "" && value !== void 0;
|
|
32
|
+
const showError = error && !!errorText;
|
|
33
|
+
const handleChange = (e) => {
|
|
34
|
+
const next = e.target.value;
|
|
35
|
+
if (!isControlled) setInternalValue(next);
|
|
36
|
+
onChange?.(e);
|
|
37
|
+
onValueChange?.(next);
|
|
38
|
+
if (next.length === length) onComplete?.(next);
|
|
39
|
+
};
|
|
40
|
+
return u("div", {
|
|
41
|
+
className: [
|
|
42
|
+
"prizma-input-otp",
|
|
43
|
+
hasValue ? "prizma-input-otp--filled" : "",
|
|
44
|
+
error ? "prizma-input-otp--error" : "",
|
|
45
|
+
disabled ? "prizma-input-otp--disabled" : "",
|
|
46
|
+
readOnly ? "prizma-input-otp--readonly" : "",
|
|
47
|
+
loading ? "prizma-input-otp--loading" : "",
|
|
48
|
+
className ?? ""
|
|
49
|
+
].filter(Boolean).join(" "),
|
|
50
|
+
style,
|
|
51
|
+
"aria-disabled": disabled ? "true" : void 0,
|
|
52
|
+
"aria-busy": loading ? "true" : void 0,
|
|
53
|
+
children: [u("div", {
|
|
54
|
+
className: "prizma-input-otp__field",
|
|
55
|
+
children: loading ? u(PrizmaLoadingSpinner, {}) : u("input", {
|
|
56
|
+
...inputRest,
|
|
57
|
+
ref,
|
|
58
|
+
id: inputId,
|
|
59
|
+
type: "text",
|
|
60
|
+
inputMode,
|
|
61
|
+
autoComplete,
|
|
62
|
+
pattern,
|
|
63
|
+
maxLength: length,
|
|
64
|
+
className: ["prizma-input-otp__input", inputClassName].filter(Boolean).join(" "),
|
|
65
|
+
value,
|
|
66
|
+
disabled,
|
|
67
|
+
readOnly,
|
|
68
|
+
"aria-invalid": inputRest["aria-invalid"] ?? (error ? "true" : void 0),
|
|
69
|
+
"aria-describedby": mergeAriaIds(inputRest["aria-describedby"], showError ? messageId : void 0),
|
|
70
|
+
onChange: handleChange
|
|
71
|
+
})
|
|
72
|
+
}), showError && u("div", {
|
|
73
|
+
className: "prizma-input-otp__error",
|
|
74
|
+
id: messageId,
|
|
75
|
+
role: "alert",
|
|
76
|
+
children: [u("span", {
|
|
77
|
+
className: "prizma-input-otp__error-icon",
|
|
78
|
+
children: u(IconFailCircle, {})
|
|
79
|
+
}), u("span", {
|
|
80
|
+
className: "prizma-input-otp__error-text",
|
|
81
|
+
children: errorText
|
|
82
|
+
})]
|
|
83
|
+
})]
|
|
84
|
+
});
|
|
85
|
+
});
|
|
86
|
+
PrizmaOtp.displayName = "PrizmaOtp";
|
|
87
|
+
//#endregion
|
|
8
88
|
//#region src/shared/otpInput/otpInput.tsx
|
|
9
89
|
var normalizeOtp = (value, maxLength) => {
|
|
10
90
|
return value.replace(/[^a-zA-Z0-9]/g, "").toUpperCase().slice(0, maxLength);
|
|
@@ -125,24 +205,25 @@ var OtpInput = ({ value, otpLength, resendTimer, canResend, error, validationErr
|
|
|
125
205
|
"aria-live": "polite",
|
|
126
206
|
"aria-atomic": "true"
|
|
127
207
|
}),
|
|
128
|
-
/* @__PURE__ */ u(
|
|
208
|
+
/* @__PURE__ */ u(PrizmaOtp, {
|
|
209
|
+
className: "IncodeInputComposed IncodeOtpSingleInput",
|
|
210
|
+
inputClassName: "IncodeInput",
|
|
129
211
|
id: "otp-code",
|
|
130
|
-
type: "text",
|
|
131
212
|
inputMode: "text",
|
|
132
213
|
ref: inputRef,
|
|
133
|
-
|
|
214
|
+
length: otpLength,
|
|
134
215
|
value,
|
|
135
|
-
error: displayedError,
|
|
216
|
+
error: !!displayedError,
|
|
217
|
+
errorText: displayedError,
|
|
136
218
|
onInput: handleChange,
|
|
137
219
|
onBlur: onValidate,
|
|
138
220
|
onPaste: handlePaste,
|
|
139
221
|
disabled: disabled || isLoading,
|
|
140
222
|
required: true,
|
|
141
|
-
|
|
223
|
+
"aria-required": "true",
|
|
224
|
+
autoComplete: "one-time-code",
|
|
142
225
|
"data-testid": "otp-input-0",
|
|
143
|
-
"aria-label": t("otp.verificationCode")
|
|
144
|
-
class: "IncodeOtpSingleInput",
|
|
145
|
-
showErrorIcon: true
|
|
226
|
+
"aria-label": t("otp.verificationCode")
|
|
146
227
|
}),
|
|
147
228
|
/* @__PURE__ */ u(Spacer, {}),
|
|
148
229
|
/* @__PURE__ */ u(PrizmaButton, {
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "./
|
|
5
|
-
import { t as
|
|
6
|
-
import {
|
|
7
|
-
import { n as
|
|
8
|
-
import { n as incode_logo_default, r as Modal, t as usePageUiConfig } from "./pageUiConfig-Qf6ItVv9.js";
|
|
1
|
+
import { d as useTranslation, o as useUiConfig } from "./devWarn-B4kGEiva.js";
|
|
2
|
+
import { C as Q, T as k, a as M, b as u, g as h, i as D, l as A, m as d, v as x } from "./vendor-preact-HIccnts1.js";
|
|
3
|
+
import { t as DEFAULT_HELP_BUTTON_POSITION } from "./helpButtonConfig-BFragC_J.js";
|
|
4
|
+
import { b as PrizmaButton, d as CloseIcon } from "./icons-CLoob8B-.js";
|
|
5
|
+
import { h as cn, t as Spacer } from "./spacer-NanHQwzu.js";
|
|
6
|
+
import { t as AutoFocusTitle } from "./autoFocusTitle-CNeT8ydU.js";
|
|
7
|
+
import { n as IncodeLogo, r as Modal, t as usePageUiConfig } from "./pageUiConfig-DZQHreIo.js";
|
|
9
8
|
//#region src/shared/closeButton/closeButton.tsx
|
|
10
9
|
/** The "X" button that cancels the current module. Purely presentational. */
|
|
11
10
|
var CloseButton = D(({ onClick, ariaLabel, class: className, size = "S", iconSize = 24, color = "var(--icon-neutral-500)", "data-testid": dataTestId }, ref) => {
|
|
@@ -43,7 +42,7 @@ function QuitConfirmDialog({ open, onOpenChange, onConfirm, returnFocusRef }) {
|
|
|
43
42
|
onOpenChange,
|
|
44
43
|
returnFocusRef,
|
|
45
44
|
"data-testid": "quit-confirm-dialog",
|
|
46
|
-
children: /* @__PURE__ */ u(Modal.Content, { children: [/* @__PURE__ */ u(Modal.
|
|
45
|
+
children: /* @__PURE__ */ u(Modal.Content, { children: [/* @__PURE__ */ u(Modal.Header, { title: t("page.close.confirmQuit") }), /* @__PURE__ */ u(Modal.Actions, { children: [/* @__PURE__ */ u(PrizmaButton, {
|
|
47
46
|
size: "L",
|
|
48
47
|
className: "IncodeButton IncodeButtonSecondary IncodeButtonL",
|
|
49
48
|
variant: "secondary",
|
|
@@ -169,18 +168,22 @@ function useLogoShape(src) {
|
|
|
169
168
|
}
|
|
170
169
|
//#endregion
|
|
171
170
|
//#region src/shared/page/logo.tsx
|
|
172
|
-
/**
|
|
173
|
-
var
|
|
174
|
-
const isCustom = src !== incode_logo_default;
|
|
171
|
+
/** Customer logo, sized by shape (see `logo.css`). */
|
|
172
|
+
var CustomLogo = ({ src, class: className }) => {
|
|
175
173
|
const { isSquarish, onLoad } = useLogoShape(src);
|
|
176
174
|
return /* @__PURE__ */ u("img", {
|
|
177
175
|
src,
|
|
178
|
-
class: cn("IncodePageLogo",
|
|
179
|
-
onLoad
|
|
176
|
+
class: cn("IncodePageLogo", "IncodePageLogoCustom", isSquarish && "IncodePageLogoSquarish", isVectorLogo(src) && "IncodePageLogoVector", className),
|
|
177
|
+
onLoad,
|
|
180
178
|
"aria-hidden": "true",
|
|
181
179
|
alt: ""
|
|
182
180
|
});
|
|
183
181
|
};
|
|
182
|
+
/** Header logo: the customer's if there is one, otherwise Incode's. */
|
|
183
|
+
var Logo = ({ src, class: className }) => src ? /* @__PURE__ */ u(CustomLogo, {
|
|
184
|
+
src,
|
|
185
|
+
class: className
|
|
186
|
+
}) : /* @__PURE__ */ u(IncodeLogo, { class: cn("IncodePageLogo", className) });
|
|
184
187
|
//#endregion
|
|
185
188
|
//#region src/shared/page/verifiedByIncode.tsx
|
|
186
189
|
var VerifiedByIncodeLogo = M(function VerifiedByIncodeLogo() {
|
|
@@ -257,16 +260,11 @@ var VerifiedByIncodeLogo = M(function VerifiedByIncodeLogo() {
|
|
|
257
260
|
//#endregion
|
|
258
261
|
//#region src/shared/page/page.tsx
|
|
259
262
|
var Page = ({ title, titleId, subtitle, titleTopSlot, className, logo, children, hideHeader, hideFooterBranding, footerBrandingSlot, theme, "data-testid": dataTestId, "data-permission-status": dataPermissionStatus }) => {
|
|
260
|
-
const titleRef = A(null);
|
|
261
263
|
const closeButton = useCloseButton();
|
|
262
|
-
y(() => {
|
|
263
|
-
titleRef.current?.focus();
|
|
264
|
-
}, []);
|
|
265
264
|
const uiConfig = usePageUiConfig({
|
|
266
265
|
hideHeader,
|
|
267
266
|
hideFooterBranding,
|
|
268
267
|
logo,
|
|
269
|
-
defaultLogoSrc: incode_logo_default,
|
|
270
268
|
theme
|
|
271
269
|
});
|
|
272
270
|
const shouldShowHeader = title || subtitle || titleTopSlot;
|
|
@@ -289,23 +287,21 @@ var Page = ({ title, titleId, subtitle, titleTopSlot, className, logo, children,
|
|
|
289
287
|
}),
|
|
290
288
|
shouldShowHeader ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(Spacer, { size: uiConfig.hideHeader ? 40 : 24 }), /* @__PURE__ */ u("div", {
|
|
291
289
|
class: "IncodePageTitleContainer",
|
|
292
|
-
children: [
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
})] }) : null
|
|
308
|
-
]
|
|
290
|
+
children: [titleTopSlot ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u("div", {
|
|
291
|
+
class: "IncodePageTitleTopSlot",
|
|
292
|
+
children: titleTopSlot
|
|
293
|
+
}), /* @__PURE__ */ u(Spacer, { size: 12 })] }) : null, title ? /* @__PURE__ */ u(AutoFocusTitle, {
|
|
294
|
+
id: titleId,
|
|
295
|
+
className: "IncodePageTitle",
|
|
296
|
+
tabIndex: -1,
|
|
297
|
+
showSubtitle: Boolean(subtitle),
|
|
298
|
+
subtitle,
|
|
299
|
+
subtitleProps: { className: "IncodePageSubtitle" },
|
|
300
|
+
children: title
|
|
301
|
+
}) : subtitle ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(Spacer, { size: 12 }), /* @__PURE__ */ u("p", {
|
|
302
|
+
class: "IncodePageSubtitle",
|
|
303
|
+
children: subtitle
|
|
304
|
+
})] }) : null]
|
|
309
305
|
})] }) : null,
|
|
310
306
|
/* @__PURE__ */ u("div", {
|
|
311
307
|
class: "IncodePageContent",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { r as useIsDarkTheme } from "./useIsDarkTheme-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { o as useUiConfig } from "./devWarn-B4kGEiva.js";
|
|
2
|
+
import { C as Q, _ as q, a as M, b as u, d as T, f as _, l as A, m as d, n as $, v as x, y } from "./vendor-preact-HIccnts1.js";
|
|
3
|
+
import { r as useIsDarkTheme } from "./useIsDarkTheme-DAs5RhsW.js";
|
|
4
|
+
import { d as CloseIcon } from "./icons-CLoob8B-.js";
|
|
5
|
+
import { h as cn, n as Title } from "./spacer-NanHQwzu.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`. */
|
|
@@ -110,8 +110,8 @@ function useModalEscapeDismiss(open, dismissible, onRequestClose) {
|
|
|
110
110
|
]);
|
|
111
111
|
}
|
|
112
112
|
/**
|
|
113
|
-
* When `active` becomes true, moves focus to the
|
|
114
|
-
*
|
|
113
|
+
* When `active` becomes true, moves focus to the dialog's initial focus target.
|
|
114
|
+
* Restores focus on cleanup to the element in
|
|
115
115
|
* `returnFocusRef` if provided, otherwise to the previously focused element.
|
|
116
116
|
*
|
|
117
117
|
* An explicit `returnFocusRef` is strongly recommended for dialogs opened via
|
|
@@ -123,7 +123,7 @@ function useModalEscapeDismiss(open, dismissible, onRequestClose) {
|
|
|
123
123
|
* so focus runs after the dialog node exists.
|
|
124
124
|
*/
|
|
125
125
|
function useModalFocusCapture(active, dialogRef, manageInitialFocus = true, returnFocusRef) {
|
|
126
|
-
|
|
126
|
+
_(() => {
|
|
127
127
|
if (!active) return;
|
|
128
128
|
const previous = document.activeElement;
|
|
129
129
|
const explicitReturnTarget = returnFocusRef?.current ?? null;
|
|
@@ -174,7 +174,7 @@ function useModalVisualViewportBounds(active, targetRef) {
|
|
|
174
174
|
* Keeps Tab / Shift+Tab cycling within the dialog while `active` is true.
|
|
175
175
|
*/
|
|
176
176
|
function useModalTabCycle(active, dialogRef) {
|
|
177
|
-
|
|
177
|
+
_(() => {
|
|
178
178
|
if (!active) return;
|
|
179
179
|
const onKeyDown = (event) => {
|
|
180
180
|
if (event.key !== "Tab") return;
|
|
@@ -299,7 +299,7 @@ function ModalTitleSection({ children, align = "center" }) {
|
|
|
299
299
|
});
|
|
300
300
|
}
|
|
301
301
|
function ModalTitle({ children, ref, class: className }) {
|
|
302
|
-
return /* @__PURE__ */ u(
|
|
302
|
+
return /* @__PURE__ */ u(Title, {
|
|
303
303
|
id: MODAL_TITLE_ID,
|
|
304
304
|
ref,
|
|
305
305
|
tabIndex: -1,
|
|
@@ -307,12 +307,43 @@ function ModalTitle({ children, ref, class: className }) {
|
|
|
307
307
|
children
|
|
308
308
|
});
|
|
309
309
|
}
|
|
310
|
-
function
|
|
310
|
+
function useModalDescription(visible) {
|
|
311
311
|
const { setHasDescription } = useModalContext();
|
|
312
312
|
_(() => {
|
|
313
|
-
setHasDescription(
|
|
313
|
+
setHasDescription(visible);
|
|
314
314
|
return () => setHasDescription(false);
|
|
315
|
-
}, [setHasDescription]);
|
|
315
|
+
}, [setHasDescription, visible]);
|
|
316
|
+
}
|
|
317
|
+
function ModalHeader({ title, subtitle, showSubtitle = Boolean(subtitle), icon, variant = "centered", headingProps, headingRef, subtitleProps, titleTopSlot, class: className }) {
|
|
318
|
+
useModalDescription(showSubtitle && Boolean(subtitle));
|
|
319
|
+
const hasTitleTopSlot = titleTopSlot != null && titleTopSlot !== false;
|
|
320
|
+
const subtitleClassName = subtitleProps?.className;
|
|
321
|
+
return /* @__PURE__ */ u("div", {
|
|
322
|
+
class: cn("IncodeModalHeader", className),
|
|
323
|
+
children: [hasTitleTopSlot && /* @__PURE__ */ u(ModalIcon, { children: titleTopSlot }), /* @__PURE__ */ u(ModalTitleSection, {
|
|
324
|
+
align: variant === "left" ? "left" : "center",
|
|
325
|
+
children: /* @__PURE__ */ u(Title, {
|
|
326
|
+
variant,
|
|
327
|
+
icon: hasTitleTopSlot ? { type: "none" } : icon,
|
|
328
|
+
headingRef,
|
|
329
|
+
headingProps,
|
|
330
|
+
id: MODAL_TITLE_ID,
|
|
331
|
+
tabIndex: -1,
|
|
332
|
+
className: "IncodeModalTitle",
|
|
333
|
+
subtitle,
|
|
334
|
+
showSubtitle,
|
|
335
|
+
subtitleProps: {
|
|
336
|
+
...subtitleProps,
|
|
337
|
+
id: "incode-modal-description",
|
|
338
|
+
className: cn("IncodeModalSubtitle", typeof subtitleClassName === "object" ? subtitleClassName.value : subtitleClassName)
|
|
339
|
+
},
|
|
340
|
+
children: title
|
|
341
|
+
})
|
|
342
|
+
})]
|
|
343
|
+
});
|
|
344
|
+
}
|
|
345
|
+
function ModalSubtitle({ children, class: className }) {
|
|
346
|
+
useModalDescription(true);
|
|
316
347
|
return /* @__PURE__ */ u("p", {
|
|
317
348
|
id: "incode-modal-description",
|
|
318
349
|
className: cn("IncodeModalSubtitle", className),
|
|
@@ -330,6 +361,7 @@ var Modal = {
|
|
|
330
361
|
Root: ModalRoot,
|
|
331
362
|
Content: ModalContent,
|
|
332
363
|
Close: ModalClose,
|
|
364
|
+
Header: ModalHeader,
|
|
333
365
|
Icon: ModalIcon,
|
|
334
366
|
TitleSection: ModalTitleSection,
|
|
335
367
|
Title: ModalTitle,
|
|
@@ -337,8 +369,26 @@ var Modal = {
|
|
|
337
369
|
Actions: ModalActions
|
|
338
370
|
};
|
|
339
371
|
//#endregion
|
|
340
|
-
//#region src/shared/page/
|
|
341
|
-
var
|
|
372
|
+
//#region src/shared/page/incodeLogo.tsx
|
|
373
|
+
var IncodeLogo = M(function IncodeLogo({ class: className, "data-testid": dataTestId }) {
|
|
374
|
+
return /* @__PURE__ */ u("svg", {
|
|
375
|
+
width: "76",
|
|
376
|
+
height: "20",
|
|
377
|
+
viewBox: "0 0 76 20",
|
|
378
|
+
fill: "none",
|
|
379
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
380
|
+
class: className,
|
|
381
|
+
"data-testid": dataTestId,
|
|
382
|
+
"aria-hidden": "true",
|
|
383
|
+
focusable: "false",
|
|
384
|
+
children: /* @__PURE__ */ u("path", {
|
|
385
|
+
fill: "var(--icon-brand-500-static)",
|
|
386
|
+
fillRule: "evenodd",
|
|
387
|
+
clipRule: "evenodd",
|
|
388
|
+
d: "M40.169 6.018c2.062 0 3.624.579 4.676 1.742q1.57 1.739 1.568 4.998.001 3.259-1.619 5.036c-1.084 1.188-2.621 1.78-4.6 1.78-2.046 0-3.597-.584-4.64-1.755l-.127-.149q-1.43-1.741-1.429-4.912c0-4.471 2.072-6.74 6.17-6.74m28.944 0c2.001 0 3.482.651 4.424 1.955q1.337 1.853 1.37 5.09l-.001.461h-8.791c.102 1.11.445 1.95 1.026 2.53.608.608 1.478.914 2.623.914q1.132 0 2.157-.282a8 8 0 0 0 1.814-.721l.246-.138v2.839l-.099.043q-1.982.865-4.544.864c-1.93 0-3.453-.587-4.561-1.764-1.107-1.174-1.659-2.837-1.659-4.976q-.002-3.283 1.568-5.048c1.05-1.179 2.53-1.767 4.427-1.767m-8.715-4.95v15.315c0 .717-.298 1.326-.886 1.815q-.855.711-2.14 1.046-1.269.33-2.619.33c-1.823 0-3.33-.518-4.512-1.554-1.193-1.045-1.782-2.852-1.782-5.413q-.001-3.08 1.516-4.833c1.019-1.172 2.523-1.756 4.503-1.756q.695 0 1.596.176.762.152 1.39.429V1.067zM27.91 6.041q2.058 0 3.915.762l.103.042v2.712l-.23-.097q-1.873-.789-3.413-.788c-1.276 0-2.218.315-2.834.939-.615.623-.928 1.628-.928 3.021 0 1.463.306 2.52.907 3.176.598.653 1.571.983 2.93.983q1.665 0 3.355-.808l.237-.113v2.72l-.098.043a9.5 9.5 0 0 1-3.919.814q-2.581 0-4.35-1.42l-.174-.145-.132-.12c-1.128-1.056-1.689-2.704-1.689-4.93 0-2.377.595-4.11 1.794-5.186 1.19-1.07 2.702-1.605 4.526-1.605m-23.8.35L4.135 19.2H1.153V6.393zm9.466-.35c1.788 0 3.118.377 3.987 1.142q1.308 1.156 1.307 3.55v8.464h-2.958v-8.114c0-1.655-.914-2.46-2.812-2.46q-1.188 0-2.288.336l-.273.089v10.15H7.581V7.405l.09-.046q1.146-.584 2.78-.952l.36-.077a14 14 0 0 1 2.766-.289m26.592 2.506c-1.168 0-1.988.35-2.48 1.043q-.755 1.065-.757 3.167.002 2.102.782 3.192c.508.711 1.32 1.068 2.455 1.068 2.2 0 3.287-1.393 3.287-4.26 0-1.433-.267-2.495-.792-3.187-.517-.68-1.344-1.023-2.495-1.023m14.685.05c-2.27 0-3.388 1.33-3.388 4.06q.002 2.054.773 3.195c.499.742 1.38 1.115 2.665 1.115q1.128 0 1.884-.265c.428-.15.64-.325.672-.517l.005-.053V9.254l-.187-.098a5 5 0 0 0-1.027-.375 5.7 5.7 0 0 0-1.398-.183m14.184-.1c-.846 0-1.497.22-1.964.656q-.617.574-.864 1.896l-.033.192h5.701l-.03-.197q-.207-1.254-.802-1.859c-.45-.456-1.116-.687-2.008-.687M4.21 1.943v2.706H1.077V1.942z"
|
|
389
|
+
})
|
|
390
|
+
});
|
|
391
|
+
});
|
|
342
392
|
//#endregion
|
|
343
393
|
//#region src/shared/page/pageUiConfig.ts
|
|
344
394
|
function resolveFirst(values) {
|
|
@@ -348,7 +398,7 @@ function resolvePageUiConfig(args) {
|
|
|
348
398
|
return {
|
|
349
399
|
hideHeader: resolveFirst([args.hideHeader, args.uiConfig.hideHeader]) ?? false,
|
|
350
400
|
hideFooterBranding: Boolean(args.hideFooterBranding || args.uiConfig.hideFooterBranding),
|
|
351
|
-
logoSrc: args.logo?.src || (args.isDark ? args.uiConfig.logoDarkSrc : void 0) || args.uiConfig.logoSrc ||
|
|
401
|
+
logoSrc: args.logo?.src || (args.isDark ? args.uiConfig.logoDarkSrc : void 0) || args.uiConfig.logoSrc || void 0
|
|
352
402
|
};
|
|
353
403
|
}
|
|
354
404
|
function usePageUiConfig(args) {
|
|
@@ -362,4 +412,4 @@ function usePageUiConfig(args) {
|
|
|
362
412
|
});
|
|
363
413
|
}
|
|
364
414
|
//#endregion
|
|
365
|
-
export { useModalEscapeDismiss as a, useModalVisualViewportBounds as c, useModalBodyScrollLock as i,
|
|
415
|
+
export { useModalEscapeDismiss as a, useModalVisualViewportBounds as c, useModalBodyScrollLock as i, IncodeLogo as n, useModalFocusCapture as o, Modal as r, useModalTabCycle as s, usePageUiConfig as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as u } from "./vendor-preact-
|
|
1
|
+
import { b as u } from "./vendor-preact-HIccnts1.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 { b as u } from "./vendor-preact-
|
|
1
|
+
import { b as u } from "./vendor-preact-HIccnts1.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",
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { b as u } from "./vendor-preact-HIccnts1.js";
|
|
2
|
+
import { l as ErrorIcon, n as SuccessIcon, u as EllipseIcon } from "./icons-CLoob8B-.js";
|
|
3
|
+
//#region src/shared/passwordInputComposed/passwordRequirements.tsx
|
|
4
|
+
var PasswordRequirements = ({ id, heading, requirements, invalid, requirementMetLabel, requirementUnmetLabel }) => {
|
|
5
|
+
if (requirements.length === 0) return null;
|
|
6
|
+
const headingId = `${id}-requirements-heading`;
|
|
7
|
+
return /* @__PURE__ */ u("div", {
|
|
8
|
+
class: "IncodePasswordInputComposedRequirements",
|
|
9
|
+
children: [heading && /* @__PURE__ */ u("p", {
|
|
10
|
+
id: headingId,
|
|
11
|
+
class: "IncodePasswordInputComposedRequirementsHeading",
|
|
12
|
+
"data-invalid": invalid,
|
|
13
|
+
"data-testid": headingId,
|
|
14
|
+
children: [invalid && /* @__PURE__ */ u("span", {
|
|
15
|
+
class: "IncodePasswordInputComposedRequirementsHeadingIcon",
|
|
16
|
+
"aria-hidden": "true",
|
|
17
|
+
children: /* @__PURE__ */ u(ErrorIcon, { size: 16 })
|
|
18
|
+
}), heading]
|
|
19
|
+
}), /* @__PURE__ */ u("ul", {
|
|
20
|
+
class: "IncodePasswordInputComposedRequirementsList",
|
|
21
|
+
"aria-live": "polite",
|
|
22
|
+
"aria-labelledby": heading ? headingId : void 0,
|
|
23
|
+
"data-testid": `${id}-requirements`,
|
|
24
|
+
children: requirements.map(({ key, label, met }) => /* @__PURE__ */ u("li", {
|
|
25
|
+
id: `${id}-requirement-${key}`,
|
|
26
|
+
class: "IncodePasswordInputComposedRequirement",
|
|
27
|
+
"data-met": met,
|
|
28
|
+
"data-testid": `${id}-requirement-${key}`,
|
|
29
|
+
children: [
|
|
30
|
+
/* @__PURE__ */ u("span", {
|
|
31
|
+
"aria-hidden": "true",
|
|
32
|
+
class: "IncodePasswordInputComposedRequirementIcon",
|
|
33
|
+
children: met ? /* @__PURE__ */ u(SuccessIcon, { size: 16 }) : /* @__PURE__ */ u(EllipseIcon, { size: 16 })
|
|
34
|
+
}),
|
|
35
|
+
/* @__PURE__ */ u("span", {
|
|
36
|
+
class: "IncodePasswordInputComposedRequirementLabel",
|
|
37
|
+
children: label
|
|
38
|
+
}),
|
|
39
|
+
(requirementMetLabel || requirementUnmetLabel) && /* @__PURE__ */ u("span", {
|
|
40
|
+
class: "IncodeSrOnly",
|
|
41
|
+
children: met ? requirementMetLabel : requirementUnmetLabel
|
|
42
|
+
})
|
|
43
|
+
]
|
|
44
|
+
}, key))
|
|
45
|
+
})]
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
//#endregion
|
|
49
|
+
export { PasswordRequirements as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as _defineProperty } from "./defineProperty-
|
|
2
|
-
import { n as _classPrivateMethodInitSpec, r as _checkPrivateRedeclaration, t as _assertClassBrand } from "./assertClassBrand-
|
|
1
|
+
import { t as _defineProperty } from "./defineProperty-CRYuXE79.js";
|
|
2
|
+
import { n as _classPrivateMethodInitSpec, r as _checkPrivateRedeclaration, t as _assertClassBrand } from "./assertClassBrand-CuHX5JcR.js";
|
|
3
3
|
//#region \0@oxc-project+runtime@0.122.0/helpers/classPrivateFieldInitSpec.js
|
|
4
4
|
function _classPrivateFieldInitSpec(e, t, a) {
|
|
5
5
|
_checkPrivateRedeclaration(e, t), t.set(e, a);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as u, l as A, m as d, y } from "./vendor-preact-
|
|
2
|
-
import {
|
|
3
|
-
import { t as Spinner } from "./spinner-
|
|
1
|
+
import { b as u, l as A, m as d, y } from "./vendor-preact-HIccnts1.js";
|
|
2
|
+
import { h as cn } from "./spacer-NanHQwzu.js";
|
|
3
|
+
import { t as Spinner } from "./spinner-bRH4yw9e.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-CLcY9ugT.js"), import("./pdf.worker.min-Cm2oniEB.js")]);
|
|
80
80
|
workerSrc ??= URL.createObjectURL(new Blob([workerSource], { type: "text/javascript" }));
|
|
81
81
|
pdfjs.GlobalWorkerOptions.workerSrc = workerSrc;
|
|
82
82
|
if (cancelled) return;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { d as useTranslation } from "./devWarn-B4kGEiva.js";
|
|
2
|
+
import { b as u } from "./vendor-preact-HIccnts1.js";
|
|
3
|
+
import { h as cn } from "./spacer-NanHQwzu.js";
|
|
4
|
+
//#region src/shared/permissions/assets/recovery/camera.svg?react
|
|
5
|
+
var SvgCamera = (props) => /* @__PURE__ */ u("svg", {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: 24,
|
|
8
|
+
height: 24,
|
|
9
|
+
fill: "currentColor",
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
...props,
|
|
12
|
+
children: [/* @__PURE__ */ u("path", { d: "M13.966 3.236q1.875 0 2.762 1.658.418.78.575.96.27.278.654.296 1.63.006 2.783 1.16 1.16 1.16 1.16 2.801v5.645q0 2.074-1.466 3.54-1.467 1.466-3.54 1.466H7.106q-2.074 0-3.54-1.466T2.1 15.756v-5.642q.005-3.948 3.94-3.958.387-.02.657-.298.16-.182.615-1.004.894-1.618 2.742-1.618Zm0 1.8h-3.912q-.786 0-1.167.69-.566 1.022-.864 1.35l-.014.016q-.781.818-1.912.863l-.035.001q-2.16 0-2.162 2.158v5.642q0 1.328.938 2.268.94.938 2.268.938h9.788q3.206 0 3.206-3.206v-5.645q0-.895-.634-1.527-.632-.634-1.528-.634l-.032-.001q-1.132-.04-1.915-.86l-.013-.016q-.307-.336-.836-1.33-.38-.707-1.176-.707" }), /* @__PURE__ */ u("path", { d: "M18.073 9.828v.059q0 .373-.264.636-.264.264-.636.264-.373 0-.637-.264-.263-.263-.263-.636v-.059q0-.372.263-.636.264-.264.637-.264.372 0 .636.264t.264.636m-2.081 3.277q0 3.993-3.993 3.993t-3.993-3.993q0-1.653 1.17-2.823t2.823-1.17 2.825 1.17q1.168 1.17 1.168 2.823m-1.8 0q0-2.193-2.193-2.193t-2.193 2.193 2.193 2.193 2.193-2.193" })]
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region src/shared/permissions/camera/permissionInstructionList.tsx
|
|
16
|
+
/**
|
|
17
|
+
* Icon + sentence rows shared by the denied and Learn More screens. Each row's
|
|
18
|
+
* text is one complete sentence, so it is also the row's accessible name; the
|
|
19
|
+
* icon only illustrates it.
|
|
20
|
+
*/
|
|
21
|
+
var PermissionInstructionList = ({ items, ordered = false, "data-testid": dataTestId }) => {
|
|
22
|
+
const { t } = useTranslation();
|
|
23
|
+
return /* @__PURE__ */ u(ordered ? "ol" : "ul", {
|
|
24
|
+
class: "IncodePermissionInstructionList",
|
|
25
|
+
role: "list",
|
|
26
|
+
"data-testid": dataTestId,
|
|
27
|
+
children: items.map(({ textKey, icon: Icon, mirrorInRtl }) => /* @__PURE__ */ u("li", {
|
|
28
|
+
class: "IncodePermissionInstruction",
|
|
29
|
+
children: [/* @__PURE__ */ u(Icon, {
|
|
30
|
+
class: cn("IncodePermissionInstructionIcon", mirrorInRtl && "IncodePermissionInstructionIconMirrored"),
|
|
31
|
+
width: 24,
|
|
32
|
+
height: 24,
|
|
33
|
+
"aria-hidden": "true",
|
|
34
|
+
focusable: "false"
|
|
35
|
+
}), /* @__PURE__ */ u("p", {
|
|
36
|
+
class: "IncodePermissionInstructionText",
|
|
37
|
+
children: t(textKey)
|
|
38
|
+
})]
|
|
39
|
+
}, textKey))
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
//#endregion
|
|
43
|
+
export { SvgCamera as n, PermissionInstructionList as t };
|