@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
package/dist/adyen-onboarding.js
CHANGED
|
@@ -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] = "9b1ca250-ad46-4b7b-93f8-380b27be821c", e._sentryDebugIdIdentifier = "sentry-dbid-9b1ca250-ad46-4b7b-93f8-380b27be821c");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as Icon, 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, F as useToggles, O as useSetting, _ as isPartOfTrustFromLegalEntity, a as doesLegalEntityRequiresLegalRepresentative, b as isInstantVerifiedAccount, d as hasRejectedCapabilities, ft as useAccountHolder, g as getOwnTrustProblems, i as useGlobalStore, j as useToggleContext, m as isPartOfUnincorporatedPartnership, mt as stylesheets, n as EmbedShell, p as getOwnUnincorporatedPartnershipProblems, pt as useLocalStorage, r as useGetTaskStatus, t as resolveEnvironment, u as hasAllCapabilitiesResolved, x as Alert, y as getObscuredAccountNumber } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, F as useToggles, N as FeatureNames, O as useSetting, _ as isPartOfTrustFromLegalEntity, a as doesLegalEntityRequiresLegalRepresentative, b as isInstantVerifiedAccount, d as hasRejectedCapabilities, ft as useAccountHolder, g as getOwnTrustProblems, i as useGlobalStore, j as useToggleContext, m as isPartOfUnincorporatedPartnership, mt as stylesheets, n as EmbedShell, p as getOwnUnincorporatedPartnershipProblems, pt as useLocalStorage, r as useGetTaskStatus, t as resolveEnvironment, u as hasAllCapabilitiesResolved, x as Alert, y as getObscuredAccountNumber } 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 { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CtlUQv_J.js";
|
|
@@ -15,14 +15,14 @@ import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
|
15
15
|
import { i as TaskStatuses, n as TASK_STATUS_POLLING_INTERVAL_MS, t as TASK_STATUS_COMPLETED_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
|
|
16
16
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
17
17
|
import { n as Skeleton } from "./Accordion-IXKjwyLD.js";
|
|
18
|
-
import { t as TaskTypes } from "./taskTypes-
|
|
19
|
-
import { a as getLegalRepresentative, c as getOwnSolePropProblems, f as hasSolePropInLegalEntity } from "./entityAssociationUtil-
|
|
20
|
-
import { a as getOwnSignatories, i as getOwnDecisionMakersLegalEntityIds } from "./decisionMakerRoles-
|
|
21
|
-
import { n as canShowAdaptivePoc, t as TaskListItem } from "./TaskListItem-
|
|
18
|
+
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
19
|
+
import { a as getLegalRepresentative, c as getOwnSolePropProblems, f as hasSolePropInLegalEntity } from "./entityAssociationUtil-DLXInibJ.js";
|
|
20
|
+
import { a as getOwnSignatories, i as getOwnDecisionMakersLegalEntityIds } from "./decisionMakerRoles-CTy0faoW.js";
|
|
21
|
+
import { n as canShowAdaptivePoc, t as TaskListItem } from "./TaskListItem-DBBj0Y4g.js";
|
|
22
22
|
import { i as useAnalyticsContext } from "./Modal-ByJare7m.js";
|
|
23
23
|
import { t as HandlerContext } from "./HandlerContext-DeMa68z0.js";
|
|
24
24
|
import { t as SettingNames } from "./types-Cwq1JAWT.js";
|
|
25
|
-
import {
|
|
25
|
+
import { n as TrustedFieldsProviders, t as LandingLayout } from "./LandingLayout-iZpW1Vsx.js";
|
|
26
26
|
import { r as getTrustedFieldsProvider } from "./getTrustedFields-BJ88GlM-.js";
|
|
27
27
|
import { t as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-CkuvFV-D.js";
|
|
28
28
|
import { t as useBusinessLines } from "./useBusinessLines-BFsRoAAj.js";
|
|
@@ -30,21 +30,22 @@ import { n as usePciQuestionnaireList, t as getPciQuestionnaireList } from "./us
|
|
|
30
30
|
import { n as usePciStatus, t as useSalesChannels } from "./useSalesChannels-CQjvFAb2.js";
|
|
31
31
|
import { n as useTermsOfServiceAcceptanceInfos, t as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-D1_ECrkO.js";
|
|
32
32
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
33
|
-
import { n as useToastContext } from "./invalidateRootLegalEntity-
|
|
34
|
-
import { t as useCanSeeIntroduction } from "./useCanSeeIntroduction-
|
|
35
|
-
import { a as idNowPostSubmit, c as CompanyTypesValues, n as isBafinSignatoryFlow, s as showIdNowModal } from "./bafinUtils-
|
|
36
|
-
import { n as getDefaultAccountHolderType } from "./accountHolderUtils-
|
|
37
|
-
import { t as useDataMissingRemediations } from "./useDataMissingRemediations-
|
|
33
|
+
import { n as useToastContext } from "./invalidateRootLegalEntity-J6Fn_3DE.js";
|
|
34
|
+
import { t as useCanSeeIntroduction } from "./useCanSeeIntroduction-DrlUqeMe.js";
|
|
35
|
+
import { a as idNowPostSubmit, c as CompanyTypesValues, n as isBafinSignatoryFlow, s as showIdNowModal } from "./bafinUtils-CbfyDBkh.js";
|
|
36
|
+
import { n as getDefaultAccountHolderType } from "./accountHolderUtils-BT48ldYL.js";
|
|
37
|
+
import { t as useDataMissingRemediations } from "./useDataMissingRemediations-BzbA8Mu4.js";
|
|
38
38
|
import { t as EndStateLayout } from "./EndStateLayout-CBRHUXyY.js";
|
|
39
|
-
import { n as useCapabilityProblems } from "./getProblemsForEntity-
|
|
39
|
+
import { n as useCapabilityProblems } from "./getProblemsForEntity-ubvE1Px7.js";
|
|
40
40
|
import { t as downloadFile } from "./file-1IenVoh8.js";
|
|
41
41
|
import { t as filterProblemsByTaskForms } from "./filterProblemsByTaskForms-CQby20PN.js";
|
|
42
|
-
import { n as useDeleteTransferInstrument } from "./VerificationErrorAlert-
|
|
42
|
+
import { n as useDeleteTransferInstrument } from "./VerificationErrorAlert-CcHG8uTw.js";
|
|
43
43
|
import { n as translateTranslatable } from "./utils-C1buyvRw.js";
|
|
44
|
+
import { n as showGlobalEntryModal, t as GlobalEntryModal } from "./GlobalEntryModal-S77yxIeE.js";
|
|
44
45
|
import { t as isNewEntity } from "./isNewEntity-vML86iIM.js";
|
|
45
|
-
import { A as
|
|
46
|
+
import { A as UnincorporatedPartnershipMemberRoleAndTypePage, C as TrustDetailsPage, D as TrustMembersOverview, E as TrustMemberRoleAndTypePage, M as getDefaultTask, O as UnincorporatedPartnershipIndividualPage, S as TaxReportingDropin, T as TrustMemberIndividualPage, _ as RootIndividualDetailsPage, a as BusinessTypeSelectionPage, b as SoleProprietorshipPage, c as DecisionMakers, d as LegalRepresentativeDetailsPage, f as PayoutDetailsPage, g as RootBusinessLinesPage, h as RootBusinessDetailsPage, i as BusinessFinancingPage, j as UnincorporatedPartnershipMembersOverview, k as UnincorporatedPartnershipMemberCompanyPage, l as GlobalEntryPage, m as Review, n as AcceptTermsOfService, o as CustomerSupport, p as ROUTE_PATHS, r as AccountSetupRejected, s as DecisionMakerDetailsPage, t as useNavigate, u as Introduction, v as SignPCIComponent, w as TrustMemberCompanyPage, x as SourceOfFundsPage, y as SingpassSelection } from "./useNavigate-M26qVOyL.js";
|
|
46
47
|
import { n as Image, t as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-nnTW3FnG.js";
|
|
47
|
-
import { t as useTrustMembers } from "./useTrustMembers-
|
|
48
|
+
import { t as useTrustMembers } from "./useTrustMembers-BzeLWevD.js";
|
|
48
49
|
import register from "preact-custom-element";
|
|
49
50
|
import { Suspense, lazy } from "preact/compat";
|
|
50
51
|
import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useMemo as useMemo$1, useReducer, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
@@ -54,6 +55,7 @@ import { skipToken, useQuery } from "@tanstack/preact-query";
|
|
|
54
55
|
import { createContext as createContext$1 } from "preact";
|
|
55
56
|
import { Route, Router, Switch, matchRoute, useLocation, useRouter } from "wouter-preact";
|
|
56
57
|
import { memoryLocation } from "wouter-preact/memory-location";
|
|
58
|
+
import { Show } from "@preact/signals/utils";
|
|
57
59
|
//#region src/api/configurations/useTaskTypes.ts
|
|
58
60
|
/**
|
|
59
61
|
* Determines based on legalEntity what tasks need to be shown to users
|
|
@@ -310,36 +312,6 @@ var useBusinessSetup = (legalEntityResponse) => {
|
|
|
310
312
|
return accountHolderType === "theCompanyIWorkFor" && organizationType ? companyTypesMapping[organizationType] : businessTypeMapping[accountHolderType]?.[legalEntityResponse.type];
|
|
311
313
|
};
|
|
312
314
|
//#endregion
|
|
313
|
-
//#region src/components/Business/forms/BusinessDetails/form-ids.ts
|
|
314
|
-
var businessFormIds = [
|
|
315
|
-
"basicInformation",
|
|
316
|
-
"businessSelection",
|
|
317
|
-
"companyStructure",
|
|
318
|
-
"additionalInformation",
|
|
319
|
-
"companyRegistrationDocument",
|
|
320
|
-
"companyTaxDocument",
|
|
321
|
-
"companyProofOfDirectorDocument",
|
|
322
|
-
"companyProofOfSignatoryDocument",
|
|
323
|
-
"companyProofOfAddressDocument",
|
|
324
|
-
"companyProofOfOwnershipDocument",
|
|
325
|
-
"companyFinancialInformation",
|
|
326
|
-
"companyConstitutionalDocument"
|
|
327
|
-
];
|
|
328
|
-
//#endregion
|
|
329
|
-
//#region src/components/Individual/forms/form-ids.ts
|
|
330
|
-
var individualFormIds = [
|
|
331
|
-
"signatoryQuestionnaire",
|
|
332
|
-
"uboQuestionnaire",
|
|
333
|
-
"basicDetails",
|
|
334
|
-
"idVerificationMethod",
|
|
335
|
-
"inviteDetails",
|
|
336
|
-
"additionalPersonalDetails",
|
|
337
|
-
"manualIdUpload",
|
|
338
|
-
"proofOfResidency",
|
|
339
|
-
"proofOfNationalId",
|
|
340
|
-
"proofOfRelationship"
|
|
341
|
-
];
|
|
342
|
-
//#endregion
|
|
343
315
|
//#region src/components/Apps/tasks/TaskList/utils.ts
|
|
344
316
|
var logger$1 = createLogger();
|
|
345
317
|
var getAccountTaskStatus = (accountId, payinPayoutTaskStatus) => {
|
|
@@ -352,7 +324,7 @@ var getAccountTaskStatus = (accountId, payinPayoutTaskStatus) => {
|
|
|
352
324
|
return TaskStatuses[taskStatusEntry.status];
|
|
353
325
|
};
|
|
354
326
|
//#endregion
|
|
355
|
-
//#region src/components/
|
|
327
|
+
//#region src/components/BankAccount/tasks/PayoutAccount/PayoutAccountTaskListItem.tsx
|
|
356
328
|
var PayoutAccountTaskListItem = ({ account, capabilityProblems, onNavigateToTask, payinPayoutTaskStatus }) => {
|
|
357
329
|
const { t } = useTranslation("common");
|
|
358
330
|
const { showToast } = useToastContext();
|
|
@@ -396,7 +368,37 @@ var PayoutAccountTaskListItem = ({ account, capabilityProblems, onNavigateToTask
|
|
|
396
368
|
});
|
|
397
369
|
};
|
|
398
370
|
//#endregion
|
|
399
|
-
//#region src/components/
|
|
371
|
+
//#region src/components/Business/forms/BusinessDetails/form-ids.ts
|
|
372
|
+
var businessFormIds = [
|
|
373
|
+
"basicInformation",
|
|
374
|
+
"businessSelection",
|
|
375
|
+
"companyStructure",
|
|
376
|
+
"additionalInformation",
|
|
377
|
+
"companyRegistrationDocument",
|
|
378
|
+
"companyTaxDocument",
|
|
379
|
+
"companyProofOfDirectorDocument",
|
|
380
|
+
"companyProofOfSignatoryDocument",
|
|
381
|
+
"companyProofOfAddressDocument",
|
|
382
|
+
"companyProofOfOwnershipDocument",
|
|
383
|
+
"companyFinancialInformation",
|
|
384
|
+
"companyConstitutionalDocument"
|
|
385
|
+
];
|
|
386
|
+
//#endregion
|
|
387
|
+
//#region src/components/Individual/forms/form-ids.ts
|
|
388
|
+
var individualFormIds = [
|
|
389
|
+
"signatoryQuestionnaire",
|
|
390
|
+
"uboQuestionnaire",
|
|
391
|
+
"basicDetails",
|
|
392
|
+
"idVerificationMethod",
|
|
393
|
+
"inviteDetails",
|
|
394
|
+
"additionalPersonalDetails",
|
|
395
|
+
"manualIdUpload",
|
|
396
|
+
"proofOfResidency",
|
|
397
|
+
"proofOfNationalId",
|
|
398
|
+
"proofOfRelationship"
|
|
399
|
+
];
|
|
400
|
+
//#endregion
|
|
401
|
+
//#region src/components/Apps/tasks/TaskList/TaskListGroup/TaskListGroup.tsx
|
|
400
402
|
var TaskListGroup = ({ title, children }) => /* @__PURE__ */ jsxs("article", {
|
|
401
403
|
className: "adyen-task-list-group",
|
|
402
404
|
children: [title && /* @__PURE__ */ jsx("header", {
|
|
@@ -425,17 +427,21 @@ var LEGAL_ENTITY_BASE_TASKS = [
|
|
|
425
427
|
var CONTRACT_TASKS = [TaskTypes.SERVICE_AGREEMENT, TaskTypes.PCI_DSS];
|
|
426
428
|
function TaskList({ onNavigateToTask, singpassComponent }) {
|
|
427
429
|
const { data: rootLe, isLoading } = useLegalEntity(ROOT_LE);
|
|
428
|
-
const { t } = useTranslation("
|
|
430
|
+
const { t: taskListT, i18n } = useTranslation("taskList");
|
|
431
|
+
addResourceBundles(i18n, [{
|
|
432
|
+
ns: "taskList",
|
|
433
|
+
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({ "./language/en-US.json": () => import("./en-US-7Uo1OcXR.js") }), `./language/${lang}.json`, 3)
|
|
434
|
+
}]);
|
|
429
435
|
const { data: existingBusinessLines, isLoading: isLoadingBl, error: businessLinesError } = useBusinessLines(["paymentProcessing"]);
|
|
430
436
|
const capabilityProblems = useCapabilityProblems() ?? {};
|
|
431
437
|
if (isLoading || !rootLe || isLoadingBl) return /* @__PURE__ */ jsx(Loader, { size: "large" });
|
|
432
438
|
if (businessLinesError) return /* @__PURE__ */ jsx(EndStateLayout, {
|
|
433
|
-
title:
|
|
439
|
+
title: taskListT(($) => $["thisPageIsntLoading"]),
|
|
434
440
|
variant: "error",
|
|
435
441
|
action: /* @__PURE__ */ jsx(Button, {
|
|
436
442
|
onClick: () => window.location.reload(),
|
|
437
443
|
fullWidth: true,
|
|
438
|
-
children:
|
|
444
|
+
children: taskListT(($) => $["reloadPage"])
|
|
439
445
|
})
|
|
440
446
|
});
|
|
441
447
|
return /* @__PURE__ */ jsx(TaskListInner, {
|
|
@@ -449,6 +455,7 @@ function TaskList({ onNavigateToTask, singpassComponent }) {
|
|
|
449
455
|
function TaskListInner({ onNavigateToTask, legalEntityResponse, capabilityProblems, singpassComponent, existingBusinessLines }) {
|
|
450
456
|
const userEvents = useAnalyticsContext();
|
|
451
457
|
const { t } = useTranslation("common");
|
|
458
|
+
const { t: taskListT } = useTranslation("taskList");
|
|
452
459
|
const { showToast } = useToastContext();
|
|
453
460
|
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
454
461
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -504,11 +511,11 @@ function TaskListInner({ onNavigateToTask, legalEntityResponse, capabilityProble
|
|
|
504
511
|
const pciTaskState = (() => {
|
|
505
512
|
if (!hasPciSigners) return {
|
|
506
513
|
disabled: true,
|
|
507
|
-
infoMessage:
|
|
514
|
+
infoMessage: taskListT(($) => $["requiresDecisionMakers"])
|
|
508
515
|
};
|
|
509
516
|
if (isSettingEnabled("allowBusinessLines") && !hasCreatedBusinessLines) return {
|
|
510
517
|
disabled: true,
|
|
511
|
-
infoMessage:
|
|
518
|
+
infoMessage: taskListT(($) => $["requiresBusinessLine"])
|
|
512
519
|
};
|
|
513
520
|
return {
|
|
514
521
|
disabled: !pciStatus?.signingRequired,
|
|
@@ -518,22 +525,22 @@ function TaskListInner({ onNavigateToTask, legalEntityResponse, capabilityProble
|
|
|
518
525
|
const serviceAgreementTaskState = (() => {
|
|
519
526
|
if (isSettingEnabled("allowBusinessLines") && shouldSignPciFirst) return {
|
|
520
527
|
disabled: true,
|
|
521
|
-
infoMessage:
|
|
528
|
+
infoMessage: taskListT(($) => $["signPciFirst"])
|
|
522
529
|
};
|
|
523
530
|
if (!hasServiceAgreementSigners) return {
|
|
524
531
|
disabled: true,
|
|
525
|
-
infoMessage:
|
|
532
|
+
infoMessage: taskListT(($) => $["requiresSignatory"])
|
|
526
533
|
};
|
|
527
534
|
return {
|
|
528
535
|
disabled: false,
|
|
529
536
|
infoMessage: void 0
|
|
530
537
|
};
|
|
531
538
|
})();
|
|
532
|
-
const
|
|
533
|
-
if (hasUnincorporatedPartnership) return "tellUsMoreAboutPrimaryPartner";
|
|
534
|
-
else if (tasks.includes(TaskTypes.BUSINESS_DETAILS)) return isReview ? "
|
|
535
|
-
else if (canChangeEntityType) return "provideFewDetailsAboutYourself";
|
|
536
|
-
else return "accountDetailsDescription";
|
|
539
|
+
const getBusinessTaskListTitle = () => {
|
|
540
|
+
if (hasUnincorporatedPartnership) return taskListT(($) => $["tellUsMoreAboutPrimaryPartner"]);
|
|
541
|
+
else if (tasks.includes(TaskTypes.BUSINESS_DETAILS)) return isReview ? taskListT(($) => $["inOrderToEnsureYourDataIsUpToDate"]) : t(($) => $["tellUsAboutYourBusiness"]);
|
|
542
|
+
else if (canChangeEntityType) return taskListT(($) => $["provideFewDetailsAboutYourself"]);
|
|
543
|
+
else return taskListT(($) => $["accountDetailsDescription"]);
|
|
537
544
|
};
|
|
538
545
|
const getEmptyBankAccountProblems = () => {
|
|
539
546
|
const transferInstrumentId = legalEntityResponse?.transferInstruments?.[0]?.id;
|
|
@@ -556,7 +563,7 @@ function TaskListInner({ onNavigateToTask, legalEntityResponse, capabilityProble
|
|
|
556
563
|
}));
|
|
557
564
|
} catch {
|
|
558
565
|
showToast({
|
|
559
|
-
label:
|
|
566
|
+
label: taskListT(($) => $["failedToDownloadPci"]),
|
|
560
567
|
variant: "error"
|
|
561
568
|
});
|
|
562
569
|
} finally {
|
|
@@ -594,6 +601,10 @@ function TaskListInner({ onNavigateToTask, legalEntityResponse, capabilityProble
|
|
|
594
601
|
return /* @__PURE__ */ jsxs("div", {
|
|
595
602
|
className: "adyen-task-list__container",
|
|
596
603
|
children: [
|
|
604
|
+
/* @__PURE__ */ jsx(Show, {
|
|
605
|
+
when: showGlobalEntryModal,
|
|
606
|
+
children: /* @__PURE__ */ jsx(GlobalEntryModal, {})
|
|
607
|
+
}),
|
|
597
608
|
canSeeIntroduction && /* @__PURE__ */ jsx("div", {
|
|
598
609
|
className: "adyen-task-list__nav",
|
|
599
610
|
children: /* @__PURE__ */ jsx(Button, {
|
|
@@ -602,12 +613,20 @@ function TaskListInner({ onNavigateToTask, legalEntityResponse, capabilityProble
|
|
|
602
613
|
children: t(($) => $["goToIntroduction"])
|
|
603
614
|
})
|
|
604
615
|
}),
|
|
605
|
-
canChangeEntityType && /* @__PURE__ */
|
|
616
|
+
canChangeEntityType && (isFeatureEnabled(FeatureNames.EnableGlobalEntryFlow) ? /* @__PURE__ */ jsx(LandingLayout, {
|
|
617
|
+
title: taskListT(($) => $["letsGetYourBusinessSetUp"]),
|
|
618
|
+
description: taskListT(($) => $["weNeedToCollectAndVerifyInformation"], { businessType: t(($) => $[businessSetup ?? "unknown"]).toLowerCase() }),
|
|
619
|
+
actions: /* @__PURE__ */ jsx(Button, {
|
|
620
|
+
onClick: () => showGlobalEntryModal.value = true,
|
|
621
|
+
variant: "secondary",
|
|
622
|
+
children: taskListT(($) => $["changeBusinessType"])
|
|
623
|
+
})
|
|
624
|
+
}) : /* @__PURE__ */ jsxs("header", {
|
|
606
625
|
className: "adyen-task-list__heading",
|
|
607
626
|
children: [/* @__PURE__ */ jsx(Typography, {
|
|
608
627
|
el: "h1",
|
|
609
628
|
variant: "title-l",
|
|
610
|
-
children:
|
|
629
|
+
children: taskListT(($) => $["setUpYourAccount"])
|
|
611
630
|
}), /* @__PURE__ */ jsxs(Typography, {
|
|
612
631
|
el: "p",
|
|
613
632
|
variant: "title",
|
|
@@ -623,13 +642,14 @@ function TaskListInner({ onNavigateToTask, legalEntityResponse, capabilityProble
|
|
|
623
642
|
onClick: onEditBusinessSetupClick
|
|
624
643
|
})]
|
|
625
644
|
})]
|
|
626
|
-
}),
|
|
645
|
+
})),
|
|
627
646
|
singpassComponent,
|
|
628
647
|
/* @__PURE__ */ jsxs(StackLayout, { children: [
|
|
629
648
|
hasTaskOfGroupAccountDetails && /* @__PURE__ */ jsxs(TaskListGroup, {
|
|
630
|
-
title:
|
|
649
|
+
title: getBusinessTaskListTitle(),
|
|
631
650
|
children: [
|
|
632
651
|
tasks.includes(TaskTypes.INDIVIDUAL) && /* @__PURE__ */ jsx(TaskListItem, {
|
|
652
|
+
title: hasTrust ? taskListT(($) => $["trusteePersonalDetails"]) : hasUnincorporatedPartnership ? taskListT(($) => $["primaryPartnerDetails"]) : taskListT(($) => $["personalDetails"]),
|
|
633
653
|
onNavigateToTask: handleOnNavigateToTaskIndividual,
|
|
634
654
|
icon: "decision-maker",
|
|
635
655
|
titleKey: hasTrust ? "trusteePersonalDetails" : hasUnincorporatedPartnership ? "primaryPartnerDetails" : "personalDetails",
|
|
@@ -637,6 +657,7 @@ function TaskListInner({ onNavigateToTask, legalEntityResponse, capabilityProble
|
|
|
637
657
|
problems: filterProblemsByTaskForms(rootLegalEntityProblems, fullIndividualFormIds)
|
|
638
658
|
}),
|
|
639
659
|
tasks.includes(TaskTypes.BUSINESS_DETAILS) && /* @__PURE__ */ jsx(TaskListItem, {
|
|
660
|
+
title: hasTrust ? taskListT(($) => $["businessTrusteeDetails"]) : hasUnincorporatedPartnership ? taskListT(($) => $["primaryPartnerDetails"]) : t(($) => $["businessDetails"]),
|
|
640
661
|
testId: TaskTypes.BUSINESS_DETAILS,
|
|
641
662
|
onNavigateToTask: handleOnNavigateToTaskBusinessDetails,
|
|
642
663
|
icon: "company",
|
|
@@ -645,6 +666,7 @@ function TaskListInner({ onNavigateToTask, legalEntityResponse, capabilityProble
|
|
|
645
666
|
problems: filterProblemsByTaskForms(rootLegalEntityProblems, businessFormIds)
|
|
646
667
|
}),
|
|
647
668
|
hasSoleProprietorship && /* @__PURE__ */ jsx(TaskListItem, {
|
|
669
|
+
title: canChangeEntityType ? taskListT(($) => $["soleProprietorshipDetails"]) : taskListT(($) => $["soleProprietorDetails"]),
|
|
648
670
|
onNavigateToTask: handleOnNavigateToSoleProp,
|
|
649
671
|
icon: "company",
|
|
650
672
|
titleKey: canChangeEntityType ? "soleProprietorshipDetails" : "soleProprietorDetails",
|
|
@@ -652,12 +674,14 @@ function TaskListInner({ onNavigateToTask, legalEntityResponse, capabilityProble
|
|
|
652
674
|
problems: getOwnSolePropProblems(legalEntityResponse, capabilityProblems)
|
|
653
675
|
}),
|
|
654
676
|
isLegalRepresentativeRequired && /* @__PURE__ */ jsx(TaskListItem, {
|
|
677
|
+
title: taskListT(($) => $["legalRepresentative"]),
|
|
655
678
|
onNavigateToTask: handleOnNavigateToTaskLegalRepresentative,
|
|
656
679
|
icon: "decision-maker",
|
|
657
680
|
titleKey: "legalRepresentative",
|
|
658
681
|
status: getTaskStatus(TaskTypes.LEGAL_REPRESENTATIVE_DETAILS)
|
|
659
682
|
}),
|
|
660
683
|
tasks.includes(TaskTypes.DECISION_MAKER_OVERVIEW) && /* @__PURE__ */ jsx(TaskListItem, {
|
|
684
|
+
title: hasUnincorporatedPartnership ? taskListT(($) => $["entityDecisionMakers"]) : taskListT(($) => $["decisionMakers"]),
|
|
661
685
|
onNavigateToTask: handleOnNavigateToTaskDecisionMaker,
|
|
662
686
|
icon: "decision-maker",
|
|
663
687
|
titleKey: hasUnincorporatedPartnership ? "entityDecisionMakers" : "decisionMakers",
|
|
@@ -665,6 +689,7 @@ function TaskListInner({ onNavigateToTask, legalEntityResponse, capabilityProble
|
|
|
665
689
|
warningMessage: showDecisionMakersWarning ? remediationMessages[TaskTypes.DECISION_MAKER] : void 0
|
|
666
690
|
}),
|
|
667
691
|
tasks.includes(TaskTypes.ACQUIRING_BUSINESS_LINE) && /* @__PURE__ */ jsx(TaskListItem, {
|
|
692
|
+
title: t(($) => $["businessLines"]),
|
|
668
693
|
testId: TaskTypes.ACQUIRING_BUSINESS_LINE,
|
|
669
694
|
onNavigateToTask: handleOnNavigateToTaskBusinessLines,
|
|
670
695
|
icon: "solutionPayments",
|
|
@@ -672,6 +697,7 @@ function TaskListInner({ onNavigateToTask, legalEntityResponse, capabilityProble
|
|
|
672
697
|
status: taskStatuses?.ACQUIRING_BUSINESS_LINE?.status ?? TaskStatuses.UNKNOWN
|
|
673
698
|
}),
|
|
674
699
|
showCustomerSupportV4 && tasks.includes(TaskTypes.CUSTOMER_SUPPORT) && /* @__PURE__ */ jsx(TaskListItem, {
|
|
700
|
+
title: t(($) => $["customerSupport"]),
|
|
675
701
|
onNavigateToTask: handleOnNavigateToTaskCustomerSupport,
|
|
676
702
|
icon: "webinar",
|
|
677
703
|
titleKey: "customerSupport",
|
|
@@ -681,14 +707,16 @@ function TaskListInner({ onNavigateToTask, legalEntityResponse, capabilityProble
|
|
|
681
707
|
]
|
|
682
708
|
}),
|
|
683
709
|
hasTrust && /* @__PURE__ */ jsxs(TaskListGroup, {
|
|
684
|
-
title:
|
|
710
|
+
title: taskListT(($) => $["trustDetailsDescription"]),
|
|
685
711
|
children: [/* @__PURE__ */ jsx(TaskListItem, {
|
|
712
|
+
title: taskListT(($) => $["trustDetails"]),
|
|
686
713
|
onNavigateToTask: handleOnNavigateToTaskTrust,
|
|
687
714
|
icon: "trust",
|
|
688
715
|
titleKey: "trustDetails",
|
|
689
716
|
status: getTaskStatus(TaskTypes.TRUST),
|
|
690
717
|
problems: getOwnTrustProblems(legalEntityResponse, capabilityProblems)
|
|
691
718
|
}), /* @__PURE__ */ jsx(TaskListItem, {
|
|
719
|
+
title: taskListT(($) => $["trustMembers"]),
|
|
692
720
|
onNavigateToTask: handleOnNavigateToTaskTrustMember,
|
|
693
721
|
icon: "decision-maker",
|
|
694
722
|
titleKey: "trustMembers",
|
|
@@ -698,12 +726,14 @@ function TaskListInner({ onNavigateToTask, legalEntityResponse, capabilityProble
|
|
|
698
726
|
hasUnincorporatedPartnership && /* @__PURE__ */ jsxs(TaskListGroup, {
|
|
699
727
|
title: t(($) => $["partnershipUnincorporated"]),
|
|
700
728
|
children: [/* @__PURE__ */ jsx(TaskListItem, {
|
|
729
|
+
title: taskListT(($) => $["unincorporatedDetails"]),
|
|
701
730
|
onNavigateToTask: () => onNavigateToTask(TaskTypes.UNINCORPORATED_PARTNERSHIP),
|
|
702
731
|
icon: "trust",
|
|
703
732
|
titleKey: "unincorporatedDetails",
|
|
704
733
|
status: getTaskStatus(TaskTypes.UNINCORPORATED_PARTNERSHIP),
|
|
705
734
|
problems: getOwnUnincorporatedPartnershipProblems(legalEntityResponse, capabilityProblems)
|
|
706
735
|
}), /* @__PURE__ */ jsx(TaskListItem, {
|
|
736
|
+
title: taskListT(($) => $["unincorporatedPartnershipMembers"]),
|
|
707
737
|
onNavigateToTask: () => {
|
|
708
738
|
if (!isPartOfUnincorporatedPartnership(legalEntityResponse)) onNavigateToTask(TaskTypes.UNINCORPORATED_PARTNERSHIP);
|
|
709
739
|
else onNavigateToTask(TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_OVERVIEW);
|
|
@@ -714,24 +744,27 @@ function TaskListInner({ onNavigateToTask, legalEntityResponse, capabilityProble
|
|
|
714
744
|
})]
|
|
715
745
|
}),
|
|
716
746
|
hasFinancingTasks && /* @__PURE__ */ jsxs(TaskListGroup, { children: [tasks.includes(TaskTypes.SOURCE_OF_FUNDS) && /* @__PURE__ */ jsx(TaskListItem, {
|
|
747
|
+
title: taskListT(($) => $["fundingSources"]),
|
|
717
748
|
onNavigateToTask: handleOnNavigateToSourceOfFunds,
|
|
718
749
|
icon: "cash-stack",
|
|
719
750
|
titleKey: "fundingSources",
|
|
720
751
|
status: taskStatuses?.SOURCE_OF_FUNDS?.status ?? TaskStatuses.UNKNOWN
|
|
721
752
|
}), tasks.includes(TaskTypes.BUSINESS_FINANCING) && /* @__PURE__ */ jsx(TaskListItem, {
|
|
753
|
+
title: taskListT(($) => $["businessFinancing"]),
|
|
722
754
|
onNavigateToTask: handleOnNavigateToBusinessFinancing,
|
|
723
755
|
icon: "capital",
|
|
724
756
|
titleKey: "businessFinancing",
|
|
725
757
|
status: taskStatuses?.BUSINESS_FINANCING?.status ?? TaskStatuses.UNKNOWN
|
|
726
758
|
})] }),
|
|
727
759
|
tasks.includes(TaskTypes.TAX_REPORTING) && /* @__PURE__ */ jsx(TaskListGroup, { children: /* @__PURE__ */ jsx(TaskListItem, {
|
|
760
|
+
title: taskListT(($) => $["taxReporting"]),
|
|
728
761
|
onNavigateToTask: handleOnNavigateToTaxReporting,
|
|
729
762
|
icon: "reporting",
|
|
730
763
|
titleKey: "taxReporting",
|
|
731
764
|
status: taskStatuses?.TAX_REPORTING?.status ?? TaskStatuses.UNKNOWN
|
|
732
765
|
}) }),
|
|
733
766
|
(tasks.includes(TaskTypes.PAYOUT) || tasks.includes(TaskTypes.PAYIN)) && !hidePayoutAccountTaskToggled && /* @__PURE__ */ jsx(TaskListGroup, {
|
|
734
|
-
title: canChangeEntityType ? t(($) => $["payoutBankAccounts"]) :
|
|
767
|
+
title: canChangeEntityType ? t(($) => $["payoutBankAccounts"]) : taskListT(($) => $[hasPayinTaskNotPayout ? "payinAccountsDescription" : payoutTaskDescriptionKey]),
|
|
735
768
|
children: transferInstruments.length > 0 ? /* @__PURE__ */ jsxs(Fragment$1, { children: [transferInstruments.map((transferInstrument) => /* @__PURE__ */ jsx(PayoutAccountTaskListItem, {
|
|
736
769
|
account: transferInstrument,
|
|
737
770
|
capabilityProblems,
|
|
@@ -743,10 +776,11 @@ function TaskListInner({ onNavigateToTask, legalEntityResponse, capabilityProble
|
|
|
743
776
|
children: [/* @__PURE__ */ jsx(Icon, {
|
|
744
777
|
name: "plus",
|
|
745
778
|
className: "adyen-task-list__card-icon "
|
|
746
|
-
}), /* @__PURE__ */ jsx("span", { children: canChangeEntityType ?
|
|
779
|
+
}), /* @__PURE__ */ jsx("span", { children: canChangeEntityType ? taskListT(($) => $["addExtraBankAccount"]) : taskListT(($) => $[hasPayinTaskNotPayout ? "addExtraPayinAccount" : "addExtraPayoutAccount"]) })]
|
|
747
780
|
}) : null] }) : /* @__PURE__ */ jsx(TaskListItem, {
|
|
748
781
|
onNavigateToTask: () => handleOnNavigateToTaskPayout(),
|
|
749
782
|
icon: "payout",
|
|
783
|
+
title: canChangeEntityType ? taskListT(($) => $["bankAccountDetails"]) : hasPayinTaskNotPayout ? taskListT(($) => $["payinDetails"]) : t(($) => $["payoutDetails"]),
|
|
750
784
|
titleKey: canChangeEntityType ? "bankAccountDetails" : hasPayinTaskNotPayout ? "payinDetails" : "payoutDetails",
|
|
751
785
|
status: TaskStatuses.DETAILS_REQUIRED,
|
|
752
786
|
disabled: !canAddPayoutAccount,
|
|
@@ -754,11 +788,12 @@ function TaskListInner({ onNavigateToTask, legalEntityResponse, capabilityProble
|
|
|
754
788
|
})
|
|
755
789
|
}),
|
|
756
790
|
hasContractTasks && /* @__PURE__ */ jsxs(TaskListGroup, {
|
|
757
|
-
title:
|
|
791
|
+
title: taskListT(($) => $["reviewAndSignLegalDisclosures"]),
|
|
758
792
|
children: [showPciTask && /* @__PURE__ */ jsx(TaskListItem, {
|
|
759
793
|
onNavigateToTask: handleOnNavigateToPci,
|
|
760
794
|
icon: "pci",
|
|
761
795
|
titleKey: "pciDssQuestionnaire",
|
|
796
|
+
title: t(($) => $["pciDssQuestionnaire"]),
|
|
762
797
|
status: canDownloadPci ? TaskStatuses.DOWNLOAD : TaskStatuses.SIGN,
|
|
763
798
|
info: pciTaskState.infoMessage,
|
|
764
799
|
downloadHandler: onPciDownload,
|
|
@@ -767,17 +802,19 @@ function TaskListInner({ onNavigateToTask, legalEntityResponse, capabilityProble
|
|
|
767
802
|
onNavigateToTask: handleOnNavigateToServiceAgreement,
|
|
768
803
|
icon: "contract",
|
|
769
804
|
titleKey: "signServiceAgreement",
|
|
805
|
+
title: taskListT(($) => $["signServiceAgreement"]),
|
|
770
806
|
disabled: serviceAgreementTaskState.disabled,
|
|
771
807
|
status: serviceAgreementTypes.length ? TaskStatuses.SIGN : TaskStatuses.SIGNED,
|
|
772
808
|
info: serviceAgreementTaskState.infoMessage
|
|
773
809
|
})]
|
|
774
810
|
}),
|
|
775
811
|
isReview && /* @__PURE__ */ jsx(TaskListGroup, {
|
|
776
|
-
title:
|
|
812
|
+
title: taskListT(($) => $["pleaseEnsureTheFollowing"]),
|
|
777
813
|
children: /* @__PURE__ */ jsx(TaskListItem, {
|
|
778
814
|
onNavigateToTask: handleOnNavigateToTaskReview,
|
|
779
815
|
icon: "review",
|
|
780
816
|
titleKey: "submitReviewOfYourData",
|
|
817
|
+
title: t(($) => $["submitReviewOfYourData"]),
|
|
781
818
|
status: TaskStatuses.SUBMIT,
|
|
782
819
|
problems: rootLegalEntityProblems,
|
|
783
820
|
showErrorAlerts: "always"
|
|
@@ -799,6 +836,7 @@ var useShouldShowIntroduction = ({ legalEntity }) => {
|
|
|
799
836
|
function DefaultRouteRedirect({ legalEntity, children }) {
|
|
800
837
|
const navigate = useNavigate();
|
|
801
838
|
const { isSettingEnabled } = useSettingsContext();
|
|
839
|
+
const { isFeatureEnabled } = useToggleContext();
|
|
802
840
|
const { accountHolder } = useAccountHolder();
|
|
803
841
|
const { canSeeEntitySelection } = useCanSeeEntitySelection(legalEntity.id);
|
|
804
842
|
const { hasSeenSingpassSelection } = useHasSeenSingpassSelection({ legalEntityId: legalEntity.id });
|
|
@@ -818,7 +856,8 @@ function DefaultRouteRedirect({ legalEntity, children }) {
|
|
|
818
856
|
showIntroduction,
|
|
819
857
|
shouldShowSingpassSelection,
|
|
820
858
|
showServiceAgreementsFirst,
|
|
821
|
-
showBusinessFinancingFirst
|
|
859
|
+
showBusinessFinancingFirst,
|
|
860
|
+
isFeatureEnabled
|
|
822
861
|
}), [
|
|
823
862
|
legalEntity,
|
|
824
863
|
canSeeEntitySelection,
|
|
@@ -826,7 +865,8 @@ function DefaultRouteRedirect({ legalEntity, children }) {
|
|
|
826
865
|
showIntroduction,
|
|
827
866
|
shouldShowSingpassSelection,
|
|
828
867
|
showServiceAgreementsFirst,
|
|
829
|
-
showBusinessFinancingFirst
|
|
868
|
+
showBusinessFinancingFirst,
|
|
869
|
+
isFeatureEnabled
|
|
830
870
|
]);
|
|
831
871
|
const shouldRenderInline = defaultTask === TaskTypes.TASKS_OVERVIEW && !!children;
|
|
832
872
|
useEffect$1(() => {
|
|
@@ -889,6 +929,10 @@ function OnboardingRouter({ legalEntity, rootLegalEntityCountry, trust, unincorp
|
|
|
889
929
|
singpassComponent: singpassBanner
|
|
890
930
|
})
|
|
891
931
|
}),
|
|
932
|
+
/* @__PURE__ */ jsx(SuspenseRoute, {
|
|
933
|
+
path: ROUTE_PATHS[TaskTypes.GLOBAL_ENTRY],
|
|
934
|
+
children: /* @__PURE__ */ jsx(GlobalEntryPage, {})
|
|
935
|
+
}),
|
|
892
936
|
/* @__PURE__ */ jsx(SuspenseRoute, {
|
|
893
937
|
path: ROUTE_PATHS[TaskTypes.INTRODUCTION],
|
|
894
938
|
children: /* @__PURE__ */ jsx(Introduction, {
|
|
@@ -1422,7 +1466,7 @@ var useUnincorporatedPartnershipNavigation = ({ navigateTo }) => {
|
|
|
1422
1466
|
};
|
|
1423
1467
|
};
|
|
1424
1468
|
//#endregion
|
|
1425
|
-
//#region src/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/
|
|
1469
|
+
//#region src/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/DropinComposer.tsx
|
|
1426
1470
|
function isIn(values, x) {
|
|
1427
1471
|
return values.includes(x);
|
|
1428
1472
|
}
|
|
@@ -1430,7 +1474,7 @@ var PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVE
|
|
|
1430
1474
|
var logger = createLogger();
|
|
1431
1475
|
var MEMORY_ROUTER_SESSION_KEY = "ho-memory-router-path";
|
|
1432
1476
|
var MEMORY_ROUTER_LE_KEY = "ho-memory-router-le";
|
|
1433
|
-
function
|
|
1477
|
+
function DropinComposer({ legalEntityResponse, ...rest }) {
|
|
1434
1478
|
const leId = legalEntityResponse.id;
|
|
1435
1479
|
const memoryRouter = useMemo$1(() => {
|
|
1436
1480
|
if (sessionStorage.getItem(MEMORY_ROUTER_LE_KEY) !== leId) {
|
|
@@ -1633,7 +1677,7 @@ function WouterDropinComposerInner({ legalEntityResponse, onSubmit, onNavigate =
|
|
|
1633
1677
|
}
|
|
1634
1678
|
//#endregion
|
|
1635
1679
|
//#region src/components/EmbeddedDropins/OnboardingDropinComponent/OnboardingDropinComponent.tsx
|
|
1636
|
-
var AdaptiveWorkflowComponent = lazy(async () => (await import("./AdaptiveWorkflowComponent-
|
|
1680
|
+
var AdaptiveWorkflowComponent = lazy(async () => (await import("./AdaptiveWorkflowComponent-DTGmB4qT.js")).AdaptiveWorkflowComponent);
|
|
1637
1681
|
function OnboardingDropinComponent({ legalEntityId, openBankingPartnerConfigId }) {
|
|
1638
1682
|
const { isFeatureEnabled } = useToggleContext();
|
|
1639
1683
|
if (!legalEntityId) throw new Error("Must provide at-least legalEntityId");
|
|
@@ -1641,33 +1685,33 @@ function OnboardingDropinComponent({ legalEntityId, openBankingPartnerConfigId }
|
|
|
1641
1685
|
addResourceBundles(i18n, [{
|
|
1642
1686
|
ns: "common",
|
|
1643
1687
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
1644
|
-
"../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
1645
|
-
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-
|
|
1646
|
-
"../../../language/locales/da-DK.json": () => import("./da-DK-
|
|
1647
|
-
"../../../language/locales/de-DE.json": () => import("./de-DE-
|
|
1648
|
-
"../../../language/locales/el-GR.json": () => import("./el-GR-
|
|
1688
|
+
"../../../language/locales/bg-BG.json": () => import("./bg-BG-BNxxbT-Z.js"),
|
|
1689
|
+
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-Bw702SPD.js"),
|
|
1690
|
+
"../../../language/locales/da-DK.json": () => import("./da-DK-CUL_Et0l.js"),
|
|
1691
|
+
"../../../language/locales/de-DE.json": () => import("./de-DE-D-2q3DBW.js"),
|
|
1692
|
+
"../../../language/locales/el-GR.json": () => import("./el-GR-RkQ7qOtM.js"),
|
|
1649
1693
|
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-FOYUYA3c.js"),
|
|
1650
|
-
"../../../language/locales/en-US.json": () => import("./en-US-
|
|
1651
|
-
"../../../language/locales/es-ES.json": () => import("./es-ES-
|
|
1652
|
-
"../../../language/locales/es-LA.json": () => import("./es-LA-
|
|
1653
|
-
"../../../language/locales/et-EE.json": () => import("./et-EE-
|
|
1654
|
-
"../../../language/locales/fi-FI.json": () => import("./fi-FI-
|
|
1655
|
-
"../../../language/locales/fr-FR.json": () => import("./fr-FR-
|
|
1656
|
-
"../../../language/locales/hr-HR.json": () => import("./hr-HR-
|
|
1657
|
-
"../../../language/locales/hu-HU.json": () => import("./hu-HU-
|
|
1658
|
-
"../../../language/locales/it-IT.json": () => import("./it-IT-
|
|
1659
|
-
"../../../language/locales/ja-JP.json": () => import("./ja-JP-
|
|
1660
|
-
"../../../language/locales/lt-LT.json": () => import("./lt-LT-
|
|
1661
|
-
"../../../language/locales/lv-LV.json": () => import("./lv-LV-
|
|
1662
|
-
"../../../language/locales/nl-NL.json": () => import("./nl-NL-
|
|
1663
|
-
"../../../language/locales/no-NO.json": () => import("./no-NO-
|
|
1664
|
-
"../../../language/locales/pl-PL.json": () => import("./pl-PL-
|
|
1665
|
-
"../../../language/locales/pt-BR.json": () => import("./pt-BR-
|
|
1666
|
-
"../../../language/locales/pt-PT.json": () => import("./pt-PT-
|
|
1667
|
-
"../../../language/locales/ro-RO.json": () => import("./ro-RO-
|
|
1668
|
-
"../../../language/locales/sk-SK.json": () => import("./sk-SK-
|
|
1669
|
-
"../../../language/locales/sl-SI.json": () => import("./sl-SI-
|
|
1670
|
-
"../../../language/locales/sv-SE.json": () => import("./sv-SE-
|
|
1694
|
+
"../../../language/locales/en-US.json": () => import("./en-US-BNfqvbyW.js"),
|
|
1695
|
+
"../../../language/locales/es-ES.json": () => import("./es-ES-CtKqdJ9Z.js"),
|
|
1696
|
+
"../../../language/locales/es-LA.json": () => import("./es-LA-racbldhR.js"),
|
|
1697
|
+
"../../../language/locales/et-EE.json": () => import("./et-EE-CXOeuULd.js"),
|
|
1698
|
+
"../../../language/locales/fi-FI.json": () => import("./fi-FI-BNfxJDvc.js"),
|
|
1699
|
+
"../../../language/locales/fr-FR.json": () => import("./fr-FR-Byelw2ED.js"),
|
|
1700
|
+
"../../../language/locales/hr-HR.json": () => import("./hr-HR-Cmnnjuvd.js"),
|
|
1701
|
+
"../../../language/locales/hu-HU.json": () => import("./hu-HU-8uDv5c4i.js"),
|
|
1702
|
+
"../../../language/locales/it-IT.json": () => import("./it-IT-VzcvfA7e.js"),
|
|
1703
|
+
"../../../language/locales/ja-JP.json": () => import("./ja-JP-B05v6NdN.js"),
|
|
1704
|
+
"../../../language/locales/lt-LT.json": () => import("./lt-LT-C7Bf2i87.js"),
|
|
1705
|
+
"../../../language/locales/lv-LV.json": () => import("./lv-LV-D3bkGuXV.js"),
|
|
1706
|
+
"../../../language/locales/nl-NL.json": () => import("./nl-NL-lyCxhWKl.js"),
|
|
1707
|
+
"../../../language/locales/no-NO.json": () => import("./no-NO-FFwOUFr9.js"),
|
|
1708
|
+
"../../../language/locales/pl-PL.json": () => import("./pl-PL-B9u7WZBs.js"),
|
|
1709
|
+
"../../../language/locales/pt-BR.json": () => import("./pt-BR-XeJRk5pM2.js"),
|
|
1710
|
+
"../../../language/locales/pt-PT.json": () => import("./pt-PT-CCuTeMbQ.js"),
|
|
1711
|
+
"../../../language/locales/ro-RO.json": () => import("./ro-RO-CXGpXJAG.js"),
|
|
1712
|
+
"../../../language/locales/sk-SK.json": () => import("./sk-SK-DoHPhXvk.js"),
|
|
1713
|
+
"../../../language/locales/sl-SI.json": () => import("./sl-SI-Ga2XE4DC.js"),
|
|
1714
|
+
"../../../language/locales/sv-SE.json": () => import("./sv-SE-DYjpbult.js")
|
|
1671
1715
|
}), `../../../language/locales/${lang}.json`, 6)
|
|
1672
1716
|
}, {
|
|
1673
1717
|
ns: "ui",
|
|
@@ -1706,7 +1750,7 @@ function OnboardingDropinComponent({ legalEntityId, openBankingPartnerConfigId }
|
|
|
1706
1750
|
fallback: /* @__PURE__ */ jsx(Loader, {}),
|
|
1707
1751
|
children: /* @__PURE__ */ jsx(AdaptiveWorkflowComponent, {})
|
|
1708
1752
|
});
|
|
1709
|
-
else return /* @__PURE__ */ jsx(
|
|
1753
|
+
else return /* @__PURE__ */ jsx(DropinComposer, {
|
|
1710
1754
|
legalEntityResponse: legalEntityData,
|
|
1711
1755
|
openBankingPartnerConfigId
|
|
1712
1756
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
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] = "a9c8c174-822d-4b1c-adc1-fd199defd780", e._sentryDebugIdIdentifier = "sentry-dbid-a9c8c174-822d-4b1c-adc1-fd199defd780");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { mt as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
5
|
+
import { mt as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-GK5T4kh0.js";
|
|
6
6
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
7
|
-
import { t as
|
|
7
|
+
import { t as TermsOfServiceManagement } from "./TermsOfServiceManagement-PkkioJsE.js";
|
|
8
8
|
import register from "preact-custom-element";
|
|
9
9
|
import { useRef } from "preact/hooks";
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
@@ -34,7 +34,7 @@ var AdyenTermsOfService = ({ rootlegalentityid, fetchToken, environment, locale,
|
|
|
34
34
|
getSdkToken: fetchToken,
|
|
35
35
|
locale,
|
|
36
36
|
baseUrl: resolveEnvironment(environment),
|
|
37
|
-
children: /* @__PURE__ */ jsx(
|
|
37
|
+
children: /* @__PURE__ */ jsx(TermsOfServiceManagement, {
|
|
38
38
|
legalEntityId: rootlegalentityid,
|
|
39
39
|
onAccept: handleOnAccept,
|
|
40
40
|
onComplete: handleOnComplete,
|