@incodetech/web 2.4.1-agentic.1 → 2.4.1-agentic.11
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-B2Bk62IZ.js} +16 -6
- package/dist/Password-CcWXvH2K.js +212 -0
- package/dist/RadioGroup-BpoGOEE9.js +123 -0
- package/dist/RequiredLegend-Dduneyqf.js +16 -0
- package/dist/RequiredMarker-CsKs64ir.js +16 -0
- package/dist/TextField-omV_Sh0m.js +166 -0
- package/dist/ae-signature/ae-signature.es.js +4 -4
- package/dist/{af-ZA-BKpmmWDe.js → af-ZA-CTo61lUd.js} +69 -42
- package/dist/{ageVerification-CtuJDuRV.js → ageVerification-BCINBQZO.js} +5 -6
- package/dist/{am-CW_ro5Ws.js → am-D_H0614H.js} +69 -42
- package/dist/antifraud/antifraud.es.js +5 -5
- package/dist/{applyStudioConfig-C6-Ak0q6.js → applyStudioConfig-CI-BsnUG.js} +4 -5
- package/dist/{ar-AE-D9h8UMbm.js → ar-AE-Bgxs3Joi.js} +69 -42
- package/dist/{ar-B5ToweVl.js → ar-CSbyYe80.js} +70 -43
- package/dist/{ar-EG-DQqE9B26.js → ar-EG-Cy5uiVhr.js} +69 -42
- package/dist/authentication/authentication.es.js +9 -8
- package/dist/autoFocusTitle-mBhEhLCL.js +19 -0
- package/dist/{az-DAZq-CQj.js → az-1XE8GFvS.js} +69 -42
- package/dist/{back-horizontal-hint-qzSaNkEU.js → back-horizontal-hint-BhCF0si3.js} +1 -1
- package/dist/{back-vertical-hint-DkYLOege.js → back-vertical-hint-C0qae_uz.js} +1 -1
- package/dist/base.css +1 -1
- package/dist/{baseTutorial-CF6WiVYt.js → baseTutorial-D-9vkH72.js} +4 -5
- package/dist/{bn-DRTyq2Y9.js → bn-dGfYPmMR.js} +69 -42
- package/dist/{bottomSheet-DylE2INk.js → bottomSheet-Ckz0xCnC.js} +3 -3
- package/dist/{bs-B8q0B86-.js → bs-BjgKg9Cf.js} +69 -42
- package/dist/{ca-DvsHXRB-.js → ca-Cr39O5Ar.js} +69 -42
- package/dist/cameraOverlay-DEY4yXvj.js +2 -0
- package/dist/{cameraOverlayHeader-CuVGnyXI.js → cameraOverlayHeader-CDpbhCAc.js} +5 -5
- package/dist/{cameraView-D9ZxLKtA.js → cameraView-CnIsWzFE.js} +3 -3
- package/dist/{capture-BlGlXoTx.js → capture-BkrTEMEe.js} +27 -44
- package/dist/{capture-0jMDSGCE.js → capture-CZIhLzQY.js} +25 -33
- package/dist/capture-D7Fc3cz1.js +2 -0
- package/dist/capture-Dz-xGs-a.js +3 -0
- package/dist/captureButtonIcon-BvVQ4ryA.js +1 -0
- package/dist/{captureFocusContext-9789qOe3.js → captureFocusContext--U4sVQrN.js} +53 -64
- package/dist/{captureFooter-B6WUFQCV.js → captureFooter-CStw2uWE.js} +5 -5
- package/dist/{ceb-pvlomXHV.js → ceb-DpLMbrUz.js} +69 -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-x33wsoSj.js} +4 -4
- package/dist/chooser-BN9n5HDp.js +1517 -0
- package/dist/{connectionError-DexRpKWs.js → connectionError-BkahLNGI.js} +25 -15
- package/dist/consent/consent.es.js +11 -11
- package/dist/{countryDefinitions-RBVGM1D_.js → countryDefinitions-UXJ0maPk.js} +6 -0
- package/dist/{countryFlag-CQMfCnE9.js → countryFlag-CjuXF_8C.js} +1 -1
- package/dist/{countrySelector-C0OEKMqL.js → countrySelector-DABZxmqi.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-CVwwXA_L.js} +69 -42
- package/dist/{cs-DB5PLEdt.js → cs-CcAAwFsV.js} +69 -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-CDsK2O2w.js} +29 -21
- package/dist/{customWatchlist-BbC0fA-6.js → customWatchlist-C3xpw7I9.js} +11 -10
- package/dist/{da-DK-ZhpcfE_F.js → da-DK-DIOLzZUl.js} +69 -42
- package/dist/dashboardTheme-BlYK5PP-.js +397 -0
- package/dist/dateInputComposed-CdA01ZKl.js +1 -0
- package/dist/{dateInputComposed-1IcnucPq.js → dateInputComposed-DfuBg6LH.js} +4 -5
- package/dist/{de-DEBjzaow.js → de-C_TxF_HV.js} +69 -42
- package/dist/denied-C191Nj7Q.js +272 -0
- package/dist/{i18n-Dp014ljG.js → devWarn-D1Ek78cG.js} +204 -90
- package/dist/{deviceWallet-CMjguFJO.js → deviceWallet-DiOUJQWn.js} +4 -4
- package/dist/{digitalIdRedirect-MNty16-5.js → digitalIdRedirect-DQwT-h56.js} +4 -4
- package/dist/{digitalIdUpload-CUzTaoaI.js → digitalIdUpload-BFfezopc.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-B8hj8CV5.js +2 -0
- package/dist/{documentCapture-BUMyJ8vw.js → documentCapture-CBgP2Ee2.js} +43 -50
- package/dist/dropdownComposed-DOCszIPl.js +1 -0
- package/dist/{dropdownComposed-x3ewHxbT.js → dropdownComposed-DlZ6Ga04.js} +8 -6
- package/dist/dynamic-forms/dynamic-forms.es.js +57 -35
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekybModule-C3qDGa1O.js +2 -0
- package/dist/{ekybModule-C5hEBLMs.js → ekybModule-CNAZvVCJ.js} +101 -85
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekyc/styles.css +1 -1
- package/dist/ekyc/styles.css.js +1 -1
- package/dist/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-B5tOgX1t.js +789 -0
- package/dist/ekycModule-PbLlN8Ur.js +2 -0
- package/dist/ekycPrefillModule-BCqr5xg6.js +2 -0
- package/dist/ekycPrefillModule-D-7Ki7ip.js +233 -0
- package/dist/{el-Dplr_D5N.js → el-CbZPwFNa.js} +69 -42
- package/dist/{el-GR-IZ4reOR7.js → el-GR-CtGerZAg.js} +69 -42
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-BMda_cf3.js → electronic-signature-XwF2a5Di.js} +18 -14
- package/dist/email/email.es.js +16 -15
- package/dist/{emailInput-BI8gWC0D.js → emailInput-3NfW39yQ.js} +23 -12
- package/dist/{en-Db1L_u7B.js → en-BSiYsQaj.js} +69 -42
- package/dist/{en-DG-C6tsWvHi.js → en-DG-hE633fCD.js} +69 -42
- package/dist/{errorContent-pPAgyy2i.js → errorContent-B41Nj1qz.js} +17 -19
- package/dist/{formField-CfQKYeGF.js → errorParams-E_uvPMjt.js} +2 -33
- package/dist/{es-419-DxKrJq7W.js → es-419-DWEh9txr.js} +1 -1
- package/dist/{es-C5unKsaF.js → es-DuW9UEF8.js} +70 -43
- package/dist/{es-ES-sHbsufzT.js → es-ES-D2rHmm0b.js} +69 -42
- package/dist/{es-MX-Cd_DCR0A.js → es-MX-Bl9PwVe4.js} +69 -42
- package/dist/{et-BoGq2cx8.js → et-C_qNoiMz.js} +69 -42
- package/dist/{expiredId-DWjw94rT.js → expiredId-Cd2Q6EHG.js} +20 -37
- package/dist/extensibility.es.js +329 -47
- package/dist/{fa-IR-DuUxGXrf.js → fa-IR-BVniIYjM.js} +69 -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-BAsoLDQA.js +2 -0
- package/dist/{faceMatch-DV7NxYu_.js → faceMatch-DJ3-Ig1q.js} +60 -72
- package/dist/{fi-FI-DMOBNTjA.js → fi-FI-BG79wR8h.js} +69 -42
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-BTGJh1YJ.js +2 -0
- package/dist/fieldComparison-CGGRQKrN.js +126 -0
- package/dist/{fieldLabelHint-CjrLxBaj.js → fieldLabelHint-Djc7xmZT.js} +1 -1
- package/dist/{finalSuccessScreen-C50L96j9.js → finalSuccessScreen-BcohKzS1.js} +25 -20
- package/dist/fiscal-qr/fiscal-qr.es.js +23 -23
- package/dist/flipAnimation-DaDWXMfZ.js +46 -0
- package/dist/{flipCapturedCardEligibility-DLr9F2g2.js → flipCapturedCardEligibility-BNB-qpRE.js} +4 -4
- package/dist/flow/flow.es.js +126 -121
- 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-j7McuK7h.js +49 -0
- package/dist/{fr-CA-DZ8jlsp3.js → fr-CA-9oYCImH0.js} +69 -42
- package/dist/{fr-DSR-AP0e.js → fr-Cg9U-S6G.js} +69 -42
- package/dist/{front-horizontal-hint-DOphQZg2.js → front-horizontal-hint-C5AX0o5M.js} +1 -1
- package/dist/{front-vertical-hint-S6PcS9_m.js → front-vertical-hint-DSu5UGet.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-BuOJ3WYa.js} +69 -42
- package/dist/{hi-JR6K9zbd.js → hi-G8P5MAzO.js} +69 -42
- package/dist/{hmn-j2YA7FxW.js → hmn-BvHL7svq.js} +69 -42
- package/dist/{homeScreen-C3pPw52y.js → homeScreen-B8ywi_89.js} +12 -11
- package/dist/{hooks-BFP0WaJM.js → hooks-BqVQkncd.js} +73 -27
- package/dist/{hr-8cOdwB0t.js → hr-DRJtcnlS.js} +69 -42
- package/dist/{ht-DDNL4C__.js → ht-DXMGL2_w.js} +69 -42
- package/dist/{hu-CynQQUFQ.js → hu-CwdSmnHn.js} +70 -43
- package/dist/{icons-c-hFaG4L.js → icons-SdRhlEsv.js} +3 -27
- package/dist/id/id.es.js +106 -40
- package/dist/id/styles.css +1 -1
- package/dist/id/styles.css.js +1 -1
- package/dist/{id-o_Yg0n8W.js → id-D6g-wk9x.js} +70 -43
- package/dist/{id-back-of-card-Bk6ZQUE9.js → id-back-of-card-C9LVxYkn.js} +1 -1
- package/dist/{id-back-of-card-vertical-BZo00s50.js → id-back-of-card-vertical-CCIea4QU.js} +1 -1
- package/dist/{id-front-of-card-BJ96se7u.js → id-front-of-card-trQfnbrC.js} +1 -1
- package/dist/{id-front-of-card-vertical-DSfJB0lX.js → id-front-of-card-vertical-Bh0hwhIW.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 +12 -7
- package/dist/{idFlipTransition-DXdtXYza.js → idFlipTransition-DQpwN58q.js} +22 -26
- package/dist/{idOcr-CjqfkRJ7.js → idOcr-SFg10SpY.js} +60 -37
- package/dist/identity-reuse/identity-reuse.es.js +23 -20
- package/dist/identity-reuse/styles.css.js +1 -0
- package/dist/{incodeComponent-DtKh-UUm.js → incodeComponent-BENGVuhV.js} +10 -12
- package/dist/{incodeModule-DCHXAeYU.js → incodeModule-CbnJvDEH.js} +5 -5
- package/dist/index.es.js +3 -4
- package/dist/{inputComposed-CmVsaHOa.js → inputComposed-CnDzkCJv.js} +4 -4
- package/dist/{it-BXevrtHn.js → it-BWjGnNwa.js} +69 -42
- package/dist/{ja-DiTXnTx-.js → ja-B2EseKGW.js} +69 -42
- package/dist/{ja-JP-D1IRWR-p.js → ja-JP-DQjago_s.js} +69 -42
- package/dist/{jv-Us70GzGp.js → jv-CtzXD5lC.js} +69 -42
- package/dist/{ka-BSsWQ4yU.js → ka-Bssgtrd_.js} +69 -42
- package/dist/{kk-D5R6r4H7.js → kk-BHnBuK2W.js} +69 -42
- package/dist/{km-CCCb2Rnt.js → km-BIL5Ed9V.js} +73 -46
- package/dist/{ko-kQioCg2w.js → ko-CmDO-mum.js} +69 -42
- package/dist/{ko-KP-JF4khv1Y.js → ko-KP-CeSTYxel.js} +69 -42
- package/dist/{ky-CLOemVjC.js → ky-BWJyd0t2.js} +69 -42
- package/dist/kyb-checks/kyb-checks.es.js +1 -1
- package/dist/{kybChecksModule-C6Y9Hxpr.js → kybChecksModule-CJ90syjd.js} +83 -67
- package/dist/kybChecksModule-ChsvrbfT.js +2 -0
- package/dist/{lo-tzHUt1CQ.js → lo-BVvTu242.js} +69 -42
- package/dist/{lt-B2ZI-Cgu.js → lt-JwOwodX2.js} +69 -42
- package/dist/{lv-BJnxtSYw.js → lv-DSDxxJ_h.js} +69 -42
- package/dist/{mandatoryConsent-BiQuEZRu.js → mandatoryConsent-C6ZefYLC.js} +11 -11
- package/dist/{manualCaptureButton-BRSmPTeR.js → manualCaptureButton-BZ-Nv4QS.js} +4 -4
- package/dist/{manualCaptureButton-Dw0MMSkc.js → manualCaptureButton-fEvRSnUW.js} +12 -13
- package/dist/{mk-Cj7Iw2Q4.js → mk-Bwwu7fnf.js} +69 -42
- package/dist/{mn-CA_rNxtz.js → mn-BsCSafHQ.js} +69 -42
- package/dist/{ms-BydA1Zjz.js → ms-DuCxe2U9.js} +69 -42
- package/dist/{my-gFKufKaG.js → my-CflowlPp.js} +69 -42
- package/dist/{nb-NO-CDsGQbOZ.js → nb-NO-IRjagSiy.js} +69 -42
- package/dist/{ne-Cyfi0vFI.js → ne-BsajHxYU.js} +69 -42
- package/dist/{nl-e1gbmAFO.js → nl-DXpDJ6zI.js} +70 -43
- package/dist/{optionAccessibleLabel-BTUieMxH.js → optionAccessibleLabel-ItPhisCK.js} +25 -10
- package/dist/{otpInput-D3L3QhnR.js → otpInput-Cbn49SGB.js} +96 -15
- package/dist/{page-U6jZ7BBI.js → page-Bb4rrhng.js} +32 -36
- package/dist/{pageUiConfig-Qf6ItVv9.js → pageUiConfig-BkJA2XV2.js} +67 -17
- package/dist/{passport-horizontal-hint-Ddsh6fUS.js → passport-horizontal-hint-CBq1h88h.js} +1 -1
- package/dist/{passport-vertical-hint-Dukxq6-T.js → passport-vertical-hint-B6f0PLJY.js} +1 -1
- package/dist/passwordRequirements-BKSvSZxo.js +49 -0
- package/dist/{pdf-Bd5QplFS.js → pdf-D1Pr2CZ4.js} +2 -2
- package/dist/{pdfViewer-BrqSEtbr.js → pdfViewer-BSGAWeqT.js} +4 -4
- package/dist/pdfViewer-BtnBQrGk.js +2 -0
- package/dist/permissionInstructionList-B8CJCXL5.js +43 -0
- package/dist/{permissions-KUDhffd9.js → permissions-R-neqe0N.js} +61 -43
- package/dist/phone/phone.es.js +11 -11
- package/dist/{phoneInputComposed-DlJMTavK.js → phoneInputComposed-ByeX0Sic.js} +6 -6
- package/dist/{pl-BSMcCWS-.js → pl-C42whrYF.js} +69 -42
- package/dist/{preloadableLazy-C8_OYaTC.js → preloadableLazy-_lM-nglt.js} +11 -5
- package/dist/{processing-B5EH7yNg.js → processing-hHvue_ME.js} +2 -2
- package/dist/{progressBar-CSpS29pV.js → progressBar-C4iuSuxR.js} +2 -2
- package/dist/{pt-BNFC2quK.js → pt-0Jr0-Yry.js} +69 -42
- package/dist/{pt-BR-bH8DC2gH.js → pt-BR-Bn7cqcUT.js} +69 -42
- package/dist/{pt-PT-B8PXmgwU.js → pt-PT-BPEyU0ie.js} +69 -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/redirect-to-mobile/styles.css +1 -1
- package/dist/redirect-to-mobile/styles.css.js +1 -1
- package/dist/{registerIncodeElement-oiLvm6xq.js → registerIncodeElement-CMz_Vc48.js} +1 -1
- package/dist/{resendTimer-D1H3gwkI.js → resendTimer-b5wytV7b.js} +2 -2
- package/dist/{richText-sUdTiRDE.js → richText-BYXtPKpx.js} +4 -4
- package/dist/{ro-DnN8QNYa.js → ro-bHQGkUYn.js} +69 -42
- package/dist/{ru-DAwUFXHq.js → ru-BK0qvY_8.js} +70 -43
- package/dist/{ru-RU-Coxt0VCU.js → ru-RU-B7pq6WN4.js} +69 -42
- package/dist/{sanitizeSvg-OdNh1mqY.js → sanitizeSvg-C0F3d-dD.js} +1 -1
- package/dist/selfie/selfie.es.js +13 -12
- package/dist/signature/signature.es.js +10 -10
- package/dist/{sk-AB8sSlNw.js → sk-DlgcM31l.js} +71 -44
- package/dist/{sl-6Dfzfi7s.js → sl-CAV2Uwch.js} +69 -42
- package/dist/{smsTabContent-CBEKgzFv.js → smsTabContent-2rN4ryR5.js} +15 -11
- package/dist/{so-X5BdrDvV.js → so-D4WsnGaD.js} +69 -42
- package/dist/spacer-BcGAnh8E.js +1100 -0
- package/dist/spinner-DFDls7SH.js +69 -0
- package/dist/{sr-JHjMcbGs.js → sr-DeBs4kA0.js} +69 -42
- package/dist/{sr-Latn-DgT7eTG2.js → sr-Latn-ChWZo0gk.js} +73 -46
- package/dist/{sr-YU-BBhB_G63.js → sr-YU-BzgaL8Ei.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-BJspdcry.js} +69 -42
- package/dist/{sw-CN0TdnY4.js → sw-BG-JFyjf.js} +69 -42
- package/dist/{th-TH-CWr4z3JK.js → th-TH-DoZ3Rcmz.js} +69 -42
- package/dist/{th-BmFntKib.js → th-zofl9630.js} +69 -42
- package/dist/themes/dark.css +1 -1
- package/dist/themes/light.css +1 -1
- package/dist/{tl-rzkk5P_n.js → tl-C5QnY_gb.js} +69 -42
- package/dist/{tl-PH-BRIbtBRN.js → tl-PH-Bhxpk4ul.js} +69 -42
- package/dist/{tr-DKuVBwqW.js → tr-DwQl9-Ts.js} +69 -42
- package/dist/{transitionSpinner-Di0XBAix.js → transitionSpinner-2eSD88pA.js} +7 -8
- package/dist/{tutorial-C9psDR2i.js → tutorial-DnyGsQJ3.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 +8 -4
- 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/video-selfie.d.ts +1 -1
- package/dist/types/watchlist.d.ts +7 -3
- package/dist/types/workflow.d.ts +7 -3
- package/dist/{typography-CiGhKJGx.js → typography-CJF2fvfq.js} +3 -11
- package/dist/{uk-CXjqq4lX.js → uk-CG9j_fy0.js} +69 -42
- package/dist/{uk-UA-BIE9WByU.js → uk-UA-DTmaE-v5.js} +69 -42
- package/dist/{ur-vNGesC3r.js → ur-VNtbU8oD.js} +69 -42
- package/dist/{useCameraPreview-Bd7AYE9h.js → useCameraPreview-DjrzWKVS.js} +1 -1
- package/dist/{useCaptureHelpButton-Dj-jESrS.js → useCaptureHelpButton-BjfpyOzO.js} +3 -3
- package/dist/{useIsDarkTheme-Bu9CvKxW.js → useIsDarkTheme-DQk4EE9W.js} +1 -1
- package/dist/{useModuleLoader-BBCNkJmc.js → useModuleLoader-DzKhXYfC.js} +31 -18
- package/dist/{uz-Gmw1XRgv.js → uz-Bo112Gyd.js} +69 -42
- package/dist/{vendor-preact-DHGqBGMH.js → vendor-preact-D-eB0kEm.js} +129 -5
- package/dist/{verificationResult-Clxdxm_s.js → verificationResult-WmEwUUUh.js} +19 -24
- package/dist/{vi-DTxxRUw0.js → vi-B--95ytR.js} +69 -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 +33 -26
- package/dist/watchlist/watchlist.es.js +12 -10
- package/dist/{watchlistForBusiness-CpFp2EYX.js → watchlistForBusiness-DzLgyZrr.js} +34 -23
- package/dist/{withEndScreenTexts-Bd3mof3s.js → withEndScreenTexts-Dlm_g8k3.js} +51 -33
- package/dist/workflow/styles.css +1 -1
- package/dist/workflow/workflow.es.js +1 -534
- package/dist/workflow-B9tRGTLm.js +532 -0
- package/dist/{zh-DjtyfO4e.js → zh-BHKHrNVf.js} +69 -42
- package/dist/{zh-CN-aB48G_R1.js → zh-CN-B2MKijyX.js} +69 -42
- package/dist/{zh-HANT-8p8SH8C3.js → zh-HANT-azEQ9F_K.js} +69 -42
- package/dist/{zh-TW-CCsz9gKq.js → zh-TW-D_fKX8Me.js} +69 -42
- package/package.json +28 -8
- 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-F6pL6aIr.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/{defineProperty-E9wRIIo9.js → defineProperty-B4FQTz14.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-B3TEaluh.js} +0 -0
- /package/dist/{purify.es-CSPoFViI.js → purify.es-DhY3JLdI.js} +0 -0
- /package/dist/{realtimeFeedbackConfig-tBX94SOm.js → realtimeFeedbackConfig-DeZksjlR.js} +0 -0
- /package/dist/{selfieTutorial-DnsRD1Z9.js → selfieTutorial-BTewRjM5.js} +0 -0
package/dist/extensibility.es.js
CHANGED
|
@@ -1,49 +1,45 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
10
|
-
import { t as
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
import "./
|
|
14
|
-
import {
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import {
|
|
21
|
-
import { t as
|
|
22
|
-
import "./
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
25
|
-
import { t as
|
|
26
|
-
import { t as
|
|
27
|
-
import {
|
|
28
|
-
import
|
|
29
|
-
import "./
|
|
30
|
-
import { t as
|
|
31
|
-
import "./
|
|
32
|
-
import { n as
|
|
33
|
-
import "./
|
|
34
|
-
import {
|
|
35
|
-
import
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import { t as
|
|
39
|
-
import "./
|
|
40
|
-
import {
|
|
41
|
-
import { t as
|
|
42
|
-
import { t as
|
|
43
|
-
import { t as Tutorial$1 } from "./tutorial-C9psDR2i.js";
|
|
44
|
-
import { c as IdError, s as IdExpired } from "./captureFocusContext-9789qOe3.js";
|
|
45
|
-
import { t as Capture } from "./capture-0jMDSGCE.js";
|
|
46
|
-
import { t as FlipAnimation } from "./flipAnimation-8x-qdtF_.js";
|
|
1
|
+
import { d as useTranslation, i as setUiConfig } from "./devWarn-D1Ek78cG.js";
|
|
2
|
+
import { E as k, b as y, f as T, h as d, i as D, p as _, u as A, v as q, x as u } from "./vendor-preact-D-eB0kEm.js";
|
|
3
|
+
import { t as applyStudioConfig } from "./applyStudioConfig-CI-BsnUG.js";
|
|
4
|
+
import { _ as CaptureButtonIcon, a as HelpIcon, b as PrizmaButton, c as EyeIcon, d as CloseIcon, f as ChevronRightIcon, g as CheckmarkIcon, h as CheckmarkCompactIcon, i as LockIcon, l as ErrorIcon, m as ChevronDown, n as SuccessIcon, o as FileIcon, p as ChevronLeftIcon, r as SearchIcon, s as EyeOffIcon, t as LightningIcon, u as EllipseIcon, v as CameraIcon, y as CalendarIcon } from "./icons-SdRhlEsv.js";
|
|
5
|
+
import { a as AnimatedAsset, c as useAnimation, f as isActiveOverride, h as cn, i as Asset, l as useAsset, n as Title, p as Lottie, t as Spacer } from "./spacer-BcGAnh8E.js";
|
|
6
|
+
import { t as Page } from "./page-Bb4rrhng.js";
|
|
7
|
+
import { r as Modal } from "./pageUiConfig-BkJA2XV2.js";
|
|
8
|
+
import { t as ConnectionError } from "./connectionError-BkahLNGI.js";
|
|
9
|
+
import { b as useManager, y as useScreenOrientation } from "./hooks-BqVQkncd.js";
|
|
10
|
+
import { a as TypographyP, i as TypographyH5, n as TypographyH3, r as TypographyH4, t as TypographyH1 } from "./typography-CJF2fvfq.js";
|
|
11
|
+
import { t as Spinner } from "./spinner-DFDls7SH.js";
|
|
12
|
+
import "./transitionSpinner-2eSD88pA.js";
|
|
13
|
+
import { n as LandscapeBlocker, t as IncodeComponent } from "./incodeComponent-BENGVuhV.js";
|
|
14
|
+
import { t as Processing } from "./processing-hHvue_ME.js";
|
|
15
|
+
import { t as ErrorContent } from "./errorContent-B41Nj1qz.js";
|
|
16
|
+
import { t as VerificationResult } from "./verificationResult-WmEwUUUh.js";
|
|
17
|
+
import { t as Capture$1 } from "./capture-BkrTEMEe.js";
|
|
18
|
+
import { t as ProgressBar } from "./progressBar-C4iuSuxR.js";
|
|
19
|
+
import { n as Input, t as InputComposed } from "./inputComposed-CnDzkCJv.js";
|
|
20
|
+
import { t as FieldLabelHint } from "./fieldLabelHint-Djc7xmZT.js";
|
|
21
|
+
import { t as DateInputComposed } from "./dateInputComposed-DfuBg6LH.js";
|
|
22
|
+
import { t as PasswordRequirements } from "./passwordRequirements-BKSvSZxo.js";
|
|
23
|
+
import { t as OtpInput } from "./otpInput-Cbn49SGB.js";
|
|
24
|
+
import { t as Checkbox } from "./checkbox-x33wsoSj.js";
|
|
25
|
+
import { t as FormField } from "./formField-j7McuK7h.js";
|
|
26
|
+
import { i as getCountryByCode, n as countries, r as getCountryByCallingCode, t as PhoneInputComposed } from "./phoneInputComposed-ByeX0Sic.js";
|
|
27
|
+
import { t as DropdownComposed } from "./dropdownComposed-DlZ6Ga04.js";
|
|
28
|
+
import "./dropdownComposed-DOCszIPl.js";
|
|
29
|
+
import "./dateInputComposed-CdA01ZKl.js";
|
|
30
|
+
import { i as VerificationOptionCardList, n as Tutorial, r as VerificationOptionCard, t as Chooser } from "./chooser-BN9n5HDp.js";
|
|
31
|
+
import { t as BottomSheet } from "./bottomSheet-Ckz0xCnC.js";
|
|
32
|
+
import { n as CameraFrame, t as CameraView } from "./cameraView-CnIsWzFE.js";
|
|
33
|
+
import { n as CameraOverlay, t as CameraOverlayHeader } from "./cameraOverlayHeader-CDpbhCAc.js";
|
|
34
|
+
import { t as useCameraPreview } from "./useCameraPreview-DjrzWKVS.js";
|
|
35
|
+
import "./cameraOverlay-DEY4yXvj.js";
|
|
36
|
+
import { t as CaptureFooter } from "./captureFooter-CStw2uWE.js";
|
|
37
|
+
import { t as BaseTutorial } from "./baseTutorial-D-9vkH72.js";
|
|
38
|
+
import { t as Permissions } from "./permissions-R-neqe0N.js";
|
|
39
|
+
import { t as Tutorial$1 } from "./tutorial-DnyGsQJ3.js";
|
|
40
|
+
import { c as IdError, s as IdExpired } from "./captureFocusContext--U4sVQrN.js";
|
|
41
|
+
import { t as Capture } from "./capture-CZIhLzQY.js";
|
|
42
|
+
import { t as FlipAnimation } from "./flipAnimation-DaDWXMfZ.js";
|
|
47
43
|
//#region src/shared/overlay/overlay.tsx
|
|
48
44
|
var Overlay = ({ children, "aria-labelledby": ariaLabelledBy, class: className }) => {
|
|
49
45
|
return /* @__PURE__ */ u("div", {
|
|
@@ -61,6 +57,101 @@ var Overlay = ({ children, "aria-labelledby": ariaLabelledBy, class: className }
|
|
|
61
57
|
});
|
|
62
58
|
};
|
|
63
59
|
//#endregion
|
|
60
|
+
//#region src/shared/loader/loadingIcon.tsx
|
|
61
|
+
/**
|
|
62
|
+
* Duration of the CSS spin animation on `.IncodeLoadingIcon`.
|
|
63
|
+
* Must stay in sync with the `animation-duration` declared in the stylesheet.
|
|
64
|
+
*/
|
|
65
|
+
var SPIN_DURATION_MS = 1e3;
|
|
66
|
+
var SpinnerPrimary = ({ size, className }) => {
|
|
67
|
+
return /* @__PURE__ */ u("svg", {
|
|
68
|
+
width: size,
|
|
69
|
+
height: size,
|
|
70
|
+
viewBox: "0 0 31 31",
|
|
71
|
+
fill: "none",
|
|
72
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
73
|
+
class: cn("IncodeLoadingIconPrimaryIcon", className),
|
|
74
|
+
"aria-hidden": "true",
|
|
75
|
+
children: /* @__PURE__ */ u("path", { d: "M28.161 15.284c1.292 0 2.358-1.054 2.157-2.33A15 15 0 0 0 17.83.466c-1.276-.2-2.329.865-2.329 2.156s1.06 2.313 2.319 2.603a10.32 10.32 0 0 1 7.74 7.74c.29 1.259 1.31 2.319 2.602 2.319Z" })
|
|
76
|
+
});
|
|
77
|
+
};
|
|
78
|
+
var SpinnerSecondary = ({ size, className }) => {
|
|
79
|
+
return /* @__PURE__ */ u("svg", {
|
|
80
|
+
width: size,
|
|
81
|
+
height: size,
|
|
82
|
+
viewBox: "0 0 31 31",
|
|
83
|
+
fill: "none",
|
|
84
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
85
|
+
class: cn("IncodeLoadingIconSecondaryIcon", className),
|
|
86
|
+
"aria-hidden": "true",
|
|
87
|
+
children: [/* @__PURE__ */ u("title", { children: "Spinner Outer part" }), /* @__PURE__ */ u("path", { d: "M30.5 15.284c0 8.284-6.716 15-15 15s-15-6.716-15-15c0-8.285 6.716-15 15-15s15 6.715 15 15Zm-25.323 0c0 5.7 4.622 10.322 10.323 10.322s10.323-4.621 10.323-10.322S21.2 4.96 15.5 4.96 5.177 9.583 5.177 15.284Z" })]
|
|
88
|
+
});
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* Legacy loading glyph, kept only for the legacy `Button` so the SDK can roll
|
|
92
|
+
* back to it. New code uses `PrizmaLoadingSpinner` with `useLoaderOverride`.
|
|
93
|
+
*/
|
|
94
|
+
var LoadingIcon = ({ size = 30, secondaryClass, primaryClass }) => {
|
|
95
|
+
const ref = A(null);
|
|
96
|
+
const overrideRef = A(null);
|
|
97
|
+
const animation = useAnimation("loader.spinner");
|
|
98
|
+
const svg = useAsset("loader.spinner");
|
|
99
|
+
const hasAnimationOverride = isActiveOverride(animation);
|
|
100
|
+
const hasSvgOverride = isActiveOverride(svg);
|
|
101
|
+
const [overrideFailed, setOverrideFailed] = d(false);
|
|
102
|
+
const handleFallback = q(() => setOverrideFailed(true), []);
|
|
103
|
+
const hasOverride = (hasAnimationOverride || hasSvgOverride) && !overrideFailed;
|
|
104
|
+
/**
|
|
105
|
+
* Cross-module loaders (e.g. ID processing → selfie initialising) unmount
|
|
106
|
+
* and remount this component as the user moves between flow steps. By
|
|
107
|
+
* default each remount restarts the CSS spin animation from frame 0, which
|
|
108
|
+
* reads as a visible "stutter" or reset of the spinner during otherwise
|
|
109
|
+
* seamless transitions.
|
|
110
|
+
*
|
|
111
|
+
* To keep the rotation continuous across remounts we anchor the animation
|
|
112
|
+
* to a wall-clock offset: `performance.now() % SPIN_DURATION_MS` tells us
|
|
113
|
+
* how far into the current spin cycle we are, and applying it as a
|
|
114
|
+
* negative `animation-delay` makes the new instance pick up exactly where
|
|
115
|
+
* the previous one left off. (Built-in default only.)
|
|
116
|
+
*/
|
|
117
|
+
_(() => {
|
|
118
|
+
if (hasOverride || !ref.current) return;
|
|
119
|
+
const offsetMs = performance.now() % SPIN_DURATION_MS;
|
|
120
|
+
ref.current.style.animationDelay = `-${offsetMs}ms`;
|
|
121
|
+
}, [hasOverride]);
|
|
122
|
+
_(() => {
|
|
123
|
+
if (!overrideRef.current) return;
|
|
124
|
+
overrideRef.current.style.width = `${size}px`;
|
|
125
|
+
overrideRef.current.style.height = `${size}px`;
|
|
126
|
+
}, [size, hasOverride]);
|
|
127
|
+
if (hasOverride) return /* @__PURE__ */ u("div", {
|
|
128
|
+
ref: overrideRef,
|
|
129
|
+
class: "IncodeLoadingIconOverride",
|
|
130
|
+
children: hasAnimationOverride ? /* @__PURE__ */ u(AnimatedAsset, {
|
|
131
|
+
name: "loader.spinner",
|
|
132
|
+
loop: true,
|
|
133
|
+
onFallback: handleFallback
|
|
134
|
+
}) : /* @__PURE__ */ u(Asset, {
|
|
135
|
+
name: "loader.spinner",
|
|
136
|
+
onFallback: handleFallback
|
|
137
|
+
})
|
|
138
|
+
});
|
|
139
|
+
return /* @__PURE__ */ u("div", {
|
|
140
|
+
ref,
|
|
141
|
+
class: "IncodeLoadingIcon",
|
|
142
|
+
children: [/* @__PURE__ */ u(SpinnerSecondary, {
|
|
143
|
+
size,
|
|
144
|
+
className: secondaryClass
|
|
145
|
+
}), /* @__PURE__ */ u("div", {
|
|
146
|
+
class: "IncodeLoadingIconPrimary",
|
|
147
|
+
children: /* @__PURE__ */ u(SpinnerPrimary, {
|
|
148
|
+
size,
|
|
149
|
+
className: primaryClass
|
|
150
|
+
})
|
|
151
|
+
})]
|
|
152
|
+
});
|
|
153
|
+
};
|
|
154
|
+
//#endregion
|
|
64
155
|
//#region src/shared/button/button.tsx
|
|
65
156
|
var LOADER_SIZE = 30;
|
|
66
157
|
var variantClass = {
|
|
@@ -98,6 +189,42 @@ var Button = D((props, ref) => {
|
|
|
98
189
|
});
|
|
99
190
|
});
|
|
100
191
|
//#endregion
|
|
192
|
+
//#region src/shared/passwordInputComposed/passwordInputComposed.tsx
|
|
193
|
+
var PasswordInputComposed = D(({ id, value, class: className, invalid, showPasswordAriaLabel, hidePasswordAriaLabel, defaultVisible = false, requirementsHeading, requirements = [], requirementMetLabel, requirementUnmetLabel, ...restProps }, ref) => {
|
|
194
|
+
const [visible, setVisible] = d(defaultVisible);
|
|
195
|
+
const hasValue = !!(value && String(value).length > 0);
|
|
196
|
+
const allMet = requirements.every((requirement) => requirement.met);
|
|
197
|
+
const showRequirementsError = hasValue && requirements.length > 0 && !allMet;
|
|
198
|
+
return /* @__PURE__ */ u("div", {
|
|
199
|
+
class: cn("IncodePasswordInputComposed", className),
|
|
200
|
+
children: [/* @__PURE__ */ u(InputComposed, {
|
|
201
|
+
...restProps,
|
|
202
|
+
id,
|
|
203
|
+
ref,
|
|
204
|
+
value,
|
|
205
|
+
type: visible ? "text" : "password",
|
|
206
|
+
invalid: showRequirementsError || invalid,
|
|
207
|
+
rightIcon: /* @__PURE__ */ u("button", {
|
|
208
|
+
type: "button",
|
|
209
|
+
class: "IncodePasswordInputComposedToggle",
|
|
210
|
+
"aria-label": visible ? hidePasswordAriaLabel : showPasswordAriaLabel,
|
|
211
|
+
"aria-pressed": visible,
|
|
212
|
+
"aria-controls": id,
|
|
213
|
+
"data-testid": `${id}-toggle-visibility`,
|
|
214
|
+
onClick: () => setVisible((currentlyVisible) => !currentlyVisible),
|
|
215
|
+
children: visible ? /* @__PURE__ */ u(EyeOffIcon, { size: 24 }) : /* @__PURE__ */ u(EyeIcon, { size: 24 })
|
|
216
|
+
})
|
|
217
|
+
}), /* @__PURE__ */ u(PasswordRequirements, {
|
|
218
|
+
id,
|
|
219
|
+
heading: requirementsHeading,
|
|
220
|
+
requirements,
|
|
221
|
+
invalid: showRequirementsError,
|
|
222
|
+
requirementMetLabel,
|
|
223
|
+
requirementUnmetLabel
|
|
224
|
+
})]
|
|
225
|
+
});
|
|
226
|
+
});
|
|
227
|
+
//#endregion
|
|
101
228
|
//#region src/shared/segmentedDateInput/segmentedDateInput.tsx
|
|
102
229
|
/**
|
|
103
230
|
* ⚠️ EXPERIMENTAL — DO NOT USE IN FORMS.
|
|
@@ -617,6 +744,161 @@ var SegmentedDateInput = D(({ id, label, labelHint, "aria-label": ariaLabel, err
|
|
|
617
744
|
});
|
|
618
745
|
SegmentedDateInput.displayName = "SegmentedDateInput";
|
|
619
746
|
//#endregion
|
|
747
|
+
//#region src/shared/radioButtonComposed/radioButtonComposed.tsx
|
|
748
|
+
var textSizeClass = {
|
|
749
|
+
M: "IncodeRadioButtonTextM",
|
|
750
|
+
S: "IncodeRadioButtonTextS"
|
|
751
|
+
};
|
|
752
|
+
var RadioButtonComposed = D(({ id, label, labelHint, checked, defaultChecked, disabled = false, required = false, name, value, onChange, error, helper, showErrorIcon = true, textSize = "M", class: className, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, ...restProps }, ref) => {
|
|
753
|
+
const [internalChecked, setInternalChecked] = d(!!defaultChecked);
|
|
754
|
+
const isControlled = checked !== void 0;
|
|
755
|
+
const isChecked = isControlled ? !!checked : internalChecked;
|
|
756
|
+
const isDisabled = !!disabled;
|
|
757
|
+
const handleChange = (event) => {
|
|
758
|
+
if (!isControlled) setInternalChecked(event.target.checked);
|
|
759
|
+
onChange?.(event);
|
|
760
|
+
};
|
|
761
|
+
const helperTextId = helper ? `${id}-helper` : void 0;
|
|
762
|
+
const errorTextId = error ? `${id}-error` : void 0;
|
|
763
|
+
const describedBy = [
|
|
764
|
+
ariaDescribedBy,
|
|
765
|
+
errorTextId,
|
|
766
|
+
helperTextId
|
|
767
|
+
].filter(Boolean).join(" ") || void 0;
|
|
768
|
+
return /* @__PURE__ */ u("div", {
|
|
769
|
+
class: cn("IncodeRadioButton", className),
|
|
770
|
+
children: [
|
|
771
|
+
/* @__PURE__ */ u("label", {
|
|
772
|
+
class: cn("IncodeRadioButtonLabel", { IncodeRadioButtonLabelDisabled: isDisabled }),
|
|
773
|
+
htmlFor: id,
|
|
774
|
+
children: [/* @__PURE__ */ u("div", {
|
|
775
|
+
class: "IncodeRadioButtonControl",
|
|
776
|
+
children: [/* @__PURE__ */ u("input", {
|
|
777
|
+
ref,
|
|
778
|
+
type: "radio",
|
|
779
|
+
class: "IncodeRadioButtonInput",
|
|
780
|
+
id,
|
|
781
|
+
name,
|
|
782
|
+
value,
|
|
783
|
+
...isControlled ? { checked } : { defaultChecked },
|
|
784
|
+
disabled,
|
|
785
|
+
required,
|
|
786
|
+
onChange: handleChange,
|
|
787
|
+
"aria-label": ariaLabel,
|
|
788
|
+
"aria-labelledby": ariaLabelledBy,
|
|
789
|
+
"aria-describedby": describedBy,
|
|
790
|
+
...restProps
|
|
791
|
+
}), /* @__PURE__ */ u("div", {
|
|
792
|
+
class: cn("IncodeRadioButtonVisual", {
|
|
793
|
+
IncodeRadioButtonVisualChecked: isChecked,
|
|
794
|
+
IncodeRadioButtonVisualDisabled: isDisabled,
|
|
795
|
+
IncodeRadioButtonVisualError: !!error
|
|
796
|
+
}),
|
|
797
|
+
"aria-hidden": "true",
|
|
798
|
+
children: /* @__PURE__ */ u("span", { class: cn("IncodeRadioButtonDot", { IncodeRadioButtonDotVisible: isChecked }) })
|
|
799
|
+
})]
|
|
800
|
+
}), label && /* @__PURE__ */ u("span", {
|
|
801
|
+
class: cn(textSizeClass[textSize], { IncodeRadioButtonTextDisabled: isDisabled }),
|
|
802
|
+
"aria-hidden": ariaLabelledBy ? "true" : void 0,
|
|
803
|
+
children: [label, /* @__PURE__ */ u(FieldLabelHint, {
|
|
804
|
+
className: "IncodeRadioButtonLabelHint",
|
|
805
|
+
hint: labelHint,
|
|
806
|
+
required,
|
|
807
|
+
testId: `${id}-label-hint`
|
|
808
|
+
})]
|
|
809
|
+
})]
|
|
810
|
+
}),
|
|
811
|
+
error && /* @__PURE__ */ u("div", {
|
|
812
|
+
class: "IncodeRadioButtonMessageWrapper",
|
|
813
|
+
"data-testid": `${id}-error-wrapper`,
|
|
814
|
+
children: [showErrorIcon && /* @__PURE__ */ u("div", {
|
|
815
|
+
class: "IncodeRadioButtonIconWrapper",
|
|
816
|
+
children: /* @__PURE__ */ u(ErrorIcon, { size: 17 })
|
|
817
|
+
}), /* @__PURE__ */ u("p", {
|
|
818
|
+
id: errorTextId,
|
|
819
|
+
class: "IncodeRadioButtonErrorText",
|
|
820
|
+
children: error
|
|
821
|
+
})]
|
|
822
|
+
}),
|
|
823
|
+
helper && !error && /* @__PURE__ */ u("div", {
|
|
824
|
+
class: "IncodeRadioButtonMessageWrapper",
|
|
825
|
+
"data-testid": `${id}-helper-wrapper`,
|
|
826
|
+
children: /* @__PURE__ */ u("p", {
|
|
827
|
+
id: helperTextId,
|
|
828
|
+
class: "IncodeRadioButtonHelperText",
|
|
829
|
+
children: helper
|
|
830
|
+
})
|
|
831
|
+
})
|
|
832
|
+
]
|
|
833
|
+
});
|
|
834
|
+
});
|
|
835
|
+
//#endregion
|
|
836
|
+
//#region src/shared/radioGroupComposed/radioGroupComposed.tsx
|
|
837
|
+
var RadioGroupComposed = D(({ id, label, labelHint, options, value, defaultValue, error, helper, required = false, disabled = false, name, orientation = "row", onChange, onBlur, class: className, "data-testid": dataTestId }, ref) => {
|
|
838
|
+
const [internalValue, setInternalValue] = d(defaultValue ?? "");
|
|
839
|
+
const isControlled = value !== void 0;
|
|
840
|
+
const currentValue = isControlled ? value : internalValue;
|
|
841
|
+
const labelId = `${id}-label`;
|
|
842
|
+
const errorId = error ? `${id}-error` : void 0;
|
|
843
|
+
const helperId = helper && !error ? `${id}-helper` : void 0;
|
|
844
|
+
const describedBy = errorId ?? helperId;
|
|
845
|
+
const groupName = name ?? id;
|
|
846
|
+
const handleChange = (optionValue, event) => {
|
|
847
|
+
if (!isControlled) setInternalValue(optionValue);
|
|
848
|
+
onChange?.(optionValue, event);
|
|
849
|
+
};
|
|
850
|
+
return /* @__PURE__ */ u("div", {
|
|
851
|
+
ref,
|
|
852
|
+
class: cn("IncodeRadioGroupComposed", className),
|
|
853
|
+
"data-testid": dataTestId,
|
|
854
|
+
children: [
|
|
855
|
+
/* @__PURE__ */ u("span", {
|
|
856
|
+
id: labelId,
|
|
857
|
+
class: "IncodeRadioGroupComposedLabel",
|
|
858
|
+
children: [label, /* @__PURE__ */ u(FieldLabelHint, {
|
|
859
|
+
className: "IncodeRadioGroupComposedLabelHint",
|
|
860
|
+
hint: labelHint,
|
|
861
|
+
required,
|
|
862
|
+
testId: `${id}-label-hint`
|
|
863
|
+
})]
|
|
864
|
+
}),
|
|
865
|
+
/* @__PURE__ */ u("div", {
|
|
866
|
+
class: "IncodeRadioGroupComposedOptions",
|
|
867
|
+
role: "radiogroup",
|
|
868
|
+
"aria-labelledby": labelId,
|
|
869
|
+
"aria-required": required || void 0,
|
|
870
|
+
"aria-invalid": error ? true : void 0,
|
|
871
|
+
"aria-describedby": describedBy,
|
|
872
|
+
"data-orientation": orientation,
|
|
873
|
+
children: options.map((option) => /* @__PURE__ */ u(RadioButtonComposed, {
|
|
874
|
+
id: `${id}-${option.value}`,
|
|
875
|
+
name: groupName,
|
|
876
|
+
label: option.label,
|
|
877
|
+
value: option.value,
|
|
878
|
+
checked: currentValue === option.value,
|
|
879
|
+
disabled: disabled || option.disabled,
|
|
880
|
+
showErrorIcon: false,
|
|
881
|
+
"aria-invalid": error ? true : void 0,
|
|
882
|
+
"aria-describedby": describedBy,
|
|
883
|
+
onChange: (event) => handleChange(option.value, event),
|
|
884
|
+
onBlur
|
|
885
|
+
}, option.value))
|
|
886
|
+
}),
|
|
887
|
+
error && /* @__PURE__ */ u("p", {
|
|
888
|
+
id: errorId,
|
|
889
|
+
class: "IncodeRadioGroupComposedError",
|
|
890
|
+
role: "alert",
|
|
891
|
+
children: error
|
|
892
|
+
}),
|
|
893
|
+
helper && !error && /* @__PURE__ */ u("p", {
|
|
894
|
+
id: helperId,
|
|
895
|
+
class: "IncodeRadioGroupComposedHelper",
|
|
896
|
+
children: helper
|
|
897
|
+
})
|
|
898
|
+
]
|
|
899
|
+
});
|
|
900
|
+
});
|
|
901
|
+
//#endregion
|
|
620
902
|
//#region src/shared/textArea/textArea.tsx
|
|
621
903
|
var TextArea = D((props, ref) => {
|
|
622
904
|
const { class: className, rows = 4, ...restProps } = props;
|
|
@@ -745,4 +1027,4 @@ var ManualCapture = ({ stream, onCapture, disabled }) => {
|
|
|
745
1027
|
});
|
|
746
1028
|
};
|
|
747
1029
|
//#endregion
|
|
748
|
-
export { BaseTutorial, BottomSheet, Button, CalendarIcon, CameraFrame, CameraIcon, CameraOverlay, CameraOverlayHeader, CameraView, CaptureButtonIcon, CaptureFooter, Checkbox, CheckmarkCompactIcon, CheckmarkIcon, ChevronDown, ChevronLeftIcon, ChevronRightIcon, CloseIcon, ConnectionError, DateInputComposed, DropdownComposed, EllipseIcon, ErrorContent, ErrorIcon, EyeIcon, EyeOffIcon, FileIcon, FormField, HelpIcon, Capture as IdCapture, Chooser as IdChooser, IdError, IdExpired, FlipAnimation as IdFlipAnimation, Tutorial as IdTutorial, IncodeComponent, Input, InputComposed, LandscapeBlocker, LightningIcon, LockIcon, Lottie, ManualCapture, Modal, OtpInput, Overlay, Page, PasswordInputComposed, Permissions, PhoneInputComposed, Processing, ProgressBar, RadioButtonComposed, RadioGroupComposed, SearchIcon, SegmentedDateInput, Capture$1 as SelfieCapture, Tutorial$1 as SelfieTutorial, Spacer, Spinner, SuccessIcon, TextArea, TextAreaComposed, Title, TypographyH1, TypographyH3, TypographyH4, TypographyH5, TypographyP, VerificationOptionCard, VerificationOptionCardList, VerificationResult,
|
|
1030
|
+
export { BaseTutorial, BottomSheet, Button, CalendarIcon, CameraFrame, CameraIcon, CameraOverlay, CameraOverlayHeader, CameraView, CaptureButtonIcon, CaptureFooter, Checkbox, CheckmarkCompactIcon, CheckmarkIcon, ChevronDown, ChevronLeftIcon, ChevronRightIcon, CloseIcon, ConnectionError, DateInputComposed, DropdownComposed, EllipseIcon, ErrorContent, ErrorIcon, EyeIcon, EyeOffIcon, FileIcon, FormField, HelpIcon, Capture as IdCapture, Chooser as IdChooser, IdError, IdExpired, FlipAnimation as IdFlipAnimation, Tutorial as IdTutorial, IncodeComponent, Input, InputComposed, LandscapeBlocker, LightningIcon, LockIcon, Lottie, ManualCapture, Modal, OtpInput, Overlay, Page, PasswordInputComposed, Permissions, PhoneInputComposed, Processing, ProgressBar, RadioButtonComposed, RadioGroupComposed, SearchIcon, SegmentedDateInput, Capture$1 as SelfieCapture, Tutorial$1 as SelfieTutorial, Spacer, Spinner, SuccessIcon, TextArea, TextAreaComposed, Title, TypographyH1, TypographyH3, TypographyH4, TypographyH5, TypographyP, VerificationOptionCard, VerificationOptionCardList, VerificationResult, applyStudioConfig, countries, getCountryByCallingCode, getCountryByCode, setUiConfig, useManager, useScreenOrientation };
|