@adyen/kyc-components 4.0.0-compact.0 → 4.0.0-compact.2
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-BzyXLUF9.js +24 -0
- package/dist/{AD-CyP5INSp.js → AD-BQAadLyG.js} +2 -2
- package/dist/{AT-DJLlevck.js → AT-BI8ju2NH.js} +2 -2
- package/dist/{AcceptTermsOfServiceComponent-BF24NWVw.js → AcceptTermsOfServiceComponent-CNbcTHZy.js} +51 -66
- package/dist/Accordion-Bjer1DF8.js +88 -0
- package/dist/{AccountSetupRejected-2t22lJUo.js → AccountSetupRejected-Cn672qPs.js} +6 -6
- package/dist/ActionBar-_ItKVS6X.js +31 -0
- package/dist/{Address-DSwfzWFu.js → Address-brlyMNsL.js} +292 -51
- package/dist/{Alert-C24s_Ygs.js → Alert-BjepSgqS.js} +7 -79
- package/dist/{Avatar-DQjt5Lk2.js → Avatar-YKRRWtuD.js} +2 -2
- package/dist/{BE-B-m_4F41.js → BE-nWHKW0xQ.js} +2 -2
- package/dist/{BG-BVR5ytc-.js → BG-HKzabLqZ.js} +3 -3
- package/dist/BusinessDetailsDropin-Be43Lz8z.js +2359 -0
- package/dist/BusinessFinancingComponent-DaXrEiOK.js +55 -0
- package/dist/{BusinessFinancingDropin-C-xm14b8.js → BusinessFinancingDropin-CxvdCIOR.js} +186 -154
- package/dist/BusinessFinancingPage-DR8f57Zt.js +43 -0
- package/dist/{BusinessTypeSelectionPage-ujY2jj6B.js → BusinessTypeSelectionPage-5VrdC33B.js} +13 -13
- package/dist/{CH-CesIKOYy.js → CH-TX4BTE2y.js} +2 -2
- package/dist/{CY-BnJ7k_mN.js → CY-D59Nypl7.js} +2 -2
- package/dist/{CZ-BiPeoA9G.js → CZ-B6iI1GbE.js} +3 -3
- package/dist/Card-DTRTgvkU.js +82 -0
- package/dist/ConstitutionalDocument-LzfYJniz.js +143 -0
- package/dist/{CountryField-D0YZrov9.js → CountryField-BKLmbhSX.js} +195 -216
- package/dist/CreateIndividualComponent-BLXGgGyY.js +71 -0
- package/dist/CreateTransferInstrumentComponent-DVckBQQm.js +63 -0
- package/dist/{Currency-BECbMsi5.js → Currency-MPPfYpO2.js} +10 -65
- package/dist/{CustomerSupport-B8zC_huY.js → CustomerSupport-By2yaM5E.js} +23 -11
- package/dist/{DE-DdcbG-CC.js → DE-CsuX_tSL.js} +2 -2
- package/dist/{DK-DA8qRrzq.js → DK-oQEFrF6o.js} +3 -3
- package/dist/{DebugModal-CshTHx0o.js → DebugModal-DCHlUTNW.js} +128 -43
- package/dist/DecisionMakerDetailsPage-tc-XK5oy.js +106 -0
- package/dist/DecisionMakers-DU88cxZJ.js +842 -0
- package/dist/DropinLayout-CBP_cHLC.js +17 -0
- package/dist/{EE-CaXoPgZz.js → EE-3WZV5Ejt.js} +2 -2
- package/dist/{ES-Bt_oaIaf.js → ES-NfxpqbC2.js} +2 -2
- package/dist/{EmbeddedStatus-BHTZcjUN.js → EmbeddedStatus-Dyw4tZGv.js} +15 -16
- package/dist/{EndStateLayout-CyGtLyvf.js → EndStateLayout-Dyji8Wu9.js} +2 -2
- package/dist/EntityAssociation-Dj13mqhr.js +159 -0
- package/dist/EntityGuidanceStatus-B-VLjG9P.js +105 -0
- package/dist/{FI-C5V3lLuN.js → FI-CHQIvHa-.js} +2 -2
- package/dist/{FR-Bc1tLIC4.js → FR-MWZyWX3x.js} +2 -2
- package/dist/FormFlow-KgmudcUf.js +186 -0
- package/dist/{FormNavigation-ezxkIqdb.js → FormNavigation-CFIXqopX.js} +6 -24
- package/dist/{useGlobalData-jb7ua9I6.js → FormWrapper-CCyMspMC.js} +12 -82
- package/dist/{GG-BGuqxplU.js → GG-CPoMVQPc.js} +3 -3
- package/dist/{GI-CROkpYrU.js → GI-DxmBwVD_.js} +3 -3
- package/dist/{GR-B9c2boG8.js → GR-Rk0pXlNw.js} +2 -2
- package/dist/{HR-p4luVYpu.js → HR-WapHW2fw.js} +2 -2
- package/dist/{HU-D8vJYkDH.js → HU-DCOMuOhe.js} +3 -3
- package/dist/{IE-Cli_j7Al.js → IE-BkgtVgDi.js} +2 -2
- package/dist/{IM-mpIyBn16.js → IM-Wr4iDT94.js} +3 -3
- package/dist/{IS-02zCAdvq.js → IS-C-Cgc6zp.js} +2 -2
- package/dist/{IT-CzURFhrK.js → IT-CXekiddL.js} +2 -2
- package/dist/{IndividualOnfidoDropin-vuHu-O_C.js → IndividualOnfido-DGWs87Bu.js} +8212 -6455
- package/dist/IndividualOnfidoDropin-CUY4R6Np.js +2569 -0
- package/dist/{InputText-BX5sG9WJ.js → InputText-DXkZ7fwq.js} +101 -13
- package/dist/{Introduction-BsKwELuc.js → Introduction-CjaMyLeR.js} +7 -11
- package/dist/{JE-MFwIYti7.js → JE-B4gj54Hg.js} +3 -3
- package/dist/JpAddress-DSZyw5JH.js +271 -0
- package/dist/{LI-DA06W10W.js → LI-L0ZAALRT.js} +2 -2
- package/dist/{LT-DuU6E2Ct.js → LT-Ao2uagV9.js} +2 -2
- package/dist/{LU-BQHhNpDy.js → LU-B7LRUuc6.js} +2 -2
- package/dist/{LV-DN7wckbP.js → LV-DZeGjA2G.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-DtMHe1Nq.js → LegalRepresentativeDetailsPage-L1HAsU01.js} +6 -7
- package/dist/ListItem-COe1T6IG.js +69 -0
- package/dist/{MC-DtSWC4jS.js → MC-EDVNGWhy.js} +2 -2
- package/dist/{MT-DeDMQ1f_.js → MT-B9my7RlP.js} +2 -2
- package/dist/ManageIndividualComponent-ySaPJphf.js +46 -0
- package/dist/ManageTermsOfServiceComponent-ClF1MHMK.js +52 -0
- package/dist/{ManageTransferInstrumentComponent-DywpP5PK.js → ManageTransferInstrumentComponent-D26m3iJX.js} +19 -26
- package/dist/{MaybeModal-CE9kYOrU.js → MaybeModal-BPq0SmbE.js} +15 -4
- package/dist/{Modal-nMRQDTF7.js → Modal-qvqrnkl9.js} +19 -6
- package/dist/{NL-aVL0NAp-.js → NL-VXAFOhV5.js} +2 -2
- package/dist/{NO-D7EOiQA1.js → NO-Cx1VSh2W.js} +3 -3
- package/dist/OnboardingDropinComponent-CAowzo5z.js +7617 -0
- package/dist/{PL-Bg7axKQA.js → PL-BZW1hGvD.js} +3 -3
- package/dist/{PT-hB1HnBM2.js → PT-OpU4MU3L.js} +2 -2
- package/dist/{PayoutDetailsDropin-BJIqXmPn.js → PayoutDetailsDropin-CElcAZkT.js} +1530 -384
- package/dist/ProgressBar-B7gTQncy.js +47 -0
- package/dist/{RO-BLlC4CKq.js → RO-Cz6Sh0ls.js} +2 -2
- package/dist/{Review-D7NEYFoT.js → Review-BsSmYJ0Z.js} +9 -8
- package/dist/RootBusinessDetailsPage-DfaUd-dT.js +46 -0
- package/dist/RootBusinessLinesPage-BUU93N7l.js +1484 -0
- package/dist/RootIndividualDetailsPage-pNQ9v0Cg.js +71 -0
- package/dist/{SE-q25Qt85B.js → SE-B5K-FkQd.js} +3 -3
- package/dist/{SI-BzA-ozn6.js → SI-BOGTNLPa.js} +2 -2
- package/dist/{SK-DOTdLJPw.js → SK-BOVrp_Av.js} +2 -2
- package/dist/{SM-B4BIgmhk.js → SM-meowwILA.js} +2 -2
- package/dist/{SignPCIComponent-C0iYfSl6.js → SignPCIComponent-DA9HTJcn.js} +29 -19
- package/dist/{SingpassSelection-ClMlwfoj.js → SingpassSelection-CWJuYh4-.js} +10 -10
- package/dist/SoleProprietorshipPage-p5JwimAo.js +46 -0
- package/dist/{SourceOfFundsPage-D-pN33-9.js → SourceOfFundsPage-CG0pItrl.js} +238 -956
- package/dist/{MaskedInput-BZ7t98eu.js → Spacer-BcPESwGJ.js} +641 -24
- package/dist/{StepProgressIndicator-BWCQmDeV.js → StepProgressIndicator-BG5uNVKJ.js} +2 -2
- package/dist/{StoreProvider-BlaJzXSZ.js → StoreProvider-D0o_745u.js} +1195 -560
- package/dist/Summary-DfChUS-N.js +204 -0
- package/dist/{TaxReportingDropin-CVbVkFhv.js → TaxReportingDropin-BhFHPYrV.js} +76 -74
- package/dist/TrustDetailsPage-UI7Qhogx.js +2149 -0
- package/dist/TrustMemberCompanyPage-Cvq23-mG.js +57 -0
- package/dist/TrustMemberIndividualPage-9eQ_yj88.js +66 -0
- package/dist/TrustMemberRoleAndTypePage-C5X4yQcZ.js +985 -0
- package/dist/TrustMembersOverview-DS3F2gW9.js +438 -0
- package/dist/{UnincorporatedPartnershipIndividualPage-vzn0R02z.js → UnincorporatedPartnershipIndividualPage-B9EMaXkA.js} +6 -7
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-C-kGU5Sh.js → UnincorporatedPartnershipMemberCompanyPage-DqpxNM8J.js} +7 -11
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-DuWERJIv.js +281 -0
- package/dist/UnincorporatedPartnershipMembersOverview-CXIrEXgp.js +172 -0
- package/dist/{VA-bPXdCnwD.js → VA-DXsYTCoh.js} +2 -2
- package/dist/VerificationErrorAlert-Cwea2nvk.js +79 -0
- package/dist/{ViewVerificationStatusComponent-BTW-Vw9I.js → ViewVerificationStatusComponent-C5rBiaSa.js} +16 -13
- package/dist/adyen-business-financing.js +10 -7
- package/dist/adyen-individual-configuration.js +7 -8
- package/dist/adyen-individual-status.js +7 -8
- package/dist/adyen-kyc-components.js +38 -33
- package/dist/adyen-onboarding.js +4 -5
- package/dist/adyen-terms-of-service-management.js +7 -8
- package/dist/adyen-terms-of-service-status.js +7 -8
- package/dist/adyen-transfer-instrument-configuration.js +7 -8
- package/dist/adyen-transfer-instrument-management.js +7 -8
- package/dist/adyen-verification-status.js +5 -6
- package/dist/{arrow-right-D_mdkZmE.js → arrow-right-KxA3SvQj.js} +2 -2
- package/dist/{bag-DpxmyXfR.js → bag-BPumznWh.js} +2 -2
- package/dist/{bank-gyBvaSp4.js → bank-D6FiNBhs.js} +2 -2
- package/dist/bin-Bz6KOIeE.js +18 -0
- package/dist/capital-GVQ3svwN.js +17 -0
- package/dist/{cash-stack-Ds76Du8m.js → cash-stack-D9AoDDwt.js} +3 -3
- package/dist/{certificate-D6xjhThs.js → certificate-CdEWgHQf.js} +3 -3
- package/dist/{checkmark-tfEAu7lj.js → checkmark-Q7x6tGhy.js} +2 -2
- package/dist/checkmark-circle-fill-CsvN5_PL.js +17 -0
- package/dist/{checkmark-circle-nACBJ24q.js → checkmark-circle-x7dzbp3I.js} +3 -3
- package/dist/{checkmark-small-63w5fAxg.js → checkmark-small-D35myntq.js} +2 -2
- package/dist/{chevron-down-CkQS-knD.js → chevron-down-C2iDorpW.js} +2 -2
- package/dist/{chevron-left-CBCMdMx6.js → chevron-left-ztPO84q-.js} +2 -2
- package/dist/{chevron-right-dIVWvPJu.js → chevron-right-C_JN0oDt.js} +2 -2
- package/dist/{chevron-up-D93IGU9z.js → chevron-up-CgG8n25g.js} +2 -2
- package/dist/circle-Bt3Nlr3q.js +17 -0
- package/dist/circle-small-filled-YMzP6yQU.js +14 -0
- package/dist/clock-BZHremOA.js +20 -0
- package/dist/coins-fkAk6dCo.js +17 -0
- package/dist/{contract-DI03_xrF.js → contract-BTa4HltT.js} +2 -2
- package/dist/{cross-o4n5KXxG.js → cross-Cn09MtQ_.js} +2 -2
- package/dist/cross-circle-fill-maan7Z5S.js +17 -0
- package/dist/{cross-circle-fill-small-CHMDaA3q.js → cross-circle-fill-small-DCz52AuN.js} +2 -2
- package/dist/da-DK-BlU1EczG.js +30 -0
- package/dist/da-DK-DCJhV2qS.js +32 -0
- package/dist/da-DK-DEdQ-QPp.js +13 -0
- package/dist/da-DK-DWA8uOd8.js +24 -0
- package/dist/{da-DK-BoQic3Gy.js → da-DK-DYpfNZdP.js} +5 -1
- package/dist/da-DK-DZwlENGe.js +13 -0
- package/dist/da-DK-Dc0QYG8m.js +68 -0
- package/dist/da-DK-DqkN5oIu.js +13 -0
- package/dist/da-DK-DvZ431fC.js +13 -0
- package/dist/{da-DK-B45X2VaJ.js → da-DK-JHZnsI59.js} +24 -4
- package/dist/da-DK-gnPgzwrG.js +27 -0
- package/dist/da-DK-h8DYQ_Iq.js +13 -0
- package/dist/da-DK-jK7c9UL0.js +57 -0
- package/dist/de-DE-0uSzhWg5.js +13 -0
- package/dist/{de-DE-Dwagawx1.js → de-DE-BXt1K0Tr.js} +5 -1
- package/dist/de-DE-COuUdtao.js +13 -0
- package/dist/de-DE-D3lLuF8z.js +27 -0
- package/dist/de-DE-D50lGOJE.js +24 -0
- package/dist/de-DE-DXR3EpEc.js +13 -0
- package/dist/de-DE-DrSSblam.js +13 -0
- package/dist/de-DE-DwOQKCuU.js +32 -0
- package/dist/de-DE-Dz2OsS1F.js +68 -0
- package/dist/de-DE-LQE_LFFL.js +13 -0
- package/dist/{de-DE-CWvgMDqU.js → de-DE-VGGEkxUT.js} +24 -4
- package/dist/de-DE-s0B-XZyp.js +30 -0
- package/dist/de-DE-wmerDL2e.js +57 -0
- package/dist/debouncedInputEvent-DbzJEMPo.js +109 -0
- package/dist/{form-rules-DhbF2mY4.js → debugStore-BvbyN1Oi.js} +4 -3
- package/dist/{document-1-DsCi9vmX.js → document-1-C08ut-Dt.js} +2 -2
- package/dist/document-person-vxlA6C5f.js +20 -0
- package/dist/documentUtils-Cc83Q1S6.js +218 -0
- package/dist/download-Drhk9k1f.js +17 -0
- package/dist/{dropinUtils-DHp5v5jB.js → dropinUtils-D0iun-Wp.js} +32 -24
- package/dist/edit-1-CFoDTMvQ.js +14 -0
- package/dist/en-US-AgtwE4Fl.js +63 -0
- package/dist/en-US-B96dpVon.js +27 -0
- package/dist/en-US-BQZhzROc.js +32 -0
- package/dist/en-US-CozY33On.js +13 -0
- package/dist/{en-US-DIdQJky-.js → en-US-CzEL6t1W.js} +24 -4
- package/dist/en-US-D-B35AoN.js +68 -0
- package/dist/en-US-D2yrwtzT.js +24 -0
- package/dist/{en-US-BbAzROHT.js → en-US-Dg505Oh3.js} +2 -1
- package/dist/en-US-d4WBvUW7.js +118 -0
- package/dist/en-US-fyGPkcqX.js +13 -0
- package/dist/en-US-gsp7CD_E.js +57 -0
- package/dist/en-US-h0JneJJl.js +13 -0
- package/dist/es-ES-B7dt4cn7.js +13 -0
- package/dist/es-ES-BI_jdT67.js +68 -0
- package/dist/es-ES-BOoPqnPI.js +32 -0
- package/dist/{es-ES-Bsoco8Fj.js → es-ES-BhNhIf08.js} +5 -1
- package/dist/{es-ES-DKCCgVF8.js → es-ES-Bn9_0wK0.js} +24 -4
- package/dist/es-ES-CXDJLKAI.js +27 -0
- package/dist/es-ES-DF_L5EDd.js +24 -0
- package/dist/es-ES-DNGEW6V_.js +13 -0
- package/dist/es-ES-DdGmXdxO.js +13 -0
- package/dist/es-ES-Qnc0Q6JH.js +57 -0
- package/dist/es-ES-ShWaSuJd.js +13 -0
- package/dist/es-ES-esfwvKwz.js +30 -0
- package/dist/es-ES-yMXcOjDL.js +13 -0
- package/dist/{external-link-BjladU3E.js → external-link-DCMYUMfW.js} +2 -2
- package/dist/fi-FI-CIYa9SyS.js +13 -0
- package/dist/fi-FI-ChApf7lf.js +13 -0
- package/dist/fi-FI-CjB6QC01.js +30 -0
- package/dist/fi-FI-CoI_94Fv.js +13 -0
- package/dist/fi-FI-DH6jpo9K.js +24 -0
- package/dist/fi-FI-Dn2MC8uW.js +57 -0
- package/dist/{fi-FI-Hhku9Lmc.js → fi-FI-PVFqd5Ra.js} +24 -4
- package/dist/fi-FI-REMsyTSr.js +13 -0
- package/dist/fi-FI-bZzNB1WB.js +32 -0
- package/dist/fi-FI-fArobrt5.js +27 -0
- package/dist/fi-FI-hwzizPnr.js +68 -0
- package/dist/fi-FI-xqnQ38yC.js +13 -0
- package/dist/{fi-FI-ClnsYt3L.js → fi-FI-ysUrBilO.js} +5 -1
- package/dist/{fr-FR-CJI0bIig.js → fr-FR-BSvSKazD.js} +5 -1
- package/dist/fr-FR-BSynpexF.js +13 -0
- package/dist/fr-FR-BWX14yb7.js +57 -0
- package/dist/fr-FR-BnblnBsx.js +24 -0
- package/dist/fr-FR-Br7OeDIe.js +13 -0
- package/dist/fr-FR-C1XqLftn.js +30 -0
- package/dist/fr-FR-CYZXbwc9.js +68 -0
- package/dist/fr-FR-CiwkAb3E.js +27 -0
- package/dist/fr-FR-CvHWmim-.js +13 -0
- package/dist/fr-FR-Q3urMjbl.js +13 -0
- package/dist/fr-FR-cTKcuHqX.js +32 -0
- package/dist/fr-FR-l5z31r7i.js +13 -0
- package/dist/{fr-FR-BYuKsZIb.js → fr-FR-mJK4hjwD.js} +24 -4
- package/dist/getFieldsWithExistingData-2sKn11MH.js +22 -0
- package/dist/{getName-DJlhsDj_.js → getName-DhbqyTuj.js} +2 -2
- package/dist/gift-CQ_DEma7.js +14 -0
- package/dist/{graph-DwYwlplw.js → graph-BJmqglH2.js} +3 -3
- package/dist/{graph-up-DpbCSPbc.js → graph-up-Bq6adtlX.js} +6 -6
- package/dist/{hasDataChanged-BgvxL-Hx.js → hasDataChanged-ZEmm9mgZ.js} +2 -2
- package/dist/headquarter-DNYyuuFq.js +21 -0
- package/dist/{hotel-JX0bjsSA.js → hotel-BuNql78Z.js} +3 -3
- package/dist/{iframeWidget-Bftkd3v_.js → iframeWidget-DhidmNAp.js} +4 -4
- package/dist/image-BSihO8lR.js +17 -0
- package/dist/info-filled-SQotHmT9.js +17 -0
- package/dist/info-vHTZWoJ7.js +21 -0
- package/dist/it-IT-B0YGvVgW.js +57 -0
- package/dist/it-IT-BAvmkEF8.js +13 -0
- package/dist/it-IT-BAvsF2TB.js +13 -0
- package/dist/{it-IT-Nl57jui-.js → it-IT-BTWkWSJq.js} +24 -4
- package/dist/it-IT-BeX7-OcD.js +13 -0
- package/dist/it-IT-C_651bEP.js +13 -0
- package/dist/it-IT-C_YDqVNT.js +30 -0
- package/dist/it-IT-Ckv8Ce4e.js +24 -0
- package/dist/it-IT-DERflsUd.js +32 -0
- package/dist/it-IT-DIbH-udG.js +27 -0
- package/dist/it-IT-Erh1DIlj.js +68 -0
- package/dist/{it-IT-BeC2Y1F8.js → it-IT-Qfzc8jnW.js} +5 -1
- package/dist/it-IT-vdMlF0Ha.js +13 -0
- package/dist/{localizeDateString-DHsivjy2.js → localizeDateString-DYxbMJdq.js} +2 -2
- package/dist/location-Q4oKvnkl.js +17 -0
- package/dist/mail-BOdyoVqB.js +14 -0
- package/dist/mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js +56 -0
- package/dist/{mapExistingFile-DW5ktJzM.js → mapExistingFile-DGRyOBjp.js} +5 -80
- package/dist/mapFinancialReportsToFinancialInformation-DBdQzrBs.js +67 -0
- package/dist/mapJpAddressSchemaToAddressLocalizations-uwuFlYx9.js +63 -0
- package/dist/mapLegalEntityToIndividualOnfidoSchema-C6mqHFxh.js +146 -0
- package/dist/{mapTransferInstrumentToPayoutAccount-CAoOlPMA.js → mapTransferInstrumentToPayoutAccount-CrO59de3.js} +6 -3
- package/dist/{minus-circle-filled-BGKeHaxJ.js → minus-circle-filled-kC2IUvKz.js} +3 -3
- package/dist/nl-NL-BMUYBqlF.js +57 -0
- package/dist/nl-NL-BwKrj-29.js +13 -0
- package/dist/nl-NL-Bx5p0nXL.js +24 -0
- package/dist/nl-NL-C3YJkSIj.js +13 -0
- package/dist/nl-NL-CM5U8ODq.js +13 -0
- package/dist/{nl-NL-BHkRnVrj.js → nl-NL-CTf7zH4M.js} +24 -4
- package/dist/nl-NL-Cjlmc0Ii.js +32 -0
- package/dist/{nl-NL-Cysslsh2.js → nl-NL-D7gBNWEY.js} +5 -1
- package/dist/nl-NL-DV4NqPVW.js +13 -0
- package/dist/nl-NL-DyeSX0PH.js +30 -0
- package/dist/nl-NL-JChnFdCY.js +13 -0
- package/dist/nl-NL-NlkjOSYi.js +27 -0
- package/dist/nl-NL-O9GCHMDA.js +68 -0
- package/dist/no-NO--OoWld_l.js +13 -0
- package/dist/no-NO-B6OPS2CA.js +13 -0
- package/dist/no-NO-B9618F4_.js +13 -0
- package/dist/no-NO-BQL_M1pn.js +13 -0
- package/dist/no-NO-Bs3-6MDM.js +24 -0
- package/dist/{no-NO-zSnPtrDi.js → no-NO-C-gCYc9q.js} +5 -1
- package/dist/no-NO-CA1aR6Wh.js +68 -0
- package/dist/no-NO-CY_XHrYd.js +32 -0
- package/dist/no-NO-Crlsj6HG.js +27 -0
- package/dist/no-NO-D4BECLky.js +130 -0
- package/dist/no-NO-DKbWxgF-.js +57 -0
- package/dist/no-NO-DPRsAb_o.js +30 -0
- package/dist/{no-NO-kaAdT9B8.js → no-NO-RfTK9KAV.js} +24 -4
- package/dist/{options-horizontal-nJ9-ButA.js → options-horizontal-CBmbNv7R.js} +4 -4
- package/dist/partner-CPjsrePY.js +18 -0
- package/dist/pay-by-link-plane-BVZndh67.js +22 -0
- package/dist/{payout-iEmHhgQ4.js → payout-ChUEoLjt.js} +6 -6
- package/dist/payout-verification-instant-5u-wvFKv.js +41 -0
- package/dist/payout-verification-manual-BH2mu0UW.js +90 -0
- package/dist/person-DGjUU4S4.js +17 -0
- package/dist/{plus-CwLva7fq.js → plus-CWXA5wdX.js} +2 -2
- package/dist/plus-circle-filled-CbC0u2Y1.js +17 -0
- package/dist/process-field-configurations-IsZZTbcC.js +324 -0
- package/dist/pt-BR--kaJvtE6.js +57 -0
- package/dist/pt-BR-AZ3roErF.js +13 -0
- package/dist/pt-BR-BKQRvAfq.js +13 -0
- package/dist/pt-BR-BbFJsIVX.js +55 -0
- package/dist/pt-BR-BfxgHKY4.js +27 -0
- package/dist/pt-BR-C-C4ZJ9x.js +30 -0
- package/dist/pt-BR-C0I_kTQ6.js +13 -0
- package/dist/pt-BR-CBAe0SnK.js +32 -0
- package/dist/pt-BR-DSENwwGu.js +24 -0
- package/dist/pt-BR-NtLaWlnZ.js +68 -0
- package/dist/pt-BR-gh27BC86.js +13 -0
- package/dist/pt-BR-nU_2Wbo5.js +54 -0
- package/dist/pt-BR-ur86nRrK.js +37 -0
- package/dist/pt-BR-zuqB_CBf.js +13 -0
- package/dist/{pt-PT-Xm-pm3mb.js → pt-PT-B4F_5NWi.js} +24 -4
- package/dist/pt-PT-BZ5ZZm6G.js +57 -0
- package/dist/pt-PT-Bf4IV7wp.js +13 -0
- package/dist/pt-PT-CFY1O_K0.js +13 -0
- package/dist/pt-PT-CIo3mlXL.js +24 -0
- package/dist/{pt-PT-CjsyP_OK.js → pt-PT-CVNEcs32.js} +5 -1
- package/dist/pt-PT-D2Xe-OdG.js +13 -0
- package/dist/pt-PT-DSxxVA0f.js +68 -0
- package/dist/pt-PT-DVKtHjIY.js +13 -0
- package/dist/pt-PT-DYihdcJx.js +13 -0
- package/dist/pt-PT-Dm5DRDrd.js +32 -0
- package/dist/pt-PT-LbneTcRx.js +30 -0
- package/dist/pt-PT-TKg5FLat.js +27 -0
- package/dist/recurring-CkL4cCM2.js +17 -0
- package/dist/{reporting-DlRoibD7.js → reporting-DerosUNm.js} +1 -2
- package/dist/resolveEnvironment-CM4-oCnd.js +164 -0
- package/dist/revenue-accelerate-Dp4Ns_5c.js +17 -0
- package/dist/{rules-DP3jxPzq.js → rules-BFaDNVc6.js} +14 -8
- package/dist/save-Fgy7EDid.js +14 -0
- package/dist/search-C4GZ-Rc1.js +17 -0
- package/dist/{show-uL6I-rMo.js → show-yPjPmEf8.js} +3 -3
- package/dist/sl-SI-59OQIZ3f.js +13 -0
- package/dist/sl-SI-8SzKx7XD.js +30 -0
- package/dist/sl-SI-C-C-KJCX.js +27 -0
- package/dist/sl-SI-C0wSbuau.js +13 -0
- package/dist/{sl-SI-Br0UEUPL.js → sl-SI-CUCrzJQv.js} +5 -1
- package/dist/sl-SI-DdjgSySI.js +13 -0
- package/dist/sl-SI-DtdGMD6i.js +57 -0
- package/dist/{solution-payments-DTAuLSWF.js → solution-payments-CNAat9h7.js} +2 -2
- package/dist/store-IuAkDRAp.js +14 -0
- package/dist/style.css +2655 -2214
- package/dist/styles-CLV89_hH.js +2670 -2229
- package/dist/sv-SE-B7cpKp1l.js +30 -0
- package/dist/sv-SE-BHfydid5.js +27 -0
- package/dist/sv-SE-BHkYspm-.js +130 -0
- package/dist/{sv-SE-BtXmvxx4.js → sv-SE-C6uPh9g5.js} +5 -1
- package/dist/sv-SE-CQWBP7n1.js +13 -0
- package/dist/sv-SE-CRBRuE8Z.js +32 -0
- package/dist/sv-SE-CXaMlJCI.js +24 -0
- package/dist/{sv-SE-B3zoXMuH.js → sv-SE-DGpvVvWj.js} +24 -4
- package/dist/sv-SE-DsPdegWB.js +13 -0
- package/dist/sv-SE-DtKjf4Go.js +13 -0
- package/dist/sv-SE-K1QT1cOt.js +68 -0
- package/dist/sv-SE-kR514dO1.js +57 -0
- package/dist/sv-SE-zTiw1bUU.js +13 -0
- package/dist/terminal-1-_me9J9h0.js +18 -0
- package/dist/trackNavigation-db_h46BT.js +28 -0
- package/dist/types/api/address/useAddressCleanse.d.ts +6 -2
- package/dist/types/api/address/useRetrieveAddress.d.ts +3 -1
- package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +18 -0
- package/dist/types/api/businessLines/businessLines.types.d.ts +21 -0
- package/dist/types/api/businessLines/useBusinessLines.d.ts +4 -2
- package/dist/types/api/businessLines/useCreateBusinessLine.d.ts +7 -0
- package/dist/types/api/businessLines/useDeleteBusinessLine.d.ts +5 -0
- package/dist/types/api/businessLines/useUpdateBusinessLines.d.ts +7 -0
- package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +1 -0
- package/dist/types/api/companySearch/useCompanySearch.d.ts +1 -0
- package/dist/types/api/companySelection/useCompanySelection.d.ts +2 -18
- package/dist/types/api/configurations/useScenarios.d.ts +12 -12
- package/dist/types/api/documentValidation/useDocumentValidate.d.ts +15 -0
- package/dist/types/api/industryCodes/industryCodes.types.d.ts +2 -1
- package/dist/types/api/industryCodes/useIndustryCodes.d.ts +3 -3
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +16 -16
- package/dist/types/api/{pciTemplate/pciTemplate.types.d.ts → pci/pci.types.d.ts} +9 -1
- package/dist/types/api/{pciTemplate → pci}/usePciQuestionnaire.d.ts +1 -1
- package/dist/types/api/{pciTemplate → pci}/usePciQuestionnaireList.d.ts +1 -1
- package/dist/types/api/{pciTemplate → pci}/usePciStatus.d.ts +1 -1
- package/dist/types/api/pci/usePciTemplate.d.ts +8 -0
- package/dist/types/api/queryKeys.d.ts +5 -4
- package/dist/types/components/BankAccount/fields/BankAccountFormat/types.d.ts +2 -1
- package/dist/types/components/BankAccount/fields/PreferredCurrency/PreferredCurrency.d.ts +10 -0
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentClassification.d.ts +5 -0
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirementsModal.d.ts +6 -0
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +2 -2
- package/dist/types/components/BankAccount/forms/BankDocument/validate.d.ts +3 -0
- package/dist/types/components/BankAccount/forms/BankVerification/BankVerification.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankVerification/types.d.ts +7 -0
- package/dist/types/components/BankAccount/forms/BankVerification/verification/overlay/BankVerificationOverlay.d.ts +3 -0
- package/dist/types/components/BankAccount/forms/PayoutAccount/payoutAccountFormat.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +2 -0
- package/dist/types/components/BankAccount/forms/PayoutCountryDetails/PayoutCountryDetails.d.ts +3 -0
- package/dist/types/components/BankAccount/forms/PayoutCountryDetails/PayoutRequirementsModal.d.ts +8 -0
- package/dist/types/components/BankAccount/forms/PayoutCountryDetails/types.d.ts +13 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetails.d.ts +6 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -0
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/PayoutVerificationMethod.d.ts +1 -2
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +5 -5
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/utils.d.ts +2 -0
- package/dist/types/components/BankAccount/mapping/mapPayoutAccountSchemaToApiBankAccount.d.ts +3 -2
- package/dist/types/components/BankAccount/mapping/mapPayoutDetailsToTransferInstrument.d.ts +2 -1
- package/dist/types/components/BankAccount/mapping/mapTransferInstrumentToPayoutAccount.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +1052 -642
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +3 -3
- package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +5 -4
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformation.d.ts +1 -2
- package/dist/types/components/Business/forms/AdditionalInformation/{VerifiedBusinessCard.d.ts → VerifiedBusinessCard/VerifiedBusinessCard.d.ts} +2 -3
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +6 -7
- package/dist/types/components/Business/forms/BasicInformation/BasicInformation.d.ts +1 -4
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +5 -18
- package/dist/types/components/Business/{tasks/BusinessDetailsMultiformDropin → forms/BusinessDetails}/BusinessDetailsMultiform.d.ts +2 -1
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +0 -35
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +0 -21
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +0 -1
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelection.d.ts +13 -3
- package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +0 -11
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructure.d.ts +3 -3
- package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +0 -6
- package/dist/types/components/Business/forms/ProofOfDirectorDocument/ProofOfDirectorDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfDirectorDocument/types.d.ts +0 -3
- package/dist/types/components/Business/forms/ProofOfOwnershipDocument/ProofOfOwnershipDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfOwnershipDocument/types.d.ts +0 -3
- package/dist/types/components/Business/forms/ProofOfSignatoryDocument/ProofOfSignatoryDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfSignatoryDocument/types.d.ts +0 -3
- package/dist/types/components/Business/forms/RegistrationDocument/RegistrationDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/RegistrationDocument/types.d.ts +3 -5
- package/dist/types/components/Business/forms/TaxDocument/TaxDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/TaxDocument/types.d.ts +3 -5
- package/dist/types/components/Business/forms/forms.types.d.ts +0 -3
- package/dist/types/components/Business/forms/rules.d.ts +3 -1
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -2
- package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +3 -3
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +5 -4
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +16 -10
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +26 -5
- package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +5 -0
- package/dist/types/components/Business/utils/companyTypeMetadata.d.ts +3 -3
- package/dist/types/components/Business/utils/requestingCapabilities.d.ts +3 -0
- package/dist/types/components/BusinessLines/constants.d.ts +31 -0
- package/dist/types/components/BusinessLines/fields/Carousel/Carousel.d.ts +30 -0
- package/dist/types/components/BusinessLines/fields/SalesChannels/SalesChannels.d.ts +2 -0
- package/dist/types/components/BusinessLines/fields/SalesChannels/types.d.ts +6 -0
- package/dist/types/components/BusinessLines/fields/SctaField/SctaField.d.ts +2 -0
- package/dist/types/components/BusinessLines/fields/SctaField/types.d.ts +6 -0
- package/dist/types/components/BusinessLines/fields/WebDataField/WebDataField.d.ts +2 -0
- package/dist/types/components/BusinessLines/fields/WebDataField/types.d.ts +6 -0
- package/dist/types/components/BusinessLines/forms/IndustryCodesForm/IndustryCodesForm.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/IndustryCodesForm/types.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/SalesChannelsForm/SalesChannelsForm.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/SalesChannelsForm/types.d.ts +3 -0
- package/dist/types/components/BusinessLines/forms/SctaForm/SctaForm.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/SctaForm/SctaInfoModal.d.ts +3 -0
- package/dist/types/components/BusinessLines/forms/SctaForm/types.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/rules.d.ts +6 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLineModal/BusinessLineModal.d.ts +6 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLines.d.ts +9 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesDropin.d.ts +2 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesStore.d.ts +3 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/ExistingBusinessLines/ExistingBusinessLines.d.ts +8 -0
- package/dist/types/components/BusinessLines/tasks/types.d.ts +19 -0
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +40 -0
- package/dist/types/components/BusinessLines/tasks/validate.d.ts +11 -0
- package/dist/types/components/Contract/hooks/useSalesChannels.d.ts +2 -0
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/ServiceAgreementDropin.d.ts +1 -1
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -2
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +1328 -758
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBasicCompanyInformation.d.ts +0 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBusinessInformation.d.ts +0 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.d.ts +0 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingOwnershipStructure.d.ts +0 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingRegisteredAddress.d.ts +0 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +7 -5
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsType.d.ts +3 -0
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/sofStore.d.ts +1 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +14 -13
- package/dist/types/components/EFP/tasks/TaxReportingDropin/taxClassificationStore.d.ts +1 -1
- package/dist/types/components/EFP/tasks/TaxReportingDropin/utils.d.ts +6 -6
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/BusinessFinancingComponent.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +3 -3
- package/dist/types/components/EmbeddedDropins/SignPCIComponent/SignPCIComponent.d.ts +3 -1
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/content.d.ts +3 -3
- package/dist/types/components/Individual/fields/NameFields/NameFields.d.ts +3 -0
- package/dist/types/components/Individual/forms/Individual/IdVerification/idVerificationProviderId.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/idVerificationMethodMetadata.d.ts +3 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +2 -0
- package/dist/types/components/Individual/forms/Individual/rules.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +2 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IdNowVerificationModal/isIdNowModalOpen.d.ts +3 -3
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +2 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaire.types.d.ts +4 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaireModalContent.d.ts +3 -1
- package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +2 -2
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +2 -8
- package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +2 -6
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.d.ts +1 -1
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.types.d.ts +2 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +57 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/RemediationAlerts/RemediationAlerts.d.ts +7 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/RemediationAlerts/remediation.config.d.ts +19 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +0 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/utils.d.ts +3 -0
- package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoStore.d.ts +1 -1
- package/dist/types/components/Shared/EntityAssociation/EntityAssociation.d.ts +1 -1
- package/dist/types/components/Shared/EntityAssociation/types.d.ts +2 -4
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +0 -2
- package/dist/types/components/Shared/FormNavigation/FormNavigation.d.ts +1 -1
- package/dist/types/components/Shared/FormNavigation/types.d.ts +0 -2
- package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +1 -3
- package/dist/types/components/Shared/Introduction/copy.d.ts +2 -2
- package/dist/types/components/Shared/Summary/Summary.d.ts +1 -1
- package/dist/types/components/Shared/Summary/types.d.ts +1 -2
- package/dist/types/components/Shared/TaskVerificationStatus/TaskVerificationStatus.d.ts +18 -0
- package/dist/types/components/Shared/devex/DebugListener/DebugFormData.d.ts +1 -0
- package/dist/types/components/Shared/devex/DebugListener/debugStore.d.ts +5 -0
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +1 -0
- package/dist/types/components/Shared/fields/IndustryCodeField/IndustryCodeField.d.ts +4 -0
- package/dist/types/components/Shared/fields/IndustryCodeField/fieldConfig.d.ts +3 -0
- package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +22 -0
- package/dist/types/components/Shared/fields/IndustryCodeField/validate.d.ts +3 -0
- package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/fieldConfig.d.ts +4 -4
- package/dist/types/components/Shared/forms/Address/localized/jp/JpAddress.d.ts +7 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/ReadonlyTextField.d.ts +7 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/jpAddressSchema.d.ts +5 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/mapAddressLocalizationToJpAddressSchema.d.ts +3 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSchemaToAddressLocalizations.d.ts +3 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.d.ts +4 -0
- package/dist/types/components/Shared/forms/Address/utils.d.ts +3 -2
- package/dist/types/components/Shared/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -2
- package/dist/types/components/Shared/forms/RegistrationAddress/RegistrationAddressMultiform.d.ts +3 -0
- package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +3 -2
- package/dist/types/components/Shared/tasks/CustomerSupport/mapping/customerSupportKeyMapping.d.ts +4 -0
- package/dist/types/components/Shared/tasks/TaskList/TaskList.d.ts +3 -1
- package/dist/types/components/Shared/tasks/TaskList/TaskListItem.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/types.d.ts +4 -12
- package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +1 -1
- package/dist/types/components/SoleProprietorship/pages/SoleProprietorshipPage.d.ts +1 -2
- package/dist/types/components/Trust/forms/TrustRegistrationDetails/TrustRegistrationDetailsMultiform.d.ts +2 -0
- package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -16
- package/dist/types/components/Trust/pages/TrustMemberCompanyPage.d.ts +1 -2
- package/dist/types/components/Trust/tasks/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +2 -2
- package/dist/types/components/Trust/tasks/TrustDropin/TrustMultiform.d.ts +21 -0
- package/dist/types/components/Trust/tasks/TrustDropin/TrustMultiformDropin.d.ts +2 -0
- package/dist/types/components/Trust/tasks/TrustDropin/validate.d.ts +5 -0
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +1 -2
- package/dist/types/components/ui/atoms/Header/Header.d.ts +12 -0
- package/dist/types/components/ui/atoms/Link/Link.types.d.ts +1 -1
- package/dist/types/components/ui/atoms/ListItem/ListItem.d.ts +1 -2
- package/dist/types/components/ui/atoms/Loader/Loader.d.ts +1 -5
- package/dist/types/components/ui/atoms/Modal/MaybeModal.d.ts +1 -1
- package/dist/types/components/ui/atoms/RadioCard/RadioCard.d.ts +1 -0
- package/dist/types/components/ui/atoms/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.d.ts +4 -4
- package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.types.d.ts +8 -9
- package/dist/types/components/ui/atoms/Status/Status.d.ts +9 -3
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +10 -0
- package/dist/types/components/ui/atoms/TileGroup/TileGroup.d.ts +3 -1
- package/dist/types/components/ui/atoms/Typography/Typography.types.d.ts +1 -1
- package/dist/types/components/ui/layout/StackLayout/StackLayout.d.ts +29 -7
- package/dist/types/components/ui/molecules/Card/Card.d.ts +1 -1
- package/dist/types/components/ui/molecules/Card/types.d.ts +1 -0
- package/dist/types/components/ui/molecules/DocumentGuidance/DocumentGuidance.types.d.ts +1 -2
- package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +2 -1
- package/dist/types/components/ui/molecules/Dropzone/types.d.ts +1 -0
- package/dist/types/components/ui/molecules/EmbeddedStatus/EmbeddedStatus.d.ts +2 -23
- package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +3 -3
- package/dist/types/components/ui/molecules/EmbeddedStatus/types.d.ts +23 -0
- package/dist/types/context/ExperimentContext/types.d.ts +24 -23
- package/dist/types/context/I18nProvider/I18nContext.d.ts +3 -0
- package/dist/types/context/SettingsContext/SettingsProvider.d.ts +1 -1
- package/dist/types/context/SettingsContext/types.d.ts +3 -0
- package/dist/types/context/StateContext/types.d.ts +2 -1
- package/dist/types/core/errorMapping.d.ts +4 -1
- package/dist/types/core/models/api/address.d.ts +5 -0
- package/dist/types/core/models/api/capability.d.ts +20 -0
- package/dist/types/core/models/api/legal-entity-association.d.ts +1 -1
- package/dist/types/core/models/api/source-of-funds.d.ts +5 -0
- package/dist/types/core/models/api/transfer-instrument.d.ts +2 -0
- package/dist/types/core/process-field-configurations.d.ts +4 -1
- package/dist/types/core/user-events.d.ts +22 -11
- package/dist/types/datasets/generators/getAccountFormatForCountry.d.ts +1 -0
- package/dist/types/embeds/individual-configuration/AdyenIndividual.d.ts +3 -3
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts +5 -5
- package/dist/types/embeds/individual-status/AdyenManageIndividual.d.ts +3 -3
- package/dist/types/embeds/individual-status/adyen-individual-status.types.d.ts +5 -5
- package/dist/types/embeds/terms-of-service-management/AdyenTermsOfService.d.ts +3 -3
- package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.types.d.ts +5 -5
- package/dist/types/embeds/terms-of-service-status/AdyenManageTermsOfService.d.ts +3 -3
- package/dist/types/embeds/terms-of-service-status/{adyen-manage-terms-of-service.types.d.ts → adyen-terms-of-service-status.types.d.ts} +5 -5
- package/dist/types/embeds/transfer-instrument-configuration/AdyenTransferInstrument.d.ts +3 -3
- package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.types.d.ts +5 -5
- package/dist/types/embeds/transfer-instrument-management/AdyenManageTransferInstrument.d.ts +3 -3
- package/dist/types/embeds/transfer-instrument-management/adyen-transfer-instrument-management.types.d.ts +5 -5
- package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +2 -6
- package/dist/types/hooks/{useAnalytics.d.ts → useAnalytics/useAnalytics.d.ts} +1 -7
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +6 -8
- package/dist/types/hooks/useUboQuestionnaire.d.ts +25 -0
- package/dist/types/language/Language.d.ts +10 -0
- package/dist/types/language/types.d.ts +21 -7
- package/dist/types/language/utils.d.ts +2 -2
- package/dist/types/stores/formState.d.ts +2 -0
- package/dist/types/stores/globalStore/taskTypes.d.ts +1 -1
- package/dist/types/types/datasets/currency.d.ts +0 -1
- package/dist/types/types/form-rules.d.ts +3 -0
- package/dist/types/types/form.d.ts +0 -2
- package/dist/types/utils/addLinkedFields.d.ts +26 -2
- package/dist/types/utils/analytics/convertToEmbeddedEvent.d.ts +9 -0
- package/dist/types/utils/analytics/debouncedInputEvent.d.ts +30 -0
- package/dist/types/utils/analytics/getAnalyticsAssociatedEntityDetails.d.ts +13 -0
- package/dist/types/utils/{trackNavigation.d.ts → analytics/trackNavigation.d.ts} +1 -1
- package/dist/types/utils/api/documentUtils.d.ts +1 -0
- package/dist/types/utils/customerSupportUtils.d.ts +3 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/filterProblemsByTaskForms.d.ts +12 -0
- package/dist/types/utils/getName.d.ts +1 -1
- package/dist/types/utils/getSSNType.d.ts +1 -0
- package/dist/types/utils/getTrustedFields.d.ts +9 -0
- package/dist/types/utils/japanSupportUtils.d.ts +2 -0
- package/dist/types/utils/textTransformation/toFullWidth.d.ts +6 -0
- package/dist/types/utils/translation.d.ts +3 -2
- package/dist/types/utils/validatorUtils.d.ts +1 -0
- package/dist/{types-K58FM7k4.js → types-BXl6V78E.js} +27 -4
- package/dist/types-CoA3qKLi.js +34 -0
- package/dist/{types-CP1NRoE8.js → types-DFkJwAG7.js} +2 -2
- package/dist/{types-CAznNNSI.js → types-Dk94b8kx.js} +27 -26
- package/dist/upload-BF65P4KM.js +17 -0
- package/dist/{useAssociatedLegalEntity-G30FPhOX.js → useAssociatedLegalEntity-BXXTCq2H.js} +2 -2
- package/dist/useCreateLegalEntity-BNSFNiHp.js +31 -0
- package/dist/{useDataset-BgvQQEKd.js → useDataset-CLPw5wNd.js} +102 -2
- package/dist/{useForm-C1DW3mPC.js → useForm-BkgSiM1i.js} +16 -86
- package/dist/useGlobalData-BeYozqdQ.js +68 -0
- package/dist/{useMultiForm-BucfLW49.js → useMultiForm-2sO8cnmJ.js} +4 -4
- package/dist/{useOnboardingStatus-CTgWLZxC.js → useOnboardingStatus-DX9R5XKU.js} +2 -2
- package/dist/{useScenarios-B7IWZ3xW.js → useScenarios-CVql9dlu.js} +2 -2
- package/dist/{useTermsOfServiceStatus-B0dIrYTA.js → useTermsOfServiceStatus-D1yYDEeh.js} +2 -2
- package/dist/{useToastContext-DGMeMy5R.js → useToastContext-CbM0O-ZH.js} +17 -8
- package/dist/{useUnincorporatedPartnershipMembers-BCvmGMOX.js → useUnincorporatedPartnershipMembers-BpDu4QKJ.js} +5 -5
- package/dist/useUpdateBusinessLines-DSH6ZmMJ.js +46 -0
- package/dist/useUpdateLegalEntity-DnbryhbN.js +39 -0
- package/dist/utils-BwrYpRdV.js +774 -0
- package/dist/{utils-Bwnj33y_.js → utils-m640rX-u.js} +6 -46
- package/dist/validate-B8aB6l_3.js +41 -0
- package/dist/{validate-B5PwC1oL.js → validate-Cf-TAdac.js} +2 -2
- package/dist/{validationError-DOCbfk7K.js → validationError-BVdpr3ww.js} +2 -2
- package/dist/warning-circle-fill-CEN1WL7A.js +17 -0
- package/dist/warning-diamond-filled-BfXMlVrG.js +17 -0
- package/dist/webinar-DqjqrNEv.js +22 -0
- package/package.json +81 -82
- package/dist/4-people-CCqdlDEw.js +0 -24
- package/dist/BusinessDetailsDropin-CRFPvWuD.js +0 -5088
- package/dist/BusinessFinancingComponent-y2_kC8bx.js +0 -45
- package/dist/BusinessFinancingPage-BOG7yrw6.js +0 -40
- package/dist/Card-BMuquALf.js +0 -145
- package/dist/Confirm-DwutojkY.js +0 -64
- package/dist/CreateIndividualComponent-VZWLAo0l.js +0 -72
- package/dist/CreateTransferInstrumentComponent-OtReN6Cy.js +0 -67
- package/dist/DecisionMakerDetailsPage-BJUwR4R7.js +0 -100
- package/dist/DecisionMakers-BDNa3HcC.js +0 -591
- package/dist/Dropzone-D6dXhmL4.js +0 -218
- package/dist/FormFlow-CZ9f5X0C.js +0 -216
- package/dist/InputDate-CHygOGiS.js +0 -43
- package/dist/InputGroup-WBfGDV5F.js +0 -32
- package/dist/Link-BFdxU8qh.js +0 -35
- package/dist/ManageIndividualComponent-By_fCmN1.js +0 -47
- package/dist/ManageTermsOfServiceComponent-D7F44OPD.js +0 -47
- package/dist/OnboardingDropinComponent-B0GrJ_pR.js +0 -4301
- package/dist/RadioGroup-CYDXrtrO.js +0 -143
- package/dist/RegistrationAddress-qtMZa31b.js +0 -2334
- package/dist/RootBusinessDetailsPage-rCbGLBEv.js +0 -1870
- package/dist/RootIndividualDetailsPage-B3TkB6Xj.js +0 -77
- package/dist/SoleProprietorshipPage-JKNrAy74.js +0 -50
- package/dist/Spacer-BK3jDget.js +0 -18
- package/dist/StructuredList-DaepaiVE.js +0 -38
- package/dist/TaskItemStatus-B38keERo.js +0 -125
- package/dist/TaskStatusIndicator-BIvTrQtf.js +0 -69
- package/dist/TaxInformationField-DS0m73if.js +0 -3062
- package/dist/TileGroup-CztY53P9.js +0 -174
- package/dist/TrustDetailsPage-C791Wu5u.js +0 -1205
- package/dist/TrustMemberCompanyPage-BOQ5D3y4.js +0 -60
- package/dist/TrustMemberIndividualPage-BPIXX2Mh.js +0 -66
- package/dist/analytics-3-a-Od7Z.js +0 -61
- package/dist/bafinUtils-Bar3qiJA.js +0 -457
- package/dist/bin-Bgdj6KzC.js +0 -18
- package/dist/capital-CF9_Ev99.js +0 -17
- package/dist/checkmark-circle-fill-BhvuqTl9.js +0 -17
- package/dist/circle-Dgfa7GUy.js +0 -17
- package/dist/coins-CFu331p2.js +0 -17
- package/dist/commonValidators-Bk0SSjsH.js +0 -24
- package/dist/currency-BGwQyxBo.js +0 -36
- package/dist/da-DK-BJ7aTPir.js +0 -13
- package/dist/da-DK-BTpZzEgA.js +0 -15
- package/dist/da-DK-CeNMXUfE.js +0 -23
- package/dist/da-DK-D0N1TVVU.js +0 -58
- package/dist/da-DK-D4H69PX3.js +0 -30
- package/dist/da-DK-DStNe471.js +0 -22
- package/dist/da-DK-q2b_1elr.js +0 -35
- package/dist/de-DE-C78RLE2G.js +0 -13
- package/dist/de-DE-CGoBPCPv.js +0 -22
- package/dist/de-DE-D2ByeIZs.js +0 -35
- package/dist/de-DE-DjOUNvp6.js +0 -15
- package/dist/de-DE-Dtuu-nE7.js +0 -58
- package/dist/de-DE-JI-7mvxy.js +0 -23
- package/dist/de-DE-wp5-H-ov.js +0 -30
- package/dist/document-person-DBlLin9u.js +0 -20
- package/dist/download-B8_c4ARV.js +0 -17
- package/dist/edit-1-D6f6zk9p.js +0 -14
- package/dist/en-US-546hB2Wn.js +0 -60
- package/dist/en-US-BQpgt41j.js +0 -37
- package/dist/en-US-BTYdAWXp.js +0 -15
- package/dist/en-US-CAm3meB1.js +0 -30
- package/dist/en-US-CQ3angjM.js +0 -22
- package/dist/en-US-DHq7VYFs.js +0 -23
- package/dist/es-ES-BsQpwaPN.js +0 -58
- package/dist/es-ES-BtUSEzkE.js +0 -13
- package/dist/es-ES-CKMfS8Yy.js +0 -22
- package/dist/es-ES-Cj7q7fWO.js +0 -15
- package/dist/es-ES-DOVPTeyf.js +0 -23
- package/dist/es-ES-Ds3-DtqZ.js +0 -30
- package/dist/es-ES-WWftn3JX.js +0 -35
- package/dist/fi-FI-BJ9RzrL3.js +0 -58
- package/dist/fi-FI-BNcnKrJ9.js +0 -15
- package/dist/fi-FI-Cvar63RH.js +0 -13
- package/dist/fi-FI-D522KHGk.js +0 -23
- package/dist/fi-FI-D9E_KaJi.js +0 -35
- package/dist/fi-FI-DPNeTsJS.js +0 -30
- package/dist/fi-FI-REYOX46I.js +0 -22
- package/dist/fieldConfigurations-B8bDFQ53.js +0 -458
- package/dist/formatCurrency-CMOSdJMB.js +0 -29
- package/dist/fr-FR-B5543Fe-.js +0 -13
- package/dist/fr-FR-Bn3D6mmY.js +0 -15
- package/dist/fr-FR-CNR5-s9g.js +0 -58
- package/dist/fr-FR-ChmNQciP.js +0 -30
- package/dist/fr-FR-Cv0k-3Xc.js +0 -35
- package/dist/fr-FR-D9qaP6nx.js +0 -22
- package/dist/fr-FR-DInQKkTd.js +0 -23
- package/dist/gift-SdNY6AqI.js +0 -14
- package/dist/headquarter-C6AsewcP.js +0 -21
- package/dist/image-eUqBiRX_.js +0 -17
- package/dist/info-Wao3PEQK.js +0 -21
- package/dist/isEmpty-CuQFhMf0.js +0 -23
- package/dist/it-IT-BV9K87FK.js +0 -58
- package/dist/it-IT-Biduphjt.js +0 -22
- package/dist/it-IT-C_fNHhjE.js +0 -35
- package/dist/it-IT-CjEYONJg.js +0 -23
- package/dist/it-IT-Dd6xGSe-.js +0 -13
- package/dist/it-IT-DvM-9LpM.js +0 -15
- package/dist/it-IT-eCrTB65E.js +0 -30
- package/dist/keys-BpNgnAsD.js +0 -23
- package/dist/location-YXhcBMDy.js +0 -17
- package/dist/mail-Z_IE_hkw.js +0 -14
- package/dist/mapScriptLocalization-CI-Ydp2z.js +0 -72
- package/dist/nl-NL-BHqiO21q.js +0 -15
- package/dist/nl-NL-D2QKudfh.js +0 -30
- package/dist/nl-NL-DLedC3mO.js +0 -35
- package/dist/nl-NL-DVENFpd5.js +0 -13
- package/dist/nl-NL-DywVQ9km.js +0 -58
- package/dist/nl-NL-G1wVnmzT.js +0 -22
- package/dist/nl-NL-Zcq0bXd-.js +0 -23
- package/dist/no-NO-B8oxqfNI.js +0 -58
- package/dist/no-NO-BTtAuqCb.js +0 -22
- package/dist/no-NO-BxReX6oF.js +0 -23
- package/dist/no-NO-CKT9kLAH.js +0 -15
- package/dist/no-NO-C_snYWBc.js +0 -30
- package/dist/no-NO-CpVal4cV.js +0 -35
- package/dist/no-NO-Dn2UkdoI.js +0 -13
- package/dist/partner-COG2_Erh.js +0 -21
- package/dist/pay-by-link-plane-Pv7Babgn.js +0 -22
- package/dist/person-CdGfItMU.js +0 -17
- package/dist/plus-circle-filled-Cnf1oJTm.js +0 -17
- package/dist/pt-PT-BkvMsoK4.js +0 -35
- package/dist/pt-PT-BvK00TeI.js +0 -58
- package/dist/pt-PT-C-hbNnsB.js +0 -30
- package/dist/pt-PT-D2elvnDU.js +0 -15
- package/dist/pt-PT-Dk48OVtf.js +0 -22
- package/dist/pt-PT-N0njcfLO.js +0 -23
- package/dist/pt-PT-_o5xgnxS.js +0 -13
- package/dist/resolveEnvironment-BGYn6Ls_.js +0 -84
- package/dist/revenue-accelerate-rtXA-8EE.js +0 -17
- package/dist/save-BofgDbDX.js +0 -14
- package/dist/search-BjMkvQh0.js +0 -17
- package/dist/sl-SI-BB7iVcFI.js +0 -22
- package/dist/sl-SI-BhVTSmhQ.js +0 -30
- package/dist/sl-SI-BylvpF-X.js +0 -15
- package/dist/sl-SI-Cth2Qa5T.js +0 -35
- package/dist/sl-SI-D_rqR0D7.js +0 -35
- package/dist/sl-SI-MZoDApq9.js +0 -23
- package/dist/sl-SI-NI2OJAvm.js +0 -58
- package/dist/store-CkhgQMl0.js +0 -14
- package/dist/sv-SE-66rqYTxi.js +0 -30
- package/dist/sv-SE-BUfESAQK.js +0 -13
- package/dist/sv-SE-CAZpDX9G.js +0 -58
- package/dist/sv-SE-DCFSf4Oj.js +0 -23
- package/dist/sv-SE-DbI-1JqN.js +0 -22
- package/dist/sv-SE-Dwz1yTrB.js +0 -15
- package/dist/sv-SE-OPOHtqtP.js +0 -35
- package/dist/terminal-1-ewywjFJI.js +0 -18
- package/dist/toCapitalized-Bq7laD0b.js +0 -13
- package/dist/translation-DJHWTow9.js +0 -472
- package/dist/types/api/pciTemplate/usePciTemplate.d.ts +0 -14
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformationMultiform.d.ts +0 -9
- package/dist/types/components/Business/forms/BasicInformation/BasicInformationMultiform.d.ts +0 -9
- package/dist/types/components/Business/forms/BusinessDetails/BusinessDetails.d.ts +0 -3
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelectionMultiform.d.ts +0 -14
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructureMultiform.d.ts +0 -4
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiformDropin.d.ts +0 -5
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/types.d.ts +0 -2
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/utils.d.ts +0 -21
- package/dist/types/components/BusinessLines/tasks/BusinessLinesDropin.d.ts +0 -5
- package/dist/types/components/Contract/hooks/useSalesChannelsSettings.d.ts +0 -3
- package/dist/types/components/Shared/tasks/TaskList/TaskItemStatus.d.ts +0 -2
- package/dist/types/components/ui/atoms/FormHeader/FormHeader.d.ts +0 -8
- package/dist/types/components/ui/atoms/Remove/Remove.d.ts +0 -2
- package/dist/types/components/ui/atoms/Remove/Remove.types.d.ts +0 -9
- package/dist/types/components/ui/atoms/Status/Status.types.d.ts +0 -8
- package/dist/types/components/ui/atoms/TaskStatusIndicator/TaskStatusIndicator.d.ts +0 -11
- package/dist/types/components/ui/molecules/Card/CardGroup.d.ts +0 -3
- package/dist/types/core/analytics.d.ts +0 -31
- package/dist/types/utils/bankVerification/animation.d.ts +0 -2
- package/dist/upload-XDhHhAHV.js +0 -17
- package/dist/useFormContext-beqGS11A.js +0 -23
- package/dist/utils-CXtNbmpA.js +0 -29
- package/dist/utils-CgOzbb9O.js +0 -159
- package/dist/validate-BRz0LPdo.js +0 -382
- package/dist/validate-CvtamBXH.js +0 -605
- package/dist/warning-circle-fill-DADaWT65.js +0 -17
- package/dist/warning-filled-BfAQN-BF.js +0 -14
- package/dist/webinar-BJWDRK2H.js +0 -22
- /package/dist/types/api/{pciTemplate → pci}/useSignPci.d.ts +0 -0
- /package/dist/types/components/Business/tasks/{BusinessDetailsMultiformDropin → BusinessDetailsDropin}/validate.d.ts +0 -0
- /package/dist/types/components/BusinessLines/tasks/{BusinessLinesGettingStarted → BusinessLines}/BusinessLinesGettingStarted.d.ts +0 -0
|
@@ -2,37 +2,35 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "bd0fbda1-4547-4927-9e06-7f3bffa5a5ec", e._sentryDebugIdIdentifier = "sentry-dbid-bd0fbda1-4547-4927-9e06-7f3bffa5a5ec");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { useRef, useEffect, useMemo, useState
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
19
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer
|
|
20
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
21
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
22
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
23
|
-
import { a as datasetUtilities } from "./useDataset-
|
|
24
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
25
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport
|
|
11
|
+
import { useRef, useEffect, useMemo, useState } from "preact/hooks";
|
|
12
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-BNSFNiHp.js";
|
|
13
|
+
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-CbM0O-ZH.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DnbryhbN.js";
|
|
15
|
+
import { a_ as reverseMapping, a$ as isEeaCountry, r as LegalEntityTypes, aB as cloneObject, b as useApiContext, j as useQuery, m as httpGet, V as useI18nContext, u as useTranslation, G as Typography, z as translateStringOrObject, a2 as useAnalyticsContext, o as useSettingsContext, L as Loader, B as Button } from "./StoreProvider-D0o_745u.js";
|
|
16
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-KgmudcUf.js";
|
|
17
|
+
import { I as InputText, S as SettingNames } from "./InputText-DXkZ7fwq.js";
|
|
18
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-BXXTCq2H.js";
|
|
19
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-D0iun-Wp.js";
|
|
20
|
+
import { u as useMultiForm } from "./useMultiForm-2sO8cnmJ.js";
|
|
21
|
+
import { E as EndStateLayout } from "./EndStateLayout-Dyji8Wu9.js";
|
|
22
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-BVdpr3ww.js";
|
|
23
|
+
import { a as datasetUtilities } from "./useDataset-CLPw5wNd.js";
|
|
24
|
+
import { l as localizeDateString } from "./localizeDateString-DYxbMJdq.js";
|
|
25
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-DBdQzrBs.js";
|
|
26
26
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
27
|
-
import { c as createFormUtils,
|
|
28
|
-
import { u as useFormContext } from "./
|
|
29
|
-
import { c as currencyByCountry } from "./types-
|
|
30
|
-
import { F as Field,
|
|
31
|
-
import { L as
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-CgOzbb9O.js";
|
|
35
|
-
import { b as businessFinancingMultiformRules } from "./validate-B5PwC1oL.js";
|
|
27
|
+
import { c as createFormUtils, a as Link, d as getFieldProps, H as Header, E as ErrorPanel } from "./CountryField-BKLmbhSX.js";
|
|
28
|
+
import { R as RadioGroup, I as InputDate, u as useFormContext, g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, A as Address, d as getAddressSchemaLabelsByCountry } from "./Address-brlyMNsL.js";
|
|
29
|
+
import { c as currencyByCountry } from "./types-BXl6V78E.js";
|
|
30
|
+
import { F as Field, S as Select } from "./useForm-BkgSiM1i.js";
|
|
31
|
+
import { L as LegalFormField, I as InputNumber, b as Currency, C as CURRENCY_FIELD, a as InputCurrency } from "./Currency-MPPfYpO2.js";
|
|
32
|
+
import { C as Checkbox } from "./debouncedInputEvent-DbzJEMPo.js";
|
|
33
|
+
import { b as businessFinancingMultiformRules } from "./validate-Cf-TAdac.js";
|
|
36
34
|
const businessFinancingBaseMapping = {
|
|
37
35
|
legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
|
|
38
36
|
legalInformationInsolvency: "organization.statusOfLegalProceeding",
|
|
@@ -365,9 +363,9 @@ const customLabels = {
|
|
|
365
363
|
isThisAddressTheMainHeadquarters: "addressIsHeadquarters"
|
|
366
364
|
}
|
|
367
365
|
};
|
|
368
|
-
const getTranslatedLegalInsolvency = (
|
|
366
|
+
const getTranslatedLegalInsolvency = (t, insolvencyData) => {
|
|
369
367
|
if (!insolvencyData) return void 0;
|
|
370
|
-
return insolvencyData === "noLegalActionsTaken" ?
|
|
368
|
+
return insolvencyData === "noLegalActionsTaken" ? t(($) => $["no"]) : t(($) => $[insolvencyData]);
|
|
371
369
|
};
|
|
372
370
|
const getValidUserLocale = (locale) => {
|
|
373
371
|
try {
|
|
@@ -384,7 +382,7 @@ const getFormattedAmount = (value, currency) => {
|
|
|
384
382
|
const formattedValue = Number(value).toLocaleString(userLocale);
|
|
385
383
|
return `${currency} ${formattedValue}`;
|
|
386
384
|
};
|
|
387
|
-
const formatDataForSummary = (
|
|
385
|
+
const formatDataForSummary = (language, t, datasetUtils, data, rootLeAddress) => {
|
|
388
386
|
const summaryData = cloneObject(data) || {};
|
|
389
387
|
const { company, parentCompany, ultimateParentCompany } = summaryData;
|
|
390
388
|
if (company) {
|
|
@@ -392,14 +390,14 @@ const formatDataForSummary = (i18n, datasetUtils, data, rootLeAddress) => {
|
|
|
392
390
|
company.naceCode = company.naceCodeLabel;
|
|
393
391
|
company.legalEntityIdentifier = company.legalEntityIdentifier ?? "None";
|
|
394
392
|
company.legalInformationInsolvency = getTranslatedLegalInsolvency(
|
|
395
|
-
|
|
393
|
+
t,
|
|
396
394
|
company?.legalInformationInsolvency
|
|
397
395
|
);
|
|
398
396
|
company.annualTurnover = getFormattedAmount(company.annualTurnover, company.currency);
|
|
399
397
|
company.netAssets = getFormattedAmount(company.netAssets, company.currency);
|
|
400
398
|
const { legalProceedingsDate, financialReportingDate } = company;
|
|
401
|
-
company.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate,
|
|
402
|
-
company.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate,
|
|
399
|
+
company.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, language) : void 0;
|
|
400
|
+
company.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, language) : void 0;
|
|
403
401
|
}
|
|
404
402
|
if (parentCompany) {
|
|
405
403
|
const {
|
|
@@ -429,13 +427,13 @@ const formatDataForSummary = (i18n, datasetUtils, data, rootLeAddress) => {
|
|
|
429
427
|
}
|
|
430
428
|
parentCompany.legalEntityIdentifier = legalEntityIdentifier ?? "None";
|
|
431
429
|
parentCompany.legalInformationInsolvency = getTranslatedLegalInsolvency(
|
|
432
|
-
|
|
430
|
+
t,
|
|
433
431
|
legalInformationInsolvency
|
|
434
432
|
);
|
|
435
433
|
parentCompany.annualTurnover = getFormattedAmount(annualTurnover, currency);
|
|
436
434
|
parentCompany.netAssets = getFormattedAmount(netAssets, currency);
|
|
437
|
-
parentCompany.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate,
|
|
438
|
-
parentCompany.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate,
|
|
435
|
+
parentCompany.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, language) : void 0;
|
|
436
|
+
parentCompany.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, language) : void 0;
|
|
439
437
|
if (sameAddressAsRootEntity) {
|
|
440
438
|
delete parentCompany.country;
|
|
441
439
|
summaryData.parentCompany = {
|
|
@@ -476,13 +474,13 @@ const formatDataForSummary = (i18n, datasetUtils, data, rootLeAddress) => {
|
|
|
476
474
|
}
|
|
477
475
|
ultimateParentCompany.legalEntityIdentifier = legalEntityIdentifier ?? "None";
|
|
478
476
|
ultimateParentCompany.legalInformationInsolvency = getTranslatedLegalInsolvency(
|
|
479
|
-
|
|
477
|
+
t,
|
|
480
478
|
legalInformationInsolvency
|
|
481
479
|
);
|
|
482
480
|
ultimateParentCompany.annualTurnover = getFormattedAmount(annualTurnover, currency);
|
|
483
481
|
ultimateParentCompany.netAssets = getFormattedAmount(netAssets, currency);
|
|
484
|
-
ultimateParentCompany.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate,
|
|
485
|
-
ultimateParentCompany.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate,
|
|
482
|
+
ultimateParentCompany.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, language) : void 0;
|
|
483
|
+
ultimateParentCompany.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, language) : void 0;
|
|
486
484
|
if (sameAddressAsRootEntity) {
|
|
487
485
|
delete ultimateParentCompany.country;
|
|
488
486
|
summaryData.ultimateParentCompany = {
|
|
@@ -570,6 +568,18 @@ function NaceCodeField({
|
|
|
570
568
|
}
|
|
571
569
|
);
|
|
572
570
|
}
|
|
571
|
+
const businessFinancingLeiRadio = "adyen-kyc-business-financing-lei-radio";
|
|
572
|
+
const businessFinancingTitle = "adyen-kyc-business-financing-title";
|
|
573
|
+
const businessFinancingBody = "adyen-kyc-business-financing-body";
|
|
574
|
+
const businessFinancingExposureFinancials = "adyen-kyc-business-financing-exposure-financials";
|
|
575
|
+
const businessFinancingStructuredAddress = "adyen-kyc-business-financing-structured-address";
|
|
576
|
+
const styles = {
|
|
577
|
+
businessFinancingLeiRadio,
|
|
578
|
+
businessFinancingTitle,
|
|
579
|
+
businessFinancingBody,
|
|
580
|
+
businessFinancingExposureFinancials,
|
|
581
|
+
businessFinancingStructuredAddress
|
|
582
|
+
};
|
|
573
583
|
const businessInformationFields = [
|
|
574
584
|
"legalForm",
|
|
575
585
|
"naceCode",
|
|
@@ -590,14 +600,15 @@ function BusinessFinancingBusinessInformation(props) {
|
|
|
590
600
|
sectionHeading,
|
|
591
601
|
hideSectionHeading
|
|
592
602
|
} = props;
|
|
593
|
-
const { t } = useTranslation(
|
|
594
|
-
const
|
|
603
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
604
|
+
const { t: commonT } = useTranslation("common");
|
|
605
|
+
const formUtils = createFormUtils(props, commonT);
|
|
595
606
|
if (!handleFieldChange) {
|
|
596
607
|
return;
|
|
597
608
|
}
|
|
598
609
|
const isMainCompany = targetPage === BusinessFinancingPages.COMPANY_PAGE;
|
|
599
610
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
600
|
-
!hideSectionHeading && /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", children: sectionHeading ?
|
|
611
|
+
!hideSectionHeading && /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles.businessFinancingTitle, children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["yourBusinessInformation"]) }),
|
|
601
612
|
/* @__PURE__ */ jsx(
|
|
602
613
|
LegalFormField,
|
|
603
614
|
{
|
|
@@ -630,13 +641,23 @@ function BusinessFinancingBusinessInformation(props) {
|
|
|
630
641
|
{
|
|
631
642
|
el: "fieldset",
|
|
632
643
|
name: "doesYourCompanyHaveLEI",
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
644
|
+
label: businessFinancingT(
|
|
645
|
+
($) => $[isMainCompany ? "doesYourCompanyHaveLEI" : "doesThisCompanyHaveLEI"]
|
|
646
|
+
),
|
|
647
|
+
helper: /* @__PURE__ */ jsxs(
|
|
648
|
+
Typography,
|
|
649
|
+
{
|
|
650
|
+
el: "div",
|
|
651
|
+
variant: "body",
|
|
652
|
+
color: "secondary",
|
|
653
|
+
className: styles.businessFinancingBody,
|
|
654
|
+
children: [
|
|
655
|
+
businessFinancingT(($) => $["anLEIIsAUniqueCode"]),
|
|
656
|
+
" ",
|
|
657
|
+
/* @__PURE__ */ jsx(Link, { href: "https://search.gleif.org/#/search/", external: true, inline: true, children: businessFinancingT(($) => $["lookUpYourLEI"]) })
|
|
658
|
+
]
|
|
659
|
+
}
|
|
660
|
+
),
|
|
640
661
|
errorMessage: formUtils.getErrorMessage(
|
|
641
662
|
"doesYourCompanyHaveLEI",
|
|
642
663
|
errors,
|
|
@@ -650,6 +671,7 @@ function BusinessFinancingBusinessInformation(props) {
|
|
|
650
671
|
items: isMainCompany ? businessFinancingRadioItems : businessFinancingParentRadioItems,
|
|
651
672
|
value: data?.doesYourCompanyHaveLEI,
|
|
652
673
|
disabled: false,
|
|
674
|
+
className: styles.businessFinancingLeiRadio,
|
|
653
675
|
onChange: handleFieldChange("doesYourCompanyHaveLEI"),
|
|
654
676
|
"aria-required": true,
|
|
655
677
|
"aria-invalid": !valid?.doesYourCompanyHaveLEI
|
|
@@ -668,7 +690,7 @@ function BusinessFinancingBusinessInformation(props) {
|
|
|
668
690
|
fieldValidationErrors
|
|
669
691
|
),
|
|
670
692
|
isValid: valid?.legalEntityIdentifier,
|
|
671
|
-
helper:
|
|
693
|
+
helper: commonT(($) => $["enterNCharactersWithAMixForExample"], {
|
|
672
694
|
numChars: 20,
|
|
673
695
|
example: "529900T8BM49AURSDO55"
|
|
674
696
|
}),
|
|
@@ -701,8 +723,9 @@ const financialInformationFields = [
|
|
|
701
723
|
];
|
|
702
724
|
function BusinessFinancingFinancialInformation(props) {
|
|
703
725
|
const { data, valid, errors, country, sectionHeading, handleFieldChange, fieldValidationErrors } = props;
|
|
704
|
-
const { t, i18n: i18next } = useTranslation(
|
|
705
|
-
const
|
|
726
|
+
const { t: businessFinancingT, i18n: i18next } = useTranslation("businessFinancing");
|
|
727
|
+
const { t: commonT } = useTranslation("common");
|
|
728
|
+
const formUtils = createFormUtils(props, commonT);
|
|
706
729
|
const currenciesForCurrCountry = useMemo(() => currencyByCountry[country] ?? [], [country]);
|
|
707
730
|
if (!handleFieldChange) {
|
|
708
731
|
return;
|
|
@@ -716,13 +739,13 @@ function BusinessFinancingFinancialInformation(props) {
|
|
|
716
739
|
handleFieldChange("currency")(firstCurrency);
|
|
717
740
|
}
|
|
718
741
|
return /* @__PURE__ */ jsxs("section", { children: [
|
|
719
|
-
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", children: sectionHeading ?
|
|
742
|
+
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles.businessFinancingTitle, children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["businessFinancials"]) }),
|
|
720
743
|
/* @__PURE__ */ jsx(
|
|
721
744
|
Field,
|
|
722
745
|
{
|
|
723
746
|
name: "numberOfEmployees",
|
|
724
747
|
label: formUtils.getLabel("numberOfEmployees", "numberOfEmployees"),
|
|
725
|
-
helper:
|
|
748
|
+
helper: businessFinancingT(($) => $["theNumberOfIndividualsReceivingAWageOrSalary"]),
|
|
726
749
|
errorMessage: formUtils.getErrorMessage("numberOfEmployees", errors, fieldValidationErrors),
|
|
727
750
|
isValid: valid?.numberOfEmployees,
|
|
728
751
|
children: (childProps) => /* @__PURE__ */ jsx(
|
|
@@ -748,18 +771,18 @@ function BusinessFinancingFinancialInformation(props) {
|
|
|
748
771
|
data: formUtils.getFieldData(financialData, CURRENCY_FIELD),
|
|
749
772
|
errors: formUtils.getFieldErrors(financialErrors, fieldValidationErrors, CURRENCY_FIELD),
|
|
750
773
|
handleChangeFor: handleFieldChange,
|
|
751
|
-
labels: { currency:
|
|
774
|
+
labels: { currency: businessFinancingT(($) => $["financialStatementReportingCurrency"]) },
|
|
752
775
|
readonly: formUtils.isReadOnly("currency"),
|
|
753
776
|
valid: formUtils.getFieldValid(isFinancialDataValid, CURRENCY_FIELD)
|
|
754
777
|
}
|
|
755
778
|
),
|
|
756
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
779
|
+
/* @__PURE__ */ jsxs("div", { className: styles.businessFinancingExposureFinancials, children: [
|
|
757
780
|
/* @__PURE__ */ jsx(
|
|
758
781
|
Field,
|
|
759
782
|
{
|
|
760
783
|
name: "netAssets",
|
|
761
784
|
label: formUtils.getLabel("netAssets", "balanceSheetTotal"),
|
|
762
|
-
helper:
|
|
785
|
+
helper: businessFinancingT(($) => $["theSumOfTotalLiabilities"]),
|
|
763
786
|
errorMessage: formUtils.getErrorMessage("netAssets", errors, fieldValidationErrors),
|
|
764
787
|
children: (childProps) => /* @__PURE__ */ jsx(
|
|
765
788
|
InputCurrency,
|
|
@@ -773,32 +796,12 @@ function BusinessFinancingFinancialInformation(props) {
|
|
|
773
796
|
)
|
|
774
797
|
}
|
|
775
798
|
),
|
|
776
|
-
/* @__PURE__ */ jsx(
|
|
777
|
-
Field,
|
|
778
|
-
{
|
|
779
|
-
name: "annualTurnover",
|
|
780
|
-
label: formUtils.getLabel("annualTurnover", "annualTurnover"),
|
|
781
|
-
helper: t(($) => $["theAnnualSalesRevenue"], { ns: "efp" }),
|
|
782
|
-
errorMessage: formUtils.getErrorMessage("annualTurnover", errors, fieldValidationErrors),
|
|
783
|
-
children: (childProps) => /* @__PURE__ */ jsx(
|
|
784
|
-
InputCurrency,
|
|
785
|
-
{
|
|
786
|
-
...childProps,
|
|
787
|
-
name: "annualTurnover",
|
|
788
|
-
locale: i18next.language,
|
|
789
|
-
currency: data?.currency ?? defaultCurrency,
|
|
790
|
-
amount: data?.annualTurnover ? Number(data?.annualTurnover) : void 0,
|
|
791
|
-
onAmountChanged: handleFieldChange("annualTurnover")
|
|
792
|
-
}
|
|
793
|
-
)
|
|
794
|
-
}
|
|
795
|
-
),
|
|
796
799
|
/* @__PURE__ */ jsx(
|
|
797
800
|
Field,
|
|
798
801
|
{
|
|
799
802
|
name: "financialReportingDate",
|
|
800
803
|
label: formUtils.getLabel("financialReportingDate", "statementReportingDate"),
|
|
801
|
-
helper:
|
|
804
|
+
helper: businessFinancingT(($) => $["useTheMoreRecentOfTheReportingDates"]),
|
|
802
805
|
errorMessage: formUtils.getErrorMessage(
|
|
803
806
|
"financialReportingDate",
|
|
804
807
|
errors,
|
|
@@ -819,6 +822,26 @@ function BusinessFinancingFinancialInformation(props) {
|
|
|
819
822
|
}
|
|
820
823
|
)
|
|
821
824
|
}
|
|
825
|
+
),
|
|
826
|
+
/* @__PURE__ */ jsx(
|
|
827
|
+
Field,
|
|
828
|
+
{
|
|
829
|
+
name: "annualTurnover",
|
|
830
|
+
label: formUtils.getLabel("annualTurnover", "annualTurnover"),
|
|
831
|
+
helper: businessFinancingT(($) => $["theAnnualSalesRevenue"]),
|
|
832
|
+
errorMessage: formUtils.getErrorMessage("annualTurnover", errors, fieldValidationErrors),
|
|
833
|
+
children: (childProps) => /* @__PURE__ */ jsx(
|
|
834
|
+
InputCurrency,
|
|
835
|
+
{
|
|
836
|
+
...childProps,
|
|
837
|
+
name: "annualTurnover",
|
|
838
|
+
locale: i18next.language,
|
|
839
|
+
currency: data?.currency ?? defaultCurrency,
|
|
840
|
+
amount: data?.annualTurnover ? Number(data?.annualTurnover) : void 0,
|
|
841
|
+
onAmountChanged: handleFieldChange("annualTurnover")
|
|
842
|
+
}
|
|
843
|
+
)
|
|
844
|
+
}
|
|
822
845
|
)
|
|
823
846
|
] })
|
|
824
847
|
] });
|
|
@@ -830,30 +853,31 @@ const legalInformationFields = [
|
|
|
830
853
|
];
|
|
831
854
|
function BusinessFinancingLegalInformation(props) {
|
|
832
855
|
const { data, valid, errors, fieldValidationErrors, handleFieldChange, sectionHeading } = props;
|
|
833
|
-
const { t } = useTranslation(
|
|
834
|
-
const
|
|
856
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
857
|
+
const { t: commonT } = useTranslation("common");
|
|
858
|
+
const formUtils = createFormUtils(props, commonT);
|
|
835
859
|
if (!handleFieldChange) {
|
|
836
860
|
return;
|
|
837
861
|
}
|
|
838
862
|
const legalInformationInsolvencyItems = [
|
|
839
|
-
{ id: "noLegalActionsTaken", name:
|
|
863
|
+
{ id: "noLegalActionsTaken", name: commonT(($) => $["no"]) },
|
|
840
864
|
{
|
|
841
865
|
id: "underJudicialAdministration",
|
|
842
|
-
name:
|
|
866
|
+
name: businessFinancingT(($) => $["yesTheCompanyIsUnderJudicialAdministration"])
|
|
843
867
|
},
|
|
844
868
|
{
|
|
845
869
|
id: "bankruptcyInsolvency",
|
|
846
|
-
name:
|
|
870
|
+
name: businessFinancingT(($) => $["yesTheCompanyIsFilingForBankruptcy"])
|
|
847
871
|
},
|
|
848
872
|
{
|
|
849
873
|
id: "otherLegalMeasures",
|
|
850
|
-
name:
|
|
874
|
+
name: businessFinancingT(($) => $["yesTheCompanyIsFacingOtherLegalMeasures"])
|
|
851
875
|
},
|
|
852
|
-
{ id: "iDontKnow", name:
|
|
876
|
+
{ id: "iDontKnow", name: commonT(($) => $["iDontKnow"]) }
|
|
853
877
|
];
|
|
854
878
|
const showLegalProceedingsDateField = data?.legalInformationInsolvency && !["noLegalActionsTaken", "iDontKnow"].includes(data?.legalInformationInsolvency);
|
|
855
879
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
856
|
-
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", children: sectionHeading ?
|
|
880
|
+
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles.businessFinancingTitle, children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["legalInformation"]) }),
|
|
857
881
|
/* @__PURE__ */ jsx(
|
|
858
882
|
Field,
|
|
859
883
|
{
|
|
@@ -871,7 +895,7 @@ function BusinessFinancingLegalInformation(props) {
|
|
|
871
895
|
...childProps,
|
|
872
896
|
onChange: handleFieldChange("legalInformationInsolvency", "blur"),
|
|
873
897
|
name: "legalInformationInsolvency",
|
|
874
|
-
placeholder:
|
|
898
|
+
placeholder: commonT(($) => $["selectOne"]),
|
|
875
899
|
selected: data?.legalInformationInsolvency,
|
|
876
900
|
items: legalInformationInsolvencyItems,
|
|
877
901
|
"aria-required": true,
|
|
@@ -914,21 +938,20 @@ const ownershipStructureFields = [
|
|
|
914
938
|
];
|
|
915
939
|
function BusinessFinancingOwnershipStructure(props) {
|
|
916
940
|
const { data, valid, errors = {}, legalEntity, fieldValidationErrors, handleFieldChange } = props;
|
|
917
|
-
const { t } = useTranslation(
|
|
941
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
918
942
|
const { t: commonT } = useTranslation("common");
|
|
919
943
|
const formUtils = createFormUtils(props, commonT);
|
|
920
944
|
if (!handleFieldChange) {
|
|
921
945
|
return;
|
|
922
946
|
}
|
|
923
947
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
924
|
-
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", children:
|
|
948
|
+
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles.businessFinancingTitle, children: businessFinancingT(($) => $["ownershipStructure"]) }),
|
|
925
949
|
/* @__PURE__ */ jsx(
|
|
926
950
|
Field,
|
|
927
951
|
{
|
|
928
952
|
el: "fieldset",
|
|
929
953
|
name: "isCompanyOwnedByAnotherCompany",
|
|
930
|
-
|
|
931
|
-
label: t(($) => $["isCompanyOwnedByAnotherCompany"], {
|
|
954
|
+
label: businessFinancingT(($) => $["isCompanyOwnedByAnotherCompany"], {
|
|
932
955
|
company: legalEntity?.organization ? legalEntity.organization.legalName : ""
|
|
933
956
|
}),
|
|
934
957
|
errorMessage: formUtils.getErrorMessage(
|
|
@@ -936,7 +959,16 @@ function BusinessFinancingOwnershipStructure(props) {
|
|
|
936
959
|
errors,
|
|
937
960
|
fieldValidationErrors
|
|
938
961
|
),
|
|
939
|
-
helper: /* @__PURE__ */ jsx(
|
|
962
|
+
helper: /* @__PURE__ */ jsx(
|
|
963
|
+
Typography,
|
|
964
|
+
{
|
|
965
|
+
el: "div",
|
|
966
|
+
variant: "body",
|
|
967
|
+
color: "secondary",
|
|
968
|
+
className: styles.businessFinancingBody,
|
|
969
|
+
children: businessFinancingT(($) => $["thisMeansYouHaveAParentCompany"])
|
|
970
|
+
}
|
|
971
|
+
),
|
|
940
972
|
children: (childProps) => /* @__PURE__ */ jsx(
|
|
941
973
|
RadioGroup,
|
|
942
974
|
{
|
|
@@ -944,6 +976,7 @@ function BusinessFinancingOwnershipStructure(props) {
|
|
|
944
976
|
name: "isCompanyOwnedByAnotherCompany",
|
|
945
977
|
items: businessFinancingRadioItems,
|
|
946
978
|
value: data?.isCompanyOwnedByAnotherCompany,
|
|
979
|
+
className: styles.businessFinancingLeiRadio,
|
|
947
980
|
disabled: false,
|
|
948
981
|
onChange: handleFieldChange("isCompanyOwnedByAnotherCompany"),
|
|
949
982
|
"aria-required": true,
|
|
@@ -957,9 +990,17 @@ function BusinessFinancingOwnershipStructure(props) {
|
|
|
957
990
|
{
|
|
958
991
|
el: "fieldset",
|
|
959
992
|
name: "isParentOwnedByAnotherCompany",
|
|
960
|
-
classNameModifiers: ["highExposureBusinessInformation"],
|
|
961
993
|
label: formUtils.getLabel("isParentOwnedByAnotherCompany"),
|
|
962
|
-
helper: /* @__PURE__ */ jsx(
|
|
994
|
+
helper: /* @__PURE__ */ jsx(
|
|
995
|
+
Typography,
|
|
996
|
+
{
|
|
997
|
+
el: "div",
|
|
998
|
+
variant: "body",
|
|
999
|
+
color: "secondary",
|
|
1000
|
+
className: styles.businessFinancingBody,
|
|
1001
|
+
children: businessFinancingT(($) => $["thisMeansYouHaveAnUltimateParentCompany"])
|
|
1002
|
+
}
|
|
1003
|
+
),
|
|
963
1004
|
errorMessage: formUtils.getErrorMessage(
|
|
964
1005
|
"isParentOwnedByAnotherCompany",
|
|
965
1006
|
errors,
|
|
@@ -972,6 +1013,7 @@ function BusinessFinancingOwnershipStructure(props) {
|
|
|
972
1013
|
name: "isParentOwnedByAnotherCompany",
|
|
973
1014
|
items: businessFinancingRadioItems,
|
|
974
1015
|
value: data.isParentOwnedByAnotherCompany,
|
|
1016
|
+
className: styles.businessFinancingLeiRadio,
|
|
975
1017
|
disabled: false,
|
|
976
1018
|
onChange: handleFieldChange("isParentOwnedByAnotherCompany"),
|
|
977
1019
|
"aria-required": true,
|
|
@@ -983,12 +1025,13 @@ function BusinessFinancingOwnershipStructure(props) {
|
|
|
983
1025
|
] });
|
|
984
1026
|
}
|
|
985
1027
|
function AdditionalFieldsForBusinessFinancingCompany(props) {
|
|
986
|
-
const { t } = useTranslation(
|
|
1028
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1029
|
+
const { t: commonT } = useTranslation("common");
|
|
987
1030
|
const {
|
|
988
1031
|
form: { handleChangeFor, data, setValid }
|
|
989
1032
|
} = useFormContext();
|
|
990
1033
|
const { country, formVerificationErrors, legalEntity, fieldValidationErrors } = props;
|
|
991
|
-
const formUtils = createFormUtils(props,
|
|
1034
|
+
const formUtils = createFormUtils(props, commonT);
|
|
992
1035
|
const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "company", mode);
|
|
993
1036
|
const ownershipStructureProps = getFieldProps(props, ownershipStructureFields);
|
|
994
1037
|
const businessInformationProps = getFieldProps(props, businessInformationFields);
|
|
@@ -1000,10 +1043,11 @@ function AdditionalFieldsForBusinessFinancingCompany(props) {
|
|
|
1000
1043
|
}
|
|
1001
1044
|
return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc__high-exposure-company", children: [
|
|
1002
1045
|
/* @__PURE__ */ jsx(
|
|
1003
|
-
|
|
1046
|
+
Header,
|
|
1004
1047
|
{
|
|
1005
|
-
|
|
1006
|
-
description:
|
|
1048
|
+
title: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
|
|
1049
|
+
description: businessFinancingT(($) => $["toProcessYourFundsWeNeedMoreInformation"]),
|
|
1050
|
+
secondary: true
|
|
1007
1051
|
}
|
|
1008
1052
|
),
|
|
1009
1053
|
/* @__PURE__ */ jsx(
|
|
@@ -1063,13 +1107,14 @@ const basicInformationFields = [
|
|
|
1063
1107
|
];
|
|
1064
1108
|
function BusinessFinancingBasicCompanyInformation(props) {
|
|
1065
1109
|
const { data, valid, errors, fieldValidationErrors, handleFieldChange, sectionHeading } = props;
|
|
1066
|
-
const { t } = useTranslation(
|
|
1067
|
-
const
|
|
1110
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1111
|
+
const { t: commonT } = useTranslation("common");
|
|
1112
|
+
const formUtils = createFormUtils(props, commonT);
|
|
1068
1113
|
if (!handleFieldChange) {
|
|
1069
1114
|
return;
|
|
1070
1115
|
}
|
|
1071
1116
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1072
|
-
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", children: sectionHeading ?
|
|
1117
|
+
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles.businessFinancingTitle, children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["basicCompanyInformation"]) }),
|
|
1073
1118
|
/* @__PURE__ */ jsx(
|
|
1074
1119
|
Field,
|
|
1075
1120
|
{
|
|
@@ -1077,7 +1122,7 @@ function BusinessFinancingBasicCompanyInformation(props) {
|
|
|
1077
1122
|
label: formUtils.getLabel("legalName", "legalName"),
|
|
1078
1123
|
errorMessage: formUtils.getErrorMessage("legalName", errors, fieldValidationErrors),
|
|
1079
1124
|
isValid: valid?.legalName,
|
|
1080
|
-
helper:
|
|
1125
|
+
helper: businessFinancingT(($) => $["legalNameIsUsedToIdentifyABusinessWithTheGovernment"]),
|
|
1081
1126
|
helperPosition: "below",
|
|
1082
1127
|
children: (childProps) => /* @__PURE__ */ jsx(
|
|
1083
1128
|
InputText,
|
|
@@ -1115,7 +1160,7 @@ function BusinessFinancingRegisteredAddress(props) {
|
|
|
1115
1160
|
legalEntity,
|
|
1116
1161
|
sectionHeading
|
|
1117
1162
|
} = props;
|
|
1118
|
-
const { t:
|
|
1163
|
+
const { t: businessFinancingT, i18n } = useTranslation("businessFinancing");
|
|
1119
1164
|
const { t: commonT } = useTranslation("common");
|
|
1120
1165
|
const formUtils = createFormUtils(props, commonT);
|
|
1121
1166
|
const addressCountry = data?.registrationAddress?.country;
|
|
@@ -1138,7 +1183,7 @@ function BusinessFinancingRegisteredAddress(props) {
|
|
|
1138
1183
|
handleFieldChange("registrationAddress")(state.data);
|
|
1139
1184
|
};
|
|
1140
1185
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1141
|
-
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", children: sectionHeading ? translateStringOrObject(commonT, sectionHeading) : commonT(($) => $["registeredAddress"]) }),
|
|
1186
|
+
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", className: styles.businessFinancingTitle, children: sectionHeading ? translateStringOrObject(commonT, sectionHeading) : commonT(($) => $["registeredAddress"]) }),
|
|
1142
1187
|
/* @__PURE__ */ jsx(
|
|
1143
1188
|
Field,
|
|
1144
1189
|
{
|
|
@@ -1152,7 +1197,7 @@ function BusinessFinancingRegisteredAddress(props) {
|
|
|
1152
1197
|
"aria-required": formUtils.isRequiredField("sameAddressAsRootEntity"),
|
|
1153
1198
|
"aria-invalid": !valid?.sameAddressAsRootEntity,
|
|
1154
1199
|
name: "sameAddressAsRootEntity",
|
|
1155
|
-
label:
|
|
1200
|
+
label: businessFinancingT(($) => $["sameAddressAsRootEntity"], {
|
|
1156
1201
|
rootLegalEntityName: legalEntity?.organization?.legalName ?? ""
|
|
1157
1202
|
}),
|
|
1158
1203
|
checked: data?.sameAddressAsRootEntity ?? false,
|
|
@@ -1161,7 +1206,7 @@ function BusinessFinancingRegisteredAddress(props) {
|
|
|
1161
1206
|
)
|
|
1162
1207
|
}
|
|
1163
1208
|
),
|
|
1164
|
-
data?.sameAddressAsRootEntity && legalEntity?.organization?.registeredAddress ? /* @__PURE__ */ jsxs("div", { className:
|
|
1209
|
+
data?.sameAddressAsRootEntity && legalEntity?.organization?.registeredAddress ? /* @__PURE__ */ jsxs("div", { className: styles.businessFinancingStructuredAddress, children: [
|
|
1165
1210
|
/* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.street }),
|
|
1166
1211
|
/* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.street2 }),
|
|
1167
1212
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -1190,9 +1235,8 @@ function BusinessFinancingRegisteredAddress(props) {
|
|
|
1190
1235
|
{
|
|
1191
1236
|
el: "fieldset",
|
|
1192
1237
|
name: "isThisAddressTheMainHeadquarters",
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
helper: efpT(($) => $["addressRegisteredWithGovernment"]),
|
|
1238
|
+
label: businessFinancingT(($) => $["areTheMainHeadquartersAtThisAddress"]),
|
|
1239
|
+
helper: businessFinancingT(($) => $["addressRegisteredWithGovernment"]),
|
|
1196
1240
|
errorMessage: formUtils.getErrorMessage(
|
|
1197
1241
|
"isThisAddressTheMainHeadquarters",
|
|
1198
1242
|
errors,
|
|
@@ -1205,6 +1249,7 @@ function BusinessFinancingRegisteredAddress(props) {
|
|
|
1205
1249
|
name: "isThisAddressTheMainHeadquarters",
|
|
1206
1250
|
items: businessFinancingRadioItems,
|
|
1207
1251
|
value: data?.isThisAddressTheMainHeadquarters,
|
|
1252
|
+
className: styles.businessFinancingLeiRadio,
|
|
1208
1253
|
disabled: false,
|
|
1209
1254
|
onChange: handleFieldChange("isThisAddressTheMainHeadquarters"),
|
|
1210
1255
|
"aria-required": true,
|
|
@@ -1217,12 +1262,16 @@ function BusinessFinancingRegisteredAddress(props) {
|
|
|
1217
1262
|
}
|
|
1218
1263
|
const parentCompanyFormId$1 = businessFinancingForms.parentCompany.formId;
|
|
1219
1264
|
function AdditionalFieldsForBusinessFinancingParentCompany(props) {
|
|
1220
|
-
const { t } = useTranslation(
|
|
1265
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1266
|
+
const { t: commonT } = useTranslation("common");
|
|
1221
1267
|
const {
|
|
1222
1268
|
form: { handleChangeFor, data, setValid }
|
|
1223
1269
|
} = useFormContext();
|
|
1224
1270
|
const { country, formVerificationErrors, fieldValidationErrors, legalEntity } = props;
|
|
1225
|
-
const formUtils = createFormUtils(
|
|
1271
|
+
const formUtils = createFormUtils(
|
|
1272
|
+
props,
|
|
1273
|
+
commonT
|
|
1274
|
+
);
|
|
1226
1275
|
const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "parentCompany", mode);
|
|
1227
1276
|
setValid("sameAddressAsRootEntity", true, "parentCompany");
|
|
1228
1277
|
const basicCompanyInformationProps = getFieldProps(props, basicInformationFields);
|
|
@@ -1239,8 +1288,8 @@ function AdditionalFieldsForBusinessFinancingParentCompany(props) {
|
|
|
1239
1288
|
setValid("currency", true, "parentCompany");
|
|
1240
1289
|
}
|
|
1241
1290
|
return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc__high-exposure-parent-company", children: [
|
|
1242
|
-
/* @__PURE__ */ jsx(Typography, { el: "h1", variant: "title-l", children:
|
|
1243
|
-
/* @__PURE__ */ jsx(Typography, { el: "p", variant: "body", children:
|
|
1291
|
+
/* @__PURE__ */ jsx(Typography, { el: "h1", variant: "title-l", className: styles.businessFinancingBody, children: commonT(($) => $["parentCompanyInformation"]) }),
|
|
1292
|
+
/* @__PURE__ */ jsx(Typography, { el: "p", variant: "body", className: styles.businessFinancingBody, children: businessFinancingT(($) => $["inThePreviousStepOwnedByAParentCompany"]) }),
|
|
1244
1293
|
/* @__PURE__ */ jsx(
|
|
1245
1294
|
ErrorPanel,
|
|
1246
1295
|
{
|
|
@@ -1308,8 +1357,12 @@ function AdditionalFieldsForBusinessFinancingParentCompany(props) {
|
|
|
1308
1357
|
const ultimateParentCompanyFormId$1 = businessFinancingForms.ultimateParentCompany.formId;
|
|
1309
1358
|
function AdditionalFieldsForBusinessFinancingUltimateParentCompany(props) {
|
|
1310
1359
|
const { formVerificationErrors, country, fieldValidationErrors, legalEntity } = props;
|
|
1311
|
-
const { t } = useTranslation(
|
|
1312
|
-
const
|
|
1360
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1361
|
+
const { t: commonT } = useTranslation("common");
|
|
1362
|
+
const formUtils = createFormUtils(
|
|
1363
|
+
props,
|
|
1364
|
+
commonT
|
|
1365
|
+
);
|
|
1313
1366
|
const {
|
|
1314
1367
|
form: { handleChangeFor, data, setValid }
|
|
1315
1368
|
} = useFormContext();
|
|
@@ -1329,8 +1382,8 @@ function AdditionalFieldsForBusinessFinancingUltimateParentCompany(props) {
|
|
|
1329
1382
|
setValid("currency", true, "ultimateParentCompany");
|
|
1330
1383
|
}
|
|
1331
1384
|
return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc__high-exposure-ultimate-parent-company", children: [
|
|
1332
|
-
/* @__PURE__ */ jsx(Typography, { el: "h1", variant: "title-l", children:
|
|
1333
|
-
/* @__PURE__ */ jsx(Typography, { el: "p", variant: "body", children:
|
|
1385
|
+
/* @__PURE__ */ jsx(Typography, { el: "h1", variant: "title-l", className: styles.businessFinancingBody, children: commonT(($) => $["ultimateParentCompanyInformation"]) }),
|
|
1386
|
+
/* @__PURE__ */ jsx(Typography, { el: "p", variant: "body", className: styles.businessFinancingBody, children: businessFinancingT(($) => $["inThePreviousStepOwnedByAnUltimateParentCompany"]) }),
|
|
1334
1387
|
/* @__PURE__ */ jsx(
|
|
1335
1388
|
ErrorPanel,
|
|
1336
1389
|
{
|
|
@@ -1424,7 +1477,8 @@ function BusinessFinancingDropin(props) {
|
|
|
1424
1477
|
isStandaloneComponent,
|
|
1425
1478
|
handleHomeClick
|
|
1426
1479
|
} = props;
|
|
1427
|
-
const {
|
|
1480
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1481
|
+
const { t: commonT, i18n } = useTranslation("common");
|
|
1428
1482
|
const userEvents = useAnalyticsContext();
|
|
1429
1483
|
const [defaultData, setDefaultData] = useState();
|
|
1430
1484
|
useRef(null);
|
|
@@ -1483,7 +1537,7 @@ function BusinessFinancingDropin(props) {
|
|
|
1483
1537
|
setDefaultData({ ...derivedData });
|
|
1484
1538
|
}
|
|
1485
1539
|
}, [derivedData]);
|
|
1486
|
-
const datasetUtils = datasetUtilities(i18n.
|
|
1540
|
+
const datasetUtils = datasetUtilities(i18n.language);
|
|
1487
1541
|
const [problems, setProblems] = useState();
|
|
1488
1542
|
const [loadingStatus, setLoadingStatus] = useState("success");
|
|
1489
1543
|
const [showEndState, setShowEndState] = useState(false);
|
|
@@ -1512,7 +1566,7 @@ function BusinessFinancingDropin(props) {
|
|
|
1512
1566
|
rootLegalEntity
|
|
1513
1567
|
);
|
|
1514
1568
|
if (!companyBusinessFinancingDetails || !rootLegalEntity) {
|
|
1515
|
-
showToast({ label:
|
|
1569
|
+
showToast({ label: businessFinancingT(($) => $["missingCompanyDetails"]), variant: "error" });
|
|
1516
1570
|
return;
|
|
1517
1571
|
}
|
|
1518
1572
|
let parentCompanyFailed = false;
|
|
@@ -1607,7 +1661,7 @@ function BusinessFinancingDropin(props) {
|
|
|
1607
1661
|
externalOnSubmit?.({ ...umfData });
|
|
1608
1662
|
}
|
|
1609
1663
|
} catch (e) {
|
|
1610
|
-
showToast({ label:
|
|
1664
|
+
showToast({ label: commonT(($) => $["failedToUpdateDetails"]), variant: "error" });
|
|
1611
1665
|
handleSubmissionError(e, BusinessFinancingIndices.COMPANY);
|
|
1612
1666
|
}
|
|
1613
1667
|
setProblems({});
|
|
@@ -1616,7 +1670,7 @@ function BusinessFinancingDropin(props) {
|
|
|
1616
1670
|
if (!parentCompanyFailed && !ultimateParentCompanyFailed) {
|
|
1617
1671
|
handleSubmissionError(e, BusinessFinancingIndices.COMPANY);
|
|
1618
1672
|
}
|
|
1619
|
-
showToast({ label:
|
|
1673
|
+
showToast({ label: commonT(($) => $["failedToUpdateDetails"]), variant: "error" });
|
|
1620
1674
|
} finally {
|
|
1621
1675
|
setLoadingStatus("success");
|
|
1622
1676
|
}
|
|
@@ -1637,17 +1691,14 @@ function BusinessFinancingDropin(props) {
|
|
|
1637
1691
|
}));
|
|
1638
1692
|
} else if (isMaintenanceModeError(error)) {
|
|
1639
1693
|
showToast({
|
|
1640
|
-
label:
|
|
1694
|
+
label: commonT(($) => $["maintenanceModeMessage"]),
|
|
1641
1695
|
variant: "error",
|
|
1642
1696
|
duration: "indefinite"
|
|
1643
1697
|
});
|
|
1644
1698
|
} else {
|
|
1645
|
-
showToast({ label:
|
|
1699
|
+
showToast({ label: commonT(($) => $["failedToUpdateDetails"]), variant: "error" });
|
|
1646
1700
|
}
|
|
1647
1701
|
};
|
|
1648
|
-
const associatedLeTrackingParams = getAssociatedLeAnalyticsPayload({
|
|
1649
|
-
associatedLegalEntity: rootLegalEntity
|
|
1650
|
-
});
|
|
1651
1702
|
const omittedSummaryKeys = [
|
|
1652
1703
|
"naceCodeLabel",
|
|
1653
1704
|
"legalFormLabel",
|
|
@@ -1703,35 +1754,16 @@ function BusinessFinancingDropin(props) {
|
|
|
1703
1754
|
shouldValidate
|
|
1704
1755
|
} = useFormComposer({
|
|
1705
1756
|
problems,
|
|
1706
|
-
navigationTrackingParams: associatedLeTrackingParams,
|
|
1707
1757
|
forms,
|
|
1708
1758
|
onSubmit
|
|
1709
1759
|
});
|
|
1710
|
-
const handleTrackNavigation = useCallback(
|
|
1711
|
-
(props2) => {
|
|
1712
|
-
trackNavigation({
|
|
1713
|
-
...props2,
|
|
1714
|
-
additionalTrackingParams: associatedLeTrackingParams
|
|
1715
|
-
});
|
|
1716
|
-
},
|
|
1717
|
-
[associatedLeTrackingParams]
|
|
1718
|
-
);
|
|
1719
|
-
const homeClick = () => {
|
|
1720
|
-
trackNavigation({
|
|
1721
|
-
userEvents,
|
|
1722
|
-
actionType: "save",
|
|
1723
|
-
toForm: "home",
|
|
1724
|
-
label: "home"
|
|
1725
|
-
});
|
|
1726
|
-
handleHomeClick?.();
|
|
1727
|
-
};
|
|
1728
1760
|
const renderActiveForm = (selectedForm) => /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-form-wrapper", children: [
|
|
1729
1761
|
selectedForm.formId === companyFormId && /* @__PURE__ */ jsx(
|
|
1730
1762
|
AdditionalFieldsForBusinessFinancingCompany,
|
|
1731
1763
|
{
|
|
1732
1764
|
data: defaultData?.company,
|
|
1733
1765
|
legalEntity: rootLegalEntity,
|
|
1734
|
-
heading:
|
|
1766
|
+
heading: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
|
|
1735
1767
|
id: companyFormId,
|
|
1736
1768
|
country,
|
|
1737
1769
|
shouldValidate,
|
|
@@ -1745,7 +1777,7 @@ function BusinessFinancingDropin(props) {
|
|
|
1745
1777
|
AdditionalFieldsForBusinessFinancingParentCompany,
|
|
1746
1778
|
{
|
|
1747
1779
|
data: defaultData?.parentCompany,
|
|
1748
|
-
heading:
|
|
1780
|
+
heading: commonT(($) => $["parentCompanyInformation"]),
|
|
1749
1781
|
id: companyFormId,
|
|
1750
1782
|
country,
|
|
1751
1783
|
shouldValidate,
|
|
@@ -1757,7 +1789,7 @@ function BusinessFinancingDropin(props) {
|
|
|
1757
1789
|
AdditionalFieldsForBusinessFinancingUltimateParentCompany,
|
|
1758
1790
|
{
|
|
1759
1791
|
data: defaultData?.ultimateParentCompany,
|
|
1760
|
-
heading:
|
|
1792
|
+
heading: commonT(($) => $["ultimateParentCompanyInformation"]),
|
|
1761
1793
|
id: companyFormId,
|
|
1762
1794
|
country,
|
|
1763
1795
|
shouldValidate,
|
|
@@ -1772,16 +1804,17 @@ function BusinessFinancingDropin(props) {
|
|
|
1772
1804
|
return showEndState ? /* @__PURE__ */ jsx(
|
|
1773
1805
|
EndStateLayout,
|
|
1774
1806
|
{
|
|
1775
|
-
title:
|
|
1776
|
-
description:
|
|
1777
|
-
action: externalOnSubmit && !showBusinessFinancingFirst ? /* @__PURE__ */ jsx(Button, { onClick: () => externalOnSubmit?.({ ...umfData }), children: externalOnSubmitLabel ||
|
|
1807
|
+
title: businessFinancingT(($) => $["submissionReceived"]),
|
|
1808
|
+
description: businessFinancingT(($) => $["theInformationProvidedIsBeingReviewed"]),
|
|
1809
|
+
action: externalOnSubmit && !showBusinessFinancingFirst ? /* @__PURE__ */ jsx(Button, { onClick: () => externalOnSubmit?.({ ...umfData }), children: externalOnSubmitLabel || commonT(($) => $["finish"]) }) : void 0
|
|
1778
1810
|
}
|
|
1779
1811
|
) : /* @__PURE__ */ jsx(FormContextProvider, { form, children: /* @__PURE__ */ jsx(
|
|
1780
1812
|
FormFlow,
|
|
1781
1813
|
{
|
|
1782
1814
|
summary: {
|
|
1783
1815
|
data: formatDataForSummary(
|
|
1784
|
-
i18n,
|
|
1816
|
+
i18n.language,
|
|
1817
|
+
businessFinancingT,
|
|
1785
1818
|
datasetUtils,
|
|
1786
1819
|
umfData,
|
|
1787
1820
|
rootLegalEntity?.organization?.registeredAddress
|
|
@@ -1790,7 +1823,6 @@ function BusinessFinancingDropin(props) {
|
|
|
1790
1823
|
keys: omittedSummaryKeys
|
|
1791
1824
|
},
|
|
1792
1825
|
problems,
|
|
1793
|
-
trackNavigation: handleTrackNavigation,
|
|
1794
1826
|
labels: customLabels
|
|
1795
1827
|
},
|
|
1796
1828
|
currentStep: steps.current,
|
|
@@ -1798,7 +1830,7 @@ function BusinessFinancingDropin(props) {
|
|
|
1798
1830
|
forms,
|
|
1799
1831
|
gotoFormByFormIndex,
|
|
1800
1832
|
handleBackClick,
|
|
1801
|
-
handleCancelClick:
|
|
1833
|
+
handleCancelClick: handleHomeClick,
|
|
1802
1834
|
handleNextClick,
|
|
1803
1835
|
loadingStatus,
|
|
1804
1836
|
totalSteps: steps.total,
|