@adyen/kyc-components 3.81.0 → 3.82.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/{AcceptTermsOfServiceComponent-PDXa81vb.js → AcceptTermsOfServiceComponent-Do0w4uTc.js} +36 -10
- package/dist/{AccountSetupRejected-Du83gH0_.js → AccountSetupRejected-C7bZBsjo.js} +6 -4
- package/dist/Address-CX1FM8LF.js +1076 -0
- package/dist/Alert-DCYc9VpX.js +231 -0
- package/dist/{Avatar-Cd_8eqbA.js → Avatar-BaxjEBNy.js} +2 -2
- package/dist/BusinessDetailsDropin-yG7M7i9-.js +5088 -0
- package/dist/BusinessFinancingComponent-CZZcn51m.js +45 -0
- package/dist/{BusinessFinancingDropin-DioEfiqH.js → BusinessFinancingDropin-EfA32nOP.js} +43 -20
- package/dist/BusinessFinancingPage-Bb1dPIJF.js +40 -0
- package/dist/{BusinessTypeSelectionPage-uk6eDO5O.js → BusinessTypeSelectionPage-CjEomufR.js} +9 -5
- package/dist/Card-DsB6bxW-.js +145 -0
- package/dist/Confirm-X9nR52Md.js +64 -0
- package/dist/{ContractViewer-B2LwC3wV.js → ContractViewer-Byp71k2e.js} +33 -38
- package/dist/CountryField-DxBBjy81.js +864 -0
- package/dist/CreateIndividualComponent-Dyn173AJ.js +72 -0
- package/dist/CreateTransferInstrumentComponent-BT78AU6Z.js +67 -0
- package/dist/Currency-wsIZH1_j.js +238 -0
- package/dist/{CustomerSupport-C4n96PMt.js → CustomerSupport-B7VbKM8X.js} +10 -6
- package/dist/{DebugModal-CYO8HZDV.js → DebugModal-CZwhc_eY.js} +8 -5
- package/dist/{DecisionMakerDetailsPage-IT7x1ZRJ.js → DecisionMakerDetailsPage-Y7E2RfUW.js} +11 -4
- package/dist/{DecisionMakers-DkXmcSK4.js → DecisionMakers-DNepilyq.js} +224 -96
- package/dist/Dropzone-nt4AXJ-H.js +218 -0
- package/dist/{EmbeddedStatus-BS-fmZSm.js → EmbeddedStatus-D0gkDJMZ.js} +4 -4
- package/dist/{EndStateLayout-qrS2Eh-G.js → EndStateLayout-C2whNAgv.js} +2 -2
- package/dist/{FormFlow-BjHYz5-l.js → FormFlow-CRhuooj2.js} +8 -2
- package/dist/FormNavigation-BdFqTFAy.js +162 -0
- package/dist/{IndividualOnfidoDropin-B-y2VRFi.js → IndividualOnfidoDropin-BWM9aKLs.js} +2796 -64
- package/dist/InputDate-DydMc18N.js +43 -0
- package/dist/InputGroup-WBfGDV5F.js +32 -0
- package/dist/InputText-BCNFl9Ni.js +161 -0
- package/dist/{Introduction-CVSG_NSh.js → Introduction-1ZBVqCrd.js} +58 -4
- package/dist/LegalRepresentativeDetailsPage-B2yyvDKF.js +61 -0
- package/dist/Link-BGc9wGrL.js +35 -0
- package/dist/ManageIndividualComponent-CFvL5A-c.js +47 -0
- package/dist/ManageTermsOfServiceComponent-DTrzRxr1.js +47 -0
- package/dist/{ManageTransferInstrumentComponent-Byi222QQ.js → ManageTransferInstrumentComponent-B2cBS1y1.js} +25 -4
- package/dist/MaskedInput-DOTRZoSO.js +799 -0
- package/dist/MaybeModal-SjCkh5yq.js +25 -0
- package/dist/Modal-t5jbmZJu.js +136 -0
- package/dist/{OnboardingDropinComponent-CDK7PYx0.js → OnboardingDropinComponent-DegbZ_o6.js} +200 -41
- package/dist/PayoutDetailsDropin-58zkMbID.js +3694 -0
- package/dist/RadioGroup-Dkwl1v8z.js +143 -0
- package/dist/RegistrationAddress-DOqLUQEe.js +2334 -0
- package/dist/{Review-BCxsmMlz.js → Review-8WTYj81b.js} +8 -4
- package/dist/{RootBusinessDetailsPage-CIWtTZ1z.js → RootBusinessDetailsPage-FDWyaMpG.js} +65 -44
- package/dist/RootIndividualDetailsPage-SFgbb5Bk.js +77 -0
- package/dist/{SignPCIComponent-DzKFISwc.js → SignPCIComponent-bl7LzPjE.js} +17 -8
- package/dist/{SingpassSelection-ChRvdPZF.js → SingpassSelection-DukeaL-T.js} +6 -6
- package/dist/SoleProprietorshipPage-C-XJc7Iq.js +50 -0
- package/dist/{SourceOfFundsPage-DuUOdcam.js → SourceOfFundsPage-D-xLHf2C.js} +46 -24
- package/dist/Spacer-BK3jDget.js +18 -0
- package/dist/StepProgressIndicator-DHei86A6.js +78 -0
- package/dist/StoreProvider-B6-mwoeD.js +7072 -0
- package/dist/StructuredList-DaepaiVE.js +38 -0
- package/dist/{TaskItemStatus-DDwHsmh8.js → TaskItemStatus-BxzVEGbJ.js} +4 -3
- package/dist/{TaskStatusIndicator-Bmm2PsCZ.js → TaskStatusIndicator-Dfp2GcbN.js} +2 -2
- package/dist/TaxInformationField-r8gB7YBi.js +3062 -0
- package/dist/{TaxReportingDropin-kPcT1Kxt.js → TaxReportingDropin-5Lp9F8Ab.js} +25 -9
- package/dist/{TileGroup-BC8PSahf.js → TileGroup-jIldfSJ7.js} +4 -2
- package/dist/{TrustDetailsPage-lnVmcLSH.js → TrustDetailsPage-CjCSvds-.js} +506 -19
- package/dist/TrustMemberCompanyPage-Z6YT-R_a.js +60 -0
- package/dist/TrustMemberIndividualPage-qDN9m9Dv.js +66 -0
- package/dist/UnincorporatedPartnershipIndividualPage-iRZOCq2z.js +66 -0
- package/dist/UnincorporatedPartnershipMemberCompanyPage-9FlDLivA.js +64 -0
- package/dist/{ViewVerificationStatusComponent-D2V-RY2M.js → ViewVerificationStatusComponent-7D-3OVVA.js} +4 -3
- package/dist/adyen-business-financing.js +33 -22
- package/dist/adyen-individual.js +36 -27
- package/dist/adyen-kyc-components.js +28 -15
- package/dist/adyen-manage-individual.js +25 -26
- package/dist/adyen-manage-terms-of-service.js +26 -27
- package/dist/adyen-manage-transfer-instruments.js +40 -42
- package/dist/adyen-onboarding.js +3 -3
- package/dist/adyen-terms-of-service.js +41 -38
- package/dist/adyen-transfer-instrument.js +38 -29
- package/dist/adyen-verification-status.js +44 -36
- package/dist/analytics-CYiivYhI.js +61 -0
- package/dist/{bafinUtils-T6TnU7m4.js → bafinUtils-DSQnsLeT.js} +164 -10
- package/dist/basePatterns-BwdnMQxI.js +15 -0
- package/dist/bg-BG-CW9c658c.js +13 -0
- package/dist/bg-BG-CZ8v3rdy.js +30 -0
- package/dist/{bg-BG-Dlzl9Szn.js → bg-BG-D5192UVe.js} +1 -2
- package/dist/{bg-BG-NMIts2sa.js → bg-BG-QC5irNEG.js} +2 -4
- package/dist/commonValidators-CwkyFFVz.js +24 -0
- package/dist/{cs-CZ-BkyFDlAU.js → cs-CZ-DOqH0WeT.js} +1 -2
- package/dist/cs-CZ-Dx6momCa.js +30 -0
- package/dist/cs-CZ-dU9fnQ1g.js +13 -0
- package/dist/{cs-CZ-Csr_35T-.js → cs-CZ-t297LwYw.js} +2 -4
- package/dist/currency-BGwQyxBo.js +36 -0
- package/dist/{da-DK-B5KNtXL8.js → da-DK-B45X2VaJ.js} +1 -2
- package/dist/da-DK-BJ7aTPir.js +13 -0
- package/dist/{da-DK-Dm8o1giq.js → da-DK-BoQic3Gy.js} +2 -4
- package/dist/da-DK-D4H69PX3.js +30 -0
- package/dist/de-DE-C78RLE2G.js +13 -0
- package/dist/{de-DE-BA9tcpNQ.js → de-DE-CWvgMDqU.js} +1 -2
- package/dist/{de-DE-DMFaycio.js → de-DE-Dwagawx1.js} +2 -4
- package/dist/de-DE-wp5-H-ov.js +30 -0
- package/dist/dropinUtils-CkJv8r-0.js +192 -0
- package/dist/el-GR-BZRKurtr.js +13 -0
- package/dist/{el-GR-DIhHT2q_.js → el-GR-C3rkK_oc.js} +1 -2
- package/dist/el-GR-CK2heqPJ.js +30 -0
- package/dist/{el-GR-CGeBAkDN.js → el-GR-CxwhV-TX.js} +2 -4
- package/dist/emitEvent-CzZf80Am.js +28 -0
- package/dist/{en-US-DX4NHkX-.js → en-US-BbAzROHT.js} +2 -4
- package/dist/{en-US-TrwIHFh-.js → en-US-CAm3meB1.js} +1 -2
- package/dist/{en-US-SbE0c1gn.js → en-US-DIdQJky-.js} +1 -2
- package/dist/en-US.instructions-Ddr7AO05.js +22 -0
- package/dist/{es-ES-pXHx3ODy.js → es-ES-Bsoco8Fj.js} +2 -4
- package/dist/es-ES-BtUSEzkE.js +13 -0
- package/dist/{es-ES-RXwbiHjS.js → es-ES-DKCCgVF8.js} +1 -2
- package/dist/es-ES-Ds3-DtqZ.js +30 -0
- package/dist/et-EE-BCnK305R.js +13 -0
- package/dist/{et-EE-ZssIqWkO.js → et-EE-Bc6ioJRG.js} +1 -2
- package/dist/et-EE-Co-8akjV.js +30 -0
- package/dist/{et-EE-QLVnr6Vl.js → et-EE-DdGlUpaQ.js} +2 -4
- package/dist/{fi-FI-DT351N-G.js → fi-FI-ClnsYt3L.js} +2 -4
- package/dist/fi-FI-Cvar63RH.js +13 -0
- package/dist/fi-FI-DPNeTsJS.js +30 -0
- package/dist/{fi-FI-DmiggQEL.js → fi-FI-Hhku9Lmc.js} +1 -2
- package/dist/fieldConfigurations-CzZ2B1fa.js +458 -0
- package/dist/form-rules-DhbF2mY4.js +13 -0
- package/dist/fr-FR-B5543Fe-.js +13 -0
- package/dist/{fr-FR-N5wYE2BZ.js → fr-FR-BYuKsZIb.js} +1 -2
- package/dist/{fr-FR-BNXXNUX_.js → fr-FR-CJI0bIig.js} +2 -4
- package/dist/fr-FR-ChmNQciP.js +30 -0
- package/dist/getName-BkvLQ7My.js +41 -0
- package/dist/{hasDataChanged-e2EDb7Ni.js → hasDataChanged-B7dryhBQ.js} +2 -2
- package/dist/{hr-HR-B8AZ4eHJ.js → hr-HR-C0yWizOX.js} +2 -4
- package/dist/{hr-HR-5iwKtfgh.js → hr-HR-CPO5Yw2B.js} +1 -2
- package/dist/hr-HR-DqC8Cgs6.js +30 -0
- package/dist/hr-HR-ZreFlbK9.js +13 -0
- package/dist/hu-HU-B3BihdGh.js +13 -0
- package/dist/hu-HU-BOanVlKb.js +30 -0
- package/dist/{hu-HU-Aq1LsWah.js → hu-HU-mo_0ULJG.js} +1 -2
- package/dist/{hu-HU-DRi6Dz9U.js → hu-HU-wnSie9tz.js} +2 -4
- package/dist/iframeWidget-BfmN5KKM.js +234 -0
- package/dist/{payout-verification-instant-BIcnFP-p.js → instant-verification-Dvvkyfmp.js} +3 -3
- package/dist/isEmpty-CJ2g18ZH.js +23 -0
- package/dist/{it-IT-BeYbInCQ.js → it-IT-BeC2Y1F8.js} +2 -4
- package/dist/it-IT-Dd6xGSe-.js +13 -0
- package/dist/{it-IT-8DEagvb2.js → it-IT-Nl57jui-.js} +1 -2
- package/dist/it-IT-eCrTB65E.js +30 -0
- package/dist/ja-JP-BJljbFIZ.js +30 -0
- package/dist/{ja-JP-BhS-_dIx.js → ja-JP-CbgaW99b.js} +2 -2
- package/dist/{ja-JP-BGAJQs1g.js → ja-JP-D3oQAH7z.js} +1 -2
- package/dist/{ja-JP-C1OQ16fo.js → ja-JP-YoU7mNrK.js} +2 -4
- package/dist/ja-JP-iTbqSPNL.js +13 -0
- package/dist/keys-BpNgnAsD.js +23 -0
- package/dist/{localizeDateString-VqxvPF9j.js → localizeDateString-C4IzMd3y.js} +2 -2
- package/dist/{lt-LT-HZOWQKZT.js → lt-LT-CVasDmF3.js} +1 -2
- package/dist/lt-LT-DE-4IXNG.js +13 -0
- package/dist/{lt-LT-_MzAcXJo.js → lt-LT-DIe4cKlu.js} +2 -4
- package/dist/lt-LT-DckQGgoT.js +30 -0
- package/dist/lv-LV-CeivEZms.js +13 -0
- package/dist/lv-LV-DP9oRTFv.js +30 -0
- package/dist/{lv-LV-CRhXAjn6.js → lv-LV-DXgW5zWl.js} +2 -4
- package/dist/{lv-LV-F-Z4lDCV.js → lv-LV-Sbsv8-nD.js} +1 -2
- package/dist/{payout-verification-manual-DH9-DdlZ.js → manual-verification-BvZWqA00.js} +3 -3
- package/dist/mapExistingFile-D8NcT-or.js +231 -0
- package/dist/mapScriptLocalization-DBcq31SQ.js +72 -0
- package/dist/mapTransferInstrumentToPayoutAccount-CijqOJMZ.js +30 -0
- package/dist/{nl-NL-C-xUU2N3.js → nl-NL-BHkRnVrj.js} +1 -2
- package/dist/{nl-NL-Dbx0ZmI7.js → nl-NL-Cysslsh2.js} +2 -4
- package/dist/nl-NL-D2QKudfh.js +30 -0
- package/dist/nl-NL-DVENFpd5.js +13 -0
- package/dist/no-NO-C_snYWBc.js +30 -0
- package/dist/no-NO-Dn2UkdoI.js +13 -0
- package/dist/{no-NO-47ncaBZY.js → no-NO-kaAdT9B8.js} +1 -2
- package/dist/{no-NO-C0sfkp82.js → no-NO-zSnPtrDi.js} +2 -4
- package/dist/pl-PL-CQ6c2Qz_.js +30 -0
- package/dist/{pl-PL-CZLzkboH.js → pl-PL-DD8JN4Qf.js} +1 -2
- package/dist/pl-PL-DFAzuceF.js +13 -0
- package/dist/{pl-PL-DAPGaxWi.js → pl-PL-UB5J5JcB.js} +2 -4
- package/dist/pt-PT-C-hbNnsB.js +30 -0
- package/dist/{pt-PT-BY9rcwcF.js → pt-PT-CjsyP_OK.js} +2 -4
- package/dist/{pt-PT-CN4ws8N7.js → pt-PT-Xm-pm3mb.js} +1 -2
- package/dist/pt-PT-_o5xgnxS.js +13 -0
- package/dist/{resolveEnvironment-CDg6ksvB.js → resolveEnvironment-94mV6qts.js} +3 -3
- package/dist/ro-RO-BrTWk1Ui.js +30 -0
- package/dist/{ro-RO-RylOvc5g.js → ro-RO-C3m6aJVP.js} +1 -2
- package/dist/{ro-RO-DJLWmWZ4.js → ro-RO-C8yYXQc_.js} +2 -4
- package/dist/ro-RO-D7c_Rj8V.js +13 -0
- package/dist/{rules-BnJSV_NR.js → rules-D9wLpDnS.js} +5 -2
- package/dist/sk-SK-BBSuh2fA.js +13 -0
- package/dist/sk-SK-BTFtoPmI.js +30 -0
- package/dist/{sk-SK-BfJKbtGy.js → sk-SK-BVc-vNQm.js} +1 -2
- package/dist/{sk-SK-B7o3L57C.js → sk-SK-DbOE9C6n.js} +2 -4
- package/dist/sl-SI-BLTuWNf5.js +13 -0
- package/dist/sl-SI-BhVTSmhQ.js +30 -0
- package/dist/{sl-SI-C8CMAkD0.js → sl-SI-Br0UEUPL.js} +2 -4
- package/dist/{sl-SI-DklUFzaY.js → sl-SI-D_rqR0D7.js} +1 -2
- package/dist/style.css +3272 -3254
- package/dist/styles-CLV89_hH.js +3272 -3254
- package/dist/sv-SE-66rqYTxi.js +30 -0
- package/dist/{sv-SE-qduyDIzY.js → sv-SE-B3zoXMuH.js} +1 -2
- package/dist/sv-SE-BUfESAQK.js +13 -0
- package/dist/{sv-SE-Bwh0wKFk.js → sv-SE-BtXmvxx4.js} +2 -4
- package/dist/translation-BxcrjuWb.js +472 -0
- package/dist/types/api/industryCodes/industryCodes.types.d.ts +2 -0
- package/dist/types/api/industryCodes/useIndustryCodes.d.ts +6 -0
- package/dist/types/api/queryKeys.d.ts +2 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetails.d.ts +1 -0
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +3 -3
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +0 -9
- package/dist/types/components/Business/forms/BasicInformation/BasicInformationMultiform.d.ts +0 -1
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +6 -0
- package/dist/types/components/Business/forms/rules.d.ts +1 -3
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +1 -2
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiform.d.ts +1 -1
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/ServiceAgreementDropin.d.ts +1 -1
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +1 -0
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +0 -1
- package/dist/types/components/EmbeddedDropins/AcceptTermsOfServiceComponent/AcceptTermsOfServiceComponent.d.ts +4 -3
- package/dist/types/components/Individual/forms/Individual/Individual.d.ts +4 -0
- package/dist/types/components/Individual/forms/Individual/ProofOfRelationship/types.d.ts +0 -5
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/Trust.d.ts +1 -0
- package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +1 -2
- package/dist/types/components/Trust/tasks/TrustMembers/TrustMembersOverview.d.ts +2 -1
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +2 -1
- package/dist/types/components/ui/atoms/ActionsMenu/ActionsMenu.d.ts +2 -1
- package/dist/types/components/ui/atoms/Button/Button.types.d.ts +3 -3
- package/dist/types/components/ui/atoms/ListItem/ListItem.d.ts +2 -1
- package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.types.d.ts +0 -14
- package/dist/types/components/ui/atoms/RadioWithLabel/RadioWithLabel.d.ts +2 -1
- package/dist/types/components/ui/atoms/SelectList/SelectList.d.ts +1 -0
- package/dist/types/components/ui/atoms/StepProgressIndicator/StepProgressIndicator.d.ts +2 -1
- package/dist/types/components/ui/atoms/StructuredList/StructuredList.d.ts +2 -1
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +0 -12
- package/dist/types/components/ui/atoms/TaskStatusIndicator/TaskStatusIndicator.d.ts +3 -2
- package/dist/types/components/ui/layout/LandingLayout/LandingLayout.d.ts +1 -1
- package/dist/types/components/ui/layout/StackLayout/StackLayout.d.ts +2 -1
- package/dist/types/components/ui/molecules/InputCurrency/InputCurrency.d.ts +2 -1
- package/dist/types/components/ui/molecules/InputEmail/InputEmail.d.ts +2 -1
- package/dist/types/components/ui/molecules/InputGroup/InputGroup.d.ts +2 -1
- package/dist/types/components/ui/molecules/InputTelephone/InputTelephone.d.ts +2 -1
- package/dist/types/components/ui/molecules/InputText/InputText.d.ts +2 -0
- package/dist/types/components/ui/molecules/MaskedInput/MaskedInput.d.ts +0 -1
- package/dist/types/components/ui/molecules/Tabs/Tabs.d.ts +1 -1
- package/dist/types/context/StateContext/types.d.ts +1 -1
- package/dist/types/core/models/api/accountIdentification.d.ts +5 -4
- package/dist/types/core/models/api/contracts.d.ts +1 -1
- package/dist/types/core/process-field-configurations.d.ts +14 -3
- package/dist/types/embeds/business-financing/AdyenBusinessFinancing.d.ts +1 -1
- package/dist/types/embeds/business-financing/adyen-business-financing.types.d.ts +1 -5
- package/dist/types/embeds/emitEvent.d.ts +14 -0
- package/dist/types/embeds/individual/adyen-individual.types.d.ts +2 -2
- package/dist/types/embeds/manage-individual/AdyenManageIndividual.d.ts +1 -1
- package/dist/types/embeds/manage-individual/adyen-manage-individual.types.d.ts +1 -1
- package/dist/types/embeds/manage-terms-of-service/AdyenManageTermsOfService.d.ts +1 -1
- package/dist/types/embeds/manage-terms-of-service/adyen-manage-terms-of-service.types.d.ts +1 -1
- package/dist/types/embeds/manage-transfer-instruments/AdyenManageTransferInstrument.d.ts +3 -4
- package/dist/types/embeds/manage-transfer-instruments/adyen-manage-transfer-instruments.types.d.ts +3 -4
- package/dist/types/embeds/terms-of-service/adyen-terms-of-service.types.d.ts +4 -3
- package/dist/types/embeds/transfer-instrument/adyen-transfer-instrument.types.d.ts +2 -2
- package/dist/types/embeds/verification-status/adyen-verification-status.types.d.ts +3 -3
- package/dist/types/hooks/introduction/useIntroductionScreens.d.ts +2 -1
- package/dist/types/hooks/introduction/useShouldShowIntroduction.d.ts +2 -1
- package/dist/types/language/utils.d.ts +1 -1
- package/dist/types/utils/addLinkedFields.d.ts +7 -1
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/formUtils.d.ts +1 -1
- package/dist/types/utils/getDisplayErrorMessage.d.ts +1 -1
- package/dist/types/utils/getName.d.ts +1 -1
- package/dist/types/utils/makeSelectItemForRole.d.ts +1 -1
- package/dist/types/utils/masking/masks/businessRegistrationNumberMasks.d.ts +5 -0
- package/dist/types/utils/translation.d.ts +6 -0
- package/dist/types-CAznNNSI.js +160 -0
- package/dist/types-DAyrP-xk.js +64 -0
- package/dist/types-Da02-5C7.js +74 -0
- package/dist/useAssociatedLegalEntity-Bw8j7jsT.js +33 -0
- package/dist/useDataset-BLJa9WLi.js +120 -0
- package/dist/useForm-CiqZ15MF.js +1694 -0
- package/dist/useFormContext-beqGS11A.js +23 -0
- package/dist/useGlobalData-DRn0XQ0c.js +205 -0
- package/dist/{useMultiForm-Cbf_MGdG.js → useMultiForm-B2RH71uE.js} +4 -2
- package/dist/{useOnboardingStatus-bmHIDRGr.js → useOnboardingStatus-D1idaeSA.js} +2 -2
- package/dist/useScenarios-MJLlpy2B.js +46 -0
- package/dist/{useTermsOfServiceStatus-CMtyaC84.js → useTermsOfServiceStatus-YnguYeSj.js} +2 -2
- package/dist/useToastContext-BBdhLX_K.js +51 -0
- package/dist/useUnincorporatedPartnershipMembers-TCYzsxr-.js +99 -0
- package/dist/utils-Bw6dVL0x.js +29 -0
- package/dist/{utils-B-s8erbM.js → utils-CMkU9dq6.js} +46 -4
- package/dist/utils-DNSfZiio.js +70 -0
- package/dist/utils-Drt88lUg.js +159 -0
- package/dist/validate-BacCnDiH.js +382 -0
- package/dist/{validate-CNlNB2Sq.js → validate-BlPEAs8d.js} +2 -2
- package/dist/validate-DQ_IsigQ.js +605 -0
- package/dist/validationError-eJqGwKE_.js +86 -0
- package/package.json +44 -45
- package/dist/BusinessDetailsDropin-DR8YA-wz.js +0 -2136
- package/dist/BusinessFinancingComponent-saZxipq7.js +0 -38
- package/dist/BusinessFinancingPage-D7NMT1SV.js +0 -35
- package/dist/CreateIndividualComponent-B_6j8j5H.js +0 -64
- package/dist/CreateTransferInstrumentComponent-DgZq6f2m.js +0 -55
- package/dist/LegalRepresentativeDetailsPage-R9h6n8e1.js +0 -55
- package/dist/ManageIndividualComponent-D3EZWpKz.js +0 -42
- package/dist/ManageTermsOfServiceComponent-C2BMpyzo.js +0 -40
- package/dist/RootIndividualDetailsPage-DGpYhDWo.js +0 -71
- package/dist/SoleProprietorshipPage-CF_TKUfD.js +0 -44
- package/dist/StoreProvider-pdSV8sgb.js +0 -31920
- package/dist/TrustMemberCompanyPage-6_h3PnmT.js +0 -54
- package/dist/TrustMemberIndividualPage-DPlQ6OnQ.js +0 -60
- package/dist/UnincorporatedPartnershipIndividualPage-Bgcip8u6.js +0 -60
- package/dist/UnincorporatedPartnershipMemberCompanyPage-k5Cc0TWw.js +0 -57
- package/dist/VerificationErrorAlert-BEgXW4gA.js +0 -77
- package/dist/bg-BG-BvSUDgGF.js +0 -13
- package/dist/cs-CZ-y4mvq4Lv.js +0 -13
- package/dist/da-DK-qgQOVjDp.js +0 -13
- package/dist/de-DE-pSdsxBpQ.js +0 -13
- package/dist/el-GR-Bvjk5Sw8.js +0 -13
- package/dist/en-US-Bq2Twy6x.js +0 -54
- package/dist/es-ES-Dy1uR2H_.js +0 -13
- package/dist/et-EE-d9V24rcf.js +0 -13
- package/dist/fi-FI-B0fnAFV2.js +0 -13
- package/dist/fr-FR-BoKzVp2q.js +0 -13
- package/dist/getFieldsWithExistingData-BPKk0HGd.js +0 -22
- package/dist/hr-HR-CF0AHQzi.js +0 -13
- package/dist/hu-HU-CSPhOvLC.js +0 -13
- package/dist/it-IT-BH-eqIKH.js +0 -13
- package/dist/ja-JP-B3yqM_FM.js +0 -13
- package/dist/lt-LT-Lzl_Cbw-.js +0 -13
- package/dist/lv-LV-y00wN1pj.js +0 -13
- package/dist/mapFinancialReportsToFinancialInformation-iVvcsDNu.js +0 -66
- package/dist/mapScriptLocalization-H2Re3k5X.js +0 -35
- package/dist/nl-NL-DmnFXAQC.js +0 -13
- package/dist/no-NO-DbvFfP96.js +0 -13
- package/dist/pl-PL--mmxopYA.js +0 -13
- package/dist/pt-PT-BVzXBFp7.js +0 -13
- package/dist/ro-RO-Cdmevo9A.js +0 -13
- package/dist/ru-RU-FZb2upqh.js +0 -13
- package/dist/sk-SK-nfeuTcY5.js +0 -13
- package/dist/sl-SI-DUTZDqkP.js +0 -13
- package/dist/sv-SE-BTx2XKAp.js +0 -13
- package/dist/useUpdateLegalEntity-D91nO-DU.js +0 -57
- package/dist/validate-DhvbSKV4.js +0 -40
- package/dist/zh-CN-wUb4MmTZ.js +0 -13
- package/dist/zh-TW-DNTXHLKa.js +0 -13
|
@@ -0,0 +1,25 @@
|
|
|
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] = "7b97f8b3-dc0c-4628-8b13-d952ae755b86", e._sentryDebugIdIdentifier = "sentry-dbid-7b97f8b3-dc0c-4628-8b13-d952ae755b86");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { jsx, Fragment } from "preact/jsx-runtime";
|
|
11
|
+
import { T as ToastContextProvider } from "./StoreProvider-B6-mwoeD.js";
|
|
12
|
+
import { M as Modal } from "./Modal-t5jbmZJu.js";
|
|
13
|
+
const MaybeModal = ({
|
|
14
|
+
ariaLabel,
|
|
15
|
+
children,
|
|
16
|
+
inline = false,
|
|
17
|
+
inset,
|
|
18
|
+
onClose,
|
|
19
|
+
size
|
|
20
|
+
}) => {
|
|
21
|
+
return inline ? /* @__PURE__ */ jsx(Fragment, { children }) : /* @__PURE__ */ jsx(Modal, { onClose, ariaLabel, size, inset, children: /* @__PURE__ */ jsx(ToastContextProvider, { children }) });
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
MaybeModal as M
|
|
25
|
+
};
|
|
@@ -0,0 +1,136 @@
|
|
|
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] = "f8845efd-e80c-461b-9dce-d540a4d7a9c3", e._sentryDebugIdIdentifier = "sentry-dbid-f8845efd-e80c-461b-9dce-d540a4d7a9c3");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
+
import cx from "classnames";
|
|
12
|
+
import { useRef, useLayoutEffect } from "preact/hooks";
|
|
13
|
+
import { K as KEYBOARD_KEYS } from "./keys-BpNgnAsD.js";
|
|
14
|
+
import { P as IconButton } from "./StoreProvider-B6-mwoeD.js";
|
|
15
|
+
const modal = "adyen-kyc-modal";
|
|
16
|
+
const modalBody = "adyen-kyc-modal-body";
|
|
17
|
+
const modalBodyHeight = "adyen-kyc-modal-body-height";
|
|
18
|
+
const modalTransitionSlideIn = "adyen-kyc-modal-transition-slide-in";
|
|
19
|
+
const modalTransitionDropIn = "adyen-kyc-modal-transition-drop-in";
|
|
20
|
+
const modalInset = "adyen-kyc-modal-inset";
|
|
21
|
+
const modalSmall = "adyen-kyc-modal-small";
|
|
22
|
+
const modalMedium = "adyen-kyc-modal-medium";
|
|
23
|
+
const modalLarge = "adyen-kyc-modal-large";
|
|
24
|
+
const modalFullscreen = "adyen-kyc-modal-fullscreen";
|
|
25
|
+
const modalButton = "adyen-kyc-modal-button";
|
|
26
|
+
const modalHeader = "adyen-kyc-modal-header";
|
|
27
|
+
const modalContent = "adyen-kyc-modal-content";
|
|
28
|
+
const modalFooter = "adyen-kyc-modal-footer";
|
|
29
|
+
const styles = {
|
|
30
|
+
modal,
|
|
31
|
+
modalBody,
|
|
32
|
+
modalBodyHeight,
|
|
33
|
+
modalTransitionSlideIn,
|
|
34
|
+
modalTransitionDropIn,
|
|
35
|
+
modalInset,
|
|
36
|
+
modalSmall,
|
|
37
|
+
modalMedium,
|
|
38
|
+
modalLarge,
|
|
39
|
+
modalFullscreen,
|
|
40
|
+
modalButton,
|
|
41
|
+
modalHeader,
|
|
42
|
+
modalContent,
|
|
43
|
+
modalFooter
|
|
44
|
+
};
|
|
45
|
+
const Modal = ({
|
|
46
|
+
ariaLabel,
|
|
47
|
+
children,
|
|
48
|
+
inset = false,
|
|
49
|
+
onClose,
|
|
50
|
+
showCloseButton = true,
|
|
51
|
+
size = "medium",
|
|
52
|
+
transition = "slideIn"
|
|
53
|
+
}) => {
|
|
54
|
+
const dialogRef = useRef(null);
|
|
55
|
+
const shouldShowCloseButton = onClose !== void 0 && showCloseButton;
|
|
56
|
+
useLayoutEffect(() => {
|
|
57
|
+
const dialogElement = dialogRef.current;
|
|
58
|
+
if (!dialogElement) return;
|
|
59
|
+
const handleCancel = (event) => {
|
|
60
|
+
event.preventDefault();
|
|
61
|
+
onClose?.();
|
|
62
|
+
};
|
|
63
|
+
const handleKeydown = (event) => {
|
|
64
|
+
if (event.key !== KEYBOARD_KEYS.escape) return;
|
|
65
|
+
event.preventDefault();
|
|
66
|
+
onClose?.();
|
|
67
|
+
};
|
|
68
|
+
try {
|
|
69
|
+
document.addEventListener("keydown", handleKeydown);
|
|
70
|
+
dialogElement.addEventListener("cancel", handleCancel);
|
|
71
|
+
dialogElement.showModal();
|
|
72
|
+
} catch {
|
|
73
|
+
console.warn(
|
|
74
|
+
"Could not call `showModal()` on the <dialog>; likely it was already removed from the document."
|
|
75
|
+
);
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
dialogElement.focus();
|
|
79
|
+
dialogElement.blur();
|
|
80
|
+
return () => {
|
|
81
|
+
dialogElement.removeEventListener("cancel", handleCancel);
|
|
82
|
+
document.removeEventListener("keydown", handleKeydown);
|
|
83
|
+
dialogElement.close();
|
|
84
|
+
};
|
|
85
|
+
}, []);
|
|
86
|
+
const transitionStyle = {
|
|
87
|
+
slideIn: styles.modalTransitionSlideIn,
|
|
88
|
+
dropIn: styles.modalTransitionDropIn
|
|
89
|
+
};
|
|
90
|
+
const sizeStyle = {
|
|
91
|
+
small: styles.modalSmall,
|
|
92
|
+
medium: styles.modalMedium,
|
|
93
|
+
large: styles.modalLarge,
|
|
94
|
+
fullscreen: styles.modalFullscreen
|
|
95
|
+
};
|
|
96
|
+
const rootClassname = cx(styles.modal, transitionStyle[transition], sizeStyle[size]);
|
|
97
|
+
const bodyClassname = cx(styles.modalBody, {
|
|
98
|
+
[styles.modalInset]: inset === true,
|
|
99
|
+
[styles.modalBodyHeight]: size !== "small"
|
|
100
|
+
});
|
|
101
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
102
|
+
/* @__PURE__ */ jsx("style", { children: `html,body { overflow: hidden !important; }` }),
|
|
103
|
+
/* @__PURE__ */ jsxs(
|
|
104
|
+
"dialog",
|
|
105
|
+
{
|
|
106
|
+
"aria-label": ariaLabel,
|
|
107
|
+
"aria-modal": "true",
|
|
108
|
+
className: rootClassname,
|
|
109
|
+
onClose,
|
|
110
|
+
ref: dialogRef,
|
|
111
|
+
children: [
|
|
112
|
+
shouldShowCloseButton && /* @__PURE__ */ jsx("div", { className: styles.modalButton, children: /* @__PURE__ */ jsx(
|
|
113
|
+
IconButton,
|
|
114
|
+
{
|
|
115
|
+
ariaLabel: "Close",
|
|
116
|
+
circle: true,
|
|
117
|
+
icon: "cross",
|
|
118
|
+
onClick: onClose,
|
|
119
|
+
variant: "surface"
|
|
120
|
+
}
|
|
121
|
+
) }),
|
|
122
|
+
/* @__PURE__ */ jsx("div", { className: bodyClassname, "data-testid": "modal-body", children })
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
)
|
|
126
|
+
] });
|
|
127
|
+
};
|
|
128
|
+
const ModalHeader = ({ children }) => /* @__PURE__ */ jsx("header", { className: styles.modalHeader, children });
|
|
129
|
+
const ModalContent = ({ children }) => /* @__PURE__ */ jsx("section", { className: styles.modalContent, children });
|
|
130
|
+
const ModalFooter = ({ children }) => /* @__PURE__ */ jsx("footer", { className: styles.modalFooter, children });
|
|
131
|
+
export {
|
|
132
|
+
Modal as M,
|
|
133
|
+
ModalContent as a,
|
|
134
|
+
ModalFooter as b,
|
|
135
|
+
ModalHeader as c
|
|
136
|
+
};
|
package/dist/{OnboardingDropinComponent-CDK7PYx0.js → OnboardingDropinComponent-DegbZ_o6.js}
RENAMED
|
@@ -2,25 +2,37 @@
|
|
|
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] = "4568f177-603a-442d-9bd0-3d02da924682", e._sentryDebugIdIdentifier = "sentry-dbid-4568f177-603a-442d-9bd0-3d02da924682");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
+
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, T as Trans } from "./translation-BxcrjuWb.js";
|
|
10
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import {
|
|
12
|
+
import { b as useApiContext, j as useQuery, k as httpPost, m as useSettingsContext, o as httpGet, p as getLegalRepresentative, c as useLegalEntity, q as skipToken, r as doesLegalEntityRequiresLegalRepresentative, a as useTranslation, B as Button, t as Svg, v as Skeleton, w as translateStringOrObject, x as Typography, y as LegalEntityTypes, z as isPartOfTrustFromLegalEntity, C as hasSolePropInLegalEntity, G as hasOwnEntityAssociationOfType, H as isEmptyEntity, J as EntityTypes, K as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, M as TaskTypes, N as createLogger, O as TaskStatuses, P as IconButton, U as useAnalyticsContext, V as Icon, W as noop, X as useExperimentsContext, Y as isInstantVerifiedAccount, Z as getObscuredAccountNumber, _ as useGetTaskStatus, R as ROOT_LE, L as Loader, $ as useGlobalStore, a0 as isPartOfUnincorporatedPartnership, a1 as getOwnSignatories, a2 as getOwnDecisionMakersLegalEntityIds, a3 as getOwnSolePropProblems, a4 as getOwnTrustProblems, a5 as getOwnUnincorporatedPartnershipProblems, a6 as getOwnEntityAssociations, a7 as TrustMemberTypes, u as useI18nContext, a8 as CountryCodes, a9 as isEmpty, g as getLegalEntityCountry, aa as getDecisionMakerDescriptionMap, ab as TRUST_DEFAULT_DESCRIPTIONS_MAP, ac as DEFAULT_TRUST_MEMBER_REQUIREMENTS, ad as hasAllCapabilitiesResolved, ae as hasRejectedCapabilities, af as objectsDeepEqual } from "./StoreProvider-B6-mwoeD.js";
|
|
12
13
|
import { lazy, Suspense } from "preact/compat";
|
|
13
14
|
import { useMemo, useCallback, useEffect, useState, useRef } from "preact/hooks";
|
|
14
|
-
import {
|
|
15
|
+
import { u as useLocalStorage, a as useAccountHolder, b as useCapabilityProblems, I as Image, v as validateLegalCompanyName, c as validateNotEmptyOnBlur, d as validateLatinSpaceMarkPunctuationOnlyOnBlur, r as resolveFieldMetadata, R as RadioGroupCard, T as TextArea, C as ContextGuidance, e as TrustedFieldsProviders } from "./fieldConfigurations-CzZ2B1fa.js";
|
|
16
|
+
import { C as CompanyTypesValues, h as handleKeys, u as useSetting, L as LandingLayout, n as nameFields, M as MultiSelectList, m as makeSelectItemForRole, N as Name, a as useSingpassMyInfoLogin, i as isBafinSignatoryFlow, s as showIdNowModal } from "./bafinUtils-DSQnsLeT.js";
|
|
17
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-Bw8j7jsT.js";
|
|
15
18
|
import cx from "classnames";
|
|
16
|
-
import {
|
|
19
|
+
import { a as Alert } from "./Alert-DCYc9VpX.js";
|
|
20
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-YnguYeSj.js";
|
|
21
|
+
import { S as SettingNames, I as InputText } from "./InputText-BCNFl9Ni.js";
|
|
22
|
+
import { u as useToastContext } from "./useToastContext-BBdhLX_K.js";
|
|
23
|
+
import { C as Card, V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./Card-DsB6bxW-.js";
|
|
17
24
|
import { signal } from "@preact/signals";
|
|
18
25
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
22
|
-
import {
|
|
26
|
+
import { A as Avatar } from "./Avatar-BaxjEBNy.js";
|
|
27
|
+
import { L as LoaderWrapper, F as Field, a as useForm } from "./useForm-CiqZ15MF.js";
|
|
28
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-BxzVEGbJ.js";
|
|
29
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-BkvLQ7My.js";
|
|
30
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity, R as RadioGroup } from "./RadioGroup-Dkwl1v8z.js";
|
|
31
|
+
import { F as FormNavigation, A as ActionBar } from "./FormNavigation-BdFqTFAy.js";
|
|
32
|
+
import { m as mergeFieldMetadataIntoProps, g as getFieldProps, F as FormHeader, E as ErrorPanel, c as createFormUtils, C as CountryField, a as COUNTRY_FIELD, s as summaryItem, b as getRoleName, d as summaryStep, S as Summary, U as UnincorporatedPartnershipMemberTypes, e as getRoleTagVariant } from "./CountryField-DxBBjy81.js";
|
|
33
|
+
import { K as KEYBOARD_KEYS } from "./keys-BpNgnAsD.js";
|
|
23
34
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
35
|
+
import { u as useUnincorporatedPartnershipMembers, d as deleteUnincorporatedPartnershipMember } from "./useUnincorporatedPartnershipMembers-TCYzsxr-.js";
|
|
24
36
|
const getPciStatus = async (legalEntityId, baseUrl, data) => {
|
|
25
37
|
return httpPost(
|
|
26
38
|
{
|
|
@@ -158,7 +170,7 @@ const SingpassBanner = ({
|
|
|
158
170
|
onMessage,
|
|
159
171
|
legalEntityType
|
|
160
172
|
}) => {
|
|
161
|
-
const { t } = useTranslation();
|
|
173
|
+
const { t } = useTranslation("common");
|
|
162
174
|
const { baseUrl } = useApiContext();
|
|
163
175
|
const singpassEventListener = useCallback(
|
|
164
176
|
(event) => {
|
|
@@ -390,7 +402,7 @@ function useDataMissingRemediations({
|
|
|
390
402
|
legalEntityId,
|
|
391
403
|
problems
|
|
392
404
|
}) {
|
|
393
|
-
const { t } = useTranslation();
|
|
405
|
+
const { t } = useTranslation("common");
|
|
394
406
|
const decisionMakersRemediationMessage = useMemo(() => {
|
|
395
407
|
const remediationCodes = problems[EntityTypes.LEGAL_ENTITY]?.[legalEntityId]?.missingData?.reduce((remediations, error) => {
|
|
396
408
|
const remediation = DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING[error.code];
|
|
@@ -516,7 +528,7 @@ const TaskListItem = ({
|
|
|
516
528
|
enableTracking = true,
|
|
517
529
|
fallbackErrorMessage
|
|
518
530
|
}) => {
|
|
519
|
-
const { t } = useTranslation();
|
|
531
|
+
const { t } = useTranslation("common");
|
|
520
532
|
const userEvents = useAnalyticsContext();
|
|
521
533
|
const shouldShowErrorAlert = showErrorAlerts === "always" || showErrorAlerts === "onErrorStatus" && status === TaskStatuses.ERROR;
|
|
522
534
|
const [isStatusRemoving, setIsStatusRemoving] = useState(false);
|
|
@@ -598,7 +610,7 @@ const PayoutAccountTaskListItem = ({
|
|
|
598
610
|
onNavigateToTask,
|
|
599
611
|
payinPayoutTaskStatus
|
|
600
612
|
}) => {
|
|
601
|
-
const { t } = useTranslation();
|
|
613
|
+
const { t } = useTranslation("common");
|
|
602
614
|
const { showToast } = useToastContext();
|
|
603
615
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
604
616
|
const { mutateAsync: deleteTransferInstrument } = useDeleteTransferInstrument();
|
|
@@ -637,6 +649,10 @@ const PayoutAccountTaskListItem = ({
|
|
|
637
649
|
}
|
|
638
650
|
);
|
|
639
651
|
};
|
|
652
|
+
function CardGroup({ className, children, spaced = false }) {
|
|
653
|
+
const baseClass = spaced ? "adyen-kyc-card-group-spaced" : "adyen-kyc-card-group";
|
|
654
|
+
return /* @__PURE__ */ jsx("section", { className: cx(baseClass, className), children });
|
|
655
|
+
}
|
|
640
656
|
const TaskListGroup = ({ title, children }) => /* @__PURE__ */ jsxs("article", { className: "adyen-task-list-group", children: [
|
|
641
657
|
title && /* @__PURE__ */ jsx("header", { className: "adyen-task-list-group__header", children: /* @__PURE__ */ jsx(Typography, { el: "h4", variant: "body-stronger", color: "secondary", children: title }) }),
|
|
642
658
|
/* @__PURE__ */ jsx("div", { className: "adyen-kyc-card__body", children: /* @__PURE__ */ jsx(CardGroup, { className: "adyen-task-list-group__items", children }) })
|
|
@@ -670,7 +686,7 @@ function TaskListInner({
|
|
|
670
686
|
singpassComponent
|
|
671
687
|
}) {
|
|
672
688
|
const userEvents = useAnalyticsContext();
|
|
673
|
-
const { t } = useTranslation();
|
|
689
|
+
const { t } = useTranslation("common");
|
|
674
690
|
const { showToast } = useToastContext();
|
|
675
691
|
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
676
692
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -810,7 +826,7 @@ function TaskListInner({
|
|
|
810
826
|
userEvents.addTaskEvent("Encountered error", {
|
|
811
827
|
task: TaskTypes.TASKS_OVERVIEW,
|
|
812
828
|
actionType: "alert",
|
|
813
|
-
|
|
829
|
+
returnValue: "missingDecisionMaker"
|
|
814
830
|
});
|
|
815
831
|
}
|
|
816
832
|
}, [showDecisionMakersWarning, userEvents]);
|
|
@@ -1107,6 +1123,10 @@ function BusinessLinesDropin({ handleHomeClick }) {
|
|
|
1107
1123
|
}
|
|
1108
1124
|
const RootBusinessLinesPage = ({ handleHomeClick }) => {
|
|
1109
1125
|
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
1126
|
+
const { i18n } = useTranslation();
|
|
1127
|
+
addResourceBundles(i18n, i18n.language, [
|
|
1128
|
+
{ ns: "businessLines", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-B0-ZcjR0.js"), "../language/cs-CZ.json": () => import("./cs-CZ-Dk1ePReM.js"), "../language/da-DK.json": () => import("./da-DK-DStNe471.js"), "../language/de-DE.json": () => import("./de-DE-CGoBPCPv.js"), "../language/el-GR.json": () => import("./el-GR-B69zcWyB.js"), "../language/en-US.json": () => import("./en-US-CQ3angjM.js"), "../language/es-ES.json": () => import("./es-ES-CKMfS8Yy.js"), "../language/et-EE.json": () => import("./et-EE-Dw-aPF7J.js"), "../language/fi-FI.json": () => import("./fi-FI-REYOX46I.js"), "../language/fr-FR.json": () => import("./fr-FR-D9qaP6nx.js"), "../language/hr-HR.json": () => import("./hr-HR-CbxEvbrE.js"), "../language/hu-HU.json": () => import("./hu-HU-D0C6UfXB.js"), "../language/it-IT.json": () => import("./it-IT-Biduphjt.js"), "../language/ja-JP.json": () => import("./ja-JP-B2txEVPx.js"), "../language/lt-LT.json": () => import("./lt-LT-C_YMgjp9.js"), "../language/lv-LV.json": () => import("./lv-LV-B3sT3_cw.js"), "../language/nl-NL.json": () => import("./nl-NL-G1wVnmzT.js"), "../language/no-NO.json": () => import("./no-NO-BTtAuqCb.js"), "../language/pl-PL.json": () => import("./pl-PL--qPaNyJD.js"), "../language/pt-PT.json": () => import("./pt-PT-Dk48OVtf.js"), "../language/ro-RO.json": () => import("./ro-RO-BLuOjrS0.js"), "../language/sk-SK.json": () => import("./sk-SK-C1Ky2nl_.js"), "../language/sl-SI.json": () => import("./sl-SI-BB7iVcFI.js"), "../language/sv-SE.json": () => import("./sv-SE-DbI-1JqN.js") }), `../language/${i18n.language}.json`, 3) }
|
|
1129
|
+
]);
|
|
1110
1130
|
if (!rootLe) {
|
|
1111
1131
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
1112
1132
|
}
|
|
@@ -1312,6 +1332,117 @@ const DropinLayout = ({ content, footer }) => /* @__PURE__ */ jsxs("div", { clas
|
|
|
1312
1332
|
/* @__PURE__ */ jsx("div", { className: "adyen-kyc-dropin__content", children: /* @__PURE__ */ jsx("div", { className: "adyen-kyc-dropin__content-main", children: content }) }),
|
|
1313
1333
|
footer && /* @__PURE__ */ jsx("div", { className: "adyen-kyc-dropin__footer-container", children: footer })
|
|
1314
1334
|
] });
|
|
1335
|
+
const defaultFieldMetadata = {
|
|
1336
|
+
label: "legalCompanyName",
|
|
1337
|
+
helperText: "legalCompanyName__helperText",
|
|
1338
|
+
validators: validateNotEmptyOnBlur
|
|
1339
|
+
};
|
|
1340
|
+
const defaultFieldConfig = {
|
|
1341
|
+
[CountryCodes.Australia]: {
|
|
1342
|
+
label: "legalCompanyName",
|
|
1343
|
+
helperText: "legalCompanyName__helperText__AU",
|
|
1344
|
+
validators: validateNotEmptyOnBlur
|
|
1345
|
+
},
|
|
1346
|
+
[CountryCodes.HongKong]: {
|
|
1347
|
+
label: "legalCompanyName",
|
|
1348
|
+
helperText: "legalCompanyName__helperText__HK",
|
|
1349
|
+
validators: validateNotEmptyOnBlur
|
|
1350
|
+
},
|
|
1351
|
+
[CountryCodes.Netherlands]: {
|
|
1352
|
+
label: "legalCompanyName",
|
|
1353
|
+
helperText: "legalCompanyName__helperText__NL",
|
|
1354
|
+
validators: validateNotEmptyOnBlur
|
|
1355
|
+
},
|
|
1356
|
+
[CountryCodes.Singapore]: {
|
|
1357
|
+
label: "legalCompanyName",
|
|
1358
|
+
helperText: "legalCompanyName__helperText__SG",
|
|
1359
|
+
validators: validateNotEmptyOnBlur
|
|
1360
|
+
},
|
|
1361
|
+
[CountryCodes.UnitedStates]: ({ isBusiness }) => ({
|
|
1362
|
+
label: "legalCompanyName__US",
|
|
1363
|
+
helperText: isBusiness ? "legalCompanyName__helperText__US__business" : "legalCompanyName__helperText__US",
|
|
1364
|
+
validators: validateNotEmptyOnBlur
|
|
1365
|
+
})
|
|
1366
|
+
};
|
|
1367
|
+
const defaultFieldMetadataV4 = {
|
|
1368
|
+
label: "legalCompanyName",
|
|
1369
|
+
helperText: "legalCompanyName__helperText",
|
|
1370
|
+
validators: validateLegalCompanyName
|
|
1371
|
+
};
|
|
1372
|
+
const defaultFieldConfigV4 = {
|
|
1373
|
+
[CountryCodes.Australia]: {
|
|
1374
|
+
label: "legalCompanyName",
|
|
1375
|
+
helperText: "legalCompanyName__helperText__AU",
|
|
1376
|
+
validators: validateLegalCompanyName
|
|
1377
|
+
},
|
|
1378
|
+
[CountryCodes.HongKong]: {
|
|
1379
|
+
label: "legalCompanyName",
|
|
1380
|
+
helperText: "legalCompanyName__helperText__HK",
|
|
1381
|
+
validators: validateLegalCompanyName
|
|
1382
|
+
},
|
|
1383
|
+
[CountryCodes.Netherlands]: {
|
|
1384
|
+
label: "legalCompanyName",
|
|
1385
|
+
helperText: "legalCompanyName__helperText__NL",
|
|
1386
|
+
validators: validateLegalCompanyName
|
|
1387
|
+
},
|
|
1388
|
+
[CountryCodes.Singapore]: {
|
|
1389
|
+
label: "legalCompanyName",
|
|
1390
|
+
helperText: "legalCompanyName__helperText__SG",
|
|
1391
|
+
validators: validateLegalCompanyName
|
|
1392
|
+
},
|
|
1393
|
+
[CountryCodes.UnitedStates]: ({ isBusiness }) => ({
|
|
1394
|
+
label: "legalCompanyName__US",
|
|
1395
|
+
helperText: isBusiness ? "legalCompanyName__helperText__US__business" : "legalCompanyName__helperText__US",
|
|
1396
|
+
validators: validateLegalCompanyName
|
|
1397
|
+
}),
|
|
1398
|
+
[CountryCodes.Japan]: {
|
|
1399
|
+
label: "legalCompanyName__JP",
|
|
1400
|
+
helperText: void 0,
|
|
1401
|
+
validators: [...validateLegalCompanyName, validateLatinSpaceMarkPunctuationOnlyOnBlur]
|
|
1402
|
+
}
|
|
1403
|
+
};
|
|
1404
|
+
const LEGAL_COMPANY_NAME_FIELD = [
|
|
1405
|
+
"legalCompanyName"
|
|
1406
|
+
];
|
|
1407
|
+
function LegalCompanyNameField({
|
|
1408
|
+
data,
|
|
1409
|
+
valid,
|
|
1410
|
+
errors,
|
|
1411
|
+
labels,
|
|
1412
|
+
helperText,
|
|
1413
|
+
readonly,
|
|
1414
|
+
handleChangeFor
|
|
1415
|
+
}) {
|
|
1416
|
+
const handleKeyDown = (e) => {
|
|
1417
|
+
if (e.key === KEYBOARD_KEYS.enter) {
|
|
1418
|
+
e.preventDefault();
|
|
1419
|
+
}
|
|
1420
|
+
};
|
|
1421
|
+
return /* @__PURE__ */ jsx(
|
|
1422
|
+
Field,
|
|
1423
|
+
{
|
|
1424
|
+
name: "legalCompanyName",
|
|
1425
|
+
label: labels.legalCompanyName,
|
|
1426
|
+
helper: helperText?.legalCompanyName,
|
|
1427
|
+
errorMessage: errors.legalCompanyName,
|
|
1428
|
+
isValid: valid.legalCompanyName,
|
|
1429
|
+
children: (childProps) => /* @__PURE__ */ jsx(
|
|
1430
|
+
InputText,
|
|
1431
|
+
{
|
|
1432
|
+
...childProps,
|
|
1433
|
+
"aria-required": true,
|
|
1434
|
+
"aria-invalid": !valid.legalCompanyName,
|
|
1435
|
+
name: "legalCompanyName",
|
|
1436
|
+
value: data.legalCompanyName,
|
|
1437
|
+
readonly,
|
|
1438
|
+
onInput: handleChangeFor("legalCompanyName", "input"),
|
|
1439
|
+
onBlur: handleChangeFor("legalCompanyName", "blur"),
|
|
1440
|
+
onKeyDown: handleKeyDown
|
|
1441
|
+
}
|
|
1442
|
+
)
|
|
1443
|
+
}
|
|
1444
|
+
);
|
|
1445
|
+
}
|
|
1315
1446
|
const convertExistingSettlorExemptionReasons = (existingReasons) => {
|
|
1316
1447
|
if (!existingReasons || !existingReasons.length) return ["noneOfTheAbove"];
|
|
1317
1448
|
return existingReasons;
|
|
@@ -1503,7 +1634,7 @@ const convertExistingTrustMemberToDefaultData = (trustMember, allowMoreRolesForM
|
|
|
1503
1634
|
return convertExistingTrustMember(trustMember);
|
|
1504
1635
|
};
|
|
1505
1636
|
const TrustRoleAndEntityType = (props) => {
|
|
1506
|
-
const { t } = useTranslation();
|
|
1637
|
+
const { t } = useTranslation("common");
|
|
1507
1638
|
const { i18n } = useI18nContext();
|
|
1508
1639
|
const { existingTrustMember, isOrganizationSettlorWithExemptionEnabled, onChange, id, country } = props;
|
|
1509
1640
|
const trustRoleAndEntityTypeCountry = country;
|
|
@@ -2332,7 +2463,7 @@ const EntityGuidanceStatus = ({
|
|
|
2332
2463
|
entityLabel,
|
|
2333
2464
|
status
|
|
2334
2465
|
}) => {
|
|
2335
|
-
const { t } = useTranslation();
|
|
2466
|
+
const { t } = useTranslation("common");
|
|
2336
2467
|
return /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-entity-status__container", children: [
|
|
2337
2468
|
/* @__PURE__ */ jsx(EntityStatusIcon, { status }),
|
|
2338
2469
|
/* @__PURE__ */ jsx(
|
|
@@ -2442,7 +2573,7 @@ const EntityAssociation = ({
|
|
|
2442
2573
|
isRemoveDisabled = false,
|
|
2443
2574
|
handleIsRemoveDisabled
|
|
2444
2575
|
}) => {
|
|
2445
|
-
const { t } = useTranslation();
|
|
2576
|
+
const { t } = useTranslation("common");
|
|
2446
2577
|
const [showingActions, setShowingActions] = useState(false);
|
|
2447
2578
|
const [isStatusRemoving, setIsStatusRemoving] = useState(false);
|
|
2448
2579
|
return /* @__PURE__ */ jsxs(
|
|
@@ -3166,8 +3297,15 @@ function UnincorporatedPartnershipMemberRoleAndTypePage({
|
|
|
3166
3297
|
onNavigateToMember,
|
|
3167
3298
|
navigateBack
|
|
3168
3299
|
}) {
|
|
3300
|
+
const { i18n } = useTranslation();
|
|
3169
3301
|
const { data: memberLe } = useLegalEntity(memberId || skipToken);
|
|
3170
3302
|
const unincorporatedPartnershipMembers = useUnincorporatedPartnershipMembers();
|
|
3303
|
+
addResourceBundles(i18n, i18n.language, [
|
|
3304
|
+
{
|
|
3305
|
+
ns: "unincorpPartnership",
|
|
3306
|
+
importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-hFblesn-.js"), "../language/cs-CZ.json": () => import("./cs-CZ-B8IPRc47.js"), "../language/da-DK.json": () => import("./da-DK-BTpZzEgA.js"), "../language/de-DE.json": () => import("./de-DE-DjOUNvp6.js"), "../language/el-GR.json": () => import("./el-GR-Cu9HwD-f.js"), "../language/en-US.json": () => import("./en-US-BTYdAWXp.js"), "../language/es-ES.json": () => import("./es-ES-Cj7q7fWO.js"), "../language/et-EE.json": () => import("./et-EE-Dor3enPS.js"), "../language/fi-FI.json": () => import("./fi-FI-BNcnKrJ9.js"), "../language/fr-FR.json": () => import("./fr-FR-Bn3D6mmY.js"), "../language/hr-HR.json": () => import("./hr-HR-CNzbyo9r.js"), "../language/hu-HU.json": () => import("./hu-HU-BSOiZA7a.js"), "../language/it-IT.json": () => import("./it-IT-DvM-9LpM.js"), "../language/ja-JP.json": () => import("./ja-JP-GXkLvnQ4.js"), "../language/lt-LT.json": () => import("./lt-LT-DNjXmQPv.js"), "../language/lv-LV.json": () => import("./lv-LV-ChOoZuhc.js"), "../language/nl-NL.json": () => import("./nl-NL-BHqiO21q.js"), "../language/no-NO.json": () => import("./no-NO-CKT9kLAH.js"), "../language/pl-PL.json": () => import("./pl-PL-D6heiKsH.js"), "../language/pt-PT.json": () => import("./pt-PT-D2elvnDU.js"), "../language/ro-RO.json": () => import("./ro-RO-DL9V1CMj.js"), "../language/sk-SK.json": () => import("./sk-SK-BSioQTMW.js"), "../language/sl-SI.json": () => import("./sl-SI-BylvpF-X.js"), "../language/sv-SE.json": () => import("./sv-SE-Dwz1yTrB.js") }), `../language/${i18n.language}.json`, 3)
|
|
3307
|
+
}
|
|
3308
|
+
]);
|
|
3171
3309
|
if (memberId && !memberLe) {
|
|
3172
3310
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
3173
3311
|
}
|
|
@@ -3195,6 +3333,7 @@ const UnincorporatedPartnershipMembersOverview = ({
|
|
|
3195
3333
|
navigateToEditMemberOwner
|
|
3196
3334
|
}) => {
|
|
3197
3335
|
const { i18n } = useI18nContext();
|
|
3336
|
+
const { i18n: i18next } = useTranslation();
|
|
3198
3337
|
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
3199
3338
|
const { data: partnershipLe, refetch: refetchPartnership } = useAssociatedLegalEntity(
|
|
3200
3339
|
rootLe,
|
|
@@ -3203,6 +3342,12 @@ const UnincorporatedPartnershipMembersOverview = ({
|
|
|
3203
3342
|
const partnershipMembers = useUnincorporatedPartnershipMembers();
|
|
3204
3343
|
const { mutateAsync: updateLegalEntity } = useUpdateLegalEntity();
|
|
3205
3344
|
const { setUnincorporatedPartnershipMembers } = useGlobalStore();
|
|
3345
|
+
addResourceBundles(i18next, i18next.language, [
|
|
3346
|
+
{
|
|
3347
|
+
ns: "unincorpPartnership",
|
|
3348
|
+
importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../language/bg-BG.json": () => import("./bg-BG-hFblesn-.js"), "../../language/cs-CZ.json": () => import("./cs-CZ-B8IPRc47.js"), "../../language/da-DK.json": () => import("./da-DK-BTpZzEgA.js"), "../../language/de-DE.json": () => import("./de-DE-DjOUNvp6.js"), "../../language/el-GR.json": () => import("./el-GR-Cu9HwD-f.js"), "../../language/en-US.json": () => import("./en-US-BTYdAWXp.js"), "../../language/es-ES.json": () => import("./es-ES-Cj7q7fWO.js"), "../../language/et-EE.json": () => import("./et-EE-Dor3enPS.js"), "../../language/fi-FI.json": () => import("./fi-FI-BNcnKrJ9.js"), "../../language/fr-FR.json": () => import("./fr-FR-Bn3D6mmY.js"), "../../language/hr-HR.json": () => import("./hr-HR-CNzbyo9r.js"), "../../language/hu-HU.json": () => import("./hu-HU-BSOiZA7a.js"), "../../language/it-IT.json": () => import("./it-IT-DvM-9LpM.js"), "../../language/ja-JP.json": () => import("./ja-JP-GXkLvnQ4.js"), "../../language/lt-LT.json": () => import("./lt-LT-DNjXmQPv.js"), "../../language/lv-LV.json": () => import("./lv-LV-ChOoZuhc.js"), "../../language/nl-NL.json": () => import("./nl-NL-BHqiO21q.js"), "../../language/no-NO.json": () => import("./no-NO-CKT9kLAH.js"), "../../language/pl-PL.json": () => import("./pl-PL-D6heiKsH.js"), "../../language/pt-PT.json": () => import("./pt-PT-D2elvnDU.js"), "../../language/ro-RO.json": () => import("./ro-RO-DL9V1CMj.js"), "../../language/sk-SK.json": () => import("./sk-SK-BSioQTMW.js"), "../../language/sl-SI.json": () => import("./sl-SI-BylvpF-X.js"), "../../language/sv-SE.json": () => import("./sv-SE-Dwz1yTrB.js") }), `../../language/${i18next.language}.json`, 4)
|
|
3349
|
+
}
|
|
3350
|
+
]);
|
|
3206
3351
|
useEffect(
|
|
3207
3352
|
() => setUnincorporatedPartnershipMembers(partnershipMembers),
|
|
3208
3353
|
[partnershipMembers, setUnincorporatedPartnershipMembers]
|
|
@@ -3462,71 +3607,71 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
3462
3607
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
3463
3608
|
};
|
|
3464
3609
|
const Introduction = lazy(
|
|
3465
|
-
async () => (await import("./Introduction-
|
|
3610
|
+
async () => (await import("./Introduction-1ZBVqCrd.js")).Introduction
|
|
3466
3611
|
);
|
|
3467
3612
|
const BusinessTypeSelectionPage = lazy(
|
|
3468
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
3613
|
+
async () => (await import("./BusinessTypeSelectionPage-CjEomufR.js")).BusinessTypeSelectionPage
|
|
3469
3614
|
);
|
|
3470
3615
|
const SingpassSelection = lazy(
|
|
3471
|
-
async () => (await import("./SingpassSelection-
|
|
3616
|
+
async () => (await import("./SingpassSelection-DukeaL-T.js")).SingpassSelection
|
|
3472
3617
|
);
|
|
3473
3618
|
const AccountSetupRejected = lazy(
|
|
3474
|
-
async () => (await import("./AccountSetupRejected-
|
|
3619
|
+
async () => (await import("./AccountSetupRejected-C7bZBsjo.js")).AccountSetupRejected
|
|
3475
3620
|
);
|
|
3476
3621
|
const DecisionMakers = lazy(
|
|
3477
|
-
async () => (await import("./DecisionMakers-
|
|
3622
|
+
async () => (await import("./DecisionMakers-DNepilyq.js")).DecisionMakers
|
|
3478
3623
|
);
|
|
3479
3624
|
const CustomerSupport = lazy(
|
|
3480
|
-
async () => (await import("./CustomerSupport-
|
|
3625
|
+
async () => (await import("./CustomerSupport-B7VbKM8X.js")).CustomerSupport
|
|
3481
3626
|
);
|
|
3482
|
-
const Review = lazy(async () => (await import("./Review-
|
|
3627
|
+
const Review = lazy(async () => (await import("./Review-8WTYj81b.js")).Review);
|
|
3483
3628
|
const SignPCIComponent = lazy(
|
|
3484
|
-
async () => (await import("./SignPCIComponent-
|
|
3629
|
+
async () => (await import("./SignPCIComponent-bl7LzPjE.js")).SignPCIComponent
|
|
3485
3630
|
);
|
|
3486
3631
|
const AcceptTermsOfService = lazy(
|
|
3487
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
3632
|
+
async () => (await import("./AcceptTermsOfServiceComponent-Do0w4uTc.js")).AcceptTermsOfServiceComponent
|
|
3488
3633
|
);
|
|
3489
3634
|
const TaxReportingDropin = lazy(
|
|
3490
|
-
async () => (await import("./TaxReportingDropin-
|
|
3635
|
+
async () => (await import("./TaxReportingDropin-5Lp9F8Ab.js")).TaxReportingDropin
|
|
3491
3636
|
);
|
|
3492
3637
|
const PayoutDetailsPage = lazy(
|
|
3493
|
-
async () => (await import("./
|
|
3638
|
+
async () => (await import("./PayoutDetailsDropin-58zkMbID.js").then((n) => n.a)).PayoutDetailsPage
|
|
3494
3639
|
);
|
|
3495
3640
|
const RootBusinessDetailsPage = lazy(
|
|
3496
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
3641
|
+
async () => (await import("./RootBusinessDetailsPage-FDWyaMpG.js")).RootBusinessDetailsPage
|
|
3497
3642
|
);
|
|
3498
3643
|
const SoleProprietorshipPage = lazy(
|
|
3499
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
3644
|
+
async () => (await import("./SoleProprietorshipPage-C-XJc7Iq.js")).SoleProprietorshipPage
|
|
3500
3645
|
);
|
|
3501
3646
|
const TrustMemberCompanyPage = lazy(
|
|
3502
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
3647
|
+
async () => (await import("./TrustMemberCompanyPage-Z6YT-R_a.js")).TrustMemberCompanyPage
|
|
3503
3648
|
);
|
|
3504
3649
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
3505
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
3650
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-9FlDLivA.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
3506
3651
|
);
|
|
3507
3652
|
const BusinessFinancingPage = lazy(
|
|
3508
|
-
async () => (await import("./BusinessFinancingPage-
|
|
3653
|
+
async () => (await import("./BusinessFinancingPage-Bb1dPIJF.js")).BusinessFinancingPage
|
|
3509
3654
|
);
|
|
3510
3655
|
const TrustDetailsPage = lazy(
|
|
3511
|
-
async () => (await import("./TrustDetailsPage-
|
|
3656
|
+
async () => (await import("./TrustDetailsPage-CjCSvds-.js")).TrustDetailsPage
|
|
3512
3657
|
);
|
|
3513
3658
|
const SourceOfFundsPage = lazy(
|
|
3514
|
-
async () => (await import("./SourceOfFundsPage-
|
|
3659
|
+
async () => (await import("./SourceOfFundsPage-D-xLHf2C.js")).SourceOfFundsPage
|
|
3515
3660
|
);
|
|
3516
3661
|
const RootIndividualDetailsPage = lazy(
|
|
3517
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
3662
|
+
async () => (await import("./RootIndividualDetailsPage-SFgbb5Bk.js")).RootIndividualDetailsPage
|
|
3518
3663
|
);
|
|
3519
3664
|
const LegalRepresentativeDetailsPage = lazy(
|
|
3520
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
3665
|
+
async () => (await import("./LegalRepresentativeDetailsPage-B2yyvDKF.js")).LegalRepresentativeDetailsPage
|
|
3521
3666
|
);
|
|
3522
3667
|
const TrustMemberIndividualPage = lazy(
|
|
3523
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
3668
|
+
async () => (await import("./TrustMemberIndividualPage-qDN9m9Dv.js")).TrustMemberIndividualPage
|
|
3524
3669
|
);
|
|
3525
3670
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
3526
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
3671
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-iRZOCq2z.js")).UnincorporatedPartnershipIndividualPage
|
|
3527
3672
|
);
|
|
3528
3673
|
const DecisionMakerDetailsPage = lazy(
|
|
3529
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
3674
|
+
async () => (await import("./DecisionMakerDetailsPage-Y7E2RfUW.js")).DecisionMakerDetailsPage
|
|
3530
3675
|
);
|
|
3531
3676
|
function isIn(values, x) {
|
|
3532
3677
|
return values.includes(x);
|
|
@@ -4116,6 +4261,14 @@ function OnboardingDropinComponent({
|
|
|
4116
4261
|
if (!legalEntityId) {
|
|
4117
4262
|
throw new Error("Must provide at-least legalEntityId");
|
|
4118
4263
|
}
|
|
4264
|
+
const { i18n } = useTranslation();
|
|
4265
|
+
addResourceBundles(i18n, i18n.language, [
|
|
4266
|
+
{
|
|
4267
|
+
ns: "common",
|
|
4268
|
+
importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-CW9c658c.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-dU9fnQ1g.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-BJ7aTPir.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-C78RLE2G.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-BZRKurtr.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-B6-mwoeD.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-BtUSEzkE.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BCnK305R.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-Cvar63RH.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-B5543Fe-.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-ZreFlbK9.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-B3BihdGh.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Dd6xGSe-.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-iTbqSPNL.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-DE-4IXNG.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CeivEZms.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-DVENFpd5.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-Dn2UkdoI.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-DFAzuceF.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-_o5xgnxS.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-D7c_Rj8V.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-BBSuh2fA.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BLTuWNf5.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-BUfESAQK.js") }), `../../../language/locales/${i18n.language}.json`, 6)
|
|
4269
|
+
},
|
|
4270
|
+
{ ns: "ui", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-CZ8v3rdy.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Dx6momCa.js"), "../../ui/language/da-DK.json": () => import("./da-DK-D4H69PX3.js"), "../../ui/language/de-DE.json": () => import("./de-DE-wp5-H-ov.js"), "../../ui/language/el-GR.json": () => import("./el-GR-CK2heqPJ.js"), "../../ui/language/en-US.json": () => import("./en-US-CAm3meB1.js"), "../../ui/language/es-ES.json": () => import("./es-ES-Ds3-DtqZ.js"), "../../ui/language/et-EE.json": () => import("./et-EE-Co-8akjV.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-DPNeTsJS.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-ChmNQciP.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-DqC8Cgs6.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-BOanVlKb.js"), "../../ui/language/it-IT.json": () => import("./it-IT-eCrTB65E.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-BJljbFIZ.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-DckQGgoT.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-DP9oRTFv.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-D2QKudfh.js"), "../../ui/language/no-NO.json": () => import("./no-NO-C_snYWBc.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-CQ6c2Qz_.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-C-hbNnsB.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-BrTWk1Ui.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-BTFtoPmI.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-BhVTSmhQ.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-66rqYTxi.js") }), `../../ui/language/${i18n.language}.json`, 5) }
|
|
4271
|
+
]);
|
|
4119
4272
|
const { data: legalEntityData } = useLegalEntity(ROOT_LE);
|
|
4120
4273
|
return !legalEntityData ? /* @__PURE__ */ jsx(Loader, {}) : /* @__PURE__ */ jsx(
|
|
4121
4274
|
DropinComposer,
|
|
@@ -4126,8 +4279,10 @@ function OnboardingDropinComponent({
|
|
|
4126
4279
|
);
|
|
4127
4280
|
}
|
|
4128
4281
|
export {
|
|
4282
|
+
CardGroup as C,
|
|
4129
4283
|
DropinLayout as D,
|
|
4130
4284
|
EntityGuidanceStatus as E,
|
|
4285
|
+
LEGAL_COMPANY_NAME_FIELD as L,
|
|
4131
4286
|
OnboardingDropinComponent as O,
|
|
4132
4287
|
usePciStatus as a,
|
|
4133
4288
|
useCanSeeIntroduction as b,
|
|
@@ -4135,8 +4290,12 @@ export {
|
|
|
4135
4290
|
allowIndividualWithoutSoleProp as d,
|
|
4136
4291
|
useDataMissingRemediations as e,
|
|
4137
4292
|
EntityAssociation as f,
|
|
4138
|
-
|
|
4293
|
+
defaultFieldMetadataV4 as g,
|
|
4294
|
+
defaultFieldMetadata as h,
|
|
4139
4295
|
iconStatus as i,
|
|
4296
|
+
defaultFieldConfigV4 as j,
|
|
4297
|
+
defaultFieldConfig as k,
|
|
4298
|
+
useTrustMembers as l,
|
|
4140
4299
|
normalizedTaskStatusStore as n,
|
|
4141
4300
|
useSalesChannelsSettings as u
|
|
4142
4301
|
};
|