@adyen/kyc-components 4.0.0-compact.8 → 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-kRAMcIqz.js → AcceptTermsOfServiceComponent-Y5aYfW8R.js} +31 -26
- package/dist/{AccountSetupRejected-WvT8wynP.js → AccountSetupRejected-BBPH8zsy.js} +2 -5
- package/dist/{ActionBar-BOto3kIR.js → ActionBar-CFMobUf9.js} +2 -2
- package/dist/{Address-DfQEZqfV.js → Address-DaePmCRZ.js} +22 -25
- package/dist/{Avatar-B1FMn4jz.js → Avatar-CbD3nP3P.js} +2 -2
- package/dist/{BusinessFinancingComponent-DgeP0WtS.js → BusinessFinancingComponent-BfmzIskz.js} +7 -7
- package/dist/{BusinessFinancingDropin-BpaTs3Tb.js → BusinessFinancingDropin-CLD8LAhP.js} +199 -160
- package/dist/BusinessFinancingPage-Bg-wKhhY.js +43 -0
- package/dist/{BusinessTypeSelectionPage-CsvC5c2P.js → BusinessTypeSelectionPage-D3EIjy_H.js} +11 -17
- package/dist/{Checkbox-CQQWg0dg.js → Checkbox-DmYVTVOD.js} +2 -2
- package/dist/{Confirm-DqMkw97y.js → Confirm-NubmSSR7.js} +3 -3
- package/dist/{ConstitutionalDocument-B1vSvDTu.js → ConstitutionalDocument-Djj_JCy4.js} +43 -30
- package/dist/{ContactDetails-171etkPM.js → ContactDetails-tNdzS3d4.js} +13 -10
- package/dist/{ContextGuidance-PEl3_E1Y.js → ContextGuidance-Dp2PWG5c.js} +2 -3
- package/dist/{CountryField-61GLcHq3.js → CountryField-C7SjQFv_.js} +4 -6
- package/dist/{CreateIndividualComponent-U4BUiWzp.js → CreateIndividualComponent-DwOiAUaA.js} +8 -8
- package/dist/{CreateTransferInstrumentComponent-CHPjKshD.js → CreateTransferInstrumentComponent-D29rvuqv.js} +6 -6
- package/dist/{Currency-8vOxnPYI.js → Currency-B4udmJgX.js} +12 -18
- package/dist/{CustomerSupport-DcnFyc9J.js → CustomerSupport-CU3xoowB.js} +10 -11
- package/dist/{DebugModal-yKPZa0En.js → DebugModal-C7WSGJRZ.js} +10 -11
- package/dist/{DecisionMakerDetailsPage-bIZxlptv.js → DecisionMakerDetailsPage-C-mB9v5X.js} +10 -10
- package/dist/{DecisionMakers-rudvJ8LE.js → DecisionMakers-AhL30Hnp.js} +114 -55
- package/dist/{Dropzone-Brt8j_On.js → Dropzone-B9NMiWRF.js} +4 -4
- package/dist/{EmbeddedStatus-C6KmRWYa.js → EmbeddedStatus-DkQk7orK.js} +3 -3
- package/dist/{EndStateLayout-CNBH6HSv.js → EndStateLayout-DVisdSEd.js} +2 -2
- package/dist/{EntityAssociation-CvfmwTx0.js → EntityAssociation-BSnS5dP_.js} +5 -6
- package/dist/{EntityGuidanceStatus-DfqozWFu.js → EntityGuidanceStatus-C2eFgLqN.js} +4 -4
- package/dist/{ErrorPanel-8g7vzs2J.js → ErrorPanel-D4kO8XQ8.js} +11 -13
- package/dist/{Field-GFhXhBL7.js → Field-CPoHG0G-.js} +3 -3
- package/dist/{FormNavigation-CuO_QOlJ.js → FormNavigation-yD8USwyG.js} +3 -3
- package/dist/{Individual.rules-NmFmV4le.js → Individual.rules-0EggSgTn.js} +16 -9
- package/dist/{IndividualDropin-D_UTW3Pt.js → IndividualDropin-Eo9sxeBW.js} +692 -267
- package/dist/{InputDate-D741B4uo.js → InputDate-BVYQZZuX.js} +2 -2
- package/dist/{InputText-BstgOD1h.js → InputText-C55stM8O.js} +2 -2
- package/dist/{Introduction-586MDoqe.js → Introduction-CZ_-eIBj.js} +4 -4
- package/dist/{JpAddress-D5DwOic-.js → JpAddress-B3HjxunW.js} +12 -14
- package/dist/{LandingLayout-DfrTphbg.js → LandingLayout-C_SbjQZA.js} +2 -3
- package/dist/{LegalCompanyNameField-Z2dNj0Qq.js → LegalCompanyNameField-DBiJbXem.js} +6 -6
- package/dist/{LegalRepresentativeDetailsPage-Dkufg--B.js → LegalRepresentativeDetailsPage-DFKA0RAe.js} +6 -6
- package/dist/{Link-hYPpX6dq.js → Link-ru5UMRxt.js} +2 -2
- package/dist/{ListItem-DCNK7Kw1.js → ListItem-C6ALEoR-.js} +3 -3
- package/dist/{LoaderWrapper-Brwtj1ws.js → LoaderWrapper-BL7Hc_DC.js} +2 -2
- package/dist/{ManageIndividualComponent-HmFUwG8J.js → ManageIndividualComponent-CkybWipX.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-CEXRN-aQ.js → ManageTermsOfServiceComponent-Cgjagedl.js} +6 -6
- package/dist/{ManageTransferInstrumentComponent-BZMoocXD.js → ManageTransferInstrumentComponent-DOpxzIzn.js} +16 -18
- package/dist/{MaskedInput-D1fbApUW.js → MaskedInput-1f16YE1z.js} +5 -5
- package/dist/{MaybeModal-D1Kv1uXL.js → MaybeModal-7NGTfxO6.js} +3 -3
- package/dist/{Modal-BRPW5V15.js → Modal-BMdWqd0Y.js} +15 -25
- package/dist/{Name-DNcNeuyc.js → Name-BQWEKtu9.js} +5 -5
- package/dist/NewSummary-D-9PYaY6.js +60 -0
- package/dist/{OnboardingDropinComponent-Jp7jobVe.js → OnboardingDropinComponent-CxUcB7IU.js} +813 -121
- package/dist/{PayoutDetailsDropin-CQ8jWnhg.js → PayoutDetailsDropin-DWqomQHU.js} +81 -190
- package/dist/PayoutDetailsPage-NIBSRWDA.js +55 -0
- package/dist/{RadioGroup-BLGCNZj6.js → RadioGroup-BuAX_NLA.js} +2 -2
- package/dist/{RadioGroupCard-Dp6kxT2Z.js → RadioGroupCard-Cbd_S6Fi.js} +2 -2
- package/dist/{Review-DsexJYqW.js → Review-BjdQyMeU.js} +6 -8
- package/dist/{RootBusinessDetailsPage-W6I6u26i.js → RootBusinessDetailsPage-CE9KIQRB.js} +6 -6
- package/dist/{RootBusinessLinesPage-BfW_VGr0.js → RootBusinessLinesPage-DYZETgKB.js} +129 -139
- package/dist/{RootIndividualDetailsPage-CU0ERRgH.js → RootIndividualDetailsPage-DCEHjEbR.js} +9 -10
- package/dist/{Select-_jyQwO_g.js → Select-seF9rM5K.js} +4 -4
- package/dist/{SignPCIComponent-DqNgUb0y.js → SignPCIComponent-CkaBa8MB.js} +18 -17
- package/dist/{SingpassSelection-CInOhNfV.js → SingpassSelection-FctS_Rd2.js} +6 -6
- package/dist/{SoleProprietorshipPage-Bgg5nHmh.js → SoleProprietorshipPage-BolUC48_.js} +5 -5
- package/dist/{SourceOfFundsPage-DWz_BoML.js → SourceOfFundsPage-qPaoxTgM.js} +272 -103
- package/dist/{StepProgressIndicator-DsULqiFr.js → StepProgressIndicator-DQIv4e4a.js} +2 -2
- package/dist/{StoreProvider-DwuHWsNs.js → StoreProvider-CBB99upB.js} +1032 -292
- package/dist/{StructuredList-CVMZBzwq.js → StructuredList-EKVbq_i3.js} +1 -1
- package/dist/{Summary-BtqxXkko.js → Summary-C5uRwUKn.js} +28 -24
- package/dist/{TaxInformationField-QyHTiEoc.js → TaxInformationField-B7AVdVgf.js} +614 -634
- package/dist/{TaxReportingDropin-Cs21XUR6.js → TaxReportingDropin-C2dEK3ij.js} +15 -17
- package/dist/{TextArea-DFDjCEZ2.js → TextArea-BbRKVKmP.js} +2 -2
- package/dist/{TileGroup-6wc032O1.js → TileGroup-oKbh_YGv.js} +3 -3
- package/dist/{TrustDetailsPage-BpITz9Vt.js → TrustDetailsPage-BbQB4A5-.js} +129 -120
- package/dist/{TrustMemberCompanyPage-Web2yU9Z.js → TrustMemberCompanyPage-CbRLAXBG.js} +7 -7
- package/dist/TrustMemberIndividualPage-BFRSkSas.js +64 -0
- package/dist/{TrustMemberRoleAndTypePage-CJEVcHdE.js → TrustMemberRoleAndTypePage-pS7j8_f6.js} +35 -44
- package/dist/{TrustMembersOverview-DefELe9P.js → TrustMembersOverview-aEVgO4Gr.js} +17 -21
- package/dist/{UnincorporatedPartnershipIndividualPage-BXQiQmMN.js → UnincorporatedPartnershipIndividualPage-DO7AXsP5.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DhzsjYbl.js → UnincorporatedPartnershipMemberCompanyPage-qvOu17yc.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-OdKCGjaA.js → UnincorporatedPartnershipMemberRoleAndTypePage-reBMcz-Y.js} +15 -16
- package/dist/{UnincorporatedPartnershipMembersOverview-DSeUBGiY.js → UnincorporatedPartnershipMembersOverview-B5YCchZY.js} +8 -12
- package/dist/{VerificationErrorAlert-I8hQrG1X.js → VerificationErrorAlert-BcntIwEo.js} +23 -4
- package/dist/{ViewVerificationStatusComponent-CneXbSXW.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-u4rPfeF0.js → bafinUtils-B1LygAFl.js} +14 -2
- package/dist/{commonValidators-BWyE1hKM.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-NHYW3kj5.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-Dg7QeiCj.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-DAC824XH.js → getName-CdgtxRvu.js} +2 -2
- package/dist/{getProblemsForEntity-Cx2uHyD0.js → getProblemsForEntity-DFP6N3co.js} +2 -2
- package/dist/{iframeWidget-DbWZPZHG.js → iframeWidget-B0fieiAe.js} +4 -4
- package/dist/{isEmpty-CzqpRnGb.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-Bn6j_2Iu.js → japanSupportUtils-CaeglTl1.js} +2 -2
- package/dist/{localizeDateString-rX5kfMAS.js → localizeDateString-D2nDwdFu.js} +2 -2
- package/dist/{mapExistingFile-euVcQ8wC.js → mapExistingFile-BigOdLU3.js} +4 -4
- package/dist/mapJpAddressSchemaToAddressLocalizations-DUoJIoRm.js +54 -0
- package/dist/{mapLegalEntityToIndividualSchema-BeggFrAo.js → mapLegalEntityToIndividualSchema-UVUkctdQ.js} +43 -45
- package/dist/{mapTransferInstrumentToPayoutAccount-DZ5tvBdP.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-EfBVKdNn.js → patternValidators-BkY5yvNa.js} +2 -2
- package/dist/{process-field-configurations-CAtKO6CG.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-D3grZ1cC.js → resolveEnvironment-C5RkjL5E.js} +5 -5
- package/dist/{roleMetadata-CkOicLV_.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/individual-configuration/adyen-individual-configuration.types.d.ts +2 -2
- 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-COOK2jmb.js → types-CcxS0801.js} +2 -2
- package/dist/{types-BveVR11j.js → types-DcouFF7I.js} +2 -2
- package/dist/{types-B7GElie6.js → types-_ugkpUNx.js} +11 -9
- package/dist/{types-DlIEfVQ_.js → types-vXKpLHZM.js} +2 -2
- package/dist/{Image-8l9eOMtL.js → unincorporated-partnership-QawJyhxx.js} +8 -7
- package/dist/{useAssociatedLegalEntity-BMeOu2ox.js → useAssociatedLegalEntity-DXp9udzH.js} +2 -2
- package/dist/{useBusinessDetailsData-CAiFFs88.js → useBusinessDetailsData-CgfVRRNG.js} +1090 -917
- package/dist/{useCreateLegalEntity-BzRbiLpn.js → useCreateLegalEntity-C5daQcez.js} +2 -2
- package/dist/{useForm-De1DLL-w.js → useForm-BQDytQRR.js} +3 -3
- package/dist/{useFormContext-BPBBPKhK.js → useFormContext-CX6rQNws.js} +9 -8
- package/dist/{FormWrapper-MyJZP-4s.js → useGlobalData-xVRfhIqc.js} +66 -11
- package/dist/{useMultiForm-Cs0-iUXR.js → useMultiForm-DRZSxmEa.js} +12 -6
- package/dist/{useOnboardingStatus-DeOWI7wU.js → useOnboardingStatus-C6X8CPF2.js} +2 -2
- package/dist/{useScenarios-BE647UZ3.js → useScenarios-C5uruC52.js} +2 -2
- package/dist/{useTermsOfServiceStatus-uSdmiCT3.js → useTermsOfServiceStatus-CABu0vXO.js} +2 -2
- package/dist/{useToastContext-B1vl-x5N.js → useToastContext-C2BAjZxO.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-D7WsY1Dm.js → useUnincorporatedPartnershipMembers-Duhfzca2.js} +5 -5
- package/dist/{useUpdateBusinessLines-CdYUvjtv.js → useUpdateBusinessLines-CFgADcSW.js} +5 -5
- package/dist/{useUpdateLegalEntity-3og4ank0.js → useUpdateLegalEntity-vK1vTzAB.js} +3 -3
- package/dist/{utils-Ds83U_vM.js → utils-Bh3VtXaW.js} +55 -22
- package/dist/{utils-CXUBcmhg.js → utils-Bo1WrnnM.js} +6 -6
- package/dist/{utils-CHdXRuoO.js → utils-BvFIL5qs.js} +22 -2
- package/dist/{utils-CK72-tJC.js → utils-HUgTKRia.js} +2 -2
- package/dist/{utils-CYscdqdR.js → utils-nUjUW0ze.js} +2 -2
- package/dist/{validate-TM7n49em.js → validate-CDGLD3wC.js} +24 -12
- package/dist/{validate-CoZiS4Ny.js → validate-DDCTmBf4.js} +5 -5
- package/dist/{validationError-DozI7J9X.js → validationError-DmAD3_AN.js} +3 -3
- package/package.json +35 -53
- package/dist/Accordion-s3uIJ_O9.js +0 -88
- package/dist/Alert-_9nVl6uE.js +0 -169
- package/dist/BusinessFinancingPage-qodSYGAB.js +0 -43
- package/dist/DropinLayout-CBP_cHLC.js +0 -17
- package/dist/Header-B9Tv_mvA.js +0 -83
- package/dist/TaskVerificationStatus-DQVG3_xF.js +0 -129
- package/dist/TrustMemberIndividualPage-tBGM6dM8.js +0 -64
- package/dist/accountHolderUtils-CPiTlzkl.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-A0yOTAyr.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-DG-LapFA.js +0 -29
- package/dist/useCanSeeIntroduction-DJUYy5a5.js +0 -48
- package/dist/useDataMissingRemediations-x7yza9Ka.js +0 -41
- package/dist/useDataset-CDtTEXqi.js +0 -76
- package/dist/useDeleteTransferInstrument-S3FmBm7Z.js +0 -32
- package/dist/useGlobalData-DemxVumJ.js +0 -68
- package/dist/useNavigate-DdA-YVRy.js +0 -265
- package/dist/usePciQuestionnaireList-rxdFFrP5.js +0 -29
- package/dist/useSalesChannels-CI133F-6.js +0 -65
- package/dist/useSetting-BkKRHr6e.js +0 -19
- package/dist/useTaskStatus-DdTyBvAb.js +0 -51
- package/dist/useTrustMembers-BOp5wFXa.js +0 -163
- /package/dist/types/components/{Business/forms/FinancialInformation → Shared/fields/ReportedValueOptionField}/ReportedValue.d.ts +0 -0
package/README.md
CHANGED
|
@@ -1,59 +1,47 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Quick start
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This guide assumes that you have already an account with Adyen. A legalEntity needs to be created, and you need to have a `legalEntityId` to instatiate a Component.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Installing
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Install the library
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
```sh
|
|
10
|
+
npm install @adyen/kyc-components
|
|
11
|
+
```
|
|
10
12
|
|
|
11
|
-
|
|
12
|
-
npm install @adyen/kyc-components --save
|
|
13
|
-
```
|
|
13
|
+
## Available Adyen Components
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
- [Transfer Instrument Configuration](https://docs.adyen.com/platforms/onboard-users/components?component=Transfer+Instrument&integration=components&version=4.0.x#transfer-instrument-configuration-component) for adding, editing and linking bank accounts.
|
|
16
|
+
- [Transfer Instrument Management](https://docs.adyen.com/platforms/onboard-users/components?component=Transfer+Instrument&integration=components&version=4.0.x#transfer-instrument-management-component), a UI for the above.
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
import AdyenKyc from '@adyen/kyc-components';
|
|
19
|
-
import '@adyen/kyc-components/styles.css';
|
|
20
|
-
```
|
|
18
|
+
## Usage
|
|
21
19
|
|
|
22
|
-
|
|
20
|
+
Import the component you need, and use it as a custom-element.
|
|
23
21
|
|
|
24
|
-
|
|
25
|
-
const adyenKycHandler = new AdyenKyc({
|
|
26
|
-
locale: 'en-US',
|
|
27
|
-
country: 'US',
|
|
28
|
-
environment: 'https://test.adyen.com',
|
|
29
|
-
sdkToken: token,
|
|
30
|
-
getSdkToken,
|
|
31
|
-
});
|
|
32
|
-
```
|
|
22
|
+
Check [component properties](https://docs.adyen.com/platforms/onboard-users/components?component=Transfer+Instrument&integration=components&version=4.0.x#configure-component-properties) for details on what the properties are.
|
|
33
23
|
|
|
34
|
-
|
|
24
|
+
```jsx
|
|
25
|
+
import "@adyen/kyc-components/transfer-instrument-configuration";
|
|
35
26
|
|
|
36
|
-
|
|
37
|
-
const createTransferInstrumentComponent = adyenKycHandler
|
|
38
|
-
.create('createTransferInstrumentComponent', {
|
|
39
|
-
legalEntityId,
|
|
40
|
-
transferInstrumentId, // Optional
|
|
41
|
-
openBankingPartnerConfigId: 'YourBrandOBConfigId',
|
|
42
|
-
settings: {
|
|
43
|
-
allowIntraRegionCrossBorderPayout: true, // Optional
|
|
44
|
-
allowBankAccountFormatSelection: true, // Optional
|
|
45
|
-
},
|
|
46
|
-
onSubmitSuccess: (submittedData) => {},
|
|
47
|
-
})
|
|
48
|
-
.mount('#create-transfer-instrument-container'); // Mount to the container you created
|
|
49
|
-
```
|
|
27
|
+
// in your HTML (or JSX, templating, etc.)
|
|
50
28
|
|
|
51
|
-
|
|
29
|
+
<adyen-transfer-instrument-configuration
|
|
30
|
+
locale="en-US"
|
|
31
|
+
environment="test"
|
|
32
|
+
rootlegalentityid="myLegalEntityId"
|
|
33
|
+
transferinstrumentid="testTransferInstrumentId"
|
|
34
|
+
fetchToken="fetchToken"
|
|
35
|
+
></adyen-transfer-instrument-configuration>
|
|
36
|
+
```
|
|
52
37
|
|
|
53
|
-
|
|
38
|
+
> [!WARNING]
|
|
39
|
+
> Custom elements need closing tags, which means you need to have the closing `</adyen-transfer-instrument-configuration>`
|
|
54
40
|
|
|
55
|
-
|
|
41
|
+
## FetchToken and Authentication
|
|
56
42
|
|
|
57
|
-
|
|
43
|
+
The [fetchToken](https://docs.adyen.com/platforms/onboard-users/components?component=Transfer+Instrument&integration=components&version=4.0.x#id732020335) function needs to return a token. You will need to have an endpoint set up in your backend that returns `{ token: 'adyenValidToken' }`. An endpoint is needed on your side in order to not expose your Adyen credentials in the frontend, and to be able to get a token with more granular permissions.
|
|
58
44
|
|
|
59
|
-
|
|
45
|
+
## Done
|
|
46
|
+
|
|
47
|
+
This is all you need to get started. After integrating successful with the first Components, integrating others will be much easier, since the instantiation process is the same.
|
package/dist/{AcceptTermsOfServiceComponent-kRAMcIqz.js → AcceptTermsOfServiceComponent-Y5aYfW8R.js}
RENAMED
|
@@ -2,30 +2,30 @@
|
|
|
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] = "d1a4eeb8-bdc4-47ac-9a92-322028e0ea4a", e._sentryDebugIdIdentifier = "sentry-dbid-d1a4eeb8-bdc4-47ac-9a92-322028e0ea4a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext,
|
|
10
|
+
import { b as useApiContext, h as httpPost, j as httpGet, m as createLogger, u as useTranslation, z as useAnalyticsContext, J as useExperimentsContext, aw as getLanguageCode, G as Alert, W as Button, L as LegalEntityTypes, a3 as getOwnSignatories, a1 as doesLegalEntityRequiresLegalRepresentative, a2 as getLegalRepresentative, a as addResourceBundles, R as useLegalEntity, U as ROOT_LE, V as Loader, y as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CBB99upB.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
|
-
import { useState, useEffect, useCallback } from "preact/hooks";
|
|
12
|
+
import { useState, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
13
|
import { useMutation, useQuery, skipToken } from "@tanstack/preact-query";
|
|
14
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
15
|
-
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
16
|
-
import { C as
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
14
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-C2BAjZxO.js";
|
|
15
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-CABu0vXO.js";
|
|
16
|
+
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
17
|
+
import { C as Checkbox } from "./Checkbox-DmYVTVOD.js";
|
|
18
|
+
import { F as Field } from "./Field-CPoHG0G-.js";
|
|
19
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-BL7Hc_DC.js";
|
|
20
|
+
import { M as MaybeModal } from "./MaybeModal-7NGTfxO6.js";
|
|
20
21
|
import { P as ProgressBar } from "./ProgressBar-B7gTQncy.js";
|
|
21
|
-
import { S as Select } from "./Select-
|
|
22
|
-
import { u as useForm } from "./useForm-
|
|
23
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
24
|
-
import {
|
|
25
|
-
import { F as FormNavigation } from "./FormNavigation-CuO_QOlJ.js";
|
|
22
|
+
import { S as Select } from "./Select-seF9rM5K.js";
|
|
23
|
+
import { u as useForm } from "./useForm-BQDytQRR.js";
|
|
24
|
+
import { E as EndStateLayout } from "./EndStateLayout-DVisdSEd.js";
|
|
25
|
+
import { F as FormNavigation } from "./FormNavigation-yD8USwyG.js";
|
|
26
26
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
27
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
28
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
27
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-CdgtxRvu.js";
|
|
28
|
+
import { l as localizeDateString } from "./localizeDateString-D2nDwdFu.js";
|
|
29
29
|
import { C as ContractViewer } from "./ContractViewer-DcQHIGMU.js";
|
|
30
30
|
const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
|
|
31
31
|
return httpPost(
|
|
@@ -95,11 +95,13 @@ const useTermsOfService = (data, options) => {
|
|
|
95
95
|
const tosSignedAlert = "adyen-kyc-tos-signed-alert";
|
|
96
96
|
const tosContainer = "adyen-kyc-tos-container";
|
|
97
97
|
const tosContent = "adyen-kyc-tos-content";
|
|
98
|
+
const tosSignerField = "adyen-kyc-tos-signer-field";
|
|
98
99
|
const tosActions = "adyen-kyc-tos-actions";
|
|
99
100
|
const styles = {
|
|
100
101
|
tosSignedAlert,
|
|
101
102
|
tosContainer,
|
|
102
103
|
tosContent,
|
|
104
|
+
tosSignerField,
|
|
103
105
|
tosActions
|
|
104
106
|
};
|
|
105
107
|
const logger$1 = createLogger();
|
|
@@ -130,7 +132,7 @@ const useServiceAgreement = ({
|
|
|
130
132
|
{ enabled: !acceptanceId }
|
|
131
133
|
);
|
|
132
134
|
const { data: acceptedServiceAgreement, isSuccess: isAcceptedServiceAgreementSuccess } = useAcceptedTermsOfService(acceptanceId, "JSON");
|
|
133
|
-
|
|
135
|
+
const fetchedServiceAgreement = useMemo(() => {
|
|
134
136
|
const termsOfService = unAcceptedServiceAgreement ?? acceptedServiceAgreement;
|
|
135
137
|
const documentId = unAcceptedServiceAgreement?.termsOfServiceDocumentId ?? acceptedServiceAgreement?.termsOfServiceAcceptanceReference;
|
|
136
138
|
if (termsOfService?.document && documentId) {
|
|
@@ -145,6 +147,9 @@ const useServiceAgreement = ({
|
|
|
145
147
|
}
|
|
146
148
|
};
|
|
147
149
|
}
|
|
150
|
+
}, [acceptedServiceAgreement, unAcceptedServiceAgreement]);
|
|
151
|
+
if ((isUnAcceptedServiceAgreementSuccess || isAcceptedServiceAgreementSuccess) && fetchedServiceAgreement) {
|
|
152
|
+
return fetchedServiceAgreement;
|
|
148
153
|
}
|
|
149
154
|
if (isError) {
|
|
150
155
|
if (agreementLanguage !== FALLBACK_LANGUAGE_CODE$1) {
|
|
@@ -438,15 +443,15 @@ function ServiceAgreementDropin({
|
|
|
438
443
|
showSpinner: false,
|
|
439
444
|
children: [
|
|
440
445
|
serviceAgreement && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
441
|
-
signedAlert,
|
|
442
|
-
/* @__PURE__ */ jsx(
|
|
446
|
+
/* @__PURE__ */ jsx("div", { className: "adyen-kyc-u-margin-bottom-16", children: signedAlert }),
|
|
447
|
+
/* @__PURE__ */ jsx(Card, { children: /* @__PURE__ */ jsx(
|
|
443
448
|
ContractViewer,
|
|
444
449
|
{
|
|
445
450
|
contract: serviceAgreement.contract,
|
|
446
451
|
onExpandSection: handleExpandSection,
|
|
447
452
|
showSectionNumbering: true
|
|
448
453
|
}
|
|
449
|
-
),
|
|
454
|
+
) }),
|
|
450
455
|
/* @__PURE__ */ jsx("div", { className: "adyen-kyc-u-margin-top-16", children: signedAlert }),
|
|
451
456
|
/* @__PURE__ */ jsx("div", { className: "adyen-kyc-u-margin-y-16", children: /* @__PURE__ */ jsx(
|
|
452
457
|
Button,
|
|
@@ -468,7 +473,7 @@ function ServiceAgreementDropin({
|
|
|
468
473
|
{
|
|
469
474
|
name: "signer",
|
|
470
475
|
label: t(($) => $["signer"]),
|
|
471
|
-
className:
|
|
476
|
+
className: styles.tosSignerField,
|
|
472
477
|
errorMessage: errors.signer?.errorMessage,
|
|
473
478
|
isValid: valid.signer,
|
|
474
479
|
dataTestId: "signer",
|
|
@@ -533,7 +538,7 @@ function ServiceAgreementDropin({
|
|
|
533
538
|
);
|
|
534
539
|
const progress = Math.floor(currentStep / (totalSteps - 1) * 100);
|
|
535
540
|
return /* @__PURE__ */ jsx(MaybeModal, { inline: !asModal, onClose: handleCloseClick, children: /* @__PURE__ */ jsxs("div", { className: styles.tosContainer, children: [
|
|
536
|
-
/* @__PURE__ */ jsxs("
|
|
541
|
+
/* @__PURE__ */ jsxs("div", { className: styles.tosContent, children: [
|
|
537
542
|
!asEmbedded && sidebar,
|
|
538
543
|
endScreen || content
|
|
539
544
|
] }),
|
|
@@ -557,7 +562,7 @@ function ServiceAgreementDropin({
|
|
|
557
562
|
children: t(($) => $["back"], { ns: "common" })
|
|
558
563
|
}
|
|
559
564
|
),
|
|
560
|
-
/* @__PURE__ */ jsx(Button, { variant: canSign ? "primary" : "secondary", onClick: handleClick, children: canSign ? t(($) => $["
|
|
565
|
+
/* @__PURE__ */ jsx(Button, { variant: canSign ? "primary" : "secondary", onClick: handleClick, children: canSign ? t(($) => $["sign"], { ns: "common" }) : t(($) => $["continue"], { ns: "common" }) })
|
|
561
566
|
] })
|
|
562
567
|
] })
|
|
563
568
|
] }) });
|
|
@@ -579,9 +584,9 @@ function AcceptTermsOfServiceComponent({
|
|
|
579
584
|
}
|
|
580
585
|
const { i18n } = useTranslation();
|
|
581
586
|
addResourceBundles(i18n, [
|
|
582
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/da-DK.json": () => import("./da-DK-
|
|
583
|
-
{ ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/da-DK.json": () => import("./da-DK-
|
|
584
|
-
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/en-US.json": () => import("./en-US-
|
|
587
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-CBB99upB.js").then((n) => n.bT), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
588
|
+
{ ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/da-DK.json": () => import("./da-DK-CLdNh9JT.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-BT5g7ZXC.js"), "../../Contract/language/en-US.json": () => import("./en-US-CgakND3H.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-4FS7NoE7.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-XpnJRPgt.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-TqAhPvzz.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-D-jYXj6V.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-8yMqZqF2.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-Jhr-ICkK.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-BH6DId3q.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-4Iozxvfr.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-Y9h1ht45.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-DFSm22oQ.js") }), `../../Contract/language/${lang}.json`, 5) },
|
|
589
|
+
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/en-US.json": () => import("./en-US-B-qSAb-7.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) }
|
|
585
590
|
]);
|
|
586
591
|
const [stepsData, setStepsData] = useState({
|
|
587
592
|
unAcceptedTermsOfServiceTypes: [],
|
|
@@ -2,16 +2,13 @@
|
|
|
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] = "e8fee038-8636-4265-8421-ff252f764ee0", e._sentryDebugIdIdentifier = "sentry-dbid-e8fee038-8636-4265-8421-ff252f764ee0");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import {
|
|
12
|
-
import { A as AlertIcon } from "./Alert-_9nVl6uE.js";
|
|
13
|
-
import { u as useTranslation } from "./StoreProvider-DwuHWsNs.js";
|
|
14
|
-
import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
|
|
11
|
+
import { u as useTranslation, bD as AlertIcon, aB as Header, bE as DropinLayout } from "./StoreProvider-CBB99upB.js";
|
|
15
12
|
function AccountSetupRejected() {
|
|
16
13
|
const { t } = useTranslation("common");
|
|
17
14
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -2,13 +2,13 @@
|
|
|
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] = "6ae827bf-9096-429a-bada-326db1720129", e._sentryDebugIdIdentifier = "sentry-dbid-6ae827bf-9096-429a-bada-326db1720129");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import {
|
|
11
|
+
import { W as Button } from "./StoreProvider-CBB99upB.js";
|
|
12
12
|
const ActionBar = ({
|
|
13
13
|
onNext,
|
|
14
14
|
onBack,
|
|
@@ -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] = "11176880-7281-41b7-80f3-9353ddebf0f1", e._sentryDebugIdIdentifier = "sentry-dbid-11176880-7281-41b7-80f3-9353ddebf0f1");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,18 +10,16 @@
|
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useCallback, useState, useMemo, useEffect } from "preact/hooks";
|
|
12
12
|
import { useQuery } from "@tanstack/preact-query";
|
|
13
|
-
import { b as useApiContext,
|
|
14
|
-
import { u as useForm } from "./useForm-
|
|
15
|
-
import { c as createFormUtils } from "./formUtils-
|
|
16
|
-
import { F as Field } from "./Field-
|
|
17
|
-
import { I as InputText } from "./InputText-
|
|
18
|
-
import { S as Select } from "./Select-
|
|
13
|
+
import { b as useApiContext, h as httpPost, j as httpGet, u as useTranslation, B as Icon, z as useAnalyticsContext, ac as translateTranslatable, aa as CountryCodes, ap as useDataset, aq as datasetIdentifier, bd as getFormattingRegEx, be as SPECIAL_CHARS, bf as trimValWithOneSpace, m as createLogger, aK as hasText, aC as matchesRegex, aG as isInvalidName, aF as hasRepeatedCharacters, bg as isValidMinLength, bh as chomeAndBanchiValidator, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, bi as ADDRESS_VALID_CHAR_REGEX, bj as NO_ALPHABET_UNICODE_REGEX, J as useExperimentsContext, ao as entriesOf, bk as getMaxLengthByFieldAndCountry } from "./StoreProvider-CBB99upB.js";
|
|
14
|
+
import { u as useForm } from "./useForm-BQDytQRR.js";
|
|
15
|
+
import { c as createFormUtils } from "./formUtils-BEcbGHkz.js";
|
|
16
|
+
import { F as Field } from "./Field-CPoHG0G-.js";
|
|
17
|
+
import { I as InputText } from "./InputText-C55stM8O.js";
|
|
18
|
+
import { S as Select } from "./Select-seF9rM5K.js";
|
|
19
19
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
20
|
-
import { C as CountryField } from "./CountryField-
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { C as COUNTRIES_WITH_STATES_DATASET, c as getKeyForField, d as COUNTRIES_WITH_HOUSE_NUMBER_FIRST, g as getAddressSchemaForCountry, e as CONDENSED_ADDRESS_FIELDS } from "./utils-CHdXRuoO.js";
|
|
24
|
-
import { a as validateNotEmptyOnBlur } from "./patternValidators-EfBVKdNn.js";
|
|
20
|
+
import { C as CountryField } from "./CountryField-C7SjQFv_.js";
|
|
21
|
+
import { C as COUNTRIES_WITH_STATES_DATASET, c as getKeyForField, d as COUNTRIES_WITH_HOUSE_NUMBER_FIRST, g as getAddressSchemaForCountry, e as CONDENSED_ADDRESS_FIELDS } from "./utils-BvFIL5qs.js";
|
|
22
|
+
import { a as validateNotEmptyOnBlur } from "./patternValidators-BkY5yvNa.js";
|
|
25
23
|
const getNestedTrustedFields = (field, data, trustedFields) => {
|
|
26
24
|
if (trustedFields && data?.[field] && typeof data[field] === "object") {
|
|
27
25
|
return trustedFields.reduce(
|
|
@@ -41,7 +39,7 @@ const mapAddressData = (verifiedBusiness) => ({
|
|
|
41
39
|
address: verifiedBusiness.street ?? "",
|
|
42
40
|
otherAddressInformation: verifiedBusiness.street2 ?? "",
|
|
43
41
|
city: verifiedBusiness.city ?? "",
|
|
44
|
-
postalCode: verifiedBusiness.zipCode ?? "",
|
|
42
|
+
postalCode: verifiedBusiness.zipCode ?? verifiedBusiness.postalCode ?? "",
|
|
45
43
|
stateOrProvince: verifiedBusiness.state ?? ""
|
|
46
44
|
});
|
|
47
45
|
const isDateOlderThanAYear = (dateString) => {
|
|
@@ -274,7 +272,7 @@ const SearchAddress = ({
|
|
|
274
272
|
Field,
|
|
275
273
|
{
|
|
276
274
|
name: "address",
|
|
277
|
-
label:
|
|
275
|
+
label: translateTranslatable(t, labelKey),
|
|
278
276
|
errorMessage,
|
|
279
277
|
isValid,
|
|
280
278
|
optional,
|
|
@@ -800,7 +798,7 @@ const countrySpecificOtherAddressInformationValidators = (country) => {
|
|
|
800
798
|
return void 0;
|
|
801
799
|
}
|
|
802
800
|
};
|
|
803
|
-
const addressValidationRulesV4 = (country,
|
|
801
|
+
const addressValidationRulesV4 = (country, t) => {
|
|
804
802
|
const postalCodeFormat = country ? countrySpecificFormatters[country]?.postalCode?.format : void 0;
|
|
805
803
|
const MIN_LENGTH_3 = 3;
|
|
806
804
|
const MIN_LENGTH_2 = 2;
|
|
@@ -814,7 +812,7 @@ const addressValidationRulesV4 = (country, i18n) => {
|
|
|
814
812
|
},
|
|
815
813
|
{
|
|
816
814
|
modes: ["blur"],
|
|
817
|
-
validate: (input) => !matchesRegex(
|
|
815
|
+
validate: (input) => !matchesRegex(NO_ALPHABET_UNICODE_REGEX, input),
|
|
818
816
|
errorMessage: "nameMustContainLetters"
|
|
819
817
|
},
|
|
820
818
|
{
|
|
@@ -828,7 +826,7 @@ const addressValidationRulesV4 = (country, i18n) => {
|
|
|
828
826
|
errorMessage: {
|
|
829
827
|
key: "fieldMustContainAtLeast",
|
|
830
828
|
values: {
|
|
831
|
-
fieldName:
|
|
829
|
+
fieldName: t(($) => $["address"]),
|
|
832
830
|
minLength: String(MIN_LENGTH_3)
|
|
833
831
|
}
|
|
834
832
|
}
|
|
@@ -855,7 +853,7 @@ const addressValidationRulesV4 = (country, i18n) => {
|
|
|
855
853
|
},
|
|
856
854
|
{
|
|
857
855
|
modes: ["blur"],
|
|
858
|
-
validate: (input) => !matchesRegex(
|
|
856
|
+
validate: (input) => !matchesRegex(NO_ALPHABET_UNICODE_REGEX, input),
|
|
859
857
|
errorMessage: "nameMustContainLetters"
|
|
860
858
|
},
|
|
861
859
|
{
|
|
@@ -869,7 +867,7 @@ const addressValidationRulesV4 = (country, i18n) => {
|
|
|
869
867
|
errorMessage: {
|
|
870
868
|
key: "fieldMustContainAtLeast",
|
|
871
869
|
values: {
|
|
872
|
-
fieldName:
|
|
870
|
+
fieldName: t(($) => $["city"]),
|
|
873
871
|
minLength: String(MIN_LENGTH_2)
|
|
874
872
|
}
|
|
875
873
|
}
|
|
@@ -883,7 +881,7 @@ const addressValidationRulesV4 = (country, i18n) => {
|
|
|
883
881
|
},
|
|
884
882
|
{
|
|
885
883
|
modes: ["blur"],
|
|
886
|
-
validate: (input) => !matchesRegex(
|
|
884
|
+
validate: (input) => !matchesRegex(NO_ALPHABET_UNICODE_REGEX, input),
|
|
887
885
|
errorMessage: "nameMustContainLetters"
|
|
888
886
|
},
|
|
889
887
|
{
|
|
@@ -915,9 +913,9 @@ const addressValidationRulesV4 = (country, i18n) => {
|
|
|
915
913
|
const addressValidators = ({
|
|
916
914
|
isExperimentEnabled = () => false,
|
|
917
915
|
country,
|
|
918
|
-
|
|
916
|
+
t
|
|
919
917
|
}) => ({
|
|
920
|
-
...isExperimentEnabled?.("StrictNameAndAddressValidationV4") ? addressValidationRulesV4(country,
|
|
918
|
+
...isExperimentEnabled?.("StrictNameAndAddressValidationV4") ? addressValidationRulesV4(country, t) : addressValidationRules(country)
|
|
921
919
|
});
|
|
922
920
|
const preventPoBoxValidation = (cleanseAddress2) => ({
|
|
923
921
|
address: {
|
|
@@ -963,7 +961,6 @@ function Address({
|
|
|
963
961
|
valid: validProp,
|
|
964
962
|
addressType
|
|
965
963
|
}) {
|
|
966
|
-
const { i18n } = useI18nContext();
|
|
967
964
|
const { t } = useTranslation("common");
|
|
968
965
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
969
966
|
const isStrictNameAndAddressValidationEnabled = isExperimentEnabled(
|
|
@@ -978,8 +975,8 @@ function Address({
|
|
|
978
975
|
}, [dataProp?.country, requiredFields]);
|
|
979
976
|
const rules = useMemo(() => addressValidationRules(dataProp?.country), [dataProp?.country]);
|
|
980
977
|
const rulesV4 = useMemo(
|
|
981
|
-
() => addressValidationRulesV4(dataProp?.country,
|
|
982
|
-
[dataProp?.country,
|
|
978
|
+
() => addressValidationRulesV4(dataProp?.country, t),
|
|
979
|
+
[dataProp?.country, t]
|
|
983
980
|
);
|
|
984
981
|
const cleanseAddress2 = useAddressCleanseImperatively();
|
|
985
982
|
const asyncRules = useMemo(
|
|
@@ -2,14 +2,14 @@
|
|
|
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] = "8e4e9beb-9c79-43ab-97aa-788ee8fef311", e._sentryDebugIdIdentifier = "sentry-dbid-8e4e9beb-9c79-43ab-97aa-788ee8fef311");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import {
|
|
12
|
+
import { B as Icon } from "./StoreProvider-CBB99upB.js";
|
|
13
13
|
const avatar = "adyen-kyc-avatar";
|
|
14
14
|
const avatarLabel = "adyen-kyc-avatar-label";
|
|
15
15
|
const avatarPrimary = "adyen-kyc-avatar-primary";
|
package/dist/{BusinessFinancingComponent-DgeP0WtS.js → BusinessFinancingComponent-BfmzIskz.js}
RENAMED
|
@@ -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] = "6912f44a-a7f1-45c6-b357-414a94875a11", e._sentryDebugIdIdentifier = "sentry-dbid-6912f44a-a7f1-45c6-b357-414a94875a11");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation,
|
|
10
|
+
import { u as useTranslation, R as useLegalEntity, a9 as getLegalEntityCountry, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, V as Loader } from "./StoreProvider-CBB99upB.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useMemo } from "preact/hooks";
|
|
13
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
14
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
13
|
+
import { M as MaybeModal } from "./MaybeModal-7NGTfxO6.js";
|
|
14
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-CLD8LAhP.js";
|
|
15
15
|
function BusinessFinancingComponent({
|
|
16
16
|
legalEntityId,
|
|
17
17
|
onSubmitSuccess,
|
|
@@ -25,11 +25,11 @@ function BusinessFinancingComponent({
|
|
|
25
25
|
[rootLegalEntity]
|
|
26
26
|
);
|
|
27
27
|
addResourceBundles(i18n, [
|
|
28
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/da-DK.json": () => import("./da-DK-
|
|
29
|
-
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/en-US.json": () => import("./en-US-
|
|
28
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-CBB99upB.js").then((n) => n.bT), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
29
|
+
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/en-US.json": () => import("./en-US-B-qSAb-7.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
30
30
|
{
|
|
31
31
|
ns: "businessFinancing",
|
|
32
|
-
importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../EFP/tasks/BusinessFinancingDropin/language/da-DK.json": () => import("./da-DK-
|
|
32
|
+
importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../EFP/tasks/BusinessFinancingDropin/language/da-DK.json": () => import("./da-DK-BfsYpvel.js"), "../../EFP/tasks/BusinessFinancingDropin/language/de-DE.json": () => import("./de-DE-CEsDXBn-.js"), "../../EFP/tasks/BusinessFinancingDropin/language/en-US.json": () => import("./en-US-DIlZD5Wh.js"), "../../EFP/tasks/BusinessFinancingDropin/language/es-ES.json": () => import("./es-ES-BWFP5itn.js"), "../../EFP/tasks/BusinessFinancingDropin/language/fi-FI.json": () => import("./fi-FI-DenK0WPz.js"), "../../EFP/tasks/BusinessFinancingDropin/language/fr-FR.json": () => import("./fr-FR-BmTswZU5.js"), "../../EFP/tasks/BusinessFinancingDropin/language/it-IT.json": () => import("./it-IT-DJe5OflH.js"), "../../EFP/tasks/BusinessFinancingDropin/language/ja-JP.json": () => import("./ja-JP-GGV_-V6p.js"), "../../EFP/tasks/BusinessFinancingDropin/language/nl-NL.json": () => import("./nl-NL-4Mv4rnYy.js"), "../../EFP/tasks/BusinessFinancingDropin/language/no-NO.json": () => import("./no-NO-ByCZ3mhz.js"), "../../EFP/tasks/BusinessFinancingDropin/language/pt-BR.json": () => import("./pt-BR-DRz5cG4o.js"), "../../EFP/tasks/BusinessFinancingDropin/language/sl-SI.json": () => import("./sl-SI-DKSu25rO.js"), "../../EFP/tasks/BusinessFinancingDropin/language/sv-SE.json": () => import("./sv-SE-Co7Nkd06.js") }), `../../EFP/tasks/BusinessFinancingDropin/language/${lang}.json`, 7)
|
|
33
33
|
}
|
|
34
34
|
]);
|
|
35
35
|
const handleFinishClick = (data) => {
|