@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
|
@@ -2,12 +2,12 @@
|
|
|
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] = "0dbe219b-3e7e-423b-9b01-9b003cce5467", e._sentryDebugIdIdentifier = "sentry-dbid-0dbe219b-3e7e-423b-9b01-9b003cce5467");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { aK as hasText } from "./StoreProvider-CBB99upB.js";
|
|
11
11
|
const validateLegalEntityIdentifier = (legalEntityIdentifier) => {
|
|
12
12
|
if (!legalEntityIdentifier) {
|
|
13
13
|
return true;
|
|
@@ -26,15 +26,21 @@ const businessFinancingCompanyDetailsValidations = {
|
|
|
26
26
|
validate: (numberOfEmployees) => Number.isInteger(Number(numberOfEmployees)) && Number(numberOfEmployees) > 0,
|
|
27
27
|
errorMessage: "atLeastOneEmployeeIsRequired"
|
|
28
28
|
},
|
|
29
|
-
|
|
29
|
+
balanceSheetTotal: {
|
|
30
30
|
modes: ["blur"],
|
|
31
|
-
validate: (value) =>
|
|
32
|
-
|
|
31
|
+
validate: (value) => {
|
|
32
|
+
const numValue = Number(value);
|
|
33
|
+
return !Number.isNaN(numValue) && numValue > 0;
|
|
34
|
+
},
|
|
35
|
+
errorMessage: "fieldIsRequired"
|
|
33
36
|
},
|
|
34
37
|
annualTurnover: {
|
|
35
38
|
modes: ["blur"],
|
|
36
|
-
validate: (value) =>
|
|
37
|
-
|
|
39
|
+
validate: (value) => {
|
|
40
|
+
const numValue = Number(value);
|
|
41
|
+
return !Number.isNaN(numValue) && numValue > 0;
|
|
42
|
+
},
|
|
43
|
+
errorMessage: "fieldIsRequired"
|
|
38
44
|
},
|
|
39
45
|
financialReportingDate: {
|
|
40
46
|
modes: ["blur"],
|
|
@@ -63,15 +69,21 @@ const businessFinancingParentCompanyDetailsValidations = {
|
|
|
63
69
|
validate: (legalEntityIdentifier) => validateLegalEntityIdentifier(legalEntityIdentifier),
|
|
64
70
|
errorMessage: "invalidFormat"
|
|
65
71
|
},
|
|
66
|
-
|
|
72
|
+
balanceSheetTotal: {
|
|
67
73
|
modes: ["blur"],
|
|
68
|
-
validate: (value) =>
|
|
69
|
-
|
|
74
|
+
validate: (value) => {
|
|
75
|
+
const numValue = Number(value);
|
|
76
|
+
return !Number.isNaN(numValue) && numValue > 0;
|
|
77
|
+
},
|
|
78
|
+
errorMessage: "fieldIsRequired"
|
|
70
79
|
},
|
|
71
80
|
annualTurnover: {
|
|
72
81
|
modes: ["blur"],
|
|
73
|
-
validate: (value) =>
|
|
74
|
-
|
|
82
|
+
validate: (value) => {
|
|
83
|
+
const numValue = Number(value);
|
|
84
|
+
return !Number.isNaN(numValue) && numValue > 0;
|
|
85
|
+
},
|
|
86
|
+
errorMessage: "fieldIsRequired"
|
|
75
87
|
},
|
|
76
88
|
financialReportingDate: {
|
|
77
89
|
modes: ["blur"],
|
|
@@ -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] = "33653344-2f01-485b-9505-24d0ab70140a", e._sentryDebugIdIdentifier = "sentry-dbid-33653344-2f01-485b-9505-24d0ab70140a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import "@tanstack/preact-query";
|
|
11
|
-
import {
|
|
12
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
11
|
+
import { h as httpPost, ar as httpDelete, j as httpGet, m as createLogger, bp as StateContext, u as useTranslation, z as useAnalyticsContext, B as Icon, O as Typography, V as Loader, C as IconButton } from "./StoreProvider-CBB99upB.js";
|
|
12
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-HUgTKRia.js";
|
|
13
13
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
14
14
|
import cx from "classnames";
|
|
15
15
|
import { useEffect } from "preact/hooks";
|
|
@@ -201,7 +201,7 @@ const createDocumentRequest = async ({
|
|
|
201
201
|
type: entityType
|
|
202
202
|
},
|
|
203
203
|
type: documentType,
|
|
204
|
-
description
|
|
204
|
+
description
|
|
205
205
|
};
|
|
206
206
|
}
|
|
207
207
|
return;
|
|
@@ -212,7 +212,7 @@ const createDocumentRequest = async ({
|
|
|
212
212
|
type: entityType
|
|
213
213
|
},
|
|
214
214
|
type: documentType,
|
|
215
|
-
description
|
|
215
|
+
description,
|
|
216
216
|
attachments: page1ToUpload && page2ToUpload && encodedPage1 && encodedPage2 ? [
|
|
217
217
|
createAttachment(encodedPage1, page1ToUpload.name, "front"),
|
|
218
218
|
createAttachment(encodedPage2, page2ToUpload.name, "back")
|
|
@@ -2,12 +2,12 @@
|
|
|
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] = "571eba14-5430-4652-82cc-feea607e3865", e._sentryDebugIdIdentifier = "sentry-dbid-571eba14-5430-4652-82cc-feea607e3865");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { y as TaskTypes, ba as remediationPayoutApiKeyMapping, bb as remediationBusinessDetailsApiKeyMapping, bc as remediationIndividualApiKeyMapping } from "./StoreProvider-CBB99upB.js";
|
|
11
11
|
import { a as assignToProp } from "./utils-DNSfZiio.js";
|
|
12
12
|
const isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
|
|
13
13
|
const overrideKeyMapping = {
|
|
@@ -41,7 +41,7 @@ const mapField = (lePath, dropinTask) => {
|
|
|
41
41
|
switch (dropinTask) {
|
|
42
42
|
case TaskTypes.INDIVIDUAL: {
|
|
43
43
|
const mappedPath = overrideKeyMapping?.[TaskTypes.INDIVIDUAL]?.[lePath];
|
|
44
|
-
return mappedPath ? mappedPath :
|
|
44
|
+
return mappedPath ? mappedPath : remediationIndividualApiKeyMapping[lePath];
|
|
45
45
|
}
|
|
46
46
|
case TaskTypes.BUSINESS_DETAILS: {
|
|
47
47
|
const mappedPath = overrideKeyMapping?.[TaskTypes.BUSINESS_DETAILS]?.[lePath];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adyen/kyc-components",
|
|
3
|
-
"version": "4.0.0-compact.
|
|
3
|
+
"version": "4.0.0-compact.9",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"adyen",
|
|
6
6
|
"adyen-kyc",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"types": "./dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.types.d.ts",
|
|
53
53
|
"import": "./dist/adyen-transfer-instrument-configuration.js"
|
|
54
54
|
},
|
|
55
|
-
"./
|
|
55
|
+
"./transfer-instrument-management": {
|
|
56
56
|
"types": "./dist/types/embeds/transfer-instrument-management/adyen-transfer-instrument-management.types.d.ts",
|
|
57
57
|
"import": "./dist/adyen-transfer-instrument-management.js"
|
|
58
58
|
},
|
|
@@ -60,26 +60,14 @@
|
|
|
60
60
|
"types": "./dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.types.d.ts",
|
|
61
61
|
"import": "./dist/adyen-terms-of-service-management.js"
|
|
62
62
|
},
|
|
63
|
-
"./experimental/terms-of-service-management": {
|
|
64
|
-
"types": "./dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.types.d.ts",
|
|
65
|
-
"import": "./dist/adyen-terms-of-service-management.js"
|
|
66
|
-
},
|
|
67
63
|
"./terms-of-service-status": {
|
|
68
64
|
"types": "./dist/types/embeds/terms-of-service-status/adyen-terms-of-service-status.types.d.ts",
|
|
69
65
|
"import": "./dist/adyen-terms-of-service-status.js"
|
|
70
66
|
},
|
|
71
|
-
"./experimental/terms-of-service-status": {
|
|
72
|
-
"types": "./dist/types/embeds/terms-of-service-status/adyen-terms-of-service-status.types.d.ts",
|
|
73
|
-
"import": "./dist/adyen-terms-of-service-status.js"
|
|
74
|
-
},
|
|
75
67
|
"./business-financing": {
|
|
76
68
|
"types": "./dist/types/embeds/business-financing/adyen-business-financing.types.d.ts",
|
|
77
69
|
"import": "./dist/adyen-business-financing.js"
|
|
78
70
|
},
|
|
79
|
-
"./experimental/business-financing": {
|
|
80
|
-
"types": "./dist/types/embeds/business-financing/adyen-business-financing.types.d.ts",
|
|
81
|
-
"import": "./dist/adyen-business-financing.js"
|
|
82
|
-
},
|
|
83
71
|
"./verification-status": {
|
|
84
72
|
"types": "./dist/types/embeds/verification-status/adyen-verification-status.types.d.ts",
|
|
85
73
|
"import": "./dist/adyen-verification-status.js"
|
|
@@ -98,93 +86,90 @@
|
|
|
98
86
|
"dependencies": {
|
|
99
87
|
"@adyen/adyen-document-viewer": "^1.4.2",
|
|
100
88
|
"@adyen/openbankingsdk": "^0.2.3",
|
|
101
|
-
"@adyen/ui-assets-icons-16": "^7.
|
|
102
|
-
"@preact/signals": "^2.
|
|
103
|
-
"@tanstack/preact-query": "^5.
|
|
89
|
+
"@adyen/ui-assets-icons-16": "^7.7.5",
|
|
90
|
+
"@preact/signals": "^2.8.2",
|
|
91
|
+
"@tanstack/preact-query": "^5.93.0",
|
|
104
92
|
"classnames": "^2.5.1",
|
|
105
93
|
"container-query-polyfill": "^1.0.2",
|
|
106
|
-
"i18next": "^25.8.
|
|
94
|
+
"i18next": "^25.8.18",
|
|
107
95
|
"monogon": "^0.3.4",
|
|
108
96
|
"named-slots": "^0.4.2",
|
|
109
97
|
"onfido-sdk-ui": "14.55.0",
|
|
110
|
-
"preact": "^10.
|
|
98
|
+
"preact": "^10.29.0",
|
|
111
99
|
"preact-custom-element": "^4.6.0",
|
|
112
100
|
"wouter-preact": "^3.9.0"
|
|
113
101
|
},
|
|
114
102
|
"devDependencies": {
|
|
115
|
-
"@adyen/bento-design-tokens": "^1.
|
|
103
|
+
"@adyen/bento-design-tokens": "^1.91.0",
|
|
116
104
|
"@commitlint/cli": "^19.8.1",
|
|
117
105
|
"@commitlint/config-conventional": "^19.8.1",
|
|
118
106
|
"@commitlint/prompt-cli": "^19.8.1",
|
|
119
|
-
"@eslint/
|
|
120
|
-
"@
|
|
121
|
-
"@
|
|
107
|
+
"@eslint/js": "^9.39.4",
|
|
108
|
+
"@playwright/test": "^1.58.2",
|
|
109
|
+
"@preact/eslint-plugin-signals": "^0.2.0",
|
|
122
110
|
"@preact/preset-vite": "^2.10.3",
|
|
123
111
|
"@sentry/bundler-plugin-core": "3.5.0",
|
|
124
112
|
"@sentry/cli": "2.42.2",
|
|
113
|
+
"@slack/types": "^2.20.1",
|
|
125
114
|
"@storybook/addon-a11y": "10.1.10",
|
|
126
115
|
"@storybook/addon-docs": "10.1.10",
|
|
127
116
|
"@storybook/addon-vitest": "10.1.10",
|
|
128
|
-
"@storybook/cli": "10.1.10",
|
|
129
117
|
"@storybook/preact-vite": "10.1.10",
|
|
130
118
|
"@tanstack/eslint-plugin-query": "^5.91.4",
|
|
131
|
-
"@tanstack/
|
|
119
|
+
"@tanstack/preact-query-devtools": "^5.92.0",
|
|
132
120
|
"@testing-library/jest-dom": "^6.9.1",
|
|
133
121
|
"@testing-library/preact": "3.2.3",
|
|
134
122
|
"@testing-library/user-event": "^14.6.1",
|
|
135
|
-
"@types/react": "^19.2.
|
|
136
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
137
|
-
"@typescript-eslint/parser": "^8.
|
|
123
|
+
"@types/react": "^19.2.14",
|
|
124
|
+
"@typescript-eslint/eslint-plugin": "^8.57.0",
|
|
125
|
+
"@typescript-eslint/parser": "^8.57.0",
|
|
138
126
|
"@vitest/browser-playwright": "4.0.10",
|
|
139
127
|
"@vitest/coverage-v8": "4.0.10",
|
|
140
128
|
"@vitest/ui": "4.0.10",
|
|
141
|
-
"axios": "^1.13.5",
|
|
142
|
-
"chalk": "^5.6.2",
|
|
143
129
|
"concurrently": "^9.2.1",
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"eslint": "^9.39.2",
|
|
130
|
+
"ctrf-cli": "^0.0.5",
|
|
131
|
+
"eslint": "^9.39.4",
|
|
147
132
|
"eslint-config-prettier": "^10.1.8",
|
|
148
|
-
"eslint-import-resolver-typescript": "^
|
|
133
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
134
|
+
"eslint-plugin-boundaries": "6.0.2",
|
|
149
135
|
"eslint-plugin-check-file": "^3.3.1",
|
|
150
136
|
"eslint-plugin-import": "^2.32.0",
|
|
151
137
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
152
138
|
"eslint-plugin-paths": "^1.1.0",
|
|
153
139
|
"eslint-plugin-prettier": "^5.5.5",
|
|
154
140
|
"eslint-plugin-react": "^7.37.5",
|
|
155
|
-
"eslint-plugin-react-hooks": "^
|
|
156
|
-
"eslint-plugin-react-you-might-not-need-an-effect": "^0.
|
|
141
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
142
|
+
"eslint-plugin-react-you-might-not-need-an-effect": "^0.9.2",
|
|
157
143
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
158
|
-
"eslint-plugin-testing-library": "^7.
|
|
159
|
-
"eslint-plugin-unicorn": "^
|
|
160
|
-
"happy-dom": "^20.
|
|
144
|
+
"eslint-plugin-testing-library": "^7.16.0",
|
|
145
|
+
"eslint-plugin-unicorn": "^63.0.0",
|
|
146
|
+
"happy-dom": "^20.8.9",
|
|
161
147
|
"inquirer": "^12.11.1",
|
|
162
148
|
"jsonc-eslint-parser": "^2.4.2",
|
|
163
149
|
"msw": "2.7.3",
|
|
164
150
|
"msw-storybook-addon": "^2.0.6",
|
|
165
|
-
"
|
|
166
|
-
"
|
|
167
|
-
"postcss": "^8.5.
|
|
151
|
+
"phone": "^3.1.71",
|
|
152
|
+
"playwright-ctrf-json-reporter": "^0.0.27",
|
|
153
|
+
"postcss": "^8.5.8",
|
|
168
154
|
"preact-iso": "2.11.1",
|
|
169
155
|
"prettier": "^3.8.1",
|
|
170
|
-
"react": "npm:@preact/compat@^18.3.
|
|
171
|
-
"react-dom": "npm:@preact/compat@^18.3.
|
|
156
|
+
"react": "npm:@preact/compat@^18.3.2",
|
|
157
|
+
"react-dom": "npm:@preact/compat@^18.3.2",
|
|
172
158
|
"react-i18next": "^15.7.4",
|
|
173
159
|
"remark-gfm": "^4.0.1",
|
|
174
160
|
"rollup-plugin-visualizer": "^5.14.0",
|
|
175
161
|
"ruins": "^0.2.3",
|
|
176
|
-
"sass": "^1.
|
|
162
|
+
"sass": "^1.98.0",
|
|
177
163
|
"storybook": "10.1.10",
|
|
178
164
|
"storybook-addon-tag-badges": "3.0.4",
|
|
179
165
|
"stylelint": "^16.26.1",
|
|
180
166
|
"stylelint-config-recommended-scss": "^14.1.0",
|
|
181
167
|
"stylelint-config-sass-guidelines": "^12.1.0",
|
|
182
168
|
"stylelint-scss": "^6.14.0",
|
|
183
|
-
"svgo": "^4.0.0",
|
|
184
169
|
"tsc-alias": "^1.8.16",
|
|
185
170
|
"type-fest": "^4.41.0",
|
|
186
171
|
"typescript": "^5.9.3",
|
|
187
|
-
"typescript-eslint": "^8.
|
|
172
|
+
"typescript-eslint": "^8.57.0",
|
|
188
173
|
"vite": "^7.3.1",
|
|
189
174
|
"vite-node": "^3.2.4",
|
|
190
175
|
"vite-plugin-shadow-styles": "^0.0.3",
|
|
@@ -206,7 +191,7 @@
|
|
|
206
191
|
"analyze:bundle:cdn": "rollup-plugin-visualizer bundle-stats/report-cdn.json --filename bundle-stats/report-cdn.html --template sunburst --open",
|
|
207
192
|
"build:npm": "rm -rf dist && pnpm types:build && vite build --mode production && vite-node ./scripts/ensureNoReactImportsInDist.ts",
|
|
208
193
|
"build:demo": "rm -rf .demo && vite build --mode demo",
|
|
209
|
-
"build:e2e": "rm -rf .e2e &&
|
|
194
|
+
"build:e2e": "rm -rf .e2e && VITE_PLAYGROUND_BARE_UI=true VITE_PLAYGROUND_NEW=true vite build --mode e2e",
|
|
210
195
|
"build:cdn": "rm -rf dist-cdn && vite build --mode production-cdn && ./scripts/move-sourcemaps.sh && node ./scripts/ensureUniqueOutputNames.js",
|
|
211
196
|
"build:watch": "vite build --mode production --watch",
|
|
212
197
|
"check:all": "concurrently \"pnpm types:check\" \"pnpm lint:quiet\" \"pnpm lint:styles\" \"pnpm prettier\" -n tsc,eslint,stylelint,prettier -c cyan,magenta,yellow,blue",
|
|
@@ -218,8 +203,8 @@
|
|
|
218
203
|
"demo": "pnpm build:demo && pnpm demo:serve",
|
|
219
204
|
"demo:serve": "vite preview --mode demo",
|
|
220
205
|
"dev": "concurrently \"vite dev\" \"pnpm types:watch\" -n vite,tsc -c green,cyan -k",
|
|
221
|
-
"dev:e2e": "
|
|
222
|
-
"preview:e2e": "
|
|
206
|
+
"dev:e2e": "VITE_PLAYGROUND_BARE_UI=true VITE_PLAYGROUND_NEW=true vite dev --mode e2e",
|
|
207
|
+
"preview:e2e": "VITE_PLAYGROUND_BARE_UI=true VITE_PLAYGROUND_NEW=true vite preview --mode e2e",
|
|
223
208
|
"fix:all": "pnpm lint:fix && pnpm prettier:fix",
|
|
224
209
|
"fix:lint": "pnpm lint:fix",
|
|
225
210
|
"fix:prettier": "pnpm prettier:fix",
|
|
@@ -237,9 +222,6 @@
|
|
|
237
222
|
"start": "pnpm dev",
|
|
238
223
|
"storybook": "storybook dev -p 6006 --no-version-updates",
|
|
239
224
|
"storybook:build": "storybook build",
|
|
240
|
-
"svgo:all": "pnpm svgo:icons && pnpm svgo:images",
|
|
241
|
-
"svgo:icons": "svgo --config=./assets/icons.svgo.conf.js --folder=./assets/icons",
|
|
242
|
-
"svgo:images": "svgo --config=./assets/images.svgo.conf.js --folder=./assets/images -r",
|
|
243
225
|
"test": "vitest",
|
|
244
226
|
"test:run": "vitest --run",
|
|
245
227
|
"test:coverage": "vitest --coverage",
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a71651d8-972d-4b09-bf0a-a14f9b4b263e", e._sentryDebugIdIdentifier = "sentry-dbid-a71651d8-972d-4b09-bf0a-a14f9b4b263e");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import cx from "classnames";
|
|
12
|
-
import { defineSlots } from "named-slots";
|
|
13
|
-
import { r as Icon, z as Typography, a1 as Skeleton } from "./StoreProvider-DwuHWsNs.js";
|
|
14
|
-
const accordion = "adyen-kyc-accordion";
|
|
15
|
-
const accordionSummary = "adyen-kyc-accordion-summary";
|
|
16
|
-
const accordionBasic = "adyen-kyc-accordion-basic";
|
|
17
|
-
const accordionInfo = "adyen-kyc-accordion-info";
|
|
18
|
-
const accordionError = "adyen-kyc-accordion-error";
|
|
19
|
-
const accordionWarning = "adyen-kyc-accordion-warning";
|
|
20
|
-
const accordionSuccess = "adyen-kyc-accordion-success";
|
|
21
|
-
const accordionNarrow = "adyen-kyc-accordion-narrow";
|
|
22
|
-
const accordionContent = "adyen-kyc-accordion-content";
|
|
23
|
-
const accordionWithIcon = "adyen-kyc-accordion-with-icon";
|
|
24
|
-
const accordionArrow = "adyen-kyc-accordion-arrow";
|
|
25
|
-
const accordionArrowRight = "adyen-kyc-accordion-arrow-right";
|
|
26
|
-
const styles = {
|
|
27
|
-
accordion,
|
|
28
|
-
accordionSummary,
|
|
29
|
-
accordionBasic,
|
|
30
|
-
accordionInfo,
|
|
31
|
-
accordionError,
|
|
32
|
-
accordionWarning,
|
|
33
|
-
accordionSuccess,
|
|
34
|
-
accordionNarrow,
|
|
35
|
-
accordionContent,
|
|
36
|
-
accordionWithIcon,
|
|
37
|
-
accordionArrow,
|
|
38
|
-
accordionArrowRight
|
|
39
|
-
};
|
|
40
|
-
const Accordion = ({
|
|
41
|
-
children,
|
|
42
|
-
expandOnLeft = false,
|
|
43
|
-
onToggle,
|
|
44
|
-
className,
|
|
45
|
-
variant = "basic",
|
|
46
|
-
narrow = false
|
|
47
|
-
}) => {
|
|
48
|
-
const { Slot } = defineSlots(children, ["title", "content", "icon"]);
|
|
49
|
-
const handleToggle = (e) => {
|
|
50
|
-
if (!onToggle) return;
|
|
51
|
-
onToggle(e.newState === "closed" ? "close" : "open");
|
|
52
|
-
};
|
|
53
|
-
const variantMap = {
|
|
54
|
-
basic: styles.accordionBasic,
|
|
55
|
-
info: styles.accordionInfo,
|
|
56
|
-
error: styles.accordionError,
|
|
57
|
-
warning: styles.accordionWarning,
|
|
58
|
-
success: styles.accordionSuccess
|
|
59
|
-
};
|
|
60
|
-
return /* @__PURE__ */ jsxs(
|
|
61
|
-
"details",
|
|
62
|
-
{
|
|
63
|
-
onToggle: handleToggle,
|
|
64
|
-
className: cx(className, styles.accordion, variantMap[variant], {
|
|
65
|
-
[styles.accordionWithIcon]: expandOnLeft,
|
|
66
|
-
[styles.accordionNarrow]: narrow
|
|
67
|
-
}),
|
|
68
|
-
children: [
|
|
69
|
-
/* @__PURE__ */ jsxs("summary", { className: styles.accordionSummary, children: [
|
|
70
|
-
expandOnLeft && /* @__PURE__ */ jsx(Icon, { name: "chevron-down", className: styles.accordionArrow }),
|
|
71
|
-
/* @__PURE__ */ jsx(Slot, { name: "icon" }),
|
|
72
|
-
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "body-strongest", children: /* @__PURE__ */ jsx(Slot, { name: "title", children: /* @__PURE__ */ jsx(Skeleton, {}) }) }),
|
|
73
|
-
!expandOnLeft && /* @__PURE__ */ jsx(
|
|
74
|
-
Icon,
|
|
75
|
-
{
|
|
76
|
-
name: "chevron-down",
|
|
77
|
-
className: cx(styles.accordionArrow, styles.accordionArrowRight)
|
|
78
|
-
}
|
|
79
|
-
)
|
|
80
|
-
] }),
|
|
81
|
-
/* @__PURE__ */ jsx("div", { className: styles.accordionContent, children: /* @__PURE__ */ jsx(Slot, { name: "content", children: /* @__PURE__ */ jsx(Skeleton, {}) }) })
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
);
|
|
85
|
-
};
|
|
86
|
-
export {
|
|
87
|
-
Accordion as A
|
|
88
|
-
};
|
package/dist/Alert-_9nVl6uE.js
DELETED
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e0d2ca9f-62c8-4095-8062-f0e3e3773ccb", e._sentryDebugIdIdentifier = "sentry-dbid-e0d2ca9f-62c8-4095-8062-f0e3e3773ccb");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import cx from "classnames";
|
|
12
|
-
import { isValidElement } from "preact";
|
|
13
|
-
import { useState } from "preact/hooks";
|
|
14
|
-
import { A as Accordion } from "./Accordion-s3uIJ_O9.js";
|
|
15
|
-
import { u as useTranslation, z as Typography, V as Button, r as Icon } from "./StoreProvider-DwuHWsNs.js";
|
|
16
|
-
const alert = "adyen-kyc-alert";
|
|
17
|
-
const alertWithoutIcon = "adyen-kyc-alert-without-icon";
|
|
18
|
-
const alertExplanation = "adyen-kyc-alert-explanation";
|
|
19
|
-
const alertActions = "adyen-kyc-alert-actions";
|
|
20
|
-
const alertBasic = "adyen-kyc-alert-basic";
|
|
21
|
-
const alertInfo = "adyen-kyc-alert-info";
|
|
22
|
-
const alertError = "adyen-kyc-alert-error";
|
|
23
|
-
const alertWarning = "adyen-kyc-alert-warning";
|
|
24
|
-
const alertSuccess = "adyen-kyc-alert-success";
|
|
25
|
-
const alertHeader = "adyen-kyc-alert-header";
|
|
26
|
-
const alertHeaderWithoutChildren = "adyen-kyc-alert-header-without-children";
|
|
27
|
-
const alertIcon = "adyen-kyc-alert-icon";
|
|
28
|
-
const alertIconInfo = "adyen-kyc-alert-icon-info";
|
|
29
|
-
const alertIconError = "adyen-kyc-alert-icon-error";
|
|
30
|
-
const alertIconWarning = "adyen-kyc-alert-icon-warning";
|
|
31
|
-
const alertIconSuccess = "adyen-kyc-alert-icon-success";
|
|
32
|
-
const alertTitle = "adyen-kyc-alert-title";
|
|
33
|
-
const styles = {
|
|
34
|
-
alert,
|
|
35
|
-
alertWithoutIcon,
|
|
36
|
-
alertExplanation,
|
|
37
|
-
alertActions,
|
|
38
|
-
alertBasic,
|
|
39
|
-
alertInfo,
|
|
40
|
-
alertError,
|
|
41
|
-
alertWarning,
|
|
42
|
-
alertSuccess,
|
|
43
|
-
alertHeader,
|
|
44
|
-
alertHeaderWithoutChildren,
|
|
45
|
-
alertIcon,
|
|
46
|
-
alertIconInfo,
|
|
47
|
-
alertIconError,
|
|
48
|
-
alertIconWarning,
|
|
49
|
-
alertIconSuccess,
|
|
50
|
-
alertTitle
|
|
51
|
-
};
|
|
52
|
-
const variantMap = {
|
|
53
|
-
basic: styles.alertBasic,
|
|
54
|
-
info: styles.alertInfo,
|
|
55
|
-
error: styles.alertError,
|
|
56
|
-
warning: styles.alertWarning,
|
|
57
|
-
success: styles.alertSuccess
|
|
58
|
-
};
|
|
59
|
-
const iconVariantMap = {
|
|
60
|
-
basic: "",
|
|
61
|
-
// does not exist
|
|
62
|
-
info: styles.alertIconInfo,
|
|
63
|
-
error: styles.alertIconError,
|
|
64
|
-
warning: styles.alertIconWarning,
|
|
65
|
-
success: styles.alertIconSuccess
|
|
66
|
-
};
|
|
67
|
-
const Alert = ({
|
|
68
|
-
title,
|
|
69
|
-
variant = "basic",
|
|
70
|
-
type = "default",
|
|
71
|
-
className,
|
|
72
|
-
actions,
|
|
73
|
-
children,
|
|
74
|
-
icon,
|
|
75
|
-
testId,
|
|
76
|
-
onClose,
|
|
77
|
-
onToggle
|
|
78
|
-
}) => {
|
|
79
|
-
const { t } = useTranslation("ui");
|
|
80
|
-
const [isClosed, setIsClosed] = useState(false);
|
|
81
|
-
if (isClosed) return null;
|
|
82
|
-
const closeAlert = () => {
|
|
83
|
-
if (onClose) onClose();
|
|
84
|
-
setIsClosed(true);
|
|
85
|
-
};
|
|
86
|
-
const renderIcon = () => {
|
|
87
|
-
if (icon === false) return void 0;
|
|
88
|
-
if (isValidElement(icon)) {
|
|
89
|
-
return icon;
|
|
90
|
-
}
|
|
91
|
-
return /* @__PURE__ */ jsx("span", { className: cx(styles.alertIcon, iconVariantMap[variant]), children: /* @__PURE__ */ jsx(AlertIcon, { variant }) });
|
|
92
|
-
};
|
|
93
|
-
const renderedIcon = renderIcon();
|
|
94
|
-
if (type === "collapsible") {
|
|
95
|
-
return /* @__PURE__ */ jsxs(Accordion, { variant, onToggle: onToggle || void 0, narrow: true, className, children: [
|
|
96
|
-
/* @__PURE__ */ jsx("template", { slot: "title", children: title }),
|
|
97
|
-
/* @__PURE__ */ jsx("template", { slot: "icon", children: renderedIcon }),
|
|
98
|
-
/* @__PURE__ */ jsxs("template", { slot: "content", children: [
|
|
99
|
-
children,
|
|
100
|
-
!!actions && /* @__PURE__ */ jsx("div", { className: styles.alertActions, children: actions })
|
|
101
|
-
] })
|
|
102
|
-
] });
|
|
103
|
-
}
|
|
104
|
-
if (type === "callToAction") {
|
|
105
|
-
return /* @__PURE__ */ jsxs(
|
|
106
|
-
"div",
|
|
107
|
-
{
|
|
108
|
-
className: cx(styles.alert, className, variantMap[variant], {
|
|
109
|
-
[styles.alertWithoutIcon]: !renderedIcon
|
|
110
|
-
}),
|
|
111
|
-
role: "alert",
|
|
112
|
-
"data-testid": testId,
|
|
113
|
-
children: [
|
|
114
|
-
/* @__PURE__ */ jsxs(
|
|
115
|
-
"div",
|
|
116
|
-
{
|
|
117
|
-
className: cx(styles.alertHeader, {
|
|
118
|
-
[styles.alertHeaderWithoutChildren]: !children
|
|
119
|
-
}),
|
|
120
|
-
children: [
|
|
121
|
-
renderedIcon,
|
|
122
|
-
title && /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "body-strongest", className: styles.alertTitle, children: title }),
|
|
123
|
-
!!actions && /* @__PURE__ */ jsx("div", { className: styles.alertActions, children: actions })
|
|
124
|
-
]
|
|
125
|
-
}
|
|
126
|
-
),
|
|
127
|
-
!!children && /* @__PURE__ */ jsx("div", { className: styles.alertExplanation, children })
|
|
128
|
-
]
|
|
129
|
-
}
|
|
130
|
-
);
|
|
131
|
-
}
|
|
132
|
-
return /* @__PURE__ */ jsxs(
|
|
133
|
-
"div",
|
|
134
|
-
{
|
|
135
|
-
className: cx(styles.alert, className, variantMap[variant], {
|
|
136
|
-
[styles.alertWithoutIcon]: !renderedIcon
|
|
137
|
-
}),
|
|
138
|
-
role: "alert",
|
|
139
|
-
"data-testid": testId,
|
|
140
|
-
children: [
|
|
141
|
-
/* @__PURE__ */ jsxs("div", { className: styles.alertHeader, children: [
|
|
142
|
-
renderedIcon,
|
|
143
|
-
title && /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "body-strongest", className: styles.alertTitle, children: title }),
|
|
144
|
-
type === "dismissible" && /* @__PURE__ */ jsx(Button, { variant: "tertiary", icon: "cross", onClick: closeAlert, children: t(($) => $["close"]) })
|
|
145
|
-
] }),
|
|
146
|
-
!!children && /* @__PURE__ */ jsx("div", { className: styles.alertExplanation, children }),
|
|
147
|
-
!!actions && /* @__PURE__ */ jsx("div", { className: styles.alertActions, children: actions })
|
|
148
|
-
]
|
|
149
|
-
}
|
|
150
|
-
);
|
|
151
|
-
};
|
|
152
|
-
const AlertIcon = ({ variant }) => {
|
|
153
|
-
switch (variant) {
|
|
154
|
-
case "success":
|
|
155
|
-
return /* @__PURE__ */ jsx(Icon, { name: "checkmark" });
|
|
156
|
-
case "error":
|
|
157
|
-
return /* @__PURE__ */ jsx(Icon, { name: "error" });
|
|
158
|
-
case "warning":
|
|
159
|
-
return /* @__PURE__ */ jsx(Icon, { name: "warning" });
|
|
160
|
-
case "info":
|
|
161
|
-
case "basic":
|
|
162
|
-
default:
|
|
163
|
-
return /* @__PURE__ */ jsx(Icon, { name: "info-circle-filled" });
|
|
164
|
-
}
|
|
165
|
-
};
|
|
166
|
-
export {
|
|
167
|
-
AlertIcon as A,
|
|
168
|
-
Alert as a
|
|
169
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "43bb17f6-4a13-444d-a18a-5db992a61bcf", e._sentryDebugIdIdentifier = "sentry-dbid-43bb17f6-4a13-444d-a18a-5db992a61bcf");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { u as useTranslation, c as useLegalEntity, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DwuHWsNs.js";
|
|
11
|
-
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-BpaTs3Tb.js";
|
|
13
|
-
const BusinessFinancingPage = ({
|
|
14
|
-
onSubmit,
|
|
15
|
-
handleHomeClick
|
|
16
|
-
}) => {
|
|
17
|
-
const { i18n } = useTranslation();
|
|
18
|
-
const { t: commonT } = useTranslation("common");
|
|
19
|
-
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
20
|
-
addResourceBundles(i18n, [
|
|
21
|
-
{
|
|
22
|
-
ns: "businessFinancing",
|
|
23
|
-
importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../tasks/BusinessFinancingDropin/language/da-DK.json": () => import("./da-DK-JHZnsI59.js"), "../tasks/BusinessFinancingDropin/language/de-DE.json": () => import("./de-DE-VGGEkxUT.js"), "../tasks/BusinessFinancingDropin/language/en-US.json": () => import("./en-US-D1sB335h.js"), "../tasks/BusinessFinancingDropin/language/es-ES.json": () => import("./es-ES-Bn9_0wK0.js"), "../tasks/BusinessFinancingDropin/language/fi-FI.json": () => import("./fi-FI-PVFqd5Ra.js"), "../tasks/BusinessFinancingDropin/language/fr-FR.json": () => import("./fr-FR-mJK4hjwD.js"), "../tasks/BusinessFinancingDropin/language/it-IT.json": () => import("./it-IT-BTWkWSJq.js"), "../tasks/BusinessFinancingDropin/language/ja-JP.json": () => import("./ja-JP-CceCDXLB.js"), "../tasks/BusinessFinancingDropin/language/nl-NL.json": () => import("./nl-NL-CTf7zH4M.js"), "../tasks/BusinessFinancingDropin/language/no-NO.json": () => import("./no-NO-RfTK9KAV.js"), "../tasks/BusinessFinancingDropin/language/pt-BR.json": () => import("./pt-BR-BbFJsIVX.js"), "../tasks/BusinessFinancingDropin/language/sl-SI.json": () => import("./sl-SI-D8dDckrW.js"), "../tasks/BusinessFinancingDropin/language/sv-SE.json": () => import("./sv-SE-DGpvVvWj.js") }), `../tasks/BusinessFinancingDropin/language/${lang}.json`, 5)
|
|
24
|
-
},
|
|
25
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/da-DK.json": () => import("./da-DK-DzcTI92X.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-dPfrbCii.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-DwuHWsNs.js").then((n) => n.bF), "../../../language/locales/es-ES.json": () => import("./es-ES--IvNed_Q.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BUixKfXH.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-BM-qNLci.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-D63gRTDc.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-DL0IjTzn.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-KQ6bciOb.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-Ds3VioxT.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-Ct4s4jXV.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-hxwQIw_i.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-0PQ-U1u6.js") }), `../../../language/locales/${lang}.json`, 6) }
|
|
26
|
-
]);
|
|
27
|
-
if (!rootLe) {
|
|
28
|
-
return /* @__PURE__ */ jsx(Loader, {});
|
|
29
|
-
}
|
|
30
|
-
return /* @__PURE__ */ jsx(
|
|
31
|
-
BusinessFinancingDropin,
|
|
32
|
-
{
|
|
33
|
-
country: getLegalEntityCountry(rootLe),
|
|
34
|
-
rootLegalEntity: rootLe,
|
|
35
|
-
externalOnSubmit: onSubmit,
|
|
36
|
-
handleHomeClick,
|
|
37
|
-
externalOnSubmitLabel: commonT(($) => $["backToTaskList"])
|
|
38
|
-
}
|
|
39
|
-
);
|
|
40
|
-
};
|
|
41
|
-
export {
|
|
42
|
-
BusinessFinancingPage
|
|
43
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b6f69b45-f97a-4b68-8ee1-badeece37da9", e._sentryDebugIdIdentifier = "sentry-dbid-b6f69b45-f97a-4b68-8ee1-badeece37da9");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
const DropinLayout = ({ content, footer }) => /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-dropin", children: [
|
|
12
|
-
/* @__PURE__ */ jsx("div", { className: "adyen-kyc-dropin__content", children: /* @__PURE__ */ jsx("div", { className: "adyen-kyc-dropin__content-main", children: content }) }),
|
|
13
|
-
footer && /* @__PURE__ */ jsx("div", { className: "adyen-kyc-dropin__footer-container", children: footer })
|
|
14
|
-
] });
|
|
15
|
-
export {
|
|
16
|
-
DropinLayout as D
|
|
17
|
-
};
|