@adyen/kyc-components 4.0.0-compact.7 → 4.0.0-compact.9
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/README.md +31 -43
- package/dist/{AcceptTermsOfServiceComponent-BFqDontt.js → AcceptTermsOfServiceComponent-Y5aYfW8R.js} +31 -26
- package/dist/{AccountSetupRejected-f8rcBzZj.js → AccountSetupRejected-BBPH8zsy.js} +2 -5
- package/dist/{ActionBar-CijauUSe.js → ActionBar-CFMobUf9.js} +2 -2
- package/dist/{Address-Bj7zJ6yZ.js → Address-DaePmCRZ.js} +22 -25
- package/dist/{Avatar-DWU7t_0U.js → Avatar-CbD3nP3P.js} +2 -2
- package/dist/{BusinessFinancingComponent-_DvatBRp.js → BusinessFinancingComponent-BfmzIskz.js} +7 -7
- package/dist/{BusinessFinancingDropin-BuATaIOz.js → BusinessFinancingDropin-CLD8LAhP.js} +199 -160
- package/dist/BusinessFinancingPage-Bg-wKhhY.js +43 -0
- package/dist/{BusinessTypeSelectionPage-gsT7g7u8.js → BusinessTypeSelectionPage-D3EIjy_H.js} +11 -17
- package/dist/{Checkbox-5Sc5pzsh.js → Checkbox-DmYVTVOD.js} +2 -2
- package/dist/{Confirm-C0J_JwMM.js → Confirm-NubmSSR7.js} +3 -3
- package/dist/{ConstitutionalDocument-Bw5T0g5Q.js → ConstitutionalDocument-Djj_JCy4.js} +43 -30
- package/dist/{ContactDetails-CXTim9KR.js → ContactDetails-tNdzS3d4.js} +13 -10
- package/dist/{ContextGuidance-074d6FWy.js → ContextGuidance-Dp2PWG5c.js} +2 -3
- package/dist/{CountryField-DxZlK1rV.js → CountryField-C7SjQFv_.js} +4 -6
- package/dist/{CreateIndividualComponent-BppUrKMC.js → CreateIndividualComponent-DwOiAUaA.js} +8 -8
- package/dist/{CreateTransferInstrumentComponent-Cl2NOJb6.js → CreateTransferInstrumentComponent-D29rvuqv.js} +6 -6
- package/dist/{Currency-CIgj9KwH.js → Currency-B4udmJgX.js} +12 -18
- package/dist/{CustomerSupport-UenL9SqQ.js → CustomerSupport-CU3xoowB.js} +10 -11
- package/dist/{DebugModal-KXKodU9u.js → DebugModal-C7WSGJRZ.js} +10 -11
- package/dist/{DecisionMakerDetailsPage-Xwe1qYtH.js → DecisionMakerDetailsPage-C-mB9v5X.js} +10 -10
- package/dist/{DecisionMakers-CJDodZSl.js → DecisionMakers-AhL30Hnp.js} +114 -55
- package/dist/{Dropzone-kpihpy7N.js → Dropzone-B9NMiWRF.js} +4 -4
- package/dist/{EmbeddedStatus-BJjPDUeS.js → EmbeddedStatus-DkQk7orK.js} +3 -3
- package/dist/{EndStateLayout-Cx1NUGVq.js → EndStateLayout-DVisdSEd.js} +2 -2
- package/dist/{EntityAssociation-BtQeHZOq.js → EntityAssociation-BSnS5dP_.js} +5 -6
- package/dist/{EntityGuidanceStatus-DyMVy3R4.js → EntityGuidanceStatus-C2eFgLqN.js} +4 -4
- package/dist/{ErrorPanel-CAALFKmE.js → ErrorPanel-D4kO8XQ8.js} +11 -13
- package/dist/{Field-Bs7wGDqk.js → Field-CPoHG0G-.js} +3 -3
- package/dist/{FormNavigation-BtSvWPRY.js → FormNavigation-yD8USwyG.js} +3 -3
- package/dist/{Individual.rules-CP2tzjmO.js → Individual.rules-0EggSgTn.js} +16 -9
- package/dist/{IndividualDropin-xfXkDkrM.js → IndividualDropin-Eo9sxeBW.js} +692 -267
- package/dist/{InputDate-CLxqciJA.js → InputDate-BVYQZZuX.js} +2 -2
- package/dist/{InputText-BdCbTzL9.js → InputText-C55stM8O.js} +2 -2
- package/dist/{Introduction-BRWdnVv5.js → Introduction-CZ_-eIBj.js} +4 -4
- package/dist/{JpAddress-BSEenMj0.js → JpAddress-B3HjxunW.js} +12 -14
- package/dist/{LandingLayout-kl7TkBGx.js → LandingLayout-C_SbjQZA.js} +2 -3
- package/dist/{LegalCompanyNameField-DzAxAnD9.js → LegalCompanyNameField-DBiJbXem.js} +6 -6
- package/dist/{LegalRepresentativeDetailsPage--yY_D66i.js → LegalRepresentativeDetailsPage-DFKA0RAe.js} +6 -6
- package/dist/{Link-CXYU8cLY.js → Link-ru5UMRxt.js} +2 -2
- package/dist/{ListItem-HD5_HiQ2.js → ListItem-C6ALEoR-.js} +3 -3
- package/dist/{LoaderWrapper-C2PvjjQc.js → LoaderWrapper-BL7Hc_DC.js} +2 -2
- package/dist/{ManageIndividualComponent-BGaAbJjj.js → ManageIndividualComponent-CkybWipX.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-DFjaajE4.js → ManageTermsOfServiceComponent-Cgjagedl.js} +6 -6
- package/dist/{ManageTransferInstrumentComponent-Dndkwh_d.js → ManageTransferInstrumentComponent-DOpxzIzn.js} +16 -18
- package/dist/{MaskedInput-BSW18fxr.js → MaskedInput-1f16YE1z.js} +5 -5
- package/dist/{MaybeModal-xIjl3I31.js → MaybeModal-7NGTfxO6.js} +3 -3
- package/dist/{Modal-CZ-HuGUO.js → Modal-BMdWqd0Y.js} +15 -25
- package/dist/{Name-D6EhveoK.js → Name-BQWEKtu9.js} +5 -5
- package/dist/NewSummary-D-9PYaY6.js +60 -0
- package/dist/{OnboardingDropinComponent-CHtcVTHh.js → OnboardingDropinComponent-CxUcB7IU.js} +813 -121
- package/dist/{PayoutDetailsDropin-C2pNMAZS.js → PayoutDetailsDropin-DWqomQHU.js} +81 -190
- package/dist/PayoutDetailsPage-NIBSRWDA.js +55 -0
- package/dist/{RadioGroup-CxcIXYzs.js → RadioGroup-BuAX_NLA.js} +2 -2
- package/dist/{RadioGroupCard-Y214QWmQ.js → RadioGroupCard-Cbd_S6Fi.js} +2 -2
- package/dist/{Review-B2NCN4h_.js → Review-BjdQyMeU.js} +6 -8
- package/dist/{RootBusinessDetailsPage-hr5fLCIH.js → RootBusinessDetailsPage-CE9KIQRB.js} +6 -6
- package/dist/{RootBusinessLinesPage-DSna9haW.js → RootBusinessLinesPage-DYZETgKB.js} +129 -139
- package/dist/{RootIndividualDetailsPage-BItguz9n.js → RootIndividualDetailsPage-DCEHjEbR.js} +9 -10
- package/dist/{Select-DaCJsYNl.js → Select-seF9rM5K.js} +4 -4
- package/dist/{SignPCIComponent-C2YjBxQM.js → SignPCIComponent-CkaBa8MB.js} +18 -17
- package/dist/{SingpassSelection-B3ozCH9I.js → SingpassSelection-FctS_Rd2.js} +6 -6
- package/dist/{SoleProprietorshipPage-DIzzhgjr.js → SoleProprietorshipPage-BolUC48_.js} +5 -5
- package/dist/{SourceOfFundsPage-C3kXyE7G.js → SourceOfFundsPage-qPaoxTgM.js} +272 -103
- package/dist/{StepProgressIndicator-BSGlNU3K.js → StepProgressIndicator-DQIv4e4a.js} +2 -2
- package/dist/{StoreProvider-99-ewU62.js → StoreProvider-CBB99upB.js} +1032 -292
- package/dist/{StructuredList-CVMZBzwq.js → StructuredList-EKVbq_i3.js} +1 -1
- package/dist/{Summary-D0GcSMNn.js → Summary-C5uRwUKn.js} +28 -24
- package/dist/{TaxInformationField-BxQvx1zK.js → TaxInformationField-B7AVdVgf.js} +614 -634
- package/dist/{TaxReportingDropin-BqvAQH2c.js → TaxReportingDropin-C2dEK3ij.js} +15 -17
- package/dist/{TextArea-BjsWgkR-.js → TextArea-BbRKVKmP.js} +2 -2
- package/dist/{TileGroup-C-5-VREz.js → TileGroup-oKbh_YGv.js} +3 -3
- package/dist/{TrustDetailsPage-YROGiuFJ.js → TrustDetailsPage-BbQB4A5-.js} +129 -120
- package/dist/{TrustMemberCompanyPage-Z2EuqPEI.js → TrustMemberCompanyPage-CbRLAXBG.js} +7 -7
- package/dist/TrustMemberIndividualPage-BFRSkSas.js +64 -0
- package/dist/{TrustMemberRoleAndTypePage-BEOtdItr.js → TrustMemberRoleAndTypePage-pS7j8_f6.js} +35 -44
- package/dist/{TrustMembersOverview-GybHMIEU.js → TrustMembersOverview-aEVgO4Gr.js} +17 -21
- package/dist/{UnincorporatedPartnershipIndividualPage-BCYxSTlv.js → UnincorporatedPartnershipIndividualPage-DO7AXsP5.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-Buez4OHl.js → UnincorporatedPartnershipMemberCompanyPage-qvOu17yc.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Cfpe0BuU.js → UnincorporatedPartnershipMemberRoleAndTypePage-reBMcz-Y.js} +15 -16
- package/dist/{UnincorporatedPartnershipMembersOverview-B3Vi088r.js → UnincorporatedPartnershipMembersOverview-B5YCchZY.js} +8 -12
- package/dist/{VerificationErrorAlert-C6_ewC7c.js → VerificationErrorAlert-BcntIwEo.js} +23 -4
- package/dist/{ViewVerificationStatusComponent-DpA4jlct.js → ViewVerificationStatusComponent-CrQahS3p.js} +3 -4
- 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-invited-decision-maker.js +87 -17
- package/dist/adyen-kyc-components.js +18 -47
- 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-CIGv_BK8.js → bafinUtils-B1LygAFl.js} +14 -2
- package/dist/{commonValidators-DTt6he7v.js → commonValidators-CInBRB1V.js} +2 -2
- package/dist/{da-DK-JHZnsI59.js → da-DK-BfsYpvel.js} +18 -3
- package/dist/{da-DK-CGWvmdkq.js → da-DK-CLdNh9JT.js} +1 -2
- package/dist/{da-DK-gnPgzwrG.js → da-DK-CM1onr3w.js} +3 -1
- package/dist/{da-DK-Cd5IQPv3.js → da-DK-CMVthpSr.js} +2 -2
- package/dist/da-DK-Cv6XUSoW.js +13 -0
- package/dist/da-DK-D9FgPh5e.js +13 -0
- package/dist/{da-DK-h8DYQ_Iq.js → da-DK-mUuPR2YO.js} +2 -2
- package/dist/{de-DE-C9NH2zMh.js → de-DE-B5TOuf7l.js} +2 -2
- package/dist/{de-DE-DHDJhahG.js → de-DE-BT5g7ZXC.js} +1 -2
- package/dist/de-DE-BplDsJEb.js +13 -0
- package/dist/{de-DE-D3lLuF8z.js → de-DE-CA4mYLwp.js} +3 -1
- package/dist/{de-DE-VGGEkxUT.js → de-DE-CEsDXBn-.js} +18 -3
- package/dist/de-DE-Cg_RNIr-.js +13 -0
- package/dist/{de-DE-LQE_LFFL.js → de-DE-CwT6O212.js} +2 -2
- package/dist/{dropinUtils--st1YpV6.js → dropinUtils-D44Paj5u.js} +30 -16
- package/dist/{en-US-h0JneJJl.js → en-US--1W760fR.js} +2 -2
- package/dist/{en-US-CjjPhkB5.js → en-US-B-qSAb-7.js} +2 -1
- package/dist/en-US-B6tiYqel.js +13 -0
- package/dist/en-US-CfazE4ht.js +13 -0
- package/dist/{en-US-DoiQhi0j.js → en-US-CgakND3H.js} +1 -2
- package/dist/{en-US-D1sB335h.js → en-US-DIlZD5Wh.js} +16 -1
- package/dist/{en-US-DYP6rAvA.js → en-US-G607HIyo.js} +2 -2
- package/dist/{en-US-B96dpVon.js → en-US-fDACdKtT.js} +3 -1
- package/dist/{en-US.instructions-Ddr7AO05.js → en-US.instructions-CfIM2SRF.js} +1 -2
- package/dist/{es-ES-CxnsKEh4.js → es-ES-4FS7NoE7.js} +1 -2
- package/dist/{es-ES-CXDJLKAI.js → es-ES-BBcx4tvi.js} +3 -1
- package/dist/{es-ES-Bn9_0wK0.js → es-ES-BWFP5itn.js} +18 -3
- package/dist/es-ES-BZiC4JWr.js +13 -0
- package/dist/{es-ES-DdGmXdxO.js → es-ES-Bh8k9Zx8.js} +2 -2
- package/dist/es-ES-DRsix_Xn.js +13 -0
- package/dist/{es-ES-DK-7qtDf.js → es-ES-Wcpc6fm1.js} +2 -2
- package/dist/{fi-FI-fArobrt5.js → fi-FI-BKu826v5.js} +3 -1
- package/dist/fi-FI-BftTiz0c.js +13 -0
- package/dist/fi-FI-CEH4BfU3.js +13 -0
- package/dist/{fi-FI-PVFqd5Ra.js → fi-FI-DenK0WPz.js} +18 -3
- package/dist/{fi-FI-CIYa9SyS.js → fi-FI-DhUeTfn1.js} +2 -2
- package/dist/{fi-FI-57-xkioo.js → fi-FI-XpnJRPgt.js} +1 -2
- package/dist/{formUtils-C_sWWLS3.js → formUtils-BEcbGHkz.js} +3 -18
- package/dist/{fr-FR-mJK4hjwD.js → fr-FR-BmTswZU5.js} +18 -3
- package/dist/fr-FR-C6jxjXAI.js +13 -0
- package/dist/{fr-FR-CiwkAb3E.js → fr-FR-C7iSS-OS.js} +3 -1
- package/dist/{fr-FR-l5z31r7i.js → fr-FR-CocDMzBc.js} +2 -2
- package/dist/{fr-FR-B2je0smB.js → fr-FR-DodNoPid.js} +2 -2
- package/dist/fr-FR-NxOktkWc.js +13 -0
- package/dist/{fr-FR-BxiX8Zfi.js → fr-FR-TqAhPvzz.js} +1 -2
- package/dist/{getName-CnZDw7kV.js → getName-CdgtxRvu.js} +2 -2
- package/dist/{getProblemsForEntity-D8qEVVOM.js → getProblemsForEntity-DFP6N3co.js} +2 -2
- package/dist/{iframeWidget-DqeucjDU.js → iframeWidget-B0fieiAe.js} +4 -4
- package/dist/{isEmpty-CUuXL9Na.js → isEmpty-3U9fSQsY.js} +2 -2
- package/dist/{it-IT-BAvmkEF8.js → it-IT-B4bk2Xev.js} +2 -2
- package/dist/{it-IT-DIbH-udG.js → it-IT-CUrn0j1I.js} +3 -1
- package/dist/it-IT-CXlaZNIj.js +13 -0
- package/dist/{it-IT-Dhwa9Ecj.js → it-IT-CZ4aDoVQ.js} +2 -2
- package/dist/{it-IT-masgjk9F.js → it-IT-D-jYXj6V.js} +1 -2
- package/dist/{it-IT-BTWkWSJq.js → it-IT-DJe5OflH.js} +18 -3
- package/dist/it-IT-OppZz3gW.js +13 -0
- package/dist/{ja-JP-vv3-YsHU.js → ja-JP-8yMqZqF2.js} +1 -2
- package/dist/ja-JP-A6ArIIZ8.js +13 -0
- package/dist/{ja-JP-Bc4U0S8-.js → ja-JP-BpeNsNhn.js} +3 -3
- package/dist/{ja-JP-bz7ekGnF.js → ja-JP-CbP1sVFP.js} +4 -2
- package/dist/ja-JP-CethQRoG.js +13 -0
- package/dist/{ja-JP-g6VOUGXZ.js → ja-JP-DK55NCZY.js} +1 -2
- package/dist/{ja-JP-CceCDXLB.js → ja-JP-GGV_-V6p.js} +18 -3
- package/dist/{ja-JP-Bv3ru9Xq.js → ja-JP-GX3l4yqn.js} +17 -17
- package/dist/{japanSupportUtils-CGWcXGP2.js → japanSupportUtils-CaeglTl1.js} +2 -2
- package/dist/{localizeDateString-D6tFShQu.js → localizeDateString-D2nDwdFu.js} +2 -2
- package/dist/{mapExistingFile-BM9f5AeG.js → mapExistingFile-BigOdLU3.js} +4 -4
- package/dist/mapJpAddressSchemaToAddressLocalizations-DUoJIoRm.js +54 -0
- package/dist/{mapLegalEntityToIndividualSchema-DVKTWyvx.js → mapLegalEntityToIndividualSchema-UVUkctdQ.js} +43 -45
- package/dist/{mapTransferInstrumentToPayoutAccount--gtugk3J.js → mapTransferInstrumentToPayoutAccount-qpUP3sTf.js} +2 -2
- package/dist/{nl-NL-CTf7zH4M.js → nl-NL-4Mv4rnYy.js} +18 -3
- package/dist/{nl-NL-B0fvINJj.js → nl-NL-B2Uku0lw.js} +2 -2
- package/dist/nl-NL-BwWFlBOs.js +13 -0
- package/dist/nl-NL-CYFznuWn.js +13 -0
- package/dist/{nl-NL-DV4NqPVW.js → nl-NL-J7XpCpQm.js} +2 -2
- package/dist/{nl-NL-D1b5RUJ0.js → nl-NL-Jhr-ICkK.js} +1 -2
- package/dist/{nl-NL-NlkjOSYi.js → nl-NL-Lo8OF_nj.js} +3 -1
- package/dist/{no-NO-Crlsj6HG.js → no-NO-6chPsZZE.js} +3 -1
- package/dist/{no-NO-Dkh4SWbB.js → no-NO-BH6DId3q.js} +1 -2
- package/dist/no-NO-BsEie1We.js +13 -0
- package/dist/{no-NO-RfTK9KAV.js → no-NO-ByCZ3mhz.js} +18 -3
- package/dist/{no-NO-B9618F4_.js → no-NO-CtDyNTm6.js} +2 -2
- package/dist/{no-NO-Jw7Gae-a.js → no-NO-DjOcJWnC.js} +2 -2
- package/dist/no-NO-JWsSd7iY.js +13 -0
- package/dist/{patternValidators-vYKnE5-t.js → patternValidators-BkY5yvNa.js} +2 -2
- package/dist/{process-field-configurations-Dl2Isz78.js → process-field-configurations-BnIbMyYt.js} +5 -5
- package/dist/{pt-BR-BRdIEO2O.js → pt-BR-4Iozxvfr.js} +1 -2
- package/dist/pt-BR-BJOww8U1.js +13 -0
- package/dist/{pt-BR-BaTE6BB_.js → pt-BR-BKdT0Bpl.js} +2 -2
- package/dist/pt-BR-C-YbDjn-.js +13 -0
- package/dist/{pt-BR-zuqB_CBf.js → pt-BR-D4BTdo_w.js} +2 -2
- package/dist/{pt-BR-BfxgHKY4.js → pt-BR-DRBFUW-X.js} +3 -1
- package/dist/{pt-BR-BbFJsIVX.js → pt-BR-DRz5cG4o.js} +18 -3
- package/dist/{resolveEnvironment-B_JokQ0n.js → resolveEnvironment-C5RkjL5E.js} +5 -5
- package/dist/{roleMetadata-eM6T7GeQ.js → roleMetadata-C8VLzyMj.js} +3 -3
- package/dist/sl-SI-BfO3xEJx.js +13 -0
- package/dist/sl-SI-CJH14wbj.js +13 -0
- package/dist/{sl-SI-59OQIZ3f.js → sl-SI-C_4ajjU4.js} +2 -2
- package/dist/{sl-SI-D8dDckrW.js → sl-SI-DKSu25rO.js} +18 -3
- package/dist/{sl-SI-C-C-KJCX.js → sl-SI-UFngWs5n.js} +3 -1
- package/dist/{sl-SI-CvUzNn9Z.js → sl-SI-Y9h1ht45.js} +1 -2
- package/dist/style.css +1868 -1836
- package/dist/styles-CLV89_hH.js +1868 -1836
- package/dist/{sv-SE-D_Efxy3s.js → sv-SE-Blw4s8bC.js} +2 -2
- package/dist/sv-SE-CMLKzwtj.js +13 -0
- package/dist/{sv-SE-DGpvVvWj.js → sv-SE-Co7Nkd06.js} +18 -3
- package/dist/{sv-SE-BHfydid5.js → sv-SE-Cr0s35EH.js} +3 -1
- package/dist/{sv-SE-BsLkPEzn.js → sv-SE-DFSm22oQ.js} +1 -2
- package/dist/{sv-SE-CQWBP7n1.js → sv-SE-DKnUr7xo.js} +2 -2
- package/dist/sv-SE-ZsucW_Uj.js +13 -0
- package/dist/{isNewEntity-7Vw_eQBr.js → trusted-fields-provider-BgfIoSNJ.js} +6 -3
- package/dist/types/api/companyDataSet/companyDataset.types.d.ts +5 -0
- package/dist/types/api/companyDataSet/handleCompanyDataset.d.ts +6 -3
- package/dist/types/api/companySearch/companySearch.types.d.ts +8 -0
- package/dist/types/api/companySearch/useCompanySearch.d.ts +9 -3
- package/dist/types/api/companySelection/companySelection.types.d.ts +3 -3
- package/dist/types/api/companySelection/useCompanySelection.d.ts +1 -1
- package/dist/types/api/documentValidation/useDocumentValidate.d.ts +1 -0
- package/dist/types/api/invitations/invitations.types.d.ts +14 -0
- package/dist/types/api/invitations/useCreateInvitation.d.ts +14 -0
- package/dist/types/api/invitations/useInvitationStatuses.d.ts +8 -0
- package/dist/types/api/invitedEntity/useInvitedEntityAssociationData.d.ts +9 -0
- package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +4 -4
- package/dist/types/api/queryKeys.d.ts +4 -1
- package/dist/types/api/toggles/useToggles.d.ts +9 -0
- package/dist/types/components/Apps/tasks/TaskList/types.d.ts +2 -2
- package/dist/types/components/BankAccount/fields/BankAccountNumber/BankAccountNumber.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankCode/BankCode.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BranchCode/BranchCode.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/Iban/Iban.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -0
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +2 -2
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +0 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/VerifiedBusinessCard/VerifiedBusinessCard.d.ts +2 -2
- package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +7 -7
- package/dist/types/components/Business/forms/FinancialInformation/FinancialInformation.d.ts +1 -1
- package/dist/types/components/Business/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +1 -1
- package/dist/types/components/Business/forms/FinancialInformation/types.d.ts +7 -17
- package/dist/types/components/Business/forms/rules.d.ts +10 -8
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +14 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +1 -6
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +2 -1
- package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +1 -1
- package/dist/types/components/Business/utils/companyUtil.d.ts +1 -1
- package/dist/types/components/Business/utils/formatDataForSummary.d.ts +6 -0
- package/dist/types/components/Business/utils/submit.d.ts +2 -0
- package/dist/types/components/Business/utils/useCompanySearchExperiments.d.ts +5 -0
- package/dist/types/components/BusinessLines/fields/SctaField/types.d.ts +1 -1
- package/dist/types/components/BusinessLines/forms/SalesChannelsForm/types.d.ts +1 -1
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +4 -4
- package/dist/types/components/Contract/tasks/PciDropin/PciDropin.d.ts +1 -1
- package/dist/types/components/EFP/fields/NaceCodeField/types.d.ts +1 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +2783 -2783
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.d.ts +1 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSummary.d.ts +14 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +5 -7
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +8 -9
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +1 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +11 -0
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +15 -0
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +1 -2
- package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +2 -2
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.d.ts +1 -1
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +1 -0
- package/dist/types/components/Individual/fields/IdentityNumber/IdentityNumber.d.ts +1 -1
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +2 -2
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/validate.d.ts +5 -4
- package/dist/types/components/Individual/forms/DataConflictsModal/ConflictRow.d.ts +2 -2
- package/dist/types/components/Individual/forms/DataConflictsModal/DataConflictsModal.d.ts +6 -6
- package/dist/types/components/Individual/forms/IdDocumentUpload/types.d.ts +2 -2
- package/dist/types/components/Individual/forms/IdVerificationMethod/{individualOnfidoConflictsSchema.d.ts → individualConflictsSchema.d.ts} +12 -12
- package/dist/types/components/Individual/forms/IdVerificationMethod/mapExtractionResultToSchema.d.ts +2 -2
- package/dist/types/components/Individual/forms/IdVerificationMethod/validateExtractionResult.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual.d.ts +12 -7
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +6 -5
- package/dist/types/components/Individual/forms/Individual.types.d.ts +15 -5
- package/dist/types/components/Individual/forms/InviteDetails/InviteDetails.d.ts +4 -0
- package/dist/types/components/Individual/forms/InviteDetails/InviteDetails.types.d.ts +13 -0
- package/dist/types/components/Individual/forms/InviteDetails/validate.d.ts +3 -0
- package/dist/types/components/Individual/forms/form-ids.d.ts +2 -2
- package/dist/types/components/Individual/helpers/bafinUtils.d.ts +2 -2
- package/dist/types/components/Individual/helpers/mandateIdVerificationForMotionCapture.d.ts +2 -2
- package/dist/types/components/Individual/helpers/roleUtils.d.ts +2 -2
- package/dist/types/components/Individual/mapping/individualKeyMappings.d.ts +6 -6
- package/dist/types/components/Individual/mapping/mapApiDocumentToIndividualDocuments.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapIndividualDocumentToApiDocument.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapLegalEntityToIndividualSchema.d.ts +2 -2
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/pages/LegalRepresentativeDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +3 -3
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerListItem/DecisionMakerListItem.d.ts +8 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerGettingStarted/InvitedDecisionMakerGettingStarted.d.ts +4 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerSubmitSuccess/InvitedDecisionMakerSubmitSuccess.d.ts +1 -0
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +2 -2
- package/dist/types/components/Individual/tasks/IndividualDropin/individualFormConfig.d.ts +3 -3
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +2 -0
- package/dist/types/components/Shared/FormNavigation/types.d.ts +2 -2
- package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +2 -2
- package/dist/types/components/Shared/NewSummary/NewSummary.d.ts +14 -0
- package/dist/types/components/Shared/Summary/Summary.d.ts +1 -0
- package/dist/types/components/Shared/TaskVerificationStatus/TaskVerificationStatus.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +0 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +3 -1
- package/dist/types/components/Shared/fields/Currency/fieldConfig.d.ts +3 -0
- package/dist/types/components/Shared/fields/Currency/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/EInvoicingCodeField.d.ts +1 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/FinancialReportingDate/fieldConfig.d.ts +3 -0
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +5 -244
- package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/fieldConfig.d.ts +4 -4
- package/dist/types/components/Shared/fields/NumberOfEmployees/fieldConfig.d.ts +3 -0
- package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/types.d.ts +2 -0
- package/dist/types/components/Shared/fields/ReportedValueOptionField/ReportedValueOptionField.d.ts +3 -0
- package/dist/types/components/Shared/fields/ReportedValueOptionField/fieldConfig.d.ts +5 -0
- package/dist/types/components/Shared/fields/ReportedValueOptionField/types.d.ts +10 -0
- package/dist/types/components/Shared/fields/StockExchangeMICField/StockExchangeMICField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/StockISINField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/StockTickerSymbolField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +17 -0
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/getDefaultTaxIdNumberType.d.ts +5 -5
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/inferTaxIdNumberType.d.ts +5 -5
- package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +2 -3
- package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +232 -0
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +9 -1
- package/dist/types/components/Shared/fields/TaxInformationField/utils.d.ts +13 -0
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.d.ts +5 -0
- package/dist/types/components/Shared/forms/Address/types.d.ts +5 -5
- package/dist/types/components/Shared/forms/Address/utils.d.ts +6 -1
- package/dist/types/components/Shared/forms/Address/validate.d.ts +4 -4
- package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +6 -6
- package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +2 -2
- package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +2 -2
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +5 -4
- package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +2 -2
- package/dist/types/components/Trust/tasks/TrustDropin/TrustMultiformDropin.d.ts +1 -1
- package/dist/types/components/Trust/utils/trustMemberGuidance.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types.d.ts +2 -2
- package/dist/types/components/ui/atoms/Icon/Icon.d.ts +1 -1
- package/dist/types/components/ui/atoms/RadioGroup/RadioGroup.d.ts +2 -2
- package/dist/types/components/ui/atoms/Select/Select.d.ts +1 -1
- package/dist/types/components/ui/atoms/Svg/Svg.d.ts +1 -4
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +0 -4
- package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +2 -2
- package/dist/types/components/ui/molecules/Dropzone/types.d.ts +2 -2
- package/dist/types/context/ExperimentContext/ExperimentsContextProvider.d.ts +1 -1
- package/dist/types/context/ExperimentContext/types.d.ts +9 -7
- package/dist/types/context/FormRouterContext/FormRouterContext.d.ts +4 -0
- package/dist/types/context/FormRouterContext/useFormRouterContext.d.ts +3 -0
- package/dist/types/context/StateContext/types.d.ts +2 -2
- package/dist/types/core/models/api/financialReport.d.ts +7 -1
- package/dist/types/core/models/api/legal-entity.d.ts +1 -6
- package/dist/types/core/models/api/organization.d.ts +1 -1
- package/dist/types/core/user-events.d.ts +1 -1
- package/dist/types/embeds/business-financing/adyen-business-financing.types.d.ts +5 -0
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts +7 -2
- package/dist/types/embeds/individual-status/adyen-individual-status.types.d.ts +5 -0
- package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.types.d.ts +5 -0
- package/dist/types/embeds/onboarding/adyen-onboarding.types.d.ts +5 -0
- package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.types.d.ts +5 -0
- package/dist/types/embeds/terms-of-service-status/adyen-terms-of-service-status.types.d.ts +5 -0
- package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.types.d.ts +5 -0
- package/dist/types/embeds/transfer-instrument-management/adyen-transfer-instrument-management.types.d.ts +5 -0
- package/dist/types/embeds/verification-status/adyen-verification-status.types.d.ts +5 -0
- package/dist/types/hooks/useForm/types.d.ts +3 -6
- package/dist/types/hooks/useUboQuestionnaire.d.ts +1 -1
- package/dist/types/language/types.d.ts +3 -15
- package/dist/types/language/utils.d.ts +6 -5
- package/dist/types/stores/formState.d.ts +2 -2
- package/dist/types/stores/globalStore/get-task-status.d.ts +6 -0
- package/dist/types/types/errors/error-message.d.ts +2 -2
- package/dist/types/types/errors/remediation.d.ts +2 -2
- package/dist/types/types/form-configuration.d.ts +2 -2
- package/dist/types/types/form.d.ts +2 -2
- package/dist/types/utils/decisionMaker.d.ts +2 -2
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/fieldConfigurations.d.ts +6 -6
- package/dist/types/utils/formUtils.d.ts +5 -6
- package/dist/types/utils/getDisplayErrorMessage.d.ts +2 -2
- package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -2
- package/dist/types/utils/not.d.ts +12 -0
- package/dist/types/utils/roleMetadata.d.ts +4 -4
- package/dist/types/utils/textTransformation/toFullWidth.d.ts +2 -3
- package/dist/types/utils/validatorUtils.d.ts +1 -0
- package/dist/types-CQ2p58-6.js +36 -0
- package/dist/{types-C8io4KaH.js → types-CcxS0801.js} +2 -2
- package/dist/{types-DwXc_yI8.js → types-DcouFF7I.js} +2 -2
- package/dist/{types-B7GElie6.js → types-_ugkpUNx.js} +11 -9
- package/dist/{types-BQL9Lsg4.js → types-vXKpLHZM.js} +2 -2
- package/dist/{Image-CAucF9wz.js → unincorporated-partnership-QawJyhxx.js} +8 -7
- package/dist/{useAssociatedLegalEntity-ETDoz1H2.js → useAssociatedLegalEntity-DXp9udzH.js} +2 -2
- package/dist/{useBusinessDetailsData-FrL0b9Ni.js → useBusinessDetailsData-CgfVRRNG.js} +1090 -917
- package/dist/{useCreateLegalEntity-DrcLoNYT.js → useCreateLegalEntity-C5daQcez.js} +2 -2
- package/dist/{useForm-DqUW2TbW.js → useForm-BQDytQRR.js} +3 -3
- package/dist/{useFormContext-CkuaJPUI.js → useFormContext-CX6rQNws.js} +9 -8
- package/dist/{FormWrapper-B3N3YosC.js → useGlobalData-xVRfhIqc.js} +66 -11
- package/dist/{useMultiForm-Dm2IEMH9.js → useMultiForm-DRZSxmEa.js} +12 -6
- package/dist/{useOnboardingStatus-H7Xqe2GC.js → useOnboardingStatus-C6X8CPF2.js} +2 -2
- package/dist/{useScenarios-CibP5LVa.js → useScenarios-C5uruC52.js} +2 -2
- package/dist/{useTermsOfServiceStatus-Dg_nBQgt.js → useTermsOfServiceStatus-CABu0vXO.js} +2 -2
- package/dist/{useToastContext-D643iewp.js → useToastContext-C2BAjZxO.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-BM9dNg4i.js → useUnincorporatedPartnershipMembers-Duhfzca2.js} +5 -5
- package/dist/{useUpdateBusinessLines-BuW6Vnof.js → useUpdateBusinessLines-CFgADcSW.js} +5 -5
- package/dist/{useUpdateLegalEntity-tRw1V_Mt.js → useUpdateLegalEntity-vK1vTzAB.js} +3 -3
- package/dist/{utils-D9h2Aq2w.js → utils-Bh3VtXaW.js} +55 -22
- package/dist/{utils-BnolcW6V.js → utils-Bo1WrnnM.js} +6 -6
- package/dist/{utils-BasWTkqk.js → utils-BvFIL5qs.js} +22 -2
- package/dist/{utils-b_KUV0wb.js → utils-HUgTKRia.js} +2 -2
- package/dist/{utils-PkTZS9uf.js → utils-nUjUW0ze.js} +2 -2
- package/dist/{validate-K0fmvoFj.js → validate-CDGLD3wC.js} +24 -12
- package/dist/{validate-CtxacqMv.js → validate-DDCTmBf4.js} +5 -5
- package/dist/{validationError-DdlWONz2.js → validationError-DmAD3_AN.js} +3 -3
- package/package.json +35 -53
- package/dist/Accordion-B2vSnESS.js +0 -88
- package/dist/Alert-CFmX9yNV.js +0 -169
- package/dist/BusinessFinancingPage-Bpu78Ynn.js +0 -43
- package/dist/DropinLayout-CBP_cHLC.js +0 -17
- package/dist/Header-vslG1ugE.js +0 -83
- package/dist/TaskVerificationStatus-DZIw2ztV.js +0 -129
- package/dist/TrustMemberIndividualPage-DmNp3D89.js +0 -64
- package/dist/accountHolderUtils-Btu9mMnM.js +0 -66
- package/dist/company-types-value-D_mKv5PT.js +0 -23
- package/dist/da-DK-DvZ431fC.js +0 -13
- package/dist/da-DK-DzcTI92X.js +0 -13
- package/dist/datasetUtil-BHQp0-xL.js +0 -58
- package/dist/de-DE-0uSzhWg5.js +0 -13
- package/dist/de-DE-dPfrbCii.js +0 -13
- package/dist/en-US-CozY33On.js +0 -13
- package/dist/en-US-cVpRgdC8.js +0 -13
- package/dist/es-ES--IvNed_Q.js +0 -13
- package/dist/es-ES-B7dt4cn7.js +0 -13
- package/dist/fi-FI-BUixKfXH.js +0 -13
- package/dist/fi-FI-REMsyTSr.js +0 -13
- package/dist/filterProblemsByTaskForms-Cz7iQtms.js +0 -30
- package/dist/fr-FR-BM-qNLci.js +0 -13
- package/dist/fr-FR-CvHWmim-.js +0 -13
- package/dist/getTrustedFields-C5-mXl-l.js +0 -64
- package/dist/it-IT-BeX7-OcD.js +0 -13
- package/dist/it-IT-D63gRTDc.js +0 -13
- package/dist/ja-JP-B3wVYIJU.js +0 -151
- package/dist/ja-JP-DL0IjTzn.js +0 -13
- package/dist/mapJpAddressSchemaToAddressLocalizations-Cu4hdrYE.js +0 -162
- package/dist/nl-NL-CM5U8ODq.js +0 -13
- package/dist/nl-NL-KQ6bciOb.js +0 -13
- package/dist/no-NO-BQL_M1pn.js +0 -13
- package/dist/no-NO-Ds3VioxT.js +0 -13
- package/dist/pt-BR-AZ3roErF.js +0 -13
- package/dist/pt-BR-Ct4s4jXV.js +0 -13
- package/dist/sl-SI-C0wSbuau.js +0 -13
- package/dist/sl-SI-hxwQIw_i.js +0 -13
- package/dist/sv-SE-0PQ-U1u6.js +0 -13
- package/dist/sv-SE-DtKjf4Go.js +0 -13
- package/dist/types/components/Business/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +0 -4
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +0 -23
- package/dist/unincorporated-partnership-MeN1dp53.js +0 -97
- package/dist/useBusinessLines-C5NQ5pE8.js +0 -29
- package/dist/useCanSeeIntroduction-BdZJ7k-_.js +0 -48
- package/dist/useDataMissingRemediations-Zgtpw7uZ.js +0 -41
- package/dist/useDataset-Cap5ZjTr.js +0 -76
- package/dist/useDeleteTransferInstrument-B2wRj-qL.js +0 -32
- package/dist/useGlobalData-5Z6W3or1.js +0 -68
- package/dist/useNavigate-CI0N-POy.js +0 -265
- package/dist/usePciQuestionnaireList-BF7TPjbQ.js +0 -29
- package/dist/useSalesChannels-DYGRfKeh.js +0 -65
- package/dist/useSetting-CbBaitp6.js +0 -19
- package/dist/useTaskStatus-1OZ2clnm.js +0 -51
- package/dist/useTrustMembers-BTCDIu6B.js +0 -163
- /package/dist/types/components/{Business/forms/FinancialInformation → Shared/fields/ReportedValueOptionField}/ReportedValue.d.ts +0 -0
|
@@ -2,26 +2,25 @@
|
|
|
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] = "a4eb88fd-3e81-4910-95b5-ce2241ab241f", e._sentryDebugIdIdentifier = "sentry-dbid-a4eb88fd-3e81-4910-95b5-ce2241ab241f");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { i as isDateOlderThanAYear } from "./Address-
|
|
11
|
-
import {
|
|
10
|
+
import { i as isDateOlderThanAYear } from "./Address-DaePmCRZ.js";
|
|
11
|
+
import { aX as drop, b as useApiContext, j as httpGet, u as useTranslation, m as createLogger, i as isUndefinedOrNull } from "./StoreProvider-CBB99upB.js";
|
|
12
12
|
import { jsx } from "preact/jsx-runtime";
|
|
13
13
|
import { useRef, useEffect, useCallback, useMemo, useState } from "preact/hooks";
|
|
14
14
|
import { useQuery } from "@tanstack/preact-query";
|
|
15
|
-
import { F as Field } from "./Field-
|
|
16
|
-
import { S as Select } from "./Select-
|
|
17
|
-
import { I as InputText, a as InputBase } from "./InputText-
|
|
18
|
-
import { c as currencyByCountry } from "./types-
|
|
15
|
+
import { F as Field } from "./Field-CPoHG0G-.js";
|
|
16
|
+
import { S as Select } from "./Select-seF9rM5K.js";
|
|
17
|
+
import { I as InputText, a as InputBase } from "./InputText-C55stM8O.js";
|
|
18
|
+
import { c as currencyByCountry } from "./types-CcxS0801.js";
|
|
19
19
|
const mapFinancialInformationToFinancialReport = ({
|
|
20
20
|
currency,
|
|
21
21
|
financialReportingDate,
|
|
22
22
|
numberOfEmployees,
|
|
23
23
|
balanceSheetTotal,
|
|
24
|
-
netAssets,
|
|
25
24
|
annualTurnover
|
|
26
25
|
}, dateOfIncorporation) => {
|
|
27
26
|
if (dateOfIncorporation && !isDateOlderThanAYear(dateOfIncorporation)) {
|
|
@@ -34,7 +33,6 @@ const mapFinancialInformationToFinancialReport = ({
|
|
|
34
33
|
// TODO type this better
|
|
35
34
|
dateOfFinancialData: financialReportingDate,
|
|
36
35
|
employeeCount: typeof numberOfEmployees === "number" ? numberOfEmployees.toFixed(0) : numberOfEmployees,
|
|
37
|
-
netAssets: netAssets?.toFixed(2) ?? void 0,
|
|
38
36
|
balanceSheetTotal: balanceSheetTotal?.toFixed(2) ?? void 0,
|
|
39
37
|
annualTurnover: annualTurnover?.toFixed(2) ?? void 0
|
|
40
38
|
};
|
|
@@ -58,10 +56,6 @@ const mapFinancialReportsToFinancialInformation = (financialReports, withReporte
|
|
|
58
56
|
financialInfo.reportedValueOption = "balanceSheetTotal";
|
|
59
57
|
financialInfo.balanceSheetTotal = parseFloat(mostRecentReport.balanceSheetTotal);
|
|
60
58
|
}
|
|
61
|
-
if (mostRecentReport.netAssets !== void 0) {
|
|
62
|
-
financialInfo.reportedValueOption = "netAssets";
|
|
63
|
-
financialInfo.netAssets = parseFloat(mostRecentReport.netAssets);
|
|
64
|
-
}
|
|
65
59
|
if (mostRecentReport.annualTurnover !== void 0) {
|
|
66
60
|
financialInfo.reportedValueOption = "annualTurnover";
|
|
67
61
|
financialInfo.annualTurnover = parseFloat(mostRecentReport.annualTurnover);
|
|
@@ -92,7 +86,7 @@ function LegalFormField({
|
|
|
92
86
|
handleChangeFor,
|
|
93
87
|
countryCode
|
|
94
88
|
}) {
|
|
95
|
-
const {
|
|
89
|
+
const { t: commonT } = useTranslation("common");
|
|
96
90
|
const { data: legalFormsData } = useLegalForms(countryCode);
|
|
97
91
|
const handleChangeForRef = useRef(handleChangeFor);
|
|
98
92
|
useEffect(() => {
|
|
@@ -126,7 +120,7 @@ function LegalFormField({
|
|
|
126
120
|
Field,
|
|
127
121
|
{
|
|
128
122
|
name,
|
|
129
|
-
label: label ||
|
|
123
|
+
label: label || commonT(($) => $["businessStructure"]),
|
|
130
124
|
errorMessage,
|
|
131
125
|
isValid: valid.legalForm,
|
|
132
126
|
children: (childProps) => /* @__PURE__ */ jsx(
|
|
@@ -134,7 +128,7 @@ function LegalFormField({
|
|
|
134
128
|
{
|
|
135
129
|
...childProps,
|
|
136
130
|
name,
|
|
137
|
-
placeholder:
|
|
131
|
+
placeholder: commonT(($) => $["selectOne"]),
|
|
138
132
|
selected: data.legalForm,
|
|
139
133
|
items: legalFormsData ?? [],
|
|
140
134
|
readonly: readonly && !!data,
|
|
@@ -204,7 +198,7 @@ function Currency({
|
|
|
204
198
|
const { t } = useTranslation("common");
|
|
205
199
|
const currenciesForCurrCountry = currencyByCountry[country];
|
|
206
200
|
const countryCurrenciesItems = currenciesForCurrCountry ? currenciesForCurrCountry.map((currency) => ({ id: currency, name: currency })) : [];
|
|
207
|
-
return /* @__PURE__ */ jsx(
|
|
201
|
+
return /* @__PURE__ */ jsx(
|
|
208
202
|
Field,
|
|
209
203
|
{
|
|
210
204
|
name: "currency",
|
|
@@ -225,7 +219,7 @@ function Currency({
|
|
|
225
219
|
}
|
|
226
220
|
)
|
|
227
221
|
}
|
|
228
|
-
)
|
|
222
|
+
);
|
|
229
223
|
}
|
|
230
224
|
export {
|
|
231
225
|
Currency as C,
|
|
@@ -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] = "8b478149-f691-49aa-af92-ceb17bf2b904", e._sentryDebugIdIdentifier = "sentry-dbid-8b478149-f691-49aa-af92-ceb17bf2b904");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,17 +10,16 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useQueryClient } from "@tanstack/preact-query";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import {
|
|
14
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
-
import { c as contactDetailsValidationRules, f as fieldConfig, u as useValidatePhoneNumberImperatively,
|
|
16
|
-
import {
|
|
17
|
-
import { u as
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-D8qEVVOM.js";
|
|
13
|
+
import { R as useLegalEntity, U as ROOT_LE, V as Loader, w as EntityTypes, u as useTranslation, z as useAnalyticsContext, aB as Header, m as createLogger } from "./StoreProvider-CBB99upB.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-vK1vTzAB.js";
|
|
15
|
+
import { c as contactDetailsValidationRules, f as fieldConfig, u as useValidatePhoneNumberImperatively, b as getAsyncPhoneValidationRules, C as ContactDetails, d as defaultFieldMetadata } from "./ContactDetails-tNdzS3d4.js";
|
|
16
|
+
import { u as useToastContext } from "./useToastContext-C2BAjZxO.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-DRZSxmEa.js";
|
|
18
|
+
import { E as ErrorPanel } from "./ErrorPanel-D4kO8XQ8.js";
|
|
19
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-DFP6N3co.js";
|
|
21
20
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
22
|
-
import { c as createFormUtils } from "./formUtils-
|
|
23
|
-
import { A as ActionBar } from "./ActionBar-
|
|
21
|
+
import { c as createFormUtils } from "./formUtils-BEcbGHkz.js";
|
|
22
|
+
import { A as ActionBar } from "./ActionBar-CFMobUf9.js";
|
|
24
23
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
25
24
|
return {
|
|
26
25
|
email: customerSupport?.customerSupport?.email || "",
|
|
@@ -2,21 +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] = "9a6cee7d-d372-4450-a2fd-84a2f55addf8", e._sentryDebugIdIdentifier = "sentry-dbid-9a6cee7d-d372-4450-a2fd-84a2f55addf8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState } from "preact/hooks";
|
|
12
|
-
import {
|
|
13
|
-
import { M as Modal } from "./Modal-
|
|
14
|
-
import { E as ExperimentNames } from "./types-
|
|
15
|
-
import {
|
|
16
|
-
import { I as InputText } from "./InputText-
|
|
12
|
+
import { W as Button, ao as entriesOf, bA as Accordion, u as useTranslation, bB as splitTaskIdentifier, H as TaskVerificationStatus, J as useExperimentsContext, k as useSettingsContext, X as useGlobalStore, aT as listToRecord, aR as valuesOf, B as Icon, m as createLogger } from "./StoreProvider-CBB99upB.js";
|
|
13
|
+
import { M as Modal } from "./Modal-BMdWqd0Y.js";
|
|
14
|
+
import { E as ExperimentNames } from "./types-_ugkpUNx.js";
|
|
15
|
+
import { S as SettingNames } from "./types-CQ2p58-6.js";
|
|
16
|
+
import { I as InputText } from "./InputText-C55stM8O.js";
|
|
17
17
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
18
|
-
import {
|
|
19
|
-
import { C as Checkbox } from "./Checkbox-5Sc5pzsh.js";
|
|
18
|
+
import { C as Checkbox } from "./Checkbox-DmYVTVOD.js";
|
|
20
19
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
21
20
|
import MonogonCode from "monogon/preact";
|
|
22
21
|
const tabs = "adyen-kyc-tabs";
|
|
@@ -324,13 +323,13 @@ const DebugModal = ({ onExit }) => {
|
|
|
324
323
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
325
324
|
const { getSetting } = useSettingsContext();
|
|
326
325
|
const [debugInfoCopied, setDebugInfoCopied] = useState(false);
|
|
327
|
-
const { i18n } =
|
|
326
|
+
const { i18n } = useTranslation();
|
|
328
327
|
const [tab, setTab] = useState("metadata");
|
|
329
328
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
330
329
|
const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
|
|
331
330
|
const metadata = {
|
|
332
|
-
sdkVersion: "4.0.0-compact.
|
|
333
|
-
locale: i18n.
|
|
331
|
+
sdkVersion: "4.0.0-compact.9",
|
|
332
|
+
locale: i18n.language,
|
|
334
333
|
rootLegalEntityId: rootLegalEntity.id
|
|
335
334
|
};
|
|
336
335
|
const experiments = listToRecord(valuesOf(ExperimentNames), isExperimentEnabled);
|
|
@@ -2,20 +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] = "4b68ee3e-d80f-4ba9-a07f-2c6967180f90", e._sentryDebugIdIdentifier = "sentry-dbid-4b68ee3e-d80f-4ba9-a07f-2c6967180f90");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { R as useLegalEntity, J as useExperimentsContext, a9 as getLegalEntityCountry, u as useTranslation, a as addResourceBundles, V as Loader, ai as noop, y as TaskTypes, w as EntityTypes, L as LegalEntityTypes, _ as __variableDynamicImportRuntimeHelper, bo as individualBaseMapping } from "./StoreProvider-CBB99upB.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
13
|
import { useParams } from "wouter-preact";
|
|
14
|
-
import { u as useScenarios } from "./useScenarios-
|
|
15
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
16
|
-
import {
|
|
17
|
-
import { i as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-
|
|
18
|
-
import { I as
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-C5uruC52.js";
|
|
15
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-DFP6N3co.js";
|
|
16
|
+
import { n as getTrustedFieldsProvider, o as getTrustedFields, g as getTrustedEntityAssociations } from "./OnboardingDropinComponent-CxUcB7IU.js";
|
|
17
|
+
import { i as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-B1LygAFl.js";
|
|
18
|
+
import { I as IndividualDropin } from "./IndividualDropin-Eo9sxeBW.js";
|
|
19
19
|
function DecisionMakerDetailsPage({
|
|
20
20
|
decisionMakerId: decisionMakerIdProp,
|
|
21
21
|
parentCompanyId: parentCompanyIdProp,
|
|
@@ -41,7 +41,7 @@ function DecisionMakerDetailsPage({
|
|
|
41
41
|
);
|
|
42
42
|
const { i18n } = useTranslation();
|
|
43
43
|
addResourceBundles(i18n, [
|
|
44
|
-
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/da-DK.json": () => import("./da-DK-
|
|
44
|
+
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/da-DK.json": () => import("./da-DK-D9FgPh5e.js"), "../language/de-DE.json": () => import("./de-DE-Cg_RNIr-.js"), "../language/en-US.json": () => import("./en-US-B6tiYqel.js"), "../language/es-ES.json": () => import("./es-ES-BZiC4JWr.js"), "../language/fi-FI.json": () => import("./fi-FI-CEH4BfU3.js"), "../language/fr-FR.json": () => import("./fr-FR-NxOktkWc.js"), "../language/it-IT.json": () => import("./it-IT-OppZz3gW.js"), "../language/ja-JP.json": () => import("./ja-JP-CethQRoG.js"), "../language/nl-NL.json": () => import("./nl-NL-CYFznuWn.js"), "../language/no-NO.json": () => import("./no-NO-BsEie1We.js"), "../language/pt-BR.json": () => import("./pt-BR-C-YbDjn-.js"), "../language/sl-SI.json": () => import("./sl-SI-CJH14wbj.js"), "../language/sv-SE.json": () => import("./sv-SE-ZsucW_Uj.js") }), `../language/${lang}.json`, 3) }
|
|
45
45
|
]);
|
|
46
46
|
if (!parentCompanyLe || decisionMakerId && !decisionMakerLe) {
|
|
47
47
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -60,7 +60,7 @@ function DecisionMakerDetailsPage({
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
const trustedFieldsProvider = getTrustedFieldsProvider(parentCompanyLe);
|
|
63
|
-
const trustedFields = decisionMakerLe ? getTrustedFields(decisionMakerLe,
|
|
63
|
+
const trustedFields = decisionMakerLe ? getTrustedFields(decisionMakerLe, individualBaseMapping) : {};
|
|
64
64
|
const trustedEntityAssociation = getTrustedEntityAssociations(parentCompanyLe).find(
|
|
65
65
|
(ea) => ea.reference === decisionMakerId
|
|
66
66
|
);
|
|
@@ -86,7 +86,7 @@ function DecisionMakerDetailsPage({
|
|
|
86
86
|
handleHomeClick
|
|
87
87
|
};
|
|
88
88
|
return /* @__PURE__ */ jsx(
|
|
89
|
-
|
|
89
|
+
IndividualDropin,
|
|
90
90
|
{
|
|
91
91
|
...props,
|
|
92
92
|
asModal: isRevampedDecisionMakersTaskPageEnabled,
|
|
@@ -2,42 +2,71 @@
|
|
|
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] = "2c4faa1e-e54a-4db6-90f2-e3287dfee115", e._sentryDebugIdIdentifier = "sentry-dbid-2c4faa1e-e54a-4db6-90f2-e3287dfee115");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { b as useApiContext, j as httpGet, as as DecisionMakerTypes, aX as drop, an as cloneObject, am as datasetUtilities, u as useTranslation, R as useLegalEntity, W as Button, V as Loader, P as StackLayout, H as TaskVerificationStatus, O as Typography, G as Alert, z as useAnalyticsContext, U as ROOT_LE, a as addResourceBundles, N as useGetTaskStatus, J as useExperimentsContext, w as EntityTypes, x as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, ay as getOwnDecisionMakers, bs as getAvailableDecisionMakerRoleTypes, y as TaskTypes, aY as getAllowedDecisionMakerRoles, bE as DropinLayout, aB as Header, aQ as Trans, o as TaskStatuses, _ as __variableDynamicImportRuntimeHelper, L as LegalEntityTypes } from "./StoreProvider-CBB99upB.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useScenarios } from "./useScenarios-
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
13
|
+
import { u as useScenarios } from "./useScenarios-C5uruC52.js";
|
|
14
|
+
import { useQueries } from "@tanstack/preact-query";
|
|
15
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-vK1vTzAB.js";
|
|
16
16
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
17
|
-
import { L as ListItem } from "./ListItem-
|
|
18
|
-
import { M as Modal } from "./Modal-
|
|
19
|
-
import { u as useToastContext } from "./useToastContext-
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import { T as TaskVerificationStatus } from "./TaskVerificationStatus-DZIw2ztV.js";
|
|
29
|
-
import { G as GuidanceQuestionValues, m as mapLegalEntityToIndividualOnfidoSchema, i as individualFormDefaultData } from "./mapLegalEntityToIndividualSchema-DVKTWyvx.js";
|
|
30
|
-
import { u as useCapabilityProblems } from "./getProblemsForEntity-D8qEVVOM.js";
|
|
31
|
-
import { a as getTrustedEntityAssociations } from "./getTrustedFields-C5-mXl-l.js";
|
|
32
|
-
import { S as StructuredList } from "./StructuredList-CVMZBzwq.js";
|
|
17
|
+
import { L as ListItem } from "./ListItem-C6ALEoR-.js";
|
|
18
|
+
import { M as Modal } from "./Modal-BMdWqd0Y.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-C2BAjZxO.js";
|
|
20
|
+
import { g as getTrustedEntityAssociations, e as useDataMissingRemediations } from "./OnboardingDropinComponent-CxUcB7IU.js";
|
|
21
|
+
import { C as ContextGuidance } from "./ContextGuidance-Dp2PWG5c.js";
|
|
22
|
+
import { A as ActionBar } from "./ActionBar-CFMobUf9.js";
|
|
23
|
+
import { E as EntityAssociation } from "./EntityAssociation-BSnS5dP_.js";
|
|
24
|
+
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-C2eFgLqN.js";
|
|
25
|
+
import { G as GuidanceQuestionValues, m as mapLegalEntityToIndividualSchema, i as individualFormDefaultData } from "./mapLegalEntityToIndividualSchema-UVUkctdQ.js";
|
|
26
|
+
import { u as useCapabilityProblems } from "./getProblemsForEntity-DFP6N3co.js";
|
|
27
|
+
import { S as StructuredList } from "./StructuredList-EKVbq_i3.js";
|
|
33
28
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
34
|
-
import { C as Confirm } from "./Confirm-
|
|
35
|
-
import { m as mapAddressLabels } from "./utils-
|
|
36
|
-
import {
|
|
37
|
-
import { l as localizeDateString } from "./localizeDateString-D6tFShQu.js";
|
|
29
|
+
import { C as Confirm } from "./Confirm-NubmSSR7.js";
|
|
30
|
+
import { m as mapAddressLabels } from "./utils-BvFIL5qs.js";
|
|
31
|
+
import { l as localizeDateString } from "./localizeDateString-D2nDwdFu.js";
|
|
38
32
|
import { lazy } from "preact/compat";
|
|
39
|
-
import { I as Image } from "./
|
|
40
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
33
|
+
import { I as Image } from "./unincorporated-partnership-QawJyhxx.js";
|
|
34
|
+
import { L as LandingLayout } from "./LandingLayout-C_SbjQZA.js";
|
|
35
|
+
async function getInvitationStatus(rootLegalEntityId, baseUrl, decisionMakerId) {
|
|
36
|
+
const { active } = await httpGet({
|
|
37
|
+
baseUrl,
|
|
38
|
+
path: `legalEntities/${rootLegalEntityId}/invitations/associations/${decisionMakerId}/status`
|
|
39
|
+
});
|
|
40
|
+
return {
|
|
41
|
+
decisionMakerId,
|
|
42
|
+
active
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function useInvitationStatuses(decisionMakerIds, options) {
|
|
46
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
47
|
+
return useQueries({
|
|
48
|
+
queries: decisionMakerIds.map(
|
|
49
|
+
(id) => ({
|
|
50
|
+
queryKey: ["invitationStatus", id],
|
|
51
|
+
queryFn: () => getInvitationStatus(rootLegalEntityId.value, baseUrl.value, id),
|
|
52
|
+
initialData: {
|
|
53
|
+
decisionMakerId: id,
|
|
54
|
+
active: false
|
|
55
|
+
},
|
|
56
|
+
staleTime: 0,
|
|
57
|
+
...options
|
|
58
|
+
})
|
|
59
|
+
),
|
|
60
|
+
combine: (results) => results.reduce((acc, { data }) => {
|
|
61
|
+
if (data) {
|
|
62
|
+
const { decisionMakerId, active } = data;
|
|
63
|
+
acc[decisionMakerId] = active ?? false;
|
|
64
|
+
}
|
|
65
|
+
return acc;
|
|
66
|
+
}, {})
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
const not = (fn) => (...args) => !fn(...args);
|
|
41
70
|
const BENEFICIAL_OWNER_ROLES = [
|
|
42
71
|
DecisionMakerTypes.OWNER,
|
|
43
72
|
DecisionMakerTypes.CONTROLLING_PERSON,
|
|
@@ -210,17 +239,13 @@ const DecisionMakerDetails = ({
|
|
|
210
239
|
);
|
|
211
240
|
const formattedSummary = useMemo(() => {
|
|
212
241
|
if (legalEntity) {
|
|
213
|
-
const
|
|
242
|
+
const individualSchema = mapLegalEntityToIndividualSchema(
|
|
214
243
|
legalEntity,
|
|
215
244
|
false,
|
|
216
245
|
true,
|
|
217
246
|
parentLegalEntity
|
|
218
247
|
);
|
|
219
|
-
return getSummaryData(
|
|
220
|
-
individualOnfidoSchema,
|
|
221
|
-
i18n.language,
|
|
222
|
-
commonT
|
|
223
|
-
);
|
|
248
|
+
return getSummaryData(individualSchema, i18n.language, commonT);
|
|
224
249
|
}
|
|
225
250
|
}, [legalEntity, parentLegalEntity, i18n, commonT]);
|
|
226
251
|
const actions = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -271,6 +296,29 @@ const DecisionMakerDetails = ({
|
|
|
271
296
|
)
|
|
272
297
|
] });
|
|
273
298
|
};
|
|
299
|
+
function DecisionMakerListItem({
|
|
300
|
+
decisionMaker,
|
|
301
|
+
openDecisionMakerModal,
|
|
302
|
+
hasActiveInvitation
|
|
303
|
+
}) {
|
|
304
|
+
const { t: individualT } = useTranslation("individual");
|
|
305
|
+
const description = getDecisionMakerDescription(decisionMaker.types, individualT);
|
|
306
|
+
return /* @__PURE__ */ jsx(
|
|
307
|
+
ListItem,
|
|
308
|
+
{
|
|
309
|
+
accessory: /* @__PURE__ */ jsx(
|
|
310
|
+
TaskVerificationStatus,
|
|
311
|
+
{
|
|
312
|
+
status: hasActiveInvitation ? "inviteSent" : decisionMaker.status
|
|
313
|
+
}
|
|
314
|
+
),
|
|
315
|
+
avatar: { iconName: "user", circle: true },
|
|
316
|
+
title: decisionMaker.name,
|
|
317
|
+
action: { onClick: () => openDecisionMakerModal(decisionMaker), disclosure: true },
|
|
318
|
+
description
|
|
319
|
+
}
|
|
320
|
+
);
|
|
321
|
+
}
|
|
274
322
|
const decisionMakersGettingStarted = "adyen-kyc-decision-makers-getting-started";
|
|
275
323
|
const styles = {
|
|
276
324
|
decisionMakersGettingStarted
|
|
@@ -439,7 +487,7 @@ const DecisionMakers = (props) => {
|
|
|
439
487
|
const { data, isLoading } = useLegalEntity(ROOT_LE);
|
|
440
488
|
const { i18n } = useTranslation();
|
|
441
489
|
addResourceBundles(i18n, [
|
|
442
|
-
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../language/da-DK.json": () => import("./da-DK-
|
|
490
|
+
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../language/da-DK.json": () => import("./da-DK-D9FgPh5e.js"), "../../language/de-DE.json": () => import("./de-DE-Cg_RNIr-.js"), "../../language/en-US.json": () => import("./en-US-B6tiYqel.js"), "../../language/es-ES.json": () => import("./es-ES-BZiC4JWr.js"), "../../language/fi-FI.json": () => import("./fi-FI-CEH4BfU3.js"), "../../language/fr-FR.json": () => import("./fr-FR-NxOktkWc.js"), "../../language/it-IT.json": () => import("./it-IT-OppZz3gW.js"), "../../language/ja-JP.json": () => import("./ja-JP-CethQRoG.js"), "../../language/nl-NL.json": () => import("./nl-NL-CYFznuWn.js"), "../../language/no-NO.json": () => import("./no-NO-BsEie1We.js"), "../../language/pt-BR.json": () => import("./pt-BR-C-YbDjn-.js"), "../../language/sl-SI.json": () => import("./sl-SI-CJH14wbj.js"), "../../language/sv-SE.json": () => import("./sv-SE-ZsucW_Uj.js") }), `../../language/${lang}.json`, 4) }
|
|
443
491
|
]);
|
|
444
492
|
if (isLoading || !data) {
|
|
445
493
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -533,15 +581,23 @@ const DecisionMakersInner = ({
|
|
|
533
581
|
);
|
|
534
582
|
const uniqueDecisionMakers = mappedDecisionMakers ? Object.values(mappedDecisionMakers) : [];
|
|
535
583
|
const trustedEntityAssociations = getTrustedEntityAssociations(legalEntity);
|
|
584
|
+
const invitationsStatuses = useInvitationStatuses(uniqueDecisionMakers.map((dm) => dm.reference));
|
|
585
|
+
const hasPendingInvitation = (dm) => invitationsStatuses[dm.reference];
|
|
536
586
|
const isActionNeeded = (dm) => dm.status === TaskStatuses.ERROR || dm.status === TaskStatuses.DETAILS_REQUIRED;
|
|
537
587
|
const isComplete = (dm) => dm.status === TaskStatuses.FINISHED || dm.status === TaskStatuses.PROCESSING;
|
|
538
588
|
const isSignatory = (dm) => dm.types.includes(DecisionMakerTypes.SIGNATORY);
|
|
539
|
-
const
|
|
540
|
-
const
|
|
589
|
+
const pendingInvitationDecisionMakers = uniqueDecisionMakers.filter(hasPendingInvitation);
|
|
590
|
+
const remainingDecisionMakers = uniqueDecisionMakers.filter(not(hasPendingInvitation));
|
|
591
|
+
const actionNeededDecisionMakers = remainingDecisionMakers.filter(isActionNeeded);
|
|
592
|
+
const completeDecisionMakers = remainingDecisionMakers.filter(isComplete);
|
|
593
|
+
const pendingInvitationSignatories = pendingInvitationDecisionMakers.filter(isSignatory);
|
|
594
|
+
const pendingInvitationBeneficialOwners = pendingInvitationDecisionMakers.filter(
|
|
595
|
+
not(isSignatory)
|
|
596
|
+
);
|
|
541
597
|
const actionNeededSignatories = actionNeededDecisionMakers.filter(isSignatory);
|
|
542
|
-
const actionNeededBeneficialOwners = actionNeededDecisionMakers.filter((
|
|
598
|
+
const actionNeededBeneficialOwners = actionNeededDecisionMakers.filter(not(isSignatory));
|
|
543
599
|
const completeSignatories = completeDecisionMakers.filter(isSignatory);
|
|
544
|
-
const completeBeneficialOwners = completeDecisionMakers.filter((
|
|
600
|
+
const completeBeneficialOwners = completeDecisionMakers.filter(not(isSignatory));
|
|
545
601
|
const showWarning = Boolean(remediationMessages.DECISION_MAKER && uniqueDecisionMakers.length);
|
|
546
602
|
useEffect(() => {
|
|
547
603
|
userEvents.addTaskEvent("Landed on page", {
|
|
@@ -612,13 +668,13 @@ const DecisionMakersInner = ({
|
|
|
612
668
|
)
|
|
613
669
|
};
|
|
614
670
|
await updateLegalEntity.mutateAsync({ ...updatedEntityAssociations, id: legalEntity.id });
|
|
615
|
-
const
|
|
671
|
+
const remainingDecisionMakers2 = decisionMakers.filter(
|
|
616
672
|
(curr) => curr.legalEntityId !== decisionMaker.reference
|
|
617
673
|
);
|
|
618
674
|
userEvents.addTaskEvent("Clicked button", {
|
|
619
675
|
...getDecisionMakerTrackingParams(decisionMaker),
|
|
620
676
|
actionType: "remove",
|
|
621
|
-
remainingDecisionMakers
|
|
677
|
+
remainingDecisionMakers: remainingDecisionMakers2
|
|
622
678
|
});
|
|
623
679
|
showToast({
|
|
624
680
|
variant: "success",
|
|
@@ -629,28 +685,28 @@ const DecisionMakersInner = ({
|
|
|
629
685
|
showToast({ variant: "error", label: individualT(($) => $["failedToRemoveDecisionMaker"]) });
|
|
630
686
|
}
|
|
631
687
|
};
|
|
632
|
-
const renderDecisionMakerItem = (decisionMaker) => {
|
|
633
|
-
const description = getDecisionMakerDescription(decisionMaker.types, individualT);
|
|
634
|
-
return /* @__PURE__ */ jsx(
|
|
635
|
-
ListItem,
|
|
636
|
-
{
|
|
637
|
-
accessory: /* @__PURE__ */ jsx(TaskVerificationStatus, { status: decisionMaker.status }),
|
|
638
|
-
avatar: { iconName: "user", circle: true },
|
|
639
|
-
title: decisionMaker.name,
|
|
640
|
-
action: { onClick: () => openDecisionMakerModal(decisionMaker), disclosure: true },
|
|
641
|
-
description
|
|
642
|
-
},
|
|
643
|
-
decisionMaker.reference
|
|
644
|
-
);
|
|
645
|
-
};
|
|
646
688
|
const renderDecisionMakersList = (decisionMakers2) => {
|
|
647
689
|
if (decisionMakers2.length === 0) {
|
|
648
690
|
return null;
|
|
649
691
|
}
|
|
650
|
-
return /* @__PURE__ */ jsx(List, { variant: "grouped-primary", padding: "small", dividers: false, children: decisionMakers2.map(
|
|
692
|
+
return /* @__PURE__ */ jsx(List, { variant: "grouped-primary", padding: "small", dividers: false, children: decisionMakers2.map((decisionMaker) => /* @__PURE__ */ jsx(
|
|
693
|
+
DecisionMakerListItem,
|
|
694
|
+
{
|
|
695
|
+
decisionMaker,
|
|
696
|
+
openDecisionMakerModal,
|
|
697
|
+
hasActiveInvitation: hasPendingInvitation(decisionMaker)
|
|
698
|
+
},
|
|
699
|
+
decisionMaker.reference
|
|
700
|
+
)) });
|
|
651
701
|
};
|
|
652
702
|
const decisionMakerSections = useMemo(
|
|
653
703
|
() => [
|
|
704
|
+
{
|
|
705
|
+
key: "pendingInvitations",
|
|
706
|
+
title: individualT(($) => $["pendingInvitations"]),
|
|
707
|
+
signatories: pendingInvitationSignatories,
|
|
708
|
+
beneficialOwners: pendingInvitationBeneficialOwners
|
|
709
|
+
},
|
|
654
710
|
{
|
|
655
711
|
key: "actionNeeded",
|
|
656
712
|
title: commonT(($) => $["actionNeeded"]),
|
|
@@ -666,6 +722,9 @@ const DecisionMakersInner = ({
|
|
|
666
722
|
],
|
|
667
723
|
[
|
|
668
724
|
commonT,
|
|
725
|
+
individualT,
|
|
726
|
+
pendingInvitationSignatories,
|
|
727
|
+
pendingInvitationBeneficialOwners,
|
|
669
728
|
actionNeededSignatories,
|
|
670
729
|
actionNeededBeneficialOwners,
|
|
671
730
|
completeSignatories,
|
|
@@ -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] = "cdf7c310-d77c-49fa-b3ed-bec6ee6f6698", e._sentryDebugIdIdentifier = "sentry-dbid-cdf7c310-d77c-49fa-b3ed-bec6ee6f6698");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { f as defaultFileValidationOptions, h as fileValidationRules, S as StateContextSetter, D as DropzoneFile, e as bytesToSize } from "./validate-
|
|
11
|
+
import { f as defaultFileValidationOptions, h as fileValidationRules, S as StateContextSetter, D as DropzoneFile, e as bytesToSize } from "./validate-DDCTmBf4.js";
|
|
12
12
|
import cx from "classnames";
|
|
13
13
|
import { useRef, useState, useMemo, useEffect } from "preact/hooks";
|
|
14
|
-
import { u as useTranslation,
|
|
15
|
-
import { u as useForm } from "./useForm-
|
|
14
|
+
import { u as useTranslation, z as useAnalyticsContext, W as Button, O as Typography, B as Icon } from "./StoreProvider-CBB99upB.js";
|
|
15
|
+
import { u as useForm } from "./useForm-BQDytQRR.js";
|
|
16
16
|
function Dropzone(props) {
|
|
17
17
|
const {
|
|
18
18
|
name,
|
|
@@ -2,15 +2,15 @@
|
|
|
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] = "1a4e2e5d-8326-4c29-8ee4-cdf0b8e9cea5", e._sentryDebugIdIdentifier = "sentry-dbid-1a4e2e5d-8326-4c29-8ee4-cdf0b8e9cea5");
|
|
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 { A as Avatar } from "./Avatar-
|
|
13
|
-
import {
|
|
12
|
+
import { A as Avatar } from "./Avatar-CbD3nP3P.js";
|
|
13
|
+
import { o as TaskStatuses, u as useTranslation, ab as Skeleton, O as Typography } from "./StoreProvider-CBB99upB.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
15
|
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
16
16
|
const embeddedStatus = "adyen-kyc-embedded-status";
|
|
@@ -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] = "4fa947b3-db0f-4fc4-b39d-1f0507fbacbe", e._sentryDebugIdIdentifier = "sentry-dbid-4fa947b3-db0f-4fc4-b39d-1f0507fbacbe");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { isValidElement, cloneElement } from "preact";
|
|
13
|
-
import {
|
|
13
|
+
import { W as Button, V as Loader, B as Icon } from "./StoreProvider-CBB99upB.js";
|
|
14
14
|
const endStateLayout = "adyen-kyc-end-state-layout";
|
|
15
15
|
const endStateLayoutHeader = "adyen-kyc-end-state-layout-header";
|
|
16
16
|
const endStateLayoutIcon = "adyen-kyc-end-state-layout-icon";
|
|
@@ -2,20 +2,19 @@
|
|
|
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] = "13442d9e-3d96-4a2b-aab2-3e0b96f8c36b", e._sentryDebugIdIdentifier = "sentry-dbid-13442d9e-3d96-4a2b-aab2-3e0b96f8c36b");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useCallback, useEffect, useState } from "preact/hooks";
|
|
12
|
-
import {
|
|
12
|
+
import { W as Button, u as useTranslation, H as TaskVerificationStatus, C as IconButton, o as TaskStatuses } from "./StoreProvider-CBB99upB.js";
|
|
13
13
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
|
-
import { V as VerificationErrorAlert } from "./VerificationErrorAlert-
|
|
16
|
-
import { C as Confirm } from "./Confirm-
|
|
17
|
-
import {
|
|
18
|
-
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-eM6T7GeQ.js";
|
|
15
|
+
import { V as VerificationErrorAlert } from "./VerificationErrorAlert-BcntIwEo.js";
|
|
16
|
+
import { C as Confirm } from "./Confirm-NubmSSR7.js";
|
|
17
|
+
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-C8VLzyMj.js";
|
|
19
18
|
function useClickAwayListener(ref, onClickAway) {
|
|
20
19
|
const handleClickAway = useCallback(
|
|
21
20
|
(event) => {
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "596da860-81d5-4ae4-8195-05df27b2bdcf", e._sentryDebugIdIdentifier = "sentry-dbid-596da860-81d5-4ae4-8195-05df27b2bdcf");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
12
|
-
import {
|
|
13
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-
|
|
14
|
-
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-
|
|
12
|
+
import { bF as getDecisionMakerDescriptionMap, y as TaskTypes, bG as TRUST_DEFAULT_DESCRIPTIONS_MAP, B as Icon, u as useTranslation, aQ as Trans } from "./StoreProvider-CBB99upB.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-QawJyhxx.js";
|
|
14
|
+
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-C8VLzyMj.js";
|
|
15
15
|
const UNINCORPORATED_PARTNERSHIP__DEFAULT_DESCRIPTIONS_MAP = {
|
|
16
16
|
[UnincorporatedPartnershipMemberTypes.SECONDARY_PARTNER]: "provideAtLeastOneSecondaryPartner",
|
|
17
17
|
[UnincorporatedPartnershipMemberTypes.OWNER]: "provideAllOwners",
|