@incodetech/web 2.4.1 → 2.5.0-rc.0
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-DRRBxdLP.js} +23 -8
- package/dist/Password-CY3Tv_5W.js +212 -0
- package/dist/RadioGroup-CnxMGtas.js +123 -0
- package/dist/RequiredLegend-CLQ0HX7d.js +16 -0
- package/dist/RequiredMarker-CAqxArxr.js +16 -0
- package/dist/TextField-MsdsbAbT.js +166 -0
- package/dist/ae-signature/ae-signature.es.js +4 -4
- package/dist/{af-ZA-Dm5i-KRC.js → af-ZA-CtJyXRHO.js} +129 -881
- package/dist/{ageVerification-n-1fouaD.js → ageVerification-C6fgHkhK.js} +10 -8
- package/dist/{am-UBTEdpJv.js → am-BvQDMy8e.js} +129 -881
- package/dist/antifraud/antifraud.es.js +5 -4
- package/dist/applyStudioConfig-DO18I6Cf.js +126 -0
- package/dist/{ar-AE--KjG2EAr.js → ar-AE-CmS-eCPq.js} +129 -881
- package/dist/{ar-RFuhholc.js → ar-Bpe0wGYL.js} +129 -881
- package/dist/{ar-EG-y8SWJjy1.js → ar-EG-DaxpzWwx.js} +129 -881
- package/dist/assertClassBrand-F6pL6aIr.js +17 -0
- package/dist/authentication/authentication.es.js +9 -6
- package/dist/autoFocusTitle-D_vDhPqZ.js +19 -0
- package/dist/{az-4Z0ZZq7T.js → az-zSRFEU_F.js} +129 -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-Bktx_Yrr.js} +9 -7
- package/dist/{bn-CNhjOqja.js → bn-BrITyCOh.js} +129 -881
- package/dist/{bottomSheet-B4REej8W.js → bottomSheet-CzU1QNua.js} +3 -3
- package/dist/{bs-Culcuxab.js → bs-rdaEnpNo.js} +128 -880
- package/dist/{ca-h1xwo6CW.js → ca-BEtpN_ag.js} +128 -880
- package/dist/cameraOverlay-D6NPWfIT.js +2 -0
- package/dist/{cameraOverlayHeader-D4Bjr6Fw.js → cameraOverlayHeader-DZHCfN1x.js} +9 -8
- package/dist/{cameraView-BpdAdfIK.js → cameraView-CYd-_y_r.js} +13 -14
- package/dist/capture-BBQJgktJ.js +2 -0
- package/dist/{tutorial-HfSD-QZ3.js → capture-BstPDTgL.js} +226 -82
- package/dist/capture-CkvbPbJK.js +754 -0
- package/dist/capture-DiJGnu9z.js +3 -0
- package/dist/captureButtonIcon-DhTUlcGq.js +1 -0
- package/dist/captureFocusContext-FsGun4Yd.js +718 -0
- package/dist/captureFooter-BLJ1Qvov.js +47 -0
- package/dist/{ceb-pTDH3h1x.js → ceb-D5rPC9mY.js} +129 -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-HfnbGBMk.js} +4 -4
- package/dist/chooser-Dm0wohHb.js +1517 -0
- package/dist/connectionError-BFVvBEMq.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-CEJAgeRY.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-BEprNqLt.js} +128 -880
- package/dist/{cs-CrQuSSOI.js → cs-D_U436l9.js} +128 -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-DqebmaL5.js} +33 -20
- package/dist/{customWatchlist-DmROVUfp.js → customWatchlist-DVSMbzw5.js} +11 -9
- package/dist/{da-DK-CgrU79mp.js → da-DK-dMikXCNn.js} +128 -880
- package/dist/dashboardTheme-CB91NoiD.js +388 -0
- package/dist/{dateInputComposed-Bu7vM-M4.js → dateInputComposed-CVJ4LSep.js} +4 -5
- package/dist/dateInputComposed-DF0Dx86l.js +1 -0
- package/dist/{de-D0xnkswj.js → de-C3c7Bo-M.js} +128 -880
- package/dist/denied-BR9pZqKi.js +272 -0
- package/dist/devWarn-CXWsIkak.js +1034 -0
- package/dist/deviceWallet-DDHk7jBw.js +37 -0
- package/dist/{digitalIdRedirect-Dpv37Mbi.js → digitalIdRedirect-DKJgITR_.js} +4 -4
- package/dist/{digitalIdUpload-DKXe-_GE.js → digitalIdUpload-BgG6svjJ.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-Cu3F_ka7.js} +136 -72
- package/dist/documentCapture-owKpu8oI.js +2 -0
- package/dist/{dropdownComposed-B-qTBcja.js → dropdownComposed-BJCNWDGU.js} +8 -6
- package/dist/dropdownComposed-zidm_XVK.js +1 -0
- 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-Qc_5cB3W.js +2 -0
- package/dist/{ekybModule-qkUiNFdJ.js → ekybModule-tV6tUWe_.js} +109 -89
- 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-BgB_xu54.js +789 -0
- package/dist/ekycModule-DZ7yboJO.js +2 -0
- package/dist/ekycPrefillModule-B0cJJiuu.js +2 -0
- package/dist/ekycPrefillModule-B1xn0veW.js +233 -0
- package/dist/{el-GR-DPUvlcvr.js → el-GR-eG5AImZr.js} +128 -880
- package/dist/{el-B5gLXHxC.js → el-LOaoXfUU.js} +129 -881
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-Jx8qWrW-.js → electronic-signature-BleJ65-Y.js} +55 -36
- package/dist/email/email.es.js +21 -16
- package/dist/{emailInput-ClX3Lu8X.js → emailInput-BVx96bJy.js} +23 -12
- package/dist/{en-DNuMvR7-.js → en-B_-7--AN.js} +129 -881
- package/dist/{en-DG-DOwBuCCl.js → en-DG-BDnlBAUl.js} +129 -881
- package/dist/{errorContent-B_pH1MX7.js → errorContent-x8IajOaE.js} +21 -20
- package/dist/errorParams-B68-Euu2.js +37 -0
- package/dist/es-419-DS4mN2d_.js +5 -0
- package/dist/{es-ES-BF9vl0Um.js → es-ES-BMafdM90.js} +128 -880
- package/dist/{es-MX-Brp4FXN8.js → es-MX-DqhG7Zy7.js} +128 -880
- package/dist/{es-DNl7ceDm.js → es-T4K5G5zB.js} +129 -881
- package/dist/{et-D5pPP4r0.js → et-fBoHBc5h.js} +129 -881
- package/dist/expiredId-Q5ITzZU-.js +67 -0
- package/dist/extensibility.es.js +382 -55
- package/dist/{fa-IR-BoyK-lax.js → fa-IR--PnMtKvC.js} +129 -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-Dp1AGBtg.js → faceMatch-D-ehWIdN.js} +54 -71
- package/dist/faceMatch-RxP2VPBm.js +2 -0
- package/dist/{fi-FI-mYdAUbtG.js → fi-FI-D-T9bf67.js} +128 -880
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-BhYiGx0t.js +2 -0
- package/dist/fieldComparison-c3xT3K4C.js +126 -0
- package/dist/{fieldLabelHint-CxjArYkQ.js → fieldLabelHint-yMZjXK6p.js} +3 -3
- package/dist/{finalSuccessScreen-BgPVGAr4.js → finalSuccessScreen-CDr8bsI6.js} +31 -22
- package/dist/fiscal-qr/fiscal-qr.es.js +32 -26
- package/dist/flipAnimation-C95PZFAJ.js +46 -0
- package/dist/flipCapturedCardEligibility-CcB0uVfH.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-Ba8BQ_l8.js +49 -0
- package/dist/{fr-B4R5fgnm.js → fr-BlNTqS4_.js} +128 -880
- package/dist/{fr-CA-DJSwRuWt.js → fr-CA-DBO_1sfd.js} +128 -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-C-PnifVg.js} +129 -881
- package/dist/helpButtonConfig-BFragC_J.js +24 -0
- package/dist/{hi-DFXhGN9O.js → hi-mETIwcDe.js} +129 -881
- package/dist/{hmn-BlNbfL-D.js → hmn-BZabGetu.js} +129 -881
- package/dist/{homeScreen-DjzxBrYL.js → homeScreen-CcRzcWya.js} +26 -14
- package/dist/{incodeComponent-B-lwJJCV.js → hooks-nmwpawA2.js} +256 -280
- package/dist/{hr-DArr3n62.js → hr-DzkTH3cj.js} +128 -880
- package/dist/{ht-CAd-Hmi1.js → ht-D5zV7ROu.js} +129 -881
- package/dist/{hu-CulT8eq_.js → hu-CeHrYR4q.js} +130 -882
- 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-B_qFrh_W.js} +129 -881
- 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-DuwSIp-D.js +154 -0
- package/dist/{idOcr-BWG3vj8j.js → idOcr-DatcQrFh.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-DFue7FgD.js +235 -0
- package/dist/incodeModule-BWSWx6zz.js +41 -0
- package/dist/index.es.js +4 -3
- package/dist/{inputComposed-B35soRFg.js → inputComposed-6M3lOVUo.js} +4 -4
- package/dist/{it-fs9OkGbv.js → it-CwzQoTtJ.js} +130 -882
- package/dist/{ja-JP-C5-gDGuX.js → ja-JP-Cg6pV7OS.js} +130 -882
- package/dist/{ja-BvKVI6Oo.js → ja-eNtdzeB5.js} +129 -881
- package/dist/{jv-CyId7aPo.js → jv-BANHtRb4.js} +128 -880
- package/dist/{ka-pqIPc2el.js → ka-DWhlum5Q.js} +129 -881
- package/dist/{kk-DK7mWl6k.js → kk-CAsKyYR9.js} +128 -880
- package/dist/{km-BaJYdDrm.js → km-DJHdr0lO.js} +137 -889
- package/dist/{ko-CdYIGTH_.js → ko-BAPbgx_r.js} +129 -881
- package/dist/{ko-KP-Q3GGdDp3.js → ko-KP-BRD8crfV.js} +129 -881
- package/dist/{ky-Bc7ZXIXy.js → ky-0IKHwWw_.js} +128 -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-CWFpU32e.js +345 -0
- package/dist/kybChecksModule-D3u3hdUP.js +2 -0
- package/dist/{lo-0jgAavCe.js → lo-DkBffqOP.js} +129 -881
- package/dist/{lt-DDEjR6RD.js → lt-Btf5JQPU.js} +129 -881
- package/dist/{lv-Ddzb_N3H.js → lv-DMnPY0bZ.js} +129 -881
- package/dist/{mandatoryConsent-C21a2d2-.js → mandatoryConsent-Ci6fJR2F.js} +23 -16
- package/dist/{manualCaptureButton-1KC7N_B-.js → manualCaptureButton-DrdeVhq8.js} +8 -7
- package/dist/{manualCaptureButton-C5VMDamt.js → manualCaptureButton-ZxWHf5Sa.js} +16 -12
- package/dist/{mk-SJwou4aX.js → mk-CQIDbtM2.js} +129 -881
- package/dist/{mn-7B86xjpb.js → mn-Cc1HnwyR.js} +128 -880
- package/dist/{ms-Bb-SlQCF.js → ms-CORA9eaw.js} +128 -880
- package/dist/{my-3ci4RJZY.js → my-CNDvlF-Z.js} +129 -881
- package/dist/{nb-NO-DpZAni0R.js → nb-NO-BwZ27fuH.js} +128 -880
- package/dist/{ne-Dncyvxqt.js → ne-D7rkhft1.js} +129 -881
- package/dist/{nl-C1mnzCBH.js → nl-DsxNMb79.js} +129 -881
- package/dist/{optionAccessibleLabel-DG8Lks9f.js → optionAccessibleLabel-Cz2x8Q7x.js} +27 -11
- package/dist/otpInput-B2fLiJsF.js +245 -0
- package/dist/{page-DINsqGIw.js → page-B0CjRMtF.js} +102 -79
- package/dist/{incode-logo-B1bl2S0z.js → pageUiConfig-mKn_YhhU.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-CCHNUl5h.js +2 -0
- package/dist/{pdfViewer-C8xHykz1.js → pdfViewer-pgBIY_Q7.js} +11 -14
- package/dist/permissionInstructionList-DPDqNKFJ.js +43 -0
- package/dist/{permissions-B7-lHrFm.js → permissions-CKjgrM7q.js} +84 -53
- package/dist/phone/phone.es.js +16 -12
- package/dist/{phoneInputComposed-Di4acsc0.js → phoneInputComposed-BbZuW8Q8.js} +49 -12
- package/dist/{pl-CWr2fVBg.js → pl-DOgi6huc.js} +128 -880
- package/dist/preloadableLazy-KWGuHoqn.js +43 -0
- package/dist/{processing-z5wuXrKw.js → processing-v4EkL9-U.js} +2 -2
- package/dist/{progressBar-BcKFaXZR.js → progressBar-D-kfX8X1.js} +2 -2
- package/dist/{pt-BR-CMvTsOqE.js → pt-BR-x__xGSN_.js} +129 -881
- package/dist/{pt-AGz2XGAK.js → pt-CX0ngiGh.js} +129 -881
- package/dist/{pt-PT-KzIM0vpf.js → pt-PT-BKwyOX-W.js} +129 -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-DHgQUcAi.js} +2 -2
- package/dist/richText-DlHC_sMB.js +1761 -0
- package/dist/{ro-DYdJJDKn.js → ro-DGB5aI9B.js} +129 -881
- package/dist/{ru-C1cguVi2.js → ru-Dnl6YnE6.js} +129 -881
- package/dist/{ru-RU-18JeDfwz.js → ru-RU-BM5Leyxp.js} +128 -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-B4HQZzV6.js} +131 -883
- package/dist/{sl-DS_Gc0Wc.js → sl-ClgVmZ1h.js} +129 -881
- package/dist/{smsTabContent-vE0WyKtg.js → smsTabContent-D9Eb005G.js} +40 -27
- package/dist/{so-dqMTkg5E.js → so-BLFIV5-m.js} +129 -881
- package/dist/spacer-D5j2phXI.js +1100 -0
- package/dist/spinner-BeYdZjPC.js +69 -0
- package/dist/{sr-DgHGiiWM.js → sr-CkSmwRiY.js} +128 -880
- package/dist/{sr-Latn-Du7_x_Tr.js → sr-Latn-BdLB-I3Z.js} +136 -888
- package/dist/sr-YU-DJ3geBJs.js +5 -0
- package/dist/{sv-SE-Dw61hRjx.js → sv-SE-DEfqYDzZ.js} +128 -880
- package/dist/{sw-De-Jo8XY.js → sw-16U52YpC.js} +129 -881
- package/dist/{th-BJixOgsM.js → th-Cg0hYujg.js} +129 -881
- package/dist/{th-TH-VyhljC5U.js → th-TH-BBPg926O.js} +129 -881
- package/dist/themes/dark.css +1 -1
- package/dist/themes/light.css +1 -1
- package/dist/{tl-PH-D2S2Irx7.js → tl-PH-DSHq83jb.js} +129 -881
- package/dist/{tl-DhjdqhA4.js → tl-SL2bqb6j.js} +129 -881
- package/dist/{tr-BJAuvOwN.js → tr-DclJKp5i.js} +130 -882
- package/dist/{transitionSpinner-BZO916B1.js → transitionSpinner-b8SMrhfd.js} +7 -7
- package/dist/tutorial-0IhGg6rb.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-D3swFCxZ.js} +3 -11
- package/dist/{uk-CcU91ee-.js → uk-CfFK_Tnk.js} +128 -880
- package/dist/{uk-UA-BZR90qDZ.js → uk-UA-vkh8X4bX.js} +129 -881
- package/dist/{ur-CIXtUYHK.js → ur-32a-9tt8.js} +129 -881
- package/dist/useCameraPreview-hNLhri73.js +93 -0
- package/dist/useCaptureHelpButton-BJQvSkuJ.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-BEx-De8I.js} +129 -881
- package/dist/{vendor-preact-C0jX1Cbq.js → vendor-preact-CjnloSla.js} +147 -5
- package/dist/{verificationResult-C2gxbmAo.js → verificationResult-tHoFvrGZ.js} +30 -27
- package/dist/{vi-CgfGVVLY.js → vi-CMQXfqfw.js} +129 -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-CbRaBYoJ.js} +63 -22
- package/dist/{withEndScreenTexts-aFUEeBgM.js → withEndScreenTexts-10ck20tq.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-BelxA_Rf.js} +128 -880
- package/dist/{zh-HANT-zAahQ8nP.js → zh-HANT-DsztptZA.js} +129 -881
- package/dist/{zh-TW-B0v7GYYG.js → zh-TW-DKQC3FXd.js} +129 -881
- package/dist/{zh-B-kjeCig.js → zh-v3x4XYal.js} +128 -880
- 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,24 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as Spacer } from "../spacer-
|
|
5
|
-
import { t as
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import "../
|
|
12
|
-
import { t as
|
|
13
|
-
import "../
|
|
14
|
-
import
|
|
1
|
+
import { u as useTranslation } from "../devWarn-CXWsIkak.js";
|
|
2
|
+
import { x as u } from "../vendor-preact-CjnloSla.js";
|
|
3
|
+
import { b as PrizmaButton } from "../icons-DLZTxOV2.js";
|
|
4
|
+
import { t as Spacer } from "../spacer-D5j2phXI.js";
|
|
5
|
+
import { t as PrizmaTextField } from "../TextField-MsdsbAbT.js";
|
|
6
|
+
import { t as Page } from "../page-B0CjRMtF.js";
|
|
7
|
+
import { _ as useModuleTerminalCallbacks, t as withStandaloneModuleBootstrap, y as useManager } from "../hooks-nmwpawA2.js";
|
|
8
|
+
import { t as TransitionSpinner } from "../transitionSpinner-b8SMrhfd.js";
|
|
9
|
+
import { t as IncodeComponent } from "../incodeComponent-DFue7FgD.js";
|
|
10
|
+
import { t as VerificationResult } from "../verificationResult-tHoFvrGZ.js";
|
|
11
|
+
import { t as DateInputComposed } from "../dateInputComposed-CVJ4LSep.js";
|
|
12
|
+
import { t as DropdownComposed } from "../dropdownComposed-BJCNWDGU.js";
|
|
13
|
+
import "../dropdownComposed-zidm_XVK.js";
|
|
14
|
+
import "../dateInputComposed-DF0Dx86l.js";
|
|
15
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-BWSWx6zz.js";
|
|
16
|
+
import { t as PrizmaRequiredLegend } from "../RequiredLegend-CLQ0HX7d.js";
|
|
15
17
|
import { GENERATE_CURP_FIELDS, createCurpValidationManager, mexicanStates } from "@incodetech/core/curp-validation";
|
|
16
18
|
//#region src/modules/curp-validation/curpInput.tsx
|
|
17
19
|
var CurpInput = ({ curp, errorKey, onCurpChange, onCurpBlur, onVerify, onSwitchToGenerate, disabled = false, placeholder, continueLabel, dontHaveLabel }) => {
|
|
18
20
|
const { t } = useTranslation();
|
|
19
|
-
const displayPlaceholder = placeholder ?? t("curp.placeholder.curp")
|
|
20
|
-
const displayContinueLabel = continueLabel ?? t("curp.continue")
|
|
21
|
-
const displayDontHaveLabel = dontHaveLabel ?? t("curp.dontHave")
|
|
21
|
+
const displayPlaceholder = placeholder ?? t("curp.placeholder.curp");
|
|
22
|
+
const displayContinueLabel = continueLabel ?? t("curp.continue");
|
|
23
|
+
const displayDontHaveLabel = dontHaveLabel ?? t("curp.dontHave");
|
|
22
24
|
const errorMessage = errorKey ? t(errorKey) : void 0;
|
|
23
25
|
const isContinueDisabled = curp.length === 0 || !!errorMessage || disabled;
|
|
24
26
|
const handleInput = (e) => {
|
|
@@ -28,28 +30,36 @@ var CurpInput = ({ curp, errorKey, onCurpChange, onCurpBlur, onVerify, onSwitchT
|
|
|
28
30
|
return /* @__PURE__ */ u("div", {
|
|
29
31
|
class: "IncodeCurpValidation IncodeCurpInput",
|
|
30
32
|
children: [
|
|
31
|
-
/* @__PURE__ */ u(
|
|
33
|
+
/* @__PURE__ */ u(PrizmaTextField, {
|
|
34
|
+
className: "IncodeInputComposed",
|
|
35
|
+
inputClassName: "IncodeInput",
|
|
36
|
+
clearable: false,
|
|
32
37
|
id: "curp-input",
|
|
33
38
|
value: curp,
|
|
34
39
|
onInput: handleInput,
|
|
35
40
|
onBlur: onCurpBlur,
|
|
36
|
-
label: t("curp.placeholder.curp")
|
|
41
|
+
label: t("curp.placeholder.curp"),
|
|
37
42
|
placeholder: displayPlaceholder,
|
|
38
43
|
disabled,
|
|
39
44
|
required: true,
|
|
40
45
|
maxLength: 18,
|
|
41
|
-
error: errorMessage,
|
|
42
|
-
|
|
46
|
+
error: !!errorMessage,
|
|
47
|
+
errorText: errorMessage
|
|
43
48
|
}),
|
|
44
49
|
/* @__PURE__ */ u(Spacer, {}),
|
|
45
|
-
/* @__PURE__ */ u(
|
|
50
|
+
/* @__PURE__ */ u(PrizmaButton, {
|
|
51
|
+
variant: "primary",
|
|
52
|
+
size: "L",
|
|
53
|
+
className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
|
|
46
54
|
type: "button",
|
|
47
55
|
onClick: onVerify,
|
|
48
56
|
disabled: isContinueDisabled,
|
|
49
57
|
"data-testid": "curp-verify",
|
|
50
58
|
children: displayContinueLabel
|
|
51
59
|
}),
|
|
52
|
-
/* @__PURE__ */ u(
|
|
60
|
+
/* @__PURE__ */ u(PrizmaButton, {
|
|
61
|
+
size: "L",
|
|
62
|
+
className: "IncodeButton IncodeButtonSecondary IncodeButtonL",
|
|
53
63
|
type: "button",
|
|
54
64
|
variant: "secondary",
|
|
55
65
|
onClick: onSwitchToGenerate,
|
|
@@ -65,18 +75,18 @@ var CurpInput = ({ curp, errorKey, onCurpChange, onCurpBlur, onVerify, onSwitchT
|
|
|
65
75
|
var GenerateCurpFormComponent = ({ form, validationErrors, onFormChange, onValidateField, onGenerate, disabled = false, labels: customLabels }) => {
|
|
66
76
|
const { t } = useTranslation();
|
|
67
77
|
const labels = {
|
|
68
|
-
firstName: t("curp.labels.firstName")
|
|
69
|
-
firstLast: t("curp.labels.firstLast")
|
|
70
|
-
secondLast: t("curp.labels.secondLast")
|
|
71
|
-
gender: t("curp.labels.genderV2")
|
|
72
|
-
genderPlaceholder: t("curp.placeholder.gender")
|
|
73
|
-
male: t("curp.labels.maleV2")
|
|
74
|
-
female: t("curp.labels.femaleV2")
|
|
75
|
-
other: t("curp.labels.other")
|
|
76
|
-
dob: t("curp.labels.dob")
|
|
77
|
-
birthState: t("curp.labels.birthState")
|
|
78
|
-
statePlaceholder: t("curp.placeholder.state")
|
|
79
|
-
generate: t("curp.generateCta")
|
|
78
|
+
firstName: t("curp.labels.firstName"),
|
|
79
|
+
firstLast: t("curp.labels.firstLast"),
|
|
80
|
+
secondLast: t("curp.labels.secondLast"),
|
|
81
|
+
gender: t("curp.labels.genderV2"),
|
|
82
|
+
genderPlaceholder: t("curp.placeholder.gender"),
|
|
83
|
+
male: t("curp.labels.maleV2"),
|
|
84
|
+
female: t("curp.labels.femaleV2"),
|
|
85
|
+
other: t("curp.labels.other"),
|
|
86
|
+
dob: t("curp.labels.dob"),
|
|
87
|
+
birthState: t("curp.labels.birthState"),
|
|
88
|
+
statePlaceholder: t("curp.placeholder.state"),
|
|
89
|
+
generate: t("curp.generateCta"),
|
|
80
90
|
...customLabels
|
|
81
91
|
};
|
|
82
92
|
const hasValidationErrors = !!validationErrors && Object.keys(validationErrors).length > 0;
|
|
@@ -155,7 +165,10 @@ var GenerateCurpFormComponent = ({ form, validationErrors, onFormChange, onValid
|
|
|
155
165
|
"data-testid": "curp-birth-date",
|
|
156
166
|
...field.autoComplete ? { autoComplete: field.autoComplete } : {}
|
|
157
167
|
}, field.key);
|
|
158
|
-
return /* @__PURE__ */ u(
|
|
168
|
+
return /* @__PURE__ */ u(PrizmaTextField, {
|
|
169
|
+
className: "IncodeInputComposed",
|
|
170
|
+
inputClassName: "IncodeInput",
|
|
171
|
+
clearable: false,
|
|
159
172
|
id: field.key === "name" ? "curp-first-name" : field.key === "firstLastName" ? "curp-first-last" : "curp-second-last",
|
|
160
173
|
label,
|
|
161
174
|
value: form[field.key],
|
|
@@ -164,8 +177,8 @@ var GenerateCurpFormComponent = ({ form, validationErrors, onFormChange, onValid
|
|
|
164
177
|
placeholder: label,
|
|
165
178
|
disabled,
|
|
166
179
|
required: field.required,
|
|
167
|
-
error: errorMessage,
|
|
168
|
-
|
|
180
|
+
error: !!errorMessage,
|
|
181
|
+
errorText: errorMessage,
|
|
169
182
|
...field.autoComplete ? { autoComplete: field.autoComplete } : {}
|
|
170
183
|
}, field.key);
|
|
171
184
|
};
|
|
@@ -176,7 +189,10 @@ var GenerateCurpFormComponent = ({ form, validationErrors, onFormChange, onValid
|
|
|
176
189
|
children: GENERATE_CURP_FIELDS.map(renderField)
|
|
177
190
|
}), /* @__PURE__ */ u("div", {
|
|
178
191
|
class: "IncodeGenerateCurpFooter",
|
|
179
|
-
children: /* @__PURE__ */ u(
|
|
192
|
+
children: /* @__PURE__ */ u(PrizmaButton, {
|
|
193
|
+
variant: "primary",
|
|
194
|
+
size: "L",
|
|
195
|
+
className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
|
|
180
196
|
type: "button",
|
|
181
197
|
onClick: onGenerate,
|
|
182
198
|
disabled: hasValidationErrors || disabled,
|
|
@@ -201,103 +217,88 @@ var CurpValidationContent = ({ config, manager: externalManager, onFinish, onErr
|
|
|
201
217
|
onError
|
|
202
218
|
});
|
|
203
219
|
if (state.status === "idle" || state.status === "loading") return /* @__PURE__ */ u(TransitionSpinner, { renderMode: "spinnerOnly" });
|
|
204
|
-
if (state.status === "verifying" || state.status === "generating") return /* @__PURE__ */ u(
|
|
220
|
+
if (state.status === "verifying" || state.status === "generating") return /* @__PURE__ */ u(VerificationResult, {
|
|
221
|
+
status: "submitting",
|
|
222
|
+
submittingTitle: t(state.status === "generating" ? "curp.status.generating" : "curp.status.verifying")
|
|
223
|
+
});
|
|
205
224
|
if (state.status === "enterCurp") return /* @__PURE__ */ u(Page, {
|
|
206
225
|
className: "IncodeCurpValidationPage",
|
|
207
|
-
title: t("curp.enterCurp")
|
|
208
|
-
|
|
209
|
-
|
|
226
|
+
title: t("curp.enterCurp"),
|
|
227
|
+
children: [/* @__PURE__ */ u(PrizmaRequiredLegend, {
|
|
228
|
+
className: "IncodeRequiredLegend",
|
|
229
|
+
children: t("forms.subtitle")
|
|
230
|
+
}), /* @__PURE__ */ u(CurpInput, {
|
|
210
231
|
curp: state.curp,
|
|
211
232
|
errorKey: state.validationErrors?.curp,
|
|
212
233
|
onCurpChange: (curp) => manager.setCurp(curp),
|
|
213
234
|
onCurpBlur: () => manager.validateField("curp"),
|
|
214
235
|
onVerify: () => manager.verify(),
|
|
215
236
|
onSwitchToGenerate: () => manager.switchToGenerate(),
|
|
216
|
-
placeholder: t("curp.placeholder.curp")
|
|
217
|
-
continueLabel: t("curp.continue")
|
|
218
|
-
dontHaveLabel: t("curp.dontHave")
|
|
219
|
-
})
|
|
237
|
+
placeholder: t("curp.placeholder.curp"),
|
|
238
|
+
continueLabel: t("curp.continue"),
|
|
239
|
+
dontHaveLabel: t("curp.dontHave")
|
|
240
|
+
})]
|
|
220
241
|
}, state.status);
|
|
221
242
|
if (state.status === "generateCurp") return /* @__PURE__ */ u(Page, {
|
|
222
243
|
className: "IncodeCurpValidationPage IncodeCurpGeneratePage",
|
|
223
|
-
title: t("curp.generate")
|
|
224
|
-
subtitle: t("forms.subtitle"),
|
|
244
|
+
title: t("curp.generate"),
|
|
225
245
|
hideFooterBranding: true,
|
|
226
|
-
children: /* @__PURE__ */ u(
|
|
246
|
+
children: [/* @__PURE__ */ u(PrizmaRequiredLegend, {
|
|
247
|
+
className: "IncodeRequiredLegend",
|
|
248
|
+
children: t("forms.subtitle")
|
|
249
|
+
}), /* @__PURE__ */ u(GenerateCurpFormComponent, {
|
|
227
250
|
form: state.form,
|
|
228
251
|
validationErrors: state.validationErrors,
|
|
229
252
|
onFormChange: (form) => manager.setGenerateForm(form),
|
|
230
253
|
onValidateField: (field) => manager.validateField(field),
|
|
231
254
|
onGenerate: () => manager.generate()
|
|
232
|
-
})
|
|
255
|
+
})]
|
|
233
256
|
}, state.status);
|
|
234
257
|
if (state.status === "confirmCurp") return /* @__PURE__ */ u(Page, {
|
|
235
258
|
className: "IncodeCurpValidationPage",
|
|
236
|
-
title: t("curp.status.confirm")
|
|
259
|
+
title: t("curp.status.confirm"),
|
|
237
260
|
children: /* @__PURE__ */ u("div", {
|
|
238
261
|
class: "IncodeCurpValidation IncodeCurpConfirm",
|
|
239
262
|
children: [
|
|
240
|
-
/* @__PURE__ */ u(
|
|
263
|
+
/* @__PURE__ */ u(PrizmaTextField, {
|
|
264
|
+
className: "IncodeInputComposed",
|
|
265
|
+
inputClassName: "IncodeInput",
|
|
266
|
+
clearable: false,
|
|
241
267
|
id: "curp-confirm-input",
|
|
242
268
|
value: state.curp,
|
|
243
269
|
readOnly: true,
|
|
244
|
-
"aria-label": t("curp.status.generatedCurp")
|
|
270
|
+
"aria-label": t("curp.status.generatedCurp"),
|
|
245
271
|
"data-testid": "curp-confirm-input"
|
|
246
272
|
}),
|
|
247
273
|
/* @__PURE__ */ u(Spacer, {}),
|
|
248
|
-
/* @__PURE__ */ u(
|
|
274
|
+
/* @__PURE__ */ u(PrizmaButton, {
|
|
275
|
+
variant: "primary",
|
|
276
|
+
size: "L",
|
|
277
|
+
className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
|
|
249
278
|
type: "button",
|
|
250
279
|
onClick: () => manager.confirmGenerated(),
|
|
251
280
|
"data-testid": "curp-confirm",
|
|
252
|
-
children: t("curp.continue")
|
|
281
|
+
children: t("curp.continue")
|
|
253
282
|
})
|
|
254
283
|
]
|
|
255
284
|
})
|
|
256
285
|
}, state.status);
|
|
257
|
-
if (state.status === "success") return /* @__PURE__ */ u(
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
children: [
|
|
262
|
-
/* @__PURE__ */ u(SuccessIcon, { size: 64 }),
|
|
263
|
-
/* @__PURE__ */ u(Spacer, { size: 16 }),
|
|
264
|
-
/* @__PURE__ */ u(AutoFocusTitle, {
|
|
265
|
-
className: "IncodeCurpSuccessTitle",
|
|
266
|
-
children: t("curp.status.verified") ?? "Verified"
|
|
267
|
-
})
|
|
268
|
-
]
|
|
269
|
-
})
|
|
286
|
+
if (state.status === "success") return /* @__PURE__ */ u(VerificationResult, {
|
|
287
|
+
status: "success",
|
|
288
|
+
successTitle: t("curp.status.verified"),
|
|
289
|
+
hideFooterBranding: false
|
|
270
290
|
});
|
|
271
291
|
if (state.status === "failure" || state.status === "generateError") {
|
|
272
292
|
const canRetry = state.retriesLeft > 0;
|
|
273
|
-
const title = state.status === "failure" ? t("curp.status.notVerified")
|
|
293
|
+
const title = state.status === "failure" ? t("curp.status.notVerified") : t("curp.status.couldntGenerate");
|
|
274
294
|
const failureRetryLabel = state.status === "failure" && state.fromAutoVerify ? t("curp.verifyManually") : t("curp.status.tryAgain");
|
|
275
|
-
return /* @__PURE__ */ u(
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
/* @__PURE__ */ u(Spacer, { size: 16 }),
|
|
283
|
-
/* @__PURE__ */ u(AutoFocusTitle, {
|
|
284
|
-
className: "IncodeCurpFailureTitle",
|
|
285
|
-
children: title
|
|
286
|
-
}),
|
|
287
|
-
state.status === "generateError" && canRetry && /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(Spacer, { size: 12 }), /* @__PURE__ */ u("p", {
|
|
288
|
-
class: "IncodeCurpFailureHint",
|
|
289
|
-
role: "alert",
|
|
290
|
-
children: t("curp.status.checkInfo") ?? "Please check your information"
|
|
291
|
-
})] }),
|
|
292
|
-
/* @__PURE__ */ u(Spacer, {}),
|
|
293
|
-
canRetry && /* @__PURE__ */ u(k, { children: /* @__PURE__ */ u(Button, {
|
|
294
|
-
type: "button",
|
|
295
|
-
onClick: () => manager.retry(),
|
|
296
|
-
"data-testid": "curp-retry",
|
|
297
|
-
children: state.status === "failure" ? failureRetryLabel : t("curp.status.edit") ?? "Edit information"
|
|
298
|
-
}) })
|
|
299
|
-
]
|
|
300
|
-
})
|
|
295
|
+
return /* @__PURE__ */ u(VerificationResult, {
|
|
296
|
+
status: "failure",
|
|
297
|
+
failureTitle: title,
|
|
298
|
+
errorMessage: state.status === "generateError" && canRetry ? t("curp.status.checkInfo") : void 0,
|
|
299
|
+
onRetry: canRetry ? () => manager.retry() : void 0,
|
|
300
|
+
retryLabel: state.status === "failure" ? failureRetryLabel : t("curp.status.edit"),
|
|
301
|
+
hideFooterBranding: false
|
|
301
302
|
});
|
|
302
303
|
}
|
|
303
304
|
if (state.status === "finished" || state.status === "closed") return null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
|
|
2
|
-
.IncodeCurpValidationPage .IncodePageContent{padding-top:var(--spacing-32,var(--spacing-32,32px));padding-bottom:var(--spacing-16,var(--spacing-16,16px));flex-direction:column;align-items:center;display:flex}@media (width>=48rem){.IncodeCurpValidationPage.IncodeCurpGeneratePage.IncodePageContainer{align-items:stretch}.IncodeCurpValidationPage.IncodeCurpGeneratePage .IncodePageInner{height:100%;min-height:var(--spacing-0,var(--spacing-none,0px))}.IncodeCurpValidationPage.IncodeCurpGeneratePage .IncodePageContent{min-height:var(--spacing-0,var(--spacing-none,0px))}}.IncodeCurpValidationPage .IncodeCurpValidation{flex-direction:column;align-items:center;width:100%;height:100%;display:flex}.IncodeCurpValidationPage .IncodeCurpInput{min-height:var(--spacing-0,var(--spacing-none,0px));width:100%;max-width:var(--incode-form-max-w);gap:var(--spacing-12,var(--spacing-12,12px));flex-direction:column;flex:1;display:flex}.IncodeCurpValidationPage .IncodeCurpInput .IncodeButtonSecondary:
|
|
2
|
+
.IncodeCurpValidationPage .IncodePageContent{padding-top:var(--spacing-32,var(--spacing-32,32px));padding-bottom:var(--spacing-16,var(--spacing-16,16px));flex-direction:column;align-items:center;display:flex}@media (width>=48rem){.IncodeCurpValidationPage.IncodeCurpGeneratePage.IncodePageContainer{align-items:stretch}.IncodeCurpValidationPage.IncodeCurpGeneratePage .IncodePageInner{height:100%;min-height:var(--spacing-0,var(--spacing-none,0px))}.IncodeCurpValidationPage.IncodeCurpGeneratePage .IncodePageContent{min-height:var(--spacing-0,var(--spacing-none,0px))}}.IncodeCurpValidationPage .IncodeCurpValidation{flex-direction:column;align-items:center;width:100%;height:100%;display:flex}.IncodeCurpValidationPage .IncodeCurpInput{min-height:var(--spacing-0,var(--spacing-none,0px));width:100%;max-width:var(--incode-form-max-w);gap:var(--spacing-12,var(--spacing-12,12px));flex-direction:column;flex:1;display:flex}.IncodeCurpValidationPage .IncodeCurpInput .IncodeButtonSecondary:active{color:var(--color-button-secondary-text-default,var(--button-secondary-text-default))}.IncodeCurpValidationPage .IncodeGenerateCurpForm{width:100%;max-width:var(--incode-form-max-w);flex-direction:column;display:flex}@media (width>=48rem){.IncodeCurpValidationPage .IncodeGenerateCurpForm{min-height:var(--spacing-0,var(--spacing-none,0px))}}.IncodeCurpValidationPage .IncodeGenerateCurpFields{gap:var(--spacing-8,var(--spacing-8,8px));flex-direction:column;width:100%;display:flex}@media (width>=48rem){.IncodeCurpValidationPage .IncodeGenerateCurpFields{min-height:var(--spacing-0,var(--spacing-none,0px));padding-bottom:var(--spacing-8,var(--spacing-8,8px));flex:1;overflow-y:auto}}.IncodeCurpValidationPage .IncodeGenerateCurpFooter{width:100%;padding-top:var(--spacing-16,var(--spacing-16,16px))}@media (width>=48rem){.IncodeCurpValidationPage .IncodeGenerateCurpFooter{flex-shrink:0}}.IncodeCurpValidationPage .IncodeCurpConfirm{width:100%;max-width:var(--incode-curp-confirm-max-w);flex-direction:column;align-items:center;display:flex}.IncodeCurpValidationPage .IncodeCurpConfirm .IncodeInput{text-align:center;font-family:var(--typography-input-dropdown-family);font-size:var(--typography-input-dropdown-m-size);font-weight:var(--typography-input-dropdown-m-weight);line-height:var(--typography-input-dropdown-m-line-height);letter-spacing:var(--typography-input-dropdown-m-letter-spacing)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default "/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n.IncodeCurpValidationPage .IncodePageContent{padding-top:var(--spacing-32,var(--spacing-32,32px));padding-bottom:var(--spacing-16,var(--spacing-16,16px));flex-direction:column;align-items:center;display:flex}@media (width>=48rem){.IncodeCurpValidationPage.IncodeCurpGeneratePage.IncodePageContainer{align-items:stretch}.IncodeCurpValidationPage.IncodeCurpGeneratePage .IncodePageInner{height:100%;min-height:var(--spacing-0,var(--spacing-none,0px))}.IncodeCurpValidationPage.IncodeCurpGeneratePage .IncodePageContent{min-height:var(--spacing-0,var(--spacing-none,0px))}}.IncodeCurpValidationPage .IncodeCurpValidation{flex-direction:column;align-items:center;width:100%;height:100%;display:flex}.IncodeCurpValidationPage .IncodeCurpInput{min-height:var(--spacing-0,var(--spacing-none,0px));width:100%;max-width:var(--incode-form-max-w);gap:var(--spacing-12,var(--spacing-12,12px));flex-direction:column;flex:1;display:flex}.IncodeCurpValidationPage .IncodeCurpInput .IncodeButtonSecondary:
|
|
1
|
+
export default "/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n.IncodeCurpValidationPage .IncodePageContent{padding-top:var(--spacing-32,var(--spacing-32,32px));padding-bottom:var(--spacing-16,var(--spacing-16,16px));flex-direction:column;align-items:center;display:flex}@media (width>=48rem){.IncodeCurpValidationPage.IncodeCurpGeneratePage.IncodePageContainer{align-items:stretch}.IncodeCurpValidationPage.IncodeCurpGeneratePage .IncodePageInner{height:100%;min-height:var(--spacing-0,var(--spacing-none,0px))}.IncodeCurpValidationPage.IncodeCurpGeneratePage .IncodePageContent{min-height:var(--spacing-0,var(--spacing-none,0px))}}.IncodeCurpValidationPage .IncodeCurpValidation{flex-direction:column;align-items:center;width:100%;height:100%;display:flex}.IncodeCurpValidationPage .IncodeCurpInput{min-height:var(--spacing-0,var(--spacing-none,0px));width:100%;max-width:var(--incode-form-max-w);gap:var(--spacing-12,var(--spacing-12,12px));flex-direction:column;flex:1;display:flex}.IncodeCurpValidationPage .IncodeCurpInput .IncodeButtonSecondary:active{color:var(--color-button-secondary-text-default,var(--button-secondary-text-default))}.IncodeCurpValidationPage .IncodeGenerateCurpForm{width:100%;max-width:var(--incode-form-max-w);flex-direction:column;display:flex}@media (width>=48rem){.IncodeCurpValidationPage .IncodeGenerateCurpForm{min-height:var(--spacing-0,var(--spacing-none,0px))}}.IncodeCurpValidationPage .IncodeGenerateCurpFields{gap:var(--spacing-8,var(--spacing-8,8px));flex-direction:column;width:100%;display:flex}@media (width>=48rem){.IncodeCurpValidationPage .IncodeGenerateCurpFields{min-height:var(--spacing-0,var(--spacing-none,0px));padding-bottom:var(--spacing-8,var(--spacing-8,8px));flex:1;overflow-y:auto}}.IncodeCurpValidationPage .IncodeGenerateCurpFooter{width:100%;padding-top:var(--spacing-16,var(--spacing-16,16px))}@media (width>=48rem){.IncodeCurpValidationPage .IncodeGenerateCurpFooter{flex-shrink:0}}.IncodeCurpValidationPage .IncodeCurpConfirm{width:100%;max-width:var(--incode-curp-confirm-max-w);flex-direction:column;align-items:center;display:flex}.IncodeCurpValidationPage .IncodeCurpConfirm .IncodeInput{text-align:center;font-family:var(--typography-input-dropdown-family);font-size:var(--typography-input-dropdown-m-size);font-weight:var(--typography-input-dropdown-m-weight);line-height:var(--typography-input-dropdown-m-line-height);letter-spacing:var(--typography-input-dropdown-m-letter-spacing)}";
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as Page } from "./page-
|
|
7
|
-
import {
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as DateInputComposed } from "./dateInputComposed-
|
|
11
|
-
import { t as
|
|
1
|
+
import { u as useTranslation } from "./devWarn-CXWsIkak.js";
|
|
2
|
+
import { h as d, x as u } from "./vendor-preact-CjnloSla.js";
|
|
3
|
+
import { b as PrizmaButton } from "./icons-DLZTxOV2.js";
|
|
4
|
+
import { t as Spacer } from "./spacer-D5j2phXI.js";
|
|
5
|
+
import { t as PrizmaTextField } from "./TextField-MsdsbAbT.js";
|
|
6
|
+
import { t as Page } from "./page-B0CjRMtF.js";
|
|
7
|
+
import { n as StatusPage } from "./connectionError-BFVvBEMq.js";
|
|
8
|
+
import { _ as useModuleTerminalCallbacks, t as withStandaloneModuleBootstrap, y as useManager } from "./hooks-nmwpawA2.js";
|
|
9
|
+
import { t as IncodeComponent } from "./incodeComponent-DFue7FgD.js";
|
|
10
|
+
import { t as DateInputComposed } from "./dateInputComposed-CVJ4LSep.js";
|
|
11
|
+
import { t as Checkbox } from "./checkbox-HfnbGBMk.js";
|
|
12
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-BWSWx6zz.js";
|
|
13
|
+
import { t as PrizmaRequiredLegend } from "./RequiredLegend-CLQ0HX7d.js";
|
|
12
14
|
import { createCustomFieldsManager } from "@incodetech/core/custom-fields";
|
|
13
15
|
//#region src/modules/custom-fields/customFields.tsx
|
|
14
16
|
var INPUT_TYPE_MAP = {
|
|
@@ -64,13 +66,16 @@ var CustomFieldInput = ({ error, field, isDisabled, required, onChange }) => {
|
|
|
64
66
|
});
|
|
65
67
|
return /* @__PURE__ */ u("div", {
|
|
66
68
|
class: "IncodeCustomFieldsField",
|
|
67
|
-
children: /* @__PURE__ */ u(
|
|
69
|
+
children: /* @__PURE__ */ u(PrizmaTextField, {
|
|
70
|
+
className: "IncodeInputComposed",
|
|
71
|
+
inputClassName: "IncodeInput",
|
|
72
|
+
clearable: false,
|
|
68
73
|
id,
|
|
69
74
|
name: field.name,
|
|
70
75
|
label: field.label,
|
|
71
76
|
"data-testid": id,
|
|
72
|
-
error,
|
|
73
|
-
|
|
77
|
+
error: !!error,
|
|
78
|
+
errorText: error,
|
|
74
79
|
type: INPUT_TYPE_MAP[field.type] ?? "text",
|
|
75
80
|
step: INPUT_STEP_MAP[field.type],
|
|
76
81
|
required,
|
|
@@ -96,7 +101,10 @@ var CustomFieldsContent = ({ config, manager: externalManager, onFinish, onError
|
|
|
96
101
|
if (state.status === "idle") return null;
|
|
97
102
|
if (state.status === "success") return /* @__PURE__ */ u(StatusPage, {
|
|
98
103
|
variant: "success",
|
|
99
|
-
icon:
|
|
104
|
+
icon: {
|
|
105
|
+
type: "status",
|
|
106
|
+
status: "success"
|
|
107
|
+
},
|
|
100
108
|
title: t("customFields.completed"),
|
|
101
109
|
hideFooterBranding: true
|
|
102
110
|
});
|
|
@@ -104,7 +112,7 @@ var CustomFieldsContent = ({ config, manager: externalManager, onFinish, onError
|
|
|
104
112
|
const title = state.status === "inputting" || state.status === "submitting" ? state.title ? t(state.title) : t("customFields.title") : "";
|
|
105
113
|
if (state.status === "submitting") return /* @__PURE__ */ u(StatusPage, {
|
|
106
114
|
variant: "loading",
|
|
107
|
-
icon:
|
|
115
|
+
icon: { type: "spinner" },
|
|
108
116
|
title: t("customFields.processing"),
|
|
109
117
|
hideFooterBranding: true
|
|
110
118
|
});
|
|
@@ -116,10 +124,12 @@ var CustomFieldsContent = ({ config, manager: externalManager, onFinish, onError
|
|
|
116
124
|
return /* @__PURE__ */ u(Page, {
|
|
117
125
|
className: "IncodeCustomFieldsPage",
|
|
118
126
|
title,
|
|
119
|
-
subtitle: t("forms.subtitle"),
|
|
120
127
|
hideFooterBranding: true,
|
|
121
128
|
"data-testid": "custom-fields-page",
|
|
122
|
-
children: /* @__PURE__ */ u(
|
|
129
|
+
children: [/* @__PURE__ */ u(PrizmaRequiredLegend, {
|
|
130
|
+
className: "IncodeRequiredLegend",
|
|
131
|
+
children: t("forms.subtitle")
|
|
132
|
+
}), /* @__PURE__ */ u("form", {
|
|
123
133
|
class: "IncodeCustomFieldsForm",
|
|
124
134
|
"data-testid": "custom-fields-form",
|
|
125
135
|
noValidate: true,
|
|
@@ -141,14 +151,17 @@ var CustomFieldsContent = ({ config, manager: externalManager, onFinish, onError
|
|
|
141
151
|
}, field.name);
|
|
142
152
|
}),
|
|
143
153
|
/* @__PURE__ */ u(Spacer, {}),
|
|
144
|
-
/* @__PURE__ */ u(
|
|
154
|
+
/* @__PURE__ */ u(PrizmaButton, {
|
|
155
|
+
variant: "primary",
|
|
156
|
+
size: "L",
|
|
157
|
+
className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
|
|
145
158
|
type: "submit",
|
|
146
159
|
disabled: !canSubmit,
|
|
147
160
|
"data-testid": "custom-fields-submit",
|
|
148
161
|
children: t("customFields.continue")
|
|
149
162
|
})
|
|
150
163
|
]
|
|
151
|
-
})
|
|
164
|
+
})]
|
|
152
165
|
});
|
|
153
166
|
};
|
|
154
167
|
var CustomFieldsWithLocalConfig = ({ config, manager, onFinish, onError }) => {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as registerIncodeModuleElement } from "./incodeModule-DiVtqekm.js";
|
|
1
|
+
import { u as useTranslation } from "./devWarn-CXWsIkak.js";
|
|
2
|
+
import { b as y, x as u } from "./vendor-preact-CjnloSla.js";
|
|
3
|
+
import { n as StatusPage } from "./connectionError-BFVvBEMq.js";
|
|
4
|
+
import { _ as useModuleTerminalCallbacks, t as withStandaloneModuleBootstrap, y as useManager } from "./hooks-nmwpawA2.js";
|
|
5
|
+
import { t as IncodeComponent } from "./incodeComponent-DFue7FgD.js";
|
|
6
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-BWSWx6zz.js";
|
|
8
7
|
import { createCustomWatchlistManager } from "@incodetech/core/custom-watchlist";
|
|
9
8
|
//#region src/modules/custom-watchlist/customWatchlist.tsx
|
|
10
9
|
var CustomWatchlistContent = ({ manager: externalManager, onFinish }) => {
|
|
@@ -19,12 +18,15 @@ var CustomWatchlistContent = ({ manager: externalManager, onFinish }) => {
|
|
|
19
18
|
});
|
|
20
19
|
if (state.status === "success") return /* @__PURE__ */ u(StatusPage, {
|
|
21
20
|
variant: "success",
|
|
22
|
-
icon:
|
|
21
|
+
icon: {
|
|
22
|
+
type: "status",
|
|
23
|
+
status: "success"
|
|
24
|
+
},
|
|
23
25
|
title: t("customWatchlist.done")
|
|
24
26
|
});
|
|
25
27
|
return /* @__PURE__ */ u(StatusPage, {
|
|
26
28
|
variant: "loading",
|
|
27
|
-
icon:
|
|
29
|
+
icon: { type: "spinner" },
|
|
28
30
|
title: t("watchList.processing"),
|
|
29
31
|
subtitle: t("customWatchlist.wontTake")
|
|
30
32
|
});
|