@incodetech/web 2.2.0-rc.8 → 2.3.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 +398 -0
- package/dist/ae-signature/ae-signature.es.js +4 -4
- package/dist/af-ZA-DTqKc5t4.js +3041 -0
- package/dist/am-EGNy2cbo.js +3041 -0
- package/dist/antifraud/antifraud.es.js +4 -4
- package/dist/ar-AE-Cb55U6s-.js +3057 -0
- package/dist/ar-EG-C8ucZII6.js +3057 -0
- package/dist/ar-MUpu33jy.js +3057 -0
- package/dist/assets/dm-sans-latin-400-normal.woff2 +0 -0
- package/dist/assets/dm-sans-latin-500-normal.woff2 +0 -0
- package/dist/assets/dm-sans-latin-600-normal.woff2 +0 -0
- package/dist/assets/dm-sans-latin-700-normal.woff2 +0 -0
- package/dist/assets/rethink-sans-latin-800-normal.woff2 +0 -0
- package/dist/authentication/authentication.es.js +15 -11
- package/dist/{autoFocusTitle-DB-23sv_.js → autoFocusTitle-CIbcUW_x.js} +2 -2
- package/dist/az-DlXjPSya.js +3041 -0
- package/dist/{back-horizontal-hint-CjdigFZj.js → back-horizontal-hint-UQ7Nof6k.js} +1 -1
- package/dist/{back-vertical-hint-OhaKsINF.js → back-vertical-hint-Crc8ybfk.js} +1 -1
- package/dist/base.css +917 -283
- package/dist/baseTutorial-DkL0vjUa.js +172 -0
- package/dist/bn-BuTjJr44.js +3041 -0
- package/dist/bottomSheet-DtUFrIAG.js +101 -0
- package/dist/bs-DUzGtLhU.js +3045 -0
- package/dist/ca-B6SY43GQ.js +3041 -0
- package/dist/cameraOverlay-Dn0r4NR9.js +2 -0
- package/dist/cameraOverlayHeader-CsokPtuL.js +43 -0
- package/dist/cameraView-DrTBPNWX.js +49 -0
- package/dist/captureFooter-DWCaAdIU.js +67 -0
- package/dist/ceb-DmXy5txv.js +3041 -0
- package/dist/certificate-issuance/certificate-issuance.es.js +19 -14
- package/dist/certificate-issuance/styles.css.js +1 -0
- package/dist/{checkbox-FGA-Ij-D.js → checkbox-D0wfscwg.js} +9 -8
- package/dist/{connectionError-BurQq_4R.js → connectionError-B61O7L3N.js} +4 -4
- package/dist/consent/consent.es.js +26 -33
- package/dist/consent/styles.css +4 -4
- package/dist/consent/styles.css.js +1 -0
- package/dist/countries-5e8kwG_m.js +8560 -0
- package/dist/{countrySelector-COZ7XQHp.js → countrySelector-C60Cdc5P.js} +8 -10
- package/dist/cross-document-data-match/cross-document-data-match.es.js +4 -4
- package/dist/cs-CZ-Gn3ZmW27.js +3049 -0
- package/dist/cs-dsQ7umNS.js +3049 -0
- package/dist/curp-validation/curp-validation.es.js +15 -22
- package/dist/curp-validation/styles.css.js +1 -0
- package/dist/custom-fields/styles.css.js +1 -0
- package/dist/{customFields-rVMTo1Yu.js → customFields-BdnLB6L1.js} +44 -19
- package/dist/{customWatchlist-DgpXtVRf.js → customWatchlist-DzeHJAa3.js} +14 -11
- package/dist/da-DK-CFQaOERk.js +3041 -0
- package/dist/{dashboardTheme-BUDq5UYs.js → dashboardTheme-BwKtcRSO.js} +31 -7
- package/dist/{dateInputComposed-DSgV0wnb.js → dateInputComposed-BcmKKwRL.js} +5 -5
- package/dist/dateInputComposed-DPM6l_SL.js +1 -0
- package/dist/de-BqG02U9o.js +3041 -0
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/document-capture/styles.css +4 -4
- package/dist/document-capture/styles.css.js +1 -0
- package/dist/{documentCapture-sZj09g0I.js → documentCapture-CoMsW_gC.js} +16 -17
- package/dist/documentCapture-DMxz9eqT.js +2 -0
- package/dist/dropdownComposed-CXwC9j18.js +1 -0
- package/dist/{dropdownComposed-CEegNzG4.js → dropdownComposed-DYdI3B4r.js} +9 -9
- package/dist/{dynamicForms-t3vepXqJ.js → dynamic-forms/dynamic-forms.es.js} +24 -19
- package/dist/dynamic-forms/styles.css +5 -0
- package/dist/dynamic-forms/styles.css.js +1 -0
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekyb/styles.css +15 -13
- package/dist/ekyb/styles.css.js +1 -0
- package/dist/{ekybModule-Dvkf5WAr.js → ekybModule-BRh9D01p.js} +17 -30
- package/dist/ekybModule-C5NPsc0F.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekyc/styles.css +17 -16
- package/dist/ekyc/styles.css.js +1 -0
- package/dist/{ekycModule-C5QXVGP7.js → ekycModule-Da6Bl3jg.js} +14 -29
- package/dist/ekycModule-DwKPvgA8.js +2 -0
- package/dist/el-BP_RmMeB.js +3041 -0
- package/dist/el-GR-9I2fVd-W.js +3041 -0
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/electronic-signature/styles.css +62 -2
- package/dist/electronic-signature/styles.css.js +1 -0
- package/dist/{electronic-signature-CyE8F7LZ.js → electronic-signature-KFF7qbid.js} +65 -18
- package/dist/email/email.es.js +9 -8
- package/dist/email/styles.css.js +1 -0
- package/dist/{emailInput-CsT8_C01.js → emailInput-B_qAEKBC.js} +4 -4
- package/dist/en-DG-poeSJZ7W.js +3041 -0
- package/dist/en-DnIfMNS1.js +3041 -0
- package/dist/errorContent-CMNfCIo_.js +58 -0
- package/dist/es-2x55EFTs.js +3041 -0
- package/dist/es-419-DgAnO5DV.js +3041 -0
- package/dist/es-ES-BSnroYMU.js +3041 -0
- package/dist/es-MX-CfztSSs4.js +3041 -0
- package/dist/et-CPoI8fYI.js +3041 -0
- package/dist/{expiredId-BQ1uPh7b.js → expiredId-DJYL_--M.js} +22 -27
- package/dist/extensibility.es.js +701 -24
- package/dist/fa-IR-CVf6F8GG.js +3041 -0
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/face-match/styles.css +76 -40
- package/dist/face-match/styles.css.js +1 -0
- package/dist/{faceMatch-Rf-MMdto.js → faceMatch-CwoYbKBB.js} +7 -8
- package/dist/faceMatch-DCkrehin.js +2 -0
- package/dist/fi-FI-A4oUFztt.js +3041 -0
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/field-comparison/styles.css +12 -0
- package/dist/field-comparison/styles.css.js +1 -0
- package/dist/{fieldComparison-BnGj3nNp.js → fieldComparison-D2WI5cYb.js} +27 -11
- package/dist/fieldComparison-OwqIkMRe.js +2 -0
- package/dist/fieldLabelHint-CxjArYkQ.js +16 -0
- package/dist/{finalSuccessScreen-B9uB3bST.js → finalSuccessScreen-BtJ5o2pi.js} +13 -14
- package/dist/fiscal-qr/fiscal-qr.es.js +22 -9
- package/dist/fiscal-qr/styles.css +13 -1
- package/dist/fiscal-qr/styles.css.js +1 -0
- package/dist/{extensibility-C5XqL_A3.js → flipAnimation-Bb5FQVF-.js} +608 -1005
- package/dist/flow/flow.es.js +308 -62
- package/dist/flow/shell/styles.css +402 -0
- package/dist/flow/shell/styles.css.js +1 -0
- package/dist/flow/styles.css +582 -312
- package/dist/formField-CBwWQ7wD.js +60 -0
- package/dist/fr-CA-CI4CD8PC.js +3045 -0
- package/dist/fr-ON88Zj-c.js +3045 -0
- package/dist/{front-horizontal-hint-Bhz1rq-w.js → front-horizontal-hint-mgovnJf3.js} +1 -1
- package/dist/{front-vertical-hint-C4FC1ksx.js → front-vertical-hint-qXMVdLri.js} +1 -1
- package/dist/geolocation/geolocation.es.js +9 -9
- package/dist/geolocation/styles.css +4 -4
- package/dist/geolocation/styles.css.js +1 -0
- package/dist/government-validation/government-validation.es.js +38 -86
- package/dist/government-validation/styles.css +2 -38
- package/dist/government-validation/styles.css.js +1 -0
- package/dist/he-pbmbYdr4.js +3049 -0
- package/dist/hi-DUIfQ6FS.js +3041 -0
- package/dist/hmn-DL-aQCTc.js +3041 -0
- package/dist/{homeScreen-Bv9mUUOF.js → homeScreen-vLMuzGDq.js} +8 -7
- package/dist/hr-DfJZSVnR.js +3045 -0
- package/dist/ht-DkZi3f0t.js +3041 -0
- package/dist/hu-ClhgOpVy.js +3041 -0
- package/dist/{icons-ChHV5iHi.js → icons-eIgP34nj.js} +99 -11
- package/dist/id/id.es.js +575 -62
- package/dist/id/styles.css +114 -45
- package/dist/id/styles.css.js +1 -0
- package/dist/id-DzyWelEE.js +3035 -0
- package/dist/{id-back-of-card-C4XViC7W.js → id-back-of-card-B6EcmiCs.js} +1 -1
- package/dist/{id-back-of-card-vertical-DCz0rj8m.js → id-back-of-card-vertical-B3FXhPpj.js} +1 -1
- package/dist/{id-front-of-card-CUA1ocVF.js → id-front-of-card-V_BlLaZr.js} +1 -1
- package/dist/{id-front-of-card-vertical-Ddm_BwD3.js → id-front-of-card-vertical-CuZjL8kc.js} +1 -1
- package/dist/id-ocr/styles.css.js +1 -0
- package/dist/id-selfie-flow/id-selfie-flow.es.js +10 -9
- package/dist/id-selfie-flow/styles.css +40 -8
- package/dist/id-verification/id-verification.es.js +5 -5
- package/dist/{idOcr-Da1-2sWY.js → idOcr-C5R3RWuL.js} +13 -16
- package/dist/identity-reuse/identity-reuse.es.js +8 -113
- package/dist/identity-reuse/styles.css +1 -1
- package/dist/{incode-logo-DeIDDejm.js → incode-logo-BzJOZr3f.js} +1 -64
- package/dist/{incodeComponent-BtFz-bx2.js → incodeComponent-D3_BSWan.js} +192 -22
- package/dist/{incodeModule-9K8KUs61.js → incodeModule-BQgvYKyr.js} +3 -3
- package/dist/index.es.js +4 -3
- package/dist/{inputComposed-C2zTEXsp.js → inputComposed-CTZnsHLi.js} +9 -9
- package/dist/inputComposed-wy0-orhJ.js +1 -0
- package/dist/it-D_u7w6N4.js +3041 -0
- package/dist/ja-Drh4oAoU.js +3035 -0
- package/dist/ja-JP-Pdxq82Pi.js +3035 -0
- package/dist/jv-DFcKF0Jp.js +3035 -0
- package/dist/ka--2y3Ae63.js +3041 -0
- package/dist/kk-CAs7inco.js +3041 -0
- package/dist/km-BlxkLYfw.js +3035 -0
- package/dist/ko-B1XhW0dx.js +3035 -0
- package/dist/ko-KP-DO1TCCY3.js +3035 -0
- package/dist/ky-BN92RThU.js +3041 -0
- package/dist/lo-DPUo8xJT.js +3035 -0
- package/dist/lt-CYBwI4Sq.js +3049 -0
- package/dist/lv-eBlwWu05.js +3045 -0
- package/dist/{mandatoryConsent-CxShVycM.js → mandatoryConsent-D96_9XTp.js} +10 -7
- package/dist/manualCaptureButton-C9H2_SJS.js +63 -0
- package/dist/{manualCaptureButton-DzJFIEfu.js → manualCaptureButton-igyQk3Yb.js} +10 -55
- package/dist/mk-QMUTND8Y.js +3041 -0
- package/dist/mn-CCTUOA1D.js +3041 -0
- package/dist/{modal-BH2wi8Q0.js → modal-CmF_MYIK.js} +7 -6
- package/dist/{modal.hooks-DcakflQ4.js → modal.hooks-B0Wrc9s2.js} +7 -1
- package/dist/ms-BKJgaJfx.js +3035 -0
- package/dist/my-DyLbN8b0.js +3035 -0
- package/dist/nb-NO-TVHxhuqB.js +3041 -0
- package/dist/ne-gBLZraiK.js +3041 -0
- package/dist/nl-CrO6Mvej.js +3041 -0
- package/dist/{numberedStep-DqtXyT11.js → numberedStep-DYznpDKc.js} +1 -1
- package/dist/{optionAccessibleLabel-C5iZCrlq.js → optionAccessibleLabel-CqBUOBxK.js} +6 -6
- package/dist/{otpInput-CvPR3ZpP.js → otpInput-tEovwPs7.js} +8 -83
- package/dist/{passport-horizontal-hint-DzkhjC8Q.js → passport-horizontal-hint-6Ghn2EEN.js} +1 -1
- package/dist/{passport-vertical-hint-Bd0BQn2Y.js → passport-vertical-hint-UPFFpdf4.js} +1 -1
- package/dist/passwordInputComposed-DNlYgHHW.js +74 -0
- package/dist/{pdf-BUoY_2gv.js → pdf-CFubyG0B.js} +1 -1
- package/dist/{pdfViewer-TTZmPABh.js → pdfViewer-4u14PDPr.js} +4 -4
- package/dist/pdfViewer-e2o97yIv.js +2 -0
- package/dist/{manualCaptureButton-D58WsS-x.js → permissions-DowRodJj.js} +200 -105
- package/dist/phone/phone.es.js +10 -9
- package/dist/phone/styles.css +1 -1
- package/dist/phone/styles.css.js +1 -0
- package/dist/{phoneInputComposed-byyszNoS.js → phoneInputComposed-B6sv-uB2.js} +20 -8412
- package/dist/pl-Bde7cCcc.js +3049 -0
- package/dist/{processing-B2eaSGLu.js → processing-s6GfNwuL.js} +2 -2
- package/dist/pt-BR-DFr2fPNi.js +3041 -0
- package/dist/pt-DhDCeOLY.js +3041 -0
- package/dist/pt-PT-CpiPMuNf.js +3041 -0
- package/dist/qe-signature/qe-signature.es.js +4 -4
- package/dist/radioGroupComposed-CJkzLiFc.js +1 -0
- package/dist/{radioGroupComposed-DQzTWutW.js → radioGroupComposed-DmoMukus.js} +15 -71
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +34 -178
- package/dist/redirect-to-mobile/styles.css +2 -27
- package/dist/redirect-to-mobile/styles.css.js +1 -0
- package/dist/{registerIncodeElement-DW2PE_DX.js → registerIncodeElement-CbZczi4S.js} +1 -1
- package/dist/resendTimer-Cskll9rx.js +79 -0
- package/dist/{useModuleLoader-DxOEZ0vn.js → resolveApiKey-CB1_7ISm.js} +70 -222
- package/dist/{richText-CEwM8jib.js → richText-C8-Ny2SD.js} +9 -9
- package/dist/ro-B_ITJxYh.js +3045 -0
- package/dist/ru-Cg4U-rYv.js +3049 -0
- package/dist/ru-RU-fR_tbAfz.js +3049 -0
- package/dist/selfie/selfie.es.js +184 -8
- package/dist/selfie/styles.css +225 -36
- package/dist/selfie/styles.css.js +1 -0
- package/dist/signature/signature.es.js +8 -9
- package/dist/signature/styles.css.js +1 -0
- package/dist/sk-DbraxlnX.js +3049 -0
- package/dist/sl-DXgvmUsz.js +3049 -0
- package/dist/smsTabContent-Dado9q8t.js +172 -0
- package/dist/so-HI13bXme.js +3041 -0
- package/dist/{spacer-DLEDuWEx.js → spacer-ayyj5lMa.js} +10 -10
- package/dist/spinner-Z-5sEEDQ.js +88 -0
- package/dist/sr-DAb2JkvB.js +3045 -0
- package/dist/sr-Latn-DzSc6KyA.js +3045 -0
- package/dist/sr-YU-C9HskKa8.js +3045 -0
- package/dist/{statusPage-BF4qGjF3.js → statusPage-Bqz3Ci4f.js} +4 -4
- package/dist/sv-SE-B3X2fvQj.js +3041 -0
- package/dist/sw-BVL9Boua.js +3041 -0
- package/dist/{tabs-BGL1oRLb.js → tabs-B-ERCzA4.js} +2 -2
- package/dist/th-Cq87oDI8.js +3035 -0
- package/dist/th-TH-CY5gd6Bd.js +3035 -0
- package/dist/themes/dark.css +125 -0
- package/dist/themes/light.css +124 -0
- package/dist/tl-DUm9tRZ_.js +3041 -0
- package/dist/tl-PH-CNYNkY1M.js +3041 -0
- package/dist/tr-Cg3WJqb6.js +3041 -0
- package/dist/{tutorial-LQuJ4dse.js → tutorial-CHNfV-I3.js} +40 -226
- package/dist/types/certificate-issuance.d.ts +4 -4
- package/dist/types/dynamic-forms.d.ts +177 -0
- package/dist/types/extensibility.d.ts +75 -23
- package/dist/types/flow.d.ts +37 -0
- package/dist/types/government-validation.d.ts +2 -1
- package/dist/types/index.d.ts +28 -4
- package/dist/types/video-selfie.d.ts +6 -161
- package/dist/typography-ikD4-Z8S.js +53 -0
- package/dist/{uiConfig-Dqnjankd.js → uiConfig-C1jdTj-i.js} +184 -8
- package/dist/uk-C7hhE-77.js +3049 -0
- package/dist/uk-UA-DRsynQ5S.js +3049 -0
- package/dist/ur-BEX50SCe.js +3041 -0
- package/dist/useCoverMedia-VLw3OYN_.js +149 -0
- package/dist/useModuleLoader-DpcbSKBH.js +176 -0
- package/dist/uz-BYlUXaIK.js +3041 -0
- package/dist/{vendor-preact-BPXMFRom.js → vendor-preact-C0jX1Cbq.js} +68 -181
- package/dist/{verificationResult-q_zD_Pxh.js → verificationResult-B26DDXFT.js} +32 -25
- package/dist/vi-DddAM-WF.js +3035 -0
- package/dist/video-selfie/styles.css +51 -17
- package/dist/video-selfie/styles.css.js +1 -0
- package/dist/video-selfie/video-selfie.es.js +35 -23
- package/dist/watchlist/watchlist.es.js +7 -7
- package/dist/watchlist-for-business/styles.css.js +1 -0
- package/dist/{watchlistForBusiness-C_zqdY4P.js → watchlistForBusiness-o4F6Czxp.js} +28 -16
- package/dist/workflow/styles.css +1073 -356
- package/dist/workflow/workflow.es.js +17 -15
- package/dist/zh-CN-B8y9prPe.js +3035 -0
- package/dist/zh-HANT-ChrXbHBA.js +3035 -0
- package/dist/zh-TW-DrkMIR_e.js +3035 -0
- package/dist/zh-aG_wPYUs.js +3035 -0
- package/package.json +32 -22
- package/dist/bottomSheet-BWEUBq8m.js +0 -38
- package/dist/dateInputComposed-BGC37jC7.js +0 -1
- package/dist/documentCapture-CO9kIxru.js +0 -2
- package/dist/dropdownComposed-Bf4EcKFw.js +0 -1
- package/dist/ekybModule-uN0ComAn.js +0 -2
- package/dist/ekycModule-B7KRJ7l3.js +0 -2
- package/dist/faceMatch-DjD2hgBp.js +0 -2
- package/dist/fieldComparison-DFH4hUM_.js +0 -2
- package/dist/inputComposed-kKtrvJU5.js +0 -1
- package/dist/pdfViewer-C1B-07Wu.js +0 -2
- package/dist/requiredLabelHint-Dx0WS2cR.js +0 -17
- package/dist/snackbar-eBOj46AK.js +0 -16
- package/dist/spinner-CJCOHUKx.js +0 -95
- package/dist/successIcon-DS8BLsgy.js +0 -30
- package/dist/types/dynamic-forms/styles.d.ts +0 -1
- /package/dist/{aligndevicelottie-CfoZ5Uus.js → aligndevicelottie-B12hbVhG.js} +0 -0
- /package/dist/{back-tutorial-BHyRHyET.js → back-tutorial-XdmQ0Wml.js} +0 -0
- /package/dist/{backdevicelottie-yKkczgFy.js → backdevicelottie-m_DOD8xE.js} +0 -0
- /package/dist/{blurdevicelottie-8BbophdM.js → blurdevicelottie-DQo_hTMD.js} +0 -0
- /package/dist/{browser-ponyfill-CBjGwwPW.js → browser-ponyfill-ZkeBm4ji.js} +0 -0
- /package/dist/{defineProperty-BbpBna-2.js → defineProperty-BojnCa44.js} +0 -0
- /package/dist/{flip-animation-CvN8FLNc.js → flip-animation-VicedlT5.js} +0 -0
- /package/dist/{frontdevicelottie-CFcahVLk.js → frontdevicelottie-CyIerlMv.js} +0 -0
- /package/dist/{glaredevicelottie-Cnvah0kz.js → glaredevicelottie-QM2C6Ivp.js} +0 -0
- /package/dist/{id-laser-h-BaUHzX-d.js → id-laser-h-B0-iXcvl.js} +0 -0
- /package/dist/{id-laser-v-Dv9yEYJE.js → id-laser-v-Bqh6vimi.js} +0 -0
- /package/dist/{id-tutorial-BOOsXlAJ.js → id-tutorial-IhmAzrIF.js} +0 -0
- /package/dist/{lottie_light-Bv56F2Ae.js → lottie_light-CzZ3CHBk.js} +0 -0
- /package/dist/{passport-tutorial-CeSup6m9.js → passport-tutorial-61vlloJS.js} +0 -0
- /package/dist/{selfieTutorial-CYa8bq6B.js → selfieTutorial-BRQ2QNxQ.js} +0 -0
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as Spacer } from "../spacer-
|
|
5
|
-
import {
|
|
6
|
-
import "../
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import
|
|
10
|
-
import { t as
|
|
11
|
-
import "../
|
|
12
|
-
import { t as
|
|
13
|
-
import "../dateInputComposed-BGC37jC7.js";
|
|
14
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-9K8KUs61.js";
|
|
15
|
-
import { n as getRequiredHintMode, t as getFieldHint } from "../requiredLabelHint-Dx0WS2cR.js";
|
|
1
|
+
import { o as useTranslation } from "../uiConfig-C1jdTj-i.js";
|
|
2
|
+
import { S as k, v as u } from "../vendor-preact-C0jX1Cbq.js";
|
|
3
|
+
import { S as useManager, b as useModuleTerminalCallbacks, c as Page, d as TransitionSpinner, i as withStandaloneModuleBootstrap, t as IncodeComponent } from "../incodeComponent-D3_BSWan.js";
|
|
4
|
+
import { t as Spacer } from "../spacer-ayyj5lMa.js";
|
|
5
|
+
import { b as ErrorIcon, r as SuccessIcon, x as Button } from "../icons-eIgP34nj.js";
|
|
6
|
+
import { t as AutoFocusTitle } from "../autoFocusTitle-CIbcUW_x.js";
|
|
7
|
+
import { t as InputComposed } from "../inputComposed-CTZnsHLi.js";
|
|
8
|
+
import { t as DropdownComposed } from "../dropdownComposed-DYdI3B4r.js";
|
|
9
|
+
import "../dropdownComposed-CXwC9j18.js";
|
|
10
|
+
import { t as DateInputComposed } from "../dateInputComposed-BcmKKwRL.js";
|
|
11
|
+
import "../dateInputComposed-DPM6l_SL.js";
|
|
12
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-BQgvYKyr.js";
|
|
16
13
|
import { GENERATE_CURP_FIELDS, createCurpValidationManager, mexicanStates } from "@incodetech/core/curp-validation";
|
|
17
14
|
//#region src/modules/curp-validation/curpInput.tsx
|
|
18
15
|
var CurpInput = ({ curp, errorKey, onCurpChange, onCurpBlur, onVerify, onSwitchToGenerate, disabled = false, placeholder, continueLabel, dontHaveLabel }) => {
|
|
@@ -34,11 +31,11 @@ var CurpInput = ({ curp, errorKey, onCurpChange, onCurpBlur, onVerify, onSwitchT
|
|
|
34
31
|
value: curp,
|
|
35
32
|
onInput: handleInput,
|
|
36
33
|
onBlur: onCurpBlur,
|
|
34
|
+
label: t("curp.placeholder.curp") ?? "CURP",
|
|
37
35
|
placeholder: displayPlaceholder,
|
|
38
36
|
disabled,
|
|
39
37
|
required: true,
|
|
40
38
|
maxLength: 18,
|
|
41
|
-
"aria-label": t("curp.placeholder.curp") ?? "CURP",
|
|
42
39
|
error: errorMessage,
|
|
43
40
|
showErrorIcon: !!errorMessage
|
|
44
41
|
}),
|
|
@@ -80,7 +77,6 @@ var GenerateCurpFormComponent = ({ form, validationErrors, onFormChange, onValid
|
|
|
80
77
|
generate: t("curp.generateCta") ?? "Generate CURP",
|
|
81
78
|
...customLabels
|
|
82
79
|
};
|
|
83
|
-
const mode = T(() => getRequiredHintMode(GENERATE_CURP_FIELDS.map((f) => f.required)), []);
|
|
84
80
|
const hasValidationErrors = !!validationErrors && Object.keys(validationErrors).length > 0;
|
|
85
81
|
const handleTextChange = (field) => (e) => {
|
|
86
82
|
const target = e.target;
|
|
@@ -118,8 +114,6 @@ var GenerateCurpFormComponent = ({ form, validationErrors, onFormChange, onValid
|
|
|
118
114
|
}
|
|
119
115
|
};
|
|
120
116
|
const renderField = (field) => {
|
|
121
|
-
const hint = getFieldHint(mode, field.required);
|
|
122
|
-
const labelHint = hint ? t(`forms.label.${hint}`) ?? void 0 : void 0;
|
|
123
117
|
const errorKey = validationErrors?.[field.key];
|
|
124
118
|
const errorMessage = errorKey ? t(errorKey) ?? void 0 : void 0;
|
|
125
119
|
const label = labelForField(field.key);
|
|
@@ -129,7 +123,6 @@ var GenerateCurpFormComponent = ({ form, validationErrors, onFormChange, onValid
|
|
|
129
123
|
return /* @__PURE__ */ u(DropdownComposed, {
|
|
130
124
|
id: `curp-${field.key === "birthState" ? "birth-state" : "gender"}`,
|
|
131
125
|
label,
|
|
132
|
-
labelHint,
|
|
133
126
|
placeholder,
|
|
134
127
|
value: form[field.key],
|
|
135
128
|
options,
|
|
@@ -149,7 +142,6 @@ var GenerateCurpFormComponent = ({ form, validationErrors, onFormChange, onValid
|
|
|
149
142
|
if (field.type === "date") return /* @__PURE__ */ u(DateInputComposed, {
|
|
150
143
|
id: "curp-birth-date",
|
|
151
144
|
label,
|
|
152
|
-
labelHint,
|
|
153
145
|
value: form.birthDate,
|
|
154
146
|
onInput: handleTextChange("birthDate"),
|
|
155
147
|
onBlur: handleBlur("birthDate"),
|
|
@@ -164,7 +156,6 @@ var GenerateCurpFormComponent = ({ form, validationErrors, onFormChange, onValid
|
|
|
164
156
|
return /* @__PURE__ */ u(InputComposed, {
|
|
165
157
|
id: field.key === "name" ? "curp-first-name" : field.key === "firstLastName" ? "curp-first-last" : "curp-second-last",
|
|
166
158
|
label,
|
|
167
|
-
labelHint,
|
|
168
159
|
value: form[field.key],
|
|
169
160
|
onInput: handleTextChange(field.key),
|
|
170
161
|
onBlur: handleBlur(field.key),
|
|
@@ -212,6 +203,7 @@ var CurpValidationContent = ({ config, manager: externalManager, onFinish, onErr
|
|
|
212
203
|
if (state.status === "enterCurp") return /* @__PURE__ */ u(Page, {
|
|
213
204
|
className: "IncodeCurpValidationPage",
|
|
214
205
|
title: t("curp.enterCurp") ?? "Enter your CURP",
|
|
206
|
+
subtitle: t("forms.subtitle"),
|
|
215
207
|
children: /* @__PURE__ */ u(CurpInput, {
|
|
216
208
|
curp: state.curp,
|
|
217
209
|
errorKey: state.validationErrors?.curp,
|
|
@@ -227,6 +219,7 @@ var CurpValidationContent = ({ config, manager: externalManager, onFinish, onErr
|
|
|
227
219
|
if (state.status === "generateCurp") return /* @__PURE__ */ u(Page, {
|
|
228
220
|
className: "IncodeCurpValidationPage IncodeCurpGeneratePage",
|
|
229
221
|
title: t("curp.generate") ?? "Generate your CURP",
|
|
222
|
+
subtitle: t("forms.subtitle"),
|
|
230
223
|
hideFooterBranding: true,
|
|
231
224
|
children: /* @__PURE__ */ u(GenerateCurpFormComponent, {
|
|
232
225
|
form: state.form,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n.IncodeCurpValidationPage .IncodePageContent {\n padding-top: var(--spacing-32, var(--spacing-32, 32px));\n padding-bottom: var(--spacing-16, var(--spacing-16, 16px));\n flex-direction: column;\n align-items: center;\n display: flex;\n}\n\n@media (min-width: 48rem) {\n .IncodeCurpValidationPage.IncodeCurpGeneratePage.IncodePageContainer {\n align-items: stretch;\n }\n\n .IncodeCurpValidationPage.IncodeCurpGeneratePage .IncodePageInner {\n height: 100%;\n min-height: var(--spacing-0, var(--spacing-none, 0px));\n }\n\n .IncodeCurpValidationPage.IncodeCurpGeneratePage .IncodePageContent {\n min-height: var(--spacing-0, var(--spacing-none, 0px));\n }\n}\n\n.IncodeCurpValidationPage .IncodeCurpValidation {\n flex-direction: column;\n align-items: center;\n width: 100%;\n height: 100%;\n display: flex;\n}\n\n.IncodeCurpValidationPage .IncodeCurpInput {\n min-height: var(--spacing-0, var(--spacing-none, 0px));\n width: 100%;\n max-width: var(--incode-form-max-w);\n gap: var(--spacing-12, var(--spacing-12, 12px));\n flex-direction: column;\n flex: 1;\n display: flex;\n}\n\n.IncodeCurpValidationPage .IncodeCurpInput .IncodeButtonSecondary:focus {\n text-decoration: none;\n}\n\n.IncodeCurpValidationPage .IncodeCurpInput .IncodeButtonSecondary:active {\n color: var(--color-button-secondary-text-default, var(--button-secondary-text-default));\n}\n\n.IncodeCurpValidationPage .IncodeGenerateCurpForm {\n width: 100%;\n max-width: var(--incode-form-max-w);\n flex-direction: column;\n display: flex;\n}\n\n@media (min-width: 48rem) {\n .IncodeCurpValidationPage .IncodeGenerateCurpForm {\n min-height: var(--spacing-0, var(--spacing-none, 0px));\n }\n}\n\n.IncodeCurpValidationPage .IncodeGenerateCurpFields {\n gap: var(--spacing-8, var(--spacing-8, 8px));\n flex-direction: column;\n width: 100%;\n display: flex;\n}\n\n@media (min-width: 48rem) {\n .IncodeCurpValidationPage .IncodeGenerateCurpFields {\n min-height: var(--spacing-0, var(--spacing-none, 0px));\n padding-bottom: var(--spacing-8, var(--spacing-8, 8px));\n flex: 1;\n overflow-y: auto;\n }\n}\n\n.IncodeCurpValidationPage .IncodeGenerateCurpFooter {\n width: 100%;\n padding-top: var(--spacing-16, var(--spacing-16, 16px));\n}\n\n@media (min-width: 48rem) {\n .IncodeCurpValidationPage .IncodeGenerateCurpFooter {\n flex-shrink: 0;\n }\n}\n\n.IncodeCurpValidationPage .IncodeCurpConfirm {\n width: 100%;\n max-width: var(--incode-curp-confirm-max-w);\n flex-direction: column;\n align-items: center;\n display: flex;\n}\n\n.IncodeCurpValidationPage .IncodeCurpConfirm .IncodeInput {\n text-align: center;\n font-family: var(--typography-input-dropdown-family);\n font-size: var(--typography-input-dropdown-m-size);\n font-weight: var(--typography-input-dropdown-m-weight);\n line-height: var(--typography-input-dropdown-m-line-height);\n letter-spacing: var(--typography-input-dropdown-m-letter-spacing);\n}\n\n.IncodeCurpValidationPage .IncodeCurpSuccess, .IncodeCurpValidationPage .IncodeCurpFailure {\n flex-direction: column;\n justify-content: center;\n align-items: center;\n display: flex;\n}\n\n.IncodeCurpValidationPage .IncodeCurpSuccessTitle, .IncodeCurpValidationPage .IncodeCurpFailureTitle {\n margin: var(--spacing-0, var(--spacing-none, 0px));\n padding: var(--spacing-0, var(--spacing-none, 0px));\n}\n\n.IncodeCurpValidationPage .IncodeCurpFailureHint {\n margin: var(--spacing-0, var(--spacing-none, 0px));\n text-align: center;\n font-family: var(--typography-headline-family);\n font-size: var(--typography-headline-h5-size);\n font-weight: var(--typography-headline-h5-weight);\n line-height: var(--typography-headline-h5-line-height);\n letter-spacing: var(--typography-headline-h5-letter-spacing);\n color: var(--color-text-body-secondary, var(--text-body-500-secondary));\n}\n";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n.IncodeCustomFieldsForm {\n margin-top: var(--spacing-32, var(--spacing-32, 32px));\n margin-bottom: var(--spacing-16, var(--spacing-16, 16px));\n gap: var(--spacing-16, var(--spacing-16, 16px));\n flex-direction: column;\n flex: 1;\n width: 100%;\n display: flex;\n overflow-y: auto;\n}\n\n.IncodeCustomFieldsForm .IncodeCustomFieldsField {\n flex-direction: column;\n align-items: center;\n width: 100%;\n display: flex;\n}\n\n.IncodeCustomFieldsPage .IncodePageHeader {\n margin-bottom: var(--spacing-16, var(--spacing-16, 16px));\n}\n";
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { n as LoadingIcon, t as Spacer } from "./spacer-
|
|
5
|
-
import { r as Button } from "./
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as registerIncodeModuleElement } from "./incodeModule-9K8KUs61.js";
|
|
1
|
+
import { o as useTranslation } from "./uiConfig-C1jdTj-i.js";
|
|
2
|
+
import { f as d, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
+
import { S as useManager, b as useModuleTerminalCallbacks, c as Page, i as withStandaloneModuleBootstrap, t as IncodeComponent } from "./incodeComponent-D3_BSWan.js";
|
|
4
|
+
import { n as LoadingIcon, t as Spacer } from "./spacer-ayyj5lMa.js";
|
|
5
|
+
import { r as SuccessIcon, x as Button } from "./icons-eIgP34nj.js";
|
|
6
|
+
import { t as StatusPage } from "./statusPage-Bqz3Ci4f.js";
|
|
7
|
+
import { t as InputComposed } from "./inputComposed-CTZnsHLi.js";
|
|
8
|
+
import { t as Checkbox } from "./checkbox-D0wfscwg.js";
|
|
9
|
+
import { t as DateInputComposed } from "./dateInputComposed-BcmKKwRL.js";
|
|
10
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-BQgvYKyr.js";
|
|
12
11
|
import { createCustomFieldsManager } from "@incodetech/core/custom-fields";
|
|
13
12
|
//#region src/modules/custom-fields/customFields.tsx
|
|
14
13
|
var INPUT_TYPE_MAP = {
|
|
@@ -17,14 +16,19 @@ var INPUT_TYPE_MAP = {
|
|
|
17
16
|
STRING: "text"
|
|
18
17
|
};
|
|
19
18
|
var INPUT_STEP_MAP = { DOUBLE: "any" };
|
|
20
|
-
var DateFieldInput = ({ field, isDisabled, onChange }) => {
|
|
19
|
+
var DateFieldInput = ({ error, field, isDisabled, required, onChange }) => {
|
|
21
20
|
const [dateValue, setDateValue] = d("");
|
|
21
|
+
const id = `custom-field-${field.name}`;
|
|
22
22
|
return /* @__PURE__ */ u("div", {
|
|
23
23
|
class: "IncodeCustomFieldsField",
|
|
24
24
|
children: /* @__PURE__ */ u(DateInputComposed, {
|
|
25
|
-
id
|
|
25
|
+
id,
|
|
26
26
|
name: field.name,
|
|
27
27
|
label: field.label,
|
|
28
|
+
"data-testid": id,
|
|
29
|
+
error,
|
|
30
|
+
showErrorIcon: !!error,
|
|
31
|
+
required,
|
|
28
32
|
disabled: isDisabled,
|
|
29
33
|
value: dateValue,
|
|
30
34
|
onInput: (e) => {
|
|
@@ -35,7 +39,7 @@ var DateFieldInput = ({ field, isDisabled, onChange }) => {
|
|
|
35
39
|
})
|
|
36
40
|
});
|
|
37
41
|
};
|
|
38
|
-
var CustomFieldInput = ({ field, isDisabled, onChange }) => {
|
|
42
|
+
var CustomFieldInput = ({ error, field, isDisabled, required, onChange }) => {
|
|
39
43
|
const id = `custom-field-${field.name}`;
|
|
40
44
|
if (field.type === "BOOLEAN") return /* @__PURE__ */ u("div", {
|
|
41
45
|
class: "IncodeCustomFieldsField",
|
|
@@ -43,13 +47,18 @@ var CustomFieldInput = ({ field, isDisabled, onChange }) => {
|
|
|
43
47
|
id,
|
|
44
48
|
name: field.name,
|
|
45
49
|
label: field.label,
|
|
50
|
+
"data-testid": id,
|
|
51
|
+
error,
|
|
52
|
+
required,
|
|
46
53
|
disabled: isDisabled,
|
|
47
54
|
onChange: (e) => onChange(field.name, e.target.checked)
|
|
48
55
|
})
|
|
49
56
|
});
|
|
50
57
|
if (field.type === "DATE") return /* @__PURE__ */ u(DateFieldInput, {
|
|
58
|
+
error,
|
|
51
59
|
field,
|
|
52
60
|
isDisabled,
|
|
61
|
+
required,
|
|
53
62
|
onChange
|
|
54
63
|
});
|
|
55
64
|
return /* @__PURE__ */ u("div", {
|
|
@@ -58,8 +67,12 @@ var CustomFieldInput = ({ field, isDisabled, onChange }) => {
|
|
|
58
67
|
id,
|
|
59
68
|
name: field.name,
|
|
60
69
|
label: field.label,
|
|
70
|
+
"data-testid": id,
|
|
71
|
+
error,
|
|
72
|
+
showErrorIcon: !!error,
|
|
61
73
|
type: INPUT_TYPE_MAP[field.type] ?? "text",
|
|
62
74
|
step: INPUT_STEP_MAP[field.type],
|
|
75
|
+
required,
|
|
63
76
|
disabled: isDisabled,
|
|
64
77
|
onInput: (e) => onChange(field.name, e.target.value)
|
|
65
78
|
})
|
|
@@ -79,6 +92,7 @@ var CustomFieldsContent = ({ config, manager: externalManager, onFinish, onError
|
|
|
79
92
|
status: state.status === "finished" ? "finished" : "loading",
|
|
80
93
|
onFinish
|
|
81
94
|
});
|
|
95
|
+
if (state.status === "idle") return null;
|
|
82
96
|
if (state.status === "success") return /* @__PURE__ */ u(StatusPage, {
|
|
83
97
|
variant: "success",
|
|
84
98
|
icon: /* @__PURE__ */ u(SuccessIcon, { size: 64 }),
|
|
@@ -101,24 +115,35 @@ var CustomFieldsContent = ({ config, manager: externalManager, onFinish, onError
|
|
|
101
115
|
return /* @__PURE__ */ u(Page, {
|
|
102
116
|
className: "IncodeCustomFieldsPage",
|
|
103
117
|
title,
|
|
118
|
+
subtitle: t("forms.subtitle"),
|
|
104
119
|
hideFooterBranding: true,
|
|
120
|
+
"data-testid": "custom-fields-page",
|
|
105
121
|
children: /* @__PURE__ */ u("form", {
|
|
106
122
|
class: "IncodeCustomFieldsForm",
|
|
123
|
+
"data-testid": "custom-fields-form",
|
|
124
|
+
noValidate: true,
|
|
107
125
|
onSubmit: (e) => {
|
|
108
126
|
e.preventDefault();
|
|
109
127
|
manager.submit();
|
|
110
128
|
},
|
|
111
129
|
autoComplete: "off",
|
|
112
130
|
children: [
|
|
113
|
-
customFields.map((field) =>
|
|
114
|
-
field
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
131
|
+
customFields.map((field) => {
|
|
132
|
+
const required = field.type !== "BOOLEAN";
|
|
133
|
+
const errorKey = state.validationErrors?.[field.name];
|
|
134
|
+
return /* @__PURE__ */ u(CustomFieldInput, {
|
|
135
|
+
error: errorKey ? t(errorKey, { fieldName: field.label }) : void 0,
|
|
136
|
+
field,
|
|
137
|
+
isDisabled: false,
|
|
138
|
+
required,
|
|
139
|
+
onChange: handleChange
|
|
140
|
+
}, field.name);
|
|
141
|
+
}),
|
|
118
142
|
/* @__PURE__ */ u(Spacer, {}),
|
|
119
143
|
/* @__PURE__ */ u(Button, {
|
|
120
144
|
type: "submit",
|
|
121
145
|
disabled: !canSubmit,
|
|
146
|
+
"data-testid": "custom-fields-submit",
|
|
122
147
|
children: t("customFields.continue")
|
|
123
148
|
})
|
|
124
149
|
]
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { n as LoadingIcon } from "./spacer-
|
|
5
|
-
import {
|
|
6
|
-
import { t as StatusPage } from "./statusPage-
|
|
7
|
-
import { t as registerIncodeModuleElement } from "./incodeModule-
|
|
1
|
+
import { o as useTranslation } from "./uiConfig-C1jdTj-i.js";
|
|
2
|
+
import { _ as y, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
+
import { S as useManager, b as useModuleTerminalCallbacks, i as withStandaloneModuleBootstrap, t as IncodeComponent } from "./incodeComponent-D3_BSWan.js";
|
|
4
|
+
import { n as LoadingIcon } from "./spacer-ayyj5lMa.js";
|
|
5
|
+
import { r as SuccessIcon } from "./icons-eIgP34nj.js";
|
|
6
|
+
import { t as StatusPage } from "./statusPage-Bqz3Ci4f.js";
|
|
7
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-BQgvYKyr.js";
|
|
8
8
|
import { createCustomWatchlistManager } from "@incodetech/core/custom-watchlist";
|
|
9
9
|
//#region src/modules/custom-watchlist/customWatchlist.tsx
|
|
10
|
-
var CustomWatchlistContent = ({ onFinish }) => {
|
|
10
|
+
var CustomWatchlistContent = ({ manager: externalManager, onFinish }) => {
|
|
11
11
|
const { t } = useTranslation();
|
|
12
|
-
const [state, manager] = useManager(() => createCustomWatchlistManager());
|
|
12
|
+
const [state, manager] = useManager(() => externalManager ?? createCustomWatchlistManager(), { manageLifecycle: !externalManager });
|
|
13
13
|
y(() => {
|
|
14
14
|
manager.load();
|
|
15
15
|
}, [manager]);
|
|
@@ -29,8 +29,11 @@ var CustomWatchlistContent = ({ onFinish }) => {
|
|
|
29
29
|
subtitle: t("customWatchlist.wontTake")
|
|
30
30
|
});
|
|
31
31
|
};
|
|
32
|
-
var CustomWatchlistWithLocalConfig = ({ onFinish }) => /* @__PURE__ */ u(IncodeComponent, { children: /* @__PURE__ */ u(CustomWatchlistContent, {
|
|
33
|
-
|
|
32
|
+
var CustomWatchlistWithLocalConfig = ({ manager, onFinish }) => /* @__PURE__ */ u(IncodeComponent, { children: /* @__PURE__ */ u(CustomWatchlistContent, {
|
|
33
|
+
manager,
|
|
34
|
+
onFinish
|
|
35
|
+
}) });
|
|
36
|
+
var CustomWatchlist = withStandaloneModuleBootstrap(CustomWatchlistWithLocalConfig, "INCODE_WATCHLIST", { supportsExternalManager: true });
|
|
34
37
|
registerIncodeModuleElement(CustomWatchlist, "incode-custom-watchlist");
|
|
35
38
|
//#endregion
|
|
36
39
|
export { CustomWatchlist };
|