@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
package/dist/{AcceptTermsOfServiceComponent-XaeVhsGD.js → AcceptTermsOfServiceComponent-CFuKCmzi.js}
RENAMED
|
@@ -2,31 +2,30 @@
|
|
|
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] = "60d0b582-406a-4de6-91b5-9a94e710ca9d", e._sentryDebugIdIdentifier = "sentry-dbid-60d0b582-406a-4de6-91b5-9a94e710ca9d");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as httpPost, k as httpGet, ae as createLogger, u as useTranslation, x as useAnalyticsContext, H as useToggleContext, aw as getLanguageCode, C as Alert, V as Button, L as LegalEntityTypes, a2 as getOwnSignatories, a0 as doesLegalEntityRequiresLegalRepresentative, a1 as getLegalRepresentative, a as addResourceBundles, P as useLegalEntity, U as Loader, w as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as httpPost, k as httpGet, ae as createLogger, u as useTranslation, x as useAnalyticsContext, H as useToggleContext, aw as getLanguageCode, C as Alert, V as Button, L as LegalEntityTypes, a2 as getOwnSignatories, a0 as doesLegalEntityRequiresLegalRepresentative, a1 as getLegalRepresentative, a as addResourceBundles, P as useLegalEntity, U as Loader, w as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-Bt6bLVE-.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
13
|
import { useMutation, useQuery, skipToken } from "@tanstack/preact-query";
|
|
14
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
15
|
-
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
14
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-CKEFuMZU.js";
|
|
15
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-C_6N4XIw.js";
|
|
16
16
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
17
|
-
import { C as Checkbox } from "./Checkbox-
|
|
18
|
-
import { F as Field } from "./Field-
|
|
19
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
20
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
17
|
+
import { C as Checkbox } from "./Checkbox-BbVX_nZi.js";
|
|
18
|
+
import { F as Field } from "./Field-ClKiPVDa.js";
|
|
19
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DvyhRweQ.js";
|
|
20
|
+
import { M as MaybeModal } from "./MaybeModal-l7k-LBMJ.js";
|
|
21
21
|
import { P as ProgressBar } from "./ProgressBar-B7gTQncy.js";
|
|
22
|
-
import { S as Select } from "./Select-
|
|
23
|
-
import { u as useForm } from "./useForm-
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import { F as FormNavigation } from "./FormNavigation-CZGO4M_r.js";
|
|
22
|
+
import { S as Select } from "./Select-Czm2JclY.js";
|
|
23
|
+
import { u as useForm } from "./useForm-BQaffiEa.js";
|
|
24
|
+
import { E as EndStateLayout } from "./EndStateLayout-BBLxK9Q1.js";
|
|
25
|
+
import { F as FormNavigation } from "./FormNavigation-CbHvKnKB.js";
|
|
27
26
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
28
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
29
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
27
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-B_JUBLVR.js";
|
|
28
|
+
import { l as localizeDateString } from "./localizeDateString-BLDvqFOU.js";
|
|
30
29
|
import { C as ContractViewer } from "./ContractViewer-DcQHIGMU.js";
|
|
31
30
|
const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
|
|
32
31
|
return httpPost(
|
|
@@ -186,7 +185,8 @@ const serviceAgreementTypesTranslationMapping = {
|
|
|
186
185
|
adyenCard: "cardUserTerms",
|
|
187
186
|
adyenFranchisee: "franchiseesTAndCs",
|
|
188
187
|
adyenPccr: "pccr",
|
|
189
|
-
adyenChargeCard: "chargeCardUserAgreement"
|
|
188
|
+
adyenChargeCard: "chargeCardUserAgreement",
|
|
189
|
+
kycOnInvite: "kycOnInvite"
|
|
190
190
|
};
|
|
191
191
|
const logger = createLogger();
|
|
192
192
|
const FALLBACK_LANGUAGE_CODE = "en";
|
|
@@ -318,7 +318,6 @@ function ServiceAgreementDropin({
|
|
|
318
318
|
if (!serviceAgreementAcceptanceInfos.length) return;
|
|
319
319
|
gotoForm(serviceAgreementAcceptanceInfos.length - 1);
|
|
320
320
|
}, [serviceAgreementAcceptanceInfos]);
|
|
321
|
-
useTaskLandedEvent("SERVICE_AGREEMENT");
|
|
322
321
|
useEffect(() => {
|
|
323
322
|
const initialFormIndex = forms.length === signedForms.length ? 0 : signedForms.length;
|
|
324
323
|
gotoForm(initialFormIndex);
|
|
@@ -583,7 +582,7 @@ function AcceptTermsOfServiceComponent({
|
|
|
583
582
|
}
|
|
584
583
|
const { i18n } = useTranslation();
|
|
585
584
|
addResourceBundles(i18n, [
|
|
586
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
585
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-dmpv4Zom.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-6rOIfRJu.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-C_GqHCay.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BmWBo3gX.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-Fo7-xCrc.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-Bt6bLVE-.js").then((n) => n.bS), "../../../language/locales/es-ES.json": () => import("./es-ES-BkqlH093.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-H8yxvhQj.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BfwJVwi9.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-CzjsW73Q.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-ZrpQrsik.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-Ds3go4h4.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Dx15tkIe.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-Qu7oEIEy.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BebOeKIA.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CYcrO-6d.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-FbJ2sHba.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B5BjEy8n.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-DuM6hbqZ.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKKQIUJP.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CC7zlk3R.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-CuabgXj1.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-DM1yY8DA.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI--pDTatHh.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CDxyyNV0.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
587
586
|
{ ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/bg-BG.json": () => import("./bg-BG-DbFzLQK7.js"), "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-CBuNZ7UO.js"), "../../Contract/language/da-DK.json": () => import("./da-DK-CLdNh9JT.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-BT5g7ZXC.js"), "../../Contract/language/el-GR.json": () => import("./el-GR-BvRBuezU.js"), "../../Contract/language/en-US.json": () => import("./en-US-CgakND3H.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-4FS7NoE7.js"), "../../Contract/language/et-EE.json": () => import("./et-EE-CksV5_e1.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-XpnJRPgt.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-TqAhPvzz.js"), "../../Contract/language/hr-HR.json": () => import("./hr-HR-CKZ_yuXC.js"), "../../Contract/language/hu-HU.json": () => import("./hu-HU-BEV8uVRt.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-D-jYXj6V.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-8yMqZqF2.js"), "../../Contract/language/lt-LT.json": () => import("./lt-LT-CK0t2AVY.js"), "../../Contract/language/lv-LV.json": () => import("./lv-LV-JvlzK9X-.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-Jhr-ICkK.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-BH6DId3q.js"), "../../Contract/language/pl-PL.json": () => import("./pl-PL-B5c0NNHB.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-4Iozxvfr.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-09L8XznW.js"), "../../Contract/language/ro-RO.json": () => import("./ro-RO-D7-7tmTR.js"), "../../Contract/language/sk-SK.json": () => import("./sk-SK-D3tsz1Pg.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-Y9h1ht45.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-DFSm22oQ.js") }), `../../Contract/language/${lang}.json`, 5) },
|
|
588
587
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-B-qSAb-7.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) }
|
|
589
588
|
]);
|
|
@@ -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] = "c618ce34-429a-4bed-b3d8-a99d362a677a", e._sentryDebugIdIdentifier = "sentry-dbid-c618ce34-429a-4bed-b3d8-a99d362a677a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useTranslation,
|
|
11
|
+
import { u as useTranslation, bC as AlertIcon, aB as Header, bD as DropinLayout } from "./StoreProvider-Bt6bLVE-.js";
|
|
12
12
|
function AccountSetupRejected() {
|
|
13
13
|
const { t } = useTranslation("common");
|
|
14
14
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -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] = "ed46b047-0cdf-40c9-8e40-233c3b7127a2", e._sentryDebugIdIdentifier = "sentry-dbid-ed46b047-0cdf-40c9-8e40-233c3b7127a2");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,16 +10,16 @@
|
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useCallback, useState, useMemo, useEffect } from "preact/hooks";
|
|
12
12
|
import { useQuery } from "@tanstack/preact-query";
|
|
13
|
-
import { b as useApiContext, j as httpPost, k as httpGet, u as useTranslation, z as Icon, x as useAnalyticsContext, ab as translateTranslatable, a9 as CountryCodes, ap as useDataset, aq as datasetIdentifier,
|
|
14
|
-
import { u as useForm } from "./useForm-
|
|
15
|
-
import { c as createFormUtils } from "./formUtils-
|
|
16
|
-
import { F as Field } from "./Field-
|
|
17
|
-
import { I as InputText } from "./InputText-
|
|
18
|
-
import { S as Select } from "./Select-
|
|
13
|
+
import { b as useApiContext, j as httpPost, k as httpGet, u as useTranslation, z as Icon, x as useAnalyticsContext, ab as translateTranslatable, a9 as CountryCodes, ap as useDataset, aq as datasetIdentifier, bd as getFormattingRegEx, be as SPECIAL_CHARS, bf as trimValWithOneSpace, ae as createLogger, aL as hasText, aC as matchesRegex, aH as isInvalidName, aF as hasMaximumTwoRepeatedCharacters, aG as hasRepeatedCharacters, bg as isValidMinLength, bh as chomeAndBanchiValidator, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, bi as ADDRESS_VALID_CHAR_REGEX, bj as NO_ALPHABET_UNICODE_REGEX, H as useToggleContext, ao as entriesOf, bk as getMaxLengthByFieldAndCountry } from "./StoreProvider-Bt6bLVE-.js";
|
|
14
|
+
import { u as useForm } from "./useForm-BQaffiEa.js";
|
|
15
|
+
import { c as createFormUtils } from "./formUtils-C1nur8r7.js";
|
|
16
|
+
import { F as Field } from "./Field-ClKiPVDa.js";
|
|
17
|
+
import { I as InputText } from "./InputText-C8kj07ZB.js";
|
|
18
|
+
import { S as Select } from "./Select-Czm2JclY.js";
|
|
19
19
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
20
|
-
import { C as CountryField } from "./CountryField-
|
|
21
|
-
import { C as COUNTRIES_WITH_STATES_DATASET, c as getKeyForField, d as COUNTRIES_WITH_HOUSE_NUMBER_FIRST, g as getAddressSchemaForCountry, e as CONDENSED_ADDRESS_FIELDS } from "./utils-
|
|
22
|
-
import { a as validateNotEmptyOnBlur } from "./patternValidators-
|
|
20
|
+
import { C as CountryField } from "./CountryField-CAgo6wFJ.js";
|
|
21
|
+
import { C as COUNTRIES_WITH_STATES_DATASET, c as getKeyForField, d as COUNTRIES_WITH_HOUSE_NUMBER_FIRST, g as getAddressSchemaForCountry, e as CONDENSED_ADDRESS_FIELDS } from "./utils-DpBs-qSJ.js";
|
|
22
|
+
import { a as validateNotEmptyOnBlur } from "./patternValidators-0N8_moed.js";
|
|
23
23
|
const getNestedTrustedFields = (field, data, trustedFields) => {
|
|
24
24
|
if (trustedFields && data?.[field] && typeof data[field] === "object") {
|
|
25
25
|
return trustedFields.reduce(
|
|
@@ -798,7 +798,7 @@ const countrySpecificOtherAddressInformationValidators = (country) => {
|
|
|
798
798
|
return void 0;
|
|
799
799
|
}
|
|
800
800
|
};
|
|
801
|
-
const addressValidationRulesV4 = (country, t) => {
|
|
801
|
+
const addressValidationRulesV4 = (country, t, isFeatureEnabled = () => false) => {
|
|
802
802
|
const postalCodeFormat = country ? countrySpecificFormatters[country]?.postalCode?.format : void 0;
|
|
803
803
|
const MIN_LENGTH_3 = 3;
|
|
804
804
|
const MIN_LENGTH_2 = 2;
|
|
@@ -858,7 +858,7 @@ const addressValidationRulesV4 = (country, t) => {
|
|
|
858
858
|
},
|
|
859
859
|
{
|
|
860
860
|
modes: ["blur"],
|
|
861
|
-
validate: (val) => !matchesRegex(EMOJI_REGEX, val) && !hasRepeatedCharacters(val) && !isInvalidName(val),
|
|
861
|
+
validate: (val) => !matchesRegex(EMOJI_REGEX, val) && (isFeatureEnabled("EnableAllowTwoRepeatedCharactersInName") ? !hasMaximumTwoRepeatedCharacters(val) : !hasRepeatedCharacters(val)) && !isInvalidName(val),
|
|
862
862
|
errorMessage: "checkForTypos"
|
|
863
863
|
},
|
|
864
864
|
{
|
|
@@ -886,7 +886,7 @@ const addressValidationRulesV4 = (country, t) => {
|
|
|
886
886
|
},
|
|
887
887
|
{
|
|
888
888
|
modes: ["blur"],
|
|
889
|
-
validate: (val) => !hasRepeatedCharacters(val) && !isInvalidName(val),
|
|
889
|
+
validate: (val) => (isFeatureEnabled("EnableAllowTwoRepeatedCharactersInName") ? !hasMaximumTwoRepeatedCharacters(val) : !hasRepeatedCharacters(val)) && !isInvalidName(val),
|
|
890
890
|
errorMessage: "checkForTypos"
|
|
891
891
|
}
|
|
892
892
|
],
|
|
@@ -915,7 +915,7 @@ const addressValidators = ({
|
|
|
915
915
|
country,
|
|
916
916
|
t
|
|
917
917
|
}) => ({
|
|
918
|
-
...isFeatureEnabled?.("StrictNameAndAddressValidationV4") ? addressValidationRulesV4(country, t) : addressValidationRules(country)
|
|
918
|
+
...isFeatureEnabled?.("StrictNameAndAddressValidationV4") ? addressValidationRulesV4(country, t, isFeatureEnabled) : addressValidationRules(country)
|
|
919
919
|
});
|
|
920
920
|
const preventPoBoxValidation = (cleanseAddress2) => ({
|
|
921
921
|
address: {
|
|
@@ -975,7 +975,7 @@ function Address({
|
|
|
975
975
|
}, [dataProp?.country, requiredFields]);
|
|
976
976
|
const rules = useMemo(() => addressValidationRules(dataProp?.country), [dataProp?.country]);
|
|
977
977
|
const rulesV4 = useMemo(
|
|
978
|
-
() => addressValidationRulesV4(dataProp?.country, t),
|
|
978
|
+
() => addressValidationRulesV4(dataProp?.country, t, isFeatureEnabled),
|
|
979
979
|
[dataProp?.country, t]
|
|
980
980
|
);
|
|
981
981
|
const cleanseAddress2 = useAddressCleanseImperatively();
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { z as Icon } from "./StoreProvider-
|
|
12
|
+
import { z as Icon } from "./StoreProvider-Bt6bLVE-.js";
|
|
13
13
|
const avatar = "adyen-kyc-avatar";
|
|
14
14
|
const avatarLabel = "adyen-kyc-avatar-label";
|
|
15
15
|
const avatarPrimary = "adyen-kyc-avatar-primary";
|
package/dist/{BusinessFinancingComponent-MO_80E8a.js → BusinessFinancingComponent-CvmqdPg-.js}
RENAMED
|
@@ -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] = "b39c825f-c293-4661-ba3c-1eb209efe588", e._sentryDebugIdIdentifier = "sentry-dbid-b39c825f-c293-4661-ba3c-1eb209efe588");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, P as useLegalEntity, a8 as getLegalEntityCountry, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, U as Loader } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, P as useLegalEntity, a8 as getLegalEntityCountry, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, U as Loader } from "./StoreProvider-Bt6bLVE-.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useMemo } from "preact/hooks";
|
|
13
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
14
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
13
|
+
import { M as MaybeModal } from "./MaybeModal-l7k-LBMJ.js";
|
|
14
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-CA5D0PgR.js";
|
|
15
15
|
function BusinessFinancingComponent({
|
|
16
16
|
legalEntityId,
|
|
17
17
|
onSubmitSuccess,
|
|
@@ -25,11 +25,11 @@ function BusinessFinancingComponent({
|
|
|
25
25
|
[rootLegalEntity]
|
|
26
26
|
);
|
|
27
27
|
addResourceBundles(i18n, [
|
|
28
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
28
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-dmpv4Zom.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-6rOIfRJu.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-C_GqHCay.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BmWBo3gX.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-Fo7-xCrc.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-Bt6bLVE-.js").then((n) => n.bS), "../../../language/locales/es-ES.json": () => import("./es-ES-BkqlH093.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-H8yxvhQj.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BfwJVwi9.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-CzjsW73Q.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-ZrpQrsik.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-Ds3go4h4.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Dx15tkIe.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-Qu7oEIEy.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BebOeKIA.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CYcrO-6d.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-FbJ2sHba.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B5BjEy8n.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-DuM6hbqZ.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKKQIUJP.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CC7zlk3R.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-CuabgXj1.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-DM1yY8DA.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI--pDTatHh.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CDxyyNV0.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
29
29
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-B-qSAb-7.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
30
30
|
{
|
|
31
31
|
ns: "businessFinancing",
|
|
32
|
-
importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../EFP/tasks/BusinessFinancingDropin/language/bg-BG.json": () => import("./bg-BG-
|
|
32
|
+
importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../EFP/tasks/BusinessFinancingDropin/language/bg-BG.json": () => import("./bg-BG-C9zrgb_c.js"), "../../EFP/tasks/BusinessFinancingDropin/language/cs-CZ.json": () => import("./cs-CZ-B-zm6HVH.js"), "../../EFP/tasks/BusinessFinancingDropin/language/da-DK.json": () => import("./da-DK-CGhsIGZt.js"), "../../EFP/tasks/BusinessFinancingDropin/language/de-DE.json": () => import("./de-DE-K9FyOJiI.js"), "../../EFP/tasks/BusinessFinancingDropin/language/el-GR.json": () => import("./el-GR-L-39cQfz.js"), "../../EFP/tasks/BusinessFinancingDropin/language/en-US.json": () => import("./en-US-DIlZD5Wh.js"), "../../EFP/tasks/BusinessFinancingDropin/language/es-ES.json": () => import("./es-ES-TUyeIp6F.js"), "../../EFP/tasks/BusinessFinancingDropin/language/et-EE.json": () => import("./et-EE-Cw_VydGb.js"), "../../EFP/tasks/BusinessFinancingDropin/language/fi-FI.json": () => import("./fi-FI-tgvQX_Iq.js"), "../../EFP/tasks/BusinessFinancingDropin/language/fr-FR.json": () => import("./fr-FR-ynC19lSF.js"), "../../EFP/tasks/BusinessFinancingDropin/language/hr-HR.json": () => import("./hr-HR--5syrowD.js"), "../../EFP/tasks/BusinessFinancingDropin/language/hu-HU.json": () => import("./hu-HU-BFiGk_QT.js"), "../../EFP/tasks/BusinessFinancingDropin/language/it-IT.json": () => import("./it-IT-C0Zv5ms9.js"), "../../EFP/tasks/BusinessFinancingDropin/language/ja-JP.json": () => import("./ja-JP--u211vje.js"), "../../EFP/tasks/BusinessFinancingDropin/language/lt-LT.json": () => import("./lt-LT-D2Hrhr7v.js"), "../../EFP/tasks/BusinessFinancingDropin/language/lv-LV.json": () => import("./lv-LV-D04q9r-y.js"), "../../EFP/tasks/BusinessFinancingDropin/language/nl-NL.json": () => import("./nl-NL-CJ7MoBj2.js"), "../../EFP/tasks/BusinessFinancingDropin/language/no-NO.json": () => import("./no-NO-C20s6CoP.js"), "../../EFP/tasks/BusinessFinancingDropin/language/pl-PL.json": () => import("./pl-PL-C19Btj2D.js"), "../../EFP/tasks/BusinessFinancingDropin/language/pt-BR.json": () => import("./pt-BR-zOjPTIPu.js"), "../../EFP/tasks/BusinessFinancingDropin/language/pt-PT.json": () => import("./pt-PT-t5M8xwTU.js"), "../../EFP/tasks/BusinessFinancingDropin/language/ro-RO.json": () => import("./ro-RO-DK9gVwS9.js"), "../../EFP/tasks/BusinessFinancingDropin/language/sk-SK.json": () => import("./sk-SK-2J6iKfmK.js"), "../../EFP/tasks/BusinessFinancingDropin/language/sl-SI.json": () => import("./sl-SI-D82ccY62.js"), "../../EFP/tasks/BusinessFinancingDropin/language/sv-SE.json": () => import("./sv-SE-CrBkos0z.js") }), `../../EFP/tasks/BusinessFinancingDropin/language/${lang}.json`, 7)
|
|
33
33
|
}
|
|
34
34
|
]);
|
|
35
35
|
const handleFinishClick = (data) => {
|
|
@@ -2,45 +2,44 @@
|
|
|
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] = "c51fdba3-682c-4ccb-aaa8-145b1e9a536e", e._sentryDebugIdIdentifier = "sentry-dbid-c51fdba3-682c-4ccb-aaa8-145b1e9a536e");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useEffect, useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
13
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
14
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
-
import { az as reverseMapping, aA as isEeaCountry, L as LegalEntityTypes, an as cloneObject, b as useApiContext, k as httpGet, u as useTranslation, N as Typography, aB as Header, am as datasetUtilities, ab as translateTranslatable, x as useAnalyticsContext, p as hasSolePropInLegalEntity, m as useSettingsContext, U as Loader, V as Button } from "./StoreProvider-
|
|
16
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
12
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-BEEy8g0o.js";
|
|
13
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-CKEFuMZU.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-5AD9uK8f.js";
|
|
15
|
+
import { az as reverseMapping, aA as isEeaCountry, L as LegalEntityTypes, an as cloneObject, b as useApiContext, k as httpGet, u as useTranslation, N as Typography, aB as Header, am as datasetUtilities, ab as translateTranslatable, x as useAnalyticsContext, p as hasSolePropInLegalEntity, m as useSettingsContext, U as Loader, V as Button } from "./StoreProvider-Bt6bLVE-.js";
|
|
16
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BZwb6dry.js";
|
|
17
17
|
import { S as SettingNames } from "./types-Dv0COrvY.js";
|
|
18
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
19
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
20
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
21
|
-
import {
|
|
22
|
-
import { E as
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport, L as LegalFormField, I as InputNumber, C as Currency, b as CURRENCY_FIELD, c as InputCurrency } from "./Currency-BsVi8QRc.js";
|
|
18
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-R9-aucnr.js";
|
|
19
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-D3x5I-79.js";
|
|
20
|
+
import { u as useMultiForm } from "./useMultiForm-DrspjU-_.js";
|
|
21
|
+
import { E as EndStateLayout } from "./EndStateLayout-BBLxK9Q1.js";
|
|
22
|
+
import { E as ErrorPanel } from "./ErrorPanel-D3OmtL80.js";
|
|
23
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-CSob70hx.js";
|
|
24
|
+
import { c as createFormUtils } from "./formUtils-C1nur8r7.js";
|
|
25
|
+
import { l as localizeDateString } from "./localizeDateString-BLDvqFOU.js";
|
|
26
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport, L as LegalFormField, I as InputNumber, C as Currency, b as CURRENCY_FIELD, c as InputCurrency } from "./Currency-DUnZGkXH.js";
|
|
28
27
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
29
|
-
import { c as currencyByCountry } from "./types-
|
|
28
|
+
import { c as currencyByCountry } from "./types-CJnNafzu.js";
|
|
30
29
|
import { g as getFieldProps } from "./getProps-Cc3J2-z9.js";
|
|
31
|
-
import { F as Field } from "./Field-
|
|
32
|
-
import { L as Link } from "./Link-
|
|
33
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
34
|
-
import { I as InputText } from "./InputText-
|
|
30
|
+
import { F as Field } from "./Field-ClKiPVDa.js";
|
|
31
|
+
import { L as Link } from "./Link-DS54L_TE.js";
|
|
32
|
+
import { R as RadioGroup } from "./RadioGroup-CbeNPI_8.js";
|
|
33
|
+
import { I as InputText } from "./InputText-C8kj07ZB.js";
|
|
35
34
|
import { useQuery } from "@tanstack/preact-query";
|
|
36
|
-
import { S as Select } from "./Select-
|
|
37
|
-
import { I as InputDate } from "./InputDate-
|
|
38
|
-
import { C as Checkbox } from "./Checkbox-
|
|
39
|
-
import { A as Address } from "./Address-
|
|
40
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-
|
|
41
|
-
import { C as CountryField } from "./CountryField-
|
|
42
|
-
import { N as NewSummary } from "./NewSummary-
|
|
43
|
-
import { b as businessFinancingMultiformRules } from "./validate-
|
|
35
|
+
import { S as Select } from "./Select-Czm2JclY.js";
|
|
36
|
+
import { I as InputDate } from "./InputDate-BajoDzsK.js";
|
|
37
|
+
import { C as Checkbox } from "./Checkbox-BbVX_nZi.js";
|
|
38
|
+
import { A as Address } from "./Address-Czpdu7Iv.js";
|
|
39
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-DpBs-qSJ.js";
|
|
40
|
+
import { C as CountryField } from "./CountryField-CAgo6wFJ.js";
|
|
41
|
+
import { N as NewSummary } from "./NewSummary-R9k7ZbPo.js";
|
|
42
|
+
import { b as businessFinancingMultiformRules } from "./validate-BMFS_55S.js";
|
|
44
43
|
const businessFinancingBaseMapping = {
|
|
45
44
|
legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
|
|
46
45
|
legalInformationInsolvency: "organization.statusOfLegalProceeding",
|
|
@@ -1824,7 +1823,6 @@ function BusinessFinancingDropin(props) {
|
|
|
1824
1823
|
rootLegalEntity,
|
|
1825
1824
|
"soleProprietorship"
|
|
1826
1825
|
);
|
|
1827
|
-
useTaskLandedEvent("BUSINESS_FINANCING");
|
|
1828
1826
|
const derivedData = useMemo(() => {
|
|
1829
1827
|
if (immediateParentCompanyIsLoading || ultimateParentCompanyIsLoading || soleProprietorIsLoading)
|
|
1830
1828
|
return void 0;
|
|
@@ -0,0 +1,43 @@
|
|
|
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] = "531b2be1-6544-415b-9e30-49a169d6bdac", e._sentryDebugIdIdentifier = "sentry-dbid-531b2be1-6544-415b-9e30-49a169d6bdac");
|
|
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-Bt6bLVE-.js";
|
|
11
|
+
import { jsx } from "preact/jsx-runtime";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-CA5D0PgR.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-C9zrgb_c.js"), "../tasks/BusinessFinancingDropin/language/cs-CZ.json": () => import("./cs-CZ-B-zm6HVH.js"), "../tasks/BusinessFinancingDropin/language/da-DK.json": () => import("./da-DK-CGhsIGZt.js"), "../tasks/BusinessFinancingDropin/language/de-DE.json": () => import("./de-DE-K9FyOJiI.js"), "../tasks/BusinessFinancingDropin/language/el-GR.json": () => import("./el-GR-L-39cQfz.js"), "../tasks/BusinessFinancingDropin/language/en-US.json": () => import("./en-US-DIlZD5Wh.js"), "../tasks/BusinessFinancingDropin/language/es-ES.json": () => import("./es-ES-TUyeIp6F.js"), "../tasks/BusinessFinancingDropin/language/et-EE.json": () => import("./et-EE-Cw_VydGb.js"), "../tasks/BusinessFinancingDropin/language/fi-FI.json": () => import("./fi-FI-tgvQX_Iq.js"), "../tasks/BusinessFinancingDropin/language/fr-FR.json": () => import("./fr-FR-ynC19lSF.js"), "../tasks/BusinessFinancingDropin/language/hr-HR.json": () => import("./hr-HR--5syrowD.js"), "../tasks/BusinessFinancingDropin/language/hu-HU.json": () => import("./hu-HU-BFiGk_QT.js"), "../tasks/BusinessFinancingDropin/language/it-IT.json": () => import("./it-IT-C0Zv5ms9.js"), "../tasks/BusinessFinancingDropin/language/ja-JP.json": () => import("./ja-JP--u211vje.js"), "../tasks/BusinessFinancingDropin/language/lt-LT.json": () => import("./lt-LT-D2Hrhr7v.js"), "../tasks/BusinessFinancingDropin/language/lv-LV.json": () => import("./lv-LV-D04q9r-y.js"), "../tasks/BusinessFinancingDropin/language/nl-NL.json": () => import("./nl-NL-CJ7MoBj2.js"), "../tasks/BusinessFinancingDropin/language/no-NO.json": () => import("./no-NO-C20s6CoP.js"), "../tasks/BusinessFinancingDropin/language/pl-PL.json": () => import("./pl-PL-C19Btj2D.js"), "../tasks/BusinessFinancingDropin/language/pt-BR.json": () => import("./pt-BR-zOjPTIPu.js"), "../tasks/BusinessFinancingDropin/language/pt-PT.json": () => import("./pt-PT-t5M8xwTU.js"), "../tasks/BusinessFinancingDropin/language/ro-RO.json": () => import("./ro-RO-DK9gVwS9.js"), "../tasks/BusinessFinancingDropin/language/sk-SK.json": () => import("./sk-SK-2J6iKfmK.js"), "../tasks/BusinessFinancingDropin/language/sl-SI.json": () => import("./sl-SI-D82ccY62.js"), "../tasks/BusinessFinancingDropin/language/sv-SE.json": () => import("./sv-SE-CrBkos0z.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-dmpv4Zom.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-6rOIfRJu.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-C_GqHCay.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BmWBo3gX.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-Fo7-xCrc.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-Bt6bLVE-.js").then((n) => n.bS), "../../../language/locales/es-ES.json": () => import("./es-ES-BkqlH093.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-H8yxvhQj.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BfwJVwi9.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-CzjsW73Q.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-ZrpQrsik.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-Ds3go4h4.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Dx15tkIe.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-Qu7oEIEy.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BebOeKIA.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CYcrO-6d.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-FbJ2sHba.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B5BjEy8n.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-DuM6hbqZ.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKKQIUJP.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CC7zlk3R.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-CuabgXj1.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-DM1yY8DA.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI--pDTatHh.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CDxyyNV0.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
|
+
};
|
package/dist/{BusinessTypeSelectionPage-q-ohll63.js → BusinessTypeSelectionPage-DxpkzhZp.js}
RENAMED
|
@@ -2,23 +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] = "a3aa2b6c-f005-41b5-92ba-89785e1437d1", e._sentryDebugIdIdentifier = "sentry-dbid-a3aa2b6c-f005-41b5-92ba-89785e1437d1");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { ae as createLogger, u as useTranslation, x as useAnalyticsContext, t as useAccountHolder,
|
|
11
|
+
import { ae as createLogger, u as useTranslation, x as useAnalyticsContext, t as useAccountHolder, bB as getCapabilities, a8 as getLegalEntityCountry, L as LegalEntityTypes, N as Typography, V as Button, P as useLegalEntity, U as Loader, R as ROOT_LE } from "./StoreProvider-Bt6bLVE-.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { F as Field } from "./Field-
|
|
15
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
13
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-5AD9uK8f.js";
|
|
14
|
+
import { F as Field } from "./Field-ClKiPVDa.js";
|
|
15
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DvyhRweQ.js";
|
|
16
16
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
17
|
-
import { T as TileGroup } from "./TileGroup-
|
|
18
|
-
import { u as useToastContext } from "./useToastContext-
|
|
19
|
-
import { u as useForm } from "./useForm-
|
|
20
|
-
import { u as
|
|
21
|
-
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-DPRgxXmU.js";
|
|
17
|
+
import { T as TileGroup } from "./TileGroup-UvRO_GGK.js";
|
|
18
|
+
import { u as useToastContext } from "./useToastContext-CKEFuMZU.js";
|
|
19
|
+
import { u as useForm } from "./useForm-BQaffiEa.js";
|
|
20
|
+
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-CqJ09Ne0.js";
|
|
22
21
|
const businessTypeExamples = /* @__PURE__ */ Object.assign({ "../localized/legalEntityTypeExamples/AT.json": () => import("./AT-EpV7jN58.js"), "../localized/legalEntityTypeExamples/AU.json": () => import("./AU-pBsEvEUy.js"), "../localized/legalEntityTypeExamples/BE.json": () => import("./BE-CU5o9cmc.js"), "../localized/legalEntityTypeExamples/BR.json": () => import("./BR-ORoHRwTk.js"), "../localized/legalEntityTypeExamples/CA.json": () => import("./CA-VXNq-m6m.js"), "../localized/legalEntityTypeExamples/CH.json": () => import("./CH-B_-afpD_.js"), "../localized/legalEntityTypeExamples/CZ.json": () => import("./CZ-CTw_bQIu.js"), "../localized/legalEntityTypeExamples/DE.json": () => import("./DE-D_jIDxOH.js"), "../localized/legalEntityTypeExamples/DK.json": () => import("./DK-dBzrfgpQ.js"), "../localized/legalEntityTypeExamples/ES.json": () => import("./ES-DYbZmFcJ.js"), "../localized/legalEntityTypeExamples/FI.json": () => import("./FI-C9nRvop7.js"), "../localized/legalEntityTypeExamples/FR.json": () => import("./FR-BycGQO4W.js"), "../localized/legalEntityTypeExamples/GB.json": () => import("./GB-DFyzo5sN.js"), "../localized/legalEntityTypeExamples/HK.json": () => import("./HK-WqZ5UBEF.js"), "../localized/legalEntityTypeExamples/HR.json": () => import("./HR-CRa19tH1.js"), "../localized/legalEntityTypeExamples/HU.json": () => import("./HU-D5NCweWf.js"), "../localized/legalEntityTypeExamples/IE.json": () => import("./IE-rhATS57q.js"), "../localized/legalEntityTypeExamples/IT.json": () => import("./IT-wD7dHdYD.js"), "../localized/legalEntityTypeExamples/LT.json": () => import("./LT-0F72uCyI.js"), "../localized/legalEntityTypeExamples/NL.json": () => import("./NL-q2U2l276.js"), "../localized/legalEntityTypeExamples/NO.json": () => import("./NO-CX12Zsf_.js"), "../localized/legalEntityTypeExamples/PL.json": () => import("./PL-CwCXF3Yu.js"), "../localized/legalEntityTypeExamples/PT.json": () => import("./PT-Dei5v1nD.js"), "../localized/legalEntityTypeExamples/RO.json": () => import("./RO-Dxk08mOu.js"), "../localized/legalEntityTypeExamples/SE.json": () => import("./SE-AP3gLiyy.js"), "../localized/legalEntityTypeExamples/SG.json": () => import("./SG-DMcOb17i.js"), "../localized/legalEntityTypeExamples/SI.json": () => import("./SI-BXe-yndm.js"), "../localized/legalEntityTypeExamples/SK.json": () => import("./SK-DwdgoGnD.js"), "../localized/legalEntityTypeExamples/US.json": () => import("./US-DHxLSqeC.js") });
|
|
23
22
|
const logger$1 = createLogger();
|
|
24
23
|
const getBusinessTypeExamplesForCountry = async (country) => {
|
|
@@ -199,7 +198,6 @@ const BusinessTypeSelection = ({
|
|
|
199
198
|
)
|
|
200
199
|
);
|
|
201
200
|
}, [data.businessType, data.legalArrangement, currentStep, trustOrUnincorporatedPartnership]);
|
|
202
|
-
useTaskLandedEvent("BUSINESS_TYPE_SELECTION");
|
|
203
201
|
const handleNextClick = async () => {
|
|
204
202
|
if (loadingStatus === "loading") return;
|
|
205
203
|
triggerValidation();
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { x as useAnalyticsContext } from "./StoreProvider-
|
|
12
|
+
import { x as useAnalyticsContext } from "./StoreProvider-Bt6bLVE-.js";
|
|
13
13
|
function Checkbox({
|
|
14
14
|
id,
|
|
15
15
|
name,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { u as useTranslation, x as useAnalyticsContext, N as Typography, V as Button } from "./StoreProvider-
|
|
13
|
-
import { M as Modal } from "./Modal-
|
|
12
|
+
import { u as useTranslation, x as useAnalyticsContext, N as Typography, V as Button } from "./StoreProvider-Bt6bLVE-.js";
|
|
13
|
+
import { M as Modal } from "./Modal-C5mnAneL.js";
|
|
14
14
|
const confirm = "adyen-kyc-confirm";
|
|
15
15
|
const confirmMessage = "adyen-kyc-confirm-message";
|
|
16
16
|
const confirmActions = "adyen-kyc-confirm-actions";
|