@adyen/kyc-components 4.7.2 → 4.8.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/4-people-7MltvEnk.js +35 -0
- package/dist/AD-D_B1KZm9.js +15 -0
- package/dist/AE-iKPgRx_9.js +17 -0
- package/dist/AI-CYjWGBKT.js +19 -0
- package/dist/AL-D62C5Lpk.js +19 -0
- package/dist/AR-BOgSvtgP.js +19 -0
- package/dist/AS-Cg8Vujpc.js +17 -0
- package/dist/AT-CCRMRifN.js +19 -0
- package/dist/AT-D3H5WGY3.js +15 -0
- package/dist/AT-DMpxSE4g.js +19 -0
- package/dist/AT-Doe66WxQ.js +16 -0
- package/dist/AU-B77DgHQb.js +16 -0
- package/dist/AU-BcSu8pI2.js +20 -0
- package/dist/AU-CiWB9qh-.js +11 -0
- package/dist/AU-DAfj7Z58.js +18 -0
- package/dist/AX-CG8iviap.js +15 -0
- package/dist/AZ-DIB7CvVN.js +19 -0
- package/dist/AcceptTermsOfServiceComponent-BKgdZKrj.js +651 -0
- package/dist/AcceptTermsOfServiceComponent-CUIdPIg8.js +6 -0
- package/dist/Accordion-Dmrb3-v6.js +111 -0
- package/dist/AccountSetupRejected-DkwJLZ-8.js +20 -0
- package/dist/ActionBar-ITEbcxgG.js +33 -0
- package/dist/Address-CnQ22ndb.js +595 -0
- package/dist/Alert-BER6uCP8.js +170 -0
- package/dist/Avatar-DElKUUVp.js +54 -0
- package/dist/BA-C4vH4-x6.js +19 -0
- package/dist/BE-BvtnaSSH.js +15 -0
- package/dist/BE-DJM3cj-R.js +11 -0
- package/dist/BE-Dtk1wvHk.js +12 -0
- package/dist/BE-Sbwjfh5h.js +11 -0
- package/dist/BG-DvFE-fU3.js +19 -0
- package/dist/BH-Bm_tXC8b.js +19 -0
- package/dist/BM-BPYI-Bk0.js +19 -0
- package/dist/BR-CRGYlRY-.js +18 -0
- package/dist/BR-CwJ6YXMX.js +23 -0
- package/dist/BR-DdZm-FhP.js +15 -0
- package/dist/BR-DjC4dRH8.js +20 -0
- package/dist/BS-DEbfM7Fg.js +19 -0
- package/dist/BV-LqWIWEV5.js +19 -0
- package/dist/BY-Dw4W1isS.js +19 -0
- package/dist/BusinessFinancingDropin-B8ZJDKWU.js +1796 -0
- package/dist/BusinessFinancingPage-B2EuTX1b.js +87 -0
- package/dist/BusinessTypeSelectionPage-CChAObkr.js +439 -0
- package/dist/Button-DvWt5T9O.js +189 -0
- package/dist/CA-CQtjbUjU.js +16 -0
- package/dist/CA-Cwit937J.js +18 -0
- package/dist/CA-D0ezsmfN.js +10 -0
- package/dist/CA-PLMbc5uq.js +17 -0
- package/dist/CH-Baaufs8O.js +15 -0
- package/dist/CH-D9S1IpBs.js +11 -0
- package/dist/CH-DPLfVgsE.js +15 -0
- package/dist/CH-DnoWGcl9.js +11 -0
- package/dist/CN-Bx6shvCX.js +19 -0
- package/dist/CR-CgM7Uut3.js +19 -0
- package/dist/CY-CxBi1s-O.js +15 -0
- package/dist/CZ-B3oiWDug.js +15 -0
- package/dist/CZ-B8nb2PxI.js +16 -0
- package/dist/CZ-CbWqKLbR.js +19 -0
- package/dist/CZ-DS5YfhO9.js +27 -0
- package/dist/Card-vYndix5Y.js +70 -0
- package/dist/Checkbox-BCYjFPa4.js +55 -0
- package/dist/Confirm-BmiOH3Vr.js +76 -0
- package/dist/ConstitutionalDocument-rRO4Qdx2.js +2228 -0
- package/dist/ContactDetails-tVqSDGqY.js +292 -0
- package/dist/ContextGuidance-DKKgj5gN.js +29 -0
- package/dist/ContractViewer-zPVipxCC.js +987 -0
- package/dist/CountryField-s5-jZTU9.js +38 -0
- package/dist/Currency-gYKD3DSx.js +191 -0
- package/dist/CustomerSupport-kwwKDe5a.js +127 -0
- package/dist/DE-BOCSw-Jn.js +23 -0
- package/dist/DE-NkKgh0-y.js +15 -0
- package/dist/DE-SZPlEjww.js +20 -0
- package/dist/DE-hCefE4qL.js +20 -0
- package/dist/DK-CB_26cPx.js +27 -0
- package/dist/DK-CO2QUqp2.js +19 -0
- package/dist/DK-CikJtsBF.js +15 -0
- package/dist/DK-DAYxZyrn.js +18 -0
- package/dist/DO-DWjKCR-x.js +19 -0
- package/dist/DebugModal-DycU_84l.js +451 -0
- package/dist/DecisionMakerDetails-DA9upL0W.js +471 -0
- package/dist/DecisionMakerDetailsPage-B7iGmS0R.js +105 -0
- package/dist/DecisionMakers-BZRkBx5n.js +670 -0
- package/dist/DetailViewLayout-Cz3FVZ5a.js +68 -0
- package/dist/Divider-CrK4vlsJ.js +11 -0
- package/dist/DropinLayout-Ce8IeTl4.js +22 -0
- package/dist/Dropzone-By_YOrv2.js +221 -0
- package/dist/EC-CCGvbVWA.js +20 -0
- package/dist/EE-DebeWn2E.js +15 -0
- package/dist/ES-Bf5fpQJJ.js +24 -0
- package/dist/ES-D2CBh7YF.js +19 -0
- package/dist/ES-DXLZWZXA.js +15 -0
- package/dist/ES-m71Tl7fE.js +15 -0
- package/dist/EmbeddedStatus-DeSYswbC.js +128 -0
- package/dist/EndStateLayout-CR8wHeA1.js +84 -0
- package/dist/EntityAssociation-CKOd_SVw.js +163 -0
- package/dist/EntityGuidanceStatus-C_rpRyk4.js +89 -0
- package/dist/ErrorPanel-4juOd8Z2.js +186 -0
- package/dist/FI-Cbz5-l9v.js +10 -0
- package/dist/FI-Clx-zbKe.js +15 -0
- package/dist/FI-L14G4S91.js +11 -0
- package/dist/FI-_CR_F2Ml.js +12 -0
- package/dist/FJ-BKLmDeVh.js +19 -0
- package/dist/FO-D7VnFgWu.js +19 -0
- package/dist/FR-D2lGCnJC.js +16 -0
- package/dist/FR-D2zQy3jq.js +15 -0
- package/dist/FR-DwVflgGw.js +15 -0
- package/dist/FR-wqLTqKJj.js +23 -0
- package/dist/Field-C2ZpB0wo.js +155 -0
- package/dist/FormNavigation-IqQmylMk.js +116 -0
- package/dist/GB-BX3mPDDS.js +27 -0
- package/dist/GB-CIqAOZg5.js +24 -0
- package/dist/GB-CVb-Rw8a.js +18 -0
- package/dist/GB-DD4csU-b.js +11 -0
- package/dist/GE-D02s-9eo.js +19 -0
- package/dist/GF-BcHxbxvv.js +15 -0
- package/dist/GG-C3cx2hzZ.js +27 -0
- package/dist/GI-D_DZhrwe.js +35 -0
- package/dist/GL-BUOXwUJ0.js +19 -0
- package/dist/GP-CmZCjGab.js +15 -0
- package/dist/GR-BxjWJl4T.js +15 -0
- package/dist/GT-C_l7WI2f.js +19 -0
- package/dist/GU-7zSp4NP8.js +17 -0
- package/dist/HK-D5lgUGIW.js +10 -0
- package/dist/HK-DXmjOLnc.js +17 -0
- package/dist/HK-Dc3v2ZB0.js +18 -0
- package/dist/HK-dz43_PmR.js +15 -0
- package/dist/HR-BvWaw8qz.js +15 -0
- package/dist/HR-ChipU8Kr.js +15 -0
- package/dist/HR-D3ZZV7I7.js +19 -0
- package/dist/HR-SfBt4kaq.js +15 -0
- package/dist/HU-1UX4rgmz.js +10 -0
- package/dist/HU-9NTdjUUV.js +26 -0
- package/dist/HU-CzI3Elvd.js +19 -0
- package/dist/HU-wpmPNNka.js +11 -0
- package/dist/HandlerContext-CIedIvkP.js +9 -0
- package/dist/Header-BNb1zwkF.js +93 -0
- package/dist/ID-O2T9tbLO.js +19 -0
- package/dist/IE-CRaBXxhc.js +18 -0
- package/dist/IE-Cw9l0506.js +15 -0
- package/dist/IE-DWpH_5Cq.js +10 -0
- package/dist/IE-OqeqXlhV.js +20 -0
- package/dist/IL-1hVGBOhQ.js +15 -0
- package/dist/IM-B1t_Q0mE.js +27 -0
- package/dist/IN-BAGr7C88.js +20 -0
- package/dist/IS-C97KS-Cn.js +19 -0
- package/dist/IT-Bqf_SGsX.js +19 -0
- package/dist/IT-GLNikVmY.js +19 -0
- package/dist/IT-PBgScy3E.js +15 -0
- package/dist/IT-b5Hsdl6Z.js +15 -0
- package/dist/Image-BTVEK7B2.js +33 -0
- package/dist/Individual.rules-B3pCow6J.js +295 -0
- package/dist/IndividualDropin-bFgrHziM.js +4946 -0
- package/dist/InputDate-XX9jaw9v.js +52 -0
- package/dist/InputGroup-2FJnD0LO.js +21 -0
- package/dist/InputText-C30dZxS4.js +119 -0
- package/dist/Introduction-BRwmMwP8.js +271 -0
- package/dist/InvitedDecisionMakerComponent-DD1vVyTG.js +6 -0
- package/dist/InvitedDecisionMakerComponent-g4s20v7g.js +353 -0
- package/dist/JE-D9zaTrAY.js +27 -0
- package/dist/JM-6zLyaeVi.js +19 -0
- package/dist/JO-BdNdFHnL.js +19 -0
- package/dist/JP-znYbtZMc.js +20 -0
- package/dist/JpAddress-DcrYSdH2.js +319 -0
- package/dist/KR-xcUi-9h2.js +19 -0
- package/dist/KW-3DCYRJ53.js +19 -0
- package/dist/KY-CCApxZ6r.js +19 -0
- package/dist/KZ-Cqr8yPqY.js +19 -0
- package/dist/LB-R74h2pUy.js +19 -0
- package/dist/LI-D9H9hvDG.js +15 -0
- package/dist/LT-CDQI5_NM.js +15 -0
- package/dist/LT-COGUxKB6.js +19 -0
- package/dist/LT-DkKeNYqC.js +16 -0
- package/dist/LT-Dq5I_vLb.js +11 -0
- package/dist/LU-B7-x8Llo.js +15 -0
- package/dist/LV-DAzwuNGM.js +15 -0
- package/dist/LandingLayout-BQZNXhZ_.js +76 -0
- package/dist/LegalCompanyNameField-D91em8Tk.js +108 -0
- package/dist/LegalRepresentativeDetailsPage-BeNRjz37.js +73 -0
- package/dist/Link-DKiaZfxB.js +32 -0
- package/dist/List-DLrcpMVd.js +71 -0
- package/dist/ListItem-zVPVQbER.js +70 -0
- package/dist/LoaderWrapper-DWKykOjd.js +34 -0
- package/dist/MC-DYg2Ld6N.js +15 -0
- package/dist/MD-BSGq8uEc.js +19 -0
- package/dist/ME-CMYolexb.js +19 -0
- package/dist/MK-KXTP17uw.js +19 -0
- package/dist/MP-CJH5I9LN.js +17 -0
- package/dist/MQ-B-Nxd16T.js +15 -0
- package/dist/MR-9gjgEzl5.js +19 -0
- package/dist/MT-DCvbkYrX.js +15 -0
- package/dist/MU-CVDBPgAP.js +19 -0
- package/dist/MX-B8dPVdJo.js +17 -0
- package/dist/MY-DcfNGXIG.js +16 -0
- package/dist/MaskedInput-zFUBaX87.js +714 -0
- package/dist/MaybeModal-Dsgozf1o.js +24 -0
- package/dist/Modal-UfgpuJZi.js +129 -0
- package/dist/NC-DQQUjrGe.js +19 -0
- package/dist/NL-Bu5_sjR1.js +14 -0
- package/dist/NL-CMB4A6y3.js +15 -0
- package/dist/NL-DQR9Rrua.js +12 -0
- package/dist/NL-McMEOXeg.js +19 -0
- package/dist/NO-C1lR0Cpn.js +14 -0
- package/dist/NO-CKPHTYW8.js +16 -0
- package/dist/NO-DAvhrELf.js +26 -0
- package/dist/NO-Pppylsvl.js +19 -0
- package/dist/NZ-BLYvv2PK.js +10 -0
- package/dist/NZ-BuvPkC2r.js +11 -0
- package/dist/Name-DC5eBwEU.js +61 -0
- package/dist/NewSummary-DVIIH1Ml.js +64 -0
- package/dist/PE-J7zWKbQ3.js +19 -0
- package/dist/PF-CQvMXWIc.js +19 -0
- package/dist/PH-CsAkleLZ.js +19 -0
- package/dist/PK-pnVCB70L.js +19 -0
- package/dist/PL-BIkD7ly2.js +19 -0
- package/dist/PL-Cfpb3P4Y.js +19 -0
- package/dist/PL-D6iB2qQS.js +15 -0
- package/dist/PL-DdsUKlRx.js +26 -0
- package/dist/PM-DXhRSYlY.js +15 -0
- package/dist/PR-BJTR9010.js +17 -0
- package/dist/PS-Bb7ensjm.js +19 -0
- package/dist/PT-Bqv36Ez0.js +15 -0
- package/dist/PT-DMau-7AE.js +19 -0
- package/dist/PT-D_mzbSbR.js +15 -0
- package/dist/PT-iBbOYasm.js +16 -0
- package/dist/PayoutDetailsDropin-DAUlhP1c.js +3909 -0
- package/dist/PayoutDetailsPage-mJE3Hgy9.js +857 -0
- package/dist/ProgressBar-BlxQvN7D.js +38 -0
- package/dist/QA-Cya8smAe.js +19 -0
- package/dist/RE-DV-Olrl9.js +15 -0
- package/dist/RO-7ngAIZ4E.js +15 -0
- package/dist/RO-D29rc5pZ.js +11 -0
- package/dist/RO-JvqtRH2p.js +11 -0
- package/dist/RO-Nqdvv0rk.js +19 -0
- package/dist/RS-Bdspw_Te.js +19 -0
- package/dist/RU-2VREcND8.js +19 -0
- package/dist/Radio-D6uF9-cu.js +21 -0
- package/dist/RadioGroup-Bi9v9dZu.js +71 -0
- package/dist/Review-C-B_R1FH.js +89 -0
- package/dist/RootBusinessDetailsPage-9ccBcunp.js +67 -0
- package/dist/RootBusinessLinesPage-LQptA58p.js +1451 -0
- package/dist/RootIndividualDetailsPage-DlzHpNEn.js +81 -0
- package/dist/SA-ONrtr4dq.js +19 -0
- package/dist/SE-Bp9QG9OZ.js +10 -0
- package/dist/SE-CfwjGhj2.js +27 -0
- package/dist/SE-CjCMy1R-.js +12 -0
- package/dist/SE-CspSL4-O.js +19 -0
- package/dist/SG-BSxtCx98.js +18 -0
- package/dist/SG-Bx4a8mSG.js +11 -0
- package/dist/SG-Cte5jgnm.js +16 -0
- package/dist/SG-W9jzYBBR.js +19 -0
- package/dist/SI-CjPVM480.js +14 -0
- package/dist/SI-ClAvsgGs.js +12 -0
- package/dist/SI-D_WmP1xi.js +19 -0
- package/dist/SI-DuER-ftQ.js +15 -0
- package/dist/SJ-DRle19p-.js +19 -0
- package/dist/SK-BXY1VMKv.js +19 -0
- package/dist/SK-CFssz9bO.js +15 -0
- package/dist/SK-CP4lBBly.js +10 -0
- package/dist/SK-KhQnqXtK.js +16 -0
- package/dist/SM-v_4Yc2mM.js +15 -0
- package/dist/Select-DDSua27l.js +775 -0
- package/dist/SignPCIComponent-DGWjjIO0.js +367 -0
- package/dist/SignPCIComponent-DvZAN38F.js +6 -0
- package/dist/SingpassSelection-PepG3R0o.js +244 -0
- package/dist/SoleProprietorshipPage-DnThw6us.js +69 -0
- package/dist/SourceOfFundsPage-CuIBGc8z.js +1987 -0
- package/dist/Spacer-_Y17BH-4.js +11 -0
- package/dist/StackLayout-Bhbj68nx.js +105 -0
- package/dist/StateContext-BToC3V53.js +9 -0
- package/dist/StepProgressIndicator-CzDT61ie.js +80 -0
- package/dist/StructuredList-w0Z2zLTk.js +56 -0
- package/dist/Summary-B8AA9_C_.js +226 -0
- package/dist/TF-BhrG4wMf.js +19 -0
- package/dist/TH-Dnjjl0vl.js +20 -0
- package/dist/TL-DV3_HDbD.js +19 -0
- package/dist/TN-CvaVweYw.js +19 -0
- package/dist/TR-BAvGXlpl.js +19 -0
- package/dist/TT-DRIx1q2s.js +20 -0
- package/dist/TW-DRf29Guu.js +21 -0
- package/dist/Tag-BUoDHC4C.js +39 -0
- package/dist/TaskVerificationStatus-UnhKHQYu.js +118 -0
- package/dist/TaxInformationField-zwmzV8Ov.js +2830 -0
- package/dist/TaxReportingDropin-BZ67pubt.js +480 -0
- package/dist/TextArea-CyATBUKN.js +80 -0
- package/dist/TileGroup-tVHAZBni.js +169 -0
- package/dist/ToastContext-Cx99hkTh.js +13 -0
- package/dist/ToastContextProvider-BWJct14f.js +103 -0
- package/dist/TrustDetailsPage-DLIvcoSr.js +1685 -0
- package/dist/TrustMemberCompanyPage-Q0FDNUXO.js +107 -0
- package/dist/TrustMemberIndividualPage-C4FZ57EQ.js +107 -0
- package/dist/TrustMemberRoleAndTypePage-s8ZOlbBU.js +943 -0
- package/dist/TrustMembersOverview-CZ-i1Yoq.js +350 -0
- package/dist/UA-Ba88l6Xd.js +19 -0
- package/dist/US-CKehaXnS.js +10 -0
- package/dist/US-Df5L2r8F.js +18 -0
- package/dist/US-QONZX-gV.js +23 -0
- package/dist/US-m2RymYgz.js +17 -0
- package/dist/UY-C7OqeI1W.js +19 -0
- package/dist/UnincorporatedPartnershipIndividualPage-DElj-rnx.js +78 -0
- package/dist/UnincorporatedPartnershipMemberCompanyPage-B2iYbHPm.js +78 -0
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-BgNE2bk7.js +276 -0
- package/dist/UnincorporatedPartnershipMembersOverview-BwCLw7rz.js +156 -0
- package/dist/VA-kEhphxOY.js +15 -0
- package/dist/VG-9RtXQCNA.js +19 -0
- package/dist/VI-Dtn9fHsy.js +17 -0
- package/dist/VN-CQ52lXXR.js +19 -0
- package/dist/VerificationErrorAlert-C_9CLF8G.js +38 -0
- package/dist/WF-D5AVATSv.js +19 -0
- package/dist/YT-B9qrlCqK.js +15 -0
- package/dist/ZA-CZ_c0XHc.js +20 -0
- package/dist/_rolldown_dynamic_import_helper-rq_tsyLP.js +14 -0
- package/dist/accountHolderUtils-BYe8xPFy.js +44 -0
- package/dist/adyen-business-financing.js +172 -66
- package/dist/adyen-individual-configuration.js +186 -59
- package/dist/adyen-individual-status.js +104 -45
- package/dist/adyen-invited-decision-maker.js +38 -42
- package/dist/adyen-onboarding.js +2465 -55
- package/dist/adyen-terms-of-service-management.js +58 -64
- package/dist/adyen-terms-of-service-status.js +138 -45
- package/dist/adyen-transfer-instrument-configuration.js +176 -74
- package/dist/adyen-transfer-instrument-management.js +409 -59
- package/dist/adyen-verification-status.js +234 -80
- package/dist/arrow-right-BzximXQd.js +20 -0
- package/dist/bafinUtils-kBPs58Au.js +68 -0
- package/dist/bag-CV-7aEOY.js +20 -0
- package/dist/bank-B3QWGDvh.js +20 -0
- package/dist/basePatterns-VqSYMnkh.js +8 -0
- package/dist/bg-BG-B59ND_11.js +59 -0
- package/dist/bg-BG-B67nlf6n.js +31 -0
- package/dist/bg-BG-BxkwIoTQ.js +69 -0
- package/dist/bg-BG-C0wzRs18.js +7 -0
- package/dist/bg-BG-CN_UREwh.js +23 -0
- package/dist/bg-BG-Ckeu3dBt.js +26 -0
- package/dist/bg-BG-D2t5UzpH.js +70 -0
- package/dist/bg-BG-DQPBlfB6.js +18 -0
- package/dist/bg-BG-DeVGTTeO.js +7 -0
- package/dist/bg-BG-DnMyf-n3.js +48 -0
- package/dist/bg-BG-DqWeAqky.js +57 -0
- package/dist/bg-BG-sDNpvadv.js +7 -0
- package/dist/bg-BG-xv1T8Cru.js +7 -0
- package/dist/bg-BG-ymvx5WWi.js +7 -0
- package/dist/bin-Nm57SUCy.js +30 -0
- package/dist/birthDateUtils-C686KOxO.js +82 -0
- package/dist/business-lines-BYTyy_mD.js +554 -0
- package/dist/capital-BIrjrei_.js +23 -0
- package/dist/cash-stack-q8jqAQnj.js +33 -0
- package/dist/certificate-BA32wlVD.js +23 -0
- package/dist/checkmark-Sx0Eq9g1.js +20 -0
- package/dist/checkmark-circle-D25SXuEg.js +28 -0
- package/dist/checkmark-circle-fill-DWyHVNKM.js +30 -0
- package/dist/checkmark-small-BYKwXmot.js +20 -0
- package/dist/chevron-down-BY9NvSX2.js +20 -0
- package/dist/chevron-left-1TeIr8LI.js +20 -0
- package/dist/chevron-right-D3ORtAcK.js +20 -0
- package/dist/chevron-up-DSUlaHcZ.js +20 -0
- package/dist/circle-BLLy-RH7.js +30 -0
- package/dist/circle-small-filled-C_6B84Iy.js +20 -0
- package/dist/clock-lHMbm7lZ.js +28 -0
- package/dist/coins-DM30OZR2.js +30 -0
- package/dist/commonValidators-DCdet-gH.js +18 -0
- package/dist/company-types-value-BYTAKfjo.js +17 -0
- package/dist/contract-CHdRrIxe.js +20 -0
- package/dist/countries-BuZ6_X95.js +41 -0
- package/dist/country-COrdWGaq.js +13 -0
- package/dist/country-code-CX5KqMBr.js +284 -0
- package/dist/cross-circle-fill-CmXERg4H.js +30 -0
- package/dist/cross-circle-fill-small-CMz7hV-a.js +20 -0
- package/dist/cross-eL7Kqv7I.js +20 -0
- package/dist/cs-CZ-B0PS89aw.js +7 -0
- package/dist/cs-CZ-BJQndp5g.js +18 -0
- package/dist/cs-CZ-BSCmFoe-.js +70 -0
- package/dist/cs-CZ-BkegBLH0.js +7 -0
- package/dist/cs-CZ-Cf3RE2Kz.js +69 -0
- package/dist/cs-CZ-CgD-Dni9.js +48 -0
- package/dist/cs-CZ-D0tlzysb.js +57 -0
- package/dist/cs-CZ-DNo3i13i.js +59 -0
- package/dist/cs-CZ-DerpXyW7.js +26 -0
- package/dist/cs-CZ-DoyjAWTB.js +7 -0
- package/dist/cs-CZ-DzvqR4Si.js +7 -0
- package/dist/cs-CZ-EALbGC0P.js +23 -0
- package/dist/cs-CZ-nVt_3Wsc.js +31 -0
- package/dist/cs-CZ-y--aL5tG.js +7 -0
- package/dist/currency-DNgyvN7z.js +29 -0
- package/dist/da-DK-B_qoG-tX.js +48 -0
- package/dist/da-DK-Bdp8gkhn.js +23 -0
- package/dist/da-DK-BpC27U0O.js +7 -0
- package/dist/da-DK-C-6cZEqg.js +59 -0
- package/dist/da-DK-CLzpAJZX.js +7 -0
- package/dist/da-DK-Cu2Bi6Q7.js +31 -0
- package/dist/da-DK-DFjTxgfg.js +7 -0
- package/dist/da-DK-DSrFDOG3.js +57 -0
- package/dist/da-DK-DbpZoBrp.js +18 -0
- package/dist/da-DK-DcplyxCd.js +70 -0
- package/dist/da-DK-DgFOdais.js +69 -0
- package/dist/da-DK-d-G4WSG9.js +7 -0
- package/dist/da-DK-gVDOt4Mx.js +26 -0
- package/dist/da-DK-niSqcowC.js +7 -0
- package/dist/datasetUtil-Zd4TCTDn.js +45 -0
- package/dist/de-DE-4UdLDq_d.js +59 -0
- package/dist/de-DE-BVoU3x7q.js +26 -0
- package/dist/de-DE-BX0mu_5B.js +7 -0
- package/dist/de-DE-BsZOOvbi.js +7 -0
- package/dist/de-DE-Bsrf1Qk-.js +7 -0
- package/dist/de-DE-CJAVduiD.js +70 -0
- package/dist/de-DE-CPjVxwLK.js +69 -0
- package/dist/de-DE-CSfZ-fLe.js +23 -0
- package/dist/de-DE-Ccbobm6F.js +18 -0
- package/dist/de-DE-DLpDehXu.js +48 -0
- package/dist/de-DE-DXLRcNXw.js +57 -0
- package/dist/de-DE-KXIXcUTs.js +7 -0
- package/dist/de-DE-Qs8eQGQS.js +31 -0
- package/dist/de-DE-jwrvfE6B.js +7 -0
- package/dist/de-DE-zVrwBFVP.js +7 -0
- package/dist/debouncedInputEvent-Dxv4-RAv.js +54 -0
- package/dist/debugStore-bZ_bkJeS.js +9 -0
- package/dist/decision-maker-type-Cow3CpUd.js +12 -0
- package/dist/decision-makers-group-Cof9scJd.js +4169 -0
- package/dist/decisionMaker-j9cwyXuS.js +146 -0
- package/dist/decisionMakerRoles-CAy-eeNV.js +45 -0
- package/dist/digital-wallet-BXDAhThn.js +163 -0
- package/dist/document-1-CAkgmlsx.js +20 -0
- package/dist/document-blurred-LCBsN2NC.js +116 -0
- package/dist/document-cut-off-wsPtcq1x.js +116 -0
- package/dist/document-expired-CvTJKcZr.js +160 -0
- package/dist/document-front-BHCo0w58.js +113 -0
- package/dist/document-person-BMqoEMgx.js +28 -0
- package/dist/download-CUCb0PT7.js +23 -0
- package/dist/dropinUtils-FIEFyS0F.js +275 -0
- package/dist/edit-1-DqX_7cbs.js +20 -0
- package/dist/el-GR-B08o_Wr7.js +59 -0
- package/dist/el-GR-B1VnihMi.js +69 -0
- package/dist/el-GR-BUGibSyd.js +26 -0
- package/dist/el-GR-BV0tj_MA.js +7 -0
- package/dist/el-GR-C-HtCTGV.js +57 -0
- package/dist/el-GR-C5lpMpmF.js +7 -0
- package/dist/el-GR-C7o9YGzw.js +23 -0
- package/dist/el-GR-CDp-bn0j.js +7 -0
- package/dist/el-GR-CN3HrU9J.js +70 -0
- package/dist/el-GR-CNDZGVN3.js +31 -0
- package/dist/el-GR-D9AagIjI.js +18 -0
- package/dist/el-GR-DRbd6eXu.js +7 -0
- package/dist/el-GR-DZuLkaBp.js +48 -0
- package/dist/el-GR-Doj3UHZu.js +7 -0
- package/dist/el-GR-DvgAQImQ.js +7 -0
- package/dist/emitEvent-B8K0cb1F.js +35 -0
- package/dist/en-US-3j1Js4vT.js +70 -0
- package/dist/en-US-B3MAOxZH.js +7 -0
- package/dist/en-US-BWMrfrd7.js +31 -0
- package/dist/en-US-Bg9gdBEC.js +7 -0
- package/dist/en-US-BgLFeko-.js +18 -0
- package/dist/en-US-C81RZMm3.js +76 -0
- package/dist/en-US-CEBexxFl.js +23 -0
- package/dist/en-US-CnVk6lVt.js +212 -0
- package/dist/en-US-CwN7_Z6A.js +60 -0
- package/dist/en-US-Cwp_kAIu.js +57 -0
- package/dist/en-US-D1y6M9AI.js +116 -0
- package/dist/en-US-D6psKu6Y.js +26 -0
- package/dist/en-US-D8jS6G6S.js +10 -0
- package/dist/en-US-DH-5G1L0.js +7 -0
- package/dist/en-US-DqbNEPfm.js +7 -0
- package/dist/en-US-IxvcS3bq.js +7 -0
- package/dist/en-US-RJmb2nTR.js +69 -0
- package/dist/en-US-Rnj0uOlI.js +40 -0
- package/dist/en-US-hCtMObDn.js +196 -0
- package/dist/en-US-jcuu40kx.js +48 -0
- package/dist/en-US-rEquAkrM.js +60 -0
- package/dist/en-US.instructions-Bh8SYzc5.js +7 -0
- package/dist/en-US.instructions-C5xXRJDu.js +16 -0
- package/dist/entityAssociationUtil-BEzUdPbm.js +97 -0
- package/dist/es-ES-8AtDNr6X.js +18 -0
- package/dist/es-ES-B7uIo7kE.js +23 -0
- package/dist/es-ES-B9kTevXB.js +59 -0
- package/dist/es-ES-BJfw2diu.js +7 -0
- package/dist/es-ES-B_kBpFxZ.js +7 -0
- package/dist/es-ES-BkeAb5PG.js +7 -0
- package/dist/es-ES-Bwj2MUyM.js +69 -0
- package/dist/es-ES-CHyhM1uh.js +7 -0
- package/dist/es-ES-CLr_KwxQ.js +7 -0
- package/dist/es-ES-D-n6xoWo.js +7 -0
- package/dist/es-ES-D1vAd-8r.js +26 -0
- package/dist/es-ES-DKenRcq3.js +70 -0
- package/dist/es-ES-DWjfZmTj.js +31 -0
- package/dist/es-ES-H0DZcC1K.js +48 -0
- package/dist/es-ES-hX5WUfzS.js +57 -0
- package/dist/et-EE-BSAr_xVc.js +31 -0
- package/dist/et-EE-BcWPn7Cl.js +7 -0
- package/dist/et-EE-BnDOa_4e.js +7 -0
- package/dist/et-EE-CNNN-M_x.js +18 -0
- package/dist/et-EE-CWGint-T.js +26 -0
- package/dist/et-EE-CfheEJAy.js +7 -0
- package/dist/et-EE-Cs__RUB9.js +48 -0
- package/dist/et-EE-DmlaKK4B.js +57 -0
- package/dist/et-EE-DsLOML8r.js +70 -0
- package/dist/et-EE-Du3REm6O.js +7 -0
- package/dist/et-EE-GTXnG-3j.js +59 -0
- package/dist/et-EE-Mp-OiQL2.js +69 -0
- package/dist/et-EE-SeklRCmh.js +7 -0
- package/dist/et-EE-_uLrdnTi.js +23 -0
- package/dist/external-link-V6JPH8K0.js +20 -0
- package/dist/fi-FI-1nGlfW_t.js +7 -0
- package/dist/fi-FI-80q1y1Bb.js +59 -0
- package/dist/fi-FI-BKXhGjNk.js +26 -0
- package/dist/fi-FI-BY9X2DpF.js +31 -0
- package/dist/fi-FI-BcXm_vtP.js +7 -0
- package/dist/fi-FI-BcdVq2e0.js +23 -0
- package/dist/fi-FI-Bx1S9eQf.js +70 -0
- package/dist/fi-FI-Cl1vbAPV.js +18 -0
- package/dist/fi-FI-DdyNwoGb.js +7 -0
- package/dist/fi-FI-Dy_bfWw7.js +48 -0
- package/dist/fi-FI-Dz25oorf.js +7 -0
- package/dist/fi-FI-iyr94E5r.js +57 -0
- package/dist/fi-FI-n4x7ZOmh.js +7 -0
- package/dist/fi-FI-pvpGl_6s.js +69 -0
- package/dist/fieldConfigurations-m7oWP1DZ.js +11 -0
- package/dist/file-6a0FDVyq.js +37 -0
- package/dist/filterProblemsByTaskForms-DwS9T-_E.js +21 -0
- package/dist/form-rules-CvdV5rPY.js +7 -0
- package/dist/formFieldsUtils-CR7j1k8e.js +7 -0
- package/dist/formUtils-DCvL3uZG.js +78 -0
- package/dist/fr-FR-ANv8VCCV.js +7 -0
- package/dist/fr-FR-B9xNxWia.js +31 -0
- package/dist/fr-FR-CDTGvZzl.js +7 -0
- package/dist/fr-FR-CEWcwAJ-.js +7 -0
- package/dist/fr-FR-CMMz7OEo.js +69 -0
- package/dist/fr-FR-CqbeB381.js +7 -0
- package/dist/fr-FR-D2Ep3xgM.js +59 -0
- package/dist/fr-FR-DC_PZPwP.js +18 -0
- package/dist/fr-FR-DKjCgBfS.js +7 -0
- package/dist/fr-FR-DL8mtS3r.js +57 -0
- package/dist/fr-FR-DcXwaT3d.js +48 -0
- package/dist/fr-FR-DksMI4zV.js +70 -0
- package/dist/fr-FR-DzjwEGsx.js +26 -0
- package/dist/fr-FR-Ta6QBpqt.js +23 -0
- package/dist/fr-FR-bqkpOtF1.js +7 -0
- package/dist/funds-in-04OBDLJw.js +24 -0
- package/dist/get-scenarios-DnCVdYIC.js +24 -0
- package/dist/getLegalEntityCountry-C6bSV6sB.js +17 -0
- package/dist/getName-Bdwp_hkV.js +35 -0
- package/dist/getNestedPropertyKeys-CVAsNBJ8.js +18 -0
- package/dist/getProblemsForEntity-Df8xJUr2.js +16 -0
- package/dist/getProps-CkZCnNxW.js +98 -0
- package/dist/getTrustedFields-UVTLadau.js +45 -0
- package/dist/gift-C3MzdRIj.js +20 -0
- package/dist/globalStore-BsvLFLDr.js +418 -0
- package/dist/graph-BJ7yemhR.js +32 -0
- package/dist/graph-up-CWzty_jt.js +38 -0
- package/dist/headquarter-COstZFO7.js +42 -0
- package/dist/hotel-C1vO2ZiV.js +33 -0
- package/dist/house-BfjiK4vF.js +24 -0
- package/dist/hr-HR-B8MiNFt0.js +7 -0
- package/dist/hr-HR-Bp5qQwHS.js +48 -0
- package/dist/hr-HR-BqNvRwoc.js +7 -0
- package/dist/hr-HR-C4Bv0YpX.js +59 -0
- package/dist/hr-HR-CBySzkSl.js +7 -0
- package/dist/hr-HR-CJHkB1ko.js +69 -0
- package/dist/hr-HR-CLRdCbY_.js +7 -0
- package/dist/hr-HR-CMcgajLG.js +26 -0
- package/dist/hr-HR-CjbJFQJu.js +7 -0
- package/dist/hr-HR-Ck-S-k5d.js +23 -0
- package/dist/hr-HR-D0Xp4lTU.js +31 -0
- package/dist/hr-HR-EhBzx8FM.js +57 -0
- package/dist/hr-HR-FHDzcIUl.js +70 -0
- package/dist/hr-HR-pOpa3-4-.js +18 -0
- package/dist/http-btI4x32X.js +148 -0
- package/dist/hu-HU-3a4f6Po4.js +59 -0
- package/dist/hu-HU-BF3I2cDh.js +69 -0
- package/dist/hu-HU-BOCGei6J.js +31 -0
- package/dist/hu-HU-Bg2UoMm1.js +7 -0
- package/dist/hu-HU-C-gD2scj.js +7 -0
- package/dist/hu-HU-Cq3L3459.js +26 -0
- package/dist/hu-HU-CsOzXRwg.js +7 -0
- package/dist/hu-HU-DG9r7Yn5.js +18 -0
- package/dist/hu-HU-DHZf-Z1b.js +7 -0
- package/dist/hu-HU-DZmGYcpb.js +57 -0
- package/dist/hu-HU-DZnrPw7M.js +70 -0
- package/dist/hu-HU-HNscNs5I.js +48 -0
- package/dist/hu-HU-u7Q5hZ8M.js +23 -0
- package/dist/hu-HU-xJ7HEjBk.js +7 -0
- package/dist/id-blurred-DajPeUev.js +266 -0
- package/dist/id-cut-off-Cg7VH88-.js +242 -0
- package/dist/id-front-BFiC6TLx.js +237 -0
- package/dist/id-glare--tl3DxTG.js +218 -0
- package/dist/image-Ctf24Eqr.js +23 -0
- package/dist/info-CKFBABlx.js +32 -0
- package/dist/info-filled-BtKXWmDk.js +32 -0
- package/dist/invalidateRootLegalEntity-BbVdQNIY.js +45 -0
- package/dist/isEmpty-DFUWFV4h.js +14 -0
- package/dist/isEmptyEntity-BM_3oo07.js +44 -0
- package/dist/isNewEntity-4QusRCpP.js +7 -0
- package/dist/it-IT-4udyC9ua.js +7 -0
- package/dist/it-IT-BFVfcntm.js +31 -0
- package/dist/it-IT-BVcopRE0.js +57 -0
- package/dist/it-IT-Bncw2hQ-.js +69 -0
- package/dist/it-IT-C-OxfLhZ.js +48 -0
- package/dist/it-IT-C2wbwYWQ.js +59 -0
- package/dist/it-IT-CBQ2gGE7.js +7 -0
- package/dist/it-IT-CKYkplGl.js +23 -0
- package/dist/it-IT-Cd3oPF1M.js +18 -0
- package/dist/it-IT-D8RXfncB.js +7 -0
- package/dist/it-IT-DWt33Mig.js +70 -0
- package/dist/it-IT-DpTVTcDk.js +7 -0
- package/dist/it-IT-MRrAO1jy.js +7 -0
- package/dist/it-IT-YCjFrZ-Z.js +7 -0
- package/dist/it-IT-rGM1QmSW.js +26 -0
- package/dist/ja-JP-B8Rg2VNl.js +69 -0
- package/dist/ja-JP-BDPtYIpq.js +7 -0
- package/dist/ja-JP-C0ASZo79.js +196 -0
- package/dist/ja-JP-CLmtF9H_.js +31 -0
- package/dist/ja-JP-CNNwQyYR.js +70 -0
- package/dist/ja-JP-CQBoZgiC.js +23 -0
- package/dist/ja-JP-CgfF4yTt.js +48 -0
- package/dist/ja-JP-Cla1MJLj.js +7 -0
- package/dist/ja-JP-CsgosKvD.js +26 -0
- package/dist/ja-JP-DRYUrb3a.js +7 -0
- package/dist/ja-JP-DbHm_J96.js +7 -0
- package/dist/ja-JP-DieVzA1B.js +18 -0
- package/dist/ja-JP-DxUBevNe.js +59 -0
- package/dist/ja-JP-DyUgd4BE.js +57 -0
- package/dist/ja-JP-WirIWnQi.js +7 -0
- package/dist/ja-JP-uXR7c5rz.js +7 -0
- package/dist/japanSupportUtils-DcDqwV81.js +11 -0
- package/dist/jpAddressSchema-BQTiMBSQ.js +17 -0
- package/dist/keys-fzUbt2xF.js +20 -0
- package/dist/legal-entity-type-VIfNYnJP.js +13 -0
- package/dist/listToRecord-4wGOf00H.js +10 -0
- package/dist/localizeDateString-AhjDnkHD.js +35 -0
- package/dist/location-CpaR6p3k.js +23 -0
- package/dist/lt-LT-2d52byGI.js +70 -0
- package/dist/lt-LT-4dQRWgMS.js +7 -0
- package/dist/lt-LT-B9QsV1Fl.js +31 -0
- package/dist/lt-LT-BE20J_Fa.js +59 -0
- package/dist/lt-LT-BRFs6EyI.js +69 -0
- package/dist/lt-LT-CK-_FLDK.js +18 -0
- package/dist/lt-LT-CxHglunM.js +48 -0
- package/dist/lt-LT-CyVGhu0R.js +26 -0
- package/dist/lt-LT-DCexrILL.js +57 -0
- package/dist/lt-LT-DsKGJjAK.js +7 -0
- package/dist/lt-LT-Dv9CNqL5.js +23 -0
- package/dist/lt-LT-RYz2_iMh.js +7 -0
- package/dist/lt-LT-lr-xOt-0.js +7 -0
- package/dist/lt-LT-ykgOI1Lh.js +7 -0
- package/dist/lv-LV-1DHJcJtx.js +31 -0
- package/dist/lv-LV-7toRaVhs.js +7 -0
- package/dist/lv-LV-BXLZTnKa.js +59 -0
- package/dist/lv-LV-BZ6GdtSG.js +23 -0
- package/dist/lv-LV-BhvjJBtW.js +18 -0
- package/dist/lv-LV-CALhnU3h.js +48 -0
- package/dist/lv-LV-CrYidfpB.js +70 -0
- package/dist/lv-LV-DXmGZc4u.js +7 -0
- package/dist/lv-LV-Dlq59Kg7.js +26 -0
- package/dist/lv-LV-DykVV_JJ.js +7 -0
- package/dist/lv-LV-OjadvSbn.js +7 -0
- package/dist/lv-LV-pzQT6oF4.js +69 -0
- package/dist/lv-LV-qidnvuKE.js +7 -0
- package/dist/lv-LV-vUmm_Y8X.js +57 -0
- package/dist/mail-uoxYIc94.js +20 -0
- package/dist/mapAddressLocalizationToJpAddressSchema-Cp77VSSB.js +66 -0
- package/dist/mapExistingFile-DdeA1Ya3.js +138 -0
- package/dist/mapJpAddressSchemaToAddressLocalizations-DiB3xFfa.js +61 -0
- package/dist/mapLegalEntityToIndividualSchema-CK2d-XB-.js +206 -0
- package/dist/mapTransferInstrumentToPayoutAccount-5vTCCl4n.js +44 -0
- package/dist/minus-circle-filled-B_E6PncD.js +30 -0
- package/dist/nl-NL-BOfLp7Kw.js +7 -0
- package/dist/nl-NL-Bfn1b5-H.js +18 -0
- package/dist/nl-NL-BsMqXzW2.js +7 -0
- package/dist/nl-NL-BtXGtpjP.js +70 -0
- package/dist/nl-NL-BxRQSueu.js +7 -0
- package/dist/nl-NL-Ch1_Ho4H2.js +7 -0
- package/dist/nl-NL-CoEgvakv.js +23 -0
- package/dist/nl-NL-CscaDll4.js +69 -0
- package/dist/nl-NL-D9OFsGYi.js +48 -0
- package/dist/nl-NL-DUzifJ-6.js +7 -0
- package/dist/nl-NL-DZOwYmdT.js +59 -0
- package/dist/nl-NL-DayMdZGS.js +26 -0
- package/dist/nl-NL-DcLEwsh6.js +31 -0
- package/dist/nl-NL-DpZ_sRQQ.js +57 -0
- package/dist/nl-NL-DrryYwRC.js +7 -0
- package/dist/no-NO-7cH_mYGz.js +23 -0
- package/dist/no-NO-BNo6BEI2.js +48 -0
- package/dist/no-NO-Bj-bFlwW.js +59 -0
- package/dist/no-NO-CMSuTQFP.js +7 -0
- package/dist/no-NO-COKvHr69.js +70 -0
- package/dist/no-NO-CeJtzvaa.js +57 -0
- package/dist/no-NO-CfYxgg3G.js +31 -0
- package/dist/no-NO-CpQs6Kuj.js +7 -0
- package/dist/no-NO-CveHyEMg.js +7 -0
- package/dist/no-NO-CzUEYJ6T2.js +7 -0
- package/dist/no-NO-DCPDmC0O.js +7 -0
- package/dist/no-NO-DFiHCQaa.js +18 -0
- package/dist/no-NO-DNxpnnM4.js +69 -0
- package/dist/no-NO-DphtE0hV.js +26 -0
- package/dist/omitObscuredFieldsIfUnchanged-B7VNFVgY.js +20 -0
- package/dist/onfido-logo-EtpExIxa.js +18 -0
- package/dist/options-horizontal-CDJtmlVY.js +30 -0
- package/dist/partner-gFUctV1k.js +30 -0
- package/dist/passport-blurred-CeDXhPyb.js +266 -0
- package/dist/passport-cut-off-CvgvQJYC.js +246 -0
- package/dist/passport-front-DnOK4cgY.js +237 -0
- package/dist/passport-front-green-BOdOhMh6.js +479 -0
- package/dist/passport-glare-BMA9YxJd.js +222 -0
- package/dist/patternValidators-BaQxw3ki.js +73 -0
- package/dist/pay-by-link-plane-q4Bh-mWo.js +33 -0
- package/dist/payout-CpwcL7W1.js +38 -0
- package/dist/payout-bank-accounts-jW_Zgfqf.js +38 -0
- package/dist/payout-verification-instant-BLpp07Uv.js +156 -0
- package/dist/payout-verification-manual-BgjvhzA9.js +462 -0
- package/dist/person-B3rmhreD.js +23 -0
- package/dist/phonePrefixes-j_kb1wJm.js +252 -0
- package/dist/pl-PL-B6MlP7Xz.js +23 -0
- package/dist/pl-PL-BKJlxx_t.js +57 -0
- package/dist/pl-PL-BhRJVuU3.js +31 -0
- package/dist/pl-PL-BvYP_Mjz2.js +7 -0
- package/dist/pl-PL-CKZbiqpL.js +7 -0
- package/dist/pl-PL-CRanu6gn.js +48 -0
- package/dist/pl-PL-D-e2Z51f.js +70 -0
- package/dist/pl-PL-D2dgIhBU.js +18 -0
- package/dist/pl-PL-D6XdYdXs.js +7 -0
- package/dist/pl-PL-DEkGFDx6.js +7 -0
- package/dist/pl-PL-DcwGjG1k.js +7 -0
- package/dist/pl-PL-Ovy-dAEm.js +26 -0
- package/dist/pl-PL-V52qRKcx.js +69 -0
- package/dist/pl-PL-v95qJZ7W.js +59 -0
- package/dist/plaid-logo-JKKXRmk4.js +15 -0
- package/dist/plus-D1pu1FCh.js +20 -0
- package/dist/plus-circle-filled-BAKemMoO.js +30 -0
- package/dist/process-field-configurations-44gfzIGi.js +279 -0
- package/dist/processCapabilitites-BHzfFtSM.js +869 -0
- package/dist/pt-BR-B7FJvvCY2.js +7 -0
- package/dist/pt-BR-B7oDER2v.js +31 -0
- package/dist/pt-BR-B8YZ-Hqo.js +116 -0
- package/dist/pt-BR-BNfmjS7T.js +18 -0
- package/dist/pt-BR-B_tIsNF2.js +7 -0
- package/dist/pt-BR-C3oGCuLZ.js +23 -0
- package/dist/pt-BR-CL2QRxOt.js +57 -0
- package/dist/pt-BR-CPXL0egI.js +69 -0
- package/dist/pt-BR-CwEhFyDx.js +70 -0
- package/dist/pt-BR-D01BPIQ8.js +48 -0
- package/dist/pt-BR-DgAN88vt.js +26 -0
- package/dist/pt-BR-Dk284q8W.js +7 -0
- package/dist/pt-BR-DkGneNc5.js +7 -0
- package/dist/pt-BR-DyYEeGVr.js +7 -0
- package/dist/pt-BR-w4XP2Zc2.js +59 -0
- package/dist/pt-PT-5BekXyBw.js +26 -0
- package/dist/pt-PT-B0PlOQYf2.js +7 -0
- package/dist/pt-PT-BSNvIlJh.js +23 -0
- package/dist/pt-PT-C_6pNXKv.js +31 -0
- package/dist/pt-PT-CabKp0yt.js +7 -0
- package/dist/pt-PT-Cr2esDwf.js +69 -0
- package/dist/pt-PT-D3v24Se2.js +18 -0
- package/dist/pt-PT-DYQXla7J.js +7 -0
- package/dist/pt-PT-DYXnzP0x.js +59 -0
- package/dist/pt-PT-DfOrysaZ.js +7 -0
- package/dist/pt-PT-Dfp-0h0s.js +7 -0
- package/dist/pt-PT-DjZ0SeNY.js +48 -0
- package/dist/pt-PT-IOArlYPi.js +7 -0
- package/dist/pt-PT-of6NX5C7.js +70 -0
- package/dist/pt-PT-sZUWaieU.js +57 -0
- package/dist/recurring-BqOZk0GH.js +23 -0
- package/dist/reporting-DI9JGolm.js +20 -0
- package/dist/resolveEnvironment-CUQtdx0I.js +1176 -0
- package/dist/revenue-accelerate-CSszZfVF.js +30 -0
- package/dist/review-CkgZkiFy.js +19 -0
- package/dist/ro-RO-7VBqqH7o.js +31 -0
- package/dist/ro-RO-9NTYYrid.js +48 -0
- package/dist/ro-RO-BW4-_NrZ.js +57 -0
- package/dist/ro-RO-BXjIQG3P.js +7 -0
- package/dist/ro-RO-BZMTQGJJ2.js +7 -0
- package/dist/ro-RO-BlBqP0LV.js +18 -0
- package/dist/ro-RO-BtLXaAVi.js +26 -0
- package/dist/ro-RO-CBNP3GS_.js +7 -0
- package/dist/ro-RO-CGoDuoZa.js +70 -0
- package/dist/ro-RO-Can6URM1.js +23 -0
- package/dist/ro-RO-DH5uD9v9.js +7 -0
- package/dist/ro-RO-DUiDGCZU.js +59 -0
- package/dist/ro-RO-DYwkjw9d.js +69 -0
- package/dist/ro-RO-Dy9karNI.js +7 -0
- package/dist/roleMetadata-CP3ZYYSI.js +56 -0
- package/dist/save-BwoYyyYQ.js +20 -0
- package/dist/search-lRnoylK2.js +30 -0
- package/dist/show-Dpmp87ye.js +23 -0
- package/dist/singpass-logo--50WxD_p.js +22 -0
- package/dist/singpass-verification-instant-BHID0qRO.js +175 -0
- package/dist/singpass-verification-manual-DpefFA6C.js +141 -0
- package/dist/sk-SK-BDItYkrD.js +23 -0
- package/dist/sk-SK-BPDMxREF2.js +7 -0
- package/dist/sk-SK-Blzjm32C.js +7 -0
- package/dist/sk-SK-BmP_vrOT.js +7 -0
- package/dist/sk-SK-CAkLqBR-.js +48 -0
- package/dist/sk-SK-CJW-1wtq.js +7 -0
- package/dist/sk-SK-CZnhSCxt.js +18 -0
- package/dist/sk-SK-D2f2S35P.js +7 -0
- package/dist/sk-SK-DESgizdP.js +59 -0
- package/dist/sk-SK-fwnwR2zz.js +26 -0
- package/dist/sk-SK-qVeRKlxs.js +31 -0
- package/dist/sk-SK-vSn9yvb8.js +69 -0
- package/dist/sk-SK-vyxCXCDR.js +57 -0
- package/dist/sk-SK-wYLB-c3d.js +70 -0
- package/dist/sl-SI-B5xGgx5S.js +70 -0
- package/dist/sl-SI-BHztDEDm.js +59 -0
- package/dist/sl-SI-BxJgtZKP.js +69 -0
- package/dist/sl-SI-C0d32nxW.js +57 -0
- package/dist/sl-SI-C5FYCjwi.js +48 -0
- package/dist/sl-SI-CYVD9Yk1.js +26 -0
- package/dist/sl-SI-ChRXWdua.js +31 -0
- package/dist/sl-SI-D8NMKaco.js +7 -0
- package/dist/sl-SI-DHQWrn6C2.js +7 -0
- package/dist/sl-SI-DHxcpzya.js +7 -0
- package/dist/sl-SI-DPvusyJQ.js +7 -0
- package/dist/sl-SI-DuHn6HyC.js +7 -0
- package/dist/sl-SI-SNjGgOph.js +23 -0
- package/dist/sl-SI-rLQo_kKv.js +18 -0
- package/dist/solution-payments-DfH5DH9o.js +20 -0
- package/dist/store-mAgJeN44.js +20 -0
- package/dist/style.css +2070 -2038
- package/dist/styles-9jxW7TiP.js +5988 -0
- package/dist/summaryItem-Dehjwp8D.js +16 -0
- package/dist/sv-SE-BFFAjxxo.js +31 -0
- package/dist/sv-SE-BIHbDoRU.js +18 -0
- package/dist/sv-SE-B_VHF1Ec.js +7 -0
- package/dist/sv-SE-BfoCgwXl.js +7 -0
- package/dist/sv-SE-BhAr7iey.js +26 -0
- package/dist/sv-SE-Bre2IWV2.js +7 -0
- package/dist/sv-SE-CU-lNGyw.js +70 -0
- package/dist/sv-SE-CfgjwWHS.js +57 -0
- package/dist/sv-SE-Cos-ox5c.js +7 -0
- package/dist/sv-SE-D9Aj9VZ9.js +7 -0
- package/dist/sv-SE-DZq6vMfw2.js +7 -0
- package/dist/sv-SE-QRDrM1rH.js +23 -0
- package/dist/sv-SE-_iVNE7OY.js +69 -0
- package/dist/sv-SE-nA--xWZA.js +48 -0
- package/dist/sv-SE-znK8JjXi.js +59 -0
- package/dist/taskStatus-C7XU4UIF.js +21 -0
- package/dist/tax-reporting-graph-DEiE6q1X.js +906 -0
- package/dist/terminal-1-BlqlENmQ.js +30 -0
- package/dist/tink-logo-DQabT2Uk.js +15 -0
- package/dist/toFullWidth-CQcDriFa.js +52 -0
- package/dist/trackNavigation-LvCP5Vyc.js +15 -0
- package/dist/translation-G4HP2nQW.js +854 -0
- package/dist/trustMemberGuidance-B3VWjXzg.js +27 -0
- package/dist/trustUtil-BTHvlo55.js +99 -0
- package/dist/trusted-fields-provider-BHbX2hsp.js +10 -0
- package/dist/types/api/companySearch/useCompanySearch.d.ts +19 -12
- package/dist/types/api/invitations/invitations.types.d.ts +1 -1
- package/dist/types/api/invitations/useCreateInvitation.d.ts +2 -2
- package/dist/types/api/invitations/useInvitationStatus.d.ts +9 -0
- package/dist/types/api/invitations/useWithdrawInvitation.d.ts +8 -0
- package/dist/types/api/invitedEntity/useInvitedEntityRootCapabilities.d.ts +28 -0
- package/dist/types/api/queryKeys.d.ts +3 -2
- package/dist/types/api/tinVerification/useVerifyTin.d.ts +15 -10
- package/dist/types/api/toggles/useToggles.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +0 -1
- package/dist/types/components/BankAccount/forms/PayoutAccount/InstantVerificationCTA/InstantVerificationCTA.d.ts +4 -0
- package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +3 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetailsMultiform.d.ts +2 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +2 -2
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +1 -0
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +142 -142
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/store.d.ts +3 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsGettingStarted/PayoutDetailsGettingStarted.d.ts +7 -0
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +3 -2
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +493 -493
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/OnboardingDropinComponent.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual.types.d.ts +2 -0
- package/dist/types/components/Individual/forms/InviteDetails/InviteDetails.d.ts +2 -0
- package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +6 -1
- package/dist/types/components/Individual/tasks/DecisionMakers/hooks/useShareInvitation.d.ts +6 -0
- package/dist/types/components/Shared/Summary/summaryItem.d.ts +14 -8
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +1 -1
- package/dist/types/components/ui/atoms/Image/Image.d.ts +2 -1
- package/dist/types/components/ui/atoms/Typography/Typography.types.d.ts +1 -0
- package/dist/types/context/AnalyticsContext/AnalyticsProvider.d.ts +1 -2
- package/dist/types/context/ToggleContext/types.d.ts +10 -1
- package/dist/types/context/handlerContext/HandlerContext.d.ts +2 -0
- package/dist/types/context/handlerContext/HandlerProvider.d.ts +2 -0
- package/dist/types/context/handlerContext/types.d.ts +9 -0
- package/dist/types/context/handlerContext/useHandlerContext.d.ts +1 -0
- package/dist/types/hooks/useFormComposer.d.ts +0 -1
- package/dist/types/index.d.ts +0 -2
- package/dist/types/types/form-rules.d.ts +2 -1
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/performance.d.ts +2 -5
- package/dist/types/utils/validationError.d.ts +1 -0
- package/dist/types-BqFOt7-l.js +58 -0
- package/dist/types-CEAHkjXI.js +66 -0
- package/dist/types-CNZsK2dZ.js +31 -0
- package/dist/types-CXceqQIv.js +68 -0
- package/dist/types-DjTEjDpj.js +19 -0
- package/dist/unincorporated-partnership-5MvG_ts4.js +11 -0
- package/dist/upload-CIujAxWY.js +23 -0
- package/dist/us-check-account-number-EkWzylgz.js +157 -0
- package/dist/us-check-b9k7TlOd.js +144 -0
- package/dist/us-check-routing-number-ObI-JE-C.js +161 -0
- package/dist/useAccountHolder-LttF1BJG.js +102 -0
- package/dist/useAllowedCountries-B2tXNxdL.js +74 -0
- package/dist/useAnalyticsContext-BVFDMrVE.js +86 -0
- package/dist/useAssociatedLegalEntity-Dav_4ehd.js +35 -0
- package/dist/useBusinessDetailsData-DmromzC6.js +4395 -0
- package/dist/useBusinessLines-DGr43nU6.js +27 -0
- package/dist/useCanSeeIntroduction-ClAuT5gj.js +39 -0
- package/dist/useCapabilities-C3Re0QHQ.js +12 -0
- package/dist/useCreateLegalEntity-u6NuumMd.js +24 -0
- package/dist/useDataMissingRemediations-Cv_4vV2R.js +39 -0
- package/dist/useDataset-DA7SoxiX.js +96 -0
- package/dist/useDeleteTransferInstrument-Me9ITlCM.js +31 -0
- package/dist/useForm-CTiDrzeg.js +502 -0
- package/dist/useFormContext-6LTkbLR1.js +178 -0
- package/dist/useGlobalData-KEb46I95.js +164 -0
- package/dist/useId-eJSYfA6i.js +28 -0
- package/dist/useLegalEntity-Cj6C6bAI.js +48 -0
- package/dist/useMultiForm-CiK9l6YR.js +754 -0
- package/dist/useNavigate-B4pHnNyj.js +268 -0
- package/dist/useOnboardingStatus-BuYODvAM.js +23 -0
- package/dist/usePciQuestionnaireList-Bx5N4Ucf.js +26 -0
- package/dist/useSalesChannels-BV-gSBhb.js +47 -0
- package/dist/useScenarios-DVTHREqP.js +55 -0
- package/dist/useSettingsContext-DzwVt0W0.js +15 -0
- package/dist/useTaskLandedEvent-DInxWeqN.js +23 -0
- package/dist/useTaskStatus-BjqC1s3K.js +51 -0
- package/dist/useTermsOfServiceStatus-BLMY5p8c.js +39 -0
- package/dist/useToastContext-CYgfHjSb.js +12 -0
- package/dist/useToggleContext-DaQUBF8O.js +21 -0
- package/dist/useTrustMembers-DbO0tmcu.js +152 -0
- package/dist/useUnincorporatedPartnershipMembers-Dzj3BDFI.js +70 -0
- package/dist/useUpdateBusinessLines-BfYwukg9.js +296 -0
- package/dist/useUpdateLegalEntity-oigX0fKz.js +29 -0
- package/dist/utils-BAuFBG3J.js +88 -0
- package/dist/utils-BU2d-Zzu.js +805 -0
- package/dist/utils-CfTVU2Hq.js +207 -0
- package/dist/utils-CzW6YqAz.js +46 -0
- package/dist/utils-DXTGGW-J.js +188 -0
- package/dist/utils-oc3EdK6K.js +80 -0
- package/dist/validate-9_4V5MhN.js +387 -0
- package/dist/validate-C1II14sz.js +411 -0
- package/dist/validate-D4RU2PP0.js +109 -0
- package/dist/validationError-DhMlWpYp.js +68 -0
- package/dist/validationResult-D3sPVzMw.js +57 -0
- package/dist/validatorUtils-DRapRJ6z.js +107 -0
- package/dist/view-verification-status-CtW_qUMg.js +13 -0
- package/dist/warning-circle-fill-B8syKAww.js +30 -0
- package/dist/warning-diamond-filled-D81TURTB.js +30 -0
- package/dist/webinar-CA8zN8_B.js +33 -0
- package/dist/yapily-logo-BeowYojR.js +22 -0
- package/package.json +30 -34
- package/dist/4-people-BtDi7O9A.js +0 -24
- package/dist/AD-BQAadLyG.js +0 -23
- package/dist/AE-mIZ12t47.js +0 -25
- package/dist/AI-CYOqGKk2.js +0 -27
- package/dist/AL-BX1fEo1A.js +0 -27
- package/dist/AR-C9kMRnHG.js +0 -27
- package/dist/AS-B0TMZQ6o.js +0 -25
- package/dist/AT-BI8ju2NH.js +0 -23
- package/dist/AT-C_G2OvQI.js +0 -28
- package/dist/AT-EpV7jN58.js +0 -27
- package/dist/AT-TzG2NGTc.js +0 -30
- package/dist/AU-B5LSe4bo.js +0 -24
- package/dist/AU-CaovX9P8.js +0 -24
- package/dist/AU-CdwbD1qm.js +0 -32
- package/dist/AU-pBsEvEUy.js +0 -24
- package/dist/AX-Z6f6EnJc.js +0 -23
- package/dist/AZ-BqrKjWMH.js +0 -27
- package/dist/AcceptTermsOfServiceComponent-BbktO0zC.js +0 -653
- package/dist/AccountSetupRejected-B9jCHNz-.js +0 -23
- package/dist/ActionBar-CbFBdfam.js +0 -31
- package/dist/Address-CAzHDiil.js +0 -1109
- package/dist/Avatar-D7DkiYRU.js +0 -60
- package/dist/BA-BbP72Tn6.js +0 -27
- package/dist/BE-CLggPbli.js +0 -26
- package/dist/BE-CU5o9cmc.js +0 -24
- package/dist/BE-H45zzgu4.js +0 -24
- package/dist/BE-nWHKW0xQ.js +0 -23
- package/dist/BG-HKzabLqZ.js +0 -27
- package/dist/BH-Ded1Eyrc.js +0 -27
- package/dist/BM-CBl-UQUl.js +0 -27
- package/dist/BR-BEHEZpeV.js +0 -31
- package/dist/BR-Dmkd5VjU.js +0 -27
- package/dist/BR-DsY9PZVZ.js +0 -26
- package/dist/BR-ORoHRwTk.js +0 -29
- package/dist/BS-dBfArxRw.js +0 -27
- package/dist/BV-D0QBsH7-.js +0 -27
- package/dist/BY-BsQUo3fM.js +0 -27
- package/dist/BusinessFinancingComponent-B7O8VSuR.js +0 -55
- package/dist/BusinessFinancingDropin-CZjat6zg.js +0 -2271
- package/dist/BusinessFinancingPage-wYYsqc5D.js +0 -43
- package/dist/BusinessTypeSelectionPage-SVmYYbcY.js +0 -435
- package/dist/CA-BD18g8mh.js +0 -29
- package/dist/CA-BZ1GNmhP.js +0 -21
- package/dist/CA-DT4cmOOe.js +0 -25
- package/dist/CA-VXNq-m6m.js +0 -24
- package/dist/CH-B_-afpD_.js +0 -23
- package/dist/CH-BmabUdOH.js +0 -23
- package/dist/CH-DVyjmrDH.js +0 -25
- package/dist/CH-TX4BTE2y.js +0 -23
- package/dist/CN-BV-5PSpq.js +0 -27
- package/dist/CR-Dtv-rXg9.js +0 -27
- package/dist/CY-D59Nypl7.js +0 -23
- package/dist/CZ-1E7Zx2il.js +0 -26
- package/dist/CZ-B6iI1GbE.js +0 -33
- package/dist/CZ-CTw_bQIu.js +0 -27
- package/dist/CZ-DlzxobtN.js +0 -29
- package/dist/Card-OQuFzmxm.js +0 -90
- package/dist/Checkbox-DntVTT7e.js +0 -74
- package/dist/Confirm-CceRWfkX.js +0 -64
- package/dist/ConstitutionalDocument-M10n8QHQ.js +0 -2631
- package/dist/ContactDetails-CJ49drHv.js +0 -389
- package/dist/ContextGuidance-DeSyT-K4.js +0 -33
- package/dist/ContractViewer-DcQHIGMU.js +0 -935
- package/dist/CountryField-B0KnMSNK.js +0 -64
- package/dist/CreateIndividualComponent-BsABgMiA.js +0 -65
- package/dist/CreateTransferInstrumentComponent-CHhSi-Nd.js +0 -56
- package/dist/Currency-wZFwkXz6.js +0 -232
- package/dist/CustomerSupport-CZZVSn5p.js +0 -150
- package/dist/DE-C_Lc7NP5.js +0 -32
- package/dist/DE-CsuX_tSL.js +0 -23
- package/dist/DE-D7HKgI77.js +0 -29
- package/dist/DE-D_jIDxOH.js +0 -29
- package/dist/DK-CVF9z_0t.js +0 -25
- package/dist/DK-dBzrfgpQ.js +0 -27
- package/dist/DK-oQEFrF6o.js +0 -33
- package/dist/DK-x6M9-ek-.js +0 -24
- package/dist/DO-B1BWc3Iy.js +0 -27
- package/dist/DebugModal-B7AyfRi1.js +0 -444
- package/dist/DecisionMakerDetails-CmIkuKMd.js +0 -275
- package/dist/DecisionMakerDetailsPage-C86M_cr7.js +0 -104
- package/dist/DecisionMakers-BJzPsxVk.js +0 -680
- package/dist/DetailViewLayout-Z9cuUp4X.js +0 -65
- package/dist/Dropzone-DkOStOI3.js +0 -224
- package/dist/EC-DbNXe71-.js +0 -28
- package/dist/EE-3WZV5Ejt.js +0 -23
- package/dist/ES-BlWV7xvh.js +0 -32
- package/dist/ES-CeohntGo.js +0 -26
- package/dist/ES-DYbZmFcJ.js +0 -27
- package/dist/ES-NfxpqbC2.js +0 -23
- package/dist/EmbeddedStatus-BDk-Cdzb.js +0 -97
- package/dist/EndStateLayout-yZlKFmxQ.js +0 -71
- package/dist/EntityAssociation-BQinpNn-.js +0 -177
- package/dist/EntityGuidanceStatus-DgrTCy2a.js +0 -106
- package/dist/ErrorPanel-rmGb9PlE.js +0 -192
- package/dist/FI-BOex4MFx.js +0 -21
- package/dist/FI-C9nRvop7.js +0 -25
- package/dist/FI-CF0teHDu.js +0 -26
- package/dist/FI-CHQIvHa-.js +0 -23
- package/dist/FJ-CBdbPf5l.js +0 -27
- package/dist/FO-1pD1p939.js +0 -27
- package/dist/FR-3wQ9FMtt.js +0 -29
- package/dist/FR-BycGQO4W.js +0 -29
- package/dist/FR-CAxkckai.js +0 -25
- package/dist/FR-MWZyWX3x.js +0 -23
- package/dist/Field-DDqviWD6.js +0 -141
- package/dist/FormNavigation-hnWA-Ehl.js +0 -144
- package/dist/GB-CCYHTagl.js +0 -33
- package/dist/GB-C_AXeEDs.js +0 -32
- package/dist/GB-DFyzo5sN.js +0 -24
- package/dist/GB-DUnW-a4M.js +0 -24
- package/dist/GE-Deog1a3Z.js +0 -27
- package/dist/GF-Cda8N7A4.js +0 -23
- package/dist/GG-CPoMVQPc.js +0 -33
- package/dist/GI-DxmBwVD_.js +0 -41
- package/dist/GL-0vO9Of9c.js +0 -27
- package/dist/GP-za-3opp-.js +0 -23
- package/dist/GR-Rk0pXlNw.js +0 -23
- package/dist/GT-C1jhs-Dx.js +0 -27
- package/dist/GU-CALV5vh1.js +0 -25
- package/dist/HK-B16JHR8k.js +0 -25
- package/dist/HK-BB3PIq-Z.js +0 -25
- package/dist/HK-WqZ5UBEF.js +0 -24
- package/dist/HK-eKVHN8Vg.js +0 -21
- package/dist/HR-BHhcnUGU.js +0 -26
- package/dist/HR-BRAjQoOH.js +0 -25
- package/dist/HR-CRa19tH1.js +0 -27
- package/dist/HR-WapHW2fw.js +0 -23
- package/dist/HU-D5NCweWf.js +0 -27
- package/dist/HU-DCOMuOhe.js +0 -32
- package/dist/HU-DuWGRPke.js +0 -24
- package/dist/HU-hfSSMbei.js +0 -21
- package/dist/ID-BcOv4SXj.js +0 -27
- package/dist/IE-BCDIfZoA.js +0 -30
- package/dist/IE-BN3Eiv5M.js +0 -21
- package/dist/IE-BkgtVgDi.js +0 -23
- package/dist/IE-rhATS57q.js +0 -24
- package/dist/IL-CQ0yHRRe.js +0 -23
- package/dist/IM-Wr4iDT94.js +0 -33
- package/dist/IN-BhEI9o7G.js +0 -28
- package/dist/IS-C-Cgc6zp.js +0 -27
- package/dist/IT-C1-PEPAb.js +0 -27
- package/dist/IT-CBt6Os6J.js +0 -25
- package/dist/IT-CXekiddL.js +0 -23
- package/dist/IT-wD7dHdYD.js +0 -27
- package/dist/Individual.rules-DkkHd4AC.js +0 -390
- package/dist/IndividualDropin-HfCpdNoz.js +0 -5743
- package/dist/InputDate-BB4WZBNP.js +0 -43
- package/dist/InputGroup-WBfGDV5F.js +0 -32
- package/dist/InputText-BCi31wZB.js +0 -134
- package/dist/Introduction-DShrdSBn.js +0 -251
- package/dist/InvitedDecisionMakerComponent-B2HU3LgV.js +0 -216
- package/dist/JE-B4gj54Hg.js +0 -33
- package/dist/JM-BMGgBK6y.js +0 -27
- package/dist/JO-rY8A8f9C.js +0 -27
- package/dist/JP-BQG5dF1Y.js +0 -28
- package/dist/JpAddress-DE9yfseS.js +0 -327
- package/dist/KR-74SwXHka.js +0 -27
- package/dist/KW-CcVPOJ8B.js +0 -27
- package/dist/KY-DXCeltYA.js +0 -27
- package/dist/KZ-CZNjdp22.js +0 -27
- package/dist/LB-DZ5YfAsO.js +0 -27
- package/dist/LI-L0ZAALRT.js +0 -23
- package/dist/LT-0F72uCyI.js +0 -28
- package/dist/LT-Ao2uagV9.js +0 -23
- package/dist/LT-Dkevn83h.js +0 -19
- package/dist/LT-V-VsHKlY.js +0 -28
- package/dist/LU-B7LRUuc6.js +0 -23
- package/dist/LV-DZeGjA2G.js +0 -23
- package/dist/LandingLayout-D_EQfRqT.js +0 -61
- package/dist/LegalCompanyNameField-CCPNDYao.js +0 -138
- package/dist/LegalRepresentativeDetailsPage-ZsBB2MMq.js +0 -55
- package/dist/Link-DWRRNNKW.js +0 -35
- package/dist/List-BAzyC6sw.js +0 -83
- package/dist/ListItem-DlliPqo-.js +0 -69
- package/dist/LoaderWrapper-DE-3T3QK.js +0 -42
- package/dist/MC-EDVNGWhy.js +0 -23
- package/dist/MD-DVc0183a.js +0 -27
- package/dist/ME-DiJhSuli.js +0 -27
- package/dist/MK-BZxslBTS.js +0 -27
- package/dist/MP-7IpnbfCj.js +0 -25
- package/dist/MQ-DusG_no1.js +0 -23
- package/dist/MR-DaBVNHqN.js +0 -27
- package/dist/MT-B9my7RlP.js +0 -23
- package/dist/MU-D3gGVu1R.js +0 -27
- package/dist/MX-CZVOFg3D.js +0 -25
- package/dist/MY-ym71svTa.js +0 -24
- package/dist/ManageIndividualComponent-CGjYieXl.js +0 -46
- package/dist/ManageTermsOfServiceComponent-DVal60Sx.js +0 -52
- package/dist/ManageTransferInstrumentComponent-oOQNBPeD.js +0 -290
- package/dist/MaskedInput-Dzp3Td83.js +0 -811
- package/dist/MaybeModal-Vk2hdUdf.js +0 -36
- package/dist/Modal-Bq5ccK7z.js +0 -137
- package/dist/NC-xzMvjp9-.js +0 -27
- package/dist/NL-4Y7A2IJp.js +0 -27
- package/dist/NL-VXAFOhV5.js +0 -23
- package/dist/NL-q2U2l276.js +0 -27
- package/dist/NL-zm__7LWV.js +0 -23
- package/dist/NO-BAcMdKUJ.js +0 -22
- package/dist/NO-CX12Zsf_.js +0 -27
- package/dist/NO-Cx1VSh2W.js +0 -32
- package/dist/NO-Div5P6IZ.js +0 -29
- package/dist/NZ-BP7_Q9Om.js +0 -22
- package/dist/NZ-DDRknBQk.js +0 -20
- package/dist/Name-w6uDAo1S.js +0 -81
- package/dist/NewSummary-fp6oz9Ko.js +0 -60
- package/dist/OnboardingDropinComponent-Cn45HTst.js +0 -3310
- package/dist/PE-CdxgPh3v.js +0 -27
- package/dist/PF-CstaOd9Z.js +0 -27
- package/dist/PH-BYgMDYIH.js +0 -27
- package/dist/PK-bLhtgsEk.js +0 -27
- package/dist/PL-BZW1hGvD.js +0 -32
- package/dist/PL-CwCXF3Yu.js +0 -28
- package/dist/PL-D6_6gquq.js +0 -27
- package/dist/PL-DKgMtNxx.js +0 -27
- package/dist/PM-BWbxAh4u.js +0 -23
- package/dist/PR-CFPKXEXp.js +0 -25
- package/dist/PS-B8obOOWY.js +0 -27
- package/dist/PT-C2dln191.js +0 -26
- package/dist/PT-CpKb15My.js +0 -30
- package/dist/PT-Dei5v1nD.js +0 -28
- package/dist/PT-OpU4MU3L.js +0 -23
- package/dist/PayoutDetailsDropin-Bzs2jydk.js +0 -4226
- package/dist/PayoutDetailsPage-BGdufep3.js +0 -914
- package/dist/ProgressBar-B7gTQncy.js +0 -47
- package/dist/QA-CSfx-mvb.js +0 -27
- package/dist/RE-BApq1FJ6.js +0 -23
- package/dist/RO-Bmsg2YGZ.js +0 -23
- package/dist/RO-C_utD--1.js +0 -19
- package/dist/RO-Cz6Sh0ls.js +0 -23
- package/dist/RO-Dxk08mOu.js +0 -27
- package/dist/RS-BCenke-W.js +0 -27
- package/dist/RU-D27RC7dq.js +0 -27
- package/dist/Radio-BMtxBpnn.js +0 -39
- package/dist/RadioGroup-BOUo26G0.js +0 -100
- package/dist/Review-Be1zBkVv.js +0 -82
- package/dist/RootBusinessDetailsPage-CnX2zYB9.js +0 -50
- package/dist/RootBusinessLinesPage-G9LnOcFE.js +0 -1538
- package/dist/RootIndividualDetailsPage-DPim7JYp.js +0 -62
- package/dist/SA-C9VgxCgm.js +0 -27
- package/dist/SE-AP3gLiyy.js +0 -27
- package/dist/SE-B5K-FkQd.js +0 -33
- package/dist/SE-BqGOP1F1.js +0 -22
- package/dist/SE-Br1yrUhV.js +0 -27
- package/dist/SG-DMcOb17i.js +0 -24
- package/dist/SG-DoCqjlFi.js +0 -24
- package/dist/SG-d-PTZAoA.js +0 -28
- package/dist/SG-dEj6fGdY.js +0 -24
- package/dist/SI-BOGTNLPa.js +0 -23
- package/dist/SI-BPx_gt1n.js +0 -26
- package/dist/SI-BXe-yndm.js +0 -27
- package/dist/SI-DBADzvYO.js +0 -22
- package/dist/SJ-Z9jwQQlz.js +0 -27
- package/dist/SK-BOVrp_Av.js +0 -23
- package/dist/SK-DamCBYsZ.js +0 -22
- package/dist/SK-DeSZ6Sa9.js +0 -29
- package/dist/SK-DwdgoGnD.js +0 -27
- package/dist/SM-meowwILA.js +0 -23
- package/dist/Select-D5a5aVFZ.js +0 -868
- package/dist/SignPCIComponent-BTyUfmK_.js +0 -301
- package/dist/SingpassSelection-DowkF6pT.js +0 -269
- package/dist/SoleProprietorshipPage-C_875t2r.js +0 -50
- package/dist/SourceOfFundsPage-Cx6ekIue.js +0 -2335
- package/dist/Spacer-BK3jDget.js +0 -18
- package/dist/StepProgressIndicator-CW9yp5Ud.js +0 -78
- package/dist/StoreProvider-CApjzEDt.js +0 -5560
- package/dist/StructuredList-CNha20ka.js +0 -61
- package/dist/Summary-DlYtNJQD.js +0 -213
- package/dist/TF-BOWng-Dz.js +0 -27
- package/dist/TH-CvyXLcZK.js +0 -28
- package/dist/TL-BWslydRz.js +0 -27
- package/dist/TN-Cjd3bM_V.js +0 -27
- package/dist/TR-BBx5CuWS.js +0 -27
- package/dist/TT-D4-z5BA-.js +0 -28
- package/dist/TW-BC8YpnMr.js +0 -29
- package/dist/Tag-DdkVScyr.js +0 -41
- package/dist/TaxInformationField-ByQTgGxY.js +0 -3498
- package/dist/TaxReportingDropin-D52Nf4f2.js +0 -501
- package/dist/TextArea-C4OmPCHh.js +0 -103
- package/dist/TileGroup-Aj0Yql_d.js +0 -203
- package/dist/TrustDetailsPage-Cj368KCb.js +0 -2167
- package/dist/TrustMemberCompanyPage-CTXwk8mB.js +0 -68
- package/dist/TrustMemberIndividualPage-BusLDMBC.js +0 -64
- package/dist/TrustMemberRoleAndTypePage-D6Ir0aGf.js +0 -1078
- package/dist/TrustMembersOverview-_eQwa8o8.js +0 -433
- package/dist/UA-DrXUnAe6.js +0 -27
- package/dist/US-CZw-MX1-.js +0 -29
- package/dist/US-CxBcdqfz.js +0 -22
- package/dist/US-D8dI5_i1.js +0 -25
- package/dist/US-DHxLSqeC.js +0 -24
- package/dist/UY-DEHqLXhX.js +0 -27
- package/dist/UnincorporatedPartnershipIndividualPage-tCLAddt7.js +0 -63
- package/dist/UnincorporatedPartnershipMemberCompanyPage-A7gQ5wwr.js +0 -71
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-DaFl9wVc.js +0 -291
- package/dist/UnincorporatedPartnershipMembersOverview-C3YF2E_k.js +0 -169
- package/dist/VA-DXsYTCoh.js +0 -23
- package/dist/VG-DnKAVCsi.js +0 -27
- package/dist/VI-CU9MA9ux.js +0 -25
- package/dist/VN-CTSqsmB6.js +0 -27
- package/dist/VerificationErrorAlert-D8Menx5E.js +0 -79
- package/dist/ViewVerificationStatusComponent-TBlv6an5.js +0 -180
- package/dist/WF-CwHbsjtJ.js +0 -27
- package/dist/YT-BCyAAbo7.js +0 -23
- package/dist/ZA-NU7slima.js +0 -28
- package/dist/adyen-kyc-components.js +0 -451
- package/dist/arrow-right-BoqwUH_d.js +0 -14
- package/dist/bafinUtils-DOGd6Xk9.js +0 -92
- package/dist/bag-BXVWLrwo.js +0 -14
- package/dist/bank-1GvaHPAZ.js +0 -14
- package/dist/basePatterns-BwdnMQxI.js +0 -15
- package/dist/bg-BG-89Mw-9Lv.js +0 -75
- package/dist/bg-BG-BY3Wa361.js +0 -54
- package/dist/bg-BG-BnwkqGm9.js +0 -13
- package/dist/bg-BG-BvLl6gaB.js +0 -13
- package/dist/bg-BG-C9zrgb_c.js +0 -76
- package/dist/bg-BG-CEipapl4.js +0 -63
- package/dist/bg-BG-CFuVZnaC.js +0 -13
- package/dist/bg-BG-Coja327N.js +0 -24
- package/dist/bg-BG-Cz7Cuw8v.js +0 -29
- package/dist/bg-BG-DKld3x63.js +0 -13
- package/dist/bg-BG-DbFzLQK7.js +0 -37
- package/dist/bg-BG-DcxZ1tmt.js +0 -32
- package/dist/bg-BG-dmpv4Zom.js +0 -13
- package/dist/bg-BG-zZhDshGi.js +0 -65
- package/dist/bin-Ba-3ll8T.js +0 -18
- package/dist/business-lines-BAqTbnBw.js +0 -135
- package/dist/capital-9TKHySO7.js +0 -17
- package/dist/cash-stack-DwYu4xNy.js +0 -22
- package/dist/certificate-N2YFedpI.js +0 -17
- package/dist/checkmark-D9dGhGpG.js +0 -14
- package/dist/checkmark-circle-CFWClLQ6.js +0 -20
- package/dist/checkmark-circle-fill-DEB-tuGl.js +0 -17
- package/dist/checkmark-small-D3VNx2lo.js +0 -14
- package/dist/chevron-down-C7SUSYfl.js +0 -14
- package/dist/chevron-left-BXmd-S46.js +0 -14
- package/dist/chevron-right-jE6RwM2B.js +0 -14
- package/dist/chevron-up-BdfNcqzq.js +0 -14
- package/dist/circle-BJPTMCWB.js +0 -17
- package/dist/circle-small-filled-BuO8Vg8j.js +0 -14
- package/dist/clock-DAzaBRWk.js +0 -20
- package/dist/coins-DYdzG5e_.js +0 -17
- package/dist/commonValidators-D1bdFvRX.js +0 -24
- package/dist/contract-BfJb1t6M.js +0 -14
- package/dist/cross-CDS_eot4.js +0 -14
- package/dist/cross-circle-fill-C-EJ57Yn.js +0 -17
- package/dist/cross-circle-fill-small-DkPjsuBH.js +0 -14
- package/dist/cs-CZ-6rOIfRJu.js +0 -13
- package/dist/cs-CZ-B-zm6HVH.js +0 -76
- package/dist/cs-CZ-BBLagJI6.js +0 -13
- package/dist/cs-CZ-BEFeaKsV.js +0 -54
- package/dist/cs-CZ-BHbWTH_v.js +0 -63
- package/dist/cs-CZ-BeMYkFfD.js +0 -13
- package/dist/cs-CZ-BlrV3tkx.js +0 -29
- package/dist/cs-CZ-CBuNZ7UO.js +0 -37
- package/dist/cs-CZ-CTxXvHtH.js +0 -75
- package/dist/cs-CZ-CYsR__kj.js +0 -13
- package/dist/cs-CZ-Ck22NTT9.js +0 -65
- package/dist/cs-CZ-D4Hg-t16.js +0 -32
- package/dist/cs-CZ-DXtJsBPz.js +0 -24
- package/dist/cs-CZ-hT5w5It6.js +0 -13
- package/dist/currency-CrdnaaDu.js +0 -35
- package/dist/da-DK-B3Pg-MWO.js +0 -13
- package/dist/da-DK-CGhsIGZt.js +0 -76
- package/dist/da-DK-CLdNh9JT.js +0 -37
- package/dist/da-DK-CM1onr3w.js +0 -29
- package/dist/da-DK-C_GqHCay.js +0 -13
- package/dist/da-DK-D6UK8XT9.js +0 -54
- package/dist/da-DK-D9FgPh5e.js +0 -13
- package/dist/da-DK-DCJhV2qS.js +0 -32
- package/dist/da-DK-DQ4ZYSea.js +0 -65
- package/dist/da-DK-DWA8uOd8.js +0 -24
- package/dist/da-DK-DZwlENGe.js +0 -13
- package/dist/da-DK-D_TOcmOO.js +0 -75
- package/dist/da-DK-mUuPR2YO.js +0 -13
- package/dist/da-DK-vcVNQJbX.js +0 -63
- package/dist/de-DE-B3nctkG8.js +0 -13
- package/dist/de-DE-BT5g7ZXC.js +0 -37
- package/dist/de-DE-BmWBo3gX.js +0 -13
- package/dist/de-DE-CA4mYLwp.js +0 -29
- package/dist/de-DE-CWEW2yqg.js +0 -63
- package/dist/de-DE-Cg_RNIr-.js +0 -13
- package/dist/de-DE-CkbOZ6S_.js +0 -65
- package/dist/de-DE-CwT6O212.js +0 -13
- package/dist/de-DE-D50lGOJE.js +0 -24
- package/dist/de-DE-DUl6gRKv.js +0 -54
- package/dist/de-DE-DXR3EpEc.js +0 -13
- package/dist/de-DE-DYzAiXHM.js +0 -75
- package/dist/de-DE-DwOQKCuU.js +0 -32
- package/dist/de-DE-K9FyOJiI.js +0 -76
- package/dist/de-DE-S6qDey1L.js +0 -13
- package/dist/debouncedInputEvent-Cv2S512Y.js +0 -46
- package/dist/debugStore-BvbyN1Oi.js +0 -14
- package/dist/decision-makers-group-DrvpnEqj.js +0 -1944
- package/dist/digital-wallet-Bx5YM1LY.js +0 -46
- package/dist/document-1-qlSTF558.js +0 -14
- package/dist/document-blurred-BiWap0xs.js +0 -37
- package/dist/document-cut-off-aQezqOif.js +0 -32
- package/dist/document-expired-BhBXaWWQ.js +0 -38
- package/dist/document-front-DYuhZGeQ.js +0 -30
- package/dist/document-person-CDbnTOdV.js +0 -20
- package/dist/download-BZQB1WkZ.js +0 -17
- package/dist/dropinUtils-C6SkIQLo.js +0 -256
- package/dist/edit-1-DAqtnOIx.js +0 -14
- package/dist/el-GR-B5j7VZ3E.js +0 -54
- package/dist/el-GR-B78b9rSH.js +0 -63
- package/dist/el-GR-BuAfpG6u.js +0 -13
- package/dist/el-GR-BvRBuezU.js +0 -37
- package/dist/el-GR-CKHMsdx2.js +0 -24
- package/dist/el-GR-CdgLZhuO.js +0 -13
- package/dist/el-GR-D6XimdV5.js +0 -29
- package/dist/el-GR-DItzpoar.js +0 -75
- package/dist/el-GR-DoS_Va-n.js +0 -13
- package/dist/el-GR-DtFE64KX.js +0 -13
- package/dist/el-GR-DudORw4U.js +0 -65
- package/dist/el-GR-Fo7-xCrc.js +0 -13
- package/dist/el-GR-Hk4NbZSY.js +0 -32
- package/dist/el-GR-L-39cQfz.js +0 -76
- package/dist/el-GR-ZRGBgvMu.js +0 -13
- package/dist/emitEvent-CzZf80Am.js +0 -28
- package/dist/en-US-9KQC6F8-.js +0 -218
- package/dist/en-US-AgtwE4Fl.js +0 -63
- package/dist/en-US-B-qSAb-7.js +0 -66
- package/dist/en-US-BQZhzROc.js +0 -32
- package/dist/en-US-BSQXKu6d.js +0 -54
- package/dist/en-US-CTbVLoNF.js +0 -13
- package/dist/en-US-C_9Fc9mP.js +0 -82
- package/dist/en-US-CfazE4ht.js +0 -13
- package/dist/en-US-CgakND3H.js +0 -37
- package/dist/en-US-D2yrwtzT.js +0 -24
- package/dist/en-US-DIlZD5Wh.js +0 -76
- package/dist/en-US-DPoDE0uz.js +0 -75
- package/dist/en-US-DSoLr6rp.js +0 -13
- package/dist/en-US-DWT3bRZC.js +0 -122
- package/dist/en-US-Do3mE4BR.js +0 -46
- package/dist/en-US-DrUYyPhF.js +0 -13
- package/dist/en-US-PLYPmyFJ.js +0 -66
- package/dist/en-US-QbdqemZi.js +0 -202
- package/dist/en-US-fDACdKtT.js +0 -29
- package/dist/en-US-qlQTJNiL.js +0 -13
- package/dist/en-US.instructions-CfIM2SRF.js +0 -21
- package/dist/es-ES-4FS7NoE7.js +0 -37
- package/dist/es-ES-BAolMrZ0.js +0 -65
- package/dist/es-ES-BBcx4tvi.js +0 -29
- package/dist/es-ES-BOoPqnPI.js +0 -32
- package/dist/es-ES-BRfK6tX7.js +0 -13
- package/dist/es-ES-BYl5-PFR.js +0 -13
- package/dist/es-ES-BZiC4JWr.js +0 -13
- package/dist/es-ES-Bh8k9Zx8.js +0 -13
- package/dist/es-ES-BkqlH093.js +0 -13
- package/dist/es-ES-BmH6eADf.js +0 -75
- package/dist/es-ES-CDgjGql5.js +0 -63
- package/dist/es-ES-Cavm0szq.js +0 -54
- package/dist/es-ES-DF_L5EDd.js +0 -24
- package/dist/es-ES-TUyeIp6F.js +0 -76
- package/dist/es-ES-yMXcOjDL.js +0 -13
- package/dist/et-EE-4fHYOoff.js +0 -13
- package/dist/et-EE-BBnYC5q8.js +0 -13
- package/dist/et-EE-BOIrYrz9.js +0 -65
- package/dist/et-EE-B_Wk8564.js +0 -29
- package/dist/et-EE-Be__VK7Y.js +0 -32
- package/dist/et-EE-BuBiNLCi.js +0 -24
- package/dist/et-EE-C8RrUpLm.js +0 -13
- package/dist/et-EE-CksV5_e1.js +0 -37
- package/dist/et-EE-Cw_VydGb.js +0 -76
- package/dist/et-EE-D0PMC4ie.js +0 -63
- package/dist/et-EE-DSZa_33d.js +0 -75
- package/dist/et-EE-DUWZ2Vqm.js +0 -54
- package/dist/et-EE-D_NmrrzQ.js +0 -13
- package/dist/et-EE-H8yxvhQj.js +0 -13
- package/dist/external-link-Cg6pJaSJ.js +0 -14
- package/dist/fi-FI-BKu826v5.js +0 -29
- package/dist/fi-FI-BfwJVwi9.js +0 -13
- package/dist/fi-FI-CEH4BfU3.js +0 -13
- package/dist/fi-FI-CsZlDJFb.js +0 -63
- package/dist/fi-FI-D8WrLxxq.js +0 -65
- package/dist/fi-FI-DFxljML-.js +0 -13
- package/dist/fi-FI-DH6jpo9K.js +0 -24
- package/dist/fi-FI-DJ8BbVPT.js +0 -75
- package/dist/fi-FI-DVa-ccaW.js +0 -54
- package/dist/fi-FI-DhUeTfn1.js +0 -13
- package/dist/fi-FI-XpnJRPgt.js +0 -37
- package/dist/fi-FI-bZzNB1WB.js +0 -32
- package/dist/fi-FI-tgvQX_Iq.js +0 -76
- package/dist/fi-FI-xqnQ38yC.js +0 -13
- package/dist/fieldConfigurations-BUT9DTUH.js +0 -21
- package/dist/file-CiG1D0zy.js +0 -42
- package/dist/form-rules-DhbF2mY4.js +0 -13
- package/dist/formUtils-BVAIyFiB.js +0 -92
- package/dist/fr-FR-BSynpexF.js +0 -13
- package/dist/fr-FR-Beljeilc.js +0 -65
- package/dist/fr-FR-BnblnBsx.js +0 -24
- package/dist/fr-FR-C7iSS-OS.js +0 -29
- package/dist/fr-FR-CY9emHgF.js +0 -54
- package/dist/fr-FR-CocDMzBc.js +0 -13
- package/dist/fr-FR-CzjsW73Q.js +0 -13
- package/dist/fr-FR-D533_MOG.js +0 -75
- package/dist/fr-FR-DPehHVb6.js +0 -13
- package/dist/fr-FR-Dk6Lw2On.js +0 -13
- package/dist/fr-FR-NxOktkWc.js +0 -13
- package/dist/fr-FR-TqAhPvzz.js +0 -37
- package/dist/fr-FR-VoxPkXSc.js +0 -63
- package/dist/fr-FR-cTKcuHqX.js +0 -32
- package/dist/fr-FR-ynC19lSF.js +0 -76
- package/dist/funds-in-CInoUdmG.js +0 -21
- package/dist/getName-CfQAf_l-.js +0 -41
- package/dist/getProblemsForEntity-I5B0dWUU.js +0 -24
- package/dist/getProps-Cc3J2-z9.js +0 -148
- package/dist/getTrustedFields-Cv6R496P.js +0 -104
- package/dist/gift-omNInZeB.js +0 -14
- package/dist/graph-DunG_uu1.js +0 -21
- package/dist/graph-up-BZze4i6m.js +0 -20
- package/dist/headquarter-BhpSibFO.js +0 -21
- package/dist/hotel-Cp7VgGCJ.js +0 -22
- package/dist/house-BhyBQdR3.js +0 -21
- package/dist/hr-HR--5syrowD.js +0 -76
- package/dist/hr-HR-Bjx-KdVs.js +0 -13
- package/dist/hr-HR-CIxdonpk.js +0 -75
- package/dist/hr-HR-CKZ_yuXC.js +0 -37
- package/dist/hr-HR-CbdP2tk-.js +0 -63
- package/dist/hr-HR-CnP5sqih.js +0 -54
- package/dist/hr-HR-ComCqan_.js +0 -32
- package/dist/hr-HR-D5V7g9H2.js +0 -13
- package/dist/hr-HR-D9OGeEuB.js +0 -13
- package/dist/hr-HR-D_MUIhtx.js +0 -13
- package/dist/hr-HR-De5kHU8U.js +0 -24
- package/dist/hr-HR-ZrpQrsik.js +0 -13
- package/dist/hr-HR-g88yM2q1.js +0 -29
- package/dist/hr-HR-lIHN6Yl2.js +0 -65
- package/dist/hu-HU--6ZxXlbV.js +0 -75
- package/dist/hu-HU-B-lUkFnQ.js +0 -13
- package/dist/hu-HU-BEV8uVRt.js +0 -37
- package/dist/hu-HU-BFiGk_QT.js +0 -76
- package/dist/hu-HU-BTlpbCpc.js +0 -54
- package/dist/hu-HU-BcogZby3.js +0 -24
- package/dist/hu-HU-ByRdd0O_.js +0 -29
- package/dist/hu-HU-CWdwNCev.js +0 -65
- package/dist/hu-HU-DUGz5q5D.js +0 -32
- package/dist/hu-HU-DjaoFDqm.js +0 -13
- package/dist/hu-HU-Ds3go4h4.js +0 -13
- package/dist/hu-HU-LxStrFGU.js +0 -13
- package/dist/hu-HU-hbVM6tMS.js +0 -13
- package/dist/hu-HU-pFpTvMiD.js +0 -63
- package/dist/id-blurred-B5lHEP8M.js +0 -59
- package/dist/id-cut-off-Ba1FRzKO.js +0 -55
- package/dist/id-front-CpNWN6nG.js +0 -52
- package/dist/id-glare-DgCQON8k.js +0 -49
- package/dist/image-CmB0ioUM.js +0 -17
- package/dist/info-Bb_-xIEK.js +0 -21
- package/dist/info-filled-CK8LB339.js +0 -17
- package/dist/isEmpty-BcLvy0xw.js +0 -23
- package/dist/it-IT-5a7NHVFo.js +0 -65
- package/dist/it-IT-B4bk2Xev.js +0 -13
- package/dist/it-IT-B5cf2VTN.js +0 -75
- package/dist/it-IT-C0Zv5ms9.js +0 -76
- package/dist/it-IT-CUrn0j1I.js +0 -29
- package/dist/it-IT-C_651bEP.js +0 -13
- package/dist/it-IT-Ckv8Ce4e.js +0 -24
- package/dist/it-IT-D-jYXj6V.js +0 -37
- package/dist/it-IT-D7G4BaP7.js +0 -13
- package/dist/it-IT-DERflsUd.js +0 -32
- package/dist/it-IT-DOBp2-MP.js +0 -13
- package/dist/it-IT-DZjw9LNC.js +0 -63
- package/dist/it-IT-Dx15tkIe.js +0 -13
- package/dist/it-IT-GgHc0cHR.js +0 -54
- package/dist/it-IT-OppZz3gW.js +0 -13
- package/dist/ja-JP--u211vje.js +0 -76
- package/dist/ja-JP-8yMqZqF2.js +0 -37
- package/dist/ja-JP-BoxeBgOv.js +0 -32
- package/dist/ja-JP-BqluCflj.js +0 -63
- package/dist/ja-JP-CbP1sVFP.js +0 -29
- package/dist/ja-JP-CbgaW99b.js +0 -54
- package/dist/ja-JP-CethQRoG.js +0 -13
- package/dist/ja-JP-CvNJvxkQ.js +0 -218
- package/dist/ja-JP-DK55NCZY.js +0 -135
- package/dist/ja-JP-DSvZhFNY.js +0 -65
- package/dist/ja-JP-DTW_hY1L.js +0 -13
- package/dist/ja-JP-DU7yCJYq.js +0 -202
- package/dist/ja-JP-DY4CJlUf.js +0 -75
- package/dist/ja-JP-FWHXsXlW.js +0 -24
- package/dist/ja-JP-GX3l4yqn.js +0 -125
- package/dist/ja-JP-Qu7oEIEy.js +0 -13
- package/dist/japanSupportUtils-DR5unSI9.js +0 -16
- package/dist/jpAddressSchema-DEOyz9Yo.js +0 -26
- package/dist/localizeDateString-0FoP1ZoN.js +0 -27
- package/dist/location-itJfxrDQ.js +0 -17
- package/dist/lt-LT-BebOeKIA.js +0 -13
- package/dist/lt-LT-CBTFJxth.js +0 -13
- package/dist/lt-LT-CK0t2AVY.js +0 -37
- package/dist/lt-LT-CNTNKNlX.js +0 -29
- package/dist/lt-LT-CXw4ywLM.js +0 -63
- package/dist/lt-LT-CfQUS8PP.js +0 -13
- package/dist/lt-LT-CgalYpUh.js +0 -65
- package/dist/lt-LT-Ci357QYQ.js +0 -13
- package/dist/lt-LT-CkjEvGSp.js +0 -75
- package/dist/lt-LT-D2Hrhr7v.js +0 -76
- package/dist/lt-LT-D5Rhxm1h.js +0 -32
- package/dist/lt-LT-DDdq07sX.js +0 -24
- package/dist/lt-LT-DTQGR9M0.js +0 -54
- package/dist/lt-LT-WRulV980.js +0 -13
- package/dist/lv-LV-BQ4F1GrV.js +0 -54
- package/dist/lv-LV-BdZK9nQA.js +0 -75
- package/dist/lv-LV-C9Dhkruv.js +0 -13
- package/dist/lv-LV-CG1zToz7.js +0 -32
- package/dist/lv-LV-CYcrO-6d.js +0 -13
- package/dist/lv-LV-CkyuY2ji.js +0 -24
- package/dist/lv-LV-D04q9r-y.js +0 -76
- package/dist/lv-LV-DTaBIHLh.js +0 -13
- package/dist/lv-LV-DYqBaW2-.js +0 -63
- package/dist/lv-LV-DoKxsoVR.js +0 -13
- package/dist/lv-LV-Dxe-A5vo.js +0 -13
- package/dist/lv-LV-JvlzK9X-.js +0 -37
- package/dist/lv-LV-N81Dgdm3.js +0 -29
- package/dist/lv-LV-aAd9SEqx.js +0 -65
- package/dist/mail-VHTlAusn.js +0 -14
- package/dist/mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js +0 -56
- package/dist/mapExistingFile-BOZ-beF3.js +0 -157
- package/dist/mapJpAddressSchemaToAddressLocalizations-MqYxkfLg.js +0 -54
- package/dist/mapLegalEntityToIndividualSchema-CQnZl2f1.js +0 -204
- package/dist/mapTransferInstrumentToPayoutAccount-DJ5E9tqe.js +0 -34
- package/dist/minus-circle-filled-ZhtJ0GD3.js +0 -17
- package/dist/nl-NL-Bx5p0nXL.js +0 -24
- package/dist/nl-NL-CFzm75Jw.js +0 -13
- package/dist/nl-NL-CJ7MoBj2.js +0 -76
- package/dist/nl-NL-CUcML482.js +0 -54
- package/dist/nl-NL-CYFznuWn.js +0 -13
- package/dist/nl-NL-Cjlmc0Ii.js +0 -32
- package/dist/nl-NL-CmURERx_.js +0 -65
- package/dist/nl-NL-FbJ2sHba.js +0 -13
- package/dist/nl-NL-J7XpCpQm.js +0 -13
- package/dist/nl-NL-JChnFdCY.js +0 -13
- package/dist/nl-NL-Jhr-ICkK.js +0 -37
- package/dist/nl-NL-Lo8OF_nj.js +0 -29
- package/dist/nl-NL-SjOGmGk5.js +0 -13
- package/dist/nl-NL-YcL7Gufl.js +0 -75
- package/dist/nl-NL-lcNM54vV.js +0 -63
- package/dist/no-NO--OoWld_l.js +0 -13
- package/dist/no-NO-6chPsZZE.js +0 -29
- package/dist/no-NO-B5BjEy8n.js +0 -13
- package/dist/no-NO-BAWVf0GX.js +0 -13
- package/dist/no-NO-BBCvsecq.js +0 -54
- package/dist/no-NO-BH6DId3q.js +0 -37
- package/dist/no-NO-Bs3-6MDM.js +0 -24
- package/dist/no-NO-BsEie1We.js +0 -13
- package/dist/no-NO-C20s6CoP.js +0 -76
- package/dist/no-NO-CTrVITNu.js +0 -63
- package/dist/no-NO-CY_XHrYd.js +0 -32
- package/dist/no-NO-CtDyNTm6.js +0 -13
- package/dist/no-NO-KkYB-VQD.js +0 -75
- package/dist/no-NO-qyqWODMp.js +0 -65
- package/dist/omitObscuredFieldsIfUnchanged-DMBgASfn.js +0 -29
- package/dist/onfido-logo-BSkKPH10.js +0 -14
- package/dist/options-horizontal-GuXvLvV3.js +0 -18
- package/dist/partner-QD27Vy4w.js +0 -18
- package/dist/passport-blurred-CVG493IJ.js +0 -59
- package/dist/passport-cut-off-COzA_TmB.js +0 -56
- package/dist/passport-front-WJleLixT.js +0 -52
- package/dist/passport-front-green-CZVkCa1n.js +0 -232
- package/dist/passport-glare-BP5WnJZj.js +0 -50
- package/dist/patternValidators-a6VZDG0x.js +0 -83
- package/dist/pay-by-link-plane-BpY8Q6-B.js +0 -22
- package/dist/payout-DtB68BcZ.js +0 -20
- package/dist/payout-verification-instant-BzpfOQLD.js +0 -41
- package/dist/payout-verification-manual-gNEoeZkV.js +0 -90
- package/dist/person-IVZG3t3_.js +0 -17
- package/dist/phonePrefixes-CnL40uyX.js +0 -255
- package/dist/pl-PL-B5c0NNHB.js +0 -37
- package/dist/pl-PL-BH_LPZJa.js +0 -13
- package/dist/pl-PL-BzhEoDb5.js +0 -24
- package/dist/pl-PL-C19Btj2D.js +0 -76
- package/dist/pl-PL-CCX1rSGF.js +0 -13
- package/dist/pl-PL-CErRPlR2.js +0 -63
- package/dist/pl-PL-CPdKf-J0.js +0 -75
- package/dist/pl-PL-C_MvVzPy.js +0 -32
- package/dist/pl-PL-CbJSQVfe.js +0 -29
- package/dist/pl-PL-DEMxxz7h.js +0 -13
- package/dist/pl-PL-DtJ3sgVO.js +0 -13
- package/dist/pl-PL-DuM6hbqZ.js +0 -13
- package/dist/pl-PL-kGaeUP-w.js +0 -54
- package/dist/pl-PL-q9azN24o.js +0 -65
- package/dist/plaid-logo-FsZ7kfL-.js +0 -14
- package/dist/plus-DiALAL8-.js +0 -14
- package/dist/plus-circle-filled-BzHtTqEN.js +0 -17
- package/dist/process-field-configurations-CMIDJACq.js +0 -324
- package/dist/pt-BR-4Iozxvfr.js +0 -37
- package/dist/pt-BR-BKKQIUJP.js +0 -13
- package/dist/pt-BR-BfDe_8iW.js +0 -13
- package/dist/pt-BR-BxoOF8jB.js +0 -65
- package/dist/pt-BR-C-YbDjn-.js +0 -13
- package/dist/pt-BR-C0I_kTQ6.js +0 -13
- package/dist/pt-BR-CBAe0SnK.js +0 -32
- package/dist/pt-BR-CTXtdAVc.js +0 -122
- package/dist/pt-BR-D4BTdo_w.js +0 -13
- package/dist/pt-BR-DA44Wgbt.js +0 -63
- package/dist/pt-BR-DRBFUW-X.js +0 -29
- package/dist/pt-BR-DSENwwGu.js +0 -24
- package/dist/pt-BR-ERWeus3c.js +0 -75
- package/dist/pt-BR-nU_2Wbo5.js +0 -54
- package/dist/pt-BR-zOjPTIPu.js +0 -76
- package/dist/pt-PT-09L8XznW.js +0 -37
- package/dist/pt-PT-BMOUpVLE.js +0 -29
- package/dist/pt-PT-BTbVsews.js +0 -13
- package/dist/pt-PT-Bf4IV7wp.js +0 -13
- package/dist/pt-PT-CC7zlk3R.js +0 -13
- package/dist/pt-PT-CIo3mlXL.js +0 -24
- package/dist/pt-PT-DBZj2dDI.js +0 -13
- package/dist/pt-PT-DUTGt5L5.js +0 -75
- package/dist/pt-PT-Dm5DRDrd.js +0 -32
- package/dist/pt-PT-DpDxAynk.js +0 -13
- package/dist/pt-PT-F1qPZJ2c.js +0 -13
- package/dist/pt-PT-JVqqgvPs.js +0 -54
- package/dist/pt-PT-PIiikho9.js +0 -63
- package/dist/pt-PT-pIChDwiI.js +0 -65
- package/dist/pt-PT-t5M8xwTU.js +0 -76
- package/dist/recurring-DKNs9K3x.js +0 -17
- package/dist/reporting-D5ABpLO_.js +0 -16
- package/dist/resolveEnvironment-BBqc2XYC.js +0 -77
- package/dist/revenue-accelerate-D7Sp0V4a.js +0 -17
- package/dist/review-D4TUjcWF.js +0 -17
- package/dist/ro-RO-0vx6ZLWV.js +0 -13
- package/dist/ro-RO-4j2I7YM7.js +0 -13
- package/dist/ro-RO-B5YT9vP-.js +0 -32
- package/dist/ro-RO-BJoL_nyS.js +0 -29
- package/dist/ro-RO-BnFjok5O.js +0 -75
- package/dist/ro-RO-Bv9hZxwD.js +0 -63
- package/dist/ro-RO-C5PJhlmM.js +0 -13
- package/dist/ro-RO-C83h2zHZ.js +0 -54
- package/dist/ro-RO-CuabgXj1.js +0 -13
- package/dist/ro-RO-D7-7tmTR.js +0 -37
- package/dist/ro-RO-DK9gVwS9.js +0 -76
- package/dist/ro-RO-DRsaNX9j.js +0 -65
- package/dist/ro-RO-DaU2--fX.js +0 -13
- package/dist/ro-RO-ILTvlS9i.js +0 -24
- package/dist/roleMetadata-D1-6Xl8x.js +0 -66
- package/dist/save-BfqO2JBI.js +0 -14
- package/dist/search-Cmzbf5zI.js +0 -17
- package/dist/show-IdbU1C6P.js +0 -17
- package/dist/singpass-logo-wY4xsmTX.js +0 -17
- package/dist/singpass-verification-instant-JCqTr7Mv.js +0 -40
- package/dist/singpass-verification-manual-DQ7XW6R3.js +0 -34
- package/dist/sk-SK-2J6iKfmK.js +0 -76
- package/dist/sk-SK-7-enbO1N.js +0 -65
- package/dist/sk-SK-B-1yRol7.js +0 -13
- package/dist/sk-SK-C5Qmv4E6.js +0 -13
- package/dist/sk-SK-CLPd85I3.js +0 -75
- package/dist/sk-SK-CgLJIuJw.js +0 -54
- package/dist/sk-SK-ChVwlbp0.js +0 -63
- package/dist/sk-SK-Cv23cDQO.js +0 -24
- package/dist/sk-SK-D3tsz1Pg.js +0 -37
- package/dist/sk-SK-DM1yY8DA.js +0 -13
- package/dist/sk-SK-DO-AqRjE.js +0 -13
- package/dist/sk-SK-DuLm2CVx.js +0 -13
- package/dist/sk-SK-DxdxUonp.js +0 -29
- package/dist/sk-SK-S6iF1WDH.js +0 -32
- package/dist/sl-SI--pDTatHh.js +0 -13
- package/dist/sl-SI-BAIm-qBe.js +0 -13
- package/dist/sl-SI-BZpXMHiG.js +0 -13
- package/dist/sl-SI-BzeVaC1Z.js +0 -54
- package/dist/sl-SI-CJH14wbj.js +0 -13
- package/dist/sl-SI-C_4ajjU4.js +0 -13
- package/dist/sl-SI-D82ccY62.js +0 -76
- package/dist/sl-SI-DEaeEVKB.js +0 -24
- package/dist/sl-SI-DTvJT7fC.js +0 -65
- package/dist/sl-SI-DZHePXbK.js +0 -63
- package/dist/sl-SI-DqUEy_Cm.js +0 -32
- package/dist/sl-SI-T9_Ty-NS.js +0 -75
- package/dist/sl-SI-UFngWs5n.js +0 -29
- package/dist/sl-SI-Y9h1ht45.js +0 -37
- package/dist/solution-payments-DpyE_sdS.js +0 -14
- package/dist/store-Btc4GcmU.js +0 -14
- package/dist/styles-CLV89_hH.js +0 -5962
- package/dist/summaryItem-CAQCQSkt.js +0 -18
- package/dist/sv-SE-3-h2VlYi.js +0 -75
- package/dist/sv-SE-BZNey_8S.js +0 -13
- package/dist/sv-SE-CDxyyNV0.js +0 -13
- package/dist/sv-SE-CRBRuE8Z.js +0 -32
- package/dist/sv-SE-CVmo11gI.js +0 -54
- package/dist/sv-SE-CXaMlJCI.js +0 -24
- package/dist/sv-SE-Cr0s35EH.js +0 -29
- package/dist/sv-SE-CrBkos0z.js +0 -76
- package/dist/sv-SE-DFSm22oQ.js +0 -37
- package/dist/sv-SE-DKnUr7xo.js +0 -13
- package/dist/sv-SE-Dq56vGlB.js +0 -63
- package/dist/sv-SE-DsPdegWB.js +0 -13
- package/dist/sv-SE-N-Hqwcjq.js +0 -65
- package/dist/sv-SE-ZsucW_Uj.js +0 -13
- package/dist/sv-SE-rckxD-43.js +0 -13
- package/dist/tax-reporting-graph-hgoilCHZ.js +0 -504
- package/dist/terminal-1-D1pwXCoi.js +0 -18
- package/dist/tink-logo-DDyjz5eJ.js +0 -17
- package/dist/trackNavigation-db_h46BT.js +0 -28
- package/dist/trusted-fields-provider-BgfIoSNJ.js +0 -16
- package/dist/types/api/invitations/useInvitationStatuses.d.ts +0 -8
- package/dist/types/components/BankAccount/forms/BankVerification/store.d.ts +0 -1
- package/dist/types/components/EmbeddedDropins/ManagePCIComponent/ManagePCIComponent.d.ts +0 -6
- package/dist/types/components/Shared/SingpassBanner/ProviderButton/ProviderButton.d.ts +0 -7
- package/dist/types/components/index.d.ts +0 -49
- package/dist/types/context/ExpiryContext/ExpiryContext.d.ts +0 -15
- package/dist/types/context/ExpiryContext/useExpiryThreshold.d.ts +0 -12
- package/dist/types/core/BaseElement.d.ts +0 -46
- package/dist/types/core/UIElement/UIElement.d.ts +0 -24
- package/dist/types/core/core.d.ts +0 -28
- package/dist/types/core/sdkValidation/index.d.ts +0 -4
- package/dist/types/core/sdkValidation/schemas.d.ts +0 -2
- package/dist/types/core/sdkValidation/types.d.ts +0 -19
- package/dist/types--xPA8bq3.js +0 -34
- package/dist/types-BDdV-c-7.js +0 -64
- package/dist/types-C7ANBXKc.js +0 -144
- package/dist/types-CMK2Gs1Z.js +0 -74
- package/dist/types-Dv0COrvY.js +0 -37
- package/dist/unincorporated-partnership-5iQ8augf.js +0 -28
- package/dist/upload-BmUXjsaU.js +0 -17
- package/dist/us-check-C1rTBsCY.js +0 -46
- package/dist/us-check-account-number-9lI1dXNC.js +0 -48
- package/dist/us-check-routing-number-s_KaAGSM.js +0 -49
- package/dist/useAssociatedLegalEntity-9hHARgoS.js +0 -34
- package/dist/useBusinessDetailsData-eIZWfksO.js +0 -5420
- package/dist/useCreateLegalEntity-CtGUDesz.js +0 -32
- package/dist/useForm-BgHdSJLD.js +0 -582
- package/dist/useFormContext-CS1RRaOG.js +0 -211
- package/dist/useGlobalData-TnV6PIkt.js +0 -199
- package/dist/useId-BZ0PA7jP.js +0 -24
- package/dist/useMultiForm-D_RXm-EH.js +0 -879
- package/dist/useOnboardingStatus-C24Lv41L.js +0 -28
- package/dist/useScenarios-Dt8fTJaF.js +0 -48
- package/dist/useTermsOfServiceStatus-uLxHxESA.js +0 -43
- package/dist/useToastContext-DrlXuGmm.js +0 -49
- package/dist/useUnincorporatedPartnershipMembers-DCGs6f0a.js +0 -99
- package/dist/useUpdateBusinessLines-fa9VQXA7.js +0 -337
- package/dist/useUpdateLegalEntity-pCVJvMOY.js +0 -40
- package/dist/utils-3sCyD_Sz.js +0 -29
- package/dist/utils-C0z7wmlu.js +0 -179
- package/dist/utils-CPcpt-fR.js +0 -237
- package/dist/utils-CgfUpZyZ.js +0 -58
- package/dist/utils-CinWv0Kh.js +0 -811
- package/dist/utils-DNSfZiio.js +0 -70
- package/dist/validate-B1FpiTip.js +0 -434
- package/dist/validate-DfJceNKE.js +0 -120
- package/dist/validationError-kYn_eC4r.js +0 -86
- package/dist/view-verification-status-VFcBydkR.js +0 -21
- package/dist/warning-circle-fill-DBvt921B.js +0 -17
- package/dist/warning-diamond-filled-Lb2od2ry.js +0 -17
- package/dist/webinar-m9nuFZBt.js +0 -22
- package/dist/yapily-logo-BduxhNRA.js +0 -17
|
@@ -0,0 +1,1796 @@
|
|
|
1
|
+
try {
|
|
2
|
+
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7e759ea5-b328-4e17-9867-c9b2e3f8a299", e._sentryDebugIdIdentifier = "sentry-dbid-7e759ea5-b328-4e17-9867-c9b2e3f8a299");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
import { i as Typography, r as useTranslation } from "./translation-G4HP2nQW.js";
|
|
6
|
+
import { r as Loader, t as Button } from "./Button-DvWt5T9O.js";
|
|
7
|
+
import { n as httpGet, s as useApiContext } from "./http-btI4x32X.js";
|
|
8
|
+
import { t as LegalEntityTypes } from "./legal-entity-type-VIfNYnJP.js";
|
|
9
|
+
import { t as useSettingsContext } from "./useSettingsContext-DzwVt0W0.js";
|
|
10
|
+
import { r as cloneObject, t as useAnalyticsContext } from "./useAnalyticsContext-BVFDMrVE.js";
|
|
11
|
+
import { a as translateTranslatable } from "./utils-BAuFBG3J.js";
|
|
12
|
+
import { t as Header } from "./Header-BNb1zwkF.js";
|
|
13
|
+
import { n as datasetUtilities } from "./datasetUtil-Zd4TCTDn.js";
|
|
14
|
+
import { y as reverseMapping } from "./processCapabilitites-BHzfFtSM.js";
|
|
15
|
+
import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-BEzUdPbm.js";
|
|
16
|
+
import { t as isEeaCountry } from "./country-COrdWGaq.js";
|
|
17
|
+
import { t as SettingNames } from "./types-CNZsK2dZ.js";
|
|
18
|
+
import { t as useToastContext } from "./useToastContext-CYgfHjSb.js";
|
|
19
|
+
import { t as EndStateLayout } from "./EndStateLayout-CR8wHeA1.js";
|
|
20
|
+
import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-BbVdQNIY.js";
|
|
21
|
+
import { t as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-Dav_4ehd.js";
|
|
22
|
+
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-u6NuumMd.js";
|
|
23
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-oigX0fKz.js";
|
|
24
|
+
import { t as Address } from "./Address-CnQ22ndb.js";
|
|
25
|
+
import { n as FormFlow, r as FormContextProvider, t as useFormContext } from "./useFormContext-6LTkbLR1.js";
|
|
26
|
+
import { i as useFormComposer, n as getRequiredForms, t as addValidityToForms } from "./dropinUtils-FIEFyS0F.js";
|
|
27
|
+
import { t as ErrorPanel } from "./ErrorPanel-4juOd8Z2.js";
|
|
28
|
+
import { t as createFormUtils } from "./formUtils-DCvL3uZG.js";
|
|
29
|
+
import { t as useMultiForm } from "./useMultiForm-CiK9l6YR.js";
|
|
30
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DInxWeqN.js";
|
|
31
|
+
import { c as COUNTRIES_WITH_STATES_DATASET, n as getAddressSchemaLabelsByCountry, t as getAddressSchemaForCountry } from "./utils-CfTVU2Hq.js";
|
|
32
|
+
import { i as isValidationError, o as processValidationErrors, s as isMaintenanceModeError } from "./validationError-DhMlWpYp.js";
|
|
33
|
+
import { r as formatObject } from "./utils-oc3EdK6K.js";
|
|
34
|
+
import { t as localizeDateString } from "./localizeDateString-AhjDnkHD.js";
|
|
35
|
+
import { t as Field } from "./Field-C2ZpB0wo.js";
|
|
36
|
+
import { t as Select } from "./Select-DDSua27l.js";
|
|
37
|
+
import { t as Checkbox } from "./Checkbox-BCYjFPa4.js";
|
|
38
|
+
import { t as getFieldProps } from "./getProps-CkZCnNxW.js";
|
|
39
|
+
import { t as Link } from "./Link-DKiaZfxB.js";
|
|
40
|
+
import { t as InputText } from "./InputText-C30dZxS4.js";
|
|
41
|
+
import { t as InputDate } from "./InputDate-XX9jaw9v.js";
|
|
42
|
+
import { n as CountryField } from "./CountryField-s5-jZTU9.js";
|
|
43
|
+
import { t as RadioGroup } from "./RadioGroup-Bi9v9dZu.js";
|
|
44
|
+
import { t as currencyByCountry } from "./types-BqFOt7-l.js";
|
|
45
|
+
import { a as LegalFormField, i as InputCurrency, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD } from "./Currency-gYKD3DSx.js";
|
|
46
|
+
import { t as NewSummary } from "./NewSummary-DVIIH1Ml.js";
|
|
47
|
+
import { t as businessFinancingMultiformRules } from "./validate-D4RU2PP0.js";
|
|
48
|
+
import { useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
49
|
+
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
50
|
+
import { useQuery } from "@tanstack/preact-query";
|
|
51
|
+
//#region src/components/EFP/mapping/businessFinancingKeyMappings.ts
|
|
52
|
+
var businessFinancingBaseMapping = {
|
|
53
|
+
legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
|
|
54
|
+
legalInformationInsolvency: "organization.statusOfLegalProceeding",
|
|
55
|
+
legalEntityIdentifier: "organization.globalLegalEntityIdentifier",
|
|
56
|
+
naceCode: "organization.economicSector",
|
|
57
|
+
legalForm: "organization.legalForm",
|
|
58
|
+
legalName: "organization.legalName",
|
|
59
|
+
"registrationAddress.city": "organization.registeredAddress.city",
|
|
60
|
+
"registrationAddress.country": "organization.registeredAddress.country",
|
|
61
|
+
"registrationAddress.postalCode": "organization.registeredAddress.postalCode",
|
|
62
|
+
"registrationAddress.stateOrProvince": "organization.registeredAddress.stateOrProvince",
|
|
63
|
+
"registrationAddress.address": "organization.registeredAddress.street",
|
|
64
|
+
"registrationAddress.otherAddressInformation": "organization.registeredAddress.street2"
|
|
65
|
+
};
|
|
66
|
+
var businessFinancingIndividualMapping = {
|
|
67
|
+
gender: "individual.birthData.genderCode",
|
|
68
|
+
countryOfBirth: "individual.birthData.birthCountry"
|
|
69
|
+
};
|
|
70
|
+
var businessFinancingSoleProprietorMapping = {
|
|
71
|
+
legalProceedingsDate: "soleProprietorship.dateOfInitiationOfLegalProceeding",
|
|
72
|
+
legalInformationInsolvency: "soleProprietorship.statusOfLegalProceeding",
|
|
73
|
+
naceCode: "soleProprietorship.economicSector"
|
|
74
|
+
};
|
|
75
|
+
var businessFinancingComponentsKeyMapping = { ...businessFinancingBaseMapping };
|
|
76
|
+
({ ...businessFinancingIndividualMapping });
|
|
77
|
+
var businessFinancingSoleProprietorComponentsKeyMapping = { ...businessFinancingSoleProprietorMapping };
|
|
78
|
+
var businessFinancingApiKeyMapping = { ...reverseMapping(businessFinancingBaseMapping) };
|
|
79
|
+
var businessFinancingIndividualApiKeyMapping = { ...reverseMapping(businessFinancingIndividualMapping) };
|
|
80
|
+
var businessFinancingSoleProprietorApiKeyMapping = { ...reverseMapping(businessFinancingSoleProprietorMapping) };
|
|
81
|
+
//#endregion
|
|
82
|
+
//#region src/components/EFP/mapping/mapBusinessFinancingToLegalEntity.ts
|
|
83
|
+
var mapBusinessFinancingToLegalEntity = (data, isIndividualOrSoleProprietor, customMapping) => {
|
|
84
|
+
if (customMapping) return formatObject(data, customMapping);
|
|
85
|
+
return formatObject(data, isIndividualOrSoleProprietor ? businessFinancingSoleProprietorApiKeyMapping : businessFinancingApiKeyMapping);
|
|
86
|
+
};
|
|
87
|
+
//#endregion
|
|
88
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/types.ts
|
|
89
|
+
var BusinessFinancingPages = {
|
|
90
|
+
COMPANY_PAGE: "company",
|
|
91
|
+
SOLE_PROPRIETOR_PAGE: "soleProprietor",
|
|
92
|
+
PARENT_COMPANY_PAGE: "parentCompany",
|
|
93
|
+
ULTIMATE_PARENT_COMPANY_PAGE: "ultimateParentCompany"
|
|
94
|
+
};
|
|
95
|
+
var BusinessFinancingRadioIds = {
|
|
96
|
+
YES: "Yes",
|
|
97
|
+
NO: "No"
|
|
98
|
+
};
|
|
99
|
+
var businessFinancingRadioItems = [{
|
|
100
|
+
id: BusinessFinancingRadioIds.YES,
|
|
101
|
+
name: "yes"
|
|
102
|
+
}, {
|
|
103
|
+
id: BusinessFinancingRadioIds.NO,
|
|
104
|
+
name: "no"
|
|
105
|
+
}];
|
|
106
|
+
var businessFinancingParentRadioItems = [{
|
|
107
|
+
id: BusinessFinancingRadioIds.YES,
|
|
108
|
+
name: "yes"
|
|
109
|
+
}, {
|
|
110
|
+
id: BusinessFinancingRadioIds.NO,
|
|
111
|
+
name: "noIdontKnow"
|
|
112
|
+
}];
|
|
113
|
+
var companySchemaKeys = [
|
|
114
|
+
"legalForm",
|
|
115
|
+
"naceCode",
|
|
116
|
+
"numberOfEmployees",
|
|
117
|
+
"doesYourCompanyHaveLEI",
|
|
118
|
+
"legalEntityIdentifier",
|
|
119
|
+
"isCompanyOwnedByAnotherCompany",
|
|
120
|
+
"isParentOwnedByAnotherCompany",
|
|
121
|
+
"financialReportingDate",
|
|
122
|
+
"currency",
|
|
123
|
+
"balanceSheetTotal",
|
|
124
|
+
"annualTurnover",
|
|
125
|
+
"legalInformationInsolvency",
|
|
126
|
+
"legalProceedingsDate"
|
|
127
|
+
];
|
|
128
|
+
var soleProprietorSchemaKeys = [
|
|
129
|
+
"gender",
|
|
130
|
+
"countryOfBirth",
|
|
131
|
+
"naceCode",
|
|
132
|
+
"legalInformationInsolvency",
|
|
133
|
+
"legalProceedingsDate"
|
|
134
|
+
];
|
|
135
|
+
var parentCompaniesSchemaKeys = [
|
|
136
|
+
"legalName",
|
|
137
|
+
"legalForm",
|
|
138
|
+
"naceCode",
|
|
139
|
+
"numberOfEmployees",
|
|
140
|
+
"doesYourCompanyHaveLEI",
|
|
141
|
+
"legalEntityIdentifier",
|
|
142
|
+
"isThisAddressTheMainHeadquarters",
|
|
143
|
+
"financialReportingDate",
|
|
144
|
+
"currency",
|
|
145
|
+
"balanceSheetTotal",
|
|
146
|
+
"annualTurnover",
|
|
147
|
+
"legalInformationInsolvency",
|
|
148
|
+
"legalProceedingsDate",
|
|
149
|
+
"registrationAddress",
|
|
150
|
+
"sameAddressAsRootEntity"
|
|
151
|
+
];
|
|
152
|
+
var businessFinancingForms = {
|
|
153
|
+
company: {
|
|
154
|
+
formId: "company",
|
|
155
|
+
formName: "businessInformation",
|
|
156
|
+
fields: [...companySchemaKeys]
|
|
157
|
+
},
|
|
158
|
+
soleProprietor: {
|
|
159
|
+
formId: "soleProprietor",
|
|
160
|
+
formName: "businessInformation",
|
|
161
|
+
fields: [...soleProprietorSchemaKeys]
|
|
162
|
+
},
|
|
163
|
+
parentCompany: {
|
|
164
|
+
formId: "parentCompany",
|
|
165
|
+
formName: "parentCompanyInformation",
|
|
166
|
+
fields: [...parentCompaniesSchemaKeys]
|
|
167
|
+
},
|
|
168
|
+
ultimateParentCompany: {
|
|
169
|
+
formId: "ultimateParentCompany",
|
|
170
|
+
formName: "ultimateParentCompanyInformation",
|
|
171
|
+
fields: [...parentCompaniesSchemaKeys]
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
var BusinessFinancingIndices = {
|
|
175
|
+
COMPANY: "company",
|
|
176
|
+
SOLE_PROPRIETOR: "soleProprietor",
|
|
177
|
+
PARENT_COMPANY: "parentCompany",
|
|
178
|
+
ULTIMATE_PARENT_COMPANY: "ultimateParentCompany"
|
|
179
|
+
};
|
|
180
|
+
//#endregion
|
|
181
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/utils.ts
|
|
182
|
+
var getLegalEntityId = (businessFinancingIndex, rootLegalEntity) => {
|
|
183
|
+
if (!rootLegalEntity) return void 0;
|
|
184
|
+
if (businessFinancingIndex === BusinessFinancingIndices.COMPANY || businessFinancingIndex === BusinessFinancingIndices.SOLE_PROPRIETOR) return rootLegalEntity.id;
|
|
185
|
+
if (!rootLegalEntity?.entityAssociations) return void 0;
|
|
186
|
+
const businessFinancingEntityType = BusinessFinancingIndices.PARENT_COMPANY ? "immediateParentCompany" : "ultimateParentCompany";
|
|
187
|
+
return (rootLegalEntity.entityAssociations?.find((entity) => entity.type === businessFinancingEntityType))?.legalEntityId;
|
|
188
|
+
};
|
|
189
|
+
var USER_LOCALE = typeof navigator !== "undefined" ? navigator.language : "en-US";
|
|
190
|
+
var entityHasParentCompany = (data) => data.company?.isCompanyOwnedByAnotherCompany && data.company?.isCompanyOwnedByAnotherCompany === "Yes";
|
|
191
|
+
var entityHasUltimateParentCompany = (data) => data.company?.isParentOwnedByAnotherCompany && data.company?.isParentOwnedByAnotherCompany === "Yes";
|
|
192
|
+
var financialReportsToString = (financialReports) => {
|
|
193
|
+
return {
|
|
194
|
+
...financialReports,
|
|
195
|
+
numberOfEmployees: financialReports.numberOfEmployees ? financialReports.numberOfEmployees.toString() : void 0,
|
|
196
|
+
annualTurnover: financialReports.annualTurnover ? financialReports.annualTurnover.toString() : void 0,
|
|
197
|
+
balanceSheetTotal: financialReports.balanceSheetTotal ? financialReports.balanceSheetTotal.toString() : void 0
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
/**
|
|
201
|
+
* Prepares sole proprietor business financing data for submission.
|
|
202
|
+
* IMPORTANT: Both root LE (individual) and sole prop LE MUST exist before calling this.
|
|
203
|
+
* This function always returns UPDATE payloads (with IDs), never CREATE payloads.
|
|
204
|
+
*/
|
|
205
|
+
var prepareSoleProprietorBusinessFinancingSubmitData = (data, rootLegalEntity, soleProprietorLegalEntity) => {
|
|
206
|
+
const businessFinancingData = data.soleProprietor;
|
|
207
|
+
if (!businessFinancingData || !rootLegalEntity?.id || !soleProprietorLegalEntity?.id) return null;
|
|
208
|
+
const individualChanges = mapBusinessFinancingToLegalEntity(businessFinancingData, true, businessFinancingIndividualApiKeyMapping);
|
|
209
|
+
const { identificationData: _identificationData, ...individualWithoutIdData } = rootLegalEntity.individual || {};
|
|
210
|
+
const individualPayload = {
|
|
211
|
+
id: rootLegalEntity.id,
|
|
212
|
+
individual: {
|
|
213
|
+
...individualWithoutIdData,
|
|
214
|
+
...individualChanges.individual
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
const solePropChanges = mapBusinessFinancingToLegalEntity(businessFinancingData, true, businessFinancingSoleProprietorApiKeyMapping);
|
|
218
|
+
if (!solePropChanges.soleProprietorship) return null;
|
|
219
|
+
if (solePropChanges.soleProprietorship.statusOfLegalProceeding === "iDontKnow") solePropChanges.soleProprietorship.statusOfLegalProceeding = "noLegalActionsTaken";
|
|
220
|
+
if (solePropChanges.soleProprietorship.statusOfLegalProceeding === "iDontKnow" || solePropChanges.soleProprietorship.statusOfLegalProceeding === "noLegalActionsTaken") solePropChanges.soleProprietorship.dateOfInitiationOfLegalProceeding = "";
|
|
221
|
+
return {
|
|
222
|
+
individualPayload,
|
|
223
|
+
solePropPayload: {
|
|
224
|
+
id: soleProprietorLegalEntity.id,
|
|
225
|
+
soleProprietorship: {
|
|
226
|
+
...soleProprietorLegalEntity.soleProprietorship,
|
|
227
|
+
...solePropChanges.soleProprietorship
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
var prepareBusinessFinancingSubmitData = (businessFinancingIndex, data, rootLegalEntity) => {
|
|
233
|
+
const businessFinancingData = data[businessFinancingIndex];
|
|
234
|
+
if (!businessFinancingData) return null;
|
|
235
|
+
if (businessFinancingIndex === BusinessFinancingIndices.PARENT_COMPANY && !entityHasParentCompany(data)) return null;
|
|
236
|
+
if (businessFinancingIndex === BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY && (!entityHasUltimateParentCompany(data) || !entityHasParentCompany(data))) return null;
|
|
237
|
+
const businessFinancingDetails = mapBusinessFinancingToLegalEntity(businessFinancingData);
|
|
238
|
+
const isSoleProprietor = businessFinancingIndex === BusinessFinancingIndices.SOLE_PROPRIETOR;
|
|
239
|
+
if (isSoleProprietor) throw new Error("Use prepareSoleProprietorBusinessFinancingSubmitData for sole proprietor business financing");
|
|
240
|
+
else if (isSoleProprietor === false) {
|
|
241
|
+
if (!businessFinancingDetails.organization) return null;
|
|
242
|
+
const businessFinancingCountry = businessFinancingDetails.organization.registeredAddress?.country || rootLegalEntity?.organization?.registeredAddress?.country;
|
|
243
|
+
const companyData = businessFinancingData;
|
|
244
|
+
if (companyData.financialReportingDate && isEeaCountry(businessFinancingCountry)) {
|
|
245
|
+
const businessFinancingFinancialReport = mapFinancialInformationToFinancialReport({
|
|
246
|
+
currency: companyData.currency,
|
|
247
|
+
financialReportingDate: companyData.financialReportingDate,
|
|
248
|
+
numberOfEmployees: companyData.numberOfEmployees ? Number(companyData.numberOfEmployees) : void 0,
|
|
249
|
+
balanceSheetTotal: companyData.balanceSheetTotal ? Number(companyData.balanceSheetTotal) : void 0,
|
|
250
|
+
annualTurnover: companyData.annualTurnover ? Number(companyData.annualTurnover) : void 0
|
|
251
|
+
});
|
|
252
|
+
businessFinancingDetails.organization.financialReports = [businessFinancingFinancialReport];
|
|
253
|
+
}
|
|
254
|
+
if (!isEeaCountry(businessFinancingCountry)) businessFinancingDetails.organization.financialReports = void 0;
|
|
255
|
+
if (businessFinancingDetails.organization.statusOfLegalProceeding === "iDontKnow") businessFinancingDetails.organization.statusOfLegalProceeding = "noLegalActionsTaken";
|
|
256
|
+
if (businessFinancingDetails.organization.statusOfLegalProceeding === "iDontKnow" || businessFinancingDetails.organization.statusOfLegalProceeding === "noLegalActionsTaken") businessFinancingDetails.organization.dateOfInitiationOfLegalProceeding = "";
|
|
257
|
+
if (companyData.sameAddressAsRootEntity && rootLegalEntity?.organization?.registeredAddress) businessFinancingDetails.organization.registeredAddress = { ...rootLegalEntity.organization.registeredAddress };
|
|
258
|
+
if (companyData.isThisAddressTheMainHeadquarters) businessFinancingDetails.organization.principalPlaceOfBusiness = { ...businessFinancingDetails.organization.registeredAddress };
|
|
259
|
+
if (companyData.doesYourCompanyHaveLEI !== "Yes") delete businessFinancingDetails.organization.globalLegalEntityIdentifier;
|
|
260
|
+
}
|
|
261
|
+
const businessFinancingLegalEntityId = getLegalEntityId(businessFinancingIndex, rootLegalEntity);
|
|
262
|
+
if (businessFinancingLegalEntityId) {
|
|
263
|
+
delete businessFinancingDetails.type;
|
|
264
|
+
businessFinancingDetails.id = businessFinancingLegalEntityId;
|
|
265
|
+
} else {
|
|
266
|
+
delete businessFinancingDetails.id;
|
|
267
|
+
businessFinancingDetails.type = isSoleProprietor ? LegalEntityTypes.SOLE_PROPRIETORSHIP : LegalEntityTypes.ORGANIZATION;
|
|
268
|
+
}
|
|
269
|
+
return businessFinancingDetails;
|
|
270
|
+
};
|
|
271
|
+
var appendBusinessFinancingData = (legalOrganization, businessFinancingData) => {
|
|
272
|
+
if (!legalOrganization || !businessFinancingData) return businessFinancingData;
|
|
273
|
+
const clonedBusinessFinancingData = { ...businessFinancingData };
|
|
274
|
+
let financialReportData = {};
|
|
275
|
+
if (legalOrganization.financialReports) {
|
|
276
|
+
financialReportData = financialReportsToString(mapFinancialReportsToFinancialInformation(Array.isArray(legalOrganization.financialReports) ? legalOrganization.financialReports : [legalOrganization.financialReports], false));
|
|
277
|
+
if (financialReportData.numberOfEmployees) financialReportData.numberOfEmployees = financialReportData.numberOfEmployees.toString();
|
|
278
|
+
}
|
|
279
|
+
return {
|
|
280
|
+
...clonedBusinessFinancingData,
|
|
281
|
+
...financialReportData,
|
|
282
|
+
numberOfEmployees: financialReportData.numberOfEmployees ? financialReportData.numberOfEmployees.toString() : void 0,
|
|
283
|
+
doesYourCompanyHaveLEI: legalOrganization.globalLegalEntityIdentifier ? "Yes" : "No",
|
|
284
|
+
isThisAddressTheMainHeadquarters: legalOrganization.principalPlaceOfBusiness ? "Yes" : clonedBusinessFinancingData.isThisAddressTheMainHeadquarters
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
var appendSoleProprietorBusinessFinancingData = (legalArrangement, businessFinancingData) => {
|
|
288
|
+
if (!legalArrangement || !businessFinancingData) return businessFinancingData;
|
|
289
|
+
return {
|
|
290
|
+
...businessFinancingData,
|
|
291
|
+
naceCode: businessFinancingData.naceCode ?? legalArrangement.economicSector,
|
|
292
|
+
legalInformationInsolvency: businessFinancingData.legalInformationInsolvency ?? legalArrangement.statusOfLegalProceeding,
|
|
293
|
+
legalProceedingsDate: businessFinancingData.legalProceedingsDate ?? legalArrangement.dateOfInitiationOfLegalProceeding
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
var handleBusinessFinancingFormSubmission = async (businessFinancingType, details, createFunction, updateFunction, entityId) => {
|
|
297
|
+
if (!details) throw new Error(`Missing details for ${businessFinancingType}`);
|
|
298
|
+
try {
|
|
299
|
+
if (entityId) return await updateFunction({
|
|
300
|
+
...details,
|
|
301
|
+
id: entityId
|
|
302
|
+
});
|
|
303
|
+
return await createFunction(details);
|
|
304
|
+
} catch (error) {
|
|
305
|
+
const businessFinancingError = /* @__PURE__ */ new Error(`Form submission failed for ${businessFinancingType}`);
|
|
306
|
+
businessFinancingError.actualError = error;
|
|
307
|
+
businessFinancingError.businessFinancingType = businessFinancingError;
|
|
308
|
+
throw businessFinancingError;
|
|
309
|
+
}
|
|
310
|
+
};
|
|
311
|
+
var getCompanySchemaKeys = (country, currentData, schemaKeys) => {
|
|
312
|
+
const fieldsToRemove = [];
|
|
313
|
+
if (!isEeaCountry(country)) fieldsToRemove.push("financialReportingDate", "balanceSheetTotal", "annualTurnover", "currency", "numberOfEmployees");
|
|
314
|
+
if (currentData.isCompanyOwnedByAnotherCompany !== "Yes") fieldsToRemove.push("isParentOwnedByAnotherCompany");
|
|
315
|
+
if (currentData.doesYourCompanyHaveLEI !== "Yes") fieldsToRemove.push("legalEntityIdentifier");
|
|
316
|
+
if (!currentData?.legalInformationInsolvency || ["noLegalActionsTaken", "iDontKnow"].includes(currentData?.legalInformationInsolvency)) fieldsToRemove.push("legalProceedingsDate");
|
|
317
|
+
return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
|
|
318
|
+
};
|
|
319
|
+
var getSoleProprietorSchemaKeys = (currentData, schemaKeys) => {
|
|
320
|
+
const fieldsToRemove = [];
|
|
321
|
+
if (!currentData?.legalInformationInsolvency || ["noLegalActionsTaken", "iDontKnow"].includes(currentData?.legalInformationInsolvency)) fieldsToRemove.push("legalProceedingsDate");
|
|
322
|
+
return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
|
|
323
|
+
};
|
|
324
|
+
var getParentCompanySchemaKeys = (currentData, schemaKeys, rootEntityAddress) => {
|
|
325
|
+
const fieldsToRemove = [];
|
|
326
|
+
if (!isEeaCountry(currentData?.sameAddressAsRootEntity && rootEntityAddress ? rootEntityAddress.country : currentData?.registrationAddress?.country)) fieldsToRemove.push("financialReportingDate", "balanceSheetTotal", "annualTurnover", "currency", "numberOfEmployees");
|
|
327
|
+
if (currentData?.sameAddressAsRootEntity) fieldsToRemove.push("registrationAddress");
|
|
328
|
+
if (currentData.doesYourCompanyHaveLEI !== "Yes") fieldsToRemove.push("legalEntityIdentifier");
|
|
329
|
+
if (!currentData?.legalInformationInsolvency || ["noLegalActionsTaken", "iDontKnow"].includes(currentData?.legalInformationInsolvency)) fieldsToRemove.push("legalProceedingsDate");
|
|
330
|
+
return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
|
|
331
|
+
};
|
|
332
|
+
var getBusinessFinancingRequiredFields = (country, data, rootEntityAddress) => {
|
|
333
|
+
let requiredFields = void 0;
|
|
334
|
+
if (!data) return requiredFields;
|
|
335
|
+
const { company, soleProprietor, parentCompany = {}, ultimateParentCompany = {} } = data;
|
|
336
|
+
if (soleProprietor) {
|
|
337
|
+
requiredFields = {};
|
|
338
|
+
requiredFields.soleProprietor = getSoleProprietorSchemaKeys(soleProprietor, soleProprietorSchemaKeys);
|
|
339
|
+
delete requiredFields.company;
|
|
340
|
+
return requiredFields;
|
|
341
|
+
}
|
|
342
|
+
if (company) {
|
|
343
|
+
requiredFields = {};
|
|
344
|
+
requiredFields.company = getCompanySchemaKeys(country, company, companySchemaKeys);
|
|
345
|
+
}
|
|
346
|
+
if (company?.isCompanyOwnedByAnotherCompany === "Yes") {
|
|
347
|
+
const parentCompanyRequiredFields = getParentCompanySchemaKeys(parentCompany, parentCompaniesSchemaKeys, rootEntityAddress);
|
|
348
|
+
requiredFields = {
|
|
349
|
+
...requiredFields,
|
|
350
|
+
parentCompany: parentCompanyRequiredFields
|
|
351
|
+
};
|
|
352
|
+
}
|
|
353
|
+
if (company?.isParentOwnedByAnotherCompany === "Yes") {
|
|
354
|
+
const ultimateParentCompanyRequiredFields = getParentCompanySchemaKeys(ultimateParentCompany, parentCompaniesSchemaKeys, rootEntityAddress);
|
|
355
|
+
requiredFields = {
|
|
356
|
+
...requiredFields,
|
|
357
|
+
ultimateParentCompany: ultimateParentCompanyRequiredFields
|
|
358
|
+
};
|
|
359
|
+
}
|
|
360
|
+
return requiredFields;
|
|
361
|
+
};
|
|
362
|
+
var getAddressCountryForParentCompany = (parentCompany, leAddress) => {
|
|
363
|
+
return parentCompany?.sameAddressAsRootEntity && leAddress ? leAddress?.country : parentCompany?.registrationAddress?.country;
|
|
364
|
+
};
|
|
365
|
+
//#endregion
|
|
366
|
+
//#region src/components/EmbeddedDropins/BusinessFinancingComponent/utils.ts
|
|
367
|
+
var getTranslatedGender = (t, gender) => {
|
|
368
|
+
if (!gender) return void 0;
|
|
369
|
+
const key = {
|
|
370
|
+
M: "male",
|
|
371
|
+
F: "female",
|
|
372
|
+
U: "preferNotToSay"
|
|
373
|
+
}[gender];
|
|
374
|
+
return key ? t(($) => $[key]) : gender;
|
|
375
|
+
};
|
|
376
|
+
var getTranslatedLegalInsolvency = (t, insolvencyData) => {
|
|
377
|
+
if (!insolvencyData) return void 0;
|
|
378
|
+
return insolvencyData === "noLegalActionsTaken" ? t(($) => $["no"]) : t(($) => $[insolvencyData]);
|
|
379
|
+
};
|
|
380
|
+
var getValidUserLocale = (locale) => {
|
|
381
|
+
try {
|
|
382
|
+
new Intl.NumberFormat(locale);
|
|
383
|
+
return locale;
|
|
384
|
+
} catch (error) {
|
|
385
|
+
console.warn(`Invalid locale '${locale}' provided. Falling back to 'en-US'.`, error);
|
|
386
|
+
return "en-US";
|
|
387
|
+
}
|
|
388
|
+
};
|
|
389
|
+
var getFormattedAmount = (value, currency) => {
|
|
390
|
+
if (!value) return void 0;
|
|
391
|
+
const userLocale = getValidUserLocale(USER_LOCALE);
|
|
392
|
+
return `${currency} ${Number(value).toLocaleString(userLocale)}`;
|
|
393
|
+
};
|
|
394
|
+
var formatDataForSummary = (language, t, datasetUtils, data, rootLeAddress) => {
|
|
395
|
+
const summaryData = cloneObject(data) || {};
|
|
396
|
+
const { company, parentCompany, ultimateParentCompany, soleProprietor } = summaryData;
|
|
397
|
+
if (soleProprietor) {
|
|
398
|
+
soleProprietor.naceCode = soleProprietor.naceCodeLabel;
|
|
399
|
+
soleProprietor.countryOfBirth = soleProprietor.countryOfBirth ? datasetUtils.getCountryName(soleProprietor.countryOfBirth) ?? void 0 : void 0;
|
|
400
|
+
soleProprietor.legalInformationInsolvency = getTranslatedLegalInsolvency(t, soleProprietor.legalInformationInsolvency);
|
|
401
|
+
soleProprietor.legalProceedingsDate = soleProprietor.legalProceedingsDate ? localizeDateString(soleProprietor.legalProceedingsDate, language) : void 0;
|
|
402
|
+
if (soleProprietor.gender) soleProprietor.gender = getTranslatedGender(t, soleProprietor.gender);
|
|
403
|
+
}
|
|
404
|
+
if (company) {
|
|
405
|
+
company.legalForm = company.legalFormLabel;
|
|
406
|
+
company.naceCode = company.naceCodeLabel;
|
|
407
|
+
company.legalEntityIdentifier = company.legalEntityIdentifier ?? "None";
|
|
408
|
+
company.legalInformationInsolvency = getTranslatedLegalInsolvency(t, company?.legalInformationInsolvency);
|
|
409
|
+
company.annualTurnover = getFormattedAmount(company.annualTurnover, company.currency);
|
|
410
|
+
company.balanceSheetTotal = getFormattedAmount(company.balanceSheetTotal, company.currency);
|
|
411
|
+
const { legalProceedingsDate, financialReportingDate } = company;
|
|
412
|
+
company.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, language) : void 0;
|
|
413
|
+
company.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, language) : void 0;
|
|
414
|
+
}
|
|
415
|
+
if (parentCompany) {
|
|
416
|
+
const { legalName, legalFormLabel, naceCodeLabel, country, legalEntityIdentifier, legalInformationInsolvency, annualTurnover, currency, balanceSheetTotal, legalProceedingsDate, financialReportingDate, sameAddressAsRootEntity, registrationAddress } = parentCompany;
|
|
417
|
+
if (legalName) {
|
|
418
|
+
parentCompany.legalForm = legalFormLabel;
|
|
419
|
+
parentCompany.naceCode = naceCodeLabel;
|
|
420
|
+
parentCompany.country = country ? datasetUtils.getCountryName(country) : "";
|
|
421
|
+
if (registrationAddress) parentCompany.registrationAddress = {
|
|
422
|
+
...registrationAddress,
|
|
423
|
+
country: datasetUtils.getCountryName(registrationAddress?.country)
|
|
424
|
+
};
|
|
425
|
+
parentCompany.legalEntityIdentifier = legalEntityIdentifier ?? "None";
|
|
426
|
+
parentCompany.legalInformationInsolvency = getTranslatedLegalInsolvency(t, legalInformationInsolvency);
|
|
427
|
+
parentCompany.annualTurnover = getFormattedAmount(annualTurnover, currency);
|
|
428
|
+
parentCompany.balanceSheetTotal = getFormattedAmount(balanceSheetTotal, currency);
|
|
429
|
+
parentCompany.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, language) : void 0;
|
|
430
|
+
parentCompany.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, language) : void 0;
|
|
431
|
+
if (sameAddressAsRootEntity) {
|
|
432
|
+
delete parentCompany.country;
|
|
433
|
+
summaryData.parentCompany = {
|
|
434
|
+
...parentCompany,
|
|
435
|
+
registrationAddress: {
|
|
436
|
+
...rootLeAddress,
|
|
437
|
+
country: datasetUtils.getCountryName(rootLeAddress?.country)
|
|
438
|
+
}
|
|
439
|
+
};
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
if (ultimateParentCompany) {
|
|
444
|
+
const { legalName, legalFormLabel, naceCodeLabel, country, legalEntityIdentifier, legalInformationInsolvency, annualTurnover, currency, balanceSheetTotal, legalProceedingsDate, financialReportingDate, sameAddressAsRootEntity, registrationAddress } = ultimateParentCompany;
|
|
445
|
+
if (legalName) {
|
|
446
|
+
ultimateParentCompany.legalForm = legalFormLabel;
|
|
447
|
+
ultimateParentCompany.naceCode = naceCodeLabel;
|
|
448
|
+
ultimateParentCompany.country = country ? datasetUtils.getCountryName(country) : "";
|
|
449
|
+
if (registrationAddress) ultimateParentCompany.registrationAddress = {
|
|
450
|
+
...registrationAddress,
|
|
451
|
+
country: datasetUtils.getCountryName(registrationAddress?.country)
|
|
452
|
+
};
|
|
453
|
+
ultimateParentCompany.legalEntityIdentifier = legalEntityIdentifier ?? "None";
|
|
454
|
+
ultimateParentCompany.legalInformationInsolvency = getTranslatedLegalInsolvency(t, legalInformationInsolvency);
|
|
455
|
+
ultimateParentCompany.annualTurnover = getFormattedAmount(annualTurnover, currency);
|
|
456
|
+
ultimateParentCompany.balanceSheetTotal = getFormattedAmount(balanceSheetTotal, currency);
|
|
457
|
+
ultimateParentCompany.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, language) : void 0;
|
|
458
|
+
ultimateParentCompany.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, language) : void 0;
|
|
459
|
+
if (sameAddressAsRootEntity) {
|
|
460
|
+
delete ultimateParentCompany.country;
|
|
461
|
+
summaryData.ultimateParentCompany = {
|
|
462
|
+
...ultimateParentCompany,
|
|
463
|
+
registrationAddress: {
|
|
464
|
+
...rootLeAddress,
|
|
465
|
+
country: datasetUtils.getCountryName(rootLeAddress?.country)
|
|
466
|
+
}
|
|
467
|
+
};
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
return summaryData;
|
|
472
|
+
};
|
|
473
|
+
//#endregion
|
|
474
|
+
//#region src/components/EFP/mapping/mapLegalEntityToBusinessFinancing.ts
|
|
475
|
+
var mapLegalEntityToBusinessFinancing = (legalEntity) => {
|
|
476
|
+
if (legalEntity.type === LegalEntityTypes.SOLE_PROPRIETORSHIP) return formatObject(legalEntity, businessFinancingSoleProprietorComponentsKeyMapping);
|
|
477
|
+
if (legalEntity.type === LegalEntityTypes.INDIVIDUAL) {
|
|
478
|
+
if (legalEntity.entityAssociations?.find((ea) => ea.entityType === LegalEntityTypes.SOLE_PROPRIETORSHIP && ea.associatorId === legalEntity.id)) {
|
|
479
|
+
const solePropMapped = formatObject(legalEntity, businessFinancingSoleProprietorComponentsKeyMapping);
|
|
480
|
+
const birthData = legalEntity.individual?.birthData;
|
|
481
|
+
return {
|
|
482
|
+
...solePropMapped,
|
|
483
|
+
gender: birthData?.genderCode || legalEntity.individual?.gender,
|
|
484
|
+
countryOfBirth: birthData?.birthCountry || legalEntity.individual?.countryOfBirth
|
|
485
|
+
};
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
return formatObject(legalEntity, businessFinancingComponentsKeyMapping);
|
|
489
|
+
};
|
|
490
|
+
//#endregion
|
|
491
|
+
//#region src/api/datasets/useNaceCodes.ts
|
|
492
|
+
var getNaceCodes = async (baseUrl) => {
|
|
493
|
+
return httpGet({
|
|
494
|
+
baseUrl,
|
|
495
|
+
path: `datasets/naceCodes`
|
|
496
|
+
});
|
|
497
|
+
};
|
|
498
|
+
var useNaceCodes = (options) => {
|
|
499
|
+
const { baseUrl } = useApiContext();
|
|
500
|
+
return useQuery({
|
|
501
|
+
queryKey: ["naceCodes"],
|
|
502
|
+
queryFn: () => getNaceCodes(baseUrl.value),
|
|
503
|
+
...options
|
|
504
|
+
});
|
|
505
|
+
};
|
|
506
|
+
//#endregion
|
|
507
|
+
//#region src/components/EFP/fields/NaceCodeField/NaceCodeField.tsx
|
|
508
|
+
function NaceCodeField({ name = "naceCode", data, valid, errorMessage, label, readonly, handleChangeFor }) {
|
|
509
|
+
const { t: commonT } = useTranslation("common");
|
|
510
|
+
const { data: naceCodesData } = useNaceCodes();
|
|
511
|
+
const handleChangeForRef = useRef(handleChangeFor);
|
|
512
|
+
useEffect(() => {
|
|
513
|
+
handleChangeForRef.current = handleChangeFor;
|
|
514
|
+
}, [handleChangeFor]);
|
|
515
|
+
const handleChangeForNaceCode = (e) => {
|
|
516
|
+
const naceCodeEvent = { target: {
|
|
517
|
+
name: "naceCode",
|
|
518
|
+
value: e.target.value
|
|
519
|
+
} };
|
|
520
|
+
handleChangeFor("naceCode")(naceCodeEvent);
|
|
521
|
+
};
|
|
522
|
+
useEffect(() => {
|
|
523
|
+
const naceCodeEvent = { target: {
|
|
524
|
+
name: "naceCodeLabel",
|
|
525
|
+
value: naceCodesData?.find((naceCode) => naceCode.id === data.naceCode)?.name
|
|
526
|
+
} };
|
|
527
|
+
handleChangeForRef.current("naceCodeLabel")(naceCodeEvent);
|
|
528
|
+
}, [data.naceCode, naceCodesData]);
|
|
529
|
+
return /* @__PURE__ */ jsx(Field, {
|
|
530
|
+
name,
|
|
531
|
+
label,
|
|
532
|
+
errorMessage,
|
|
533
|
+
isValid: valid.naceCode,
|
|
534
|
+
children: (childProps) => /* @__PURE__ */ jsx(Select, {
|
|
535
|
+
...childProps,
|
|
536
|
+
name,
|
|
537
|
+
placeholder: commonT(($) => $["selectOne"]),
|
|
538
|
+
selected: data.naceCode,
|
|
539
|
+
items: naceCodesData ?? [],
|
|
540
|
+
readonly: readonly && !!data,
|
|
541
|
+
onChange: handleChangeForNaceCode
|
|
542
|
+
})
|
|
543
|
+
});
|
|
544
|
+
}
|
|
545
|
+
var BusinessFinancing_module_default = {
|
|
546
|
+
"business-financing-lei-radio": "adyen-kyc-business-financing-lei-radio",
|
|
547
|
+
businessFinancingLeiRadio: "adyen-kyc-business-financing-lei-radio",
|
|
548
|
+
"business-financing-title": "adyen-kyc-business-financing-title",
|
|
549
|
+
businessFinancingTitle: "adyen-kyc-business-financing-title",
|
|
550
|
+
"business-financing-body": "adyen-kyc-business-financing-body",
|
|
551
|
+
businessFinancingBody: "adyen-kyc-business-financing-body",
|
|
552
|
+
"business-financing-exposure-financials": "adyen-kyc-business-financing-exposure-financials",
|
|
553
|
+
businessFinancingExposureFinancials: "adyen-kyc-business-financing-exposure-financials",
|
|
554
|
+
"business-financing-structured-address": "adyen-kyc-business-financing-structured-address",
|
|
555
|
+
businessFinancingStructuredAddress: "adyen-kyc-business-financing-structured-address"
|
|
556
|
+
};
|
|
557
|
+
//#endregion
|
|
558
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBusinessInformation.tsx
|
|
559
|
+
var businessInformationFields = [
|
|
560
|
+
"legalForm",
|
|
561
|
+
"naceCode",
|
|
562
|
+
"naceCodeLabel",
|
|
563
|
+
"legalFormLabel",
|
|
564
|
+
"doesYourCompanyHaveLEI",
|
|
565
|
+
"legalEntityIdentifier"
|
|
566
|
+
];
|
|
567
|
+
function BusinessFinancingBusinessInformation(props) {
|
|
568
|
+
const { data, valid, errors, country, handleFieldChange, fieldValidationErrors, targetPage, sectionHeading, hideSectionHeading, isSoleProprietor } = props;
|
|
569
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
570
|
+
const { t: commonT } = useTranslation("common");
|
|
571
|
+
const formUtils = createFormUtils(props, commonT);
|
|
572
|
+
if (!handleFieldChange) return;
|
|
573
|
+
const isMainCompany = targetPage === BusinessFinancingPages.COMPANY_PAGE;
|
|
574
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
575
|
+
!hideSectionHeading && /* @__PURE__ */ jsx(Typography, {
|
|
576
|
+
el: "h3",
|
|
577
|
+
variant: "title",
|
|
578
|
+
className: BusinessFinancing_module_default.businessFinancingTitle,
|
|
579
|
+
children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["businessInformation"])
|
|
580
|
+
}),
|
|
581
|
+
!isSoleProprietor && /* @__PURE__ */ jsx(LegalFormField, {
|
|
582
|
+
name: "legalForm",
|
|
583
|
+
countryCode: country,
|
|
584
|
+
data: { legalForm: data?.legalForm },
|
|
585
|
+
valid: { legalForm: valid?.legalForm },
|
|
586
|
+
errorMessage: formUtils.getErrorMessage("legalForm", errors, fieldValidationErrors),
|
|
587
|
+
handleChangeFor: handleFieldChange,
|
|
588
|
+
readonly: false,
|
|
589
|
+
label: businessFinancingT(($) => $["businessStructure"])
|
|
590
|
+
}),
|
|
591
|
+
/* @__PURE__ */ jsx(NaceCodeField, {
|
|
592
|
+
name: "naceCode",
|
|
593
|
+
data: { naceCode: data?.naceCode },
|
|
594
|
+
valid: { naceCode: valid?.naceCode },
|
|
595
|
+
errorMessage: formUtils.getErrorMessage("naceCode", errors, fieldValidationErrors),
|
|
596
|
+
handleChangeFor: handleFieldChange,
|
|
597
|
+
readonly: false,
|
|
598
|
+
label: businessFinancingT(($) => $["industryAndNaceCode"])
|
|
599
|
+
}),
|
|
600
|
+
!isSoleProprietor && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Field, {
|
|
601
|
+
el: "fieldset",
|
|
602
|
+
name: "doesYourCompanyHaveLEI",
|
|
603
|
+
label: businessFinancingT(($) => $[isMainCompany ? "doesYourCompanyHaveLEI" : "doesThisCompanyHaveLEI"]),
|
|
604
|
+
helper: /* @__PURE__ */ jsxs(Typography, {
|
|
605
|
+
el: "div",
|
|
606
|
+
variant: "body",
|
|
607
|
+
color: "secondary",
|
|
608
|
+
className: BusinessFinancing_module_default.businessFinancingBody,
|
|
609
|
+
children: [
|
|
610
|
+
businessFinancingT(($) => $["anLEIIsAUniqueCode"]),
|
|
611
|
+
" ",
|
|
612
|
+
/* @__PURE__ */ jsx(Link, {
|
|
613
|
+
href: "https://search.gleif.org/#/search/",
|
|
614
|
+
external: true,
|
|
615
|
+
inline: true,
|
|
616
|
+
children: businessFinancingT(($) => $["lookUpYourLEI"])
|
|
617
|
+
})
|
|
618
|
+
]
|
|
619
|
+
}),
|
|
620
|
+
errorMessage: formUtils.getErrorMessage("doesYourCompanyHaveLEI", errors, fieldValidationErrors),
|
|
621
|
+
children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
|
|
622
|
+
...childProps,
|
|
623
|
+
name: "doesYourCompanyHaveLEI",
|
|
624
|
+
items: isMainCompany ? businessFinancingRadioItems : businessFinancingParentRadioItems,
|
|
625
|
+
value: data?.doesYourCompanyHaveLEI,
|
|
626
|
+
disabled: false,
|
|
627
|
+
className: BusinessFinancing_module_default.businessFinancingLeiRadio,
|
|
628
|
+
onChange: handleFieldChange("doesYourCompanyHaveLEI"),
|
|
629
|
+
"aria-required": true,
|
|
630
|
+
"aria-invalid": !valid?.doesYourCompanyHaveLEI
|
|
631
|
+
})
|
|
632
|
+
}), data?.doesYourCompanyHaveLEI === "Yes" && /* @__PURE__ */ jsx(Field, {
|
|
633
|
+
name: "legalEntityIdentifier",
|
|
634
|
+
label: businessFinancingT(($) => $["legalEntityIdentifier"]),
|
|
635
|
+
errorMessage: formUtils.getErrorMessage("legalEntityIdentifier", errors, fieldValidationErrors),
|
|
636
|
+
isValid: valid?.legalEntityIdentifier,
|
|
637
|
+
helper: commonT(($) => $["enterNCharactersWithAMixForExample"], {
|
|
638
|
+
numChars: 20,
|
|
639
|
+
example: "529900T8BM49AURSDO55"
|
|
640
|
+
}),
|
|
641
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
642
|
+
...childProps,
|
|
643
|
+
name: "legalEntityIdentifier",
|
|
644
|
+
value: data?.legalEntityIdentifier,
|
|
645
|
+
readonly: false,
|
|
646
|
+
onInput: handleFieldChange("legalEntityIdentifier", "input"),
|
|
647
|
+
onBlur: handleFieldChange("legalEntityIdentifier", "blur"),
|
|
648
|
+
"aria-required": true,
|
|
649
|
+
"aria-invalid": !valid?.legalEntityIdentifier,
|
|
650
|
+
isValid: valid?.legalEntityIdentifier
|
|
651
|
+
})
|
|
652
|
+
})] })
|
|
653
|
+
] });
|
|
654
|
+
}
|
|
655
|
+
//#endregion
|
|
656
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.tsx
|
|
657
|
+
var TODAY_DATE$1 = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
658
|
+
var financialInformationFields = [
|
|
659
|
+
"numberOfEmployees",
|
|
660
|
+
"financialReportingDate",
|
|
661
|
+
"legalEntityIdentifier",
|
|
662
|
+
"currency",
|
|
663
|
+
"balanceSheetTotal",
|
|
664
|
+
"annualTurnover"
|
|
665
|
+
];
|
|
666
|
+
function BusinessFinancingFinancialInformation(props) {
|
|
667
|
+
const { data, valid, errors, country, sectionHeading, handleFieldChange, fieldValidationErrors } = props;
|
|
668
|
+
const { t: businessFinancingT, i18n: i18next } = useTranslation("businessFinancing");
|
|
669
|
+
const { t: commonT } = useTranslation("common");
|
|
670
|
+
const formUtils = createFormUtils(props, commonT);
|
|
671
|
+
const currenciesForCurrCountry = useMemo(() => currencyByCountry[country] ?? [], [country]);
|
|
672
|
+
if (!handleFieldChange) return;
|
|
673
|
+
const financialData = data;
|
|
674
|
+
const financialErrors = errors;
|
|
675
|
+
const isFinancialDataValid = valid;
|
|
676
|
+
const [firstCurrency] = currenciesForCurrCountry;
|
|
677
|
+
const defaultCurrency = firstCurrency ?? "EUR";
|
|
678
|
+
if (currenciesForCurrCountry.length === 1 && data?.currency !== firstCurrency) handleFieldChange("currency")(firstCurrency);
|
|
679
|
+
return /* @__PURE__ */ jsxs("section", { children: [
|
|
680
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
681
|
+
el: "h3",
|
|
682
|
+
variant: "title",
|
|
683
|
+
className: BusinessFinancing_module_default.businessFinancingTitle,
|
|
684
|
+
children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["businessFinancials"])
|
|
685
|
+
}),
|
|
686
|
+
/* @__PURE__ */ jsx(Field, {
|
|
687
|
+
name: "numberOfEmployees",
|
|
688
|
+
label: businessFinancingT(($) => $["numberOfEmployees"]),
|
|
689
|
+
helper: businessFinancingT(($) => $["theNumberOfIndividualsReceivingAWageOrSalary"]),
|
|
690
|
+
errorMessage: formUtils.getErrorMessage("numberOfEmployees", errors, fieldValidationErrors),
|
|
691
|
+
isValid: valid?.numberOfEmployees,
|
|
692
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputNumber, {
|
|
693
|
+
...childProps,
|
|
694
|
+
"aria-required": true,
|
|
695
|
+
"aria-invalid": !valid?.numberOfEmployees,
|
|
696
|
+
name: "numberOfEmployees",
|
|
697
|
+
min: "0",
|
|
698
|
+
step: "1",
|
|
699
|
+
value: data?.numberOfEmployees,
|
|
700
|
+
onInput: handleFieldChange("numberOfEmployees", "input"),
|
|
701
|
+
onBlur: handleFieldChange("numberOfEmployees", "blur")
|
|
702
|
+
})
|
|
703
|
+
}),
|
|
704
|
+
currenciesForCurrCountry?.length > 1 && /* @__PURE__ */ jsx(Currency, {
|
|
705
|
+
country,
|
|
706
|
+
data: formUtils.getFieldData(financialData, CURRENCY_FIELD),
|
|
707
|
+
errors: formUtils.getFieldErrors(financialErrors, fieldValidationErrors, CURRENCY_FIELD),
|
|
708
|
+
handleChangeFor: handleFieldChange,
|
|
709
|
+
labels: { currency: businessFinancingT(($) => $["financialStatementReportingCurrency"]) },
|
|
710
|
+
readonly: formUtils.isReadOnly("currency"),
|
|
711
|
+
valid: formUtils.getFieldValid(isFinancialDataValid, CURRENCY_FIELD)
|
|
712
|
+
}),
|
|
713
|
+
/* @__PURE__ */ jsxs("div", {
|
|
714
|
+
className: BusinessFinancing_module_default.businessFinancingExposureFinancials,
|
|
715
|
+
children: [
|
|
716
|
+
/* @__PURE__ */ jsx(Field, {
|
|
717
|
+
name: "balanceSheetTotal",
|
|
718
|
+
label: businessFinancingT(($) => $["balanceSheetTotal"]),
|
|
719
|
+
helper: businessFinancingT(($) => $["theSumOfTotalLiabilities"]),
|
|
720
|
+
errorMessage: formUtils.getErrorMessage("balanceSheetTotal", errors, fieldValidationErrors),
|
|
721
|
+
isValid: valid?.balanceSheetTotal,
|
|
722
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputCurrency, {
|
|
723
|
+
...childProps,
|
|
724
|
+
"aria-required": formUtils.isRequiredField("balanceSheetTotal"),
|
|
725
|
+
"aria-invalid": !valid?.balanceSheetTotal,
|
|
726
|
+
locale: i18next.language,
|
|
727
|
+
currency: data?.currency ?? defaultCurrency,
|
|
728
|
+
amount: data?.balanceSheetTotal ? Number(data?.balanceSheetTotal) : void 0,
|
|
729
|
+
onAmountChanged: handleFieldChange("balanceSheetTotal")
|
|
730
|
+
})
|
|
731
|
+
}),
|
|
732
|
+
/* @__PURE__ */ jsx(Field, {
|
|
733
|
+
name: "financialReportingDate",
|
|
734
|
+
label: businessFinancingT(($) => $["statementReportingDate"]),
|
|
735
|
+
helper: businessFinancingT(($) => $["useTheMoreRecentOfTheReportingDates"]),
|
|
736
|
+
errorMessage: formUtils.getErrorMessage("financialReportingDate", errors, fieldValidationErrors),
|
|
737
|
+
isValid: valid?.financialReportingDate,
|
|
738
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputDate, {
|
|
739
|
+
...childProps,
|
|
740
|
+
name: "financialReportingDate",
|
|
741
|
+
value: data?.financialReportingDate,
|
|
742
|
+
onInput: handleFieldChange("financialReportingDate", "input"),
|
|
743
|
+
onBlur: handleFieldChange("financialReportingDate", "blur"),
|
|
744
|
+
"aria-required": true,
|
|
745
|
+
"aria-invalid": !valid?.financialReportingDate,
|
|
746
|
+
max: TODAY_DATE$1
|
|
747
|
+
})
|
|
748
|
+
}),
|
|
749
|
+
/* @__PURE__ */ jsx(Field, {
|
|
750
|
+
name: "annualTurnover",
|
|
751
|
+
label: businessFinancingT(($) => $["annualTurnover"]),
|
|
752
|
+
helper: businessFinancingT(($) => $["theAnnualSalesRevenue"]),
|
|
753
|
+
errorMessage: formUtils.getErrorMessage("annualTurnover", errors, fieldValidationErrors),
|
|
754
|
+
isValid: valid?.annualTurnover,
|
|
755
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputCurrency, {
|
|
756
|
+
...childProps,
|
|
757
|
+
name: "annualTurnover",
|
|
758
|
+
"aria-required": formUtils.isRequiredField("annualTurnover"),
|
|
759
|
+
"aria-invalid": !valid?.annualTurnover,
|
|
760
|
+
locale: i18next.language,
|
|
761
|
+
currency: data?.currency ?? defaultCurrency,
|
|
762
|
+
amount: data?.annualTurnover ? Number(data?.annualTurnover) : void 0,
|
|
763
|
+
onAmountChanged: handleFieldChange("annualTurnover")
|
|
764
|
+
})
|
|
765
|
+
})
|
|
766
|
+
]
|
|
767
|
+
})
|
|
768
|
+
] });
|
|
769
|
+
}
|
|
770
|
+
//#endregion
|
|
771
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingLegalInformation.tsx
|
|
772
|
+
var TODAY_DATE = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
773
|
+
var legalInformationFields = ["legalInformationInsolvency", "legalProceedingsDate"];
|
|
774
|
+
function BusinessFinancingLegalInformation(props) {
|
|
775
|
+
const { data, valid, errors, fieldValidationErrors, handleFieldChange, sectionHeading } = props;
|
|
776
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
777
|
+
const { t: commonT } = useTranslation("common");
|
|
778
|
+
const formUtils = createFormUtils(props, commonT);
|
|
779
|
+
if (!handleFieldChange) return;
|
|
780
|
+
const legalInformationInsolvencyItems = [
|
|
781
|
+
{
|
|
782
|
+
id: "noLegalActionsTaken",
|
|
783
|
+
name: commonT(($) => $["no"])
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
id: "underJudicialAdministration",
|
|
787
|
+
name: businessFinancingT(($) => $["yesTheCompanyIsUnderJudicialAdministration"])
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
id: "bankruptcyInsolvency",
|
|
791
|
+
name: businessFinancingT(($) => $["yesTheCompanyIsFilingForBankruptcy"])
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
id: "otherLegalMeasures",
|
|
795
|
+
name: businessFinancingT(($) => $["yesTheCompanyIsFacingOtherLegalMeasures"])
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
id: "iDontKnow",
|
|
799
|
+
name: commonT(($) => $["iDontKnow"])
|
|
800
|
+
}
|
|
801
|
+
];
|
|
802
|
+
const showLegalProceedingsDateField = data?.legalInformationInsolvency && !["noLegalActionsTaken", "iDontKnow"].includes(data?.legalInformationInsolvency);
|
|
803
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
804
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
805
|
+
el: "h3",
|
|
806
|
+
variant: "title",
|
|
807
|
+
className: BusinessFinancing_module_default.businessFinancingTitle,
|
|
808
|
+
children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["legalInformation"])
|
|
809
|
+
}),
|
|
810
|
+
/* @__PURE__ */ jsx(Field, {
|
|
811
|
+
name: "legalInformationInsolvency",
|
|
812
|
+
label: businessFinancingT(($) => $["legalInformationInsolvency"]),
|
|
813
|
+
errorMessage: formUtils.getErrorMessage("legalInformationInsolvency", errors, fieldValidationErrors),
|
|
814
|
+
isValid: valid?.legalInformationInsolvency,
|
|
815
|
+
children: (childProps) => /* @__PURE__ */ jsx(Select, {
|
|
816
|
+
...childProps,
|
|
817
|
+
onChange: handleFieldChange("legalInformationInsolvency", "blur"),
|
|
818
|
+
name: "legalInformationInsolvency",
|
|
819
|
+
placeholder: commonT(($) => $["selectOne"]),
|
|
820
|
+
selected: data?.legalInformationInsolvency,
|
|
821
|
+
items: legalInformationInsolvencyItems,
|
|
822
|
+
"aria-required": true,
|
|
823
|
+
"aria-invalid": !valid?.legalInformationInsolvency
|
|
824
|
+
})
|
|
825
|
+
}),
|
|
826
|
+
showLegalProceedingsDateField && /* @__PURE__ */ jsx(Field, {
|
|
827
|
+
name: "legalProceedingsDate",
|
|
828
|
+
label: businessFinancingT(($) => $["legalProceedingsDate"]),
|
|
829
|
+
errorMessage: formUtils.getErrorMessage("legalProceedingsDate", errors, fieldValidationErrors),
|
|
830
|
+
isValid: valid?.legalProceedingsDate,
|
|
831
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputDate, {
|
|
832
|
+
...childProps,
|
|
833
|
+
name: "legalProceedingsDate",
|
|
834
|
+
value: data.legalProceedingsDate,
|
|
835
|
+
onInput: handleFieldChange("legalProceedingsDate", "input"),
|
|
836
|
+
onBlur: handleFieldChange("legalProceedingsDate", "blur"),
|
|
837
|
+
"aria-required": true,
|
|
838
|
+
"aria-invalid": !valid?.legalProceedingsDate,
|
|
839
|
+
max: TODAY_DATE
|
|
840
|
+
})
|
|
841
|
+
})
|
|
842
|
+
] });
|
|
843
|
+
}
|
|
844
|
+
//#endregion
|
|
845
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingOwnershipStructure.tsx
|
|
846
|
+
var ownershipStructureFields = ["isCompanyOwnedByAnotherCompany", "isParentOwnedByAnotherCompany"];
|
|
847
|
+
function BusinessFinancingOwnershipStructure(props) {
|
|
848
|
+
const { data, valid, errors = {}, legalEntity, fieldValidationErrors, handleFieldChange } = props;
|
|
849
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
850
|
+
const { t: commonT } = useTranslation("common");
|
|
851
|
+
const formUtils = createFormUtils(props, commonT);
|
|
852
|
+
if (!handleFieldChange) return;
|
|
853
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
854
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
855
|
+
el: "h3",
|
|
856
|
+
variant: "title",
|
|
857
|
+
className: BusinessFinancing_module_default.businessFinancingTitle,
|
|
858
|
+
children: businessFinancingT(($) => $["ownershipStructure"])
|
|
859
|
+
}),
|
|
860
|
+
/* @__PURE__ */ jsx(Field, {
|
|
861
|
+
el: "fieldset",
|
|
862
|
+
name: "isCompanyOwnedByAnotherCompany",
|
|
863
|
+
label: businessFinancingT(($) => $["isCompanyOwnedByAnotherCompany"], { company: legalEntity?.organization ? legalEntity.organization.legalName : "" }),
|
|
864
|
+
errorMessage: formUtils.getErrorMessage("isCompanyOwnedByAnotherCompany", errors, fieldValidationErrors),
|
|
865
|
+
helper: /* @__PURE__ */ jsx(Typography, {
|
|
866
|
+
el: "div",
|
|
867
|
+
variant: "body",
|
|
868
|
+
color: "secondary",
|
|
869
|
+
className: BusinessFinancing_module_default.businessFinancingBody,
|
|
870
|
+
children: businessFinancingT(($) => $["thisMeansYouHaveAParentCompany"])
|
|
871
|
+
}),
|
|
872
|
+
children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
|
|
873
|
+
...childProps,
|
|
874
|
+
name: "isCompanyOwnedByAnotherCompany",
|
|
875
|
+
items: businessFinancingRadioItems,
|
|
876
|
+
value: data?.isCompanyOwnedByAnotherCompany,
|
|
877
|
+
className: BusinessFinancing_module_default.businessFinancingLeiRadio,
|
|
878
|
+
disabled: false,
|
|
879
|
+
onChange: handleFieldChange("isCompanyOwnedByAnotherCompany"),
|
|
880
|
+
"aria-required": true,
|
|
881
|
+
"aria-invalid": !valid?.isCompanyOwnedByAnotherCompany
|
|
882
|
+
})
|
|
883
|
+
}),
|
|
884
|
+
data?.isCompanyOwnedByAnotherCompany === "Yes" && /* @__PURE__ */ jsx(Field, {
|
|
885
|
+
el: "fieldset",
|
|
886
|
+
name: "isParentOwnedByAnotherCompany",
|
|
887
|
+
label: businessFinancingT(($) => $["isParentOwnedByAnotherCompany"]),
|
|
888
|
+
helper: /* @__PURE__ */ jsx(Typography, {
|
|
889
|
+
el: "div",
|
|
890
|
+
variant: "body",
|
|
891
|
+
color: "secondary",
|
|
892
|
+
className: BusinessFinancing_module_default.businessFinancingBody,
|
|
893
|
+
children: businessFinancingT(($) => $["thisMeansYouHaveAnUltimateParentCompany"])
|
|
894
|
+
}),
|
|
895
|
+
errorMessage: formUtils.getErrorMessage("isParentOwnedByAnotherCompany", errors, fieldValidationErrors),
|
|
896
|
+
children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
|
|
897
|
+
...childProps,
|
|
898
|
+
name: "isParentOwnedByAnotherCompany",
|
|
899
|
+
items: businessFinancingRadioItems,
|
|
900
|
+
value: data.isParentOwnedByAnotherCompany,
|
|
901
|
+
className: BusinessFinancing_module_default.businessFinancingLeiRadio,
|
|
902
|
+
disabled: false,
|
|
903
|
+
onChange: handleFieldChange("isParentOwnedByAnotherCompany"),
|
|
904
|
+
"aria-required": true,
|
|
905
|
+
"aria-invalid": !valid?.isParentOwnedByAnotherCompany
|
|
906
|
+
})
|
|
907
|
+
})
|
|
908
|
+
] });
|
|
909
|
+
}
|
|
910
|
+
//#endregion
|
|
911
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingCompany.tsx
|
|
912
|
+
function AdditionalFieldsForBusinessFinancingCompany(props) {
|
|
913
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
914
|
+
const { t: commonT } = useTranslation("common");
|
|
915
|
+
const { form: { handleChangeFor, data, setValid } } = useFormContext();
|
|
916
|
+
const { country, formVerificationErrors, legalEntity, fieldValidationErrors } = props;
|
|
917
|
+
const formUtils = createFormUtils(props, commonT);
|
|
918
|
+
const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "company", mode);
|
|
919
|
+
const ownershipStructureProps = getFieldProps(props, ownershipStructureFields);
|
|
920
|
+
const businessInformationProps = getFieldProps(props, businessInformationFields);
|
|
921
|
+
const financialInformationProps = getFieldProps(props, financialInformationFields);
|
|
922
|
+
const legalInformationProps = getFieldProps(props, legalInformationFields);
|
|
923
|
+
if ((currencyByCountry[country] ?? [])?.length === 1) setValid("currency", true, "company");
|
|
924
|
+
return /* @__PURE__ */ jsxs("form", {
|
|
925
|
+
className: "adyen-kyc__high-exposure-company",
|
|
926
|
+
children: [
|
|
927
|
+
/* @__PURE__ */ jsx(Header, {
|
|
928
|
+
title: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
|
|
929
|
+
description: businessFinancingT(($) => $["weNeedAFewMoreDetailsAboutYouAndYourBusiness"]),
|
|
930
|
+
secondary: true
|
|
931
|
+
}),
|
|
932
|
+
/* @__PURE__ */ jsx(ErrorPanel, {
|
|
933
|
+
verificationErrors: formVerificationErrors,
|
|
934
|
+
validationErrors: fieldValidationErrors,
|
|
935
|
+
formUtils,
|
|
936
|
+
id: "ariaErrorField"
|
|
937
|
+
}),
|
|
938
|
+
/* @__PURE__ */ jsx(BusinessFinancingBusinessInformation, {
|
|
939
|
+
...businessInformationProps,
|
|
940
|
+
handleFieldChange: handleChange,
|
|
941
|
+
country,
|
|
942
|
+
targetPage: BusinessFinancingPages.COMPANY_PAGE,
|
|
943
|
+
sectionHeading: "businessInformation",
|
|
944
|
+
data: formUtils.getFieldData(data?.company ?? {}, businessInformationFields)
|
|
945
|
+
}),
|
|
946
|
+
isEeaCountry(country) && /* @__PURE__ */ jsx(BusinessFinancingFinancialInformation, {
|
|
947
|
+
...financialInformationProps,
|
|
948
|
+
handleFieldChange: handleChange,
|
|
949
|
+
country,
|
|
950
|
+
targetPage: BusinessFinancingPages.COMPANY_PAGE,
|
|
951
|
+
data: formUtils.getFieldData(data?.company ?? {}, financialInformationFields)
|
|
952
|
+
}),
|
|
953
|
+
/* @__PURE__ */ jsx(BusinessFinancingLegalInformation, {
|
|
954
|
+
...legalInformationProps,
|
|
955
|
+
country,
|
|
956
|
+
handleFieldChange: handleChange,
|
|
957
|
+
targetPage: BusinessFinancingPages.COMPANY_PAGE,
|
|
958
|
+
sectionHeading: "legalInformation",
|
|
959
|
+
data: formUtils.getFieldData(data?.company ?? {}, legalInformationFields)
|
|
960
|
+
}),
|
|
961
|
+
/* @__PURE__ */ jsx(BusinessFinancingOwnershipStructure, {
|
|
962
|
+
...ownershipStructureProps,
|
|
963
|
+
legalEntity,
|
|
964
|
+
handleFieldChange: handleChange,
|
|
965
|
+
data: formUtils.getFieldData(data?.company ?? {}, ownershipStructureFields)
|
|
966
|
+
})
|
|
967
|
+
]
|
|
968
|
+
});
|
|
969
|
+
}
|
|
970
|
+
//#endregion
|
|
971
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBasicCompanyInformation.tsx
|
|
972
|
+
var basicInformationFields = ["legalName"];
|
|
973
|
+
function BusinessFinancingBasicCompanyInformation(props) {
|
|
974
|
+
const { data, valid, errors, fieldValidationErrors, handleFieldChange, sectionHeading } = props;
|
|
975
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
976
|
+
const { t: commonT } = useTranslation("common");
|
|
977
|
+
const formUtils = createFormUtils(props, commonT);
|
|
978
|
+
if (!handleFieldChange) return;
|
|
979
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Typography, {
|
|
980
|
+
el: "h3",
|
|
981
|
+
variant: "title",
|
|
982
|
+
className: BusinessFinancing_module_default.businessFinancingTitle,
|
|
983
|
+
children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["basicCompanyInformation"])
|
|
984
|
+
}), /* @__PURE__ */ jsx(Field, {
|
|
985
|
+
name: "legalName",
|
|
986
|
+
label: businessFinancingT(($) => $["legalName"]),
|
|
987
|
+
errorMessage: formUtils.getErrorMessage("legalName", errors, fieldValidationErrors),
|
|
988
|
+
isValid: valid?.legalName,
|
|
989
|
+
helper: businessFinancingT(($) => $["legalNameIsUsedToIdentifyABusinessWithTheGovernment"]),
|
|
990
|
+
helperPosition: "below",
|
|
991
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
992
|
+
...childProps,
|
|
993
|
+
name: "legalName",
|
|
994
|
+
value: data?.legalName,
|
|
995
|
+
readonly: false,
|
|
996
|
+
onInput: handleFieldChange("legalName", "input"),
|
|
997
|
+
onBlur: handleFieldChange("legalName", "blur"),
|
|
998
|
+
"aria-required": true,
|
|
999
|
+
"aria-invalid": !valid?.legalName
|
|
1000
|
+
})
|
|
1001
|
+
})] });
|
|
1002
|
+
}
|
|
1003
|
+
//#endregion
|
|
1004
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingRegisteredAddress.tsx
|
|
1005
|
+
var OPTIONAL_ADDRESS_FIELDS = ["otherAddressInformation"];
|
|
1006
|
+
var registeredAddressFields = [
|
|
1007
|
+
"isThisAddressTheMainHeadquarters",
|
|
1008
|
+
"registrationAddress",
|
|
1009
|
+
"sameAddressAsRootEntity"
|
|
1010
|
+
];
|
|
1011
|
+
function BusinessFinancingRegisteredAddress(props) {
|
|
1012
|
+
const { data, valid, errors, fieldValidationErrors, shouldValidate, defaultData, handleFieldChange, formId, legalEntity, sectionHeading } = props;
|
|
1013
|
+
const { t: businessFinancingT, i18n } = useTranslation("businessFinancing");
|
|
1014
|
+
const { t: commonT } = useTranslation("common");
|
|
1015
|
+
const formUtils = createFormUtils(props, commonT);
|
|
1016
|
+
const addressCountry = data?.registrationAddress?.country;
|
|
1017
|
+
const datasetUtils = datasetUtilities(i18n.language);
|
|
1018
|
+
const addressSchema = useMemo(() => {
|
|
1019
|
+
return getAddressSchemaForCountry(addressCountry).filter((field) => {
|
|
1020
|
+
if (addressCountry) return !COUNTRIES_WITH_STATES_DATASET.includes(addressCountry) ? field !== "stateOrProvince" : true;
|
|
1021
|
+
return true;
|
|
1022
|
+
});
|
|
1023
|
+
}, [addressCountry]);
|
|
1024
|
+
if (!handleFieldChange) return;
|
|
1025
|
+
const handleRegistrationAddressChange = (state) => {
|
|
1026
|
+
if (!state.data.country) state.data.country = addressCountry;
|
|
1027
|
+
handleFieldChange("registrationAddress")(state.data);
|
|
1028
|
+
};
|
|
1029
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1030
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
1031
|
+
el: "h3",
|
|
1032
|
+
variant: "title",
|
|
1033
|
+
className: BusinessFinancing_module_default.businessFinancingTitle,
|
|
1034
|
+
children: sectionHeading ? translateTranslatable(commonT, sectionHeading) : commonT(($) => $["registeredAddress"])
|
|
1035
|
+
}),
|
|
1036
|
+
/* @__PURE__ */ jsx(Field, {
|
|
1037
|
+
name: "sameAddressAsRootEntity",
|
|
1038
|
+
errorMessage: errors?.sameAddressAsRootEntity?.errorMessage,
|
|
1039
|
+
isValid: valid?.sameAddressAsRootEntity,
|
|
1040
|
+
children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
|
|
1041
|
+
...childProps,
|
|
1042
|
+
"aria-required": formUtils.isRequiredField("sameAddressAsRootEntity"),
|
|
1043
|
+
"aria-invalid": !valid?.sameAddressAsRootEntity,
|
|
1044
|
+
name: "sameAddressAsRootEntity",
|
|
1045
|
+
label: businessFinancingT(($) => $["sameAddressAsRootEntity"], { rootLegalEntityName: legalEntity?.organization?.legalName ?? "" }),
|
|
1046
|
+
checked: data?.sameAddressAsRootEntity ?? false,
|
|
1047
|
+
onChange: handleFieldChange("sameAddressAsRootEntity")
|
|
1048
|
+
})
|
|
1049
|
+
}),
|
|
1050
|
+
data?.sameAddressAsRootEntity && legalEntity?.organization?.registeredAddress ? /* @__PURE__ */ jsxs("div", {
|
|
1051
|
+
className: BusinessFinancing_module_default.businessFinancingStructuredAddress,
|
|
1052
|
+
children: [
|
|
1053
|
+
/* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.street }),
|
|
1054
|
+
/* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.street2 }),
|
|
1055
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
1056
|
+
legalEntity.organization.registeredAddress.city,
|
|
1057
|
+
" ",
|
|
1058
|
+
legalEntity.organization.registeredAddress.postalCode ? `, ${legalEntity.organization.registeredAddress.postalCode}` : ""
|
|
1059
|
+
] }),
|
|
1060
|
+
/* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.stateOrProvince }),
|
|
1061
|
+
/* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.country ? datasetUtils.getCountryName(legalEntity.organization.registeredAddress.country) : "" })
|
|
1062
|
+
]
|
|
1063
|
+
}) : /* @__PURE__ */ jsx(Address, {
|
|
1064
|
+
id: formId,
|
|
1065
|
+
addressType: "registrationAddress",
|
|
1066
|
+
data: {
|
|
1067
|
+
...defaultData?.registrationAddress,
|
|
1068
|
+
country: addressCountry
|
|
1069
|
+
},
|
|
1070
|
+
labels: addressCountry ? getAddressSchemaLabelsByCountry(addressCountry) : void 0,
|
|
1071
|
+
countryCode: addressCountry,
|
|
1072
|
+
requiredFields: addressSchema,
|
|
1073
|
+
optionalFields: OPTIONAL_ADDRESS_FIELDS,
|
|
1074
|
+
onChange: handleRegistrationAddressChange,
|
|
1075
|
+
shouldValidate
|
|
1076
|
+
}),
|
|
1077
|
+
/* @__PURE__ */ jsx(Field, {
|
|
1078
|
+
el: "fieldset",
|
|
1079
|
+
name: "isThisAddressTheMainHeadquarters",
|
|
1080
|
+
label: businessFinancingT(($) => $["areTheMainHeadquartersAtThisAddress"]),
|
|
1081
|
+
helper: businessFinancingT(($) => $["addressRegisteredWithGovernment"]),
|
|
1082
|
+
errorMessage: formUtils.getErrorMessage("isThisAddressTheMainHeadquarters", errors, fieldValidationErrors),
|
|
1083
|
+
children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
|
|
1084
|
+
...childProps,
|
|
1085
|
+
name: "isThisAddressTheMainHeadquarters",
|
|
1086
|
+
items: businessFinancingRadioItems,
|
|
1087
|
+
value: data?.isThisAddressTheMainHeadquarters,
|
|
1088
|
+
className: BusinessFinancing_module_default.businessFinancingLeiRadio,
|
|
1089
|
+
disabled: false,
|
|
1090
|
+
onChange: handleFieldChange("isThisAddressTheMainHeadquarters"),
|
|
1091
|
+
"aria-required": true,
|
|
1092
|
+
"aria-invalid": !valid?.isThisAddressTheMainHeadquarters
|
|
1093
|
+
})
|
|
1094
|
+
})
|
|
1095
|
+
] });
|
|
1096
|
+
}
|
|
1097
|
+
//#endregion
|
|
1098
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingParentCompany.tsx
|
|
1099
|
+
var parentCompanyFormId$1 = businessFinancingForms.parentCompany.formId;
|
|
1100
|
+
function AdditionalFieldsForBusinessFinancingParentCompany(props) {
|
|
1101
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1102
|
+
const { t: commonT } = useTranslation("common");
|
|
1103
|
+
const { form: { handleChangeFor, data, setValid } } = useFormContext();
|
|
1104
|
+
const { country, formVerificationErrors, fieldValidationErrors, legalEntity } = props;
|
|
1105
|
+
const formUtils = createFormUtils(props, commonT);
|
|
1106
|
+
const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "parentCompany", mode);
|
|
1107
|
+
setValid("sameAddressAsRootEntity", true, "parentCompany");
|
|
1108
|
+
const basicCompanyInformationProps = getFieldProps(props, basicInformationFields);
|
|
1109
|
+
const registeredAddressProps = getFieldProps(props, registeredAddressFields);
|
|
1110
|
+
const businessInformationProps = getFieldProps(props, businessInformationFields);
|
|
1111
|
+
const financialInformationProps = getFieldProps(props, financialInformationFields);
|
|
1112
|
+
const legalInformationProps = getFieldProps(props, legalInformationFields);
|
|
1113
|
+
const addressCountry = getAddressCountryForParentCompany(data?.parentCompany, legalEntity?.organization?.registeredAddress);
|
|
1114
|
+
if ((currencyByCountry[addressCountry ?? country] ?? [])?.length === 1) setValid("currency", true, "parentCompany");
|
|
1115
|
+
return /* @__PURE__ */ jsxs("form", {
|
|
1116
|
+
className: "adyen-kyc__high-exposure-parent-company",
|
|
1117
|
+
children: [
|
|
1118
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
1119
|
+
el: "h1",
|
|
1120
|
+
variant: "title-l",
|
|
1121
|
+
className: BusinessFinancing_module_default.businessFinancingBody,
|
|
1122
|
+
children: commonT(($) => $["parentCompanyInformation"])
|
|
1123
|
+
}),
|
|
1124
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
1125
|
+
el: "p",
|
|
1126
|
+
variant: "body",
|
|
1127
|
+
className: BusinessFinancing_module_default.businessFinancingBody,
|
|
1128
|
+
children: businessFinancingT(($) => $["inThePreviousStepOwnedByAParentCompany"])
|
|
1129
|
+
}),
|
|
1130
|
+
/* @__PURE__ */ jsx(ErrorPanel, {
|
|
1131
|
+
verificationErrors: formVerificationErrors,
|
|
1132
|
+
validationErrors: fieldValidationErrors,
|
|
1133
|
+
formUtils,
|
|
1134
|
+
id: "ariaErrorField"
|
|
1135
|
+
}),
|
|
1136
|
+
/* @__PURE__ */ jsx(BusinessFinancingBasicCompanyInformation, {
|
|
1137
|
+
...basicCompanyInformationProps,
|
|
1138
|
+
sectionHeading: "parentCompanyInformation",
|
|
1139
|
+
handleFieldChange: handleChange,
|
|
1140
|
+
data: formUtils.getFieldData(data?.parentCompany ?? {}, basicInformationFields)
|
|
1141
|
+
}),
|
|
1142
|
+
/* @__PURE__ */ jsx(BusinessFinancingRegisteredAddress, {
|
|
1143
|
+
...registeredAddressProps,
|
|
1144
|
+
formId: parentCompanyFormId$1,
|
|
1145
|
+
sectionHeading: "parentCompanyAddress",
|
|
1146
|
+
defaultData: data?.parentCompany,
|
|
1147
|
+
legalEntity,
|
|
1148
|
+
handleFieldChange: handleChange,
|
|
1149
|
+
data: formUtils.getFieldData(data?.parentCompany ?? {}, registeredAddressFields)
|
|
1150
|
+
}),
|
|
1151
|
+
/* @__PURE__ */ jsx(BusinessFinancingBusinessInformation, {
|
|
1152
|
+
...businessInformationProps,
|
|
1153
|
+
hideSectionHeading: true,
|
|
1154
|
+
country: addressCountry ?? country,
|
|
1155
|
+
targetPage: BusinessFinancingPages.PARENT_COMPANY_PAGE,
|
|
1156
|
+
handleFieldChange: handleChange,
|
|
1157
|
+
data: formUtils.getFieldData(data?.parentCompany ?? {}, businessInformationFields)
|
|
1158
|
+
}),
|
|
1159
|
+
isEeaCountry(addressCountry) && /* @__PURE__ */ jsx(BusinessFinancingFinancialInformation, {
|
|
1160
|
+
...financialInformationProps,
|
|
1161
|
+
country: addressCountry ?? country,
|
|
1162
|
+
targetPage: BusinessFinancingPages.PARENT_COMPANY_PAGE,
|
|
1163
|
+
handleFieldChange: handleChange,
|
|
1164
|
+
data: formUtils.getFieldData(data?.parentCompany ?? {}, financialInformationFields)
|
|
1165
|
+
}),
|
|
1166
|
+
/* @__PURE__ */ jsx(BusinessFinancingLegalInformation, {
|
|
1167
|
+
...legalInformationProps,
|
|
1168
|
+
country: addressCountry ?? country,
|
|
1169
|
+
targetPage: BusinessFinancingPages.PARENT_COMPANY_PAGE,
|
|
1170
|
+
sectionHeading: "legalInformation",
|
|
1171
|
+
handleFieldChange: handleChange,
|
|
1172
|
+
data: formUtils.getFieldData(data?.parentCompany ?? {}, legalInformationFields)
|
|
1173
|
+
})
|
|
1174
|
+
]
|
|
1175
|
+
});
|
|
1176
|
+
}
|
|
1177
|
+
//#endregion
|
|
1178
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSoleProprietorPersonalInformation.tsx
|
|
1179
|
+
var soleProprietorPersonalInformationFields = ["gender", "countryOfBirth"];
|
|
1180
|
+
function BusinessFinancingSoleProprietorPersonalInformation(props) {
|
|
1181
|
+
const { data, valid, errors, handleFieldChange, fieldValidationErrors, sectionHeading } = props;
|
|
1182
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1183
|
+
const { t: commonT } = useTranslation("common");
|
|
1184
|
+
const formUtils = createFormUtils(props, commonT);
|
|
1185
|
+
if (!handleFieldChange) return;
|
|
1186
|
+
const genderItems = [
|
|
1187
|
+
{
|
|
1188
|
+
id: "M",
|
|
1189
|
+
name: businessFinancingT(($) => $["male"])
|
|
1190
|
+
},
|
|
1191
|
+
{
|
|
1192
|
+
id: "F",
|
|
1193
|
+
name: businessFinancingT(($) => $["female"])
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
id: "U",
|
|
1197
|
+
name: businessFinancingT(($) => $["preferNotToSay"])
|
|
1198
|
+
}
|
|
1199
|
+
];
|
|
1200
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1201
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
1202
|
+
el: "h3",
|
|
1203
|
+
variant: "title",
|
|
1204
|
+
className: BusinessFinancing_module_default.businessFinancingTitle,
|
|
1205
|
+
children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["personalInformation"])
|
|
1206
|
+
}),
|
|
1207
|
+
/* @__PURE__ */ jsx(CountryField, {
|
|
1208
|
+
data: { country: data?.countryOfBirth },
|
|
1209
|
+
valid: { country: valid?.countryOfBirth },
|
|
1210
|
+
name: "countryOfBirth",
|
|
1211
|
+
errors: { country: formUtils.getErrorMessage("countryOfBirth", errors, fieldValidationErrors) },
|
|
1212
|
+
labels: { country: businessFinancingT(($) => $["countryOfBirth"]) },
|
|
1213
|
+
readonly: formUtils.isReadOnly("countryOfBirth"),
|
|
1214
|
+
handleChangeFor: () => handleFieldChange("countryOfBirth", "input")
|
|
1215
|
+
}),
|
|
1216
|
+
/* @__PURE__ */ jsx(Field, {
|
|
1217
|
+
name: "gender",
|
|
1218
|
+
label: businessFinancingT(($) => $["gender"]),
|
|
1219
|
+
errorMessage: formUtils.getErrorMessage("gender", errors, fieldValidationErrors),
|
|
1220
|
+
isValid: valid?.gender,
|
|
1221
|
+
children: (childProps) => /* @__PURE__ */ jsx(Select, {
|
|
1222
|
+
...childProps,
|
|
1223
|
+
onChange: handleFieldChange("gender", "blur"),
|
|
1224
|
+
name: "gender",
|
|
1225
|
+
placeholder: commonT(($) => $["selectOne"]),
|
|
1226
|
+
selected: data?.gender,
|
|
1227
|
+
items: genderItems,
|
|
1228
|
+
"aria-required": true,
|
|
1229
|
+
"aria-invalid": !valid?.gender
|
|
1230
|
+
})
|
|
1231
|
+
})
|
|
1232
|
+
] });
|
|
1233
|
+
}
|
|
1234
|
+
//#endregion
|
|
1235
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingSoleProprietor.tsx
|
|
1236
|
+
function AdditionalFieldsForBusinessFinancingSoleProprietor(props) {
|
|
1237
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1238
|
+
const { t: commonT } = useTranslation("common");
|
|
1239
|
+
const { form: { handleChangeFor, data } } = useFormContext();
|
|
1240
|
+
const { country, formVerificationErrors, fieldValidationErrors } = props;
|
|
1241
|
+
const formUtils = createFormUtils(props, commonT);
|
|
1242
|
+
const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "soleProprietor", mode);
|
|
1243
|
+
const personalInformationProps = getFieldProps(props, soleProprietorPersonalInformationFields);
|
|
1244
|
+
const businessInformationProps = getFieldProps(props, ["naceCode", "naceCodeLabel"]);
|
|
1245
|
+
const legalInformationProps = getFieldProps(props, legalInformationFields);
|
|
1246
|
+
return /* @__PURE__ */ jsxs("form", {
|
|
1247
|
+
className: "adyen-kyc__high-exposure-company",
|
|
1248
|
+
children: [
|
|
1249
|
+
/* @__PURE__ */ jsx(Header, {
|
|
1250
|
+
title: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
|
|
1251
|
+
description: businessFinancingT(($) => $["weNeedAFewMoreDetailsAboutYouAndYourBusiness"]),
|
|
1252
|
+
secondary: true
|
|
1253
|
+
}),
|
|
1254
|
+
/* @__PURE__ */ jsx(ErrorPanel, {
|
|
1255
|
+
verificationErrors: formVerificationErrors,
|
|
1256
|
+
validationErrors: fieldValidationErrors,
|
|
1257
|
+
formUtils,
|
|
1258
|
+
id: "ariaErrorField"
|
|
1259
|
+
}),
|
|
1260
|
+
/* @__PURE__ */ jsx(BusinessFinancingSoleProprietorPersonalInformation, {
|
|
1261
|
+
...personalInformationProps,
|
|
1262
|
+
handleFieldChange: handleChange,
|
|
1263
|
+
country,
|
|
1264
|
+
targetPage: BusinessFinancingPages.SOLE_PROPRIETOR_PAGE,
|
|
1265
|
+
sectionHeading: "personalInformation",
|
|
1266
|
+
data: formUtils.getFieldData(data?.soleProprietor ?? {}, soleProprietorPersonalInformationFields)
|
|
1267
|
+
}),
|
|
1268
|
+
/* @__PURE__ */ jsx(BusinessFinancingBusinessInformation, {
|
|
1269
|
+
...businessInformationProps,
|
|
1270
|
+
handleFieldChange: handleChange,
|
|
1271
|
+
country,
|
|
1272
|
+
targetPage: BusinessFinancingPages.SOLE_PROPRIETOR_PAGE,
|
|
1273
|
+
sectionHeading: "businessInformation",
|
|
1274
|
+
isSoleProprietor: true,
|
|
1275
|
+
data: formUtils.getFieldData(data?.soleProprietor ?? {}, ["naceCode", "naceCodeLabel"])
|
|
1276
|
+
}),
|
|
1277
|
+
/* @__PURE__ */ jsx(BusinessFinancingLegalInformation, {
|
|
1278
|
+
...legalInformationProps,
|
|
1279
|
+
country,
|
|
1280
|
+
handleFieldChange: handleChange,
|
|
1281
|
+
targetPage: BusinessFinancingPages.SOLE_PROPRIETOR_PAGE,
|
|
1282
|
+
sectionHeading: "legalInformation",
|
|
1283
|
+
data: formUtils.getFieldData(data?.soleProprietor ?? {}, legalInformationFields)
|
|
1284
|
+
})
|
|
1285
|
+
]
|
|
1286
|
+
});
|
|
1287
|
+
}
|
|
1288
|
+
//#endregion
|
|
1289
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingUltimateParentCompany.tsx
|
|
1290
|
+
var ultimateParentCompanyFormId$1 = businessFinancingForms.ultimateParentCompany.formId;
|
|
1291
|
+
function AdditionalFieldsForBusinessFinancingUltimateParentCompany(props) {
|
|
1292
|
+
const { formVerificationErrors, country, fieldValidationErrors, legalEntity } = props;
|
|
1293
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1294
|
+
const { t: commonT } = useTranslation("common");
|
|
1295
|
+
const formUtils = createFormUtils(props, commonT);
|
|
1296
|
+
const { form: { handleChangeFor, data, setValid } } = useFormContext();
|
|
1297
|
+
const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "ultimateParentCompany", mode);
|
|
1298
|
+
setValid("sameAddressAsRootEntity", true, "ultimateParentCompany");
|
|
1299
|
+
const basicCompanyInformationProps = getFieldProps(props, basicInformationFields);
|
|
1300
|
+
const registeredAddressProps = getFieldProps(props, registeredAddressFields);
|
|
1301
|
+
const businessInformationProps = getFieldProps(props, businessInformationFields);
|
|
1302
|
+
const financialInformationProps = getFieldProps(props, financialInformationFields);
|
|
1303
|
+
const legalInformationProps = getFieldProps(props, legalInformationFields);
|
|
1304
|
+
const addressCountry = getAddressCountryForParentCompany(data?.ultimateParentCompany, legalEntity?.organization?.registeredAddress);
|
|
1305
|
+
if ((currencyByCountry[addressCountry ?? country] ?? [])?.length === 1) setValid("currency", true, "ultimateParentCompany");
|
|
1306
|
+
return /* @__PURE__ */ jsxs("form", {
|
|
1307
|
+
className: "adyen-kyc__high-exposure-ultimate-parent-company",
|
|
1308
|
+
children: [
|
|
1309
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
1310
|
+
el: "h1",
|
|
1311
|
+
variant: "title-l",
|
|
1312
|
+
className: BusinessFinancing_module_default.businessFinancingBody,
|
|
1313
|
+
children: commonT(($) => $["ultimateParentCompanyInformation"])
|
|
1314
|
+
}),
|
|
1315
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
1316
|
+
el: "p",
|
|
1317
|
+
variant: "body",
|
|
1318
|
+
className: BusinessFinancing_module_default.businessFinancingBody,
|
|
1319
|
+
children: businessFinancingT(($) => $["inThePreviousStepOwnedByAnUltimateParentCompany"])
|
|
1320
|
+
}),
|
|
1321
|
+
/* @__PURE__ */ jsx(ErrorPanel, {
|
|
1322
|
+
verificationErrors: formVerificationErrors,
|
|
1323
|
+
validationErrors: fieldValidationErrors,
|
|
1324
|
+
formUtils,
|
|
1325
|
+
id: "ariaErrorField"
|
|
1326
|
+
}),
|
|
1327
|
+
/* @__PURE__ */ jsx(BusinessFinancingBasicCompanyInformation, {
|
|
1328
|
+
...basicCompanyInformationProps,
|
|
1329
|
+
sectionHeading: "ultimateParentCompanyInformation",
|
|
1330
|
+
handleFieldChange: handleChange,
|
|
1331
|
+
data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, basicInformationFields)
|
|
1332
|
+
}),
|
|
1333
|
+
/* @__PURE__ */ jsx(BusinessFinancingRegisteredAddress, {
|
|
1334
|
+
...registeredAddressProps,
|
|
1335
|
+
formId: ultimateParentCompanyFormId$1,
|
|
1336
|
+
sectionHeading: "ultimateParentCompanyAddress",
|
|
1337
|
+
defaultData: data?.ultimateParentCompany,
|
|
1338
|
+
handleFieldChange: handleChange,
|
|
1339
|
+
data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, registeredAddressFields),
|
|
1340
|
+
legalEntity
|
|
1341
|
+
}),
|
|
1342
|
+
/* @__PURE__ */ jsx(BusinessFinancingBusinessInformation, {
|
|
1343
|
+
...businessInformationProps,
|
|
1344
|
+
hideSectionHeading: true,
|
|
1345
|
+
country: addressCountry ?? country,
|
|
1346
|
+
targetPage: BusinessFinancingPages.ULTIMATE_PARENT_COMPANY_PAGE,
|
|
1347
|
+
handleFieldChange: handleChange,
|
|
1348
|
+
data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, businessInformationFields)
|
|
1349
|
+
}),
|
|
1350
|
+
isEeaCountry(addressCountry) && /* @__PURE__ */ jsx(BusinessFinancingFinancialInformation, {
|
|
1351
|
+
...financialInformationProps,
|
|
1352
|
+
country: addressCountry ?? country,
|
|
1353
|
+
targetPage: BusinessFinancingPages.ULTIMATE_PARENT_COMPANY_PAGE,
|
|
1354
|
+
handleFieldChange: handleChange,
|
|
1355
|
+
data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, financialInformationFields)
|
|
1356
|
+
}),
|
|
1357
|
+
/* @__PURE__ */ jsx(BusinessFinancingLegalInformation, {
|
|
1358
|
+
...legalInformationProps,
|
|
1359
|
+
country: addressCountry ?? country,
|
|
1360
|
+
sectionHeading: "legalInformation",
|
|
1361
|
+
targetPage: BusinessFinancingPages.ULTIMATE_PARENT_COMPANY_PAGE,
|
|
1362
|
+
handleFieldChange: handleChange,
|
|
1363
|
+
data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, legalInformationFields)
|
|
1364
|
+
})
|
|
1365
|
+
]
|
|
1366
|
+
});
|
|
1367
|
+
}
|
|
1368
|
+
//#endregion
|
|
1369
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSummary.tsx
|
|
1370
|
+
var omittedSummaryKeys = [
|
|
1371
|
+
"naceCodeLabel",
|
|
1372
|
+
"legalFormLabel",
|
|
1373
|
+
"currency",
|
|
1374
|
+
"doesYourCompanyHaveLEI",
|
|
1375
|
+
"sameAddressAsRootEntity"
|
|
1376
|
+
];
|
|
1377
|
+
var customLabels = {
|
|
1378
|
+
legalForm: "businessStructure",
|
|
1379
|
+
naceCode: "industryAndNaceCode",
|
|
1380
|
+
balanceSheetTotal: "totalAssets",
|
|
1381
|
+
annualTurnover: "annualTurnover",
|
|
1382
|
+
legalInformationInsolvency: "legalProceedings",
|
|
1383
|
+
isCompanyOwnedByAnotherCompany: "hasParentCompany",
|
|
1384
|
+
isParentOwnedByAnotherCompany: "hasUltimateParentCompany",
|
|
1385
|
+
isThisAddressTheMainHeadquarters: "addressIsHeadquarters"
|
|
1386
|
+
};
|
|
1387
|
+
var isOmmitted = (key) => {
|
|
1388
|
+
return omittedSummaryKeys.includes(key);
|
|
1389
|
+
};
|
|
1390
|
+
var isCustomLabel = (key) => {
|
|
1391
|
+
return key in customLabels;
|
|
1392
|
+
};
|
|
1393
|
+
/**
|
|
1394
|
+
* Business and data layer around Summary, processing all the data
|
|
1395
|
+
*/
|
|
1396
|
+
var BusinessFinancingSummary = ({ forms, items, handleEditForm, children }) => {
|
|
1397
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1398
|
+
const { t: commonT } = useTranslation("common");
|
|
1399
|
+
const formatItemForStructuredList = (data) => {
|
|
1400
|
+
if (!data) return [];
|
|
1401
|
+
const structuredListItems = Object.entries(data).map(([key, value]) => {
|
|
1402
|
+
if (isOmmitted(key) || !value) return;
|
|
1403
|
+
return {
|
|
1404
|
+
term: isCustomLabel(key) ? businessFinancingT(($) => $[customLabels[key]]) : commonT(($) => $[key]),
|
|
1405
|
+
details: value
|
|
1406
|
+
};
|
|
1407
|
+
}).filter((v) => v !== void 0);
|
|
1408
|
+
const structuredListItemsWithInnerForms = [];
|
|
1409
|
+
structuredListItems.map((it) => {
|
|
1410
|
+
if (typeof it?.details === "object") structuredListItemsWithInnerForms.push(...formatItemForStructuredList(it?.details));
|
|
1411
|
+
else structuredListItemsWithInnerForms.push(it);
|
|
1412
|
+
});
|
|
1413
|
+
return structuredListItemsWithInnerForms;
|
|
1414
|
+
};
|
|
1415
|
+
const processSummarySections = (forms) => {
|
|
1416
|
+
return forms.map(({ formId, formName }) => ({
|
|
1417
|
+
formId,
|
|
1418
|
+
label: commonT(($) => $[formName]),
|
|
1419
|
+
items: formatItemForStructuredList(items[formId])
|
|
1420
|
+
}));
|
|
1421
|
+
};
|
|
1422
|
+
return /* @__PURE__ */ jsx(NewSummary, {
|
|
1423
|
+
handleEditForm,
|
|
1424
|
+
sections: processSummarySections(forms),
|
|
1425
|
+
children
|
|
1426
|
+
});
|
|
1427
|
+
};
|
|
1428
|
+
//#endregion
|
|
1429
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingDropin.tsx
|
|
1430
|
+
var getOrgAnalyticsData = (prefix, details) => {
|
|
1431
|
+
const org = details?.organization;
|
|
1432
|
+
const soleProp = details?.soleProprietorship;
|
|
1433
|
+
const entity = org || soleProp;
|
|
1434
|
+
if (!entity) return {};
|
|
1435
|
+
return {
|
|
1436
|
+
[`${prefix}--economicSector`]: entity?.economicSector ?? "",
|
|
1437
|
+
[`${prefix}--legalForm`]: org?.legalForm ?? "",
|
|
1438
|
+
[`${prefix}--statusOfLegalProceeding`]: entity?.statusOfLegalProceeding ?? ""
|
|
1439
|
+
};
|
|
1440
|
+
};
|
|
1441
|
+
var businessFinancingFormsRequiredFields = {
|
|
1442
|
+
soleProprietor: businessFinancingForms.soleProprietor.fields,
|
|
1443
|
+
company: businessFinancingForms.company.fields,
|
|
1444
|
+
parentCompany: businessFinancingForms.parentCompany.fields,
|
|
1445
|
+
ultimateParentCompany: businessFinancingForms.ultimateParentCompany.fields
|
|
1446
|
+
};
|
|
1447
|
+
var parentCompanyFormId = businessFinancingForms.parentCompany.formId;
|
|
1448
|
+
var companyFormId = businessFinancingForms.company.formId;
|
|
1449
|
+
var ultimateParentCompanyFormId = businessFinancingForms.ultimateParentCompany.formId;
|
|
1450
|
+
function BusinessFinancingDropin(props) {
|
|
1451
|
+
const { country, rootLegalEntity, externalOnSubmit, externalOnSubmitLabel, isStandaloneComponent, handleHomeClick } = props;
|
|
1452
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1453
|
+
const { t: commonT, i18n } = useTranslation("common");
|
|
1454
|
+
const userEvents = useAnalyticsContext();
|
|
1455
|
+
const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
|
|
1456
|
+
const { mutateAsync: createLegalEntity } = useCreateLegalEntity();
|
|
1457
|
+
const { mutateAsync: updateLegalEntity } = useUpdateLegalEntity();
|
|
1458
|
+
const { data: immediateParentCompany, isLoading: immediateParentCompanyIsLoading } = useAssociatedLegalEntity(rootLegalEntity, "immediateParentCompany");
|
|
1459
|
+
const { data: ultimateParentCompany, isLoading: ultimateParentCompanyIsLoading } = useAssociatedLegalEntity(rootLegalEntity, "ultimateParentCompany");
|
|
1460
|
+
const { data: soleProprietor, isLoading: soleProprietorIsLoading } = useAssociatedLegalEntity(rootLegalEntity, "soleProprietorship");
|
|
1461
|
+
/**
|
|
1462
|
+
* Analytics
|
|
1463
|
+
*/
|
|
1464
|
+
useTaskLandedEvent("BUSINESS_FINANCING");
|
|
1465
|
+
const derivedData = useMemo(() => {
|
|
1466
|
+
if (immediateParentCompanyIsLoading || ultimateParentCompanyIsLoading || soleProprietorIsLoading) return void 0;
|
|
1467
|
+
const isSoleProprietor = hasSolePropInLegalEntity(rootLegalEntity);
|
|
1468
|
+
const dataFromResponse = {};
|
|
1469
|
+
if (isSoleProprietor && soleProprietor) {
|
|
1470
|
+
dataFromResponse.soleProprietor = mapLegalEntityToBusinessFinancing(rootLegalEntity);
|
|
1471
|
+
dataFromResponse.soleProprietor = appendSoleProprietorBusinessFinancingData(soleProprietor.soleProprietorship, dataFromResponse.soleProprietor);
|
|
1472
|
+
} else if (rootLegalEntity.type === LegalEntityTypes.ORGANIZATION) {
|
|
1473
|
+
dataFromResponse.company = mapLegalEntityToBusinessFinancing(rootLegalEntity);
|
|
1474
|
+
dataFromResponse.company = appendBusinessFinancingData(rootLegalEntity.organization, dataFromResponse.company);
|
|
1475
|
+
dataFromResponse.company.isCompanyOwnedByAnotherCompany = "No";
|
|
1476
|
+
dataFromResponse.company.isParentOwnedByAnotherCompany = "No";
|
|
1477
|
+
if (immediateParentCompany) {
|
|
1478
|
+
dataFromResponse.parentCompany = mapLegalEntityToBusinessFinancing(immediateParentCompany);
|
|
1479
|
+
dataFromResponse.parentCompany = appendBusinessFinancingData(immediateParentCompany.organization, dataFromResponse.parentCompany);
|
|
1480
|
+
dataFromResponse.company.isCompanyOwnedByAnotherCompany = "Yes";
|
|
1481
|
+
}
|
|
1482
|
+
if (ultimateParentCompany) {
|
|
1483
|
+
dataFromResponse.ultimateParentCompany = mapLegalEntityToBusinessFinancing(ultimateParentCompany);
|
|
1484
|
+
dataFromResponse.ultimateParentCompany = appendBusinessFinancingData(ultimateParentCompany.organization, dataFromResponse.ultimateParentCompany);
|
|
1485
|
+
dataFromResponse.company.isParentOwnedByAnotherCompany = "Yes";
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1488
|
+
return dataFromResponse;
|
|
1489
|
+
}, [
|
|
1490
|
+
immediateParentCompanyIsLoading,
|
|
1491
|
+
ultimateParentCompanyIsLoading,
|
|
1492
|
+
soleProprietorIsLoading,
|
|
1493
|
+
rootLegalEntity,
|
|
1494
|
+
immediateParentCompany,
|
|
1495
|
+
ultimateParentCompany,
|
|
1496
|
+
soleProprietor
|
|
1497
|
+
]);
|
|
1498
|
+
const datasetUtils = datasetUtilities(i18n.language);
|
|
1499
|
+
const [problems, setProblems] = useState();
|
|
1500
|
+
const [loadingStatus, setLoadingStatus] = useState("success");
|
|
1501
|
+
const [showEndState, setShowEndState] = useState(false);
|
|
1502
|
+
const { showToast } = useToastContext();
|
|
1503
|
+
const { isSettingEnabled } = useSettingsContext();
|
|
1504
|
+
const showBusinessFinancingFirst = isSettingEnabled(SettingNames.ShowBusinessFinancingFirst);
|
|
1505
|
+
const onSubmit = async () => {
|
|
1506
|
+
setLoadingStatus("loading");
|
|
1507
|
+
if (!umfData) return;
|
|
1508
|
+
const isSoleProprietor = hasSolePropInLegalEntity(rootLegalEntity);
|
|
1509
|
+
const mainEntityDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(BusinessFinancingIndices.COMPANY, umfData, rootLegalEntity) : null;
|
|
1510
|
+
const soleProprietorPayloads = isSoleProprietor ? prepareSoleProprietorBusinessFinancingSubmitData(umfData, rootLegalEntity, soleProprietor) : null;
|
|
1511
|
+
const parentCompanyBusinessFinancingDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(BusinessFinancingIndices.PARENT_COMPANY, umfData, rootLegalEntity) : null;
|
|
1512
|
+
const ultimateParentCompanyBusinessFinancingDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY, umfData, rootLegalEntity) : null;
|
|
1513
|
+
if (isSoleProprietor) {
|
|
1514
|
+
if (!soleProprietorPayloads || !rootLegalEntity || !soleProprietor?.id) {
|
|
1515
|
+
showToast({
|
|
1516
|
+
label: businessFinancingT(($) => $["missingCompanyDetails"]),
|
|
1517
|
+
variant: "error"
|
|
1518
|
+
});
|
|
1519
|
+
return;
|
|
1520
|
+
}
|
|
1521
|
+
try {
|
|
1522
|
+
await handleBusinessFinancingFormSubmission(BusinessFinancingIndices.SOLE_PROPRIETOR, soleProprietorPayloads.individualPayload, createLegalEntity, updateLegalEntity, rootLegalEntity.id);
|
|
1523
|
+
const eventsAdditionalData = { ...getOrgAnalyticsData("SoleProprietor", await handleBusinessFinancingFormSubmission(BusinessFinancingIndices.SOLE_PROPRIETOR, soleProprietorPayloads.solePropPayload, createLegalEntity, updateLegalEntity, soleProprietor.id)) };
|
|
1524
|
+
userEvents.addTaskEvent("Success", {
|
|
1525
|
+
actionType: "submit",
|
|
1526
|
+
returnValue: [BusinessFinancingIndices.SOLE_PROPRIETOR],
|
|
1527
|
+
additionalData: eventsAdditionalData
|
|
1528
|
+
});
|
|
1529
|
+
await invalidateRootLegalEntity();
|
|
1530
|
+
if (showBusinessFinancingFirst || isStandaloneComponent) setShowEndState(true);
|
|
1531
|
+
else externalOnSubmit?.({ ...umfData });
|
|
1532
|
+
setProblems({});
|
|
1533
|
+
} catch (e) {
|
|
1534
|
+
showToast({
|
|
1535
|
+
label: commonT(($) => $["failedToUpdateDetails"]),
|
|
1536
|
+
variant: "error"
|
|
1537
|
+
});
|
|
1538
|
+
handleSubmissionError(e, BusinessFinancingIndices.SOLE_PROPRIETOR);
|
|
1539
|
+
} finally {
|
|
1540
|
+
setLoadingStatus("success");
|
|
1541
|
+
}
|
|
1542
|
+
} else {
|
|
1543
|
+
if (!mainEntityDetails || !rootLegalEntity) {
|
|
1544
|
+
showToast({
|
|
1545
|
+
label: businessFinancingT(($) => $["missingCompanyDetails"]),
|
|
1546
|
+
variant: "error"
|
|
1547
|
+
});
|
|
1548
|
+
return;
|
|
1549
|
+
}
|
|
1550
|
+
let parentCompanyFailed = false;
|
|
1551
|
+
let ultimateParentCompanyFailed = false;
|
|
1552
|
+
try {
|
|
1553
|
+
const promises = [];
|
|
1554
|
+
if (parentCompanyBusinessFinancingDetails) {
|
|
1555
|
+
const parentCompanyPromise = handleBusinessFinancingFormSubmission(BusinessFinancingIndices.PARENT_COMPANY, parentCompanyBusinessFinancingDetails, createLegalEntity, updateLegalEntity, parentCompanyBusinessFinancingDetails?.id);
|
|
1556
|
+
promises.push(parentCompanyPromise);
|
|
1557
|
+
}
|
|
1558
|
+
if (ultimateParentCompanyBusinessFinancingDetails) {
|
|
1559
|
+
const ultimateParentCompanyPromise = handleBusinessFinancingFormSubmission(BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY, ultimateParentCompanyBusinessFinancingDetails, createLegalEntity, updateLegalEntity, ultimateParentCompanyBusinessFinancingDetails?.id);
|
|
1560
|
+
promises.push(ultimateParentCompanyPromise);
|
|
1561
|
+
}
|
|
1562
|
+
const results = await Promise.allSettled(promises);
|
|
1563
|
+
const businessFinancingEntityAssociations = [...rootLegalEntity.entityAssociations ? rootLegalEntity.entityAssociations.filter((entityAssociation) => entityAssociation.type !== "immediateParentCompany" && entityAssociation.type !== "ultimateParentCompany") : []];
|
|
1564
|
+
const entitiesToTrack = [BusinessFinancingIndices.COMPANY];
|
|
1565
|
+
results.forEach((result, index) => {
|
|
1566
|
+
const businessFinancingType = index === 0 ? BusinessFinancingIndices.PARENT_COMPANY : BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY;
|
|
1567
|
+
if (result.status === "fulfilled") {
|
|
1568
|
+
const response = result.value;
|
|
1569
|
+
if (businessFinancingType === BusinessFinancingIndices.PARENT_COMPANY) {
|
|
1570
|
+
businessFinancingEntityAssociations.push({
|
|
1571
|
+
type: "immediateParentCompany",
|
|
1572
|
+
legalEntityId: response.id,
|
|
1573
|
+
associatorId: mainEntityDetails.id
|
|
1574
|
+
});
|
|
1575
|
+
entitiesToTrack.push(BusinessFinancingIndices.PARENT_COMPANY);
|
|
1576
|
+
} else if (businessFinancingType === BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY) {
|
|
1577
|
+
businessFinancingEntityAssociations.push({
|
|
1578
|
+
type: "ultimateParentCompany",
|
|
1579
|
+
legalEntityId: response.id,
|
|
1580
|
+
associatorId: mainEntityDetails.id
|
|
1581
|
+
});
|
|
1582
|
+
entitiesToTrack.push(BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY);
|
|
1583
|
+
}
|
|
1584
|
+
} else {
|
|
1585
|
+
if (businessFinancingType === BusinessFinancingIndices.PARENT_COMPANY) parentCompanyFailed = true;
|
|
1586
|
+
else if (businessFinancingType === BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY) ultimateParentCompanyFailed = true;
|
|
1587
|
+
handleSubmissionError(result.reason, businessFinancingType);
|
|
1588
|
+
}
|
|
1589
|
+
});
|
|
1590
|
+
if (!parentCompanyFailed && !ultimateParentCompanyFailed) {
|
|
1591
|
+
mainEntityDetails.entityAssociations = [...businessFinancingEntityAssociations];
|
|
1592
|
+
const eventsAdditionalData = {
|
|
1593
|
+
...getOrgAnalyticsData("Business", mainEntityDetails),
|
|
1594
|
+
...getOrgAnalyticsData("ParentCompany", parentCompanyBusinessFinancingDetails),
|
|
1595
|
+
...getOrgAnalyticsData("UltimateParentCompany", ultimateParentCompanyBusinessFinancingDetails)
|
|
1596
|
+
};
|
|
1597
|
+
try {
|
|
1598
|
+
await handleBusinessFinancingFormSubmission(BusinessFinancingIndices.COMPANY, mainEntityDetails, createLegalEntity, updateLegalEntity, mainEntityDetails?.id);
|
|
1599
|
+
userEvents.addTaskEvent("Success", {
|
|
1600
|
+
actionType: "submit",
|
|
1601
|
+
returnValue: entitiesToTrack,
|
|
1602
|
+
additionalData: eventsAdditionalData
|
|
1603
|
+
});
|
|
1604
|
+
await invalidateRootLegalEntity();
|
|
1605
|
+
if (showBusinessFinancingFirst || isStandaloneComponent) setShowEndState(true);
|
|
1606
|
+
else externalOnSubmit?.({ ...umfData });
|
|
1607
|
+
} catch (e) {
|
|
1608
|
+
showToast({
|
|
1609
|
+
label: commonT(($) => $["failedToUpdateDetails"]),
|
|
1610
|
+
variant: "error"
|
|
1611
|
+
});
|
|
1612
|
+
handleSubmissionError(e, BusinessFinancingIndices.COMPANY);
|
|
1613
|
+
}
|
|
1614
|
+
setProblems({});
|
|
1615
|
+
}
|
|
1616
|
+
} catch (e) {
|
|
1617
|
+
if (!parentCompanyFailed && !ultimateParentCompanyFailed) handleSubmissionError(e, BusinessFinancingIndices.COMPANY);
|
|
1618
|
+
showToast({
|
|
1619
|
+
label: commonT(($) => $["failedToUpdateDetails"]),
|
|
1620
|
+
variant: "error"
|
|
1621
|
+
});
|
|
1622
|
+
} finally {
|
|
1623
|
+
setLoadingStatus("success");
|
|
1624
|
+
}
|
|
1625
|
+
}
|
|
1626
|
+
};
|
|
1627
|
+
const handleSubmissionError = (error, businessFinancingType) => {
|
|
1628
|
+
const keyMapping = businessFinancingType === BusinessFinancingIndices.SOLE_PROPRIETOR ? {
|
|
1629
|
+
...businessFinancingIndividualApiKeyMapping,
|
|
1630
|
+
...businessFinancingSoleProprietorApiKeyMapping
|
|
1631
|
+
} : businessFinancingApiKeyMapping;
|
|
1632
|
+
if (isValidationError(error.actualError)) {
|
|
1633
|
+
const validationErrors = processValidationErrors(error.actualError, void 0, keyMapping);
|
|
1634
|
+
setProblems((prevProblems) => ({
|
|
1635
|
+
...prevProblems,
|
|
1636
|
+
validationErrors: {
|
|
1637
|
+
...prevProblems?.validationErrors,
|
|
1638
|
+
[businessFinancingType]: validationErrors?.[businessFinancingType] ?? {}
|
|
1639
|
+
}
|
|
1640
|
+
}));
|
|
1641
|
+
} else if (isMaintenanceModeError(error)) showToast({
|
|
1642
|
+
label: commonT(($) => $["maintenanceModeMessage"]),
|
|
1643
|
+
variant: "error",
|
|
1644
|
+
duration: "indefinite"
|
|
1645
|
+
});
|
|
1646
|
+
else showToast({
|
|
1647
|
+
label: commonT(($) => $["failedToUpdateDetails"]),
|
|
1648
|
+
variant: "error"
|
|
1649
|
+
});
|
|
1650
|
+
};
|
|
1651
|
+
const [requiredFields, setRequiredFields] = useState(void 0);
|
|
1652
|
+
const form = useMultiForm({
|
|
1653
|
+
requiredFields,
|
|
1654
|
+
defaultData: derivedData,
|
|
1655
|
+
rules: businessFinancingMultiformRules
|
|
1656
|
+
});
|
|
1657
|
+
const { data: umfData = derivedData, isValid, errors, valid } = form;
|
|
1658
|
+
const businessFinancingRequiredForms = useMemo(() => {
|
|
1659
|
+
let updateForms = {};
|
|
1660
|
+
if (umfData?.soleProprietor) updateForms = { soleProprietor: { ...businessFinancingForms.soleProprietor } };
|
|
1661
|
+
else {
|
|
1662
|
+
updateForms = { company: { ...businessFinancingForms.company } };
|
|
1663
|
+
const showParentCompany = umfData?.company?.isCompanyOwnedByAnotherCompany === "Yes";
|
|
1664
|
+
const showUltimateParentCompany = umfData?.company?.isParentOwnedByAnotherCompany === "Yes";
|
|
1665
|
+
if (showParentCompany) updateForms = {
|
|
1666
|
+
...updateForms,
|
|
1667
|
+
parentCompany: businessFinancingForms.parentCompany
|
|
1668
|
+
};
|
|
1669
|
+
if (showParentCompany && showUltimateParentCompany) updateForms = {
|
|
1670
|
+
...updateForms,
|
|
1671
|
+
ultimateParentCompany: businessFinancingForms.ultimateParentCompany
|
|
1672
|
+
};
|
|
1673
|
+
}
|
|
1674
|
+
return updateForms;
|
|
1675
|
+
}, [
|
|
1676
|
+
umfData?.soleProprietor,
|
|
1677
|
+
umfData?.company?.isCompanyOwnedByAnotherCompany,
|
|
1678
|
+
umfData?.company?.isParentOwnedByAnotherCompany
|
|
1679
|
+
]);
|
|
1680
|
+
useEffect(() => {
|
|
1681
|
+
setRequiredFields(getBusinessFinancingRequiredFields(country, umfData, rootLegalEntity?.organization?.registeredAddress));
|
|
1682
|
+
}, [umfData, rootLegalEntity?.organization?.registeredAddress]);
|
|
1683
|
+
const forms = useMemo(() => {
|
|
1684
|
+
return addValidityToForms(getRequiredForms(businessFinancingRequiredForms, businessFinancingFormsRequiredFields, {}), isValid, problems);
|
|
1685
|
+
}, [
|
|
1686
|
+
businessFinancingRequiredForms,
|
|
1687
|
+
isValid,
|
|
1688
|
+
businessFinancingFormsRequiredFields,
|
|
1689
|
+
problems
|
|
1690
|
+
]);
|
|
1691
|
+
const { handleNextClick, handleBackClick, activeForm, gotoFormByFormIndex, gotoFormByFormId, steps, shouldValidate } = useFormComposer({
|
|
1692
|
+
problems,
|
|
1693
|
+
forms,
|
|
1694
|
+
onSubmit
|
|
1695
|
+
});
|
|
1696
|
+
const renderActiveForm = (selectedForm) => /* @__PURE__ */ jsxs("div", {
|
|
1697
|
+
className: "adyen-kyc-form-wrapper",
|
|
1698
|
+
children: [
|
|
1699
|
+
selectedForm.formId === "soleProprietor" && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingSoleProprietor, {
|
|
1700
|
+
data: derivedData?.soleProprietor,
|
|
1701
|
+
legalEntity: rootLegalEntity,
|
|
1702
|
+
heading: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
|
|
1703
|
+
id: selectedForm.formId,
|
|
1704
|
+
country,
|
|
1705
|
+
shouldValidate,
|
|
1706
|
+
fieldValidationErrors: problems?.validationErrors?.[selectedForm?.formId],
|
|
1707
|
+
formVerificationErrors: problems?.verificationErrors?.[selectedForm?.formId],
|
|
1708
|
+
errors: errors?.soleProprietor,
|
|
1709
|
+
valid: valid?.soleProprietor
|
|
1710
|
+
}),
|
|
1711
|
+
selectedForm.formId === companyFormId && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingCompany, {
|
|
1712
|
+
data: derivedData?.company,
|
|
1713
|
+
legalEntity: rootLegalEntity,
|
|
1714
|
+
heading: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
|
|
1715
|
+
id: companyFormId,
|
|
1716
|
+
country,
|
|
1717
|
+
shouldValidate,
|
|
1718
|
+
fieldValidationErrors: problems?.validationErrors?.[selectedForm?.formId],
|
|
1719
|
+
formVerificationErrors: problems?.verificationErrors?.[selectedForm?.formId],
|
|
1720
|
+
errors: errors?.company,
|
|
1721
|
+
valid: valid?.company
|
|
1722
|
+
}),
|
|
1723
|
+
selectedForm.formId === parentCompanyFormId && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingParentCompany, {
|
|
1724
|
+
data: derivedData?.parentCompany,
|
|
1725
|
+
heading: commonT(($) => $["parentCompanyInformation"]),
|
|
1726
|
+
id: companyFormId,
|
|
1727
|
+
country,
|
|
1728
|
+
shouldValidate,
|
|
1729
|
+
errors: errors?.parentCompany,
|
|
1730
|
+
legalEntity: rootLegalEntity
|
|
1731
|
+
}),
|
|
1732
|
+
selectedForm.formId === ultimateParentCompanyFormId && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingUltimateParentCompany, {
|
|
1733
|
+
data: derivedData?.ultimateParentCompany,
|
|
1734
|
+
heading: commonT(($) => $["ultimateParentCompanyInformation"]),
|
|
1735
|
+
id: companyFormId,
|
|
1736
|
+
country,
|
|
1737
|
+
shouldValidate,
|
|
1738
|
+
errors: errors?.ultimateParentCompany,
|
|
1739
|
+
legalEntity: rootLegalEntity
|
|
1740
|
+
})
|
|
1741
|
+
]
|
|
1742
|
+
});
|
|
1743
|
+
if (!derivedData?.company && !derivedData?.soleProprietor) return /* @__PURE__ */ jsx(Loader, {});
|
|
1744
|
+
const allValidationErrors = problems?.validationErrors && Object.values(problems.validationErrors)?.reduce((acc, validError) => ({
|
|
1745
|
+
...acc,
|
|
1746
|
+
...validError
|
|
1747
|
+
}), {});
|
|
1748
|
+
const allVerificationErrors = problems?.verificationErrors && Object.values(problems.verificationErrors)?.reduce((acc, verifError) => ({
|
|
1749
|
+
...acc,
|
|
1750
|
+
...verifError
|
|
1751
|
+
}), {});
|
|
1752
|
+
const formUtils = createFormUtils({ labels: {} }, commonT);
|
|
1753
|
+
const handleEditForm = (formId) => {
|
|
1754
|
+
const formIndex = forms.findIndex((form) => form.formId === formId);
|
|
1755
|
+
if (formIndex >= 0) gotoFormByFormIndex(formIndex);
|
|
1756
|
+
};
|
|
1757
|
+
const summaryComponent = /* @__PURE__ */ jsx(BusinessFinancingSummary, {
|
|
1758
|
+
items: formatDataForSummary(i18n.language, businessFinancingT, datasetUtils, umfData, rootLegalEntity?.organization?.registeredAddress),
|
|
1759
|
+
handleEditForm,
|
|
1760
|
+
forms,
|
|
1761
|
+
children: /* @__PURE__ */ jsx(ErrorPanel, {
|
|
1762
|
+
validationErrors: allValidationErrors,
|
|
1763
|
+
verificationErrors: allVerificationErrors,
|
|
1764
|
+
formUtils,
|
|
1765
|
+
id: "ariaErrorField",
|
|
1766
|
+
slot: "errorPanel"
|
|
1767
|
+
})
|
|
1768
|
+
});
|
|
1769
|
+
return showEndState ? /* @__PURE__ */ jsx(EndStateLayout, {
|
|
1770
|
+
title: businessFinancingT(($) => $["submissionReceived"]),
|
|
1771
|
+
description: businessFinancingT(($) => $["theInformationProvidedIsBeingReviewed"]),
|
|
1772
|
+
action: externalOnSubmit && !showBusinessFinancingFirst ? /* @__PURE__ */ jsx(Button, {
|
|
1773
|
+
onClick: () => externalOnSubmit?.({ ...umfData }),
|
|
1774
|
+
children: externalOnSubmitLabel || commonT(($) => $["finish"])
|
|
1775
|
+
}) : void 0
|
|
1776
|
+
}) : /* @__PURE__ */ jsx(FormContextProvider, {
|
|
1777
|
+
form,
|
|
1778
|
+
children: /* @__PURE__ */ jsx(FormFlow, {
|
|
1779
|
+
summaryComponent,
|
|
1780
|
+
currentStep: steps.current,
|
|
1781
|
+
disableNextButton: !activeForm.isValid,
|
|
1782
|
+
forms,
|
|
1783
|
+
activeForm,
|
|
1784
|
+
gotoFormByFormIndex,
|
|
1785
|
+
gotoFormByFormId,
|
|
1786
|
+
handleBackClick,
|
|
1787
|
+
handleCancelClick: handleHomeClick,
|
|
1788
|
+
handleNextClick,
|
|
1789
|
+
loadingStatus,
|
|
1790
|
+
totalSteps: steps.total,
|
|
1791
|
+
children: /* @__PURE__ */ jsx("div", { children: renderActiveForm(activeForm || (derivedData?.soleProprietor ? businessFinancingForms.soleProprietor : businessFinancingForms.company)) })
|
|
1792
|
+
})
|
|
1793
|
+
});
|
|
1794
|
+
}
|
|
1795
|
+
//#endregion
|
|
1796
|
+
export { BusinessFinancingDropin as t };
|