@incodetech/web 2.4.1 → 2.5.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES.txt +1 -4
- package/dist/{GeolocationPermissionDenied-GbB9B3J0.js → GeolocationPermissionDenied-C7oh9rAr.js} +23 -8
- package/dist/Password-CV69m5l9.js +212 -0
- package/dist/RadioGroup-DmCpmlJN.js +123 -0
- package/dist/RequiredLegend-CLQ0HX7d.js +16 -0
- package/dist/RequiredMarker-CAqxArxr.js +16 -0
- package/dist/TextField-D41q5WTe.js +166 -0
- package/dist/ae-signature/ae-signature.es.js +4 -4
- package/dist/{af-ZA-Dm5i-KRC.js → af-ZA-Bp16S_5w.js} +135 -881
- package/dist/{ageVerification-n-1fouaD.js → ageVerification-BBnJYo9K.js} +10 -8
- package/dist/{am-UBTEdpJv.js → am-CWJUWWuF.js} +135 -881
- package/dist/antifraud/antifraud.es.js +5 -4
- package/dist/applyStudioConfig-20qjppIu.js +126 -0
- package/dist/{ar-AE--KjG2EAr.js → ar-AE-O12WV51F.js} +136 -882
- package/dist/{ar-RFuhholc.js → ar-DgUYRgR_.js} +135 -881
- package/dist/{ar-EG-y8SWJjy1.js → ar-EG-C7LOd56j.js} +135 -881
- package/dist/assertClassBrand-F6pL6aIr.js +17 -0
- package/dist/authentication/authentication.es.js +9 -6
- package/dist/autoFocusTitle-C2Ro8zdn.js +19 -0
- package/dist/{az-4Z0ZZq7T.js → az-DusLpWep.js} +135 -881
- package/dist/{back-horizontal-hint-BztyPanp.js → back-horizontal-hint-Bci98ivl.js} +1 -1
- package/dist/{back-vertical-hint-BSzA4QbJ.js → back-vertical-hint-DyPCItxn.js} +1 -1
- package/dist/base.css +1 -1
- package/dist/{baseTutorial-BixkM88z.js → baseTutorial-BBwEV7AE.js} +9 -7
- package/dist/{bn-CNhjOqja.js → bn-CX4BixDE.js} +135 -881
- package/dist/{bottomSheet-B4REej8W.js → bottomSheet-DRRJstLk.js} +3 -3
- package/dist/{bs-Culcuxab.js → bs-DTnRhENx.js} +134 -880
- package/dist/{ca-h1xwo6CW.js → ca-DBI3m_a_.js} +134 -880
- package/dist/cameraOverlay-Bz9UJCHp.js +2 -0
- package/dist/{cameraOverlayHeader-D4Bjr6Fw.js → cameraOverlayHeader-VCCUFLoy.js} +9 -8
- package/dist/{cameraView-BpdAdfIK.js → cameraView-CKWEmlho.js} +13 -14
- package/dist/capture-B6vGKsRf.js +3 -0
- package/dist/capture-B_WX2h2H.js +2 -0
- package/dist/{tutorial-HfSD-QZ3.js → capture-BszIVhdg.js} +226 -82
- package/dist/capture-wy0SZwxu.js +754 -0
- package/dist/captureButtonIcon-DhTUlcGq.js +1 -0
- package/dist/captureFocusContext-OuX65pCg.js +718 -0
- package/dist/captureFooter-5KiLmkNi.js +47 -0
- package/dist/{ceb-pTDH3h1x.js → ceb-fG0bt_zV.js} +135 -881
- package/dist/certificate-issuance/certificate-issuance.es.js +68 -41
- package/dist/certificate-issuance/styles.css +1 -1
- package/dist/certificate-issuance/styles.css.js +1 -1
- package/dist/{checkbox-CALR7EFM.js → checkbox-tpW2Q3Zi.js} +4 -4
- package/dist/chooser-CqCxdQx8.js +1517 -0
- package/dist/connectionError-D67rCsgf.js +100 -0
- package/dist/consent/consent.es.js +19 -14
- package/dist/consent/styles.css +1 -1
- package/dist/consent/styles.css.js +1 -1
- package/dist/{countryDefinitions-BO9OSKQO.js → countryDefinitions-UXJ0maPk.js} +6 -0
- package/dist/{countryFlag-2Vj85OIZ.js → countryFlag-CjuXF_8C.js} +1 -1
- package/dist/{countrySelector-DKvvYxP6.js → countrySelector-mjGgTZBA.js} +6 -5
- package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -4
- package/dist/{cs-CZ-CiATe8nW.js → cs-CZ-DCggApzq.js} +134 -880
- package/dist/{cs-CrQuSSOI.js → cs-DsBY9V_4.js} +134 -880
- package/dist/curp-validation/curp-validation.es.js +97 -96
- package/dist/curp-validation/styles.css +1 -1
- package/dist/curp-validation/styles.css.js +1 -1
- package/dist/{customFields-DRwjotY-.js → customFields-COihEvWm.js} +33 -20
- package/dist/{customWatchlist-DmROVUfp.js → customWatchlist-CE5WPSMm.js} +11 -9
- package/dist/{da-DK-CgrU79mp.js → da-DK-B7LXeFYP.js} +134 -880
- package/dist/dashboardTheme-Cxl2WlSK.js +388 -0
- package/dist/{dateInputComposed-Bu7vM-M4.js → dateInputComposed-DqOzOxfP.js} +4 -5
- package/dist/dateInputComposed-kP5wiNvH.js +1 -0
- package/dist/{de-D0xnkswj.js → de-BhQ2hOut.js} +134 -880
- package/dist/denied-D4oFpTuV.js +272 -0
- package/dist/devWarn-SLn4Qexk.js +1034 -0
- package/dist/deviceWallet-CPP5AFbd.js +37 -0
- package/dist/{digitalIdRedirect-Dpv37Mbi.js → digitalIdRedirect-DqhYI_sj.js} +4 -4
- package/dist/{digitalIdUpload-DKXe-_GE.js → digitalIdUpload-p7Zcbeom.js} +37 -15
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/document-capture/styles.css +1 -1
- package/dist/document-capture/styles.css.js +1 -1
- package/dist/{documentCapture-DlBMtLvL.js → documentCapture-DXG8TB9t.js} +136 -72
- package/dist/documentCapture-DczZSZ4A.js +2 -0
- package/dist/dropdownComposed-C3uN_APy.js +1 -0
- package/dist/{dropdownComposed-B-qTBcja.js → dropdownComposed-CUBU43V3.js} +8 -6
- package/dist/dynamic-forms/dynamic-forms.es.js +62 -35
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekyb/styles.css +1 -1
- package/dist/ekyb/styles.css.js +1 -1
- package/dist/{ekybModule-qkUiNFdJ.js → ekybModule-mGfuTVTJ.js} +109 -89
- package/dist/ekybModule-xZtYttfn.js +2 -0
- 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-Cp-GdWbC.js +789 -0
- package/dist/ekycModule-DXy4cT0v.js +2 -0
- package/dist/ekycPrefillModule-BKbRJuek.js +233 -0
- package/dist/ekycPrefillModule-Cdu0zr52.js +2 -0
- package/dist/{el-B5gLXHxC.js → el-D-zg7VzS.js} +134 -880
- package/dist/{el-GR-DPUvlcvr.js → el-GR-D9eldyAW.js} +134 -880
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-Jx8qWrW-.js → electronic-signature-uWLkdb8_.js} +55 -36
- package/dist/email/email.es.js +21 -16
- package/dist/{emailInput-ClX3Lu8X.js → emailInput-Bd8XECrW.js} +23 -12
- package/dist/{en-DG-DOwBuCCl.js → en-DG-CKwP-05W.js} +135 -881
- package/dist/{en-DNuMvR7-.js → en-DY1lnV9V.js} +135 -881
- package/dist/{errorContent-B_pH1MX7.js → errorContent-CqXgrkbQ.js} +21 -20
- package/dist/errorParams-B7BZHaA4.js +37 -0
- package/dist/es-419-DCPTzJnF.js +5 -0
- package/dist/{es-DNl7ceDm.js → es-BKio8b3N.js} +135 -881
- package/dist/{es-ES-BF9vl0Um.js → es-ES-MZM-tZ4f.js} +134 -880
- package/dist/{es-MX-Brp4FXN8.js → es-MX-Bwa400AE.js} +134 -880
- package/dist/{et-D5pPP4r0.js → et-CxKV1DgL.js} +136 -882
- package/dist/expiredId-BGfpQzNG.js +67 -0
- package/dist/extensibility.es.js +382 -55
- package/dist/{fa-IR-BoyK-lax.js → fa-IR-C1bLFtOi.js} +135 -881
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/face-match/styles.css +1 -1
- package/dist/face-match/styles.css.js +1 -1
- package/dist/faceMatch-ClTodgeI.js +2 -0
- package/dist/{faceMatch-Dp1AGBtg.js → faceMatch-DpccWhgb.js} +54 -71
- package/dist/{fi-FI-mYdAUbtG.js → fi-FI-BC_3lqbM.js} +134 -880
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-CXSUE89Z.js +2 -0
- package/dist/fieldComparison-D2c7jots.js +126 -0
- package/dist/{fieldLabelHint-CxjArYkQ.js → fieldLabelHint-yMZjXK6p.js} +3 -3
- package/dist/{finalSuccessScreen-BgPVGAr4.js → finalSuccessScreen-D1AeAOtK.js} +31 -22
- package/dist/fiscal-qr/fiscal-qr.es.js +32 -26
- package/dist/flipAnimation-DwvNk514.js +46 -0
- package/dist/flipCapturedCardEligibility-C8ppBgP9.js +210 -0
- package/dist/flow/flow.es.js +315 -287
- 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-Bum3oh1A.js +49 -0
- package/dist/{fr-B4R5fgnm.js → fr-BGr4ZZSw.js} +134 -880
- package/dist/{fr-CA-DJSwRuWt.js → fr-CA-COfhYgrk.js} +134 -880
- package/dist/{front-horizontal-hint-DEHmtcdg.js → front-horizontal-hint-LxyNVfjy.js} +1 -1
- package/dist/{front-vertical-hint-Cb1NO-xT.js → front-vertical-hint-BKEg_DRs.js} +1 -1
- package/dist/geolocation/geolocation.es.js +15 -12
- package/dist/government-validation/government-validation.es.js +7 -6
- package/dist/{he-D2RDlnbd.js → he-BGdP9Cfd.js} +135 -881
- package/dist/helpButtonConfig-BFragC_J.js +24 -0
- package/dist/{hi-DFXhGN9O.js → hi-B8upUDpu.js} +135 -881
- package/dist/{hmn-BlNbfL-D.js → hmn-DOK-cZdX.js} +135 -881
- package/dist/{homeScreen-DjzxBrYL.js → homeScreen-CPaZiLqi.js} +26 -14
- package/dist/{incodeComponent-B-lwJJCV.js → hooks-C6m_ILVe.js} +256 -280
- package/dist/{hr-DArr3n62.js → hr-BjtqyvXa.js} +134 -880
- package/dist/{ht-CAd-Hmi1.js → ht-CbbFp5XL.js} +135 -881
- package/dist/{hu-CulT8eq_.js → hu-BXk1xFve.js} +135 -881
- package/dist/{icons-C2LgNjXy.js → icons-DLZTxOV2.js} +153 -80
- package/dist/id/id.es.js +167 -197
- package/dist/id/styles.css +1 -1
- package/dist/id/styles.css.js +1 -1
- package/dist/{id-D2VZL6b-.js → id-BrJu1D4k.js} +134 -880
- package/dist/{id-back-of-card-C7Au2tqk.js → id-back-of-card-BhF5T4fC.js} +1 -1
- package/dist/{id-back-of-card-vertical-CtQBFw8w.js → id-back-of-card-vertical-BudLiGPR.js} +1 -1
- package/dist/{id-front-of-card-BmHL_keG.js → id-front-of-card-CiGcJhVW.js} +1 -1
- package/dist/{id-front-of-card-vertical-DkNUn2Vx.js → id-front-of-card-vertical-C_GyecLf.js} +1 -1
- package/dist/id-selfie-flow/id-selfie-flow.es.js +13 -11
- package/dist/id-selfie-flow/styles.css +1 -1
- package/dist/id-verification/id-verification.es.js +12 -6
- package/dist/idFlipTransition-DMAbw1_Y.js +154 -0
- package/dist/{idOcr-BWG3vj8j.js → idOcr-D9zxy2eU.js} +64 -37
- package/dist/identity-reuse/identity-reuse.es.js +38 -25
- package/dist/identity-reuse/styles.css.js +1 -0
- package/dist/incodeComponent-DPY-ikO3.js +235 -0
- package/dist/incodeModule-Dyy5PfM4.js +41 -0
- package/dist/index.es.js +4 -3
- package/dist/{inputComposed-B35soRFg.js → inputComposed-BG3XgpYE.js} +4 -4
- package/dist/{it-fs9OkGbv.js → it-DI-TPE-K.js} +135 -881
- package/dist/{ja-BvKVI6Oo.js → ja-3XIFqaXu.js} +135 -881
- package/dist/{ja-JP-C5-gDGuX.js → ja-JP-BAeRWiVk.js} +136 -882
- package/dist/{jv-CyId7aPo.js → jv-BhjQxxBl.js} +134 -880
- package/dist/{ka-pqIPc2el.js → ka-Bx4-RrZ_.js} +135 -881
- package/dist/{kk-DK7mWl6k.js → kk-Ct91ZRbP.js} +134 -880
- package/dist/{km-BaJYdDrm.js → km-BWQuuNXz.js} +142 -888
- package/dist/{ko-CdYIGTH_.js → ko-Cve9iLc7.js} +135 -881
- package/dist/{ko-KP-Q3GGdDp3.js → ko-KP-0iLztCuj.js} +135 -881
- package/dist/{ky-Bc7ZXIXy.js → ky-DGt4vj88.js} +134 -880
- package/dist/kyb-checks/kyb-checks.es.js +2 -0
- package/dist/kyb-checks/styles.css +2 -0
- package/dist/kyb-checks/styles.css.js +1 -0
- package/dist/kybChecksModule-BlLRwSFe.js +2 -0
- package/dist/kybChecksModule-DmjxRBhO.js +345 -0
- package/dist/{lo-0jgAavCe.js → lo-DPvsfR2F.js} +135 -881
- package/dist/{lt-DDEjR6RD.js → lt-BMI5NrHt.js} +134 -880
- package/dist/{lv-Ddzb_N3H.js → lv-Bpw5rGRP.js} +135 -881
- package/dist/{mandatoryConsent-C21a2d2-.js → mandatoryConsent-Blhxc0KK.js} +23 -16
- package/dist/{manualCaptureButton-1KC7N_B-.js → manualCaptureButton-B1hLcNl4.js} +8 -7
- package/dist/{manualCaptureButton-C5VMDamt.js → manualCaptureButton-Cr-FQ3-N.js} +16 -12
- package/dist/{mk-SJwou4aX.js → mk-C9Z-5xUg.js} +135 -881
- package/dist/{mn-7B86xjpb.js → mn-p0zBw-tm.js} +134 -880
- package/dist/{ms-Bb-SlQCF.js → ms-CF8aT_Qq.js} +134 -880
- package/dist/{my-3ci4RJZY.js → my-CqWwTa_5.js} +135 -881
- package/dist/{nb-NO-DpZAni0R.js → nb-NO-C7Hb8Ok5.js} +134 -880
- package/dist/{ne-Dncyvxqt.js → ne-B5InVJ21.js} +135 -881
- package/dist/{nl-C1mnzCBH.js → nl-aJiBBLFg.js} +134 -880
- package/dist/{optionAccessibleLabel-DG8Lks9f.js → optionAccessibleLabel-JFrEz0Ax.js} +27 -11
- package/dist/otpInput-Bn8PHFh7.js +245 -0
- package/dist/{page-DINsqGIw.js → page-b7Hx6klV.js} +102 -79
- package/dist/{incode-logo-B1bl2S0z.js → pageUiConfig-BlsOWl2d.js} +88 -14
- package/dist/{passport-horizontal-hint-DgNc6F0-.js → passport-horizontal-hint-Bn18pckF.js} +1 -1
- package/dist/{passport-vertical-hint-B-toVsfT.js → passport-vertical-hint-D_bvTNZY.js} +1 -1
- package/dist/passwordRequirements-13qw_WSJ.js +49 -0
- package/dist/{pdf-BKHLi5Ac.js → pdf-DO_HvE8T.js} +2 -17
- package/dist/pdfViewer-BT-O-Zj1.js +2 -0
- package/dist/{pdfViewer-C8xHykz1.js → pdfViewer-D_sXx3SF.js} +11 -14
- package/dist/permissionInstructionList-CGo9uSeQ.js +43 -0
- package/dist/{permissions-B7-lHrFm.js → permissions-CS58hLHp.js} +84 -53
- package/dist/phone/phone.es.js +16 -12
- package/dist/{phoneInputComposed-Di4acsc0.js → phoneInputComposed-Dc2lHg4Z.js} +49 -12
- package/dist/{pl-CWr2fVBg.js → pl-CDmSpQ_-.js} +134 -880
- package/dist/preloadableLazy-KWGuHoqn.js +43 -0
- package/dist/{processing-z5wuXrKw.js → processing-C5A54RCC.js} +2 -2
- package/dist/{progressBar-BcKFaXZR.js → progressBar-CmkJY5xT.js} +2 -2
- package/dist/{pt-AGz2XGAK.js → pt-0SO_cPU9.js} +135 -881
- package/dist/{pt-BR-CMvTsOqE.js → pt-BR-BEfs5M8G.js} +135 -881
- package/dist/{pt-PT-KzIM0vpf.js → pt-PT-ONBmg0BR.js} +135 -881
- package/dist/qe-signature/qe-signature.es.js +4 -4
- package/dist/realtimeFeedbackConfig-DeZksjlR.js +16 -0
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +66 -62
- package/dist/redirect-to-mobile/styles.css +1 -1
- package/dist/redirect-to-mobile/styles.css.js +1 -1
- package/dist/{registerIncodeElement-D_cn4dSI.js → registerIncodeElement-FoirFu19.js} +1 -1
- package/dist/{resendTimer-On_zrMLS.js → resendTimer-B7aR2zn3.js} +2 -2
- package/dist/richText-DlHC_sMB.js +1761 -0
- package/dist/{ro-DYdJJDKn.js → ro-ChyvDsu3.js} +135 -881
- package/dist/{ru-C1cguVi2.js → ru-B_vdxKv-.js} +134 -880
- package/dist/{ru-RU-18JeDfwz.js → ru-RU-CrvUlCJj.js} +134 -880
- package/dist/{sanitizeSvg-BC-qLUgS.js → sanitizeSvg-IfqLuP1N.js} +1 -1
- package/dist/selfie/selfie.es.js +37 -14
- package/dist/selfie/styles.css +1 -1
- package/dist/selfie/styles.css.js +1 -1
- package/dist/signature/signature.es.js +18 -13
- package/dist/{sk-CtIcnYOo.js → sk-ljMYKwHQ.js} +136 -882
- package/dist/{sl-DS_Gc0Wc.js → sl-BbVJSIEt.js} +135 -881
- package/dist/{smsTabContent-vE0WyKtg.js → smsTabContent-BOIszuLx.js} +40 -27
- package/dist/{so-dqMTkg5E.js → so-DTymvbrx.js} +135 -881
- package/dist/spacer-DQdgPJjU.js +1100 -0
- package/dist/spinner-DQf6JseL.js +69 -0
- package/dist/{sr-DgHGiiWM.js → sr-JVvblELi.js} +134 -880
- package/dist/{sr-Latn-Du7_x_Tr.js → sr-Latn-9I-jEoNt.js} +142 -888
- package/dist/sr-YU-AHJXObyx.js +5 -0
- package/dist/{sv-SE-Dw61hRjx.js → sv-SE-MhrEy6Di.js} +134 -880
- package/dist/{sw-De-Jo8XY.js → sw-2Mtjggv_.js} +135 -881
- package/dist/{th-BJixOgsM.js → th-CRCVvVIy.js} +135 -881
- package/dist/{th-TH-VyhljC5U.js → th-TH-BJP2vgt1.js} +135 -881
- package/dist/themes/dark.css +1 -1
- package/dist/themes/light.css +1 -1
- package/dist/{tl-DhjdqhA4.js → tl-CI98qs3U.js} +135 -881
- package/dist/{tl-PH-D2S2Irx7.js → tl-PH-Bwmbtl_j.js} +135 -881
- package/dist/{tr-BJAuvOwN.js → tr-Bjsibm46.js} +135 -881
- package/dist/{transitionSpinner-BZO916B1.js → transitionSpinner-BTr1yrwy.js} +7 -7
- package/dist/tutorial-DO3fs1fY.js +28 -0
- package/dist/types/ae-signature.d.ts +17 -4
- package/dist/types/antifraud.d.ts +17 -4
- package/dist/types/authentication.d.ts +17 -4
- package/dist/types/certificate-issuance.d.ts +17 -4
- package/dist/types/consent.d.ts +17 -4
- package/dist/types/cross-document-data-match.d.ts +17 -4
- package/dist/types/curp-validation.d.ts +17 -4
- package/dist/types/document-capture.d.ts +17 -4
- package/dist/types/dynamic-forms.d.ts +17 -4
- package/dist/types/ekyb.d.ts +17 -4
- package/dist/types/ekyc-prefill.d.ts +213 -0
- package/dist/types/ekyc.d.ts +17 -4
- package/dist/types/electronic-signature.d.ts +17 -4
- package/dist/types/email.d.ts +17 -4
- package/dist/types/extensibility.d.ts +204 -37
- package/dist/types/face-match.d.ts +17 -4
- package/dist/types/field-comparison.d.ts +17 -4
- package/dist/types/fiscal-qr.d.ts +17 -4
- package/dist/types/flow.d.ts +38 -5
- package/dist/types/geolocation.d.ts +17 -4
- package/dist/types/government-validation.d.ts +17 -4
- package/dist/types/id-selfie-flow.d.ts +17 -4
- package/dist/types/id-verification.d.ts +17 -4
- package/dist/types/id.d.ts +17 -4
- package/dist/types/identity-reuse.d.ts +18 -5
- package/dist/types/index.d.ts +92 -10
- package/dist/types/kyb-checks.d.ts +213 -0
- package/dist/types/phone.d.ts +17 -4
- package/dist/types/qe-signature.d.ts +17 -4
- package/dist/types/redirect-to-mobile.d.ts +1 -1
- package/dist/types/selfie.d.ts +17 -4
- package/dist/types/signature.d.ts +17 -4
- package/dist/types/video-selfie.d.ts +1 -1
- package/dist/types/watchlist.d.ts +17 -4
- package/dist/types/workflow.d.ts +17 -4
- package/dist/{typography-8iwtPQbj.js → typography-CyT20XIA.js} +3 -11
- package/dist/{uk-UA-BZR90qDZ.js → uk-UA-DmKAplUk.js} +135 -881
- package/dist/{uk-CcU91ee-.js → uk-fCdIfhh5.js} +134 -880
- package/dist/{ur-CIXtUYHK.js → ur-Dh9AF1hS.js} +135 -881
- package/dist/useCameraPreview-hNLhri73.js +93 -0
- package/dist/useCaptureHelpButton-CSuQmlEp.js +43 -0
- package/dist/useIsDarkTheme-DoOFy9TN.js +27 -0
- package/dist/{useModuleLoader-BdIp6TNQ.js → useModuleLoader-BCYS1xLP.js} +31 -18
- package/dist/{uz-CeLVgwAD.js → uz-DYarfGyT.js} +135 -881
- package/dist/{vendor-preact-C0jX1Cbq.js → vendor-preact-CjnloSla.js} +147 -5
- package/dist/{verificationResult-C2gxbmAo.js → verificationResult-C8jlwbOw.js} +30 -27
- package/dist/{vi-CgfGVVLY.js → vi-uK03Bfuc.js} +135 -881
- package/dist/video-selfie/styles.css +1 -1
- package/dist/video-selfie/styles.css.js +1 -1
- package/dist/video-selfie/video-selfie.es.js +120 -77
- package/dist/watchlist/watchlist.es.js +12 -9
- package/dist/{watchlistForBusiness-eOPtmu7z.js → watchlistForBusiness-DjSYKjVv.js} +63 -22
- package/dist/{withEndScreenTexts-aFUEeBgM.js → withEndScreenTexts-TlaaD6Qn.js} +253 -55
- package/dist/workflow/styles.css +1 -1
- package/dist/workflow/workflow.es.js +36 -28
- package/dist/{zh-CN-BOxod1_T.js → zh-CN-BkQoAg2R.js} +136 -882
- package/dist/{zh-HANT-zAahQ8nP.js → zh-HANT-DRh68ryN.js} +135 -881
- package/dist/{zh-B-kjeCig.js → zh-JlU3mjl9.js} +134 -880
- package/dist/{zh-TW-B0v7GYYG.js → zh-TW-ByGAHrvB.js} +135 -881
- package/package.json +48 -12
- package/dist/autoFocusTitle-Cy0J3lvr.js +0 -32
- package/dist/browser-ponyfill-DT11p-Ob.js +0 -441
- package/dist/cameraOverlay-DQEG24io.js +0 -2
- package/dist/check-icon-BpjpKqhJ.js +0 -48
- package/dist/connectionError-Cf6iGFyx.js +0 -45
- package/dist/dashboardTheme-CkyISqIs.js +0 -247
- package/dist/dateInputComposed-cgZGBSiu.js +0 -1
- package/dist/denied-ByGDWkTW.js +0 -1871
- package/dist/deviceWallet-C4UT05wN.js +0 -66
- package/dist/documentCapture-Dh1ftzGG.js +0 -2
- package/dist/dropdownComposed-DmT4s8VM.js +0 -1
- package/dist/ekybModule-BHInfPHS.js +0 -2
- package/dist/ekycModule-B2cfT3zi.js +0 -2
- package/dist/ekycModule-BQPl1KQT.js +0 -300
- package/dist/es-419-BU7r2Fvh.js +0 -3193
- package/dist/esm-15CISqPe.js +0 -430
- package/dist/expiredId-GIHjGAuY.js +0 -80
- package/dist/faceMatch-bXhejzhf.js +0 -2
- package/dist/fieldComparison-BirXQb7f.js +0 -2
- package/dist/fieldComparison-D8PL0eR1.js +0 -109
- package/dist/flipAnimation-BgMPQ8Ma.js +0 -3048
- package/dist/formField-0k8wVfXl.js +0 -60
- package/dist/incodeModule-DiVtqekm.js +0 -68
- package/dist/inputComposed-CKujYUSB.js +0 -1
- package/dist/numberedStep-CvbL3ht2.js +0 -13
- package/dist/otpInput-_B7xEZUU.js +0 -157
- package/dist/passwordInputComposed-B3WKjODU.js +0 -74
- package/dist/pdfViewer-DcB41xr7.js +0 -2
- package/dist/radioGroupComposed-CIbHjX4v.js +0 -160
- package/dist/radioGroupComposed-eXNWg1ez.js +0 -1
- package/dist/reload-icon-elAFo9-k.js +0 -70
- package/dist/richText-aCnLd3j2.js +0 -1549
- package/dist/spacer-lcnhSC-5.js +0 -741
- package/dist/spinner-B8BswhBb.js +0 -88
- package/dist/sr-YU-YuZu7wdb.js +0 -3197
- package/dist/statusPage-WIsGgf_m.js +0 -36
- package/dist/uiConfig-CwGL3QjP.js +0 -2589
- package/dist/useCaptureHelpButton-BTUZs3Ev.js +0 -86
- package/dist/useCoverMedia-VLw3OYN_.js +0 -149
- /package/dist/{aligndevicelottie-BARt-rhe.js → aligndevicelottie-BEKzL4SB.js} +0 -0
- /package/dist/{back-tutorial-CZrMmj1_.js → back-tutorial-B9W63fa-.js} +0 -0
- /package/dist/{backdevicelottie-CIM3ekd8.js → backdevicelottie-DsN8QBV3.js} +0 -0
- /package/dist/{blurdevicelottie-BRyXfLB6.js → blurdevicelottie-DkV7Kwo4.js} +0 -0
- /package/dist/{defineProperty-CjeJoXkx.js → defineProperty-B4FQTz14.js} +0 -0
- /package/dist/{flip-animation-BU5LNKYx.js → flip-animation-DJVnWWL5.js} +0 -0
- /package/dist/{frontdevicelottie-arpyu_Fz.js → frontdevicelottie-DiW1Wmya.js} +0 -0
- /package/dist/{glaredevicelottie-TwTFxe7h.js → glaredevicelottie-CK-fnX_s.js} +0 -0
- /package/dist/{id-laser-h-Dr-hBxrq.js → id-laser-h-6Am_cjM8.js} +0 -0
- /package/dist/{id-laser-v-D_r0QNY8.js → id-laser-v-DXoF3flH.js} +0 -0
- /package/dist/{id-tutorial-DM9Pkfs-.js → id-tutorial-DkKH3eTE.js} +0 -0
- /package/dist/{lottie_light-aMg9Q9iO.js → lottie_light-Bam05Bc9.js} +0 -0
- /package/dist/{passport-tutorial-CKZZuDf_.js → passport-tutorial-D3Fpk-Tj.js} +0 -0
- /package/dist/{pdf.worker.min-BM1b2w9V.js → pdf.worker.min-D0hm-8jN.js} +0 -0
- /package/dist/{policyUrls-B3M8nLRh.js → policyUrls-B3TEaluh.js} +0 -0
- /package/dist/{purify.es-0fCPkEV1.js → purify.es-DhY3JLdI.js} +0 -0
- /package/dist/{selfieTutorial-Dz6lDFMn.js → selfieTutorial-DnsRD1Z9.js} +0 -0
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { o as useTranslation } from "./uiConfig-CwGL3QjP.js";
|
|
2
|
-
import { v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import { t as InputComposed } from "./inputComposed-B35soRFg.js";
|
|
4
|
-
//#region src/shared/errorParams.ts
|
|
5
|
-
/**
|
|
6
|
-
* Resolves error params by translating the `fieldName` key
|
|
7
|
-
* when it holds an i18n key rather than a display string.
|
|
8
|
-
* Dot-separated strings are treated as i18n keys; plain strings
|
|
9
|
-
* (e.g. "CPF") are used as-is.
|
|
10
|
-
*/
|
|
11
|
-
function resolveErrorParams(t, params) {
|
|
12
|
-
if (params?.fieldName && typeof params.fieldName === "string") {
|
|
13
|
-
const name = String(params.fieldName);
|
|
14
|
-
const resolved = name.includes(".") ? t(name) : name;
|
|
15
|
-
return {
|
|
16
|
-
...params,
|
|
17
|
-
fieldName: resolved
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
return params;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Translates an error key with resolved params.
|
|
24
|
-
* Returns `undefined` when there is no error.
|
|
25
|
-
*/
|
|
26
|
-
function translateError(t, error, params) {
|
|
27
|
-
if (!error) return void 0;
|
|
28
|
-
return t(error, resolveErrorParams(t, params));
|
|
29
|
-
}
|
|
30
|
-
//#endregion
|
|
31
|
-
//#region src/shared/formField/formField.tsx
|
|
32
|
-
var FormField = ({ name, label, displayLabel: displayLabelProp, value = "", error, errorParams, type = "text", placeholder, placeholderParams, required, readonly, maxLength, disabled, autoComplete, labelHint, onChange, onBlur }) => {
|
|
33
|
-
const { t } = useTranslation();
|
|
34
|
-
return /* @__PURE__ */ u("div", {
|
|
35
|
-
className: "IncodeFormField",
|
|
36
|
-
children: /* @__PURE__ */ u(InputComposed, {
|
|
37
|
-
id: name,
|
|
38
|
-
label: displayLabelProp ?? t(label),
|
|
39
|
-
labelHint,
|
|
40
|
-
name,
|
|
41
|
-
type,
|
|
42
|
-
autoComplete,
|
|
43
|
-
value,
|
|
44
|
-
placeholder: placeholder ? t(placeholder, placeholderParams) : void 0,
|
|
45
|
-
readOnly: readonly,
|
|
46
|
-
disabled,
|
|
47
|
-
required,
|
|
48
|
-
maxLength,
|
|
49
|
-
error: translateError(t, error, errorParams),
|
|
50
|
-
onInput: (e) => {
|
|
51
|
-
const target = e.target;
|
|
52
|
-
onChange(name, target.value);
|
|
53
|
-
},
|
|
54
|
-
onBlur: onBlur ? () => onBlur(name) : void 0,
|
|
55
|
-
"data-testid": `form-field-${name}`
|
|
56
|
-
})
|
|
57
|
-
});
|
|
58
|
-
};
|
|
59
|
-
//#endregion
|
|
60
|
-
export { translateError as n, FormField as t };
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { c as A, d as _, f as d, h as q, u as T, x as _$1 } from "./vendor-preact-C0jX1Cbq.js";
|
|
2
|
-
import { l as InstanceOverridesProvider } from "./spacer-lcnhSC-5.js";
|
|
3
|
-
import { a as ModuleCancelProvider } from "./page-DINsqGIw.js";
|
|
4
|
-
import { t as registerIncodeElement } from "./registerIncodeElement-D_cn4dSI.js";
|
|
5
|
-
//#region src/shared/webComponent/useModuleCancel.ts
|
|
6
|
-
var USER_CANCELLED = "USER_CANCELLED";
|
|
7
|
-
/**
|
|
8
|
-
* Quit handling for a module root: stop rendering the module (its managers
|
|
9
|
-
* release the camera on unmount), then tell the host once.
|
|
10
|
-
*/
|
|
11
|
-
function useModuleCancel(onError) {
|
|
12
|
-
const [cancelled, setCancelled] = d(false);
|
|
13
|
-
const mounted = A(false);
|
|
14
|
-
const onErrorRef = A(onError);
|
|
15
|
-
onErrorRef.current = onError;
|
|
16
|
-
_(() => {
|
|
17
|
-
mounted.current = true;
|
|
18
|
-
return () => {
|
|
19
|
-
mounted.current = false;
|
|
20
|
-
};
|
|
21
|
-
}, []);
|
|
22
|
-
_(() => {
|
|
23
|
-
if (!cancelled) return;
|
|
24
|
-
queueMicrotask(() => {
|
|
25
|
-
if (mounted.current) onErrorRef.current?.(void 0, void 0, USER_CANCELLED);
|
|
26
|
-
});
|
|
27
|
-
}, [cancelled]);
|
|
28
|
-
return {
|
|
29
|
-
cancelled,
|
|
30
|
-
requestCancel: q(() => setCancelled(true), [])
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
//#endregion
|
|
34
|
-
//#region src/shared/webComponent/incodeModule.ts
|
|
35
|
-
var incodeModulePropKeys = [
|
|
36
|
-
"config",
|
|
37
|
-
"manager",
|
|
38
|
-
"onFinish",
|
|
39
|
-
"onError"
|
|
40
|
-
];
|
|
41
|
-
function withInstanceOverrides(component) {
|
|
42
|
-
return function WithInstanceOverrides(props) {
|
|
43
|
-
const assets = props.config?.assets;
|
|
44
|
-
const animations = props.config?.animations;
|
|
45
|
-
const spinner = props.config?.spinner;
|
|
46
|
-
const disableUnsupportedBrowserScreen = props.config?.disableUnsupportedBrowserScreen;
|
|
47
|
-
const overrides = T(() => ({
|
|
48
|
-
assets,
|
|
49
|
-
animations,
|
|
50
|
-
spinner,
|
|
51
|
-
disableUnsupportedBrowserScreen
|
|
52
|
-
}), [
|
|
53
|
-
assets,
|
|
54
|
-
animations,
|
|
55
|
-
spinner,
|
|
56
|
-
disableUnsupportedBrowserScreen
|
|
57
|
-
]);
|
|
58
|
-
const { cancelled, requestCancel } = useModuleCancel(props.onError);
|
|
59
|
-
const moduleCancel = T(() => ({ requestCancel }), [requestCancel]);
|
|
60
|
-
if (cancelled) return null;
|
|
61
|
-
return _$1(InstanceOverridesProvider, { value: overrides }, _$1(ModuleCancelProvider, { value: moduleCancel }, _$1(component, props)));
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
function registerIncodeModuleElement(component, tagName) {
|
|
65
|
-
registerIncodeElement(withInstanceOverrides(component), tagName, incodeModulePropKeys);
|
|
66
|
-
}
|
|
67
|
-
//#endregion
|
|
68
|
-
export { registerIncodeModuleElement as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./inputComposed-B35soRFg.js";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
2
|
-
//#region src/shared/permissions/camera/numberedStep.tsx
|
|
3
|
-
var NumberedStep = ({ number }) => {
|
|
4
|
-
return /* @__PURE__ */ u("div", {
|
|
5
|
-
class: "IncodeNumberedStep",
|
|
6
|
-
children: /* @__PURE__ */ u("span", {
|
|
7
|
-
class: "IncodeNumberedStepText",
|
|
8
|
-
children: number
|
|
9
|
-
})
|
|
10
|
-
});
|
|
11
|
-
};
|
|
12
|
-
//#endregion
|
|
13
|
-
export { NumberedStep as t };
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
import { o as useTranslation } from "./uiConfig-CwGL3QjP.js";
|
|
2
|
-
import { _ as y, c as A, h as q, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import { t as Spacer } from "./spacer-lcnhSC-5.js";
|
|
4
|
-
import { x as Button } from "./icons-C2LgNjXy.js";
|
|
5
|
-
import { t as InputComposed } from "./inputComposed-B35soRFg.js";
|
|
6
|
-
import "./inputComposed-CKujYUSB.js";
|
|
7
|
-
import { n as useResendTimerAnnouncements, t as formatResendTimer } from "./resendTimer-On_zrMLS.js";
|
|
8
|
-
//#region src/shared/otpInput/otpInput.tsx
|
|
9
|
-
var normalizeOtp = (value, maxLength) => {
|
|
10
|
-
return value.replace(/[^a-zA-Z0-9]/g, "").toUpperCase().slice(0, maxLength);
|
|
11
|
-
};
|
|
12
|
-
var OtpInput = ({ value, otpLength, resendTimer, canResend, error, validationError, isValid = true, onSubmit, onChange, onValidate, onResend, onBack, backLinkText = "otp.changePhoneNumber", disabled = false, isLoading = false }) => {
|
|
13
|
-
const { t } = useTranslation();
|
|
14
|
-
const inputRef = A(null);
|
|
15
|
-
const prevCodeLengthRef = A(value.length);
|
|
16
|
-
const lastSubmittedCodeRef = A(null);
|
|
17
|
-
const liveRef = useResendTimerAnnouncements({
|
|
18
|
-
canResend,
|
|
19
|
-
resendTimer
|
|
20
|
-
});
|
|
21
|
-
y(() => {
|
|
22
|
-
if (error) {
|
|
23
|
-
lastSubmittedCodeRef.current = null;
|
|
24
|
-
setTimeout(() => {
|
|
25
|
-
inputRef.current?.focus();
|
|
26
|
-
}, 0);
|
|
27
|
-
}
|
|
28
|
-
}, [error]);
|
|
29
|
-
const submitCode = q((rawCode) => {
|
|
30
|
-
const normalized = normalizeOtp(rawCode, otpLength);
|
|
31
|
-
if (normalized.length !== otpLength || isLoading) return;
|
|
32
|
-
if (lastSubmittedCodeRef.current === normalized) return;
|
|
33
|
-
lastSubmittedCodeRef.current = normalized;
|
|
34
|
-
onSubmit(normalized);
|
|
35
|
-
}, [
|
|
36
|
-
isLoading,
|
|
37
|
-
onSubmit,
|
|
38
|
-
otpLength
|
|
39
|
-
]);
|
|
40
|
-
y(() => {
|
|
41
|
-
const reachedMax = value.length === otpLength && prevCodeLengthRef.current < otpLength;
|
|
42
|
-
prevCodeLengthRef.current = value.length;
|
|
43
|
-
if (reachedMax) submitCode(value);
|
|
44
|
-
}, [
|
|
45
|
-
value,
|
|
46
|
-
otpLength,
|
|
47
|
-
submitCode
|
|
48
|
-
]);
|
|
49
|
-
const handleChange = (e) => {
|
|
50
|
-
const target = e.target;
|
|
51
|
-
onChange(normalizeOtp(target.value, otpLength));
|
|
52
|
-
};
|
|
53
|
-
const handlePaste = (e) => {
|
|
54
|
-
e.preventDefault();
|
|
55
|
-
const normalized = normalizeOtp(e.clipboardData?.getData("text") || "", otpLength);
|
|
56
|
-
if (normalized) onChange(normalized);
|
|
57
|
-
};
|
|
58
|
-
const handleSubmitClick = () => {
|
|
59
|
-
if (value.length < otpLength) {
|
|
60
|
-
onValidate?.();
|
|
61
|
-
inputRef.current?.focus();
|
|
62
|
-
return;
|
|
63
|
-
}
|
|
64
|
-
submitCode(value);
|
|
65
|
-
};
|
|
66
|
-
const displayedError = error ?? validationError;
|
|
67
|
-
const renderActions = () => {
|
|
68
|
-
if (!canResend && resendTimer > 0) return /* @__PURE__ */ u("div", {
|
|
69
|
-
class: "IncodeOtpInputActions",
|
|
70
|
-
"data-testid": "otp-timer",
|
|
71
|
-
children: /* @__PURE__ */ u(Button, {
|
|
72
|
-
variant: "link",
|
|
73
|
-
disabled: true,
|
|
74
|
-
children: t("otp.resendCountdown", { time: formatResendTimer(resendTimer) })
|
|
75
|
-
})
|
|
76
|
-
});
|
|
77
|
-
const handleResend = () => {
|
|
78
|
-
lastSubmittedCodeRef.current = null;
|
|
79
|
-
onChange("");
|
|
80
|
-
onResend();
|
|
81
|
-
};
|
|
82
|
-
const handleBack = () => {
|
|
83
|
-
lastSubmittedCodeRef.current = null;
|
|
84
|
-
onChange("");
|
|
85
|
-
onBack();
|
|
86
|
-
};
|
|
87
|
-
return /* @__PURE__ */ u("div", {
|
|
88
|
-
class: "IncodeOtpInputActions",
|
|
89
|
-
children: /* @__PURE__ */ u("p", {
|
|
90
|
-
class: `IncodeOtpInputResendText ${disabled ? "IncodeOtpInputResendTextDisabled" : ""}`,
|
|
91
|
-
"data-testid": "otp-resend-section",
|
|
92
|
-
children: [
|
|
93
|
-
t("otp.didYouNotGetIt"),
|
|
94
|
-
/* @__PURE__ */ u(Button, {
|
|
95
|
-
variant: "link",
|
|
96
|
-
size: "inline",
|
|
97
|
-
onClick: handleResend,
|
|
98
|
-
disabled: disabled || !canResend,
|
|
99
|
-
"data-testid": "otp-resend",
|
|
100
|
-
children: t("otp.resendCode")
|
|
101
|
-
}),
|
|
102
|
-
` ${t("otp.or")} `,
|
|
103
|
-
/* @__PURE__ */ u(Button, {
|
|
104
|
-
variant: "link",
|
|
105
|
-
size: "inline",
|
|
106
|
-
onClick: handleBack,
|
|
107
|
-
disabled,
|
|
108
|
-
"data-testid": "otp-back",
|
|
109
|
-
children: t(backLinkText)
|
|
110
|
-
})
|
|
111
|
-
]
|
|
112
|
-
})
|
|
113
|
-
});
|
|
114
|
-
};
|
|
115
|
-
return /* @__PURE__ */ u("div", {
|
|
116
|
-
class: `IncodeOtpInput IncodeOtpInputComposed`,
|
|
117
|
-
children: [
|
|
118
|
-
/* @__PURE__ */ u("div", {
|
|
119
|
-
ref: liveRef,
|
|
120
|
-
class: "IncodeSrOnly",
|
|
121
|
-
"aria-live": "polite",
|
|
122
|
-
"aria-atomic": "true"
|
|
123
|
-
}),
|
|
124
|
-
/* @__PURE__ */ u(InputComposed, {
|
|
125
|
-
id: "otp-code",
|
|
126
|
-
type: "text",
|
|
127
|
-
inputMode: "text",
|
|
128
|
-
ref: inputRef,
|
|
129
|
-
maxLength: otpLength,
|
|
130
|
-
value,
|
|
131
|
-
error: displayedError,
|
|
132
|
-
onInput: handleChange,
|
|
133
|
-
onBlur: onValidate,
|
|
134
|
-
onPaste: handlePaste,
|
|
135
|
-
disabled: disabled || isLoading,
|
|
136
|
-
required: true,
|
|
137
|
-
autocomplete: "one-time-code",
|
|
138
|
-
"data-testid": "otp-input-0",
|
|
139
|
-
"aria-label": t("otp.verificationCode"),
|
|
140
|
-
class: "IncodeOtpSingleInput",
|
|
141
|
-
showErrorIcon: true
|
|
142
|
-
}),
|
|
143
|
-
/* @__PURE__ */ u(Spacer, {}),
|
|
144
|
-
/* @__PURE__ */ u(Button, {
|
|
145
|
-
onClick: handleSubmitClick,
|
|
146
|
-
disabled: disabled || isLoading || !isValid,
|
|
147
|
-
isLoading,
|
|
148
|
-
"data-testid": "otp-submit",
|
|
149
|
-
children: t("common.continue")
|
|
150
|
-
}),
|
|
151
|
-
/* @__PURE__ */ u(Spacer, { size: 12 }),
|
|
152
|
-
renderActions()
|
|
153
|
-
]
|
|
154
|
-
});
|
|
155
|
-
};
|
|
156
|
-
//#endregion
|
|
157
|
-
export { OtpInput as t };
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { f as d, i as D, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
2
|
-
import { d as cn } from "./spacer-lcnhSC-5.js";
|
|
3
|
-
import { b as ErrorIcon, c as EyeOffIcon, l as EyeIcon, r as SuccessIcon, u as EllipseIcon } from "./icons-C2LgNjXy.js";
|
|
4
|
-
import { t as InputComposed } from "./inputComposed-B35soRFg.js";
|
|
5
|
-
import "./inputComposed-CKujYUSB.js";
|
|
6
|
-
//#region src/shared/passwordInputComposed/passwordInputComposed.tsx
|
|
7
|
-
var PasswordInputComposed = D(({ id, value, class: className, invalid, showPasswordAriaLabel, hidePasswordAriaLabel, defaultVisible = false, requirementsHeading, requirements = [], requirementMetLabel, requirementUnmetLabel, ...restProps }, ref) => {
|
|
8
|
-
const [visible, setVisible] = d(defaultVisible);
|
|
9
|
-
const hasValue = !!(value && String(value).length > 0);
|
|
10
|
-
const allMet = requirements.every((requirement) => requirement.met);
|
|
11
|
-
const showRequirementsError = hasValue && requirements.length > 0 && !allMet;
|
|
12
|
-
const requirementsHeadingId = `${id}-requirements-heading`;
|
|
13
|
-
return /* @__PURE__ */ u("div", {
|
|
14
|
-
class: cn("IncodePasswordInputComposed", className),
|
|
15
|
-
children: [/* @__PURE__ */ u(InputComposed, {
|
|
16
|
-
...restProps,
|
|
17
|
-
id,
|
|
18
|
-
ref,
|
|
19
|
-
value,
|
|
20
|
-
type: visible ? "text" : "password",
|
|
21
|
-
invalid: showRequirementsError || invalid,
|
|
22
|
-
rightIcon: /* @__PURE__ */ u("button", {
|
|
23
|
-
type: "button",
|
|
24
|
-
class: "IncodePasswordInputComposedToggle",
|
|
25
|
-
"aria-label": visible ? hidePasswordAriaLabel : showPasswordAriaLabel,
|
|
26
|
-
"aria-pressed": visible,
|
|
27
|
-
"aria-controls": id,
|
|
28
|
-
"data-testid": `${id}-toggle-visibility`,
|
|
29
|
-
onClick: () => setVisible((currentlyVisible) => !currentlyVisible),
|
|
30
|
-
children: visible ? /* @__PURE__ */ u(EyeOffIcon, { size: 24 }) : /* @__PURE__ */ u(EyeIcon, { size: 24 })
|
|
31
|
-
})
|
|
32
|
-
}), requirements.length > 0 && /* @__PURE__ */ u("div", {
|
|
33
|
-
class: "IncodePasswordInputComposedRequirements",
|
|
34
|
-
children: [requirementsHeading && /* @__PURE__ */ u("p", {
|
|
35
|
-
id: requirementsHeadingId,
|
|
36
|
-
class: "IncodePasswordInputComposedRequirementsHeading",
|
|
37
|
-
"data-invalid": showRequirementsError,
|
|
38
|
-
"data-testid": requirementsHeadingId,
|
|
39
|
-
children: [showRequirementsError && /* @__PURE__ */ u("span", {
|
|
40
|
-
class: "IncodePasswordInputComposedRequirementsHeadingIcon",
|
|
41
|
-
"aria-hidden": "true",
|
|
42
|
-
children: /* @__PURE__ */ u(ErrorIcon, { size: 16 })
|
|
43
|
-
}), requirementsHeading]
|
|
44
|
-
}), /* @__PURE__ */ u("ul", {
|
|
45
|
-
class: "IncodePasswordInputComposedRequirementsList",
|
|
46
|
-
"aria-live": "polite",
|
|
47
|
-
"aria-labelledby": requirementsHeading ? requirementsHeadingId : void 0,
|
|
48
|
-
"data-testid": `${id}-requirements`,
|
|
49
|
-
children: requirements.map(({ key, label, met }) => /* @__PURE__ */ u("li", {
|
|
50
|
-
class: "IncodePasswordInputComposedRequirement",
|
|
51
|
-
"data-met": met,
|
|
52
|
-
"data-testid": `${id}-requirement-${key}`,
|
|
53
|
-
children: [
|
|
54
|
-
/* @__PURE__ */ u("span", {
|
|
55
|
-
"aria-hidden": "true",
|
|
56
|
-
class: "IncodePasswordInputComposedRequirementIcon",
|
|
57
|
-
children: met ? /* @__PURE__ */ u(SuccessIcon, { size: 16 }) : /* @__PURE__ */ u(EllipseIcon, { size: 16 })
|
|
58
|
-
}),
|
|
59
|
-
/* @__PURE__ */ u("span", {
|
|
60
|
-
class: "IncodePasswordInputComposedRequirementLabel",
|
|
61
|
-
children: label
|
|
62
|
-
}),
|
|
63
|
-
(requirementMetLabel || requirementUnmetLabel) && /* @__PURE__ */ u("span", {
|
|
64
|
-
class: "IncodeSrOnly",
|
|
65
|
-
children: met ? requirementMetLabel : requirementUnmetLabel
|
|
66
|
-
})
|
|
67
|
-
]
|
|
68
|
-
}, key))
|
|
69
|
-
})]
|
|
70
|
-
})]
|
|
71
|
-
});
|
|
72
|
-
});
|
|
73
|
-
//#endregion
|
|
74
|
-
export { PasswordInputComposed as t };
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
import { f as d, i as D, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
2
|
-
import { d as cn } from "./spacer-lcnhSC-5.js";
|
|
3
|
-
import { b as ErrorIcon } from "./icons-C2LgNjXy.js";
|
|
4
|
-
import { t as FieldLabelHint } from "./fieldLabelHint-CxjArYkQ.js";
|
|
5
|
-
//#region src/shared/radioButtonComposed/radioButtonComposed.tsx
|
|
6
|
-
var textSizeClass = {
|
|
7
|
-
M: "IncodeRadioButtonTextM",
|
|
8
|
-
S: "IncodeRadioButtonTextS"
|
|
9
|
-
};
|
|
10
|
-
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) => {
|
|
11
|
-
const [internalChecked, setInternalChecked] = d(!!defaultChecked);
|
|
12
|
-
const isControlled = checked !== void 0;
|
|
13
|
-
const isChecked = isControlled ? !!checked : internalChecked;
|
|
14
|
-
const isDisabled = !!disabled;
|
|
15
|
-
const handleChange = (event) => {
|
|
16
|
-
if (!isControlled) setInternalChecked(event.target.checked);
|
|
17
|
-
onChange?.(event);
|
|
18
|
-
};
|
|
19
|
-
const helperTextId = helper ? `${id}-helper` : void 0;
|
|
20
|
-
const errorTextId = error ? `${id}-error` : void 0;
|
|
21
|
-
const describedBy = [
|
|
22
|
-
ariaDescribedBy,
|
|
23
|
-
errorTextId,
|
|
24
|
-
helperTextId
|
|
25
|
-
].filter(Boolean).join(" ") || void 0;
|
|
26
|
-
return /* @__PURE__ */ u("div", {
|
|
27
|
-
class: cn("IncodeRadioButton", className),
|
|
28
|
-
children: [
|
|
29
|
-
/* @__PURE__ */ u("label", {
|
|
30
|
-
class: cn("IncodeRadioButtonLabel", { IncodeRadioButtonLabelDisabled: isDisabled }),
|
|
31
|
-
htmlFor: id,
|
|
32
|
-
children: [/* @__PURE__ */ u("div", {
|
|
33
|
-
class: "IncodeRadioButtonControl",
|
|
34
|
-
children: [/* @__PURE__ */ u("input", {
|
|
35
|
-
ref,
|
|
36
|
-
type: "radio",
|
|
37
|
-
class: "IncodeRadioButtonInput",
|
|
38
|
-
id,
|
|
39
|
-
name,
|
|
40
|
-
value,
|
|
41
|
-
...isControlled ? { checked } : { defaultChecked },
|
|
42
|
-
disabled,
|
|
43
|
-
required,
|
|
44
|
-
onChange: handleChange,
|
|
45
|
-
"aria-label": ariaLabel,
|
|
46
|
-
"aria-labelledby": ariaLabelledBy,
|
|
47
|
-
"aria-describedby": describedBy,
|
|
48
|
-
...restProps
|
|
49
|
-
}), /* @__PURE__ */ u("div", {
|
|
50
|
-
class: cn("IncodeRadioButtonVisual", {
|
|
51
|
-
IncodeRadioButtonVisualChecked: isChecked,
|
|
52
|
-
IncodeRadioButtonVisualDisabled: isDisabled,
|
|
53
|
-
IncodeRadioButtonVisualError: !!error
|
|
54
|
-
}),
|
|
55
|
-
"aria-hidden": "true",
|
|
56
|
-
children: /* @__PURE__ */ u("span", { class: cn("IncodeRadioButtonDot", { IncodeRadioButtonDotVisible: isChecked }) })
|
|
57
|
-
})]
|
|
58
|
-
}), label && /* @__PURE__ */ u("span", {
|
|
59
|
-
class: cn(textSizeClass[textSize], { IncodeRadioButtonTextDisabled: isDisabled }),
|
|
60
|
-
"aria-hidden": ariaLabelledBy ? "true" : void 0,
|
|
61
|
-
children: [label, /* @__PURE__ */ u(FieldLabelHint, {
|
|
62
|
-
className: "IncodeRadioButtonLabelHint",
|
|
63
|
-
hint: labelHint,
|
|
64
|
-
required,
|
|
65
|
-
testId: `${id}-label-hint`
|
|
66
|
-
})]
|
|
67
|
-
})]
|
|
68
|
-
}),
|
|
69
|
-
error && /* @__PURE__ */ u("div", {
|
|
70
|
-
class: "IncodeRadioButtonMessageWrapper",
|
|
71
|
-
"data-testid": `${id}-error-wrapper`,
|
|
72
|
-
children: [showErrorIcon && /* @__PURE__ */ u("div", {
|
|
73
|
-
class: "IncodeRadioButtonIconWrapper",
|
|
74
|
-
children: /* @__PURE__ */ u(ErrorIcon, { size: 17 })
|
|
75
|
-
}), /* @__PURE__ */ u("p", {
|
|
76
|
-
id: errorTextId,
|
|
77
|
-
class: "IncodeRadioButtonErrorText",
|
|
78
|
-
children: error
|
|
79
|
-
})]
|
|
80
|
-
}),
|
|
81
|
-
helper && !error && /* @__PURE__ */ u("div", {
|
|
82
|
-
class: "IncodeRadioButtonMessageWrapper",
|
|
83
|
-
"data-testid": `${id}-helper-wrapper`,
|
|
84
|
-
children: /* @__PURE__ */ u("p", {
|
|
85
|
-
id: helperTextId,
|
|
86
|
-
class: "IncodeRadioButtonHelperText",
|
|
87
|
-
children: helper
|
|
88
|
-
})
|
|
89
|
-
})
|
|
90
|
-
]
|
|
91
|
-
});
|
|
92
|
-
});
|
|
93
|
-
//#endregion
|
|
94
|
-
//#region src/shared/radioGroupComposed/radioGroupComposed.tsx
|
|
95
|
-
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) => {
|
|
96
|
-
const [internalValue, setInternalValue] = d(defaultValue ?? "");
|
|
97
|
-
const isControlled = value !== void 0;
|
|
98
|
-
const currentValue = isControlled ? value : internalValue;
|
|
99
|
-
const labelId = `${id}-label`;
|
|
100
|
-
const errorId = error ? `${id}-error` : void 0;
|
|
101
|
-
const helperId = helper && !error ? `${id}-helper` : void 0;
|
|
102
|
-
const describedBy = errorId ?? helperId;
|
|
103
|
-
const groupName = name ?? id;
|
|
104
|
-
const handleChange = (optionValue, event) => {
|
|
105
|
-
if (!isControlled) setInternalValue(optionValue);
|
|
106
|
-
onChange?.(optionValue, event);
|
|
107
|
-
};
|
|
108
|
-
return /* @__PURE__ */ u("div", {
|
|
109
|
-
ref,
|
|
110
|
-
class: cn("IncodeRadioGroupComposed", className),
|
|
111
|
-
"data-testid": dataTestId,
|
|
112
|
-
children: [
|
|
113
|
-
/* @__PURE__ */ u("span", {
|
|
114
|
-
id: labelId,
|
|
115
|
-
class: "IncodeRadioGroupComposedLabel",
|
|
116
|
-
children: [label, /* @__PURE__ */ u(FieldLabelHint, {
|
|
117
|
-
className: "IncodeRadioGroupComposedLabelHint",
|
|
118
|
-
hint: labelHint,
|
|
119
|
-
required,
|
|
120
|
-
testId: `${id}-label-hint`
|
|
121
|
-
})]
|
|
122
|
-
}),
|
|
123
|
-
/* @__PURE__ */ u("div", {
|
|
124
|
-
class: "IncodeRadioGroupComposedOptions",
|
|
125
|
-
role: "radiogroup",
|
|
126
|
-
"aria-labelledby": labelId,
|
|
127
|
-
"aria-required": required || void 0,
|
|
128
|
-
"aria-invalid": error ? true : void 0,
|
|
129
|
-
"aria-describedby": describedBy,
|
|
130
|
-
"data-orientation": orientation,
|
|
131
|
-
children: options.map((option) => /* @__PURE__ */ u(RadioButtonComposed, {
|
|
132
|
-
id: `${id}-${option.value}`,
|
|
133
|
-
name: groupName,
|
|
134
|
-
label: option.label,
|
|
135
|
-
value: option.value,
|
|
136
|
-
checked: currentValue === option.value,
|
|
137
|
-
disabled: disabled || option.disabled,
|
|
138
|
-
showErrorIcon: false,
|
|
139
|
-
"aria-invalid": error ? true : void 0,
|
|
140
|
-
"aria-describedby": describedBy,
|
|
141
|
-
onChange: (event) => handleChange(option.value, event),
|
|
142
|
-
onBlur
|
|
143
|
-
}, option.value))
|
|
144
|
-
}),
|
|
145
|
-
error && /* @__PURE__ */ u("p", {
|
|
146
|
-
id: errorId,
|
|
147
|
-
class: "IncodeRadioGroupComposedError",
|
|
148
|
-
role: "alert",
|
|
149
|
-
children: error
|
|
150
|
-
}),
|
|
151
|
-
helper && !error && /* @__PURE__ */ u("p", {
|
|
152
|
-
id: helperId,
|
|
153
|
-
class: "IncodeRadioGroupComposedHelper",
|
|
154
|
-
children: helper
|
|
155
|
-
})
|
|
156
|
-
]
|
|
157
|
-
});
|
|
158
|
-
});
|
|
159
|
-
//#endregion
|
|
160
|
-
export { RadioButtonComposed as n, RadioGroupComposed as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./radioGroupComposed-CIbHjX4v.js";
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
2
|
-
//#region src/shared/permissions/assets/check-v2-icon.svg?react
|
|
3
|
-
var SvgCheckV2Icon = (props) => /* @__PURE__ */ u("svg", {
|
|
4
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
-
width: 24,
|
|
6
|
-
height: 24,
|
|
7
|
-
fill: "none",
|
|
8
|
-
viewBox: "0 0 24 24",
|
|
9
|
-
...props,
|
|
10
|
-
children: [
|
|
11
|
-
/* @__PURE__ */ u("path", {
|
|
12
|
-
fill: "currentColor",
|
|
13
|
-
fillRule: "evenodd",
|
|
14
|
-
d: "m18.229 10.358-1.073 1.757a.75.75 0 0 1-.647.356.8.8 0 0 1-.381-.1l-1.817-1.027a.706.706 0 0 1-.266-.986.767.767 0 0 1 1.028-.255l.26.147A3.73 3.73 0 0 0 12 8.208c-1.216 0-2.355.573-3.047 1.533a.77.77 0 0 1-1.043.183.7.7 0 0 1-.19-1.003c.972-1.348 2.572-2.153 4.28-2.153 2.146 0 4.005 1.287 4.792 3.097l.144-.235a.764.764 0 0 1 1.026-.257.704.704 0 0 1 .267.985m-1.95 4.24c-.972 1.35-2.571 2.155-4.28 2.155-2.149 0-4.008-1.286-4.794-3.094l-.142.232a.77.77 0 0 1-1.026.256.703.703 0 0 1-.267-.984l1.073-1.757a.75.75 0 0 1 .458-.333.78.78 0 0 1 .57.076l1.817 1.028a.705.705 0 0 1 .266.986.77.77 0 0 1-1.028.255l-.266-.15a3.73 3.73 0 0 0 3.339 2.045c1.215 0 2.355-.573 3.045-1.533a.77.77 0 0 1 1.044-.183.7.7 0 0 1 .191 1.002M15.974 2.64H8.027C4.721 2.64 2.5 4.678 2.5 7.71v8.101c0 3.032 2.221 5.069 5.527 5.069h7.947c3.306 0 5.526-2.037 5.526-5.069V7.71c0-3.032-2.22-5.07-5.526-5.07",
|
|
15
|
-
clipRule: "evenodd"
|
|
16
|
-
}),
|
|
17
|
-
/* @__PURE__ */ u("path", {
|
|
18
|
-
fill: "currentColor",
|
|
19
|
-
d: "M4 6h16v12H4z"
|
|
20
|
-
}),
|
|
21
|
-
/* @__PURE__ */ u("path", {
|
|
22
|
-
fill: "#fff",
|
|
23
|
-
d: "M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5m-1 7.5L8.5 12l.705-.705L11 13.085l3.795-3.795.705.71z"
|
|
24
|
-
})
|
|
25
|
-
]
|
|
26
|
-
});
|
|
27
|
-
//#endregion
|
|
28
|
-
//#region src/shared/permissions/assets/person-card-icon.svg?react
|
|
29
|
-
var SvgPersonCardIcon = (props) => /* @__PURE__ */ u("svg", {
|
|
30
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
31
|
-
width: 24,
|
|
32
|
-
height: 24,
|
|
33
|
-
fill: "none",
|
|
34
|
-
viewBox: "0 0 24 24",
|
|
35
|
-
...props,
|
|
36
|
-
children: [
|
|
37
|
-
/* @__PURE__ */ u("path", {
|
|
38
|
-
fill: "currentColor",
|
|
39
|
-
fillRule: "evenodd",
|
|
40
|
-
d: "m18.229 10.358-1.073 1.757a.75.75 0 0 1-.647.356.8.8 0 0 1-.381-.1l-1.817-1.027a.706.706 0 0 1-.266-.986.767.767 0 0 1 1.028-.255l.26.147A3.73 3.73 0 0 0 12 8.208c-1.216 0-2.355.573-3.047 1.533a.77.77 0 0 1-1.043.183.7.7 0 0 1-.19-1.003c.972-1.348 2.572-2.153 4.28-2.153 2.146 0 4.005 1.287 4.792 3.097l.144-.235a.764.764 0 0 1 1.026-.257.704.704 0 0 1 .267.985m-1.95 4.24c-.972 1.35-2.571 2.155-4.28 2.155-2.149 0-4.008-1.286-4.794-3.094l-.142.232a.77.77 0 0 1-1.026.256.703.703 0 0 1-.267-.984l1.073-1.757a.75.75 0 0 1 .458-.333.78.78 0 0 1 .57.076l1.817 1.028a.705.705 0 0 1 .266.986.77.77 0 0 1-1.028.255l-.266-.15a3.73 3.73 0 0 0 3.339 2.045c1.215 0 2.355-.573 3.045-1.533a.77.77 0 0 1 1.044-.183.7.7 0 0 1 .191 1.002M15.974 2.64H8.027C4.721 2.64 2.5 4.678 2.5 7.71v8.101c0 3.032 2.221 5.069 5.527 5.069h7.947c3.306 0 5.526-2.037 5.526-5.069V7.71c0-3.032-2.22-5.07-5.526-5.07",
|
|
41
|
-
clipRule: "evenodd"
|
|
42
|
-
}),
|
|
43
|
-
/* @__PURE__ */ u("path", {
|
|
44
|
-
fill: "currentColor",
|
|
45
|
-
d: "M4 6h16v12H4z"
|
|
46
|
-
}),
|
|
47
|
-
/* @__PURE__ */ u("path", {
|
|
48
|
-
fill: "#fff",
|
|
49
|
-
d: "M16.868 7.133H7.801c-.625 0-1.133.509-1.133 1.134v6.8c0 .625.508 1.133 1.133 1.133h9.067c.625 0 1.133-.508 1.133-1.133v-6.8c0-.625-.508-1.134-1.133-1.134M10.473 9.4c.652 0 1.133.481 1.133 1.133s-.48 1.134-1.133 1.134c-.652 0-1.133-.482-1.133-1.134S9.82 9.4 10.473 9.4m2.105 4.533h-4.21v-.263c0-.778.95-1.578 2.105-1.578s2.105.8 2.105 1.578zm3.723-.566h-2.266v-1.134H16.3zm0-2.267h-2.833V9.967h2.833z"
|
|
50
|
-
})
|
|
51
|
-
]
|
|
52
|
-
});
|
|
53
|
-
//#endregion
|
|
54
|
-
//#region src/shared/permissions/assets/reload-icon.svg?react
|
|
55
|
-
var SvgReloadIcon = (props) => /* @__PURE__ */ u("svg", {
|
|
56
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
57
|
-
width: 24,
|
|
58
|
-
height: 24,
|
|
59
|
-
fill: "none",
|
|
60
|
-
viewBox: "0 0 24 24",
|
|
61
|
-
...props,
|
|
62
|
-
children: /* @__PURE__ */ u("path", {
|
|
63
|
-
fill: "currentColor",
|
|
64
|
-
fillRule: "evenodd",
|
|
65
|
-
d: "m18.229 10.358-1.073 1.757a.75.75 0 0 1-.647.356.8.8 0 0 1-.381-.1l-1.817-1.027a.706.706 0 0 1-.266-.986.767.767 0 0 1 1.028-.255l.26.147A3.73 3.73 0 0 0 12 8.208c-1.216 0-2.355.573-3.047 1.533a.77.77 0 0 1-1.043.183.7.7 0 0 1-.19-1.003c.972-1.348 2.572-2.153 4.28-2.153 2.146 0 4.005 1.287 4.792 3.097l.144-.235a.764.764 0 0 1 1.026-.257.704.704 0 0 1 .267.985m-1.95 4.24c-.972 1.35-2.571 2.155-4.28 2.155-2.149 0-4.008-1.286-4.794-3.094l-.142.232a.77.77 0 0 1-1.026.256.703.703 0 0 1-.267-.984l1.073-1.757a.75.75 0 0 1 .458-.333.78.78 0 0 1 .57.076l1.817 1.028a.705.705 0 0 1 .266.986.77.77 0 0 1-1.028.255l-.266-.15a3.73 3.73 0 0 0 3.339 2.045c1.215 0 2.355-.573 3.045-1.533a.77.77 0 0 1 1.044-.183.7.7 0 0 1 .191 1.002M15.974 2.64H8.027C4.721 2.64 2.5 4.678 2.5 7.71v8.101c0 3.032 2.221 5.069 5.527 5.069h7.947c3.306 0 5.526-2.037 5.526-5.069V7.71c0-3.032-2.22-5.07-5.526-5.07",
|
|
66
|
-
clipRule: "evenodd"
|
|
67
|
-
})
|
|
68
|
-
});
|
|
69
|
-
//#endregion
|
|
70
|
-
export { SvgPersonCardIcon as n, SvgCheckV2Icon as r, SvgReloadIcon as t };
|