@adyen/kyc-components 3.86.2 → 3.87.0-beta.1
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-BVY0Kf_o.js → AcceptTermsOfServiceComponent-CLM3z4t_.js} +16 -15
- package/dist/{Accordion-91BcWEBL.js → Accordion-CtCjQ4LF.js} +2 -2
- package/dist/{AccountSetupRejected-8vWKVkOp.js → AccountSetupRejected-UzSWvV_S.js} +5 -5
- package/dist/ActionBar-DhbWv7Il.js +31 -0
- package/dist/{Address-B9YzVGZT.js → Address-sP4IuaJP.js} +20 -65
- package/dist/{Alert-DEGXvrrH.js → Alert-CCoEOLSl.js} +3 -3
- package/dist/{Avatar-BJjsWUzm.js → Avatar-DcZ3Jo3F.js} +2 -2
- package/dist/{BusinessDetailsMultiformDropin-Cy9HaWpT.js → BusinessDetailsMultiformDropin-GPMdoKm6.js} +168 -78
- package/dist/BusinessFinancingComponent-BLo-ZBde.js +54 -0
- package/dist/{BusinessFinancingDropin-Cfi6rfMX.js → BusinessFinancingDropin-CVw4Z6TP.js} +23 -20
- package/dist/BusinessFinancingPage-R1Bf3gWH.js +46 -0
- package/dist/{BusinessTypeSelectionPage-CzTjZljE.js → BusinessTypeSelectionPage-DLVrPJN6.js} +9 -9
- package/dist/{Card-CamgqGQg.js → Card-CpB29f1b.js} +3 -3
- package/dist/{ConstitutionalDocument-SgL4VE7N.js → ConstitutionalDocument-DP_BT440.js} +3 -3
- package/dist/{CountryField-7T0ok8-F.js → CountryField-CZ4B1rZT.js} +57 -297
- package/dist/CreateIndividualComponent-D2kq2hVH.js +71 -0
- package/dist/CreateTransferInstrumentComponent-u_YxACcC.js +66 -0
- package/dist/{Currency-CgELDOGM.js → Currency-DFCxzGsY.js} +5 -5
- package/dist/{CustomerSupport-CcrFuQuU.js → CustomerSupport-Bab85ODv.js} +10 -10
- package/dist/{DebugModal-CeTdbcLa.js → DebugModal-DJYpjuq1.js} +9 -10
- package/dist/{DecisionMakerDetailsPage-Bveh2HS8.js → DecisionMakerDetailsPage-ClZfpb2n.js} +17 -17
- package/dist/{DecisionMakers-DK-p6QZ4.js → DecisionMakers-D7n4ncQU.js} +52 -51
- package/dist/DropinLayout-CBP_cHLC.js +17 -0
- package/dist/{EmbeddedStatus-BJFEiPCo.js → EmbeddedStatus-CggclhuR.js} +3 -3
- package/dist/{EndStateLayout-oq3hessP.js → EndStateLayout-CCMMQp1G.js} +2 -2
- package/dist/EntityAssociation-Bk89NUGo.js +159 -0
- package/dist/EntityGuidanceStatus-CVxh7-Dc.js +105 -0
- package/dist/{FormFlow-YM36lwbi.js → FormFlow-BVdtlpuv.js} +16 -8
- package/dist/{FormNavigation-Dxip95_p.js → FormNavigation-C4j8AoTY.js} +5 -23
- package/dist/{FormWrapper-DDF6oVbX.js → FormWrapper-Cp8SYe1S.js} +10 -10
- package/dist/{IndividualOnfido-Fk4358yi.js → IndividualOnfido-C78IRI4s.js} +125 -227
- package/dist/{IndividualOnfidoDropin-Dcxbxqyv.js → IndividualOnfidoDropin-Bs5M3rg0.js} +50 -55
- package/dist/{InputText-Df4gAUZh.js → InputText-Z3KjkGsR.js} +95 -5
- package/dist/{Introduction-DfYpYbcJ.js → Introduction-BSRVN2Re.js} +4 -4
- package/dist/{JpAddress-SoI-kPtx.js → JpAddress-Be4BJ9bE.js} +8 -8
- package/dist/{LegalRepresentativeDetailsPage-LIOyJg4c.js → LegalRepresentativeDetailsPage--E62VNIf.js} +5 -5
- package/dist/{ListItem-rPU0f2Fm.js → ListItem-CGRFM1_V.js} +3 -3
- package/dist/{ManageIndividualComponent-RQAI7rXm.js → ManageIndividualComponent-BC-t1mRr.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-D_G-SXyT.js → ManageTermsOfServiceComponent-B3dGiRak.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-BBcRCuJy.js → ManageTransferInstrumentComponent-Ckj_y9ze.js} +14 -14
- package/dist/{MaybeModal--CLRWD1s.js → MaybeModal-BXFyxWJq.js} +3 -3
- package/dist/{Modal-iDUygbmj.js → Modal-CbwPh9Ed.js} +3 -3
- package/dist/{OnboardingDropinComponent-D099ni7y.js → OnboardingDropinComponent-Cfo00pTC.js} +444 -2353
- package/dist/{PayoutDetailsDropin-B32FgDVa.js → PayoutDetailsDropin-BjtCKtYQ.js} +666 -159
- package/dist/{Review-BieiU6Bj.js → Review-B8BoQ8hU.js} +8 -8
- package/dist/{RootBusinessDetailsPage-CzCOVWUz.js → RootBusinessDetailsPage-CejviZau.js} +6 -6
- package/dist/{RootBusinessLinesPage-DCyO70k-.js → RootBusinessLinesPage-Obpi7U0v.js} +120 -118
- package/dist/RootIndividualDetailsPage-P1I2LNfL.js +71 -0
- package/dist/{SignPCIComponent-BWX16DU2.js → SignPCIComponent-CUuZS7uA.js} +12 -12
- package/dist/{SingpassSelection-FHw-MK6p.js → SingpassSelection-BYC0IuZw.js} +4 -4
- package/dist/{SoleProprietorshipPage-6vR7-HxX.js → SoleProprietorshipPage-BLQld-Mj.js} +5 -5
- package/dist/{SourceOfFundsPage-yYUX_mB1.js → SourceOfFundsPage-DfTJGtzR.js} +26 -24
- package/dist/{StepProgressIndicator-BKjO-p7q.js → StepProgressIndicator-C8DFS8_0.js} +2 -2
- package/dist/{StoreProvider-D5ulo2rw.js → StoreProvider-C-VVZRES.js} +248 -241
- package/dist/Summary-D1maphV9.js +204 -0
- package/dist/{TaxReportingDropin-C7tBz_HD.js → TaxReportingDropin-Cn2o9psn.js} +16 -15
- package/dist/{TrustDetailsPage-C8can-Xq.js → TrustDetailsPage-CVRFkcZ7.js} +25 -23
- package/dist/{TrustMemberCompanyPage-qET9I3kG.js → TrustMemberCompanyPage-BRKAmfv-.js} +6 -6
- package/dist/{TrustMemberIndividualPage-DjX90Xw0.js → TrustMemberIndividualPage-DcZ8_MGc.js} +5 -5
- package/dist/TrustMemberRoleAndTypePage-C5NrVlPD.js +985 -0
- package/dist/TrustMembersOverview-B9ucuOsS.js +438 -0
- package/dist/{UnincorporatedPartnershipIndividualPage-DCooy6p5.js → UnincorporatedPartnershipIndividualPage-CIQUI2Om.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-D6PZ7scU.js → UnincorporatedPartnershipMemberCompanyPage-B4Tcivcx.js} +6 -6
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-CaPBoxYo.js +284 -0
- package/dist/UnincorporatedPartnershipMembersOverview-BtV0jAkV.js +175 -0
- package/dist/{VerificationErrorAlert-CF1LmYbX.js → VerificationErrorAlert-C1zNIbXn.js} +4 -4
- package/dist/{ViewVerificationStatusComponent-BlsnI0_q.js → ViewVerificationStatusComponent-SnBNNdvW.js} +4 -4
- package/dist/adyen-business-financing.js +3 -3
- package/dist/adyen-individual-configuration.js +3 -3
- package/dist/adyen-individual-status.js +3 -3
- package/dist/adyen-kyc-components.js +22 -21
- package/dist/adyen-onboarding.js +3 -3
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +3 -3
- package/dist/adyen-transfer-instrument-configuration.js +3 -3
- package/dist/adyen-transfer-instrument-management.js +3 -3
- package/dist/adyen-verification-status.js +3 -3
- package/dist/bg-BG-B7Xs_t04.js +13 -0
- package/dist/{bg-BG-D8qq7TQJ.js → bg-BG-D26PyOmu.js} +2 -4
- package/dist/{bg-BG-e6Rs6yz_.js → bg-BG-D9J6LnkI.js} +2 -1
- package/dist/{bg-BG-BC1dwNN2.js → bg-BG-DH45-0B-.js} +8 -3
- package/dist/bg-BG-oWrzmmWF.js +13 -0
- package/dist/bg-BG-wVquMNtT.js +55 -0
- package/dist/circle-small-filled-YMzP6yQU.js +14 -0
- package/dist/clock-BZHremOA.js +20 -0
- package/dist/cs-CZ--jOkoHVS.js +55 -0
- package/dist/cs-CZ-7urd96Kr.js +13 -0
- package/dist/cs-CZ-BSWXexr4.js +13 -0
- package/dist/{cs-CZ-ChGeQ9s0.js → cs-CZ-C3WsXodG.js} +2 -4
- package/dist/{cs-CZ-2foXfkBk.js → cs-CZ-DPVMeRye.js} +8 -3
- package/dist/{cs-CZ-Q6NVYK-k.js → cs-CZ-DY_pQqAT.js} +2 -1
- package/dist/{da-DK-CyHH8kX3.js → da-DK-BRCRHbdD.js} +2 -4
- package/dist/da-DK-D-CIc3Wp.js +13 -0
- package/dist/{da-DK-DU3_xdWg.js → da-DK-DU4dCNEw.js} +8 -3
- package/dist/da-DK-JHZnsI59.js +55 -0
- package/dist/da-DK-R_y7YwqQ.js +13 -0
- package/dist/{da-DK-DSYEF7Q1.js → da-DK-jK7c9UL0.js} +2 -1
- package/dist/de-DE-BR6CLZw6.js +13 -0
- package/dist/{de-DE-DL6SrIBE.js → de-DE-DhwZpGcF.js} +2 -4
- package/dist/{de-DE-BODG29hR.js → de-DE-Dz2l6jRl.js} +8 -3
- package/dist/de-DE-VGGEkxUT.js +55 -0
- package/dist/de-DE-itf47wPh.js +13 -0
- package/dist/{de-DE-B9-ILIdw.js → de-DE-wmerDL2e.js} +2 -1
- package/dist/{debouncedInputEvent-CyPh7Jut.js → debouncedInputEvent-D7ngWyaU.js} +2 -2
- package/dist/{documentUtils-BVfwPbes.js → documentUtils-Bc4tPwRB.js} +4 -3
- package/dist/{dropinUtils-BtlFEX2l.js → dropinUtils-BnzmtM6-.js} +5 -4
- package/dist/el-GR-B09xC5IM.js +13 -0
- package/dist/el-GR-B3FHqTOX.js +13 -0
- package/dist/{el-GR-DYjcbiSc.js → el-GR-Btrk_npt.js} +2 -1
- package/dist/{el-GR-l0JeDNPy.js → el-GR-CPvcb2_O.js} +2 -4
- package/dist/{el-GR-DcIdm3iK.js → el-GR-MLFY-Gg7.js} +8 -3
- package/dist/el-GR-gkaKwnln.js +55 -0
- package/dist/{en-US-C5WyUweF.js → en-US-BPI4FZwa.js} +2 -1
- package/dist/{en-US-BxEW5N6f.js → en-US-DwpcyeTb.js} +34 -8
- package/dist/{es-ES-CMQqgMEJ.js → es-ES-0ROz-BJh.js} +8 -3
- package/dist/es-ES-Bn9_0wK0.js +55 -0
- package/dist/es-ES-CEp-ttVJ.js +13 -0
- package/dist/{es-ES-C-tTuMLH.js → es-ES-Qnc0Q6JH.js} +2 -1
- package/dist/{es-ES-C1ClJ2XE.js → es-ES-p03wSF0j.js} +2 -4
- package/dist/es-ES-u77uTVet.js +13 -0
- package/dist/et-EE-B4Qtq50U.js +13 -0
- package/dist/et-EE-BYSnV6Iq.js +55 -0
- package/dist/et-EE-Ci8RU2wg.js +13 -0
- package/dist/{et-EE-BG_Y29oV.js → et-EE-DwU9PpSw.js} +2 -4
- package/dist/{et-EE-BzLAp08F.js → et-EE-TzXANcP2.js} +2 -1
- package/dist/{et-EE-DcpuYQwB.js → et-EE-esci5847.js} +8 -3
- package/dist/fi-FI-CoeShwM8.js +13 -0
- package/dist/{fi-FI-bIhXiQPL.js → fi-FI-D6UZTiLe.js} +2 -4
- package/dist/fi-FI-DjlB2a7k.js +13 -0
- package/dist/{fi-FI-pyHLbmel.js → fi-FI-Dn2MC8uW.js} +2 -1
- package/dist/fi-FI-PVFqd5Ra.js +55 -0
- package/dist/{fi-FI-4GTHkwOL.js → fi-FI-xXrvDLFe.js} +8 -3
- package/dist/{fieldConfigurations-3fpT3_M4.js → fieldConfigurations-BeWhtsCJ.js} +19 -18
- package/dist/{fr-FR-DG3tEkdN.js → fr-FR-BWX14yb7.js} +2 -1
- package/dist/{fr-FR-Ba-HRBQ7.js → fr-FR-Bw9O-QAU.js} +8 -3
- package/dist/fr-FR-C4ldMaqM.js +13 -0
- package/dist/fr-FR-Dx-CiPdB.js +13 -0
- package/dist/{fr-FR-Bj275MRb.js → fr-FR-jXToKR-E.js} +2 -4
- package/dist/fr-FR-mJK4hjwD.js +55 -0
- package/dist/{getFieldsWithExistingData-cmIvyqeB.js → getFieldsWithExistingData-CQWJtu-N.js} +2 -2
- package/dist/{getName-kAK38EDQ.js → getName-C7JGSYPc.js} +2 -2
- package/dist/{hasDataChanged-CKu1mtd4.js → hasDataChanged-lmk8vaNX.js} +2 -2
- package/dist/hr-HR-BXG_ZAJm.js +13 -0
- package/dist/{hr-HR-BRFErTkv.js → hr-HR-CZLSQruE.js} +2 -1
- package/dist/{hr-HR-BFx1T11G.js → hr-HR-D8_yhtIo.js} +8 -3
- package/dist/{hr-HR-CL0q_D2U.js → hr-HR-Dcv0VrbJ.js} +2 -4
- package/dist/hr-HR-n7aMHIpM.js +13 -0
- package/dist/hr-HR-qmYyO-nT.js +55 -0
- package/dist/hu-HU-CMGzeEXp.js +13 -0
- package/dist/hu-HU-CS-7iNS4.js +55 -0
- package/dist/hu-HU-D_DvlCMw.js +13 -0
- package/dist/{hu-HU-GXvzHwu9.js → hu-HU-KliQetm5.js} +8 -3
- package/dist/{hu-HU-cLqGFTTR.js → hu-HU-KqfViqRG.js} +2 -4
- package/dist/{hu-HU-CJA8w351.js → hu-HU-kp8Go5hZ.js} +2 -1
- package/dist/{iframeWidget-DE7E0d84.js → iframeWidget-AWxybkk3.js} +4 -4
- package/dist/{it-IT-mhNjrQZn.js → it-IT-B0YGvVgW.js} +2 -1
- package/dist/it-IT-BTWkWSJq.js +55 -0
- package/dist/it-IT-Cz3V93Xk.js +13 -0
- package/dist/{it-IT-C0Qk47kh.js → it-IT-DgGk7YK7.js} +2 -4
- package/dist/{it-IT-Bw3VIHJB.js → it-IT-MwpjRAG6.js} +8 -3
- package/dist/it-IT-yV7ewjWU.js +13 -0
- package/dist/{ja-JP-DI7lRfpI.js → ja-JP-2u5fqLWF.js} +8 -3
- package/dist/ja-JP-B4mHwijO.js +13 -0
- package/dist/ja-JP-CSz7fEkn.js +55 -0
- package/dist/{ja-JP-DSdZj-it.js → ja-JP-CY2oljJM.js} +2 -4
- package/dist/{ja-JP-BxEWI56P.js → ja-JP-Ctsk4z4q.js} +4 -1
- package/dist/{ja-JP-CfrHlRGC.js → ja-JP-Dz9IVH4p.js} +2 -1
- package/dist/{localizeDateString-DZGFmzCU.js → localizeDateString-CY6f5u9V.js} +2 -2
- package/dist/lt-LT-B6XmKUXx.js +55 -0
- package/dist/{lt-LT-ewVNPhQN.js → lt-LT-BEsBoIQ9.js} +8 -3
- package/dist/lt-LT-BuALzmEO.js +13 -0
- package/dist/lt-LT-CYiW52tl.js +13 -0
- package/dist/{lt-LT-C-dKiExL.js → lt-LT-D8cex0eq.js} +2 -4
- package/dist/{lt-LT-C0Acftnm.js → lt-LT-l9rzkFg9.js} +2 -1
- package/dist/{lv-LV-UkEOuqFz.js → lv-LV-BUGQrsDw.js} +2 -4
- package/dist/lv-LV-CgMxfFK8.js +13 -0
- package/dist/{lv-LV-Bnq61WAt.js → lv-LV-DYbb5pkt.js} +2 -1
- package/dist/lv-LV-DsSpy50n.js +55 -0
- package/dist/{lv-LV-JqXvRt4T.js → lv-LV-Veji7-on.js} +8 -3
- package/dist/lv-LV-nDWqwoYo.js +13 -0
- package/dist/{mapExistingFile-DWZK4Cx3.js → mapExistingFile-BHNSSDEN.js} +3 -3
- package/dist/{mapFinancialReportsToFinancialInformation-CNBtzgSm.js → mapFinancialReportsToFinancialInformation-DvjcA3x9.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-maXV4w9Y.js → mapJpAddressSchemaToAddressLocalizations-D5u2Pcq9.js} +3 -3
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-DgEr82YO.js → mapLegalEntityToIndividualOnfidoSchema-DUZQNMFu.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-BLGiIN3F.js → mapTransferInstrumentToPayoutAccount-B72oHTtP.js} +2 -2
- package/dist/{nl-NL-donw5yvS.js → nl-NL-BMUYBqlF.js} +2 -1
- package/dist/{nl-NL-DR1wVqQC.js → nl-NL-BuW3jWdI.js} +8 -3
- package/dist/nl-NL-CTf7zH4M.js +55 -0
- package/dist/{nl-NL-Cfr5hMtI.js → nl-NL-CagNun1T.js} +2 -4
- package/dist/nl-NL-CcUU-KmX.js +13 -0
- package/dist/nl-NL-DKMs4pB2.js +13 -0
- package/dist/no-NO-B-oUwe9q.js +13 -0
- package/dist/no-NO-BplX8KGW.js +13 -0
- package/dist/{no-NO-BZmigu6-.js → no-NO-CA0EizAy.js} +8 -3
- package/dist/{no-NO-ASO8Je2l.js → no-NO-D4q0sOO5.js} +2 -4
- package/dist/{no-NO-Dev7r3VA.js → no-NO-DKbWxgF-.js} +2 -1
- package/dist/no-NO-RfTK9KAV.js +55 -0
- package/dist/payout-verification-manual-BH2mu0UW.js +90 -0
- package/dist/{pl-PL-DU_Xulyu.js → pl-PL-B0zGy_b4.js} +2 -1
- package/dist/pl-PL-BmCZYCoD.js +13 -0
- package/dist/{pl-PL-BKxhMICw.js → pl-PL-D7nhdbfR.js} +8 -3
- package/dist/pl-PL-Dy8qWH39.js +55 -0
- package/dist/{pl-PL-CG4rvgUo.js → pl-PL-LSqjGZHp.js} +2 -4
- package/dist/pl-PL-p8YxqOFg.js +13 -0
- package/dist/{process-field-configurations-DTbjZ2Ba.js → process-field-configurations-DG3AAgnr.js} +3 -3
- package/dist/{pt-BR-DeXo4rsi.js → pt-BR--kaJvtE6.js} +2 -1
- package/dist/pt-BR-BbFJsIVX.js +55 -0
- package/dist/pt-BR-BkPUtBM9.js +13 -0
- package/dist/{pt-BR-wAIdhUru.js → pt-BR-D1nTSLod.js} +8 -3
- package/dist/pt-BR-DKrMpM6v.js +13 -0
- package/dist/{pt-BR-IWTcYKu9.js → pt-BR-FCK1QNOs.js} +2 -4
- package/dist/pt-PT-B4F_5NWi.js +55 -0
- package/dist/{pt-PT-C1qHVe7L.js → pt-PT-B9L50746.js} +8 -3
- package/dist/{pt-PT-DkJdR6SS.js → pt-PT-BZ5ZZm6G.js} +2 -1
- package/dist/pt-PT-Bh7v8xbp.js +13 -0
- package/dist/pt-PT-D_F3JxYu.js +13 -0
- package/dist/{pt-PT-LZZYQKaC.js → pt-PT-U2s6koli.js} +2 -4
- package/dist/recurring-CkL4cCM2.js +17 -0
- package/dist/{resolveEnvironment-_F64mdFt.js → resolveEnvironment-CpQfH_w0.js} +3 -3
- package/dist/{ro-RO-nVSeNtIQ.js → ro-RO-BvP4CrrF.js} +2 -4
- package/dist/ro-RO-CICjAFys.js +55 -0
- package/dist/ro-RO-CJoz8E5K.js +13 -0
- package/dist/{ro-RO-BDjHimxe.js → ro-RO-CdSsgoUG.js} +2 -1
- package/dist/ro-RO-DjGku_3y.js +13 -0
- package/dist/{ro-RO-juw6hKRk.js → ro-RO-DvG65dTt.js} +8 -3
- package/dist/{rules-B5Wj5fOs.js → rules-BEWN446x.js} +4 -4
- package/dist/{sk-SK-BM57awWi.js → sk-SK-BMJgOJoa.js} +8 -3
- package/dist/sk-SK-BRd5TN22.js +55 -0
- package/dist/sk-SK-Bb18qPBw.js +13 -0
- package/dist/{sk-SK-atqQJid1.js → sk-SK-BiBWPJUf.js} +2 -1
- package/dist/{sk-SK-BX0wsQH4.js → sk-SK-DFvk5ao5.js} +2 -4
- package/dist/sk-SK-DgdScFiv.js +13 -0
- package/dist/{sl-SI-g2WSP0Tj.js → sl-SI-BMF8YtOm.js} +8 -3
- package/dist/{sl-SI-Dt7rovIT.js → sl-SI-Bj-INVFz.js} +2 -4
- package/dist/sl-SI-CZt2QlBD.js +13 -0
- package/dist/sl-SI-D8dDckrW.js +55 -0
- package/dist/{sl-SI-CwKpXVCh.js → sl-SI-DtdGMD6i.js} +2 -1
- package/dist/sl-SI-ZxyvdgdS.js +13 -0
- package/dist/style.css +719 -597
- package/dist/styles-CLV89_hH.js +719 -597
- package/dist/sv-SE-BPD3xI_7.js +13 -0
- package/dist/{sv-SE-Cfs0NHgG.js → sv-SE-BYC_f8r7.js} +8 -3
- package/dist/sv-SE-CCFIf86P.js +13 -0
- package/dist/sv-SE-DGpvVvWj.js +55 -0
- package/dist/{sv-SE-DqzH809e.js → sv-SE-Dg9DC29v.js} +2 -4
- package/dist/{sv-SE-CGCP_6VE.js → sv-SE-kR514dO1.js} +2 -1
- package/dist/trackNavigation-db_h46BT.js +28 -0
- package/dist/types/api/businessLines/businessLines.types.d.ts +2 -2
- package/dist/types/api/documentValidation/useDocumentValidate.d.ts +14 -0
- package/dist/types/api/industryCodes/industryCodes.types.d.ts +2 -1
- package/dist/types/api/{pciTemplate/pciTemplate.types.d.ts → pci/pci.types.d.ts} +9 -1
- package/dist/types/api/{pciTemplate → pci}/usePciQuestionnaire.d.ts +1 -1
- package/dist/types/api/{pciTemplate → pci}/usePciQuestionnaireList.d.ts +1 -1
- package/dist/types/api/{pciTemplate → pci}/usePciStatus.d.ts +1 -1
- package/dist/types/api/pci/usePciTemplate.d.ts +8 -0
- package/dist/types/api/queryKeys.d.ts +5 -4
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentClassification.d.ts +5 -0
- package/dist/types/components/BankAccount/forms/BankDocument/validate.d.ts +3 -0
- package/dist/types/components/BankAccount/forms/PayoutCountryDetails/PayoutCountryDetails.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutCountryDetails/PayoutRequirementsModal.d.ts +8 -0
- package/dist/types/components/BankAccount/forms/PayoutCountryDetails/types.d.ts +2 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +6 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesStore.d.ts +1 -0
- package/dist/types/components/Contract/hooks/useSalesChannels.d.ts +2 -0
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +2 -8
- package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +2 -6
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +1 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +0 -2
- package/dist/types/components/Shared/TaskVerificationStatus/TaskVerificationStatus.d.ts +18 -0
- package/dist/types/components/Shared/fields/IndustryCodeField/IndustryCodeField.d.ts +1 -1
- package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +4 -0
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/TaskListItem.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/types.d.ts +3 -8
- package/dist/types/components/ui/atoms/Status/Status.d.ts +9 -3
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +6 -0
- package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +2 -1
- package/dist/types/components/ui/molecules/Dropzone/types.d.ts +1 -0
- package/dist/types/context/ExperimentContext/types.d.ts +4 -0
- package/dist/types/core/user-events.d.ts +15 -2
- package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +2 -6
- package/dist/types/utils/analytics/debouncedInputEvent.d.ts +12 -1
- package/dist/types/utils/api/documentUtils.d.ts +1 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/getTrustedFields.d.ts +9 -0
- package/dist/types/utils/validatorUtils.d.ts +1 -0
- package/dist/{types-DQVZ5BSQ.js → types-B93Ai-fO.js} +6 -2
- package/dist/{types-BotCiAsS.js → types-C0EHVMFs.js} +2 -2
- package/dist/types-DmtBPrRu.js +34 -0
- package/dist/{types-HUapLQPm.js → types-fvB_EIqJ.js} +2 -2
- package/dist/{useAssociatedLegalEntity-Bq4xqtW3.js → useAssociatedLegalEntity-ojx3GrEz.js} +2 -2
- package/dist/useCreateLegalEntity-xjbDYvmK.js +31 -0
- package/dist/{useDataset-CEyDAv2X.js → useDataset-DCmrDMPj.js} +30 -7
- package/dist/{trackNavigation-BqVwjsnq.js → useForm-B0KJc8gy.js} +8 -36
- package/dist/useGlobalData-CRriDuBw.js +68 -0
- package/dist/{useMultiForm-BPP4MrG7.js → useMultiForm-CGFP91RI.js} +4 -4
- package/dist/{useOnboardingStatus-CpHkIc0T.js → useOnboardingStatus-My1Q5GPE.js} +2 -2
- package/dist/{useScenarios-g0Sa8erQ.js → useScenarios-DaKrLP9n.js} +2 -2
- package/dist/{useTermsOfServiceStatus-OYOtgP5P.js → useTermsOfServiceStatus-BvwFdx5D.js} +2 -2
- package/dist/{useToastContext-B8TQfggU.js → useToastContext-CoOrErAX.js} +17 -5
- package/dist/{useUnincorporatedPartnershipMembers-DzH5PVVq.js → useUnincorporatedPartnershipMembers-CYOhPR-_.js} +7 -62
- package/dist/useUpdateBusinessLines-B1dIbMeU.js +46 -0
- package/dist/useUpdateLegalEntity-DmbJMoa-.js +39 -0
- package/dist/{utils-BsqxcaEZ.js → utils-D1mS3NB7.js} +6 -6
- package/dist/{validate-C5qQw3nm.js → validate-4egldPuY.js} +2 -2
- package/dist/{validate-IIxt8CTj.js → validate-BRD3s5Ml.js} +2 -2
- package/dist/{validationError-xPD_qng0.js → validationError-DR_dAzpt.js} +2 -2
- package/dist/warning-diamond-filled-BfXMlVrG.js +17 -0
- package/package.json +1 -1
- package/dist/BusinessFinancingComponent-CpIKV1a9.js +0 -54
- package/dist/BusinessFinancingPage-Dn9ttCeq.js +0 -46
- package/dist/CreateIndividualComponent-CCxjyFxM.js +0 -71
- package/dist/CreateTransferInstrumentComponent-BdEFl1e2.js +0 -66
- package/dist/RootIndividualDetailsPage-Cd5GMovg.js +0 -80
- package/dist/TaskItemStatus-Nan4oFfZ.js +0 -114
- package/dist/bg-BG-BJo9yIYj.js +0 -13
- package/dist/bg-BG-D5C7Gq2o.js +0 -35
- package/dist/bg-BG-a6CQ0hKw.js +0 -13
- package/dist/cs-CZ-BAr1-JAS.js +0 -13
- package/dist/cs-CZ-C9FuJCsg.js +0 -35
- package/dist/cs-CZ-LGBI1w0Z.js +0 -13
- package/dist/da-DK-914Viqia.js +0 -13
- package/dist/da-DK-BeSNTO9k.js +0 -35
- package/dist/da-DK-DoHb4ssx.js +0 -13
- package/dist/de-DE-BXKZNAA1.js +0 -13
- package/dist/de-DE-Dp-2BAWQ.js +0 -35
- package/dist/de-DE-R6YgDOo5.js +0 -13
- package/dist/el-GR-5WvkRyW5.js +0 -35
- package/dist/el-GR-BnMw4HQ7.js +0 -13
- package/dist/el-GR-DgaUGjyJ.js +0 -13
- package/dist/es-ES-BWAlCq7R.js +0 -13
- package/dist/es-ES-C9oDOVSQ.js +0 -35
- package/dist/es-ES-dMSfTLXF.js +0 -13
- package/dist/et-EE-B1KmQWmI.js +0 -35
- package/dist/et-EE-D9SV0taO.js +0 -13
- package/dist/et-EE-l977xCZ_.js +0 -13
- package/dist/fi-FI-0ScajGUB.js +0 -13
- package/dist/fi-FI-C7GrKbXx.js +0 -13
- package/dist/fi-FI-DV1etLPT.js +0 -35
- package/dist/fr-FR-CqCcxkgA.js +0 -13
- package/dist/fr-FR-DZICoAHV.js +0 -35
- package/dist/fr-FR-o45TzYMp.js +0 -13
- package/dist/hr-HR-CoCrArfg.js +0 -13
- package/dist/hr-HR-D9bzCN_d.js +0 -35
- package/dist/hr-HR-YG9hvMMj.js +0 -13
- package/dist/hu-HU-BrxUJuJh.js +0 -13
- package/dist/hu-HU-C5p7RWWD.js +0 -35
- package/dist/hu-HU-DIurnBC3.js +0 -13
- package/dist/it-IT-CNS4NmYX.js +0 -13
- package/dist/it-IT-Cztl5jRY.js +0 -13
- package/dist/it-IT-mYyg3XGz.js +0 -35
- package/dist/ja-JP-BSYrPZsE.js +0 -35
- package/dist/ja-JP-DXkV1ta4.js +0 -13
- package/dist/lt-LT-BJTBEa5D.js +0 -13
- package/dist/lt-LT-D1viSP-v.js +0 -13
- package/dist/lt-LT-i-T_HQ42.js +0 -35
- package/dist/lv-LV-AkiOewnL.js +0 -13
- package/dist/lv-LV-BtX12dHJ.js +0 -35
- package/dist/lv-LV-GI-ZDM0K.js +0 -13
- package/dist/nl-NL-B6B4Z_tr.js +0 -13
- package/dist/nl-NL-PUQGh3Rp.js +0 -35
- package/dist/nl-NL-VneIcgWO.js +0 -13
- package/dist/no-NO-Dn1LUbDp.js +0 -13
- package/dist/no-NO-Dqp598Ox.js +0 -13
- package/dist/no-NO-kPnbGnBM.js +0 -35
- package/dist/payout-verification-manual-BJsf7QPE.js +0 -90
- package/dist/pl-PL-C-MmQaeR.js +0 -35
- package/dist/pl-PL-C1cP4Qpn.js +0 -13
- package/dist/pl-PL-Zdh_Xu43.js +0 -13
- package/dist/pt-BR-DkzLiK7Y.js +0 -13
- package/dist/pt-BR-DqLaaG4L.js +0 -13
- package/dist/pt-BR-Dw0UZ-Od.js +0 -35
- package/dist/pt-PT-CoTUf3zo.js +0 -13
- package/dist/pt-PT-DfVjLaAU.js +0 -35
- package/dist/pt-PT-uiREjC_e.js +0 -13
- package/dist/ro-RO-C835aMET.js +0 -13
- package/dist/ro-RO-ECJHARCT.js +0 -35
- package/dist/ro-RO-_HSYnLLu.js +0 -13
- package/dist/sk-SK-D6KtBU3q.js +0 -13
- package/dist/sk-SK-K03EHmJF.js +0 -13
- package/dist/sk-SK-rSmwmSCa.js +0 -35
- package/dist/sl-SI-CedEO3kf.js +0 -35
- package/dist/sl-SI-gM40Ay3W.js +0 -13
- package/dist/sl-SI-wYYQibM-.js +0 -13
- package/dist/sv-SE-BYUoi-08.js +0 -35
- package/dist/sv-SE-Bnhsdw8c.js +0 -13
- package/dist/sv-SE-uisfAT9L.js +0 -13
- package/dist/types/api/pciTemplate/usePciTemplate.d.ts +0 -14
- package/dist/types/components/Contract/hooks/useSalesChannelsSettings.d.ts +0 -3
- package/dist/types/components/Shared/tasks/TaskList/TaskItemStatus.d.ts +0 -2
- package/dist/types/components/ui/atoms/Status/Status.types.d.ts +0 -8
- package/dist/types/components/ui/atoms/TaskStatusIndicator/TaskStatusIndicator.d.ts +0 -11
- package/dist/warning-filled-F54KIN6Z.js +0 -14
- /package/dist/types/api/{pciTemplate → pci}/useSignPci.d.ts +0 -0
- /package/dist/types/components/{ui/atoms → BusinessLines/fields}/Carousel/Carousel.d.ts +0 -0
- /package/dist/types/components/BusinessLines/tasks/BusinessLines/{ExistingBusinessLines → BusinessLineModal}/BusinessLineModal.d.ts +0 -0
|
@@ -2,46 +2,50 @@
|
|
|
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] = "4735b342-bfc8-4204-9c4e-d76d36e285f8", e._sentryDebugIdIdentifier = "sentry-dbid-4735b342-bfc8-4204-9c4e-d76d36e285f8");
|
|
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,
|
|
11
|
+
import { u as useTranslation, B as Button, H as Typography, C as CountryCodes, W as useI18nContext, P as TaskTypes, t as LegalEntityTypes, $ as entriesOf, bB as businessDetailsComponentsKeyMapping, bC as solePropBusinessDetailsKeyMapping, aj as objectsDeepEqual, ap as keysOf, i as isUndefinedOrNull, bD as solePropBusinessDetailsApiKeyMapping, bo as businessDetailsApiKeyMapping, U as createLogger, b7 as filterOutUnwantedAssociationsIfRootLE, X as isEmpty$1, b5 as drop, af as getOwnEntityAssociations, aU as doArraysMatch, M as useAccountHolder, a0 as useAnalyticsContext, p as useExperimentsContext, o as useSettingsContext, b as useApiContext, a2 as useQueryClient, bE as solePropBusinessDetailsDocumentMapping, bF as businessDetailsDocumentMapping, c as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-C-VVZRES.js";
|
|
12
12
|
import { useState, useEffect, useRef, useCallback, useMemo } from "preact/hooks";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
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 isNormalizedStringMatch, y as setVerifiedBusiness, z as useIndustryCodes, 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, V as VerifiedBusinessCard, T as LEGAL_FORM_FIELDS, U as DBA_NAME_FIELD, W as DBANameField, X as BUSINESS_REGISTRATION_NUMBER_FIELD, Y as BusinessRegistrationNumberField, Z as VAT_NUMBER_FIELD, _ as VatNumberField, $ as EInvoicingCodeField, a0 as EINVOICING_CODE_FIELD, a1 as INDUSTRY_CODE_FIELD, a2 as IndustryCodeField, a3 as DATE_OF_INCORPORATION_FIELD, a4 as DateOfIncorporationField, a5 as STOCK_EXCHANGE_MIC_FIELD, a6 as StockExchangeMICField, a7 as STOCK_ISIN_FIELD, a8 as StockISINField, a9 as STOCK_TICKER_SYMBOL_FIELD, aa as StockTickerSymbolField, ab as ADDITIONAL_INFORMATION_FORM_ID, ac as localizedLegalCompanyNameFieldConfig, ad as defaultFieldMetadata$1, ae as defaultFieldConfig$1, af as defaultFieldMetadataV4, ag as defaultFieldMetadata$2, ah as defaultFieldConfigV4, ai as defaultFieldConfig$2, aj as useLegalCompanyNameField, ak as COUNTRY_OF_GOVERNING_LAW_FIELD, al as CountryOfGoverningLawField, am as LEGAL_COMPANY_NAME_FIELD, an as isBankAccountRequestedForOrganization, ao as companyTypeOptions, ap as useCompanyTypeExamples, E as EntityTypeRadioGroupCard, aq as BusinessSelectionMultiform, ar as isVerifiedSingleCompanySearchResult, as as exemptFromRegistrationNumberDefaultFieldMetadata, at as CountryOfGoverningLawFieldValidation, au as CountryFieldValidation, av as useBusinessLines, aw as financialInfoValidationWithEmployeesRules, ax as CompanyStructureValidation, ay as tinMatched, az as businessMismatchModalOpen, aA as applyVerifiedBusinessData, aB as KOMPANY_SEARCH_FAILURE } from "./OnboardingDropinComponent-Cfo00pTC.js";
|
|
14
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-xjbDYvmK.js";
|
|
15
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DmbJMoa-.js";
|
|
16
|
+
import { S as SettingNames, I as InputText } from "./InputText-Z3KjkGsR.js";
|
|
17
|
+
import { h as hasDataChanged } from "./hasDataChanged-lmk8vaNX.js";
|
|
18
|
+
import { a as useGlobalData, b as useStateContext } from "./useGlobalData-CRriDuBw.js";
|
|
19
|
+
import { a as useToastContext } from "./useToastContext-CoOrErAX.js";
|
|
20
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-DG3AAgnr.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BnzmtM6-.js";
|
|
22
|
+
import { m as mapExistingFile, g as getPageName, u as useScenarioConfiguration } from "./mapExistingFile-BHNSSDEN.js";
|
|
23
|
+
import { a as datasetUtilities, C as Confirm } from "./useDataset-DCmrDMPj.js";
|
|
24
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-D1mS3NB7.js";
|
|
25
|
+
import { F as FormWrapper } from "./FormWrapper-Cp8SYe1S.js";
|
|
26
|
+
import { a as getDocument, c as createDocumentRequest, b as getFileExtention, d as documentApiUtils } from "./documentUtils-Bc4tPwRB.js";
|
|
27
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-CQWJtu-N.js";
|
|
27
28
|
import cx from "classnames";
|
|
28
|
-
import {
|
|
29
|
-
import { M as MemoizedConstitutionalDocument } from "./ConstitutionalDocument-
|
|
30
|
-
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
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
29
|
+
import { $ as MemoizedDocumentUpload, C as CompanyTypesValues, n as COUNTRIES_USING_COMPANY_SEARCH, a0 as isRegistrationNumberAbsentStateV4Scenario, E as isEmpty, a1 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, r as requestingBanking, e as requestingIssuing, a as getCompanyRegistrationNumberOptions, t as taxInformationDefaultFieldMetadata, a2 as countryToTaxInfoTypeMap, i as taxInformationDefaultFieldConfig, a3 as rules, T as TAX_INFORMATION_FIELD, j as TaxInformationField, u as useAllowedCountries, m as COUNTRY_OF_GOVERNING_LAW_POSSIBLE } from "./IndividualOnfido-C78IRI4s.js";
|
|
30
|
+
import { M as MemoizedConstitutionalDocument } from "./ConstitutionalDocument-DP_BT440.js";
|
|
31
|
+
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-CZ4B1rZT.js";
|
|
32
|
+
import { u as useCreateBusinessLine, a as useUpdateBusinessLine } from "./useUpdateBusinessLines-B1dIbMeU.js";
|
|
33
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-BVdtlpuv.js";
|
|
34
|
+
import { u as useMultiForm } from "./useMultiForm-CGFP91RI.js";
|
|
33
35
|
import { b as mapAddressLocalizationToJpAddressSchema, a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
34
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
36
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-DvjcA3x9.js";
|
|
37
|
+
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-sP4IuaJP.js";
|
|
35
38
|
import { f as formatObject, g as getProp } from "./utils-DNSfZiio.js";
|
|
36
|
-
import { m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
39
|
+
import { m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-D5u2Pcq9.js";
|
|
37
40
|
import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
38
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
39
|
-
import { r as resolveFieldMetadata } from "./fieldConfigurations-
|
|
41
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-DR_dAzpt.js";
|
|
42
|
+
import { r as resolveFieldMetadata } from "./fieldConfigurations-BeWhtsCJ.js";
|
|
40
43
|
import { Suspense, lazy } from "preact/compat";
|
|
41
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
42
|
-
import { F as Field } from "./
|
|
43
|
-
import { L as LegalFormField } from "./Currency-
|
|
44
|
-
import { M as Modal, a as ModalContent } from "./Modal-
|
|
44
|
+
import { C as Checkbox } from "./debouncedInputEvent-D7ngWyaU.js";
|
|
45
|
+
import { F as Field } from "./useForm-B0KJc8gy.js";
|
|
46
|
+
import { L as LegalFormField } from "./Currency-DFCxzGsY.js";
|
|
47
|
+
import { M as Modal, a as ModalContent } from "./Modal-CbwPh9Ed.js";
|
|
48
|
+
import { s as summaryStep } from "./Summary-D1maphV9.js";
|
|
45
49
|
const documentTypes$2 = [
|
|
46
50
|
{ id: "Internal company document", name: "internalCompanyDocument" },
|
|
47
51
|
{ id: "Business registry statement", name: "businessRegistryStatement" }
|
|
@@ -1393,15 +1397,18 @@ async function submit({
|
|
|
1393
1397
|
createLegalEntity,
|
|
1394
1398
|
onExternalSubmit,
|
|
1395
1399
|
isExperimentEnabled,
|
|
1396
|
-
userEvents
|
|
1400
|
+
userEvents,
|
|
1401
|
+
efpBusinessLines,
|
|
1402
|
+
createBusinessLine,
|
|
1403
|
+
updateBusinessLine
|
|
1397
1404
|
}) {
|
|
1398
1405
|
const logger = createLogger();
|
|
1399
1406
|
setLoadingStatus("loading");
|
|
1400
1407
|
let trackingPayload = {
|
|
1401
1408
|
actionType: "submit",
|
|
1402
|
-
companyStructure: data.companyStructure?.entityType
|
|
1403
|
-
countryOfRegistration: data.basicInformation?.country
|
|
1404
|
-
legalEntityName: accountHolder === "theCompanyIWorkFor" ? data.basicInformation?.legalCompanyName
|
|
1409
|
+
companyStructure: data.companyStructure?.entityType,
|
|
1410
|
+
countryOfRegistration: data.basicInformation?.country,
|
|
1411
|
+
legalEntityName: accountHolder === "theCompanyIWorkFor" ? data.basicInformation?.legalCompanyName : void 0,
|
|
1405
1412
|
// Only send legalCompanyName for organizations
|
|
1406
1413
|
usedAdditionalAddress: data.additionalInformation?.operationalAddressIsSame === operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_NOT_SAME
|
|
1407
1414
|
};
|
|
@@ -1484,6 +1491,79 @@ async function submit({
|
|
|
1484
1491
|
delete filteredData.basicInformation.countryOfGoverningLaw;
|
|
1485
1492
|
}
|
|
1486
1493
|
}
|
|
1494
|
+
const primaryIndustryCode = data.additionalInformation?.industryCodes && data.additionalInformation.industryCodes[0].id;
|
|
1495
|
+
if (createBusinessLine && updateBusinessLine && primaryIndustryCode) {
|
|
1496
|
+
const bankingBusinessLines = [];
|
|
1497
|
+
const issuingBusinessLines = [];
|
|
1498
|
+
if (efpBusinessLines) {
|
|
1499
|
+
for (const bl of efpBusinessLines) {
|
|
1500
|
+
if (bl.service === "banking") bankingBusinessLines.push(bl);
|
|
1501
|
+
else issuingBusinessLines.push(bl);
|
|
1502
|
+
}
|
|
1503
|
+
}
|
|
1504
|
+
const promises = [];
|
|
1505
|
+
const operations = [];
|
|
1506
|
+
const updateOrCreateBusinessLinesIfNeeded = (businessLines, requestedCapability, service) => {
|
|
1507
|
+
if (businessLines.length) {
|
|
1508
|
+
for (const bl of businessLines) {
|
|
1509
|
+
if (bl.industryCode === primaryIndustryCode) continue;
|
|
1510
|
+
const payload = {
|
|
1511
|
+
id: bl.id,
|
|
1512
|
+
legalEntityId: legalEntityResponse.id,
|
|
1513
|
+
industryCode: primaryIndustryCode,
|
|
1514
|
+
service
|
|
1515
|
+
};
|
|
1516
|
+
promises.push(updateBusinessLine(payload));
|
|
1517
|
+
operations.push(payload);
|
|
1518
|
+
}
|
|
1519
|
+
} else if (requestedCapability) {
|
|
1520
|
+
const payload = {
|
|
1521
|
+
legalEntityId: legalEntityResponse.id,
|
|
1522
|
+
industryCode: primaryIndustryCode,
|
|
1523
|
+
service
|
|
1524
|
+
};
|
|
1525
|
+
promises.push(createBusinessLine(payload));
|
|
1526
|
+
operations.push(payload);
|
|
1527
|
+
}
|
|
1528
|
+
};
|
|
1529
|
+
updateOrCreateBusinessLinesIfNeeded(
|
|
1530
|
+
bankingBusinessLines,
|
|
1531
|
+
requestingBanking(legalEntityResponse),
|
|
1532
|
+
"banking"
|
|
1533
|
+
);
|
|
1534
|
+
updateOrCreateBusinessLinesIfNeeded(
|
|
1535
|
+
issuingBusinessLines,
|
|
1536
|
+
requestingIssuing(legalEntityResponse),
|
|
1537
|
+
"issuing"
|
|
1538
|
+
);
|
|
1539
|
+
let hadRejection = false;
|
|
1540
|
+
(await Promise.allSettled(promises)).forEach((result, idx) => {
|
|
1541
|
+
if (result.status !== "rejected") return;
|
|
1542
|
+
const op = operations[idx];
|
|
1543
|
+
logger.log(
|
|
1544
|
+
`Failed to ${op.id ? "update" : "create"} business line with payload: ${JSON.stringify(op)}`
|
|
1545
|
+
);
|
|
1546
|
+
hadRejection = true;
|
|
1547
|
+
});
|
|
1548
|
+
const eventPayload = {
|
|
1549
|
+
actionType: trackingPayload.actionType,
|
|
1550
|
+
legalEntityName: trackingPayload.legalEntityName
|
|
1551
|
+
};
|
|
1552
|
+
if (!hadRejection) {
|
|
1553
|
+
userEvents?.addTaskEvent("Success", eventPayload);
|
|
1554
|
+
} else {
|
|
1555
|
+
userEvents?.addTaskEvent("Encountered error", {
|
|
1556
|
+
...eventPayload,
|
|
1557
|
+
returnType: "businessLines",
|
|
1558
|
+
returnValue: "couldNotCreateOrUpdateBusinessLine"
|
|
1559
|
+
});
|
|
1560
|
+
showToast({
|
|
1561
|
+
label: t(($) => $["failedToUpdateEfpBusinessLines"], { ns: "business" }),
|
|
1562
|
+
variant: "error"
|
|
1563
|
+
});
|
|
1564
|
+
return setLoadingStatus("success");
|
|
1565
|
+
}
|
|
1566
|
+
}
|
|
1487
1567
|
try {
|
|
1488
1568
|
const mappedLegalEntity = {
|
|
1489
1569
|
...mapBusinessDetailsSchemaToLegalEntity(filteredData, accountHolder, isExperimentEnabled),
|
|
@@ -1638,11 +1718,7 @@ function BusinessDetailsDropin({
|
|
|
1638
1718
|
useEffect(() => {
|
|
1639
1719
|
userEvents.updateBaseTrackingPayload({ task: taskType });
|
|
1640
1720
|
userEvents.addTaskEvent("Landed on page", {
|
|
1641
|
-
actionType: "start"
|
|
1642
|
-
...subjectEntity?.id && subjectEntity?.type && {
|
|
1643
|
-
legalEntityId: subjectEntity.id,
|
|
1644
|
-
entityType: subjectEntity.type
|
|
1645
|
-
}
|
|
1721
|
+
actionType: "start"
|
|
1646
1722
|
});
|
|
1647
1723
|
}, []);
|
|
1648
1724
|
const [tinMatched2, setTinMatched] = useState(void 0);
|
|
@@ -1779,10 +1855,6 @@ function BusinessDetailsDropin({
|
|
|
1779
1855
|
returnValue: "companySearch",
|
|
1780
1856
|
additionalData: {
|
|
1781
1857
|
numberOfResults: companySearchResults.length
|
|
1782
|
-
},
|
|
1783
|
-
...subjectEntity?.id && subjectEntity?.type && {
|
|
1784
|
-
legalEntityId: subjectEntity.id,
|
|
1785
|
-
entityType: subjectEntity.type
|
|
1786
1858
|
}
|
|
1787
1859
|
});
|
|
1788
1860
|
}
|
|
@@ -1913,9 +1985,7 @@ function BusinessDetailsDropin({
|
|
|
1913
1985
|
if (subjectEntity?.id && subjectEntity?.type) {
|
|
1914
1986
|
userEvents.addPageEvent("Encountered error", {
|
|
1915
1987
|
actionType: "submit",
|
|
1916
|
-
returnValue: "tinVerificationFailure"
|
|
1917
|
-
legalEntityId: subjectEntity.id,
|
|
1918
|
-
entityType: subjectEntity.type
|
|
1988
|
+
returnValue: "tinVerificationFailure"
|
|
1919
1989
|
});
|
|
1920
1990
|
}
|
|
1921
1991
|
}
|
|
@@ -2182,7 +2252,7 @@ function BusinessDetailsDropin({
|
|
|
2182
2252
|
);
|
|
2183
2253
|
}
|
|
2184
2254
|
const LazyJpAddress = lazy(
|
|
2185
|
-
async () => (await import("./JpAddress-
|
|
2255
|
+
async () => (await import("./JpAddress-Be4BJ9bE.js")).JpAddress
|
|
2186
2256
|
);
|
|
2187
2257
|
function AdditionalInformationMultiform({
|
|
2188
2258
|
id,
|
|
@@ -2214,6 +2284,7 @@ function AdditionalInformationMultiform({
|
|
|
2214
2284
|
if (requestingIssuing(rootLegalEntity)) {
|
|
2215
2285
|
businessLineTypes.push("issuing");
|
|
2216
2286
|
}
|
|
2287
|
+
const { data: industryCodes } = useIndustryCodes(businessLineTypes);
|
|
2217
2288
|
const [addressToCheck, setAddressToCheck] = useDebouncedState(500);
|
|
2218
2289
|
const { data: cleansedRegistrationAddress } = useAddressCleanse(
|
|
2219
2290
|
{
|
|
@@ -2595,7 +2666,7 @@ function AdditionalInformationMultiform({
|
|
|
2595
2666
|
handleChangeFor
|
|
2596
2667
|
}
|
|
2597
2668
|
) }),
|
|
2598
|
-
showField(INDUSTRY_CODE_FIELD) && /* @__PURE__ */ jsx("div", { className: "adyen-kyc-field-wrapper", children: /* @__PURE__ */ jsx(
|
|
2669
|
+
showField(INDUSTRY_CODE_FIELD) && /* @__PURE__ */ jsx("div", { className: "adyen-kyc-field-wrapper", "data-testid": "industryCode", children: /* @__PURE__ */ jsx(
|
|
2599
2670
|
IndustryCodeField,
|
|
2600
2671
|
{
|
|
2601
2672
|
data: formUtils.getFieldData(
|
|
@@ -2624,7 +2695,8 @@ function AdditionalInformationMultiform({
|
|
|
2624
2695
|
readonly: formUtils.isReadOnly("industryCodes"),
|
|
2625
2696
|
handleChangeFor,
|
|
2626
2697
|
businessLineTypes,
|
|
2627
|
-
single: true
|
|
2698
|
+
single: true,
|
|
2699
|
+
industryCodes: industryCodes ?? []
|
|
2628
2700
|
}
|
|
2629
2701
|
) }),
|
|
2630
2702
|
showField(DATE_OF_INCORPORATION_FIELD) && /* @__PURE__ */ jsx("div", { className: "adyen-kyc-field-wrapper", children: /* @__PURE__ */ jsx(
|
|
@@ -3677,11 +3749,7 @@ function BusinessDetailsMultiformDropin({
|
|
|
3677
3749
|
useEffect(() => {
|
|
3678
3750
|
userEvents.updateBaseTrackingPayload({ task: taskType });
|
|
3679
3751
|
userEvents.addTaskEvent("Landed on page", {
|
|
3680
|
-
actionType: "start"
|
|
3681
|
-
...subjectEntity?.id && subjectEntity?.type && {
|
|
3682
|
-
legalEntityId: subjectEntity.id,
|
|
3683
|
-
entityType: subjectEntity.type
|
|
3684
|
-
}
|
|
3752
|
+
actionType: "start"
|
|
3685
3753
|
});
|
|
3686
3754
|
}, []);
|
|
3687
3755
|
const parseConfiguration = useCallback(
|
|
@@ -3694,25 +3762,43 @@ function BusinessDetailsMultiformDropin({
|
|
|
3694
3762
|
setLoadingStatus,
|
|
3695
3763
|
country
|
|
3696
3764
|
});
|
|
3697
|
-
const
|
|
3698
|
-
()
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3765
|
+
const { data: businessLines } = useBusinessLines({
|
|
3766
|
+
enabled: isSettingEnabled("allowBusinessLines")
|
|
3767
|
+
});
|
|
3768
|
+
const efpBusinessLines = businessLines?.filter((bl) => bl.service !== "paymentProcessing");
|
|
3769
|
+
const defaultData = useMemo(() => {
|
|
3770
|
+
const mapped = mapLegalEntityToBusinessDetailsSchema(
|
|
3771
|
+
!isAssociationTaskType ? legalEntityResponse : isSoleProp ? associatedLegalArrangement ?? legalEntityResponse : nestedLegalEntity,
|
|
3772
|
+
isSoleProp ? legalEntityResponse : void 0,
|
|
3773
|
+
isExperimentEnabled
|
|
3774
|
+
);
|
|
3775
|
+
const initialEfpBusinessLineData = isSettingEnabled("allowBusinessLines") && efpBusinessLines && efpBusinessLines.length > 0 ? {
|
|
3776
|
+
additionalInformation: {
|
|
3777
|
+
...mapped.additionalInformation,
|
|
3778
|
+
industryCodes: [
|
|
3779
|
+
{
|
|
3780
|
+
id: efpBusinessLines[0].industryCode,
|
|
3781
|
+
name: `${efpBusinessLines[0].industryCode} - ${efpBusinessLines[0].industryCodeDescription}`
|
|
3782
|
+
}
|
|
3783
|
+
]
|
|
3784
|
+
}
|
|
3785
|
+
} : {};
|
|
3786
|
+
return {
|
|
3787
|
+
...mapped,
|
|
3788
|
+
...documents,
|
|
3789
|
+
...initialEfpBusinessLineData
|
|
3790
|
+
};
|
|
3791
|
+
}, [
|
|
3792
|
+
isAssociationTaskType,
|
|
3793
|
+
legalEntityResponse,
|
|
3794
|
+
isSoleProp,
|
|
3795
|
+
associatedLegalArrangement,
|
|
3796
|
+
nestedLegalEntity,
|
|
3797
|
+
isExperimentEnabled,
|
|
3798
|
+
documents,
|
|
3799
|
+
efpBusinessLines,
|
|
3800
|
+
isSettingEnabled
|
|
3801
|
+
]);
|
|
3716
3802
|
const buildFieldValidations = useCallback(
|
|
3717
3803
|
(data) => {
|
|
3718
3804
|
const taxInfo = data?.basicInformation?.taxInformation ?? data?.additionalInformation?.taxInformation;
|
|
@@ -3858,6 +3944,8 @@ function BusinessDetailsMultiformDropin({
|
|
|
3858
3944
|
() => formatDataForSummary(multiForm.data, forms, t, i18n.language, isExperimentEnabled),
|
|
3859
3945
|
[multiForm.data, forms, t, i18n.language, isExperimentEnabled]
|
|
3860
3946
|
);
|
|
3947
|
+
const { mutateAsync: createBusinessLine } = useCreateBusinessLine();
|
|
3948
|
+
const { mutateAsync: updateBusinessLine } = useUpdateBusinessLine();
|
|
3861
3949
|
const submitTask = useCallback(() => {
|
|
3862
3950
|
setAccountHolder(accountHolder);
|
|
3863
3951
|
return submit({
|
|
@@ -3879,7 +3967,10 @@ function BusinessDetailsMultiformDropin({
|
|
|
3879
3967
|
createLegalEntity,
|
|
3880
3968
|
onExternalSubmit,
|
|
3881
3969
|
isExperimentEnabled,
|
|
3882
|
-
userEvents
|
|
3970
|
+
userEvents,
|
|
3971
|
+
efpBusinessLines,
|
|
3972
|
+
createBusinessLine,
|
|
3973
|
+
updateBusinessLine
|
|
3883
3974
|
});
|
|
3884
3975
|
}, [
|
|
3885
3976
|
setAccountHolder,
|
|
@@ -3899,7 +3990,10 @@ function BusinessDetailsMultiformDropin({
|
|
|
3899
3990
|
createLegalEntity,
|
|
3900
3991
|
onExternalSubmit,
|
|
3901
3992
|
isExperimentEnabled,
|
|
3902
|
-
userEvents
|
|
3993
|
+
userEvents,
|
|
3994
|
+
efpBusinessLines,
|
|
3995
|
+
createBusinessLine,
|
|
3996
|
+
updateBusinessLine
|
|
3903
3997
|
]);
|
|
3904
3998
|
const {
|
|
3905
3999
|
handleNextClick,
|
|
@@ -3948,10 +4042,6 @@ function BusinessDetailsMultiformDropin({
|
|
|
3948
4042
|
returnValue: "companySearch",
|
|
3949
4043
|
additionalData: {
|
|
3950
4044
|
numberOfResults: companySearchResponse?.results.length
|
|
3951
|
-
},
|
|
3952
|
-
...subjectEntity?.id && subjectEntity?.type && {
|
|
3953
|
-
legalEntityId: subjectEntity.id,
|
|
3954
|
-
entityType: subjectEntity.type
|
|
3955
4045
|
}
|
|
3956
4046
|
});
|
|
3957
4047
|
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
;
|
|
2
|
+
{
|
|
3
|
+
try {
|
|
4
|
+
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "01189a5a-26ff-4ac6-82af-1662f039db1a", e._sentryDebugIdIdentifier = "sentry-dbid-01189a5a-26ff-4ac6-82af-1662f039db1a");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, g as getLegalEntityCountry, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, L as Loader } from "./StoreProvider-C-VVZRES.js";
|
|
11
|
+
import { jsx } from "preact/jsx-runtime";
|
|
12
|
+
import { useMemo } from "preact/hooks";
|
|
13
|
+
import { M as MaybeModal } from "./MaybeModal-BXFyxWJq.js";
|
|
14
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-CVw4Z6TP.js";
|
|
15
|
+
function BusinessFinancingComponent({
|
|
16
|
+
legalEntityId,
|
|
17
|
+
onSubmitSuccess,
|
|
18
|
+
asModal,
|
|
19
|
+
handleCloseClick
|
|
20
|
+
}) {
|
|
21
|
+
const { i18n } = useTranslation();
|
|
22
|
+
const { data: rootLegalEntity } = useLegalEntity(legalEntityId);
|
|
23
|
+
const country = useMemo(
|
|
24
|
+
() => rootLegalEntity ? getLegalEntityCountry(rootLegalEntity) : void 0,
|
|
25
|
+
[rootLegalEntity]
|
|
26
|
+
);
|
|
27
|
+
addResourceBundles(i18n, i18n.language, [
|
|
28
|
+
{ ns: "common", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-oWrzmmWF.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-7urd96Kr.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-D-CIc3Wp.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-itf47wPh.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-B09xC5IM.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-C-VVZRES.js").then((n) => n.bM), "../../../language/locales/es-ES.json": () => import("./es-ES-u77uTVet.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-B4Qtq50U.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-CoeShwM8.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C4ldMaqM.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-BXG_ZAJm.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CMGzeEXp.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Cz3V93Xk.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-B4mHwijO.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BuALzmEO.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-nDWqwoYo.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-CcUU-KmX.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-BplX8KGW.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-BmCZYCoD.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BkPUtBM9.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-D_F3JxYu.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-CJoz8E5K.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-DgdScFiv.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-CZt2QlBD.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-BPD3xI_7.js") }), `../../../language/locales/${i18n.language}.json`, 6) },
|
|
29
|
+
{ ns: "ui", importFn: () => import("./en-US-gsp7CD_E.js") },
|
|
30
|
+
{
|
|
31
|
+
ns: "businessFinancing",
|
|
32
|
+
importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../EFP/tasks/BusinessFinancingDropin/language/bg-BG.json": () => import("./bg-BG-wVquMNtT.js"), "../../EFP/tasks/BusinessFinancingDropin/language/cs-CZ.json": () => import("./cs-CZ--jOkoHVS.js"), "../../EFP/tasks/BusinessFinancingDropin/language/da-DK.json": () => import("./da-DK-JHZnsI59.js"), "../../EFP/tasks/BusinessFinancingDropin/language/de-DE.json": () => import("./de-DE-VGGEkxUT.js"), "../../EFP/tasks/BusinessFinancingDropin/language/el-GR.json": () => import("./el-GR-gkaKwnln.js"), "../../EFP/tasks/BusinessFinancingDropin/language/en-US.json": () => import("./en-US-CzEL6t1W.js"), "../../EFP/tasks/BusinessFinancingDropin/language/es-ES.json": () => import("./es-ES-Bn9_0wK0.js"), "../../EFP/tasks/BusinessFinancingDropin/language/et-EE.json": () => import("./et-EE-BYSnV6Iq.js"), "../../EFP/tasks/BusinessFinancingDropin/language/fi-FI.json": () => import("./fi-FI-PVFqd5Ra.js"), "../../EFP/tasks/BusinessFinancingDropin/language/fr-FR.json": () => import("./fr-FR-mJK4hjwD.js"), "../../EFP/tasks/BusinessFinancingDropin/language/hr-HR.json": () => import("./hr-HR-qmYyO-nT.js"), "../../EFP/tasks/BusinessFinancingDropin/language/hu-HU.json": () => import("./hu-HU-CS-7iNS4.js"), "../../EFP/tasks/BusinessFinancingDropin/language/it-IT.json": () => import("./it-IT-BTWkWSJq.js"), "../../EFP/tasks/BusinessFinancingDropin/language/ja-JP.json": () => import("./ja-JP-CSz7fEkn.js"), "../../EFP/tasks/BusinessFinancingDropin/language/lt-LT.json": () => import("./lt-LT-B6XmKUXx.js"), "../../EFP/tasks/BusinessFinancingDropin/language/lv-LV.json": () => import("./lv-LV-DsSpy50n.js"), "../../EFP/tasks/BusinessFinancingDropin/language/nl-NL.json": () => import("./nl-NL-CTf7zH4M.js"), "../../EFP/tasks/BusinessFinancingDropin/language/no-NO.json": () => import("./no-NO-RfTK9KAV.js"), "../../EFP/tasks/BusinessFinancingDropin/language/pl-PL.json": () => import("./pl-PL-Dy8qWH39.js"), "../../EFP/tasks/BusinessFinancingDropin/language/pt-BR.json": () => import("./pt-BR-BbFJsIVX.js"), "../../EFP/tasks/BusinessFinancingDropin/language/pt-PT.json": () => import("./pt-PT-B4F_5NWi.js"), "../../EFP/tasks/BusinessFinancingDropin/language/ro-RO.json": () => import("./ro-RO-CICjAFys.js"), "../../EFP/tasks/BusinessFinancingDropin/language/sk-SK.json": () => import("./sk-SK-BRd5TN22.js"), "../../EFP/tasks/BusinessFinancingDropin/language/sl-SI.json": () => import("./sl-SI-D8dDckrW.js"), "../../EFP/tasks/BusinessFinancingDropin/language/sv-SE.json": () => import("./sv-SE-DGpvVvWj.js") }), `../../EFP/tasks/BusinessFinancingDropin/language/${i18n.language}.json`, 7)
|
|
33
|
+
}
|
|
34
|
+
]);
|
|
35
|
+
const handleFinishClick = (data) => {
|
|
36
|
+
handleCloseClick?.();
|
|
37
|
+
onSubmitSuccess?.(data);
|
|
38
|
+
};
|
|
39
|
+
if (!rootLegalEntity || !country) {
|
|
40
|
+
return /* @__PURE__ */ jsx(Loader, {});
|
|
41
|
+
}
|
|
42
|
+
return /* @__PURE__ */ jsx(MaybeModal, { inline: !asModal, onClose: handleCloseClick, inset: true, children: /* @__PURE__ */ jsx(
|
|
43
|
+
BusinessFinancingDropin,
|
|
44
|
+
{
|
|
45
|
+
country,
|
|
46
|
+
rootLegalEntity,
|
|
47
|
+
externalOnSubmit: handleFinishClick,
|
|
48
|
+
isStandaloneComponent: true
|
|
49
|
+
}
|
|
50
|
+
) });
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
BusinessFinancingComponent as B
|
|
54
|
+
};
|
|
@@ -2,33 +2,36 @@
|
|
|
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] = "1685ae8c-32c5-4064-acf6-79f05eadb22c", e._sentryDebugIdIdentifier = "sentry-dbid-1685ae8c-32c5-4064-acf6-79f05eadb22c");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useEffect, useMemo, useState } from "preact/hooks";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { u as
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
12
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-xjbDYvmK.js";
|
|
13
|
+
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-CoOrErAX.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DmbJMoa-.js";
|
|
15
|
+
import { aZ as reverseMapping, a_ as isEeaCountry, t as LegalEntityTypes, aA as cloneObject, b as useApiContext, j as useQuery, m as httpGet, W as useI18nContext, u as useTranslation, H as Typography, G as translateStringOrObject, a0 as useAnalyticsContext, o as useSettingsContext, L as Loader, B as Button } from "./StoreProvider-C-VVZRES.js";
|
|
16
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-BVdtlpuv.js";
|
|
17
|
+
import { I as InputText, S as SettingNames } from "./InputText-Z3KjkGsR.js";
|
|
18
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-ojx3GrEz.js";
|
|
19
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BnzmtM6-.js";
|
|
20
|
+
import { u as useMultiForm } from "./useMultiForm-CGFP91RI.js";
|
|
21
|
+
import { E as EndStateLayout } from "./EndStateLayout-CCMMQp1G.js";
|
|
22
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-DR_dAzpt.js";
|
|
23
|
+
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
24
|
+
import { a as datasetUtilities } from "./useDataset-DCmrDMPj.js";
|
|
25
|
+
import { l as localizeDateString } from "./localizeDateString-CY6f5u9V.js";
|
|
26
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-DvjcA3x9.js";
|
|
26
27
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
27
|
-
import { c as createFormUtils, a as Link, d as getFieldProps, H as Header, E as ErrorPanel } from "./CountryField-
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import { b as
|
|
28
|
+
import { c as createFormUtils, a as Link, d as getFieldProps, H as Header, E as ErrorPanel } from "./CountryField-CZ4B1rZT.js";
|
|
29
|
+
import { R as RadioGroup, I as InputDate, i as useFormContext, g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, A as Address, e as getAddressSchemaLabelsByCountry } from "./Address-sP4IuaJP.js";
|
|
30
|
+
import { c as currencyByCountry } from "./types-C0EHVMFs.js";
|
|
31
|
+
import { F as Field, S as Select } from "./useForm-B0KJc8gy.js";
|
|
32
|
+
import { L as LegalFormField, I as InputNumber, b as Currency, C as CURRENCY_FIELD, a as InputCurrency } from "./Currency-DFCxzGsY.js";
|
|
33
|
+
import { C as Checkbox } from "./debouncedInputEvent-D7ngWyaU.js";
|
|
34
|
+
import { b as businessFinancingMultiformRules } from "./validate-4egldPuY.js";
|
|
32
35
|
const businessFinancingBaseMapping = {
|
|
33
36
|
legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
|
|
34
37
|
legalInformationInsolvency: "organization.statusOfLegalProceeding",
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
;
|
|
2
|
+
{
|
|
3
|
+
try {
|
|
4
|
+
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fe1b0604-14f3-4124-8353-a06521bbeaf7", e._sentryDebugIdIdentifier = "sentry-dbid-fe1b0604-14f3-4124-8353-a06521bbeaf7");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C-VVZRES.js";
|
|
11
|
+
import { jsx } from "preact/jsx-runtime";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-CVw4Z6TP.js";
|
|
13
|
+
const BusinessFinancingPage = ({
|
|
14
|
+
onSubmit,
|
|
15
|
+
handleHomeClick
|
|
16
|
+
}) => {
|
|
17
|
+
const { i18n: i18next } = useTranslation();
|
|
18
|
+
const { t: commonT } = useTranslation("common");
|
|
19
|
+
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
20
|
+
addResourceBundles(i18next, i18next.language, [
|
|
21
|
+
{
|
|
22
|
+
ns: "businessFinancing",
|
|
23
|
+
importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../tasks/BusinessFinancingDropin/language/bg-BG.json": () => import("./bg-BG-wVquMNtT.js"), "../tasks/BusinessFinancingDropin/language/cs-CZ.json": () => import("./cs-CZ--jOkoHVS.js"), "../tasks/BusinessFinancingDropin/language/da-DK.json": () => import("./da-DK-JHZnsI59.js"), "../tasks/BusinessFinancingDropin/language/de-DE.json": () => import("./de-DE-VGGEkxUT.js"), "../tasks/BusinessFinancingDropin/language/el-GR.json": () => import("./el-GR-gkaKwnln.js"), "../tasks/BusinessFinancingDropin/language/en-US.json": () => import("./en-US-CzEL6t1W.js"), "../tasks/BusinessFinancingDropin/language/es-ES.json": () => import("./es-ES-Bn9_0wK0.js"), "../tasks/BusinessFinancingDropin/language/et-EE.json": () => import("./et-EE-BYSnV6Iq.js"), "../tasks/BusinessFinancingDropin/language/fi-FI.json": () => import("./fi-FI-PVFqd5Ra.js"), "../tasks/BusinessFinancingDropin/language/fr-FR.json": () => import("./fr-FR-mJK4hjwD.js"), "../tasks/BusinessFinancingDropin/language/hr-HR.json": () => import("./hr-HR-qmYyO-nT.js"), "../tasks/BusinessFinancingDropin/language/hu-HU.json": () => import("./hu-HU-CS-7iNS4.js"), "../tasks/BusinessFinancingDropin/language/it-IT.json": () => import("./it-IT-BTWkWSJq.js"), "../tasks/BusinessFinancingDropin/language/ja-JP.json": () => import("./ja-JP-CSz7fEkn.js"), "../tasks/BusinessFinancingDropin/language/lt-LT.json": () => import("./lt-LT-B6XmKUXx.js"), "../tasks/BusinessFinancingDropin/language/lv-LV.json": () => import("./lv-LV-DsSpy50n.js"), "../tasks/BusinessFinancingDropin/language/nl-NL.json": () => import("./nl-NL-CTf7zH4M.js"), "../tasks/BusinessFinancingDropin/language/no-NO.json": () => import("./no-NO-RfTK9KAV.js"), "../tasks/BusinessFinancingDropin/language/pl-PL.json": () => import("./pl-PL-Dy8qWH39.js"), "../tasks/BusinessFinancingDropin/language/pt-BR.json": () => import("./pt-BR-BbFJsIVX.js"), "../tasks/BusinessFinancingDropin/language/pt-PT.json": () => import("./pt-PT-B4F_5NWi.js"), "../tasks/BusinessFinancingDropin/language/ro-RO.json": () => import("./ro-RO-CICjAFys.js"), "../tasks/BusinessFinancingDropin/language/sk-SK.json": () => import("./sk-SK-BRd5TN22.js"), "../tasks/BusinessFinancingDropin/language/sl-SI.json": () => import("./sl-SI-D8dDckrW.js"), "../tasks/BusinessFinancingDropin/language/sv-SE.json": () => import("./sv-SE-DGpvVvWj.js") }), `../tasks/BusinessFinancingDropin/language/${i18next.language}.json`, 5)
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
ns: "common",
|
|
27
|
+
importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-oWrzmmWF.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-7urd96Kr.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-D-CIc3Wp.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-itf47wPh.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-B09xC5IM.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-C-VVZRES.js").then((n) => n.bM), "../../../language/locales/es-ES.json": () => import("./es-ES-u77uTVet.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-B4Qtq50U.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-CoeShwM8.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C4ldMaqM.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-BXG_ZAJm.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CMGzeEXp.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Cz3V93Xk.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-B4mHwijO.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BuALzmEO.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-nDWqwoYo.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-CcUU-KmX.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-BplX8KGW.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-BmCZYCoD.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BkPUtBM9.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-D_F3JxYu.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-CJoz8E5K.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-DgdScFiv.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-CZt2QlBD.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-BPD3xI_7.js") }), `../../../language/locales/${i18next.language}.json`, 6)
|
|
28
|
+
}
|
|
29
|
+
]);
|
|
30
|
+
if (!rootLe) {
|
|
31
|
+
return /* @__PURE__ */ jsx(Loader, {});
|
|
32
|
+
}
|
|
33
|
+
return /* @__PURE__ */ jsx(
|
|
34
|
+
BusinessFinancingDropin,
|
|
35
|
+
{
|
|
36
|
+
country: getLegalEntityCountry(rootLe),
|
|
37
|
+
rootLegalEntity: rootLe,
|
|
38
|
+
externalOnSubmit: onSubmit,
|
|
39
|
+
handleHomeClick,
|
|
40
|
+
externalOnSubmitLabel: commonT(($) => $["backToTaskList"])
|
|
41
|
+
}
|
|
42
|
+
);
|
|
43
|
+
};
|
|
44
|
+
export {
|
|
45
|
+
BusinessFinancingPage
|
|
46
|
+
};
|
package/dist/{BusinessTypeSelectionPage-CzTjZljE.js → BusinessTypeSelectionPage-DLVrPJN6.js}
RENAMED
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8e97c3f2-1293-4e8b-a54a-1863e1008ce1", e._sentryDebugIdIdentifier = "sentry-dbid-8e97c3f2-1293-4e8b-a54a-1863e1008ce1");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import {
|
|
11
|
+
import { U as createLogger, u as useTranslation, a0 as useAnalyticsContext, p as useExperimentsContext, M as useAccountHolder, by as getCapabilities, g as getLegalEntityCountry, t as LegalEntityTypes, H as Typography, B as Button, a3 as Icon, c as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-C-VVZRES.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { R as RadioGroupCard } from "./fieldConfigurations-
|
|
16
|
-
import { S as Spacer } from "./getName-
|
|
17
|
-
import {
|
|
18
|
-
import { E as EntityTypeRadioGroupCard } from "./OnboardingDropinComponent-
|
|
19
|
-
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-
|
|
13
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DmbJMoa-.js";
|
|
14
|
+
import { u as useForm, L as LoaderWrapper, F as Field } from "./useForm-B0KJc8gy.js";
|
|
15
|
+
import { R as RadioGroupCard } from "./fieldConfigurations-BeWhtsCJ.js";
|
|
16
|
+
import { S as Spacer } from "./getName-C7JGSYPc.js";
|
|
17
|
+
import { a as useToastContext } from "./useToastContext-CoOrErAX.js";
|
|
18
|
+
import { E as EntityTypeRadioGroupCard } from "./OnboardingDropinComponent-Cfo00pTC.js";
|
|
19
|
+
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-D1mS3NB7.js";
|
|
20
20
|
const businessTypeExamples = /* @__PURE__ */ Object.assign({ "../localized/legalEntityTypeExamples/AT.json": () => import("./AT-EpV7jN58.js"), "../localized/legalEntityTypeExamples/AU.json": () => import("./AU-pBsEvEUy.js"), "../localized/legalEntityTypeExamples/BE.json": () => import("./BE-CU5o9cmc.js"), "../localized/legalEntityTypeExamples/BR.json": () => import("./BR-ORoHRwTk.js"), "../localized/legalEntityTypeExamples/CA.json": () => import("./CA-VXNq-m6m.js"), "../localized/legalEntityTypeExamples/CH.json": () => import("./CH-B_-afpD_.js"), "../localized/legalEntityTypeExamples/CZ.json": () => import("./CZ-CTw_bQIu.js"), "../localized/legalEntityTypeExamples/DE.json": () => import("./DE-D_jIDxOH.js"), "../localized/legalEntityTypeExamples/DK.json": () => import("./DK-dBzrfgpQ.js"), "../localized/legalEntityTypeExamples/ES.json": () => import("./ES-DYbZmFcJ.js"), "../localized/legalEntityTypeExamples/FI.json": () => import("./FI-C9nRvop7.js"), "../localized/legalEntityTypeExamples/FR.json": () => import("./FR-BycGQO4W.js"), "../localized/legalEntityTypeExamples/GB.json": () => import("./GB-DFyzo5sN.js"), "../localized/legalEntityTypeExamples/HK.json": () => import("./HK-WqZ5UBEF.js"), "../localized/legalEntityTypeExamples/HR.json": () => import("./HR-CRa19tH1.js"), "../localized/legalEntityTypeExamples/HU.json": () => import("./HU-D5NCweWf.js"), "../localized/legalEntityTypeExamples/IE.json": () => import("./IE-rhATS57q.js"), "../localized/legalEntityTypeExamples/IT.json": () => import("./IT-wD7dHdYD.js"), "../localized/legalEntityTypeExamples/LT.json": () => import("./LT-0F72uCyI.js"), "../localized/legalEntityTypeExamples/NL.json": () => import("./NL-q2U2l276.js"), "../localized/legalEntityTypeExamples/NO.json": () => import("./NO-CX12Zsf_.js"), "../localized/legalEntityTypeExamples/PL.json": () => import("./PL-CwCXF3Yu.js"), "../localized/legalEntityTypeExamples/PT.json": () => import("./PT-Dei5v1nD.js"), "../localized/legalEntityTypeExamples/RO.json": () => import("./RO-Dxk08mOu.js"), "../localized/legalEntityTypeExamples/SE.json": () => import("./SE-AP3gLiyy.js"), "../localized/legalEntityTypeExamples/SG.json": () => import("./SG-DMcOb17i.js"), "../localized/legalEntityTypeExamples/SI.json": () => import("./SI-BXe-yndm.js"), "../localized/legalEntityTypeExamples/SK.json": () => import("./SK-DwdgoGnD.js"), "../localized/legalEntityTypeExamples/US.json": () => import("./US-DHxLSqeC.js") });
|
|
21
21
|
const logger$1 = createLogger();
|
|
22
22
|
const getBusinessTypeExamplesForCountry = async (country) => {
|