@adyen/kyc-components 3.94.0 → 3.95.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-UXDlHmf_.js → AcceptTermsOfServiceComponent-DQBTbYHm.js} +36 -32
- package/dist/{Accordion-DM9qeMoR.js → Accordion-CyFxp5eR.js} +2 -2
- package/dist/{AccountSetupRejected-DfmKQEp-.js → AccountSetupRejected-BgPC6a82.js} +4 -4
- package/dist/{ActionBar-DCKuV5BO.js → ActionBar-DuqmbwPb.js} +2 -2
- package/dist/{Address-BEUcWe_H.js → Address-uWZO7A9W.js} +10 -12
- package/dist/{Alert-D9HbhU88.js → Alert-BpQzk7oa.js} +3 -3
- package/dist/{Avatar-C_tjYaBz.js → Avatar-cL2Btfr9.js} +2 -2
- package/dist/{BusinessFinancingComponent-B5gLGmkK.js → BusinessFinancingComponent-DQnluWsY.js} +7 -7
- package/dist/{BusinessFinancingDropin-BpZKzB71.js → BusinessFinancingDropin-TTX58HNJ.js} +689 -307
- package/dist/{BusinessFinancingPage-CKdy77OK.js → BusinessFinancingPage-CARcv8Qh.js} +5 -5
- package/dist/{BusinessTypeSelectionPage-ClkY9cbT.js → BusinessTypeSelectionPage-BamCO_8X.js} +9 -9
- package/dist/{Checkbox-BU4IYlt6.js → Checkbox-4TE31vJm.js} +2 -2
- package/dist/{Confirm-BM1PTsnm.js → Confirm-BCbTBwh3.js} +3 -3
- package/dist/{ConstitutionalDocument-D9sPfw_B.js → ConstitutionalDocument-DAXsUY5o.js} +37 -30
- package/dist/{ContactDetails-BRnbG7BX.js → ContactDetails-DF1ERAlH.js} +8 -8
- package/dist/{ContextGuidance-CZGa7C-r.js → ContextGuidance-c2saCqxR.js} +3 -3
- package/dist/{ContractViewer-Byp71k2e.js → ContractViewer-DcQHIGMU.js} +2 -2
- package/dist/{CountryField-DShqP-Yi.js → CountryField-0SyPMIyv.js} +6 -6
- package/dist/{CreateIndividualComponent-BZ6dd8Bd.js → CreateIndividualComponent-BEG5bcc8.js} +7 -7
- package/dist/{CreateTransferInstrumentComponent-1pjVr_3y.js → CreateTransferInstrumentComponent-UEBRtXZu.js} +5 -5
- package/dist/{Currency-CEtDxV-F.js → Currency-CYaHlY2Z.js} +7 -11
- package/dist/{CustomerSupport-gmN79qSl.js → CustomerSupport-CZAM9Fzm.js} +11 -11
- package/dist/{DebugModal-C3horl0P.js → DebugModal-Dpm0S2dA.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-CN1t2Ok6.js → DecisionMakerDetailsPage-CgEYI6wt.js} +14 -10
- package/dist/{DecisionMakers-83kflZpA.js → DecisionMakers-Dj2lHuCW.js} +36 -26
- package/dist/{Dropzone-DYIUInYF.js → Dropzone-D-KrwtNK.js} +4 -4
- package/dist/{EmbeddedStatus-BID4yaOx.js → EmbeddedStatus-Bz7OcIMW.js} +3 -3
- package/dist/{EndStateLayout-Cqmi0QYW.js → EndStateLayout-DnGdtXOr.js} +2 -2
- package/dist/{EntityAssociation-jMAjopdW.js → EntityAssociation-ysCVZKn5.js} +35 -23
- package/dist/{EntityGuidanceStatus-ek-5IvZb.js → EntityGuidanceStatus-BHI0RfAS.js} +3 -3
- package/dist/{ErrorPanel-ByEaxCQu.js → ErrorPanel-CAHQTbMv.js} +3 -3
- package/dist/{Field-Cp_UOAnA.js → Field-CApB-T06.js} +2 -2
- package/dist/{FormNavigation-CttAyMuX.js → FormNavigation-DSCpClML.js} +3 -3
- package/dist/{FormWrapper-C8UDjnjQ.js → FormWrapper-CVN-7oA1.js} +9 -9
- package/dist/{Header-CIxJSQWR.js → Header-DCVQMDDt.js} +2 -2
- package/dist/{Image-T-D-HDf5.js → Image-CJu0BRVo.js} +2 -2
- package/dist/{Individual.rules-DEhHxeiv.js → Individual.rules-NaoLBYL8.js} +29 -14
- package/dist/{IndividualDropin-Dz2ooI0s.js → IndividualDropin-CfUopCha.js} +71 -63
- package/dist/{InputDate-z9OpUslu.js → InputDate-CiL0lNHS.js} +2 -2
- package/dist/{InputText-CBhD5jca.js → InputText-BV_-tgjA.js} +2 -2
- package/dist/{Introduction-Bm3kybSH.js → Introduction-D1Ki78MP.js} +4 -4
- package/dist/{JpAddress-owiNWOqn.js → JpAddress-UoTJ6rCV.js} +18 -13
- package/dist/{LandingLayout-BuBU3Pyb.js → LandingLayout-Cn77l9Co.js} +2 -2
- package/dist/{fieldConfig-CMdKt41r.js → LegalCompanyNameField-iFBtpehs.js} +71 -67
- package/dist/{LegalRepresentativeDetailsPage-vS7jAxuO.js → LegalRepresentativeDetailsPage-B0UoHJQJ.js} +5 -5
- package/dist/{Link-CIBefZJS.js → Link-BJyutNM5.js} +2 -2
- package/dist/{ListItem-CnzgA-sH.js → ListItem-Bgm6YMzN.js} +3 -3
- package/dist/{LoaderWrapper-CwhIpGKR.js → LoaderWrapper-C4vG5XIf.js} +1 -1
- package/dist/ManageIndividualComponent-D9R1S14p.js +46 -0
- package/dist/{ManageTermsOfServiceComponent-BdiC5Nbd.js → ManageTermsOfServiceComponent-CwmatDwh.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-CObC5Uof.js → ManageTransferInstrumentComponent-2b76XSTc.js} +15 -14
- package/dist/{MaskedInput-BfI4FGAA.js → MaskedInput-BbFU7XNV.js} +5 -5
- package/dist/{MaybeModal-DHcu32Dh.js → MaybeModal-BpIcw6KQ.js} +3 -3
- package/dist/{Modal-BKWXTEoU.js → Modal-CJUtsR2N.js} +2 -2
- package/dist/{Name-BCar2_dk.js → Name-DTE823OG.js} +5 -5
- package/dist/{OnboardingDropinComponent-DstStqYS.js → OnboardingDropinComponent-BX4esftr.js} +850 -520
- package/dist/{PayoutDetailsDropin-DSdlqAe2.js → PayoutDetailsDropin-Cqeomvbg.js} +130 -77
- package/dist/{RadioGroup-COsozc9g.js → RadioGroup-DzUpgP12.js} +2 -2
- package/dist/{RadioGroupCard-xqC3IACY.js → RadioGroupCard-g4OS0871.js} +2 -2
- package/dist/{Review-CZwc-DMp.js → Review-Cj1WCiGQ.js} +7 -7
- package/dist/RootBusinessDetailsPage-9NXM1XdC.js +50 -0
- package/dist/{RootBusinessLinesPage-BRgtyHFs.js → RootBusinessLinesPage-YxGXibwW.js} +27 -24
- package/dist/{RootIndividualDetailsPage-C3wTzTp1.js → RootIndividualDetailsPage-DX1rjTXN.js} +7 -6
- package/dist/{Select-DeTBytOH.js → Select-C_6mHv91.js} +4 -4
- package/dist/{SignPCIComponent-CCGyrXvI.js → SignPCIComponent-OxWCtP3x.js} +14 -14
- package/dist/{SingpassSelection-BumqRwXI.js → SingpassSelection-DE4uUTZo.js} +6 -6
- package/dist/SoleProprietorshipPage-BzpFPKOl.js +50 -0
- package/dist/{SourceOfFundsPage-DkjYls-E.js → SourceOfFundsPage-CESAo3kl.js} +33 -32
- package/dist/{StepProgressIndicator-D8PfKJKf.js → StepProgressIndicator-a3q7kzzC.js} +2 -2
- package/dist/{StoreProvider-CsZ-qrGt.js → StoreProvider-BL3nK1iO.js} +157 -132
- package/dist/{StructuredList-9dnJRdx_.js → StructuredList-BNLhk_zV.js} +1 -1
- package/dist/{Summary-DPm9r7Az.js → Summary-8HdspbcQ.js} +19 -8
- package/dist/{TaskVerificationStatus-DrOQToMh.js → TaskVerificationStatus-ycoS73dK.js} +2 -2
- package/dist/{TaxInformationField-NI7Hbgov.js → TaxInformationField-BfDJhJG4.js} +438 -81
- package/dist/{TaxReportingDropin-BBUAxx92.js → TaxReportingDropin-xYD4YqWR.js} +18 -18
- package/dist/{TextArea-CCjCNpAP.js → TextArea-CWY-x138.js} +2 -2
- package/dist/{TileGroup-BhKhvfLz.js → TileGroup-DmZTiaip.js} +3 -3
- package/dist/{TrustDetailsPage-yOmFcEyO.js → TrustDetailsPage-JQ-U6HZk.js} +44 -38
- package/dist/TrustMemberCompanyPage-WwsnSV7c.js +68 -0
- package/dist/{TrustMemberIndividualPage-B8tb56n2.js → TrustMemberIndividualPage-27y1WJMM.js} +11 -8
- package/dist/{TrustMemberRoleAndTypePage-WHu1tc4O.js → TrustMemberRoleAndTypePage-DHCLuLa-.js} +43 -38
- package/dist/{TrustMembersOverview-BWbGUK3k.js → TrustMembersOverview-CqdtBx67.js} +13 -13
- package/dist/{UnincorporatedPartnershipIndividualPage-DD2dn41k.js → UnincorporatedPartnershipIndividualPage-xOJ-Kusf.js} +10 -7
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DsUSSYnI.js → UnincorporatedPartnershipMemberCompanyPage-CBw2IY6X.js} +10 -7
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Ctb0Lz_0.js → UnincorporatedPartnershipMemberRoleAndTypePage-B4fDDHnW.js} +15 -12
- package/dist/{UnincorporatedPartnershipMembersOverview-B_GJIeZC.js → UnincorporatedPartnershipMembersOverview-BrBvKluu.js} +9 -9
- package/dist/{VerificationErrorAlert-CCiMqGl8.js → VerificationErrorAlert-DXaYFyA9.js} +4 -24
- package/dist/{ViewVerificationStatusComponent-CICJ6cy4.js → ViewVerificationStatusComponent-YY4hrQ8I.js} +4 -4
- package/dist/accountHolderUtils-DP6cbO7y.js +66 -0
- package/dist/adyen-business-financing.js +3 -3
- package/dist/adyen-individual-configuration.js +3 -3
- package/dist/adyen-individual-status.js +3 -3
- package/dist/adyen-kyc-components.js +20 -19
- package/dist/adyen-onboarding.js +3 -3
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +3 -3
- package/dist/adyen-transfer-instrument-configuration.js +3 -3
- package/dist/adyen-transfer-instrument-management.js +3 -3
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{bafinUtils-Ch6rVpGi.js → bafinUtils-BCq4-e97.js} +3 -22
- package/dist/bg-BG-CFuVZnaC.js +13 -0
- package/dist/{bg-BG-CepHap8j.js → bg-BG-DMNRRZZE.js} +8 -1
- package/dist/bg-BG-Dp1J1L2X.js +13 -0
- package/dist/{commonValidators-B8wfpMjX.js → commonValidators-BXRpCFOY.js} +2 -2
- package/dist/company-types-value-D_mKv5PT.js +23 -0
- package/dist/cs-CZ-Bd9Zz7z4.js +13 -0
- package/dist/cs-CZ-CYsR__kj.js +13 -0
- package/dist/{cs-CZ-BP7niQM9.js → cs-CZ-DXSMRqPu.js} +8 -1
- package/dist/da-DK-B3Pg-MWO.js +13 -0
- package/dist/{da-DK-Dc0QYG8m.js → da-DK-Cd5IQPv3.js} +8 -1
- package/dist/da-DK-DmFDgnbC.js +13 -0
- package/dist/{de-DE-Dz2OsS1F.js → de-DE-C9NH2zMh.js} +8 -1
- package/dist/de-DE-DRuKxSOy.js +13 -0
- package/dist/de-DE-S6qDey1L.js +13 -0
- package/dist/{dropinUtils-B4Vv7_zJ.js → dropinUtils-DGUJjA6y.js} +4 -4
- package/dist/el-GR-Cezskrdn.js +13 -0
- package/dist/{el-GR-BHG69mXl.js → el-GR-DTHQslLc.js} +8 -1
- package/dist/el-GR-DoS_Va-n.js +13 -0
- package/dist/{en-US-CzEL6t1W.js → en-US-D1sB335h.js} +9 -3
- package/dist/en-US-DLY20x1O.js +13 -0
- package/dist/{en-US-D-B35AoN.js → en-US-DYP6rAvA.js} +8 -1
- package/dist/{en-US-fyGPkcqX.js → en-US-cVpRgdC8.js} +2 -2
- package/dist/es-ES-BYl5-PFR.js +13 -0
- package/dist/{es-ES-BI_jdT67.js → es-ES-DK-7qtDf.js} +8 -1
- package/dist/es-ES-DzB4V6UZ.js +13 -0
- package/dist/et-EE-4fHYOoff.js +13 -0
- package/dist/et-EE-BkHzGD3D.js +13 -0
- package/dist/{et-EE-C_PZO2aI.js → et-EE-DNC4hcxm.js} +8 -1
- package/dist/{fi-FI-hwzizPnr.js → fi-FI-BJLU1JHw.js} +8 -1
- package/dist/fi-FI-Cxkp0GQA.js +13 -0
- package/dist/fi-FI-DFxljML-.js +13 -0
- package/dist/filterProblemsByTaskForms-Cz7iQtms.js +30 -0
- package/dist/{formUtils-q44BTi2U.js → formUtils-CJQolfmf.js} +3 -22
- package/dist/{fr-FR-CYZXbwc9.js → fr-FR-B2je0smB.js} +8 -1
- package/dist/fr-FR-DPehHVb6.js +13 -0
- package/dist/fr-FR-DsEmssxk.js +13 -0
- package/dist/{getName-BxKx8lLd.js → getName-C1AIqAns.js} +2 -2
- package/dist/{getProps-CLJfvUMb.js → getProps-O8Fpl_k_.js} +2 -6
- package/dist/getTrustedFields-C5-mXl-l.js +64 -0
- package/dist/hr-HR-Bjx-KdVs.js +13 -0
- package/dist/{hr-HR-bE6cvRCQ.js → hr-HR-C0NLgF1r.js} +8 -1
- package/dist/hr-HR-DU4nvY6g.js +13 -0
- package/dist/hu-HU-B-lUkFnQ.js +13 -0
- package/dist/hu-HU-D6frnZmR.js +13 -0
- package/dist/{hu-HU-DG-NUDx4.js → hu-HU-DU-5ujQK.js} +8 -1
- package/dist/{iframeWidget-iDH8bVr4.js → iframeWidget-DRjCrrYZ.js} +4 -4
- package/dist/{isEmpty-BNacTlfR.js → isEmpty-C7bLX-qG.js} +2 -2
- package/dist/isNewEntity-7Vw_eQBr.js +13 -0
- package/dist/it-IT-DOBp2-MP.js +13 -0
- package/dist/{it-IT-Erh1DIlj.js → it-IT-Dhwa9Ecj.js} +8 -1
- package/dist/it-IT-VFXgXyRA.js +13 -0
- package/dist/{ja-JP-DfE1PYyN.js → ja-JP-B3wVYIJU.js} +2 -2
- package/dist/ja-JP-B_Q8X66O.js +13 -0
- package/dist/{ja-JP-CWJzqrtj.js → ja-JP-Bc4U0S8-.js} +8 -1
- package/dist/{ja-JP-4Q9zp35q.js → ja-JP-Bv3ru9Xq.js} +14 -7
- package/dist/{ja-JP-CSz7fEkn.js → ja-JP-CceCDXLB.js} +2 -2
- package/dist/{ja-JP-DBoYLzeA.js → ja-JP-DSvZhFNY.js} +4 -4
- package/dist/{japanSupportUtils-C7aPdWXD.js → japanSupportUtils-BucfNSWB.js} +2 -2
- package/dist/{jpAddressSchema-De6ix57p.js → jpAddressSchema-DEOyz9Yo.js} +2 -4
- package/dist/{localizeDateString-DuTq6aHe.js → localizeDateString-n8b2kwyK.js} +2 -2
- package/dist/{lt-LT-Nd1uRoIj.js → lt-LT-C8n1GZoU.js} +8 -1
- package/dist/lt-LT-CE-GdWrg.js +13 -0
- package/dist/lt-LT-WRulV980.js +13 -0
- package/dist/{lv-LV-DKhV24CI.js → lv-LV-BZN4-Xat.js} +8 -1
- package/dist/lv-LV-C9Dhkruv.js +13 -0
- package/dist/lv-LV-dv7fqeBS.js +13 -0
- package/dist/{mapExistingFile-CGg2sd-T.js → mapExistingFile-DtG8dtIh.js} +5 -6
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BwHU4ZwL.js → mapJpAddressSchemaToAddressLocalizations-CpVZUxo1.js} +5 -5
- package/dist/{mapLegalEntityToIndividualSchema-DzCEngXr.js → mapLegalEntityToIndividualSchema-1aYgn5km.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-DLHvwig1.js → mapTransferInstrumentToPayoutAccount-BDQGKfhP.js} +2 -2
- package/dist/{nl-NL-O9GCHMDA.js → nl-NL-B0fvINJj.js} +8 -1
- package/dist/nl-NL-BwIRHJgf.js +13 -0
- package/dist/nl-NL-SjOGmGk5.js +13 -0
- package/dist/no-NO-BAWVf0GX.js +13 -0
- package/dist/{no-NO-CA1aR6Wh.js → no-NO-Jw7Gae-a.js} +8 -1
- package/dist/no-NO-u56mEoG3.js +13 -0
- package/dist/{patternValidators-CZ5mQeGD.js → patternValidators-DcjAPGFV.js} +5 -5
- package/dist/{pl-PL-BKDK0_G8.js → pl-PL-Bmaq3IC3.js} +8 -1
- package/dist/pl-PL-DEMxxz7h.js +13 -0
- package/dist/pl-PL-zqT41Yjw.js +13 -0
- package/dist/{process-field-configurations-BQY03q4v.js → process-field-configurations-CQoldE8s.js} +3 -3
- package/dist/{pt-BR-NtLaWlnZ.js → pt-BR-BaTE6BB_.js} +8 -1
- package/dist/pt-BR-BfDe_8iW.js +13 -0
- package/dist/pt-BR-fMKntiMG.js +13 -0
- package/dist/{pt-PT-C6teRGuD.js → pt-PT-C6pZR9Bc.js} +2 -2
- package/dist/pt-PT-F1qPZJ2c.js +13 -0
- package/dist/{pt-PT-DSxxVA0f.js → pt-PT-c0ap84_F.js} +8 -1
- package/dist/{resolveEnvironment-BEU3VKd8.js → resolveEnvironment-D-07Kfa-.js} +3 -3
- package/dist/ro-RO-0vx6ZLWV.js +13 -0
- package/dist/ro-RO-B5BQrf6C.js +13 -0
- package/dist/{ro-RO-Bybq8JFn.js → ro-RO-BPOHV6Wp.js} +8 -1
- package/dist/{roleMetadata-BeJKyoeE.js → roleMetadata-DsoqlMAY.js} +2 -2
- package/dist/{sk-SK-C6rMIxpz.js → sk-SK-3_SoEn6P.js} +8 -1
- package/dist/sk-SK-Bz4T7upD.js +13 -0
- package/dist/sk-SK-DuLm2CVx.js +13 -0
- package/dist/sl-SI--RTGDByj.js +13 -0
- package/dist/sl-SI-BAIm-qBe.js +13 -0
- package/dist/{sl-SI-tPwbFvOI.js → sl-SI-DbfswGh0.js} +8 -1
- package/dist/style.css +140 -148
- package/dist/styles-CLV89_hH.js +140 -148
- package/dist/sv-SE-BZNey_8S.js +13 -0
- package/dist/{sv-SE-K1QT1cOt.js → sv-SE-D_Efxy3s.js} +8 -1
- package/dist/sv-SE-Dryy3JLw.js +13 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +1 -1
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +3 -3
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +10 -10
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +1 -1
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +3 -3
- package/dist/types/components/{Shared → Business}/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -1
- package/dist/types/components/{Shared → Business}/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +1 -1
- package/dist/types/components/{Shared → Business}/forms/FinancialInformation/mapping/mapFinancialReportsToFinancialInformation.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +6 -6
- package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +1 -2
- package/dist/types/components/Business/utils/companyUtil.d.ts +0 -1
- package/dist/types/components/BusinessLines/pages/RootBusinessLinesPage.d.ts +1 -2
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +1 -1
- package/dist/types/components/EFP/fields/LegalFormField/LegalFormField.d.ts +1 -1
- package/dist/types/components/EFP/fields/NaceCodeField/NaceCodeField.d.ts +1 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +5283 -53
- package/dist/types/components/EFP/mapping/mapBusinessFinancingToLegalEntity.d.ts +3 -2
- package/dist/types/components/EFP/mapping/mapLegalEntityToBusinessFinancing.d.ts +1 -1
- package/dist/types/components/EFP/pages/BusinessFinancingPage.d.ts +1 -2
- package/dist/types/components/EFP/pages/SourceOfFundsPage.d.ts +1 -2
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingSoleProprietor.d.ts +2 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSoleProprietorPersonalInformation.d.ts +4 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +28 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +14 -3
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +10 -1
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +1 -0
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/DropinComposer.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/RouterDropinComposer.d.ts +4 -0
- package/dist/types/components/Individual/forms/IdVerificationMethod/IdVerificationMethod.types.d.ts +2 -1
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +2 -2
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +3 -3
- package/dist/types/components/Shared/EntityAssociation/EntityAssociation.d.ts +0 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +10 -0
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +2 -1
- package/dist/types/components/Shared/fields/CountryField/types.d.ts +2 -1
- package/dist/types/components/Shared/fields/CountryOfGoverningLawField/CountryOfGoverningLawField.d.ts +1 -1
- package/dist/types/components/Shared/fields/CountryOfGoverningLawField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/Currency/Currency.d.ts +1 -1
- package/dist/types/components/Shared/fields/Currency/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/DBANameField/DBANameField.d.ts +1 -1
- package/dist/types/components/Shared/fields/DBANameField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +78 -0
- package/dist/types/components/Shared/fields/LegalCompanyNameField/fieldConfig.d.ts +12 -6
- package/dist/types/components/Shared/fields/LegalCompanyNameField/types.d.ts +3 -1
- package/dist/types/components/Shared/fields/NumberOfEmployees/NumberOfEmployees.d.ts +1 -1
- package/dist/types/components/Shared/fields/NumberOfEmployees/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/Address.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +2 -2
- package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -1
- package/dist/types/components/Trust/pages/TrustDetailsPage.d.ts +1 -2
- package/dist/types/components/Trust/pages/TrustMemberCompanyPage.d.ts +3 -3
- package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +3 -3
- package/dist/types/components/Trust/pages/TrustMemberRoleAndTypePage.d.ts +2 -2
- package/dist/types/components/Trust/tasks/TrustMembers/TrustMembersOverview.d.ts +1 -2
- package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +1 -1
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +3 -3
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +3 -3
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberRoleAndTypePage.d.ts +1 -1
- package/dist/types/components/ui/atoms/Loader/Loader.d.ts +11 -1
- package/dist/types/context/ExperimentContext/types.d.ts +17 -0
- package/dist/types/core/models/api/individual.d.ts +3 -0
- package/dist/types/core/models/api/legal-arrangement.d.ts +3 -0
- package/dist/types/hooks/useForm/types.d.ts +0 -4
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +4 -2
- package/dist/types/hooks/usePageLandedEvent.d.ts +7 -0
- package/dist/types/router/DefaultRouteRedirect.d.ts +8 -0
- package/dist/types/router/MemoryRouterContext.d.ts +9 -0
- package/dist/types/router/OnboardingRouter.d.ts +39 -0
- package/dist/types/router/SuspenseRoute.d.ts +7 -0
- package/dist/types/router/getDefaultTask.d.ts +16 -0
- package/dist/types/router/routeConfig.d.ts +68 -0
- package/dist/types/router/useCurrentTask.d.ts +5 -0
- package/dist/types/router/useNavigate.d.ts +7 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/fieldConfigurations.d.ts +0 -1
- package/dist/types/utils/formUtils.d.ts +0 -3
- package/dist/types/utils/regex/patternValidators.d.ts +1 -1
- package/dist/types/utils/validatorUtils.d.ts +1 -1
- package/dist/{types-B7eWQV7z.js → types-C8yt1YG2.js} +19 -2
- package/dist/{types-BY62XJTq.js → types-DRTd35hZ.js} +2 -2
- package/dist/{types-pKG9olDB.js → types-DujGXeMG.js} +2 -2
- package/dist/{types-BuMuCpsa.js → types-XpRg7EOC.js} +2 -2
- package/dist/{useAssociatedLegalEntity-V0OP9ejx.js → useAssociatedLegalEntity-DlZrp3qi.js} +2 -2
- package/dist/{useBusinessDetailsData-BsXXL7fg.js → useBusinessDetailsData-gZ8moheH.js} +713 -718
- package/dist/useBusinessLines-BD1Yg8Ja.js +29 -0
- package/dist/useCanSeeIntroduction-BHQYUN_d.js +48 -0
- package/dist/{useCreateLegalEntity-otpCRCfZ.js → useCreateLegalEntity-DjRvxwI5.js} +2 -2
- package/dist/useDataMissingRemediations-KgLqbiZx.js +41 -0
- package/dist/{useDataset-CvATx7EN.js → useDataset-Bafefouf.js} +5 -3
- package/dist/useDeleteTransferInstrument-Cf8rmBGA.js +32 -0
- package/dist/{useForm-9nSw9LZY.js → useForm-Bh638xmS.js} +27 -27
- package/dist/{useFormContext-BnlNKQZ7.js → useFormContext-BilJQsMw.js} +7 -7
- package/dist/{useGlobalData-Dy2O7YGk.js → useGlobalData-DkE5IpZB.js} +2 -2
- package/dist/{useMultiForm-CBefohos.js → useMultiForm-djEDTyaG.js} +45 -36
- package/dist/useNavigate-DE0sTmpX.js +265 -0
- package/dist/{useOnboardingStatus-CJrlnkvv.js → useOnboardingStatus-DhK2qF95.js} +1 -1
- package/dist/usePciQuestionnaireList-DsgAv5Ql.js +29 -0
- package/dist/useSalesChannels-DUTiDcGq.js +65 -0
- package/dist/{useScenarios-CkgrmOF-.js → useScenarios-BxbmDi2R.js} +2 -2
- package/dist/useSetting-DwC0bC4k.js +19 -0
- package/dist/useTaskStatus-Cps0L-Yp.js +51 -0
- package/dist/{useTermsOfServiceStatus-DFLF3xas.js → useTermsOfServiceStatus-COugffxI.js} +1 -1
- package/dist/{useToastContext-uSKjdph9.js → useToastContext-DBDF60Ps.js} +2 -2
- package/dist/useTrustMembers-ymPJMufc.js +163 -0
- package/dist/{useUnincorporatedPartnershipMembers-BmLKVfkf.js → useUnincorporatedPartnershipMembers-ZlPU6E-_.js} +4 -4
- package/dist/{useUpdateBusinessLines-BBNXF45E.js → useUpdateBusinessLines-DfjB9Ur6.js} +4 -4
- package/dist/{useUpdateLegalEntity-DHxCVgNk.js → useUpdateLegalEntity-C8rOYkS1.js} +3 -3
- package/dist/{utils-CLLUBF1a.js → utils-B8oIRKRm.js} +2 -2
- package/dist/{utils-ClKogQZa.js → utils-D1RKmLBo.js} +3 -3
- package/dist/{utils-5yZQq_bx.js → utils-DIBG3Hc5.js} +6 -6
- package/dist/{utils-CIHH_aYF.js → utils-Dd2ry06C.js} +2 -2
- package/dist/{utils-CIIs2bXi.js → utils-_6SITBJE.js} +3 -2
- package/dist/{validate-BntX2W3B.js → validate-B6hMWJ8a.js} +10 -2
- package/dist/{validate-CLYo0JdH.js → validate-jqVPVUI3.js} +3 -3
- package/dist/{validationError-DJ6zTIzv.js → validationError-CsCEpxs1.js} +2 -2
- package/package.json +3 -2
- package/dist/ManageIndividualComponent-CJEqOUgN.js +0 -46
- package/dist/RootBusinessDetailsPage-BsAtLAyF.js +0 -50
- package/dist/SoleProprietorshipPage-zgU4q95D.js +0 -50
- package/dist/TrustMemberCompanyPage-DfXulzKv.js +0 -65
- package/dist/bg-BG-C1maG7_G.js +0 -13
- package/dist/bg-BG-D4k_k98M.js +0 -118
- package/dist/cs-CZ-Dq3xx45p.js +0 -13
- package/dist/cs-CZ-nIWwyOHK.js +0 -118
- package/dist/da-DK-CoqZjIMT.js +0 -13
- package/dist/da-DK-CrtuBoDC.js +0 -118
- package/dist/de-DE-CLMlbqGz.js +0 -13
- package/dist/de-DE-mH3MobT9.js +0 -13
- package/dist/el-GR-BEOd56RY.js +0 -13
- package/dist/el-GR-Ckn_3h1a.js +0 -118
- package/dist/en-US-d4WBvUW7.js +0 -118
- package/dist/es-ES-BnPWZP0s.js +0 -13
- package/dist/es-ES-CnyVffM-.js +0 -118
- package/dist/et-EE-RzdBGxDM.js +0 -118
- package/dist/et-EE-rYc8-Bm2.js +0 -13
- package/dist/fi-FI-CYEjY7DQ.js +0 -13
- package/dist/fi-FI-kXC-0USa.js +0 -118
- package/dist/fr-FR-6YOKsDLQ.js +0 -13
- package/dist/fr-FR-CsJuDM2B.js +0 -13
- package/dist/hr-HR-DMSNClBZ.js +0 -13
- package/dist/hr-HR-fyublN95.js +0 -118
- package/dist/hu-HU-CpJDiSu2.js +0 -118
- package/dist/hu-HU-DQlYtR9y.js +0 -13
- package/dist/it-IT-C9cOsMxY.js +0 -13
- package/dist/it-IT-DyCHFg-b.js +0 -118
- package/dist/ja-JP-NuKpFRZl.js +0 -13
- package/dist/lt-LT-CKE7_7_A.js +0 -118
- package/dist/lt-LT-DPU2ZqVt.js +0 -13
- package/dist/lv-LV-BD8xCiCe.js +0 -13
- package/dist/lv-LV-D4Ik0yoE.js +0 -118
- package/dist/nl-NL-CBnYVFv_.js +0 -13
- package/dist/nl-NL-DkbhmJAw.js +0 -118
- package/dist/no-NO-C690hkyd.js +0 -13
- package/dist/no-NO-Df5qUoTc.js +0 -118
- package/dist/pl-PL-BDclj9dt.js +0 -13
- package/dist/pl-PL-ggZjqXWE.js +0 -118
- package/dist/pt-BR-B4wCnZ06.js +0 -13
- package/dist/pt-BR-BOOm5lRR.js +0 -118
- package/dist/pt-PT-BDfNlThr.js +0 -118
- package/dist/ro-RO-BRngQXgs.js +0 -118
- package/dist/ro-RO-PA9lKU0J.js +0 -13
- package/dist/sk-SK-DmqCF6I9.js +0 -13
- package/dist/sk-SK-y9eb7N6i.js +0 -118
- package/dist/sl-SI-CGvCdquD.js +0 -118
- package/dist/sl-SI-DnT4vnh4.js +0 -13
- package/dist/sv-SE-BP2Oun8l.js +0 -118
- package/dist/sv-SE-DopUU1N2.js +0 -13
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/FinancialInformation.d.ts +0 -0
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/ReportedValue.d.ts +0 -0
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/types.d.ts +0 -0
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/validate.d.ts +0 -0
|
@@ -2,34 +2,34 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fb12c94f-d6af-4297-bcbb-04cbe60dd083", e._sentryDebugIdIdentifier = "sentry-dbid-fb12c94f-d6af-4297-bcbb-04cbe60dd083");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, k as httpGet,
|
|
10
|
+
import { b as useApiContext, k as httpGet, z as Typography, u as useTranslation, aC as Trans, r as Icon, V as Button, t as IconButton, H as TASK_STATUS_POLLING_INTERVAL_MS, ai as isEmpty$1, a as addResourceBundles, p as useAnalyticsContext, c as useLegalEntity, L as Loader, R as ROOT_LE, a3 as createLogger, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-BL3nK1iO.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
|
-
import { a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
14
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-DBDF60Ps.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-C8rOYkS1.js";
|
|
15
15
|
import { useQuery } from "@tanstack/preact-query";
|
|
16
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
17
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
18
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
16
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BilJQsMw.js";
|
|
17
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DGUJjA6y.js";
|
|
18
|
+
import { u as useMultiForm } from "./useMultiForm-djEDTyaG.js";
|
|
19
19
|
import { signal } from "@preact/signals";
|
|
20
|
-
import { a as getFormProps } from "./getProps-
|
|
21
|
-
import { F as Field } from "./Field-
|
|
22
|
-
import { H as Header } from "./Header-
|
|
23
|
-
import { L as Link } from "./Link-
|
|
24
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
25
|
-
import { a as Alert } from "./Alert-
|
|
20
|
+
import { a as getFormProps } from "./getProps-O8Fpl_k_.js";
|
|
21
|
+
import { F as Field } from "./Field-CApB-T06.js";
|
|
22
|
+
import { H as Header } from "./Header-DCVQMDDt.js";
|
|
23
|
+
import { L as Link } from "./Link-BJyutNM5.js";
|
|
24
|
+
import { R as RadioGroup } from "./RadioGroup-DzUpgP12.js";
|
|
25
|
+
import { a as Alert } from "./Alert-BpQzk7oa.js";
|
|
26
26
|
import { lazy } from "preact/compat";
|
|
27
|
-
import {
|
|
27
|
+
import { u as useTaskStatus } from "./useTaskStatus-Cps0L-Yp.js";
|
|
28
28
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
29
|
-
import { I as Image } from "./Image-
|
|
30
|
-
import { S as StructuredList } from "./StructuredList-
|
|
31
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
32
|
-
import { i as isEmpty } from "./isEmpty-
|
|
29
|
+
import { I as Image } from "./Image-CJu0BRVo.js";
|
|
30
|
+
import { S as StructuredList } from "./StructuredList-BNLhk_zV.js";
|
|
31
|
+
import { L as LandingLayout } from "./LandingLayout-Cn77l9Co.js";
|
|
32
|
+
import { i as isEmpty } from "./isEmpty-C7bLX-qG.js";
|
|
33
33
|
const getTaxClassification = async (legalEntityId, baseUrl) => {
|
|
34
34
|
return httpGet({
|
|
35
35
|
baseUrl,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ff2fb176-b257-4aef-a259-9ae8684405e3", e._sentryDebugIdIdentifier = "sentry-dbid-ff2fb176-b257-4aef-a259-9ae8684405e3");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useState } from "preact/hooks";
|
|
13
|
-
import {
|
|
13
|
+
import { a3 as createLogger, u as useTranslation, p as useAnalyticsContext } from "./StoreProvider-BL3nK1iO.js";
|
|
14
14
|
import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
15
15
|
const convertFullToHalf = (str) => str.replace(/[!-~]/g, (r) => String.fromCharCode(r.charCodeAt(0) - 65248));
|
|
16
16
|
const logger = createLogger();
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6c56da5d-76d0-4da6-babd-239e416fed9c", e._sentryDebugIdIdentifier = "sentry-dbid-6c56da5d-76d0-4da6-babd-239e416fed9c");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import {
|
|
12
|
+
import { r as Icon, z as Typography, p as useAnalyticsContext, a7 as noop } from "./StoreProvider-BL3nK1iO.js";
|
|
13
13
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
14
14
|
import { useRef } from "preact/hooks";
|
|
15
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
15
|
+
import { K as KEYBOARD_KEYS } from "./Modal-CJUtsR2N.js";
|
|
16
16
|
const tileContainer = "adyen-kyc-tile-container";
|
|
17
17
|
const tile = "adyen-kyc-tile";
|
|
18
18
|
const tileIcon = "adyen-kyc-tile-icon";
|
|
@@ -2,57 +2,57 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2f5d8480-7604-41cd-a648-9ebd3c855bdc", e._sentryDebugIdIdentifier = "sentry-dbid-2f5d8480-7604-41cd-a648-9ebd3c855bdc");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { ad as entriesOf, a6 as objectsDeepEqual, ak as reverseMapping, o as LegalEntityTypes, j as TaskTypes, a0 as CountryCodes, au as hasText, am as matchesRegex, an as NO_ALPHABET_REGEX, ao as EMOJI_REGEX, ap as hasRepeatedCharacters, b0 as isValidMinLength, aq as isInvalidName, bk as OTHER_ENTITIES_VALID_CHAR_REGEX, u as useTranslation, v as useExperimentsContext, z as Typography, bB as getCountrySpecificTrustTypeOptions, bC as trustComponentsKeyMapping, bD as trustApiKeyMapping, b as useApiContext, p as useAnalyticsContext, bE as trustDocumentMapping, ac as cloneObject, g as getLegalEntityCountry, ai as isEmpty$1, aH as drop, aa as getOwnEntityAssociations, c as useLegalEntity, a as addResourceBundles, L as Loader, R as ROOT_LE, aD as keysOf, a8 as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-BL3nK1iO.js";
|
|
11
11
|
import { jsx, Fragment, jsxs } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-
|
|
14
|
-
import {
|
|
13
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-CJu0BRVo.js";
|
|
14
|
+
import { j as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, d as TAX_INFORMATION_FIELD, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, q as exemptedFromTaxDefaultFieldMetadata, w as exemptedFromTaxDefaultFieldConfig, T as TaxInformationField, g as getFieldsWithExistingData, k as getCompanyRegistrationNumberOptions, l as countryToTaxInfoTypeMap, u as useCapabilities } from "./TaxInformationField-BfDJhJG4.js";
|
|
15
15
|
import { useMemo, useCallback, useEffect, useState, useRef } from "preact/hooks";
|
|
16
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
17
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
18
|
-
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-
|
|
19
|
-
import { u as useToastContext } from "./useToastContext-
|
|
20
|
-
import { g as getPropsFromConfigurations, a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
23
|
-
import { o as operationalAddressIsSameIds, D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, f as doingBusinessAsAbsentFieldMetadata, e as doingBusinessAsFieldMetadata, b as registrationNumberDefaultFieldMetadata,
|
|
24
|
-
import { m as mapAddressLabels } from "./utils-
|
|
25
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
26
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
27
|
-
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./validate-
|
|
16
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-DjRvxwI5.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-C8rOYkS1.js";
|
|
18
|
+
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-DkE5IpZB.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-DBDF60Ps.js";
|
|
20
|
+
import { g as getPropsFromConfigurations, a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations } from "./process-field-configurations-CQoldE8s.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DGUJjA6y.js";
|
|
22
|
+
import { m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-DtG8dtIh.js";
|
|
23
|
+
import { o as operationalAddressIsSameIds, D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, f as doingBusinessAsAbsentFieldMetadata, e as doingBusinessAsFieldMetadata, b as registrationNumberDefaultFieldMetadata, k as getDefaultRegistrationNumberType, c as registrationNumberDefaultFieldConfig, n as exemptFromRegistrationNumberDefaultFieldMetadata, p as exemptFromRegistrationNumberDefaultFieldConfig, d as defaultFieldMetadata, l as getDefaultVatNumberType, a as defaultFieldConfig, g as DBANameField, h as BusinessRegistrationNumberField, i as getRegistrationNumberHelperText, j as VatNumberField, r as registrationAddressFields, R as RegistrationAddress, M as MemoizedConstitutionalDocument, m as inferCompanyRegistrationNumberType, q as operationalAddressIsSameItems } from "./ConstitutionalDocument-DAXsUY5o.js";
|
|
24
|
+
import { m as mapAddressLabels } from "./utils-_6SITBJE.js";
|
|
25
|
+
import { F as FormWrapper } from "./FormWrapper-CVN-7oA1.js";
|
|
26
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-CsCEpxs1.js";
|
|
27
|
+
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./validate-jqVPVUI3.js";
|
|
28
28
|
import { a as datasetUtilities } from "./datasetUtil-BHQp0-xL.js";
|
|
29
29
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
30
30
|
import { f as formatObject, g as getProp } from "./utils-DNSfZiio.js";
|
|
31
31
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
32
|
-
import { U as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, a as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, b as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, c as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, d as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
33
|
-
import { a as getFormProps, b as getNestedOuterFormPropsFromOuterFormProps } from "./getProps-
|
|
34
|
-
import { F as Field } from "./Field-
|
|
35
|
-
import { H as Header } from "./Header-
|
|
36
|
-
import { S as Select } from "./Select-
|
|
37
|
-
import { u as useForm } from "./useForm-
|
|
38
|
-
import { a as Alert } from "./Alert-
|
|
39
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
40
|
-
import { I as InputText } from "./InputText-
|
|
41
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
42
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
43
|
-
import { i as isEmpty } from "./isEmpty-
|
|
44
|
-
import { a as validateNotEmptyOnBlur } from "./patternValidators-
|
|
45
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
46
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
32
|
+
import { U as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, a as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, b as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, c as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, d as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-DujGXeMG.js";
|
|
33
|
+
import { a as getFormProps, b as getNestedOuterFormPropsFromOuterFormProps } from "./getProps-O8Fpl_k_.js";
|
|
34
|
+
import { F as Field } from "./Field-CApB-T06.js";
|
|
35
|
+
import { H as Header } from "./Header-DCVQMDDt.js";
|
|
36
|
+
import { S as Select } from "./Select-C_6mHv91.js";
|
|
37
|
+
import { u as useForm } from "./useForm-Bh638xmS.js";
|
|
38
|
+
import { a as Alert } from "./Alert-BpQzk7oa.js";
|
|
39
|
+
import { E as ErrorPanel } from "./ErrorPanel-CAHQTbMv.js";
|
|
40
|
+
import { I as InputText } from "./InputText-BV_-tgjA.js";
|
|
41
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-0SyPMIyv.js";
|
|
42
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-CJQolfmf.js";
|
|
43
|
+
import { i as isEmpty } from "./isEmpty-C7bLX-qG.js";
|
|
44
|
+
import { a as validateNotEmptyOnBlur } from "./patternValidators-DcjAPGFV.js";
|
|
45
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BilJQsMw.js";
|
|
46
|
+
import { u as useMultiForm } from "./useMultiForm-djEDTyaG.js";
|
|
47
47
|
import "preact";
|
|
48
48
|
import "classnames";
|
|
49
49
|
import "named-slots";
|
|
50
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
50
|
+
import { R as RadioGroup } from "./RadioGroup-DzUpgP12.js";
|
|
51
51
|
import "./Radio-BMtxBpnn.js";
|
|
52
|
-
import { A as Address } from "./Address-
|
|
52
|
+
import { A as Address } from "./Address-uWZO7A9W.js";
|
|
53
53
|
import "@preact/signals";
|
|
54
|
-
import "./useDataset-
|
|
55
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
54
|
+
import "./useDataset-Bafefouf.js";
|
|
55
|
+
import { C as ContextGuidance } from "./ContextGuidance-c2saCqxR.js";
|
|
56
56
|
const hasDataChanged = (initialData, currentData) => entriesOf(currentData ?? {}).some(([key, value]) => {
|
|
57
57
|
if (typeof value === "object") {
|
|
58
58
|
return !objectsDeepEqual(value, initialData?.[key]);
|
|
@@ -589,7 +589,10 @@ function TrustRegistrationDetails(props) {
|
|
|
589
589
|
mask: formUtils.getMask("registrationNumber"),
|
|
590
590
|
guidanceText: formUtils.getFieldGuidanceText(BUSINESS_REGISTRATION_NUMBER_FIELD),
|
|
591
591
|
placeholders: formUtils.getFieldPlaceholders(BUSINESS_REGISTRATION_NUMBER_FIELD),
|
|
592
|
-
helperText:
|
|
592
|
+
helperText: getRegistrationNumberHelperText(trustT, {
|
|
593
|
+
country,
|
|
594
|
+
companyType: LegalEntityTypes.TRUST
|
|
595
|
+
}),
|
|
593
596
|
readonly: formUtils.isReadOnly("registrationNumber"),
|
|
594
597
|
optional: formUtils.isOptionalField("registrationNumber"),
|
|
595
598
|
shouldValidate: mergedProps.shouldValidate,
|
|
@@ -1621,7 +1624,10 @@ function TrustRegistrationDetailsMultiform({
|
|
|
1621
1624
|
mask: formUtils.getMask("registrationNumber"),
|
|
1622
1625
|
guidanceText: formUtils.getFieldGuidanceText(BUSINESS_REGISTRATION_NUMBER_FIELD),
|
|
1623
1626
|
placeholders: formUtils.getFieldPlaceholders(BUSINESS_REGISTRATION_NUMBER_FIELD),
|
|
1624
|
-
helperText:
|
|
1627
|
+
helperText: getRegistrationNumberHelperText(trustT, {
|
|
1628
|
+
country,
|
|
1629
|
+
companyType: LegalEntityTypes.TRUST
|
|
1630
|
+
}),
|
|
1625
1631
|
readonly: formUtils.isReadOnly("registrationNumber"),
|
|
1626
1632
|
optional: formUtils.isOptionalField("registrationNumber"),
|
|
1627
1633
|
shouldValidate,
|
|
@@ -2140,7 +2146,7 @@ const TrustDetailsPage = ({
|
|
|
2140
2146
|
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
2141
2147
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
2142
2148
|
addResourceBundles(i18n, [
|
|
2143
|
-
{ ns: "trust", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-
|
|
2149
|
+
{ ns: "trust", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-DMNRRZZE.js"), "../language/cs-CZ.json": () => import("./cs-CZ-DXSMRqPu.js"), "../language/da-DK.json": () => import("./da-DK-Cd5IQPv3.js"), "../language/de-DE.json": () => import("./de-DE-C9NH2zMh.js"), "../language/el-GR.json": () => import("./el-GR-DTHQslLc.js"), "../language/en-US.json": () => import("./en-US-DYP6rAvA.js"), "../language/es-ES.json": () => import("./es-ES-DK-7qtDf.js"), "../language/et-EE.json": () => import("./et-EE-DNC4hcxm.js"), "../language/fi-FI.json": () => import("./fi-FI-BJLU1JHw.js"), "../language/fr-FR.json": () => import("./fr-FR-B2je0smB.js"), "../language/hr-HR.json": () => import("./hr-HR-C0NLgF1r.js"), "../language/hu-HU.json": () => import("./hu-HU-DU-5ujQK.js"), "../language/it-IT.json": () => import("./it-IT-Dhwa9Ecj.js"), "../language/ja-JP.json": () => import("./ja-JP-Bc4U0S8-.js"), "../language/lt-LT.json": () => import("./lt-LT-C8n1GZoU.js"), "../language/lv-LV.json": () => import("./lv-LV-BZN4-Xat.js"), "../language/nl-NL.json": () => import("./nl-NL-B0fvINJj.js"), "../language/no-NO.json": () => import("./no-NO-Jw7Gae-a.js"), "../language/pl-PL.json": () => import("./pl-PL-Bmaq3IC3.js"), "../language/pt-BR.json": () => import("./pt-BR-BaTE6BB_.js"), "../language/pt-PT.json": () => import("./pt-PT-c0ap84_F.js"), "../language/ro-RO.json": () => import("./ro-RO-BPOHV6Wp.js"), "../language/sk-SK.json": () => import("./sk-SK-3_SoEn6P.js"), "../language/sl-SI.json": () => import("./sl-SI-DbfswGh0.js"), "../language/sv-SE.json": () => import("./sv-SE-D_Efxy3s.js") }), `../language/${lang}.json`, 3) }
|
|
2144
2150
|
]);
|
|
2145
2151
|
const capabilities = useCapabilities();
|
|
2146
2152
|
const capabilityNames = capabilities ? keysOf(capabilities) : [];
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
;
|
|
2
|
+
{
|
|
3
|
+
try {
|
|
4
|
+
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d4268ece-6340-4aa2-86c9-8d54f7bbefa9", e._sentryDebugIdIdentifier = "sentry-dbid-d4268ece-6340-4aa2-86c9-8d54f7bbefa9");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, j as TaskTypes, a8 as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-BL3nK1iO.js";
|
|
11
|
+
import { jsx } from "preact/jsx-runtime";
|
|
12
|
+
import { skipToken } from "@tanstack/preact-query";
|
|
13
|
+
import { useParams } from "wouter-preact";
|
|
14
|
+
import { u as useTrustMembers } from "./useTrustMembers-ymPJMufc.js";
|
|
15
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-CJu0BRVo.js";
|
|
16
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-gZ8moheH.js";
|
|
17
|
+
function TrustMemberCompanyPage({
|
|
18
|
+
trustId,
|
|
19
|
+
trustMemberCompanyId: trustMemberCompanyIdProp,
|
|
20
|
+
newMember,
|
|
21
|
+
onSubmit,
|
|
22
|
+
handleHomeClick
|
|
23
|
+
}) {
|
|
24
|
+
const routeParams = useParams();
|
|
25
|
+
const trustMemberCompanyId = trustMemberCompanyIdProp ?? routeParams.memberId;
|
|
26
|
+
const { i18n } = useTranslation();
|
|
27
|
+
const { data: trustLe } = useLegalEntity(trustId ?? skipToken);
|
|
28
|
+
const { data: trustMemberCompanyLe } = useLegalEntity(trustMemberCompanyId ?? skipToken);
|
|
29
|
+
const trustMembers = useTrustMembers();
|
|
30
|
+
const capabilityProblems = useCapabilityProblems();
|
|
31
|
+
const { data, isLoading } = useBusinessDetailsData(
|
|
32
|
+
TaskTypes.TRUST_MEMBER_COMPANY,
|
|
33
|
+
trustLe,
|
|
34
|
+
trustMemberCompanyLe
|
|
35
|
+
);
|
|
36
|
+
addResourceBundles(i18n, [
|
|
37
|
+
{ ns: "business", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Business/language/bg-BG.json": () => import("./bg-BG-CFuVZnaC.js"), "../../Business/language/cs-CZ.json": () => import("./cs-CZ-CYsR__kj.js"), "../../Business/language/da-DK.json": () => import("./da-DK-B3Pg-MWO.js"), "../../Business/language/de-DE.json": () => import("./de-DE-S6qDey1L.js"), "../../Business/language/el-GR.json": () => import("./el-GR-DoS_Va-n.js"), "../../Business/language/en-US.json": () => import("./en-US-DLY20x1O.js"), "../../Business/language/es-ES.json": () => import("./es-ES-BYl5-PFR.js"), "../../Business/language/et-EE.json": () => import("./et-EE-4fHYOoff.js"), "../../Business/language/fi-FI.json": () => import("./fi-FI-DFxljML-.js"), "../../Business/language/fr-FR.json": () => import("./fr-FR-DPehHVb6.js"), "../../Business/language/hr-HR.json": () => import("./hr-HR-Bjx-KdVs.js"), "../../Business/language/hu-HU.json": () => import("./hu-HU-B-lUkFnQ.js"), "../../Business/language/it-IT.json": () => import("./it-IT-DOBp2-MP.js"), "../../Business/language/ja-JP.json": () => import("./ja-JP-Bv3ru9Xq.js"), "../../Business/language/lt-LT.json": () => import("./lt-LT-WRulV980.js"), "../../Business/language/lv-LV.json": () => import("./lv-LV-C9Dhkruv.js"), "../../Business/language/nl-NL.json": () => import("./nl-NL-SjOGmGk5.js"), "../../Business/language/no-NO.json": () => import("./no-NO-BAWVf0GX.js"), "../../Business/language/pl-PL.json": () => import("./pl-PL-DEMxxz7h.js"), "../../Business/language/pt-BR.json": () => import("./pt-BR-BfDe_8iW.js"), "../../Business/language/pt-PT.json": () => import("./pt-PT-F1qPZJ2c.js"), "../../Business/language/ro-RO.json": () => import("./ro-RO-0vx6ZLWV.js"), "../../Business/language/sk-SK.json": () => import("./sk-SK-DuLm2CVx.js"), "../../Business/language/sl-SI.json": () => import("./sl-SI-BAIm-qBe.js"), "../../Business/language/sv-SE.json": () => import("./sv-SE-BZNey_8S.js") }), `../../Business/language/${lang}.json`, 5) },
|
|
38
|
+
{ ns: "trust", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-DMNRRZZE.js"), "../language/cs-CZ.json": () => import("./cs-CZ-DXSMRqPu.js"), "../language/da-DK.json": () => import("./da-DK-Cd5IQPv3.js"), "../language/de-DE.json": () => import("./de-DE-C9NH2zMh.js"), "../language/el-GR.json": () => import("./el-GR-DTHQslLc.js"), "../language/en-US.json": () => import("./en-US-DYP6rAvA.js"), "../language/es-ES.json": () => import("./es-ES-DK-7qtDf.js"), "../language/et-EE.json": () => import("./et-EE-DNC4hcxm.js"), "../language/fi-FI.json": () => import("./fi-FI-BJLU1JHw.js"), "../language/fr-FR.json": () => import("./fr-FR-B2je0smB.js"), "../language/hr-HR.json": () => import("./hr-HR-C0NLgF1r.js"), "../language/hu-HU.json": () => import("./hu-HU-DU-5ujQK.js"), "../language/it-IT.json": () => import("./it-IT-Dhwa9Ecj.js"), "../language/ja-JP.json": () => import("./ja-JP-Bc4U0S8-.js"), "../language/lt-LT.json": () => import("./lt-LT-C8n1GZoU.js"), "../language/lv-LV.json": () => import("./lv-LV-BZN4-Xat.js"), "../language/nl-NL.json": () => import("./nl-NL-B0fvINJj.js"), "../language/no-NO.json": () => import("./no-NO-Jw7Gae-a.js"), "../language/pl-PL.json": () => import("./pl-PL-Bmaq3IC3.js"), "../language/pt-BR.json": () => import("./pt-BR-BaTE6BB_.js"), "../language/pt-PT.json": () => import("./pt-PT-c0ap84_F.js"), "../language/ro-RO.json": () => import("./ro-RO-BPOHV6Wp.js"), "../language/sk-SK.json": () => import("./sk-SK-3_SoEn6P.js"), "../language/sl-SI.json": () => import("./sl-SI-DbfswGh0.js"), "../language/sv-SE.json": () => import("./sv-SE-D_Efxy3s.js") }), `../language/${lang}.json`, 3) }
|
|
39
|
+
]);
|
|
40
|
+
if (isLoading || !trustLe || trustMemberCompanyId && !trustMemberCompanyLe) {
|
|
41
|
+
return /* @__PURE__ */ jsx(Loader, {});
|
|
42
|
+
}
|
|
43
|
+
const { rootLe, efpBusinessLines, documents } = data;
|
|
44
|
+
const problems = capabilityProblems && trustMemberCompanyId ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, trustMemberCompanyId) : void 0;
|
|
45
|
+
const country = getLegalEntityCountry(trustMemberCompanyLe ?? trustLe);
|
|
46
|
+
const trustMember = newMember ?? trustMembers.find(
|
|
47
|
+
(tm) => tm.trustMemberType !== "undefinedBeneficiary" && tm.legalEntityId === trustMemberCompanyId
|
|
48
|
+
);
|
|
49
|
+
return /* @__PURE__ */ jsx(
|
|
50
|
+
BusinessDetailsDropin,
|
|
51
|
+
{
|
|
52
|
+
taskType: TaskTypes.TRUST_MEMBER_COMPANY,
|
|
53
|
+
legalEntityResponse: rootLe,
|
|
54
|
+
efpBusinessLines,
|
|
55
|
+
documents,
|
|
56
|
+
associatedLegalArrangement: trustLe,
|
|
57
|
+
nestedLegalEntity: trustMemberCompanyLe,
|
|
58
|
+
nestedLegalEntityDetails: trustMember,
|
|
59
|
+
problems,
|
|
60
|
+
country,
|
|
61
|
+
onSubmit,
|
|
62
|
+
handleHomeClick
|
|
63
|
+
}
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
export {
|
|
67
|
+
TrustMemberCompanyPage
|
|
68
|
+
};
|
package/dist/{TrustMemberIndividualPage-B8tb56n2.js → TrustMemberIndividualPage-27y1WJMM.js}
RENAMED
|
@@ -2,19 +2,20 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "77d5043b-bdfa-4b34-b543-d1106c589eae", e._sentryDebugIdIdentifier = "sentry-dbid-77d5043b-bdfa-4b34-b543-d1106c589eae");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry,
|
|
10
|
+
import { c as useLegalEntity, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, a7 as noop, j as TaskTypes, a8 as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-BL3nK1iO.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
13
|
+
import { useParams } from "wouter-preact";
|
|
14
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-CJu0BRVo.js";
|
|
15
|
+
import { I as IndividualOnfidoDropin } from "./IndividualDropin-CfUopCha.js";
|
|
15
16
|
function TrustMemberIndividualPage({
|
|
16
|
-
memberId,
|
|
17
17
|
trustId,
|
|
18
|
+
memberId: memberIdProp,
|
|
18
19
|
newMember,
|
|
19
20
|
asModal = false,
|
|
20
21
|
hideSidebar = false,
|
|
@@ -25,13 +26,15 @@ function TrustMemberIndividualPage({
|
|
|
25
26
|
handleCloseClick,
|
|
26
27
|
handleHomeClick = noop
|
|
27
28
|
}) {
|
|
29
|
+
const routeParams = useParams();
|
|
30
|
+
const memberId = memberIdProp ?? routeParams.memberId;
|
|
28
31
|
const { data: memberLe } = useLegalEntity(memberId ?? skipToken);
|
|
29
|
-
const { data: trustLe } = useLegalEntity(trustId);
|
|
32
|
+
const { data: trustLe } = useLegalEntity(trustId ?? skipToken);
|
|
30
33
|
const capabilityProblems = useCapabilityProblems();
|
|
31
34
|
const { i18n } = useTranslation();
|
|
32
35
|
addResourceBundles(i18n, [
|
|
33
|
-
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Individual/language/bg-BG.json": () => import("./bg-BG-wMYXZGDQ.js"), "../../Individual/language/cs-CZ.json": () => import("./cs-CZ-bkbdzIkF.js"), "../../Individual/language/da-DK.json": () => import("./da-DK-DvZ431fC.js"), "../../Individual/language/de-DE.json": () => import("./de-DE-0uSzhWg5.js"), "../../Individual/language/el-GR.json": () => import("./el-GR-CWWBcvDM.js"), "../../Individual/language/en-US.json": () => import("./en-US-
|
|
34
|
-
{ ns: "trust", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-
|
|
36
|
+
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Individual/language/bg-BG.json": () => import("./bg-BG-wMYXZGDQ.js"), "../../Individual/language/cs-CZ.json": () => import("./cs-CZ-bkbdzIkF.js"), "../../Individual/language/da-DK.json": () => import("./da-DK-DvZ431fC.js"), "../../Individual/language/de-DE.json": () => import("./de-DE-0uSzhWg5.js"), "../../Individual/language/el-GR.json": () => import("./el-GR-CWWBcvDM.js"), "../../Individual/language/en-US.json": () => import("./en-US-cVpRgdC8.js"), "../../Individual/language/es-ES.json": () => import("./es-ES-B7dt4cn7.js"), "../../Individual/language/et-EE.json": () => import("./et-EE-D_3GB-yT.js"), "../../Individual/language/fi-FI.json": () => import("./fi-FI-REMsyTSr.js"), "../../Individual/language/fr-FR.json": () => import("./fr-FR-CvHWmim-.js"), "../../Individual/language/hr-HR.json": () => import("./hr-HR-LO3oO8yb.js"), "../../Individual/language/hu-HU.json": () => import("./hu-HU-DEKBPTur.js"), "../../Individual/language/it-IT.json": () => import("./it-IT-BeX7-OcD.js"), "../../Individual/language/ja-JP.json": () => import("./ja-JP-B3wVYIJU.js"), "../../Individual/language/lt-LT.json": () => import("./lt-LT-3niAR3rI.js"), "../../Individual/language/lv-LV.json": () => import("./lv-LV-K-KFPny2.js"), "../../Individual/language/nl-NL.json": () => import("./nl-NL-CM5U8ODq.js"), "../../Individual/language/no-NO.json": () => import("./no-NO-BQL_M1pn.js"), "../../Individual/language/pl-PL.json": () => import("./pl-PL-DC_lIAnp.js"), "../../Individual/language/pt-BR.json": () => import("./pt-BR-AZ3roErF.js"), "../../Individual/language/pt-PT.json": () => import("./pt-PT-DVKtHjIY.js"), "../../Individual/language/ro-RO.json": () => import("./ro-RO-CHcD-PGb.js"), "../../Individual/language/sk-SK.json": () => import("./sk-SK-s9Xm01UD.js"), "../../Individual/language/sl-SI.json": () => import("./sl-SI-C0wSbuau.js"), "../../Individual/language/sv-SE.json": () => import("./sv-SE-DtKjf4Go.js") }), `../../Individual/language/${lang}.json`, 5) },
|
|
37
|
+
{ ns: "trust", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-DMNRRZZE.js"), "../language/cs-CZ.json": () => import("./cs-CZ-DXSMRqPu.js"), "../language/da-DK.json": () => import("./da-DK-Cd5IQPv3.js"), "../language/de-DE.json": () => import("./de-DE-C9NH2zMh.js"), "../language/el-GR.json": () => import("./el-GR-DTHQslLc.js"), "../language/en-US.json": () => import("./en-US-DYP6rAvA.js"), "../language/es-ES.json": () => import("./es-ES-DK-7qtDf.js"), "../language/et-EE.json": () => import("./et-EE-DNC4hcxm.js"), "../language/fi-FI.json": () => import("./fi-FI-BJLU1JHw.js"), "../language/fr-FR.json": () => import("./fr-FR-B2je0smB.js"), "../language/hr-HR.json": () => import("./hr-HR-C0NLgF1r.js"), "../language/hu-HU.json": () => import("./hu-HU-DU-5ujQK.js"), "../language/it-IT.json": () => import("./it-IT-Dhwa9Ecj.js"), "../language/ja-JP.json": () => import("./ja-JP-Bc4U0S8-.js"), "../language/lt-LT.json": () => import("./lt-LT-C8n1GZoU.js"), "../language/lv-LV.json": () => import("./lv-LV-BZN4-Xat.js"), "../language/nl-NL.json": () => import("./nl-NL-B0fvINJj.js"), "../language/no-NO.json": () => import("./no-NO-Jw7Gae-a.js"), "../language/pl-PL.json": () => import("./pl-PL-Bmaq3IC3.js"), "../language/pt-BR.json": () => import("./pt-BR-BaTE6BB_.js"), "../language/pt-PT.json": () => import("./pt-PT-c0ap84_F.js"), "../language/ro-RO.json": () => import("./ro-RO-BPOHV6Wp.js"), "../language/sk-SK.json": () => import("./sk-SK-3_SoEn6P.js"), "../language/sl-SI.json": () => import("./sl-SI-DbfswGh0.js"), "../language/sv-SE.json": () => import("./sv-SE-D_Efxy3s.js") }), `../language/${lang}.json`, 3) }
|
|
35
38
|
]);
|
|
36
39
|
if (!trustLe || memberId && !memberLe) {
|
|
37
40
|
return /* @__PURE__ */ jsx(Loader, {});
|
package/dist/{TrustMemberRoleAndTypePage-WHu1tc4O.js → TrustMemberRoleAndTypePage-DHCLuLa-.js}
RENAMED
|
@@ -2,39 +2,41 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b8141838-af12-4977-b953-ec6322845929", e._sentryDebugIdIdentifier = "sentry-dbid-b8141838-af12-4977-b953-ec6322845929");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { o as LegalEntityTypes, bn as TrustMemberTypes, ai as isEmpty, u as useTranslation, v as useExperimentsContext, c as useLegalEntity, aa as getOwnEntityAssociations, a0 as CountryCodes, a3 as createLogger, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-BL3nK1iO.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
|
-
import {
|
|
13
|
+
import { useParams } from "wouter-preact";
|
|
14
|
+
import { u as useTrustMembers } from "./useTrustMembers-ymPJMufc.js";
|
|
14
15
|
import { useEffect, useState } from "preact/hooks";
|
|
15
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
16
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
17
|
-
import { u as useToastContext } from "./useToastContext-
|
|
18
|
-
import { A as ActionBar } from "./ActionBar-
|
|
16
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-DjRvxwI5.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-C8rOYkS1.js";
|
|
18
|
+
import { u as useToastContext } from "./useToastContext-DBDF60Ps.js";
|
|
19
|
+
import { A as ActionBar } from "./ActionBar-DuqmbwPb.js";
|
|
19
20
|
import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
|
|
20
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
21
|
-
import { s as summaryStep, S as Summary } from "./Summary-
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
21
|
+
import { F as FormNavigation } from "./FormNavigation-DSCpClML.js";
|
|
22
|
+
import { s as summaryStep, S as Summary } from "./Summary-8HdspbcQ.js";
|
|
23
|
+
import { i as isNewEntity } from "./isNewEntity-7Vw_eQBr.js";
|
|
24
|
+
import { F as Field } from "./Field-CApB-T06.js";
|
|
25
|
+
import { H as Header } from "./Header-DCVQMDDt.js";
|
|
24
26
|
import cx from "classnames";
|
|
25
|
-
import { a as SelectListItem } from "./Select-
|
|
26
|
-
import { T as TextArea } from "./TextArea-
|
|
27
|
-
import { T as TileGroup } from "./TileGroup-
|
|
28
|
-
import { u as useForm } from "./useForm-
|
|
29
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
30
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
31
|
-
import { a as defaultFieldMetadata, c as defaultFieldConfig, e as LegalCompanyNameField, L as LEGAL_COMPANY_NAME_FIELD } from "./
|
|
32
|
-
import { N as Name, n as nameFields } from "./Name-
|
|
27
|
+
import { a as SelectListItem } from "./Select-C_6mHv91.js";
|
|
28
|
+
import { T as TextArea } from "./TextArea-CWY-x138.js";
|
|
29
|
+
import { T as TileGroup } from "./TileGroup-DmZTiaip.js";
|
|
30
|
+
import { u as useForm } from "./useForm-Bh638xmS.js";
|
|
31
|
+
import { E as ErrorPanel } from "./ErrorPanel-CAHQTbMv.js";
|
|
32
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-0SyPMIyv.js";
|
|
33
|
+
import { a as defaultFieldMetadata, c as defaultFieldConfig, e as LegalCompanyNameField, g as getLegalCompanyNameHelperText, L as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-iFBtpehs.js";
|
|
34
|
+
import { N as Name, n as nameFields } from "./Name-DTE823OG.js";
|
|
33
35
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
34
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
35
|
-
import { g as getFieldProps } from "./getProps-
|
|
36
|
-
import { r as roleMetadata, g as getRoleName } from "./roleMetadata-
|
|
37
|
-
import { t as trustMemberLegalEntityTypes, i as isOrganizationAndSettlor, s as settlorExemptionReasonWithNoneOfTheAbove, c as couldBeExemptSettlor, a as isExemptSettlor } from "./types-
|
|
36
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-CJQolfmf.js";
|
|
37
|
+
import { g as getFieldProps } from "./getProps-O8Fpl_k_.js";
|
|
38
|
+
import { r as roleMetadata, g as getRoleName } from "./roleMetadata-DsoqlMAY.js";
|
|
39
|
+
import { t as trustMemberLegalEntityTypes, i as isOrganizationAndSettlor, s as settlorExemptionReasonWithNoneOfTheAbove, c as couldBeExemptSettlor, a as isExemptSettlor } from "./types-XpRg7EOC.js";
|
|
38
40
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
39
41
|
const handleKeys = (keys, callback, propagationMode = "stopIfMatches") => (event) => {
|
|
40
42
|
if (propagationMode === "stop") event.stopPropagation();
|
|
@@ -271,7 +273,8 @@ const convertExistingTrustMemberToDefaultData = (trustMember, allowMoreRolesForM
|
|
|
271
273
|
return convertExistingTrustMember(trustMember);
|
|
272
274
|
};
|
|
273
275
|
const TrustRoleAndEntityType = (props) => {
|
|
274
|
-
const { t } = useTranslation(
|
|
276
|
+
const { t: commonT } = useTranslation("common");
|
|
277
|
+
const { t: trustT } = useTranslation("trust");
|
|
275
278
|
const {
|
|
276
279
|
existingTrustMember,
|
|
277
280
|
isOrganizationSettlorWithExemptionEnabled,
|
|
@@ -287,7 +290,7 @@ const TrustRoleAndEntityType = (props) => {
|
|
|
287
290
|
"legalCompanyName",
|
|
288
291
|
resolveFieldMetadata(
|
|
289
292
|
defaultFieldConfig[trustRoleAndEntityTypeCountry],
|
|
290
|
-
{
|
|
293
|
+
{},
|
|
291
294
|
defaultFieldMetadata
|
|
292
295
|
),
|
|
293
296
|
mergedProps
|
|
@@ -300,7 +303,7 @@ const TrustRoleAndEntityType = (props) => {
|
|
|
300
303
|
existingTrustMember,
|
|
301
304
|
allowMoreRolesForMainRootTrusteeEnabled
|
|
302
305
|
);
|
|
303
|
-
const formUtils = createFormUtils(mergedProps,
|
|
306
|
+
const formUtils = createFormUtils(mergedProps, commonT);
|
|
304
307
|
const decideFields = (data2) => {
|
|
305
308
|
if (data2.role?.includes("undefinedBeneficiary")) {
|
|
306
309
|
return ["role", "descriptionUndefinedBeneficiary"];
|
|
@@ -342,7 +345,7 @@ const TrustRoleAndEntityType = (props) => {
|
|
|
342
345
|
dataStoreId: id,
|
|
343
346
|
fieldProblems
|
|
344
347
|
});
|
|
345
|
-
}, [schema, data, isValid,
|
|
348
|
+
}, [schema, data, isValid, commonT, errors, valid, id, fieldProblems]);
|
|
346
349
|
const onInputDescription = (e) => {
|
|
347
350
|
const { value } = e.currentTarget;
|
|
348
351
|
handleChangeFor("descriptionUndefinedBeneficiary")(value);
|
|
@@ -372,7 +375,7 @@ const TrustRoleAndEntityType = (props) => {
|
|
|
372
375
|
handleChangeFor("entityType")(value);
|
|
373
376
|
};
|
|
374
377
|
return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc-trust__role-and-entity-type adyen-kyc-u-width-full", children: [
|
|
375
|
-
/* @__PURE__ */ jsx(Header, { title:
|
|
378
|
+
/* @__PURE__ */ jsx(Header, { title: commonT(($) => $["roleAndEntityType"]) }),
|
|
376
379
|
/* @__PURE__ */ jsx(
|
|
377
380
|
ErrorPanel,
|
|
378
381
|
{
|
|
@@ -400,7 +403,7 @@ const TrustRoleAndEntityType = (props) => {
|
|
|
400
403
|
selected: data.role ?? [],
|
|
401
404
|
onSelect: changeRoles,
|
|
402
405
|
mapToSelectItem: (role) => ({
|
|
403
|
-
...makeSelectItemForRole(role,
|
|
406
|
+
...makeSelectItemForRole(role, commonT),
|
|
404
407
|
disabled: !availableRoles.includes(role)
|
|
405
408
|
})
|
|
406
409
|
}
|
|
@@ -423,8 +426,8 @@ const TrustRoleAndEntityType = (props) => {
|
|
|
423
426
|
name: "entityType",
|
|
424
427
|
tiles: trustMemberLegalEntityTypes.map((option) => ({
|
|
425
428
|
value: option,
|
|
426
|
-
label:
|
|
427
|
-
subTitle:
|
|
429
|
+
label: trustT(($) => $[leTypeCardDetails[option].name]),
|
|
430
|
+
subTitle: trustT(($) => $[leTypeCardDetails[option].description])
|
|
428
431
|
})),
|
|
429
432
|
selected: data.entityType ?? "",
|
|
430
433
|
onChange: (value) => onEntityTypeChange(value),
|
|
@@ -454,7 +457,7 @@ const TrustRoleAndEntityType = (props) => {
|
|
|
454
457
|
value: data.descriptionUndefinedBeneficiary,
|
|
455
458
|
maxLength: CHARACTERS_LIMIT,
|
|
456
459
|
onInput: onInputDescription,
|
|
457
|
-
helper:
|
|
460
|
+
helper: trustT(($) => $["describeWhoIsABeneficiaryInYourTrust"]),
|
|
458
461
|
"aria-required": true,
|
|
459
462
|
"aria-invalid": !valid.descriptionUndefinedBeneficiary
|
|
460
463
|
}
|
|
@@ -479,7 +482,7 @@ const TrustRoleAndEntityType = (props) => {
|
|
|
479
482
|
onSelect: changeSettlorExemptionReasons,
|
|
480
483
|
mapToSelectItem: (reason) => ({
|
|
481
484
|
id: reason,
|
|
482
|
-
name:
|
|
485
|
+
name: trustT(($) => $[reason])
|
|
483
486
|
})
|
|
484
487
|
}
|
|
485
488
|
)
|
|
@@ -529,8 +532,8 @@ const TrustRoleAndEntityType = (props) => {
|
|
|
529
532
|
valid: formUtils.getFieldValid(valid, LEGAL_COMPANY_NAME_FIELD),
|
|
530
533
|
errors: formUtils.getFieldErrors(errors, fieldProblems, LEGAL_COMPANY_NAME_FIELD),
|
|
531
534
|
labels: formUtils.getFieldLabels(LEGAL_COMPANY_NAME_FIELD),
|
|
532
|
-
helperText:
|
|
533
|
-
|
|
535
|
+
helperText: getLegalCompanyNameHelperText(trustT, {
|
|
536
|
+
country: trustRoleAndEntityTypeCountry
|
|
534
537
|
}),
|
|
535
538
|
readonly: false,
|
|
536
539
|
handleChangeFor
|
|
@@ -1047,16 +1050,18 @@ function RoleAndTypeDropin({
|
|
|
1047
1050
|
}
|
|
1048
1051
|
function TrustMemberRoleAndTypePage({
|
|
1049
1052
|
trustId,
|
|
1050
|
-
memberId,
|
|
1053
|
+
memberId: memberIdProp,
|
|
1051
1054
|
navigateToFullDropinFor,
|
|
1052
1055
|
navigateBack
|
|
1053
1056
|
}) {
|
|
1057
|
+
const routeParams = useParams();
|
|
1058
|
+
const memberId = memberIdProp ?? routeParams.memberId;
|
|
1054
1059
|
const { i18n } = useTranslation();
|
|
1055
1060
|
const { data: memberLe } = useLegalEntity(memberId ?? skipToken);
|
|
1056
|
-
const { data: trustLe } = useLegalEntity(trustId);
|
|
1061
|
+
const { data: trustLe } = useLegalEntity(trustId ?? skipToken);
|
|
1057
1062
|
const trustMembers = useTrustMembers();
|
|
1058
1063
|
addResourceBundles(i18n, [
|
|
1059
|
-
{ ns: "trust", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-
|
|
1064
|
+
{ ns: "trust", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-DMNRRZZE.js"), "../language/cs-CZ.json": () => import("./cs-CZ-DXSMRqPu.js"), "../language/da-DK.json": () => import("./da-DK-Cd5IQPv3.js"), "../language/de-DE.json": () => import("./de-DE-C9NH2zMh.js"), "../language/el-GR.json": () => import("./el-GR-DTHQslLc.js"), "../language/en-US.json": () => import("./en-US-DYP6rAvA.js"), "../language/es-ES.json": () => import("./es-ES-DK-7qtDf.js"), "../language/et-EE.json": () => import("./et-EE-DNC4hcxm.js"), "../language/fi-FI.json": () => import("./fi-FI-BJLU1JHw.js"), "../language/fr-FR.json": () => import("./fr-FR-B2je0smB.js"), "../language/hr-HR.json": () => import("./hr-HR-C0NLgF1r.js"), "../language/hu-HU.json": () => import("./hu-HU-DU-5ujQK.js"), "../language/it-IT.json": () => import("./it-IT-Dhwa9Ecj.js"), "../language/ja-JP.json": () => import("./ja-JP-Bc4U0S8-.js"), "../language/lt-LT.json": () => import("./lt-LT-C8n1GZoU.js"), "../language/lv-LV.json": () => import("./lv-LV-BZN4-Xat.js"), "../language/nl-NL.json": () => import("./nl-NL-B0fvINJj.js"), "../language/no-NO.json": () => import("./no-NO-Jw7Gae-a.js"), "../language/pl-PL.json": () => import("./pl-PL-Bmaq3IC3.js"), "../language/pt-BR.json": () => import("./pt-BR-BaTE6BB_.js"), "../language/pt-PT.json": () => import("./pt-PT-c0ap84_F.js"), "../language/ro-RO.json": () => import("./ro-RO-BPOHV6Wp.js"), "../language/sk-SK.json": () => import("./sk-SK-3_SoEn6P.js"), "../language/sl-SI.json": () => import("./sl-SI-DbfswGh0.js"), "../language/sv-SE.json": () => import("./sv-SE-D_Efxy3s.js") }), `../language/${lang}.json`, 3) }
|
|
1060
1065
|
]);
|
|
1061
1066
|
if (!trustLe || memberId && !memberLe) {
|
|
1062
1067
|
return /* @__PURE__ */ jsx(Loader, {});
|