@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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f8598d75-6bb8-4b47-8b76-e839e1779bd1", e._sentryDebugIdIdentifier = "sentry-dbid-f8598d75-6bb8-4b47-8b76-e839e1779bd1");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,41 +10,63 @@
|
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { signal } from "@preact/signals";
|
|
12
12
|
import { useState, useEffect, useRef, useMemo, useCallback, useContext } from "preact/hooks";
|
|
13
|
-
import { b as useApiContext, j as useQuery, k as httpPost, m as httpGet,
|
|
14
|
-
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-
|
|
15
|
-
import {
|
|
13
|
+
import { b as useApiContext, j as useQuery, k as httpPost, m as httpGet, am as useMutation, ao as useQueryClient, H as createLogger, C as CountryCodes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, O as EntityTypes, _ as __variableDynamicImportRuntimeHelper, V as useAnalyticsContext, W as Icon, G as Typography, B as Button, r as LegalEntityTypes, ad as objectsDeepEqual, aW as doArraysMatch, as as isEmpty, Z as useExperimentsContext, b6 as getSdkToken, K as hasOwnEntityAssociationOfType, N as useAccountHolder, o as useSettingsContext, g as getLegalEntityCountry, aF as Trans, b7 as EEA_Countries, b8 as isAccountIdentifierObscured, b9 as hasEmptyFields, ba as extractFieldName, bb as concatenateFieldNames, b0 as keysOf, ai as getCapabilityProblems, U as TaskTypes, ak as cloneObject, w as skipToken } from "./StoreProvider-D9IR5HNN.js";
|
|
14
|
+
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-C5NqOfNW.js";
|
|
15
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CUz5NRFr.js";
|
|
16
16
|
import { E as ExperimentNames } from "./types-Dk94b8kx.js";
|
|
17
|
-
import {
|
|
18
|
-
import { u as useGlobalDataSlice, a as useGlobalData, b as useResetGlobalData, c as useStateContext } from "./useGlobalData-
|
|
19
|
-
import {
|
|
20
|
-
import { a as augmentWithCountryConfigs, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { A as AdyenKycSdkError, p as payoutAccountFormat, m as mapExistingFile, g as getPageName,
|
|
23
|
-
import {
|
|
24
|
-
import { c as currencyByCountry
|
|
25
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
26
|
-
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-
|
|
17
|
+
import { S as SettingNames } from "./TaskVerificationStatus-BLCkXEn6.js";
|
|
18
|
+
import { u as useGlobalDataSlice, a as useGlobalData, b as useResetGlobalData, c as useStateContext } from "./useGlobalData-BVQ2OrIi.js";
|
|
19
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-D6Lbxqj9.js";
|
|
20
|
+
import { a as augmentWithCountryConfigs, g as getPropsFromConfigurations } from "./process-field-configurations-B26ehyAw.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BpJn607e.js";
|
|
22
|
+
import { D as DocumentGuidance, A as AdyenKycSdkError, u as uppercase, p as payoutAccountFormat, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration, c as useUnifyLoadingStatus } from "./mapExistingFile-DNBa6Ekj.js";
|
|
23
|
+
import { C as Confirm } from "./Confirm-Ctfqp-1b.js";
|
|
24
|
+
import { c as currencyByCountry } from "./types-C6ntGMCy.js";
|
|
25
|
+
import { F as FormWrapper } from "./FormWrapper-BcNyCMkD.js";
|
|
26
|
+
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-DYYlX-5X.js";
|
|
27
27
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
28
|
-
import { f as fileToBase64, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getFileExtention } from "./
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
28
|
+
import { D as DropzoneFile, e as bytesToSize, f as defaultFileValidationOptions, h as fileValidationRules, S as StateContextSetter, i as fileToBase64, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getFileExtention } from "./validate-Bsx2oHT1.js";
|
|
29
|
+
import { d as datasetIdentifier, a as datasetUtilities } from "./datasetUtil-BHQp0-xL.js";
|
|
30
|
+
import { g as getLegalEntityNameBasedOnType, b as getPayoutAccountHolderName } from "./getName-CzpJ9tV7.js";
|
|
31
|
+
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-D6BlBF0m.js";
|
|
31
32
|
import { Show } from "@preact/signals/utils";
|
|
32
|
-
import { s as summaryStep } from "./Summary-
|
|
33
|
-
import {
|
|
34
|
-
import { u as
|
|
35
|
-
import {
|
|
33
|
+
import { s as summaryStep } from "./Summary-Bq94iVfc.js";
|
|
34
|
+
import { g as getFieldProps, a as getFormProps } from "./getProps-CLJfvUMb.js";
|
|
35
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity, I as Image } from "./Image-Cvb4hnru.js";
|
|
36
|
+
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
37
|
+
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
36
38
|
import cx from "classnames";
|
|
37
39
|
import { memo, useRef as useRef$1, useState as useState$1, useMemo as useMemo$1, useEffect as useEffect$1, lazy } from "preact/compat";
|
|
38
|
-
import {
|
|
40
|
+
import { F as Field } from "./Field-B3Vy1-QZ.js";
|
|
41
|
+
import { H as Header } from "./Header-YafgG5Nz.js";
|
|
42
|
+
import { S as Select } from "./Select-D1rFT3T8.js";
|
|
43
|
+
import { T as TextArea } from "./TextArea-D9eJloeE.js";
|
|
44
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-ahBb64MW.js";
|
|
45
|
+
import { u as useForm } from "./useForm-9uKM-XKf.js";
|
|
46
|
+
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-CIC7xPbD.js";
|
|
47
|
+
import { E as ErrorPanel } from "./ErrorPanel-CFN2G9Vz.js";
|
|
48
|
+
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-BlVlgetw.js";
|
|
39
49
|
import { b as bankStatementDescriptionPattern } from "./basePatterns-BwdnMQxI.js";
|
|
40
|
-
import { M as Modal } from "./Modal-
|
|
41
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
50
|
+
import { M as Modal } from "./Modal-pyBUluei.js";
|
|
51
|
+
import { E as EndStateLayout } from "./EndStateLayout-Ck_Lvgng.js";
|
|
52
|
+
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
42
53
|
import { createContext } from "preact";
|
|
43
|
-
import { a as Alert } from "./Alert-
|
|
44
|
-
import { A as ActionBar } from "./ActionBar-
|
|
54
|
+
import { a as Alert } from "./Alert-TCEgDc2-.js";
|
|
55
|
+
import { A as ActionBar } from "./ActionBar-CK8dwgSJ.js";
|
|
45
56
|
import OpenBankingSDK from "@adyen/openbankingsdk";
|
|
57
|
+
import { m as makeMask, n as numericInputs, a as nonInputs, s as spacer, c as customInputs, M as MaskedInput, d as alphanumericInputs, b as alphaInputs } from "./MaskedInput-Cn0VAuEp.js";
|
|
58
|
+
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
59
|
+
import { v as validatePatternOnBlur } from "./patternValidators-BXduwLbz.js";
|
|
60
|
+
import { a as isNotEmptyValidator } from "./commonValidators-DcFd5CHs.js";
|
|
61
|
+
import { I as InputText } from "./InputText-DGKAS6ZI.js";
|
|
62
|
+
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
63
|
+
import { C as CountryField } from "./CountryField-DzmOWqiE.js";
|
|
64
|
+
import { L as Link } from "./Link-DWTJ55UO.js";
|
|
65
|
+
import { R as RadioGroupCard } from "./RadioGroupCard-Pj9qq4uW.js";
|
|
46
66
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
47
|
-
import {
|
|
67
|
+
import { u as useDataset } from "./useDataset-DfKmlbQd.js";
|
|
68
|
+
import { C as Card } from "./Card-Det7uTiv.js";
|
|
69
|
+
import { C as ContextGuidance } from "./ContextGuidance-CCknw_Y1.js";
|
|
48
70
|
const getCheck = async (legalEntityId, baseUrl, data) => {
|
|
49
71
|
return httpPost(
|
|
50
72
|
{
|
|
@@ -349,19 +371,11 @@ function PayoutDetailsPage({
|
|
|
349
371
|
}) {
|
|
350
372
|
const { i18n } = useTranslation();
|
|
351
373
|
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
352
|
-
const { data: associatedLe, isLoading: associatedLeIsLoading } = useAssociatedLegalEntity(
|
|
353
|
-
rootLe,
|
|
354
|
-
[
|
|
355
|
-
LegalEntityTypes.SOLE_PROPRIETORSHIP,
|
|
356
|
-
LegalEntityTypes.TRUST,
|
|
357
|
-
LegalEntityTypes.UNINCORPORATED_PARTNERSHIP
|
|
358
|
-
]
|
|
359
|
-
);
|
|
360
374
|
const capabilityProblems = useCapabilityProblems();
|
|
361
375
|
addResourceBundles(i18n, [
|
|
362
376
|
{ ns: "banking", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-DyX-yYYI.js"), "../language/cs-CZ.json": () => import("./cs-CZ-BD5bYeuJ.js"), "../language/da-DK.json": () => import("./da-DK-h8DYQ_Iq.js"), "../language/de-DE.json": () => import("./de-DE-LQE_LFFL.js"), "../language/el-GR.json": () => import("./el-GR-DGbzdIL0.js"), "../language/en-US.json": () => import("./en-US-h0JneJJl.js"), "../language/es-ES.json": () => import("./es-ES-DdGmXdxO.js"), "../language/et-EE.json": () => import("./et-EE-D5SNtVsM.js"), "../language/fi-FI.json": () => import("./fi-FI-CIYa9SyS.js"), "../language/fr-FR.json": () => import("./fr-FR-l5z31r7i.js"), "../language/hr-HR.json": () => import("./hr-HR-BtowKWUi.js"), "../language/hu-HU.json": () => import("./hu-HU-MHIPehPS.js"), "../language/it-IT.json": () => import("./it-IT-BAvmkEF8.js"), "../language/ja-JP.json": () => import("./ja-JP-C6Go-kaC.js"), "../language/lt-LT.json": () => import("./lt-LT-DDs3ngzd.js"), "../language/lv-LV.json": () => import("./lv-LV-CmB2-IO5.js"), "../language/nl-NL.json": () => import("./nl-NL-DV4NqPVW.js"), "../language/no-NO.json": () => import("./no-NO-B9618F4_.js"), "../language/pl-PL.json": () => import("./pl-PL-DqzUSnFK.js"), "../language/pt-BR.json": () => import("./pt-BR-zuqB_CBf.js"), "../language/pt-PT.json": () => import("./pt-PT-CFY1O_K0.js"), "../language/ro-RO.json": () => import("./ro-RO-7CJ4F5iB.js"), "../language/sk-SK.json": () => import("./sk-SK-DubwJifw.js"), "../language/sl-SI.json": () => import("./sl-SI-59OQIZ3f.js"), "../language/sv-SE.json": () => import("./sv-SE-CQWBP7n1.js") }), `../language/${lang}.json`, 3) }
|
|
363
377
|
]);
|
|
364
|
-
if (!rootLe
|
|
378
|
+
if (!rootLe) {
|
|
365
379
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
366
380
|
}
|
|
367
381
|
const problems = capabilityProblems && transferInstrumentId ? getProblemsForEntity(capabilityProblems, EntityTypes.BANK_ACCOUNT, transferInstrumentId) : void 0;
|
|
@@ -372,7 +386,6 @@ function PayoutDetailsPage({
|
|
|
372
386
|
currentTransferInstrumentId: transferInstrumentId,
|
|
373
387
|
setCurrentTransferInstrumentId: setTransferInstrumentId,
|
|
374
388
|
legalEntityResponse: rootLe,
|
|
375
|
-
associatedLegalArrangement: associatedLe,
|
|
376
389
|
problems,
|
|
377
390
|
onSubmit,
|
|
378
391
|
handleHomeClick,
|
|
@@ -744,22 +757,30 @@ const bankDocumentFields = [
|
|
|
744
757
|
function BankDocument(props) {
|
|
745
758
|
const {
|
|
746
759
|
legalEntity,
|
|
747
|
-
associatedLegalArrangement,
|
|
748
760
|
country,
|
|
749
761
|
optionalFields,
|
|
750
762
|
validators,
|
|
751
763
|
data: bankData,
|
|
752
764
|
id,
|
|
753
|
-
description: description2,
|
|
754
|
-
heading,
|
|
755
765
|
formIsActive,
|
|
756
766
|
fieldValidationErrors,
|
|
757
767
|
shouldValidate
|
|
758
768
|
} = props;
|
|
769
|
+
const { data: associatedLegalArrangement } = useAssociatedLegalEntity(legalEntity, [
|
|
770
|
+
LegalEntityTypes.SOLE_PROPRIETORSHIP,
|
|
771
|
+
LegalEntityTypes.TRUST,
|
|
772
|
+
LegalEntityTypes.UNINCORPORATED_PARTNERSHIP
|
|
773
|
+
]);
|
|
759
774
|
const { t } = useTranslation("banking");
|
|
760
775
|
const { t: commonT } = useTranslation("common");
|
|
761
776
|
const stateRef = useRef({ setState: null });
|
|
762
777
|
const isBankStatementOptional = optionalFields?.includes("bankStatementDocument") ?? false;
|
|
778
|
+
const heading = t(
|
|
779
|
+
($) => $[isBankStatementOptional ? "uploadABankDocumentOptional" : "uploadABankDocument"]
|
|
780
|
+
);
|
|
781
|
+
const description2 = t(
|
|
782
|
+
($) => $[legalEntity.type === "individual" ? "toHelpVerifyYourBankDetailsIndividual" : "toHelpVerifyYourBankDetailsBusiness"]
|
|
783
|
+
);
|
|
763
784
|
const formUtils = createFormUtils(props, commonT);
|
|
764
785
|
const bankStatementValidationOptions = useMemo(
|
|
765
786
|
() => ({
|
|
@@ -923,7 +944,7 @@ function BankDocument(props) {
|
|
|
923
944
|
}
|
|
924
945
|
const MemoizedBankDocument = memo(
|
|
925
946
|
BankDocument,
|
|
926
|
-
(prevProps, nextProps) => objectsDeepEqual(prevProps.requiredFields, nextProps.requiredFields) && objectsDeepEqual(prevProps.optionalFields, nextProps.optionalFields) && objectsDeepEqual(prevProps.data, nextProps.data) && objectsDeepEqual(prevProps.formVerificationErrors, nextProps.formVerificationErrors) && objectsDeepEqual(prevProps.fieldValidationErrors, nextProps.fieldValidationErrors) && prevProps.country === nextProps.country && prevProps.shouldValidate === nextProps.shouldValidate && prevProps.
|
|
947
|
+
(prevProps, nextProps) => objectsDeepEqual(prevProps.requiredFields, nextProps.requiredFields) && objectsDeepEqual(prevProps.optionalFields, nextProps.optionalFields) && objectsDeepEqual(prevProps.data, nextProps.data) && objectsDeepEqual(prevProps.formVerificationErrors, nextProps.formVerificationErrors) && objectsDeepEqual(prevProps.fieldValidationErrors, nextProps.fieldValidationErrors) && prevProps.country === nextProps.country && prevProps.shouldValidate === nextProps.shouldValidate && prevProps.formIsActive === nextProps.formIsActive
|
|
927
948
|
);
|
|
928
949
|
const validateDocument = async (context, document2) => {
|
|
929
950
|
const { baseUrl, rootLegalEntityId } = context;
|
|
@@ -1373,7 +1394,7 @@ function BankDocumentClassification(props) {
|
|
|
1373
1394
|
}
|
|
1374
1395
|
const MemoizedBankDocumentClassification = memo(
|
|
1375
1396
|
BankDocumentClassification,
|
|
1376
|
-
(prevProps, nextProps) => objectsDeepEqual(prevProps.requiredFields, nextProps.requiredFields) && objectsDeepEqual(prevProps.optionalFields, nextProps.optionalFields) && objectsDeepEqual(prevProps.data, nextProps.data) && objectsDeepEqual(prevProps.formVerificationErrors, nextProps.formVerificationErrors) && objectsDeepEqual(prevProps.fieldValidationErrors, nextProps.fieldValidationErrors) && prevProps.country === nextProps.country && prevProps.shouldValidate === nextProps.shouldValidate && prevProps.
|
|
1397
|
+
(prevProps, nextProps) => objectsDeepEqual(prevProps.requiredFields, nextProps.requiredFields) && objectsDeepEqual(prevProps.optionalFields, nextProps.optionalFields) && objectsDeepEqual(prevProps.data, nextProps.data) && objectsDeepEqual(prevProps.formVerificationErrors, nextProps.formVerificationErrors) && objectsDeepEqual(prevProps.fieldValidationErrors, nextProps.fieldValidationErrors) && prevProps.country === nextProps.country && prevProps.shouldValidate === nextProps.shouldValidate && prevProps.formIsActive === nextProps.formIsActive
|
|
1377
1398
|
);
|
|
1378
1399
|
const bankVerificationValidationRules = {
|
|
1379
1400
|
verifiedAccountHolder: {
|
|
@@ -1430,7 +1451,8 @@ function BankVerificationOverlay({
|
|
|
1430
1451
|
setBankVerificationError,
|
|
1431
1452
|
onBack,
|
|
1432
1453
|
retrieveBankAccountInfo,
|
|
1433
|
-
createTrustedTransferInstrument: createTrustedTransferInstrument2
|
|
1454
|
+
createTrustedTransferInstrument: createTrustedTransferInstrument2,
|
|
1455
|
+
providerName
|
|
1434
1456
|
}) {
|
|
1435
1457
|
const { t } = useTranslation("banking");
|
|
1436
1458
|
const userEvents = useAnalyticsContext();
|
|
@@ -1440,7 +1462,10 @@ function BankVerificationOverlay({
|
|
|
1440
1462
|
userEvents.addPageEvent("Encountered error", {
|
|
1441
1463
|
actionType: "add",
|
|
1442
1464
|
returnType: "sdk error",
|
|
1443
|
-
returnValue
|
|
1465
|
+
returnValue,
|
|
1466
|
+
additionalData: {
|
|
1467
|
+
providerName
|
|
1468
|
+
}
|
|
1444
1469
|
});
|
|
1445
1470
|
};
|
|
1446
1471
|
const DEFAULT_ERROR = {
|
|
@@ -1510,7 +1535,12 @@ function BankVerificationOverlay({
|
|
|
1510
1535
|
link: url,
|
|
1511
1536
|
successHandler: (code, state) => {
|
|
1512
1537
|
createTrustedTransferInstrument2?.(code, state).then((res) => {
|
|
1513
|
-
userEvents.addPageEvent("Success", {
|
|
1538
|
+
userEvents.addPageEvent("Success", {
|
|
1539
|
+
actionType: "add",
|
|
1540
|
+
additionalData: {
|
|
1541
|
+
providerName
|
|
1542
|
+
}
|
|
1543
|
+
});
|
|
1514
1544
|
if (res) {
|
|
1515
1545
|
widgetCallback({
|
|
1516
1546
|
action: VerificationWidgetCallbackActions.VERIFICATION_SUCCESS,
|
|
@@ -1581,7 +1611,10 @@ function BankVerificationWidget({
|
|
|
1581
1611
|
userEvents.addPageEvent("Encountered error", {
|
|
1582
1612
|
actionType: "add",
|
|
1583
1613
|
returnType: "sdk error",
|
|
1584
|
-
returnValue
|
|
1614
|
+
returnValue,
|
|
1615
|
+
additionalData: {
|
|
1616
|
+
providerName: vendor
|
|
1617
|
+
}
|
|
1585
1618
|
});
|
|
1586
1619
|
};
|
|
1587
1620
|
const DEFAULT_ERROR = {
|
|
@@ -1659,7 +1692,12 @@ function BankVerificationWidget({
|
|
|
1659
1692
|
link: url,
|
|
1660
1693
|
successHandler: (code, state) => {
|
|
1661
1694
|
createTrustedTransferInstrument2(code, state).then((res) => {
|
|
1662
|
-
userEvents.addPageEvent("Success", {
|
|
1695
|
+
userEvents.addPageEvent("Success", {
|
|
1696
|
+
actionType: "add",
|
|
1697
|
+
additionalData: {
|
|
1698
|
+
providerName: vendor
|
|
1699
|
+
}
|
|
1700
|
+
});
|
|
1663
1701
|
if (res) {
|
|
1664
1702
|
widgetCallback({
|
|
1665
1703
|
action: VerificationWidgetCallbackActions.VERIFICATION_SUCCESS,
|
|
@@ -1714,7 +1752,12 @@ function BankVerificationWidget({
|
|
|
1714
1752
|
action: VerificationWidgetCallbackActions.VERIFICATION_SUCCESS,
|
|
1715
1753
|
result
|
|
1716
1754
|
});
|
|
1717
|
-
userEvents.addPageEvent("Success", {
|
|
1755
|
+
userEvents.addPageEvent("Success", {
|
|
1756
|
+
actionType: "add",
|
|
1757
|
+
additionalData: {
|
|
1758
|
+
providerName: vendor
|
|
1759
|
+
}
|
|
1760
|
+
});
|
|
1718
1761
|
} catch (err) {
|
|
1719
1762
|
if (err instanceof AdyenKycSdkError) {
|
|
1720
1763
|
switch (err.message) {
|
|
@@ -1883,7 +1926,8 @@ function BankVerification(props) {
|
|
|
1883
1926
|
setBankVerificationError,
|
|
1884
1927
|
onBack: handleOnBack,
|
|
1885
1928
|
retrieveBankAccountInfo,
|
|
1886
|
-
createTrustedTransferInstrument: createTrustedTransferInstrument2
|
|
1929
|
+
createTrustedTransferInstrument: createTrustedTransferInstrument2,
|
|
1930
|
+
providerName: provider.name
|
|
1887
1931
|
}
|
|
1888
1932
|
)
|
|
1889
1933
|
] });
|
|
@@ -2958,9 +3002,9 @@ const styles$2 = {
|
|
|
2958
3002
|
checkGuidanceAnnotated,
|
|
2959
3003
|
checkGuidanceInactive
|
|
2960
3004
|
};
|
|
2961
|
-
const usCheckAccount = lazy(() => import("./us-check-account-number-
|
|
2962
|
-
const usCheckRouting = lazy(() => import("./us-check-routing-number-
|
|
2963
|
-
const usCheck = lazy(() => import("./us-check-
|
|
3005
|
+
const usCheckAccount = lazy(() => import("./us-check-account-number-9lI1dXNC.js"));
|
|
3006
|
+
const usCheckRouting = lazy(() => import("./us-check-routing-number-s_KaAGSM.js"));
|
|
3007
|
+
const usCheck = lazy(() => import("./us-check-C1rTBsCY.js"));
|
|
2964
3008
|
const CheckGuidance = ({ annotated }) => {
|
|
2965
3009
|
return /* @__PURE__ */ jsxs("div", { className: styles$2.checkGuidance, children: [
|
|
2966
3010
|
/* @__PURE__ */ jsx(
|
|
@@ -3391,20 +3435,20 @@ const regions = {
|
|
|
3391
3435
|
const getAllowedBankCountries = (country) => Object.values(regions).find((countriesInARegion) => countriesInARegion.includes(country)) ?? [
|
|
3392
3436
|
country
|
|
3393
3437
|
];
|
|
3394
|
-
const tinkLogo = lazy(() => import("./tink-logo-
|
|
3395
|
-
const plaidLogo = lazy(() => import("./plaid-logo-
|
|
3396
|
-
const yapilyLogo = lazy(() => import("./yapily-logo-
|
|
3438
|
+
const tinkLogo = lazy(() => import("./tink-logo-DDyjz5eJ.js"));
|
|
3439
|
+
const plaidLogo = lazy(() => import("./plaid-logo-FsZ7kfL-.js"));
|
|
3440
|
+
const yapilyLogo = lazy(() => import("./yapily-logo-BduxhNRA.js"));
|
|
3397
3441
|
const instantVerificationImage = lazy(
|
|
3398
|
-
() => import("./instant-verification-
|
|
3442
|
+
() => import("./instant-verification-UrnuHTYn.js")
|
|
3399
3443
|
);
|
|
3400
3444
|
const manualVerificationImage = lazy(
|
|
3401
|
-
() => import("./manual-verification-
|
|
3445
|
+
() => import("./manual-verification-BO8zgAYT.js")
|
|
3402
3446
|
);
|
|
3403
3447
|
const instantVerificationImageNew = lazy(
|
|
3404
|
-
() => import("./payout-verification-instant-
|
|
3448
|
+
() => import("./payout-verification-instant-BzpfOQLD.js")
|
|
3405
3449
|
);
|
|
3406
3450
|
const manualVerificationImageNew = lazy(
|
|
3407
|
-
() => import("./payout-verification-manual-
|
|
3451
|
+
() => import("./payout-verification-manual-gNEoeZkV.js")
|
|
3408
3452
|
);
|
|
3409
3453
|
const getProviderIconName = (providerName) => {
|
|
3410
3454
|
switch (providerName?.toLowerCase()) {
|
|
@@ -3829,7 +3873,6 @@ function PayoutDetails(props) {
|
|
|
3829
3873
|
const {
|
|
3830
3874
|
activeForm,
|
|
3831
3875
|
legalEntityResponse,
|
|
3832
|
-
associatedLegalArrangement,
|
|
3833
3876
|
provider,
|
|
3834
3877
|
bankVendorsLoadingStatus,
|
|
3835
3878
|
instantVerificationAvailable,
|
|
@@ -3851,10 +3894,6 @@ function PayoutDetails(props) {
|
|
|
3851
3894
|
const bankDocumentFormProps = getFormProps(props, PayoutAccountDocumentsFormID);
|
|
3852
3895
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
3853
3896
|
const isCrossBorderPayoutsEnabled = isExperimentEnabled("EnableCrossBorderPayouts");
|
|
3854
|
-
const isBankStatementDocumentOptional = createFormUtils(
|
|
3855
|
-
bankDocumentFormProps ?? {},
|
|
3856
|
-
commonT
|
|
3857
|
-
).isOptionalField("bankStatementDocument");
|
|
3858
3897
|
const globalData = useGlobalData();
|
|
3859
3898
|
const data = isEmpty(globalData) || propData?.payoutAccountDetails?.transferInstrumentId ? propData : globalData;
|
|
3860
3899
|
const resetData = useResetGlobalData();
|
|
@@ -3984,7 +4023,6 @@ function PayoutDetails(props) {
|
|
|
3984
4023
|
...bankDocumentFormProps,
|
|
3985
4024
|
id: PayoutAccountDocumentsFormID,
|
|
3986
4025
|
legalEntity: legalEntityResponse,
|
|
3987
|
-
associatedLegalArrangement,
|
|
3988
4026
|
country: bankCountry,
|
|
3989
4027
|
formIsActive: activeForm?.formId === PayoutAccountDocumentsFormID
|
|
3990
4028
|
}
|
|
@@ -3992,15 +4030,8 @@ function PayoutDetails(props) {
|
|
|
3992
4030
|
MemoizedBankDocument,
|
|
3993
4031
|
{
|
|
3994
4032
|
...bankDocumentFormProps,
|
|
3995
|
-
heading: t(
|
|
3996
|
-
($) => $[isBankStatementDocumentOptional ? "uploadABankDocumentOptional" : "uploadABankDocument"]
|
|
3997
|
-
),
|
|
3998
|
-
description: t(
|
|
3999
|
-
($) => $[legalEntityResponse.type === "individual" ? "toHelpVerifyYourBankDetailsIndividual" : "toHelpVerifyYourBankDetailsBusiness"]
|
|
4000
|
-
),
|
|
4001
4033
|
id: PayoutAccountDocumentsFormID,
|
|
4002
4034
|
legalEntity: legalEntityResponse,
|
|
4003
|
-
associatedLegalArrangement,
|
|
4004
4035
|
country: bankCountry,
|
|
4005
4036
|
formIsActive: activeForm?.formId === PayoutAccountDocumentsFormID
|
|
4006
4037
|
}
|
|
@@ -4276,7 +4307,6 @@ const getPayoutVerificationMethod = (transferInstrument, instantVerificationEnab
|
|
|
4276
4307
|
const showInstantVerificationPayoutModal = signal(false);
|
|
4277
4308
|
function PayoutDetailsDropin({
|
|
4278
4309
|
legalEntityResponse,
|
|
4279
|
-
associatedLegalArrangement,
|
|
4280
4310
|
problems: propProblems,
|
|
4281
4311
|
onSubmit: externalOnSubmit,
|
|
4282
4312
|
onChange,
|
|
@@ -4828,9 +4858,9 @@ function PayoutDetailsDropin({
|
|
|
4828
4858
|
summary: {
|
|
4829
4859
|
data: formatDataForSummary(),
|
|
4830
4860
|
omitted: {
|
|
4831
|
-
keys: ["transferInstrumentId"
|
|
4861
|
+
keys: ["transferInstrumentId"],
|
|
4832
4862
|
forms: omittedForms,
|
|
4833
|
-
summaryEditButton: ["payoutVerificationMethod"]
|
|
4863
|
+
summaryEditButton: ["payoutVerificationMethod", "payoutAccountVerification"]
|
|
4834
4864
|
}
|
|
4835
4865
|
},
|
|
4836
4866
|
handleBackClick: !isPayoutVerificationMethodPageRedesignEnabled || activeForm.formId !== "summary" ? handleFormBackClick : void 0,
|
|
@@ -4861,7 +4891,6 @@ function PayoutDetailsDropin({
|
|
|
4861
4891
|
setHideSidebar: setHideFooterAndSidebar,
|
|
4862
4892
|
setSkipSubmit,
|
|
4863
4893
|
legalEntityResponse,
|
|
4864
|
-
associatedLegalArrangement,
|
|
4865
4894
|
provider,
|
|
4866
4895
|
bankVendorsLoadingStatus,
|
|
4867
4896
|
instantVerificationAvailable,
|
|
@@ -0,0 +1,39 @@
|
|
|
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] = "3f3b84a1-5a2a-430f-aea4-411f089b9860", e._sentryDebugIdIdentifier = "sentry-dbid-3f3b84a1-5a2a-430f-aea4-411f089b9860");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { jsx } from "preact/jsx-runtime";
|
|
11
|
+
import cx from "classnames";
|
|
12
|
+
const Radio = ({
|
|
13
|
+
id,
|
|
14
|
+
value,
|
|
15
|
+
groupName,
|
|
16
|
+
checked = false,
|
|
17
|
+
disabled = false,
|
|
18
|
+
onClick,
|
|
19
|
+
className,
|
|
20
|
+
"aria-labelledby": ariaLabelledBy,
|
|
21
|
+
"aria-describedby": ariaDescribedBy
|
|
22
|
+
}) => /* @__PURE__ */ jsx(
|
|
23
|
+
"input",
|
|
24
|
+
{
|
|
25
|
+
"aria-labelledby": ariaLabelledBy,
|
|
26
|
+
"aria-describedby": ariaDescribedBy,
|
|
27
|
+
className: cx(["adyen-kyc-input-radio__input", className]),
|
|
28
|
+
id,
|
|
29
|
+
type: "radio",
|
|
30
|
+
checked,
|
|
31
|
+
name: groupName,
|
|
32
|
+
onClick,
|
|
33
|
+
value,
|
|
34
|
+
disabled
|
|
35
|
+
}
|
|
36
|
+
);
|
|
37
|
+
export {
|
|
38
|
+
Radio as R
|
|
39
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
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] = "752a2ab1-2d31-4e0b-b1bf-8164b5468a95", e._sentryDebugIdIdentifier = "sentry-dbid-752a2ab1-2d31-4e0b-b1bf-8164b5468a95");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
+
import cx from "classnames";
|
|
12
|
+
import { u as useTranslation, V as useAnalyticsContext, Y as noop } from "./StoreProvider-D9IR5HNN.js";
|
|
13
|
+
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
14
|
+
import { R as Radio } from "./Radio-BMtxBpnn.js";
|
|
15
|
+
const RadioWithLabel = ({
|
|
16
|
+
value,
|
|
17
|
+
label,
|
|
18
|
+
content,
|
|
19
|
+
groupName,
|
|
20
|
+
checked = false,
|
|
21
|
+
disabled = false,
|
|
22
|
+
onClick
|
|
23
|
+
}) => {
|
|
24
|
+
const id = useId("radio");
|
|
25
|
+
return /* @__PURE__ */ jsxs("label", { htmlFor: id, className: "adyen-kyc-input-radio", children: [
|
|
26
|
+
/* @__PURE__ */ jsx(
|
|
27
|
+
Radio,
|
|
28
|
+
{
|
|
29
|
+
id,
|
|
30
|
+
checked,
|
|
31
|
+
groupName,
|
|
32
|
+
onClick,
|
|
33
|
+
value,
|
|
34
|
+
disabled
|
|
35
|
+
}
|
|
36
|
+
),
|
|
37
|
+
/* @__PURE__ */ jsxs("div", { className: "adyen-kyc-input-radio__content", children: [
|
|
38
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc-input-radio__label adyen-kyc-label__text", children: label }),
|
|
39
|
+
content
|
|
40
|
+
] })
|
|
41
|
+
] });
|
|
42
|
+
};
|
|
43
|
+
function RadioGroup({
|
|
44
|
+
items = [],
|
|
45
|
+
name,
|
|
46
|
+
onChange = noop,
|
|
47
|
+
value,
|
|
48
|
+
disabled = false,
|
|
49
|
+
horizontal = false,
|
|
50
|
+
showContentOnlyOnSelected = false,
|
|
51
|
+
className,
|
|
52
|
+
enableTracking = false
|
|
53
|
+
}) {
|
|
54
|
+
const { t, i18n } = useTranslation("common");
|
|
55
|
+
const userEvents = useAnalyticsContext();
|
|
56
|
+
const handleChange = (id) => {
|
|
57
|
+
if (enableTracking) {
|
|
58
|
+
userEvents.addFieldEvent("Interacted with form field", {
|
|
59
|
+
actionType: "input",
|
|
60
|
+
field: name,
|
|
61
|
+
returnValue: value
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
onChange(id);
|
|
65
|
+
};
|
|
66
|
+
return /* @__PURE__ */ jsx(
|
|
67
|
+
"div",
|
|
68
|
+
{
|
|
69
|
+
className: cx([
|
|
70
|
+
"adyen-kyc-radio-group",
|
|
71
|
+
{ "adyen-kyc-radio-group--horizontal": horizontal },
|
|
72
|
+
className
|
|
73
|
+
]),
|
|
74
|
+
children: items.map((item) => {
|
|
75
|
+
const isSelected = item.id === value;
|
|
76
|
+
const visibleContent = isSelected || !showContentOnlyOnSelected ? item.content : void 0;
|
|
77
|
+
const keyExists = i18n.exists(item.name, { ns: "common" });
|
|
78
|
+
return /* @__PURE__ */ jsx(
|
|
79
|
+
RadioWithLabel,
|
|
80
|
+
{
|
|
81
|
+
value: item.id,
|
|
82
|
+
label: keyExists ? t(($) => $[item.name]) : item.name,
|
|
83
|
+
content: visibleContent,
|
|
84
|
+
groupName: name,
|
|
85
|
+
checked: isSelected,
|
|
86
|
+
disabled,
|
|
87
|
+
onClick: () => handleChange(item.id)
|
|
88
|
+
},
|
|
89
|
+
item.id
|
|
90
|
+
);
|
|
91
|
+
})
|
|
92
|
+
}
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
export {
|
|
96
|
+
RadioGroup as R,
|
|
97
|
+
RadioWithLabel as a
|
|
98
|
+
};
|