@adyen/kyc-components 4.3.0 → 4.4.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-OMNQzzlt.js → AcceptTermsOfServiceComponent-BNYCiHcM.js} +15 -15
- package/dist/{AccountSetupRejected-BmELqasB.js → AccountSetupRejected-CjBJD3co.js} +2 -2
- package/dist/{ActionBar-CYYTQnyt.js → ActionBar-CNo6TTyu.js} +2 -2
- package/dist/{Address-BuvEwdEz.js → Address-Diyf6D1h.js} +17 -18
- package/dist/{Avatar-6Ijr-U98.js → Avatar-Brfu-Afq.js} +2 -2
- package/dist/{BusinessFinancingComponent-C_dvZWrV.js → BusinessFinancingComponent-CFjqKEuN.js} +6 -6
- package/dist/{BusinessFinancingDropin-CqBXTRew.js → BusinessFinancingDropin-CTIycsy1.js} +30 -30
- package/dist/BusinessFinancingPage-CgjmgSnX.js +43 -0
- package/dist/{BusinessTypeSelectionPage-0ykcbLXM.js → BusinessTypeSelectionPage-B06fk_Rg.js} +9 -9
- package/dist/{Checkbox-CEt2JNWg.js → Checkbox-DNfOluUb.js} +2 -2
- package/dist/{Confirm-tO8eG5lI.js → Confirm-DCXKUVXM.js} +3 -3
- package/dist/{ConstitutionalDocument-BNQrCuoP.js → ConstitutionalDocument-Coj5aMaC.js} +18 -18
- package/dist/{ContactDetails-wRdhpEXl.js → ContactDetails-tXeN2x-X.js} +6 -6
- package/dist/{ContextGuidance-D-wkN66k.js → ContextGuidance-BGYRTngC.js} +2 -2
- package/dist/{CountryField-BfpNTqr6.js → CountryField-pShtGZpv.js} +4 -4
- package/dist/CreateIndividualComponent-abEc0kLX.js +65 -0
- package/dist/{CreateTransferInstrumentComponent-C94kteP5.js → CreateTransferInstrumentComponent-Cg8q2lzu.js} +5 -5
- package/dist/{Currency-CIvge00Z.js → Currency-3KfPJJfd.js} +10 -10
- package/dist/{CustomerSupport-Cn0cURdF.js → CustomerSupport-dXIEfG6m.js} +10 -10
- package/dist/{DebugModal-CPJQfotk.js → DebugModal-xFsjUBKk.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-HY7FMT3F.js → DecisionMakerDetailsPage-BdZAgdo_.js} +8 -8
- package/dist/{DecisionMakers-C9Y6zR4s.js → DecisionMakers-efKmwEH6.js} +21 -22
- package/dist/{Dropzone-B87ivHUX.js → Dropzone-BtwqJU5w.js} +4 -4
- package/dist/{EmbeddedStatus-Qp66N9js.js → EmbeddedStatus-Di3lXGXA.js} +3 -3
- package/dist/{EndStateLayout-BcYjyuoi.js → EndStateLayout-C63kFcwB.js} +2 -2
- package/dist/{EntityAssociation-NEf45gFy.js → EntityAssociation-Cz6ly5Qe.js} +5 -5
- package/dist/{EntityGuidanceStatus-BSe0LbpA.js → EntityGuidanceStatus-BGC_I-s6.js} +4 -4
- package/dist/{ErrorPanel-0defccwj.js → ErrorPanel-Bsb874-e.js} +2 -2
- package/dist/{Field-CS5lBNi-.js → Field-nIoNNk_N.js} +2 -2
- package/dist/{FormNavigation-Ds6Zo4kr.js → FormNavigation-9E9YQaln.js} +3 -3
- package/dist/{FormWrapper-CM27JHcm.js → FormWrapper-HYumfmvK.js} +9 -9
- package/dist/{Individual.rules-BKCZ5pw4.js → Individual.rules-DJfPeca6.js} +10 -7
- package/dist/{IndividualDropin-BEfS_NNT.js → IndividualDropin-FCdKMguU.js} +180 -167
- package/dist/{InputDate-DbPcPUic.js → InputDate-BAWkxli9.js} +2 -2
- package/dist/{InputText-CQMxEarX.js → InputText-DCNTJXjB.js} +2 -2
- package/dist/{Introduction-_K-ioq4w.js → Introduction-zRpWy7HO.js} +4 -4
- package/dist/{JpAddress-8qsY8wnP.js → JpAddress-B8_YLYu7.js} +10 -11
- package/dist/{LandingLayout-Bx0c6vHb.js → LandingLayout-BkwhYMd1.js} +2 -2
- package/dist/{LegalCompanyNameField-BD6Te5c5.js → LegalCompanyNameField-Br-bRib5.js} +6 -6
- package/dist/LegalRepresentativeDetailsPage-DsfDlsBE.js +55 -0
- package/dist/{Link-deXxlSsM.js → Link-B5DpLekJ.js} +2 -2
- package/dist/{ListItem-Dtx0lKaK.js → ListItem-C9ET58aa.js} +3 -3
- package/dist/{LoaderWrapper-Dg9BXOfN.js → LoaderWrapper-BrMjOh8d.js} +2 -2
- package/dist/ManageIndividualComponent-DNe0RWZb.js +46 -0
- package/dist/{ManageTermsOfServiceComponent-rpvf07UO.js → ManageTermsOfServiceComponent-Dca8Fs-a.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-D_10bdI3.js → ManageTransferInstrumentComponent-EZgfMS-6.js} +12 -13
- package/dist/{MaskedInput-DX9qywO6.js → MaskedInput-BcdqJYu3.js} +5 -5
- package/dist/{MaybeModal-B6Y-CUwt.js → MaybeModal-BndZ-_x7.js} +3 -3
- package/dist/{Modal-CyGRv-gZ.js → Modal-DFCycX68.js} +2 -2
- package/dist/{Name-DB6DpTUy.js → Name-TIfffXgJ.js} +5 -5
- package/dist/{OnboardingDropinComponent-ByCzepLz.js → OnboardingDropinComponent-CvE6pJKz.js} +793 -107
- package/dist/{PayoutDetailsDropin-CHKMEoSE.js → PayoutDetailsDropin-fP0XOKYY.js} +64 -168
- package/dist/PayoutDetailsPage-Bg4jqe0M.js +55 -0
- package/dist/{RadioGroup-Bmyz_UGC.js → RadioGroup-sThBOoyi.js} +2 -2
- package/dist/{RadioGroupCard-DfDec_J3.js → RadioGroupCard-C6sxs8KI.js} +2 -2
- package/dist/{Review-BfeBbmqL.js → Review-EZfLF4rz.js} +6 -6
- package/dist/{RootBusinessDetailsPage-CtRd9HPs.js → RootBusinessDetailsPage-DpdikJPd.js} +5 -5
- package/dist/{RootBusinessLinesPage-Btnsj8r_.js → RootBusinessLinesPage-C-sZv7m1.js} +24 -27
- package/dist/RootIndividualDetailsPage-BY5WbcpR.js +61 -0
- package/dist/{Select-w8VBNvQR.js → Select-C90SXgWt.js} +4 -4
- package/dist/{SignPCIComponent-CA5Ao7_u.js → SignPCIComponent-BM4bM5lG.js} +11 -11
- package/dist/{SingpassSelection-DOUOHu-z.js → SingpassSelection-Bf4TJmNp.js} +6 -6
- package/dist/{SoleProprietorshipPage-4OFUvq_A.js → SoleProprietorshipPage-DuR8s39H.js} +4 -4
- package/dist/{SourceOfFundsPage-B2L2vYO7.js → SourceOfFundsPage-B-4L7Rbi.js} +36 -40
- package/dist/{StepProgressIndicator-BBjfKoHH.js → StepProgressIndicator-DwIkNQ98.js} +2 -2
- package/dist/{StoreProvider-DFR6yFy8.js → StoreProvider-OuIcrYXq.js} +222 -209
- package/dist/{StructuredList-Bh1vlAFE.js → StructuredList-CNha20ka.js} +1 -1
- package/dist/{Summary-SxfPLeM9.js → Summary-BdZCrtmA.js} +11 -9
- package/dist/{TaxInformationField-pIOj5IIN.js → TaxInformationField-CLotsTdy.js} +22 -22
- package/dist/{TaxReportingDropin-BzB8nYXE.js → TaxReportingDropin-CCjRFYko.js} +15 -15
- package/dist/{TextArea-I88bxkOh.js → TextArea-DggFRd6A.js} +2 -2
- package/dist/{TileGroup-PHV4JXvH.js → TileGroup-Chn8t1lL.js} +3 -3
- package/dist/{TrustDetailsPage-Dr6YIRGG.js → TrustDetailsPage-C61KvX6f.js} +33 -33
- package/dist/{TrustMemberCompanyPage-CfUxQni4.js → TrustMemberCompanyPage-CqiLrrtT.js} +6 -6
- package/dist/TrustMemberIndividualPage-DOOv3UCM.js +64 -0
- package/dist/{TrustMemberRoleAndTypePage-BdBKpEha.js → TrustMemberRoleAndTypePage-Cil5oL0H.js} +22 -23
- package/dist/{TrustMembersOverview-Ynu4zahR.js → TrustMembersOverview-5PfCpnLZ.js} +11 -11
- package/dist/UnincorporatedPartnershipIndividualPage-Imr8r98E.js +63 -0
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BFZ7GGpo.js → UnincorporatedPartnershipMemberCompanyPage-DVn8X5ZA.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-6C67QTtR.js → UnincorporatedPartnershipMemberRoleAndTypePage-D1ZiUnfd.js} +15 -15
- package/dist/{UnincorporatedPartnershipMembersOverview-BkAc4tTI.js → UnincorporatedPartnershipMembersOverview-B3hUsoDk.js} +8 -8
- package/dist/{VerificationErrorAlert-CyE2-4NI.js → VerificationErrorAlert-C-FdjLP6.js} +23 -3
- package/dist/{ViewVerificationStatusComponent-0IyRvr_W.js → ViewVerificationStatusComponent-BrH14DRo.js} +3 -3
- 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-invited-decision-maker.js +8 -8
- package/dist/adyen-kyc-components.js +15 -16
- 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/{bafinUtils-BABg2zgB.js → bafinUtils-IYWLuHfZ.js} +14 -2
- package/dist/bg-BG-CRbKoTLs.js +13 -0
- package/dist/{bg-BG-C6kad3Qr.js → bg-BG-Cj3_UGTi.js} +10 -1
- package/dist/{bg-BG-er0t4jTs.js → bg-BG-Cz7Cuw8v.js} +3 -1
- package/dist/bg-BG-DqRXdvRT.js +13 -0
- package/dist/{commonValidators-BcyFMdFA.js → commonValidators-Bv3KYb4e.js} +2 -2
- package/dist/{cs-CZ-CQNBae2b.js → cs-CZ-BlrV3tkx.js} +3 -1
- package/dist/cs-CZ-CmPmY5GZ.js +13 -0
- package/dist/cs-CZ-DR5Pfj3g.js +13 -0
- package/dist/{cs-CZ-C_GFp3nV.js → cs-CZ-DxfB5dcV.js} +10 -1
- package/dist/{da-DK-C60mLiV1.js → da-DK-BfsYpvel.js} +10 -1
- package/dist/da-DK-CG2NcTvu.js +13 -0
- package/dist/{da-DK-gnPgzwrG.js → da-DK-CM1onr3w.js} +3 -1
- package/dist/{da-DK-Cd5IQPv3.js → da-DK-CMVthpSr.js} +2 -2
- package/dist/da-DK-DaINWU5x.js +13 -0
- package/dist/{de-DE-C9NH2zMh.js → de-DE-B5TOuf7l.js} +2 -2
- package/dist/{de-DE-D3lLuF8z.js → de-DE-CA4mYLwp.js} +3 -1
- package/dist/{de-DE-Cvz1TGdB.js → de-DE-CEsDXBn-.js} +10 -1
- package/dist/de-DE-KqZs1FFF.js +13 -0
- package/dist/de-DE-NMS4xBab.js +13 -0
- package/dist/{dropinUtils-Ds8fesIK.js → dropinUtils-BIMKuwjT.js} +4 -4
- package/dist/{el-GR-DTHQslLc.js → el-GR-BNNlN4l2.js} +2 -2
- package/dist/el-GR-Bn45KMp-.js +13 -0
- package/dist/{el-GR-DSlgFwLb.js → el-GR-CM3bIzr7.js} +10 -1
- package/dist/{el-GR-XRux2Wpv.js → el-GR-D6XimdV5.js} +3 -1
- package/dist/el-GR-DWM1mhuZ.js +13 -0
- package/dist/{en-US-h0JneJJl.js → en-US--1W760fR.js} +2 -2
- package/dist/en-US-CEnwRsyr.js +13 -0
- package/dist/{en-US-B96dpVon.js → en-US-fDACdKtT.js} +3 -1
- package/dist/{en-US.instructions-Ddr7AO05.js → en-US.instructions-CfIM2SRF.js} +1 -2
- package/dist/{es-ES-CXDJLKAI.js → es-ES-BBcx4tvi.js} +3 -1
- package/dist/{es-ES-Dj5-YMmZ.js → es-ES-BWFP5itn.js} +10 -1
- package/dist/es-ES-BWe46jej.js +13 -0
- package/dist/es-ES-DzGJ9DrB.js +13 -0
- package/dist/{es-ES-DK-7qtDf.js → es-ES-Wcpc6fm1.js} +2 -2
- package/dist/{et-EE--cL_YqWe.js → et-EE-B_Wk8564.js} +3 -1
- package/dist/{et-EE-Bij5j-z5.js → et-EE-CcXrAAc7.js} +10 -1
- package/dist/et-EE-CylmXBkF.js +13 -0
- package/dist/et-EE-JKt5dMOQ.js +13 -0
- package/dist/{fi-FI-fArobrt5.js → fi-FI-BKu826v5.js} +3 -1
- package/dist/{fi-FI-B2xHiSHi.js → fi-FI-DenK0WPz.js} +10 -1
- package/dist/fi-FI-larJ5zXy.js +13 -0
- package/dist/fi-FI-n9XAQuIy.js +13 -0
- package/dist/{formUtils-Ctj-XQBQ.js → formUtils-BFUZHoQZ.js} +3 -3
- package/dist/{fr-FR-CNQtWSXx.js → fr-FR-BmTswZU5.js} +10 -1
- package/dist/{fr-FR-CiwkAb3E.js → fr-FR-C7iSS-OS.js} +3 -1
- package/dist/fr-FR-DVqpakkq.js +13 -0
- package/dist/{fr-FR-B2je0smB.js → fr-FR-DodNoPid.js} +2 -2
- package/dist/fr-FR-iD1onxpA.js +13 -0
- package/dist/{getName-VMVSrxGw.js → getName-B38W_qUJ.js} +2 -2
- package/dist/{getProblemsForEntity-B2aPSiz5.js → getProblemsForEntity-1vXQVg7Q.js} +2 -2
- package/dist/hr-HR-C-Hn5lAD.js +13 -0
- package/dist/hr-HR-CAqaI1xJ.js +13 -0
- package/dist/{hr-HR-B6U5Rzzw.js → hr-HR-SDrDZRLV.js} +10 -1
- package/dist/{hr-HR-DtfHQVe0.js → hr-HR-g88yM2q1.js} +3 -1
- package/dist/{hu-HU-I4-KFzvz.js → hu-HU-ByRdd0O_.js} +3 -1
- package/dist/{hu-HU-DU-5ujQK.js → hu-HU-C3ZiFh1F.js} +2 -2
- package/dist/hu-HU-CRpdELm_.js +13 -0
- package/dist/{hu-HU-BLLoj5CX.js → hu-HU-DSVf2zbX.js} +10 -1
- package/dist/hu-HU-DynB7VhD.js +13 -0
- package/dist/{iframeWidget-CJ4GOEBG.js → iframeWidget-CjQFGMKX.js} +4 -4
- package/dist/{isEmpty-BNrK3WJw.js → isEmpty-CsJihz8_.js} +2 -2
- package/dist/{it-IT-DIbH-udG.js → it-IT-CUrn0j1I.js} +3 -1
- package/dist/{it-IT-Dhwa9Ecj.js → it-IT-CZ4aDoVQ.js} +2 -2
- package/dist/{it-IT-Cr20JO4o.js → it-IT-DJe5OflH.js} +10 -1
- package/dist/it-IT-DkiyBNl6.js +13 -0
- package/dist/it-IT-M7AqGzBo.js +13 -0
- package/dist/ja-JP-B0Ox3Ixh.js +13 -0
- package/dist/ja-JP-BcGZdMJa.js +13 -0
- package/dist/{ja-JP-BZb5ndp9.js → ja-JP-BpeNsNhn.js} +2 -2
- package/dist/{ja-JP-CaUe8KW7.js → ja-JP-CbP1sVFP.js} +3 -1
- package/dist/{ja-JP-BeeuQ_LL.js → ja-JP-GGV_-V6p.js} +10 -1
- package/dist/{japanSupportUtils-B1kmKF7K.js → japanSupportUtils-Cr3OSFeT.js} +2 -2
- package/dist/{localizeDateString-DUFhW5fN.js → localizeDateString-aLVQhrrE.js} +2 -2
- package/dist/{lt-LT-0WbfHH_o.js → lt-LT-C9nsCODy.js} +10 -1
- package/dist/{lt-LT-BLsIcCtE.js → lt-LT-CNTNKNlX.js} +3 -1
- package/dist/lt-LT-DWs-lYAv.js +13 -0
- package/dist/lt-LT-SQmafLDX.js +13 -0
- package/dist/lv-LV-B5Os0zqy.js +13 -0
- package/dist/{lv-LV-BZN4-Xat.js → lv-LV-BdPdaVGy.js} +2 -2
- package/dist/{lv-LV-BuuUUumH.js → lv-LV-Bue450PR.js} +10 -1
- package/dist/lv-LV-CdCU8ZaR.js +13 -0
- package/dist/{lv-LV-C7hMdPcY.js → lv-LV-N81Dgdm3.js} +3 -1
- package/dist/{mapExistingFile-BU4Lq435.js → mapExistingFile-CqGVkBAW.js} +4 -4
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BLzSTlhK.js → mapJpAddressSchemaToAddressLocalizations-BDUUUodD.js} +2 -2
- package/dist/{mapLegalEntityToIndividualSchema-DHieAjhC.js → mapLegalEntityToIndividualSchema-CTNNZ_f2.js} +7 -7
- package/dist/{mapTransferInstrumentToPayoutAccount-CBruJcGL.js → mapTransferInstrumentToPayoutAccount-DC5rCBeC.js} +2 -2
- package/dist/{nl-NL-KsfqCp2v.js → nl-NL-4Mv4rnYy.js} +10 -1
- package/dist/{nl-NL-B0fvINJj.js → nl-NL-B2Uku0lw.js} +2 -2
- package/dist/nl-NL-BVRcJEzp.js +13 -0
- package/dist/nl-NL-D7k3hkBl.js +13 -0
- package/dist/{nl-NL-NlkjOSYi.js → nl-NL-Lo8OF_nj.js} +3 -1
- package/dist/{no-NO-Crlsj6HG.js → no-NO-6chPsZZE.js} +3 -1
- package/dist/{no-NO-BdG6WnpB.js → no-NO-ByCZ3mhz.js} +10 -1
- package/dist/no-NO-DOOgOJr1.js +13 -0
- package/dist/{no-NO-Jw7Gae-a.js → no-NO-DjOcJWnC.js} +2 -2
- package/dist/no-NO-DlnsfTwn.js +13 -0
- package/dist/{patternValidators-hk7OKIOW.js → patternValidators-re9oGFvp.js} +2 -2
- package/dist/pl-PL-B-V8iF6C.js +13 -0
- package/dist/pl-PL-Bvnak7w3.js +13 -0
- package/dist/{pl-PL-DYxD6VJ_.js → pl-PL-CbJSQVfe.js} +3 -1
- package/dist/{pl-PL-DW9eaUml.js → pl-PL-DCi5Lf4k.js} +10 -1
- package/dist/{process-field-configurations-CSUAI1_s.js → process-field-configurations-BLwIIYnH.js} +3 -3
- package/dist/{pt-BR-BaTE6BB_.js → pt-BR-BKdT0Bpl.js} +2 -2
- package/dist/pt-BR-BZkPZ0kK.js +13 -0
- package/dist/pt-BR-Bq41lr7C.js +13 -0
- package/dist/{pt-BR-BfxgHKY4.js → pt-BR-DRBFUW-X.js} +3 -1
- package/dist/{pt-BR-BdfWE-a1.js → pt-BR-DRz5cG4o.js} +10 -1
- package/dist/{pt-PT-TKg5FLat.js → pt-PT-BMOUpVLE.js} +3 -1
- package/dist/{pt-PT-c0ap84_F.js → pt-PT-C2li07N1.js} +2 -2
- package/dist/{pt-PT-ej54BPbB.js → pt-PT-ChRbnn0k.js} +10 -1
- package/dist/pt-PT-D-EPzKV-.js +13 -0
- package/dist/pt-PT-DkfqmPrD.js +13 -0
- package/dist/{resolveEnvironment-Dz4WVUeH.js → resolveEnvironment-CfoOtzJq.js} +3 -3
- package/dist/ro-RO-BEVRugNx.js +13 -0
- package/dist/{ro-RO-3rOfS17N.js → ro-RO-BJoL_nyS.js} +3 -1
- package/dist/{ro-RO-1ZFmLikG.js → ro-RO-Dgie5z3m.js} +10 -1
- package/dist/ro-RO-Dt2gs44k.js +13 -0
- package/dist/{ro-RO-BPOHV6Wp.js → ro-RO-iPjOeKwM.js} +2 -2
- package/dist/{roleMetadata-CCCowA5b.js → roleMetadata-DYV3rdBn.js} +3 -3
- package/dist/sk-SK-B6LcEArz.js +13 -0
- package/dist/sk-SK-Bh7WfMNd.js +13 -0
- package/dist/{sk-SK-CjrLvDMx.js → sk-SK-DxdxUonp.js} +3 -1
- package/dist/{sk-SK-Dm-pif_7.js → sk-SK-bMDoNP19.js} +10 -1
- package/dist/sl-SI-CxGdSydw.js +13 -0
- package/dist/{sl-SI-HO7231cu.js → sl-SI-DKSu25rO.js} +10 -1
- package/dist/sl-SI-DNbu8KiE.js +13 -0
- package/dist/{sl-SI-C-C-KJCX.js → sl-SI-UFngWs5n.js} +3 -1
- package/dist/style.css +80 -79
- package/dist/styles-CLV89_hH.js +80 -79
- package/dist/{sv-SE-D_Efxy3s.js → sv-SE-Blw4s8bC.js} +2 -2
- package/dist/sv-SE-CgB54Aa4.js +13 -0
- package/dist/{sv-SE-BcJ8p_Tx.js → sv-SE-Co7Nkd06.js} +10 -1
- package/dist/{sv-SE-BHfydid5.js → sv-SE-Cr0s35EH.js} +3 -1
- package/dist/sv-SE-DgMcRRS8.js +13 -0
- package/dist/{isNewEntity-7Vw_eQBr.js → trusted-fields-provider-BgfIoSNJ.js} +6 -3
- package/dist/types/api/invitedEntity/useInvitedEntityAssociationData.d.ts +7 -5
- package/dist/types/api/queryKeys.d.ts +2 -1
- package/dist/types/api/toggles/useToggles.d.ts +9 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -0
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +0 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +6 -6
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +153 -153
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/validate.d.ts +3 -3
- package/dist/types/components/Individual/forms/DataConflictsModal/ConflictRow.d.ts +2 -2
- package/dist/types/components/Individual/forms/DataConflictsModal/DataConflictsModal.d.ts +6 -6
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +2 -2
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/validate.d.ts +4 -4
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +2 -2
- package/dist/types/components/ui/atoms/Icon/Icon.d.ts +1 -1
- package/dist/types/components/ui/atoms/Svg/Svg.d.ts +1 -4
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +0 -4
- package/dist/types/context/ExperimentContext/ExperimentsContextProvider.d.ts +1 -1
- package/dist/types/context/ExperimentContext/types.d.ts +4 -5
- package/dist/types/language/utils.d.ts +1 -1
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/{types-BxMBuuEz.js → types-C-ztKw54.js} +2 -2
- package/dist/{types-D1PsvtzF.js → types-DP1DvIeR.js} +5 -6
- package/dist/{types-CYkhUYV6.js → types-g6JPEyyN.js} +2 -2
- package/dist/{types-DU69aeMN.js → types-uVH7U0h2.js} +2 -2
- package/dist/{Image-kVLn7Cb2.js → unincorporated-partnership-Hoe7PA91.js} +8 -7
- package/dist/{useAssociatedLegalEntity-BORPRBzY.js → useAssociatedLegalEntity-ucvdLTGT.js} +2 -2
- package/dist/{useBusinessDetailsData-SFopK4ma.js → useBusinessDetailsData-CxXKyGeU.js} +68 -57
- package/dist/{useCreateLegalEntity-DC4AmtL1.js → useCreateLegalEntity-Bk61sk7s.js} +2 -2
- package/dist/{useForm-B64f0N0r.js → useForm-DQH4mGUZ.js} +3 -3
- package/dist/{useFormContext-B08W9NV0.js → useFormContext-ZCKflTK_.js} +7 -7
- package/dist/{useGlobalData-CAfs9dkH.js → useGlobalData-Byz86Dwm.js} +2 -2
- package/dist/{useMultiForm-BwoKhXUz.js → useMultiForm-h2cXm0Wp.js} +4 -4
- package/dist/{useOnboardingStatus-DgaMwRGt.js → useOnboardingStatus-CrRySsUj.js} +1 -1
- package/dist/{useScenarios-DfdvyKrI.js → useScenarios-DZTIxRUa.js} +2 -2
- package/dist/{useTermsOfServiceStatus-BlBedFIs.js → useTermsOfServiceStatus-D7U4ZvId.js} +1 -1
- package/dist/{useToastContext-D7Wu9TN_.js → useToastContext-B6kjomhG.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-CRs95EuP.js → useUnincorporatedPartnershipMembers-DFI414tD.js} +5 -5
- package/dist/{useUpdateBusinessLines-B6YZCqOX.js → useUpdateBusinessLines-DwvzXYBi.js} +4 -4
- package/dist/{useUpdateLegalEntity-B1R9qggb.js → useUpdateLegalEntity-C6sJWLoQ.js} +3 -3
- package/dist/{utils-CPRZoX7V.js → utils-B4lHukc_.js} +6 -6
- package/dist/{utils-Drnia92l.js → utils-B_vtlCcH.js} +5 -19
- package/dist/{utils-DTUxA3nO.js → utils-Dc5iJioT.js} +2 -2
- package/dist/{utils-BUyOscpp.js → utils-DppirtL5.js} +2 -2
- package/dist/{utils-CnulHkMn.js → utils-b2XySOaT.js} +2 -2
- package/dist/{validate-DlUk1wzH.js → validate-Bb8eQLcr.js} +2 -2
- package/dist/{validate-DLxn3LIK.js → validate-QeOupYto.js} +3 -3
- package/dist/{validationError-CcsgWg6J.js → validationError-YeKQde9b.js} +2 -2
- package/package.json +6 -6
- package/dist/BusinessFinancingPage-CJXuD19C.js +0 -43
- package/dist/CreateIndividualComponent-BXI_yAXJ.js +0 -65
- package/dist/LegalRepresentativeDetailsPage-C3QWHa7T.js +0 -55
- package/dist/ManageIndividualComponent-DvmShxf5.js +0 -46
- package/dist/RootIndividualDetailsPage-8nUlp7YZ.js +0 -62
- package/dist/TrustMemberIndividualPage-DG9KUe02.js +0 -64
- package/dist/UnincorporatedPartnershipIndividualPage-DKMj8Dwh.js +0 -63
- package/dist/accountHolderUtils-yQ8liitv.js +0 -66
- package/dist/bg-BG-BNRJzjXu.js +0 -13
- package/dist/bg-BG-DAqp35Dx.js +0 -13
- package/dist/company-types-value-D_mKv5PT.js +0 -23
- package/dist/cs-CZ-BMnoWiIi.js +0 -13
- package/dist/cs-CZ-Ke47w0bj.js +0 -13
- package/dist/da-DK-Cx4-hLO1.js +0 -13
- package/dist/da-DK-D17SWJin.js +0 -13
- package/dist/de-DE-CL8D8vKZ.js +0 -13
- package/dist/de-DE-DC90bn2y.js +0 -13
- package/dist/el-GR-B2xt_Hn1.js +0 -13
- package/dist/el-GR-Dvv3-Qib.js +0 -13
- package/dist/en-US-CfIkXJPX.js +0 -13
- package/dist/es-ES-CzG-lilL.js +0 -13
- package/dist/es-ES-Vn4AcK9-.js +0 -13
- package/dist/et-EE-B7OzU-54.js +0 -13
- package/dist/et-EE-BeZJ4Ub1.js +0 -13
- package/dist/fi-FI-CWIaV6Iz.js +0 -13
- package/dist/fi-FI-DooPgPb1.js +0 -13
- package/dist/filterProblemsByTaskForms-Cz7iQtms.js +0 -30
- package/dist/fr-FR-29mQrnro.js +0 -13
- package/dist/fr-FR-CCb4Oux7.js +0 -13
- package/dist/getTrustedFields-C5-mXl-l.js +0 -64
- package/dist/hr-HR-BAI0N9bo.js +0 -13
- package/dist/hr-HR-BFu1_Xrc.js +0 -13
- package/dist/hu-HU-BpNDP1I8.js +0 -13
- package/dist/hu-HU-nf030gFT.js +0 -13
- package/dist/it-IT-BRO0Hf5X.js +0 -13
- package/dist/it-IT-CToDWXlu.js +0 -13
- package/dist/ja-JP-B3Y0VVpN.js +0 -152
- package/dist/ja-JP-BkAEknQ-.js +0 -13
- package/dist/lt-LT-DpszrZ9m.js +0 -13
- package/dist/lt-LT-DxzEdyVV.js +0 -13
- package/dist/lv-LV-B3IqVQos.js +0 -13
- package/dist/lv-LV-D-j-4Dao.js +0 -13
- package/dist/nl-NL-C8CEGqAc.js +0 -13
- package/dist/nl-NL-CnvvqAEg.js +0 -13
- package/dist/no-NO-CIKbQbKT.js +0 -13
- package/dist/no-NO-DbVtqyON.js +0 -13
- package/dist/pl-PL-Bxtudsvi.js +0 -13
- package/dist/pl-PL-CTOkaDMG.js +0 -13
- package/dist/pt-BR-CL4JYBNe.js +0 -13
- package/dist/pt-BR-CLUsrQAl.js +0 -13
- package/dist/pt-PT-BLRgiqFj.js +0 -13
- package/dist/pt-PT-C-OZtnUM.js +0 -13
- package/dist/ro-RO-BeA_YyJ8.js +0 -13
- package/dist/ro-RO-Dq1NTg-A.js +0 -13
- package/dist/sk-SK-CMvUjDgW.js +0 -13
- package/dist/sk-SK-Og9MJXpR.js +0 -13
- package/dist/sl-SI-BslBqaxO.js +0 -13
- package/dist/sl-SI-CoI7iOco.js +0 -13
- package/dist/sv-SE-ChoPzG_G.js +0 -13
- package/dist/sv-SE-Dm_WHV9V.js +0 -13
- package/dist/unincorporated-partnership-D8XzcFAz.js +0 -17
- package/dist/useBusinessLines-ewWROXYV.js +0 -29
- package/dist/useCanSeeIntroduction-BbjNCK9Z.js +0 -48
- package/dist/useDataMissingRemediations-CjxCe3yc.js +0 -41
- package/dist/useDeleteTransferInstrument-HN2BLhyP.js +0 -32
- package/dist/useNavigate-BXyVMJUH.js +0 -265
- package/dist/usePciQuestionnaireList--rMXF8VL.js +0 -29
- package/dist/useSalesChannels-CGESLvW6.js +0 -65
- package/dist/useTaskStatus-CBWvTwlZ.js +0 -51
- package/dist/useTrustMembers-GEABHhkr.js +0 -163
|
@@ -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] = "b6505578-ff05-4514-b0b7-e85d20a6981e", e._sentryDebugIdIdentifier = "sentry-dbid-b6505578-ff05-4514-b0b7-e85d20a6981e");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext,
|
|
11
|
+
import { b as useApiContext, h as httpPost } from "./StoreProvider-OuIcrYXq.js";
|
|
12
12
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
|
@@ -2,14 +2,14 @@
|
|
|
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] = "fc8033e2-4931-47ab-a631-e2b0ce3a8c49", e._sentryDebugIdIdentifier = "sentry-dbid-fc8033e2-4931-47ab-a631-e2b0ce3a8c49");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import {
|
|
12
|
-
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-
|
|
11
|
+
import { m as createLogger, ax as isEmpty, b2 as doArraysMatch } from "./StoreProvider-OuIcrYXq.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-b2XySOaT.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
const useAsyncValidator = (asyncRules) => {
|
|
15
15
|
const [asyncValidationResults, setAsyncValidationResults] = useState({});
|
|
@@ -2,7 +2,7 @@
|
|
|
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] = "2e39a492-5664-42bc-9144-9b6b9994cdc2", e._sentryDebugIdIdentifier = "sentry-dbid-2e39a492-5664-42bc-9144-9b6b9994cdc2");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState, useContext } from "preact/hooks";
|
|
12
12
|
import cx from "classnames";
|
|
13
|
-
import {
|
|
14
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
15
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
13
|
+
import { z as useAnalyticsContext, u as useTranslation, W as Button } from "./StoreProvider-OuIcrYXq.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-BrMjOh8d.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-BndZ-_x7.js";
|
|
16
16
|
import { P as ProgressBar } from "./ProgressBar-B7gTQncy.js";
|
|
17
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
18
|
-
import { C as Confirm } from "./Confirm-
|
|
19
|
-
import { S as Summary } from "./Summary-
|
|
17
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-BIMKuwjT.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-DCXKUVXM.js";
|
|
19
|
+
import { S as Summary } from "./Summary-BdZCrtmA.js";
|
|
20
20
|
import { createContext } from "preact";
|
|
21
21
|
const FormContext = createContext(null);
|
|
22
22
|
function FormContextProvider({
|
|
@@ -2,14 +2,14 @@
|
|
|
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] = "7fbf55e0-77fc-4a79-9af8-6e27aeb8f44b", e._sentryDebugIdIdentifier = "sentry-dbid-7fbf55e0-77fc-4a79-9af8-6e27aeb8f44b");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useContext, useCallback, useMemo } from "preact/hooks";
|
|
11
11
|
import { a as debounce } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
12
|
-
import {
|
|
12
|
+
import { bp as StateContext } from "./StoreProvider-OuIcrYXq.js";
|
|
13
13
|
function useStateContext() {
|
|
14
14
|
const context = useContext(StateContext);
|
|
15
15
|
return context;
|
|
@@ -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] = "d274d1a3-6bdd-429b-9033-ae5b17c7569a", e._sentryDebugIdIdentifier = "sentry-dbid-d274d1a3-6bdd-429b-9033-ae5b17c7569a");
|
|
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 "./utils-
|
|
13
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
11
|
+
import { ah as objectsDeepEqual, m as createLogger, ax as isEmpty } from "./StoreProvider-OuIcrYXq.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-b2XySOaT.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-Bv3KYb4e.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;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, j as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpGet } from "./StoreProvider-OuIcrYXq.js";
|
|
12
12
|
const getOnboardingStatus = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
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] = "c879acf2-b57c-4e93-8d74-a8dd54e042e7", e._sentryDebugIdIdentifier = "sentry-dbid-c879acf2-b57c-4e93-8d74-a8dd54e042e7");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery, skipToken } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext,
|
|
11
|
+
import { b as useApiContext, ao as entriesOf, at as Scenarios, j as httpGet } from "./StoreProvider-OuIcrYXq.js";
|
|
12
12
|
const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
|
|
13
13
|
const scenarioParams = new URLSearchParams({
|
|
14
14
|
countryCode,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, j as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpGet } from "./StoreProvider-OuIcrYXq.js";
|
|
12
12
|
const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
baseUrl,
|
|
@@ -2,14 +2,14 @@
|
|
|
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] = "cf4ba8a0-3840-4e89-a652-c1724ba6376d", e._sentryDebugIdIdentifier = "sentry-dbid-cf4ba8a0-3840-4e89-a652-c1724ba6376d");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQueryClient } from "@tanstack/preact-query";
|
|
11
11
|
import { useCallback, useContext } from "preact/hooks";
|
|
12
|
-
import {
|
|
12
|
+
import { m as createLogger, b as useApiContext, au as ToastContext } from "./StoreProvider-OuIcrYXq.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
|
|
15
15
|
"businessLines",
|
|
@@ -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] = "63b5e6c4-4521-4fb5-a1fd-7aa3a00e4d9d", e._sentryDebugIdIdentifier = "sentry-dbid-63b5e6c4-4521-4fb5-a1fd-7aa3a00e4d9d");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { L as LegalEntityTypes,
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
13
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-
|
|
14
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
11
|
+
import { L as LegalEntityTypes, ad as getOwnEntityAssociations, R as useLegalEntity, U as ROOT_LE } from "./StoreProvider-OuIcrYXq.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-ucvdLTGT.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-Hoe7PA91.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-B38W_qUJ.js";
|
|
15
15
|
const getMemberOwnerId = (memberId, entityAssociations) => entityAssociations.find((association) => association.associatorId === memberId)?.legalEntityId;
|
|
16
16
|
const convertEntityAssociationIntoUnincorporatedPartnershipMember = (association) => {
|
|
17
17
|
if (association.entityType === LegalEntityTypes.INDIVIDUAL || association.entityType === LegalEntityTypes.ORGANIZATION)
|
|
@@ -2,18 +2,18 @@
|
|
|
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] = "2920efc7-0636-4979-b161-1411fcc785c1", e._sentryDebugIdIdentifier = "sentry-dbid-2920efc7-0636-4979-b161-1411fcc785c1");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery, useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, j as httpGet,
|
|
11
|
+
import { b as useApiContext, j as httpGet, ax as isEmpty, u as useTranslation, J as useExperimentsContext, C as IconButton, h as httpPost } from "./StoreProvider-OuIcrYXq.js";
|
|
12
12
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
13
13
|
import { useRef, useMemo, useState, useEffect } from "preact/hooks";
|
|
14
|
-
import { F as Field } from "./Field-
|
|
14
|
+
import { F as Field } from "./Field-nIoNNk_N.js";
|
|
15
15
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
16
|
-
import { S as Select } from "./Select-
|
|
16
|
+
import { S as Select } from "./Select-C90SXgWt.js";
|
|
17
17
|
import { signal } from "@preact/signals";
|
|
18
18
|
const fetchIndustryCodes = async (legalEntityId, baseUrl, businessLineTypes2, locale) => {
|
|
19
19
|
const results = await Promise.all(
|
|
@@ -2,14 +2,14 @@
|
|
|
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] = "ef816c67-7b50-4f1e-93c1-d4f6afd2ccf3", e._sentryDebugIdIdentifier = "sentry-dbid-ef816c67-7b50-4f1e-93c1-d4f6afd2ccf3");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQueryClient, useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
12
|
-
import { b as useApiContext,
|
|
11
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-B6kjomhG.js";
|
|
12
|
+
import { b as useApiContext, h as httpPost } from "./StoreProvider-OuIcrYXq.js";
|
|
13
13
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
15
15
|
{
|
|
@@ -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] = "044f895d-7f9c-4887-b62a-26d62de5184d", e._sentryDebugIdIdentifier = "sentry-dbid-044f895d-7f9c-4887-b62a-26d62de5184d");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CompanyTypesValues } from "./
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-
|
|
14
|
-
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
10
|
+
import { C as CompanyTypesValues } from "./bafinUtils-IYWLuHfZ.js";
|
|
11
|
+
import { a9 as getLegalEntityCountry, bC as getCapabilities, L as LegalEntityTypes, r as hasOwnEntityAssociationOfType, aa as CountryCodes } from "./StoreProvider-OuIcrYXq.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-CvE6pJKz.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-DJfPeca6.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-uVH7U0h2.js";
|
|
15
15
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
16
16
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
17
17
|
CountryCodes.UnitedStates,
|
|
@@ -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] = "743f4150-84b1-4d53-8c7c-10cdbc8fc429", e._sentryDebugIdIdentifier = "sentry-dbid-743f4150-84b1-4d53-8c7c-10cdbc8fc429");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { L as LegalEntityTypes,
|
|
11
|
+
import { L as LegalEntityTypes, O as Typography } from "./StoreProvider-OuIcrYXq.js";
|
|
12
12
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
13
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
13
|
+
import { l as localizeDateString } from "./localizeDateString-aLVQhrrE.js";
|
|
14
14
|
const formatCurrency = (amount, currency, locale) => {
|
|
15
15
|
const { format } = new Intl.NumberFormat(
|
|
16
16
|
locale,
|
|
@@ -60,26 +60,12 @@ const getAdditionalDataSchemaKeys = (sourceOfFundsType, originatorType) => {
|
|
|
60
60
|
return ["amount", "description"];
|
|
61
61
|
case "donations":
|
|
62
62
|
return getSchemaForOriginator(
|
|
63
|
-
[
|
|
64
|
-
"dateOfFundsReceived",
|
|
65
|
-
"purpose",
|
|
66
|
-
"relationship",
|
|
67
|
-
"originatorLegalEntityId",
|
|
68
|
-
"country",
|
|
69
|
-
"originatorType"
|
|
70
|
-
],
|
|
63
|
+
["dateOfFundsReceived", "purpose", "relationship", "country", "originatorType"],
|
|
71
64
|
originatorType
|
|
72
65
|
);
|
|
73
66
|
case "inheritance":
|
|
74
67
|
return getSchemaForOriginator(
|
|
75
|
-
[
|
|
76
|
-
"dateOfFundsReceived",
|
|
77
|
-
"amount",
|
|
78
|
-
"relationship",
|
|
79
|
-
"originatorLegalEntityId",
|
|
80
|
-
"country",
|
|
81
|
-
"originatorType"
|
|
82
|
-
],
|
|
68
|
+
["dateOfFundsReceived", "amount", "relationship", "country", "originatorType"],
|
|
83
69
|
originatorType
|
|
84
70
|
);
|
|
85
71
|
case "thirdPartyFunding":
|
|
@@ -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] = "56e345e2-187c-4bcb-ae4c-12a48538b336", e._sentryDebugIdIdentifier = "sentry-dbid-56e345e2-187c-4bcb-ae4c-12a48538b336");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
11
|
-
import {
|
|
11
|
+
import { aa as CountryCodes } from "./StoreProvider-OuIcrYXq.js";
|
|
12
12
|
const addressFields = [
|
|
13
13
|
"address",
|
|
14
14
|
"otherAddressInformation",
|
|
@@ -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] = "db2daf20-a277-4c8d-a9b4-fca3fb064ecf", e._sentryDebugIdIdentifier = "sentry-dbid-db2daf20-a277-4c8d-a9b4-fca3fb064ecf");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { aa as CountryCodes } from "./StoreProvider-OuIcrYXq.js";
|
|
11
11
|
function getLocalizedIdDocumentTypeOptions(country) {
|
|
12
12
|
switch (country) {
|
|
13
13
|
case CountryCodes.Japan:
|
|
@@ -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] = "65352cab-03f3-495a-8309-b440bf96e4f9", e._sentryDebugIdIdentifier = "sentry-dbid-65352cab-03f3-495a-8309-b440bf96e4f9");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { ao as entriesOf } from "./StoreProvider-OuIcrYXq.js";
|
|
11
11
|
class ValidationResult {
|
|
12
12
|
validationResults;
|
|
13
13
|
constructor(results) {
|
|
@@ -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] = "97465e0b-2937-4e75-8c61-a5a4e12d7b95", e._sentryDebugIdIdentifier = "sentry-dbid-97465e0b-2937-4e75-8c61-a5a4e12d7b95");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { aK as hasText } from "./StoreProvider-OuIcrYXq.js";
|
|
11
11
|
const validateLegalEntityIdentifier = (legalEntityIdentifier) => {
|
|
12
12
|
if (!legalEntityIdentifier) {
|
|
13
13
|
return true;
|
|
@@ -2,14 +2,14 @@
|
|
|
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] = "6a5be49f-d207-444a-8e48-a86b9d928fa8", e._sentryDebugIdIdentifier = "sentry-dbid-6a5be49f-d207-444a-8e48-a86b9d928fa8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import "@tanstack/preact-query";
|
|
11
|
-
import {
|
|
12
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
11
|
+
import { h as httpPost, ar as httpDelete, j as httpGet, m as createLogger, bp as StateContext, u as useTranslation, z as useAnalyticsContext, B as Icon, O as Typography, V as Loader, C as IconButton } from "./StoreProvider-OuIcrYXq.js";
|
|
12
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-DppirtL5.js";
|
|
13
13
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
14
14
|
import cx from "classnames";
|
|
15
15
|
import { useEffect } from "preact/hooks";
|
|
@@ -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] = "071341ce-1bc7-45cd-a539-6a2bb5624b27", e._sentryDebugIdIdentifier = "sentry-dbid-071341ce-1bc7-45cd-a539-6a2bb5624b27");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { y as TaskTypes, ba as remediationPayoutApiKeyMapping, bb as remediationBusinessDetailsApiKeyMapping, bc as remediationIndividualApiKeyMapping } from "./StoreProvider-OuIcrYXq.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 = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adyen/kyc-components",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0-beta.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"adyen",
|
|
6
6
|
"adyen-kyc",
|
|
@@ -128,7 +128,6 @@
|
|
|
128
128
|
"@vitest/browser-playwright": "4.0.10",
|
|
129
129
|
"@vitest/coverage-v8": "4.0.10",
|
|
130
130
|
"@vitest/ui": "4.0.10",
|
|
131
|
-
"axios": "^1.13.6",
|
|
132
131
|
"chalk": "^5.6.2",
|
|
133
132
|
"concurrently": "^9.2.1",
|
|
134
133
|
"cross-env": "^7.0.3",
|
|
@@ -136,18 +135,19 @@
|
|
|
136
135
|
"dotenv": "^17.3.1",
|
|
137
136
|
"eslint": "^9.39.4",
|
|
138
137
|
"eslint-config-prettier": "^10.1.8",
|
|
139
|
-
"eslint-import-resolver-typescript": "^
|
|
138
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
139
|
+
"eslint-plugin-boundaries": "6.0.2",
|
|
140
140
|
"eslint-plugin-check-file": "^3.3.1",
|
|
141
141
|
"eslint-plugin-import": "^2.32.0",
|
|
142
142
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
143
143
|
"eslint-plugin-paths": "^1.1.0",
|
|
144
144
|
"eslint-plugin-prettier": "^5.5.5",
|
|
145
145
|
"eslint-plugin-react": "^7.37.5",
|
|
146
|
-
"eslint-plugin-react-hooks": "^
|
|
147
|
-
"eslint-plugin-react-you-might-not-need-an-effect": "^0.
|
|
146
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
147
|
+
"eslint-plugin-react-you-might-not-need-an-effect": "^0.9.2",
|
|
148
148
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
149
149
|
"eslint-plugin-testing-library": "^7.16.0",
|
|
150
|
-
"eslint-plugin-unicorn": "^
|
|
150
|
+
"eslint-plugin-unicorn": "^63.0.0",
|
|
151
151
|
"happy-dom": "^20.8.3",
|
|
152
152
|
"inquirer": "^12.11.1",
|
|
153
153
|
"jsonc-eslint-parser": "^2.4.2",
|
|
@@ -1,43 +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] = "325a8f6e-f9fa-40a4-9efd-dcf67c088511", e._sentryDebugIdIdentifier = "sentry-dbid-325a8f6e-f9fa-40a4-9efd-dcf67c088511");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { u as useTranslation, C as useLegalEntity, a as addResourceBundles, G as Loader, a4 as getLegalEntityCountry, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DFR6yFy8.js";
|
|
11
|
-
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-CqBXTRew.js";
|
|
13
|
-
const BusinessFinancingPage = ({
|
|
14
|
-
onSubmit,
|
|
15
|
-
handleHomeClick
|
|
16
|
-
}) => {
|
|
17
|
-
const { i18n } = useTranslation();
|
|
18
|
-
const { t: commonT } = useTranslation("common");
|
|
19
|
-
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
20
|
-
addResourceBundles(i18n, [
|
|
21
|
-
{
|
|
22
|
-
ns: "businessFinancing",
|
|
23
|
-
importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../tasks/BusinessFinancingDropin/language/bg-BG.json": () => import("./bg-BG-C6kad3Qr.js"), "../tasks/BusinessFinancingDropin/language/cs-CZ.json": () => import("./cs-CZ-C_GFp3nV.js"), "../tasks/BusinessFinancingDropin/language/da-DK.json": () => import("./da-DK-C60mLiV1.js"), "../tasks/BusinessFinancingDropin/language/de-DE.json": () => import("./de-DE-Cvz1TGdB.js"), "../tasks/BusinessFinancingDropin/language/el-GR.json": () => import("./el-GR-DSlgFwLb.js"), "../tasks/BusinessFinancingDropin/language/en-US.json": () => import("./en-US-BtFr9JRa.js"), "../tasks/BusinessFinancingDropin/language/es-ES.json": () => import("./es-ES-Dj5-YMmZ.js"), "../tasks/BusinessFinancingDropin/language/et-EE.json": () => import("./et-EE-Bij5j-z5.js"), "../tasks/BusinessFinancingDropin/language/fi-FI.json": () => import("./fi-FI-B2xHiSHi.js"), "../tasks/BusinessFinancingDropin/language/fr-FR.json": () => import("./fr-FR-CNQtWSXx.js"), "../tasks/BusinessFinancingDropin/language/hr-HR.json": () => import("./hr-HR-B6U5Rzzw.js"), "../tasks/BusinessFinancingDropin/language/hu-HU.json": () => import("./hu-HU-BLLoj5CX.js"), "../tasks/BusinessFinancingDropin/language/it-IT.json": () => import("./it-IT-Cr20JO4o.js"), "../tasks/BusinessFinancingDropin/language/ja-JP.json": () => import("./ja-JP-BeeuQ_LL.js"), "../tasks/BusinessFinancingDropin/language/lt-LT.json": () => import("./lt-LT-0WbfHH_o.js"), "../tasks/BusinessFinancingDropin/language/lv-LV.json": () => import("./lv-LV-BuuUUumH.js"), "../tasks/BusinessFinancingDropin/language/nl-NL.json": () => import("./nl-NL-KsfqCp2v.js"), "../tasks/BusinessFinancingDropin/language/no-NO.json": () => import("./no-NO-BdG6WnpB.js"), "../tasks/BusinessFinancingDropin/language/pl-PL.json": () => import("./pl-PL-DW9eaUml.js"), "../tasks/BusinessFinancingDropin/language/pt-BR.json": () => import("./pt-BR-BdfWE-a1.js"), "../tasks/BusinessFinancingDropin/language/pt-PT.json": () => import("./pt-PT-ej54BPbB.js"), "../tasks/BusinessFinancingDropin/language/ro-RO.json": () => import("./ro-RO-1ZFmLikG.js"), "../tasks/BusinessFinancingDropin/language/sk-SK.json": () => import("./sk-SK-Dm-pif_7.js"), "../tasks/BusinessFinancingDropin/language/sl-SI.json": () => import("./sl-SI-HO7231cu.js"), "../tasks/BusinessFinancingDropin/language/sv-SE.json": () => import("./sv-SE-BcJ8p_Tx.js") }), `../tasks/BusinessFinancingDropin/language/${lang}.json`, 5)
|
|
24
|
-
},
|
|
25
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-BNRJzjXu.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-BMnoWiIi.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-D17SWJin.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-DC90bn2y.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-B2xt_Hn1.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-DFR6yFy8.js").then((n) => n.bT), "../../../language/locales/es-ES.json": () => import("./es-ES-CzG-lilL.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-B7OzU-54.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-DooPgPb1.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-29mQrnro.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-BFu1_Xrc.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-nf030gFT.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CToDWXlu.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-BkAEknQ-.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-DxzEdyVV.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-D-j-4Dao.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-C8CEGqAc.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-DbVtqyON.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-Bxtudsvi.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-CL4JYBNe.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-C-OZtnUM.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Dq1NTg-A.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CMvUjDgW.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BslBqaxO.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-Dm_WHV9V.js") }), `../../../language/locales/${lang}.json`, 6) }
|
|
26
|
-
]);
|
|
27
|
-
if (!rootLe) {
|
|
28
|
-
return /* @__PURE__ */ jsx(Loader, {});
|
|
29
|
-
}
|
|
30
|
-
return /* @__PURE__ */ jsx(
|
|
31
|
-
BusinessFinancingDropin,
|
|
32
|
-
{
|
|
33
|
-
country: getLegalEntityCountry(rootLe),
|
|
34
|
-
rootLegalEntity: rootLe,
|
|
35
|
-
externalOnSubmit: onSubmit,
|
|
36
|
-
handleHomeClick,
|
|
37
|
-
externalOnSubmitLabel: commonT(($) => $["backToTaskList"])
|
|
38
|
-
}
|
|
39
|
-
);
|
|
40
|
-
};
|
|
41
|
-
export {
|
|
42
|
-
BusinessFinancingPage
|
|
43
|
-
};
|
|
@@ -1,65 +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] = "6643695f-a2fe-43d3-9611-8a04dd93c2f3", e._sentryDebugIdIdentifier = "sentry-dbid-6643695f-a2fe-43d3-9611-8a04dd93c2f3");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { C as useLegalEntity, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, G as Loader, a4 as getLegalEntityCountry, ad as EntityTypes, h as TaskTypes } from "./StoreProvider-DFR6yFy8.js";
|
|
11
|
-
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-B2aPSiz5.js";
|
|
13
|
-
import { I as IndividualDropin } from "./IndividualDropin-BEfS_NNT.js";
|
|
14
|
-
const CreateIndividualComponent = ({
|
|
15
|
-
legalEntityId,
|
|
16
|
-
onSubmitSuccess,
|
|
17
|
-
modalView = false,
|
|
18
|
-
onClose,
|
|
19
|
-
onUnmount
|
|
20
|
-
}) => {
|
|
21
|
-
if (!legalEntityId) {
|
|
22
|
-
throw new Error("Must provide a legalEntityId");
|
|
23
|
-
}
|
|
24
|
-
const { data: individualLe } = useLegalEntity(legalEntityId);
|
|
25
|
-
const capabilityProblems = useCapabilityProblems();
|
|
26
|
-
const { i18n } = useTranslation();
|
|
27
|
-
addResourceBundles(i18n, [
|
|
28
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-BNRJzjXu.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-BMnoWiIi.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-D17SWJin.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-DC90bn2y.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-B2xt_Hn1.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-DFR6yFy8.js").then((n) => n.bT), "../../../language/locales/es-ES.json": () => import("./es-ES-CzG-lilL.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-B7OzU-54.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-DooPgPb1.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-29mQrnro.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-BFu1_Xrc.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-nf030gFT.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CToDWXlu.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-BkAEknQ-.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-DxzEdyVV.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-D-j-4Dao.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-C8CEGqAc.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-DbVtqyON.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-Bxtudsvi.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-CL4JYBNe.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-C-OZtnUM.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Dq1NTg-A.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CMvUjDgW.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BslBqaxO.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-Dm_WHV9V.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
29
|
-
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-CjjPhkB5.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
30
|
-
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Individual/language/bg-BG.json": () => import("./bg-BG-DAqp35Dx.js"), "../../Individual/language/cs-CZ.json": () => import("./cs-CZ-Ke47w0bj.js"), "../../Individual/language/da-DK.json": () => import("./da-DK-Cx4-hLO1.js"), "../../Individual/language/de-DE.json": () => import("./de-DE-CL8D8vKZ.js"), "../../Individual/language/el-GR.json": () => import("./el-GR-Dvv3-Qib.js"), "../../Individual/language/en-US.json": () => import("./en-US-CfIkXJPX.js"), "../../Individual/language/es-ES.json": () => import("./es-ES-Vn4AcK9-.js"), "../../Individual/language/et-EE.json": () => import("./et-EE-BeZJ4Ub1.js"), "../../Individual/language/fi-FI.json": () => import("./fi-FI-CWIaV6Iz.js"), "../../Individual/language/fr-FR.json": () => import("./fr-FR-CCb4Oux7.js"), "../../Individual/language/hr-HR.json": () => import("./hr-HR-BAI0N9bo.js"), "../../Individual/language/hu-HU.json": () => import("./hu-HU-BpNDP1I8.js"), "../../Individual/language/it-IT.json": () => import("./it-IT-BRO0Hf5X.js"), "../../Individual/language/ja-JP.json": () => import("./ja-JP-B3Y0VVpN.js"), "../../Individual/language/lt-LT.json": () => import("./lt-LT-DpszrZ9m.js"), "../../Individual/language/lv-LV.json": () => import("./lv-LV-B3IqVQos.js"), "../../Individual/language/nl-NL.json": () => import("./nl-NL-CnvvqAEg.js"), "../../Individual/language/no-NO.json": () => import("./no-NO-CIKbQbKT.js"), "../../Individual/language/pl-PL.json": () => import("./pl-PL-CTOkaDMG.js"), "../../Individual/language/pt-BR.json": () => import("./pt-BR-CLUsrQAl.js"), "../../Individual/language/pt-PT.json": () => import("./pt-PT-BLRgiqFj.js"), "../../Individual/language/ro-RO.json": () => import("./ro-RO-BeA_YyJ8.js"), "../../Individual/language/sk-SK.json": () => import("./sk-SK-Og9MJXpR.js"), "../../Individual/language/sl-SI.json": () => import("./sl-SI-CoI7iOco.js"), "../../Individual/language/sv-SE.json": () => import("./sv-SE-ChoPzG_G.js") }), `../../Individual/language/${lang}.json`, 5) }
|
|
31
|
-
]);
|
|
32
|
-
const handleOnClose = () => {
|
|
33
|
-
if (modalView) {
|
|
34
|
-
onUnmount?.();
|
|
35
|
-
}
|
|
36
|
-
onClose?.();
|
|
37
|
-
};
|
|
38
|
-
const onSubmit = (d) => {
|
|
39
|
-
if (modalView) {
|
|
40
|
-
onUnmount?.();
|
|
41
|
-
}
|
|
42
|
-
onSubmitSuccess?.(d);
|
|
43
|
-
};
|
|
44
|
-
if (!individualLe) {
|
|
45
|
-
return /* @__PURE__ */ jsx(Loader, {});
|
|
46
|
-
}
|
|
47
|
-
const country = getLegalEntityCountry(individualLe);
|
|
48
|
-
const problems = capabilityProblems ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, individualLe.id) : void 0;
|
|
49
|
-
const props = {
|
|
50
|
-
taskType: TaskTypes.INDIVIDUAL,
|
|
51
|
-
taskName: "individualDetails",
|
|
52
|
-
legalEntityResponse: individualLe,
|
|
53
|
-
problems,
|
|
54
|
-
country,
|
|
55
|
-
asModal: modalView,
|
|
56
|
-
hideSidebar: true,
|
|
57
|
-
onSubmit,
|
|
58
|
-
handleHomeClick: handleOnClose,
|
|
59
|
-
handleCloseClick: handleOnClose
|
|
60
|
-
};
|
|
61
|
-
return /* @__PURE__ */ jsx(IndividualDropin, { ...props });
|
|
62
|
-
};
|
|
63
|
-
export {
|
|
64
|
-
CreateIndividualComponent as C
|
|
65
|
-
};
|