@adyen/kyc-components 3.86.0 → 3.87.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-CfKATf4g.js → AcceptTermsOfServiceComponent-DbuTZ2lm.js} +16 -15
- package/dist/{Accordion-Dnp7WhUx.js → Accordion-BCelMUrf.js} +2 -2
- package/dist/{AccountSetupRejected-BSJJfRWV.js → AccountSetupRejected-Bs86BOhb.js} +5 -5
- package/dist/ActionBar-CVuUP-mY.js +31 -0
- package/dist/{Address-Bl_bd5Lp.js → Address-CaKnB-Qo.js} +20 -65
- package/dist/{Alert-B9R4X_XM.js → Alert-CzqTssej.js} +3 -3
- package/dist/{Avatar-DZ9JX3Cp.js → Avatar-cNQKhH0z.js} +2 -2
- package/dist/{BusinessDetailsMultiformDropin-BjGT2ZQS.js → BusinessDetailsMultiformDropin-gT_3bL0O.js} +168 -78
- package/dist/BusinessFinancingComponent-Cqz7nO9n.js +54 -0
- package/dist/{BusinessFinancingDropin-DGpBmbBn.js → BusinessFinancingDropin-hsJXX1Va.js} +23 -20
- package/dist/BusinessFinancingPage-CieDJbKg.js +46 -0
- package/dist/{BusinessTypeSelectionPage-BCe-2fB6.js → BusinessTypeSelectionPage-C19-xs5o.js} +9 -9
- package/dist/{Card-TkGAmjC5.js → Card-Cka2XXoj.js} +3 -3
- package/dist/{ConstitutionalDocument-CalFzHjn.js → ConstitutionalDocument-CHj8X6eV.js} +3 -3
- package/dist/{CountryField-mxgVAmFp.js → CountryField-B79la7c-.js} +57 -297
- package/dist/CreateIndividualComponent-CyfCWgeB.js +71 -0
- package/dist/CreateTransferInstrumentComponent-D_jnlFw3.js +66 -0
- package/dist/{Currency-DSYdE9Qs.js → Currency-DRUn9oxx.js} +5 -5
- package/dist/{CustomerSupport-DRLtpWUp.js → CustomerSupport-abRYvXsD.js} +10 -10
- package/dist/{DebugModal-BI1D0dD9.js → DebugModal-CAuPuyh6.js} +9 -10
- package/dist/{DecisionMakerDetailsPage-D3CS4w0h.js → DecisionMakerDetailsPage-Dc6W9XHr.js} +17 -17
- package/dist/{DecisionMakers-q__qndMm.js → DecisionMakers-CqAa7vi_.js} +52 -51
- package/dist/DropinLayout-CBP_cHLC.js +17 -0
- package/dist/{EmbeddedStatus-5OzDMQUR.js → EmbeddedStatus-CPowYGBw.js} +3 -3
- package/dist/{EndStateLayout-BmWri3S5.js → EndStateLayout-Cj472JTf.js} +2 -2
- package/dist/EntityAssociation-BSjw-KJ2.js +159 -0
- package/dist/EntityGuidanceStatus-CM6gQcz1.js +105 -0
- package/dist/{FormFlow-8pfRbKmA.js → FormFlow-m1k7xInJ.js} +16 -8
- package/dist/{FormNavigation-C2KywHXa.js → FormNavigation-9G1WKPrp.js} +5 -23
- package/dist/{FormWrapper-CZhSGUa3.js → FormWrapper-DzAkc4KF.js} +10 -10
- package/dist/{IndividualOnfido-n3WaW67J.js → IndividualOnfido-hThSjqMs.js} +128 -228
- package/dist/{IndividualOnfidoDropin-DZrlWtK6.js → IndividualOnfidoDropin--MwUJcV4.js} +50 -55
- package/dist/{InputText-BIySwrmu.js → InputText-DJn5nzG0.js} +95 -5
- package/dist/{Introduction-Bt9gH0G5.js → Introduction-CCY9D_nE.js} +4 -4
- package/dist/{JpAddress-bHP50zUD.js → JpAddress-yRO24Dme.js} +8 -8
- package/dist/{LegalRepresentativeDetailsPage-D4aN-DTv.js → LegalRepresentativeDetailsPage-V5u54a-v.js} +5 -5
- package/dist/{ListItem-CILPfTHI.js → ListItem-q98tz21u.js} +3 -3
- package/dist/{ManageIndividualComponent-CbiGSFJ_.js → ManageIndividualComponent-CTpMCTKm.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-rvk5MSmL.js → ManageTermsOfServiceComponent-2aq2OxaP.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-D2GUV6zp.js → ManageTransferInstrumentComponent-ChwwZS2D.js} +14 -14
- package/dist/{MaybeModal-CZ-qmMqV.js → MaybeModal-BI4OTKmk.js} +3 -3
- package/dist/{Modal-GSjDUwX-.js → Modal-C89D3p56.js} +3 -3
- package/dist/{OnboardingDropinComponent-BGpgGBrU.js → OnboardingDropinComponent-CVwgW17T.js} +444 -2353
- package/dist/{PayoutDetailsDropin-kdkNvTHM.js → PayoutDetailsDropin-BzqbUVzH.js} +666 -159
- package/dist/{Review-CN-S9UCT.js → Review-BjDT0xaU.js} +8 -8
- package/dist/{RootBusinessDetailsPage-CyQjjBhL.js → RootBusinessDetailsPage-nEpccfkc.js} +6 -6
- package/dist/{RootBusinessLinesPage-BhiDzu7x.js → RootBusinessLinesPage-CzUBQFT1.js} +120 -118
- package/dist/RootIndividualDetailsPage-DV1z-BQY.js +71 -0
- package/dist/{SignPCIComponent-o50WXRbZ.js → SignPCIComponent-C5e1Z52Y.js} +12 -12
- package/dist/{SingpassSelection-L1vBg267.js → SingpassSelection-D35jRIBN.js} +4 -4
- package/dist/{SoleProprietorshipPage-Cz21B5bv.js → SoleProprietorshipPage-nrrTlQSU.js} +5 -5
- package/dist/{SourceOfFundsPage-OPzX7pfM.js → SourceOfFundsPage-YkBw6Xpi.js} +26 -24
- package/dist/{StepProgressIndicator-C26xG3ak.js → StepProgressIndicator-Bc_wca9O.js} +2 -2
- package/dist/{StoreProvider-Cvqvt7fn.js → StoreProvider-_QQynxk0.js} +248 -241
- package/dist/Summary-jCIFPrTE.js +204 -0
- package/dist/{TaxReportingDropin-9nQHRCS4.js → TaxReportingDropin-BTeXoX9D.js} +16 -15
- package/dist/{TrustDetailsPage-Bx_Pm5Sl.js → TrustDetailsPage-_UPW7Y6f.js} +25 -23
- package/dist/{TrustMemberCompanyPage-BoxMy_a_.js → TrustMemberCompanyPage-BzlxQ7Kd.js} +6 -6
- package/dist/{TrustMemberIndividualPage-D6n7VhnN.js → TrustMemberIndividualPage-COgsefCp.js} +5 -5
- package/dist/TrustMemberRoleAndTypePage-CKL-7ZaB.js +985 -0
- package/dist/TrustMembersOverview-CVYKxSoD.js +438 -0
- package/dist/{UnincorporatedPartnershipIndividualPage-ZQG0A9HG.js → UnincorporatedPartnershipIndividualPage-DuLh_-Q4.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-D9n1kJdM.js → UnincorporatedPartnershipMemberCompanyPage-D7A-CuwC.js} +6 -6
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-BqYHGCCj.js +284 -0
- package/dist/UnincorporatedPartnershipMembersOverview-B2dSYLfZ.js +175 -0
- package/dist/{VerificationErrorAlert-D18WmRyf.js → VerificationErrorAlert-Bl4kwjzn.js} +4 -4
- package/dist/{ViewVerificationStatusComponent-Fc0L-JN4.js → ViewVerificationStatusComponent-DYdW0Gsi.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-BDf19z5H.js → debouncedInputEvent-BZv9kA9Q.js} +2 -2
- package/dist/{documentUtils-DahfSV2D.js → documentUtils-feD3RgJ6.js} +4 -3
- package/dist/{dropinUtils-DFscjCzE.js → dropinUtils-L0ggRI0e.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-BCj1wotL.js → fieldConfigurations-Bor1NtgA.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-C_5HXg3J.js → getFieldsWithExistingData-JYFQVAcY.js} +2 -2
- package/dist/{getName-B1o2b2LX.js → getName-DftHbR4I.js} +2 -2
- package/dist/{hasDataChanged-Bn31Z0Rf.js → hasDataChanged-DU3vtQG1.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-DtoLjCYK.js → iframeWidget-C8wyKuCq.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-4aQPK6sB.js → localizeDateString-BJbsiJ-b.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-lDnF81cv.js → mapExistingFile-lCDb_PhK.js} +3 -3
- package/dist/{mapFinancialReportsToFinancialInformation-5skum6Qk.js → mapFinancialReportsToFinancialInformation-CnMpcLxg.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-iYMAONXA.js → mapJpAddressSchemaToAddressLocalizations-DkpasBLv.js} +3 -3
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-CZ8Op1Il.js → mapLegalEntityToIndividualOnfidoSchema-MeTFyeE4.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-l-kGyc4S.js → mapTransferInstrumentToPayoutAccount-Bvh9p_HS.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-Dt6THVwE.js → process-field-configurations-C41JKZZ6.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-9sxvxhUS.js → resolveEnvironment-DalWYmHj.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-BjmEJdfD.js → rules-DFgTcf5L.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-BQTi6XU4.js → types-BG06cR9w.js} +2 -2
- package/dist/{types-Db4qB5S5.js → types-E18sv3fQ.js} +2 -2
- package/dist/types-nbahNdbR.js +34 -0
- package/dist/{useAssociatedLegalEntity-D9WaVhuE.js → useAssociatedLegalEntity-CDCwVlgp.js} +2 -2
- package/dist/useCreateLegalEntity-Dr1EtZC9.js +31 -0
- package/dist/{useDataset-CKGFlO8U.js → useDataset-BHoDL5D6.js} +30 -7
- package/dist/{trackNavigation-DYYVv6_y.js → useForm-SCWu19rh.js} +8 -36
- package/dist/useGlobalData-C2odacHA.js +68 -0
- package/dist/{useMultiForm-DfGnG4oT.js → useMultiForm-7AeF_Lma.js} +4 -4
- package/dist/{useOnboardingStatus-CIPOAtmO.js → useOnboardingStatus-D8ldbwoJ.js} +2 -2
- package/dist/{useScenarios-CpiyRA2D.js → useScenarios-CGvgBfO2.js} +2 -2
- package/dist/{useTermsOfServiceStatus-DYF8KAVC.js → useTermsOfServiceStatus-D7rXsMOk.js} +2 -2
- package/dist/{useToastContext-lvmkWAhW.js → useToastContext-BGkxz2AI.js} +17 -5
- package/dist/{useUnincorporatedPartnershipMembers-BVLE8Ovp.js → useUnincorporatedPartnershipMembers-CTtyjp6h.js} +7 -62
- package/dist/useUpdateBusinessLines-C4B4uUP4.js +46 -0
- package/dist/useUpdateLegalEntity-DPVG51Eo.js +39 -0
- package/dist/{utils-CgVxixWT.js → utils-R-gix6HO.js} +6 -6
- package/dist/{validate-g4LgLk_u.js → validate-B6JagCTI.js} +2 -2
- package/dist/{validate-DusGGHsF.js → validate-C0bVNNOM.js} +2 -2
- package/dist/{validationError-C0UYDiYL.js → validationError-BY8rwcKJ.js} +2 -2
- package/dist/warning-diamond-filled-BfXMlVrG.js +17 -0
- package/package.json +1 -1
- package/dist/BusinessFinancingComponent-C9ugIBel.js +0 -54
- package/dist/BusinessFinancingPage-zaSDXCpl.js +0 -46
- package/dist/CreateIndividualComponent-DS6uGwYF.js +0 -71
- package/dist/CreateTransferInstrumentComponent-CQ00ZVZa.js +0 -66
- package/dist/RootIndividualDetailsPage-BsagBZYZ.js +0 -80
- package/dist/TaskItemStatus-BAtPrryh.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,29 +2,20 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "06829c9e-f7f3-4b87-9936-353914a7c0d0", e._sentryDebugIdIdentifier = "sentry-dbid-06829c9e-f7f3-4b87-9936-353914a7c0d0");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import {
|
|
13
|
-
import { u as useTranslation,
|
|
12
|
+
import { useEffect, useState, useRef, useMemo, useCallback, useReducer } from "preact/hooks";
|
|
13
|
+
import { u as useTranslation, a0 as useAnalyticsContext, a3 as Icon, G as translateStringOrObject, L as Loader, a4 as noop, H as Typography, U as createLogger, X as isEmpty, $ as entriesOf, aU as doArraysMatch } from "./StoreProvider-_QQynxk0.js";
|
|
14
|
+
import { b as useId } from "./useToastContext-BGkxz2AI.js";
|
|
14
15
|
import { computed, signal, useSignal, useSignalEffect } from "@preact/signals";
|
|
15
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
16
|
-
import { C as Checkbox, a as debouncedInputEvent } from "./debouncedInputEvent-
|
|
16
|
+
import { K as KEYBOARD_KEYS } from "./Modal-C89D3p56.js";
|
|
17
|
+
import { C as Checkbox, a as debouncedInputEvent } from "./debouncedInputEvent-BZv9kA9Q.js";
|
|
17
18
|
const ARIA_ERROR_SUFFIX = "-ariaError";
|
|
18
|
-
function uuidv4() {
|
|
19
|
-
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
|
|
20
|
-
let r = Math.random() * 16 | 0, v = c == "x" ? r : r & 3 | 8;
|
|
21
|
-
return v.toString(16);
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
const useId = (prefix) => {
|
|
25
|
-
const [uuid] = useState(uuidv4());
|
|
26
|
-
return `${prefix}_${uuid}`;
|
|
27
|
-
};
|
|
28
19
|
const MaybeFieldset = ({
|
|
29
20
|
children,
|
|
30
21
|
className,
|
|
@@ -1621,31 +1612,12 @@ function useForm({
|
|
|
1621
1612
|
fieldProblems: state.fieldProblems
|
|
1622
1613
|
};
|
|
1623
1614
|
}
|
|
1624
|
-
const trackNavigation = ({
|
|
1625
|
-
userEvents,
|
|
1626
|
-
actionType,
|
|
1627
|
-
toForm,
|
|
1628
|
-
label,
|
|
1629
|
-
returnValue,
|
|
1630
|
-
additionalTrackingParams
|
|
1631
|
-
}) => {
|
|
1632
|
-
userEvents.addPageEvent("Clicked button", {
|
|
1633
|
-
actionType,
|
|
1634
|
-
toPage: toForm,
|
|
1635
|
-
label,
|
|
1636
|
-
returnValue,
|
|
1637
|
-
...additionalTrackingParams
|
|
1638
|
-
});
|
|
1639
|
-
};
|
|
1640
1615
|
export {
|
|
1641
1616
|
Field as F,
|
|
1642
1617
|
LoaderWrapper as L,
|
|
1643
1618
|
Select as S,
|
|
1644
1619
|
ValidationResult as V,
|
|
1645
|
-
|
|
1646
|
-
SelectListItem as b,
|
|
1647
|
-
useId as c,
|
|
1620
|
+
SelectListItem as a,
|
|
1648
1621
|
getDataByFields as g,
|
|
1649
|
-
|
|
1650
|
-
uuidv4 as u
|
|
1622
|
+
useForm as u
|
|
1651
1623
|
};
|
|
@@ -0,0 +1,68 @@
|
|
|
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] = "5249d96a-8dc8-451c-911c-61a8eded4641", e._sentryDebugIdIdentifier = "sentry-dbid-5249d96a-8dc8-451c-911c-61a8eded4641");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { useContext, useCallback, useMemo } from "preact/hooks";
|
|
11
|
+
import { d as debounce } from "./debouncedInputEvent-BZv9kA9Q.js";
|
|
12
|
+
import { ay as StateContext } from "./StoreProvider-_QQynxk0.js";
|
|
13
|
+
function useStateContext() {
|
|
14
|
+
const context = useContext(StateContext);
|
|
15
|
+
return context;
|
|
16
|
+
}
|
|
17
|
+
const ON_CHANGE_DEBOUNCE_DURATION = 200;
|
|
18
|
+
function useGlobalData() {
|
|
19
|
+
const { getData } = useStateContext();
|
|
20
|
+
return getData();
|
|
21
|
+
}
|
|
22
|
+
function useGlobalDataSlice(sliceId) {
|
|
23
|
+
const { dispatch, getData } = useStateContext();
|
|
24
|
+
const sliceData = getData()[sliceId];
|
|
25
|
+
const updateState = useCallback(
|
|
26
|
+
(updatedSlice) => dispatch({
|
|
27
|
+
type: "addToState",
|
|
28
|
+
value: {
|
|
29
|
+
...updatedSlice,
|
|
30
|
+
dataStoreId: sliceId
|
|
31
|
+
}
|
|
32
|
+
// TODO merge SFValue and StateSlice types
|
|
33
|
+
}),
|
|
34
|
+
[sliceId]
|
|
35
|
+
);
|
|
36
|
+
const clearState = useCallback(
|
|
37
|
+
() => dispatch({
|
|
38
|
+
type: "removeFromState",
|
|
39
|
+
value: { dataStoreId: sliceId }
|
|
40
|
+
}),
|
|
41
|
+
[sliceId]
|
|
42
|
+
);
|
|
43
|
+
const updateStateSlice = useMemo(
|
|
44
|
+
// can this debounce be useDebounce?
|
|
45
|
+
() => debounce(updateState, ON_CHANGE_DEBOUNCE_DURATION),
|
|
46
|
+
[updateState]
|
|
47
|
+
);
|
|
48
|
+
const clearStateSlice = useMemo(
|
|
49
|
+
() => debounce(clearState, ON_CHANGE_DEBOUNCE_DURATION),
|
|
50
|
+
[clearState]
|
|
51
|
+
);
|
|
52
|
+
return { sliceData, updateStateSlice, clearStateSlice };
|
|
53
|
+
}
|
|
54
|
+
function useResetGlobalData() {
|
|
55
|
+
const { dispatch } = useStateContext();
|
|
56
|
+
return useCallback(
|
|
57
|
+
() => dispatch({
|
|
58
|
+
type: "resetState"
|
|
59
|
+
}),
|
|
60
|
+
[dispatch]
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
export {
|
|
64
|
+
useGlobalData as a,
|
|
65
|
+
useStateContext as b,
|
|
66
|
+
useResetGlobalData as c,
|
|
67
|
+
useGlobalDataSlice as u
|
|
68
|
+
};
|
|
@@ -2,15 +2,15 @@
|
|
|
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] = "c503b14c-1610-4a70-b030-41a69e7b9b5d", e._sentryDebugIdIdentifier = "sentry-dbid-c503b14c-1610-4a70-b030-41a69e7b9b5d");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import {
|
|
12
|
-
import { V as ValidationResult } from "./
|
|
13
|
-
import {
|
|
11
|
+
import { aj as objectsDeepEqual, U as createLogger, X as isEmpty } from "./StoreProvider-_QQynxk0.js";
|
|
12
|
+
import { V as ValidationResult } from "./useForm-SCWu19rh.js";
|
|
13
|
+
import { e as isNotEmptyValidator } from "./CountryField-B79la7c-.js";
|
|
14
14
|
const omitKeys = (obj, omit) => Object.keys(obj).filter((k) => !omit.includes(k)).reduce((a, c) => {
|
|
15
15
|
a[c] = obj[c];
|
|
16
16
|
return a;
|
|
@@ -2,12 +2,12 @@
|
|
|
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] = "51603f5b-b582-43aa-aef3-1b694ee26a52", e._sentryDebugIdIdentifier = "sentry-dbid-51603f5b-b582-43aa-aef3-1b694ee26a52");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery,
|
|
10
|
+
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-_QQynxk0.js";
|
|
11
11
|
const getOnboardingStatus = async (legalEntityId, baseUrl) => {
|
|
12
12
|
return httpGet({
|
|
13
13
|
baseUrl,
|
|
@@ -2,12 +2,12 @@
|
|
|
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] = "7c40dac8-c820-4914-acdb-ee37d216a9b0", e._sentryDebugIdIdentifier = "sentry-dbid-7c40dac8-c820-4914-acdb-ee37d216a9b0");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery,
|
|
10
|
+
import { b as useApiContext, j as useQuery, $ as entriesOf, x as skipToken, al as Scenarios, m as httpGet } from "./StoreProvider-_QQynxk0.js";
|
|
11
11
|
const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
|
|
12
12
|
const scenarioParams = new URLSearchParams({
|
|
13
13
|
...countryCode && { countryCode },
|
|
@@ -2,12 +2,12 @@
|
|
|
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] = "38192ab5-90d6-42e3-89b4-dfe84a5d5642", e._sentryDebugIdIdentifier = "sentry-dbid-38192ab5-90d6-42e3-89b4-dfe84a5d5642");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery,
|
|
10
|
+
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-_QQynxk0.js";
|
|
11
11
|
const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
|
|
12
12
|
return httpGet({
|
|
13
13
|
baseUrl,
|
|
@@ -2,13 +2,13 @@
|
|
|
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] = "c0a091ab-3fd4-406f-8cb8-c5e3b41829d0", e._sentryDebugIdIdentifier = "sentry-dbid-c0a091ab-3fd4-406f-8cb8-c5e3b41829d0");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
11
|
-
import { useCallback, useContext } from "preact/hooks";
|
|
10
|
+
import { U as createLogger, a2 as useQueryClient, b as useApiContext, aV as ToastContext } from "./StoreProvider-_QQynxk0.js";
|
|
11
|
+
import { useCallback, useState, useContext } from "preact/hooks";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
|
|
14
14
|
"businessLines",
|
|
@@ -38,11 +38,23 @@ const useInvalidateRootLegalEntity = () => {
|
|
|
38
38
|
[rootLegalEntityId.value, queryClient]
|
|
39
39
|
);
|
|
40
40
|
};
|
|
41
|
+
function uuidv4() {
|
|
42
|
+
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
|
|
43
|
+
let r = Math.random() * 16 | 0, v = c == "x" ? r : r & 3 | 8;
|
|
44
|
+
return v.toString(16);
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
const useId = (prefix) => {
|
|
48
|
+
const [uuid] = useState(uuidv4());
|
|
49
|
+
return `${prefix}_${uuid}`;
|
|
50
|
+
};
|
|
41
51
|
function useToastContext() {
|
|
42
52
|
const context = useContext(ToastContext);
|
|
43
53
|
return context;
|
|
44
54
|
}
|
|
45
55
|
export {
|
|
46
|
-
|
|
47
|
-
|
|
56
|
+
useToastContext as a,
|
|
57
|
+
useId as b,
|
|
58
|
+
useInvalidateRootLegalEntity as c,
|
|
59
|
+
uuidv4 as u
|
|
48
60
|
};
|
|
@@ -2,67 +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] = "0c0a7e2b-e10b-41ad-9735-0b3a0c90c246", e._sentryDebugIdIdentifier = "sentry-dbid-0c0a7e2b-e10b-41ad-9735-0b3a0c90c246");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-B1o2b2LX.js";
|
|
16
|
-
function useStateContext() {
|
|
17
|
-
const context = useContext(StateContext);
|
|
18
|
-
return context;
|
|
19
|
-
}
|
|
20
|
-
const ON_CHANGE_DEBOUNCE_DURATION = 200;
|
|
21
|
-
function useGlobalData() {
|
|
22
|
-
const { getData } = useStateContext();
|
|
23
|
-
return getData();
|
|
24
|
-
}
|
|
25
|
-
function useGlobalDataSlice(sliceId) {
|
|
26
|
-
const { dispatch, getData } = useStateContext();
|
|
27
|
-
const sliceData = getData()[sliceId];
|
|
28
|
-
const updateState = useCallback(
|
|
29
|
-
(updatedSlice) => dispatch({
|
|
30
|
-
type: "addToState",
|
|
31
|
-
value: {
|
|
32
|
-
...updatedSlice,
|
|
33
|
-
dataStoreId: sliceId
|
|
34
|
-
}
|
|
35
|
-
// TODO merge SFValue and StateSlice types
|
|
36
|
-
}),
|
|
37
|
-
[sliceId]
|
|
38
|
-
);
|
|
39
|
-
const clearState = useCallback(
|
|
40
|
-
() => dispatch({
|
|
41
|
-
type: "removeFromState",
|
|
42
|
-
value: { dataStoreId: sliceId }
|
|
43
|
-
}),
|
|
44
|
-
[sliceId]
|
|
45
|
-
);
|
|
46
|
-
const updateStateSlice = useMemo(
|
|
47
|
-
// can this debounce be useDebounce?
|
|
48
|
-
() => debounce(updateState, ON_CHANGE_DEBOUNCE_DURATION),
|
|
49
|
-
[updateState]
|
|
50
|
-
);
|
|
51
|
-
const clearStateSlice = useMemo(
|
|
52
|
-
() => debounce(clearState, ON_CHANGE_DEBOUNCE_DURATION),
|
|
53
|
-
[clearState]
|
|
54
|
-
);
|
|
55
|
-
return { sliceData, updateStateSlice, clearStateSlice };
|
|
56
|
-
}
|
|
57
|
-
function useResetGlobalData() {
|
|
58
|
-
const { dispatch } = useStateContext();
|
|
59
|
-
return useCallback(
|
|
60
|
-
() => dispatch({
|
|
61
|
-
type: "resetState"
|
|
62
|
-
}),
|
|
63
|
-
[dispatch]
|
|
64
|
-
);
|
|
65
|
-
}
|
|
10
|
+
import { useMemo } from "preact/hooks";
|
|
11
|
+
import { t as LegalEntityTypes, af as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-_QQynxk0.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-CDCwVlgp.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-B79la7c-.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-DftHbR4I.js";
|
|
66
15
|
const getMemberOwnerId = (memberId, entityAssociations) => entityAssociations.find((association) => association.associatorId === memberId)?.legalEntityId;
|
|
67
16
|
const convertEntityAssociationIntoUnincorporatedPartnershipMember = (association) => {
|
|
68
17
|
if (association.entityType === LegalEntityTypes.INDIVIDUAL || association.entityType === LegalEntityTypes.ORGANIZATION)
|
|
@@ -145,10 +94,6 @@ function useUnincorporatedPartnershipMembers() {
|
|
|
145
94
|
}, [rootLegalEntity, unincorporatedPartnership]);
|
|
146
95
|
}
|
|
147
96
|
export {
|
|
148
|
-
useGlobalData as a,
|
|
149
|
-
useStateContext as b,
|
|
150
|
-
useUnincorporatedPartnershipMembers as c,
|
|
151
97
|
deleteUnincorporatedPartnershipMember as d,
|
|
152
|
-
|
|
153
|
-
useGlobalDataSlice as u
|
|
98
|
+
useUnincorporatedPartnershipMembers as u
|
|
154
99
|
};
|
|
@@ -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] = "59669db6-d987-4850-846a-9e2eab4d37c6", e._sentryDebugIdIdentifier = "sentry-dbid-59669db6-d987-4850-846a-9e2eab4d37c6");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { b as useApiContext, a1 as useMutation, k as httpPost } from "./StoreProvider-_QQynxk0.js";
|
|
11
|
+
const createBusinessLine = async (legalEntityId, baseUrl, data) => {
|
|
12
|
+
return httpPost(
|
|
13
|
+
{
|
|
14
|
+
baseUrl,
|
|
15
|
+
path: `legalEntities/${legalEntityId}/businessLines`
|
|
16
|
+
},
|
|
17
|
+
data
|
|
18
|
+
);
|
|
19
|
+
};
|
|
20
|
+
const useCreateBusinessLine = (options) => {
|
|
21
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
22
|
+
return useMutation({
|
|
23
|
+
mutationFn: (data) => createBusinessLine(rootLegalEntityId.value, baseUrl.value, data),
|
|
24
|
+
...options
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
const updateBusinessLine = async (legalEntityId, baseUrl, data) => {
|
|
28
|
+
return httpPost(
|
|
29
|
+
{
|
|
30
|
+
baseUrl,
|
|
31
|
+
path: `legalEntities/${legalEntityId}/businessLines/${data.id}`
|
|
32
|
+
},
|
|
33
|
+
data
|
|
34
|
+
);
|
|
35
|
+
};
|
|
36
|
+
const useUpdateBusinessLine = (options) => {
|
|
37
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
38
|
+
return useMutation({
|
|
39
|
+
mutationFn: (data) => updateBusinessLine(rootLegalEntityId.value, baseUrl.value, data),
|
|
40
|
+
...options
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
export {
|
|
44
|
+
useUpdateBusinessLine as a,
|
|
45
|
+
useCreateBusinessLine as u
|
|
46
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
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] = "50ec68fd-8e40-493d-b5eb-3b8143034795", e._sentryDebugIdIdentifier = "sentry-dbid-50ec68fd-8e40-493d-b5eb-3b8143034795");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { b as useApiContext, a2 as useQueryClient, a1 as useMutation, k as httpPost } from "./StoreProvider-_QQynxk0.js";
|
|
11
|
+
import { c as useInvalidateRootLegalEntity } from "./useToastContext-BGkxz2AI.js";
|
|
12
|
+
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
13
|
+
return httpPost(
|
|
14
|
+
{
|
|
15
|
+
baseUrl,
|
|
16
|
+
path: `legalEntities/${rootLegalEntityId}`
|
|
17
|
+
},
|
|
18
|
+
data
|
|
19
|
+
);
|
|
20
|
+
};
|
|
21
|
+
const useUpdateLegalEntity = (options) => {
|
|
22
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
23
|
+
const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
|
|
24
|
+
const queryClient = useQueryClient();
|
|
25
|
+
return useMutation({
|
|
26
|
+
mutationFn: (payload) => updateLegalEntity(rootLegalEntityId.value, baseUrl.value, payload),
|
|
27
|
+
onSuccess: async (response, payload) => {
|
|
28
|
+
if (response.id === rootLegalEntityId.value) {
|
|
29
|
+
await invalidateRootLegalEntity();
|
|
30
|
+
} else {
|
|
31
|
+
queryClient.setQueryData(["legalEntity", payload.id], response);
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
...options
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
export {
|
|
38
|
+
useUpdateLegalEntity as u
|
|
39
|
+
};
|
|
@@ -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] = "bdf6d4c4-d0e2-4129-aa9e-28ac27a5e678", e._sentryDebugIdIdentifier = "sentry-dbid-bdf6d4c4-d0e2-4129-aa9e-28ac27a5e678");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CompanyTypesValues } from "./IndividualOnfido-
|
|
11
|
-
import { g as getLegalEntityCountry,
|
|
12
|
-
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-
|
|
13
|
-
import { S as SOLE_PROP_COUNTRIES } from "./rules-
|
|
14
|
-
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
10
|
+
import { C as CompanyTypesValues } from "./IndividualOnfido-hThSjqMs.js";
|
|
11
|
+
import { g as getLegalEntityCountry, by as getCapabilities, t as LegalEntityTypes, J as hasOwnEntityAssociationOfType, C as CountryCodes } from "./StoreProvider-_QQynxk0.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-CVwgW17T.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./rules-DFgTcf5L.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-BG06cR9w.js";
|
|
15
15
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
16
16
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
17
17
|
CountryCodes.UnitedStates,
|
|
@@ -2,12 +2,12 @@
|
|
|
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] = "5e229f70-a255-4935-ab28-56010d3655ce", e._sentryDebugIdIdentifier = "sentry-dbid-5e229f70-a255-4935-ab28-56010d3655ce");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { aB as hasText } from "./StoreProvider-_QQynxk0.js";
|
|
11
11
|
const validateLegalEntityIdentifier = (legalEntityIdentifier) => {
|
|
12
12
|
if (!legalEntityIdentifier) {
|
|
13
13
|
return true;
|
|
@@ -2,13 +2,13 @@
|
|
|
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] = "4221a6eb-c026-4bab-b294-8ae4a57ed238", e._sentryDebugIdIdentifier = "sentry-dbid-4221a6eb-c026-4bab-b294-8ae4a57ed238");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback } from "preact/hooks";
|
|
11
|
-
import { b as useApiContext, k as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpPost } from "./StoreProvider-_QQynxk0.js";
|
|
12
12
|
import { e as emailPattern } from "./basePatterns-BwdnMQxI.js";
|
|
13
13
|
const validatePhoneNumber = (baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
@@ -2,12 +2,12 @@
|
|
|
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] = "ed801ae2-8b22-4db3-8b54-cdbbcfcbc7bb", e._sentryDebugIdIdentifier = "sentry-dbid-ed801ae2-8b22-4db3-8b54-cdbbcfcbc7bb");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { P as TaskTypes, bl as remediationPayoutApiKeyMapping, bm as remediationBusinessDetailsApiKeyMapping, bn as remediationIndividualApiKeyMapping } from "./StoreProvider-_QQynxk0.js";
|
|
11
11
|
import { a as assignToProp } from "./utils-DNSfZiio.js";
|
|
12
12
|
const isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
|
|
13
13
|
const overrideKeyMapping = {
|
|
@@ -0,0 +1,17 @@
|
|
|
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] = "05d8e92b-f8f0-477e-87ef-bf0c8dfcb258", e._sentryDebugIdIdentifier = "sentry-dbid-05d8e92b-f8f0-477e-87ef-bf0c8dfcb258");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { jsxs, jsx } from "preact/compat/jsx-runtime";
|
|
11
|
+
const SvgWarningDiamondFilled = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", role: "img", ...props, children: [
|
|
12
|
+
/* @__PURE__ */ jsx("g", { clipPath: "url(#uia-ui-assets/icons-16-warning_diamond_filled__a)", children: /* @__PURE__ */ jsx("path", { fill: "#001222", d: "M6.05517 0.883253C7.12912 -0.190581 8.87091 -0.190653 9.94482 0.883253L15.1138 6.0522C16.1871 7.12608 16.1872 8.86708 15.1138 9.94087L9.94482 15.1098C8.87089 16.1836 7.12909 16.1836 6.05517 15.1098L0.887199 9.94087C-0.186713 8.86696 -0.186653 7.12615 0.887199 6.0522L6.05517 0.883253ZM8.00048 10.0004C7.44819 10.0004 7.00048 10.4482 7.00048 11.0004C7.00072 11.5525 7.44834 12.0004 8.00048 12.0004C8.55242 12.0002 9.00024 11.5524 9.00048 11.0004C9.00048 10.4483 8.55257 10.0007 8.00048 10.0004ZM7.25048 4.25044V8.42036H8.75048V4.25044H7.25048Z" }) }),
|
|
13
|
+
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "uia-ui-assets/icons-16-warning_diamond_filled__a", children: /* @__PURE__ */ jsx("rect", { width: 16, height: 16, fill: "#fff" }) }) })
|
|
14
|
+
] });
|
|
15
|
+
export {
|
|
16
|
+
SvgWarningDiamondFilled as default
|
|
17
|
+
};
|
package/package.json
CHANGED
|
@@ -1,54 +0,0 @@
|
|
|
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] = "889cf297-09e4-44c1-9583-7ee114da2652", e._sentryDebugIdIdentifier = "sentry-dbid-889cf297-09e4-44c1-9583-7ee114da2652");
|
|
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-Cvqvt7fn.js";
|
|
11
|
-
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { useMemo } from "preact/hooks";
|
|
13
|
-
import { M as MaybeModal } from "./MaybeModal-CZ-qmMqV.js";
|
|
14
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-DGpBmbBn.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-BJo9yIYj.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-LGBI1w0Z.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-914Viqia.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BXKZNAA1.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-BnMw4HQ7.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-Cvqvt7fn.js").then((n) => n.bL), "../../../language/locales/es-ES.json": () => import("./es-ES-BWAlCq7R.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-D9SV0taO.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-C7GrKbXx.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-o45TzYMp.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-YG9hvMMj.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-DIurnBC3.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Cztl5jRY.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-DXkV1ta4.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BJTBEa5D.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-GI-ZDM0K.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-B6B4Z_tr.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-Dn1LUbDp.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-C1cP4Qpn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-DkzLiK7Y.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CoTUf3zo.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-_HSYnLLu.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-K03EHmJF.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-gM40Ay3W.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-Bnhsdw8c.js") }), `../../../language/locales/${i18n.language}.json`, 6) },
|
|
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-D5C7Gq2o.js"), "../../EFP/tasks/BusinessFinancingDropin/language/cs-CZ.json": () => import("./cs-CZ-C9FuJCsg.js"), "../../EFP/tasks/BusinessFinancingDropin/language/da-DK.json": () => import("./da-DK-BeSNTO9k.js"), "../../EFP/tasks/BusinessFinancingDropin/language/de-DE.json": () => import("./de-DE-Dp-2BAWQ.js"), "../../EFP/tasks/BusinessFinancingDropin/language/el-GR.json": () => import("./el-GR-5WvkRyW5.js"), "../../EFP/tasks/BusinessFinancingDropin/language/en-US.json": () => import("./en-US-CzEL6t1W.js"), "../../EFP/tasks/BusinessFinancingDropin/language/es-ES.json": () => import("./es-ES-C9oDOVSQ.js"), "../../EFP/tasks/BusinessFinancingDropin/language/et-EE.json": () => import("./et-EE-B1KmQWmI.js"), "../../EFP/tasks/BusinessFinancingDropin/language/fi-FI.json": () => import("./fi-FI-DV1etLPT.js"), "../../EFP/tasks/BusinessFinancingDropin/language/fr-FR.json": () => import("./fr-FR-DZICoAHV.js"), "../../EFP/tasks/BusinessFinancingDropin/language/hr-HR.json": () => import("./hr-HR-D9bzCN_d.js"), "../../EFP/tasks/BusinessFinancingDropin/language/hu-HU.json": () => import("./hu-HU-C5p7RWWD.js"), "../../EFP/tasks/BusinessFinancingDropin/language/it-IT.json": () => import("./it-IT-mYyg3XGz.js"), "../../EFP/tasks/BusinessFinancingDropin/language/ja-JP.json": () => import("./ja-JP-BSYrPZsE.js"), "../../EFP/tasks/BusinessFinancingDropin/language/lt-LT.json": () => import("./lt-LT-i-T_HQ42.js"), "../../EFP/tasks/BusinessFinancingDropin/language/lv-LV.json": () => import("./lv-LV-BtX12dHJ.js"), "../../EFP/tasks/BusinessFinancingDropin/language/nl-NL.json": () => import("./nl-NL-PUQGh3Rp.js"), "../../EFP/tasks/BusinessFinancingDropin/language/no-NO.json": () => import("./no-NO-kPnbGnBM.js"), "../../EFP/tasks/BusinessFinancingDropin/language/pl-PL.json": () => import("./pl-PL-C-MmQaeR.js"), "../../EFP/tasks/BusinessFinancingDropin/language/pt-BR.json": () => import("./pt-BR-Dw0UZ-Od.js"), "../../EFP/tasks/BusinessFinancingDropin/language/pt-PT.json": () => import("./pt-PT-DfVjLaAU.js"), "../../EFP/tasks/BusinessFinancingDropin/language/ro-RO.json": () => import("./ro-RO-ECJHARCT.js"), "../../EFP/tasks/BusinessFinancingDropin/language/sk-SK.json": () => import("./sk-SK-rSmwmSCa.js"), "../../EFP/tasks/BusinessFinancingDropin/language/sl-SI.json": () => import("./sl-SI-CedEO3kf.js"), "../../EFP/tasks/BusinessFinancingDropin/language/sv-SE.json": () => import("./sv-SE-BYUoi-08.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
|
-
};
|