@adyen/kyc-components 3.85.0 → 3.86.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-DWt6MA7A.js → AcceptTermsOfServiceComponent-DzMlzUjz.js} +16 -17
- package/dist/{Accordion-DQSd9JrF.js → Accordion-ZHPTn2Gl.js} +2 -2
- package/dist/{AccountSetupRejected-Y2jV7DOd.js → AccountSetupRejected-DON-7H74.js} +4 -4
- package/dist/{Address-CN31gTRW.js → Address-ChPj2pfR.js} +337 -22
- package/dist/{Alert-B2qwr9au.js → Alert-CeZqoFeT.js} +3 -3
- package/dist/{Avatar-CrL6cVDB.js → Avatar-zXT7v3KF.js} +2 -2
- package/dist/{BusinessDetailsMultiformDropin-BB1mTi0Z.js → BusinessDetailsMultiformDropin-DKiYg8gJ.js} +89 -3112
- package/dist/{BusinessFinancingComponent-BevBrUTE.js → BusinessFinancingComponent-BRziB5i-.js} +6 -6
- package/dist/{BusinessFinancingDropin-BgU5hfv0.js → BusinessFinancingDropin-CUmKL5bO.js} +21 -38
- package/dist/{BusinessFinancingPage-u2Xu42u-.js → BusinessFinancingPage-DhhnCxFQ.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-BNxEzkjO.js → BusinessTypeSelectionPage-B_dVM7cC.js} +9 -8
- package/dist/Card-Bz2B4J0v.js +82 -0
- package/dist/ConstitutionalDocument-Dt9O9bVo.js +143 -0
- package/dist/{CountryField-CFppUh42.js → CountryField-Bv9P8dRJ.js} +110 -78
- package/dist/CreateIndividualComponent-Mw4AiW_M.js +71 -0
- package/dist/CreateTransferInstrumentComponent-usUQlcH_.js +66 -0
- package/dist/{Currency-Zz8j3LFf.js → Currency-SzvigNNo.js} +8 -63
- package/dist/{CustomerSupport-CkqG00fn.js → CustomerSupport-C_KLB51k.js} +21 -9
- package/dist/{DebugModal-Cxp_Lbjk.js → DebugModal-DYolUZQS.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-kpoxsSYP.js → DecisionMakerDetailsPage-C2BzKLSi.js} +7 -7
- package/dist/{DecisionMakers-DMboYynJ.js → DecisionMakers-DTYzQWdY.js} +18 -20
- package/dist/{EmbeddedStatus-DdZv9Kwp.js → EmbeddedStatus-jepajhAF.js} +3 -3
- package/dist/{EndStateLayout-Cswr0wiZ.js → EndStateLayout-DQm7Xrqx.js} +2 -2
- package/dist/{useFormContext-DrrsFJH7.js → FormFlow-A9b0QEcM.js} +10 -16
- package/dist/{FormNavigation-DrejHtXO.js → FormNavigation-DEdNWaAc.js} +5 -5
- package/dist/{useGlobalData-rR_jnTzW.js → FormWrapper-DjWyqVD2.js} +12 -79
- package/dist/{IndividualOnfidoDropin-CydUe7_6.js → IndividualOnfido-BMIkKHvJ.js} +8187 -6328
- package/dist/IndividualOnfidoDropin-DBQF0Onh.js +2502 -0
- package/dist/{InputText-EX5kyD9L.js → InputText-BG-TiSNN.js} +4 -4
- package/dist/{Introduction-DncY2r7T.js → Introduction-BgoEJd8o.js} +4 -4
- package/dist/{JpAddress-BTfvrykR.js → JpAddress-Jxj9u4D5.js} +8 -8
- package/dist/{LegalRepresentativeDetailsPage-DxqaU2W7.js → LegalRepresentativeDetailsPage-BH5AnQhk.js} +5 -5
- package/dist/{ListItem-pn0XFAz_.js → ListItem-DIDj0vuO.js} +3 -3
- package/dist/{ManageIndividualComponent-CKRuUS0t.js → ManageIndividualComponent-CJKXW8rK.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-DDgriC3w.js → ManageTermsOfServiceComponent-DNf00D1s.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-BoQn6JaV.js → ManageTransferInstrumentComponent-gVWN389q.js} +14 -13
- package/dist/{MaybeModal-B1X7K4z1.js → MaybeModal-D51ALTH6.js} +3 -3
- package/dist/{Modal-ConNvgj4.js → Modal-C9aImxis.js} +2 -2
- package/dist/OnboardingDropinComponent-D-tQ12Sy.js +9791 -0
- package/dist/{PayoutDetailsDropin-CHOa81Ot.js → PayoutDetailsDropin-CxWPXV7j.js} +288 -158
- package/dist/{Review-BAuL4AQ-.js → Review-CRhM6n_P.js} +8 -8
- package/dist/RootBusinessDetailsPage-DZrT_e0g.js +61 -0
- package/dist/{RootBusinessLinesPage-D-YRRyIW.js → RootBusinessLinesPage-CJUpoVy5.js} +267 -144
- package/dist/RootIndividualDetailsPage-pqVuzOoJ.js +80 -0
- package/dist/{SignPCIComponent-B6FQiV5E.js → SignPCIComponent-BNbx3OzX.js} +11 -11
- package/dist/{SingpassSelection-DxGUYazk.js → SingpassSelection-BAa3S705.js} +4 -5
- package/dist/SoleProprietorshipPage-Bhw3GBKP.js +60 -0
- package/dist/{SourceOfFundsPage-Ce-Mim_H.js → SourceOfFundsPage-CJXpHSgo.js} +24 -29
- package/dist/{StepProgressIndicator-BymtNCPV.js → StepProgressIndicator-Dncrs7ra.js} +2 -2
- package/dist/{StoreProvider-BYjTSjnX.js → StoreProvider-CWnZNw9D.js} +427 -305
- package/dist/{TaskItemStatus-BholBQ7C.js → TaskItemStatus-D3ri_-L2.js} +3 -3
- package/dist/{TaxReportingDropin-CSa5vto5.js → TaxReportingDropin-Du7KU--L.js} +15 -17
- package/dist/{TrustDetailsPage-CYMeuEyr.js → TrustDetailsPage-SGmHwgzj.js} +24 -32
- package/dist/{TrustMemberCompanyPage-DICY9KDR.js → TrustMemberCompanyPage-BkQ9q4_T.js} +6 -6
- package/dist/{TrustMemberIndividualPage-DUGmI852.js → TrustMemberIndividualPage-CIr73hS-.js} +5 -5
- package/dist/UnincorporatedPartnershipIndividualPage-DQxHTyUp.js +65 -0
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CuvkBZ2N.js → UnincorporatedPartnershipMemberCompanyPage-DOWqNUHn.js} +6 -6
- package/dist/VerificationErrorAlert-DDsMxj76.js +79 -0
- package/dist/{ViewVerificationStatusComponent-zXuO8CY1.js → ViewVerificationStatusComponent-Hqp0gnec.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 +20 -20
- package/dist/adyen-onboarding.js +2 -2
- 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-fr-xfUBV.js → bg-BG-B1GR6lKu.js} +3 -1
- package/dist/{bg-BG-BIOMFPaW.js → bg-BG-BC1dwNN2.js} +2 -5
- package/dist/bg-BG-BJo9yIYj.js +13 -0
- package/dist/bg-BG-D8qq7TQJ.js +94 -0
- package/dist/bg-BG-a6CQ0hKw.js +13 -0
- package/dist/{bg-BG-Cs_1PU3v.js → bg-BG-e6Rs6yz_.js} +4 -1
- package/dist/{cs-CZ-DNWTRefA.js → cs-CZ-2foXfkBk.js} +2 -5
- package/dist/cs-CZ-BAr1-JAS.js +13 -0
- package/dist/cs-CZ-ChGeQ9s0.js +94 -0
- package/dist/{cs-CZ-C0sNB1Fm.js → cs-CZ-DBQXByj7.js} +3 -1
- package/dist/cs-CZ-LGBI1w0Z.js +13 -0
- package/dist/{cs-CZ-B2WAqmaW.js → cs-CZ-Q6NVYK-k.js} +4 -1
- package/dist/da-DK-914Viqia.js +13 -0
- package/dist/{da-DK-8dk9Q_Wk.js → da-DK-CjjWmhN6.js} +3 -1
- package/dist/da-DK-CyHH8kX3.js +94 -0
- package/dist/{da-DK-D-eeokQn.js → da-DK-DSYEF7Q1.js} +4 -1
- package/dist/{da-DK-D-PlwKvZ.js → da-DK-DU3_xdWg.js} +2 -5
- package/dist/da-DK-DoHb4ssx.js +13 -0
- package/dist/{de-DE-Dcs3W1fT.js → de-DE-B9-ILIdw.js} +4 -1
- package/dist/{de-DE-4GAd_srm.js → de-DE-BODG29hR.js} +2 -5
- package/dist/de-DE-BXKZNAA1.js +13 -0
- package/dist/de-DE-DL6SrIBE.js +94 -0
- package/dist/{de-DE-CCyKie8B.js → de-DE-DoQHxDRp.js} +3 -1
- package/dist/de-DE-R6YgDOo5.js +13 -0
- package/dist/{analytics-DkXXx2b6.js → debouncedInputEvent-B3Lwtvx_.js} +7 -21
- package/dist/{validate-DzaSMOa2.js → documentUtils-C2iCagu9.js} +3 -167
- package/dist/{dropinUtils-CCEDaAJW.js → dropinUtils-L9qJuAw0.js} +4 -20
- package/dist/el-GR-BnMw4HQ7.js +13 -0
- package/dist/{el-GR-D7zMcBtK.js → el-GR-CnoZeZlX.js} +3 -1
- package/dist/{el-GR-DBum-QDu.js → el-GR-DYjcbiSc.js} +4 -1
- package/dist/{el-GR-Ddnh0NhQ.js → el-GR-DcIdm3iK.js} +2 -5
- package/dist/el-GR-DgaUGjyJ.js +13 -0
- package/dist/el-GR-l0JeDNPy.js +94 -0
- package/dist/{en-US-DjF6iC7G.js → en-US-BxEW5N6f.js} +44 -5
- package/dist/{en-US-BwDZ0WHW.js → en-US-C5WyUweF.js} +3 -1
- package/dist/en-US-CTZwL084.js +13 -0
- package/dist/{en-US-BCFNoF5y.js → en-US-DYo4OF-P.js} +8 -7
- package/dist/{en-US-DdeSoN_2.js → en-US-gsp7CD_E.js} +5 -1
- package/dist/{es-ES-JvAvmB2A.js → es-ES-BMrse1nQ.js} +3 -1
- package/dist/es-ES-BWAlCq7R.js +13 -0
- package/dist/{es-ES-C7XjLOHi.js → es-ES-C-tTuMLH.js} +4 -1
- package/dist/es-ES-C1ClJ2XE.js +94 -0
- package/dist/{es-ES-C4lENXHH.js → es-ES-CMQqgMEJ.js} +2 -5
- package/dist/es-ES-dMSfTLXF.js +13 -0
- package/dist/{et-EE-SJf3_Ega.js → et-EE-BE8bHZns.js} +3 -1
- package/dist/et-EE-BG_Y29oV.js +94 -0
- package/dist/{et-EE-BUG05EDz.js → et-EE-BzLAp08F.js} +4 -1
- package/dist/et-EE-D9SV0taO.js +13 -0
- package/dist/{et-EE-3EQr-1cj.js → et-EE-DcpuYQwB.js} +2 -5
- package/dist/et-EE-l977xCZ_.js +13 -0
- package/dist/fi-FI-0ScajGUB.js +13 -0
- package/dist/{fi-FI-Byvvcxxq.js → fi-FI-4GTHkwOL.js} +2 -5
- package/dist/{fi-FI-Cy2hAl0B.js → fi-FI-Bmu7sndb.js} +3 -1
- package/dist/fi-FI-C7GrKbXx.js +13 -0
- package/dist/fi-FI-bIhXiQPL.js +94 -0
- package/dist/{fi-FI-CEzjKgiz.js → fi-FI-pyHLbmel.js} +4 -1
- package/dist/{MaskedInput-DB6EYmfa.js → fieldConfigurations-DVV23oeM.js} +616 -14
- package/dist/{fr-FR-E_UubsZ-.js → fr-FR-Ba-HRBQ7.js} +2 -5
- package/dist/fr-FR-Bj275MRb.js +94 -0
- package/dist/fr-FR-CqCcxkgA.js +13 -0
- package/dist/{fr-FR-DNJiLv9b.js → fr-FR-DG3tEkdN.js} +4 -1
- package/dist/fr-FR-o45TzYMp.js +13 -0
- package/dist/{fr-FR-BmW46mYd.js → fr-FR-ufKVxWpT.js} +3 -1
- package/dist/getFieldsWithExistingData-C6JBh3D6.js +22 -0
- package/dist/{getName-Dc03c4n_.js → getName-k5oRc0oZ.js} +9 -2
- package/dist/{hasDataChanged-CUdKM92N.js → hasDataChanged-CogwJI1I.js} +2 -2
- package/dist/{hr-HR-TVOgDkBf.js → hr-HR-BFx1T11G.js} +2 -5
- package/dist/{hr-HR-WMnlxMEY.js → hr-HR-BRFErTkv.js} +4 -1
- package/dist/{hr-HR-c1Si_0s4.js → hr-HR-BYXLJcPZ.js} +3 -1
- package/dist/hr-HR-CL0q_D2U.js +94 -0
- package/dist/hr-HR-CoCrArfg.js +13 -0
- package/dist/hr-HR-YG9hvMMj.js +13 -0
- package/dist/hu-HU-BrxUJuJh.js +13 -0
- package/dist/{hu-HU-B2nrl0pw.js → hu-HU-CJA8w351.js} +4 -1
- package/dist/hu-HU-DIurnBC3.js +13 -0
- package/dist/{hu-HU-DRONW_47.js → hu-HU-GXvzHwu9.js} +2 -5
- package/dist/{hu-HU-CibGC8KY.js → hu-HU-J4qBifyy.js} +3 -1
- package/dist/hu-HU-cLqGFTTR.js +94 -0
- package/dist/{iframeWidget-BWwxgbNs.js → iframeWidget-D2CKFlJk.js} +4 -4
- package/dist/{it-IT-BMjuva_2.js → it-IT-B_5GkLBx.js} +3 -1
- package/dist/{it-IT-DuBLJIdz.js → it-IT-Bw3VIHJB.js} +2 -5
- package/dist/it-IT-C0Qk47kh.js +94 -0
- package/dist/it-IT-CNS4NmYX.js +13 -0
- package/dist/it-IT-Cztl5jRY.js +13 -0
- package/dist/{it-IT-BRmX2jEi.js → it-IT-mhNjrQZn.js} +4 -1
- package/dist/{ja-JP-Cr_qjpZ2.js → ja-JP-BUrknIDB.js} +3 -1
- package/dist/{ja-JP-CCnzjx-u.js → ja-JP-BxEWI56P.js} +9 -1
- package/dist/{ja-JP-gRRH8Eph.js → ja-JP-CfrHlRGC.js} +4 -1
- package/dist/{ja-JP-CJ_j_HAA.js → ja-JP-DI7lRfpI.js} +2 -5
- package/dist/ja-JP-DSdZj-it.js +94 -0
- package/dist/ja-JP-DXkV1ta4.js +13 -0
- package/dist/{localizeDateString-rfEOu5f7.js → localizeDateString-ZCoTLjs1.js} +2 -2
- package/dist/lt-LT-BJTBEa5D.js +13 -0
- package/dist/lt-LT-C-dKiExL.js +94 -0
- package/dist/{lt-LT-BJQDUanx.js → lt-LT-C0Acftnm.js} +4 -1
- package/dist/lt-LT-D1viSP-v.js +13 -0
- package/dist/{lt-LT-DjNjg3Pl.js → lt-LT-L0wG5Pd2.js} +3 -1
- package/dist/{lt-LT-CBBDNCnp.js → lt-LT-ewVNPhQN.js} +2 -5
- package/dist/lv-LV-AkiOewnL.js +13 -0
- package/dist/{lv-LV-h3nTokkM.js → lv-LV-Bnq61WAt.js} +4 -1
- package/dist/{lv-LV-BpRfRfMz.js → lv-LV-DFvpmmGg.js} +3 -1
- package/dist/lv-LV-GI-ZDM0K.js +13 -0
- package/dist/{lv-LV-CtIe38WU.js → lv-LV-JqXvRt4T.js} +2 -5
- package/dist/lv-LV-UkEOuqFz.js +94 -0
- package/dist/{mapExistingFile-D_HVWRXe.js → mapExistingFile-txzqej6F.js} +5 -80
- package/dist/mapFinancialReportsToFinancialInformation-DoTIj0Q-.js +67 -0
- package/dist/mapJpAddressSchemaToAddressLocalizations-pPCQCgRx.js +63 -0
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-DsQrqqP5.js → mapLegalEntityToIndividualOnfidoSchema-B8NxtO2j.js} +3 -63
- package/dist/{mapTransferInstrumentToPayoutAccount-MugvfqfK.js → mapTransferInstrumentToPayoutAccount-D9lyD7nx.js} +2 -2
- package/dist/nl-NL-B6B4Z_tr.js +13 -0
- package/dist/nl-NL-Cfr5hMtI.js +94 -0
- package/dist/{nl-NL-CE4l8R5l.js → nl-NL-DR1wVqQC.js} +2 -5
- package/dist/{nl-NL-oaBDOlm6.js → nl-NL-UhpFianh.js} +3 -1
- package/dist/nl-NL-VneIcgWO.js +13 -0
- package/dist/{nl-NL-YzDSCWLL.js → nl-NL-donw5yvS.js} +4 -1
- package/dist/no-NO-ASO8Je2l.js +94 -0
- package/dist/{no-NO-B1_YJlMP.js → no-NO-BZmigu6-.js} +2 -5
- package/dist/{no-NO-BTrfxWS7.js → no-NO-DRF-gOWI.js} +3 -1
- package/dist/{no-NO-Big2B13b.js → no-NO-Dev7r3VA.js} +4 -1
- package/dist/no-NO-Dn1LUbDp.js +13 -0
- package/dist/no-NO-Dqp598Ox.js +13 -0
- package/dist/payout-verification-instant-5u-wvFKv.js +41 -0
- package/dist/payout-verification-manual-BJsf7QPE.js +90 -0
- package/dist/{pl-PL-DGYFY42P.js → pl-PL-BKxhMICw.js} +2 -5
- package/dist/pl-PL-C1cP4Qpn.js +13 -0
- package/dist/pl-PL-CG4rvgUo.js +94 -0
- package/dist/{pl-PL-C72GTDxW.js → pl-PL-CHyLS1B7.js} +3 -1
- package/dist/{pl-PL-CL483jMb.js → pl-PL-DU_Xulyu.js} +4 -1
- package/dist/pl-PL-Zdh_Xu43.js +13 -0
- package/dist/{process-field-configurations-CiECrUSj.js → process-field-configurations-D2EUZow3.js} +3 -3
- package/dist/{pt-BR-CtFCi7U4.js → pt-BR-CFZE5Nop.js} +3 -1
- package/dist/{pt-BR-DJOzf0y2.js → pt-BR-DeXo4rsi.js} +4 -1
- package/dist/pt-BR-DkzLiK7Y.js +13 -0
- package/dist/pt-BR-DqLaaG4L.js +13 -0
- package/dist/pt-BR-IWTcYKu9.js +94 -0
- package/dist/{pt-BR-Co8OqKh-.js → pt-BR-wAIdhUru.js} +2 -5
- package/dist/{pt-PT-XAn7WGle.js → pt-PT-Bc9JI4eu.js} +3 -1
- package/dist/{pt-PT-pKLoM66X.js → pt-PT-C1qHVe7L.js} +2 -5
- package/dist/pt-PT-CoTUf3zo.js +13 -0
- package/dist/{pt-PT-B3qoJ3Fr.js → pt-PT-DkJdR6SS.js} +4 -1
- package/dist/pt-PT-LZZYQKaC.js +94 -0
- package/dist/pt-PT-uiREjC_e.js +13 -0
- package/dist/{resolveEnvironment-DTYC79J1.js → resolveEnvironment-CU4TOfg6.js} +3 -3
- package/dist/{ro-RO-Ct_BJvsc.js → ro-RO-BDjHimxe.js} +4 -1
- package/dist/{ro-RO-qX8X1Q1m.js → ro-RO-BFzooIri.js} +3 -1
- package/dist/ro-RO-C835aMET.js +13 -0
- package/dist/ro-RO-_HSYnLLu.js +13 -0
- package/dist/{ro-RO-D3rQ93wa.js → ro-RO-juw6hKRk.js} +2 -5
- package/dist/ro-RO-nVSeNtIQ.js +94 -0
- package/dist/{rules-BfrH23mO.js → rules-LaFMJfnA.js} +4 -5
- package/dist/{sk-SK-CmH1I1tp.js → sk-SK-BM57awWi.js} +2 -5
- package/dist/sk-SK-BX0wsQH4.js +94 -0
- package/dist/sk-SK-D6KtBU3q.js +13 -0
- package/dist/{sk-SK-CjdK4BKW.js → sk-SK-DRuiKuEp.js} +3 -1
- package/dist/sk-SK-K03EHmJF.js +13 -0
- package/dist/{sk-SK-FGK1FMMO.js → sk-SK-atqQJid1.js} +4 -1
- package/dist/{sl-SI-lPxRRPsh.js → sl-SI-CmYmQ6nG.js} +3 -1
- package/dist/{sl-SI-Cz28AFTz.js → sl-SI-CwKpXVCh.js} +4 -1
- package/dist/sl-SI-Dt7rovIT.js +94 -0
- package/dist/{sl-SI-hnlbW1OT.js → sl-SI-g2WSP0Tj.js} +2 -5
- package/dist/sl-SI-gM40Ay3W.js +13 -0
- package/dist/sl-SI-wYYQibM-.js +13 -0
- package/dist/style.css +931 -892
- package/dist/styles-CLV89_hH.js +931 -892
- package/dist/sv-SE-Bnhsdw8c.js +13 -0
- package/dist/{sv-SE-DLl7OGxl.js → sv-SE-CGCP_6VE.js} +4 -1
- package/dist/{sv-SE-BPpQ-05i.js → sv-SE-CHomf31L.js} +3 -1
- package/dist/{sv-SE-7Cbo1oic.js → sv-SE-Cfs0NHgG.js} +2 -5
- package/dist/sv-SE-DqzH809e.js +94 -0
- package/dist/sv-SE-uisfAT9L.js +13 -0
- package/dist/{useForm-CNi1k1NR.js → trackNavigation-gyYoCNvj.js} +25 -8
- package/dist/types/api/businessLines/businessLines.types.d.ts +7 -2
- package/dist/types/api/businessLines/useDeleteBusinessLine.d.ts +5 -0
- package/dist/types/api/businessLines/useUpdateBusinessLines.d.ts +7 -0
- package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +1 -0
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +2 -2
- package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetails.d.ts +0 -1
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/PayoutVerificationMethod.d.ts +1 -2
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +51 -51
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +3 -3
- package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +2 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +1 -3
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/BusinessLines/fields/WebDataField/types.d.ts +2 -4
- package/dist/types/components/BusinessLines/forms/rules.d.ts +5 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesStore.d.ts +2 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/ExistingBusinessLines/BusinessLineModal.d.ts +3 -2
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +11 -2
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +124 -124
- package/dist/types/components/Shared/FormNavigation/FormNavigation.d.ts +1 -1
- package/dist/types/components/Shared/FormNavigation/types.d.ts +0 -2
- package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +1 -3
- package/dist/types/components/Shared/Summary/Summary.d.ts +1 -1
- package/dist/types/components/Shared/Summary/types.d.ts +0 -2
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/tasks/CustomerSupport/mapping/customerSupportKeyMapping.d.ts +4 -0
- package/dist/types/context/ExperimentContext/types.d.ts +12 -0
- package/dist/types/core/errorMapping.d.ts +4 -1
- package/dist/types/core/user-events.d.ts +7 -9
- package/dist/types/hooks/{useAnalytics.d.ts → useAnalytics/useAnalytics.d.ts} +1 -7
- package/dist/types/utils/analytics/convertToEmbeddedEvent.d.ts +9 -0
- package/dist/types/utils/analytics/debouncedInputEvent.d.ts +19 -0
- package/dist/types/utils/analytics/getAnalyticsAssociatedEntityDetails.d.ts +13 -0
- package/dist/types/utils/{trackNavigation.d.ts → analytics/trackNavigation.d.ts} +1 -1
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/filterProblemsByTaskForms.d.ts +12 -0
- package/dist/types/utils/getName.d.ts +1 -1
- package/dist/{types-DNH7oNbA.js → types-C1FJZQd1.js} +2 -2
- package/dist/{types-SBNit_kK.js → types-D0aacEF5.js} +27 -3
- package/dist/{types-DHmyPbAn.js → types-DQVZ5BSQ.js} +14 -2
- package/dist/{useAssociatedLegalEntity-CmhNWabq.js → useAssociatedLegalEntity-CuTN8T5x.js} +2 -2
- package/dist/{useDataset-C0A9qR_N.js → useDataset-C4vcroxo.js} +3 -3
- package/dist/{useMultiForm-CU58VvHX.js → useMultiForm-GpoMvhwU.js} +4 -4
- package/dist/{useOnboardingStatus-DuIJSnGH.js → useOnboardingStatus-Cifcsbcr.js} +1 -1
- package/dist/{useScenarios-T0NF0gUi.js → useScenarios-AyvycExm.js} +2 -2
- package/dist/{useTermsOfServiceStatus-1oGd6y18.js → useTermsOfServiceStatus-yhwwFpfh.js} +1 -1
- package/dist/{useToastContext-DHgUoF6x.js → useToastContext-CCxuinr_.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-57G1Bu4k.js → useUnincorporatedPartnershipMembers-D_N_aPNq.js} +62 -7
- package/dist/{utils-DZz9bCID.js → utils-U0nEMoML.js} +6 -46
- package/dist/validate-BRRbVwma.js +41 -0
- package/dist/{validate-Bz6-McmI.js → validate-Bqbj3vVS.js} +2 -2
- package/dist/{validationError-Ci4nlmhZ.js → validationError-DhRqgFgA.js} +2 -2
- package/package.json +1 -1
- package/dist/Card-N9psV2kP.js +0 -147
- package/dist/CreateIndividualComponent-BL3dK960.js +0 -71
- package/dist/CreateTransferInstrumentComponent-kxMU_XVD.js +0 -66
- package/dist/Divider-DiS12D_i.js +0 -239
- package/dist/Dropzone-DSyKXnbD.js +0 -218
- package/dist/Image-BhBefhke.js +0 -22
- package/dist/InputDate-C2j7qA_b.js +0 -43
- package/dist/InputGroup-WBfGDV5F.js +0 -32
- package/dist/LandingLayout-Ca68Z9DA.js +0 -60
- package/dist/Link-BS6Zpegg.js +0 -35
- package/dist/OnboardingDropinComponent-IKzrTT3r.js +0 -4274
- package/dist/RadioGroup-DhwjhH0X.js +0 -144
- package/dist/RegistrationAddress-BnyrwF-X.js +0 -2337
- package/dist/RootBusinessDetailsPage-BFR4Sxfp.js +0 -61
- package/dist/RootIndividualDetailsPage-D6lLtamt.js +0 -76
- package/dist/SoleProprietorshipPage-BKlAFmwp.js +0 -60
- package/dist/Spacer-BK3jDget.js +0 -18
- package/dist/TaxInformationField-DCjcBMwQ.js +0 -3094
- package/dist/TileGroup-BkTpSpVX.js +0 -174
- package/dist/UnincorporatedPartnershipIndividualPage-DZZc7sEn.js +0 -65
- package/dist/bafinUtils-DkP3ZoN4.js +0 -366
- package/dist/bg-BG-BLe6BCNz.js +0 -13
- package/dist/bg-BG-BPsOhDfg.js +0 -13
- package/dist/bg-BG-z3gZQvGq.js +0 -42
- package/dist/commonValidators-BLvtzPWZ.js +0 -24
- package/dist/cs-CZ-C5lyVYlZ.js +0 -42
- package/dist/cs-CZ-CHzJM-ii.js +0 -13
- package/dist/cs-CZ-xoLsda7i.js +0 -13
- package/dist/currency-BGwQyxBo.js +0 -36
- package/dist/da-DK-CYl2jko-.js +0 -42
- package/dist/da-DK-D-TJghBi.js +0 -13
- package/dist/da-DK-XNMYSp7w.js +0 -13
- package/dist/de-DE-BI7AAdOv.js +0 -13
- package/dist/de-DE-CCmlaL2F.js +0 -13
- package/dist/de-DE-DlUEkik0.js +0 -42
- package/dist/el-GR-DZ8GheJK.js +0 -42
- package/dist/el-GR-DoCIcce-.js +0 -13
- package/dist/el-GR-kYiInIQ9.js +0 -13
- package/dist/en-US-DYpvuCLO.js +0 -13
- package/dist/es-ES-CJMsyMAc.js +0 -13
- package/dist/es-ES-CnNU6AJv.js +0 -13
- package/dist/es-ES-D0c0MoqK.js +0 -42
- package/dist/et-EE-BR4OXRfV.js +0 -13
- package/dist/et-EE-C4Fwyr7-.js +0 -42
- package/dist/et-EE-sB7wkSA3.js +0 -13
- package/dist/fi-FI-BbqwYcLI.js +0 -13
- package/dist/fi-FI-bRXb-Q_i.js +0 -42
- package/dist/fi-FI-u5GxMZsq.js +0 -13
- package/dist/fieldConfigurations-BsOQ678Q.js +0 -448
- package/dist/form-rules-DhbF2mY4.js +0 -13
- package/dist/fr-FR-CMjrAkKl.js +0 -13
- package/dist/fr-FR-Cr-Y1vIy.js +0 -13
- package/dist/fr-FR-JLPKgufm.js +0 -42
- package/dist/hr-HR-Bhsop3CT.js +0 -13
- package/dist/hr-HR-D26Gz-HL.js +0 -42
- package/dist/hr-HR-D8cBxUFa.js +0 -13
- package/dist/hu-HU-BVfkOdJe.js +0 -13
- package/dist/hu-HU-BZCFneWx.js +0 -42
- package/dist/hu-HU-D2j1ISVk.js +0 -13
- package/dist/isEmpty-B0GMAw4K.js +0 -23
- package/dist/it-IT-C7Sg1k4p.js +0 -13
- package/dist/it-IT-CwA8megO.js +0 -13
- package/dist/it-IT-mScKLwBR.js +0 -42
- package/dist/ja-JP-DyELKS9Q.js +0 -42
- package/dist/ja-JP-GSbqID7o.js +0 -13
- package/dist/jpAddressSchema-ULGNNt5U.js +0 -27
- package/dist/lt-LT-C5nNCk4_.js +0 -13
- package/dist/lt-LT-CLPQVRpJ.js +0 -42
- package/dist/lt-LT-DSiutpRl.js +0 -13
- package/dist/lv-LV-C62XiDE5.js +0 -13
- package/dist/lv-LV-CEK8Re4d.js +0 -13
- package/dist/lv-LV-Cu-MJMVO.js +0 -42
- package/dist/mapJpAddressSchemaToAddressLocalizations-D7YGYa9S.js +0 -147
- package/dist/nl-NL-BOJ6zuBr.js +0 -13
- package/dist/nl-NL-DOQPxTX-.js +0 -13
- package/dist/nl-NL-pVdpCCOx.js +0 -42
- package/dist/no-NO-CRULNwNn.js +0 -42
- package/dist/no-NO-Cp3-tDMw.js +0 -13
- package/dist/no-NO-CuwTDFSf.js +0 -13
- package/dist/pl-PL-1-MrLPXu.js +0 -13
- package/dist/pl-PL-CtDHmbhp.js +0 -13
- package/dist/pl-PL-CxCiWdAF.js +0 -42
- package/dist/pt-BR-Br_cHzGx.js +0 -13
- package/dist/pt-BR-DnKEuslh.js +0 -13
- package/dist/pt-BR-apPtB2cK.js +0 -42
- package/dist/pt-PT-CLwCij2I.js +0 -13
- package/dist/pt-PT-Coa6J7SM.js +0 -42
- package/dist/pt-PT-cjbtYBUX.js +0 -13
- package/dist/ro-RO-BTqq5BPM.js +0 -42
- package/dist/ro-RO-CGhIjlpU.js +0 -13
- package/dist/ro-RO-Cmk-sVDr.js +0 -13
- package/dist/sk-SK-Bo5nvxWQ.js +0 -13
- package/dist/sk-SK-Do6CKNU4.js +0 -13
- package/dist/sk-SK-welR06By.js +0 -42
- package/dist/sl-SI-B9N6vA08.js +0 -42
- package/dist/sl-SI-CrTRlNnN.js +0 -13
- package/dist/sl-SI-cY-L2ma-.js +0 -13
- package/dist/sv-SE-BtwPrLEA.js +0 -13
- package/dist/sv-SE-D6al0j6W.js +0 -42
- package/dist/sv-SE-WPziDPQa.js +0 -13
- package/dist/types/utils/analytics.d.ts +0 -31
- package/dist/utils-AieP90ex.js +0 -29
- package/dist/utils-Bd79Y_6k.js +0 -165
- package/dist/validate-WO7yAOk4.js +0 -382
|
@@ -2,20 +2,20 @@
|
|
|
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] = "11c63733-6706-42a5-973e-dd51e96941eb", e._sentryDebugIdIdentifier = "sentry-dbid-11c63733-6706-42a5-973e-dd51e96941eb");
|
|
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,
|
|
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-CWnZNw9D.js";
|
|
12
12
|
import cx from "classnames";
|
|
13
13
|
import { defineSlots } from "named-slots";
|
|
14
14
|
import { toChildArray, Fragment, createContext } from "preact";
|
|
15
|
-
import { S as StructuredList, u as useDataset, d as datasetIdentifier } from "./useDataset-
|
|
15
|
+
import { S as StructuredList, u as useDataset, d as datasetIdentifier } from "./useDataset-C4vcroxo.js";
|
|
16
16
|
import { useContext, useCallback, useMemo } from "preact/hooks";
|
|
17
|
-
import { a as Alert } from "./Alert-
|
|
18
|
-
import { g as getDataByFields, F as Field,
|
|
17
|
+
import { a as Alert } from "./Alert-CeZqoFeT.js";
|
|
18
|
+
import { g as getDataByFields, t as trackNavigation, F as Field, S as Select } from "./trackNavigation-gyYoCNvj.js";
|
|
19
19
|
const stackLayout = "adyen-kyc-stack-layout";
|
|
20
20
|
const stackLayoutGapXs = "adyen-kyc-stack-layout-gap-xs";
|
|
21
21
|
const stackLayoutGapS = "adyen-kyc-stack-layout-gap-s";
|
|
@@ -30,7 +30,7 @@ const stackLayoutHorizontal = "adyen-kyc-stack-layout-horizontal";
|
|
|
30
30
|
const stackLayoutLeftHorizontal = "adyen-kyc-stack-layout-left-horizontal";
|
|
31
31
|
const stackLayoutCenterHorizontal = "adyen-kyc-stack-layout-center-horizontal";
|
|
32
32
|
const stackLayoutRightHorizontal = "adyen-kyc-stack-layout-right-horizontal";
|
|
33
|
-
const styles$
|
|
33
|
+
const styles$5 = {
|
|
34
34
|
stackLayout,
|
|
35
35
|
stackLayoutGapXs,
|
|
36
36
|
stackLayoutGapS,
|
|
@@ -47,23 +47,23 @@ const styles$4 = {
|
|
|
47
47
|
stackLayoutRightHorizontal
|
|
48
48
|
};
|
|
49
49
|
const gapStyles = {
|
|
50
|
-
xSmall: styles$
|
|
51
|
-
small: styles$
|
|
52
|
-
medium: styles$
|
|
53
|
-
large: styles$
|
|
54
|
-
xLarge: styles$
|
|
50
|
+
xSmall: styles$5.stackLayoutGapXs,
|
|
51
|
+
small: styles$5.stackLayoutGapS,
|
|
52
|
+
medium: styles$5.stackLayoutGapM,
|
|
53
|
+
large: styles$5.stackLayoutGapL,
|
|
54
|
+
xLarge: styles$5.stackLayoutGapXl,
|
|
55
55
|
none: null
|
|
56
56
|
};
|
|
57
57
|
const alignStyles = {
|
|
58
|
-
left: styles$
|
|
59
|
-
center: styles$
|
|
60
|
-
right: styles$
|
|
58
|
+
left: styles$5.stackLayoutLeft,
|
|
59
|
+
center: styles$5.stackLayoutCenter,
|
|
60
|
+
right: styles$5.stackLayoutRight,
|
|
61
61
|
auto: null
|
|
62
62
|
};
|
|
63
63
|
const horizontalAlignStyles = {
|
|
64
|
-
left: styles$
|
|
65
|
-
center: styles$
|
|
66
|
-
right: styles$
|
|
64
|
+
left: styles$5.stackLayoutLeftHorizontal,
|
|
65
|
+
center: styles$5.stackLayoutCenterHorizontal,
|
|
66
|
+
right: styles$5.stackLayoutRightHorizontal,
|
|
67
67
|
auto: null
|
|
68
68
|
};
|
|
69
69
|
const flattenChildren = (children) => {
|
|
@@ -81,13 +81,13 @@ const StackLayout = ({
|
|
|
81
81
|
horizontal = false
|
|
82
82
|
}) => {
|
|
83
83
|
const flattenedChildren = flattenChildren(children);
|
|
84
|
-
const rootClassname = cx(styles$
|
|
84
|
+
const rootClassname = cx(styles$5.stackLayout, gapStyles[gap], alignStyles[align], {
|
|
85
85
|
[horizontalAlignStyles[align]]: horizontal,
|
|
86
|
-
[styles$
|
|
86
|
+
[styles$5.stackLayoutHorizontal]: horizontal
|
|
87
87
|
});
|
|
88
88
|
return /* @__PURE__ */ jsx("div", { className: rootClassname, children: flattenedChildren.map((item, i) => {
|
|
89
89
|
if (align === "auto") {
|
|
90
|
-
return /* @__PURE__ */ jsx("div", { className: styles$
|
|
90
|
+
return /* @__PURE__ */ jsx("div", { className: styles$5.stackLayoutItem, children: item }, item.key ?? i);
|
|
91
91
|
}
|
|
92
92
|
return item;
|
|
93
93
|
}) });
|
|
@@ -98,7 +98,7 @@ const inTaskStatusIndicatorSuccess = "adyen-kyc-in-task-status-indicator-success
|
|
|
98
98
|
const inTaskStatusIndicatorError = "adyen-kyc-in-task-status-indicator-error";
|
|
99
99
|
const inTaskStatusIndicatorWarning = "adyen-kyc-in-task-status-indicator-warning";
|
|
100
100
|
const inTaskStatusLabel = "adyen-kyc-in-task-status-label";
|
|
101
|
-
const styles$
|
|
101
|
+
const styles$4 = {
|
|
102
102
|
inTaskStatus,
|
|
103
103
|
inTaskStatusIndicator,
|
|
104
104
|
inTaskStatusIndicatorSuccess,
|
|
@@ -112,19 +112,19 @@ const getIndicatorLabelAndClassnames = ({
|
|
|
112
112
|
if (taskStatus === TaskStatuses.FINISHED) {
|
|
113
113
|
return {
|
|
114
114
|
indicatorLabel: "taskComplete",
|
|
115
|
-
indicatorClassname: styles$
|
|
115
|
+
indicatorClassname: styles$4.inTaskStatusIndicatorSuccess
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
118
|
if (taskStatus === TaskStatuses.PROCESSING) {
|
|
119
119
|
return {
|
|
120
120
|
indicatorLabel: "taskInProgress",
|
|
121
|
-
indicatorClassname: styles$
|
|
121
|
+
indicatorClassname: styles$4.inTaskStatusIndicatorWarning
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
if (taskStatus === TaskStatuses.ERROR) {
|
|
125
125
|
return {
|
|
126
126
|
indicatorLabel: "taskHasErrors",
|
|
127
|
-
indicatorClassname: styles$
|
|
127
|
+
indicatorClassname: styles$4.inTaskStatusIndicatorError
|
|
128
128
|
};
|
|
129
129
|
}
|
|
130
130
|
};
|
|
@@ -135,15 +135,15 @@ const TaskStatusIndicator = ({ taskStatus }) => {
|
|
|
135
135
|
return null;
|
|
136
136
|
}
|
|
137
137
|
const { indicatorLabel, indicatorClassname } = indicator;
|
|
138
|
-
return /* @__PURE__ */ jsxs("div", { className: styles$
|
|
138
|
+
return /* @__PURE__ */ jsxs("div", { className: styles$4.inTaskStatus, children: [
|
|
139
139
|
/* @__PURE__ */ jsx(
|
|
140
140
|
"div",
|
|
141
141
|
{
|
|
142
142
|
"data-testid": "task-status-indicator",
|
|
143
|
-
className: cx(styles$
|
|
143
|
+
className: cx(styles$4.inTaskStatusIndicator, indicatorClassname)
|
|
144
144
|
}
|
|
145
145
|
),
|
|
146
|
-
/* @__PURE__ */ jsx("div", { className: styles$
|
|
146
|
+
/* @__PURE__ */ jsx("div", { className: styles$4.inTaskStatusLabel, children: t(($) => $[indicatorLabel]) })
|
|
147
147
|
] });
|
|
148
148
|
};
|
|
149
149
|
const header = "adyen-kyc-header";
|
|
@@ -160,7 +160,7 @@ const headerTitleSecondary = "adyen-kyc-header-title-secondary";
|
|
|
160
160
|
const headerDescription = "adyen-kyc-header-description";
|
|
161
161
|
const headerDescriptionPrimary = "adyen-kyc-header-description-primary";
|
|
162
162
|
const headerDescriptionSecondary = "adyen-kyc-header-description-secondary";
|
|
163
|
-
const styles$
|
|
163
|
+
const styles$3 = {
|
|
164
164
|
header,
|
|
165
165
|
headerMargin,
|
|
166
166
|
headerMarginSecondary,
|
|
@@ -177,9 +177,9 @@ const styles$2 = {
|
|
|
177
177
|
headerDescriptionSecondary
|
|
178
178
|
};
|
|
179
179
|
const alignmentStyles = {
|
|
180
|
-
left: styles$
|
|
181
|
-
center: styles$
|
|
182
|
-
right: styles$
|
|
180
|
+
left: styles$3.headerLeft,
|
|
181
|
+
center: styles$3.headerCenter,
|
|
182
|
+
right: styles$3.headerRight
|
|
183
183
|
};
|
|
184
184
|
const Header = ({
|
|
185
185
|
align = "left",
|
|
@@ -191,25 +191,25 @@ const Header = ({
|
|
|
191
191
|
}) => {
|
|
192
192
|
const { Slot, hasSlot } = defineSlots(children ?? [], ["actions", "description"]);
|
|
193
193
|
const HeadingElement = secondary ? "h2" : "h1";
|
|
194
|
-
const rootClassname = cx(styles$
|
|
195
|
-
[styles$
|
|
196
|
-
[styles$
|
|
194
|
+
const rootClassname = cx(styles$3.header, alignmentStyles[align], {
|
|
195
|
+
[styles$3.headerMargin]: !secondary,
|
|
196
|
+
[styles$3.headerMarginSecondary]: secondary
|
|
197
197
|
});
|
|
198
|
-
const titleClassname = cx(styles$
|
|
199
|
-
[styles$
|
|
200
|
-
[styles$
|
|
198
|
+
const titleClassname = cx(styles$3.headerTitle, {
|
|
199
|
+
[styles$3.headerTitlePrimary]: !secondary,
|
|
200
|
+
[styles$3.headerTitleSecondary]: secondary
|
|
201
201
|
});
|
|
202
|
-
const descriptionClassname = cx(styles$
|
|
203
|
-
[styles$
|
|
204
|
-
[styles$
|
|
202
|
+
const descriptionClassname = cx(styles$3.headerDescription, {
|
|
203
|
+
[styles$3.headerDescriptionPrimary]: !secondary,
|
|
204
|
+
[styles$3.headerDescriptionSecondary]: secondary
|
|
205
205
|
});
|
|
206
206
|
return /* @__PURE__ */ jsxs("header", { className: rootClassname, children: [
|
|
207
207
|
status && /* @__PURE__ */ jsx(TaskStatusIndicator, { taskStatus: status }),
|
|
208
|
-
/* @__PURE__ */ jsxs("div", { className: styles$
|
|
208
|
+
/* @__PURE__ */ jsxs("div", { className: styles$3.headerContent, children: [
|
|
209
209
|
/* @__PURE__ */ jsx(HeadingElement, { className: titleClassname, children: title }),
|
|
210
210
|
(hasSlot("description") || description) && /* @__PURE__ */ jsx("div", { className: descriptionClassname, children: /* @__PURE__ */ jsx(Slot, { name: "description", children: description }) })
|
|
211
211
|
] }),
|
|
212
|
-
hasSlot("actions") && /* @__PURE__ */ jsx("div", { className: styles$
|
|
212
|
+
hasSlot("actions") && /* @__PURE__ */ jsx("div", { className: styles$3.headerActions, children: /* @__PURE__ */ jsx(StackLayout, { gap: "small", horizontal: true, children: /* @__PURE__ */ jsx(Slot, { name: "actions" }) }) })
|
|
213
213
|
] });
|
|
214
214
|
};
|
|
215
215
|
const list = "adyen-kyc-list";
|
|
@@ -224,7 +224,7 @@ const listItemsPaddingSmall = "adyen-kyc-list-items-padding-small";
|
|
|
224
224
|
const listItemsPaddingMedium = "adyen-kyc-list-items-padding-medium";
|
|
225
225
|
const listItemsPaddingLarge = "adyen-kyc-list-items-padding-large";
|
|
226
226
|
const listItemRowSeparator = "adyen-kyc-list-item-row-separator";
|
|
227
|
-
const styles$
|
|
227
|
+
const styles$2 = {
|
|
228
228
|
list,
|
|
229
229
|
listHeader,
|
|
230
230
|
listFooter,
|
|
@@ -248,27 +248,27 @@ const List = ({
|
|
|
248
248
|
}) => {
|
|
249
249
|
const childrenArray = toChildArray(children);
|
|
250
250
|
const listVariantStyles = {
|
|
251
|
-
plain: styles$
|
|
252
|
-
"grouped-primary": styles$
|
|
253
|
-
"grouped-secondary": styles$
|
|
251
|
+
plain: styles$2.listItemsPlain,
|
|
252
|
+
"grouped-primary": styles$2.listItemsGroupedPrimary,
|
|
253
|
+
"grouped-secondary": styles$2.listItemsGroupedSecondary
|
|
254
254
|
};
|
|
255
255
|
const listClassName = cx(
|
|
256
|
-
styles$
|
|
256
|
+
styles$2.listItems,
|
|
257
257
|
listVariantStyles[variant],
|
|
258
258
|
variant !== "plain" && {
|
|
259
|
-
[styles$
|
|
260
|
-
[styles$
|
|
261
|
-
[styles$
|
|
259
|
+
[styles$2.listItemsPaddingSmall]: padding === "small",
|
|
260
|
+
[styles$2.listItemsPaddingMedium]: padding === "medium",
|
|
261
|
+
[styles$2.listItemsPaddingLarge]: padding === "large"
|
|
262
262
|
},
|
|
263
263
|
{
|
|
264
|
-
[styles$
|
|
264
|
+
[styles$2.listItemsPaddingNone]: padding === "none"
|
|
265
265
|
}
|
|
266
266
|
);
|
|
267
|
-
return /* @__PURE__ */ jsxs("div", { className: styles$
|
|
268
|
-
header2 && /* @__PURE__ */ jsx("div", { className: styles$
|
|
267
|
+
return /* @__PURE__ */ jsxs("div", { className: styles$2.list, children: [
|
|
268
|
+
header2 && /* @__PURE__ */ jsx("div", { className: styles$2.listHeader, children: header2 }),
|
|
269
269
|
/* @__PURE__ */ jsx("ul", { className: listClassName, children: childrenArray.map((item) => {
|
|
270
|
-
const itemClassname = cx(styles$
|
|
271
|
-
[styles$
|
|
270
|
+
const itemClassname = cx(styles$2.listItem, {
|
|
271
|
+
[styles$2.listItemRowSeparator]: dividers
|
|
272
272
|
});
|
|
273
273
|
return (
|
|
274
274
|
// Content of <li /> will be unknown. Not including a key is preferred over
|
|
@@ -277,7 +277,7 @@ const List = ({
|
|
|
277
277
|
/* @__PURE__ */ jsx("li", { className: itemClassname, children: item })
|
|
278
278
|
);
|
|
279
279
|
}) }),
|
|
280
|
-
footer && /* @__PURE__ */ jsx("div", { className: styles$
|
|
280
|
+
footer && /* @__PURE__ */ jsx("div", { className: styles$2.listFooter, children: footer })
|
|
281
281
|
] });
|
|
282
282
|
};
|
|
283
283
|
const FormRouterContext = createContext(null);
|
|
@@ -632,7 +632,7 @@ const summaryListItemValue = "adyen-kyc-summary-list-item-value";
|
|
|
632
632
|
const summaryContentLegalCaption = "adyen-kyc-summary-content-legal-caption";
|
|
633
633
|
const summaryContentList = "adyen-kyc-summary-content-list";
|
|
634
634
|
const summaryContentLogo = "adyen-kyc-summary-content-logo";
|
|
635
|
-
const styles = {
|
|
635
|
+
const styles$1 = {
|
|
636
636
|
summary,
|
|
637
637
|
summaryContent,
|
|
638
638
|
summaryList,
|
|
@@ -660,7 +660,6 @@ function Summary({
|
|
|
660
660
|
gotoForm,
|
|
661
661
|
labels,
|
|
662
662
|
problems,
|
|
663
|
-
trackNavigation = noop,
|
|
664
663
|
omitted = {},
|
|
665
664
|
showFormHeader = true,
|
|
666
665
|
showSectionHeader = true,
|
|
@@ -686,8 +685,8 @@ function Summary({
|
|
|
686
685
|
{}
|
|
687
686
|
);
|
|
688
687
|
const formUtils = createFormUtils({ labels }, t);
|
|
689
|
-
const summarySectionHeader = (formName, formId) => /* @__PURE__ */ jsxs("header", { className: styles.summaryListHeader, children: [
|
|
690
|
-
/* @__PURE__ */ jsx("h2", { className: styles.summaryListHeaderTitle, children: formName }),
|
|
688
|
+
const summarySectionHeader = (formName, formId) => /* @__PURE__ */ jsxs("header", { className: styles$1.summaryListHeader, children: [
|
|
689
|
+
/* @__PURE__ */ jsx("h2", { className: styles$1.summaryListHeaderTitle, children: formName }),
|
|
691
690
|
!omitted.keys?.includes(formId) && /* @__PURE__ */ jsx(
|
|
692
691
|
IconButton,
|
|
693
692
|
{
|
|
@@ -715,7 +714,7 @@ function Summary({
|
|
|
715
714
|
});
|
|
716
715
|
return !useStructuredList2 ? /* @__PURE__ */ jsxs(List, { variant: "grouped-secondary", children: [
|
|
717
716
|
showSectionHeader && summarySectionHeader(formName, formId),
|
|
718
|
-
/* @__PURE__ */ jsx("dl", { className: styles.summaryList, children: Array.isArray(fieldData) ? fieldData.map((item) => renderBulletedListField(item)) : renderSummaryItems(fieldData, labelData) })
|
|
717
|
+
/* @__PURE__ */ jsx("dl", { className: styles$1.summaryList, children: Array.isArray(fieldData) ? fieldData.map((item) => renderBulletedListField(item)) : renderSummaryItems(fieldData, labelData) })
|
|
719
718
|
] }) : /* @__PURE__ */ jsxs(List, { variant: "grouped-secondary", children: [
|
|
720
719
|
showSectionHeader && summarySectionHeader(formName, formId),
|
|
721
720
|
/* @__PURE__ */ jsx(StructuredList, { items: structuredListItems })
|
|
@@ -754,18 +753,18 @@ function Summary({
|
|
|
754
753
|
});
|
|
755
754
|
return dataList;
|
|
756
755
|
};
|
|
757
|
-
const renderField = (label, value) => /* @__PURE__ */ jsxs("div", { className: styles.summaryListItem, children: [
|
|
758
|
-
/* @__PURE__ */ jsx("dt", { className: styles.summaryListItemKey, children: label }),
|
|
759
|
-
/* @__PURE__ */ jsx("dd", { className: styles.summaryListItemValue, children: value })
|
|
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 })
|
|
760
759
|
] });
|
|
761
|
-
const renderBulletedListField = (item) => /* @__PURE__ */ jsx("ul", { className: styles.summaryContentList, children: /* @__PURE__ */ jsx("li", { children: item }) });
|
|
760
|
+
const renderBulletedListField = (item) => /* @__PURE__ */ jsx("ul", { className: styles$1.summaryContentList, children: /* @__PURE__ */ jsx("li", { children: item }) });
|
|
762
761
|
const renderSummaryItems = (formData = {}, labelData = {}) => {
|
|
763
762
|
if (!formData) return [];
|
|
764
763
|
if (formData?.idVerificationMethod === "instantVerification") {
|
|
765
764
|
return [
|
|
766
765
|
renderField(
|
|
767
766
|
i18n.get("verificationMethod"),
|
|
768
|
-
/* @__PURE__ */ jsx(Svg, { name: "onfido-logo", type: "image", className: styles.summaryContentLogo })
|
|
767
|
+
/* @__PURE__ */ jsx(Svg, { name: "onfido-logo", type: "image", className: styles$1.summaryContentLogo })
|
|
769
768
|
)
|
|
770
769
|
];
|
|
771
770
|
}
|
|
@@ -788,9 +787,9 @@ function Summary({
|
|
|
788
787
|
});
|
|
789
788
|
return dataList;
|
|
790
789
|
};
|
|
791
|
-
return /* @__PURE__ */ jsxs("div", { role: "region", className: styles.summary, children: [
|
|
790
|
+
return /* @__PURE__ */ jsxs("div", { role: "region", className: styles$1.summary, children: [
|
|
792
791
|
showFormHeader && /* @__PURE__ */ jsx(Header, { title: t(($) => $["summary"]), description: t(($) => $["summaryDescription"]) }),
|
|
793
|
-
/* @__PURE__ */ jsxs("div", { className: styles.summaryContent, children: [
|
|
792
|
+
/* @__PURE__ */ jsxs("div", { className: styles$1.summaryContent, children: [
|
|
794
793
|
/* @__PURE__ */ jsx(
|
|
795
794
|
ErrorPanel,
|
|
796
795
|
{
|
|
@@ -801,8 +800,8 @@ function Summary({
|
|
|
801
800
|
}
|
|
802
801
|
),
|
|
803
802
|
renderSummaryContent(data, useStructuredList),
|
|
804
|
-
showLegalCaption && /* @__PURE__ */ jsx("div", { className: styles.summaryContentLegalCaption, children: t(($) => $["summaryLegalCaption"]) }),
|
|
805
|
-
showTaxExemptedLegalCaption && /* @__PURE__ */ jsxs("div", { className: styles.summaryContentLegalCaption, children: [
|
|
803
|
+
showLegalCaption && /* @__PURE__ */ jsx("div", { className: styles$1.summaryContentLegalCaption, children: t(($) => $["summaryLegalCaption"]) }),
|
|
804
|
+
showTaxExemptedLegalCaption && /* @__PURE__ */ jsxs("div", { className: styles$1.summaryContentLegalCaption, children: [
|
|
806
805
|
/* @__PURE__ */ jsx("p", { children: t(($) => $["summaryTaxExemptionLegalCaptionTitle"]) }),
|
|
807
806
|
/* @__PURE__ */ jsxs("ul", { children: [
|
|
808
807
|
/* @__PURE__ */ jsx("li", { children: t(($) => $["summaryTaxExemptionLegalCaption_1"]) }),
|
|
@@ -813,6 +812,16 @@ function Summary({
|
|
|
813
812
|
] })
|
|
814
813
|
] });
|
|
815
814
|
}
|
|
815
|
+
const isTruthyValidator = {
|
|
816
|
+
validate: (value) => !!value,
|
|
817
|
+
modes: ["blur"],
|
|
818
|
+
errorMessage: "fieldIsRequired"
|
|
819
|
+
};
|
|
820
|
+
const isNotEmptyValidator = {
|
|
821
|
+
validate: (value) => !isEmpty(value),
|
|
822
|
+
modes: ["blur"],
|
|
823
|
+
errorMessage: "fieldIsRequired"
|
|
824
|
+
};
|
|
816
825
|
function getFormProps(props, innerFormId) {
|
|
817
826
|
if (!innerFormId) {
|
|
818
827
|
return null;
|
|
@@ -955,6 +964,26 @@ function getFieldProps(props, innerFormFields) {
|
|
|
955
964
|
}
|
|
956
965
|
return null;
|
|
957
966
|
}
|
|
967
|
+
const link = "adyen-kyc-link";
|
|
968
|
+
const linkDefault = "adyen-kyc-link-default";
|
|
969
|
+
const linkInline = "adyen-kyc-link-inline";
|
|
970
|
+
const styles = {
|
|
971
|
+
link,
|
|
972
|
+
linkDefault,
|
|
973
|
+
linkInline
|
|
974
|
+
};
|
|
975
|
+
const Link = ({ children, external = false, href, inline = false }) => {
|
|
976
|
+
const rel = external ? "external noopener noreferrer" : void 0;
|
|
977
|
+
const target = external ? "_blank" : "_self";
|
|
978
|
+
const className = cx(styles.link, {
|
|
979
|
+
[styles.linkInline]: inline,
|
|
980
|
+
[styles.linkDefault]: !inline
|
|
981
|
+
});
|
|
982
|
+
return /* @__PURE__ */ jsxs("a", { className, href, rel, target, children: [
|
|
983
|
+
children,
|
|
984
|
+
external && !inline && /* @__PURE__ */ jsx(Icon, { name: "external-link" })
|
|
985
|
+
] });
|
|
986
|
+
};
|
|
958
987
|
const Radio = ({
|
|
959
988
|
id,
|
|
960
989
|
value,
|
|
@@ -1035,15 +1064,18 @@ export {
|
|
|
1035
1064
|
Radio as R,
|
|
1036
1065
|
StackLayout as S,
|
|
1037
1066
|
UnincorporatedPartnershipMemberTypes as U,
|
|
1038
|
-
|
|
1039
|
-
|
|
1067
|
+
Link as a,
|
|
1068
|
+
COUNTRY_FIELD as b,
|
|
1040
1069
|
createFormUtils as c,
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1070
|
+
getFieldProps as d,
|
|
1071
|
+
getRoleName as e,
|
|
1072
|
+
summaryStep as f,
|
|
1073
|
+
getFormProps as g,
|
|
1074
|
+
Summary as h,
|
|
1075
|
+
getRoleTagVariant as i,
|
|
1076
|
+
isTruthyValidator as j,
|
|
1077
|
+
isNotEmptyValidator as k,
|
|
1078
|
+
getNestedOuterFormPropsFromOuterFormProps as l,
|
|
1047
1079
|
mergeFieldMetadataIntoProps as m,
|
|
1048
1080
|
roleMetadata as r,
|
|
1049
1081
|
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] = "31b10b84-513d-41fe-a302-615c60750ee0", e._sentryDebugIdIdentifier = "sentry-dbid-31b10b84-513d-41fe-a302-615c60750ee0");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { c as useLegalEntity, $ as useExperimentsContext, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, L as Loader, g as getLegalEntityCountry, M as EntityTypes, ap as isOnfidoAutofillFlowEnabled, O as TaskTypes } from "./StoreProvider-CWnZNw9D.js";
|
|
11
|
+
import { jsx } from "preact/jsx-runtime";
|
|
12
|
+
import { i as useCapabilityProblems, k as getProblemsForEntity } from "./fieldConfigurations-DVV23oeM.js";
|
|
13
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-DBQF0Onh.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-BJo9yIYj.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-LGBI1w0Z.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-914Viqia.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BXKZNAA1.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-BnMw4HQ7.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-CWnZNw9D.js").then((n) => n.bL), "../../../language/locales/es-ES.json": () => import("./es-ES-BWAlCq7R.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-D9SV0taO.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-C7GrKbXx.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-o45TzYMp.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-YG9hvMMj.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-DIurnBC3.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Cztl5jRY.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-DXkV1ta4.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BJTBEa5D.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-GI-ZDM0K.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-B6B4Z_tr.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-Dn1LUbDp.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-C1cP4Qpn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-DkzLiK7Y.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CoTUf3zo.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-_HSYnLLu.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-K03EHmJF.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-gM40Ay3W.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-Bnhsdw8c.js") }), `../../../language/locales/${i18n.language}.json`, 6) },
|
|
30
|
+
{ ns: "ui", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-e6Rs6yz_.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Q6NVYK-k.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DSYEF7Q1.js"), "../../ui/language/de-DE.json": () => import("./de-DE-B9-ILIdw.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DYjcbiSc.js"), "../../ui/language/en-US.json": () => import("./en-US-gsp7CD_E.js"), "../../ui/language/es-ES.json": () => import("./es-ES-C-tTuMLH.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BzLAp08F.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-pyHLbmel.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-DG3tEkdN.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-BRFErTkv.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CJA8w351.js"), "../../ui/language/it-IT.json": () => import("./it-IT-mhNjrQZn.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-CfrHlRGC.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-C0Acftnm.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-Bnq61WAt.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-donw5yvS.js"), "../../ui/language/no-NO.json": () => import("./no-NO-Dev7r3VA.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-DU_Xulyu.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-DeXo4rsi.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-DkJdR6SS.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-BDjHimxe.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-atqQJid1.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-CwKpXVCh.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-CGCP_6VE.js") }), `../../ui/language/${i18n.language}.json`, 5) },
|
|
31
|
+
{ ns: "individual", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Individual/language/bg-BG.json": () => import("./bg-BG-a6CQ0hKw.js"), "../../Individual/language/cs-CZ.json": () => import("./cs-CZ-BAr1-JAS.js"), "../../Individual/language/da-DK.json": () => import("./da-DK-DoHb4ssx.js"), "../../Individual/language/de-DE.json": () => import("./de-DE-R6YgDOo5.js"), "../../Individual/language/el-GR.json": () => import("./el-GR-DgaUGjyJ.js"), "../../Individual/language/en-US.json": () => import("./en-US-CTZwL084.js"), "../../Individual/language/es-ES.json": () => import("./es-ES-dMSfTLXF.js"), "../../Individual/language/et-EE.json": () => import("./et-EE-l977xCZ_.js"), "../../Individual/language/fi-FI.json": () => import("./fi-FI-0ScajGUB.js"), "../../Individual/language/fr-FR.json": () => import("./fr-FR-CqCcxkgA.js"), "../../Individual/language/hr-HR.json": () => import("./hr-HR-CoCrArfg.js"), "../../Individual/language/hu-HU.json": () => import("./hu-HU-BrxUJuJh.js"), "../../Individual/language/it-IT.json": () => import("./it-IT-CNS4NmYX.js"), "../../Individual/language/ja-JP.json": () => import("./ja-JP-BxEWI56P.js"), "../../Individual/language/lt-LT.json": () => import("./lt-LT-D1viSP-v.js"), "../../Individual/language/lv-LV.json": () => import("./lv-LV-AkiOewnL.js"), "../../Individual/language/nl-NL.json": () => import("./nl-NL-VneIcgWO.js"), "../../Individual/language/no-NO.json": () => import("./no-NO-Dqp598Ox.js"), "../../Individual/language/pl-PL.json": () => import("./pl-PL-Zdh_Xu43.js"), "../../Individual/language/pt-BR.json": () => import("./pt-BR-DqLaaG4L.js"), "../../Individual/language/pt-PT.json": () => import("./pt-PT-uiREjC_e.js"), "../../Individual/language/ro-RO.json": () => import("./ro-RO-C835aMET.js"), "../../Individual/language/sk-SK.json": () => import("./sk-SK-D6KtBU3q.js"), "../../Individual/language/sl-SI.json": () => import("./sl-SI-wYYQibM-.js"), "../../Individual/language/sv-SE.json": () => import("./sv-SE-uisfAT9L.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
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
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] = "0a928382-6a8f-4e19-872e-1b5fd1dd00ca", e._sentryDebugIdIdentifier = "sentry-dbid-0a928382-6a8f-4e19-872e-1b5fd1dd00ca");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, z as LegalEntityTypes, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, L as Loader, O as TaskTypes } from "./StoreProvider-CWnZNw9D.js";
|
|
11
|
+
import { jsx } from "preact/jsx-runtime";
|
|
12
|
+
import { useState } from "preact/hooks";
|
|
13
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-CuTN8T5x.js";
|
|
14
|
+
import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-CxWPXV7j.js";
|
|
15
|
+
function CreateTransferInstrumentComponent({
|
|
16
|
+
legalEntityId,
|
|
17
|
+
transferInstrumentId,
|
|
18
|
+
openBankingPartnerConfigId,
|
|
19
|
+
modalView = false,
|
|
20
|
+
onClose,
|
|
21
|
+
onUnmount,
|
|
22
|
+
onSubmitSuccess,
|
|
23
|
+
handleBackClick
|
|
24
|
+
}) {
|
|
25
|
+
const [currentTransferInstrumentId, setCurrentTransferInstrumentId] = useState(transferInstrumentId);
|
|
26
|
+
const { i18n } = useTranslation();
|
|
27
|
+
const { data: legalEntity, isLoading: isLegalEntityLoading } = useLegalEntity(legalEntityId);
|
|
28
|
+
const { data: associatedEntity } = useAssociatedLegalEntity(legalEntity, [
|
|
29
|
+
LegalEntityTypes.SOLE_PROPRIETORSHIP,
|
|
30
|
+
LegalEntityTypes.TRUST,
|
|
31
|
+
LegalEntityTypes.UNINCORPORATED_PARTNERSHIP
|
|
32
|
+
]);
|
|
33
|
+
addResourceBundles(i18n, i18n.language, [
|
|
34
|
+
{ ns: "common", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-BJo9yIYj.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-LGBI1w0Z.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-914Viqia.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BXKZNAA1.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-BnMw4HQ7.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-CWnZNw9D.js").then((n) => n.bL), "../../../language/locales/es-ES.json": () => import("./es-ES-BWAlCq7R.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-D9SV0taO.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-C7GrKbXx.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-o45TzYMp.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-YG9hvMMj.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-DIurnBC3.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Cztl5jRY.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-DXkV1ta4.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BJTBEa5D.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-GI-ZDM0K.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-B6B4Z_tr.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-Dn1LUbDp.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-C1cP4Qpn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-DkzLiK7Y.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CoTUf3zo.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-_HSYnLLu.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-K03EHmJF.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-gM40Ay3W.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-Bnhsdw8c.js") }), `../../../language/locales/${i18n.language}.json`, 6) },
|
|
35
|
+
{ ns: "ui", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-e6Rs6yz_.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Q6NVYK-k.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DSYEF7Q1.js"), "../../ui/language/de-DE.json": () => import("./de-DE-B9-ILIdw.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DYjcbiSc.js"), "../../ui/language/en-US.json": () => import("./en-US-gsp7CD_E.js"), "../../ui/language/es-ES.json": () => import("./es-ES-C-tTuMLH.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BzLAp08F.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-pyHLbmel.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-DG3tEkdN.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-BRFErTkv.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CJA8w351.js"), "../../ui/language/it-IT.json": () => import("./it-IT-mhNjrQZn.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-CfrHlRGC.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-C0Acftnm.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-Bnq61WAt.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-donw5yvS.js"), "../../ui/language/no-NO.json": () => import("./no-NO-Dev7r3VA.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-DU_Xulyu.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-DeXo4rsi.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-DkJdR6SS.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-BDjHimxe.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-atqQJid1.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-CwKpXVCh.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-CGCP_6VE.js") }), `../../ui/language/${i18n.language}.json`, 5) },
|
|
36
|
+
{
|
|
37
|
+
ns: "banking",
|
|
38
|
+
importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../BankAccount/language/bg-BG.json": () => import("./bg-BG-D8qq7TQJ.js"), "../../BankAccount/language/cs-CZ.json": () => import("./cs-CZ-ChGeQ9s0.js"), "../../BankAccount/language/da-DK.json": () => import("./da-DK-CyHH8kX3.js"), "../../BankAccount/language/de-DE.json": () => import("./de-DE-DL6SrIBE.js"), "../../BankAccount/language/el-GR.json": () => import("./el-GR-l0JeDNPy.js"), "../../BankAccount/language/en-US.json": () => import("./en-US-BxEW5N6f.js"), "../../BankAccount/language/es-ES.json": () => import("./es-ES-C1ClJ2XE.js"), "../../BankAccount/language/et-EE.json": () => import("./et-EE-BG_Y29oV.js"), "../../BankAccount/language/fi-FI.json": () => import("./fi-FI-bIhXiQPL.js"), "../../BankAccount/language/fr-FR.json": () => import("./fr-FR-Bj275MRb.js"), "../../BankAccount/language/hr-HR.json": () => import("./hr-HR-CL0q_D2U.js"), "../../BankAccount/language/hu-HU.json": () => import("./hu-HU-cLqGFTTR.js"), "../../BankAccount/language/it-IT.json": () => import("./it-IT-C0Qk47kh.js"), "../../BankAccount/language/ja-JP.json": () => import("./ja-JP-DSdZj-it.js"), "../../BankAccount/language/lt-LT.json": () => import("./lt-LT-C-dKiExL.js"), "../../BankAccount/language/lv-LV.json": () => import("./lv-LV-UkEOuqFz.js"), "../../BankAccount/language/nl-NL.json": () => import("./nl-NL-Cfr5hMtI.js"), "../../BankAccount/language/no-NO.json": () => import("./no-NO-ASO8Je2l.js"), "../../BankAccount/language/pl-PL.json": () => import("./pl-PL-CG4rvgUo.js"), "../../BankAccount/language/pt-BR.json": () => import("./pt-BR-IWTcYKu9.js"), "../../BankAccount/language/pt-PT.json": () => import("./pt-PT-LZZYQKaC.js"), "../../BankAccount/language/ro-RO.json": () => import("./ro-RO-nVSeNtIQ.js"), "../../BankAccount/language/sk-SK.json": () => import("./sk-SK-BX0wsQH4.js"), "../../BankAccount/language/sl-SI.json": () => import("./sl-SI-Dt7rovIT.js"), "../../BankAccount/language/sv-SE.json": () => import("./sv-SE-DqzH809e.js") }), `../../BankAccount/language/${i18n.language}.json`, 5)
|
|
39
|
+
}
|
|
40
|
+
]);
|
|
41
|
+
const handleOnClose = () => {
|
|
42
|
+
if (modalView) {
|
|
43
|
+
onUnmount?.();
|
|
44
|
+
}
|
|
45
|
+
onClose?.();
|
|
46
|
+
};
|
|
47
|
+
return isLegalEntityLoading || !legalEntity ? /* @__PURE__ */ jsx(Loader, {}) : /* @__PURE__ */ jsx(
|
|
48
|
+
PayoutDetailsDropin,
|
|
49
|
+
{
|
|
50
|
+
legalEntityResponse: legalEntity,
|
|
51
|
+
associatedLegalArrangement: associatedEntity,
|
|
52
|
+
openBankingPartnerConfigId,
|
|
53
|
+
handleBackClick,
|
|
54
|
+
handleCloseClick: handleOnClose,
|
|
55
|
+
currentTransferInstrumentId,
|
|
56
|
+
setCurrentTransferInstrumentId,
|
|
57
|
+
onSubmit: onSubmitSuccess,
|
|
58
|
+
taskType: TaskTypes.PAYOUT,
|
|
59
|
+
hideSidebar: true,
|
|
60
|
+
asModal: modalView
|
|
61
|
+
}
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
export {
|
|
65
|
+
CreateTransferInstrumentComponent as C
|
|
66
|
+
};
|