@adyen/kyc-components 4.6.0 → 4.7.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-D61bfNW0.js → AcceptTermsOfServiceComponent-RYwThKmu.js} +17 -16
- package/dist/{AccountSetupRejected-zD_ccBqS.js → AccountSetupRejected-DhwwBH0S.js} +2 -2
- package/dist/{ActionBar-DkXjAAQ1.js → ActionBar-u-Qc7Y4w.js} +1 -1
- package/dist/{Address-Csavi1J2.js → Address-TGZeMCUA.js} +15 -15
- package/dist/{Avatar-D-VHGhFL.js → Avatar-LSd9cIJV.js} +1 -1
- package/dist/{BusinessFinancingComponent-DG0EWNk6.js → BusinessFinancingComponent-DAeZTKW1.js} +6 -6
- package/dist/{BusinessFinancingDropin-5UqhwnOX.js → BusinessFinancingDropin-BVgSTmUm.js} +27 -27
- package/dist/BusinessFinancingPage-vKWY2gWN.js +43 -0
- package/dist/{BusinessTypeSelectionPage-D4SBQDqJ.js → BusinessTypeSelectionPage-DhpGpgac.js} +9 -9
- package/dist/{Checkbox-BKM1WPHa.js → Checkbox-D5-_dw4-.js} +1 -1
- package/dist/{Confirm-gEhhWD8f.js → Confirm-BoQbVMKQ.js} +2 -2
- package/dist/{ConstitutionalDocument-CCw9a-FU.js → ConstitutionalDocument-CjUSPI6f.js} +37 -26
- package/dist/{ContactDetails-CGBkZMAt.js → ContactDetails-Bj1jL-WF.js} +9 -19
- package/dist/{ContextGuidance-B4qWRid4.js → ContextGuidance-CoDkF9Kh.js} +1 -1
- package/dist/{CountryField-pznzB7Uq.js → CountryField-DPtohqO0.js} +3 -3
- package/dist/{CreateIndividualComponent-yT3Rqlai.js → CreateIndividualComponent-DnDxRY8S.js} +6 -6
- package/dist/{CreateTransferInstrumentComponent-BbWiq2fM.js → CreateTransferInstrumentComponent-BB1v1vPR.js} +4 -4
- package/dist/{Currency-DJCryqqJ.js → Currency-DjKXc6D1.js} +7 -7
- package/dist/{CustomerSupport-CJy8LS0W.js → CustomerSupport-nxoB2aXL.js} +9 -9
- package/dist/{DebugModal-BMXSCZDm.js → DebugModal-DK9xbFjU.js} +7 -7
- package/dist/{DecisionMakerDetails-BAniwLCh.js → DecisionMakerDetails-D-POvfJr.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-CloS-QIg.js → DecisionMakerDetailsPage-CABFACYm.js} +8 -8
- package/dist/{DecisionMakers-DrnBmtOE.js → DecisionMakers-B4gmdJ-s.js} +20 -20
- package/dist/{Dropzone-DCTHmJn2.js → Dropzone-IwRNw22i.js} +3 -3
- package/dist/{EmbeddedStatus-sF6FG18F.js → EmbeddedStatus-BU2hma9l.js} +2 -2
- package/dist/{EndStateLayout-D23FWrbD.js → EndStateLayout-DURCt96r.js} +1 -1
- package/dist/{EntityAssociation-eiVdh677.js → EntityAssociation-TBvPBEGa.js} +4 -4
- package/dist/{EntityGuidanceStatus-Chbgo62U.js → EntityGuidanceStatus-CFRY8Yia.js} +4 -4
- package/dist/{ErrorPanel-B8fHWJ7W.js → ErrorPanel-ALBlWg3_.js} +2 -2
- package/dist/{Field-BguffV12.js → Field--T3FQepj.js} +1 -1
- package/dist/{FormNavigation-D5KYMYO0.js → FormNavigation-nE2uj2oQ.js} +3 -3
- package/dist/{Individual.rules-2HzSnI41.js → Individual.rules-DotRDPTM.js} +6 -6
- package/dist/{IndividualDropin-CybsCeUw.js → IndividualDropin-eiRXQvS_.js} +164 -119
- package/dist/{InputDate-BjWLJfR1.js → InputDate-BAzF-upe.js} +1 -1
- package/dist/{InputText-C6-NIYzH.js → InputText-CywP4Ojh.js} +2 -2
- package/dist/{Introduction-UMqxmd6N.js → Introduction-CKoQlTAr.js} +3 -3
- package/dist/{InvitedDecisionMakerComponent-XyPQK6mU.js → InvitedDecisionMakerComponent-CV8OExOI.js} +18 -13
- package/dist/{JpAddress-C8wbZfE0.js → JpAddress-BIgqDfQ0.js} +10 -10
- package/dist/{LandingLayout-Dr28QxoC.js → LandingLayout-DEgZw1-N.js} +5 -3
- package/dist/{LegalCompanyNameField-DHyMLbZc.js → LegalCompanyNameField-CblBotGC.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-CusLAG25.js → LegalRepresentativeDetailsPage-BYgKGZL1.js} +4 -4
- package/dist/{Link-C1szPOri.js → Link-BVdY7Jkl.js} +1 -1
- package/dist/{ListItem-nK0xrija.js → ListItem-CNuX4D7n.js} +2 -2
- package/dist/{LoaderWrapper-BEzoHtmn.js → LoaderWrapper-CU0bf3jD.js} +1 -1
- package/dist/ManageIndividualComponent-BYBvuHfj.js +46 -0
- package/dist/{ManageTermsOfServiceComponent-HijCyHGy.js → ManageTermsOfServiceComponent-CfN53LIT.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-C1f0GAQr.js → ManageTransferInstrumentComponent-B7gKGWHz.js} +10 -10
- package/dist/{MaskedInput-Ckb7nz68.js → MaskedInput-BNceotwn.js} +4 -4
- package/dist/{MaybeModal-DolShkyo.js → MaybeModal-hVrKDPDU.js} +2 -2
- package/dist/{Modal-EL9MXgbw.js → Modal-C8kGCLbp.js} +3 -3
- package/dist/{Name-BSak9KXo.js → Name-GILpP1SS.js} +4 -4
- package/dist/{NewSummary-Buy5WzoM.js → NewSummary-C5UR_Xj1.js} +2 -2
- package/dist/{OnboardingDropinComponent-BRlY6KUs.js → OnboardingDropinComponent-CK5KIhNx.js} +74 -74
- package/dist/{PayoutDetailsDropin-nXxBue_s.js → PayoutDetailsDropin-CLdEm9BA.js} +465 -226
- package/dist/PayoutDetailsPage-s-_gJFC2.js +914 -0
- package/dist/{RadioGroup-BTCmUbA0.js → RadioGroup-PEWX2KAj.js} +1 -1
- package/dist/{Review-CYOIXbFm.js → Review-CFnIOiZT.js} +6 -6
- package/dist/{RootBusinessDetailsPage-BZ1QnczY.js → RootBusinessDetailsPage-mnrfIy0-.js} +4 -4
- package/dist/{RootBusinessLinesPage-CcUJQEkg.js → RootBusinessLinesPage-BH3Lns3X.js} +28 -35
- package/dist/{RootIndividualDetailsPage-C2GvNs12.js → RootIndividualDetailsPage-BzgHIe3h.js} +7 -7
- package/dist/{Select-BgkHFapB.js → Select-C4C8R-Ci.js} +4 -4
- package/dist/{SignPCIComponent-CpAtbAKc.js → SignPCIComponent-B7rKUpjS.js} +11 -11
- package/dist/{SingpassSelection-DxXIwmVH.js → SingpassSelection-WxIUEYNK.js} +4 -4
- package/dist/{SoleProprietorshipPage-C8ENenc3.js → SoleProprietorshipPage-C_fewFI3.js} +3 -3
- package/dist/{SourceOfFundsPage-D3dzjyGw.js → SourceOfFundsPage-UeXmtQEJ.js} +33 -33
- package/dist/{StepProgressIndicator-ZWEENbMM.js → StepProgressIndicator-DiB-t9hK.js} +1 -1
- package/dist/{StoreProvider-DKCxUPee.js → StoreProvider-C4og8Y8I.js} +111 -91
- package/dist/{Summary-BMM1xjqy.js → Summary-DkZ_an9u.js} +7 -20
- package/dist/{TaxInformationField-DkZhHedg.js → TaxInformationField-BOZj8YLo.js} +27 -23
- package/dist/{TaxReportingDropin-gAAULI4S.js → TaxReportingDropin-9HGGrPyM.js} +14 -14
- package/dist/{TextArea-u_xiMf1c.js → TextArea-Bu9ppy0I.js} +2 -2
- package/dist/{TileGroup-r_3ClexW.js → TileGroup-BRzhDdL0.js} +2 -2
- package/dist/{TrustDetailsPage-B-5f_JZn.js → TrustDetailsPage-C3gYEzPT.js} +32 -38
- package/dist/{TrustMemberCompanyPage-CyjbjBSw.js → TrustMemberCompanyPage-BK54Of_F.js} +5 -5
- package/dist/{TrustMemberIndividualPage-Cfrri13a.js → TrustMemberIndividualPage-fVZrXJjA.js} +5 -5
- package/dist/{TrustMemberRoleAndTypePage-D4DQm-6B.js → TrustMemberRoleAndTypePage-BVHOuXP3.js} +22 -22
- package/dist/{TrustMembersOverview-DdCvtsr1.js → TrustMembersOverview-Ab-dwNTz.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-BF6xWHcg.js → UnincorporatedPartnershipIndividualPage-C32LEyHG.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DX_M1Ynr.js → UnincorporatedPartnershipMemberCompanyPage-22Bl_EUP.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-7gGtWzqV.js → UnincorporatedPartnershipMemberRoleAndTypePage-BjywaZQe.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-qYm3eukg.js → UnincorporatedPartnershipMembersOverview-RY7m4iC5.js} +7 -7
- package/dist/{VerificationErrorAlert-CwjcCtq7.js → VerificationErrorAlert-CCJ0vNsY.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-Z8OcoBMo.js → ViewVerificationStatusComponent-Bg1I1q10.js} +2 -2
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-invited-decision-maker.js +2 -2
- package/dist/adyen-kyc-components.js +15 -15
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{bafinUtils-Dsw4DufE.js → bafinUtils-DkCSO6ft.js} +1 -1
- package/dist/{bg-BG-DMNRRZZE.js → bg-BG-89Mw-9Lv.js} +7 -7
- package/dist/{bg-BG-Cj3_UGTi.js → bg-BG-C9zrgb_c.js} +7 -1
- package/dist/{bg-BG-C6dSR1jk.js → bg-BG-dmpv4Zom.js} +2 -2
- package/dist/{commonValidators-dPJjXT_8.js → commonValidators-Dd4wegC9.js} +1 -1
- package/dist/{cs-CZ-B6atm9_Q.js → cs-CZ-6rOIfRJu.js} +2 -2
- package/dist/{cs-CZ-DxfB5dcV.js → cs-CZ-B-zm6HVH.js} +7 -1
- package/dist/{cs-CZ-DXSMRqPu.js → cs-CZ-CTxXvHtH.js} +7 -7
- package/dist/{da-DK-BfsYpvel.js → da-DK-CGhsIGZt.js} +7 -1
- package/dist/{da-DK-Cv6XUSoW.js → da-DK-C_GqHCay.js} +2 -2
- package/dist/{da-DK-CMVthpSr.js → da-DK-D_TOcmOO.js} +7 -7
- package/dist/{de-DE-BplDsJEb.js → de-DE-BmWBo3gX.js} +2 -2
- package/dist/{de-DE-B5TOuf7l.js → de-DE-DYzAiXHM.js} +7 -7
- package/dist/{de-DE-CEsDXBn-.js → de-DE-K9FyOJiI.js} +7 -1
- package/dist/{dropinUtils-14DNwEiI.js → dropinUtils-vsDEK6cs.js} +17 -6
- package/dist/{el-GR-BNNlN4l2.js → el-GR-DItzpoar.js} +7 -7
- package/dist/{el-GR-dRK7xHn2.js → el-GR-Fo7-xCrc.js} +2 -2
- package/dist/{el-GR-CM3bIzr7.js → el-GR-L-39cQfz.js} +7 -1
- package/dist/en-US-qlQTJNiL.js +13 -0
- package/dist/{es-ES-DRsix_Xn.js → es-ES-BkqlH093.js} +2 -2
- package/dist/{es-ES-Wcpc6fm1.js → es-ES-BmH6eADf.js} +7 -7
- package/dist/{es-ES-BWFP5itn.js → es-ES-TUyeIp6F.js} +7 -1
- package/dist/{et-EE-CcXrAAc7.js → et-EE-Cw_VydGb.js} +7 -1
- package/dist/{et-EE-DNC4hcxm.js → et-EE-DSZa_33d.js} +7 -7
- package/dist/{et-EE-BXiYapXy.js → et-EE-H8yxvhQj.js} +2 -2
- package/dist/{fi-FI-BftTiz0c.js → fi-FI-BfwJVwi9.js} +2 -2
- package/dist/{fi-FI-BJLU1JHw.js → fi-FI-DJ8BbVPT.js} +7 -7
- package/dist/{fi-FI-DenK0WPz.js → fi-FI-tgvQX_Iq.js} +7 -1
- package/dist/{formUtils-DkgXgXMP.js → formUtils-DFuc8i5Q.js} +3 -3
- package/dist/{fr-FR-C6jxjXAI.js → fr-FR-CzjsW73Q.js} +2 -2
- package/dist/{fr-FR-DodNoPid.js → fr-FR-D533_MOG.js} +7 -7
- package/dist/{fr-FR-BmTswZU5.js → fr-FR-ynC19lSF.js} +7 -1
- package/dist/{getName-Z2gJognf.js → getName-D3Sba-PI.js} +1 -1
- package/dist/{getProblemsForEntity-DAFLyYyP.js → getProblemsForEntity-Db-ejW4z.js} +1 -1
- package/dist/{getTrustedFields-Yhy_d5h0.js → getTrustedFields-DUXTMWcg.js} +1 -1
- package/dist/{hr-HR-SDrDZRLV.js → hr-HR--5syrowD.js} +7 -1
- package/dist/{hr-HR-C0NLgF1r.js → hr-HR-CIxdonpk.js} +7 -7
- package/dist/{hr-HR-B_TEU3r4.js → hr-HR-ZrpQrsik.js} +2 -2
- package/dist/{hu-HU-C3ZiFh1F.js → hu-HU--6ZxXlbV.js} +7 -7
- package/dist/{hu-HU-DSVf2zbX.js → hu-HU-BFiGk_QT.js} +7 -1
- package/dist/{hu-HU-CX83V9tu.js → hu-HU-Ds3go4h4.js} +2 -2
- package/dist/{isEmpty-boSQX897.js → isEmpty-DFqK5kY2.js} +2 -2
- package/dist/{it-IT-CZ4aDoVQ.js → it-IT-B5cf2VTN.js} +7 -7
- package/dist/{it-IT-DJe5OflH.js → it-IT-C0Zv5ms9.js} +7 -1
- package/dist/{it-IT-CXlaZNIj.js → it-IT-Dx15tkIe.js} +2 -2
- package/dist/{ja-JP-GGV_-V6p.js → ja-JP--u211vje.js} +7 -1
- package/dist/{ja-JP-BpeNsNhn.js → ja-JP-DY4CJlUf.js} +7 -7
- package/dist/{ja-JP-A6ArIIZ8.js → ja-JP-Qu7oEIEy.js} +2 -2
- package/dist/{japanSupportUtils-DC6ssQNc.js → japanSupportUtils-DqXOWm97.js} +1 -1
- package/dist/{localizeDateString-6qoF3x9R.js → localizeDateString-D8JgUqw2.js} +1 -1
- package/dist/{lt-LT-ww192lYg.js → lt-LT-BebOeKIA.js} +2 -2
- package/dist/{lt-LT-C8n1GZoU.js → lt-LT-CkjEvGSp.js} +7 -7
- package/dist/{lt-LT-C9nsCODy.js → lt-LT-D2Hrhr7v.js} +7 -1
- package/dist/{lv-LV-BdPdaVGy.js → lv-LV-BdZK9nQA.js} +7 -7
- package/dist/{lv-LV-CpHy-ZoF.js → lv-LV-CYcrO-6d.js} +2 -2
- package/dist/{lv-LV-Bue450PR.js → lv-LV-D04q9r-y.js} +7 -1
- package/dist/{mapExistingFile-BMJL0nyv.js → mapExistingFile-BIYg1E5G.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-B-YIRvOK.js → mapJpAddressSchemaToAddressLocalizations-D5xnQLSI.js} +2 -2
- package/dist/{mapLegalEntityToIndividualSchema-CS9_Bo3k.js → mapLegalEntityToIndividualSchema-By5v9v9G.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-DnaL9hYo.js → mapTransferInstrumentToPayoutAccount-BM24JYqT.js} +2 -2
- package/dist/{nl-NL-4Mv4rnYy.js → nl-NL-CJ7MoBj2.js} +7 -1
- package/dist/{nl-NL-BwWFlBOs.js → nl-NL-FbJ2sHba.js} +2 -2
- package/dist/{nl-NL-B2Uku0lw.js → nl-NL-YcL7Gufl.js} +7 -7
- package/dist/{no-NO-JWsSd7iY.js → no-NO-B5BjEy8n.js} +2 -2
- package/dist/{no-NO-ByCZ3mhz.js → no-NO-C20s6CoP.js} +7 -1
- package/dist/{no-NO-DjOcJWnC.js → no-NO-KkYB-VQD.js} +7 -7
- package/dist/{omitObscuredFieldsIfUnchanged-Bbes2BVX.js → omitObscuredFieldsIfUnchanged-CyJfNYkP.js} +2 -2
- package/dist/{patternValidators-B7j6YIOy.js → patternValidators-DRSnA1z7.js} +2 -2
- package/dist/{pl-PL-DCi5Lf4k.js → pl-PL-C19Btj2D.js} +7 -1
- package/dist/{pl-PL-Bmaq3IC3.js → pl-PL-CPdKf-J0.js} +7 -7
- package/dist/{pl-PL-CLmmSNgn.js → pl-PL-DuM6hbqZ.js} +2 -2
- package/dist/{process-field-configurations-BxJae0v4.js → process-field-configurations-Cl2nqpBp.js} +2 -2
- package/dist/{pt-BR-BJOww8U1.js → pt-BR-BKKQIUJP.js} +2 -2
- package/dist/{pt-BR-BKdT0Bpl.js → pt-BR-ERWeus3c.js} +7 -7
- package/dist/{pt-BR-DRz5cG4o.js → pt-BR-zOjPTIPu.js} +7 -1
- package/dist/{pt-PT-CL9VzmZE.js → pt-PT-CC7zlk3R.js} +2 -2
- package/dist/{pt-PT-C2li07N1.js → pt-PT-DUTGt5L5.js} +7 -7
- package/dist/{pt-PT-ChRbnn0k.js → pt-PT-t5M8xwTU.js} +7 -1
- package/dist/{resolveEnvironment-_hyPvH0e.js → resolveEnvironment-BIF7mwM5.js} +3 -3
- package/dist/{ro-RO-iPjOeKwM.js → ro-RO-BnFjok5O.js} +7 -7
- package/dist/{ro-RO-Cu1T3z6k.js → ro-RO-CuabgXj1.js} +2 -2
- package/dist/{ro-RO-Dgie5z3m.js → ro-RO-DK9gVwS9.js} +7 -1
- package/dist/{roleMetadata-C9fdKfQp.js → roleMetadata-BAURfCmh.js} +3 -3
- package/dist/{sk-SK-bMDoNP19.js → sk-SK-2J6iKfmK.js} +7 -1
- package/dist/{sk-SK-3_SoEn6P.js → sk-SK-CLPd85I3.js} +7 -7
- package/dist/{sk-SK-CEjJ-qZG.js → sk-SK-DM1yY8DA.js} +2 -2
- package/dist/{sl-SI-BfO3xEJx.js → sl-SI--pDTatHh.js} +2 -2
- package/dist/{sl-SI-DKSu25rO.js → sl-SI-D82ccY62.js} +7 -1
- package/dist/{sl-SI-DbfswGh0.js → sl-SI-T9_Ty-NS.js} +7 -7
- package/dist/style.css +9 -21
- package/dist/styles-CLV89_hH.js +9 -21
- package/dist/{sv-SE-Blw4s8bC.js → sv-SE-3-h2VlYi.js} +7 -7
- package/dist/{sv-SE-CMLKzwtj.js → sv-SE-CDxyyNV0.js} +2 -2
- package/dist/{sv-SE-Co7Nkd06.js → sv-SE-CrBkos0z.js} +7 -1
- package/dist/types/api/companySearch/useCompanySearch.d.ts +289 -0
- package/dist/types/api/companySelection/useCompanySelection.d.ts +2 -4
- package/dist/types/api/configurations/useScenarios.d.ts +1 -1
- package/dist/types/api/idVerificationProviders/useExtractDocumentInformation.d.ts +4 -4
- package/dist/types/api/queryKeys.d.ts +1 -2
- package/dist/types/api/tinVerification/useVerifyTin.d.ts +245 -1
- package/dist/types/api/uiAnalytics/uiAnalytics.types.d.ts +6 -1
- package/dist/types/components/BankAccount/forms/BankVerification/store.d.ts +1 -0
- package/dist/types/components/BankAccount/forms/PayoutCountryDetails/PayoutCountryDetails.d.ts +3 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetailsMultiform.d.ts +27 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +2 -2
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +25 -25
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +0 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropinMultiForm.d.ts +2 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +7 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/validate.d.ts +23 -0
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +3 -4
- package/dist/types/components/Business/forms/rules.d.ts +6 -6
- package/dist/types/components/Business/mapping/businessDetails/businessBankAccountTaxIdUtils.d.ts +10 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +0 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +1 -4
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +2 -3
- package/dist/types/components/BusinessLines/fields/SalesChannels/SalesChannels.d.ts +1 -1
- package/dist/types/components/BusinessLines/fields/SalesChannels/types.d.ts +1 -1
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +499 -487
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +2 -2
- package/dist/types/components/Individual/forms/InviteDetails/utils.d.ts +2 -0
- package/dist/types/components/Individual/forms/InviteDetails/validate.d.ts +2 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +1 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.d.ts +5 -0
- package/dist/types/components/Shared/fields/DBANameField/DBANameField.d.ts +1 -1
- package/dist/types/components/Shared/fields/DBANameField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/DateOfIncorporationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/IndustryCodeField/IndustryCodeField.d.ts +1 -1
- package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/Name/validate.d.ts +2 -1
- package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/StockExchangeMICField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/StockISINField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/StockTickerSymbolField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/types.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 +1 -1
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +2 -2
- package/dist/types/context/ToggleContext/types.d.ts +51 -56
- package/dist/types/core/models/api/branchAllocation.d.ts +5 -0
- package/dist/types/core/models/api/get-scenarios.d.ts +2 -0
- package/dist/types/core/models/api/organization.d.ts +2 -0
- package/dist/types/core/user-events.d.ts +1 -1
- package/dist/types/hooks/useForm/types.d.ts +1 -0
- package/dist/types/hooks/usePageLandedEvent.d.ts +3 -3
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/validatorUtils.d.ts +1 -0
- package/dist/{types-CTwBMnPB.js → types-C7ANBXKc.js} +56 -61
- package/dist/{types-DO_d6cVD.js → types-DsA42AXS.js} +1 -1
- package/dist/{types-DR1UyHuL.js → types-DxlKs1U5.js} +1 -1
- package/dist/{types-BxcVVfxO.js → types-VsWq4EjV.js} +1 -1
- package/dist/{unincorporated-partnership-DYTYq9It.js → unincorporated-partnership-uA1X2l53.js} +1 -1
- package/dist/{useAssociatedLegalEntity-CuVMzeS0.js → useAssociatedLegalEntity-3LNpnrN6.js} +1 -1
- package/dist/{useBusinessDetailsData-BDvJiv0U.js → useBusinessDetailsData-dZbZQSmY.js} +330 -314
- package/dist/{useCreateLegalEntity-BqiM6Z4D.js → useCreateLegalEntity-DDkkYr4O.js} +1 -1
- package/dist/{useForm-C1botkQ9.js → useForm-Y4-kimHb.js} +3 -3
- package/dist/{useFormContext-DLkJgmS9.js → useFormContext-TKoF8IdB.js} +7 -7
- package/dist/{useGlobalData-BydN0B8P.js → useGlobalData-DZvXyS0l.js} +9 -9
- package/dist/{useMultiForm-ZSjb-MNl.js → useMultiForm-ieaYM7hW.js} +4 -4
- package/dist/{useOnboardingStatus-CpkyRoX9.js → useOnboardingStatus-DhxCTR8e.js} +1 -1
- package/dist/{useScenarios-DNnpIr7b.js → useScenarios-CwSfXmoW.js} +1 -1
- package/dist/{useTermsOfServiceStatus-BH74ie3Z.js → useTermsOfServiceStatus-DPGw4QdQ.js} +1 -1
- package/dist/{useToastContext-CN6SzXSt.js → useToastContext-BdsMS3mt.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-z5aGwc0I.js → useUnincorporatedPartnershipMembers-D5ndPAbv.js} +4 -4
- package/dist/{useUpdateBusinessLines-D5WMs9_g.js → useUpdateBusinessLines-Dwk23sZB.js} +5 -7
- package/dist/{useUpdateLegalEntity-8Sn5DTcn.js → useUpdateLegalEntity-5lOidXXX.js} +2 -2
- package/dist/{utils-CL8Y2cxl.js → utils-BwwVW2aU.js} +6 -6
- package/dist/{utils-CKmUVF30.js → utils-C5ekxdx1.js} +1 -1
- package/dist/{utils-Cbs8k6wy.js → utils-C_Fyu6Kr.js} +1 -1
- package/dist/{utils-TMcBiPzX.js → utils-CdhuiXMy.js} +1 -1
- package/dist/{utils-Bx0ZXntJ.js → utils-Dny5dbku.js} +2 -2
- package/dist/{validate-Dy8GuvEF.js → validate-CFI052fe.js} +3 -3
- package/dist/{validate-Bz4kAnZq.js → validate-bZBB2yOu.js} +2 -2
- package/dist/{validationError-Cl6ZvFO8.js → validationError-XxBa8ECY.js} +2 -2
- package/package.json +10 -10
- package/dist/BusinessFinancingPage-CMoJlPym.js +0 -43
- package/dist/ManageIndividualComponent-DJE85k3F.js +0 -46
- package/dist/PayoutDetailsPage-DHEVWO5C.js +0 -55
- package/dist/en-US-CJDkXFZ6.js +0 -13
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/formatAccountVerificationSummary.d.ts +0 -7
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, j as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpPost } from "./StoreProvider-C4og8Y8I.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] = "24eda2cd-8810-4cc5-8010-69ba56402b1e", e._sentryDebugIdIdentifier = "sentry-dbid-24eda2cd-8810-4cc5-8010-69ba56402b1e");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { ae as createLogger, ax as isEmpty,
|
|
12
|
-
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-
|
|
11
|
+
import { ae as createLogger, ax as isEmpty, b3 as doArraysMatch } from "./StoreProvider-C4og8Y8I.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-C_Fyu6Kr.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] = "f942d037-d5d5-4033-88c5-a9d9ef888453", e._sentryDebugIdIdentifier = "sentry-dbid-f942d037-d5d5-4033-88c5-a9d9ef888453");
|
|
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 { x as useAnalyticsContext, u as useTranslation, V as Button } from "./StoreProvider-
|
|
14
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
15
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
13
|
+
import { x as useAnalyticsContext, u as useTranslation, V as Button } from "./StoreProvider-C4og8Y8I.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CU0bf3jD.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-hVrKDPDU.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-vsDEK6cs.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-BoQbVMKQ.js";
|
|
19
|
+
import { S as Summary } from "./Summary-DkZ_an9u.js";
|
|
20
20
|
import { createContext } from "preact";
|
|
21
21
|
const FormContext = createContext(null);
|
|
22
22
|
function FormContextProvider({
|
|
@@ -2,22 +2,22 @@
|
|
|
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] = "f5d42e44-0139-4daf-87cd-69dcaec0db08", e._sentryDebugIdIdentifier = "sentry-dbid-f5d42e44-0139-4daf-87cd-69dcaec0db08");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useContext, useState, useCallback, useMemo } from "preact/hooks";
|
|
12
|
-
import {
|
|
13
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
14
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
15
|
-
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-
|
|
12
|
+
import { bp as StateContext, u as useTranslation, x as useAnalyticsContext, H as useToggleContext, V as Button } from "./StoreProvider-C4og8Y8I.js";
|
|
13
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CU0bf3jD.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-hVrKDPDU.js";
|
|
15
|
+
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-C8kGCLbp.js";
|
|
16
16
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
17
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
18
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
19
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
20
|
-
import { s as summaryStep, S as Summary } from "./Summary-
|
|
17
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-DiB-t9hK.js";
|
|
18
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-vsDEK6cs.js";
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-nE2uj2oQ.js";
|
|
20
|
+
import { s as summaryStep, S as Summary } from "./Summary-DkZ_an9u.js";
|
|
21
21
|
import { a as debounce } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
22
22
|
function useStateContext() {
|
|
23
23
|
const context = useContext(StateContext);
|
|
@@ -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] = "1dcb0554-c120-4d24-ba2b-8df78e03c210", e._sentryDebugIdIdentifier = "sentry-dbid-1dcb0554-c120-4d24-ba2b-8df78e03c210");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { ah as objectsDeepEqual, ae as createLogger, ax as isEmpty } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult } from "./utils-
|
|
13
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
11
|
+
import { ah as objectsDeepEqual, ae as createLogger, ax as isEmpty } from "./StoreProvider-C4og8Y8I.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-C_Fyu6Kr.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-Dd4wegC9.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, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet } from "./StoreProvider-C4og8Y8I.js";
|
|
12
12
|
const getOnboardingStatus = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
baseUrl,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery, skipToken } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, ao as entriesOf, at as Scenarios, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, ao as entriesOf, at as Scenarios, k as httpGet } from "./StoreProvider-C4og8Y8I.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, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet } from "./StoreProvider-C4og8Y8I.js";
|
|
12
12
|
const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
baseUrl,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { useQueryClient } from "@tanstack/preact-query";
|
|
11
11
|
import { useCallback, useContext } from "preact/hooks";
|
|
12
|
-
import { ae as createLogger, b as useApiContext, au as ToastContext } from "./StoreProvider-
|
|
12
|
+
import { ae as createLogger, b as useApiContext, au as ToastContext } from "./StoreProvider-C4og8Y8I.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
|
|
15
15
|
"businessLines",
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { L as LegalEntityTypes, ac as getOwnEntityAssociations, P as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
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, ac as getOwnEntityAssociations, P as useLegalEntity, R as ROOT_LE } from "./StoreProvider-C4og8Y8I.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-3LNpnrN6.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-uA1X2l53.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-D3Sba-PI.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] = "8c3569b2-8402-43a8-ba03-d0b7e9efb92b", e._sentryDebugIdIdentifier = "sentry-dbid-8c3569b2-8402-43a8-ba03-d0b7e9efb92b");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery, useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, k as httpGet, ax as isEmpty, u as useTranslation, H as useToggleContext, B as IconButton, j as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet, ax as isEmpty, u as useTranslation, H as useToggleContext, B as IconButton, j as httpPost } from "./StoreProvider-C4og8Y8I.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--T3FQepj.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-C4C8R-Ci.js";
|
|
17
17
|
import { signal } from "@preact/signals";
|
|
18
18
|
const fetchIndustryCodes = async (legalEntityId, baseUrl, businessLineTypes2, locale) => {
|
|
19
19
|
const results = await Promise.all(
|
|
@@ -51,7 +51,6 @@ const industryCodeFieldValidation = () => ({
|
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
const industryCodeFieldMetadata = {
|
|
54
|
-
label: "industry",
|
|
55
54
|
validators: [
|
|
56
55
|
industryCodeFieldValidation().industryCodes
|
|
57
56
|
]
|
|
@@ -76,7 +75,6 @@ function IndustryCodeField({
|
|
|
76
75
|
data,
|
|
77
76
|
valid,
|
|
78
77
|
errors,
|
|
79
|
-
labels,
|
|
80
78
|
readonly,
|
|
81
79
|
handleChangeFor,
|
|
82
80
|
guidanceText,
|
|
@@ -185,7 +183,7 @@ function IndustryCodeField({
|
|
|
185
183
|
Field,
|
|
186
184
|
{
|
|
187
185
|
name: "industryCodes",
|
|
188
|
-
label:
|
|
186
|
+
label: t(($) => $["industry"]),
|
|
189
187
|
errorMessage: errors.industryCodes,
|
|
190
188
|
isValid: valid.industryCodes,
|
|
191
189
|
formatGuidance: guidanceText,
|
|
@@ -8,8 +8,8 @@
|
|
|
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, j as httpPost } from "./StoreProvider-
|
|
11
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-BdsMS3mt.js";
|
|
12
|
+
import { b as useApiContext, j as httpPost } from "./StoreProvider-C4og8Y8I.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] = "a95615c2-e0a9-4a9e-9831-8d26117df955", e._sentryDebugIdIdentifier = "sentry-dbid-a95615c2-e0a9-4a9e-9831-8d26117df955");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
11
|
-
import { a8 as getLegalEntityCountry,
|
|
12
|
-
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-
|
|
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-DkCSO6ft.js";
|
|
11
|
+
import { a8 as getLegalEntityCountry, bB as getCapabilities, L as LegalEntityTypes, q as hasOwnEntityAssociationOfType, a9 as CountryCodes } from "./StoreProvider-C4og8Y8I.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-CK5KIhNx.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-DotRDPTM.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-VsWq4EjV.js";
|
|
15
15
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
16
16
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
17
17
|
CountryCodes.UnitedStates,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
11
|
-
import { a9 as CountryCodes } from "./StoreProvider-
|
|
11
|
+
import { a9 as CountryCodes } from "./StoreProvider-C4og8Y8I.js";
|
|
12
12
|
const addressFields = [
|
|
13
13
|
"address",
|
|
14
14
|
"otherAddressInformation",
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { L as LegalEntityTypes, N as Typography } from "./StoreProvider-
|
|
11
|
+
import { L as LegalEntityTypes, N as Typography } from "./StoreProvider-C4og8Y8I.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-D8JgUqw2.js";
|
|
14
14
|
const formatCurrency = (amount, currency, locale) => {
|
|
15
15
|
const { format } = new Intl.NumberFormat(
|
|
16
16
|
locale,
|
|
@@ -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] = "fede102a-55bd-42ba-8361-5f1e494554a2", e._sentryDebugIdIdentifier = "sentry-dbid-fede102a-55bd-42ba-8361-5f1e494554a2");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import "@tanstack/preact-query";
|
|
11
|
-
import { j as httpPost, ar as httpDelete, k as httpGet, ae as createLogger,
|
|
12
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
11
|
+
import { j as httpPost, ar as httpDelete, k as httpGet, ae as createLogger, bp as StateContext, u as useTranslation, x as useAnalyticsContext, z as Icon, N as Typography, U as Loader, B as IconButton } from "./StoreProvider-C4og8Y8I.js";
|
|
12
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-CdhuiXMy.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] = "88b0bbc6-a369-452d-a398-b8519a92ee72", e._sentryDebugIdIdentifier = "sentry-dbid-88b0bbc6-a369-452d-a398-b8519a92ee72");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { aL as hasText } from "./StoreProvider-C4og8Y8I.js";
|
|
11
11
|
const validateLegalEntityIdentifier = (legalEntityIdentifier) => {
|
|
12
12
|
if (!legalEntityIdentifier) {
|
|
13
13
|
return true;
|
|
@@ -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] = "92375f9b-c3ba-47a3-af82-6f337b4dfe22", e._sentryDebugIdIdentifier = "sentry-dbid-92375f9b-c3ba-47a3-af82-6f337b4dfe22");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { w as TaskTypes,
|
|
10
|
+
import { w as TaskTypes, ba as remediationPayoutApiKeyMapping, bb as remediationBusinessDetailsApiKeyMapping, bc as remediationIndividualApiKeyMapping } from "./StoreProvider-C4og8Y8I.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.7.0-beta.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"adyen",
|
|
6
6
|
"adyen-kyc",
|
|
@@ -88,6 +88,7 @@
|
|
|
88
88
|
"classnames": "^2.5.1",
|
|
89
89
|
"container-query-polyfill": "^1.0.2",
|
|
90
90
|
"i18next": "^25.8.18",
|
|
91
|
+
"libphonenumber-js": "^1.12.41",
|
|
91
92
|
"monogon": "^0.3.4",
|
|
92
93
|
"named-slots": "^0.4.2",
|
|
93
94
|
"onfido-sdk-ui": "14.55.0",
|
|
@@ -107,10 +108,10 @@
|
|
|
107
108
|
"@sentry/bundler-plugin-core": "3.5.0",
|
|
108
109
|
"@sentry/cli": "2.42.2",
|
|
109
110
|
"@slack/types": "^2.20.1",
|
|
110
|
-
"@storybook/addon-a11y": "10.
|
|
111
|
-
"@storybook/addon-docs": "10.
|
|
112
|
-
"@storybook/addon-vitest": "10.
|
|
113
|
-
"@storybook/preact-vite": "10.
|
|
111
|
+
"@storybook/addon-a11y": "10.3.4",
|
|
112
|
+
"@storybook/addon-docs": "10.3.4",
|
|
113
|
+
"@storybook/addon-vitest": "10.3.4",
|
|
114
|
+
"@storybook/preact-vite": "10.3.4",
|
|
114
115
|
"@tanstack/eslint-plugin-query": "^5.91.4",
|
|
115
116
|
"@tanstack/preact-query-devtools": "^5.92.0",
|
|
116
117
|
"@testing-library/jest-dom": "^6.9.1",
|
|
@@ -140,6 +141,7 @@
|
|
|
140
141
|
"eslint-plugin-testing-library": "^7.16.0",
|
|
141
142
|
"eslint-plugin-unicorn": "^63.0.0",
|
|
142
143
|
"happy-dom": "^20.8.9",
|
|
144
|
+
"http-server": "^14.1.1",
|
|
143
145
|
"inquirer": "^12.11.1",
|
|
144
146
|
"jsonc-eslint-parser": "^2.4.2",
|
|
145
147
|
"msw": "2.7.3",
|
|
@@ -156,7 +158,7 @@
|
|
|
156
158
|
"rollup-plugin-visualizer": "^5.14.0",
|
|
157
159
|
"ruins": "^0.2.3",
|
|
158
160
|
"sass": "^1.98.0",
|
|
159
|
-
"storybook": "10.
|
|
161
|
+
"storybook": "10.3.4",
|
|
160
162
|
"storybook-addon-tag-badges": "3.0.4",
|
|
161
163
|
"stylelint": "^16.26.1",
|
|
162
164
|
"stylelint-config-recommended-scss": "^14.1.0",
|
|
@@ -221,12 +223,10 @@
|
|
|
221
223
|
"test": "vitest",
|
|
222
224
|
"test:run": "vitest --run",
|
|
223
225
|
"test:coverage": "vitest --coverage",
|
|
224
|
-
"test:m2e": "NODE_OPTIONS=--no-experimental-strip-types playwright test",
|
|
225
|
-
"test:m2e:debug": "NODE_OPTIONS=--no-experimental-strip-types PWDEBUG=console playwright test --debug",
|
|
226
|
-
"test:m2e:ui": "NODE_OPTIONS=--no-experimental-strip-types playwright test --ui",
|
|
227
226
|
"test:e2e": "NODE_OPTIONS=--no-experimental-strip-types playwright test --config=playwright.e2e.config.ts",
|
|
228
227
|
"test:e2e:ui": "NODE_OPTIONS=--no-experimental-strip-types playwright test --config=playwright.e2e.config.ts --ui",
|
|
229
|
-
"test:performance": "
|
|
228
|
+
"test:performance": "playwright test --config=playwright.performance.config.ts",
|
|
229
|
+
"test:screenshot": "storybook build && playwright test --config=playwright.screenshot.config.ts",
|
|
230
230
|
"test:ui": "vitest --ui",
|
|
231
231
|
"test:watch": "pnpm test --watch",
|
|
232
232
|
"types:build": "tsc --project tsconfig-build.json && tsc-alias --project tsconfig-build.json",
|
|
@@ -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] = "48e4db3d-cca7-4d2e-a4b7-db1a807117a9", e._sentryDebugIdIdentifier = "sentry-dbid-48e4db3d-cca7-4d2e-a4b7-db1a807117a9");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { u as useTranslation, P as useLegalEntity, a as addResourceBundles, U as Loader, a8 as getLegalEntityCountry, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DKCxUPee.js";
|
|
11
|
-
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-5UqhwnOX.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-Cj3_UGTi.js"), "../tasks/BusinessFinancingDropin/language/cs-CZ.json": () => import("./cs-CZ-DxfB5dcV.js"), "../tasks/BusinessFinancingDropin/language/da-DK.json": () => import("./da-DK-BfsYpvel.js"), "../tasks/BusinessFinancingDropin/language/de-DE.json": () => import("./de-DE-CEsDXBn-.js"), "../tasks/BusinessFinancingDropin/language/el-GR.json": () => import("./el-GR-CM3bIzr7.js"), "../tasks/BusinessFinancingDropin/language/en-US.json": () => import("./en-US-DIlZD5Wh.js"), "../tasks/BusinessFinancingDropin/language/es-ES.json": () => import("./es-ES-BWFP5itn.js"), "../tasks/BusinessFinancingDropin/language/et-EE.json": () => import("./et-EE-CcXrAAc7.js"), "../tasks/BusinessFinancingDropin/language/fi-FI.json": () => import("./fi-FI-DenK0WPz.js"), "../tasks/BusinessFinancingDropin/language/fr-FR.json": () => import("./fr-FR-BmTswZU5.js"), "../tasks/BusinessFinancingDropin/language/hr-HR.json": () => import("./hr-HR-SDrDZRLV.js"), "../tasks/BusinessFinancingDropin/language/hu-HU.json": () => import("./hu-HU-DSVf2zbX.js"), "../tasks/BusinessFinancingDropin/language/it-IT.json": () => import("./it-IT-DJe5OflH.js"), "../tasks/BusinessFinancingDropin/language/ja-JP.json": () => import("./ja-JP-GGV_-V6p.js"), "../tasks/BusinessFinancingDropin/language/lt-LT.json": () => import("./lt-LT-C9nsCODy.js"), "../tasks/BusinessFinancingDropin/language/lv-LV.json": () => import("./lv-LV-Bue450PR.js"), "../tasks/BusinessFinancingDropin/language/nl-NL.json": () => import("./nl-NL-4Mv4rnYy.js"), "../tasks/BusinessFinancingDropin/language/no-NO.json": () => import("./no-NO-ByCZ3mhz.js"), "../tasks/BusinessFinancingDropin/language/pl-PL.json": () => import("./pl-PL-DCi5Lf4k.js"), "../tasks/BusinessFinancingDropin/language/pt-BR.json": () => import("./pt-BR-DRz5cG4o.js"), "../tasks/BusinessFinancingDropin/language/pt-PT.json": () => import("./pt-PT-ChRbnn0k.js"), "../tasks/BusinessFinancingDropin/language/ro-RO.json": () => import("./ro-RO-Dgie5z3m.js"), "../tasks/BusinessFinancingDropin/language/sk-SK.json": () => import("./sk-SK-bMDoNP19.js"), "../tasks/BusinessFinancingDropin/language/sl-SI.json": () => import("./sl-SI-DKSu25rO.js"), "../tasks/BusinessFinancingDropin/language/sv-SE.json": () => import("./sv-SE-Co7Nkd06.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-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-DKCxUPee.js").then((n) => n.bR), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.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,46 +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] = "7e4c6323-952d-4a11-a697-bf33fad73d9b", e._sentryDebugIdIdentifier = "sentry-dbid-7e4c6323-952d-4a11-a697-bf33fad73d9b");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { u as useTranslation, b as useApiContext, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, P as useLegalEntity, R as ROOT_LE } from "./StoreProvider-DKCxUPee.js";
|
|
11
|
-
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useOnboardingStatus } from "./useOnboardingStatus-CpkyRoX9.js";
|
|
13
|
-
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
14
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-sF6FG18F.js";
|
|
15
|
-
function ManageIndividualComponent({
|
|
16
|
-
legalEntityId,
|
|
17
|
-
onClick
|
|
18
|
-
}) {
|
|
19
|
-
const { i18n } = useTranslation();
|
|
20
|
-
const { rootLegalEntityId: currentLegalEntityId } = useApiContext();
|
|
21
|
-
currentLegalEntityId.value = legalEntityId;
|
|
22
|
-
addResourceBundles(i18n, [
|
|
23
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-DKCxUPee.js").then((n) => n.bR), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) }
|
|
24
|
-
]);
|
|
25
|
-
const { data: legalEntityData } = useLegalEntity(ROOT_LE);
|
|
26
|
-
const { isPending, data: onboardingStatusData } = useOnboardingStatus({
|
|
27
|
-
refetchInterval: (res) => res.state.data?.status === OnboardingStatuses.AWAITING_DATA ? 3e3 : false
|
|
28
|
-
});
|
|
29
|
-
const name = legalEntityData?.individual?.name;
|
|
30
|
-
const fullName = name ? `${name.firstName} ${name.lastName}` : "";
|
|
31
|
-
const subtitle = legalEntityData?.individual?.email ?? "";
|
|
32
|
-
const status = onboardingStatusData?.status;
|
|
33
|
-
return /* @__PURE__ */ jsx(
|
|
34
|
-
EmbeddedStatus,
|
|
35
|
-
{
|
|
36
|
-
onClick,
|
|
37
|
-
title: fullName,
|
|
38
|
-
subtitle,
|
|
39
|
-
status,
|
|
40
|
-
loading: isPending
|
|
41
|
-
}
|
|
42
|
-
);
|
|
43
|
-
}
|
|
44
|
-
export {
|
|
45
|
-
ManageIndividualComponent as M
|
|
46
|
-
};
|
|
@@ -1,55 +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] = "dbb31203-7b33-4f6c-a215-44a8b75dc956", e._sentryDebugIdIdentifier = "sentry-dbid-dbb31203-7b33-4f6c-a215-44a8b75dc956");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { u as useTranslation, P as useLegalEntity, a as addResourceBundles, U as Loader, R as ROOT_LE, E as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DKCxUPee.js";
|
|
11
|
-
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { useParams } from "wouter-preact";
|
|
13
|
-
import { f as useNavigate } from "./OnboardingDropinComponent-BRlY6KUs.js";
|
|
14
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-DAFLyYyP.js";
|
|
15
|
-
import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-nXxBue_s.js";
|
|
16
|
-
function PayoutDetailsPage({
|
|
17
|
-
transferInstrumentId: transferInstrumentIdProp,
|
|
18
|
-
setTransferInstrumentId: setTransferInstrumentIdProp,
|
|
19
|
-
taskType,
|
|
20
|
-
openBankingPartnerConfigId,
|
|
21
|
-
onSubmit,
|
|
22
|
-
handleHomeClick
|
|
23
|
-
}) {
|
|
24
|
-
const routeParams = useParams();
|
|
25
|
-
const navigate = useNavigate();
|
|
26
|
-
const transferInstrumentId = transferInstrumentIdProp ?? routeParams.transferInstrumentId;
|
|
27
|
-
const setTransferInstrumentId = setTransferInstrumentIdProp ?? ((id) => navigate.replace(taskType, { transferInstrumentId: id }));
|
|
28
|
-
const { i18n } = useTranslation();
|
|
29
|
-
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
30
|
-
const capabilityProblems = useCapabilityProblems();
|
|
31
|
-
addResourceBundles(i18n, [
|
|
32
|
-
{ ns: "banking", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-BnwkqGm9.js"), "../language/cs-CZ.json": () => import("./cs-CZ-BeMYkFfD.js"), "../language/da-DK.json": () => import("./da-DK-mUuPR2YO.js"), "../language/de-DE.json": () => import("./de-DE-CwT6O212.js"), "../language/el-GR.json": () => import("./el-GR-BuAfpG6u.js"), "../language/en-US.json": () => import("./en-US-DrUYyPhF.js"), "../language/es-ES.json": () => import("./es-ES-Bh8k9Zx8.js"), "../language/et-EE.json": () => import("./et-EE-BBnYC5q8.js"), "../language/fi-FI.json": () => import("./fi-FI-DhUeTfn1.js"), "../language/fr-FR.json": () => import("./fr-FR-CocDMzBc.js"), "../language/hr-HR.json": () => import("./hr-HR-D9OGeEuB.js"), "../language/hu-HU.json": () => import("./hu-HU-DjaoFDqm.js"), "../language/it-IT.json": () => import("./it-IT-B4bk2Xev.js"), "../language/ja-JP.json": () => import("./ja-JP-DK55NCZY.js"), "../language/lt-LT.json": () => import("./lt-LT-CfQUS8PP.js"), "../language/lv-LV.json": () => import("./lv-LV-DoKxsoVR.js"), "../language/nl-NL.json": () => import("./nl-NL-J7XpCpQm.js"), "../language/no-NO.json": () => import("./no-NO-CtDyNTm6.js"), "../language/pl-PL.json": () => import("./pl-PL-CCX1rSGF.js"), "../language/pt-BR.json": () => import("./pt-BR-D4BTdo_w.js"), "../language/pt-PT.json": () => import("./pt-PT-DBZj2dDI.js"), "../language/ro-RO.json": () => import("./ro-RO-DaU2--fX.js"), "../language/sk-SK.json": () => import("./sk-SK-B-1yRol7.js"), "../language/sl-SI.json": () => import("./sl-SI-C_4ajjU4.js"), "../language/sv-SE.json": () => import("./sv-SE-DKnUr7xo.js") }), `../language/${lang}.json`, 3) }
|
|
33
|
-
]);
|
|
34
|
-
if (!rootLe) {
|
|
35
|
-
return /* @__PURE__ */ jsx(Loader, {});
|
|
36
|
-
}
|
|
37
|
-
const problems = capabilityProblems && transferInstrumentId ? getProblemsForEntity(capabilityProblems, EntityTypes.BANK_ACCOUNT, transferInstrumentId) : void 0;
|
|
38
|
-
return /* @__PURE__ */ jsx(
|
|
39
|
-
PayoutDetailsDropin,
|
|
40
|
-
{
|
|
41
|
-
taskType,
|
|
42
|
-
currentTransferInstrumentId: transferInstrumentId,
|
|
43
|
-
setCurrentTransferInstrumentId: setTransferInstrumentId,
|
|
44
|
-
legalEntityResponse: rootLe,
|
|
45
|
-
problems,
|
|
46
|
-
onSubmit,
|
|
47
|
-
handleHomeClick,
|
|
48
|
-
navigateBackToTaskList: handleHomeClick,
|
|
49
|
-
openBankingPartnerConfigId
|
|
50
|
-
}
|
|
51
|
-
);
|
|
52
|
-
}
|
|
53
|
-
export {
|
|
54
|
-
PayoutDetailsPage
|
|
55
|
-
};
|