@adyen/kyc-components 3.88.3 → 3.89.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-C4leZnSF.js → AcceptTermsOfServiceComponent-BpY2Ca7S.js} +18 -17
- package/dist/{Accordion-DUUSVxkw.js → Accordion-12qO9tR4.js} +1 -1
- package/dist/{AccountSetupRejected-BRX1HPFG.js → AccountSetupRejected-Dc1qvZzi.js} +3 -3
- package/dist/{ActionBar-ypa754Bo.js → ActionBar-rS_3rkAn.js} +1 -1
- package/dist/{Address-B-Haor9X.js → Address-DyXJyl-b.js} +8 -8
- package/dist/{Alert-Dip6cD6_.js → Alert-D2SzQ0IO.js} +2 -2
- package/dist/{Avatar-BWDxPXzE.js → Avatar-B4nJxHnr.js} +1 -1
- package/dist/{BG-DlvaKo4n.js → BG-HKzabLqZ.js} +2 -2
- package/dist/{BusinessDetailsMultiformDropin-C5mm90VF.js → BusinessDetailsMultiformDropin-B-uum6ec.js} +92 -151
- package/dist/{BusinessFinancingComponent-ClJ_d7uf.js → BusinessFinancingComponent-DPqcRMd4.js} +5 -5
- package/dist/{BusinessFinancingDropin-Bf7o6pZB.js → BusinessFinancingDropin-DYMl460N.js} +22 -22
- package/dist/{BusinessFinancingPage-5fKFkSYY.js → BusinessFinancingPage-DaWUo8DB.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-BaWyG52n.js → BusinessTypeSelectionPage-C_r8RSsJ.js} +9 -9
- package/dist/{Card-DGTo53bC.js → Card-Bu6wfAhS.js} +2 -2
- package/dist/{ConstitutionalDocument-MQAVac06.js → ConstitutionalDocument-BQXiBeEz.js} +9 -9
- package/dist/{CountryField-BnVZWFHc.js → CountryField-CPPAj3Nz.js} +6 -6
- package/dist/{CreateIndividualComponent-CYtjcPbj.js → CreateIndividualComponent-6sMullTB.js} +6 -6
- package/dist/{CreateTransferInstrumentComponent-BDd4nrO8.js → CreateTransferInstrumentComponent-_En3gq29.js} +6 -6
- package/dist/{Currency-CI0bEuvP.js → Currency-BMonuVb3.js} +4 -4
- package/dist/{CustomerSupport-BRwFBEfQ.js → CustomerSupport-C2F5vR71.js} +10 -10
- package/dist/{DebugModal-kw1scr1y.js → DebugModal-DlWMPEpB.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-DkF--RZo.js → DecisionMakerDetailsPage-B0TUCKqI.js} +7 -7
- package/dist/{DecisionMakers-BGikhBS0.js → DecisionMakers-BtaSw0dz.js} +47 -35
- package/dist/{EmbeddedStatus-D-UY15TU.js → EmbeddedStatus-DhvAuoZm.js} +2 -2
- package/dist/{EndStateLayout-B-Yg0bgi.js → EndStateLayout-CD51NAaK.js} +1 -1
- package/dist/{EntityAssociation-DzOcs1KC.js → EntityAssociation-Dp2GqDP_.js} +7 -7
- package/dist/{EntityGuidanceStatus-DcRAWTL2.js → EntityGuidanceStatus-B0OEnq8J.js} +3 -3
- package/dist/{FormFlow-C7OiLdGD.js → FormFlow-CQcx-upf.js} +7 -7
- package/dist/{FormNavigation-DX2r4jpC.js → FormNavigation-2oYuVb7X.js} +2 -2
- package/dist/{FormWrapper-Drs6LBuB.js → FormWrapper-gK1KRp1P.js} +9 -9
- package/dist/{IndividualOnfido-BXaOmRuc.js → IndividualOnfido-Iq2kmlaS.js} +83 -43
- package/dist/{IndividualOnfidoDropin-DiSfmEDk.js → IndividualOnfidoDropin-Dsg_cc2F.js} +113 -38
- package/dist/{InputText-GZ3HTx9H.js → InputText-C5cvWJ1t.js} +2 -2
- package/dist/{Introduction-CVtivEYL.js → Introduction-BstnJO2c.js} +3 -3
- package/dist/{JpAddress-BARMkGyR.js → JpAddress-BqXtsX-B.js} +19 -28
- package/dist/{LegalRepresentativeDetailsPage-Cu-I-EmT.js → LegalRepresentativeDetailsPage-BwKvjvUc.js} +4 -4
- package/dist/{ListItem-CfZ8urYo.js → ListItem-CYZOIj2t.js} +2 -2
- package/dist/ManageIndividualComponent-DKdQcBI1.js +46 -0
- package/dist/{ManageTermsOfServiceComponent-CxvDbZRm.js → ManageTermsOfServiceComponent-Bavhpa1V.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-DbeGN2q2.js → ManageTransferInstrumentComponent-BwrhLCSh.js} +13 -13
- package/dist/{MaybeModal-1goeAvm3.js → MaybeModal-CBbHCm6Q.js} +2 -2
- package/dist/{Modal-kAH_7yTH.js → Modal-Cz-76YvW.js} +1 -1
- package/dist/{OnboardingDropinComponent-DwCSMM9J.js → OnboardingDropinComponent-kgkEiHMu.js} +85 -104
- package/dist/{PayoutDetailsDropin-DSgzEUXk.js → PayoutDetailsDropin-XJ35XEpv.js} +46 -67
- package/dist/{Review-BBj9UMRL.js → Review-CobYnDtB.js} +6 -6
- package/dist/{RootBusinessDetailsPage-197h0LNw.js → RootBusinessDetailsPage-BSGjPlx3.js} +5 -5
- package/dist/{RootBusinessLinesPage-HWymdGVF.js → RootBusinessLinesPage-DeL3rH0d.js} +292 -84
- package/dist/{RootIndividualDetailsPage-D7FcgGh2.js → RootIndividualDetailsPage-BgormENF.js} +7 -7
- package/dist/{SignPCIComponent-D0cCB1NY.js → SignPCIComponent-oaRm_0Nr.js} +10 -10
- package/dist/{SingpassSelection-DaBhgDwl.js → SingpassSelection-CDEDnyHJ.js} +3 -3
- package/dist/{SoleProprietorshipPage-K1KkL_U7.js → SoleProprietorshipPage-BFeTq735.js} +4 -4
- package/dist/{SourceOfFundsPage-B44-Ue-H.js → SourceOfFundsPage-Cglx_P-R.js} +25 -25
- package/dist/{StepProgressIndicator-B8ow-Vd2.js → StepProgressIndicator-BLqLoVlT.js} +1 -1
- package/dist/{StoreProvider-B3vEYybK.js → StoreProvider-xGHaYMUs.js} +104 -103
- package/dist/{Summary-xeJ6Uh2B.js → Summary-wr53EegL.js} +4 -4
- package/dist/{TaxReportingDropin-DaS76WDp.js → TaxReportingDropin-CpNRXRek.js} +15 -15
- package/dist/{TrustDetailsPage-KzXIXK7U.js → TrustDetailsPage-BTiXIvFE.js} +27 -27
- package/dist/{TrustMemberCompanyPage-DDG2pshT.js → TrustMemberCompanyPage-WV-fcWoD.js} +6 -6
- package/dist/{TrustMemberIndividualPage-DE2yENgg.js → TrustMemberIndividualPage-C-6Oy0i1.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-FWRx9JaL.js → TrustMemberRoleAndTypePage-BynHHvYJ.js} +14 -14
- package/dist/{TrustMembersOverview-CyGnH0Im.js → TrustMembersOverview-TIZk8UDk.js} +12 -12
- package/dist/{UnincorporatedPartnershipIndividualPage-NpIaUaK_.js → UnincorporatedPartnershipIndividualPage-BlF0O71g.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-clnULf4j.js → UnincorporatedPartnershipMemberCompanyPage-B5ut95uC.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BBqV92zW.js → UnincorporatedPartnershipMemberRoleAndTypePage-BjNSb9NY.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-BcFjgFya.js → UnincorporatedPartnershipMembersOverview-DB3VyxpS.js} +8 -8
- package/dist/{VerificationErrorAlert-B0Y4C5I8.js → VerificationErrorAlert-BUlWfoSY.js} +4 -4
- package/dist/{ViewVerificationStatusComponent-CxvzD3Yh.js → ViewVerificationStatusComponent-F7Ls9_OC.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-kyc-components.js +20 -20
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/bg-BG-4gJjMBoz.js +13 -0
- package/dist/{bg-BG-DH45-0B-.js → bg-BG-DBsXOteB.js} +2 -1
- package/dist/bg-BG-DNp7JUA6.js +13 -0
- package/dist/bg-BG-DyX-yYYI.js +13 -0
- package/dist/bg-BG-wMYXZGDQ.js +13 -0
- package/dist/{cs-CZ-BDf9m4Rw.js → cs-CZ-B58kCXel.js} +18 -1
- package/dist/cs-CZ-BD5bYeuJ.js +13 -0
- package/dist/cs-CZ-CxB0DJQ6.js +13 -0
- package/dist/{cs-CZ-DPVMeRye.js → cs-CZ-DzChComK.js} +2 -1
- package/dist/cs-CZ-bkbdzIkF.js +13 -0
- package/dist/{da-DK-DU4dCNEw.js → da-DK-BlU1EczG.js} +2 -1
- package/dist/da-DK-DEdQ-QPp.js +13 -0
- package/dist/da-DK-DqkN5oIu.js +13 -0
- package/dist/da-DK-DvZ431fC.js +13 -0
- package/dist/da-DK-h8DYQ_Iq.js +13 -0
- package/dist/de-DE-0uSzhWg5.js +13 -0
- package/dist/de-DE-COuUdtao.js +13 -0
- package/dist/de-DE-DrSSblam.js +13 -0
- package/dist/de-DE-LQE_LFFL.js +13 -0
- package/dist/{de-DE-Dz2l6jRl.js → de-DE-s0B-XZyp.js} +2 -1
- package/dist/{debouncedInputEvent-hDU3oskH.js → debouncedInputEvent-DCyq5sdE.js} +1 -1
- package/dist/{documentUtils-nzTRBdC1.js → documentUtils-DzMXTfsp.js} +3 -3
- package/dist/{dropinUtils-DdwDN7Bc.js → dropinUtils-B7yeaBSf.js} +5 -7
- package/dist/el-GR-CWWBcvDM.js +13 -0
- package/dist/{el-GR-MLFY-Gg7.js → el-GR-CgrzE6er.js} +2 -1
- package/dist/el-GR-CjhbnLfE.js +13 -0
- package/dist/el-GR-DGbzdIL0.js +13 -0
- package/dist/el-GR-z3YMr7LZ.js +13 -0
- package/dist/{en-US-DYo4OF-P.js → en-US-CBsokt1L.js} +14 -1
- package/dist/{en-US-BPI4FZwa.js → en-US-d4WBvUW7.js} +18 -13
- package/dist/es-ES-B7dt4cn7.js +13 -0
- package/dist/es-ES-DNGEW6V_.js +13 -0
- package/dist/es-ES-DdGmXdxO.js +13 -0
- package/dist/es-ES-ShWaSuJd.js +13 -0
- package/dist/{es-ES-0ROz-BJh.js → es-ES-esfwvKwz.js} +2 -1
- package/dist/{et-EE-DmShD6oS.js → et-EE-BApmUBuH.js} +18 -1
- package/dist/{et-EE-esci5847.js → et-EE-BN1nOAGu.js} +2 -1
- package/dist/et-EE-Be9wlXLD.js +13 -0
- package/dist/et-EE-D5SNtVsM.js +13 -0
- package/dist/et-EE-D_3GB-yT.js +13 -0
- package/dist/fi-FI-CIYa9SyS.js +13 -0
- package/dist/fi-FI-ChApf7lf.js +13 -0
- package/dist/{fi-FI-xXrvDLFe.js → fi-FI-CjB6QC01.js} +2 -1
- package/dist/fi-FI-CoI_94Fv.js +13 -0
- package/dist/fi-FI-REMsyTSr.js +13 -0
- package/dist/{fieldConfigurations-N4_zg7Ml.js → fieldConfigurations-epeC-idf.js} +9 -9
- package/dist/fr-FR-Br7OeDIe.js +13 -0
- package/dist/{fr-FR-Bw9O-QAU.js → fr-FR-C1XqLftn.js} +2 -1
- package/dist/fr-FR-CvHWmim-.js +13 -0
- package/dist/fr-FR-Q3urMjbl.js +13 -0
- package/dist/fr-FR-l5z31r7i.js +13 -0
- package/dist/{getFieldsWithExistingData-B7SI929p.js → getFieldsWithExistingData-azmJKk85.js} +2 -2
- package/dist/{getName-DX2eXGn6.js → getName-DSkTeZNv.js} +1 -1
- package/dist/{hasDataChanged-CvwV_1m7.js → hasDataChanged-D8Z3vXtw.js} +1 -1
- package/dist/hr-HR-BtowKWUi.js +13 -0
- package/dist/{hr-HR-D8_yhtIo.js → hr-HR-CPvQ9uT8.js} +2 -1
- package/dist/{hr-HR-n7aMHIpM.js → hr-HR-LO3oO8yb.js} +2 -2
- package/dist/hr-HR-iodfRS4f.js +13 -0
- package/dist/hr-HR-jGIf2Gtl.js +13 -0
- package/dist/hu-HU-BjcOaEwh.js +13 -0
- package/dist/hu-HU-CEb_Wl4I.js +13 -0
- package/dist/hu-HU-DEKBPTur.js +13 -0
- package/dist/hu-HU-MHIPehPS.js +13 -0
- package/dist/{hu-HU-KliQetm5.js → hu-HU-dKPur6SA.js} +2 -1
- package/dist/{iframeWidget-Dp12U8Do.js → iframeWidget-Bx-TWfnt.js} +4 -4
- package/dist/it-IT-BAvmkEF8.js +13 -0
- package/dist/it-IT-BAvsF2TB.js +13 -0
- package/dist/it-IT-BeX7-OcD.js +13 -0
- package/dist/{it-IT-MwpjRAG6.js → it-IT-C_YDqVNT.js} +2 -1
- package/dist/it-IT-vdMlF0Ha.js +13 -0
- package/dist/{ja-JP-Bktpl_2b.js → ja-JP-C6Go-kaC.js} +19 -1
- package/dist/{ja-JP-Ctsk4z4q.js → ja-JP-D1vtig2x.js} +2 -2
- package/dist/{ja-JP-2u5fqLWF.js → ja-JP-DnBu0U51.js} +2 -1
- package/dist/{ja-JP-C_-moDrA.js → ja-JP-DsGXGCjF.js} +18 -1
- package/dist/ja-JP-US4BD67C.js +13 -0
- package/dist/{localizeDateString-DvzfRftu.js → localizeDateString-EzvskSO-.js} +1 -1
- package/dist/lt-LT-3niAR3rI.js +13 -0
- package/dist/lt-LT-DDs3ngzd.js +13 -0
- package/dist/{lt-LT-BEsBoIQ9.js → lt-LT-DhhomRPs.js} +2 -1
- package/dist/lt-LT-Y9aKpjC4.js +13 -0
- package/dist/lt-LT-os-nxAb0.js +13 -0
- package/dist/lv-LV-9NRF8DKM.js +13 -0
- package/dist/{lv-LV-Veji7-on.js → lv-LV-BWbH-gbT.js} +2 -1
- package/dist/lv-LV-Bm1fntV2.js +13 -0
- package/dist/lv-LV-CmB2-IO5.js +13 -0
- package/dist/lv-LV-K-KFPny2.js +13 -0
- package/dist/{mapExistingFile-Dft8c_GU.js → mapExistingFile-CC0kTOC7.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-DUg6qLUd.js → mapFinancialReportsToFinancialInformation-Bx2FAFF0.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-CBIqHrcd.js → mapJpAddressSchemaToAddressLocalizations-DA_9NmOK.js} +2 -2
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-DXcTpcXc.js → mapLegalEntityToIndividualOnfidoSchema-BQyvp2k7.js} +6 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-DvdznOim.js → mapTransferInstrumentToPayoutAccount-9RIVuylx.js} +2 -2
- package/dist/nl-NL-BwKrj-29.js +13 -0
- package/dist/nl-NL-C3YJkSIj.js +13 -0
- package/dist/nl-NL-CM5U8ODq.js +13 -0
- package/dist/nl-NL-DV4NqPVW.js +13 -0
- package/dist/{nl-NL-BuW3jWdI.js → nl-NL-DyeSX0PH.js} +2 -1
- 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-Ca5qoVaU.js → no-NO-D4BECLky.js} +18 -1
- package/dist/{no-NO-CA0EizAy.js → no-NO-DPRsAb_o.js} +2 -1
- package/dist/pl-PL-B0BQdtqx.js +13 -0
- package/dist/{pl-PL-D7nhdbfR.js → pl-PL-B1EJKJvT.js} +2 -1
- package/dist/pl-PL-DC_lIAnp.js +13 -0
- package/dist/pl-PL-DqzUSnFK.js +13 -0
- package/dist/pl-PL-xxcCzZvq.js +13 -0
- package/dist/{process-field-configurations-Bxy5QZtu.js → process-field-configurations-DFlteoms.js} +3 -3
- package/dist/pt-BR-AZ3roErF.js +13 -0
- package/dist/pt-BR-BKQRvAfq.js +13 -0
- package/dist/{pt-BR-D1nTSLod.js → pt-BR-C-C4ZJ9x.js} +2 -1
- package/dist/pt-BR-gh27BC86.js +13 -0
- package/dist/pt-BR-zuqB_CBf.js +13 -0
- package/dist/pt-PT-CFY1O_K0.js +13 -0
- package/dist/pt-PT-D2Xe-OdG.js +13 -0
- package/dist/pt-PT-DVKtHjIY.js +13 -0
- package/dist/pt-PT-DYihdcJx.js +13 -0
- package/dist/{pt-PT-B9L50746.js → pt-PT-LbneTcRx.js} +2 -1
- package/dist/{resolveEnvironment-COtv9JGU.js → resolveEnvironment-oqsY0qm-.js} +3 -3
- package/dist/ro-RO-7CJ4F5iB.js +13 -0
- package/dist/ro-RO-CHcD-PGb.js +13 -0
- package/dist/{ro-RO-DvG65dTt.js → ro-RO-CzTVqkev.js} +2 -1
- package/dist/ro-RO-Di-C4PpC.js +13 -0
- package/dist/ro-RO-WGnCVll9.js +13 -0
- package/dist/{rules-DP5YNbCP.js → rules-oHt7H3uT.js} +9 -6
- package/dist/sk-SK-B0hEG-HR.js +13 -0
- package/dist/{sk-SK-BMJgOJoa.js → sk-SK-BMlZjg5s.js} +2 -1
- package/dist/sk-SK-Cq_DSPZu.js +13 -0
- package/dist/sk-SK-DubwJifw.js +13 -0
- package/dist/sk-SK-s9Xm01UD.js +13 -0
- package/dist/sl-SI-59OQIZ3f.js +13 -0
- package/dist/{sl-SI-BMF8YtOm.js → sl-SI-8SzKx7XD.js} +2 -1
- package/dist/sl-SI-C0wSbuau.js +13 -0
- package/dist/sl-SI-C3gfuen3.js +13 -0
- package/dist/sl-SI-DdjgSySI.js +13 -0
- package/dist/style.css +49 -12
- package/dist/styles-CLV89_hH.js +49 -12
- package/dist/{sv-SE-BYC_f8r7.js → sv-SE-B7cpKp1l.js} +2 -1
- package/dist/{sv-SE-BUq1X9F0.js → sv-SE-BHkYspm-.js} +18 -1
- package/dist/sv-SE-CQWBP7n1.js +13 -0
- package/dist/sv-SE-DtKjf4Go.js +13 -0
- package/dist/sv-SE-zTiw1bUU.js +13 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformation.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformationMultiform.d.ts +1 -1
- package/dist/types/components/Business/forms/BasicInformation/BasicInformation.d.ts +1 -1
- package/dist/types/components/Business/forms/BasicInformation/BasicInformationMultiform.d.ts +1 -1
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +0 -35
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelectionMultiform.d.ts +1 -1
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructure.d.ts +1 -1
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructureMultiform.d.ts +1 -1
- 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 +1 -3
- package/dist/types/components/Business/forms/TaxDocument/TaxDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/TaxDocument/types.d.ts +1 -3
- package/dist/types/components/Business/forms/forms.types.d.ts +0 -3
- package/dist/types/components/BusinessLines/constants.d.ts +8 -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/forms/IndustryCodesForm/IndustryCodesForm.d.ts +1 -1
- package/dist/types/components/BusinessLines/forms/SctaForm/SctaForm.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/SctaForm/types.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/rules.d.ts +2 -1
- package/dist/types/components/BusinessLines/tasks/types.d.ts +2 -0
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +20 -1
- package/dist/types/components/BusinessLines/tasks/validate.d.ts +2 -0
- 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/IndividualOnfido.rules.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/ui/atoms/RadioCard/RadioCard.d.ts +1 -0
- package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.d.ts +1 -0
- package/dist/types/components/ui/atoms/TileGroup/TileGroup.d.ts +3 -1
- package/dist/types/context/ExperimentContext/types.d.ts +1 -5
- package/dist/types/stores/formState.d.ts +2 -0
- package/dist/types/types/datasets/currency.d.ts +0 -1
- package/dist/types/types/form-rules.d.ts +1 -0
- package/dist/types/types/form.d.ts +0 -2
- package/dist/types/utils/customerSupportUtils.d.ts +3 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/japanSupportUtils.d.ts +2 -0
- package/dist/{types-f66rmUFy.js → types-CHr4VLHl.js} +2 -6
- package/dist/{types-DYgIK0lP.js → types-CSHIgVkk.js} +3 -4
- package/dist/{types-Dcb_wyW_.js → types-D9lpHh6A.js} +1 -1
- package/dist/{types-CzYr9iSY.js → types-MlBlpxlI.js} +1 -1
- package/dist/{useAssociatedLegalEntity-DaKngTNK.js → useAssociatedLegalEntity-CoGhDZd2.js} +1 -1
- package/dist/{useCreateLegalEntity-Bevp-vJn.js → useCreateLegalEntity-nOSa_dqT.js} +1 -1
- package/dist/{useDataset-ectSMSmL.js → useDataset-DTWZWUzc.js} +3 -3
- package/dist/{useForm-C9uWOMRY.js → useForm-BpBuBEUa.js} +5 -5
- package/dist/{useGlobalData-3AC-ioGP.js → useGlobalData-CVtmtk-2.js} +3 -3
- package/dist/{useMultiForm-D2m8F9eU.js → useMultiForm-u22jk7oP.js} +3 -3
- package/dist/{useOnboardingStatus-CsBGQyX5.js → useOnboardingStatus-2tz472gU.js} +1 -1
- package/dist/{useScenarios-CEDUoOsv.js → useScenarios-C8RUjYA8.js} +1 -1
- package/dist/{useTermsOfServiceStatus-BFCRZDG0.js → useTermsOfServiceStatus-If65G5sJ.js} +1 -1
- package/dist/{useToastContext-xQ-C6F5J.js → useToastContext-X2F08zLy.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-CyaU0Vhb.js → useUnincorporatedPartnershipMembers-28D1H9lJ.js} +4 -4
- package/dist/{useUpdateBusinessLines-ecf8_6Sc.js → useUpdateBusinessLines-DrrNaCH8.js} +1 -1
- package/dist/{useUpdateLegalEntity-B4YDiHOM.js → useUpdateLegalEntity-DN7Drbgy.js} +2 -2
- package/dist/{utils-BMohBIMw.js → utils-Bv4ztJhc.js} +3 -3
- package/dist/{utils-BS41csO6.js → utils-CiW-NCtE.js} +6 -6
- package/dist/{validate-Dg_t_vTH.js → validate-CEicsOCd.js} +2 -2
- package/dist/{validate-C-doRegs.js → validate-COeLL_Ns.js} +1 -1
- package/dist/{validationError-BduJVyTU.js → validationError-Di9iB7fB.js} +2 -2
- package/package.json +2 -2
- package/dist/ManageIndividualComponent-DPwzdSKb.js +0 -46
- package/dist/bg-BG-B7Xs_t04.js +0 -13
- package/dist/bg-BG-DRkMqyL8.js +0 -13
- package/dist/bg-BG-DpIAKQve.js +0 -113
- package/dist/bg-BG-mLSjG76Q.js +0 -13
- package/dist/cs-CZ-BSWXexr4.js +0 -13
- package/dist/cs-CZ-BsV9NiQ2.js +0 -13
- package/dist/cs-CZ-DalFZigH.js +0 -13
- package/dist/da-DK-CI-vfqPo.js +0 -113
- package/dist/da-DK-D4Ojw97o.js +0 -13
- package/dist/da-DK-P3YSaBqs.js +0 -13
- package/dist/da-DK-R_y7YwqQ.js +0 -13
- package/dist/de-DE-BR6CLZw6.js +0 -13
- package/dist/de-DE-BcuLmcC8.js +0 -13
- package/dist/de-DE-nG2MBigU.js +0 -113
- package/dist/de-DE-opyC1JO-.js +0 -13
- package/dist/el-GR-B3FHqTOX.js +0 -13
- package/dist/el-GR-BX-MyQZY.js +0 -113
- package/dist/el-GR-CWd7XYDU.js +0 -13
- package/dist/el-GR-CofvCav-.js +0 -13
- package/dist/es-ES-BAg3NqQO.js +0 -13
- package/dist/es-ES-BhINIOee.js +0 -13
- package/dist/es-ES-CEp-ttVJ.js +0 -13
- package/dist/es-ES-Q16q2JJ6.js +0 -113
- package/dist/et-EE-Bk2IHQWP.js +0 -13
- package/dist/et-EE-Ci8RU2wg.js +0 -13
- package/dist/et-EE-x29FUaYN.js +0 -118
- package/dist/fi-FI-B_P4BAda.js +0 -113
- package/dist/fi-FI-CDISJifz.js +0 -13
- package/dist/fi-FI-DjlB2a7k.js +0 -13
- package/dist/fi-FI-MiyuQqH8.js +0 -13
- package/dist/fr-FR-CUdiBCVB.js +0 -113
- package/dist/fr-FR-DGMVrsJv.js +0 -13
- package/dist/fr-FR-Dx-CiPdB.js +0 -13
- package/dist/fr-FR-aJ3cg4x0.js +0 -13
- package/dist/hr-HR-BHt_jklG.js +0 -13
- package/dist/hr-HR-CXpCIMhI.js +0 -113
- package/dist/hr-HR-VivDwwdW.js +0 -13
- package/dist/hu-HU-DDsdPI5V.js +0 -13
- package/dist/hu-HU-D_DvlCMw.js +0 -13
- package/dist/hu-HU-DqEBeq-w.js +0 -113
- package/dist/hu-HU-WEtpzb41.js +0 -13
- package/dist/it-IT-C2MZo4KT.js +0 -13
- package/dist/it-IT-DLm11dH5.js +0 -13
- package/dist/it-IT-NCFAqV1F.js +0 -113
- package/dist/it-IT-yV7ewjWU.js +0 -13
- package/dist/ja-JP-CWe8f7m4.js +0 -13
- package/dist/lt-LT-CU5qHa7a.js +0 -113
- package/dist/lt-LT-CYiW52tl.js +0 -13
- package/dist/lt-LT-Cg9c0kae.js +0 -13
- package/dist/lt-LT-W6fTjwB5.js +0 -13
- package/dist/lv-LV-CgMxfFK8.js +0 -13
- package/dist/lv-LV-CpGkmcLz.js +0 -113
- package/dist/lv-LV-CxUmQHF9.js +0 -13
- package/dist/lv-LV-DsxFGThp.js +0 -13
- package/dist/nl-NL-Bk-1-C0e.js +0 -13
- package/dist/nl-NL-CMw-FwQV.js +0 -13
- package/dist/nl-NL-DKMs4pB2.js +0 -13
- package/dist/nl-NL-DMpB18Te.js +0 -113
- package/dist/no-NO-B-oUwe9q.js +0 -13
- package/dist/no-NO-DN9qf-_I.js +0 -13
- package/dist/no-NO-Dhj0Fh__.js +0 -13
- package/dist/pl-PL-BSI0zHO1.js +0 -113
- package/dist/pl-PL-DGSYzOx6.js +0 -13
- package/dist/pl-PL-Duj3tncM.js +0 -13
- package/dist/pl-PL-p8YxqOFg.js +0 -13
- package/dist/pt-BR-Be5ZycMV.js +0 -13
- package/dist/pt-BR-Cj8MlQyq.js +0 -113
- package/dist/pt-BR-Cm4vZocb.js +0 -13
- package/dist/pt-BR-DKrMpM6v.js +0 -13
- package/dist/pt-PT-BJjCTMYf.js +0 -13
- package/dist/pt-PT-BJkVzfAJ.js +0 -113
- package/dist/pt-PT-BR-BI5Jn.js +0 -13
- package/dist/pt-PT-Bh7v8xbp.js +0 -13
- package/dist/ro-RO-5I4Q_FyK.js +0 -13
- package/dist/ro-RO-B8leE4ZJ.js +0 -13
- package/dist/ro-RO-DjGku_3y.js +0 -13
- package/dist/ro-RO-RgC5M6CE.js +0 -113
- package/dist/sk-SK-0BVxI7bf.js +0 -113
- package/dist/sk-SK-BVmoP_EU.js +0 -13
- package/dist/sk-SK-BWwRIx2d.js +0 -13
- package/dist/sk-SK-Bb18qPBw.js +0 -13
- package/dist/sl-SI-6s8xycKg.js +0 -13
- package/dist/sl-SI-BxImW_RL.js +0 -113
- package/dist/sl-SI-CaJmYb6p.js +0 -13
- package/dist/sl-SI-ZxyvdgdS.js +0 -13
- package/dist/sv-SE-B1sbgsnh.js +0 -13
- package/dist/sv-SE-CCFIf86P.js +0 -13
- package/dist/sv-SE-D_ZnGxiQ.js +0 -13
|
@@ -2,56 +2,55 @@
|
|
|
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] = "7b818869-097f-49c7-8504-802029a7950b", e._sentryDebugIdIdentifier = "sentry-dbid-7b818869-097f-49c7-8504-802029a7950b");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useTranslation, B as Button, G as Typography, C as CountryCodes,
|
|
11
|
+
import { u as useTranslation, B as Button, G as Typography, C as CountryCodes, O as TaskTypes, r as LegalEntityTypes, $ as entriesOf, bC as businessDetailsComponentsKeyMapping, bD as solePropBusinessDetailsKeyMapping, aj as objectsDeepEqual, ap as keysOf, i as isUndefinedOrNull, bE as solePropBusinessDetailsApiKeyMapping, bp as businessDetailsApiKeyMapping, P as createLogger, b8 as filterOutUnwantedAssociationsIfRootLE, W as isEmpty$1, b6 as drop, af as getOwnEntityAssociations, aV as doArraysMatch, K as useAccountHolder, a0 as useAnalyticsContext, Z as useExperimentsContext, o as useSettingsContext, b as useApiContext, a2 as useQueryClient, bF as solePropBusinessDetailsDocumentMapping, bG as businessDetailsDocumentMapping, c as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-xGHaYMUs.js";
|
|
12
12
|
import { useState, useEffect, useRef, useCallback, useMemo } from "preact/hooks";
|
|
13
|
-
import { g as getForms, B as BasicInformation, C as CompanyStructure, A as AdditionalInformation, F as FinancialInformation, h as getDefaultRegistrationNumberType, i as getDefaultVatNumberType, j as FIELDS_NEEDED_FOR_COMPANY_SEARCH, k as companyTypeMetadata, l as documentFormsIds, r as registrationNumberDefaultFieldMetadata, m as inferCompanyRegistrationNumberType, o as registrationNumberDefaultFieldConfig, v as verifiedBusiness, s as setIsBankAccountRequestedForOrganization, p as useCompanySearch, q as useCompanySelection, t as useVerifyTin, w as useClearCompanyData, x as useBusinessLines, y as isNormalizedStringMatch, z as setVerifiedBusiness, D as useDebouncedState, G as legalFormFieldMetadata, H as stockTickerSymbolFieldMetadata, I as stockISINFieldMetadata, J as stockExchangeMICFieldMetadata, K as dateOfIncorporationFieldMetadata, L as industryCodeFieldMetadata, M as eInvoicingCodeFieldMetadata, N as vatAbsenceReasonMetadata, P as defaultFieldMetadata, Q as defaultFieldConfig, R as doingBusinessAsFieldMetadata, S as doingBusinessAsAbsentFieldMetadata, T as useIndustryCodes, U as INDUSTRY_CODE_FIELD, V as VerifiedBusinessCard, W as LEGAL_FORM_FIELDS, X as DBA_NAME_FIELD, Y as DBANameField, Z as BUSINESS_REGISTRATION_NUMBER_FIELD, _ as BusinessRegistrationNumberField, $ as VAT_NUMBER_FIELD, a0 as VatNumberField, a1 as EInvoicingCodeField, a2 as EINVOICING_CODE_FIELD, a3 as IndustryCodeField, a4 as DATE_OF_INCORPORATION_FIELD, a5 as DateOfIncorporationField, a6 as STOCK_EXCHANGE_MIC_FIELD, a7 as StockExchangeMICField, a8 as STOCK_ISIN_FIELD, a9 as StockISINField, aa as STOCK_TICKER_SYMBOL_FIELD, ab as StockTickerSymbolField, ac as ADDITIONAL_INFORMATION_FORM_ID, ad as localizedLegalCompanyNameFieldConfig, ae as defaultFieldMetadata$1, af as defaultFieldConfig$1, ag as defaultFieldMetadataV4, ah as defaultFieldMetadata$2, ai as defaultFieldConfigV4, aj as defaultFieldConfig$2, ak as useLegalCompanyNameField, al as COUNTRY_OF_GOVERNING_LAW_FIELD, am as CountryOfGoverningLawField, an as LEGAL_COMPANY_NAME_FIELD, ao as isBankAccountRequestedForOrganization, ap as companyTypeOptions, aq as useCompanyTypeExamples, E as EntityTypeRadioGroupCard, ar as BusinessSelectionMultiform, as as isVerifiedSingleCompanySearchResult, at as exemptFromRegistrationNumberDefaultFieldMetadata, au as CountryOfGoverningLawFieldValidation, av as CountryFieldValidation, aw as financialInfoValidationWithEmployeesRules, ax as CompanyStructureValidation, ay as tinMatched, az as businessMismatchModalOpen, aA as applyVerifiedBusinessData, aB as KOMPANY_SEARCH_FAILURE } from "./OnboardingDropinComponent-
|
|
14
|
-
import { u as useCreateBusinessLine, a as useUpdateBusinessLine } from "./useUpdateBusinessLines-
|
|
15
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
16
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
17
|
-
import { S as SettingNames, I as InputText } from "./InputText-
|
|
18
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
19
|
-
import { a as useGlobalData, b as useStateContext } from "./useGlobalData-
|
|
20
|
-
import { a as useToastContext } from "./useToastContext-
|
|
21
|
-
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
22
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
23
|
-
import { m as mapExistingFile, g as getPageName, u as useScenarioConfiguration } from "./mapExistingFile-
|
|
24
|
-
import { a as datasetUtilities, C as Confirm } from "./useDataset-
|
|
25
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
26
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
27
|
-
import { a as getDocument, c as createDocumentRequest, b as getFileExtention, d as documentApiUtils } from "./documentUtils-
|
|
28
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
29
|
-
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
13
|
+
import { g as getForms, B as BasicInformation, C as CompanyStructure, A as AdditionalInformation, F as FinancialInformation, h as getDefaultRegistrationNumberType, i as getDefaultVatNumberType, j as FIELDS_NEEDED_FOR_COMPANY_SEARCH, k as companyTypeMetadata, l as documentFormsIds, r as registrationNumberDefaultFieldMetadata, m as inferCompanyRegistrationNumberType, o as registrationNumberDefaultFieldConfig, v as verifiedBusiness, s as setIsBankAccountRequestedForOrganization, p as useCompanySearch, q as useCompanySelection, t as useVerifyTin, w as useClearCompanyData, x as useBusinessLines, y as isNormalizedStringMatch, z as setVerifiedBusiness, D as useDebouncedState, G as legalFormFieldMetadata, H as stockTickerSymbolFieldMetadata, I as stockISINFieldMetadata, J as stockExchangeMICFieldMetadata, K as dateOfIncorporationFieldMetadata, L as industryCodeFieldMetadata, M as eInvoicingCodeFieldMetadata, N as vatAbsenceReasonMetadata, P as defaultFieldMetadata, Q as defaultFieldConfig, R as doingBusinessAsFieldMetadata, S as doingBusinessAsAbsentFieldMetadata, T as useIndustryCodes, U as INDUSTRY_CODE_FIELD, V as VerifiedBusinessCard, W as LEGAL_FORM_FIELDS, X as DBA_NAME_FIELD, Y as DBANameField, Z as BUSINESS_REGISTRATION_NUMBER_FIELD, _ as BusinessRegistrationNumberField, $ as VAT_NUMBER_FIELD, a0 as VatNumberField, a1 as EInvoicingCodeField, a2 as EINVOICING_CODE_FIELD, a3 as IndustryCodeField, a4 as DATE_OF_INCORPORATION_FIELD, a5 as DateOfIncorporationField, a6 as STOCK_EXCHANGE_MIC_FIELD, a7 as StockExchangeMICField, a8 as STOCK_ISIN_FIELD, a9 as StockISINField, aa as STOCK_TICKER_SYMBOL_FIELD, ab as StockTickerSymbolField, ac as ADDITIONAL_INFORMATION_FORM_ID, ad as localizedLegalCompanyNameFieldConfig, ae as defaultFieldMetadata$1, af as defaultFieldConfig$1, ag as defaultFieldMetadataV4, ah as defaultFieldMetadata$2, ai as defaultFieldConfigV4, aj as defaultFieldConfig$2, ak as useLegalCompanyNameField, al as COUNTRY_OF_GOVERNING_LAW_FIELD, am as CountryOfGoverningLawField, an as LEGAL_COMPANY_NAME_FIELD, ao as isBankAccountRequestedForOrganization, ap as companyTypeOptions, aq as useCompanyTypeExamples, E as EntityTypeRadioGroupCard, ar as BusinessSelectionMultiform, as as isVerifiedSingleCompanySearchResult, at as exemptFromRegistrationNumberDefaultFieldMetadata, au as CountryOfGoverningLawFieldValidation, av as CountryFieldValidation, aw as financialInfoValidationWithEmployeesRules, ax as CompanyStructureValidation, ay as tinMatched, az as businessMismatchModalOpen, aA as applyVerifiedBusinessData, aB as KOMPANY_SEARCH_FAILURE } from "./OnboardingDropinComponent-kgkEiHMu.js";
|
|
14
|
+
import { u as useCreateBusinessLine, a as useUpdateBusinessLine } from "./useUpdateBusinessLines-DrrNaCH8.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-nOSa_dqT.js";
|
|
16
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DN7Drbgy.js";
|
|
17
|
+
import { S as SettingNames, I as InputText } from "./InputText-C5cvWJ1t.js";
|
|
18
|
+
import { h as hasDataChanged } from "./hasDataChanged-D8Z3vXtw.js";
|
|
19
|
+
import { a as useGlobalData, b as useStateContext } from "./useGlobalData-CVtmtk-2.js";
|
|
20
|
+
import { a as useToastContext } from "./useToastContext-X2F08zLy.js";
|
|
21
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-DFlteoms.js";
|
|
22
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-B7yeaBSf.js";
|
|
23
|
+
import { m as mapExistingFile, g as getPageName, u as useScenarioConfiguration } from "./mapExistingFile-CC0kTOC7.js";
|
|
24
|
+
import { a as datasetUtilities, C as Confirm } from "./useDataset-DTWZWUzc.js";
|
|
25
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-CiW-NCtE.js";
|
|
26
|
+
import { F as FormWrapper } from "./FormWrapper-gK1KRp1P.js";
|
|
27
|
+
import { a as getDocument, c as createDocumentRequest, b as getFileExtention, d as documentApiUtils } from "./documentUtils-DzMXTfsp.js";
|
|
28
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-azmJKk85.js";
|
|
29
|
+
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-Bv4ztJhc.js";
|
|
30
30
|
import cx from "classnames";
|
|
31
|
-
import {
|
|
32
|
-
import { M as MemoizedConstitutionalDocument } from "./ConstitutionalDocument-
|
|
33
|
-
import { g as getFormProps, s as summaryItem, m as mergeFieldMetadataIntoProps, c as createFormUtils, H as Header, E as ErrorPanel, C as CountryField, b as COUNTRY_FIELD, a as Link } from "./CountryField-
|
|
34
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
35
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
31
|
+
import { a0 as MemoizedDocumentUpload, C as CompanyTypesValues, n as COUNTRIES_USING_COMPANY_SEARCH, a1 as isRegistrationNumberAbsentStateV4Scenario, E as isEmpty, a2 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, r as requestingBanking, e as requestingIssuing, a as getCompanyRegistrationNumberOptions, t as taxInformationDefaultFieldMetadata, a3 as countryToTaxInfoTypeMap, i as taxInformationDefaultFieldConfig, a4 as rules, T as TAX_INFORMATION_FIELD, j as TaxInformationField, u as useAllowedCountries, m as COUNTRY_OF_GOVERNING_LAW_POSSIBLE } from "./IndividualOnfido-Iq2kmlaS.js";
|
|
32
|
+
import { M as MemoizedConstitutionalDocument } from "./ConstitutionalDocument-BQXiBeEz.js";
|
|
33
|
+
import { g as getFormProps, s as summaryItem, m as mergeFieldMetadataIntoProps, c as createFormUtils, H as Header, E as ErrorPanel, C as CountryField, b as COUNTRY_FIELD, a as Link } from "./CountryField-CPPAj3Nz.js";
|
|
34
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-CQcx-upf.js";
|
|
35
|
+
import { u as useMultiForm } from "./useMultiForm-u22jk7oP.js";
|
|
36
36
|
import { b as mapAddressLocalizationToJpAddressSchema, a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
37
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
38
|
-
import { o as operationalAddressIsSameIds, k as isDateOlderThanAYear, r as mapAddressLabels, s as getKeyForField, i as useFormContext, g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, u as useAddressCleanse, b as formatAddressForCleanse, m as mapAddressData, A as Address, d as getNestedTrustedFields, e as getAddressSchemaLabelsByCountry, S as STATE_FIELD, h as StateField } from "./Address-
|
|
37
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-Bx2FAFF0.js";
|
|
38
|
+
import { o as operationalAddressIsSameIds, k as isDateOlderThanAYear, r as mapAddressLabels, s as getKeyForField, i as useFormContext, g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, u as useAddressCleanse, b as formatAddressForCleanse, m as mapAddressData, A as Address, d as getNestedTrustedFields, e as getAddressSchemaLabelsByCountry, S as STATE_FIELD, h as StateField } from "./Address-DyXJyl-b.js";
|
|
39
39
|
import { f as formatObject, g as getProp } from "./utils-DNSfZiio.js";
|
|
40
|
-
import { m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
41
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
42
|
-
import { r as resolveFieldMetadata } from "./fieldConfigurations-
|
|
40
|
+
import { m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-DA_9NmOK.js";
|
|
41
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-Di9iB7fB.js";
|
|
42
|
+
import { r as resolveFieldMetadata } from "./fieldConfigurations-epeC-idf.js";
|
|
43
43
|
import { Suspense, lazy } from "preact/compat";
|
|
44
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
45
|
-
import { F as Field } from "./useForm-
|
|
46
|
-
import { L as LegalFormField } from "./Currency-
|
|
47
|
-
import { M as Modal, a as ModalContent } from "./Modal-
|
|
48
|
-
import { s as summaryStep } from "./Summary-
|
|
44
|
+
import { C as Checkbox } from "./debouncedInputEvent-DCyq5sdE.js";
|
|
45
|
+
import { F as Field } from "./useForm-BpBuBEUa.js";
|
|
46
|
+
import { L as LegalFormField } from "./Currency-BMonuVb3.js";
|
|
47
|
+
import { M as Modal, a as ModalContent } from "./Modal-Cz-76YvW.js";
|
|
48
|
+
import { s as summaryStep } from "./Summary-wr53EegL.js";
|
|
49
49
|
const documentTypes$2 = [
|
|
50
50
|
{ id: "Internal company document", name: "internalCompanyDocument" },
|
|
51
51
|
{ id: "Business registry statement", name: "businessRegistryStatement" }
|
|
52
52
|
];
|
|
53
|
-
const GuidanceContent$4 = () => {
|
|
54
|
-
const { t } = useTranslation(["common", "business"]);
|
|
53
|
+
const GuidanceContent$4 = ({ t }) => {
|
|
55
54
|
return /* @__PURE__ */ jsx("div", { className: "adyen-kyc-upload-field__guidance", children: /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-u-margin-bottom-24", children: [
|
|
56
55
|
/* @__PURE__ */ jsx("strong", { children: t(($) => $["documentRequirements"], { ns: "common" }) }),
|
|
57
56
|
/* @__PURE__ */ jsxs("ul", { children: [
|
|
@@ -61,25 +60,19 @@ const GuidanceContent$4 = () => {
|
|
|
61
60
|
] })
|
|
62
61
|
] }) });
|
|
63
62
|
};
|
|
64
|
-
function ProofOfDirectorDocument({
|
|
65
|
-
|
|
66
|
-
country,
|
|
67
|
-
heading = "uploadYourOrganizationProofOfDirector",
|
|
68
|
-
description = "weNeedAnOfficialDocument",
|
|
69
|
-
...props
|
|
70
|
-
}) {
|
|
71
|
-
const { t } = useTranslation("common");
|
|
63
|
+
function ProofOfDirectorDocument({ id, country, ...props }) {
|
|
64
|
+
const { t } = useTranslation(["common", "business"]);
|
|
72
65
|
const [selectedDocumentName, setSelectedDocumentName] = useState(documentTypes$2[0].id);
|
|
73
66
|
return /* @__PURE__ */ jsx(
|
|
74
67
|
MemoizedDocumentUpload,
|
|
75
68
|
{
|
|
76
69
|
...props,
|
|
77
70
|
id,
|
|
78
|
-
heading: t(($) => $[
|
|
79
|
-
description: t(($) => $[
|
|
71
|
+
heading: t(($) => $["uploadYourOrganizationProofOfDirector"], { ns: "business" }),
|
|
72
|
+
description: t(($) => $["weNeedAnOfficialDocument"], { ns: "business" }),
|
|
80
73
|
documentField: "proofOfDirector",
|
|
81
74
|
documentType: "proofOfDirector",
|
|
82
|
-
guidanceContent: /* @__PURE__ */ jsx(GuidanceContent$4, {}),
|
|
75
|
+
guidanceContent: /* @__PURE__ */ jsx(GuidanceContent$4, { t }),
|
|
83
76
|
country,
|
|
84
77
|
hidePageCount: true,
|
|
85
78
|
documentTypeSelect: {
|
|
@@ -98,8 +91,10 @@ const documentTypes$1 = [
|
|
|
98
91
|
name: "organizationalChartAndSupportingDocument"
|
|
99
92
|
}
|
|
100
93
|
];
|
|
101
|
-
const GuidanceContent$3 = ({
|
|
102
|
-
|
|
94
|
+
const GuidanceContent$3 = ({
|
|
95
|
+
selectedDocumentName,
|
|
96
|
+
t
|
|
97
|
+
}) => {
|
|
103
98
|
const [showGuidanceModal, setShowGuidanceModal] = useState(false);
|
|
104
99
|
return /* @__PURE__ */ jsx("div", { className: "adyen-kyc-upload-field__guidance", children: /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-u-margin-bottom-24", children: [
|
|
105
100
|
/* @__PURE__ */ jsx("strong", { children: t(($) => $["documentRequirements"], { ns: "common" }) }),
|
|
@@ -124,7 +119,7 @@ const GuidanceContent$3 = ({ selectedDocumentName }) => {
|
|
|
124
119
|
) }),
|
|
125
120
|
/* @__PURE__ */ jsxs("li", { children: [
|
|
126
121
|
/* @__PURE__ */ jsxs("span", { children: [
|
|
127
|
-
t(($) => $["one"]),
|
|
122
|
+
t(($) => $["one"], { ns: "common" }),
|
|
128
123
|
" "
|
|
129
124
|
] }),
|
|
130
125
|
/* @__PURE__ */ jsx(Button, { onClick: () => setShowGuidanceModal(true), variant: "link", children: t(($) => $["supportingDocument"], { ns: "common" }) }),
|
|
@@ -174,13 +169,7 @@ const GuidanceContent$3 = ({ selectedDocumentName }) => {
|
|
|
174
169
|
)
|
|
175
170
|
] }) });
|
|
176
171
|
};
|
|
177
|
-
function ProofOfOwnershipDocument({
|
|
178
|
-
id,
|
|
179
|
-
country,
|
|
180
|
-
heading = "uploadYourOrganizationProofOfOwnership",
|
|
181
|
-
description = "weNeedAnOfficialDocumentForOwnership",
|
|
182
|
-
...props
|
|
183
|
-
}) {
|
|
172
|
+
function ProofOfOwnershipDocument({ id, country, ...props }) {
|
|
184
173
|
const { t } = useTranslation(["common", "business"]);
|
|
185
174
|
const [selectedDocumentName, setSelectedDocumentName] = useState(documentTypes$1[0].id);
|
|
186
175
|
const supportsMultiple = selectedDocumentName === DOC_TYPE_FOR_MULTI_UPLOAD;
|
|
@@ -194,11 +183,11 @@ function ProofOfOwnershipDocument({
|
|
|
194
183
|
{
|
|
195
184
|
...props,
|
|
196
185
|
id,
|
|
197
|
-
heading: t(($) => $[
|
|
198
|
-
description: t(($) => $[
|
|
186
|
+
heading: t(($) => $["uploadYourOrganizationProofOfOwnership"], { ns: "business" }),
|
|
187
|
+
description: t(($) => $["weNeedAnOfficialDocumentForOwnership"], { ns: "business" }),
|
|
199
188
|
documentField: "proofOfOwnership",
|
|
200
189
|
documentType: "proofOfOwnership",
|
|
201
|
-
guidanceContent: /* @__PURE__ */ jsx(GuidanceContent$3, { selectedDocumentName }),
|
|
190
|
+
guidanceContent: /* @__PURE__ */ jsx(GuidanceContent$3, { selectedDocumentName, t }),
|
|
202
191
|
country,
|
|
203
192
|
label: t(($) => $["uploadYourDocuments"], { ns: "business" }),
|
|
204
193
|
documentTypeSelect: {
|
|
@@ -217,8 +206,7 @@ const documentTypes = [
|
|
|
217
206
|
{ id: "Trade registry document", name: "tradeRegistryDocument" },
|
|
218
207
|
{ id: "Internal company document", name: "internalCompanyDocument" }
|
|
219
208
|
];
|
|
220
|
-
const GuidanceContent$2 = () => {
|
|
221
|
-
const { t } = useTranslation(["common", "business"]);
|
|
209
|
+
const GuidanceContent$2 = ({ t }) => {
|
|
222
210
|
return /* @__PURE__ */ jsx("div", { className: "adyen-kyc-upload-field__guidance", children: /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-u-margin-bottom-24", children: [
|
|
223
211
|
/* @__PURE__ */ jsx("strong", { children: t(($) => $["documentRequirements"], { ns: "common" }) }),
|
|
224
212
|
/* @__PURE__ */ jsxs("ul", { children: [
|
|
@@ -228,25 +216,19 @@ const GuidanceContent$2 = () => {
|
|
|
228
216
|
] })
|
|
229
217
|
] }) });
|
|
230
218
|
};
|
|
231
|
-
function ProofOfSignatoryDocument({
|
|
232
|
-
|
|
233
|
-
country,
|
|
234
|
-
heading = "uploadYourOrganizationProofOfSignatory",
|
|
235
|
-
description = "weNeedAnOfficialDocumentSignatory",
|
|
236
|
-
...props
|
|
237
|
-
}) {
|
|
238
|
-
const { t } = useTranslation("common");
|
|
219
|
+
function ProofOfSignatoryDocument({ id, country, ...props }) {
|
|
220
|
+
const { t } = useTranslation(["common", "business"]);
|
|
239
221
|
const [selectedDocumentName, setSelectedDocumentName] = useState(documentTypes[0].id);
|
|
240
222
|
return /* @__PURE__ */ jsx(
|
|
241
223
|
MemoizedDocumentUpload,
|
|
242
224
|
{
|
|
243
225
|
...props,
|
|
244
226
|
id,
|
|
245
|
-
heading: t(($) => $[
|
|
246
|
-
description: t(($) => $[
|
|
227
|
+
heading: t(($) => $["uploadYourOrganizationProofOfSignatory"], { ns: "business" }),
|
|
228
|
+
description: t(($) => $["weNeedAnOfficialDocumentSignatory"], { ns: "business" }),
|
|
247
229
|
documentField: "proofOfSignatory",
|
|
248
230
|
documentType: "proofOfSignatory",
|
|
249
|
-
guidanceContent: /* @__PURE__ */ jsx(GuidanceContent$2, {}),
|
|
231
|
+
guidanceContent: /* @__PURE__ */ jsx(GuidanceContent$2, { t }),
|
|
250
232
|
country,
|
|
251
233
|
hidePageCount: true,
|
|
252
234
|
documentTypeSelect: {
|
|
@@ -328,9 +310,9 @@ const ACCEPTED_DOCUMENTS_MAP$1 = {
|
|
|
328
310
|
};
|
|
329
311
|
const GuidanceContent$1 = ({
|
|
330
312
|
country,
|
|
331
|
-
companyType
|
|
313
|
+
companyType,
|
|
314
|
+
t
|
|
332
315
|
}) => {
|
|
333
|
-
const { t } = useTranslation(["common", "business"]);
|
|
334
316
|
const acceptedDocGuidance = ACCEPTED_DOCUMENTS_MAP$1[country]?.[companyType];
|
|
335
317
|
return /* @__PURE__ */ jsx("div", { className: "adyen-kyc-upload-field__guidance", children: country === "US" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
336
318
|
acceptedDocGuidance && /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-u-margin-bottom-24", children: [
|
|
@@ -350,21 +332,19 @@ function RegistrationDocument({
|
|
|
350
332
|
id,
|
|
351
333
|
country,
|
|
352
334
|
companyType = CompanyTypesValues.PRIVATE_COMPANY,
|
|
353
|
-
heading = "companyRegistrationDocumentFormHeading",
|
|
354
|
-
description = "companyRegistrationDocumentFormDescription",
|
|
355
335
|
...props
|
|
356
336
|
}) {
|
|
357
|
-
const { t } = useTranslation("common");
|
|
337
|
+
const { t } = useTranslation(["common", "business"]);
|
|
358
338
|
return /* @__PURE__ */ jsx(
|
|
359
339
|
MemoizedDocumentUpload,
|
|
360
340
|
{
|
|
361
341
|
...props,
|
|
362
342
|
id,
|
|
363
|
-
heading: t(($) => $[
|
|
364
|
-
description: t(($) => $[
|
|
343
|
+
heading: t(($) => $["companyRegistrationDocumentFormHeading"], { ns: "business" }),
|
|
344
|
+
description: t(($) => $["companyRegistrationDocumentFormDescription"], { ns: "business" }),
|
|
365
345
|
documentField: "registrationDocument",
|
|
366
346
|
documentType: "registrationDocument",
|
|
367
|
-
guidanceContent: /* @__PURE__ */ jsx(GuidanceContent$1, { country, companyType }),
|
|
347
|
+
guidanceContent: /* @__PURE__ */ jsx(GuidanceContent$1, { country, companyType, t }),
|
|
368
348
|
companyType,
|
|
369
349
|
country,
|
|
370
350
|
hidePageCount: true
|
|
@@ -449,18 +429,16 @@ function TaxDocument({
|
|
|
449
429
|
id,
|
|
450
430
|
country,
|
|
451
431
|
companyType = CompanyTypesValues.PRIVATE_COMPANY,
|
|
452
|
-
heading = "companyTaxDocumentFormHeading",
|
|
453
|
-
description = "companyTaxDocumentFormDescription",
|
|
454
432
|
...props
|
|
455
433
|
}) {
|
|
456
|
-
const { t } = useTranslation("
|
|
434
|
+
const { t } = useTranslation("business");
|
|
457
435
|
return /* @__PURE__ */ jsx(
|
|
458
436
|
MemoizedDocumentUpload,
|
|
459
437
|
{
|
|
460
438
|
...props,
|
|
461
439
|
id,
|
|
462
|
-
heading: t(($) => $[
|
|
463
|
-
description: t(($) => $[
|
|
440
|
+
heading: t(($) => $["companyTaxDocumentFormHeading"]),
|
|
441
|
+
description: t(($) => $["companyTaxDocumentFormDescription"]),
|
|
464
442
|
documentField: "taxDocument",
|
|
465
443
|
documentType: "proofOfOrganizationTaxInfo",
|
|
466
444
|
guidanceContent: /* @__PURE__ */ jsx(GuidanceContent, { country, companyType }),
|
|
@@ -471,8 +449,7 @@ function TaxDocument({
|
|
|
471
449
|
);
|
|
472
450
|
}
|
|
473
451
|
function BusinessDetails(props) {
|
|
474
|
-
const {
|
|
475
|
-
const { t } = useTranslation("business");
|
|
452
|
+
const { t } = useTranslation(["common", "business"]);
|
|
476
453
|
const { companyStructure } = useGlobalData();
|
|
477
454
|
const {
|
|
478
455
|
country,
|
|
@@ -500,8 +477,6 @@ function BusinessDetails(props) {
|
|
|
500
477
|
{
|
|
501
478
|
...getFormProps(props, forms.basicInformation.formId),
|
|
502
479
|
id: forms.basicInformation.formId,
|
|
503
|
-
heading: i18n.get(activeForm?.formHeading || forms.basicInformation.formHeading),
|
|
504
|
-
description: activeForm?.formDescription ? i18n.get(activeForm?.formDescription) : void 0,
|
|
505
480
|
country,
|
|
506
481
|
companyType,
|
|
507
482
|
isTopLevelEntity,
|
|
@@ -522,10 +497,6 @@ function BusinessDetails(props) {
|
|
|
522
497
|
{
|
|
523
498
|
...getFormProps(props, forms.companyStructure.formId),
|
|
524
499
|
id: forms.companyStructure.formId,
|
|
525
|
-
heading: i18n.get(activeForm?.formHeading ?? forms.companyStructure.formHeading),
|
|
526
|
-
description: i18n.get(
|
|
527
|
-
activeForm?.formDescription ?? forms.companyStructure.formDescription
|
|
528
|
-
),
|
|
529
500
|
country,
|
|
530
501
|
showCompanyStructure
|
|
531
502
|
}
|
|
@@ -535,7 +506,6 @@ function BusinessDetails(props) {
|
|
|
535
506
|
{
|
|
536
507
|
...getFormProps(props, forms.additionalInformation.formId),
|
|
537
508
|
id: forms.additionalInformation.formId,
|
|
538
|
-
heading: i18n.get(activeForm?.formHeading ?? forms.additionalInformation.formHeading),
|
|
539
509
|
country,
|
|
540
510
|
companyType,
|
|
541
511
|
showCompanyStructure
|
|
@@ -546,8 +516,6 @@ function BusinessDetails(props) {
|
|
|
546
516
|
{
|
|
547
517
|
...getFormProps(props, forms.companyRegistrationDocument.formId),
|
|
548
518
|
id: forms.companyRegistrationDocument.formId,
|
|
549
|
-
heading: forms.companyRegistrationDocument.formHeading,
|
|
550
|
-
description: forms.companyRegistrationDocument.formDescription,
|
|
551
519
|
country,
|
|
552
520
|
companyType
|
|
553
521
|
}
|
|
@@ -557,8 +525,6 @@ function BusinessDetails(props) {
|
|
|
557
525
|
{
|
|
558
526
|
...getFormProps(props, forms.companyTaxDocument.formId),
|
|
559
527
|
id: forms.companyTaxDocument.formId,
|
|
560
|
-
heading: forms.companyTaxDocument.formHeading,
|
|
561
|
-
description: forms.companyTaxDocument.formDescription,
|
|
562
528
|
country,
|
|
563
529
|
companyType
|
|
564
530
|
}
|
|
@@ -567,15 +533,15 @@ function BusinessDetails(props) {
|
|
|
567
533
|
{
|
|
568
534
|
...getFormProps(props, forms.companyTaxDocument.formId),
|
|
569
535
|
id: forms.companyTaxDocument.formId,
|
|
570
|
-
heading:
|
|
571
|
-
description:
|
|
536
|
+
heading: t(($) => $["companyTaxDocumentFormHeading"], { ns: "business" }),
|
|
537
|
+
description: t(($) => $["companyTaxDocumentFormDescription"], { ns: "business" }),
|
|
572
538
|
documentField: "taxDocument",
|
|
573
539
|
documentType: "vatDocument",
|
|
574
540
|
hidePageCount: true,
|
|
575
541
|
guidanceContent: /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-u-margin-bottom-24", children: [
|
|
576
542
|
/* @__PURE__ */ jsxs("div", { className: "adyen-kyc-upload-field__subtitle", children: [
|
|
577
543
|
" ",
|
|
578
|
-
|
|
544
|
+
t(($) => $["requirements"], { ns: "common" })
|
|
579
545
|
] }),
|
|
580
546
|
/* @__PURE__ */ jsxs("ul", { children: [
|
|
581
547
|
/* @__PURE__ */ jsx("li", { children: t(($) => $["containsNameOfCompany"], { ns: "business" }) }),
|
|
@@ -590,8 +556,6 @@ function BusinessDetails(props) {
|
|
|
590
556
|
{
|
|
591
557
|
...getFormProps(props, forms.companyProofOfDirectorDocument.formId),
|
|
592
558
|
id: forms.companyProofOfDirectorDocument.formId,
|
|
593
|
-
heading: forms.companyProofOfDirectorDocument.formHeading,
|
|
594
|
-
description: forms.companyProofOfDirectorDocument.formDescription,
|
|
595
559
|
country
|
|
596
560
|
}
|
|
597
561
|
) }),
|
|
@@ -600,8 +564,6 @@ function BusinessDetails(props) {
|
|
|
600
564
|
{
|
|
601
565
|
...getFormProps(props, forms.companyProofOfSignatoryDocument.formId),
|
|
602
566
|
id: forms.companyProofOfSignatoryDocument.formId,
|
|
603
|
-
heading: forms.companyProofOfSignatoryDocument.formHeading,
|
|
604
|
-
description: forms.companyProofOfSignatoryDocument.formDescription,
|
|
605
567
|
country
|
|
606
568
|
}
|
|
607
569
|
) }),
|
|
@@ -610,8 +572,6 @@ function BusinessDetails(props) {
|
|
|
610
572
|
{
|
|
611
573
|
...getFormProps(props, forms.companyProofOfOwnershipDocument.formId),
|
|
612
574
|
id: forms.companyProofOfOwnershipDocument.formId,
|
|
613
|
-
heading: forms.companyProofOfOwnershipDocument.formHeading,
|
|
614
|
-
description: forms.companyProofOfOwnershipDocument.formDescription,
|
|
615
575
|
country
|
|
616
576
|
}
|
|
617
577
|
) }),
|
|
@@ -628,7 +588,6 @@ function BusinessDetails(props) {
|
|
|
628
588
|
FinancialInformation,
|
|
629
589
|
{
|
|
630
590
|
...getFormProps(props, forms.companyFinancialInformation.formId),
|
|
631
|
-
heading: i18n.get("financialInformation"),
|
|
632
591
|
id: forms.companyFinancialInformation.formId,
|
|
633
592
|
country
|
|
634
593
|
}
|
|
@@ -2264,15 +2223,13 @@ function BusinessDetailsDropin({
|
|
|
2264
2223
|
);
|
|
2265
2224
|
}
|
|
2266
2225
|
const LazyJpAddress = lazy(
|
|
2267
|
-
async () => (await import("./JpAddress-
|
|
2226
|
+
async () => (await import("./JpAddress-BqXtsX-B.js")).JpAddress
|
|
2268
2227
|
);
|
|
2269
2228
|
function AdditionalInformationMultiform({
|
|
2270
2229
|
id,
|
|
2271
2230
|
country,
|
|
2272
2231
|
companyType,
|
|
2273
2232
|
shouldValidate,
|
|
2274
|
-
heading = "additionalInformationFormHeading",
|
|
2275
|
-
description,
|
|
2276
2233
|
validationErrors = {},
|
|
2277
2234
|
verificationErrors = {}
|
|
2278
2235
|
}) {
|
|
@@ -2490,13 +2447,7 @@ function AdditionalInformationMultiform({
|
|
|
2490
2447
|
return t(($) => $["youBusinessOfficalAddress"], { ns: "business" });
|
|
2491
2448
|
}, [country, datasetUtils, t]);
|
|
2492
2449
|
return /* @__PURE__ */ jsxs("form", { id, className: "adyen-kyc-additional-information", children: [
|
|
2493
|
-
/* @__PURE__ */ jsx(
|
|
2494
|
-
Header,
|
|
2495
|
-
{
|
|
2496
|
-
title: t(($) => $[heading], { ns: "common" }),
|
|
2497
|
-
description: description ? t(($) => $[description], { ns: "common" }) : void 0
|
|
2498
|
-
}
|
|
2499
|
-
),
|
|
2450
|
+
/* @__PURE__ */ jsx(Header, { title: t(($) => $["additionalInformationFormHeading"], { ns: "business" }) }),
|
|
2500
2451
|
/* @__PURE__ */ jsx(
|
|
2501
2452
|
ErrorPanel,
|
|
2502
2453
|
{
|
|
@@ -2934,10 +2885,12 @@ function AdditionalInformationMultiform({
|
|
|
2934
2885
|
...BUSINESS_REGISTRATION_NUMBER_FIELD,
|
|
2935
2886
|
...COUNTRY_OF_GOVERNING_LAW_FIELD
|
|
2936
2887
|
];
|
|
2937
|
-
const FormDescription = ({
|
|
2938
|
-
|
|
2888
|
+
const FormDescription = ({
|
|
2889
|
+
description,
|
|
2890
|
+
t
|
|
2891
|
+
}) => {
|
|
2939
2892
|
return /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-form-header__description", children: [
|
|
2940
|
-
|
|
2893
|
+
description,
|
|
2941
2894
|
" ",
|
|
2942
2895
|
/* @__PURE__ */ jsx(Link, { href: "https://www.adyen.com/privacy-policy", external: true, children: t(($) => $["privacyStatement"]) })
|
|
2943
2896
|
] });
|
|
@@ -2946,15 +2899,13 @@ function BasicInformationMultiform({
|
|
|
2946
2899
|
id,
|
|
2947
2900
|
country,
|
|
2948
2901
|
shouldValidate,
|
|
2949
|
-
heading = "basicInformationFormHeading",
|
|
2950
|
-
description = "basicInformationFormDescription",
|
|
2951
2902
|
validationErrors = {},
|
|
2952
2903
|
verificationErrors = {},
|
|
2953
2904
|
isTopLevelEntity,
|
|
2954
2905
|
disableCountry,
|
|
2955
2906
|
companyType
|
|
2956
2907
|
}) {
|
|
2957
|
-
const { t } = useTranslation("common");
|
|
2908
|
+
const { t } = useTranslation(["common", "business"]);
|
|
2958
2909
|
const { isSettingEnabled } = useSettingsContext();
|
|
2959
2910
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
2960
2911
|
const { form } = useFormContext();
|
|
@@ -3101,7 +3052,13 @@ function BasicInformationMultiform({
|
|
|
3101
3052
|
handleChange: handleChangeFor
|
|
3102
3053
|
});
|
|
3103
3054
|
return /* @__PURE__ */ jsxs("form", { id, className: "adyen-kyc-basic-information", children: [
|
|
3104
|
-
/* @__PURE__ */ jsx(Header, { title: t(($) => $[
|
|
3055
|
+
/* @__PURE__ */ jsx(Header, { title: t(($) => $["basicInformationFormHeading"], { ns: "business" }), children: /* @__PURE__ */ jsx(
|
|
3056
|
+
FormDescription,
|
|
3057
|
+
{
|
|
3058
|
+
description: t(($) => $["basicInformationFormDescription"], { ns: "business" }),
|
|
3059
|
+
t
|
|
3060
|
+
}
|
|
3061
|
+
) }),
|
|
3105
3062
|
/* @__PURE__ */ jsx(
|
|
3106
3063
|
ErrorPanel,
|
|
3107
3064
|
{
|
|
@@ -3269,8 +3226,6 @@ function BasicInformationMultiform({
|
|
|
3269
3226
|
function CompanyStructureMultiform({
|
|
3270
3227
|
id,
|
|
3271
3228
|
country,
|
|
3272
|
-
heading = "companyStructureFormName",
|
|
3273
|
-
description = "companyStructureFormDescription",
|
|
3274
3229
|
validationErrors = {},
|
|
3275
3230
|
verificationErrors = {}
|
|
3276
3231
|
}) {
|
|
@@ -3293,7 +3248,13 @@ function CompanyStructureMultiform({
|
|
|
3293
3248
|
const companyTypeRadioOptions = canChangeEntityType && accountHolder !== "aTrust" && accountHolder !== "anUnincorporatedPartnership" ? companyTypeOptions.filter((companyType) => !excludedTypes.includes(companyType)) : companyTypeOptions;
|
|
3294
3249
|
const companyTypeExamples = useCompanyTypeExamples(country);
|
|
3295
3250
|
return /* @__PURE__ */ jsxs("form", { id, className: "adyen-kyc-company-structure", children: [
|
|
3296
|
-
/* @__PURE__ */ jsx(
|
|
3251
|
+
/* @__PURE__ */ jsx(
|
|
3252
|
+
Header,
|
|
3253
|
+
{
|
|
3254
|
+
title: t(($) => $["companyStructureFormName"], { ns: "business" }),
|
|
3255
|
+
description: t(($) => $["companyStructureFormDescription"], { ns: "business" })
|
|
3256
|
+
}
|
|
3257
|
+
),
|
|
3297
3258
|
/* @__PURE__ */ jsx(
|
|
3298
3259
|
ErrorPanel,
|
|
3299
3260
|
{
|
|
@@ -3360,8 +3321,6 @@ function BusinessDetailsMultiform({
|
|
|
3360
3321
|
id: activeForm2.formId,
|
|
3361
3322
|
country,
|
|
3362
3323
|
shouldValidate,
|
|
3363
|
-
heading: activeForm2.formHeading,
|
|
3364
|
-
description: activeForm2.formDescription,
|
|
3365
3324
|
validationErrors: problems.validationErrors?.[activeForm2.formId],
|
|
3366
3325
|
verificationErrors: problems.verificationErrors?.[activeForm2.formId],
|
|
3367
3326
|
companyType,
|
|
@@ -3376,8 +3335,6 @@ function BusinessDetailsMultiform({
|
|
|
3376
3335
|
id: activeForm2.formId,
|
|
3377
3336
|
country,
|
|
3378
3337
|
shouldValidate,
|
|
3379
|
-
heading: activeForm2.formHeading,
|
|
3380
|
-
description: activeForm2.formDescription,
|
|
3381
3338
|
validationErrors: problems.validationErrors?.[activeForm2.formId],
|
|
3382
3339
|
verificationErrors: problems.verificationErrors?.[activeForm2.formId],
|
|
3383
3340
|
handleNextClick,
|
|
@@ -3392,8 +3349,6 @@ function BusinessDetailsMultiform({
|
|
|
3392
3349
|
id: activeForm2.formId,
|
|
3393
3350
|
country,
|
|
3394
3351
|
shouldValidate,
|
|
3395
|
-
heading: activeForm2.formHeading,
|
|
3396
|
-
description: activeForm2.formDescription,
|
|
3397
3352
|
validationErrors: problems.validationErrors?.[activeForm2.formId],
|
|
3398
3353
|
verificationErrors: problems.verificationErrors?.[activeForm2.formId]
|
|
3399
3354
|
}
|
|
@@ -3406,8 +3361,6 @@ function BusinessDetailsMultiform({
|
|
|
3406
3361
|
country,
|
|
3407
3362
|
companyType,
|
|
3408
3363
|
shouldValidate,
|
|
3409
|
-
heading: activeForm2.formHeading,
|
|
3410
|
-
description: activeForm2.formDescription,
|
|
3411
3364
|
validationErrors: problems.validationErrors?.[activeForm2.formId],
|
|
3412
3365
|
verificationErrors: problems.verificationErrors?.[activeForm2.formId]
|
|
3413
3366
|
}
|
|
@@ -3420,8 +3373,6 @@ function BusinessDetailsMultiform({
|
|
|
3420
3373
|
country,
|
|
3421
3374
|
companyType,
|
|
3422
3375
|
shouldValidate,
|
|
3423
|
-
heading: activeForm2.formHeading,
|
|
3424
|
-
description: activeForm2.formDescription,
|
|
3425
3376
|
fieldValidationErrors: problems.validationErrors?.[activeForm2.formId] ?? {},
|
|
3426
3377
|
formVerificationErrors: problems.verificationErrors?.[activeForm2.formId] ?? {},
|
|
3427
3378
|
data: form.data.companyTaxDocument,
|
|
@@ -3440,8 +3391,8 @@ function BusinessDetailsMultiform({
|
|
|
3440
3391
|
country,
|
|
3441
3392
|
companyType,
|
|
3442
3393
|
shouldValidate,
|
|
3443
|
-
heading:
|
|
3444
|
-
description:
|
|
3394
|
+
heading: t(($) => $["companyTaxDocumentFormHeading"], { ns: "business" }),
|
|
3395
|
+
description: t(($) => $["companyTaxDocumentFormDescription"], { ns: "business" }),
|
|
3445
3396
|
fieldValidationErrors: problems.validationErrors?.[activeForm2.formId] ?? {},
|
|
3446
3397
|
formVerificationErrors: problems.verificationErrors?.[activeForm2.formId] ?? {},
|
|
3447
3398
|
data: form.data.companyTaxDocument,
|
|
@@ -3473,8 +3424,6 @@ function BusinessDetailsMultiform({
|
|
|
3473
3424
|
RegistrationDocument,
|
|
3474
3425
|
{
|
|
3475
3426
|
id: activeForm2.formId,
|
|
3476
|
-
heading: activeForm2.formHeading,
|
|
3477
|
-
description: activeForm2.formDescription,
|
|
3478
3427
|
country,
|
|
3479
3428
|
companyType,
|
|
3480
3429
|
data: form.data.companyRegistrationDocument,
|
|
@@ -3495,8 +3444,6 @@ function BusinessDetailsMultiform({
|
|
|
3495
3444
|
ProofOfDirectorDocument,
|
|
3496
3445
|
{
|
|
3497
3446
|
id: activeForm2.formId,
|
|
3498
|
-
heading: activeForm2.formHeading,
|
|
3499
|
-
description: activeForm2.formDescription,
|
|
3500
3447
|
country,
|
|
3501
3448
|
data: form.data?.companyProofOfDirectorDocument,
|
|
3502
3449
|
errors: form.errors.companyProofOfDirectorDocument,
|
|
@@ -3516,8 +3463,6 @@ function BusinessDetailsMultiform({
|
|
|
3516
3463
|
ProofOfSignatoryDocument,
|
|
3517
3464
|
{
|
|
3518
3465
|
id: activeForm2.formId,
|
|
3519
|
-
heading: activeForm2.formHeading,
|
|
3520
|
-
description: activeForm2.formDescription,
|
|
3521
3466
|
country,
|
|
3522
3467
|
data: form.data?.companyProofOfSignatoryDocument,
|
|
3523
3468
|
errors: form.errors.companyProofOfSignatoryDocument,
|
|
@@ -3537,8 +3482,6 @@ function BusinessDetailsMultiform({
|
|
|
3537
3482
|
ProofOfOwnershipDocument,
|
|
3538
3483
|
{
|
|
3539
3484
|
id: activeForm2.formId,
|
|
3540
|
-
heading: activeForm2.formHeading,
|
|
3541
|
-
description: activeForm2.formDescription,
|
|
3542
3485
|
country,
|
|
3543
3486
|
data: form.data?.companyProofOfOwnershipDocument,
|
|
3544
3487
|
errors: form.errors.companyProofOfOwnershipDocument,
|
|
@@ -3580,8 +3523,6 @@ function BusinessDetailsMultiform({
|
|
|
3580
3523
|
multiForm: form,
|
|
3581
3524
|
id: activeForm2.formId,
|
|
3582
3525
|
country,
|
|
3583
|
-
heading: t(($) => $[activeForm2.formHeading]),
|
|
3584
|
-
description: activeForm2.formDescription,
|
|
3585
3526
|
data: form.data?.companyFinancialInformation,
|
|
3586
3527
|
allFields: form.allFields?.companyFinancialInformation,
|
|
3587
3528
|
requiredFields: form.requiredFields?.companyFinancialInformation,
|
package/dist/{BusinessFinancingComponent-ClJ_d7uf.js → BusinessFinancingComponent-DPqcRMd4.js}
RENAMED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3ee5e8d5-6e67-4d4f-a11b-acb7ad08a78b", e._sentryDebugIdIdentifier = "sentry-dbid-3ee5e8d5-6e67-4d4f-a11b-acb7ad08a78b");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, c as useLegalEntity, g as getLegalEntityCountry, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, L as Loader } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, g as getLegalEntityCountry, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, L as Loader } from "./StoreProvider-xGHaYMUs.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useMemo } from "preact/hooks";
|
|
13
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
14
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
13
|
+
import { M as MaybeModal } from "./MaybeModal-CBbHCm6Q.js";
|
|
14
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-DYMl460N.js";
|
|
15
15
|
function BusinessFinancingComponent({
|
|
16
16
|
legalEntityId,
|
|
17
17
|
onSubmitSuccess,
|
|
@@ -25,7 +25,7 @@ function BusinessFinancingComponent({
|
|
|
25
25
|
[rootLegalEntity]
|
|
26
26
|
);
|
|
27
27
|
addResourceBundles(i18n, [
|
|
28
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
28
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-4gJjMBoz.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CxB0DJQ6.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DqkN5oIu.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-COuUdtao.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CjhbnLfE.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-xGHaYMUs.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-DNGEW6V_.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-Be9wlXLD.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-CoI_94Fv.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-Br7OeDIe.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-iodfRS4f.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CEb_Wl4I.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-BAvsF2TB.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-US4BD67C.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-os-nxAb0.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-9NRF8DKM.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwKrj-29.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B6OPS2CA.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-B0BQdtqx.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKQRvAfq.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-D2Xe-OdG.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-WGnCVll9.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-Cq_DSPZu.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-C3gfuen3.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-zTiw1bUU.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
29
29
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-D9J6LnkI.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-DY_pQqAT.js"), "../../ui/language/da-DK.json": () => import("./da-DK-jK7c9UL0.js"), "../../ui/language/de-DE.json": () => import("./de-DE-wmerDL2e.js"), "../../ui/language/el-GR.json": () => import("./el-GR-Btrk_npt.js"), "../../ui/language/en-US.json": () => import("./en-US-gsp7CD_E.js"), "../../ui/language/es-ES.json": () => import("./es-ES-Qnc0Q6JH.js"), "../../ui/language/et-EE.json": () => import("./et-EE-TzXANcP2.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-Dn2MC8uW.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-BWX14yb7.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-CZLSQruE.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-kp8Go5hZ.js"), "../../ui/language/it-IT.json": () => import("./it-IT-B0YGvVgW.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-Dz9IVH4p.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-l9rzkFg9.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-DYbb5pkt.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-BMUYBqlF.js"), "../../ui/language/no-NO.json": () => import("./no-NO-DKbWxgF-.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-B0zGy_b4.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR--kaJvtE6.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-BZ5ZZm6G.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-CdSsgoUG.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-BiBWPJUf.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DtdGMD6i.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-kR514dO1.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
30
30
|
{
|
|
31
31
|
ns: "businessFinancing",
|