@adyen/kyc-components 3.91.0 → 3.92.0
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 → 4-people-BtDi7O9A.js} +2 -2
- package/dist/{AcceptTermsOfServiceComponent-Bl8Skw0p.js → AcceptTermsOfServiceComponent-T7eWi57Z.js} +17 -14
- package/dist/{Accordion-BxBwztLx.js → Accordion-Boa_Vira.js} +2 -2
- package/dist/{AccountSetupRejected-DWnI467S.js → AccountSetupRejected-LAVhMMBt.js} +4 -4
- package/dist/{ActionBar-BI8EL50o.js → ActionBar-CK8dwgSJ.js} +1 -1
- package/dist/{Address-BUrDDnmR.js → Address-ki-bCjUJ.js} +23 -289
- package/dist/{Alert-B83aFhFn.js → Alert-TCEgDc2-.js} +3 -3
- package/dist/{Avatar-CWGv3_UH.js → Avatar-AC-D1DKh.js} +2 -2
- package/dist/{BusinessFinancingComponent-Dp9pkrSs.js → BusinessFinancingComponent-Cf-EEnyR.js} +6 -6
- package/dist/{BusinessFinancingDropin-CxDQONVa.js → BusinessFinancingDropin-DeLlYaOF.js} +30 -22
- package/dist/{BusinessFinancingPage-CK4iko3V.js → BusinessFinancingPage-DtX8x3Zp.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-BbCt3hSM.js → BusinessTypeSelectionPage-6Ltt53Mu.js} +58 -33
- package/dist/{Card-CQrP0PXC.js → Card-Det7uTiv.js} +2 -2
- package/dist/{debouncedInputEvent-CFFx_oML.js → Checkbox-D8rB6_HN.js} +3 -38
- package/dist/Confirm-Ctfqp-1b.js +64 -0
- package/dist/ConstitutionalDocument-TJAc9nDQ.js +2358 -0
- package/dist/ContextGuidance-CCknw_Y1.js +34 -0
- package/dist/CountryField-DzmOWqiE.js +66 -0
- package/dist/{CreateIndividualComponent-B6ecxCd8.js → CreateIndividualComponent-_H34wdze.js} +6 -6
- package/dist/{CreateTransferInstrumentComponent-Chqddjgy.js → CreateTransferInstrumentComponent-CmnVEFaB.js} +5 -12
- package/dist/{Currency-CkQVLmOQ.js → Currency-C2egEHMF.js} +64 -8
- package/dist/{CustomerSupport-BDynvVnl.js → CustomerSupport-DLfbNC-J.js} +12 -10
- package/dist/{DebugModal-DAu7rz8a.js → DebugModal-C0uG_A8N.js} +8 -7
- package/dist/{DecisionMakerDetailsPage-BBqNmh_M.js → DecisionMakerDetailsPage-BTR-hRwO.js} +6 -6
- package/dist/{DecisionMakers-Ddvw0N__.js → DecisionMakers-B4qQ3M6Y.js} +27 -21
- package/dist/Dropzone-CKT3THCY.js +218 -0
- package/dist/{EmbeddedStatus-BSK268B-.js → EmbeddedStatus-Bst5MPzi.js} +3 -3
- package/dist/{EndStateLayout-B8KmFejY.js → EndStateLayout-Ck_Lvgng.js} +2 -2
- package/dist/{EntityAssociation-DBPiXzNF.js → EntityAssociation-bcF_I_DK.js} +8 -8
- package/dist/{EntityGuidanceStatus-QEzHcb28.js → EntityGuidanceStatus-D6VoRE_0.js} +4 -3
- package/dist/ErrorPanel-CFN2G9Vz.js +190 -0
- package/dist/Field-B3Vy1-QZ.js +142 -0
- package/dist/{FormNavigation-DLJbUsy3.js → FormNavigation-Brw-75s0.js} +3 -3
- package/dist/{FormWrapper-41qnDF4W.js → FormWrapper-BcNyCMkD.js} +10 -10
- package/dist/Header-YafgG5Nz.js +83 -0
- package/dist/Image-Cvb4hnru.js +44 -0
- package/dist/{IndividualOnfido-pGSPtITh.js → IndividualOnfidoDropin-Dy5obHs1.js} +3833 -5548
- package/dist/InputDate-UCHQ3zOB.js +43 -0
- package/dist/InputGroup-WBfGDV5F.js +32 -0
- package/dist/InputText-DGKAS6ZI.js +134 -0
- package/dist/{Introduction-DaRfsN8P.js → Introduction-DOxSVZ6X.js} +4 -4
- package/dist/{JpAddress-BrtEV6zM.js → JpAddress-DClXaVjy.js} +22 -10
- package/dist/LandingLayout-co7NR2te.js +60 -0
- package/dist/{LegalRepresentativeDetailsPage-XcmRRT7P.js → LegalRepresentativeDetailsPage-DOP3L2r9.js} +4 -4
- package/dist/Link-DWTJ55UO.js +35 -0
- package/dist/List-BAzyC6sw.js +83 -0
- package/dist/{ListItem-DlRGqcSA.js → ListItem-B8D-kUHN.js} +3 -3
- package/dist/LoaderWrapper-CUz5NRFr.js +42 -0
- package/dist/{ManageIndividualComponent-BpzsaZ1O.js → ManageIndividualComponent-DND7vuna.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-D9i2HO5I.js → ManageTermsOfServiceComponent-ylDupO1E.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-C6LYppym.js → ManageTransferInstrumentComponent-CgUfGP5E.js} +16 -13
- package/dist/{Spacer-w89ksCbG.js → MaskedInput-Cn0VAuEp.js} +17 -631
- package/dist/{MaybeModal-DW5SxNsJ.js → MaybeModal-CWCEHeOg.js} +3 -3
- package/dist/{Modal-B4wxf7HK.js → Modal-pyBUluei.js} +2 -2
- package/dist/OnboardingDropinComponent-DwKImil4.js +2306 -0
- package/dist/{PayoutDetailsDropin-BKXxBApD.js → PayoutDetailsDropin-lYVb5WCQ.js} +105 -76
- package/dist/Radio-BMtxBpnn.js +39 -0
- package/dist/RadioGroup-DPc8nUuk.js +98 -0
- package/dist/RadioGroupCard-Pj9qq4uW.js +150 -0
- package/dist/{Review-DSdM3vGX.js → Review-gkTjl3a8.js} +7 -7
- package/dist/{RootBusinessDetailsPage-CqpiMFn9.js → RootBusinessDetailsPage-DjwEzuLA.js} +5 -5
- package/dist/{RootBusinessLinesPage-DUIp_zfH.js → RootBusinessLinesPage-2-U3mf6i.js} +104 -50
- package/dist/{RootIndividualDetailsPage-BpTbnRMJ.js → RootIndividualDetailsPage-BFYP63_i.js} +6 -6
- package/dist/{useForm-_Kjd_HFb.js → Select-D1rFT3T8.js} +10 -775
- package/dist/{SignPCIComponent-B-nJZ1cD.js → SignPCIComponent-DqElmjjG.js} +13 -11
- package/dist/{SingpassSelection-D7wRmaLb.js → SingpassSelection-eruroIiQ.js} +9 -7
- package/dist/{SoleProprietorshipPage-DUVjo6fc.js → SoleProprietorshipPage-7YdzA7iH.js} +4 -4
- package/dist/{SourceOfFundsPage-CFDBqD8v.js → SourceOfFundsPage-C_wiSoc4.js} +39 -26
- package/dist/Spacer-BK3jDget.js +18 -0
- package/dist/{StepProgressIndicator-BvU4jA3I.js → StepProgressIndicator-DLoEzGro.js} +1 -1
- package/dist/{StoreProvider-CyzNf7KK.js → StoreProvider-D9IR5HNN.js} +331 -222
- package/dist/StructuredList-9dnJRdx_.js +61 -0
- package/dist/{Summary-QyNHKBjO.js → Summary-Bq94iVfc.js} +10 -5
- package/dist/{InputText-DLAmX8CW.js → TaskVerificationStatus-BLCkXEn6.js} +3 -123
- package/dist/TaxInformationField-c-ZWfhUk.js +3134 -0
- package/dist/{TaxReportingDropin-Bn2xYbVw.js → TaxReportingDropin-ajO0q4eZ.js} +20 -17
- package/dist/TextArea-D9eJloeE.js +103 -0
- package/dist/TileGroup-CaY3i_T7.js +203 -0
- package/dist/{TrustDetailsPage-D0sr6zMt.js → TrustDetailsPage-BWXZX4-u.js} +40 -27
- package/dist/{TrustMemberCompanyPage-4sIP-M16.js → TrustMemberCompanyPage-CJj2BpXu.js} +5 -5
- package/dist/{TrustMemberIndividualPage-CelIjIAw.js → TrustMemberIndividualPage-BXp9RXDw.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-C3CRy717.js → TrustMemberRoleAndTypePage-gYJ5U6RH.js} +24 -14
- package/dist/{TrustMembersOverview-HrRgAsno.js → TrustMembersOverview-Chmnt5jS.js} +13 -12
- package/dist/{UnincorporatedPartnershipIndividualPage-Dre5_Nuk.js → UnincorporatedPartnershipIndividualPage-DckUiPPY.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-woQiy94h.js → UnincorporatedPartnershipMemberCompanyPage-Bx0A5Bit.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DrirgJXY.js → UnincorporatedPartnershipMemberRoleAndTypePage-CEE1hzIn.js} +23 -16
- package/dist/{UnincorporatedPartnershipMembersOverview-BBiRqJkR.js → UnincorporatedPartnershipMembersOverview-wB8K9r6g.js} +10 -9
- package/dist/{VerificationErrorAlert-B_ovSmUS.js → VerificationErrorAlert-DZ5OOTBN.js} +4 -4
- package/dist/{ViewVerificationStatusComponent-CDQk4Nxa.js → ViewVerificationStatusComponent-BVY4YUJf.js} +4 -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-kyc-components.js +21 -20
- 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/{arrow-right-KxA3SvQj.js → arrow-right-BoqwUH_d.js} +2 -2
- package/dist/bafinUtils-Wct4TWLH.js +149 -0
- package/dist/{bag-BPumznWh.js → bag-BXVWLrwo.js} +2 -2
- package/dist/{bank-D6FiNBhs.js → bank-1GvaHPAZ.js} +2 -2
- package/dist/{bin-Bz6KOIeE.js → bin-Ba-3ll8T.js} +2 -2
- package/dist/{business-lines-DboUCbXw.js → business-lines-BAqTbnBw.js} +2 -2
- package/dist/{capital-GVQ3svwN.js → capital-9TKHySO7.js} +2 -2
- package/dist/{cash-stack-D9AoDDwt.js → cash-stack-DwYu4xNy.js} +2 -2
- package/dist/{certificate-CdEWgHQf.js → certificate-N2YFedpI.js} +2 -2
- package/dist/{checkmark-Q7x6tGhy.js → checkmark-D9dGhGpG.js} +2 -2
- package/dist/{checkmark-circle-x7dzbp3I.js → checkmark-circle-CFWClLQ6.js} +2 -2
- package/dist/{checkmark-circle-fill-CsvN5_PL.js → checkmark-circle-fill-DEB-tuGl.js} +2 -2
- package/dist/{checkmark-small-D35myntq.js → checkmark-small-D3VNx2lo.js} +2 -2
- package/dist/{chevron-down-C2iDorpW.js → chevron-down-C7SUSYfl.js} +2 -2
- package/dist/{chevron-left-ztPO84q-.js → chevron-left-BXmd-S46.js} +2 -2
- package/dist/{chevron-right-C_JN0oDt.js → chevron-right-jE6RwM2B.js} +2 -2
- package/dist/{chevron-up-CgG8n25g.js → chevron-up-BdfNcqzq.js} +2 -2
- package/dist/{circle-Bt3Nlr3q.js → circle-BJPTMCWB.js} +2 -2
- package/dist/{circle-small-filled-YMzP6yQU.js → circle-small-filled-BuO8Vg8j.js} +2 -2
- package/dist/{clock-BZHremOA.js → clock-DAzaBRWk.js} +2 -2
- package/dist/{coins-fkAk6dCo.js → coins-DYdzG5e_.js} +2 -2
- package/dist/commonValidators-DcFd5CHs.js +24 -0
- package/dist/{contract-BTa4HltT.js → contract-BfJb1t6M.js} +2 -2
- package/dist/{cross-Cn09MtQ_.js → cross-CDS_eot4.js} +2 -2
- package/dist/{cross-circle-fill-maan7Z5S.js → cross-circle-fill-C-EJ57Yn.js} +2 -2
- package/dist/{cross-circle-fill-small-DCz52AuN.js → cross-circle-fill-small-DkPjsuBH.js} +2 -2
- package/dist/currency-CrdnaaDu.js +35 -0
- package/dist/datasetUtil-BHQp0-xL.js +58 -0
- package/dist/debouncedInputEvent-Cv2S512Y.js +46 -0
- package/dist/{decision-makers-group-CgddXgrx.js → decision-makers-group-DrvpnEqj.js} +2 -2
- package/dist/{digital-wallet-D_IpxnkN.js → digital-wallet-Bx5YM1LY.js} +2 -2
- package/dist/{document-1-C08ut-Dt.js → document-1-qlSTF558.js} +2 -2
- package/dist/{document-blurred-2Zpodj3_.js → document-blurred-BiWap0xs.js} +2 -2
- package/dist/{document-cut-off-ClS7RiOp.js → document-cut-off-aQezqOif.js} +2 -2
- package/dist/{document-expired-CjksBq-N.js → document-expired-BhBXaWWQ.js} +2 -2
- package/dist/{document-front-DiAairT3.js → document-front-DYuhZGeQ.js} +2 -2
- package/dist/{document-person-vxlA6C5f.js → document-person-CDbnTOdV.js} +2 -2
- package/dist/{download-Drhk9k1f.js → download-BZQB1WkZ.js} +2 -2
- package/dist/{dropinUtils-DCWhMKpQ.js → dropinUtils-BpJn607e.js} +4 -4
- package/dist/{edit-1-CFoDTMvQ.js → edit-1-DAqtnOIx.js} +2 -2
- package/dist/{en-US-BzrLvydZ.js → en-US-CjjPhkB5.js} +2 -2
- package/dist/{external-link-DCMYUMfW.js → external-link-Cg6pJaSJ.js} +2 -2
- package/dist/fieldConfig-BPwb1GHc.js +134 -0
- package/dist/fieldConfigurations-BUT9DTUH.js +21 -0
- package/dist/form-rules-DhbF2mY4.js +13 -0
- package/dist/formUtils-BlVlgetw.js +137 -0
- package/dist/{funds-in-D8bj0aoE.js → funds-in-CInoUdmG.js} +2 -2
- package/dist/{getName-l7X1ZGKx.js → getName-CzpJ9tV7.js} +2 -2
- package/dist/getProps-CLJfvUMb.js +156 -0
- package/dist/{gift-CQ_DEma7.js → gift-omNInZeB.js} +2 -2
- package/dist/{graph-BJmqglH2.js → graph-DunG_uu1.js} +2 -2
- package/dist/{graph-up-Bq6adtlX.js → graph-up-BZze4i6m.js} +2 -2
- package/dist/{hasDataChanged-BXawTZla.js → hasDataChanged-8e8x8zjz.js} +2 -2
- package/dist/{headquarter-DNYyuuFq.js → headquarter-BhpSibFO.js} +2 -2
- package/dist/{hotel-BuNql78Z.js → hotel-Cp7VgGCJ.js} +2 -2
- package/dist/{house-B6sNRj-B.js → house-BhyBQdR3.js} +2 -2
- package/dist/{id-blurred-9dzBOWCE.js → id-blurred-B5lHEP8M.js} +2 -2
- package/dist/{id-cut-off-CohJCI2h.js → id-cut-off-Ba1FRzKO.js} +2 -2
- package/dist/{id-front-CSZfvdRg.js → id-front-CpNWN6nG.js} +2 -2
- package/dist/{id-glare-Q2JWo5ts.js → id-glare-DgCQON8k.js} +2 -2
- package/dist/{id-verification-instant-BUVBO4R3.js → id-verification-instant-Byt4Oul6.js} +2 -2
- package/dist/{id-verification-manual-B3YZALYU.js → id-verification-manual-CvcTkOSY.js} +2 -2
- package/dist/{iframeWidget-CbtmWmoO.js → iframeWidget-D6BlBF0m.js} +4 -4
- package/dist/{image-BSihO8lR.js → image-CmB0ioUM.js} +2 -2
- package/dist/{info-vHTZWoJ7.js → info-Bb_-xIEK.js} +2 -2
- package/dist/{info-filled-SQotHmT9.js → info-filled-CK8LB339.js} +2 -2
- package/dist/{instant-verification-Dvvkyfmp.js → instant-verification-UrnuHTYn.js} +2 -2
- package/dist/isEmpty-CsYVgjoD.js +23 -0
- package/dist/japanSupportUtils-iATUjnbf.js +17 -0
- package/dist/jpAddressSchema-De6ix57p.js +28 -0
- package/dist/{localizeDateString-BX5t59Ip.js → localizeDateString-BHDr1NID.js} +2 -2
- package/dist/{location-Q4oKvnkl.js → location-itJfxrDQ.js} +2 -2
- package/dist/{mail-BOdyoVqB.js → mail-VHTlAusn.js} +2 -2
- package/dist/makeSelectItemForRole-Bm2NwBxD.js +133 -0
- package/dist/{manual-verification-BvZWqA00.js → manual-verification-BO8zgAYT.js} +2 -2
- package/dist/{mapExistingFile-Bd7nsoK8.js → mapExistingFile-DNBa6Ekj.js} +80 -5
- package/dist/mapJpAddressSchemaToAddressLocalizations-BNb8d51F.js +147 -0
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-CQF6zsO7.js → mapLegalEntityToIndividualOnfidoSchema-DREgz5Ms.js} +63 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-CacHlKHM.js → mapTransferInstrumentToPayoutAccount-C5NqOfNW.js} +2 -2
- package/dist/{minus-circle-filled-kC2IUvKz.js → minus-circle-filled-ZhtJ0GD3.js} +2 -2
- package/dist/{onfido-logo-BWSv__sQ.js → onfido-logo-BSkKPH10.js} +2 -2
- package/dist/{options-horizontal-CBmbNv7R.js → options-horizontal-GuXvLvV3.js} +2 -2
- package/dist/{partner-CPjsrePY.js → partner-QD27Vy4w.js} +2 -2
- package/dist/{passport-blurred-B4UDQfmc.js → passport-blurred-CVG493IJ.js} +2 -2
- package/dist/{passport-cut-off-C0N2mgLk.js → passport-cut-off-COzA_TmB.js} +2 -2
- package/dist/{passport-front-BwA7wR91.js → passport-front-WJleLixT.js} +2 -2
- package/dist/{passport-front-green-BL4HmtsB.js → passport-front-green-CZVkCa1n.js} +2 -2
- package/dist/{passport-glare-Mg2ixsYA.js → passport-glare-BP5WnJZj.js} +2 -2
- package/dist/patternValidators-BXduwLbz.js +83 -0
- package/dist/{pay-by-link-plane-BVZndh67.js → pay-by-link-plane-BpY8Q6-B.js} +2 -2
- package/dist/{payout-ChUEoLjt.js → payout-DtB68BcZ.js} +2 -2
- package/dist/{payout-verification-instant-5u-wvFKv.js → payout-verification-instant-BzpfOQLD.js} +2 -2
- package/dist/{payout-verification-manual-BH2mu0UW.js → payout-verification-manual-gNEoeZkV.js} +2 -2
- package/dist/{person-DGjUU4S4.js → person-IVZG3t3_.js} +2 -2
- package/dist/{plaid-logo-CtActXTN.js → plaid-logo-FsZ7kfL-.js} +2 -2
- package/dist/{plus-CWXA5wdX.js → plus-DiALAL8-.js} +2 -2
- package/dist/{plus-circle-filled-CbC0u2Y1.js → plus-circle-filled-BzHtTqEN.js} +2 -2
- package/dist/{process-field-configurations-BZQqH4-M.js → process-field-configurations-B26ehyAw.js} +3 -3
- package/dist/{recurring-CkL4cCM2.js → recurring-DKNs9K3x.js} +2 -2
- package/dist/{reporting-DerosUNm.js → reporting-D5ABpLO_.js} +2 -2
- package/dist/{resolveEnvironment-C6JtHmZc.js → resolveEnvironment-B5Yrsa4J.js} +3 -3
- package/dist/{revenue-accelerate-Dp4Ns_5c.js → revenue-accelerate-D7Sp0V4a.js} +2 -2
- package/dist/{review-CxIN9azU.js → review-D4TUjcWF.js} +2 -2
- package/dist/roleMetadata-DmgqzhZJ.js +66 -0
- package/dist/{rules-ClDW_ZSK.js → rules-B_6RrE9T.js} +6 -5
- package/dist/{save-Fgy7EDid.js → save-BfqO2JBI.js} +2 -2
- package/dist/{search-C4GZ-Rc1.js → search-Cmzbf5zI.js} +2 -2
- package/dist/{show-yPjPmEf8.js → show-IdbU1C6P.js} +2 -2
- package/dist/{singpass-logo-BkMSwiGY.js → singpass-logo-wY4xsmTX.js} +2 -2
- package/dist/{singpass-verification-instant-hY4eGFwl.js → singpass-verification-instant-JCqTr7Mv.js} +2 -2
- package/dist/{singpass-verification-manual-DwhRpy5Q.js → singpass-verification-manual-DQ7XW6R3.js} +2 -2
- package/dist/{solution-payments-CNAat9h7.js → solution-payments-DpyE_sdS.js} +2 -2
- package/dist/{store-IuAkDRAp.js → store-Btc4GcmU.js} +2 -2
- package/dist/style.css +965 -993
- package/dist/styles-CLV89_hH.js +965 -993
- package/dist/summaryItem-CAQCQSkt.js +18 -0
- package/dist/{tax-reporting-graph-DjzwRgE6.js → tax-reporting-graph-hgoilCHZ.js} +2 -2
- package/dist/{terminal-1-_me9J9h0.js → terminal-1-D1pwXCoi.js} +2 -2
- package/dist/{tink-logo-BcIv93ND.js → tink-logo-DDyjz5eJ.js} +2 -2
- package/dist/types/api/businessLines/useCreateBusinessLine.d.ts +1 -1
- package/dist/types/api/businessLines/useDeleteBusinessLine.d.ts +1 -1
- package/dist/types/api/businessLines/useUpdateBusinessLines.d.ts +1 -1
- package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +1 -1
- package/dist/types/api/companyDataSet/useClearCompanyData.d.ts +1 -1
- package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +1 -1
- package/dist/types/api/documentValidation/useDocumentValidate.d.ts +1 -1
- package/dist/types/api/documents/useCreateDocument.d.ts +1 -1
- package/dist/types/api/documents/useDeleteDocument.d.ts +1 -1
- package/dist/types/api/documents/useDocument.d.ts +1 -1
- package/dist/types/api/documents/useUpdateDocument.d.ts +1 -1
- package/dist/types/api/entityVerifications/useVerifyIdNumber.d.ts +2 -2
- package/dist/types/api/idVerificationProviders/idVerificationStartCheck.d.ts +1 -1
- package/dist/types/api/idVerificationProviders/useExtractDocumentInformation.d.ts +1 -1
- package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +1 -1
- package/dist/types/api/legalEntity/useConfirmReview.d.ts +1 -1
- package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +1 -1
- package/dist/types/api/onboardingStatus/useGenerateOnboardingLink.d.ts +1 -1
- package/dist/types/api/pci/useSignPci.d.ts +1 -2
- package/dist/types/api/taskStatus/useTaskStatus.d.ts +2 -2
- package/dist/types/api/termsOfService/useAcceptTermsOfService.d.ts +1 -1
- package/dist/types/api/types.d.ts +2 -1
- package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +1 -1
- package/dist/types/api/uiAnalytics/usePushAnalyticEvent.d.ts +1 -1
- package/dist/types/api/validation/useValidateAccountIdentification.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +0 -1
- package/dist/types/components/BankAccount/forms/BankVerification/types.d.ts +1 -0
- package/dist/types/components/BankAccount/forms/BankVerification/verification/overlay/BankVerificationOverlay.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +0 -1
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +439 -439
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
- package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +1 -1
- package/dist/types/components/Business/forms/BusinessDetails/form-ids.d.ts +2 -0
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +1 -0
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructure.d.ts +0 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesDropin.d.ts +1 -1
- package/dist/types/components/BusinessLines/tasks/types.d.ts +2 -0
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +4 -2
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +475 -475
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +1 -2
- package/dist/types/components/EFP/tasks/TaxReportingDropin/utils.d.ts +1 -2
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/Individual.d.ts +41 -3
- package/dist/types/components/Individual/forms/Individual/form-ids.d.ts +2 -0
- package/dist/types/components/Individual/forms/Individual/types.d.ts +1 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +1 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/form-ids.d.ts +2 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +1 -1
- package/dist/types/components/Individual/tasks/DecisionMakers/utils.d.ts +1 -1
- package/dist/types/components/Shared/Introduction/copy.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +1 -1
- package/dist/types/components/Trust/tasks/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +1 -1
- package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +1 -1
- package/dist/types/core/user-events.d.ts +1 -0
- package/dist/types/language/types.d.ts +7 -2
- package/dist/types/language/utils.d.ts +1 -2
- package/dist/types/types/assert.d.ts +1 -0
- package/dist/types/utils/analytics/debouncedInputEvent.d.ts +1 -0
- package/dist/types/utils/analytics/getPrefilledDetails.d.ts +28 -0
- package/dist/types/utils/api/processCapabilitites.d.ts +13 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/formUtils.d.ts +1 -2
- package/dist/types/utils/getDisplayErrorMessage.d.ts +1 -2
- package/dist/types/utils/getName.d.ts +1 -1
- package/dist/types/utils/makeSelectItemForRole.d.ts +1 -1
- package/dist/types/utils/translation.d.ts +3 -2
- package/dist/{types-DDnAZYTj.js → types-C6ntGMCy.js} +3 -26
- package/dist/{types-DE1uuPfP.js → types-CpAtsPmJ.js} +1 -1
- package/dist/{types-hGeLq0SR.js → types-c9nG7Dev.js} +1 -1
- package/dist/unincorporated-partnership-MeN1dp53.js +97 -0
- package/dist/{upload-BF65P4KM.js → upload-BmUXjsaU.js} +2 -2
- package/dist/{us-check-CYY6Crhr.js → us-check-C1rTBsCY.js} +2 -2
- package/dist/{us-check-account-number-C7KE5YzX.js → us-check-account-number-9lI1dXNC.js} +2 -2
- package/dist/{us-check-routing-number-DUbhsYAR.js → us-check-routing-number-s_KaAGSM.js} +2 -2
- package/dist/{useAssociatedLegalEntity-D_Nk_obe.js → useAssociatedLegalEntity-ahBb64MW.js} +2 -2
- package/dist/useBusinessDetailsData-qQ2HRnKK.js +5161 -0
- package/dist/{useCreateLegalEntity-DT7ue23d.js → useCreateLegalEntity-Kc8_ZlAe.js} +2 -2
- package/dist/useDataset-DfKmlbQd.js +74 -0
- package/dist/useForm-9uKM-XKf.js +582 -0
- package/dist/{FormFlow-BrgeP70A.js → useFormContext-CvQfKDA3.js} +26 -31
- package/dist/{useGlobalData-C7tjZfC0.js → useGlobalData-BVQ2OrIi.js} +3 -3
- package/dist/useId-BZ0PA7jP.js +24 -0
- package/dist/{useMultiForm-DWozxGN4.js → useMultiForm-pAiPIh7X.js} +4 -4
- package/dist/{useOnboardingStatus-DBLS6PUq.js → useOnboardingStatus-BhDBSLB6.js} +1 -1
- package/dist/{useScenarios-DD06bWNN.js → useScenarios-DFW21Vhf.js} +2 -2
- package/dist/{useTermsOfServiceStatus-D2lYSqHn.js → useTermsOfServiceStatus-BnO0rXiL.js} +1 -1
- package/dist/{useToastContext-Cbw29cqc.js → useToastContext-D6Lbxqj9.js} +5 -17
- package/dist/{useUnincorporatedPartnershipMembers-Dbb2VjkF.js → useUnincorporatedPartnershipMembers-CIC7xPbD.js} +5 -5
- package/dist/useUpdateBusinessLines-WlwUOtSU.js +337 -0
- package/dist/{useUpdateLegalEntity-Aubxhgvv.js → useUpdateLegalEntity-CStkUt4I.js} +3 -3
- package/dist/utils-7_xBiPO_.js +58 -0
- package/dist/utils-BmxzrkCX.js +165 -0
- package/dist/{utils-D1-D6fui.js → utils-CB39nVjj.js} +6 -6
- package/dist/{utils-DenrGsUh.js → utils-CDAwsXQa.js} +4 -4
- package/dist/utils-DOiFhaKn.js +29 -0
- package/dist/{documentUtils-Be5wlCwo.js → validate-Bsx2oHT1.js} +170 -6
- package/dist/{validate-BxVes1el.js → validate-D-l23QLG.js} +2 -2
- package/dist/validate-D4iK6FUk.js +385 -0
- package/dist/{validationError-DPP91cM3.js → validationError-DYYlX-5X.js} +2 -2
- package/dist/{warning-circle-fill-CEN1WL7A.js → warning-circle-fill-DBvt921B.js} +2 -2
- package/dist/{warning-diamond-filled-BfXMlVrG.js → warning-diamond-filled-Lb2od2ry.js} +2 -2
- package/dist/{webinar-DqjqrNEv.js → webinar-m9nuFZBt.js} +2 -2
- package/dist/{yapily-logo-CZ4ywjwA.js → yapily-logo-BduxhNRA.js} +2 -2
- package/package.json +6 -6
- package/dist/ConstitutionalDocument-DM6M40MP.js +0 -143
- package/dist/CountryField-CsKJAI53.js +0 -843
- package/dist/IndividualOnfidoDropin-DZEn2Tf8.js +0 -2575
- package/dist/OnboardingDropinComponent-Cx-c_p0i.js +0 -7623
- package/dist/getFieldsWithExistingData-CfckMyJ1.js +0 -22
- package/dist/mapFinancialReportsToFinancialInformation-Bfvt2G87.js +0 -67
- package/dist/mapJpAddressSchemaToAddressLocalizations-CWY2lZGD.js +0 -63
- package/dist/types/components/Shared/forms/BusinessTypeSelection/EntityTypeRadioGroupCard.d.ts +0 -11
- package/dist/useBusinessDetailsData-DG9EJBH_.js +0 -2441
- package/dist/useDataset-DCCxYOjr.js +0 -220
- package/dist/useUpdateBusinessLines-8bDYsLav.js +0 -46
- package/dist/validate-BgMFLdKI.js +0 -41
|
@@ -0,0 +1,150 @@
|
|
|
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] = "1c77de0a-6553-41fa-b55c-a8b2f1c9cd7c", e._sentryDebugIdIdentifier = "sentry-dbid-1c77de0a-6553-41fa-b55c-a8b2f1c9cd7c");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
+
import { L as Loader, V as useAnalyticsContext } from "./StoreProvider-D9IR5HNN.js";
|
|
12
|
+
import cx from "classnames";
|
|
13
|
+
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
14
|
+
import { R as Radio } from "./Radio-BMtxBpnn.js";
|
|
15
|
+
const RadioCard = ({
|
|
16
|
+
optionId,
|
|
17
|
+
optionName,
|
|
18
|
+
optionDescription,
|
|
19
|
+
optionSubtitle,
|
|
20
|
+
name,
|
|
21
|
+
isInvalid,
|
|
22
|
+
isSelected,
|
|
23
|
+
onSelect,
|
|
24
|
+
classNames,
|
|
25
|
+
disabled,
|
|
26
|
+
loading,
|
|
27
|
+
icon,
|
|
28
|
+
body,
|
|
29
|
+
footer,
|
|
30
|
+
floatingRadio
|
|
31
|
+
}) => {
|
|
32
|
+
const id = useId("radio");
|
|
33
|
+
const elementIds = {
|
|
34
|
+
label: `${id}-label`,
|
|
35
|
+
description: `${id}-description`,
|
|
36
|
+
subtitle: `${id}-subtitle`
|
|
37
|
+
};
|
|
38
|
+
const ariaDescribedBy = `${optionSubtitle ? elementIds.subtitle : ""} ${optionDescription || body ? elementIds.description : ""}`.trim();
|
|
39
|
+
return /* @__PURE__ */ jsxs(
|
|
40
|
+
"label",
|
|
41
|
+
{
|
|
42
|
+
"data-testId": optionId,
|
|
43
|
+
className: cx([
|
|
44
|
+
"adyen-kyc-radio-card",
|
|
45
|
+
classNames?.label,
|
|
46
|
+
{ "adyen-kyc-radio-card--disabled": disabled }
|
|
47
|
+
]),
|
|
48
|
+
children: [
|
|
49
|
+
icon && /* @__PURE__ */ jsx("div", { className: cx("adyen-kyc-radio-card__icon", classNames?.icon), "aria-hidden": "true", children: icon }),
|
|
50
|
+
/* @__PURE__ */ jsxs("div", { className: "adyen-kyc-radio-card__content", children: [
|
|
51
|
+
/* @__PURE__ */ jsx("div", { className: "adyen-kyc-radio-card__header adyen-kyc-u-display-flex adyen-kyc-u-align-items-center", children: /* @__PURE__ */ jsxs(
|
|
52
|
+
"div",
|
|
53
|
+
{
|
|
54
|
+
className: cx([
|
|
55
|
+
"adyen-kyc-radio-group-card__label",
|
|
56
|
+
classNames?.header,
|
|
57
|
+
{ "adyen-kyc-radio-group-card__label--invalid": isInvalid }
|
|
58
|
+
]),
|
|
59
|
+
children: [
|
|
60
|
+
optionSubtitle && /* @__PURE__ */ jsxs("div", { id: elementIds.subtitle, className: "adyen-kyc-radio-group-card__subtitle", children: [
|
|
61
|
+
optionSubtitle,
|
|
62
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc-u-screen-reader-only", children: "." })
|
|
63
|
+
] }),
|
|
64
|
+
/* @__PURE__ */ jsx("span", { id: elementIds.label, children: optionName })
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
) }),
|
|
68
|
+
/* @__PURE__ */ jsx(
|
|
69
|
+
"div",
|
|
70
|
+
{
|
|
71
|
+
id: elementIds.description,
|
|
72
|
+
className: cx("adyen-kyc-radio-card__body", classNames?.body),
|
|
73
|
+
children: body ?? optionDescription
|
|
74
|
+
}
|
|
75
|
+
),
|
|
76
|
+
footer && /* @__PURE__ */ jsx("div", { className: cx("adyen-kyc-radio-card__footer", classNames?.footer), children: footer })
|
|
77
|
+
] }),
|
|
78
|
+
loading ? /* @__PURE__ */ jsx("span", { className: "adyen-kyc-radio-card__loading-icon", children: /* @__PURE__ */ jsx(Loader, { size: "small" }) }) : /* @__PURE__ */ jsx(
|
|
79
|
+
Radio,
|
|
80
|
+
{
|
|
81
|
+
id,
|
|
82
|
+
"aria-describedby": ariaDescribedBy,
|
|
83
|
+
"aria-labelledby": elementIds.label,
|
|
84
|
+
checked: isSelected,
|
|
85
|
+
groupName: name,
|
|
86
|
+
onClick: onSelect,
|
|
87
|
+
value: optionId,
|
|
88
|
+
disabled,
|
|
89
|
+
className: cx({ "adyen-kyc-radio-group-card__radio--floating": floatingRadio })
|
|
90
|
+
}
|
|
91
|
+
)
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
optionId
|
|
95
|
+
);
|
|
96
|
+
};
|
|
97
|
+
const RadioGroupCard = ({
|
|
98
|
+
options,
|
|
99
|
+
name,
|
|
100
|
+
onSelect,
|
|
101
|
+
selected,
|
|
102
|
+
isInvalid,
|
|
103
|
+
className,
|
|
104
|
+
optionId,
|
|
105
|
+
optionName,
|
|
106
|
+
optionDescription,
|
|
107
|
+
optionSubtitle,
|
|
108
|
+
optionClassNames,
|
|
109
|
+
renderOptionIcon,
|
|
110
|
+
renderOptionBody,
|
|
111
|
+
renderOptionFooter,
|
|
112
|
+
isOptionDisabled,
|
|
113
|
+
floatingRadio,
|
|
114
|
+
enableTracking = false
|
|
115
|
+
}) => {
|
|
116
|
+
const userEvents = useAnalyticsContext();
|
|
117
|
+
const handleSelect = (option) => {
|
|
118
|
+
if (enableTracking) {
|
|
119
|
+
userEvents.addFieldEvent("Interacted with form field", {
|
|
120
|
+
actionType: "input",
|
|
121
|
+
field: name,
|
|
122
|
+
returnValue: typeof option === "string" ? option : void 0
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
onSelect(option);
|
|
126
|
+
};
|
|
127
|
+
return /* @__PURE__ */ jsx("div", { className: className ?? "adyen-kyc-radio-group-card", children: options.map((option) => /* @__PURE__ */ jsx(
|
|
128
|
+
RadioCard,
|
|
129
|
+
{
|
|
130
|
+
optionId: optionId(option),
|
|
131
|
+
optionName: optionName(option),
|
|
132
|
+
optionDescription: optionDescription?.(option),
|
|
133
|
+
optionSubtitle: optionSubtitle?.(option),
|
|
134
|
+
isInvalid,
|
|
135
|
+
isSelected: selected === option,
|
|
136
|
+
onSelect: () => handleSelect(option),
|
|
137
|
+
name,
|
|
138
|
+
classNames: optionClassNames?.(option),
|
|
139
|
+
icon: renderOptionIcon?.(option),
|
|
140
|
+
body: renderOptionBody?.(option),
|
|
141
|
+
footer: renderOptionFooter?.(option),
|
|
142
|
+
disabled: isOptionDisabled?.(option),
|
|
143
|
+
floatingRadio
|
|
144
|
+
},
|
|
145
|
+
optionId(option)
|
|
146
|
+
)) });
|
|
147
|
+
};
|
|
148
|
+
export {
|
|
149
|
+
RadioGroupCard as R
|
|
150
|
+
};
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "10b96649-5f78-41fc-ab4e-9da09fb00cb4", e._sentryDebugIdIdentifier = "sentry-dbid-10b96649-5f78-41fc-ab4e-9da09fb00cb4");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { b as useApiContext,
|
|
13
|
-
import { C as Checkbox } from "./
|
|
14
|
-
import { H as Header } from "./
|
|
15
|
-
import { L as LoaderWrapper } from "./
|
|
16
|
-
import {
|
|
17
|
-
import { A as ActionBar } from "./ActionBar-
|
|
12
|
+
import { b as useApiContext, am as useMutation, k as httpPost, u as useTranslation } from "./StoreProvider-D9IR5HNN.js";
|
|
13
|
+
import { C as Checkbox } from "./Checkbox-D8rB6_HN.js";
|
|
14
|
+
import { H as Header } from "./Header-YafgG5Nz.js";
|
|
15
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CUz5NRFr.js";
|
|
16
|
+
import { u as useToastContext } from "./useToastContext-D6Lbxqj9.js";
|
|
17
|
+
import { A as ActionBar } from "./ActionBar-CK8dwgSJ.js";
|
|
18
18
|
import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
|
|
19
19
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
20
20
|
return httpPost({
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b3151b58-80fa-4714-8502-4170865b4243", e._sentryDebugIdIdentifier = "sentry-dbid-b3151b58-80fa-4714-8502-4170865b4243");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, a as addResourceBundles, L as Loader,
|
|
10
|
+
import { u as useTranslation, a as addResourceBundles, L as Loader, O as EntityTypes, g as getLegalEntityCountry, U as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D9IR5HNN.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-Cvb4hnru.js";
|
|
13
|
+
import { f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-DwKImil4.js";
|
|
14
|
+
import { u as useBusinessDetailsData, g as getForms, B as BusinessDetailsDropin } from "./useBusinessDetailsData-qQ2HRnKK.js";
|
|
15
15
|
const RootBusinessDetailsPage = ({
|
|
16
16
|
onSubmit,
|
|
17
17
|
handleHomeClick
|
|
@@ -2,39 +2,44 @@
|
|
|
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] = "4a0311f9-e043-47cf-bdfd-dbb6c6421d6c", e._sentryDebugIdIdentifier = "sentry-dbid-4a0311f9-e043-47cf-bdfd-dbb6c6421d6c");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CountryCodes,
|
|
10
|
+
import { C as CountryCodes, al as entriesOf, H as createLogger, u as useTranslation, L as Loader, X as IconButton, G as Typography, aF as Trans, B as Button, b as useApiContext, am as useMutation, an as httpDelete, Z as useExperimentsContext, V as useAnalyticsContext, ao as useQueryClient, O as EntityTypes, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, U as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D9IR5HNN.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useCallback, useMemo, useRef, useState, useEffect } from "preact/hooks";
|
|
13
|
-
import {
|
|
14
|
-
import { u as
|
|
15
|
-
import { F as FormContextProvider, a as FormFlow } from "./
|
|
16
|
-
import {
|
|
17
|
-
import { g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
18
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
19
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
13
|
+
import { g as useBusinessLines, h as useTaskStatus, T as TASK_STATUS_POLLING_INTERVAL_MS, u as useSalesChannels, i as usePciQuestionnaireList, a as usePciStatus } from "./OnboardingDropinComponent-DwKImil4.js";
|
|
14
|
+
import { s as salesChannelsWithWebData, u as useIndustryCodes, i as industryCodeFieldMetadata, a as IndustryCodeField, I as INDUSTRY_CODE_FIELD, S as SALES_CHANNELS_FIELD, W as WEB_DATA_FIELD, d as shouldSignNewPci, e as SCTA_FIELD, D as Divider, f as selectedBusinessLine, b as useCreateBusinessLine, c as useUpdateBusinessLine, g as businessLinesConfigurations, h as businessLinesForms } from "./useUpdateBusinessLines-WlwUOtSU.js";
|
|
15
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-CvQfKDA3.js";
|
|
16
|
+
import { u as useToastContext } from "./useToastContext-D6Lbxqj9.js";
|
|
17
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-B26ehyAw.js";
|
|
18
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BpJn607e.js";
|
|
19
|
+
import { u as useMultiForm } from "./useMultiForm-pAiPIh7X.js";
|
|
20
|
+
import { I as Image, u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-Cvb4hnru.js";
|
|
21
|
+
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
22
|
+
import { s as summaryStep } from "./Summary-Bq94iVfc.js";
|
|
23
|
+
import { H as Header } from "./Header-YafgG5Nz.js";
|
|
24
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-BlVlgetw.js";
|
|
24
25
|
import { Show } from "@preact/signals/utils";
|
|
25
|
-
import { C as Checkbox } from "./
|
|
26
|
-
import { F as Field } from "./
|
|
27
|
-
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-
|
|
28
|
-
import { I as InputText } from "./InputText-
|
|
29
|
-
import { SignPCIComponent } from "./SignPCIComponent-
|
|
30
|
-
import { A as Avatar } from "./Avatar-
|
|
26
|
+
import { C as Checkbox } from "./Checkbox-D8rB6_HN.js";
|
|
27
|
+
import { F as Field } from "./Field-B3Vy1-QZ.js";
|
|
28
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-pyBUluei.js";
|
|
29
|
+
import { I as InputText } from "./InputText-DGKAS6ZI.js";
|
|
30
|
+
import { SignPCIComponent } from "./SignPCIComponent-DqElmjjG.js";
|
|
31
|
+
import { A as Avatar } from "./Avatar-AC-D1DKh.js";
|
|
31
32
|
import cx from "classnames";
|
|
32
33
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
33
|
-
import {
|
|
34
|
+
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
35
|
+
import { L as Link } from "./Link-DWTJ55UO.js";
|
|
36
|
+
import { C as Card } from "./Card-Det7uTiv.js";
|
|
34
37
|
import { lazy } from "preact/compat";
|
|
35
|
-
import {
|
|
36
|
-
import { L as
|
|
37
|
-
import {
|
|
38
|
+
import { L as LandingLayout } from "./LandingLayout-co7NR2te.js";
|
|
39
|
+
import { L as List } from "./List-BAzyC6sw.js";
|
|
40
|
+
import { L as ListItem } from "./ListItem-B8D-kUHN.js";
|
|
41
|
+
import { S as StructuredList } from "./StructuredList-9dnJRdx_.js";
|
|
42
|
+
import { C as Confirm } from "./Confirm-Ctfqp-1b.js";
|
|
38
43
|
const rules = ({ data, country }) => {
|
|
39
44
|
return createFormRules({
|
|
40
45
|
webAddressRequired: () => {
|
|
@@ -124,6 +129,7 @@ const mapBusinessLineToBusinessLineSchema = (selectedBusinessLine2) => {
|
|
|
124
129
|
};
|
|
125
130
|
};
|
|
126
131
|
const submitBusinessLines = async ({
|
|
132
|
+
userEvents,
|
|
127
133
|
selectedBusinessLine: selectedBusinessLine2,
|
|
128
134
|
legalEntityId,
|
|
129
135
|
data,
|
|
@@ -165,10 +171,20 @@ const submitBusinessLines = async ({
|
|
|
165
171
|
let failureCount = 0;
|
|
166
172
|
results.forEach((result, index) => {
|
|
167
173
|
if (result.status === "rejected") {
|
|
174
|
+
userEvents?.addTaskEvent("Encountered error", {
|
|
175
|
+
actionType: "submit",
|
|
176
|
+
returnType: "businessLines",
|
|
177
|
+
returnValue: "businessLinesCreationFailure"
|
|
178
|
+
});
|
|
168
179
|
failureCount++;
|
|
169
180
|
logger.error(
|
|
170
181
|
`Failed to create business line with associated industry code: ${payloads[index].industryCode}`
|
|
171
182
|
);
|
|
183
|
+
} else {
|
|
184
|
+
userEvents?.addTaskEvent("Success", {
|
|
185
|
+
actionType: "submit",
|
|
186
|
+
industryCode: result.value.industryCode
|
|
187
|
+
});
|
|
172
188
|
}
|
|
173
189
|
});
|
|
174
190
|
if (failureCount > 0) {
|
|
@@ -193,11 +209,20 @@ const submitBusinessLines = async ({
|
|
|
193
209
|
};
|
|
194
210
|
try {
|
|
195
211
|
await updateBusinessLine(updatePayload);
|
|
212
|
+
userEvents?.addTaskEvent("Success", {
|
|
213
|
+
actionType: "edit",
|
|
214
|
+
industryCode: updatePayload.industryCode
|
|
215
|
+
});
|
|
196
216
|
showToast({
|
|
197
217
|
label: t(($) => $[`businessLineUpdateSuccess`], { ns: "businessLines" }),
|
|
198
218
|
variant: "success"
|
|
199
219
|
});
|
|
200
220
|
} catch {
|
|
221
|
+
userEvents?.addTaskEvent("Encountered error", {
|
|
222
|
+
actionType: "edit",
|
|
223
|
+
returnType: "businessLines",
|
|
224
|
+
returnValue: "businessLineUpdateFailure"
|
|
225
|
+
});
|
|
201
226
|
showToast({
|
|
202
227
|
label: t(($) => $[`businessLineUpdateFailure`], { ns: "businessLines" }),
|
|
203
228
|
variant: "error"
|
|
@@ -971,7 +996,7 @@ const businessLines$1 = "adyen-kyc-business-lines";
|
|
|
971
996
|
const styles$1 = {
|
|
972
997
|
businessLines: businessLines$1
|
|
973
998
|
};
|
|
974
|
-
const businessLines = lazy(() => import("./business-lines-
|
|
999
|
+
const businessLines = lazy(() => import("./business-lines-BAqTbnBw.js"));
|
|
975
1000
|
const BusinessLinesGettingStarted = ({
|
|
976
1001
|
handleGettingStartedClick,
|
|
977
1002
|
handleCancelClick
|
|
@@ -1011,6 +1036,7 @@ const BusinessLineModal = ({
|
|
|
1011
1036
|
const { t } = useTranslation(["common", "businessLines"]);
|
|
1012
1037
|
const { showToast } = useToastContext();
|
|
1013
1038
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
1039
|
+
const userEvents = useAnalyticsContext();
|
|
1014
1040
|
const { mutateAsync: deleteBusinessLine2, status: deleteStatus } = useDeleteBusinessLine();
|
|
1015
1041
|
const { refetch: fetchBusinessLines, status: fetchingStatus } = useBusinessLines([
|
|
1016
1042
|
"paymentProcessing"
|
|
@@ -1072,17 +1098,27 @@ const BusinessLineModal = ({
|
|
|
1072
1098
|
const confirmDeleteBusinessLine = async (businessLineId) => {
|
|
1073
1099
|
try {
|
|
1074
1100
|
await deleteBusinessLine2(businessLineId);
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
variant: "error"
|
|
1101
|
+
userEvents?.addTaskEvent("Success", {
|
|
1102
|
+
actionType: "remove",
|
|
1103
|
+
industryCode: businessLine.industryCode
|
|
1079
1104
|
});
|
|
1080
|
-
} finally {
|
|
1081
1105
|
showToast({
|
|
1082
1106
|
label: t(($) => $[`businessLineDeleteSuccess`], { ns: "businessLines" }),
|
|
1083
1107
|
variant: "success"
|
|
1084
1108
|
});
|
|
1085
1109
|
await fetchBusinessLines();
|
|
1110
|
+
} catch {
|
|
1111
|
+
userEvents?.addTaskEvent("Encountered error", {
|
|
1112
|
+
actionType: "remove",
|
|
1113
|
+
industryCode: businessLine.industryCode,
|
|
1114
|
+
returnType: "businessLine",
|
|
1115
|
+
returnValue: "businessLineDeleteFailure"
|
|
1116
|
+
});
|
|
1117
|
+
showToast({
|
|
1118
|
+
label: t(($) => $[`businessLineDeleteFailure`], { ns: "businessLines" }),
|
|
1119
|
+
variant: "error"
|
|
1120
|
+
});
|
|
1121
|
+
} finally {
|
|
1086
1122
|
setShowBusinessLineInfo(false);
|
|
1087
1123
|
}
|
|
1088
1124
|
};
|
|
@@ -1154,6 +1190,9 @@ const ExistingBusinessLines = ({
|
|
|
1154
1190
|
const { t } = useTranslation(["businessLines", "common"]);
|
|
1155
1191
|
const [showBusinessLineInfo, setShowBusinessLineInfo] = useState(false);
|
|
1156
1192
|
const [businessLine, setBusinessLine] = useState();
|
|
1193
|
+
const { data: normalizedTasks } = useTaskStatus({
|
|
1194
|
+
refetchInterval: TASK_STATUS_POLLING_INTERVAL_MS
|
|
1195
|
+
});
|
|
1157
1196
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1158
1197
|
/* @__PURE__ */ jsxs(StackLayout, { align: "center", gap: "none", children: [
|
|
1159
1198
|
/* @__PURE__ */ jsx(
|
|
@@ -1161,7 +1200,7 @@ const ExistingBusinessLines = ({
|
|
|
1161
1200
|
{
|
|
1162
1201
|
title: t(($) => $["businessLines"]),
|
|
1163
1202
|
description: t(($) => $["businessLinesGettingStarted"]),
|
|
1164
|
-
status:
|
|
1203
|
+
status: normalizedTasks?.ACQUIRING_BUSINESS_LINE?.status,
|
|
1165
1204
|
align: "center"
|
|
1166
1205
|
}
|
|
1167
1206
|
),
|
|
@@ -1238,12 +1277,14 @@ const BusinessLinesList = ({
|
|
|
1238
1277
|
] }) });
|
|
1239
1278
|
};
|
|
1240
1279
|
function BusinessLinesDropin({
|
|
1280
|
+
taskType,
|
|
1241
1281
|
handleHomeClick,
|
|
1242
1282
|
rootLegalEntity
|
|
1243
1283
|
}) {
|
|
1244
1284
|
const capabilityProblems = useCapabilityProblems();
|
|
1245
1285
|
const { showToast } = useToastContext();
|
|
1246
1286
|
const queryClient = useQueryClient();
|
|
1287
|
+
const userEvents = useAnalyticsContext();
|
|
1247
1288
|
const { mutateAsync: createBusinessLine, status: createBusinessLineStatus } = useCreateBusinessLine();
|
|
1248
1289
|
const { mutateAsync: updateBusinessLine, status: updateBusinessLineStatus } = useUpdateBusinessLine();
|
|
1249
1290
|
const {
|
|
@@ -1271,6 +1312,12 @@ function BusinessLinesDropin({
|
|
|
1271
1312
|
() => rules({ data, country }),
|
|
1272
1313
|
[data, country]
|
|
1273
1314
|
);
|
|
1315
|
+
useEffect(() => {
|
|
1316
|
+
userEvents.updateBaseTrackingPayload({ task: taskType });
|
|
1317
|
+
userEvents.addTaskEvent("Landed on page", {
|
|
1318
|
+
actionType: "start"
|
|
1319
|
+
});
|
|
1320
|
+
}, []);
|
|
1274
1321
|
useEffect(() => {
|
|
1275
1322
|
const props = getPropsFromConfigurations({
|
|
1276
1323
|
scenarioConfiguration: businessLinesConfigurations,
|
|
@@ -1333,6 +1380,7 @@ function BusinessLinesDropin({
|
|
|
1333
1380
|
const handleSubmit = async () => {
|
|
1334
1381
|
try {
|
|
1335
1382
|
await submitBusinessLines({
|
|
1383
|
+
userEvents,
|
|
1336
1384
|
selectedBusinessLine,
|
|
1337
1385
|
data,
|
|
1338
1386
|
createBusinessLine,
|
|
@@ -1364,15 +1412,9 @@ function BusinessLinesDropin({
|
|
|
1364
1412
|
return [.../* @__PURE__ */ new Set([...existingSalesChannels, ...selectedSalesChannels ?? []])];
|
|
1365
1413
|
}, [existingSalesChannels, selectedSalesChannels]);
|
|
1366
1414
|
const isAddingNewSalesChannels = hasBusinessLineData && activeForm.formId === "salesChannelsForm" && hasNewSalesChannels;
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
});
|
|
1370
|
-
const { isLoading: pciStatusLoading } = usePciStatus(
|
|
1371
|
-
{ additionalSalesChannels: allSalesChannels },
|
|
1372
|
-
{
|
|
1373
|
-
enabled: false
|
|
1374
|
-
}
|
|
1375
|
-
);
|
|
1415
|
+
const [pciCheckInFlight, setPciCheckInFlight] = useState(false);
|
|
1416
|
+
usePciQuestionnaireList({ enabled: false });
|
|
1417
|
+
usePciStatus({ additionalSalesChannels: allSalesChannels }, { enabled: false });
|
|
1376
1418
|
const handleCancelClick = () => {
|
|
1377
1419
|
if (hasExistingBusinessLines) {
|
|
1378
1420
|
setAddingBusinessLines(false);
|
|
@@ -1385,17 +1427,22 @@ function BusinessLinesDropin({
|
|
|
1385
1427
|
const overrideNextClick = async () => {
|
|
1386
1428
|
if (!activeForm.isValid) return handleNextClick();
|
|
1387
1429
|
if (isAddingNewSalesChannels) {
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
const pciResponse = await queryClient.fetchQuery({
|
|
1393
|
-
queryKey: ["pciStatus", { additionalSalesChannels: allSalesChannels }]
|
|
1430
|
+
try {
|
|
1431
|
+
setPciCheckInFlight(true);
|
|
1432
|
+
const questionnaireList = await queryClient.fetchQuery({
|
|
1433
|
+
queryKey: ["pciQuestionnaireList"]
|
|
1394
1434
|
});
|
|
1395
|
-
if (
|
|
1396
|
-
|
|
1397
|
-
|
|
1435
|
+
if (questionnaireList?.data?.length) {
|
|
1436
|
+
const pciResponse = await queryClient.fetchQuery({
|
|
1437
|
+
queryKey: ["pciStatus", { additionalSalesChannels: allSalesChannels }]
|
|
1438
|
+
});
|
|
1439
|
+
if (pciResponse?.signingRequired) {
|
|
1440
|
+
shouldSignNewPci.value = true;
|
|
1441
|
+
return;
|
|
1442
|
+
}
|
|
1398
1443
|
}
|
|
1444
|
+
} finally {
|
|
1445
|
+
setPciCheckInFlight(false);
|
|
1399
1446
|
}
|
|
1400
1447
|
}
|
|
1401
1448
|
return handleNextClick();
|
|
@@ -1421,7 +1468,7 @@ function BusinessLinesDropin({
|
|
|
1421
1468
|
handleBackClick,
|
|
1422
1469
|
handleCancelClick,
|
|
1423
1470
|
loadingStatus: showLoader ? "loading" : "success",
|
|
1424
|
-
nextButtonLoading:
|
|
1471
|
+
nextButtonLoading: pciCheckInFlight,
|
|
1425
1472
|
children: /* @__PURE__ */ jsx(
|
|
1426
1473
|
BusinessLines,
|
|
1427
1474
|
{
|
|
@@ -1462,7 +1509,14 @@ const RootBusinessLinesPage = ({ handleHomeClick }) => {
|
|
|
1462
1509
|
if (!rootLe) {
|
|
1463
1510
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
1464
1511
|
}
|
|
1465
|
-
return /* @__PURE__ */ jsx(
|
|
1512
|
+
return /* @__PURE__ */ jsx(
|
|
1513
|
+
BusinessLinesDropin,
|
|
1514
|
+
{
|
|
1515
|
+
handleHomeClick,
|
|
1516
|
+
rootLegalEntity: rootLe,
|
|
1517
|
+
taskType: TaskTypes.ACQUIRING_BUSINESS_LINE
|
|
1518
|
+
}
|
|
1519
|
+
);
|
|
1466
1520
|
};
|
|
1467
1521
|
export {
|
|
1468
1522
|
RootBusinessLinesPage
|
package/dist/{RootIndividualDetailsPage-BpTbnRMJ.js → RootIndividualDetailsPage-BFYP63_i.js}
RENAMED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9eaa4d2d-4632-49c8-8280-35c3139bd4cd", e._sentryDebugIdIdentifier = "sentry-dbid-9eaa4d2d-4632-49c8-8280-35c3139bd4cd");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, R as ROOT_LE,
|
|
10
|
+
import { c as useLegalEntity, R as ROOT_LE, Z as useExperimentsContext, N as useAccountHolder, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, q as isPartOfTrustFromLegalEntity, O as EntityTypes, ae as isOnfidoAutofillFlowEnabled, Y as noop, U as TaskTypes, _ as __variableDynamicImportRuntimeHelper, bp as individualOnfidoBaseMapping, aN as individualComponentsKeyMapping } from "./StoreProvider-D9IR5HNN.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import {
|
|
13
|
-
import { f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-
|
|
14
|
-
import { g as getTrustedFieldsProvider,
|
|
15
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-Cvb4hnru.js";
|
|
13
|
+
import { f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-DwKImil4.js";
|
|
14
|
+
import { g as getTrustedFieldsProvider, a as getTrustedFields } from "./bafinUtils-Wct4TWLH.js";
|
|
15
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin, i as individualOnfidoForms, b as individualForms } from "./IndividualOnfidoDropin-Dy5obHs1.js";
|
|
16
16
|
function RootIndividualDetailsPage({
|
|
17
17
|
asModal = false,
|
|
18
18
|
hideSidebar = false,
|