@adyen/kyc-components 3.86.2 → 3.87.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-BVY0Kf_o.js → AcceptTermsOfServiceComponent-CLM3z4t_.js} +16 -15
- package/dist/{Accordion-91BcWEBL.js → Accordion-CtCjQ4LF.js} +2 -2
- package/dist/{AccountSetupRejected-8vWKVkOp.js → AccountSetupRejected-UzSWvV_S.js} +5 -5
- package/dist/ActionBar-DhbWv7Il.js +31 -0
- package/dist/{Address-B9YzVGZT.js → Address-sP4IuaJP.js} +20 -65
- package/dist/{Alert-DEGXvrrH.js → Alert-CCoEOLSl.js} +3 -3
- package/dist/{Avatar-BJjsWUzm.js → Avatar-DcZ3Jo3F.js} +2 -2
- package/dist/{BusinessDetailsMultiformDropin-Cy9HaWpT.js → BusinessDetailsMultiformDropin-GPMdoKm6.js} +168 -78
- package/dist/BusinessFinancingComponent-BLo-ZBde.js +54 -0
- package/dist/{BusinessFinancingDropin-Cfi6rfMX.js → BusinessFinancingDropin-CVw4Z6TP.js} +23 -20
- package/dist/BusinessFinancingPage-R1Bf3gWH.js +46 -0
- package/dist/{BusinessTypeSelectionPage-CzTjZljE.js → BusinessTypeSelectionPage-DLVrPJN6.js} +9 -9
- package/dist/{Card-CamgqGQg.js → Card-CpB29f1b.js} +3 -3
- package/dist/{ConstitutionalDocument-SgL4VE7N.js → ConstitutionalDocument-DP_BT440.js} +3 -3
- package/dist/{CountryField-7T0ok8-F.js → CountryField-CZ4B1rZT.js} +57 -297
- package/dist/CreateIndividualComponent-D2kq2hVH.js +71 -0
- package/dist/CreateTransferInstrumentComponent-u_YxACcC.js +66 -0
- package/dist/{Currency-CgELDOGM.js → Currency-DFCxzGsY.js} +5 -5
- package/dist/{CustomerSupport-CcrFuQuU.js → CustomerSupport-Bab85ODv.js} +10 -10
- package/dist/{DebugModal-CeTdbcLa.js → DebugModal-DJYpjuq1.js} +9 -10
- package/dist/{DecisionMakerDetailsPage-Bveh2HS8.js → DecisionMakerDetailsPage-ClZfpb2n.js} +17 -17
- package/dist/{DecisionMakers-DK-p6QZ4.js → DecisionMakers-D7n4ncQU.js} +52 -51
- package/dist/DropinLayout-CBP_cHLC.js +17 -0
- package/dist/{EmbeddedStatus-BJFEiPCo.js → EmbeddedStatus-CggclhuR.js} +3 -3
- package/dist/{EndStateLayout-oq3hessP.js → EndStateLayout-CCMMQp1G.js} +2 -2
- package/dist/EntityAssociation-Bk89NUGo.js +159 -0
- package/dist/EntityGuidanceStatus-CVxh7-Dc.js +105 -0
- package/dist/{FormFlow-YM36lwbi.js → FormFlow-BVdtlpuv.js} +16 -8
- package/dist/{FormNavigation-Dxip95_p.js → FormNavigation-C4j8AoTY.js} +5 -23
- package/dist/{FormWrapper-DDF6oVbX.js → FormWrapper-Cp8SYe1S.js} +10 -10
- package/dist/{IndividualOnfido-Fk4358yi.js → IndividualOnfido-C78IRI4s.js} +125 -227
- package/dist/{IndividualOnfidoDropin-Dcxbxqyv.js → IndividualOnfidoDropin-Bs5M3rg0.js} +50 -55
- package/dist/{InputText-Df4gAUZh.js → InputText-Z3KjkGsR.js} +95 -5
- package/dist/{Introduction-DfYpYbcJ.js → Introduction-BSRVN2Re.js} +4 -4
- package/dist/{JpAddress-SoI-kPtx.js → JpAddress-Be4BJ9bE.js} +8 -8
- package/dist/{LegalRepresentativeDetailsPage-LIOyJg4c.js → LegalRepresentativeDetailsPage--E62VNIf.js} +5 -5
- package/dist/{ListItem-rPU0f2Fm.js → ListItem-CGRFM1_V.js} +3 -3
- package/dist/{ManageIndividualComponent-RQAI7rXm.js → ManageIndividualComponent-BC-t1mRr.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-D_G-SXyT.js → ManageTermsOfServiceComponent-B3dGiRak.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-BBcRCuJy.js → ManageTransferInstrumentComponent-Ckj_y9ze.js} +14 -14
- package/dist/{MaybeModal--CLRWD1s.js → MaybeModal-BXFyxWJq.js} +3 -3
- package/dist/{Modal-iDUygbmj.js → Modal-CbwPh9Ed.js} +3 -3
- package/dist/{OnboardingDropinComponent-D099ni7y.js → OnboardingDropinComponent-Cfo00pTC.js} +444 -2353
- package/dist/{PayoutDetailsDropin-B32FgDVa.js → PayoutDetailsDropin-BjtCKtYQ.js} +666 -159
- package/dist/{Review-BieiU6Bj.js → Review-B8BoQ8hU.js} +8 -8
- package/dist/{RootBusinessDetailsPage-CzCOVWUz.js → RootBusinessDetailsPage-CejviZau.js} +6 -6
- package/dist/{RootBusinessLinesPage-DCyO70k-.js → RootBusinessLinesPage-Obpi7U0v.js} +120 -118
- package/dist/RootIndividualDetailsPage-P1I2LNfL.js +71 -0
- package/dist/{SignPCIComponent-BWX16DU2.js → SignPCIComponent-CUuZS7uA.js} +12 -12
- package/dist/{SingpassSelection-FHw-MK6p.js → SingpassSelection-BYC0IuZw.js} +4 -4
- package/dist/{SoleProprietorshipPage-6vR7-HxX.js → SoleProprietorshipPage-BLQld-Mj.js} +5 -5
- package/dist/{SourceOfFundsPage-yYUX_mB1.js → SourceOfFundsPage-DfTJGtzR.js} +26 -24
- package/dist/{StepProgressIndicator-BKjO-p7q.js → StepProgressIndicator-C8DFS8_0.js} +2 -2
- package/dist/{StoreProvider-D5ulo2rw.js → StoreProvider-C-VVZRES.js} +248 -241
- package/dist/Summary-D1maphV9.js +204 -0
- package/dist/{TaxReportingDropin-C7tBz_HD.js → TaxReportingDropin-Cn2o9psn.js} +16 -15
- package/dist/{TrustDetailsPage-C8can-Xq.js → TrustDetailsPage-CVRFkcZ7.js} +25 -23
- package/dist/{TrustMemberCompanyPage-qET9I3kG.js → TrustMemberCompanyPage-BRKAmfv-.js} +6 -6
- package/dist/{TrustMemberIndividualPage-DjX90Xw0.js → TrustMemberIndividualPage-DcZ8_MGc.js} +5 -5
- package/dist/TrustMemberRoleAndTypePage-C5NrVlPD.js +985 -0
- package/dist/TrustMembersOverview-B9ucuOsS.js +438 -0
- package/dist/{UnincorporatedPartnershipIndividualPage-DCooy6p5.js → UnincorporatedPartnershipIndividualPage-CIQUI2Om.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-D6PZ7scU.js → UnincorporatedPartnershipMemberCompanyPage-B4Tcivcx.js} +6 -6
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-CaPBoxYo.js +284 -0
- package/dist/UnincorporatedPartnershipMembersOverview-BtV0jAkV.js +175 -0
- package/dist/{VerificationErrorAlert-CF1LmYbX.js → VerificationErrorAlert-C1zNIbXn.js} +4 -4
- package/dist/{ViewVerificationStatusComponent-BlsnI0_q.js → ViewVerificationStatusComponent-SnBNNdvW.js} +4 -4
- package/dist/adyen-business-financing.js +3 -3
- package/dist/adyen-individual-configuration.js +3 -3
- package/dist/adyen-individual-status.js +3 -3
- package/dist/adyen-kyc-components.js +22 -21
- package/dist/adyen-onboarding.js +3 -3
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +3 -3
- package/dist/adyen-transfer-instrument-configuration.js +3 -3
- package/dist/adyen-transfer-instrument-management.js +3 -3
- package/dist/adyen-verification-status.js +3 -3
- package/dist/bg-BG-B7Xs_t04.js +13 -0
- package/dist/{bg-BG-D8qq7TQJ.js → bg-BG-D26PyOmu.js} +2 -4
- package/dist/{bg-BG-e6Rs6yz_.js → bg-BG-D9J6LnkI.js} +2 -1
- package/dist/{bg-BG-BC1dwNN2.js → bg-BG-DH45-0B-.js} +8 -3
- package/dist/bg-BG-oWrzmmWF.js +13 -0
- package/dist/bg-BG-wVquMNtT.js +55 -0
- package/dist/circle-small-filled-YMzP6yQU.js +14 -0
- package/dist/clock-BZHremOA.js +20 -0
- package/dist/cs-CZ--jOkoHVS.js +55 -0
- package/dist/cs-CZ-7urd96Kr.js +13 -0
- package/dist/cs-CZ-BSWXexr4.js +13 -0
- package/dist/{cs-CZ-ChGeQ9s0.js → cs-CZ-C3WsXodG.js} +2 -4
- package/dist/{cs-CZ-2foXfkBk.js → cs-CZ-DPVMeRye.js} +8 -3
- package/dist/{cs-CZ-Q6NVYK-k.js → cs-CZ-DY_pQqAT.js} +2 -1
- package/dist/{da-DK-CyHH8kX3.js → da-DK-BRCRHbdD.js} +2 -4
- package/dist/da-DK-D-CIc3Wp.js +13 -0
- package/dist/{da-DK-DU3_xdWg.js → da-DK-DU4dCNEw.js} +8 -3
- package/dist/da-DK-JHZnsI59.js +55 -0
- package/dist/da-DK-R_y7YwqQ.js +13 -0
- package/dist/{da-DK-DSYEF7Q1.js → da-DK-jK7c9UL0.js} +2 -1
- package/dist/de-DE-BR6CLZw6.js +13 -0
- package/dist/{de-DE-DL6SrIBE.js → de-DE-DhwZpGcF.js} +2 -4
- package/dist/{de-DE-BODG29hR.js → de-DE-Dz2l6jRl.js} +8 -3
- package/dist/de-DE-VGGEkxUT.js +55 -0
- package/dist/de-DE-itf47wPh.js +13 -0
- package/dist/{de-DE-B9-ILIdw.js → de-DE-wmerDL2e.js} +2 -1
- package/dist/{debouncedInputEvent-CyPh7Jut.js → debouncedInputEvent-D7ngWyaU.js} +2 -2
- package/dist/{documentUtils-BVfwPbes.js → documentUtils-Bc4tPwRB.js} +4 -3
- package/dist/{dropinUtils-BtlFEX2l.js → dropinUtils-BnzmtM6-.js} +5 -4
- package/dist/el-GR-B09xC5IM.js +13 -0
- package/dist/el-GR-B3FHqTOX.js +13 -0
- package/dist/{el-GR-DYjcbiSc.js → el-GR-Btrk_npt.js} +2 -1
- package/dist/{el-GR-l0JeDNPy.js → el-GR-CPvcb2_O.js} +2 -4
- package/dist/{el-GR-DcIdm3iK.js → el-GR-MLFY-Gg7.js} +8 -3
- package/dist/el-GR-gkaKwnln.js +55 -0
- package/dist/{en-US-C5WyUweF.js → en-US-BPI4FZwa.js} +2 -1
- package/dist/{en-US-BxEW5N6f.js → en-US-DwpcyeTb.js} +34 -8
- package/dist/{es-ES-CMQqgMEJ.js → es-ES-0ROz-BJh.js} +8 -3
- package/dist/es-ES-Bn9_0wK0.js +55 -0
- package/dist/es-ES-CEp-ttVJ.js +13 -0
- package/dist/{es-ES-C-tTuMLH.js → es-ES-Qnc0Q6JH.js} +2 -1
- package/dist/{es-ES-C1ClJ2XE.js → es-ES-p03wSF0j.js} +2 -4
- package/dist/es-ES-u77uTVet.js +13 -0
- package/dist/et-EE-B4Qtq50U.js +13 -0
- package/dist/et-EE-BYSnV6Iq.js +55 -0
- package/dist/et-EE-Ci8RU2wg.js +13 -0
- package/dist/{et-EE-BG_Y29oV.js → et-EE-DwU9PpSw.js} +2 -4
- package/dist/{et-EE-BzLAp08F.js → et-EE-TzXANcP2.js} +2 -1
- package/dist/{et-EE-DcpuYQwB.js → et-EE-esci5847.js} +8 -3
- package/dist/fi-FI-CoeShwM8.js +13 -0
- package/dist/{fi-FI-bIhXiQPL.js → fi-FI-D6UZTiLe.js} +2 -4
- package/dist/fi-FI-DjlB2a7k.js +13 -0
- package/dist/{fi-FI-pyHLbmel.js → fi-FI-Dn2MC8uW.js} +2 -1
- package/dist/fi-FI-PVFqd5Ra.js +55 -0
- package/dist/{fi-FI-4GTHkwOL.js → fi-FI-xXrvDLFe.js} +8 -3
- package/dist/{fieldConfigurations-3fpT3_M4.js → fieldConfigurations-BeWhtsCJ.js} +19 -18
- package/dist/{fr-FR-DG3tEkdN.js → fr-FR-BWX14yb7.js} +2 -1
- package/dist/{fr-FR-Ba-HRBQ7.js → fr-FR-Bw9O-QAU.js} +8 -3
- package/dist/fr-FR-C4ldMaqM.js +13 -0
- package/dist/fr-FR-Dx-CiPdB.js +13 -0
- package/dist/{fr-FR-Bj275MRb.js → fr-FR-jXToKR-E.js} +2 -4
- package/dist/fr-FR-mJK4hjwD.js +55 -0
- package/dist/{getFieldsWithExistingData-cmIvyqeB.js → getFieldsWithExistingData-CQWJtu-N.js} +2 -2
- package/dist/{getName-kAK38EDQ.js → getName-C7JGSYPc.js} +2 -2
- package/dist/{hasDataChanged-CKu1mtd4.js → hasDataChanged-lmk8vaNX.js} +2 -2
- package/dist/hr-HR-BXG_ZAJm.js +13 -0
- package/dist/{hr-HR-BRFErTkv.js → hr-HR-CZLSQruE.js} +2 -1
- package/dist/{hr-HR-BFx1T11G.js → hr-HR-D8_yhtIo.js} +8 -3
- package/dist/{hr-HR-CL0q_D2U.js → hr-HR-Dcv0VrbJ.js} +2 -4
- package/dist/hr-HR-n7aMHIpM.js +13 -0
- package/dist/hr-HR-qmYyO-nT.js +55 -0
- package/dist/hu-HU-CMGzeEXp.js +13 -0
- package/dist/hu-HU-CS-7iNS4.js +55 -0
- package/dist/hu-HU-D_DvlCMw.js +13 -0
- package/dist/{hu-HU-GXvzHwu9.js → hu-HU-KliQetm5.js} +8 -3
- package/dist/{hu-HU-cLqGFTTR.js → hu-HU-KqfViqRG.js} +2 -4
- package/dist/{hu-HU-CJA8w351.js → hu-HU-kp8Go5hZ.js} +2 -1
- package/dist/{iframeWidget-DE7E0d84.js → iframeWidget-AWxybkk3.js} +4 -4
- package/dist/{it-IT-mhNjrQZn.js → it-IT-B0YGvVgW.js} +2 -1
- package/dist/it-IT-BTWkWSJq.js +55 -0
- package/dist/it-IT-Cz3V93Xk.js +13 -0
- package/dist/{it-IT-C0Qk47kh.js → it-IT-DgGk7YK7.js} +2 -4
- package/dist/{it-IT-Bw3VIHJB.js → it-IT-MwpjRAG6.js} +8 -3
- package/dist/it-IT-yV7ewjWU.js +13 -0
- package/dist/{ja-JP-DI7lRfpI.js → ja-JP-2u5fqLWF.js} +8 -3
- package/dist/ja-JP-B4mHwijO.js +13 -0
- package/dist/ja-JP-CSz7fEkn.js +55 -0
- package/dist/{ja-JP-DSdZj-it.js → ja-JP-CY2oljJM.js} +2 -4
- package/dist/{ja-JP-BxEWI56P.js → ja-JP-Ctsk4z4q.js} +4 -1
- package/dist/{ja-JP-CfrHlRGC.js → ja-JP-Dz9IVH4p.js} +2 -1
- package/dist/{localizeDateString-DZGFmzCU.js → localizeDateString-CY6f5u9V.js} +2 -2
- package/dist/lt-LT-B6XmKUXx.js +55 -0
- package/dist/{lt-LT-ewVNPhQN.js → lt-LT-BEsBoIQ9.js} +8 -3
- package/dist/lt-LT-BuALzmEO.js +13 -0
- package/dist/lt-LT-CYiW52tl.js +13 -0
- package/dist/{lt-LT-C-dKiExL.js → lt-LT-D8cex0eq.js} +2 -4
- package/dist/{lt-LT-C0Acftnm.js → lt-LT-l9rzkFg9.js} +2 -1
- package/dist/{lv-LV-UkEOuqFz.js → lv-LV-BUGQrsDw.js} +2 -4
- package/dist/lv-LV-CgMxfFK8.js +13 -0
- package/dist/{lv-LV-Bnq61WAt.js → lv-LV-DYbb5pkt.js} +2 -1
- package/dist/lv-LV-DsSpy50n.js +55 -0
- package/dist/{lv-LV-JqXvRt4T.js → lv-LV-Veji7-on.js} +8 -3
- package/dist/lv-LV-nDWqwoYo.js +13 -0
- package/dist/{mapExistingFile-DWZK4Cx3.js → mapExistingFile-BHNSSDEN.js} +3 -3
- package/dist/{mapFinancialReportsToFinancialInformation-CNBtzgSm.js → mapFinancialReportsToFinancialInformation-DvjcA3x9.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-maXV4w9Y.js → mapJpAddressSchemaToAddressLocalizations-D5u2Pcq9.js} +3 -3
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-DgEr82YO.js → mapLegalEntityToIndividualOnfidoSchema-DUZQNMFu.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-BLGiIN3F.js → mapTransferInstrumentToPayoutAccount-B72oHTtP.js} +2 -2
- package/dist/{nl-NL-donw5yvS.js → nl-NL-BMUYBqlF.js} +2 -1
- package/dist/{nl-NL-DR1wVqQC.js → nl-NL-BuW3jWdI.js} +8 -3
- package/dist/nl-NL-CTf7zH4M.js +55 -0
- package/dist/{nl-NL-Cfr5hMtI.js → nl-NL-CagNun1T.js} +2 -4
- package/dist/nl-NL-CcUU-KmX.js +13 -0
- package/dist/nl-NL-DKMs4pB2.js +13 -0
- package/dist/no-NO-B-oUwe9q.js +13 -0
- package/dist/no-NO-BplX8KGW.js +13 -0
- package/dist/{no-NO-BZmigu6-.js → no-NO-CA0EizAy.js} +8 -3
- package/dist/{no-NO-ASO8Je2l.js → no-NO-D4q0sOO5.js} +2 -4
- package/dist/{no-NO-Dev7r3VA.js → no-NO-DKbWxgF-.js} +2 -1
- package/dist/no-NO-RfTK9KAV.js +55 -0
- package/dist/payout-verification-manual-BH2mu0UW.js +90 -0
- package/dist/{pl-PL-DU_Xulyu.js → pl-PL-B0zGy_b4.js} +2 -1
- package/dist/pl-PL-BmCZYCoD.js +13 -0
- package/dist/{pl-PL-BKxhMICw.js → pl-PL-D7nhdbfR.js} +8 -3
- package/dist/pl-PL-Dy8qWH39.js +55 -0
- package/dist/{pl-PL-CG4rvgUo.js → pl-PL-LSqjGZHp.js} +2 -4
- package/dist/pl-PL-p8YxqOFg.js +13 -0
- package/dist/{process-field-configurations-DTbjZ2Ba.js → process-field-configurations-DG3AAgnr.js} +3 -3
- package/dist/{pt-BR-DeXo4rsi.js → pt-BR--kaJvtE6.js} +2 -1
- package/dist/pt-BR-BbFJsIVX.js +55 -0
- package/dist/pt-BR-BkPUtBM9.js +13 -0
- package/dist/{pt-BR-wAIdhUru.js → pt-BR-D1nTSLod.js} +8 -3
- package/dist/pt-BR-DKrMpM6v.js +13 -0
- package/dist/{pt-BR-IWTcYKu9.js → pt-BR-FCK1QNOs.js} +2 -4
- package/dist/pt-PT-B4F_5NWi.js +55 -0
- package/dist/{pt-PT-C1qHVe7L.js → pt-PT-B9L50746.js} +8 -3
- package/dist/{pt-PT-DkJdR6SS.js → pt-PT-BZ5ZZm6G.js} +2 -1
- package/dist/pt-PT-Bh7v8xbp.js +13 -0
- package/dist/pt-PT-D_F3JxYu.js +13 -0
- package/dist/{pt-PT-LZZYQKaC.js → pt-PT-U2s6koli.js} +2 -4
- package/dist/recurring-CkL4cCM2.js +17 -0
- package/dist/{resolveEnvironment-_F64mdFt.js → resolveEnvironment-CpQfH_w0.js} +3 -3
- package/dist/{ro-RO-nVSeNtIQ.js → ro-RO-BvP4CrrF.js} +2 -4
- package/dist/ro-RO-CICjAFys.js +55 -0
- package/dist/ro-RO-CJoz8E5K.js +13 -0
- package/dist/{ro-RO-BDjHimxe.js → ro-RO-CdSsgoUG.js} +2 -1
- package/dist/ro-RO-DjGku_3y.js +13 -0
- package/dist/{ro-RO-juw6hKRk.js → ro-RO-DvG65dTt.js} +8 -3
- package/dist/{rules-B5Wj5fOs.js → rules-BEWN446x.js} +4 -4
- package/dist/{sk-SK-BM57awWi.js → sk-SK-BMJgOJoa.js} +8 -3
- package/dist/sk-SK-BRd5TN22.js +55 -0
- package/dist/sk-SK-Bb18qPBw.js +13 -0
- package/dist/{sk-SK-atqQJid1.js → sk-SK-BiBWPJUf.js} +2 -1
- package/dist/{sk-SK-BX0wsQH4.js → sk-SK-DFvk5ao5.js} +2 -4
- package/dist/sk-SK-DgdScFiv.js +13 -0
- package/dist/{sl-SI-g2WSP0Tj.js → sl-SI-BMF8YtOm.js} +8 -3
- package/dist/{sl-SI-Dt7rovIT.js → sl-SI-Bj-INVFz.js} +2 -4
- package/dist/sl-SI-CZt2QlBD.js +13 -0
- package/dist/sl-SI-D8dDckrW.js +55 -0
- package/dist/{sl-SI-CwKpXVCh.js → sl-SI-DtdGMD6i.js} +2 -1
- package/dist/sl-SI-ZxyvdgdS.js +13 -0
- package/dist/style.css +719 -597
- package/dist/styles-CLV89_hH.js +719 -597
- package/dist/sv-SE-BPD3xI_7.js +13 -0
- package/dist/{sv-SE-Cfs0NHgG.js → sv-SE-BYC_f8r7.js} +8 -3
- package/dist/sv-SE-CCFIf86P.js +13 -0
- package/dist/sv-SE-DGpvVvWj.js +55 -0
- package/dist/{sv-SE-DqzH809e.js → sv-SE-Dg9DC29v.js} +2 -4
- package/dist/{sv-SE-CGCP_6VE.js → sv-SE-kR514dO1.js} +2 -1
- package/dist/trackNavigation-db_h46BT.js +28 -0
- package/dist/types/api/businessLines/businessLines.types.d.ts +2 -2
- package/dist/types/api/documentValidation/useDocumentValidate.d.ts +14 -0
- package/dist/types/api/industryCodes/industryCodes.types.d.ts +2 -1
- package/dist/types/api/{pciTemplate/pciTemplate.types.d.ts → pci/pci.types.d.ts} +9 -1
- package/dist/types/api/{pciTemplate → pci}/usePciQuestionnaire.d.ts +1 -1
- package/dist/types/api/{pciTemplate → pci}/usePciQuestionnaireList.d.ts +1 -1
- package/dist/types/api/{pciTemplate → pci}/usePciStatus.d.ts +1 -1
- package/dist/types/api/pci/usePciTemplate.d.ts +8 -0
- package/dist/types/api/queryKeys.d.ts +5 -4
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentClassification.d.ts +5 -0
- package/dist/types/components/BankAccount/forms/BankDocument/validate.d.ts +3 -0
- package/dist/types/components/BankAccount/forms/PayoutCountryDetails/PayoutCountryDetails.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutCountryDetails/PayoutRequirementsModal.d.ts +8 -0
- package/dist/types/components/BankAccount/forms/PayoutCountryDetails/types.d.ts +2 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +6 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesStore.d.ts +1 -0
- package/dist/types/components/Contract/hooks/useSalesChannels.d.ts +2 -0
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +2 -8
- package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +2 -6
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +1 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +0 -2
- package/dist/types/components/Shared/TaskVerificationStatus/TaskVerificationStatus.d.ts +18 -0
- package/dist/types/components/Shared/fields/IndustryCodeField/IndustryCodeField.d.ts +1 -1
- package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +4 -0
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/TaskListItem.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/types.d.ts +3 -8
- package/dist/types/components/ui/atoms/Status/Status.d.ts +9 -3
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +6 -0
- package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +2 -1
- package/dist/types/components/ui/molecules/Dropzone/types.d.ts +1 -0
- package/dist/types/context/ExperimentContext/types.d.ts +4 -0
- package/dist/types/core/user-events.d.ts +15 -2
- package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +2 -6
- package/dist/types/utils/analytics/debouncedInputEvent.d.ts +12 -1
- package/dist/types/utils/api/documentUtils.d.ts +1 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/getTrustedFields.d.ts +9 -0
- package/dist/types/utils/validatorUtils.d.ts +1 -0
- package/dist/{types-DQVZ5BSQ.js → types-B93Ai-fO.js} +6 -2
- package/dist/{types-BotCiAsS.js → types-C0EHVMFs.js} +2 -2
- package/dist/types-DmtBPrRu.js +34 -0
- package/dist/{types-HUapLQPm.js → types-fvB_EIqJ.js} +2 -2
- package/dist/{useAssociatedLegalEntity-Bq4xqtW3.js → useAssociatedLegalEntity-ojx3GrEz.js} +2 -2
- package/dist/useCreateLegalEntity-xjbDYvmK.js +31 -0
- package/dist/{useDataset-CEyDAv2X.js → useDataset-DCmrDMPj.js} +30 -7
- package/dist/{trackNavigation-BqVwjsnq.js → useForm-B0KJc8gy.js} +8 -36
- package/dist/useGlobalData-CRriDuBw.js +68 -0
- package/dist/{useMultiForm-BPP4MrG7.js → useMultiForm-CGFP91RI.js} +4 -4
- package/dist/{useOnboardingStatus-CpHkIc0T.js → useOnboardingStatus-My1Q5GPE.js} +2 -2
- package/dist/{useScenarios-g0Sa8erQ.js → useScenarios-DaKrLP9n.js} +2 -2
- package/dist/{useTermsOfServiceStatus-OYOtgP5P.js → useTermsOfServiceStatus-BvwFdx5D.js} +2 -2
- package/dist/{useToastContext-B8TQfggU.js → useToastContext-CoOrErAX.js} +17 -5
- package/dist/{useUnincorporatedPartnershipMembers-DzH5PVVq.js → useUnincorporatedPartnershipMembers-CYOhPR-_.js} +7 -62
- package/dist/useUpdateBusinessLines-B1dIbMeU.js +46 -0
- package/dist/useUpdateLegalEntity-DmbJMoa-.js +39 -0
- package/dist/{utils-BsqxcaEZ.js → utils-D1mS3NB7.js} +6 -6
- package/dist/{validate-C5qQw3nm.js → validate-4egldPuY.js} +2 -2
- package/dist/{validate-IIxt8CTj.js → validate-BRD3s5Ml.js} +2 -2
- package/dist/{validationError-xPD_qng0.js → validationError-DR_dAzpt.js} +2 -2
- package/dist/warning-diamond-filled-BfXMlVrG.js +17 -0
- package/package.json +1 -1
- package/dist/BusinessFinancingComponent-CpIKV1a9.js +0 -54
- package/dist/BusinessFinancingPage-Dn9ttCeq.js +0 -46
- package/dist/CreateIndividualComponent-CCxjyFxM.js +0 -71
- package/dist/CreateTransferInstrumentComponent-BdEFl1e2.js +0 -66
- package/dist/RootIndividualDetailsPage-Cd5GMovg.js +0 -80
- package/dist/TaskItemStatus-Nan4oFfZ.js +0 -114
- package/dist/bg-BG-BJo9yIYj.js +0 -13
- package/dist/bg-BG-D5C7Gq2o.js +0 -35
- package/dist/bg-BG-a6CQ0hKw.js +0 -13
- package/dist/cs-CZ-BAr1-JAS.js +0 -13
- package/dist/cs-CZ-C9FuJCsg.js +0 -35
- package/dist/cs-CZ-LGBI1w0Z.js +0 -13
- package/dist/da-DK-914Viqia.js +0 -13
- package/dist/da-DK-BeSNTO9k.js +0 -35
- package/dist/da-DK-DoHb4ssx.js +0 -13
- package/dist/de-DE-BXKZNAA1.js +0 -13
- package/dist/de-DE-Dp-2BAWQ.js +0 -35
- package/dist/de-DE-R6YgDOo5.js +0 -13
- package/dist/el-GR-5WvkRyW5.js +0 -35
- package/dist/el-GR-BnMw4HQ7.js +0 -13
- package/dist/el-GR-DgaUGjyJ.js +0 -13
- package/dist/es-ES-BWAlCq7R.js +0 -13
- package/dist/es-ES-C9oDOVSQ.js +0 -35
- package/dist/es-ES-dMSfTLXF.js +0 -13
- package/dist/et-EE-B1KmQWmI.js +0 -35
- package/dist/et-EE-D9SV0taO.js +0 -13
- package/dist/et-EE-l977xCZ_.js +0 -13
- package/dist/fi-FI-0ScajGUB.js +0 -13
- package/dist/fi-FI-C7GrKbXx.js +0 -13
- package/dist/fi-FI-DV1etLPT.js +0 -35
- package/dist/fr-FR-CqCcxkgA.js +0 -13
- package/dist/fr-FR-DZICoAHV.js +0 -35
- package/dist/fr-FR-o45TzYMp.js +0 -13
- package/dist/hr-HR-CoCrArfg.js +0 -13
- package/dist/hr-HR-D9bzCN_d.js +0 -35
- package/dist/hr-HR-YG9hvMMj.js +0 -13
- package/dist/hu-HU-BrxUJuJh.js +0 -13
- package/dist/hu-HU-C5p7RWWD.js +0 -35
- package/dist/hu-HU-DIurnBC3.js +0 -13
- package/dist/it-IT-CNS4NmYX.js +0 -13
- package/dist/it-IT-Cztl5jRY.js +0 -13
- package/dist/it-IT-mYyg3XGz.js +0 -35
- package/dist/ja-JP-BSYrPZsE.js +0 -35
- package/dist/ja-JP-DXkV1ta4.js +0 -13
- package/dist/lt-LT-BJTBEa5D.js +0 -13
- package/dist/lt-LT-D1viSP-v.js +0 -13
- package/dist/lt-LT-i-T_HQ42.js +0 -35
- package/dist/lv-LV-AkiOewnL.js +0 -13
- package/dist/lv-LV-BtX12dHJ.js +0 -35
- package/dist/lv-LV-GI-ZDM0K.js +0 -13
- package/dist/nl-NL-B6B4Z_tr.js +0 -13
- package/dist/nl-NL-PUQGh3Rp.js +0 -35
- package/dist/nl-NL-VneIcgWO.js +0 -13
- package/dist/no-NO-Dn1LUbDp.js +0 -13
- package/dist/no-NO-Dqp598Ox.js +0 -13
- package/dist/no-NO-kPnbGnBM.js +0 -35
- package/dist/payout-verification-manual-BJsf7QPE.js +0 -90
- package/dist/pl-PL-C-MmQaeR.js +0 -35
- package/dist/pl-PL-C1cP4Qpn.js +0 -13
- package/dist/pl-PL-Zdh_Xu43.js +0 -13
- package/dist/pt-BR-DkzLiK7Y.js +0 -13
- package/dist/pt-BR-DqLaaG4L.js +0 -13
- package/dist/pt-BR-Dw0UZ-Od.js +0 -35
- package/dist/pt-PT-CoTUf3zo.js +0 -13
- package/dist/pt-PT-DfVjLaAU.js +0 -35
- package/dist/pt-PT-uiREjC_e.js +0 -13
- package/dist/ro-RO-C835aMET.js +0 -13
- package/dist/ro-RO-ECJHARCT.js +0 -35
- package/dist/ro-RO-_HSYnLLu.js +0 -13
- package/dist/sk-SK-D6KtBU3q.js +0 -13
- package/dist/sk-SK-K03EHmJF.js +0 -13
- package/dist/sk-SK-rSmwmSCa.js +0 -35
- package/dist/sl-SI-CedEO3kf.js +0 -35
- package/dist/sl-SI-gM40Ay3W.js +0 -13
- package/dist/sl-SI-wYYQibM-.js +0 -13
- package/dist/sv-SE-BYUoi-08.js +0 -35
- package/dist/sv-SE-Bnhsdw8c.js +0 -13
- package/dist/sv-SE-uisfAT9L.js +0 -13
- package/dist/types/api/pciTemplate/usePciTemplate.d.ts +0 -14
- package/dist/types/components/Contract/hooks/useSalesChannelsSettings.d.ts +0 -3
- package/dist/types/components/Shared/tasks/TaskList/TaskItemStatus.d.ts +0 -2
- package/dist/types/components/ui/atoms/Status/Status.types.d.ts +0 -8
- package/dist/types/components/ui/atoms/TaskStatusIndicator/TaskStatusIndicator.d.ts +0 -11
- package/dist/warning-filled-F54KIN6Z.js +0 -14
- /package/dist/types/api/{pciTemplate → pci}/useSignPci.d.ts +0 -0
- /package/dist/types/components/{ui/atoms → BusinessLines/fields}/Carousel/Carousel.d.ts +0 -0
- /package/dist/types/components/BusinessLines/tasks/BusinessLines/{ExistingBusinessLines → BusinessLineModal}/BusinessLineModal.d.ts +0 -0
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9192fcfa-87b6-4c34-ae22-b06be0a72d79", e._sentryDebugIdIdentifier = "sentry-dbid-9192fcfa-87b6-4c34-ae22-b06be0a72d79");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import {
|
|
13
|
-
import { a as Alert } from "./Alert-
|
|
12
|
+
import { H as Typography } from "./StoreProvider-C-VVZRES.js";
|
|
13
|
+
import { a as Alert } from "./Alert-CCoEOLSl.js";
|
|
14
14
|
function Card({
|
|
15
15
|
className,
|
|
16
16
|
headerClassName,
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4d61aec2-a0af-4dfb-82e2-3e04c8085245", e._sentryDebugIdIdentifier = "sentry-dbid-4d61aec2-a0af-4dfb-82e2-3e04c8085245");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { memo } from "preact/compat";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
12
|
+
import { aj as objectsDeepEqual, u as useTranslation, t as LegalEntityTypes } from "./StoreProvider-C-VVZRES.js";
|
|
13
|
+
import { $ as MemoizedDocumentUpload } from "./IndividualOnfido-C78IRI4s.js";
|
|
14
14
|
const ConstitutionalDocumentTypes = {
|
|
15
15
|
BUSINESS_NAME_FILING: "doingBusinessAsNameFiling",
|
|
16
16
|
TAX_FILING: "taxFiling",
|
|
@@ -2,20 +2,21 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "343b6d29-8314-4477-a7f2-bca35e7b8770", e._sentryDebugIdIdentifier = "sentry-dbid-343b6d29-8314-4477-a7f2-bca35e7b8770");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment as Fragment$1 } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useTranslation, U as TaskStatuses, B as Button, av as keysOf, aY as remediationHasFileUploadField, a0 as entriesOf, x as translateStringOrObject, aZ as TrustMemberGuidanceLabels, ah as TrustMemberTypes, at as DecisionMakerTypes, W as useI18nContext, a1 as useAnalyticsContext, X as isEmpty, Y as IconButton, v as Svg, a4 as Icon } from "./StoreProvider-D5ulo2rw.js";
|
|
12
11
|
import cx from "classnames";
|
|
13
12
|
import { defineSlots } from "named-slots";
|
|
14
13
|
import { toChildArray, Fragment, createContext } from "preact";
|
|
15
|
-
import {
|
|
14
|
+
import { T as TaskVerificationStatus } from "./InputText-Z3KjkGsR.js";
|
|
16
15
|
import { useContext, useCallback, useMemo } from "preact/hooks";
|
|
17
|
-
import { a as Alert } from "./Alert-
|
|
18
|
-
import {
|
|
16
|
+
import { a as Alert } from "./Alert-CCoEOLSl.js";
|
|
17
|
+
import { B as Button, u as useTranslation, ap as keysOf, aS as remediationHasFileUploadField, $ as entriesOf, G as translateStringOrObject, aT as TrustMemberGuidanceLabels, ag as TrustMemberTypes, am as DecisionMakerTypes, X as isEmpty, a3 as Icon } from "./StoreProvider-C-VVZRES.js";
|
|
18
|
+
import { g as getDataByFields, F as Field, S as Select } from "./useForm-B0KJc8gy.js";
|
|
19
|
+
import { u as useDataset, d as datasetIdentifier } from "./useDataset-DCmrDMPj.js";
|
|
19
20
|
const stackLayout = "adyen-kyc-stack-layout";
|
|
20
21
|
const stackLayoutGapXs = "adyen-kyc-stack-layout-gap-xs";
|
|
21
22
|
const stackLayoutGapS = "adyen-kyc-stack-layout-gap-s";
|
|
@@ -30,7 +31,7 @@ const stackLayoutHorizontal = "adyen-kyc-stack-layout-horizontal";
|
|
|
30
31
|
const stackLayoutLeftHorizontal = "adyen-kyc-stack-layout-left-horizontal";
|
|
31
32
|
const stackLayoutCenterHorizontal = "adyen-kyc-stack-layout-center-horizontal";
|
|
32
33
|
const stackLayoutRightHorizontal = "adyen-kyc-stack-layout-right-horizontal";
|
|
33
|
-
const styles$
|
|
34
|
+
const styles$3 = {
|
|
34
35
|
stackLayout,
|
|
35
36
|
stackLayoutGapXs,
|
|
36
37
|
stackLayoutGapS,
|
|
@@ -47,23 +48,23 @@ const styles$5 = {
|
|
|
47
48
|
stackLayoutRightHorizontal
|
|
48
49
|
};
|
|
49
50
|
const gapStyles = {
|
|
50
|
-
xSmall: styles$
|
|
51
|
-
small: styles$
|
|
52
|
-
medium: styles$
|
|
53
|
-
large: styles$
|
|
54
|
-
xLarge: styles$
|
|
51
|
+
xSmall: styles$3.stackLayoutGapXs,
|
|
52
|
+
small: styles$3.stackLayoutGapS,
|
|
53
|
+
medium: styles$3.stackLayoutGapM,
|
|
54
|
+
large: styles$3.stackLayoutGapL,
|
|
55
|
+
xLarge: styles$3.stackLayoutGapXl,
|
|
55
56
|
none: null
|
|
56
57
|
};
|
|
57
58
|
const alignStyles = {
|
|
58
|
-
left: styles$
|
|
59
|
-
center: styles$
|
|
60
|
-
right: styles$
|
|
59
|
+
left: styles$3.stackLayoutLeft,
|
|
60
|
+
center: styles$3.stackLayoutCenter,
|
|
61
|
+
right: styles$3.stackLayoutRight,
|
|
61
62
|
auto: null
|
|
62
63
|
};
|
|
63
64
|
const horizontalAlignStyles = {
|
|
64
|
-
left: styles$
|
|
65
|
-
center: styles$
|
|
66
|
-
right: styles$
|
|
65
|
+
left: styles$3.stackLayoutLeftHorizontal,
|
|
66
|
+
center: styles$3.stackLayoutCenterHorizontal,
|
|
67
|
+
right: styles$3.stackLayoutRightHorizontal,
|
|
67
68
|
auto: null
|
|
68
69
|
};
|
|
69
70
|
const flattenChildren = (children) => {
|
|
@@ -81,71 +82,17 @@ const StackLayout = ({
|
|
|
81
82
|
horizontal = false
|
|
82
83
|
}) => {
|
|
83
84
|
const flattenedChildren = flattenChildren(children);
|
|
84
|
-
const rootClassname = cx(styles$
|
|
85
|
+
const rootClassname = cx(styles$3.stackLayout, gapStyles[gap], alignStyles[align], {
|
|
85
86
|
[horizontalAlignStyles[align]]: horizontal,
|
|
86
|
-
[styles$
|
|
87
|
+
[styles$3.stackLayoutHorizontal]: horizontal
|
|
87
88
|
});
|
|
88
89
|
return /* @__PURE__ */ jsx("div", { className: rootClassname, children: flattenedChildren.map((item, i) => {
|
|
89
90
|
if (align === "auto") {
|
|
90
|
-
return /* @__PURE__ */ jsx("div", { className: styles$
|
|
91
|
+
return /* @__PURE__ */ jsx("div", { className: styles$3.stackLayoutItem, children: item }, item.key ?? i);
|
|
91
92
|
}
|
|
92
93
|
return item;
|
|
93
94
|
}) });
|
|
94
95
|
};
|
|
95
|
-
const inTaskStatus = "adyen-kyc-in-task-status";
|
|
96
|
-
const inTaskStatusIndicator = "adyen-kyc-in-task-status-indicator";
|
|
97
|
-
const inTaskStatusIndicatorSuccess = "adyen-kyc-in-task-status-indicator-success";
|
|
98
|
-
const inTaskStatusIndicatorError = "adyen-kyc-in-task-status-indicator-error";
|
|
99
|
-
const inTaskStatusIndicatorWarning = "adyen-kyc-in-task-status-indicator-warning";
|
|
100
|
-
const inTaskStatusLabel = "adyen-kyc-in-task-status-label";
|
|
101
|
-
const styles$4 = {
|
|
102
|
-
inTaskStatus,
|
|
103
|
-
inTaskStatusIndicator,
|
|
104
|
-
inTaskStatusIndicatorSuccess,
|
|
105
|
-
inTaskStatusIndicatorError,
|
|
106
|
-
inTaskStatusIndicatorWarning,
|
|
107
|
-
inTaskStatusLabel
|
|
108
|
-
};
|
|
109
|
-
const getIndicatorLabelAndClassnames = ({
|
|
110
|
-
taskStatus
|
|
111
|
-
}) => {
|
|
112
|
-
if (taskStatus === TaskStatuses.FINISHED) {
|
|
113
|
-
return {
|
|
114
|
-
indicatorLabel: "taskComplete",
|
|
115
|
-
indicatorClassname: styles$4.inTaskStatusIndicatorSuccess
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
if (taskStatus === TaskStatuses.PROCESSING) {
|
|
119
|
-
return {
|
|
120
|
-
indicatorLabel: "taskInProgress",
|
|
121
|
-
indicatorClassname: styles$4.inTaskStatusIndicatorWarning
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
if (taskStatus === TaskStatuses.ERROR) {
|
|
125
|
-
return {
|
|
126
|
-
indicatorLabel: "taskHasErrors",
|
|
127
|
-
indicatorClassname: styles$4.inTaskStatusIndicatorError
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
};
|
|
131
|
-
const TaskStatusIndicator = ({ taskStatus }) => {
|
|
132
|
-
const { t } = useTranslation("ui");
|
|
133
|
-
const indicator = getIndicatorLabelAndClassnames({ taskStatus });
|
|
134
|
-
if (!indicator) {
|
|
135
|
-
return null;
|
|
136
|
-
}
|
|
137
|
-
const { indicatorLabel, indicatorClassname } = indicator;
|
|
138
|
-
return /* @__PURE__ */ jsxs("div", { className: styles$4.inTaskStatus, children: [
|
|
139
|
-
/* @__PURE__ */ jsx(
|
|
140
|
-
"div",
|
|
141
|
-
{
|
|
142
|
-
"data-testid": "task-status-indicator",
|
|
143
|
-
className: cx(styles$4.inTaskStatusIndicator, indicatorClassname)
|
|
144
|
-
}
|
|
145
|
-
),
|
|
146
|
-
/* @__PURE__ */ jsx("div", { className: styles$4.inTaskStatusLabel, children: t(($) => $[indicatorLabel]) })
|
|
147
|
-
] });
|
|
148
|
-
};
|
|
149
96
|
const header = "adyen-kyc-header";
|
|
150
97
|
const headerMargin = "adyen-kyc-header-margin";
|
|
151
98
|
const headerMarginSecondary = "adyen-kyc-header-margin-secondary";
|
|
@@ -160,7 +107,7 @@ const headerTitleSecondary = "adyen-kyc-header-title-secondary";
|
|
|
160
107
|
const headerDescription = "adyen-kyc-header-description";
|
|
161
108
|
const headerDescriptionPrimary = "adyen-kyc-header-description-primary";
|
|
162
109
|
const headerDescriptionSecondary = "adyen-kyc-header-description-secondary";
|
|
163
|
-
const styles$
|
|
110
|
+
const styles$2 = {
|
|
164
111
|
header,
|
|
165
112
|
headerMargin,
|
|
166
113
|
headerMarginSecondary,
|
|
@@ -177,9 +124,9 @@ const styles$3 = {
|
|
|
177
124
|
headerDescriptionSecondary
|
|
178
125
|
};
|
|
179
126
|
const alignmentStyles = {
|
|
180
|
-
left: styles$
|
|
181
|
-
center: styles$
|
|
182
|
-
right: styles$
|
|
127
|
+
left: styles$2.headerLeft,
|
|
128
|
+
center: styles$2.headerCenter,
|
|
129
|
+
right: styles$2.headerRight
|
|
183
130
|
};
|
|
184
131
|
const Header = ({
|
|
185
132
|
align = "left",
|
|
@@ -191,25 +138,25 @@ const Header = ({
|
|
|
191
138
|
}) => {
|
|
192
139
|
const { Slot, hasSlot } = defineSlots(children ?? [], ["actions", "description"]);
|
|
193
140
|
const HeadingElement = secondary ? "h2" : "h1";
|
|
194
|
-
const rootClassname = cx(styles$
|
|
195
|
-
[styles$
|
|
196
|
-
[styles$
|
|
141
|
+
const rootClassname = cx(styles$2.header, alignmentStyles[align], {
|
|
142
|
+
[styles$2.headerMargin]: !secondary,
|
|
143
|
+
[styles$2.headerMarginSecondary]: secondary
|
|
197
144
|
});
|
|
198
|
-
const titleClassname = cx(styles$
|
|
199
|
-
[styles$
|
|
200
|
-
[styles$
|
|
145
|
+
const titleClassname = cx(styles$2.headerTitle, {
|
|
146
|
+
[styles$2.headerTitlePrimary]: !secondary,
|
|
147
|
+
[styles$2.headerTitleSecondary]: secondary
|
|
201
148
|
});
|
|
202
|
-
const descriptionClassname = cx(styles$
|
|
203
|
-
[styles$
|
|
204
|
-
[styles$
|
|
149
|
+
const descriptionClassname = cx(styles$2.headerDescription, {
|
|
150
|
+
[styles$2.headerDescriptionPrimary]: !secondary,
|
|
151
|
+
[styles$2.headerDescriptionSecondary]: secondary
|
|
205
152
|
});
|
|
206
153
|
return /* @__PURE__ */ jsxs("header", { className: rootClassname, children: [
|
|
207
|
-
status && /* @__PURE__ */ jsx(
|
|
208
|
-
/* @__PURE__ */ jsxs("div", { className: styles$
|
|
154
|
+
status && /* @__PURE__ */ jsx(TaskVerificationStatus, { status, responsive: false }),
|
|
155
|
+
/* @__PURE__ */ jsxs("div", { className: styles$2.headerContent, children: [
|
|
209
156
|
/* @__PURE__ */ jsx(HeadingElement, { className: titleClassname, children: title }),
|
|
210
157
|
(hasSlot("description") || description) && /* @__PURE__ */ jsx("div", { className: descriptionClassname, children: /* @__PURE__ */ jsx(Slot, { name: "description", children: description }) })
|
|
211
158
|
] }),
|
|
212
|
-
hasSlot("actions") && /* @__PURE__ */ jsx("div", { className: styles$
|
|
159
|
+
hasSlot("actions") && /* @__PURE__ */ jsx("div", { className: styles$2.headerActions, children: /* @__PURE__ */ jsx(StackLayout, { gap: "small", horizontal: true, children: /* @__PURE__ */ jsx(Slot, { name: "actions" }) }) })
|
|
213
160
|
] });
|
|
214
161
|
};
|
|
215
162
|
const list = "adyen-kyc-list";
|
|
@@ -224,7 +171,7 @@ const listItemsPaddingSmall = "adyen-kyc-list-items-padding-small";
|
|
|
224
171
|
const listItemsPaddingMedium = "adyen-kyc-list-items-padding-medium";
|
|
225
172
|
const listItemsPaddingLarge = "adyen-kyc-list-items-padding-large";
|
|
226
173
|
const listItemRowSeparator = "adyen-kyc-list-item-row-separator";
|
|
227
|
-
const styles$
|
|
174
|
+
const styles$1 = {
|
|
228
175
|
list,
|
|
229
176
|
listHeader,
|
|
230
177
|
listFooter,
|
|
@@ -248,27 +195,27 @@ const List = ({
|
|
|
248
195
|
}) => {
|
|
249
196
|
const childrenArray = toChildArray(children);
|
|
250
197
|
const listVariantStyles = {
|
|
251
|
-
plain: styles$
|
|
252
|
-
"grouped-primary": styles$
|
|
253
|
-
"grouped-secondary": styles$
|
|
198
|
+
plain: styles$1.listItemsPlain,
|
|
199
|
+
"grouped-primary": styles$1.listItemsGroupedPrimary,
|
|
200
|
+
"grouped-secondary": styles$1.listItemsGroupedSecondary
|
|
254
201
|
};
|
|
255
202
|
const listClassName = cx(
|
|
256
|
-
styles$
|
|
203
|
+
styles$1.listItems,
|
|
257
204
|
listVariantStyles[variant],
|
|
258
205
|
variant !== "plain" && {
|
|
259
|
-
[styles$
|
|
260
|
-
[styles$
|
|
261
|
-
[styles$
|
|
206
|
+
[styles$1.listItemsPaddingSmall]: padding === "small",
|
|
207
|
+
[styles$1.listItemsPaddingMedium]: padding === "medium",
|
|
208
|
+
[styles$1.listItemsPaddingLarge]: padding === "large"
|
|
262
209
|
},
|
|
263
210
|
{
|
|
264
|
-
[styles$
|
|
211
|
+
[styles$1.listItemsPaddingNone]: padding === "none"
|
|
265
212
|
}
|
|
266
213
|
);
|
|
267
|
-
return /* @__PURE__ */ jsxs("div", { className: styles$
|
|
268
|
-
header2 && /* @__PURE__ */ jsx("div", { className: styles$
|
|
214
|
+
return /* @__PURE__ */ jsxs("div", { className: styles$1.list, children: [
|
|
215
|
+
header2 && /* @__PURE__ */ jsx("div", { className: styles$1.listHeader, children: header2 }),
|
|
269
216
|
/* @__PURE__ */ jsx("ul", { className: listClassName, children: childrenArray.map((item) => {
|
|
270
|
-
const itemClassname = cx(styles$
|
|
271
|
-
[styles$
|
|
217
|
+
const itemClassname = cx(styles$1.listItem, {
|
|
218
|
+
[styles$1.listItemRowSeparator]: dividers
|
|
272
219
|
});
|
|
273
220
|
return (
|
|
274
221
|
// Content of <li /> will be unknown. Not including a key is preferred over
|
|
@@ -277,7 +224,7 @@ const List = ({
|
|
|
277
224
|
/* @__PURE__ */ jsx("li", { className: itemClassname, children: item })
|
|
278
225
|
);
|
|
279
226
|
}) }),
|
|
280
|
-
footer && /* @__PURE__ */ jsx("div", { className: styles$
|
|
227
|
+
footer && /* @__PURE__ */ jsx("div", { className: styles$1.listFooter, children: footer })
|
|
281
228
|
] });
|
|
282
229
|
};
|
|
283
230
|
const FormRouterContext = createContext(null);
|
|
@@ -621,197 +568,11 @@ const roleMetadata = {
|
|
|
621
568
|
};
|
|
622
569
|
const getRoleTagVariant = (role) => roleMetadata[role]?.variant ?? "blue";
|
|
623
570
|
const getRoleName = (role) => roleMetadata[role]?.name ?? role;
|
|
624
|
-
const summary = "adyen-kyc-summary";
|
|
625
|
-
const summaryContent = "adyen-kyc-summary-content";
|
|
626
|
-
const summaryList = "adyen-kyc-summary-list";
|
|
627
|
-
const summaryListHeader = "adyen-kyc-summary-list-header";
|
|
628
|
-
const summaryListHeaderTitle = "adyen-kyc-summary-list-header-title";
|
|
629
|
-
const summaryListItem = "adyen-kyc-summary-list-item";
|
|
630
|
-
const summaryListItemKey = "adyen-kyc-summary-list-item-key";
|
|
631
|
-
const summaryListItemValue = "adyen-kyc-summary-list-item-value";
|
|
632
|
-
const summaryContentLegalCaption = "adyen-kyc-summary-content-legal-caption";
|
|
633
|
-
const summaryContentList = "adyen-kyc-summary-content-list";
|
|
634
|
-
const summaryContentLogo = "adyen-kyc-summary-content-logo";
|
|
635
|
-
const styles$1 = {
|
|
636
|
-
summary,
|
|
637
|
-
summaryContent,
|
|
638
|
-
summaryList,
|
|
639
|
-
summaryListHeader,
|
|
640
|
-
summaryListHeaderTitle,
|
|
641
|
-
summaryListItem,
|
|
642
|
-
summaryListItemKey,
|
|
643
|
-
summaryListItemValue,
|
|
644
|
-
summaryContentLegalCaption,
|
|
645
|
-
summaryContentList,
|
|
646
|
-
summaryContentLogo
|
|
647
|
-
};
|
|
648
571
|
const isSummaryItem = (val) => typeof val === "object" && val !== null && "summaryLabel" in val && "summaryValue" in val;
|
|
649
572
|
const summaryItem = (summaryLabel, summaryValue) => ({
|
|
650
573
|
summaryLabel,
|
|
651
574
|
summaryValue
|
|
652
575
|
});
|
|
653
|
-
const summaryStep = {
|
|
654
|
-
formId: "summary",
|
|
655
|
-
formName: "summary"
|
|
656
|
-
};
|
|
657
|
-
function Summary({
|
|
658
|
-
data,
|
|
659
|
-
forms,
|
|
660
|
-
gotoForm,
|
|
661
|
-
labels,
|
|
662
|
-
problems,
|
|
663
|
-
omitted = {},
|
|
664
|
-
showFormHeader = true,
|
|
665
|
-
showSectionHeader = true,
|
|
666
|
-
showLegalCaption = false,
|
|
667
|
-
showTaxExemptedLegalCaption = false,
|
|
668
|
-
useStructuredList = false
|
|
669
|
-
}) {
|
|
670
|
-
const { i18n } = useI18nContext();
|
|
671
|
-
const { t } = useTranslation("common");
|
|
672
|
-
const userEvents = useAnalyticsContext();
|
|
673
|
-
const editForm = (formId) => {
|
|
674
|
-
const formIndex = forms.findIndex((form) => form.formId === formId);
|
|
675
|
-
if (formIndex >= 0) {
|
|
676
|
-
gotoForm(formIndex);
|
|
677
|
-
}
|
|
678
|
-
};
|
|
679
|
-
const allValidationErrors = problems?.validationErrors && Object.values(problems.validationErrors)?.reduce(
|
|
680
|
-
(acc, validError) => ({ ...acc, ...validError }),
|
|
681
|
-
{}
|
|
682
|
-
);
|
|
683
|
-
const allVerificationErrors = problems?.verificationErrors && Object.values(problems.verificationErrors)?.reduce(
|
|
684
|
-
(acc, verifError) => ({ ...acc, ...verifError }),
|
|
685
|
-
{}
|
|
686
|
-
);
|
|
687
|
-
const formUtils = createFormUtils({ labels }, t);
|
|
688
|
-
const summarySectionHeader = (formName, formId) => /* @__PURE__ */ jsxs("header", { className: styles$1.summaryListHeader, children: [
|
|
689
|
-
/* @__PURE__ */ jsx("h2", { className: styles$1.summaryListHeaderTitle, children: formName }),
|
|
690
|
-
!omitted.keys?.includes(formId) && /* @__PURE__ */ jsx(
|
|
691
|
-
IconButton,
|
|
692
|
-
{
|
|
693
|
-
variant: "tertiary",
|
|
694
|
-
icon: "edit",
|
|
695
|
-
onClick: () => {
|
|
696
|
-
trackNavigation({
|
|
697
|
-
userEvents,
|
|
698
|
-
actionType: "edit",
|
|
699
|
-
toForm: formName,
|
|
700
|
-
label: "Pencil icon"
|
|
701
|
-
});
|
|
702
|
-
editForm(formId);
|
|
703
|
-
},
|
|
704
|
-
ariaLabel: t(($) => $["editForm"], { formName })
|
|
705
|
-
}
|
|
706
|
-
)
|
|
707
|
-
] });
|
|
708
|
-
const renderSummarySection = (fieldData, labelData = {}, formName, formId, useStructuredList2) => {
|
|
709
|
-
const structuredListItems = Object.entries(fieldData).map(([key, value]) => {
|
|
710
|
-
return {
|
|
711
|
-
term: t(($) => $[labelData[key] || key]),
|
|
712
|
-
details: value
|
|
713
|
-
};
|
|
714
|
-
});
|
|
715
|
-
return !useStructuredList2 ? /* @__PURE__ */ jsxs(List, { variant: "grouped-secondary", children: [
|
|
716
|
-
showSectionHeader && summarySectionHeader(formName, formId),
|
|
717
|
-
/* @__PURE__ */ jsx("dl", { className: styles$1.summaryList, children: Array.isArray(fieldData) ? fieldData.map((item) => renderBulletedListField(item)) : renderSummaryItems(fieldData, labelData) })
|
|
718
|
-
] }) : /* @__PURE__ */ jsxs(List, { variant: "grouped-secondary", children: [
|
|
719
|
-
showSectionHeader && summarySectionHeader(formName, formId),
|
|
720
|
-
/* @__PURE__ */ jsx(StructuredList, { items: structuredListItems })
|
|
721
|
-
] });
|
|
722
|
-
};
|
|
723
|
-
const renderSummaryContent = (summaryData, useStructuredList2) => {
|
|
724
|
-
const summaryList2 = [];
|
|
725
|
-
forms.forEach(({ formId, formName }) => {
|
|
726
|
-
const currentFormData = summaryData[formId];
|
|
727
|
-
const isFormEmpty = !currentFormData || Object.values(currentFormData).every((value) => isEmpty(value));
|
|
728
|
-
if (isFormEmpty || formId === summaryStep.formId || omitted.forms?.includes(formId)) return;
|
|
729
|
-
const summaryItems = currentFormData.hasInnerForms ? renderInnerForms(labels?.[formId], formId, currentFormData) : renderSummarySection(
|
|
730
|
-
currentFormData,
|
|
731
|
-
labels?.[formId],
|
|
732
|
-
t(
|
|
733
|
-
($) => $[typeof labels?.[formId] === "string" ? labels[formId] : formName]
|
|
734
|
-
),
|
|
735
|
-
formId,
|
|
736
|
-
useStructuredList2
|
|
737
|
-
);
|
|
738
|
-
summaryList2.push(summaryItems);
|
|
739
|
-
});
|
|
740
|
-
return summaryList2;
|
|
741
|
-
};
|
|
742
|
-
const renderInnerForms = (labelData, parentFormId, innerForms = {}) => {
|
|
743
|
-
if (!innerForms) return [];
|
|
744
|
-
const dataList = [];
|
|
745
|
-
Object.entries(innerForms).forEach(([innerFormName, innerFormFieldData]) => {
|
|
746
|
-
const formName = t(($) => $[labelData?.[innerFormName] || innerFormName]);
|
|
747
|
-
if (typeof innerFormFieldData === "object" && innerFormFieldData !== null) {
|
|
748
|
-
if (Object.values(innerFormFieldData).every((value) => isEmpty(value))) {
|
|
749
|
-
return;
|
|
750
|
-
}
|
|
751
|
-
dataList.push(renderSummarySection(innerFormFieldData, labelData, formName, parentFormId));
|
|
752
|
-
}
|
|
753
|
-
});
|
|
754
|
-
return dataList;
|
|
755
|
-
};
|
|
756
|
-
const renderField = (label, value) => /* @__PURE__ */ jsxs("div", { className: styles$1.summaryListItem, children: [
|
|
757
|
-
/* @__PURE__ */ jsx("dt", { className: styles$1.summaryListItemKey, children: label }),
|
|
758
|
-
/* @__PURE__ */ jsx("dd", { className: styles$1.summaryListItemValue, children: value })
|
|
759
|
-
] });
|
|
760
|
-
const renderBulletedListField = (item) => /* @__PURE__ */ jsx("ul", { className: styles$1.summaryContentList, children: /* @__PURE__ */ jsx("li", { children: item }) });
|
|
761
|
-
const renderSummaryItems = (formData = {}, labelData = {}) => {
|
|
762
|
-
if (!formData) return [];
|
|
763
|
-
if (formData?.idVerificationMethod === "instantVerification") {
|
|
764
|
-
return [
|
|
765
|
-
renderField(
|
|
766
|
-
i18n.get("verificationMethod"),
|
|
767
|
-
/* @__PURE__ */ jsx(Svg, { name: "onfido-logo", type: "image", className: styles$1.summaryContentLogo })
|
|
768
|
-
)
|
|
769
|
-
];
|
|
770
|
-
}
|
|
771
|
-
const dataList = [];
|
|
772
|
-
Object.entries(formData).forEach(([field, fieldData]) => {
|
|
773
|
-
if (omitted.keys?.includes(field) || !fieldData) return;
|
|
774
|
-
const fieldName = t(($) => $[labelData[field] || field]);
|
|
775
|
-
if (field === "role" && Array.isArray(fieldData)) {
|
|
776
|
-
const label = fieldData.length > 1 ? t(($) => $["roles"]) : fieldName;
|
|
777
|
-
const roles = fieldData.map((role) => t(($) => $[getRoleName(role)])).join(", ");
|
|
778
|
-
dataList.push(renderField(label, roles));
|
|
779
|
-
} else if (isSummaryItem(fieldData)) {
|
|
780
|
-
const { summaryLabel, summaryValue } = fieldData;
|
|
781
|
-
dataList.push(renderField(translateStringOrObject(t, summaryLabel), summaryValue));
|
|
782
|
-
} else if (typeof fieldData === "object") {
|
|
783
|
-
dataList.push(renderSummaryItems(fieldData, labelData));
|
|
784
|
-
} else if (["string", "number"].includes(typeof fieldData)) {
|
|
785
|
-
dataList.push(renderField(fieldName, fieldData));
|
|
786
|
-
}
|
|
787
|
-
});
|
|
788
|
-
return dataList;
|
|
789
|
-
};
|
|
790
|
-
return /* @__PURE__ */ jsxs("div", { role: "region", className: styles$1.summary, children: [
|
|
791
|
-
showFormHeader && /* @__PURE__ */ jsx(Header, { title: t(($) => $["summary"]), description: t(($) => $["summaryDescription"]) }),
|
|
792
|
-
/* @__PURE__ */ jsxs("div", { className: styles$1.summaryContent, children: [
|
|
793
|
-
/* @__PURE__ */ jsx(
|
|
794
|
-
ErrorPanel,
|
|
795
|
-
{
|
|
796
|
-
validationErrors: allValidationErrors,
|
|
797
|
-
verificationErrors: allVerificationErrors,
|
|
798
|
-
formUtils,
|
|
799
|
-
id: "ariaErrorField"
|
|
800
|
-
}
|
|
801
|
-
),
|
|
802
|
-
renderSummaryContent(data, useStructuredList),
|
|
803
|
-
showLegalCaption && /* @__PURE__ */ jsx("div", { className: styles$1.summaryContentLegalCaption, children: t(($) => $["summaryLegalCaption"]) }),
|
|
804
|
-
showTaxExemptedLegalCaption && /* @__PURE__ */ jsxs("div", { className: styles$1.summaryContentLegalCaption, children: [
|
|
805
|
-
/* @__PURE__ */ jsx("p", { children: t(($) => $["summaryTaxExemptionLegalCaptionTitle"]) }),
|
|
806
|
-
/* @__PURE__ */ jsxs("ul", { children: [
|
|
807
|
-
/* @__PURE__ */ jsx("li", { children: t(($) => $["summaryTaxExemptionLegalCaption_1"]) }),
|
|
808
|
-
/* @__PURE__ */ jsx("li", { children: t(($) => $["summaryTaxExemptionLegalCaption_2"]) }),
|
|
809
|
-
/* @__PURE__ */ jsx("li", { children: t(($) => $["summaryTaxExemptionLegalCaption_3"]) })
|
|
810
|
-
] })
|
|
811
|
-
] })
|
|
812
|
-
] })
|
|
813
|
-
] });
|
|
814
|
-
}
|
|
815
576
|
const isTruthyValidator = {
|
|
816
577
|
validate: (value) => !!value,
|
|
817
578
|
modes: ["blur"],
|
|
@@ -1068,14 +829,13 @@ export {
|
|
|
1068
829
|
COUNTRY_FIELD as b,
|
|
1069
830
|
createFormUtils as c,
|
|
1070
831
|
getFieldProps as d,
|
|
1071
|
-
|
|
1072
|
-
|
|
832
|
+
isNotEmptyValidator as e,
|
|
833
|
+
getRoleName as f,
|
|
1073
834
|
getFormProps as g,
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
getNestedOuterFormPropsFromOuterFormProps as l,
|
|
835
|
+
isSummaryItem as h,
|
|
836
|
+
isTruthyValidator as i,
|
|
837
|
+
getRoleTagVariant as j,
|
|
838
|
+
getNestedOuterFormPropsFromOuterFormProps as k,
|
|
1079
839
|
mergeFieldMetadataIntoProps as m,
|
|
1080
840
|
roleMetadata as r,
|
|
1081
841
|
summaryItem as s,
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
;
|
|
2
|
+
{
|
|
3
|
+
try {
|
|
4
|
+
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "63ff9f98-4099-487b-9094-89952e2d356c", e._sentryDebugIdIdentifier = "sentry-dbid-63ff9f98-4099-487b-9094-89952e2d356c");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { c as useLegalEntity, p as useExperimentsContext, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, L as Loader, g as getLegalEntityCountry, N as EntityTypes, ak as isOnfidoAutofillFlowEnabled, P as TaskTypes } from "./StoreProvider-C-VVZRES.js";
|
|
11
|
+
import { jsx } from "preact/jsx-runtime";
|
|
12
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./fieldConfigurations-BeWhtsCJ.js";
|
|
13
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-Bs5M3rg0.js";
|
|
14
|
+
const CreateIndividualComponent = ({
|
|
15
|
+
legalEntityId,
|
|
16
|
+
onSubmitSuccess,
|
|
17
|
+
modalView = false,
|
|
18
|
+
onClose,
|
|
19
|
+
onUnmount
|
|
20
|
+
}) => {
|
|
21
|
+
if (!legalEntityId) {
|
|
22
|
+
throw new Error("Must provide a legalEntityId");
|
|
23
|
+
}
|
|
24
|
+
const { data: individualLe } = useLegalEntity(legalEntityId);
|
|
25
|
+
const capabilityProblems = useCapabilityProblems();
|
|
26
|
+
const { isExperimentEnabled } = useExperimentsContext();
|
|
27
|
+
const { i18n } = useTranslation();
|
|
28
|
+
addResourceBundles(i18n, i18n.language, [
|
|
29
|
+
{ ns: "common", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-oWrzmmWF.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-7urd96Kr.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-D-CIc3Wp.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-itf47wPh.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-B09xC5IM.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-C-VVZRES.js").then((n) => n.bM), "../../../language/locales/es-ES.json": () => import("./es-ES-u77uTVet.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-B4Qtq50U.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-CoeShwM8.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C4ldMaqM.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-BXG_ZAJm.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CMGzeEXp.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Cz3V93Xk.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-B4mHwijO.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BuALzmEO.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-nDWqwoYo.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-CcUU-KmX.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-BplX8KGW.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-BmCZYCoD.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BkPUtBM9.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-D_F3JxYu.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-CJoz8E5K.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-DgdScFiv.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-CZt2QlBD.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-BPD3xI_7.js") }), `../../../language/locales/${i18n.language}.json`, 6) },
|
|
30
|
+
{ ns: "ui", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-D9J6LnkI.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-DY_pQqAT.js"), "../../ui/language/da-DK.json": () => import("./da-DK-jK7c9UL0.js"), "../../ui/language/de-DE.json": () => import("./de-DE-wmerDL2e.js"), "../../ui/language/el-GR.json": () => import("./el-GR-Btrk_npt.js"), "../../ui/language/en-US.json": () => import("./en-US-gsp7CD_E.js"), "../../ui/language/es-ES.json": () => import("./es-ES-Qnc0Q6JH.js"), "../../ui/language/et-EE.json": () => import("./et-EE-TzXANcP2.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-Dn2MC8uW.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-BWX14yb7.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-CZLSQruE.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-kp8Go5hZ.js"), "../../ui/language/it-IT.json": () => import("./it-IT-B0YGvVgW.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-Dz9IVH4p.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-l9rzkFg9.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-DYbb5pkt.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-BMUYBqlF.js"), "../../ui/language/no-NO.json": () => import("./no-NO-DKbWxgF-.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-B0zGy_b4.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR--kaJvtE6.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-BZ5ZZm6G.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-CdSsgoUG.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-BiBWPJUf.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DtdGMD6i.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-kR514dO1.js") }), `../../ui/language/${i18n.language}.json`, 5) },
|
|
31
|
+
{ ns: "individual", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Individual/language/bg-BG.json": () => import("./bg-BG-B7Xs_t04.js"), "../../Individual/language/cs-CZ.json": () => import("./cs-CZ-BSWXexr4.js"), "../../Individual/language/da-DK.json": () => import("./da-DK-R_y7YwqQ.js"), "../../Individual/language/de-DE.json": () => import("./de-DE-BR6CLZw6.js"), "../../Individual/language/el-GR.json": () => import("./el-GR-B3FHqTOX.js"), "../../Individual/language/en-US.json": () => import("./en-US-fyGPkcqX.js"), "../../Individual/language/es-ES.json": () => import("./es-ES-CEp-ttVJ.js"), "../../Individual/language/et-EE.json": () => import("./et-EE-Ci8RU2wg.js"), "../../Individual/language/fi-FI.json": () => import("./fi-FI-DjlB2a7k.js"), "../../Individual/language/fr-FR.json": () => import("./fr-FR-Dx-CiPdB.js"), "../../Individual/language/hr-HR.json": () => import("./hr-HR-n7aMHIpM.js"), "../../Individual/language/hu-HU.json": () => import("./hu-HU-D_DvlCMw.js"), "../../Individual/language/it-IT.json": () => import("./it-IT-yV7ewjWU.js"), "../../Individual/language/ja-JP.json": () => import("./ja-JP-Ctsk4z4q.js"), "../../Individual/language/lt-LT.json": () => import("./lt-LT-CYiW52tl.js"), "../../Individual/language/lv-LV.json": () => import("./lv-LV-CgMxfFK8.js"), "../../Individual/language/nl-NL.json": () => import("./nl-NL-DKMs4pB2.js"), "../../Individual/language/no-NO.json": () => import("./no-NO-B-oUwe9q.js"), "../../Individual/language/pl-PL.json": () => import("./pl-PL-p8YxqOFg.js"), "../../Individual/language/pt-BR.json": () => import("./pt-BR-DKrMpM6v.js"), "../../Individual/language/pt-PT.json": () => import("./pt-PT-Bh7v8xbp.js"), "../../Individual/language/ro-RO.json": () => import("./ro-RO-DjGku_3y.js"), "../../Individual/language/sk-SK.json": () => import("./sk-SK-Bb18qPBw.js"), "../../Individual/language/sl-SI.json": () => import("./sl-SI-ZxyvdgdS.js"), "../../Individual/language/sv-SE.json": () => import("./sv-SE-CCFIf86P.js") }), `../../Individual/language/${i18n.language}.json`, 5) }
|
|
32
|
+
]);
|
|
33
|
+
const handleOnClose = () => {
|
|
34
|
+
if (modalView) {
|
|
35
|
+
onUnmount?.();
|
|
36
|
+
}
|
|
37
|
+
onClose?.();
|
|
38
|
+
};
|
|
39
|
+
const onSubmit = (d) => {
|
|
40
|
+
if (modalView) {
|
|
41
|
+
onUnmount?.();
|
|
42
|
+
}
|
|
43
|
+
onSubmitSuccess?.(d);
|
|
44
|
+
};
|
|
45
|
+
if (!individualLe) {
|
|
46
|
+
return /* @__PURE__ */ jsx(Loader, {});
|
|
47
|
+
}
|
|
48
|
+
const country = getLegalEntityCountry(individualLe);
|
|
49
|
+
const problems = capabilityProblems ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, individualLe.id) : void 0;
|
|
50
|
+
const isOnfidoAutofillFlow = isOnfidoAutofillFlowEnabled(
|
|
51
|
+
country,
|
|
52
|
+
TaskTypes.INDIVIDUAL,
|
|
53
|
+
isExperimentEnabled
|
|
54
|
+
);
|
|
55
|
+
const props = {
|
|
56
|
+
taskType: TaskTypes.INDIVIDUAL,
|
|
57
|
+
taskName: "individualDetails",
|
|
58
|
+
legalEntityResponse: individualLe,
|
|
59
|
+
problems,
|
|
60
|
+
country,
|
|
61
|
+
asModal: modalView,
|
|
62
|
+
hideSidebar: true,
|
|
63
|
+
onSubmit,
|
|
64
|
+
handleHomeClick: handleOnClose,
|
|
65
|
+
handleCloseClick: handleOnClose
|
|
66
|
+
};
|
|
67
|
+
return isOnfidoAutofillFlow ? /* @__PURE__ */ jsx(IndividualOnfidoDropin, { ...props }) : /* @__PURE__ */ jsx(IndividualDropin, { ...props });
|
|
68
|
+
};
|
|
69
|
+
export {
|
|
70
|
+
CreateIndividualComponent as C
|
|
71
|
+
};
|