@adyen/kyc-components 4.17.1 → 4.18.0-beta.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/{AccountSetupRejected-CIbXfS4T.js → AccountSetupRejected-b4eK65dI.js} +1 -1
- package/dist/{AdaptiveWorkflow-b83JMsMN.js → AdaptiveWorkflow-CcZoCwYp.js} +19 -19
- package/dist/{AdaptiveWorkflowComponent-BvN88iSP.js → AdaptiveWorkflowComponent-DTGmB4qT.js} +30 -30
- package/dist/Address-C9PWLHwA.js +132 -0
- package/dist/{Address-DDvR9pCB.js → AddressField-Blup_Pzc.js} +10 -130
- package/dist/{BusinessFinancingDropin-BD5Dg_Nu.js → BusinessFinancingDropin-TkIodSHg.js} +45 -27
- package/dist/{BusinessFinancingPage-D6LUADb0.js → BusinessFinancingPage-uuHBlIpc.js} +29 -29
- package/dist/{BusinessTypeSelectionPage-YEtiiB0m.js → BusinessTypeSelectionPage-BiZ79JGx.js} +9 -9
- package/dist/{CompanyRegistrationNumberTypeSelector-DdnSpMrf.js → CompanyRegistrationNumberTypeSelector-Bw8drJYB.js} +7 -19
- package/dist/{ContactDetails-FMjsH68A.js → ContactDetails-C9QH70Wk.js} +6 -6
- package/dist/{ContextGuidance-BuyNY1eL.js → ContextGuidance-CWE86uX8.js} +1 -1
- package/dist/{CountryField-DtaUj4gh.js → CountryField-DL3-F-J6.js} +4 -4
- package/dist/{Currency-BSXOgzCq.js → Currency-CL7lVfEm.js} +51 -16
- package/dist/{CustomerSupport-Ccmoh-P6.js → CustomerSupport-JmUj46bm.js} +10 -10
- package/dist/{DataConflictsModal-CZX9ktGb.js → DataConflictsModal-CQbUpR2z.js} +3 -3
- package/dist/{DebugModal-fbGf-MWc.js → DebugModal-CmsEh5xp.js} +4 -4
- package/dist/{DecisionMakerDetails-DNo_ca88.js → DecisionMakerDetails-CQz7XzMD.js} +17 -8
- package/dist/{DecisionMakerDetailsPage-Cldcdq2i.js → DecisionMakerDetailsPage-Bins2i7d.js} +8 -8
- package/dist/{DecisionMakers-59bV3LAL.js → DecisionMakers-CfFjy_jm.js} +13 -13
- package/dist/{Dropzone-C-iF9Vi5.js → Dropzone-COnvkQh6.js} +4 -4
- package/dist/{EntityAssociation-C8dO76vZ.js → EntityAssociation-BAJ3jdrt.js} +3 -3
- package/dist/{ErrorPanel-WxNhR0d1.js → ErrorPanel-D2HeWU2y.js} +46 -26
- package/dist/{Field-CPvnOkLo.js → Field-Dg-2A6bG.js} +1 -1
- package/dist/GlobalEntryModal-S77yxIeE.js +34 -0
- package/dist/GlobalEntryPage-C-ZFLZXn.js +44 -0
- package/dist/{Individual.rules-s4Yf5eU4.js → Individual.rules-Caf9UMUo.js} +4 -4
- package/dist/{IndividualDropin-CGyphiDA.js → IndividualDropin-Bz6OP1-9.js} +44 -44
- package/dist/{InputDate-CSOtcXS1.js → InputDate-CxzAaaCm.js} +2 -2
- package/dist/{InputText-B7eseCmi.js → InputText-CQcWyZ8_.js} +1 -1
- package/dist/{Introduction-CCNqyCrC.js → Introduction-DV1ncvQA.js} +4 -4
- package/dist/{InvitedDecisionMakerComponent-C0QTLh0d.js → InvitedDecisionMakerComponent-Cp2gXq-4.js} +105 -37
- package/dist/{JpAddress-CoupMKM0.js → JpAddress-Cv1h40L8.js} +14 -54
- package/dist/JpAddress.module-Bdx0E9ys.js +48 -0
- package/dist/JpAddressFields-kWf8az-A.js +246 -0
- package/dist/{LandingLayout-CUAkXrpL.js → LandingLayout-iZpW1Vsx.js} +7 -2
- package/dist/{LegalCompanyNameField-BcvsTDKX.js → LegalCompanyNameField-Cb8lsgEl.js} +4 -4
- package/dist/{LegalRepresentativeDetailsPage-DgIHSSTF.js → LegalRepresentativeDetailsPage-D_bK2ETK.js} +7 -7
- package/dist/{MaskedInput-BiVsiGoh.js → MaskedInput-B1s7g7RX.js} +4 -4
- package/dist/{MaybeModal-CSdyWPpb.js → MaybeModal-CHv9TiJZ.js} +1 -1
- package/dist/{Name-BaA99nWp.js → Name-Cw7gZ538.js} +4 -4
- package/dist/{NewSummary-CTrWtwIQ.js → NewSummary-cq_5H0ET.js} +4 -4
- package/dist/{PatriotActDisclosure-CCeWR4Oq.js → PatriotActDisclosure-Cmj8Y1xN.js} +12 -12
- package/dist/{PayoutDetailsDropinMultiForm-BwuVaAmr.js → PayoutDetailsDropin-DQXj7NYK.js} +407 -198
- package/dist/PayoutDetailsPage-B4TbKzVH.js +70 -0
- package/dist/{RadioGroup-BgK1r1tF.js → RadioGroup-Bt1Dv_S8.js} +1 -1
- package/dist/{Review-D1mcQJrf.js → Review-DepeQUYT.js} +3 -3
- package/dist/{RootBusinessDetailsPage-UtSS2mdy.js → RootBusinessDetailsPage-D0NwQoPs.js} +31 -31
- package/dist/{RootBusinessLinesPage-Bo9s9RL7.js → RootBusinessLinesPage-Eqzqj3K4.js} +34 -26
- package/dist/{RootIndividualDetailsPage-Coha-RRS.js → RootIndividualDetailsPage-XuapH0Wj.js} +7 -7
- package/dist/{Select-CZK4IIZ-.js → Select-D4oEtS2n.js} +1 -1
- package/dist/{SignPCIComponent-Bubz_okk.js → SignPCIComponent-CvisiXn0.js} +35 -35
- package/dist/{SingpassSelection-DIcF-cpQ.js → SingpassSelection-B0gsVLud.js} +3 -3
- package/dist/{SoleProprietorshipPage-BRKwSK5E.js → SoleProprietorshipPage-CaItSb2W.js} +31 -31
- package/dist/{SourceOfFundsPage-CgRxKOnY.js → SourceOfFundsPage-CJQYX9qF.js} +32 -27
- package/dist/{StructuredList-CUyo9-3i.js → StructuredList-Ci4Ut4E5.js} +1 -1
- package/dist/{Summary-mNbdzw-P.js → Summary-B9EofZyr.js} +17 -8
- package/dist/{TaskListItem-BahFqs9L.js → TaskListItem-DBBj0Y4g.js} +6 -6
- package/dist/{TaxReportingDropin-P_t-4Xqx.js → TaxReportingDropin-CzE-076z.js} +12 -12
- package/dist/{AcceptTermsOfServiceComponent-Bb-lNxor.js → TermsOfServiceManagement-PkkioJsE.js} +41 -41
- package/dist/{TextArea-Blkrb-8X.js → TextArea-BUx3yuMJ.js} +1 -1
- package/dist/{TileGroup-g2SzfZR0.js → TileGroup-PzJay6GP.js} +1 -1
- package/dist/{TrustDetailsPage-wj1_97mM.js → TrustDetailsPage-BERtwZSv.js} +67 -29
- package/dist/{TrustMemberCompanyPage-CvyLRfrq.js → TrustMemberCompanyPage-DMRfpnEn.js} +32 -32
- package/dist/{TrustMemberIndividualPage-DwbRy7lS.js → TrustMemberIndividualPage-DhAF3XR_.js} +7 -7
- package/dist/{TrustMemberRoleAndTypePage-CRQmqNND.js → TrustMemberRoleAndTypePage-C0MwL0BN.js} +19 -19
- package/dist/{TrustMembersOverview-BsjeX9OX.js → TrustMembersOverview-Bn8OAD_X.js} +10 -10
- package/dist/{UnincorporatedPartnershipIndividualPage-B5yhkJLZ.js → UnincorporatedPartnershipIndividualPage-cMb4UAPy.js} +7 -7
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-Lz3G9Ts0.js → UnincorporatedPartnershipMemberCompanyPage-PVG3pAWY.js} +32 -32
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-YYLlk6o_.js → UnincorporatedPartnershipMemberRoleAndTypePage-Da-wBICm.js} +22 -144
- package/dist/{UnincorporatedPartnershipMembersOverview-DD-UIG4X.js → UnincorporatedPartnershipMembersOverview-D16uh-Oz.js} +6 -6
- package/dist/{VerificationErrorAlert-C0kw5v1T.js → VerificationErrorAlert-CcHG8uTw.js} +2 -2
- package/dist/{accountHolderUtils-CRbTtDf8.js → accountHolderUtils-BT48ldYL.js} +2 -2
- package/dist/adyen-business-financing.js +30 -30
- package/dist/adyen-individual-configuration.js +33 -33
- package/dist/adyen-individual-status.js +28 -28
- package/dist/adyen-invited-decision-maker.js +2 -2
- package/dist/adyen-onboarding.js +146 -102
- package/dist/adyen-terms-of-service-management.js +4 -4
- package/dist/adyen-terms-of-service-status.js +5 -5
- package/dist/adyen-transfer-instrument-configuration.js +58 -57
- package/dist/adyen-transfer-instrument-management.js +60 -59
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{bafinUtils-BKq-s1Ka.js → bafinUtils-CbfyDBkh.js} +6 -6
- package/dist/bg-BG-BNxxbT-Z.js +7 -0
- package/dist/bg-BG-CEcxO0H0.js +7 -0
- package/dist/{bg-BG-DvFMee1j.js → bg-BG-DWtVZckB.js} +2 -2
- package/dist/business-details-CPkvjYXG.js +355 -0
- package/dist/{constants-DQuh8ePv.js → constants-BIISJQRp.js} +4 -4
- package/dist/cs-CZ-B2huX9v2.js +7 -0
- package/dist/cs-CZ-Bw702SPD.js +7 -0
- package/dist/{cs-CZ-B7aDrpPP.js → cs-CZ-DeM0O93X.js} +2 -2
- package/dist/da-DK-CUL_Et0l.js +7 -0
- package/dist/da-DK-D-u3tkjY.js +7 -0
- package/dist/{da-DK-C3i7IAmt.js → da-DK-DrYRErQi.js} +2 -2
- package/dist/{de-DE-DtVJKjKN.js → de-DE-CNHKj2ar.js} +2 -2
- package/dist/de-DE-Cd5T_rWB.js +7 -0
- package/dist/de-DE-D-2q3DBW.js +7 -0
- package/dist/{decisionMakerRoles-DIG8zo1C.js → decisionMakerRoles-CTy0faoW.js} +2 -2
- package/dist/el-GR-BHu8fnYR.js +7 -0
- package/dist/{el-GR-DxtT4Lft.js → el-GR-DC8wWZlc.js} +2 -2
- package/dist/el-GR-RkQ7qOtM.js +7 -0
- package/dist/en-US-7Uo1OcXR.js +51 -0
- package/dist/en-US-B48_sHax.js +13 -0
- package/dist/en-US-BNfqvbyW.js +7 -0
- package/dist/en-US-CUqerEKF.js +7 -0
- package/dist/en-US-MqobYcqc.js +7 -0
- package/dist/en-US.instructions-CksZ4E5j.js +11 -0
- package/dist/{entityAssociationUtil-C-wflW8q.js → entityAssociationUtil-DLXInibJ.js} +1 -1
- package/dist/es-ES-CtKqdJ9Z.js +7 -0
- package/dist/{es-ES-BIQfz_ub.js → es-ES-L_7CovzS.js} +2 -2
- package/dist/es-ES-sAOz5HKH.js +7 -0
- package/dist/es-LA-BU32JqC-.js +7 -0
- package/dist/{es-LA-CsbPBWVy.js → es-LA-DPvp-UlN.js} +2 -2
- package/dist/es-LA-racbldhR.js +7 -0
- package/dist/{et-EE-BcjBS0ZN.js → et-EE-4OTBQhPM.js} +2 -2
- package/dist/et-EE-C29Bb4Rw.js +7 -0
- package/dist/et-EE-CXOeuULd.js +7 -0
- package/dist/{fi-FI-DEpeYxdL.js → fi-FI-6yq1jSRa.js} +2 -2
- package/dist/fi-FI-BNfxJDvc.js +7 -0
- package/dist/fi-FI-BT1l2Dz5.js +7 -0
- package/dist/{formUtils-C4NqSvj-.js → formUtils-BrLGUOLK.js} +1 -1
- package/dist/fr-FR-Byelw2ED.js +7 -0
- package/dist/{fr-FR-GQrgs_DS.js → fr-FR-DBM2tUge.js} +2 -2
- package/dist/fr-FR-DKdat8Bf.js +7 -0
- package/dist/{getFormSlice-BhE08Y1v.js → getFormSlice-C1ma6Xd4.js} +4 -1
- package/dist/{getName-D4ECvzcI.js → getName-C5jqdkJg.js} +1 -1
- package/dist/{getProblemsForEntity-n6j8So3N.js → getProblemsForEntity-ubvE1Px7.js} +1 -1
- package/dist/{getProps-1L-urpfA.js → getProps-DVqK7eRw.js} +51 -2
- package/dist/global-entry-illustration-By_EjQFM.js +288 -0
- package/dist/hr-HR-CAwy4u2B.js +7 -0
- package/dist/hr-HR-Cmnnjuvd.js +7 -0
- package/dist/{hr-HR-BwKDcJ9v.js → hr-HR-Vx0hO2h4.js} +2 -2
- package/dist/hu-HU-8uDv5c4i.js +7 -0
- package/dist/hu-HU-BmQJPXo2.js +7 -0
- package/dist/{hu-HU-81HMvS9Y.js → hu-HU-DsUOhM2K.js} +2 -2
- package/dist/{invalidateRootLegalEntity-BXEeCEPH.js → invalidateRootLegalEntity-J6Fn_3DE.js} +1 -1
- package/dist/it-IT-8DGwiIEf.js +7 -0
- package/dist/{it-IT-Il0f-h2h.js → it-IT-CL_4Y1hK.js} +2 -2
- package/dist/it-IT-VzcvfA7e.js +7 -0
- package/dist/ja-JP-B05v6NdN.js +7 -0
- package/dist/ja-JP-BG7p2_ZL.js +7 -0
- package/dist/{ja-JP-Dk2zBWeH.js → ja-JP-CNBPrNgM.js} +2 -2
- package/dist/lt-LT-C7Bf2i87.js +7 -0
- package/dist/{lt-LT-DZ2Uu9bq.js → lt-LT-CPBTVJeD.js} +2 -2
- package/dist/lt-LT-DCayRCd-.js +7 -0
- package/dist/{lv-LV-BCMHodgd.js → lv-LV-CBsGjmsA.js} +2 -2
- package/dist/lv-LV-D3bkGuXV.js +7 -0
- package/dist/lv-LV-DXymHGml.js +7 -0
- package/dist/{mapExistingFile-CBm5xZ6Y.js → mapExistingFile-BvFf01k6.js} +9 -6
- package/dist/{mapJpAddressSchemaToAddressLocalizations-DZUd0pQT.js → mapJpAddressSchemaToAddressLocalizations-DHL5chu8.js} +15 -2
- package/dist/{mapLegalEntityToIndividualSchema-ffgKdB7f.js → mapLegalEntityToIndividualSchema-BeR7ESyx.js} +5 -5
- package/dist/{mapTransferInstrumentToPayoutAccount-CzGprA7W.js → mapTransferInstrumentToPayoutAccount-2iWuaqS_.js} +2 -2
- package/dist/{nl-NL-D2oZHtTs.js → nl-NL-C5MHFAIE.js} +2 -2
- package/dist/nl-NL-DkYkY9Mu.js +7 -0
- package/dist/nl-NL-lyCxhWKl.js +7 -0
- package/dist/{no-NO-D5l99NQF.js → no-NO-Bna_-q84.js} +2 -2
- package/dist/no-NO-CCbUtRmU.js +7 -0
- package/dist/no-NO-FFwOUFr9.js +7 -0
- package/dist/{omitObscuredFieldsIfUnchanged-DsnQrP7Q.js → omitObscuredFieldsIfUnchanged-5n50BfST.js} +2 -2
- package/dist/{patternValidators-CF0ehPio.js → patternValidators-Be6iVFPv.js} +1 -1
- package/dist/pl-PL-B9u7WZBs.js +7 -0
- package/dist/pl-PL-BDauaEiz.js +7 -0
- package/dist/{pl-PL-C_QR0_4u.js → pl-PL-Ddtqvtag.js} +2 -2
- package/dist/{process-field-configurations-hFtQDU3k.js → process-field-configurations-DBtjrbif.js} +3 -3
- package/dist/{processCapabilities-BeE0xWUp.js → processCapabilities-C2kMryYn.js} +25 -25
- package/dist/{validationError-DwNvWaOL.js → processValidationErrors-DDA2CFwh.js} +21 -27
- package/dist/pt-BR-CoWBKHni.js +7 -0
- package/dist/{pt-BR-DVpGdnO-.js → pt-BR-D3oWr3QJ.js} +2 -2
- package/dist/pt-BR-XeJRk5pM2.js +7 -0
- package/dist/pt-PT-CCuTeMbQ.js +7 -0
- package/dist/pt-PT-Dhfc0izN.js +7 -0
- package/dist/{pt-PT-Bkylp1fh.js → pt-PT-DpYwMinP.js} +2 -2
- package/dist/{resolveEnvironment-eLCNmAkD.js → resolveEnvironment-GK5T4kh0.js} +45 -37
- package/dist/ro-RO-B9RvKzTz.js +7 -0
- package/dist/ro-RO-CXGpXJAG.js +7 -0
- package/dist/{ro-RO-D9hC-2Yu.js → ro-RO-CZpwJ4Sy.js} +2 -2
- package/dist/{roleMetadata-BWpcmJKX.js → roleMetadata-a4sEtgHv.js} +1 -1
- package/dist/sk-SK-B2XAy5Yw.js +7 -0
- package/dist/sk-SK-DoHPhXvk.js +7 -0
- package/dist/{sk-SK-DWVcJde-.js → sk-SK-DyKdrRnN.js} +2 -2
- package/dist/sl-SI-DwiiZ7hf.js +7 -0
- package/dist/sl-SI-Ga2XE4DC.js +7 -0
- package/dist/{sl-SI-cVr04Hr7.js → sl-SI-nHUFaEcp.js} +2 -2
- package/dist/style.css +148 -245
- package/dist/styles-DYaAeu4q.js +148 -245
- package/dist/sv-SE-3IKbfvgP.js +7 -0
- package/dist/sv-SE-DYjpbult.js +7 -0
- package/dist/{sv-SE-DTqSBLbI.js → sv-SE-DxMX8Ox_.js} +2 -2
- package/dist/{taskTypes-NawDTp5n.js → taskTypes-3vSkMBDm.js} +2 -1
- package/dist/types/api/companySearch/useCompanySearch.d.ts +6 -0
- package/dist/types/api/invitedEntity/getInvitedEntityProblems.d.ts +4 -0
- package/dist/types/api/invitedEntity/useInvitedEntityVerificationErrors.d.ts +7 -0
- package/dist/types/api/queryKeys.d.ts +2 -1
- package/dist/types/api/tinVerification/useVerifyTin.d.ts +5 -0
- package/dist/types/components/Apps/tasks/TaskList/{TaskListGroup.d.ts → TaskListGroup/TaskListGroup.d.ts} +1 -1
- package/dist/types/components/Apps/tasks/TaskList/TaskListItem/types.d.ts +25 -0
- package/dist/types/components/Apps/tasks/TaskList/types.d.ts +0 -25
- package/dist/types/components/BankAccount/fields/BankAccountType/BankAccountType.d.ts +2 -0
- package/dist/types/components/BankAccount/fields/BankAccountType/type.d.ts +6 -0
- package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +2 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/{PayoutDetailsMultiform.d.ts → PayoutDetails.d.ts} +2 -2
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +2 -0
- package/dist/types/components/BankAccount/utils/payoutAccountFormats.d.ts +18 -0
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +26 -4
- package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +22 -4
- package/dist/types/components/Business/forms/BusinessDetails/{BusinessDetailsMultiform.d.ts → BusinessDetails.d.ts} +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +27 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +9 -2
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +11 -0
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/DropinComposer.d.ts +3 -0
- package/dist/types/components/EmbeddedDropins/{AcceptTermsOfServiceComponent/AcceptTermsOfServiceComponent.d.ts → TermsOfServiceManagement/TermsOfServiceManagement.d.ts} +2 -2
- package/dist/types/components/EmbeddedDropins/TermsOfServiceStatus/TermsOfServiceStatus.d.ts +6 -0
- package/dist/types/components/GlobalEntry/forms/GlobalEntryModal/GlobalEntryModal.d.ts +1 -0
- package/dist/types/components/GlobalEntry/forms/GlobalEntryModal/isGlobalEntryModalOpen.d.ts +1 -0
- package/dist/types/components/GlobalEntry/tasks/GlobalEntryPage.d.ts +1 -0
- package/dist/types/components/Individual/helpers/bafinUtils.d.ts +6 -5
- package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/fieldConfig.d.ts +4 -4
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +5 -0
- package/dist/types/components/Shared/forms/Address/AddressFields.d.ts +11 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/JpAddressFields.d.ts +9 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/jpAddressSchema.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +2 -2
- package/dist/types/components/ui/molecules/ErrorPanel/ServerValidationErrors.d.ts +1 -1
- package/dist/types/components/ui/molecules/ErrorPanel/types.d.ts +4 -8
- package/dist/types/context/ToggleContext/types.d.ts +8 -0
- package/dist/types/core/types.d.ts +0 -11
- package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.types.d.ts +1 -1
- package/dist/types/hooks/useScenarioConfiguration.d.ts +4 -2
- package/dist/types/router/getDefaultTask.d.ts +3 -1
- package/dist/types/router/routeConfig.d.ts +2 -1
- package/dist/types/stores/globalStore/taskTypes.d.ts +1 -0
- package/dist/types/types/errors/entity-problems.d.ts +8 -1
- package/dist/types/types/form-rules.d.ts +1 -1
- package/dist/types/utils/api/processValidationErrors.d.ts +1 -1
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/getFieldNameFromPath.d.ts +1 -0
- package/dist/types/utils/getFormSlice.d.ts +7 -4
- package/dist/types/utils/getProps.d.ts +12 -0
- package/dist/types/utils/masking/masks/businessRegistrationNumberMasks.d.ts +0 -5
- package/dist/types/utils/regex/businessRegistrationNumberPatterns.d.ts +0 -3
- package/dist/types/utils/validationError.d.ts +1 -0
- package/dist/{useBusinessDetailsData-D0PJ9tyW.js → useBusinessDetailsData-DCVBepLs.js} +462 -331
- package/dist/{useCanSeeIntroduction-DaQwrjJ-.js → useCanSeeIntroduction-DrlUqeMe.js} +2 -2
- package/dist/{useDataMissingRemediations-MNtvN32n.js → useDataMissingRemediations-BzbA8Mu4.js} +2 -2
- package/dist/{useForm-Cv3aZas7.js → useForm-CUZ1OXNT.js} +2 -2
- package/dist/{useFormContext-CtpjwLuZ.js → useFormContext-Br4I8Pwd.js} +4 -5
- package/dist/{useMultiForm-BIa2K3IX.js → useMultiForm-4UkMBFNd.js} +19 -53
- package/dist/{useNavigate-Cah-_jS1.js → useNavigate-M26qVOyL.js} +41 -35
- package/dist/{useTrustMembers-BJccqTXe.js → useTrustMembers-BzeLWevD.js} +4 -4
- package/dist/{useUnincorporatedPartnershipMembers-C2eHPtsR.js → useUnincorporatedPartnershipMembers-B5WCX6yK.js} +3 -3
- package/dist/{useUpdateLegalEntity-xQVlW3fk.js → useUpdateLegalEntity-dTvcbSw5.js} +1 -1
- package/dist/{utils-Cx2kRIsq.js → utils-BgABwuIB.js} +33 -8
- package/dist/{utils-ChXVrj27.js → utils-CrmXqlJx.js} +6 -6
- package/dist/{utils-CCvjBg7M.js → utils-DrqKnCzc.js} +13 -53
- package/dist/{validate-Dddd90Q3.js → validate-CMxq61UU.js} +1 -1
- package/dist/{validate-DZIWXgfU.js → validate-CkOSeje2.js} +1 -1
- package/dist/{validateExtractionResult-ClctqC0B.js → validateExtractionResult-0_aLL_AX.js} +5 -5
- package/dist/validationError-Bk5vfkJ5.js +55 -0
- package/package.json +3 -11
- package/dist/AD-Clkur2Hx.js +0 -15
- package/dist/AE-BUOfE-VR.js +0 -17
- package/dist/AI-BApAOdVW.js +0 -19
- package/dist/AL-DfPgkH9x.js +0 -19
- package/dist/AR-Bddz61XJ.js +0 -19
- package/dist/AS-C3xgvOIz.js +0 -17
- package/dist/AT-DnJdtYnd.js +0 -15
- package/dist/AU-DL1fsj76.js +0 -16
- package/dist/AX-BTtRN-MP.js +0 -15
- package/dist/AZ-CXVL6e85.js +0 -19
- package/dist/BA-27B-jpFq.js +0 -19
- package/dist/BE-BSUwgR6_.js +0 -15
- package/dist/BG-ChvSTIBz.js +0 -19
- package/dist/BH-D1HvWueK.js +0 -19
- package/dist/BM-bLwVUrnz.js +0 -19
- package/dist/BR-nSEEl5uz.js +0 -18
- package/dist/BS-Bf402NRj.js +0 -19
- package/dist/BV-CJwVioP4.js +0 -19
- package/dist/BY-CYaB1wEE.js +0 -19
- package/dist/CA-B49VPJKw.js +0 -17
- package/dist/CH-BASES6q1.js +0 -15
- package/dist/CN-CEIcYgEd.js +0 -19
- package/dist/CR-CU6MVhAz.js +0 -19
- package/dist/CY-DSZIX0eb.js +0 -15
- package/dist/CZ-CUYgGHVo.js +0 -27
- package/dist/DE-3Qc-SfVV.js +0 -15
- package/dist/DK--Bs4HfJM.js +0 -27
- package/dist/DO-D4wgMRWE.js +0 -19
- package/dist/EC-B2FGK-mr.js +0 -20
- package/dist/EE-qXeASUC-.js +0 -15
- package/dist/ES-BBz54aGb.js +0 -15
- package/dist/FI-DHkXLS9S.js +0 -15
- package/dist/FJ-V_2w3UTO.js +0 -19
- package/dist/FO-DR-Xnm7u.js +0 -19
- package/dist/FR-CtpYelsq.js +0 -15
- package/dist/GB-G_B8HSJg.js +0 -27
- package/dist/GE-By9lo4py.js +0 -19
- package/dist/GF-B0xFBl9q.js +0 -15
- package/dist/GG-bAeosM_i.js +0 -27
- package/dist/GI-DfkPsLw0.js +0 -35
- package/dist/GL-DhRtJPZY.js +0 -19
- package/dist/GP-DNyYQvJw.js +0 -15
- package/dist/GR-DK-QrYIO.js +0 -15
- package/dist/GT-BRuMYK92.js +0 -19
- package/dist/GU-DAYIt05K.js +0 -17
- package/dist/HK-DeKSh6yq.js +0 -17
- package/dist/HR-D0EqC8kx.js +0 -15
- package/dist/HU-DIT5cG5Z.js +0 -26
- package/dist/ID-BBzj2tyK.js +0 -19
- package/dist/IE-CxtzANSG.js +0 -15
- package/dist/IL-CgJ0eWPT.js +0 -15
- package/dist/IM-Ca1LRzUz.js +0 -27
- package/dist/IN--pr2-g7e.js +0 -20
- package/dist/IS-BZeqGau3.js +0 -19
- package/dist/IT-BioiAQgd.js +0 -15
- package/dist/JE-BCj36onT.js +0 -27
- package/dist/JM-b03xrGTz.js +0 -19
- package/dist/JO-CA8m_H5N.js +0 -19
- package/dist/JP-DroDT2u3.js +0 -20
- package/dist/KR-BkBLDQIT.js +0 -19
- package/dist/KW-dB3SXEf8.js +0 -19
- package/dist/KY-mZ-zKVkq.js +0 -19
- package/dist/KZ-CcyUPGdv.js +0 -19
- package/dist/LB-DmtcVmjU.js +0 -19
- package/dist/LI-haSXATP0.js +0 -15
- package/dist/LT-CYlhLD3-.js +0 -15
- package/dist/LU-CnQilYzI.js +0 -15
- package/dist/LV-BJoOuCmD.js +0 -15
- package/dist/MC-1OhRuam2.js +0 -15
- package/dist/MD-DN7TRpmW.js +0 -19
- package/dist/ME-CuMiA40n.js +0 -19
- package/dist/MK-DGR-uR66.js +0 -19
- package/dist/MP-xhfj0dkC.js +0 -17
- package/dist/MQ-CZu5G2-t.js +0 -15
- package/dist/MR--V7elAIS.js +0 -19
- package/dist/MT-BmkVDeF2.js +0 -15
- package/dist/MU-LzgqzZzT.js +0 -19
- package/dist/MX-z-WoZkPd.js +0 -17
- package/dist/MY-WsFwWp2U.js +0 -16
- package/dist/NC-B9M8cc6C.js +0 -19
- package/dist/NL-CXjh0eXG.js +0 -15
- package/dist/NO-BuWcaqBm.js +0 -26
- package/dist/NZ-BDDXct1F.js +0 -11
- package/dist/PE-DJZc_8Lk.js +0 -19
- package/dist/PF-D593LuXT.js +0 -19
- package/dist/PH-CJRjYgx3.js +0 -19
- package/dist/PK-C1TVRYA6.js +0 -19
- package/dist/PL-C3tudSnw.js +0 -26
- package/dist/PM-CPvVGX_s.js +0 -15
- package/dist/PR-C6mnN4I1.js +0 -17
- package/dist/PS-Bqa7HAb6.js +0 -19
- package/dist/PT-BHFP2Jx8.js +0 -15
- package/dist/PayoutDetailsPage-DVgjP63L.js +0 -69
- package/dist/QA-B2A0rFrR.js +0 -19
- package/dist/RE-BSdvJRM5.js +0 -15
- package/dist/RO-BZxtXYEM.js +0 -15
- package/dist/RS-DAtcOeON.js +0 -19
- package/dist/RU-CDpkuVOX.js +0 -19
- package/dist/SA-BoAcP38a.js +0 -19
- package/dist/SE-DX5R7MEM.js +0 -27
- package/dist/SG-Dm4nWFwC.js +0 -16
- package/dist/SI-CbzJWJo5.js +0 -15
- package/dist/SJ-C0EiPIY7.js +0 -19
- package/dist/SK-Bg9K35hT.js +0 -15
- package/dist/SM-BAP1izca.js +0 -15
- package/dist/TF-BzLXwUD9.js +0 -19
- package/dist/TH-wvwE8m03.js +0 -20
- package/dist/TL-CAwOhktT.js +0 -19
- package/dist/TN-Bs-VE6A_.js +0 -19
- package/dist/TR-7uYc2xp7.js +0 -19
- package/dist/TT-DbzL2xhJ.js +0 -20
- package/dist/TW-BTAvA4FA.js +0 -21
- package/dist/UA-BAkAL82L.js +0 -19
- package/dist/US-BXek71cY.js +0 -17
- package/dist/UY-Bq43JSIl.js +0 -19
- package/dist/VA-CHkQ7jk0.js +0 -15
- package/dist/VG-DnUOjTKa.js +0 -19
- package/dist/VI-CjjaTPrq.js +0 -17
- package/dist/VN-DgqMueJl.js +0 -19
- package/dist/WF-Czcwchbb.js +0 -19
- package/dist/YT-BTQIBrb1.js +0 -15
- package/dist/ZA-BAufwt8q.js +0 -20
- package/dist/bg-BG-BHL5r3bk.js +0 -7
- package/dist/bg-BG-CYrrltO8.js +0 -7
- package/dist/cs-CZ-DfuZr4cv.js +0 -7
- package/dist/cs-CZ-SBisIyel.js +0 -7
- package/dist/da-DK-CLx0Hv_L.js +0 -7
- package/dist/da-DK-CcvXqgMA.js +0 -7
- package/dist/de-DE-CcOP7Z3J.js +0 -7
- package/dist/de-DE-qTvDZ5Tj.js +0 -7
- package/dist/el-GR-CO9ixkqP.js +0 -7
- package/dist/el-GR-D1QMkjQd.js +0 -7
- package/dist/en-US-C1J9jcVI.js +0 -7
- package/dist/en-US-CJsQJw90.js +0 -7
- package/dist/en-US-Dokjxy17.js +0 -7
- package/dist/es-ES-CwLsmJeQ.js +0 -7
- package/dist/es-ES-fgGV_t7L.js +0 -7
- package/dist/es-LA-CLD_193O.js +0 -7
- package/dist/es-LA-b7TFh_XZ.js +0 -7
- package/dist/et-EE-CEiroCyD.js +0 -7
- package/dist/et-EE-o65QgBKk.js +0 -7
- package/dist/fi-FI-CKffkrhp.js +0 -7
- package/dist/fi-FI-Cqf4k_ja.js +0 -7
- package/dist/fr-FR-B_JTgxAY.js +0 -7
- package/dist/fr-FR-CQbo6d_Q.js +0 -7
- package/dist/hr-HR-BH4GZRVw.js +0 -7
- package/dist/hr-HR-COHtbZDp.js +0 -7
- package/dist/hu-HU-D0LsAFcV.js +0 -7
- package/dist/hu-HU-xQwE0I5f.js +0 -7
- package/dist/it-IT-DDUd_IZC.js +0 -7
- package/dist/it-IT-NOsTkUWg.js +0 -7
- package/dist/ja-JP-Br0ivw8k.js +0 -7
- package/dist/ja-JP-C98F-BgJ.js +0 -7
- package/dist/jpAddressSchema-DT19YcnH.js +0 -17
- package/dist/lt-LT-DUC5ir_t.js +0 -7
- package/dist/lt-LT-erbGBPqF.js +0 -7
- package/dist/lv-LV-BBegWP3c.js +0 -7
- package/dist/lv-LV-xbEcOY__.js +0 -7
- package/dist/nl-NL-Cpuz-HtA.js +0 -7
- package/dist/nl-NL-NTjVSJq2.js +0 -7
- package/dist/no-NO-B6zGFOCK.js +0 -7
- package/dist/no-NO-Bd3KNpMs.js +0 -7
- package/dist/pl-PL-Bg2G4ioZ.js +0 -7
- package/dist/pl-PL-Cw9UG-qg.js +0 -7
- package/dist/pt-BR-BrCPGoU1.js +0 -7
- package/dist/pt-BR-DT63AAqA2.js +0 -7
- package/dist/pt-PT-BFTfpBI4.js +0 -7
- package/dist/pt-PT-Dilg4TrM.js +0 -7
- package/dist/ro-RO-DJeBU2j9.js +0 -7
- package/dist/ro-RO-DRzT7WiY.js +0 -7
- package/dist/sk-SK-CuXM9tOj.js +0 -7
- package/dist/sk-SK-rMCHSdm4.js +0 -7
- package/dist/sl-SI-BDRsH7Bv.js +0 -7
- package/dist/sl-SI-Dg4bivT7.js +0 -7
- package/dist/sv-SE-Cimi5Nb9.js +0 -7
- package/dist/sv-SE-DaklU1jx.js +0 -7
- package/dist/trackNavigation-DR70qR8T.js +0 -15
- package/dist/trusted-fields-provider-DLz8KKVf.js +0 -10
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropinMultiForm.d.ts +0 -2
- package/dist/types/components/EmbeddedDropins/ManageTermsOfServiceComponent/ManageTermsOfServiceComponent.d.ts +0 -6
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/RouterDropinComposer.d.ts +0 -3
- package/dist/types/components/Shared/FormNavigation/FormNavigation.d.ts +0 -4
- package/dist/types/components/Shared/FormNavigation/FormNavigationItem.d.ts +0 -4
- package/dist/types/components/Shared/FormNavigation/types.d.ts +0 -22
- package/dist/types/datasets/generators/getAccountFormatForCountry.d.ts +0 -14
- /package/dist/types/components/Apps/tasks/TaskList/{TaskListItem.d.ts → TaskListItem/TaskListItem.d.ts} +0 -0
- /package/dist/types/components/BankAccount/forms/PayoutAccount/{payoutAccountFormat.d.ts → store.d.ts} +0 -0
- /package/dist/types/components/{Apps/tasks/TaskList → BankAccount/tasks/PayoutAccount}/PayoutAccountTaskListItem.d.ts +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e7f5c903-e23c-445a-8808-ec069b8088ce", e._sentryDebugIdIdentifier = "sentry-dbid-e7f5c903-e23c-445a-8808-ec069b8088ce");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as Icon, c as __exportAll, i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, k as Header, x as Alert } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, k as Header, x as Alert } from "./resolveEnvironment-GK5T4kh0.js";
|
|
7
7
|
import { n as IconButton, r as Loader, t as Button } from "./Button-i8I2dHP8.js";
|
|
8
8
|
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-8qgzqVqk.js";
|
|
9
9
|
import { n as useLegalEntities, r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CtlUQv_J.js";
|
|
@@ -12,43 +12,44 @@ import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js"
|
|
|
12
12
|
import { o as objectsDeepEqual } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
13
13
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
14
14
|
import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
|
|
15
|
-
import { C as EntityTypes } from "./processCapabilities-
|
|
16
|
-
import { t as TaskTypes } from "./taskTypes-
|
|
15
|
+
import { C as EntityTypes } from "./processCapabilities-C2kMryYn.js";
|
|
16
|
+
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
17
17
|
import { i as useAnalyticsContext, t as Modal } from "./Modal-ByJare7m.js";
|
|
18
|
+
import { t as LandingLayout } from "./LandingLayout-iZpW1Vsx.js";
|
|
18
19
|
import { t as useBusinessLines } from "./useBusinessLines-BFsRoAAj.js";
|
|
19
20
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
20
|
-
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-
|
|
21
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-
|
|
21
|
+
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-J6Fn_3DE.js";
|
|
22
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-ubvE1Px7.js";
|
|
22
23
|
import { t as Avatar } from "./Avatar-CdBNstmD.js";
|
|
23
24
|
import { n as translateTranslatable } from "./utils-C1buyvRw.js";
|
|
24
25
|
import { t as Confirm } from "./Confirm-DcqMV7rd.js";
|
|
25
26
|
import { n as Image } from "./unincorporated-partnership-nnTW3FnG.js";
|
|
26
27
|
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CoBr-K0N.js";
|
|
27
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
28
|
-
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-
|
|
29
|
-
import { t as StructuredList } from "./StructuredList-
|
|
30
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
31
|
-
import { t as createFormUtils } from "./formUtils-
|
|
32
|
-
import { t as useMultiForm } from "./useMultiForm-
|
|
28
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-dTvcbSw5.js";
|
|
29
|
+
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-Br4I8Pwd.js";
|
|
30
|
+
import { t as StructuredList } from "./StructuredList-Ci4Ut4E5.js";
|
|
31
|
+
import { t as ErrorPanel } from "./ErrorPanel-D2HeWU2y.js";
|
|
32
|
+
import { t as createFormUtils } from "./formUtils-BrLGUOLK.js";
|
|
33
|
+
import { t as useMultiForm } from "./useMultiForm-4UkMBFNd.js";
|
|
33
34
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BiIxm8IU.js";
|
|
34
|
-
import { a as createDocumentRequest, o as documentApiUtils } from "./validate-
|
|
35
|
+
import { a as createDocumentRequest, o as documentApiUtils } from "./validate-CMxq61UU.js";
|
|
35
36
|
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
36
37
|
import { t as localizeDateString } from "./localizeDateString-Bmx3yBcR.js";
|
|
37
|
-
import { t as
|
|
38
|
-
import { t as
|
|
39
|
-
import { t as
|
|
40
|
-
import { t as Select } from "./Select-
|
|
38
|
+
import { t as getValidationErrorDisplayMessages } from "./validationError-Bk5vfkJ5.js";
|
|
39
|
+
import { t as Field } from "./Field-Dg-2A6bG.js";
|
|
40
|
+
import { t as TileGroup } from "./TileGroup-PzJay6GP.js";
|
|
41
|
+
import { t as Select } from "./Select-D4oEtS2n.js";
|
|
41
42
|
import { t as Checkbox } from "./Checkbox-DdEBnXOB.js";
|
|
42
|
-
import { t as TextArea } from "./TextArea-
|
|
43
|
-
import { t as Dropzone } from "./Dropzone-
|
|
44
|
-
import { t as InputText } from "./InputText-
|
|
45
|
-
import { t as InputDate } from "./InputDate-
|
|
46
|
-
import { n as CountryField } from "./CountryField-
|
|
47
|
-
import { t as RadioGroup } from "./RadioGroup-
|
|
43
|
+
import { t as TextArea } from "./TextArea-BUx3yuMJ.js";
|
|
44
|
+
import { t as Dropzone } from "./Dropzone-COnvkQh6.js";
|
|
45
|
+
import { t as InputText } from "./InputText-CQcWyZ8_.js";
|
|
46
|
+
import { t as InputDate } from "./InputDate-CxzAaaCm.js";
|
|
47
|
+
import { n as CountryField } from "./CountryField-DL3-F-J6.js";
|
|
48
|
+
import { t as RadioGroup } from "./RadioGroup-Bt1Dv_S8.js";
|
|
48
49
|
import { t as InputGroup } from "./InputGroup-B4U3QVEp.js";
|
|
49
50
|
import { t as isEmpty } from "./isEmpty-MyMko24J.js";
|
|
50
51
|
import { t as Currencies } from "./currency-DQwXq9Mc.js";
|
|
51
|
-
import { n as validateDateNotInTheFuture } from "./validate-
|
|
52
|
+
import { n as validateDateNotInTheFuture } from "./validate-CkOSeje2.js";
|
|
52
53
|
import { t as useTaskStatus } from "./useTaskStatus-wrAxqtIR.js";
|
|
53
54
|
import { t as formatAmountWithCurrency } from "./formatCurrency-Cq3WFpdZ.js";
|
|
54
55
|
import { lazy } from "preact/compat";
|
|
@@ -2361,6 +2362,10 @@ var sourceOfFundsAdditionalDataValidations = {
|
|
|
2361
2362
|
//#endregion
|
|
2362
2363
|
//#region src/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsDropin.tsx
|
|
2363
2364
|
var logger = createLogger();
|
|
2365
|
+
var getValidationErrorMessage = (errors) => {
|
|
2366
|
+
const validationErrorMessages = errors.flatMap(getValidationErrorDisplayMessages);
|
|
2367
|
+
return validationErrorMessages.length ? validationErrorMessages.join("\n") : void 0;
|
|
2368
|
+
};
|
|
2364
2369
|
function SourceOfFundsDropin({ country, problems, handleHomeClick, onSubmit, asAwe }) {
|
|
2365
2370
|
const { data: legalEntity, isLoading: isLoadingRootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
2366
2371
|
const [loadingStatus, setLoadingStatus] = useState$1("success");
|
|
@@ -2534,7 +2539,7 @@ function SourceOfFundsDropin({ country, problems, handleHomeClick, onSubmit, asA
|
|
|
2534
2539
|
const results = await Promise.allSettled(savePromises);
|
|
2535
2540
|
const failures = results.filter((r) => r.status === "rejected");
|
|
2536
2541
|
if (failures.length > 0) {
|
|
2537
|
-
setSofErrorMessage(sofT(($) => $["errorUpdatingMultipleSourceOfFunds"], { count: failures.length }));
|
|
2542
|
+
setSofErrorMessage(getValidationErrorMessage(failures.map((failure) => failure.reason)) ?? sofT(($) => $["errorUpdatingMultipleSourceOfFunds"], { count: failures.length }));
|
|
2538
2543
|
logger.error("Failed to update SoF for some business lines", failures);
|
|
2539
2544
|
}
|
|
2540
2545
|
const successes = results.filter((r) => r.status === "fulfilled");
|
|
@@ -2581,9 +2586,9 @@ function SourceOfFundsDropin({ country, problems, handleHomeClick, onSubmit, asA
|
|
|
2581
2586
|
if (asAwe) onSubmit?.(data);
|
|
2582
2587
|
}
|
|
2583
2588
|
}
|
|
2584
|
-
} else setSofErrorMessage(sofT(($) => $["errorUpdatingSourceOfFunds"]));
|
|
2589
|
+
} else setSofErrorMessage(getValidationErrorMessage(failures.map((failure) => failure.reason)) ?? sofT(($) => $["errorUpdatingSourceOfFunds"]));
|
|
2585
2590
|
} catch (e) {
|
|
2586
|
-
setSofErrorMessage(sofT(($) => $["errorUpdatingSourceOfFunds"]));
|
|
2591
|
+
setSofErrorMessage(getValidationErrorMessage([e]) ?? sofT(($) => $["errorUpdatingSourceOfFunds"]));
|
|
2587
2592
|
logger.log("Error updating source of funds", e);
|
|
2588
2593
|
}
|
|
2589
2594
|
setLoadingStatus("success");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "020f498f-d40a-4c91-b7b0-b8bc6bf786e1", e._sentryDebugIdIdentifier = "sentry-dbid-020f498f-d40a-4c91-b7b0-b8bc6bf786e1");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as useId } from "./useId-BkDhUta2.js";
|
|
6
6
|
import cx from "classnames";
|
|
@@ -1,22 +1,31 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f682a449-86ce-4c1a-8140-ee414f4d8255", e._sentryDebugIdIdentifier = "sentry-dbid-f682a449-86ce-4c1a-8140-ee414f4d8255");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
-
import { k as Header, nt as isEmpty } from "./resolveEnvironment-
|
|
6
|
+
import { k as Header, nt as isEmpty } from "./resolveEnvironment-GK5T4kh0.js";
|
|
7
7
|
import { n as IconButton } from "./Button-i8I2dHP8.js";
|
|
8
8
|
import { i as useAnalyticsContext } from "./Modal-ByJare7m.js";
|
|
9
9
|
import { n as translateTranslatable } from "./utils-C1buyvRw.js";
|
|
10
10
|
import { n as Image } from "./unincorporated-partnership-nnTW3FnG.js";
|
|
11
11
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
12
|
-
import { t as StructuredList } from "./StructuredList-
|
|
13
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as getRoleName } from "./roleMetadata-BWpcmJKX.js";
|
|
12
|
+
import { t as StructuredList } from "./StructuredList-Ci4Ut4E5.js";
|
|
13
|
+
import { t as ErrorPanel } from "./ErrorPanel-D2HeWU2y.js";
|
|
14
|
+
import { t as createFormUtils } from "./formUtils-BrLGUOLK.js";
|
|
15
|
+
import { t as getRoleName } from "./roleMetadata-a4sEtgHv.js";
|
|
17
16
|
import { t as isSummaryItem } from "./summaryItem-uDWmtYtt.js";
|
|
18
17
|
import { lazy } from "preact/compat";
|
|
19
18
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
19
|
+
//#region src/utils/analytics/trackNavigation.ts
|
|
20
|
+
var trackNavigation = ({ userEvents, actionType, toForm, label, returnValue, additionalTrackingParams }) => {
|
|
21
|
+
userEvents.addPageEvent("Clicked button", {
|
|
22
|
+
actionType,
|
|
23
|
+
toPage: toForm,
|
|
24
|
+
label,
|
|
25
|
+
returnValue,
|
|
26
|
+
...additionalTrackingParams
|
|
27
|
+
});
|
|
28
|
+
};
|
|
20
29
|
var Summary_module_default = {
|
|
21
30
|
summary: "_summary_1op7a_1",
|
|
22
31
|
"summary-content": "_summary-content_1op7a_7",
|
|
@@ -222,4 +231,4 @@ function Summary({ data, forms, gotoForm, labels, problems, omitted = {}, showFo
|
|
|
222
231
|
});
|
|
223
232
|
}
|
|
224
233
|
//#endregion
|
|
225
|
-
export { summaryStep as n, Summary_module_default as r, Summary as t };
|
|
234
|
+
export { trackNavigation as i, summaryStep as n, Summary_module_default as r, Summary as t };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0c5e6aa9-7379-4e0f-9b1a-e42f2e605207", e._sentryDebugIdIdentifier = "sentry-dbid-0c5e6aa9-7379-4e0f-9b1a-e42f2e605207");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as Icon, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
-
import { x as Alert } from "./resolveEnvironment-
|
|
6
|
+
import { x as Alert } from "./resolveEnvironment-GK5T4kh0.js";
|
|
7
7
|
import { n as IconButton } from "./Button-i8I2dHP8.js";
|
|
8
8
|
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-CKHPTEpH.js";
|
|
9
9
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
10
|
-
import { t as getCapabilities } from "./processCapabilities-
|
|
10
|
+
import { t as getCapabilities } from "./processCapabilities-C2kMryYn.js";
|
|
11
11
|
import { i as useAnalyticsContext } from "./Modal-ByJare7m.js";
|
|
12
12
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
13
|
-
import { t as VerificationErrorAlert } from "./VerificationErrorAlert-
|
|
13
|
+
import { t as VerificationErrorAlert } from "./VerificationErrorAlert-CcHG8uTw.js";
|
|
14
14
|
import { t as Avatar } from "./Avatar-CdBNstmD.js";
|
|
15
15
|
import { r as LoaderWrapper } from "./utils-C1buyvRw.js";
|
|
16
16
|
import { t as Confirm } from "./Confirm-DcqMV7rd.js";
|
|
@@ -62,7 +62,7 @@ var canShowAdaptivePoc = function(isPocEnabled, legalEntityData) {
|
|
|
62
62
|
return isPocEnabled && getCapabilities(legalEntityData).includes("issueBankAccount");
|
|
63
63
|
};
|
|
64
64
|
//#endregion
|
|
65
|
-
//#region src/components/Apps/tasks/TaskList/TaskListItem.tsx
|
|
65
|
+
//#region src/components/Apps/tasks/TaskList/TaskListItem/TaskListItem.tsx
|
|
66
66
|
var TaskListItem = ({ titleKey, title, icon, status, onNavigateToTask, disabled = false, problems, downloadHandler, info, loading = false, showErrorAlerts = "onErrorStatus", warningMessage, deleteEntity, testId, enableTracking = true, fallbackErrorMessage }) => {
|
|
67
67
|
const { t } = useTranslation("common");
|
|
68
68
|
const userEvents = useAnalyticsContext();
|
|
@@ -116,7 +116,7 @@ var TaskListItem = ({ titleKey, title, icon, status, onNavigateToTask, disabled
|
|
|
116
116
|
className: "adyen-task-item__body",
|
|
117
117
|
children: /* @__PURE__ */ jsx("span", {
|
|
118
118
|
className: "adyen-task-item__title",
|
|
119
|
-
children: title
|
|
119
|
+
children: title
|
|
120
120
|
})
|
|
121
121
|
})]
|
|
122
122
|
}), info && /* @__PURE__ */ jsxs("div", {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "52eafb3f-a199-4ea4-bdd5-3135e7324634", e._sentryDebugIdIdentifier = "sentry-dbid-52eafb3f-a199-4ea4-bdd5-3135e7324634");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as Icon, c as __exportAll, i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation, t as Trans } from "./translation-BYvhW5zA.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, k as Header, nt as isEmpty, x as Alert } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, k as Header, nt as isEmpty, x as Alert } from "./resolveEnvironment-GK5T4kh0.js";
|
|
7
7
|
import { n as IconButton, r as Loader, t as Button } from "./Button-i8I2dHP8.js";
|
|
8
8
|
import { n as httpGet, s as useApiContext } from "./http-8qgzqVqk.js";
|
|
9
9
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CtlUQv_J.js";
|
|
10
10
|
import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
|
|
11
|
-
import { t as TaskTypes } from "./taskTypes-
|
|
11
|
+
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
12
12
|
import { i as useAnalyticsContext } from "./Modal-ByJare7m.js";
|
|
13
|
+
import { t as LandingLayout } from "./LandingLayout-iZpW1Vsx.js";
|
|
13
14
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
14
|
-
import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-
|
|
15
|
+
import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-J6Fn_3DE.js";
|
|
15
16
|
import { n as Image } from "./unincorporated-partnership-nnTW3FnG.js";
|
|
16
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
17
|
-
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-
|
|
18
|
-
import { t as StructuredList } from "./StructuredList-
|
|
19
|
-
import { t as useMultiForm } from "./useMultiForm-
|
|
17
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-dTvcbSw5.js";
|
|
18
|
+
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-Br4I8Pwd.js";
|
|
19
|
+
import { t as StructuredList } from "./StructuredList-Ci4Ut4E5.js";
|
|
20
|
+
import { t as useMultiForm } from "./useMultiForm-4UkMBFNd.js";
|
|
20
21
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BiIxm8IU.js";
|
|
21
|
-
import { t as Field } from "./Field-
|
|
22
|
-
import {
|
|
23
|
-
import { n as getFormProps } from "./getProps-1L-urpfA.js";
|
|
22
|
+
import { t as Field } from "./Field-Dg-2A6bG.js";
|
|
23
|
+
import { r as getFormProps } from "./getProps-DVqK7eRw.js";
|
|
24
24
|
import { t as Link } from "./Link-JFzfaUOa.js";
|
|
25
|
-
import { t as RadioGroup } from "./RadioGroup-
|
|
25
|
+
import { t as RadioGroup } from "./RadioGroup-Bt1Dv_S8.js";
|
|
26
26
|
import { t as isEmpty$1 } from "./isEmpty-MyMko24J.js";
|
|
27
27
|
import { t as useTaskStatus } from "./useTaskStatus-wrAxqtIR.js";
|
|
28
28
|
import { lazy } from "preact/compat";
|
package/dist/{AcceptTermsOfServiceComponent-Bb-lNxor.js → TermsOfServiceManagement-PkkioJsE.js}
RENAMED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fc93d31d-4b60-4373-a86a-ade0de6f604a", e._sentryDebugIdIdentifier = "sentry-dbid-fc93d31d-4b60-4373-a86a-ade0de6f604a");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { c as __exportAll, n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, a as doesLegalEntityRequiresLegalRepresentative, j as useToggleContext, x as Alert } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, a as doesLegalEntityRequiresLegalRepresentative, j as useToggleContext, x as Alert } from "./resolveEnvironment-GK5T4kh0.js";
|
|
7
7
|
import { r as Loader, t as Button } from "./Button-i8I2dHP8.js";
|
|
8
8
|
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-8qgzqVqk.js";
|
|
9
9
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CtlUQv_J.js";
|
|
10
10
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
11
11
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
12
12
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
13
|
-
import { t as TaskTypes } from "./taskTypes-
|
|
14
|
-
import { a as getLegalRepresentative } from "./entityAssociationUtil-
|
|
15
|
-
import { a as getOwnSignatories } from "./decisionMakerRoles-
|
|
13
|
+
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
14
|
+
import { a as getLegalRepresentative } from "./entityAssociationUtil-DLXInibJ.js";
|
|
15
|
+
import { a as getOwnSignatories } from "./decisionMakerRoles-CTy0faoW.js";
|
|
16
16
|
import { i as useAnalyticsContext } from "./Modal-ByJare7m.js";
|
|
17
17
|
import { n as useTermsOfServiceAcceptanceInfos, t as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-D1_ECrkO.js";
|
|
18
18
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
19
|
-
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-
|
|
19
|
+
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-J6Fn_3DE.js";
|
|
20
20
|
import { t as EndStateLayout } from "./EndStateLayout-CBRHUXyY.js";
|
|
21
21
|
import { t as downloadFile } from "./file-1IenVoh8.js";
|
|
22
22
|
import { r as LoaderWrapper, t as getLanguageCode } from "./utils-C1buyvRw.js";
|
|
23
|
-
import { n as getLegalEntityNameBasedOnType } from "./getName-
|
|
23
|
+
import { n as getLegalEntityNameBasedOnType } from "./getName-C5jqdkJg.js";
|
|
24
24
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BiIxm8IU.js";
|
|
25
|
-
import { t as MaybeModal } from "./MaybeModal-
|
|
25
|
+
import { t as MaybeModal } from "./MaybeModal-CHv9TiJZ.js";
|
|
26
26
|
import { t as ProgressBar } from "./ProgressBar-DWFxLMUA.js";
|
|
27
27
|
import { t as localizeDateString } from "./localizeDateString-Bmx3yBcR.js";
|
|
28
|
-
import { t as Field } from "./Field-
|
|
29
|
-
import { t as Select } from "./Select-
|
|
28
|
+
import { t as Field } from "./Field-Dg-2A6bG.js";
|
|
29
|
+
import { t as Select } from "./Select-D4oEtS2n.js";
|
|
30
30
|
import { t as Checkbox } from "./Checkbox-DdEBnXOB.js";
|
|
31
|
-
import { t as useForm } from "./useForm-
|
|
31
|
+
import { t as useForm } from "./useForm-CUZ1OXNT.js";
|
|
32
32
|
import { t as ContractViewer } from "./ContractViewer-JtnAXSDa.js";
|
|
33
33
|
import { useCallback, useEffect, useMemo, useState } from "preact/hooks";
|
|
34
34
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -475,42 +475,42 @@ function ServiceAgreementDropin({ legalEntityResponse, handleAddSigner, handleSi
|
|
|
475
475
|
});
|
|
476
476
|
}
|
|
477
477
|
//#endregion
|
|
478
|
-
//#region src/components/EmbeddedDropins/
|
|
479
|
-
var
|
|
480
|
-
function
|
|
478
|
+
//#region src/components/EmbeddedDropins/TermsOfServiceManagement/TermsOfServiceManagement.tsx
|
|
479
|
+
var TermsOfServiceManagement_exports = /* @__PURE__ */ __exportAll({ TermsOfServiceManagement: () => TermsOfServiceManagement });
|
|
480
|
+
function TermsOfServiceManagement({ legalEntityId, modalView = false, onClose, onComplete, onUnmount, onAccept, handleAddSigner }) {
|
|
481
481
|
if (!legalEntityId) throw new Error("Must provide at-least a legalEntityId");
|
|
482
482
|
const { i18n } = useTranslation();
|
|
483
483
|
addResourceBundles(i18n, [
|
|
484
484
|
{
|
|
485
485
|
ns: "common",
|
|
486
486
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
487
|
-
"../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
488
|
-
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-
|
|
489
|
-
"../../../language/locales/da-DK.json": () => import("./da-DK-
|
|
490
|
-
"../../../language/locales/de-DE.json": () => import("./de-DE-
|
|
491
|
-
"../../../language/locales/el-GR.json": () => import("./el-GR-
|
|
487
|
+
"../../../language/locales/bg-BG.json": () => import("./bg-BG-BNxxbT-Z.js"),
|
|
488
|
+
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-Bw702SPD.js"),
|
|
489
|
+
"../../../language/locales/da-DK.json": () => import("./da-DK-CUL_Et0l.js"),
|
|
490
|
+
"../../../language/locales/de-DE.json": () => import("./de-DE-D-2q3DBW.js"),
|
|
491
|
+
"../../../language/locales/el-GR.json": () => import("./el-GR-RkQ7qOtM.js"),
|
|
492
492
|
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-FOYUYA3c.js"),
|
|
493
|
-
"../../../language/locales/en-US.json": () => import("./en-US-
|
|
494
|
-
"../../../language/locales/es-ES.json": () => import("./es-ES-
|
|
495
|
-
"../../../language/locales/es-LA.json": () => import("./es-LA-
|
|
496
|
-
"../../../language/locales/et-EE.json": () => import("./et-EE-
|
|
497
|
-
"../../../language/locales/fi-FI.json": () => import("./fi-FI-
|
|
498
|
-
"../../../language/locales/fr-FR.json": () => import("./fr-FR-
|
|
499
|
-
"../../../language/locales/hr-HR.json": () => import("./hr-HR-
|
|
500
|
-
"../../../language/locales/hu-HU.json": () => import("./hu-HU-
|
|
501
|
-
"../../../language/locales/it-IT.json": () => import("./it-IT-
|
|
502
|
-
"../../../language/locales/ja-JP.json": () => import("./ja-JP-
|
|
503
|
-
"../../../language/locales/lt-LT.json": () => import("./lt-LT-
|
|
504
|
-
"../../../language/locales/lv-LV.json": () => import("./lv-LV-
|
|
505
|
-
"../../../language/locales/nl-NL.json": () => import("./nl-NL-
|
|
506
|
-
"../../../language/locales/no-NO.json": () => import("./no-NO-
|
|
507
|
-
"../../../language/locales/pl-PL.json": () => import("./pl-PL-
|
|
508
|
-
"../../../language/locales/pt-BR.json": () => import("./pt-BR-
|
|
509
|
-
"../../../language/locales/pt-PT.json": () => import("./pt-PT-
|
|
510
|
-
"../../../language/locales/ro-RO.json": () => import("./ro-RO-
|
|
511
|
-
"../../../language/locales/sk-SK.json": () => import("./sk-SK-
|
|
512
|
-
"../../../language/locales/sl-SI.json": () => import("./sl-SI-
|
|
513
|
-
"../../../language/locales/sv-SE.json": () => import("./sv-SE-
|
|
493
|
+
"../../../language/locales/en-US.json": () => import("./en-US-BNfqvbyW.js"),
|
|
494
|
+
"../../../language/locales/es-ES.json": () => import("./es-ES-CtKqdJ9Z.js"),
|
|
495
|
+
"../../../language/locales/es-LA.json": () => import("./es-LA-racbldhR.js"),
|
|
496
|
+
"../../../language/locales/et-EE.json": () => import("./et-EE-CXOeuULd.js"),
|
|
497
|
+
"../../../language/locales/fi-FI.json": () => import("./fi-FI-BNfxJDvc.js"),
|
|
498
|
+
"../../../language/locales/fr-FR.json": () => import("./fr-FR-Byelw2ED.js"),
|
|
499
|
+
"../../../language/locales/hr-HR.json": () => import("./hr-HR-Cmnnjuvd.js"),
|
|
500
|
+
"../../../language/locales/hu-HU.json": () => import("./hu-HU-8uDv5c4i.js"),
|
|
501
|
+
"../../../language/locales/it-IT.json": () => import("./it-IT-VzcvfA7e.js"),
|
|
502
|
+
"../../../language/locales/ja-JP.json": () => import("./ja-JP-B05v6NdN.js"),
|
|
503
|
+
"../../../language/locales/lt-LT.json": () => import("./lt-LT-C7Bf2i87.js"),
|
|
504
|
+
"../../../language/locales/lv-LV.json": () => import("./lv-LV-D3bkGuXV.js"),
|
|
505
|
+
"../../../language/locales/nl-NL.json": () => import("./nl-NL-lyCxhWKl.js"),
|
|
506
|
+
"../../../language/locales/no-NO.json": () => import("./no-NO-FFwOUFr9.js"),
|
|
507
|
+
"../../../language/locales/pl-PL.json": () => import("./pl-PL-B9u7WZBs.js"),
|
|
508
|
+
"../../../language/locales/pt-BR.json": () => import("./pt-BR-XeJRk5pM2.js"),
|
|
509
|
+
"../../../language/locales/pt-PT.json": () => import("./pt-PT-CCuTeMbQ.js"),
|
|
510
|
+
"../../../language/locales/ro-RO.json": () => import("./ro-RO-CXGpXJAG.js"),
|
|
511
|
+
"../../../language/locales/sk-SK.json": () => import("./sk-SK-DoHPhXvk.js"),
|
|
512
|
+
"../../../language/locales/sl-SI.json": () => import("./sl-SI-Ga2XE4DC.js"),
|
|
513
|
+
"../../../language/locales/sv-SE.json": () => import("./sv-SE-DYjpbult.js")
|
|
514
514
|
}), `../../../language/locales/${lang}.json`, 6)
|
|
515
515
|
},
|
|
516
516
|
{
|
|
@@ -632,4 +632,4 @@ function AcceptTermsOfServiceComponent({ legalEntityId, modalView = false, onClo
|
|
|
632
632
|
});
|
|
633
633
|
}
|
|
634
634
|
//#endregion
|
|
635
|
-
export {
|
|
635
|
+
export { TermsOfServiceManagement_exports as n, TermsOfServiceManagement as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "95959adc-15d1-4a4f-a5c0-b3b5bde755b6", e._sentryDebugIdIdentifier = "sentry-dbid-95959adc-15d1-4a4f-a5c0-b3b5bde755b6");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { o as createLogger, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
6
|
import { i as useAnalyticsContext } from "./Modal-ByJare7m.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "24615754-6b68-4754-8b82-8d192cebb21a", e._sentryDebugIdIdentifier = "sentry-dbid-24615754-6b68-4754-8b82-8d192cebb21a");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as Icon, i as Typography } from "./translation-BYvhW5zA.js";
|
|
6
6
|
import { a as noop } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8ad062e4-11a5-461d-831e-1a884ff03f43", e._sentryDebugIdIdentifier = "sentry-dbid-8ad062e4-11a5-461d-831e-1a884ff03f43");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { i as Typography, n as addResourceBundles, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
-
import { $ as hasRepeatedCharacters, A as _rolldown_dynamic_import_helper_default, D as useCapabilities, H as NO_ALPHABET_REGEX, T as datasetUtilities, W as OTHER_ENTITIES_VALID_CHAR_REGEX, et as hasText, h as getCountrySpecificTrustTypeOptions, it as isInvalidName, j as useToggleContext, k as Header, ot as isValidMinLength, st as matchesRegex, x as Alert, z as EMOJI_REGEX } from "./resolveEnvironment-
|
|
6
|
+
import { $ as hasRepeatedCharacters, A as _rolldown_dynamic_import_helper_default, D as useCapabilities, H as NO_ALPHABET_REGEX, T as datasetUtilities, W as OTHER_ENTITIES_VALID_CHAR_REGEX, et as hasText, h as getCountrySpecificTrustTypeOptions, it as isInvalidName, j as useToggleContext, k as Header, ot as isValidMinLength, st as matchesRegex, x as Alert, z as EMOJI_REGEX } from "./resolveEnvironment-GK5T4kh0.js";
|
|
7
7
|
import { r as Loader } from "./Button-i8I2dHP8.js";
|
|
8
8
|
import { s as useApiContext } from "./http-8qgzqVqk.js";
|
|
9
9
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CtlUQv_J.js";
|
|
@@ -11,44 +11,61 @@ import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
|
11
11
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
12
12
|
import { c as keysOf, i as drop, n as cloneObject } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
13
13
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
14
|
-
import { C as EntityTypes, a as trustComponentsKeyMapping, i as trustApiKeyMapping, o as trustDocumentMapping, y as reverseMapping } from "./processCapabilities-
|
|
15
|
-
import { t as TaskTypes } from "./taskTypes-
|
|
16
|
-
import { s as getOwnEntityAssociations } from "./entityAssociationUtil-
|
|
14
|
+
import { C as EntityTypes, a as trustComponentsKeyMapping, i as trustApiKeyMapping, o as trustDocumentMapping, y as reverseMapping } from "./processCapabilities-C2kMryYn.js";
|
|
15
|
+
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
16
|
+
import { s as getOwnEntityAssociations } from "./entityAssociationUtil-DLXInibJ.js";
|
|
17
17
|
import { t as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-CkuvFV-D.js";
|
|
18
|
-
import { n as useToastContext } from "./invalidateRootLegalEntity-
|
|
19
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-
|
|
18
|
+
import { n as useToastContext } from "./invalidateRootLegalEntity-J6Fn_3DE.js";
|
|
19
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-ubvE1Px7.js";
|
|
20
20
|
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CoBr-K0N.js";
|
|
21
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
22
|
-
import { t as
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import { t as
|
|
26
|
-
import {
|
|
27
|
-
import { t as
|
|
28
|
-
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-CBm5xZ6Y.js";
|
|
21
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-dTvcbSw5.js";
|
|
22
|
+
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-Br4I8Pwd.js";
|
|
23
|
+
import { n as composePerScenarioFormConfigurations, r as getPropsFromConfigurations, t as augmentWithCountryConfigs } from "./process-field-configurations-DBtjrbif.js";
|
|
24
|
+
import { t as ErrorPanel } from "./ErrorPanel-D2HeWU2y.js";
|
|
25
|
+
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-BrLGUOLK.js";
|
|
26
|
+
import { t as useMultiForm } from "./useMultiForm-4UkMBFNd.js";
|
|
27
|
+
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-BvFf01k6.js";
|
|
29
28
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BiIxm8IU.js";
|
|
30
29
|
import { i as mapAddressLabels } from "./utils-BIsRIG8_.js";
|
|
31
|
-
import {
|
|
32
|
-
import { a as createDocumentRequest, o as documentApiUtils, s as getDocument } from "./validate-
|
|
30
|
+
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-DDA2CFwh.js";
|
|
31
|
+
import { a as createDocumentRequest, o as documentApiUtils, s as getDocument } from "./validate-CMxq61UU.js";
|
|
33
32
|
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
34
|
-
import { n as TAX_INFORMATION_FIELD, o as getFieldsWithExistingData, r as TaxInformationField, t as PatriotActDisclosure } from "./PatriotActDisclosure-
|
|
35
|
-
import { a as
|
|
36
|
-
import {
|
|
33
|
+
import { n as TAX_INFORMATION_FIELD, o as getFieldsWithExistingData, r as TaxInformationField, t as PatriotActDisclosure } from "./PatriotActDisclosure-Cmj8Y1xN.js";
|
|
34
|
+
import { a as isValidationError } from "./validationError-Bk5vfkJ5.js";
|
|
35
|
+
import { a as validateNotEmptyOnBlur } from "./patternValidators-Be6iVFPv.js";
|
|
36
|
+
import { A as taxInformationDefaultFieldMetadata, D as exemptedFromTaxDefaultFieldMetadata, E as exemptedFromTaxDefaultFieldConfig, d as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, k as taxInformationDefaultFieldConfig } from "./utils-BgABwuIB.js";
|
|
37
37
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
38
|
-
import { t as Field } from "./Field-
|
|
39
|
-
import { t as Select } from "./Select-
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import {
|
|
43
|
-
import { t as
|
|
44
|
-
import { t as
|
|
38
|
+
import { t as Field } from "./Field-Dg-2A6bG.js";
|
|
39
|
+
import { t as Select } from "./Select-D4oEtS2n.js";
|
|
40
|
+
import "./Dropzone-COnvkQh6.js";
|
|
41
|
+
import "./useForm-CUZ1OXNT.js";
|
|
42
|
+
import { r as getFormProps } from "./getProps-DVqK7eRw.js";
|
|
43
|
+
import { t as InputText } from "./InputText-CQcWyZ8_.js";
|
|
44
|
+
import { n as CountryField, t as COUNTRY_FIELD } from "./CountryField-DL3-F-J6.js";
|
|
45
|
+
import { t as RadioGroup } from "./RadioGroup-Bt1Dv_S8.js";
|
|
46
|
+
import { t as Address } from "./Address-C9PWLHwA.js";
|
|
47
|
+
import { t as ContextGuidance } from "./ContextGuidance-CWE86uX8.js";
|
|
45
48
|
import { t as createFormRules } from "./form-rules-CUUQGacJ.js";
|
|
46
|
-
import { c as getRegistrationNumberHelperText, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, o as exemptFromRegistrationNumberDefaultFieldConfig, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-
|
|
47
|
-
import {
|
|
49
|
+
import { c as getRegistrationNumberHelperText, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, o as exemptFromRegistrationNumberDefaultFieldConfig, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-Bw8drJYB.js";
|
|
50
|
+
import { _ as doingBusinessAsFieldMetadata, c as BusinessRegistrationNumberField, d as VatNumberField, f as getDefaultVatNumberType, g as doingBusinessAsAbsentFieldMetadata, l as MemoizedConstitutionalDocument, m as defaultFieldMetadata, p as defaultFieldConfig, s as BUSINESS_REGISTRATION_NUMBER_FIELD, t as countryToTaxInfoTypeMap, u as VAT_NUMBER_FIELD, v as DBANameField, y as DBA_NAME_FIELD } from "./utils-DrqKnCzc.js";
|
|
48
51
|
import { a as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, i as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, n as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, o as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, r as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, t as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-Bm4RGrSI.js";
|
|
49
52
|
import { useCallback, useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
50
53
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
51
54
|
import { skipToken } from "@tanstack/preact-query";
|
|
55
|
+
import "preact";
|
|
56
|
+
//#region src/components/Shared/forms/RegistrationAddress/types.ts
|
|
57
|
+
var operationalAddressIsSameIds = {
|
|
58
|
+
OPERATIONAL_ADDRESS_IS_SAME: "OperationAddressAnswerYes",
|
|
59
|
+
OPERATIONAL_ADDRESS_IS_NOT_SAME: "OperationAddressAnswerNo"
|
|
60
|
+
};
|
|
61
|
+
var operationalAddressIsSameItems = [{
|
|
62
|
+
id: operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_SAME,
|
|
63
|
+
name: "operationalAddressIsSameItemName"
|
|
64
|
+
}, {
|
|
65
|
+
id: operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_NOT_SAME,
|
|
66
|
+
name: "operationalAddressIsNotSameItemName"
|
|
67
|
+
}];
|
|
68
|
+
//#endregion
|
|
52
69
|
//#region src/components/Trust/mapping/mapApiDocumentToTrustDocument.ts
|
|
53
70
|
var mapApiDocumentToTrustDocument = (entityId) => {
|
|
54
71
|
const constitutionalDocument = getDocument(entityId, "constitutionalDocument") || null;
|
|
@@ -244,6 +261,27 @@ var mapTrustToLegalEntity = (data, isFeatureEnabled) => {
|
|
|
244
261
|
return requestObj;
|
|
245
262
|
};
|
|
246
263
|
//#endregion
|
|
264
|
+
//#region src/components/Shared/forms/RegistrationAddress/RegistrationAddress.tsx
|
|
265
|
+
var registrationAddressFields = [
|
|
266
|
+
"registrationAddress",
|
|
267
|
+
"operationalAddress",
|
|
268
|
+
"operationalAddressIsSame"
|
|
269
|
+
];
|
|
270
|
+
var registrationAddressForms = {
|
|
271
|
+
registrationAddress: {
|
|
272
|
+
formId: "registrationAddress",
|
|
273
|
+
formName: "registeredAddress",
|
|
274
|
+
fields: ["address"]
|
|
275
|
+
},
|
|
276
|
+
operationalAddress: {
|
|
277
|
+
formId: "operationalAddress",
|
|
278
|
+
formName: "operationalAddressHeader",
|
|
279
|
+
fields: ["address"]
|
|
280
|
+
}
|
|
281
|
+
};
|
|
282
|
+
registrationAddressForms.registrationAddress.formId;
|
|
283
|
+
registrationAddressForms.operationalAddress.formId;
|
|
284
|
+
//#endregion
|
|
247
285
|
//#region src/components/Shared/forms/RegistrationAddress/RegistrationAddressMultiform.tsx
|
|
248
286
|
var registrationAddressFormID = {
|
|
249
287
|
registrationAddress: {
|