@adyen/kyc-components 3.86.0 → 3.87.0-beta.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/dist/{AcceptTermsOfServiceComponent-CfKATf4g.js → AcceptTermsOfServiceComponent-DbuTZ2lm.js} +16 -15
- package/dist/{Accordion-Dnp7WhUx.js → Accordion-BCelMUrf.js} +2 -2
- package/dist/{AccountSetupRejected-BSJJfRWV.js → AccountSetupRejected-Bs86BOhb.js} +5 -5
- package/dist/ActionBar-CVuUP-mY.js +31 -0
- package/dist/{Address-Bl_bd5Lp.js → Address-CaKnB-Qo.js} +20 -65
- package/dist/{Alert-B9R4X_XM.js → Alert-CzqTssej.js} +3 -3
- package/dist/{Avatar-DZ9JX3Cp.js → Avatar-cNQKhH0z.js} +2 -2
- package/dist/{BusinessDetailsMultiformDropin-BjGT2ZQS.js → BusinessDetailsMultiformDropin-gT_3bL0O.js} +168 -78
- package/dist/BusinessFinancingComponent-Cqz7nO9n.js +54 -0
- package/dist/{BusinessFinancingDropin-DGpBmbBn.js → BusinessFinancingDropin-hsJXX1Va.js} +23 -20
- package/dist/BusinessFinancingPage-CieDJbKg.js +46 -0
- package/dist/{BusinessTypeSelectionPage-BCe-2fB6.js → BusinessTypeSelectionPage-C19-xs5o.js} +9 -9
- package/dist/{Card-TkGAmjC5.js → Card-Cka2XXoj.js} +3 -3
- package/dist/{ConstitutionalDocument-CalFzHjn.js → ConstitutionalDocument-CHj8X6eV.js} +3 -3
- package/dist/{CountryField-mxgVAmFp.js → CountryField-B79la7c-.js} +57 -297
- package/dist/CreateIndividualComponent-CyfCWgeB.js +71 -0
- package/dist/CreateTransferInstrumentComponent-D_jnlFw3.js +66 -0
- package/dist/{Currency-DSYdE9Qs.js → Currency-DRUn9oxx.js} +5 -5
- package/dist/{CustomerSupport-DRLtpWUp.js → CustomerSupport-abRYvXsD.js} +10 -10
- package/dist/{DebugModal-BI1D0dD9.js → DebugModal-CAuPuyh6.js} +9 -10
- package/dist/{DecisionMakerDetailsPage-D3CS4w0h.js → DecisionMakerDetailsPage-Dc6W9XHr.js} +17 -17
- package/dist/{DecisionMakers-q__qndMm.js → DecisionMakers-CqAa7vi_.js} +52 -51
- package/dist/DropinLayout-CBP_cHLC.js +17 -0
- package/dist/{EmbeddedStatus-5OzDMQUR.js → EmbeddedStatus-CPowYGBw.js} +3 -3
- package/dist/{EndStateLayout-BmWri3S5.js → EndStateLayout-Cj472JTf.js} +2 -2
- package/dist/EntityAssociation-BSjw-KJ2.js +159 -0
- package/dist/EntityGuidanceStatus-CM6gQcz1.js +105 -0
- package/dist/{FormFlow-8pfRbKmA.js → FormFlow-m1k7xInJ.js} +16 -8
- package/dist/{FormNavigation-C2KywHXa.js → FormNavigation-9G1WKPrp.js} +5 -23
- package/dist/{FormWrapper-CZhSGUa3.js → FormWrapper-DzAkc4KF.js} +10 -10
- package/dist/{IndividualOnfido-n3WaW67J.js → IndividualOnfido-hThSjqMs.js} +128 -228
- package/dist/{IndividualOnfidoDropin-DZrlWtK6.js → IndividualOnfidoDropin--MwUJcV4.js} +50 -55
- package/dist/{InputText-BIySwrmu.js → InputText-DJn5nzG0.js} +95 -5
- package/dist/{Introduction-Bt9gH0G5.js → Introduction-CCY9D_nE.js} +4 -4
- package/dist/{JpAddress-bHP50zUD.js → JpAddress-yRO24Dme.js} +8 -8
- package/dist/{LegalRepresentativeDetailsPage-D4aN-DTv.js → LegalRepresentativeDetailsPage-V5u54a-v.js} +5 -5
- package/dist/{ListItem-CILPfTHI.js → ListItem-q98tz21u.js} +3 -3
- package/dist/{ManageIndividualComponent-CbiGSFJ_.js → ManageIndividualComponent-CTpMCTKm.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-rvk5MSmL.js → ManageTermsOfServiceComponent-2aq2OxaP.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-D2GUV6zp.js → ManageTransferInstrumentComponent-ChwwZS2D.js} +14 -14
- package/dist/{MaybeModal-CZ-qmMqV.js → MaybeModal-BI4OTKmk.js} +3 -3
- package/dist/{Modal-GSjDUwX-.js → Modal-C89D3p56.js} +3 -3
- package/dist/{OnboardingDropinComponent-BGpgGBrU.js → OnboardingDropinComponent-CVwgW17T.js} +444 -2353
- package/dist/{PayoutDetailsDropin-kdkNvTHM.js → PayoutDetailsDropin-BzqbUVzH.js} +666 -159
- package/dist/{Review-CN-S9UCT.js → Review-BjDT0xaU.js} +8 -8
- package/dist/{RootBusinessDetailsPage-CyQjjBhL.js → RootBusinessDetailsPage-nEpccfkc.js} +6 -6
- package/dist/{RootBusinessLinesPage-BhiDzu7x.js → RootBusinessLinesPage-CzUBQFT1.js} +120 -118
- package/dist/RootIndividualDetailsPage-DV1z-BQY.js +71 -0
- package/dist/{SignPCIComponent-o50WXRbZ.js → SignPCIComponent-C5e1Z52Y.js} +12 -12
- package/dist/{SingpassSelection-L1vBg267.js → SingpassSelection-D35jRIBN.js} +4 -4
- package/dist/{SoleProprietorshipPage-Cz21B5bv.js → SoleProprietorshipPage-nrrTlQSU.js} +5 -5
- package/dist/{SourceOfFundsPage-OPzX7pfM.js → SourceOfFundsPage-YkBw6Xpi.js} +26 -24
- package/dist/{StepProgressIndicator-C26xG3ak.js → StepProgressIndicator-Bc_wca9O.js} +2 -2
- package/dist/{StoreProvider-Cvqvt7fn.js → StoreProvider-_QQynxk0.js} +248 -241
- package/dist/Summary-jCIFPrTE.js +204 -0
- package/dist/{TaxReportingDropin-9nQHRCS4.js → TaxReportingDropin-BTeXoX9D.js} +16 -15
- package/dist/{TrustDetailsPage-Bx_Pm5Sl.js → TrustDetailsPage-_UPW7Y6f.js} +25 -23
- package/dist/{TrustMemberCompanyPage-BoxMy_a_.js → TrustMemberCompanyPage-BzlxQ7Kd.js} +6 -6
- package/dist/{TrustMemberIndividualPage-D6n7VhnN.js → TrustMemberIndividualPage-COgsefCp.js} +5 -5
- package/dist/TrustMemberRoleAndTypePage-CKL-7ZaB.js +985 -0
- package/dist/TrustMembersOverview-CVYKxSoD.js +438 -0
- package/dist/{UnincorporatedPartnershipIndividualPage-ZQG0A9HG.js → UnincorporatedPartnershipIndividualPage-DuLh_-Q4.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-D9n1kJdM.js → UnincorporatedPartnershipMemberCompanyPage-D7A-CuwC.js} +6 -6
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-BqYHGCCj.js +284 -0
- package/dist/UnincorporatedPartnershipMembersOverview-B2dSYLfZ.js +175 -0
- package/dist/{VerificationErrorAlert-D18WmRyf.js → VerificationErrorAlert-Bl4kwjzn.js} +4 -4
- package/dist/{ViewVerificationStatusComponent-Fc0L-JN4.js → ViewVerificationStatusComponent-DYdW0Gsi.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-BDf19z5H.js → debouncedInputEvent-BZv9kA9Q.js} +2 -2
- package/dist/{documentUtils-DahfSV2D.js → documentUtils-feD3RgJ6.js} +4 -3
- package/dist/{dropinUtils-DFscjCzE.js → dropinUtils-L0ggRI0e.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-BCj1wotL.js → fieldConfigurations-Bor1NtgA.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-C_5HXg3J.js → getFieldsWithExistingData-JYFQVAcY.js} +2 -2
- package/dist/{getName-B1o2b2LX.js → getName-DftHbR4I.js} +2 -2
- package/dist/{hasDataChanged-Bn31Z0Rf.js → hasDataChanged-DU3vtQG1.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-DtoLjCYK.js → iframeWidget-C8wyKuCq.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-4aQPK6sB.js → localizeDateString-BJbsiJ-b.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-lDnF81cv.js → mapExistingFile-lCDb_PhK.js} +3 -3
- package/dist/{mapFinancialReportsToFinancialInformation-5skum6Qk.js → mapFinancialReportsToFinancialInformation-CnMpcLxg.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-iYMAONXA.js → mapJpAddressSchemaToAddressLocalizations-DkpasBLv.js} +3 -3
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-CZ8Op1Il.js → mapLegalEntityToIndividualOnfidoSchema-MeTFyeE4.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-l-kGyc4S.js → mapTransferInstrumentToPayoutAccount-Bvh9p_HS.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-Dt6THVwE.js → process-field-configurations-C41JKZZ6.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-9sxvxhUS.js → resolveEnvironment-DalWYmHj.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-BjmEJdfD.js → rules-DFgTcf5L.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-BQTi6XU4.js → types-BG06cR9w.js} +2 -2
- package/dist/{types-Db4qB5S5.js → types-E18sv3fQ.js} +2 -2
- package/dist/types-nbahNdbR.js +34 -0
- package/dist/{useAssociatedLegalEntity-D9WaVhuE.js → useAssociatedLegalEntity-CDCwVlgp.js} +2 -2
- package/dist/useCreateLegalEntity-Dr1EtZC9.js +31 -0
- package/dist/{useDataset-CKGFlO8U.js → useDataset-BHoDL5D6.js} +30 -7
- package/dist/{trackNavigation-DYYVv6_y.js → useForm-SCWu19rh.js} +8 -36
- package/dist/useGlobalData-C2odacHA.js +68 -0
- package/dist/{useMultiForm-DfGnG4oT.js → useMultiForm-7AeF_Lma.js} +4 -4
- package/dist/{useOnboardingStatus-CIPOAtmO.js → useOnboardingStatus-D8ldbwoJ.js} +2 -2
- package/dist/{useScenarios-CpiyRA2D.js → useScenarios-CGvgBfO2.js} +2 -2
- package/dist/{useTermsOfServiceStatus-DYF8KAVC.js → useTermsOfServiceStatus-D7rXsMOk.js} +2 -2
- package/dist/{useToastContext-lvmkWAhW.js → useToastContext-BGkxz2AI.js} +17 -5
- package/dist/{useUnincorporatedPartnershipMembers-BVLE8Ovp.js → useUnincorporatedPartnershipMembers-CTtyjp6h.js} +7 -62
- package/dist/useUpdateBusinessLines-C4B4uUP4.js +46 -0
- package/dist/useUpdateLegalEntity-DPVG51Eo.js +39 -0
- package/dist/{utils-CgVxixWT.js → utils-R-gix6HO.js} +6 -6
- package/dist/{validate-g4LgLk_u.js → validate-B6JagCTI.js} +2 -2
- package/dist/{validate-DusGGHsF.js → validate-C0bVNNOM.js} +2 -2
- package/dist/{validationError-C0UYDiYL.js → validationError-BY8rwcKJ.js} +2 -2
- package/dist/warning-diamond-filled-BfXMlVrG.js +17 -0
- package/package.json +1 -1
- package/dist/BusinessFinancingComponent-C9ugIBel.js +0 -54
- package/dist/BusinessFinancingPage-zaSDXCpl.js +0 -46
- package/dist/CreateIndividualComponent-DS6uGwYF.js +0 -71
- package/dist/CreateTransferInstrumentComponent-CQ00ZVZa.js +0 -66
- package/dist/RootIndividualDetailsPage-BsagBZYZ.js +0 -80
- package/dist/TaskItemStatus-BAtPrryh.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
|
@@ -0,0 +1,159 @@
|
|
|
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] = "4aea94da-b883-4249-9eb5-4b8e5c67f836", e._sentryDebugIdIdentifier = "sentry-dbid-4aea94da-b883-4249-9eb5-4b8e5c67f836");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
+
import { useRef, useCallback, useEffect, useState } from "preact/hooks";
|
|
12
|
+
import { B as Button, u as useTranslation, Y as IconButton, V as TaskStatuses, a4 as noop } from "./StoreProvider-_QQynxk0.js";
|
|
13
|
+
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
14
|
+
import { V as VerificationErrorAlert } from "./VerificationErrorAlert-Bl4kwjzn.js";
|
|
15
|
+
import { C as Card } from "./Card-Cka2XXoj.js";
|
|
16
|
+
import { C as Confirm } from "./useDataset-BHoDL5D6.js";
|
|
17
|
+
import { T as TaskVerificationStatus } from "./InputText-DJn5nzG0.js";
|
|
18
|
+
import { l as handleKeys } from "./IndividualOnfido-hThSjqMs.js";
|
|
19
|
+
import { j as getRoleTagVariant, f as getRoleName } from "./CountryField-B79la7c-.js";
|
|
20
|
+
function useClickAwayListener(ref, onClickAway) {
|
|
21
|
+
const handleClickAway = useCallback(
|
|
22
|
+
(event) => {
|
|
23
|
+
if (ref.current && !ref.current.contains(event.target)) {
|
|
24
|
+
onClickAway();
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
[ref, onClickAway]
|
|
28
|
+
);
|
|
29
|
+
useEffect(() => {
|
|
30
|
+
document.addEventListener("mousedown", handleClickAway);
|
|
31
|
+
return () => {
|
|
32
|
+
document.removeEventListener("mousedown", handleClickAway);
|
|
33
|
+
};
|
|
34
|
+
}, [handleClickAway]);
|
|
35
|
+
}
|
|
36
|
+
const ClickAwayWrapper = ({ children, onClickAway, ...divProps }) => {
|
|
37
|
+
const ref = useRef(null);
|
|
38
|
+
useClickAwayListener(ref, onClickAway);
|
|
39
|
+
return /* @__PURE__ */ jsx("div", { ref, ...divProps, children });
|
|
40
|
+
};
|
|
41
|
+
const actionsMenu = "adyen-kyc-actions-menu";
|
|
42
|
+
const styles = {
|
|
43
|
+
actionsMenu
|
|
44
|
+
};
|
|
45
|
+
const ActionsMenu = ({ options, open, setOpen }) => {
|
|
46
|
+
const menuItems = options.map(({ label, onSelect, icon }) => /* @__PURE__ */ jsx(
|
|
47
|
+
Button,
|
|
48
|
+
{
|
|
49
|
+
onClick: (event) => {
|
|
50
|
+
event.stopPropagation();
|
|
51
|
+
setOpen(false);
|
|
52
|
+
onSelect();
|
|
53
|
+
},
|
|
54
|
+
variant: "tertiary",
|
|
55
|
+
icon,
|
|
56
|
+
children: label
|
|
57
|
+
},
|
|
58
|
+
label
|
|
59
|
+
));
|
|
60
|
+
return open ? /* @__PURE__ */ jsx(ClickAwayWrapper, { onClickAway: () => setOpen(false), className: styles.actionsMenu, role: "menu", children: menuItems }) : null;
|
|
61
|
+
};
|
|
62
|
+
const EntityAssociation = ({
|
|
63
|
+
name,
|
|
64
|
+
types,
|
|
65
|
+
status,
|
|
66
|
+
actions,
|
|
67
|
+
problems,
|
|
68
|
+
infoContent,
|
|
69
|
+
onNavigateToEntity,
|
|
70
|
+
deleteEntity,
|
|
71
|
+
isDeleteDisabled
|
|
72
|
+
}) => {
|
|
73
|
+
const { t } = useTranslation("common");
|
|
74
|
+
const [showingActions, setShowingActions] = useState(false);
|
|
75
|
+
const [isConfirmShown, setIsConfirmShown] = useState(false);
|
|
76
|
+
const isDeletable = !!deleteEntity;
|
|
77
|
+
const handleRemoveIntent = (event) => {
|
|
78
|
+
event.stopPropagation();
|
|
79
|
+
setIsConfirmShown(true);
|
|
80
|
+
};
|
|
81
|
+
const dismissConfirm = () => {
|
|
82
|
+
setIsConfirmShown(false);
|
|
83
|
+
};
|
|
84
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
85
|
+
/* @__PURE__ */ jsxs(
|
|
86
|
+
Card,
|
|
87
|
+
{
|
|
88
|
+
className: "adyen-kyc-entity-association",
|
|
89
|
+
stateful: Boolean(onNavigateToEntity),
|
|
90
|
+
onClick: onNavigateToEntity,
|
|
91
|
+
onKeyDown: handleKeys(["Enter"], onNavigateToEntity ?? noop),
|
|
92
|
+
children: [
|
|
93
|
+
/* @__PURE__ */ jsxs("div", { className: "adyen-kyc-entity-association__top", children: [
|
|
94
|
+
/* @__PURE__ */ jsx("h3", { className: "adyen-kyc-entity-association__title", children: name }),
|
|
95
|
+
/* @__PURE__ */ jsxs("div", { className: "adyen-kyc-entity-association__info", children: [
|
|
96
|
+
/* @__PURE__ */ jsx(TaskVerificationStatus, { status }),
|
|
97
|
+
actions && /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-entity-association__actions", children: [
|
|
98
|
+
/* @__PURE__ */ jsx(
|
|
99
|
+
IconButton,
|
|
100
|
+
{
|
|
101
|
+
variant: "tertiary",
|
|
102
|
+
icon: "more-horiz",
|
|
103
|
+
onClick: (event) => {
|
|
104
|
+
event.stopPropagation();
|
|
105
|
+
setShowingActions(!showingActions);
|
|
106
|
+
},
|
|
107
|
+
ariaLabel: t(($) => $["toggleAssociationMenu"], { name })
|
|
108
|
+
}
|
|
109
|
+
),
|
|
110
|
+
/* @__PURE__ */ jsx(ActionsMenu, { options: actions, open: showingActions, setOpen: setShowingActions })
|
|
111
|
+
] }),
|
|
112
|
+
isDeletable && /* @__PURE__ */ jsx(
|
|
113
|
+
IconButton,
|
|
114
|
+
{
|
|
115
|
+
ariaLabel: t(($) => $["delete"]),
|
|
116
|
+
icon: "bin",
|
|
117
|
+
variant: "tertiary",
|
|
118
|
+
onClick: handleRemoveIntent,
|
|
119
|
+
disabled: isConfirmShown || isDeleteDisabled
|
|
120
|
+
}
|
|
121
|
+
)
|
|
122
|
+
] })
|
|
123
|
+
] }),
|
|
124
|
+
/* @__PURE__ */ jsx("div", { children: types.map((type) => /* @__PURE__ */ jsx(
|
|
125
|
+
Tag,
|
|
126
|
+
{
|
|
127
|
+
className: "adyen-kyc-entity-association__tag",
|
|
128
|
+
variant: getRoleTagVariant(type),
|
|
129
|
+
children: t(($) => $[getRoleName(type)])
|
|
130
|
+
},
|
|
131
|
+
type
|
|
132
|
+
)) }),
|
|
133
|
+
status === TaskStatuses.ERROR && /* @__PURE__ */ jsx(
|
|
134
|
+
VerificationErrorAlert,
|
|
135
|
+
{
|
|
136
|
+
className: "adyen-kyc-entity-association-alert",
|
|
137
|
+
problems
|
|
138
|
+
}
|
|
139
|
+
),
|
|
140
|
+
infoContent
|
|
141
|
+
]
|
|
142
|
+
}
|
|
143
|
+
),
|
|
144
|
+
isConfirmShown && isDeletable && /* @__PURE__ */ jsx(
|
|
145
|
+
Confirm,
|
|
146
|
+
{
|
|
147
|
+
title: t(($) => $["deleteItem"], { item: name }),
|
|
148
|
+
description: t(($) => $["thisActionIsPermanent"]),
|
|
149
|
+
onConfirm: deleteEntity,
|
|
150
|
+
confirmText: t(($) => $["delete"]),
|
|
151
|
+
onCancel: dismissConfirm,
|
|
152
|
+
critical: true
|
|
153
|
+
}
|
|
154
|
+
)
|
|
155
|
+
] });
|
|
156
|
+
};
|
|
157
|
+
export {
|
|
158
|
+
EntityAssociation as E
|
|
159
|
+
};
|
|
@@ -0,0 +1,105 @@
|
|
|
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] = "f3e2c029-9c71-4440-aaa0-85ce5b2192f5", e._sentryDebugIdIdentifier = "sentry-dbid-f3e2c029-9c71-4440-aaa0-85ce5b2192f5");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
+
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
12
|
+
import { bz as getDecisionMakerDescriptionMap, P as TaskTypes, bA as TRUST_DEFAULT_DESCRIPTIONS_MAP, a3 as Icon, u as useTranslation, an as Trans } from "./StoreProvider-_QQynxk0.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes, j as getRoleTagVariant, f as getRoleName } from "./CountryField-B79la7c-.js";
|
|
14
|
+
const UNINCORPORATED_PARTNERSHIP__DEFAULT_DESCRIPTIONS_MAP = {
|
|
15
|
+
[UnincorporatedPartnershipMemberTypes.SECONDARY_PARTNER]: "provideAtLeastOneSecondaryPartner",
|
|
16
|
+
[UnincorporatedPartnershipMemberTypes.OWNER]: "provideAllOwners",
|
|
17
|
+
[UnincorporatedPartnershipMemberTypes.CONTROLLING_PERSON]: "ifNoOwnersSpecifyControllingPersons"
|
|
18
|
+
};
|
|
19
|
+
const iconStatus = (current, min) => {
|
|
20
|
+
const isSatisfied = current > 0 && current >= min;
|
|
21
|
+
return isSatisfied ? "satisfied" : "empty";
|
|
22
|
+
};
|
|
23
|
+
const getEntityStatusRuleDescription = (country, currentTask, entityLabel) => {
|
|
24
|
+
const defaultMessage = getDecisionMakerDescriptionMap(country)[entityLabel];
|
|
25
|
+
switch (currentTask) {
|
|
26
|
+
case TaskTypes.TRUST_MEMBER_OVERVIEW: {
|
|
27
|
+
return TRUST_DEFAULT_DESCRIPTIONS_MAP[entityLabel];
|
|
28
|
+
}
|
|
29
|
+
case TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_OVERVIEW: {
|
|
30
|
+
return UNINCORPORATED_PARTNERSHIP__DEFAULT_DESCRIPTIONS_MAP[entityLabel] || defaultMessage;
|
|
31
|
+
}
|
|
32
|
+
default: {
|
|
33
|
+
return defaultMessage;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
const EntityStatusIcon = ({ status }) => {
|
|
38
|
+
switch (status) {
|
|
39
|
+
case "empty":
|
|
40
|
+
return /* @__PURE__ */ jsx(
|
|
41
|
+
Icon,
|
|
42
|
+
{
|
|
43
|
+
name: "checkmark-circle",
|
|
44
|
+
className: "adyen-kyc-entity-status__icon adyen-kyc-entity-status__icon--empty",
|
|
45
|
+
testId: "empty-icon"
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
case "satisfied":
|
|
49
|
+
return /* @__PURE__ */ jsx(
|
|
50
|
+
Icon,
|
|
51
|
+
{
|
|
52
|
+
name: "checkmark",
|
|
53
|
+
className: "adyen-kyc-entity-status__icon adyen-kyc-entity-status__icon--satisfied",
|
|
54
|
+
testId: "satisfied-icon"
|
|
55
|
+
}
|
|
56
|
+
);
|
|
57
|
+
default:
|
|
58
|
+
return /* @__PURE__ */ jsx(
|
|
59
|
+
Icon,
|
|
60
|
+
{
|
|
61
|
+
name: "circle",
|
|
62
|
+
className: "adyen-kyc-entity-status__icon adyen-kyc-entity-status__icon--empty",
|
|
63
|
+
testId: "empty-icon"
|
|
64
|
+
}
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
const EntityGuidanceStatus = ({
|
|
69
|
+
country,
|
|
70
|
+
currentTask,
|
|
71
|
+
entityLabel,
|
|
72
|
+
status
|
|
73
|
+
}) => {
|
|
74
|
+
const { t } = useTranslation("common");
|
|
75
|
+
return /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-entity-status__container", children: [
|
|
76
|
+
/* @__PURE__ */ jsx(EntityStatusIcon, { status }),
|
|
77
|
+
/* @__PURE__ */ jsx(
|
|
78
|
+
Tag,
|
|
79
|
+
{
|
|
80
|
+
className: "adyen-kyc-entity-status__tag",
|
|
81
|
+
variant: getRoleTagVariant(entityLabel),
|
|
82
|
+
children: t(($) => $[getRoleName(entityLabel)])
|
|
83
|
+
},
|
|
84
|
+
entityLabel
|
|
85
|
+
),
|
|
86
|
+
/* @__PURE__ */ jsx(
|
|
87
|
+
"span",
|
|
88
|
+
{
|
|
89
|
+
className: "adyen-kyc-entity-status--text",
|
|
90
|
+
"data-testid": `${entityLabel}-rule--description`,
|
|
91
|
+
children: /* @__PURE__ */ jsx(
|
|
92
|
+
Trans,
|
|
93
|
+
{
|
|
94
|
+
t,
|
|
95
|
+
i18nKey: ($) => $[getEntityStatusRuleDescription(country, currentTask, entityLabel)]
|
|
96
|
+
}
|
|
97
|
+
)
|
|
98
|
+
}
|
|
99
|
+
)
|
|
100
|
+
] });
|
|
101
|
+
};
|
|
102
|
+
export {
|
|
103
|
+
EntityGuidanceStatus as E,
|
|
104
|
+
iconStatus as i
|
|
105
|
+
};
|
|
@@ -2,21 +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] = "dd829857-d290-4c22-82f7-1e65a7a9a5f9", e._sentryDebugIdIdentifier = "sentry-dbid-dd829857-d290-4c22-82f7-1e65a7a9a5f9");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState } from "preact/hooks";
|
|
12
|
-
import { F as FormContext } from "./Address-
|
|
12
|
+
import { F as FormContext } from "./Address-CaKnB-Qo.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
|
-
import {
|
|
15
|
-
import { L as LoaderWrapper } from "./
|
|
16
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
17
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
18
|
-
import { C as Confirm } from "./useDataset-
|
|
19
|
-
import {
|
|
14
|
+
import { a0 as useAnalyticsContext, u as useTranslation, B as Button, Y as IconButton } from "./StoreProvider-_QQynxk0.js";
|
|
15
|
+
import { L as LoaderWrapper } from "./useForm-SCWu19rh.js";
|
|
16
|
+
import { M as MaybeModal } from "./MaybeModal-BI4OTKmk.js";
|
|
17
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-L0ggRI0e.js";
|
|
18
|
+
import { C as Confirm } from "./useDataset-BHoDL5D6.js";
|
|
19
|
+
import { S as Summary } from "./Summary-jCIFPrTE.js";
|
|
20
20
|
function FormContextProvider({
|
|
21
21
|
children,
|
|
22
22
|
form
|
|
@@ -140,9 +140,17 @@ const FormFlow = ({
|
|
|
140
140
|
setIsConfirmPresented(true);
|
|
141
141
|
};
|
|
142
142
|
const handleCancelDismiss = () => {
|
|
143
|
+
userEvents.addPageEvent("Closed modal", {
|
|
144
|
+
actionType: "close",
|
|
145
|
+
label: "cancel"
|
|
146
|
+
});
|
|
143
147
|
setIsConfirmPresented(false);
|
|
144
148
|
};
|
|
145
149
|
const handleConfirmDismiss = () => {
|
|
150
|
+
userEvents.addPageEvent("Clicked button", {
|
|
151
|
+
actionType: "navigate",
|
|
152
|
+
label: "leave"
|
|
153
|
+
});
|
|
146
154
|
setIsConfirmPresented(false);
|
|
147
155
|
handleCancelClick?.();
|
|
148
156
|
};
|
|
@@ -2,33 +2,16 @@
|
|
|
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] = "bdc599c7-cf3e-4f5f-a51b-647960ae8fad", e._sentryDebugIdIdentifier = "sentry-dbid-bdc599c7-cf3e-4f5f-a51b-647960ae8fad");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
11
|
-
import { B as Button, u as useTranslation, a4 as Icon, a1 as useAnalyticsContext, y as Typography } from "./StoreProvider-Cvqvt7fn.js";
|
|
10
|
+
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
11
|
import cx from "classnames";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
onNext,
|
|
17
|
-
onBack,
|
|
18
|
-
onHome,
|
|
19
|
-
homeButtonLabel,
|
|
20
|
-
backButtonLabel,
|
|
21
|
-
nextButtonLabel,
|
|
22
|
-
hideBackButton,
|
|
23
|
-
hideNextButton,
|
|
24
|
-
nextButtonDisabled = false
|
|
25
|
-
}) => /* @__PURE__ */ jsxs("div", { className: "adyen-action-bar", children: [
|
|
26
|
-
(onBack || onNext) && /* @__PURE__ */ jsxs("div", { className: "adyen-action-bar__action", children: [
|
|
27
|
-
onBack && !hideBackButton && backButtonLabel && /* @__PURE__ */ jsx(Button, { variant: "secondary", onClick: () => onBack(), testId: "backBtn", children: backButtonLabel }),
|
|
28
|
-
onNext && !hideNextButton && nextButtonLabel && /* @__PURE__ */ jsx(Button, { onClick: onNext, disabled: nextButtonDisabled, children: nextButtonLabel })
|
|
29
|
-
] }),
|
|
30
|
-
onHome && homeButtonLabel && /* @__PURE__ */ jsx("div", { className: "adyen-action-bar__action", children: /* @__PURE__ */ jsx(Button, { variant: "secondary", onClick: () => onHome(), children: homeButtonLabel }) })
|
|
31
|
-
] });
|
|
12
|
+
import { u as useTranslation, a3 as Icon, a0 as useAnalyticsContext, H as Typography } from "./StoreProvider-_QQynxk0.js";
|
|
13
|
+
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-C89D3p56.js";
|
|
32
15
|
const FormNavigationItem = ({
|
|
33
16
|
form,
|
|
34
17
|
isActive,
|
|
@@ -157,6 +140,5 @@ function FormNavigation({
|
|
|
157
140
|
] });
|
|
158
141
|
}
|
|
159
142
|
export {
|
|
160
|
-
ActionBar as A,
|
|
161
143
|
FormNavigation as F
|
|
162
144
|
};
|
|
@@ -2,22 +2,22 @@
|
|
|
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] = "07844dac-b63c-4481-87a1-714a3808c43a", e._sentryDebugIdIdentifier = "sentry-dbid-07844dac-b63c-4481-87a1-714a3808c43a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { u as useTranslation,
|
|
13
|
-
import { L as LoaderWrapper } from "./
|
|
14
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
15
|
-
import { a as ModalContent, c as ModalHeader, b as ModalFooter } from "./Modal-
|
|
16
|
-
import { S as Spacer } from "./getName-
|
|
17
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
18
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
19
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
20
|
-
import {
|
|
12
|
+
import { u as useTranslation, a0 as useAnalyticsContext, p as useExperimentsContext, B as Button } from "./StoreProvider-_QQynxk0.js";
|
|
13
|
+
import { L as LoaderWrapper } from "./useForm-SCWu19rh.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-BI4OTKmk.js";
|
|
15
|
+
import { a as ModalContent, c as ModalHeader, b as ModalFooter } from "./Modal-C89D3p56.js";
|
|
16
|
+
import { S as Spacer } from "./getName-DftHbR4I.js";
|
|
17
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-Bc_wca9O.js";
|
|
18
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-L0ggRI0e.js";
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-9G1WKPrp.js";
|
|
20
|
+
import { s as summaryStep, S as Summary } from "./Summary-jCIFPrTE.js";
|
|
21
21
|
const FormWrapper = ({
|
|
22
22
|
asModal = false,
|
|
23
23
|
summary,
|