@adyen/kyc-components 4.0.0-compact.0 → 4.0.0-compact.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/4-people-BzyXLUF9.js +24 -0
- package/dist/{AD-CyP5INSp.js → AD-BQAadLyG.js} +2 -2
- package/dist/{AT-DJLlevck.js → AT-BI8ju2NH.js} +2 -2
- package/dist/{AcceptTermsOfServiceComponent-BF24NWVw.js → AcceptTermsOfServiceComponent-CNbcTHZy.js} +51 -66
- package/dist/Accordion-Bjer1DF8.js +88 -0
- package/dist/{AccountSetupRejected-2t22lJUo.js → AccountSetupRejected-Cn672qPs.js} +6 -6
- package/dist/ActionBar-_ItKVS6X.js +31 -0
- package/dist/{Address-DSwfzWFu.js → Address-brlyMNsL.js} +292 -51
- package/dist/{Alert-C24s_Ygs.js → Alert-BjepSgqS.js} +7 -79
- package/dist/{Avatar-DQjt5Lk2.js → Avatar-YKRRWtuD.js} +2 -2
- package/dist/{BE-B-m_4F41.js → BE-nWHKW0xQ.js} +2 -2
- package/dist/{BG-BVR5ytc-.js → BG-HKzabLqZ.js} +3 -3
- package/dist/BusinessDetailsDropin-Be43Lz8z.js +2359 -0
- package/dist/BusinessFinancingComponent-DaXrEiOK.js +55 -0
- package/dist/{BusinessFinancingDropin-C-xm14b8.js → BusinessFinancingDropin-CxvdCIOR.js} +186 -154
- package/dist/BusinessFinancingPage-DR8f57Zt.js +43 -0
- package/dist/{BusinessTypeSelectionPage-ujY2jj6B.js → BusinessTypeSelectionPage-5VrdC33B.js} +13 -13
- package/dist/{CH-CesIKOYy.js → CH-TX4BTE2y.js} +2 -2
- package/dist/{CY-BnJ7k_mN.js → CY-D59Nypl7.js} +2 -2
- package/dist/{CZ-BiPeoA9G.js → CZ-B6iI1GbE.js} +3 -3
- package/dist/Card-DTRTgvkU.js +82 -0
- package/dist/ConstitutionalDocument-LzfYJniz.js +143 -0
- package/dist/{CountryField-D0YZrov9.js → CountryField-BKLmbhSX.js} +195 -216
- package/dist/CreateIndividualComponent-BLXGgGyY.js +71 -0
- package/dist/CreateTransferInstrumentComponent-DVckBQQm.js +63 -0
- package/dist/{Currency-BECbMsi5.js → Currency-MPPfYpO2.js} +10 -65
- package/dist/{CustomerSupport-B8zC_huY.js → CustomerSupport-By2yaM5E.js} +23 -11
- package/dist/{DE-DdcbG-CC.js → DE-CsuX_tSL.js} +2 -2
- package/dist/{DK-DA8qRrzq.js → DK-oQEFrF6o.js} +3 -3
- package/dist/{DebugModal-CshTHx0o.js → DebugModal-DCHlUTNW.js} +128 -43
- package/dist/DecisionMakerDetailsPage-tc-XK5oy.js +106 -0
- package/dist/DecisionMakers-DU88cxZJ.js +842 -0
- package/dist/DropinLayout-CBP_cHLC.js +17 -0
- package/dist/{EE-CaXoPgZz.js → EE-3WZV5Ejt.js} +2 -2
- package/dist/{ES-Bt_oaIaf.js → ES-NfxpqbC2.js} +2 -2
- package/dist/{EmbeddedStatus-BHTZcjUN.js → EmbeddedStatus-Dyw4tZGv.js} +15 -16
- package/dist/{EndStateLayout-CyGtLyvf.js → EndStateLayout-Dyji8Wu9.js} +2 -2
- package/dist/EntityAssociation-Dj13mqhr.js +159 -0
- package/dist/EntityGuidanceStatus-B-VLjG9P.js +105 -0
- package/dist/{FI-C5V3lLuN.js → FI-CHQIvHa-.js} +2 -2
- package/dist/{FR-Bc1tLIC4.js → FR-MWZyWX3x.js} +2 -2
- package/dist/FormFlow-KgmudcUf.js +186 -0
- package/dist/{FormNavigation-ezxkIqdb.js → FormNavigation-CFIXqopX.js} +6 -24
- package/dist/{useGlobalData-jb7ua9I6.js → FormWrapper-CCyMspMC.js} +12 -82
- package/dist/{GG-BGuqxplU.js → GG-CPoMVQPc.js} +3 -3
- package/dist/{GI-CROkpYrU.js → GI-DxmBwVD_.js} +3 -3
- package/dist/{GR-B9c2boG8.js → GR-Rk0pXlNw.js} +2 -2
- package/dist/{HR-p4luVYpu.js → HR-WapHW2fw.js} +2 -2
- package/dist/{HU-D8vJYkDH.js → HU-DCOMuOhe.js} +3 -3
- package/dist/{IE-Cli_j7Al.js → IE-BkgtVgDi.js} +2 -2
- package/dist/{IM-mpIyBn16.js → IM-Wr4iDT94.js} +3 -3
- package/dist/{IS-02zCAdvq.js → IS-C-Cgc6zp.js} +2 -2
- package/dist/{IT-CzURFhrK.js → IT-CXekiddL.js} +2 -2
- package/dist/{IndividualOnfidoDropin-vuHu-O_C.js → IndividualOnfido-DGWs87Bu.js} +8212 -6455
- package/dist/IndividualOnfidoDropin-CUY4R6Np.js +2569 -0
- package/dist/{InputText-BX5sG9WJ.js → InputText-DXkZ7fwq.js} +101 -13
- package/dist/{Introduction-BsKwELuc.js → Introduction-CjaMyLeR.js} +7 -11
- package/dist/{JE-MFwIYti7.js → JE-B4gj54Hg.js} +3 -3
- package/dist/JpAddress-DSZyw5JH.js +271 -0
- package/dist/{LI-DA06W10W.js → LI-L0ZAALRT.js} +2 -2
- package/dist/{LT-DuU6E2Ct.js → LT-Ao2uagV9.js} +2 -2
- package/dist/{LU-BQHhNpDy.js → LU-B7LRUuc6.js} +2 -2
- package/dist/{LV-DN7wckbP.js → LV-DZeGjA2G.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-DtMHe1Nq.js → LegalRepresentativeDetailsPage-L1HAsU01.js} +6 -7
- package/dist/ListItem-COe1T6IG.js +69 -0
- package/dist/{MC-DtSWC4jS.js → MC-EDVNGWhy.js} +2 -2
- package/dist/{MT-DeDMQ1f_.js → MT-B9my7RlP.js} +2 -2
- package/dist/ManageIndividualComponent-ySaPJphf.js +46 -0
- package/dist/ManageTermsOfServiceComponent-ClF1MHMK.js +52 -0
- package/dist/{ManageTransferInstrumentComponent-DywpP5PK.js → ManageTransferInstrumentComponent-D26m3iJX.js} +19 -26
- package/dist/{MaybeModal-CE9kYOrU.js → MaybeModal-BPq0SmbE.js} +15 -4
- package/dist/{Modal-nMRQDTF7.js → Modal-qvqrnkl9.js} +19 -6
- package/dist/{NL-aVL0NAp-.js → NL-VXAFOhV5.js} +2 -2
- package/dist/{NO-D7EOiQA1.js → NO-Cx1VSh2W.js} +3 -3
- package/dist/OnboardingDropinComponent-CAowzo5z.js +7617 -0
- package/dist/{PL-Bg7axKQA.js → PL-BZW1hGvD.js} +3 -3
- package/dist/{PT-hB1HnBM2.js → PT-OpU4MU3L.js} +2 -2
- package/dist/{PayoutDetailsDropin-BJIqXmPn.js → PayoutDetailsDropin-CElcAZkT.js} +1530 -384
- package/dist/ProgressBar-B7gTQncy.js +47 -0
- package/dist/{RO-BLlC4CKq.js → RO-Cz6Sh0ls.js} +2 -2
- package/dist/{Review-D7NEYFoT.js → Review-BsSmYJ0Z.js} +9 -8
- package/dist/RootBusinessDetailsPage-DfaUd-dT.js +46 -0
- package/dist/RootBusinessLinesPage-BUU93N7l.js +1484 -0
- package/dist/RootIndividualDetailsPage-pNQ9v0Cg.js +71 -0
- package/dist/{SE-q25Qt85B.js → SE-B5K-FkQd.js} +3 -3
- package/dist/{SI-BzA-ozn6.js → SI-BOGTNLPa.js} +2 -2
- package/dist/{SK-DOTdLJPw.js → SK-BOVrp_Av.js} +2 -2
- package/dist/{SM-B4BIgmhk.js → SM-meowwILA.js} +2 -2
- package/dist/{SignPCIComponent-C0iYfSl6.js → SignPCIComponent-DA9HTJcn.js} +29 -19
- package/dist/{SingpassSelection-ClMlwfoj.js → SingpassSelection-CWJuYh4-.js} +10 -10
- package/dist/SoleProprietorshipPage-p5JwimAo.js +46 -0
- package/dist/{SourceOfFundsPage-D-pN33-9.js → SourceOfFundsPage-CG0pItrl.js} +238 -956
- package/dist/{MaskedInput-BZ7t98eu.js → Spacer-BcPESwGJ.js} +641 -24
- package/dist/{StepProgressIndicator-BWCQmDeV.js → StepProgressIndicator-BG5uNVKJ.js} +2 -2
- package/dist/{StoreProvider-BlaJzXSZ.js → StoreProvider-D0o_745u.js} +1195 -560
- package/dist/Summary-DfChUS-N.js +204 -0
- package/dist/{TaxReportingDropin-CVbVkFhv.js → TaxReportingDropin-BhFHPYrV.js} +76 -74
- package/dist/TrustDetailsPage-UI7Qhogx.js +2149 -0
- package/dist/TrustMemberCompanyPage-Cvq23-mG.js +57 -0
- package/dist/TrustMemberIndividualPage-9eQ_yj88.js +66 -0
- package/dist/TrustMemberRoleAndTypePage-C5X4yQcZ.js +985 -0
- package/dist/TrustMembersOverview-DS3F2gW9.js +438 -0
- package/dist/{UnincorporatedPartnershipIndividualPage-vzn0R02z.js → UnincorporatedPartnershipIndividualPage-B9EMaXkA.js} +6 -7
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-C-kGU5Sh.js → UnincorporatedPartnershipMemberCompanyPage-DqpxNM8J.js} +7 -11
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-DuWERJIv.js +281 -0
- package/dist/UnincorporatedPartnershipMembersOverview-CXIrEXgp.js +172 -0
- package/dist/{VA-bPXdCnwD.js → VA-DXsYTCoh.js} +2 -2
- package/dist/VerificationErrorAlert-Cwea2nvk.js +79 -0
- package/dist/{ViewVerificationStatusComponent-BTW-Vw9I.js → ViewVerificationStatusComponent-C5rBiaSa.js} +16 -13
- package/dist/adyen-business-financing.js +10 -7
- package/dist/adyen-individual-configuration.js +7 -8
- package/dist/adyen-individual-status.js +7 -8
- package/dist/adyen-kyc-components.js +38 -33
- package/dist/adyen-onboarding.js +4 -5
- package/dist/adyen-terms-of-service-management.js +7 -8
- package/dist/adyen-terms-of-service-status.js +7 -8
- package/dist/adyen-transfer-instrument-configuration.js +7 -8
- package/dist/adyen-transfer-instrument-management.js +7 -8
- package/dist/adyen-verification-status.js +5 -6
- package/dist/{arrow-right-D_mdkZmE.js → arrow-right-KxA3SvQj.js} +2 -2
- package/dist/{bag-DpxmyXfR.js → bag-BPumznWh.js} +2 -2
- package/dist/{bank-gyBvaSp4.js → bank-D6FiNBhs.js} +2 -2
- package/dist/bin-Bz6KOIeE.js +18 -0
- package/dist/capital-GVQ3svwN.js +17 -0
- package/dist/{cash-stack-Ds76Du8m.js → cash-stack-D9AoDDwt.js} +3 -3
- package/dist/{certificate-D6xjhThs.js → certificate-CdEWgHQf.js} +3 -3
- package/dist/{checkmark-tfEAu7lj.js → checkmark-Q7x6tGhy.js} +2 -2
- package/dist/checkmark-circle-fill-CsvN5_PL.js +17 -0
- package/dist/{checkmark-circle-nACBJ24q.js → checkmark-circle-x7dzbp3I.js} +3 -3
- package/dist/{checkmark-small-63w5fAxg.js → checkmark-small-D35myntq.js} +2 -2
- package/dist/{chevron-down-CkQS-knD.js → chevron-down-C2iDorpW.js} +2 -2
- package/dist/{chevron-left-CBCMdMx6.js → chevron-left-ztPO84q-.js} +2 -2
- package/dist/{chevron-right-dIVWvPJu.js → chevron-right-C_JN0oDt.js} +2 -2
- package/dist/{chevron-up-D93IGU9z.js → chevron-up-CgG8n25g.js} +2 -2
- package/dist/circle-Bt3Nlr3q.js +17 -0
- package/dist/circle-small-filled-YMzP6yQU.js +14 -0
- package/dist/clock-BZHremOA.js +20 -0
- package/dist/coins-fkAk6dCo.js +17 -0
- package/dist/{contract-DI03_xrF.js → contract-BTa4HltT.js} +2 -2
- package/dist/{cross-o4n5KXxG.js → cross-Cn09MtQ_.js} +2 -2
- package/dist/cross-circle-fill-maan7Z5S.js +17 -0
- package/dist/{cross-circle-fill-small-CHMDaA3q.js → cross-circle-fill-small-DCz52AuN.js} +2 -2
- package/dist/da-DK-BlU1EczG.js +30 -0
- package/dist/da-DK-DCJhV2qS.js +32 -0
- package/dist/da-DK-DEdQ-QPp.js +13 -0
- package/dist/da-DK-DWA8uOd8.js +24 -0
- package/dist/{da-DK-BoQic3Gy.js → da-DK-DYpfNZdP.js} +5 -1
- package/dist/da-DK-DZwlENGe.js +13 -0
- package/dist/da-DK-Dc0QYG8m.js +68 -0
- package/dist/da-DK-DqkN5oIu.js +13 -0
- package/dist/da-DK-DvZ431fC.js +13 -0
- package/dist/{da-DK-B45X2VaJ.js → da-DK-JHZnsI59.js} +24 -4
- package/dist/da-DK-gnPgzwrG.js +27 -0
- package/dist/da-DK-h8DYQ_Iq.js +13 -0
- package/dist/da-DK-jK7c9UL0.js +57 -0
- package/dist/de-DE-0uSzhWg5.js +13 -0
- package/dist/{de-DE-Dwagawx1.js → de-DE-BXt1K0Tr.js} +5 -1
- package/dist/de-DE-COuUdtao.js +13 -0
- package/dist/de-DE-D3lLuF8z.js +27 -0
- package/dist/de-DE-D50lGOJE.js +24 -0
- package/dist/de-DE-DXR3EpEc.js +13 -0
- package/dist/de-DE-DrSSblam.js +13 -0
- package/dist/de-DE-DwOQKCuU.js +32 -0
- package/dist/de-DE-Dz2OsS1F.js +68 -0
- package/dist/de-DE-LQE_LFFL.js +13 -0
- package/dist/{de-DE-CWvgMDqU.js → de-DE-VGGEkxUT.js} +24 -4
- package/dist/de-DE-s0B-XZyp.js +30 -0
- package/dist/de-DE-wmerDL2e.js +57 -0
- package/dist/debouncedInputEvent-DbzJEMPo.js +109 -0
- package/dist/{form-rules-DhbF2mY4.js → debugStore-BvbyN1Oi.js} +4 -3
- package/dist/{document-1-DsCi9vmX.js → document-1-C08ut-Dt.js} +2 -2
- package/dist/document-person-vxlA6C5f.js +20 -0
- package/dist/documentUtils-Cc83Q1S6.js +218 -0
- package/dist/download-Drhk9k1f.js +17 -0
- package/dist/{dropinUtils-DHp5v5jB.js → dropinUtils-D0iun-Wp.js} +32 -24
- package/dist/edit-1-CFoDTMvQ.js +14 -0
- package/dist/en-US-AgtwE4Fl.js +63 -0
- package/dist/en-US-B96dpVon.js +27 -0
- package/dist/en-US-BQZhzROc.js +32 -0
- package/dist/en-US-CozY33On.js +13 -0
- package/dist/{en-US-DIdQJky-.js → en-US-CzEL6t1W.js} +24 -4
- package/dist/en-US-D-B35AoN.js +68 -0
- package/dist/en-US-D2yrwtzT.js +24 -0
- package/dist/{en-US-BbAzROHT.js → en-US-Dg505Oh3.js} +2 -1
- package/dist/en-US-d4WBvUW7.js +118 -0
- package/dist/en-US-fyGPkcqX.js +13 -0
- package/dist/en-US-gsp7CD_E.js +57 -0
- package/dist/en-US-h0JneJJl.js +13 -0
- package/dist/es-ES-B7dt4cn7.js +13 -0
- package/dist/es-ES-BI_jdT67.js +68 -0
- package/dist/es-ES-BOoPqnPI.js +32 -0
- package/dist/{es-ES-Bsoco8Fj.js → es-ES-BhNhIf08.js} +5 -1
- package/dist/{es-ES-DKCCgVF8.js → es-ES-Bn9_0wK0.js} +24 -4
- package/dist/es-ES-CXDJLKAI.js +27 -0
- package/dist/es-ES-DF_L5EDd.js +24 -0
- package/dist/es-ES-DNGEW6V_.js +13 -0
- package/dist/es-ES-DdGmXdxO.js +13 -0
- package/dist/es-ES-Qnc0Q6JH.js +57 -0
- package/dist/es-ES-ShWaSuJd.js +13 -0
- package/dist/es-ES-esfwvKwz.js +30 -0
- package/dist/es-ES-yMXcOjDL.js +13 -0
- package/dist/{external-link-BjladU3E.js → external-link-DCMYUMfW.js} +2 -2
- package/dist/fi-FI-CIYa9SyS.js +13 -0
- package/dist/fi-FI-ChApf7lf.js +13 -0
- package/dist/fi-FI-CjB6QC01.js +30 -0
- package/dist/fi-FI-CoI_94Fv.js +13 -0
- package/dist/fi-FI-DH6jpo9K.js +24 -0
- package/dist/fi-FI-Dn2MC8uW.js +57 -0
- package/dist/{fi-FI-Hhku9Lmc.js → fi-FI-PVFqd5Ra.js} +24 -4
- package/dist/fi-FI-REMsyTSr.js +13 -0
- package/dist/fi-FI-bZzNB1WB.js +32 -0
- package/dist/fi-FI-fArobrt5.js +27 -0
- package/dist/fi-FI-hwzizPnr.js +68 -0
- package/dist/fi-FI-xqnQ38yC.js +13 -0
- package/dist/{fi-FI-ClnsYt3L.js → fi-FI-ysUrBilO.js} +5 -1
- package/dist/{fr-FR-CJI0bIig.js → fr-FR-BSvSKazD.js} +5 -1
- package/dist/fr-FR-BSynpexF.js +13 -0
- package/dist/fr-FR-BWX14yb7.js +57 -0
- package/dist/fr-FR-BnblnBsx.js +24 -0
- package/dist/fr-FR-Br7OeDIe.js +13 -0
- package/dist/fr-FR-C1XqLftn.js +30 -0
- package/dist/fr-FR-CYZXbwc9.js +68 -0
- package/dist/fr-FR-CiwkAb3E.js +27 -0
- package/dist/fr-FR-CvHWmim-.js +13 -0
- package/dist/fr-FR-Q3urMjbl.js +13 -0
- package/dist/fr-FR-cTKcuHqX.js +32 -0
- package/dist/fr-FR-l5z31r7i.js +13 -0
- package/dist/{fr-FR-BYuKsZIb.js → fr-FR-mJK4hjwD.js} +24 -4
- package/dist/getFieldsWithExistingData-2sKn11MH.js +22 -0
- package/dist/{getName-DJlhsDj_.js → getName-DhbqyTuj.js} +2 -2
- package/dist/gift-CQ_DEma7.js +14 -0
- package/dist/{graph-DwYwlplw.js → graph-BJmqglH2.js} +3 -3
- package/dist/{graph-up-DpbCSPbc.js → graph-up-Bq6adtlX.js} +6 -6
- package/dist/{hasDataChanged-BgvxL-Hx.js → hasDataChanged-ZEmm9mgZ.js} +2 -2
- package/dist/headquarter-DNYyuuFq.js +21 -0
- package/dist/{hotel-JX0bjsSA.js → hotel-BuNql78Z.js} +3 -3
- package/dist/{iframeWidget-Bftkd3v_.js → iframeWidget-DhidmNAp.js} +4 -4
- package/dist/image-BSihO8lR.js +17 -0
- package/dist/info-filled-SQotHmT9.js +17 -0
- package/dist/info-vHTZWoJ7.js +21 -0
- package/dist/it-IT-B0YGvVgW.js +57 -0
- package/dist/it-IT-BAvmkEF8.js +13 -0
- package/dist/it-IT-BAvsF2TB.js +13 -0
- package/dist/{it-IT-Nl57jui-.js → it-IT-BTWkWSJq.js} +24 -4
- package/dist/it-IT-BeX7-OcD.js +13 -0
- package/dist/it-IT-C_651bEP.js +13 -0
- package/dist/it-IT-C_YDqVNT.js +30 -0
- package/dist/it-IT-Ckv8Ce4e.js +24 -0
- package/dist/it-IT-DERflsUd.js +32 -0
- package/dist/it-IT-DIbH-udG.js +27 -0
- package/dist/it-IT-Erh1DIlj.js +68 -0
- package/dist/{it-IT-BeC2Y1F8.js → it-IT-Qfzc8jnW.js} +5 -1
- package/dist/it-IT-vdMlF0Ha.js +13 -0
- package/dist/{localizeDateString-DHsivjy2.js → localizeDateString-DYxbMJdq.js} +2 -2
- package/dist/location-Q4oKvnkl.js +17 -0
- package/dist/mail-BOdyoVqB.js +14 -0
- package/dist/mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js +56 -0
- package/dist/{mapExistingFile-DW5ktJzM.js → mapExistingFile-DGRyOBjp.js} +5 -80
- package/dist/mapFinancialReportsToFinancialInformation-DBdQzrBs.js +67 -0
- package/dist/mapJpAddressSchemaToAddressLocalizations-uwuFlYx9.js +63 -0
- package/dist/mapLegalEntityToIndividualOnfidoSchema-C6mqHFxh.js +146 -0
- package/dist/{mapTransferInstrumentToPayoutAccount-CAoOlPMA.js → mapTransferInstrumentToPayoutAccount-CrO59de3.js} +6 -3
- package/dist/{minus-circle-filled-BGKeHaxJ.js → minus-circle-filled-kC2IUvKz.js} +3 -3
- package/dist/nl-NL-BMUYBqlF.js +57 -0
- package/dist/nl-NL-BwKrj-29.js +13 -0
- package/dist/nl-NL-Bx5p0nXL.js +24 -0
- package/dist/nl-NL-C3YJkSIj.js +13 -0
- package/dist/nl-NL-CM5U8ODq.js +13 -0
- package/dist/{nl-NL-BHkRnVrj.js → nl-NL-CTf7zH4M.js} +24 -4
- package/dist/nl-NL-Cjlmc0Ii.js +32 -0
- package/dist/{nl-NL-Cysslsh2.js → nl-NL-D7gBNWEY.js} +5 -1
- package/dist/nl-NL-DV4NqPVW.js +13 -0
- package/dist/nl-NL-DyeSX0PH.js +30 -0
- package/dist/nl-NL-JChnFdCY.js +13 -0
- package/dist/nl-NL-NlkjOSYi.js +27 -0
- package/dist/nl-NL-O9GCHMDA.js +68 -0
- package/dist/no-NO--OoWld_l.js +13 -0
- package/dist/no-NO-B6OPS2CA.js +13 -0
- package/dist/no-NO-B9618F4_.js +13 -0
- package/dist/no-NO-BQL_M1pn.js +13 -0
- package/dist/no-NO-Bs3-6MDM.js +24 -0
- package/dist/{no-NO-zSnPtrDi.js → no-NO-C-gCYc9q.js} +5 -1
- package/dist/no-NO-CA1aR6Wh.js +68 -0
- package/dist/no-NO-CY_XHrYd.js +32 -0
- package/dist/no-NO-Crlsj6HG.js +27 -0
- package/dist/no-NO-D4BECLky.js +130 -0
- package/dist/no-NO-DKbWxgF-.js +57 -0
- package/dist/no-NO-DPRsAb_o.js +30 -0
- package/dist/{no-NO-kaAdT9B8.js → no-NO-RfTK9KAV.js} +24 -4
- package/dist/{options-horizontal-nJ9-ButA.js → options-horizontal-CBmbNv7R.js} +4 -4
- package/dist/partner-CPjsrePY.js +18 -0
- package/dist/pay-by-link-plane-BVZndh67.js +22 -0
- package/dist/{payout-iEmHhgQ4.js → payout-ChUEoLjt.js} +6 -6
- package/dist/payout-verification-instant-5u-wvFKv.js +41 -0
- package/dist/payout-verification-manual-BH2mu0UW.js +90 -0
- package/dist/person-DGjUU4S4.js +17 -0
- package/dist/{plus-CwLva7fq.js → plus-CWXA5wdX.js} +2 -2
- package/dist/plus-circle-filled-CbC0u2Y1.js +17 -0
- package/dist/process-field-configurations-IsZZTbcC.js +324 -0
- package/dist/pt-BR--kaJvtE6.js +57 -0
- package/dist/pt-BR-AZ3roErF.js +13 -0
- package/dist/pt-BR-BKQRvAfq.js +13 -0
- package/dist/pt-BR-BbFJsIVX.js +55 -0
- package/dist/pt-BR-BfxgHKY4.js +27 -0
- package/dist/pt-BR-C-C4ZJ9x.js +30 -0
- package/dist/pt-BR-C0I_kTQ6.js +13 -0
- package/dist/pt-BR-CBAe0SnK.js +32 -0
- package/dist/pt-BR-DSENwwGu.js +24 -0
- package/dist/pt-BR-NtLaWlnZ.js +68 -0
- package/dist/pt-BR-gh27BC86.js +13 -0
- package/dist/pt-BR-nU_2Wbo5.js +54 -0
- package/dist/pt-BR-ur86nRrK.js +37 -0
- package/dist/pt-BR-zuqB_CBf.js +13 -0
- package/dist/{pt-PT-Xm-pm3mb.js → pt-PT-B4F_5NWi.js} +24 -4
- package/dist/pt-PT-BZ5ZZm6G.js +57 -0
- package/dist/pt-PT-Bf4IV7wp.js +13 -0
- package/dist/pt-PT-CFY1O_K0.js +13 -0
- package/dist/pt-PT-CIo3mlXL.js +24 -0
- package/dist/{pt-PT-CjsyP_OK.js → pt-PT-CVNEcs32.js} +5 -1
- package/dist/pt-PT-D2Xe-OdG.js +13 -0
- package/dist/pt-PT-DSxxVA0f.js +68 -0
- package/dist/pt-PT-DVKtHjIY.js +13 -0
- package/dist/pt-PT-DYihdcJx.js +13 -0
- package/dist/pt-PT-Dm5DRDrd.js +32 -0
- package/dist/pt-PT-LbneTcRx.js +30 -0
- package/dist/pt-PT-TKg5FLat.js +27 -0
- package/dist/recurring-CkL4cCM2.js +17 -0
- package/dist/{reporting-DlRoibD7.js → reporting-DerosUNm.js} +1 -2
- package/dist/resolveEnvironment-CM4-oCnd.js +164 -0
- package/dist/revenue-accelerate-Dp4Ns_5c.js +17 -0
- package/dist/{rules-DP3jxPzq.js → rules-BFaDNVc6.js} +14 -8
- package/dist/save-Fgy7EDid.js +14 -0
- package/dist/search-C4GZ-Rc1.js +17 -0
- package/dist/{show-uL6I-rMo.js → show-yPjPmEf8.js} +3 -3
- package/dist/sl-SI-59OQIZ3f.js +13 -0
- package/dist/sl-SI-8SzKx7XD.js +30 -0
- package/dist/sl-SI-C-C-KJCX.js +27 -0
- package/dist/sl-SI-C0wSbuau.js +13 -0
- package/dist/{sl-SI-Br0UEUPL.js → sl-SI-CUCrzJQv.js} +5 -1
- package/dist/sl-SI-DdjgSySI.js +13 -0
- package/dist/sl-SI-DtdGMD6i.js +57 -0
- package/dist/{solution-payments-DTAuLSWF.js → solution-payments-CNAat9h7.js} +2 -2
- package/dist/store-IuAkDRAp.js +14 -0
- package/dist/style.css +2655 -2214
- package/dist/styles-CLV89_hH.js +2670 -2229
- package/dist/sv-SE-B7cpKp1l.js +30 -0
- package/dist/sv-SE-BHfydid5.js +27 -0
- package/dist/sv-SE-BHkYspm-.js +130 -0
- package/dist/{sv-SE-BtXmvxx4.js → sv-SE-C6uPh9g5.js} +5 -1
- package/dist/sv-SE-CQWBP7n1.js +13 -0
- package/dist/sv-SE-CRBRuE8Z.js +32 -0
- package/dist/sv-SE-CXaMlJCI.js +24 -0
- package/dist/{sv-SE-B3zoXMuH.js → sv-SE-DGpvVvWj.js} +24 -4
- package/dist/sv-SE-DsPdegWB.js +13 -0
- package/dist/sv-SE-DtKjf4Go.js +13 -0
- package/dist/sv-SE-K1QT1cOt.js +68 -0
- package/dist/sv-SE-kR514dO1.js +57 -0
- package/dist/sv-SE-zTiw1bUU.js +13 -0
- package/dist/terminal-1-_me9J9h0.js +18 -0
- package/dist/trackNavigation-db_h46BT.js +28 -0
- package/dist/types/api/address/useAddressCleanse.d.ts +6 -2
- package/dist/types/api/address/useRetrieveAddress.d.ts +3 -1
- package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +18 -0
- package/dist/types/api/businessLines/businessLines.types.d.ts +21 -0
- package/dist/types/api/businessLines/useBusinessLines.d.ts +4 -2
- package/dist/types/api/businessLines/useCreateBusinessLine.d.ts +7 -0
- package/dist/types/api/businessLines/useDeleteBusinessLine.d.ts +5 -0
- package/dist/types/api/businessLines/useUpdateBusinessLines.d.ts +7 -0
- package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +1 -0
- package/dist/types/api/companySearch/useCompanySearch.d.ts +1 -0
- package/dist/types/api/companySelection/useCompanySelection.d.ts +2 -18
- package/dist/types/api/configurations/useScenarios.d.ts +12 -12
- package/dist/types/api/documentValidation/useDocumentValidate.d.ts +15 -0
- package/dist/types/api/industryCodes/industryCodes.types.d.ts +2 -1
- package/dist/types/api/industryCodes/useIndustryCodes.d.ts +3 -3
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +16 -16
- package/dist/types/api/{pciTemplate/pciTemplate.types.d.ts → pci/pci.types.d.ts} +9 -1
- package/dist/types/api/{pciTemplate → pci}/usePciQuestionnaire.d.ts +1 -1
- package/dist/types/api/{pciTemplate → pci}/usePciQuestionnaireList.d.ts +1 -1
- package/dist/types/api/{pciTemplate → pci}/usePciStatus.d.ts +1 -1
- package/dist/types/api/pci/usePciTemplate.d.ts +8 -0
- package/dist/types/api/queryKeys.d.ts +5 -4
- package/dist/types/components/BankAccount/fields/BankAccountFormat/types.d.ts +2 -1
- package/dist/types/components/BankAccount/fields/PreferredCurrency/PreferredCurrency.d.ts +10 -0
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentClassification.d.ts +5 -0
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirementsModal.d.ts +6 -0
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +2 -2
- package/dist/types/components/BankAccount/forms/BankDocument/validate.d.ts +3 -0
- package/dist/types/components/BankAccount/forms/BankVerification/BankVerification.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankVerification/types.d.ts +7 -0
- package/dist/types/components/BankAccount/forms/BankVerification/verification/overlay/BankVerificationOverlay.d.ts +3 -0
- package/dist/types/components/BankAccount/forms/PayoutAccount/payoutAccountFormat.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +2 -0
- package/dist/types/components/BankAccount/forms/PayoutCountryDetails/PayoutCountryDetails.d.ts +3 -0
- package/dist/types/components/BankAccount/forms/PayoutCountryDetails/PayoutRequirementsModal.d.ts +8 -0
- package/dist/types/components/BankAccount/forms/PayoutCountryDetails/types.d.ts +13 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetails.d.ts +6 -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/forms/PayoutVerificationMethod/PayoutVerificationMethod.d.ts +1 -2
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +5 -5
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/utils.d.ts +2 -0
- package/dist/types/components/BankAccount/mapping/mapPayoutAccountSchemaToApiBankAccount.d.ts +3 -2
- package/dist/types/components/BankAccount/mapping/mapPayoutDetailsToTransferInstrument.d.ts +2 -1
- package/dist/types/components/BankAccount/mapping/mapTransferInstrumentToPayoutAccount.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +1052 -642
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +3 -3
- package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +5 -4
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformation.d.ts +1 -2
- package/dist/types/components/Business/forms/AdditionalInformation/{VerifiedBusinessCard.d.ts → VerifiedBusinessCard/VerifiedBusinessCard.d.ts} +2 -3
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +6 -7
- package/dist/types/components/Business/forms/BasicInformation/BasicInformation.d.ts +1 -4
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +5 -18
- package/dist/types/components/Business/{tasks/BusinessDetailsMultiformDropin → forms/BusinessDetails}/BusinessDetailsMultiform.d.ts +2 -1
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +0 -35
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +0 -21
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +0 -1
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelection.d.ts +13 -3
- package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +0 -11
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructure.d.ts +3 -3
- package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +0 -6
- package/dist/types/components/Business/forms/ProofOfDirectorDocument/ProofOfDirectorDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfDirectorDocument/types.d.ts +0 -3
- package/dist/types/components/Business/forms/ProofOfOwnershipDocument/ProofOfOwnershipDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfOwnershipDocument/types.d.ts +0 -3
- package/dist/types/components/Business/forms/ProofOfSignatoryDocument/ProofOfSignatoryDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfSignatoryDocument/types.d.ts +0 -3
- package/dist/types/components/Business/forms/RegistrationDocument/RegistrationDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/RegistrationDocument/types.d.ts +3 -5
- package/dist/types/components/Business/forms/TaxDocument/TaxDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/TaxDocument/types.d.ts +3 -5
- package/dist/types/components/Business/forms/forms.types.d.ts +0 -3
- package/dist/types/components/Business/forms/rules.d.ts +3 -1
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -2
- package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +3 -3
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +5 -4
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +16 -10
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +26 -5
- package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +5 -0
- package/dist/types/components/Business/utils/companyTypeMetadata.d.ts +3 -3
- package/dist/types/components/Business/utils/requestingCapabilities.d.ts +3 -0
- package/dist/types/components/BusinessLines/constants.d.ts +31 -0
- package/dist/types/components/BusinessLines/fields/Carousel/Carousel.d.ts +30 -0
- package/dist/types/components/BusinessLines/fields/SalesChannels/SalesChannels.d.ts +2 -0
- package/dist/types/components/BusinessLines/fields/SalesChannels/types.d.ts +6 -0
- package/dist/types/components/BusinessLines/fields/SctaField/SctaField.d.ts +2 -0
- package/dist/types/components/BusinessLines/fields/SctaField/types.d.ts +6 -0
- package/dist/types/components/BusinessLines/fields/WebDataField/WebDataField.d.ts +2 -0
- package/dist/types/components/BusinessLines/fields/WebDataField/types.d.ts +6 -0
- package/dist/types/components/BusinessLines/forms/IndustryCodesForm/IndustryCodesForm.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/IndustryCodesForm/types.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/SalesChannelsForm/SalesChannelsForm.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/SalesChannelsForm/types.d.ts +3 -0
- package/dist/types/components/BusinessLines/forms/SctaForm/SctaForm.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/SctaForm/SctaInfoModal.d.ts +3 -0
- package/dist/types/components/BusinessLines/forms/SctaForm/types.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/rules.d.ts +6 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLineModal/BusinessLineModal.d.ts +6 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLines.d.ts +9 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesDropin.d.ts +2 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesStore.d.ts +3 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/ExistingBusinessLines/ExistingBusinessLines.d.ts +8 -0
- package/dist/types/components/BusinessLines/tasks/types.d.ts +19 -0
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +40 -0
- package/dist/types/components/BusinessLines/tasks/validate.d.ts +11 -0
- package/dist/types/components/Contract/hooks/useSalesChannels.d.ts +2 -0
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/ServiceAgreementDropin.d.ts +1 -1
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -2
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +1328 -758
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBasicCompanyInformation.d.ts +0 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBusinessInformation.d.ts +0 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.d.ts +0 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingOwnershipStructure.d.ts +0 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingRegisteredAddress.d.ts +0 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +7 -5
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsType.d.ts +3 -0
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/sofStore.d.ts +1 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +14 -13
- package/dist/types/components/EFP/tasks/TaxReportingDropin/taxClassificationStore.d.ts +1 -1
- package/dist/types/components/EFP/tasks/TaxReportingDropin/utils.d.ts +6 -6
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/BusinessFinancingComponent.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +3 -3
- package/dist/types/components/EmbeddedDropins/SignPCIComponent/SignPCIComponent.d.ts +3 -1
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/content.d.ts +3 -3
- package/dist/types/components/Individual/fields/NameFields/NameFields.d.ts +3 -0
- package/dist/types/components/Individual/forms/Individual/IdVerification/idVerificationProviderId.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/idVerificationMethodMetadata.d.ts +3 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +2 -0
- package/dist/types/components/Individual/forms/Individual/rules.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +2 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IdNowVerificationModal/isIdNowModalOpen.d.ts +3 -3
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +2 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaire.types.d.ts +4 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaireModalContent.d.ts +3 -1
- package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +2 -2
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +2 -8
- package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +2 -6
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.d.ts +1 -1
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.types.d.ts +2 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +57 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/RemediationAlerts/RemediationAlerts.d.ts +7 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/RemediationAlerts/remediation.config.d.ts +19 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +0 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/utils.d.ts +3 -0
- package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoStore.d.ts +1 -1
- package/dist/types/components/Shared/EntityAssociation/EntityAssociation.d.ts +1 -1
- package/dist/types/components/Shared/EntityAssociation/types.d.ts +2 -4
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +0 -2
- package/dist/types/components/Shared/FormNavigation/FormNavigation.d.ts +1 -1
- package/dist/types/components/Shared/FormNavigation/types.d.ts +0 -2
- package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +1 -3
- package/dist/types/components/Shared/Introduction/copy.d.ts +2 -2
- package/dist/types/components/Shared/Summary/Summary.d.ts +1 -1
- package/dist/types/components/Shared/Summary/types.d.ts +1 -2
- package/dist/types/components/Shared/TaskVerificationStatus/TaskVerificationStatus.d.ts +18 -0
- package/dist/types/components/Shared/devex/DebugListener/DebugFormData.d.ts +1 -0
- package/dist/types/components/Shared/devex/DebugListener/debugStore.d.ts +5 -0
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +1 -0
- package/dist/types/components/Shared/fields/IndustryCodeField/IndustryCodeField.d.ts +4 -0
- package/dist/types/components/Shared/fields/IndustryCodeField/fieldConfig.d.ts +3 -0
- package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +22 -0
- package/dist/types/components/Shared/fields/IndustryCodeField/validate.d.ts +3 -0
- package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/fieldConfig.d.ts +4 -4
- package/dist/types/components/Shared/forms/Address/localized/jp/JpAddress.d.ts +7 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/ReadonlyTextField.d.ts +7 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/jpAddressSchema.d.ts +5 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/mapAddressLocalizationToJpAddressSchema.d.ts +3 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSchemaToAddressLocalizations.d.ts +3 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.d.ts +4 -0
- package/dist/types/components/Shared/forms/Address/utils.d.ts +3 -2
- package/dist/types/components/Shared/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -2
- package/dist/types/components/Shared/forms/RegistrationAddress/RegistrationAddressMultiform.d.ts +3 -0
- package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +3 -2
- package/dist/types/components/Shared/tasks/CustomerSupport/mapping/customerSupportKeyMapping.d.ts +4 -0
- package/dist/types/components/Shared/tasks/TaskList/TaskList.d.ts +3 -1
- package/dist/types/components/Shared/tasks/TaskList/TaskListItem.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/types.d.ts +4 -12
- package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +1 -1
- package/dist/types/components/SoleProprietorship/pages/SoleProprietorshipPage.d.ts +1 -2
- package/dist/types/components/Trust/forms/TrustRegistrationDetails/TrustRegistrationDetailsMultiform.d.ts +2 -0
- package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -16
- package/dist/types/components/Trust/pages/TrustMemberCompanyPage.d.ts +1 -2
- package/dist/types/components/Trust/tasks/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +2 -2
- package/dist/types/components/Trust/tasks/TrustDropin/TrustMultiform.d.ts +21 -0
- package/dist/types/components/Trust/tasks/TrustDropin/TrustMultiformDropin.d.ts +2 -0
- package/dist/types/components/Trust/tasks/TrustDropin/validate.d.ts +5 -0
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +1 -2
- package/dist/types/components/ui/atoms/Header/Header.d.ts +12 -0
- package/dist/types/components/ui/atoms/Link/Link.types.d.ts +1 -1
- package/dist/types/components/ui/atoms/ListItem/ListItem.d.ts +1 -2
- package/dist/types/components/ui/atoms/Loader/Loader.d.ts +1 -5
- package/dist/types/components/ui/atoms/Modal/MaybeModal.d.ts +1 -1
- package/dist/types/components/ui/atoms/RadioCard/RadioCard.d.ts +1 -0
- package/dist/types/components/ui/atoms/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.d.ts +4 -4
- package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.types.d.ts +8 -9
- package/dist/types/components/ui/atoms/Status/Status.d.ts +9 -3
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +10 -0
- package/dist/types/components/ui/atoms/TileGroup/TileGroup.d.ts +3 -1
- package/dist/types/components/ui/atoms/Typography/Typography.types.d.ts +1 -1
- package/dist/types/components/ui/layout/StackLayout/StackLayout.d.ts +29 -7
- package/dist/types/components/ui/molecules/Card/Card.d.ts +1 -1
- package/dist/types/components/ui/molecules/Card/types.d.ts +1 -0
- package/dist/types/components/ui/molecules/DocumentGuidance/DocumentGuidance.types.d.ts +1 -2
- package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +2 -1
- package/dist/types/components/ui/molecules/Dropzone/types.d.ts +1 -0
- package/dist/types/components/ui/molecules/EmbeddedStatus/EmbeddedStatus.d.ts +2 -23
- package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +3 -3
- package/dist/types/components/ui/molecules/EmbeddedStatus/types.d.ts +23 -0
- package/dist/types/context/ExperimentContext/types.d.ts +24 -23
- package/dist/types/context/I18nProvider/I18nContext.d.ts +3 -0
- package/dist/types/context/SettingsContext/SettingsProvider.d.ts +1 -1
- package/dist/types/context/SettingsContext/types.d.ts +3 -0
- package/dist/types/context/StateContext/types.d.ts +2 -1
- package/dist/types/core/errorMapping.d.ts +4 -1
- package/dist/types/core/models/api/address.d.ts +5 -0
- package/dist/types/core/models/api/capability.d.ts +20 -0
- package/dist/types/core/models/api/legal-entity-association.d.ts +1 -1
- package/dist/types/core/models/api/source-of-funds.d.ts +5 -0
- package/dist/types/core/models/api/transfer-instrument.d.ts +2 -0
- package/dist/types/core/process-field-configurations.d.ts +4 -1
- package/dist/types/core/user-events.d.ts +22 -11
- package/dist/types/datasets/generators/getAccountFormatForCountry.d.ts +1 -0
- package/dist/types/embeds/individual-configuration/AdyenIndividual.d.ts +3 -3
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts +5 -5
- package/dist/types/embeds/individual-status/AdyenManageIndividual.d.ts +3 -3
- package/dist/types/embeds/individual-status/adyen-individual-status.types.d.ts +5 -5
- package/dist/types/embeds/terms-of-service-management/AdyenTermsOfService.d.ts +3 -3
- package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.types.d.ts +5 -5
- package/dist/types/embeds/terms-of-service-status/AdyenManageTermsOfService.d.ts +3 -3
- package/dist/types/embeds/terms-of-service-status/{adyen-manage-terms-of-service.types.d.ts → adyen-terms-of-service-status.types.d.ts} +5 -5
- package/dist/types/embeds/transfer-instrument-configuration/AdyenTransferInstrument.d.ts +3 -3
- package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.types.d.ts +5 -5
- package/dist/types/embeds/transfer-instrument-management/AdyenManageTransferInstrument.d.ts +3 -3
- package/dist/types/embeds/transfer-instrument-management/adyen-transfer-instrument-management.types.d.ts +5 -5
- package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +2 -6
- package/dist/types/hooks/{useAnalytics.d.ts → useAnalytics/useAnalytics.d.ts} +1 -7
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +6 -8
- package/dist/types/hooks/useUboQuestionnaire.d.ts +25 -0
- package/dist/types/language/Language.d.ts +10 -0
- package/dist/types/language/types.d.ts +21 -7
- package/dist/types/language/utils.d.ts +2 -2
- package/dist/types/stores/formState.d.ts +2 -0
- package/dist/types/stores/globalStore/taskTypes.d.ts +1 -1
- package/dist/types/types/datasets/currency.d.ts +0 -1
- package/dist/types/types/form-rules.d.ts +3 -0
- package/dist/types/types/form.d.ts +0 -2
- package/dist/types/utils/addLinkedFields.d.ts +26 -2
- package/dist/types/utils/analytics/convertToEmbeddedEvent.d.ts +9 -0
- package/dist/types/utils/analytics/debouncedInputEvent.d.ts +30 -0
- package/dist/types/utils/analytics/getAnalyticsAssociatedEntityDetails.d.ts +13 -0
- package/dist/types/utils/{trackNavigation.d.ts → analytics/trackNavigation.d.ts} +1 -1
- package/dist/types/utils/api/documentUtils.d.ts +1 -0
- package/dist/types/utils/customerSupportUtils.d.ts +3 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/filterProblemsByTaskForms.d.ts +12 -0
- package/dist/types/utils/getName.d.ts +1 -1
- package/dist/types/utils/getSSNType.d.ts +1 -0
- package/dist/types/utils/getTrustedFields.d.ts +9 -0
- package/dist/types/utils/japanSupportUtils.d.ts +2 -0
- package/dist/types/utils/textTransformation/toFullWidth.d.ts +6 -0
- package/dist/types/utils/translation.d.ts +3 -2
- package/dist/types/utils/validatorUtils.d.ts +1 -0
- package/dist/{types-K58FM7k4.js → types-BXl6V78E.js} +27 -4
- package/dist/types-CoA3qKLi.js +34 -0
- package/dist/{types-CP1NRoE8.js → types-DFkJwAG7.js} +2 -2
- package/dist/{types-CAznNNSI.js → types-Dk94b8kx.js} +27 -26
- package/dist/upload-BF65P4KM.js +17 -0
- package/dist/{useAssociatedLegalEntity-G30FPhOX.js → useAssociatedLegalEntity-BXXTCq2H.js} +2 -2
- package/dist/useCreateLegalEntity-BNSFNiHp.js +31 -0
- package/dist/{useDataset-BgvQQEKd.js → useDataset-CLPw5wNd.js} +102 -2
- package/dist/{useForm-C1DW3mPC.js → useForm-BkgSiM1i.js} +16 -86
- package/dist/useGlobalData-BeYozqdQ.js +68 -0
- package/dist/{useMultiForm-BucfLW49.js → useMultiForm-2sO8cnmJ.js} +4 -4
- package/dist/{useOnboardingStatus-CTgWLZxC.js → useOnboardingStatus-DX9R5XKU.js} +2 -2
- package/dist/{useScenarios-B7IWZ3xW.js → useScenarios-CVql9dlu.js} +2 -2
- package/dist/{useTermsOfServiceStatus-B0dIrYTA.js → useTermsOfServiceStatus-D1yYDEeh.js} +2 -2
- package/dist/{useToastContext-DGMeMy5R.js → useToastContext-CbM0O-ZH.js} +17 -8
- package/dist/{useUnincorporatedPartnershipMembers-BCvmGMOX.js → useUnincorporatedPartnershipMembers-BpDu4QKJ.js} +5 -5
- package/dist/useUpdateBusinessLines-DSH6ZmMJ.js +46 -0
- package/dist/useUpdateLegalEntity-DnbryhbN.js +39 -0
- package/dist/utils-BwrYpRdV.js +774 -0
- package/dist/{utils-Bwnj33y_.js → utils-m640rX-u.js} +6 -46
- package/dist/validate-B8aB6l_3.js +41 -0
- package/dist/{validate-B5PwC1oL.js → validate-Cf-TAdac.js} +2 -2
- package/dist/{validationError-DOCbfk7K.js → validationError-BVdpr3ww.js} +2 -2
- package/dist/warning-circle-fill-CEN1WL7A.js +17 -0
- package/dist/warning-diamond-filled-BfXMlVrG.js +17 -0
- package/dist/webinar-DqjqrNEv.js +22 -0
- package/package.json +81 -82
- package/dist/4-people-CCqdlDEw.js +0 -24
- package/dist/BusinessDetailsDropin-CRFPvWuD.js +0 -5088
- package/dist/BusinessFinancingComponent-y2_kC8bx.js +0 -45
- package/dist/BusinessFinancingPage-BOG7yrw6.js +0 -40
- package/dist/Card-BMuquALf.js +0 -145
- package/dist/Confirm-DwutojkY.js +0 -64
- package/dist/CreateIndividualComponent-VZWLAo0l.js +0 -72
- package/dist/CreateTransferInstrumentComponent-OtReN6Cy.js +0 -67
- package/dist/DecisionMakerDetailsPage-BJUwR4R7.js +0 -100
- package/dist/DecisionMakers-BDNa3HcC.js +0 -591
- package/dist/Dropzone-D6dXhmL4.js +0 -218
- package/dist/FormFlow-CZ9f5X0C.js +0 -216
- package/dist/InputDate-CHygOGiS.js +0 -43
- package/dist/InputGroup-WBfGDV5F.js +0 -32
- package/dist/Link-BFdxU8qh.js +0 -35
- package/dist/ManageIndividualComponent-By_fCmN1.js +0 -47
- package/dist/ManageTermsOfServiceComponent-D7F44OPD.js +0 -47
- package/dist/OnboardingDropinComponent-B0GrJ_pR.js +0 -4301
- package/dist/RadioGroup-CYDXrtrO.js +0 -143
- package/dist/RegistrationAddress-qtMZa31b.js +0 -2334
- package/dist/RootBusinessDetailsPage-rCbGLBEv.js +0 -1870
- package/dist/RootIndividualDetailsPage-B3TkB6Xj.js +0 -77
- package/dist/SoleProprietorshipPage-JKNrAy74.js +0 -50
- package/dist/Spacer-BK3jDget.js +0 -18
- package/dist/StructuredList-DaepaiVE.js +0 -38
- package/dist/TaskItemStatus-B38keERo.js +0 -125
- package/dist/TaskStatusIndicator-BIvTrQtf.js +0 -69
- package/dist/TaxInformationField-DS0m73if.js +0 -3062
- package/dist/TileGroup-CztY53P9.js +0 -174
- package/dist/TrustDetailsPage-C791Wu5u.js +0 -1205
- package/dist/TrustMemberCompanyPage-BOQ5D3y4.js +0 -60
- package/dist/TrustMemberIndividualPage-BPIXX2Mh.js +0 -66
- package/dist/analytics-3-a-Od7Z.js +0 -61
- package/dist/bafinUtils-Bar3qiJA.js +0 -457
- package/dist/bin-Bgdj6KzC.js +0 -18
- package/dist/capital-CF9_Ev99.js +0 -17
- package/dist/checkmark-circle-fill-BhvuqTl9.js +0 -17
- package/dist/circle-Dgfa7GUy.js +0 -17
- package/dist/coins-CFu331p2.js +0 -17
- package/dist/commonValidators-Bk0SSjsH.js +0 -24
- package/dist/currency-BGwQyxBo.js +0 -36
- package/dist/da-DK-BJ7aTPir.js +0 -13
- package/dist/da-DK-BTpZzEgA.js +0 -15
- package/dist/da-DK-CeNMXUfE.js +0 -23
- package/dist/da-DK-D0N1TVVU.js +0 -58
- package/dist/da-DK-D4H69PX3.js +0 -30
- package/dist/da-DK-DStNe471.js +0 -22
- package/dist/da-DK-q2b_1elr.js +0 -35
- package/dist/de-DE-C78RLE2G.js +0 -13
- package/dist/de-DE-CGoBPCPv.js +0 -22
- package/dist/de-DE-D2ByeIZs.js +0 -35
- package/dist/de-DE-DjOUNvp6.js +0 -15
- package/dist/de-DE-Dtuu-nE7.js +0 -58
- package/dist/de-DE-JI-7mvxy.js +0 -23
- package/dist/de-DE-wp5-H-ov.js +0 -30
- package/dist/document-person-DBlLin9u.js +0 -20
- package/dist/download-B8_c4ARV.js +0 -17
- package/dist/edit-1-D6f6zk9p.js +0 -14
- package/dist/en-US-546hB2Wn.js +0 -60
- package/dist/en-US-BQpgt41j.js +0 -37
- package/dist/en-US-BTYdAWXp.js +0 -15
- package/dist/en-US-CAm3meB1.js +0 -30
- package/dist/en-US-CQ3angjM.js +0 -22
- package/dist/en-US-DHq7VYFs.js +0 -23
- package/dist/es-ES-BsQpwaPN.js +0 -58
- package/dist/es-ES-BtUSEzkE.js +0 -13
- package/dist/es-ES-CKMfS8Yy.js +0 -22
- package/dist/es-ES-Cj7q7fWO.js +0 -15
- package/dist/es-ES-DOVPTeyf.js +0 -23
- package/dist/es-ES-Ds3-DtqZ.js +0 -30
- package/dist/es-ES-WWftn3JX.js +0 -35
- package/dist/fi-FI-BJ9RzrL3.js +0 -58
- package/dist/fi-FI-BNcnKrJ9.js +0 -15
- package/dist/fi-FI-Cvar63RH.js +0 -13
- package/dist/fi-FI-D522KHGk.js +0 -23
- package/dist/fi-FI-D9E_KaJi.js +0 -35
- package/dist/fi-FI-DPNeTsJS.js +0 -30
- package/dist/fi-FI-REYOX46I.js +0 -22
- package/dist/fieldConfigurations-B8bDFQ53.js +0 -458
- package/dist/formatCurrency-CMOSdJMB.js +0 -29
- package/dist/fr-FR-B5543Fe-.js +0 -13
- package/dist/fr-FR-Bn3D6mmY.js +0 -15
- package/dist/fr-FR-CNR5-s9g.js +0 -58
- package/dist/fr-FR-ChmNQciP.js +0 -30
- package/dist/fr-FR-Cv0k-3Xc.js +0 -35
- package/dist/fr-FR-D9qaP6nx.js +0 -22
- package/dist/fr-FR-DInQKkTd.js +0 -23
- package/dist/gift-SdNY6AqI.js +0 -14
- package/dist/headquarter-C6AsewcP.js +0 -21
- package/dist/image-eUqBiRX_.js +0 -17
- package/dist/info-Wao3PEQK.js +0 -21
- package/dist/isEmpty-CuQFhMf0.js +0 -23
- package/dist/it-IT-BV9K87FK.js +0 -58
- package/dist/it-IT-Biduphjt.js +0 -22
- package/dist/it-IT-C_fNHhjE.js +0 -35
- package/dist/it-IT-CjEYONJg.js +0 -23
- package/dist/it-IT-Dd6xGSe-.js +0 -13
- package/dist/it-IT-DvM-9LpM.js +0 -15
- package/dist/it-IT-eCrTB65E.js +0 -30
- package/dist/keys-BpNgnAsD.js +0 -23
- package/dist/location-YXhcBMDy.js +0 -17
- package/dist/mail-Z_IE_hkw.js +0 -14
- package/dist/mapScriptLocalization-CI-Ydp2z.js +0 -72
- package/dist/nl-NL-BHqiO21q.js +0 -15
- package/dist/nl-NL-D2QKudfh.js +0 -30
- package/dist/nl-NL-DLedC3mO.js +0 -35
- package/dist/nl-NL-DVENFpd5.js +0 -13
- package/dist/nl-NL-DywVQ9km.js +0 -58
- package/dist/nl-NL-G1wVnmzT.js +0 -22
- package/dist/nl-NL-Zcq0bXd-.js +0 -23
- package/dist/no-NO-B8oxqfNI.js +0 -58
- package/dist/no-NO-BTtAuqCb.js +0 -22
- package/dist/no-NO-BxReX6oF.js +0 -23
- package/dist/no-NO-CKT9kLAH.js +0 -15
- package/dist/no-NO-C_snYWBc.js +0 -30
- package/dist/no-NO-CpVal4cV.js +0 -35
- package/dist/no-NO-Dn2UkdoI.js +0 -13
- package/dist/partner-COG2_Erh.js +0 -21
- package/dist/pay-by-link-plane-Pv7Babgn.js +0 -22
- package/dist/person-CdGfItMU.js +0 -17
- package/dist/plus-circle-filled-Cnf1oJTm.js +0 -17
- package/dist/pt-PT-BkvMsoK4.js +0 -35
- package/dist/pt-PT-BvK00TeI.js +0 -58
- package/dist/pt-PT-C-hbNnsB.js +0 -30
- package/dist/pt-PT-D2elvnDU.js +0 -15
- package/dist/pt-PT-Dk48OVtf.js +0 -22
- package/dist/pt-PT-N0njcfLO.js +0 -23
- package/dist/pt-PT-_o5xgnxS.js +0 -13
- package/dist/resolveEnvironment-BGYn6Ls_.js +0 -84
- package/dist/revenue-accelerate-rtXA-8EE.js +0 -17
- package/dist/save-BofgDbDX.js +0 -14
- package/dist/search-BjMkvQh0.js +0 -17
- package/dist/sl-SI-BB7iVcFI.js +0 -22
- package/dist/sl-SI-BhVTSmhQ.js +0 -30
- package/dist/sl-SI-BylvpF-X.js +0 -15
- package/dist/sl-SI-Cth2Qa5T.js +0 -35
- package/dist/sl-SI-D_rqR0D7.js +0 -35
- package/dist/sl-SI-MZoDApq9.js +0 -23
- package/dist/sl-SI-NI2OJAvm.js +0 -58
- package/dist/store-CkhgQMl0.js +0 -14
- package/dist/sv-SE-66rqYTxi.js +0 -30
- package/dist/sv-SE-BUfESAQK.js +0 -13
- package/dist/sv-SE-CAZpDX9G.js +0 -58
- package/dist/sv-SE-DCFSf4Oj.js +0 -23
- package/dist/sv-SE-DbI-1JqN.js +0 -22
- package/dist/sv-SE-Dwz1yTrB.js +0 -15
- package/dist/sv-SE-OPOHtqtP.js +0 -35
- package/dist/terminal-1-ewywjFJI.js +0 -18
- package/dist/toCapitalized-Bq7laD0b.js +0 -13
- package/dist/translation-DJHWTow9.js +0 -472
- package/dist/types/api/pciTemplate/usePciTemplate.d.ts +0 -14
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformationMultiform.d.ts +0 -9
- package/dist/types/components/Business/forms/BasicInformation/BasicInformationMultiform.d.ts +0 -9
- package/dist/types/components/Business/forms/BusinessDetails/BusinessDetails.d.ts +0 -3
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelectionMultiform.d.ts +0 -14
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructureMultiform.d.ts +0 -4
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiformDropin.d.ts +0 -5
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/types.d.ts +0 -2
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/utils.d.ts +0 -21
- package/dist/types/components/BusinessLines/tasks/BusinessLinesDropin.d.ts +0 -5
- package/dist/types/components/Contract/hooks/useSalesChannelsSettings.d.ts +0 -3
- package/dist/types/components/Shared/tasks/TaskList/TaskItemStatus.d.ts +0 -2
- package/dist/types/components/ui/atoms/FormHeader/FormHeader.d.ts +0 -8
- package/dist/types/components/ui/atoms/Remove/Remove.d.ts +0 -2
- package/dist/types/components/ui/atoms/Remove/Remove.types.d.ts +0 -9
- package/dist/types/components/ui/atoms/Status/Status.types.d.ts +0 -8
- package/dist/types/components/ui/atoms/TaskStatusIndicator/TaskStatusIndicator.d.ts +0 -11
- package/dist/types/components/ui/molecules/Card/CardGroup.d.ts +0 -3
- package/dist/types/core/analytics.d.ts +0 -31
- package/dist/types/utils/bankVerification/animation.d.ts +0 -2
- package/dist/upload-XDhHhAHV.js +0 -17
- package/dist/useFormContext-beqGS11A.js +0 -23
- package/dist/utils-CXtNbmpA.js +0 -29
- package/dist/utils-CgOzbb9O.js +0 -159
- package/dist/validate-BRz0LPdo.js +0 -382
- package/dist/validate-CvtamBXH.js +0 -605
- package/dist/warning-circle-fill-DADaWT65.js +0 -17
- package/dist/warning-filled-BfAQN-BF.js +0 -14
- package/dist/webinar-BJWDRK2H.js +0 -22
- /package/dist/types/api/{pciTemplate → pci}/useSignPci.d.ts +0 -0
- /package/dist/types/components/Business/tasks/{BusinessDetailsMultiformDropin → BusinessDetailsDropin}/validate.d.ts +0 -0
- /package/dist/types/components/BusinessLines/tasks/{BusinessLinesGettingStarted → BusinessLines}/BusinessLinesGettingStarted.d.ts +0 -0
|
@@ -2,18 +2,41 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9f7dda11-545d-4212-80c0-4a951ee8aaf9", e._sentryDebugIdIdentifier = "sentry-dbid-9f7dda11-545d-4212-80c0-4a951ee8aaf9");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { useMemo, useState, useEffect, useCallback, useLayoutEffect, useRef } from "preact/hooks";
|
|
11
|
+
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, aA as getCapabilityProblems, g as getLegalEntityCountry, aB as cloneObject, C as CountryCodes, aC as hasText, aD as isValidMinLength, aE as matchesRegex, W as isEmpty, aF as NO_ALPHABET_REGEX, aG as EMOJI_REGEX, aH as hasRepeatedCharacters, aI as isInvalidName, aJ as OTHER_ENTITIES_VALID_CHAR_REGEX, aK as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aL as standardKatakanaValidator, aM as standardKanjiValidator, a2 as useAnalyticsContext, P as createLogger, u as useTranslation, az as StateContext, L as Loader, a3 as Icon, G as Typography, Y as IconButton } from "./StoreProvider-D0o_745u.js";
|
|
11
12
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import { forwardRef } from "preact/compat";
|
|
16
|
-
import {
|
|
13
|
+
import { a as Alert } from "./Alert-BjepSgqS.js";
|
|
14
|
+
import cx from "classnames";
|
|
15
|
+
import { a as debouncedInputEvent } from "./debouncedInputEvent-DbzJEMPo.js";
|
|
16
|
+
import { Suspense, lazy, forwardRef } from "preact/compat";
|
|
17
|
+
import { b as useId } from "./useToastContext-CbM0O-ZH.js";
|
|
18
|
+
import { R as Radio } from "./CountryField-BKLmbhSX.js";
|
|
19
|
+
import { F as Field } from "./useForm-BkgSiM1i.js";
|
|
20
|
+
import { K as KEYBOARD_KEYS } from "./Modal-qvqrnkl9.js";
|
|
21
|
+
import { u as useForwardedRef, a as InputBase, I as InputText } from "./InputText-DXkZ7fwq.js";
|
|
22
|
+
const useCapabilityProblems = () => {
|
|
23
|
+
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
24
|
+
const { isExperimentEnabled } = useExperimentsContext();
|
|
25
|
+
const problems = useMemo(
|
|
26
|
+
() => rootLegalEntity ? getCapabilityProblems(
|
|
27
|
+
rootLegalEntity,
|
|
28
|
+
getLegalEntityCountry(rootLegalEntity),
|
|
29
|
+
isExperimentEnabled
|
|
30
|
+
) : void 0,
|
|
31
|
+
[rootLegalEntity, isExperimentEnabled]
|
|
32
|
+
);
|
|
33
|
+
return problems;
|
|
34
|
+
};
|
|
35
|
+
const getProblemsForEntity = (capabilityProblems, entityType, entityId) => capabilityProblems[entityType]?.[entityId];
|
|
36
|
+
const TrustedFieldsProviders = {
|
|
37
|
+
SINGPASS: "singpass",
|
|
38
|
+
KOMPANY: "kompany"
|
|
39
|
+
};
|
|
17
40
|
const makeArrayOfRepeatedObjects = (length, obj) => {
|
|
18
41
|
const array = [];
|
|
19
42
|
for (let i = 0; i < length; i += 1) {
|
|
@@ -128,7 +151,7 @@ const nonInputs = (str, options) => Array.from(str).map((char) => ({
|
|
|
128
151
|
includeInValue: options?.includeInValue ?? false,
|
|
129
152
|
displayEagerly: options?.displayEagerly ?? true
|
|
130
153
|
}));
|
|
131
|
-
const spacer = nonInputs(" ")[0];
|
|
154
|
+
const spacer$1 = nonInputs(" ")[0];
|
|
132
155
|
const alphaInputs = (length, optional = false) => makeArrayOfRepeatedObjects(length, { type: "input", allow: /[A-Za-z]/, optional });
|
|
133
156
|
const numericInputs = (length, optional = false) => makeArrayOfRepeatedObjects(length, { type: "input", allow: /\d/, optional });
|
|
134
157
|
const alphanumericInputs = (length, optional = false) => makeArrayOfRepeatedObjects(length, { type: "input", allow: /[\dA-Za-z]/, optional });
|
|
@@ -137,7 +160,557 @@ const makeMask = (...tokens) => ({
|
|
|
137
160
|
tokens,
|
|
138
161
|
possibleShifts: findPossibleShifts(tokens)
|
|
139
162
|
});
|
|
163
|
+
const isExistingFile = (file) => "existing" in file && file.existing;
|
|
164
|
+
const isNewlyUploadedFile = (file) => !isExistingFile(file);
|
|
165
|
+
function getLocalizedIdDocumentTypeOptions(country) {
|
|
166
|
+
switch (country) {
|
|
167
|
+
case CountryCodes.Japan:
|
|
168
|
+
return [
|
|
169
|
+
{ id: "driversLicense", name: "driversLicense", hasBackPage: true },
|
|
170
|
+
{ id: "passport", name: "passport", hasBackPage: false },
|
|
171
|
+
{ id: "identityCard", name: "identityCard__JP", hasBackPage: true }
|
|
172
|
+
];
|
|
173
|
+
default:
|
|
174
|
+
return [
|
|
175
|
+
{ id: "driversLicense", name: "driversLicense", hasBackPage: true },
|
|
176
|
+
{ id: "passport", name: "passport", hasBackPage: false },
|
|
177
|
+
{ id: "identityCard", name: "identityCard", hasBackPage: true }
|
|
178
|
+
];
|
|
179
|
+
}
|
|
180
|
+
}
|
|
140
181
|
const isValueObscured = (value) => typeof value === "string" && !!value.match(/[*]{1,}/)?.length;
|
|
182
|
+
const uppercase = (str) => str?.toUpperCase() ?? str;
|
|
183
|
+
const validateNotEmptyOnBlur = {
|
|
184
|
+
modes: ["blur"],
|
|
185
|
+
validate: (val) => !isEmpty(val),
|
|
186
|
+
errorMessage: "fieldIsRequired"
|
|
187
|
+
};
|
|
188
|
+
const validateLegalCompanyName = [
|
|
189
|
+
{
|
|
190
|
+
modes: ["blur"],
|
|
191
|
+
validate: hasText,
|
|
192
|
+
errorMessage: "fieldIsRequired"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
modes: ["blur"],
|
|
196
|
+
validate: (input) => !matchesRegex(NO_ALPHABET_REGEX, input),
|
|
197
|
+
errorMessage: "nameMustContainLetters"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
modes: ["blur"],
|
|
201
|
+
validate: (input) => !matchesRegex(EMOJI_REGEX, input) && !hasRepeatedCharacters(input) && isValidMinLength(input, 3) && !isInvalidName(input) && matchesRegex(OTHER_ENTITIES_VALID_CHAR_REGEX, input),
|
|
202
|
+
errorMessage: "checkForTypos"
|
|
203
|
+
}
|
|
204
|
+
];
|
|
205
|
+
const validateJaHaniLegalCompanyName = [
|
|
206
|
+
{
|
|
207
|
+
modes: ["blur"],
|
|
208
|
+
validate: hasText,
|
|
209
|
+
errorMessage: "fieldIsRequired"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
modes: ["blur"],
|
|
213
|
+
validate: (input) => standardKanjiValidator(input),
|
|
214
|
+
errorMessage: "nameMustContainLetters"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
modes: ["blur"],
|
|
218
|
+
validate: (input) => !matchesRegex(EMOJI_REGEX, input) && !hasRepeatedCharacters(input) && isValidMinLength(input, 3) && !isInvalidName(input) && matchesRegex(OTHER_ENTITIES_VALID_CHAR_REGEX, input),
|
|
219
|
+
errorMessage: "checkForTypos"
|
|
220
|
+
}
|
|
221
|
+
];
|
|
222
|
+
const validateJaKanaLegalCompanyName = [
|
|
223
|
+
{
|
|
224
|
+
modes: ["blur"],
|
|
225
|
+
validate: hasText,
|
|
226
|
+
errorMessage: "fieldIsRequired"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
modes: ["blur"],
|
|
230
|
+
validate: (input) => standardKatakanaValidator(input),
|
|
231
|
+
errorMessage: "nameMustContainLetters"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
modes: ["blur"],
|
|
235
|
+
validate: (input) => !matchesRegex(EMOJI_REGEX, input) && !hasRepeatedCharacters(input) && isValidMinLength(input, 3) && !isInvalidName(input) && matchesRegex(OTHER_ENTITIES_VALID_CHAR_REGEX, input),
|
|
236
|
+
errorMessage: "checkForTypos"
|
|
237
|
+
}
|
|
238
|
+
];
|
|
239
|
+
const validateLatinSpaceMarkPunctuationOnlyOnBlur = {
|
|
240
|
+
modes: ["blur"],
|
|
241
|
+
validate: (input) => matchesRegex(LATIN_SPACE_MARK_PUNCTUATION_REGEX, input),
|
|
242
|
+
errorMessage: "kanjiAndKanaCharactersAreNotAllowed"
|
|
243
|
+
};
|
|
244
|
+
const validatePatternOnBlur = (pattern) => ({
|
|
245
|
+
modes: ["blur"],
|
|
246
|
+
validate: (val) => !!val && pattern.test(val)
|
|
247
|
+
});
|
|
248
|
+
function ContextGuidance({
|
|
249
|
+
title,
|
|
250
|
+
content,
|
|
251
|
+
titleId,
|
|
252
|
+
contentId,
|
|
253
|
+
trackingParams
|
|
254
|
+
}) {
|
|
255
|
+
const userEvents = useAnalyticsContext();
|
|
256
|
+
const onGuidanceToggle = (status) => {
|
|
257
|
+
userEvents.addFieldEvent("Clicked accordion", {
|
|
258
|
+
actionType: status,
|
|
259
|
+
field: "context guidance",
|
|
260
|
+
label: titleId,
|
|
261
|
+
content: contentId,
|
|
262
|
+
...trackingParams
|
|
263
|
+
});
|
|
264
|
+
};
|
|
265
|
+
return /* @__PURE__ */ jsx(Alert, { title, type: "collapsible", variant: "info", onToggle: onGuidanceToggle, children: content });
|
|
266
|
+
}
|
|
267
|
+
const convertFullToHalf = (str) => str.replace(/[!-~]/g, (r) => String.fromCharCode(r.charCodeAt(0) - 65248));
|
|
268
|
+
const logger = createLogger();
|
|
269
|
+
function TextArea(props) {
|
|
270
|
+
const {
|
|
271
|
+
autoCorrect,
|
|
272
|
+
isInvalid,
|
|
273
|
+
isValid,
|
|
274
|
+
readonly = null,
|
|
275
|
+
spellCheck,
|
|
276
|
+
disabled,
|
|
277
|
+
maxLength,
|
|
278
|
+
className,
|
|
279
|
+
trimOnBlur,
|
|
280
|
+
enableTracking = false,
|
|
281
|
+
name,
|
|
282
|
+
"aria-describedby": ariaDescribedBy,
|
|
283
|
+
"aria-invalid": ariaInvalid,
|
|
284
|
+
"aria-labelledby": ariaLabelledBy
|
|
285
|
+
} = props;
|
|
286
|
+
const { t } = useTranslation("ui");
|
|
287
|
+
const userEvents = useAnalyticsContext();
|
|
288
|
+
const [value, setValue] = useState("");
|
|
289
|
+
if (Object.prototype.hasOwnProperty.call(props, "onChange")) {
|
|
290
|
+
logger.error("Error: Form fields that rely on InputBase may not have an onChange property");
|
|
291
|
+
}
|
|
292
|
+
const handleInput = (e) => {
|
|
293
|
+
if (enableTracking) {
|
|
294
|
+
debouncedInputEvent(userEvents, {
|
|
295
|
+
actionType: "input",
|
|
296
|
+
field: name
|
|
297
|
+
});
|
|
298
|
+
}
|
|
299
|
+
e.currentTarget.value = convertFullToHalf(e.currentTarget.value);
|
|
300
|
+
setValue(e.currentTarget.value);
|
|
301
|
+
props?.onInput?.(e);
|
|
302
|
+
};
|
|
303
|
+
const handleBlur = (e) => {
|
|
304
|
+
if (enableTracking) {
|
|
305
|
+
userEvents.addFieldEvent("Interacted with form field", {
|
|
306
|
+
actionType: "blur",
|
|
307
|
+
field: name
|
|
308
|
+
});
|
|
309
|
+
}
|
|
310
|
+
props?.onBlurHandler?.(e);
|
|
311
|
+
if (trimOnBlur) {
|
|
312
|
+
e.currentTarget.value = e.currentTarget.value.trim();
|
|
313
|
+
}
|
|
314
|
+
props?.onBlur?.(e);
|
|
315
|
+
};
|
|
316
|
+
const handleFocus = (e) => {
|
|
317
|
+
if (enableTracking) {
|
|
318
|
+
userEvents.addFieldEvent("Interacted with form field", {
|
|
319
|
+
actionType: "focus",
|
|
320
|
+
field: name
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
props?.onFocusHandler?.(e);
|
|
324
|
+
};
|
|
325
|
+
const inputClassNames = cx("adyen-kyc-input", "adyen-kyc-input--textarea", className, {
|
|
326
|
+
"adyen-kyc-input--invalid": isInvalid,
|
|
327
|
+
"adyen-kyc-field--valid": isValid,
|
|
328
|
+
"adyen-kyc-input--disabled": disabled
|
|
329
|
+
});
|
|
330
|
+
const charactersLeft = maxLength - value.length;
|
|
331
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
332
|
+
/* @__PURE__ */ jsx(
|
|
333
|
+
"textarea",
|
|
334
|
+
{
|
|
335
|
+
...props,
|
|
336
|
+
className: inputClassNames,
|
|
337
|
+
readOnly: readonly,
|
|
338
|
+
spellCheck,
|
|
339
|
+
autoCorrect,
|
|
340
|
+
"aria-describedby": ariaDescribedBy,
|
|
341
|
+
"aria-invalid": ariaInvalid,
|
|
342
|
+
"aria-labelledby": ariaLabelledBy,
|
|
343
|
+
...disabled && { "aria-disabled": true },
|
|
344
|
+
onInput: handleInput,
|
|
345
|
+
onBlur: handleBlur,
|
|
346
|
+
onFocus: handleFocus
|
|
347
|
+
}
|
|
348
|
+
),
|
|
349
|
+
!isInvalid && maxLength && charactersLeft >= 0 ? /* @__PURE__ */ jsx("span", { className: "adyen-kyc-input__counter", children: t(($) => $["xCharactersLeft"], { charactersLeft }) }) : null
|
|
350
|
+
] });
|
|
351
|
+
}
|
|
352
|
+
function StateContextSetter({ stateRef }) {
|
|
353
|
+
if (stateRef.current.setState) {
|
|
354
|
+
return null;
|
|
355
|
+
}
|
|
356
|
+
return /* @__PURE__ */ jsx(StateContext.Consumer, { children: (stateContextValue) => {
|
|
357
|
+
const { dispatch, setActiveForms } = stateContextValue;
|
|
358
|
+
stateRef.current.setState = dispatch;
|
|
359
|
+
stateRef.current.setActiveForms = setActiveForms;
|
|
360
|
+
return null;
|
|
361
|
+
} });
|
|
362
|
+
}
|
|
363
|
+
const Image = ({
|
|
364
|
+
lazyLoadedImage,
|
|
365
|
+
className
|
|
366
|
+
}) => {
|
|
367
|
+
const LazyLoadedImageComponent = lazyLoadedImage;
|
|
368
|
+
return /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(LazyLoadedImageComponent, { className, "aria-hidden": true }) });
|
|
369
|
+
};
|
|
370
|
+
const getDocumentGuidancePrefix = (documentType) => {
|
|
371
|
+
switch (documentType) {
|
|
372
|
+
case "passport":
|
|
373
|
+
return "passport";
|
|
374
|
+
case "driversLicense":
|
|
375
|
+
case "identityCard":
|
|
376
|
+
return "id";
|
|
377
|
+
case "bankStatement":
|
|
378
|
+
case "vatDocument":
|
|
379
|
+
case "registrationDocument":
|
|
380
|
+
case "proofOfAddress":
|
|
381
|
+
case "proofOfResidency":
|
|
382
|
+
default:
|
|
383
|
+
return "document";
|
|
384
|
+
}
|
|
385
|
+
};
|
|
386
|
+
const documentBlurredImage = lazy(() => import("./document-blurred-2Zpodj3_.js"));
|
|
387
|
+
const documentCutOffImage = lazy(() => import("./document-cut-off-ClS7RiOp.js"));
|
|
388
|
+
const documentExpiredImage = lazy(() => import("./document-expired-CjksBq-N.js"));
|
|
389
|
+
const documentFrontImage = lazy(() => import("./document-front-DiAairT3.js"));
|
|
390
|
+
const idBlurredImage = lazy(() => import("./id-blurred-9dzBOWCE.js"));
|
|
391
|
+
const idCutOffImage = lazy(() => import("./id-cut-off-CohJCI2h.js"));
|
|
392
|
+
const idFrontImage = lazy(() => import("./id-front-CSZfvdRg.js"));
|
|
393
|
+
const idGlareImage = lazy(() => import("./id-glare-Q2JWo5ts.js"));
|
|
394
|
+
const passportBlurredImage = lazy(() => import("./passport-blurred-B4UDQfmc.js"));
|
|
395
|
+
const passportCutOffImage = lazy(() => import("./passport-cut-off-C0N2mgLk.js"));
|
|
396
|
+
const passportFrontImage = lazy(() => import("./passport-front-BwA7wR91.js"));
|
|
397
|
+
const passportGlareImage = lazy(() => import("./passport-glare-Mg2ixsYA.js"));
|
|
398
|
+
const documentMap = {
|
|
399
|
+
"document-blurred": documentBlurredImage,
|
|
400
|
+
"document-cutoff": documentCutOffImage,
|
|
401
|
+
"document-expired": documentExpiredImage,
|
|
402
|
+
"document-front": documentFrontImage,
|
|
403
|
+
"id-blurred": idBlurredImage,
|
|
404
|
+
"id-cutoff": idCutOffImage,
|
|
405
|
+
"id-front": idFrontImage,
|
|
406
|
+
"id-glare": idGlareImage,
|
|
407
|
+
"passport-blurred": passportBlurredImage,
|
|
408
|
+
"passport-cutoff": passportCutOffImage,
|
|
409
|
+
"passport-front": passportFrontImage,
|
|
410
|
+
"passport-glare": passportGlareImage
|
|
411
|
+
};
|
|
412
|
+
function DocumentGuidance({ type, className }) {
|
|
413
|
+
const { t } = useTranslation("ui");
|
|
414
|
+
const documentGuidanceItems = useMemo(() => {
|
|
415
|
+
const guidancePrefix = getDocumentGuidancePrefix(type);
|
|
416
|
+
const guidanceItems = [
|
|
417
|
+
{ svgName: `${guidancePrefix}-front`, translationKey: "good", valid: true },
|
|
418
|
+
{ svgName: `${guidancePrefix}-cutoff`, translationKey: "notCutOff" },
|
|
419
|
+
{ svgName: `${guidancePrefix}-blurred`, translationKey: "notBlurry" },
|
|
420
|
+
guidancePrefix === "document" ? { svgName: `document-expired`, translationKey: "notExpired" } : { svgName: `${guidancePrefix}-glare`, translationKey: "noGlare" }
|
|
421
|
+
];
|
|
422
|
+
return type === "constitutionalDocument" ? guidanceItems.filter((item) => item.svgName !== "document-expired") : guidanceItems;
|
|
423
|
+
}, [type]);
|
|
424
|
+
return /* @__PURE__ */ jsx("div", { className: cx("adyen-kyc-document-guidance", className), children: /* @__PURE__ */ jsx("div", { className: "adyen-kyc-document-guidance__container", children: documentGuidanceItems.map((item) => /* @__PURE__ */ jsxs("figure", { className: "adyen-kyc-document-guidance__item", children: [
|
|
425
|
+
/* @__PURE__ */ jsx(Image, { lazyLoadedImage: documentMap[item.svgName] }),
|
|
426
|
+
/* @__PURE__ */ jsxs("figcaption", { className: "adyen-kyc-document-guidance__description", children: [
|
|
427
|
+
item.valid ? /* @__PURE__ */ jsx(Icon, { name: "check", className: "adyen-kyc-document-guidance__icon" }) : /* @__PURE__ */ jsx(
|
|
428
|
+
Icon,
|
|
429
|
+
{
|
|
430
|
+
name: "cross",
|
|
431
|
+
className: "adyen-kyc-document-guidance__icon adyen-kyc-document-guidance__icon--invalid"
|
|
432
|
+
}
|
|
433
|
+
),
|
|
434
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc-document-guidance__description-text", children: t(($) => $[item.translationKey]) })
|
|
435
|
+
] })
|
|
436
|
+
] }, item.translationKey)) }) });
|
|
437
|
+
}
|
|
438
|
+
function bytesToSize(bytes) {
|
|
439
|
+
const sizes = ["Bytes", "KB", "MB", "GB", "TB"];
|
|
440
|
+
if (bytes === 0) return "n/a";
|
|
441
|
+
const i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)).toString());
|
|
442
|
+
if (i === 0) return `${bytes} ${sizes[i]}`;
|
|
443
|
+
return `${(bytes / 1024 ** i).toFixed()} ${sizes[i]}`;
|
|
444
|
+
}
|
|
445
|
+
function DropzoneFile(props) {
|
|
446
|
+
const { file, errorMessage, onDelete, loading } = props;
|
|
447
|
+
const { t } = useTranslation("common");
|
|
448
|
+
const userEvents = useAnalyticsContext();
|
|
449
|
+
let documentIcon;
|
|
450
|
+
const formatSize = (bytes) => {
|
|
451
|
+
const sizes = ["Bytes", "KB", "MB", "GB", "TB"];
|
|
452
|
+
if (!bytes || bytes === 0) return "n/a";
|
|
453
|
+
const i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)).toString());
|
|
454
|
+
if (i === 0) return `${bytes} ${sizes[i]}`;
|
|
455
|
+
return `${(bytes / 1024 ** i).toFixed(1)} ${sizes[i]}`;
|
|
456
|
+
};
|
|
457
|
+
switch (file.type?.split("/")[0]) {
|
|
458
|
+
case "image":
|
|
459
|
+
documentIcon = "image";
|
|
460
|
+
break;
|
|
461
|
+
default:
|
|
462
|
+
documentIcon = "document";
|
|
463
|
+
}
|
|
464
|
+
useEffect(() => {
|
|
465
|
+
if (!errorMessage) return;
|
|
466
|
+
userEvents.addFieldEvent("Encountered error", {
|
|
467
|
+
actionType: "change",
|
|
468
|
+
field: "dropzone file",
|
|
469
|
+
returnType: "validation",
|
|
470
|
+
returnValue: errorMessage
|
|
471
|
+
});
|
|
472
|
+
}, [errorMessage, userEvents]);
|
|
473
|
+
return /* @__PURE__ */ jsxs(
|
|
474
|
+
"div",
|
|
475
|
+
{
|
|
476
|
+
className: cx("adyen-kyc-dropzone-file", { "adyen-kyc-dropzone-file--error": errorMessage }),
|
|
477
|
+
children: [
|
|
478
|
+
/* @__PURE__ */ jsxs("div", { className: "adyen-kyc-dropzone-file__details", children: [
|
|
479
|
+
/* @__PURE__ */ jsxs("div", { className: "adyen-kyc-dropzone-file__labels", children: [
|
|
480
|
+
errorMessage ? /* @__PURE__ */ jsx(
|
|
481
|
+
Icon,
|
|
482
|
+
{
|
|
483
|
+
testId: "document-invalid",
|
|
484
|
+
name: "warning",
|
|
485
|
+
className: "adyen-kyc-dropzone-file__icon"
|
|
486
|
+
}
|
|
487
|
+
) : /* @__PURE__ */ jsx(
|
|
488
|
+
Icon,
|
|
489
|
+
{
|
|
490
|
+
testId: "document-valid",
|
|
491
|
+
name: documentIcon,
|
|
492
|
+
className: "adyen-kyc-dropzone-file__icon"
|
|
493
|
+
}
|
|
494
|
+
),
|
|
495
|
+
/* @__PURE__ */ jsx(Typography, { variant: "body-stronger", className: "adyen-kyc-dropzone-file__name", children: file.name }),
|
|
496
|
+
/* @__PURE__ */ jsx(Typography, { className: "adyen-kyc-dropzone-file__size", children: isNewlyUploadedFile(file) && formatSize(file.size) })
|
|
497
|
+
] }),
|
|
498
|
+
errorMessage && /* @__PURE__ */ jsx("div", { className: "adyen-kyc-dropzone-file__error", children: t(($) => $[errorMessage]) })
|
|
499
|
+
] }),
|
|
500
|
+
loading ? /* @__PURE__ */ jsx("div", { className: "adyen-kyc-dropzone-file__loading", children: /* @__PURE__ */ jsx(Loader, { size: "medium" }) }) : errorMessage ? /* @__PURE__ */ jsx(
|
|
501
|
+
IconButton,
|
|
502
|
+
{
|
|
503
|
+
ariaLabel: t(($) => $["close"]),
|
|
504
|
+
icon: "cross",
|
|
505
|
+
variant: "tertiary",
|
|
506
|
+
onClick: onDelete
|
|
507
|
+
}
|
|
508
|
+
) : /* @__PURE__ */ jsx(
|
|
509
|
+
IconButton,
|
|
510
|
+
{
|
|
511
|
+
ariaLabel: t(($) => $["deleteDocument"]),
|
|
512
|
+
icon: "bin",
|
|
513
|
+
variant: "tertiary",
|
|
514
|
+
onClick: onDelete
|
|
515
|
+
}
|
|
516
|
+
)
|
|
517
|
+
]
|
|
518
|
+
}
|
|
519
|
+
);
|
|
520
|
+
}
|
|
521
|
+
const hasDuplicates = (arr) => arr.some((item, currIndex) => arr.indexOf(item) !== currIndex);
|
|
522
|
+
const defaultFileValidationOptions = {
|
|
523
|
+
allowedFileTypes: ["JPG", "JPEG", "PNG", "PDF"],
|
|
524
|
+
maxNumberOfFiles: 1,
|
|
525
|
+
maxSize: 4194304,
|
|
526
|
+
// 4MB by default
|
|
527
|
+
isOptional: false
|
|
528
|
+
};
|
|
529
|
+
const filterOnlyNewlyUploadedFiles = (files) => files.filter(isNewlyUploadedFile);
|
|
530
|
+
const fileValidationRules = ({
|
|
531
|
+
allowedFileTypes,
|
|
532
|
+
maxNumberOfFiles,
|
|
533
|
+
maxSize,
|
|
534
|
+
isOptional
|
|
535
|
+
}) => [
|
|
536
|
+
{
|
|
537
|
+
validate: (files) => {
|
|
538
|
+
if (isOptional && (!files || files.length === 0)) return true;
|
|
539
|
+
return Boolean(files && files.length > 0);
|
|
540
|
+
},
|
|
541
|
+
errorMessage: "fieldIsRequired",
|
|
542
|
+
modes: ["blur", "input"]
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
validate: (files) => {
|
|
546
|
+
if (!files) return true;
|
|
547
|
+
return files.length <= maxNumberOfFiles;
|
|
548
|
+
},
|
|
549
|
+
errorMessage: "tooManyFiles",
|
|
550
|
+
modes: ["blur", "input"]
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
validate: (files) => {
|
|
554
|
+
if (!files) return true;
|
|
555
|
+
return !hasDuplicates(files.map((file) => file.name));
|
|
556
|
+
},
|
|
557
|
+
errorMessage: "duplicatedFiles",
|
|
558
|
+
modes: ["blur", "input"]
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
validate: (files) => {
|
|
562
|
+
if (!files) return true;
|
|
563
|
+
return filterOnlyNewlyUploadedFiles(files).every(
|
|
564
|
+
(file) => allowedFileTypes.some(
|
|
565
|
+
(filetype) => file.name.toLowerCase().endsWith(filetype.toLowerCase())
|
|
566
|
+
)
|
|
567
|
+
);
|
|
568
|
+
},
|
|
569
|
+
errorMessage: "unsupportedFiletype",
|
|
570
|
+
modes: ["blur", "input"]
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
validate: (files) => {
|
|
574
|
+
if (!files) return true;
|
|
575
|
+
return filterOnlyNewlyUploadedFiles(files).every((file) => !file.size || file.size < maxSize);
|
|
576
|
+
},
|
|
577
|
+
errorMessage: "maximumFileSizeExceeded",
|
|
578
|
+
modes: ["blur", "input"]
|
|
579
|
+
}
|
|
580
|
+
];
|
|
581
|
+
const RadioCard = ({
|
|
582
|
+
optionId,
|
|
583
|
+
optionName,
|
|
584
|
+
optionDescription,
|
|
585
|
+
optionSubtitle,
|
|
586
|
+
name,
|
|
587
|
+
isInvalid,
|
|
588
|
+
isSelected,
|
|
589
|
+
onSelect,
|
|
590
|
+
classNames,
|
|
591
|
+
disabled,
|
|
592
|
+
loading,
|
|
593
|
+
icon,
|
|
594
|
+
body,
|
|
595
|
+
footer,
|
|
596
|
+
floatingRadio
|
|
597
|
+
}) => {
|
|
598
|
+
const id = useId("radio");
|
|
599
|
+
const elementIds = {
|
|
600
|
+
label: `${id}-label`,
|
|
601
|
+
description: `${id}-description`,
|
|
602
|
+
subtitle: `${id}-subtitle`
|
|
603
|
+
};
|
|
604
|
+
const ariaDescribedBy = `${optionSubtitle ? elementIds.subtitle : ""} ${optionDescription || body ? elementIds.description : ""}`.trim();
|
|
605
|
+
return /* @__PURE__ */ jsxs(
|
|
606
|
+
"label",
|
|
607
|
+
{
|
|
608
|
+
"data-testId": optionId,
|
|
609
|
+
className: cx([
|
|
610
|
+
"adyen-kyc-radio-card",
|
|
611
|
+
classNames?.label,
|
|
612
|
+
{ "adyen-kyc-radio-card--disabled": disabled }
|
|
613
|
+
]),
|
|
614
|
+
children: [
|
|
615
|
+
icon && /* @__PURE__ */ jsx("div", { className: cx("adyen-kyc-radio-card__icon", classNames?.icon), "aria-hidden": "true", children: icon }),
|
|
616
|
+
/* @__PURE__ */ jsxs("div", { className: "adyen-kyc-radio-card__content", children: [
|
|
617
|
+
/* @__PURE__ */ jsx("div", { className: "adyen-kyc-radio-card__header adyen-kyc-u-display-flex adyen-kyc-u-align-items-center", children: /* @__PURE__ */ jsxs(
|
|
618
|
+
"div",
|
|
619
|
+
{
|
|
620
|
+
className: cx([
|
|
621
|
+
"adyen-kyc-radio-group-card__label",
|
|
622
|
+
classNames?.header,
|
|
623
|
+
{ "adyen-kyc-radio-group-card__label--invalid": isInvalid }
|
|
624
|
+
]),
|
|
625
|
+
children: [
|
|
626
|
+
optionSubtitle && /* @__PURE__ */ jsxs("div", { id: elementIds.subtitle, className: "adyen-kyc-radio-group-card__subtitle", children: [
|
|
627
|
+
optionSubtitle,
|
|
628
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc-u-screen-reader-only", children: "." })
|
|
629
|
+
] }),
|
|
630
|
+
/* @__PURE__ */ jsx("span", { id: elementIds.label, children: optionName })
|
|
631
|
+
]
|
|
632
|
+
}
|
|
633
|
+
) }),
|
|
634
|
+
/* @__PURE__ */ jsx(
|
|
635
|
+
"div",
|
|
636
|
+
{
|
|
637
|
+
id: elementIds.description,
|
|
638
|
+
className: cx("adyen-kyc-radio-card__body", classNames?.body),
|
|
639
|
+
children: body ?? optionDescription
|
|
640
|
+
}
|
|
641
|
+
),
|
|
642
|
+
footer && /* @__PURE__ */ jsx("div", { className: cx("adyen-kyc-radio-card__footer", classNames?.footer), children: footer })
|
|
643
|
+
] }),
|
|
644
|
+
loading ? /* @__PURE__ */ jsx("span", { className: "adyen-kyc-radio-card__loading-icon", children: /* @__PURE__ */ jsx(Loader, { size: "small" }) }) : /* @__PURE__ */ jsx(
|
|
645
|
+
Radio,
|
|
646
|
+
{
|
|
647
|
+
id,
|
|
648
|
+
"aria-describedby": ariaDescribedBy,
|
|
649
|
+
"aria-labelledby": elementIds.label,
|
|
650
|
+
checked: isSelected,
|
|
651
|
+
groupName: name,
|
|
652
|
+
onClick: onSelect,
|
|
653
|
+
value: optionId,
|
|
654
|
+
disabled,
|
|
655
|
+
className: cx({ "adyen-kyc-radio-group-card__radio--floating": floatingRadio })
|
|
656
|
+
}
|
|
657
|
+
)
|
|
658
|
+
]
|
|
659
|
+
},
|
|
660
|
+
optionId
|
|
661
|
+
);
|
|
662
|
+
};
|
|
663
|
+
const RadioGroupCard = ({
|
|
664
|
+
options,
|
|
665
|
+
name,
|
|
666
|
+
onSelect,
|
|
667
|
+
selected,
|
|
668
|
+
isInvalid,
|
|
669
|
+
className,
|
|
670
|
+
optionId,
|
|
671
|
+
optionName,
|
|
672
|
+
optionDescription,
|
|
673
|
+
optionSubtitle,
|
|
674
|
+
optionClassNames,
|
|
675
|
+
renderOptionIcon,
|
|
676
|
+
renderOptionBody,
|
|
677
|
+
renderOptionFooter,
|
|
678
|
+
isOptionDisabled,
|
|
679
|
+
floatingRadio,
|
|
680
|
+
enableTracking = false
|
|
681
|
+
}) => {
|
|
682
|
+
const userEvents = useAnalyticsContext();
|
|
683
|
+
const handleSelect = (option) => {
|
|
684
|
+
if (enableTracking) {
|
|
685
|
+
userEvents.addFieldEvent("Interacted with form field", {
|
|
686
|
+
actionType: "input",
|
|
687
|
+
field: name,
|
|
688
|
+
returnValue: typeof option === "string" ? option : void 0
|
|
689
|
+
});
|
|
690
|
+
}
|
|
691
|
+
onSelect(option);
|
|
692
|
+
};
|
|
693
|
+
return /* @__PURE__ */ jsx("div", { className: className ?? "adyen-kyc-radio-group-card", children: options.map((option) => /* @__PURE__ */ jsx(
|
|
694
|
+
RadioCard,
|
|
695
|
+
{
|
|
696
|
+
optionId: optionId(option),
|
|
697
|
+
optionName: optionName(option),
|
|
698
|
+
optionDescription: optionDescription?.(option),
|
|
699
|
+
optionSubtitle: optionSubtitle?.(option),
|
|
700
|
+
isInvalid,
|
|
701
|
+
isSelected: selected === option,
|
|
702
|
+
onSelect: () => handleSelect(option),
|
|
703
|
+
name,
|
|
704
|
+
classNames: optionClassNames?.(option),
|
|
705
|
+
icon: renderOptionIcon?.(option),
|
|
706
|
+
body: renderOptionBody?.(option),
|
|
707
|
+
footer: renderOptionFooter?.(option),
|
|
708
|
+
disabled: isOptionDisabled?.(option),
|
|
709
|
+
floatingRadio
|
|
710
|
+
},
|
|
711
|
+
optionId(option)
|
|
712
|
+
)) });
|
|
713
|
+
};
|
|
141
714
|
const cachedStripPatterns = /* @__PURE__ */ new Map();
|
|
142
715
|
const makeStripPattern = (mask) => {
|
|
143
716
|
const inputPatterns = mask.tokens.filter((token) => token.type === "input" && !!token.allow).map((token) => token.allow);
|
|
@@ -305,7 +878,7 @@ const InputEmail = forwardRef(
|
|
|
305
878
|
const localRef = useForwardedRef(ref);
|
|
306
879
|
const inputHandler = useCallback(
|
|
307
880
|
(event) => {
|
|
308
|
-
const inputEl = event.
|
|
881
|
+
const inputEl = event.currentTarget;
|
|
309
882
|
if (transformInput) {
|
|
310
883
|
setCursorPosition(inputEl.selectionStart);
|
|
311
884
|
const transformedInput = transformInput(inputEl.value);
|
|
@@ -343,7 +916,7 @@ const InputTelephone = forwardRef(
|
|
|
343
916
|
const localRef = useForwardedRef(ref);
|
|
344
917
|
const inputHandler = useCallback(
|
|
345
918
|
(event) => {
|
|
346
|
-
const inputEl = event.
|
|
919
|
+
const inputEl = event.currentTarget;
|
|
347
920
|
if (transformInput) {
|
|
348
921
|
setCursorPosition(inputEl.selectionStart);
|
|
349
922
|
const transformedInput = transformInput(inputEl.value);
|
|
@@ -367,7 +940,7 @@ const InputTelephone = forwardRef(
|
|
|
367
940
|
}
|
|
368
941
|
);
|
|
369
942
|
const mismatch = "adyen-kyc-mismatch";
|
|
370
|
-
const styles = {
|
|
943
|
+
const styles$1 = {
|
|
371
944
|
mismatch
|
|
372
945
|
};
|
|
373
946
|
const deriveInputState = (isValid, isFocused, isDisabled, isOptional, hasNullishValue, hasBlurred, errorMessage, shouldValidate, potentiallyMoreOptionalCharacters, formatGuidance, t) => {
|
|
@@ -443,7 +1016,7 @@ const Inner = ({
|
|
|
443
1016
|
readonly,
|
|
444
1017
|
placeholder,
|
|
445
1018
|
value: displayValue,
|
|
446
|
-
className: showingMismatch ? styles.mismatch : void 0,
|
|
1019
|
+
className: showingMismatch ? styles$1.mismatch : void 0,
|
|
447
1020
|
onInput,
|
|
448
1021
|
onPaste,
|
|
449
1022
|
onKeyDown,
|
|
@@ -537,7 +1110,7 @@ const MaskedInput = ({
|
|
|
537
1110
|
const [caretReturnPosition, setCaretReturnPosition] = useState(null);
|
|
538
1111
|
const inputRef = useRef(null);
|
|
539
1112
|
const [showingMismatch, setShowingMismatch] = useState(false);
|
|
540
|
-
const { t } = useTranslation("
|
|
1113
|
+
const { t } = useTranslation("ui");
|
|
541
1114
|
const onAnimationEnd = (event) => {
|
|
542
1115
|
if (!event.animationName.includes(MISMATCH_ANIMATION_NAME)) return;
|
|
543
1116
|
setShowingMismatch(false);
|
|
@@ -614,7 +1187,7 @@ const MaskedInput = ({
|
|
|
614
1187
|
}, [caretReturnPosition]);
|
|
615
1188
|
const handleInput = useCallback(
|
|
616
1189
|
(event) => {
|
|
617
|
-
const inputEl = event.
|
|
1190
|
+
const inputEl = event.currentTarget;
|
|
618
1191
|
const newPureValue = displayValueToPure(inputEl.value);
|
|
619
1192
|
const newMaskResult = getMaskResult(newPureValue);
|
|
620
1193
|
const returnCaretLater = (offset = 0) => {
|
|
@@ -660,9 +1233,13 @@ const MaskedInput = ({
|
|
|
660
1233
|
fieldOnBlur?.(event);
|
|
661
1234
|
const eventWithProcessedValue = {
|
|
662
1235
|
...event,
|
|
1236
|
+
currentTarget: {
|
|
1237
|
+
...event.currentTarget,
|
|
1238
|
+
value: displayValueToPure(event.currentTarget.value)
|
|
1239
|
+
},
|
|
663
1240
|
target: {
|
|
664
1241
|
...event.target,
|
|
665
|
-
value: displayValueToPure(event.
|
|
1242
|
+
value: displayValueToPure(event.currentTarget.value)
|
|
666
1243
|
}
|
|
667
1244
|
};
|
|
668
1245
|
onBlur?.(eventWithProcessedValue);
|
|
@@ -674,7 +1251,7 @@ const MaskedInput = ({
|
|
|
674
1251
|
const handlePaste = useCallback(
|
|
675
1252
|
(event) => {
|
|
676
1253
|
const pasteValue = event.clipboardData?.getData("text/plain");
|
|
677
|
-
const inputEl = event.
|
|
1254
|
+
const inputEl = event.currentTarget;
|
|
678
1255
|
const { selectionStart, selectionEnd } = inputEl;
|
|
679
1256
|
if (!pasteValue || !selectionStart || selectionStart !== selectionEnd) return;
|
|
680
1257
|
const pureDisplayValue = displayValueToPure(displayValue);
|
|
@@ -701,7 +1278,7 @@ const MaskedInput = ({
|
|
|
701
1278
|
);
|
|
702
1279
|
const handleKeyDown = useCallback(
|
|
703
1280
|
(event) => {
|
|
704
|
-
const inputEl = event.
|
|
1281
|
+
const inputEl = event.currentTarget;
|
|
705
1282
|
const isCaretAtEndWithNoSelection = inputEl.selectionStart === inputEl.value.length && inputEl.selectionStart === inputEl.selectionEnd;
|
|
706
1283
|
if (event.key !== KEYBOARD_KEYS.backspace || !isCaretAtEndWithNoSelection) return;
|
|
707
1284
|
event.preventDefault();
|
|
@@ -785,15 +1362,55 @@ const MaskedInput = ({
|
|
|
785
1362
|
}
|
|
786
1363
|
);
|
|
787
1364
|
};
|
|
1365
|
+
const createFormRules = (rules) => rules;
|
|
1366
|
+
const resolveFieldMetadata = (countryEntry, params, defaultMetadata) => {
|
|
1367
|
+
if (typeof countryEntry === "object") {
|
|
1368
|
+
return countryEntry;
|
|
1369
|
+
}
|
|
1370
|
+
if (typeof countryEntry === "function") {
|
|
1371
|
+
return countryEntry(params);
|
|
1372
|
+
}
|
|
1373
|
+
return defaultMetadata;
|
|
1374
|
+
};
|
|
1375
|
+
const spacer = "adyen-kyc-spacer";
|
|
1376
|
+
const styles = {
|
|
1377
|
+
spacer
|
|
1378
|
+
};
|
|
1379
|
+
const Spacer = () => /* @__PURE__ */ jsx("div", { className: styles.spacer });
|
|
788
1380
|
export {
|
|
789
|
-
|
|
1381
|
+
isNewlyUploadedFile as A,
|
|
1382
|
+
isValueObscured as B,
|
|
1383
|
+
ContextGuidance as C,
|
|
1384
|
+
DropzoneFile as D,
|
|
1385
|
+
Image as I,
|
|
790
1386
|
MaskedInput as M,
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
1387
|
+
RadioGroupCard as R,
|
|
1388
|
+
StateContextSetter as S,
|
|
1389
|
+
TrustedFieldsProviders as T,
|
|
1390
|
+
validateNotEmptyOnBlur as a,
|
|
1391
|
+
alphanumericInputs as b,
|
|
1392
|
+
alphaInputs as c,
|
|
1393
|
+
nonInputs as d,
|
|
1394
|
+
validateLegalCompanyName as e,
|
|
1395
|
+
validateLatinSpaceMarkPunctuationOnlyOnBlur as f,
|
|
1396
|
+
validateJaKanaLegalCompanyName as g,
|
|
1397
|
+
validateJaHaniLegalCompanyName as h,
|
|
1398
|
+
useCapabilityProblems as i,
|
|
1399
|
+
getProblemsForEntity as j,
|
|
1400
|
+
customInputs as k,
|
|
1401
|
+
defaultFileValidationOptions as l,
|
|
796
1402
|
makeMask as m,
|
|
797
1403
|
numericInputs as n,
|
|
798
|
-
|
|
1404
|
+
fileValidationRules as o,
|
|
1405
|
+
bytesToSize as p,
|
|
1406
|
+
DocumentGuidance as q,
|
|
1407
|
+
resolveFieldMetadata as r,
|
|
1408
|
+
spacer$1 as s,
|
|
1409
|
+
TextArea as t,
|
|
1410
|
+
uppercase as u,
|
|
1411
|
+
validatePatternOnBlur as v,
|
|
1412
|
+
getLocalizedIdDocumentTypeOptions as w,
|
|
1413
|
+
createFormRules as x,
|
|
1414
|
+
InputEmail as y,
|
|
1415
|
+
Spacer as z
|
|
799
1416
|
};
|