@incodetech/web 2.2.0 → 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
|
@@ -37,6 +37,28 @@
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
@keyframes incodeToastFadeInOut {
|
|
41
|
+
0% {
|
|
42
|
+
opacity: 0;
|
|
43
|
+
transform: translate(-50%, -20px);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
15% {
|
|
47
|
+
opacity: 1;
|
|
48
|
+
transform: translate(-50%);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
85% {
|
|
52
|
+
opacity: 1;
|
|
53
|
+
transform: translate(-50%);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
100% {
|
|
57
|
+
opacity: 0;
|
|
58
|
+
transform: translate(-50%, -20px);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
40
62
|
.IncodeCaptureContainer {
|
|
41
63
|
flex-direction: column;
|
|
42
64
|
flex: 1;
|
|
@@ -51,12 +73,12 @@
|
|
|
51
73
|
|
|
52
74
|
.IncodeCaptureContainer .IncodeCaptureFrame {
|
|
53
75
|
aspect-ratio: 1;
|
|
76
|
+
width: 100%;
|
|
77
|
+
max-width: var(--face-capture-frame-max-w);
|
|
54
78
|
border-radius: var(--radius-full, var(--border-radius-full));
|
|
55
79
|
border-style: var(--tw-border-style);
|
|
56
80
|
border-width: 12px;
|
|
57
81
|
border-color: #0000;
|
|
58
|
-
width: 100%;
|
|
59
|
-
max-width: 335px;
|
|
60
82
|
position: relative;
|
|
61
83
|
}
|
|
62
84
|
|
|
@@ -68,7 +90,7 @@
|
|
|
68
90
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
69
91
|
transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
|
|
70
92
|
border-radius: var(--radius-full, var(--border-radius-full));
|
|
71
|
-
background-color: var(--color-
|
|
93
|
+
background-color: var(--color-surface-neutral-100-static, var(--surface-neutral-100-static));
|
|
72
94
|
justify-content: center;
|
|
73
95
|
align-items: center;
|
|
74
96
|
display: flex;
|
|
@@ -86,12 +108,17 @@
|
|
|
86
108
|
}
|
|
87
109
|
|
|
88
110
|
.IncodeCaptureContainer .IncodeCaptureVideoElement {
|
|
111
|
+
inset: var(--spacing-0, var(--spacing-none, 0px));
|
|
89
112
|
object-fit: cover;
|
|
90
113
|
width: 100%;
|
|
91
114
|
height: 100%;
|
|
92
115
|
position: absolute;
|
|
93
116
|
}
|
|
94
117
|
|
|
118
|
+
.IncodeCaptureContainer .IncodeCaptureVideoElement.IncodeMediaCoverPending {
|
|
119
|
+
opacity: 0;
|
|
120
|
+
}
|
|
121
|
+
|
|
95
122
|
.IncodeCaptureContainer .IncodeCaptureVideoElement.IncodeCaptureVideoMirrored {
|
|
96
123
|
transform: scaleX(-1);
|
|
97
124
|
}
|
|
@@ -103,12 +130,17 @@
|
|
|
103
130
|
}
|
|
104
131
|
|
|
105
132
|
.IncodeCaptureContainer .IncodeCaptureAvatarElement {
|
|
133
|
+
inset: var(--spacing-0, var(--spacing-none, 0px));
|
|
106
134
|
object-fit: cover;
|
|
107
135
|
width: 100%;
|
|
108
136
|
height: 100%;
|
|
109
137
|
position: absolute;
|
|
110
138
|
}
|
|
111
139
|
|
|
140
|
+
.IncodeCaptureContainer .IncodeCaptureAvatarElement.IncodeMediaCoverPending {
|
|
141
|
+
opacity: 0;
|
|
142
|
+
}
|
|
143
|
+
|
|
112
144
|
.IncodeCaptureContainer .IncodeCaptureAvatarElement.IncodeCaptureAvatarMirrored {
|
|
113
145
|
transform: scaleX(-1);
|
|
114
146
|
}
|
|
@@ -133,7 +165,7 @@
|
|
|
133
165
|
.IncodeLoadingBorder {
|
|
134
166
|
aspect-ratio: 1;
|
|
135
167
|
width: 100%;
|
|
136
|
-
max-width:
|
|
168
|
+
max-width: var(--face-capture-frame-max-w);
|
|
137
169
|
position: absolute;
|
|
138
170
|
}
|
|
139
171
|
|
|
@@ -188,9 +220,9 @@
|
|
|
188
220
|
background-color: var(--color-surface-neutral-900-80, var(--surface-neutral-900-80));
|
|
189
221
|
width: 100%;
|
|
190
222
|
padding-inline: var(--spacing-20, var(--spacing-20, 20px));
|
|
223
|
+
box-shadow: var(--id-capture-notification-content-shadow);
|
|
191
224
|
display: flex;
|
|
192
225
|
overflow: hidden;
|
|
193
|
-
box-shadow: 0 2.079px 36.379px #00000059;
|
|
194
226
|
}
|
|
195
227
|
|
|
196
228
|
.IncodeIdCaptureNotification .IncodeIdCaptureNotificationContent .IncodeIdCaptureNotificationText {
|
|
@@ -230,7 +262,7 @@
|
|
|
230
262
|
}
|
|
231
263
|
|
|
232
264
|
.IncodeVideoSelfieCapturePage {
|
|
233
|
-
background-color: var(--color
|
|
265
|
+
background-color: var(--capture-page-backdrop-color);
|
|
234
266
|
}
|
|
235
267
|
|
|
236
268
|
.IncodeVideoSelfieCapturePage .IncodePageInner {
|
|
@@ -380,7 +412,7 @@
|
|
|
380
412
|
}
|
|
381
413
|
|
|
382
414
|
.IncodeVideoSelfieTutorialStartButton {
|
|
383
|
-
max-width:
|
|
415
|
+
max-width: var(--incode-form-max-w);
|
|
384
416
|
margin: auto;
|
|
385
417
|
}
|
|
386
418
|
|
|
@@ -622,20 +654,22 @@
|
|
|
622
654
|
}
|
|
623
655
|
|
|
624
656
|
.IncodeVsPoaBanner {
|
|
625
|
-
|
|
657
|
+
top: var(--spacing-0, var(--spacing-none, 0px));
|
|
658
|
+
right: var(--spacing-0, var(--spacing-none, 0px));
|
|
659
|
+
left: var(--spacing-0, var(--spacing-none, 0px));
|
|
660
|
+
background-color: var(--color-surface-neutral-1000-80-static, var(--surface-neutral-1000-80-static));
|
|
661
|
+
padding-inline: var(--spacing-16, var(--spacing-16, 16px));
|
|
662
|
+
padding-top: var(--poa-mask-banner-padding-top);
|
|
663
|
+
padding-bottom: var(--spacing-16, var(--spacing-16, 16px));
|
|
626
664
|
justify-content: center;
|
|
627
665
|
align-items: center;
|
|
628
|
-
padding: 80px 16px 16px;
|
|
629
666
|
display: flex;
|
|
630
667
|
position: absolute;
|
|
631
|
-
top: 0;
|
|
632
|
-
left: 0;
|
|
633
|
-
right: 0;
|
|
634
668
|
}
|
|
635
669
|
|
|
636
670
|
.IncodeVsPoaBannerText {
|
|
637
671
|
text-align: center;
|
|
638
|
-
color:
|
|
672
|
+
color: var(--poa-mask-banner-text-color);
|
|
639
673
|
margin: 0;
|
|
640
674
|
font-size: 1.5rem;
|
|
641
675
|
font-weight: 700;
|
|
@@ -643,16 +677,16 @@
|
|
|
643
677
|
}
|
|
644
678
|
|
|
645
679
|
.IncodeVsPoaBannerEmphasis {
|
|
646
|
-
color:
|
|
680
|
+
color: var(--poa-mask-emphasis-color);
|
|
647
681
|
}
|
|
648
682
|
|
|
649
683
|
.IncodeVsPoaActions {
|
|
684
|
+
right: var(--spacing-16, var(--spacing-16, 16px));
|
|
685
|
+
bottom: var(--spacing-16, var(--spacing-16, 16px));
|
|
686
|
+
left: var(--spacing-16, var(--spacing-16, 16px));
|
|
650
687
|
justify-content: center;
|
|
651
688
|
display: flex;
|
|
652
689
|
position: absolute;
|
|
653
|
-
bottom: 16px;
|
|
654
|
-
left: 16px;
|
|
655
|
-
right: 16px;
|
|
656
690
|
}
|
|
657
691
|
|
|
658
692
|
.IncodeVsPoaButton {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n@layer properties {\n @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {\n .IncodeComponent, .IncodeComponent *, .IncodeComponent :before, .IncodeComponent :after, .IncodeComponent ::backdrop {\n --tw-border-style: solid;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n }\n }\n}\n\n@layer incode-theme, incode-utilities, incode-base, incode-components;\n\n@keyframes slideUp {\n from {\n transform: translateY(100%);\n }\n\n to {\n transform: translateY(0);\n }\n}\n\n@keyframes fadeIn {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n}\n\n@keyframes incodeToastFadeInOut {\n 0% {\n opacity: 0;\n transform: translate(-50%, -20px);\n }\n\n 15% {\n opacity: 1;\n transform: translate(-50%);\n }\n\n 85% {\n opacity: 1;\n transform: translate(-50%);\n }\n\n 100% {\n opacity: 0;\n transform: translate(-50%, -20px);\n }\n}\n\n.IncodeCaptureContainer {\n flex-direction: column;\n flex: 1;\n justify-content: flex-start;\n align-items: center;\n width: 100%;\n height: 100%;\n display: flex;\n position: relative;\n overflow: hidden;\n}\n\n.IncodeCaptureContainer .IncodeCaptureFrame {\n aspect-ratio: 1;\n width: 100%;\n max-width: var(--face-capture-frame-max-w);\n border-radius: var(--radius-full, var(--border-radius-full));\n border-style: var(--tw-border-style);\n border-width: 12px;\n border-color: #0000;\n position: relative;\n}\n\n.IncodeCaptureContainer .IncodeCaptureVideoWrapper {\n --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);\n --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);\n width: calc(100% - 24px);\n height: calc(100% - 24px);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );\n border-radius: var(--radius-full, var(--border-radius-full));\n background-color: var(--color-surface-neutral-100-static, var(--surface-neutral-100-static));\n justify-content: center;\n align-items: center;\n display: flex;\n position: absolute;\n top: 50%;\n left: 50%;\n overflow: hidden;\n}\n\n.IncodeCaptureContainer .IncodeCaptureVideo {\n z-index: 50;\n width: 100%;\n height: 100%;\n position: absolute;\n}\n\n.IncodeCaptureContainer .IncodeCaptureVideoElement {\n inset: var(--spacing-0, var(--spacing-none, 0px));\n object-fit: cover;\n width: 100%;\n height: 100%;\n position: absolute;\n}\n\n.IncodeCaptureContainer .IncodeCaptureVideoElement.IncodeMediaCoverPending {\n opacity: 0;\n}\n\n.IncodeCaptureContainer .IncodeCaptureVideoElement.IncodeCaptureVideoMirrored {\n transform: scaleX(-1);\n}\n\n.IncodeCaptureContainer .IncodeCaptureAvatarHost {\n width: 100%;\n height: 100%;\n position: absolute;\n}\n\n.IncodeCaptureContainer .IncodeCaptureAvatarElement {\n inset: var(--spacing-0, var(--spacing-none, 0px));\n object-fit: cover;\n width: 100%;\n height: 100%;\n position: absolute;\n}\n\n.IncodeCaptureContainer .IncodeCaptureAvatarElement.IncodeMediaCoverPending {\n opacity: 0;\n}\n\n.IncodeCaptureContainer .IncodeCaptureAvatarElement.IncodeCaptureAvatarMirrored {\n transform: scaleX(-1);\n}\n\n.IncodeCaptureVisuallyHidden {\n clip-path: inset(50%);\n white-space: nowrap;\n border-width: 0;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n position: absolute;\n overflow: hidden;\n}\n\n.IncodeFaceOutline {\n width: 100%;\n height: 100%;\n}\n\n.IncodeLoadingBorder {\n aspect-ratio: 1;\n width: 100%;\n max-width: var(--face-capture-frame-max-w);\n position: absolute;\n}\n\n.IncodeLoadingBorder .IncodeLoadingBorderBase, .IncodeLoadingBorder .IncodeLoadingBorderForeground {\n inset: var(--spacing-0, var(--spacing-none, 0px));\n position: absolute;\n}\n\n.IncodeLoadingBorder .IncodeLoadingBorderForeground.IncodeLoadingBorderSpinning {\n animation: var(--animate-spin, spin 1s linear infinite);\n}\n\n.IncodeLoadingBorder .IncodeLoadingBorderPath {\n transition: all 1s ease-in-out;\n}\n\n.IncodeNotification {\n flex-direction: column;\n align-items: center;\n display: flex;\n}\n\n.IncodeNotification .IncodeNotificationText {\n text-align: center;\n font-family: var(--typography-feedback-family);\n font-size: var(--typography-feedback-l-size);\n font-weight: var(--typography-feedback-l-weight);\n line-height: var(--typography-feedback-l-line-height);\n letter-spacing: var(--typography-feedback-l-letter-spacing);\n color: var(--color-text-body-primary, var(--text-body-800-primary));\n}\n\n.IncodeIdCaptureNotification {\n top: var(--spacing-24, var(--spacing-24, 24px));\n right: var(--spacing-24, var(--spacing-24, 24px));\n left: var(--spacing-24, var(--spacing-24, 24px));\n z-index: 100;\n max-width: var(--incode-form-max-w);\n padding-bottom: var(--spacing-32, var(--spacing-32, 32px));\n align-items: flex-end;\n margin: auto;\n display: flex;\n position: absolute;\n}\n\n.IncodeIdCaptureNotification .IncodeIdCaptureNotificationContent {\n z-index: 100;\n border-radius: var(--radius-large, var(--border-radius-large));\n border-style: var(--tw-border-style);\n border-width: 2px;\n border-color: var(--color-border-neutral-300, var(--border-neutral-300));\n background-color: var(--color-surface-neutral-900-80, var(--surface-neutral-900-80));\n width: 100%;\n padding-inline: var(--spacing-20, var(--spacing-20, 20px));\n box-shadow: var(--id-capture-notification-content-shadow);\n display: flex;\n overflow: hidden;\n}\n\n.IncodeIdCaptureNotification .IncodeIdCaptureNotificationContent .IncodeIdCaptureNotificationText {\n justify-content: center;\n gap: var(--spacing-8, var(--spacing-8, 8px));\n padding-top: var(--spacing-16, var(--spacing-16, 16px));\n padding-bottom: var(--spacing-12, var(--spacing-12, 12px));\n text-align: center;\n color: var(--color-text-body-0-static, var(--text-body-0-static));\n flex-direction: column;\n display: flex;\n}\n\n.IncodeIdCaptureNotification .IncodeIdCaptureNotificationContent .IncodeIdCaptureNotificationText .IncodeIdCaptureNotificationTitle {\n font-family: var(--typography-headline-family);\n font-size: var(--typography-headline-h3-size);\n font-weight: var(--typography-headline-h3-weight);\n line-height: var(--typography-headline-h3-line-height);\n letter-spacing: var(--typography-headline-h3-letter-spacing);\n}\n\n.IncodeIdCaptureNotification .IncodeIdCaptureNotificationContent .IncodeIdCaptureNotificationText .IncodeIdCaptureNotificationDescription {\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-tertiary-static, var(--text-body-300-tertiary-static));\n}\n\n.IncodeIdCaptureNotification .IncodeIdCaptureNotificationContent .IncodeIdCaptureNotificationAnimation {\n height: var(--id-capture-notification-animation-height);\n justify-content: center;\n align-items: center;\n width: auto;\n display: flex;\n}\n\n.IncodeVideoSelfieCapturePage {\n background-color: var(--capture-page-backdrop-color);\n}\n\n.IncodeVideoSelfieCapturePage .IncodePageInner {\n padding: var(--spacing-0, var(--spacing-none, 0px));\n}\n\n.IncodeVideoSelfieCapturePage .IncodePageContent {\n flex: 1;\n position: relative;\n}\n\n.IncodeVideoSelfieOverlay {\n pointer-events: none;\n inset: var(--spacing-0, var(--spacing-none, 0px));\n z-index: 10;\n flex-direction: column;\n align-items: center;\n display: flex;\n position: absolute;\n container-type: inline-size;\n}\n\n.IncodeVideoSelfieSwitchingCameraPage {\n background-color: var(--color-surface-neutral-900-static, var(--surface-neutral-900-static));\n}\n\n.IncodeVideoSelfieSwitchingCameraPage .IncodePageInner {\n padding: var(--spacing-0, var(--spacing-none, 0px));\n}\n\n.IncodeVideoSelfieSwitchingCameraPage .IncodePageContent {\n flex: 1;\n position: relative;\n}\n\n.IncodeVideoSelfieSwitchingCameraPage .IncodeVideoSelfieSwitchingCamera {\n width: 100%;\n height: 100%;\n padding-inline: var(--spacing-24, var(--spacing-24, 24px));\n flex-direction: column;\n justify-content: center;\n align-items: center;\n display: flex;\n position: relative;\n}\n\n.IncodeVideoSelfieSwitchingCameraPage .IncodeVideoSelfieSwitchingCameraContent {\n align-items: center;\n gap: var(--spacing-16, var(--spacing-16, 16px));\n text-align: center;\n flex-direction: column;\n display: flex;\n}\n\n.IncodeVideoSelfieSwitchingCameraPage .IncodeVideoSelfieSwitchingCameraIcon {\n width: var(--spacing-40, var(--spacing-40, 40px));\n height: var(--spacing-40, var(--spacing-40, 40px));\n}\n\n.IncodeVideoSelfieSwitchingCameraPage .IncodeVideoSelfieSwitchingCameraTitle {\n font-family: var(--typography-headline-family);\n font-size: var(--typography-headline-h2-size);\n font-weight: var(--typography-headline-h2-weight);\n line-height: var(--typography-headline-h2-line-height);\n letter-spacing: var(--typography-headline-h2-letter-spacing);\n color: var(--color-text-body-0-static, var(--text-body-0-static));\n}\n\n.IncodeVideoSelfieTutorialPage .IncodePageContent {\n min-height: var(--spacing-0, var(--spacing-none, 0px));\n}\n\n.IncodeVideoSelfieTutorialBody {\n margin-top: var(--spacing-24, var(--spacing-24, 24px));\n min-height: var(--spacing-0, var(--spacing-none, 0px));\n flex: 1;\n overflow-y: auto;\n}\n\n.IncodeVideoSelfieTutorialSteps {\n width: 100%;\n max-width: var(--incode-form-max-w);\n gap: var(--spacing-8, var(--spacing-8, 8px));\n flex-direction: column;\n margin-inline: auto;\n display: flex;\n}\n\n.IncodeVideoSelfieTutorialStep {\n align-items: center;\n gap: var(--spacing-12, var(--spacing-12, 12px));\n display: flex;\n}\n\n.IncodeVideoSelfieTutorialStepIcon {\n width: var(--spacing-40, var(--spacing-40, 40px));\n height: var(--spacing-40, var(--spacing-40, 40px));\n border-radius: var(--radius-small, var(--border-radius-small));\n border-style: var(--tw-border-style);\n border-width: 2px;\n border-color: var(--color-border-neutral-100, var(--border-neutral-100));\n background-color: var(--color-surface-neutral-0, var(--surface-neutral-0));\n color: var(--color-text-body-secondary, var(--text-body-500-secondary));\n flex-shrink: 0;\n justify-content: center;\n align-items: center;\n display: flex;\n position: relative;\n}\n\n.IncodeVideoSelfieTutorialStepIcon svg {\n height: var(--spacing-24, var(--spacing-24, 24px));\n width: var(--spacing-24, var(--spacing-24, 24px));\n}\n\n.IncodeVideoSelfieTutorialStep:not(:last-child) .IncodeVideoSelfieTutorialStepIcon:after {\n content: \"\";\n height: var(--spacing-8, var(--spacing-8, 8px));\n width: var(--spacing-2, var(--spacing-2, 2px));\n --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n background-color: var(--color-border-neutral-100, var(--border-neutral-100));\n position: absolute;\n top: 100%;\n left: 50%;\n}\n\n.IncodeVideoSelfieTutorialStepLabel {\n text-align: left;\n font-family: var(--typography-headline-family);\n font-size: var(--typography-headline-h4-size);\n font-weight: var(--typography-headline-h4-weight);\n line-height: var(--typography-headline-h4-line-height);\n letter-spacing: var(--typography-headline-h4-letter-spacing);\n color: var(--color-text-body-secondary, var(--text-body-500-secondary));\n}\n\n.IncodeVideoSelfieTutorialActions {\n bottom: var(--spacing-0, var(--spacing-none, 0px));\n background-color: var(--color-surface-neutral-0, var(--surface-neutral-0));\n width: 100%;\n padding-top: var(--spacing-24, var(--spacing-24, 24px));\n padding-bottom: var(--spacing-24, var(--spacing-24, 24px));\n flex-shrink: 0;\n display: flex;\n position: sticky;\n}\n\n.IncodeVideoSelfieTutorialStartButton {\n max-width: var(--incode-form-max-w);\n margin: auto;\n}\n\n.IncodeVsStepsHeader {\n inset-inline: var(--spacing-0, var(--spacing-none, 0px));\n top: var(--spacing-0, var(--spacing-none, 0px));\n gap: var(--spacing-2, var(--spacing-2, 2px));\n width: 100%;\n padding-inline: var(--spacing-24, var(--spacing-24, 24px));\n padding-top: var(--spacing-24, var(--spacing-24, 24px));\n color: var(--color-text-body-0-static, var(--text-body-0-static));\n z-index: var(--video-selfie-chrome-z-index);\n background-color: #0000;\n list-style-type: none;\n display: flex;\n position: absolute;\n}\n\n.IncodeVsStepsHeader .IncodeVsStepsHeaderStep {\n align-items: center;\n gap: var(--spacing-8, var(--spacing-8, 8px));\n width: 100%;\n height: var(--video-selfie-stepper-height);\n flex-direction: column;\n flex: 1;\n display: flex;\n position: relative;\n}\n\n.IncodeVsStepsHeader .IncodeVsStepsHeaderStep img {\n width: var(--spacing-32, var(--spacing-32, 32px));\n height: var(--spacing-32, var(--spacing-32, 32px));\n}\n\n.IncodeVsStepsHeader .IncodeVsStepsHeaderPill {\n border-radius: var(--radius-full, var(--border-radius-full));\n background-color: var(--color-surface-neutral-200, var(--surface-neutral-200));\n width: 100%;\n height: var(--video-selfie-stepper-pill-height);\n opacity: .25;\n transition: opacity .3s ease-in-out;\n}\n\n.IncodeVsStepsHeader .IncodeVsStepsHeaderStepCompleted .IncodeVsStepsHeaderPill {\n opacity: .5;\n}\n\n.IncodeVsStepsHeader .IncodeVsStepsHeaderStepCurrent .IncodeVsStepsHeaderPill {\n opacity: 1;\n}\n\n.IncodeVsStepsHeader.IncodeVsStepsHeaderFinished .IncodeVsStepsHeaderPill {\n background-color: var(--border-status-positive-static);\n opacity: 1;\n}\n\n.IncodeVsSelfieManualCapture {\n pointer-events: auto;\n}\n\n.IncodeVideoSelfieOverlay .IncodeVsSelfieMask {\n border-radius: var(--radius-full, var(--border-radius-full));\n z-index: var(--video-selfie-mask-z-index);\n width: 86cqw;\n height: 86cqw;\n box-shadow: var(--video-selfie-mask-vignette-shadow);\n position: absolute;\n top: calc(50% - 7cqw);\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.IncodeVideoSelfieOverlay .IncodeVsSelfieMask .IncodeVsSelfieMaskRing {\n inset: var(--spacing-0, var(--spacing-none, 0px));\n width: 100%;\n height: 100%;\n position: absolute;\n overflow: visible;\n}\n\n.IncodeVideoSelfieOverlay .IncodeVsSelfieMaskFeedback {\n inset-inline: var(--spacing-0, var(--spacing-none, 0px));\n align-items: center;\n gap: var(--spacing-16, var(--spacing-16, 16px));\n text-align: center;\n width: 100%;\n z-index: var(--video-selfie-chrome-z-index);\n max-width: var(--video-selfie-feedback-max-width);\n flex-direction: column;\n margin-inline: auto;\n display: flex;\n position: absolute;\n top: calc(50% + 36cqw + 40px);\n}\n\n.IncodeVideoSelfieOverlay .IncodeVsSelfieMaskIcon {\n width: var(--spacing-32, var(--spacing-32, 32px));\n height: var(--spacing-32, var(--spacing-32, 32px));\n}\n\n.IncodeVideoSelfieOverlay .IncodeVsSelfieMaskText {\n margin: var(--spacing-0, var(--spacing-none, 0px));\n font-family: var(--typography-headline-family);\n font-size: var(--typography-headline-h2-size);\n font-weight: var(--typography-headline-h2-weight);\n line-height: var(--typography-headline-h2-line-height);\n letter-spacing: var(--typography-headline-h2-letter-spacing);\n color: var(--color-text-body-0-static, var(--text-body-0-static));\n}\n\n.IncodeVsIdMask {\n z-index: 50;\n padding-inline: var(--spacing-24);\n justify-content: center;\n align-items: center;\n display: flex;\n position: absolute;\n inset: 0;\n}\n\n.IncodeVsIdMask .IncodeVsIdManualCapture {\n bottom: var(--spacing-32);\n z-index: 60;\n pointer-events: auto;\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n}\n\n.IncodeVsIdMask .IncodeIdCaptureNotification {\n top: calc(var(--spacing-24) + var(--video-selfie-stepper-height) + var(--spacing-16));\n}\n\n.IncodeVsIdMask .IncodeIdCaptureNotification .IncodeIdCaptureNotificationContent {\n background-color: var(--surface-neutral-900-static);\n}\n\n.IncodeVsIdMask .IncodeVsIdFeedback {\n z-index: 100;\n justify-content: center;\n align-items: center;\n gap: var(--spacing-12, var(--spacing-12, 12px));\n border-radius: var(--radius-medium, var(--border-radius-medium));\n padding: var(--spacing-32, var(--spacing-32, 32px));\n text-align: center;\n font-family: var(--typography-headline-family);\n font-size: var(--typography-headline-h2-size);\n font-weight: var(--typography-headline-h2-weight);\n line-height: var(--typography-headline-h2-line-height);\n letter-spacing: var(--typography-headline-h2-letter-spacing);\n color: var(--color-text-body-0-static, var(--text-body-0-static));\n background-color: var(--surface-neutral-900-static);\n border: var(--border-width-regular) solid var(--border-neutral-100-static);\n width: max-content;\n max-width: var(--video-selfie-id-feedback-max-width);\n flex-direction: column;\n display: flex;\n position: absolute;\n top: 50%;\n left: 50%;\n overflow: hidden;\n transform: translate(-50%, -50%);\n}\n\n.IncodeVsIdMask .IncodeVsIdFeedback.IncodeVsIdFeedbackError {\n width: var(--video-selfie-id-feedback-width);\n}\n\n.IncodeVsIdMask .IncodeVsIdFeedback.IncodeVsIdFeedbackProcessing {\n gap: var(--spacing-16);\n color: var(--text-body-50-static);\n width: var(--video-selfie-id-processing-feedback-width);\n height: var(--video-selfie-id-processing-feedback-height);\n}\n\n.IncodeVsIdMask .IncodeVsIdFeedback.IncodeVsIdFeedbackProcessing p {\n white-space: nowrap;\n}\n\n.IncodeVsIdMask .IncodeVsIdFeedback .IncodeVsIdFeedbackSpinnerPrimary {\n fill: var(--spinner-surface-primary);\n}\n\n.IncodeVsIdMask .IncodeVsIdFeedback .IncodeVsIdFeedbackSpinnerSecondary {\n fill: var(--surface-brand-900-static);\n}\n\n.IncodeVsIdFlipModal .IncodeModalDialog {\n max-width: none;\n height: 100%;\n}\n\n.IncodeVsIdFlipModal .IncodeModalContent {\n border-radius: var(--radius-none, var(--border-radius-none));\n background-color: var(--color-surface-neutral-0, var(--surface-neutral-0));\n max-width: none;\n height: 100%;\n padding: var(--spacing-24, var(--spacing-24, 24px));\n justify-content: center;\n gap: var(--video-selfie-id-flip-gap);\n}\n\n.IncodeVsIdFlipModal .IncodeModalTitleSectionCenter {\n margin: var(--spacing-0, var(--spacing-none, 0px));\n}\n\n.IncodeVsIdFlipModal .IncodeVsIdFlipAnimation {\n height: var(--video-selfie-id-flip-animation-height);\n width: var(--video-selfie-id-flip-animation-width);\n overflow: hidden;\n}\n\n.IncodeVsFinalSuccess {\n justify-content: center;\n align-items: center;\n gap: var(--spacing-12, var(--spacing-12, 12px));\n padding-block: var(--spacing-16, var(--spacing-16, 16px));\n flex-direction: column;\n flex: 1;\n display: flex;\n}\n\n.IncodeVsFinalSuccess .IncodeVsFinalSuccessTitle {\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-h2-size);\n font-weight: var(--typography-headline-h2-weight);\n line-height: var(--typography-headline-h2-line-height);\n letter-spacing: var(--typography-headline-h2-letter-spacing);\n color: var(--color-text-body-primary, var(--text-body-800-primary));\n}\n\n.IncodeVsPoaMask {\n pointer-events: none;\n z-index: 50;\n position: absolute;\n inset: 0;\n}\n\n.IncodeVsPoaBanner {\n top: var(--spacing-0, var(--spacing-none, 0px));\n right: var(--spacing-0, var(--spacing-none, 0px));\n left: var(--spacing-0, var(--spacing-none, 0px));\n background-color: var(--color-surface-neutral-1000-80-static, var(--surface-neutral-1000-80-static));\n padding-inline: var(--spacing-16, var(--spacing-16, 16px));\n padding-top: var(--poa-mask-banner-padding-top);\n padding-bottom: var(--spacing-16, var(--spacing-16, 16px));\n justify-content: center;\n align-items: center;\n display: flex;\n position: absolute;\n}\n\n.IncodeVsPoaBannerText {\n text-align: center;\n color: var(--poa-mask-banner-text-color);\n margin: 0;\n font-size: 1.5rem;\n font-weight: 700;\n line-height: 1.4;\n}\n\n.IncodeVsPoaBannerEmphasis {\n color: var(--poa-mask-emphasis-color);\n}\n\n.IncodeVsPoaActions {\n right: var(--spacing-16, var(--spacing-16, 16px));\n bottom: var(--spacing-16, var(--spacing-16, 16px));\n left: var(--spacing-16, var(--spacing-16, 16px));\n justify-content: center;\n display: flex;\n position: absolute;\n}\n\n.IncodeVsPoaButton {\n pointer-events: auto;\n width: 100%;\n}\n\n.IncodeVsVoicePanel {\n pointer-events: auto;\n z-index: var(--video-selfie-mask-z-index);\n align-items: center;\n gap: var(--spacing-12);\n padding: var(--spacing-20) var(--spacing-16);\n border-radius: var(--border-radius-large);\n background: var(--surface-neutral-0-static);\n color: var(--text-body-800-primary-static);\n border: var(--video-selfie-voice-panel-border-width) solid transparent;\n box-shadow: var(--video-selfie-voice-vignette-shadow);\n flex-direction: column;\n transition: border-color .3s ease-in-out;\n display: flex;\n position: absolute;\n bottom: 10px;\n left: 10px;\n right: 10px;\n}\n\n.IncodeVsVoicePanel.IncodeVsVoicePanelActive {\n border-color: var(--border-brand-500);\n}\n\n.IncodeVsVoicePanel.IncodeVsVoicePanelProcessing {\n border-style: var(--tw-border-style);\n left: var(--spacing-8);\n right: var(--spacing-8);\n bottom: var(--spacing-8);\n justify-content: center;\n align-items: center;\n gap: var(--spacing-16);\n height: var(--video-selfie-voice-processing-height);\n min-height: var(--video-selfie-voice-processing-height);\n padding: var(--spacing-24) var(--spacing-16);\n border-width: 0;\n}\n\n.IncodeVsVoicePanel .IncodeVsVoicePanelProcessingTitle {\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-h2-size);\n font-weight: var(--typography-headline-h2-weight);\n line-height: var(--typography-headline-h2-line-height);\n letter-spacing: var(--typography-headline-h2-letter-spacing);\n color: var(--color-spinner-text-title, var(--spinner-text-title));\n}\n\n.IncodeVsVoicePanel .IncodeVsVoicePanelLabel {\n margin: var(--spacing-0, var(--spacing-none, 0px));\n font-family: var(--typography-headline-family);\n font-size: var(--typography-headline-h4-size);\n font-weight: var(--typography-headline-h4-weight);\n line-height: var(--typography-headline-h4-line-height);\n letter-spacing: var(--typography-headline-h4-letter-spacing);\n color: var(--text-body-500-secondary-static);\n}\n\n.IncodeVsVoicePanel .IncodeVsVoicePanelTitle {\n margin: var(--spacing-0, var(--spacing-none, 0px));\n padding-inline: var(--spacing-16, var(--spacing-16, 16px));\n text-align: center;\n font-family: var(--typography-headline-family);\n font-size: var(--typography-headline-h2-size);\n font-weight: var(--typography-headline-h2-weight);\n line-height: var(--typography-headline-h2-line-height);\n letter-spacing: var(--typography-headline-h2-letter-spacing);\n color: var(--text-body-800-primary-static);\n}\n\n.IncodeVsVoicePanel .IncodeVsVoicePanelButton {\n width: 100%;\n}\n\n.IncodeVsVoicePanel .IncodeVsVoiceStepper {\n margin: var(--spacing-0, var(--spacing-none, 0px));\n gap: var(--spacing-8, var(--spacing-8, 8px));\n width: 100%;\n padding: var(--spacing-0, var(--spacing-none, 0px));\n list-style-type: none;\n display: flex;\n}\n\n.IncodeVsVoicePanel .IncodeVsVoiceStep {\n height: var(--spacing-4);\n border-radius: var(--border-radius-full);\n background: var(--surface-neutral-100-static);\n flex: 1;\n}\n\n.IncodeVsVoicePanel .IncodeVsVoiceStepActive {\n background: var(--surface-brand-500-static);\n}\n\n.IncodeVsVoicePanel .IncodeVsVoiceMic {\n width: var(--spacing-16);\n height: var(--spacing-16);\n border-radius: var(--border-radius-full);\n background: var(--icon-status-negative);\n animation: 1.2s ease-in-out infinite IncodeVsVoiceMicPulse;\n}\n\n@keyframes IncodeVsVoiceMicPulse {\n 0%, 100% {\n opacity: 1;\n transform: scale(1);\n }\n\n 50% {\n opacity: .4;\n transform: scale(.8);\n }\n}\n\n@property --tw-border-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n\n@property --tw-translate-x {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n\n@property --tw-translate-y {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n\n@property --tw-translate-z {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n\n@property --tw-rotate-x {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-rotate-y {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-rotate-z {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-skew-x {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-skew-y {\n syntax: \"*\";\n inherits: false\n}\n\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n";
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { d as cn, n as LoadingIcon } from "../spacer-
|
|
5
|
-
import {
|
|
6
|
-
import { r as Button } from "../
|
|
7
|
-
import "../
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { t as
|
|
12
|
-
import { a as IdFlipModal, c as VideoSelfieTutorial, i as IdMask, l as useVideoSelfiePermissions, n as SwitchingCameraScreen, o as preloadIdFlipAnimation, r as StepsHeader, s as SelfieMask, t as VideoSelfieFinalSuccessScreen } from "../finalSuccessScreen-B9uB3bST.js";
|
|
1
|
+
import { o as useTranslation } from "../uiConfig-C1jdTj-i.js";
|
|
2
|
+
import { S as k, _ as y, c as A, f as d, h as q, u as T, 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, m as useTimeoutHandle, s as TerminalErrorPage, t as IncodeComponent } from "../incodeComponent-D3_BSWan.js";
|
|
4
|
+
import { d as cn, n as LoadingIcon } from "../spacer-ayyj5lMa.js";
|
|
5
|
+
import { t as Title } from "../typography-ikD4-Z8S.js";
|
|
6
|
+
import { r as SuccessIcon, x as Button } from "../icons-eIgP34nj.js";
|
|
7
|
+
import { t as CameraView } from "../cameraView-DrTBPNWX.js";
|
|
8
|
+
import { t as Permissions } from "../permissions-DowRodJj.js";
|
|
9
|
+
import { r as preloadCaptureAnimations } from "../manualCaptureButton-igyQk3Yb.js";
|
|
10
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-BQgvYKyr.js";
|
|
11
|
+
import { a as IdFlipModal, c as VideoSelfieTutorial, i as IdMask, l as useVideoSelfiePermissions, n as SwitchingCameraScreen, o as preloadIdFlipAnimation, r as StepsHeader, s as SelfieMask, t as VideoSelfieFinalSuccessScreen } from "../finalSuccessScreen-BtJ5o2pi.js";
|
|
13
12
|
import { eventModuleNames, eventScreenNames, screenEvent, videoSelfieEvents } from "@incodetech/core/events";
|
|
14
|
-
import { createConsentRecorder, createVideoSelfieCameraWarmer, createVideoSelfieRecordingManager, facingModeForStep, getVideoSelfieQuestions, getVoiceConsentPhrase, resolveVideoSelfieSteps
|
|
13
|
+
import { VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE, createConsentRecorder, createVideoSelfieCameraWarmer, createVideoSelfieRecordingManager, facingModeForStep, getVideoSelfieQuestions, getVoiceConsentPhrase, resolveVideoSelfieSteps } from "@incodetech/core/video-selfie";
|
|
15
14
|
//#region src/modules/video-selfie/poaMask.tsx
|
|
16
15
|
/**
|
|
17
16
|
* Port of V1's `ProofOfAddressMask`: a pass-through overlay for the
|
|
@@ -431,9 +430,11 @@ var getSelfieVariant = (detectionStatus) => {
|
|
|
431
430
|
};
|
|
432
431
|
var VideoSelfieContent = ({ config, onFinish, onError }) => {
|
|
433
432
|
const { t } = useTranslation();
|
|
434
|
-
const
|
|
433
|
+
const steps = T(() => config ? resolveVideoSelfieSteps(config) : [], [config]);
|
|
434
|
+
const cameraWarmer = T(() => config ? createVideoSelfieCameraWarmer(config, steps) : null, [config, steps]);
|
|
435
435
|
const [state, manager] = useManager(() => createVideoSelfieRecordingManager({
|
|
436
436
|
config,
|
|
437
|
+
steps,
|
|
437
438
|
dependencies: cameraWarmer ? { acquireCamera: cameraWarmer.acquireCamera } : void 0
|
|
438
439
|
}), { autoLoad: false });
|
|
439
440
|
const [phase, setPhase] = d(config?.showTutorials ? "tutorial" : "permissions");
|
|
@@ -444,8 +445,7 @@ var VideoSelfieContent = ({ config, onFinish, onError }) => {
|
|
|
444
445
|
});
|
|
445
446
|
y(() => {
|
|
446
447
|
if ((phase === "tutorial" || phase === "permissions") && config) {
|
|
447
|
-
|
|
448
|
-
if (config.checkIdScan) {
|
|
448
|
+
if (steps.some((step) => step === "frontId" || step === "backId")) {
|
|
449
449
|
preloadCaptureAnimations();
|
|
450
450
|
preloadIdFlipAnimation();
|
|
451
451
|
}
|
|
@@ -454,6 +454,7 @@ var VideoSelfieContent = ({ config, onFinish, onError }) => {
|
|
|
454
454
|
}, [
|
|
455
455
|
phase,
|
|
456
456
|
config,
|
|
457
|
+
steps,
|
|
457
458
|
cameraWarmer
|
|
458
459
|
]);
|
|
459
460
|
y(() => () => cameraWarmer?.dispose(), [cameraWarmer]);
|
|
@@ -461,14 +462,20 @@ var VideoSelfieContent = ({ config, onFinish, onError }) => {
|
|
|
461
462
|
if (phase !== "capture") return;
|
|
462
463
|
manager.start();
|
|
463
464
|
}, [manager, phase]);
|
|
464
|
-
|
|
465
|
+
const validationAttemptsExhausted = state.status === "error" && state.errorKind === "validationAttemptsExhausted";
|
|
466
|
+
useModuleTerminalCallbacks(validationAttemptsExhausted ? {
|
|
467
|
+
status: state.status,
|
|
468
|
+
onFinish,
|
|
469
|
+
onError,
|
|
470
|
+
error: state.error,
|
|
471
|
+
moduleErrorCode: VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE
|
|
472
|
+
} : {
|
|
465
473
|
status: state.status,
|
|
466
474
|
onFinish
|
|
467
475
|
});
|
|
468
|
-
const steps = T(() => config ? resolveVideoSelfieSteps(config) : [], [config]);
|
|
469
476
|
const step = state.step ?? "selfie";
|
|
470
477
|
if (phase === "tutorial" && config) return /* @__PURE__ */ u(VideoSelfieTutorial, {
|
|
471
|
-
|
|
478
|
+
steps,
|
|
472
479
|
onStart: () => setPhase("permissions")
|
|
473
480
|
});
|
|
474
481
|
if (phase === "permissions") return /* @__PURE__ */ u(Permissions, {
|
|
@@ -476,10 +483,15 @@ var VideoSelfieContent = ({ config, onFinish, onError }) => {
|
|
|
476
483
|
permissionStatus
|
|
477
484
|
});
|
|
478
485
|
if (state.status === "finished" || state.status === "aborted") return null;
|
|
479
|
-
if (state.status === "error")
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
486
|
+
if (state.status === "error") {
|
|
487
|
+
if (validationAttemptsExhausted) return null;
|
|
488
|
+
const isTerminalTimeout = state.errorKind === "maxVideoLengthReached";
|
|
489
|
+
return /* @__PURE__ */ u(TerminalErrorPage, {
|
|
490
|
+
message: isTerminalTimeout ? t("videoSelfie.error.maxVideoLengthReached") : state.errorKind === "connection" ? t("connectionError.subtitle") : void 0,
|
|
491
|
+
retryable: !isTerminalTimeout,
|
|
492
|
+
onRetry: isTerminalTimeout ? void 0 : () => manager.retry()
|
|
493
|
+
});
|
|
494
|
+
}
|
|
483
495
|
if (state.status === "finalizing") return /* @__PURE__ */ u(VideoSelfieFinalizingScreen, {});
|
|
484
496
|
if (state.status === "success") return /* @__PURE__ */ u(VideoSelfieFinalSuccessScreen, {});
|
|
485
497
|
if (state.status === "switchingCamera") return /* @__PURE__ */ u(SwitchingCameraScreen, {
|
|
@@ -1,10 +1,10 @@
|
|
|
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 { createWatchlistManager } from "@incodetech/core/watchlist";
|
|
9
9
|
//#region src/modules/watchlist/watchlist.tsx
|
|
10
10
|
var WatchlistContent = ({ manager: externalManager, onFinish }) => {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n.IncodeWatchlistForBusinessPage {\n height: 100%;\n}\n\n.IncodeWatchlistForBusinessPage .IncodeWatchlistForBusinessForm {\n margin-top: var(--spacing-32, var(--spacing-32, 32px));\n align-items: center;\n gap: var(--spacing-16, var(--spacing-16, 16px));\n flex-direction: column;\n width: 100%;\n height: 100%;\n display: flex;\n}\n\n.IncodeWatchlistForBusinessPage .IncodeWatchlistForBusinessForm button {\n margin-top: auto;\n}\n";
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { n as LoadingIcon } 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 CountrySelector } from "./countrySelector-COZ7XQHp.js";
|
|
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, c as Page, 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, 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 registerIncodeModuleElement } from "./incodeModule-BQgvYKyr.js";
|
|
9
|
+
import { t as CountrySelector } from "./countrySelector-C60Cdc5P.js";
|
|
11
10
|
import { createWatchlistForBusinessManager } from "@incodetech/core/watchlist-for-business";
|
|
12
11
|
//#region src/modules/watchlist-for-business/watchlistForBusiness.tsx
|
|
13
|
-
var WatchlistForBusinessContent = ({ onFinish }) => {
|
|
12
|
+
var WatchlistForBusinessContent = ({ manager: externalManager, onFinish }) => {
|
|
14
13
|
const { t } = useTranslation();
|
|
15
|
-
const [state, manager] = useManager(() => createWatchlistForBusinessManager());
|
|
14
|
+
const [state, manager] = useManager(() => externalManager ?? createWatchlistForBusinessManager(), { manageLifecycle: !externalManager });
|
|
16
15
|
y(() => {
|
|
17
16
|
manager.load();
|
|
18
17
|
}, [manager]);
|
|
@@ -34,21 +33,26 @@ var WatchlistForBusinessContent = ({ onFinish }) => {
|
|
|
34
33
|
});
|
|
35
34
|
if (state.status === "form" || state.status === "idle") {
|
|
36
35
|
const formState = state.status === "form" ? state : null;
|
|
36
|
+
const businessNameError = formState?.validationErrors?.businessName;
|
|
37
37
|
return /* @__PURE__ */ u(Page, {
|
|
38
38
|
className: "IncodeWatchlistForBusinessPage",
|
|
39
39
|
title: t("watchlistForBusiness.title"),
|
|
40
|
+
subtitle: t("forms.subtitle"),
|
|
40
41
|
hideFooterBranding: true,
|
|
42
|
+
"data-testid": "watchlist-for-business-page",
|
|
41
43
|
children: /* @__PURE__ */ u("form", {
|
|
42
44
|
class: "IncodeWatchlistForBusinessForm",
|
|
45
|
+
"data-testid": "watchlist-for-business-form",
|
|
46
|
+
noValidate: true,
|
|
43
47
|
onSubmit: (e) => {
|
|
44
48
|
e.preventDefault();
|
|
45
49
|
manager.submit();
|
|
46
50
|
},
|
|
47
|
-
autoComplete: "off",
|
|
48
51
|
children: [
|
|
49
52
|
/* @__PURE__ */ u(CountrySelector, {
|
|
50
53
|
id: "watchlist-for-business-country",
|
|
51
54
|
label: t("watchlistForBusiness.country"),
|
|
55
|
+
required: true,
|
|
52
56
|
value: formState?.country ?? "US",
|
|
53
57
|
onChange: (country) => manager.setCountry(country),
|
|
54
58
|
"data-testid": "watchlist-for-business-country-selector"
|
|
@@ -57,12 +61,17 @@ var WatchlistForBusinessContent = ({ onFinish }) => {
|
|
|
57
61
|
id: "businessName",
|
|
58
62
|
name: "businessName",
|
|
59
63
|
label: t("watchlistForBusiness.businessName"),
|
|
64
|
+
"data-testid": "watchlist-for-business-name",
|
|
65
|
+
autoComplete: "organization",
|
|
66
|
+
required: true,
|
|
67
|
+
error: businessNameError ? t(businessNameError) : void 0,
|
|
68
|
+
showErrorIcon: !!businessNameError,
|
|
60
69
|
value: formState?.businessName ?? "",
|
|
61
70
|
onInput: (e) => manager.setBusinessName(e.target.value)
|
|
62
71
|
}),
|
|
63
72
|
/* @__PURE__ */ u(Button, {
|
|
64
73
|
type: "submit",
|
|
65
|
-
disabled: !formState
|
|
74
|
+
disabled: formState ? !formState.canSubmit : false,
|
|
66
75
|
"data-testid": "watchlist-for-business-submit",
|
|
67
76
|
children: t("watchlistForBusiness.continue")
|
|
68
77
|
})
|
|
@@ -72,8 +81,11 @@ var WatchlistForBusinessContent = ({ onFinish }) => {
|
|
|
72
81
|
}
|
|
73
82
|
return null;
|
|
74
83
|
};
|
|
75
|
-
var WatchlistForBusinessWithLocalConfig = ({ onFinish }) => /* @__PURE__ */ u(IncodeComponent, { children: /* @__PURE__ */ u(WatchlistForBusinessContent, {
|
|
76
|
-
|
|
84
|
+
var WatchlistForBusinessWithLocalConfig = ({ manager, onFinish }) => /* @__PURE__ */ u(IncodeComponent, { children: /* @__PURE__ */ u(WatchlistForBusinessContent, {
|
|
85
|
+
manager,
|
|
86
|
+
onFinish
|
|
87
|
+
}) });
|
|
88
|
+
var WatchlistForBusiness = withStandaloneModuleBootstrap(WatchlistForBusinessWithLocalConfig, "WATCHLIST_BUSINESS", { supportsExternalManager: true });
|
|
77
89
|
registerIncodeModuleElement(WatchlistForBusiness, "incode-watchlist-for-business");
|
|
78
90
|
//#endregion
|
|
79
91
|
export { WatchlistForBusiness };
|