@adyen/kyc-components 4.6.3 → 4.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-XaeVhsGD.js → AcceptTermsOfServiceComponent-CFuKCmzi.js} +17 -18
- package/dist/{AccountSetupRejected-CCTKPh4T.js → AccountSetupRejected-CJO8fFLr.js} +2 -2
- package/dist/{ActionBar-DIFvfiMP.js → ActionBar-DW4IMRZg.js} +1 -1
- package/dist/{Address-CVPObm6B.js → Address-Czpdu7Iv.js} +15 -15
- package/dist/{Avatar-Cf37hJy8.js → Avatar-CaZQ-oyL.js} +1 -1
- package/dist/{BusinessFinancingComponent-MO_80E8a.js → BusinessFinancingComponent-CvmqdPg-.js} +6 -6
- package/dist/{BusinessFinancingDropin-C6g7xB95.js → BusinessFinancingDropin-CA5D0PgR.js} +28 -30
- package/dist/BusinessFinancingPage-CcCpkh2o.js +43 -0
- package/dist/{BusinessTypeSelectionPage-q-ohll63.js → BusinessTypeSelectionPage-DxpkzhZp.js} +9 -11
- package/dist/{Checkbox-CZ-K3Ygt.js → Checkbox-BbVX_nZi.js} +1 -1
- package/dist/{Confirm-Bfhearjt.js → Confirm-DW7YOE1F.js} +2 -2
- package/dist/{ConstitutionalDocument-BZcUcXNX.js → ConstitutionalDocument-CK6FFFwg.js} +37 -26
- package/dist/{ContactDetails-CLSUzFP_.js → ContactDetails-Dx7dJnqB.js} +9 -19
- package/dist/{ContextGuidance-BopbaLr-.js → ContextGuidance-C7HDkmZU.js} +1 -1
- package/dist/{CountryField-BJAayKID.js → CountryField-CAgo6wFJ.js} +3 -3
- package/dist/{CreateIndividualComponent-D2-0xOiU.js → CreateIndividualComponent-BP_biPqN.js} +6 -6
- package/dist/{CreateTransferInstrumentComponent-CKnK4wTB.js → CreateTransferInstrumentComponent-CAg8dLjP.js} +4 -4
- package/dist/{Currency-BsVi8QRc.js → Currency-DUnZGkXH.js} +7 -7
- package/dist/{CustomerSupport-CJTSCIsJ.js → CustomerSupport-D2iXL505.js} +10 -12
- package/dist/{DebugModal-B44T9eDP.js → DebugModal-CUcMO4o_.js} +7 -7
- package/dist/{DecisionMakerDetails-DJmL0mgp.js → DecisionMakerDetails-Bp33aJUr.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-BBa--1Xr.js → DecisionMakerDetailsPage-DSFo-4Sk.js} +8 -8
- package/dist/{DecisionMakers-B9o4bDnw.js → DecisionMakers-Bnvwoz_7.js} +20 -22
- package/dist/{Dropzone-CHADYCWU.js → Dropzone-F8Ut9D_V.js} +4 -4
- package/dist/{EmbeddedStatus-CUGRqHWU.js → EmbeddedStatus-GocVl-7i.js} +2 -2
- package/dist/{EndStateLayout-CWFjt8_u.js → EndStateLayout-BBLxK9Q1.js} +1 -1
- package/dist/{EntityAssociation-COqNeSzy.js → EntityAssociation-CpVhhf1f.js} +5 -5
- package/dist/{EntityGuidanceStatus-BOjmARXU.js → EntityGuidanceStatus-BBdOh7as.js} +4 -4
- package/dist/{ErrorPanel-BFnWeBCJ.js → ErrorPanel-D3OmtL80.js} +2 -2
- package/dist/{Field-B8NADHt-.js → Field-ClKiPVDa.js} +1 -1
- package/dist/{FormNavigation-CZGO4M_r.js → FormNavigation-CbHvKnKB.js} +2 -2
- package/dist/{Individual.rules-CcCj7FCg.js → Individual.rules-DChMs8iu.js} +6 -6
- package/dist/{IndividualDropin-D4VcAQnB.js → IndividualDropin-D--ImJNx.js} +164 -121
- package/dist/{InputDate-BvgrweAT.js → InputDate-BajoDzsK.js} +2 -2
- package/dist/{InputText-D6VoNS-R.js → InputText-C8kj07ZB.js} +1 -1
- package/dist/{Introduction-DCEmOIU3.js → Introduction-ejHrYyaC.js} +4 -6
- package/dist/{InvitedDecisionMakerComponent-D-Mxf7Sa.js → InvitedDecisionMakerComponent-BUrtBWme.js} +18 -13
- package/dist/{JpAddress-aZ8F40cK.js → JpAddress-BpaKGrVA.js} +10 -10
- package/dist/{LandingLayout-Co0T9hoE.js → LandingLayout-B_Cw3o3Q.js} +5 -3
- package/dist/{LegalCompanyNameField-EsmoOYWn.js → LegalCompanyNameField-BRzGJ-Ov.js} +6 -6
- package/dist/{LegalRepresentativeDetailsPage-ChOjFSdk.js → LegalRepresentativeDetailsPage-D71SlyLs.js} +4 -4
- package/dist/{Link-QFSK0XUO.js → Link-DS54L_TE.js} +1 -1
- package/dist/{ListItem-rRlEZCTu.js → ListItem-CFcOIT6E.js} +2 -2
- package/dist/{LoaderWrapper-DlhbbEYS.js → LoaderWrapper-DvyhRweQ.js} +1 -1
- package/dist/ManageIndividualComponent-BXxl7p95.js +46 -0
- package/dist/{ManageTermsOfServiceComponent-B4WTTK1V.js → ManageTermsOfServiceComponent-4e_ydA_6.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-C716Mbf2.js → ManageTransferInstrumentComponent-D52NH0jS.js} +10 -10
- package/dist/{MaskedInput-Cj3Be_WU.js → MaskedInput-ApBB9ewS.js} +5 -5
- package/dist/{MaybeModal-nSPl0yfm.js → MaybeModal-l7k-LBMJ.js} +2 -2
- package/dist/{Modal-D1Yiugk1.js → Modal-C5mnAneL.js} +3 -3
- package/dist/{Name-Pp6IOBxl.js → Name-BVk4_a2-.js} +5 -5
- package/dist/{NewSummary-DKld0bET.js → NewSummary-R9k7ZbPo.js} +2 -2
- package/dist/{OnboardingDropinComponent-DsvTtn8J.js → OnboardingDropinComponent-45YclRJI.js} +88 -75
- package/dist/{PayoutDetailsDropin-DANG1pDw.js → PayoutDetailsDropin-1vKgokN-.js} +465 -228
- package/dist/PayoutDetailsPage-CXwueRbW.js +914 -0
- package/dist/{RadioGroup-DwACEtfi.js → RadioGroup-CbeNPI_8.js} +2 -2
- package/dist/{Review-Dsp3Zk67.js → Review-DzrxzNY0.js} +6 -6
- package/dist/{RootBusinessDetailsPage-mquvEyt7.js → RootBusinessDetailsPage-eStzwQJf.js} +5 -5
- package/dist/{RootBusinessLinesPage-DCSgZuZD.js → RootBusinessLinesPage-omnttABd.js} +28 -37
- package/dist/{RootIndividualDetailsPage-BALuMNT2.js → RootIndividualDetailsPage-BcxaLjad.js} +7 -7
- package/dist/{Select-Bp6g62Kp.js → Select-Czm2JclY.js} +3 -3
- package/dist/{SignPCIComponent-CfWNRHUh.js → SignPCIComponent-DXAeetcT.js} +11 -13
- package/dist/{SingpassSelection-Cpouo3cB.js → SingpassSelection-CPgrgp4C.js} +5 -5
- package/dist/{SoleProprietorshipPage-KtyWIVNn.js → SoleProprietorshipPage-DmIKoFtO.js} +4 -4
- package/dist/{SourceOfFundsPage-B1lV40GU.js → SourceOfFundsPage-DofHZlzT.js} +33 -35
- package/dist/{StepProgressIndicator-U5DG_o4X.js → StepProgressIndicator-rIXID-AK.js} +1 -1
- package/dist/{StoreProvider-hNCKWSzB.js → StoreProvider-Bt6bLVE-.js} +111 -91
- package/dist/{Summary-NFgvajMx.js → Summary-BUJLYAgF.js} +7 -20
- package/dist/{TaxInformationField-ef1_TQvO.js → TaxInformationField-CknxoOIl.js} +27 -23
- package/dist/{TaxReportingDropin-OMrPS7PX.js → TaxReportingDropin-Bn4a54-x.js} +14 -16
- package/dist/{TextArea-BnlstVGI.js → TextArea-CKD5zTKW.js} +1 -1
- package/dist/{TileGroup-DTnywnyF.js → TileGroup-UvRO_GGK.js} +2 -2
- package/dist/{TrustDetailsPage-D7FoWYJC.js → TrustDetailsPage-BBg2UhIm.js} +32 -41
- package/dist/{TrustMemberCompanyPage-BaBDjZDf.js → TrustMemberCompanyPage-sG_Tsffg.js} +6 -6
- package/dist/{TrustMemberIndividualPage-BLZwEIxg.js → TrustMemberIndividualPage-Cpk0LIwl.js} +6 -6
- package/dist/{TrustMemberRoleAndTypePage-BVMuoGHX.js → TrustMemberRoleAndTypePage-h8cM9Ltb.js} +22 -22
- package/dist/{TrustMembersOverview-vsUsCHml.js → TrustMembersOverview-Hqb3o_y6.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-BBmy3wse.js → UnincorporatedPartnershipIndividualPage-CdpFVv2I.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DqFOtoRR.js → UnincorporatedPartnershipMemberCompanyPage-CuOQsMrw.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CBF8M7cR.js → UnincorporatedPartnershipMemberRoleAndTypePage-BLcsgLCP.js} +11 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-JwdguZNL.js → UnincorporatedPartnershipMembersOverview-ClQQnnrs.js} +7 -7
- package/dist/{VerificationErrorAlert-CpEbIDR3.js → VerificationErrorAlert-Clxb4YjL.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-DgOa7RsZ.js → ViewVerificationStatusComponent-yJyifkQm.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-Cf0EyXIO.js → bafinUtils-DsUdZgzH.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-Cl95UfG4.js → commonValidators-2G1K0mHC.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-BY7YDLvA.js → dropinUtils-D3x5I-79.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-os98XaB-.js → formUtils-C1nur8r7.js} +2 -2
- 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-t_vGHMzu.js → getName-B_JUBLVR.js} +1 -1
- package/dist/{getProblemsForEntity-DKjmIXBa.js → getProblemsForEntity-BSfnPYoe.js} +1 -1
- package/dist/{getTrustedFields-BrXqOBCX.js → getTrustedFields-CEoqo2CR.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-ze-XxTHy.js → isEmpty-CpSE7NAw.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-DYEPbhFP.js → japanSupportUtils-CprkdtHL.js} +1 -1
- package/dist/{localizeDateString-BVk8Wvy3.js → localizeDateString-BLDvqFOU.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-BqPAjtnr.js → mapExistingFile-DUgMBW9t.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-WxoGOrHr.js → mapJpAddressSchemaToAddressLocalizations-BXIw8J3t.js} +2 -2
- package/dist/{mapLegalEntityToIndividualSchema-B0s8GG9o.js → mapLegalEntityToIndividualSchema-BRQ51OQI.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-BsiLVcTY.js → mapTransferInstrumentToPayoutAccount-DaLPVgIK.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-DqCASsJA.js → omitObscuredFieldsIfUnchanged-ChSKB1LF.js} +3 -3
- package/dist/{patternValidators-Dx583C-1.js → patternValidators-0N8_moed.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-DIs_LC2a.js → process-field-configurations-DNb-fWox.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-CoyMk9x-.js → resolveEnvironment-RNyhTkW8.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-NqHcHFCe.js → roleMetadata-CuLbD5YE.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-lbafosQE.js → types-CJnNafzu.js} +2 -2
- package/dist/{types-BRLYR2Wx.js → types-DqaPuyRe.js} +1 -1
- package/dist/{types-C4RAJtRF.js → types-Ds3BWDI-.js} +1 -1
- package/dist/{unincorporated-partnership-KMmroXu1.js → unincorporated-partnership-DDPy7qIp.js} +1 -1
- package/dist/{useAssociatedLegalEntity-Dlgpas6D.js → useAssociatedLegalEntity-R9-aucnr.js} +1 -1
- package/dist/{useBusinessDetailsData-CPww2HAm.js → useBusinessDetailsData-BKgf0j8T.js} +379 -373
- package/dist/{useCreateLegalEntity-D3ObXaof.js → useCreateLegalEntity-BEEy8g0o.js} +1 -1
- package/dist/{useForm-BSHD2KTa.js → useForm-BQaffiEa.js} +3 -3
- package/dist/{useFormContext-DKaDgcgR.js → useFormContext-BZwb6dry.js} +7 -7
- package/dist/{useGlobalData-kQ8hN10Q.js → useGlobalData-RPqQO2_m.js} +9 -9
- package/dist/{useMultiForm-BG8MF6DI.js → useMultiForm-DrspjU-_.js} +4 -4
- package/dist/{useOnboardingStatus-CZ0x4yyk.js → useOnboardingStatus-Cx2RfslI.js} +1 -1
- package/dist/{useScenarios-Bn3EGOHA.js → useScenarios-ZY51ox86.js} +1 -1
- package/dist/{useTermsOfServiceStatus-BscviiB7.js → useTermsOfServiceStatus-C_6N4XIw.js} +1 -1
- package/dist/{useToastContext-Bxju6PLZ.js → useToastContext-CKEFuMZU.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-CmJaMQa-.js → useUnincorporatedPartnershipMembers-B0loJKYp.js} +4 -4
- package/dist/{useUpdateBusinessLines-97t7rLep.js → useUpdateBusinessLines-bS2l9wAZ.js} +5 -7
- package/dist/{useUpdateLegalEntity-CLWcAVwj.js → useUpdateLegalEntity-5AD9uK8f.js} +2 -2
- package/dist/{utils-CKTSKzWR.js → utils-4YBHq5mh.js} +1 -1
- package/dist/{utils-8cw25Nur.js → utils-BuiPHqFZ.js} +1 -1
- package/dist/{utils-C1FWQvf0.js → utils-BzAU2BN1.js} +3 -3
- package/dist/{utils-DPRgxXmU.js → utils-CqJ09Ne0.js} +6 -6
- package/dist/{utils-BN54hZUe.js → utils-DpBs-qSJ.js} +2 -2
- package/dist/{validate-BnCwLSUb.js → validate-BMFS_55S.js} +2 -2
- package/dist/{validate-BxU9EEi6.js → validate-CmVYROUS.js} +3 -3
- package/dist/{validationError-sIV2dUoW.js → validationError-CSob70hx.js} +2 -2
- package/package.json +10 -10
- package/dist/BusinessFinancingPage-B5Nk3rx2.js +0 -43
- package/dist/ManageIndividualComponent-DQ9mC9zr.js +0 -46
- package/dist/PayoutDetailsPage-DCmlsSbE.js +0 -55
- package/dist/en-US-CJDkXFZ6.js +0 -13
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/formatAccountVerificationSummary.d.ts +0 -7
- package/dist/useTaskLandedEvent-Cee5Mvme.js +0 -25
|
@@ -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-Bt6bLVE-.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-Bt6bLVE-.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-BuiPHqFZ.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-Bt6bLVE-.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DvyhRweQ.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-l7k-LBMJ.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-D3x5I-79.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-DW7YOE1F.js";
|
|
19
|
+
import { S as Summary } from "./Summary-BUJLYAgF.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-Bt6bLVE-.js";
|
|
13
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DvyhRweQ.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-l7k-LBMJ.js";
|
|
15
|
+
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-C5mnAneL.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-rIXID-AK.js";
|
|
18
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-D3x5I-79.js";
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-CbHvKnKB.js";
|
|
20
|
+
import { s as summaryStep, S as Summary } from "./Summary-BUJLYAgF.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-Bt6bLVE-.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-BuiPHqFZ.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-2G1K0mHC.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-Bt6bLVE-.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-Bt6bLVE-.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-Bt6bLVE-.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-Bt6bLVE-.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-Bt6bLVE-.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-R9-aucnr.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-DDPy7qIp.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-B_JUBLVR.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-Bt6bLVE-.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-ClKiPVDa.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-Czm2JclY.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-CKEFuMZU.js";
|
|
12
|
+
import { b as useApiContext, j as httpPost } from "./StoreProvider-Bt6bLVE-.js";
|
|
13
13
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
15
15
|
{
|
|
@@ -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] = "e155a86d-d9cb-4533-9e05-20481f9e3910", e._sentryDebugIdIdentifier = "sentry-dbid-e155a86d-d9cb-4533-9e05-20481f9e3910");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
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-Bt6bLVE-.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-BLDvqFOU.js";
|
|
14
14
|
const formatCurrency = (amount, currency, locale) => {
|
|
15
15
|
const { format } = new Intl.NumberFormat(
|
|
16
16
|
locale,
|
|
@@ -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-DsUdZgzH.js";
|
|
11
|
+
import { a8 as getLegalEntityCountry, bB as getCapabilities, L as LegalEntityTypes, q as hasOwnEntityAssociationOfType, a9 as CountryCodes } from "./StoreProvider-Bt6bLVE-.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-45YclRJI.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-DChMs8iu.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-Ds3BWDI-.js";
|
|
15
15
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
16
16
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
17
17
|
CountryCodes.UnitedStates,
|
|
@@ -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] = "d907bfed-3cb4-4276-bbf6-246c25c34473", e._sentryDebugIdIdentifier = "sentry-dbid-d907bfed-3cb4-4276-bbf6-246c25c34473");
|
|
6
6
|
} catch (e) {
|
|
7
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-Bt6bLVE-.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] = "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-Bt6bLVE-.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] = "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-Bt6bLVE-.js";
|
|
12
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-4YBHq5mh.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] = "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-Bt6bLVE-.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.1",
|
|
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-hNCKWSzB.js";
|
|
11
|
-
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-C6g7xB95.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-hNCKWSzB.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-hNCKWSzB.js";
|
|
11
|
-
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useOnboardingStatus } from "./useOnboardingStatus-CZ0x4yyk.js";
|
|
13
|
-
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
14
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-CUGRqHWU.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-hNCKWSzB.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-hNCKWSzB.js";
|
|
11
|
-
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { useParams } from "wouter-preact";
|
|
13
|
-
import { f as useNavigate } from "./OnboardingDropinComponent-DsvTtn8J.js";
|
|
14
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-DKjmIXBa.js";
|
|
15
|
-
import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-DANG1pDw.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
|
-
};
|