@adyen/kyc-components 4.0.0-compact.4 → 4.0.0-compact.7
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-BpEgUWXz.js → AcceptTermsOfServiceComponent-BFqDontt.js} +37 -29
- package/dist/{Accordion-C7tT1-lq.js → Accordion-B2vSnESS.js} +2 -2
- package/dist/{AccountSetupRejected-Bx9bf2P2.js → AccountSetupRejected-f8rcBzZj.js} +4 -4
- package/dist/{ActionBar-BYag3Mhx.js → ActionBar-CijauUSe.js} +2 -2
- package/dist/{Address-BG5_sFfZ.js → Address-Bj7zJ6yZ.js} +83 -288
- package/dist/{Alert-CjdHpM1t.js → Alert-CFmX9yNV.js} +3 -3
- package/dist/{Avatar-BbYg2DuO.js → Avatar-DWU7t_0U.js} +2 -2
- package/dist/{BusinessFinancingComponent-C6IiU1SV.js → BusinessFinancingComponent-_DvatBRp.js} +7 -7
- package/dist/{BusinessFinancingDropin-BGSfIRyw.js → BusinessFinancingDropin-BuATaIOz.js} +691 -300
- package/dist/{BusinessFinancingPage-B6B4tyGt.js → BusinessFinancingPage-Bpu78Ynn.js} +5 -5
- package/dist/{BusinessTypeSelectionPage-0jkL0xW-.js → BusinessTypeSelectionPage-gsT7g7u8.js} +59 -39
- package/dist/Card-OQuFzmxm.js +90 -0
- package/dist/{debouncedInputEvent-BdLyqQK5.js → Checkbox-5Sc5pzsh.js} +3 -38
- package/dist/Confirm-C0J_JwMM.js +64 -0
- package/dist/ConstitutionalDocument-Bw5T0g5Q.js +2361 -0
- package/dist/ContactDetails-CXTim9KR.js +396 -0
- package/dist/ContextGuidance-074d6FWy.js +34 -0
- package/dist/{ContractViewer-Byp71k2e.js → ContractViewer-DcQHIGMU.js} +2 -2
- package/dist/CountryField-DxZlK1rV.js +66 -0
- package/dist/CreateIndividualComponent-BppUrKMC.js +65 -0
- package/dist/{CreateTransferInstrumentComponent-BNvXg6_9.js → CreateTransferInstrumentComponent-Cl2NOJb6.js} +6 -13
- package/dist/{Currency-DpseKPZa.js → Currency-CIgj9KwH.js} +68 -13
- package/dist/{CustomerSupport-BzpGH7XC.js → CustomerSupport-UenL9SqQ.js} +13 -10
- package/dist/{DebugModal-DyH69DXv.js → DebugModal-KXKodU9u.js} +12 -9
- package/dist/{DecisionMakerDetailsPage-BiCWUl-E.js → DecisionMakerDetailsPage-Xwe1qYtH.js} +19 -21
- package/dist/{DecisionMakers-WTQe_49J.js → DecisionMakers-CJDodZSl.js} +41 -25
- package/dist/Dropzone-kpihpy7N.js +224 -0
- package/dist/{EmbeddedStatus-CcwyilpG.js → EmbeddedStatus-BJjPDUeS.js} +3 -3
- package/dist/{EndStateLayout-DUFAp0sp.js → EndStateLayout-Cx1NUGVq.js} +2 -2
- package/dist/EntityAssociation-BtQeHZOq.js +178 -0
- package/dist/{EntityGuidanceStatus-Bpa8WnR_.js → EntityGuidanceStatus-DyMVy3R4.js} +4 -3
- package/dist/ErrorPanel-CAALFKmE.js +194 -0
- package/dist/Field-Bs7wGDqk.js +141 -0
- package/dist/{FormNavigation-BP2ZV8AF.js → FormNavigation-BtSvWPRY.js} +3 -3
- package/dist/{FormWrapper-D2abCVld.js → FormWrapper-B3N3YosC.js} +10 -10
- package/dist/Header-vslG1ugE.js +83 -0
- package/dist/Image-CAucF9wz.js +27 -0
- package/dist/Individual.rules-CP2tzjmO.js +383 -0
- package/dist/IndividualDropin-xfXkDkrM.js +5168 -0
- package/dist/InputDate-CLxqciJA.js +43 -0
- package/dist/InputGroup-WBfGDV5F.js +32 -0
- package/dist/InputText-BdCbTzL9.js +134 -0
- package/dist/{Introduction-Ee8931m9.js → Introduction-BRWdnVv5.js} +4 -4
- package/dist/{JpAddress-Br78ZY9o.js → JpAddress-BSEenMj0.js} +62 -28
- package/dist/LandingLayout-kl7TkBGx.js +60 -0
- package/dist/LegalCompanyNameField-DzAxAnD9.js +138 -0
- package/dist/{LegalRepresentativeDetailsPage-kZbXv8m2.js → LegalRepresentativeDetailsPage--yY_D66i.js} +7 -12
- package/dist/Link-CXYU8cLY.js +35 -0
- package/dist/List-BAzyC6sw.js +83 -0
- package/dist/{ListItem-DKLPtRMQ.js → ListItem-HD5_HiQ2.js} +3 -3
- package/dist/LoaderWrapper-C2PvjjQc.js +42 -0
- package/dist/{ManageIndividualComponent-CrAC6lmI.js → ManageIndividualComponent-BGaAbJjj.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-D188174Y.js → ManageTermsOfServiceComponent-DFjaajE4.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-DDIhJrq3.js → ManageTransferInstrumentComponent-Dndkwh_d.js} +20 -15
- package/dist/{Spacer-BT5nYRXK.js → MaskedInput-BSW18fxr.js} +29 -635
- package/dist/{MaybeModal-QG3JQV0A.js → MaybeModal-xIjl3I31.js} +3 -3
- package/dist/{Modal-B8fxl0iP.js → Modal-CZ-HuGUO.js} +5 -5
- package/dist/Name-D6EhveoK.js +81 -0
- package/dist/OnboardingDropinComponent-CHtcVTHh.js +2672 -0
- package/dist/{PayoutDetailsDropin-D_ee4PgW.js → PayoutDetailsDropin-C2pNMAZS.js} +257 -161
- package/dist/Radio-BMtxBpnn.js +39 -0
- package/dist/RadioGroup-CxcIXYzs.js +100 -0
- package/dist/RadioGroupCard-Y214QWmQ.js +152 -0
- package/dist/{Review-BDXmgIlE.js → Review-B2NCN4h_.js} +8 -7
- package/dist/RootBusinessDetailsPage-hr5fLCIH.js +50 -0
- package/dist/{RootBusinessLinesPage-CbaRG8zg.js → RootBusinessLinesPage-DSna9haW.js} +166 -82
- package/dist/{RootIndividualDetailsPage-D4hpO1W0.js → RootIndividualDetailsPage-BItguz9n.js} +10 -19
- package/dist/{useForm-BsQfbbso.js → Select-DaCJsYNl.js} +22 -779
- package/dist/{SignPCIComponent-4qzKpijW.js → SignPCIComponent-C2YjBxQM.js} +16 -13
- package/dist/{SingpassSelection-BB6R98e_.js → SingpassSelection-B3ozCH9I.js} +9 -7
- package/dist/{SoleProprietorshipPage-Z5lqmwWa.js → SoleProprietorshipPage-DIzzhgjr.js} +6 -5
- package/dist/{SourceOfFundsPage-BA638WTW.js → SourceOfFundsPage-C3kXyE7G.js} +200 -421
- package/dist/Spacer-BK3jDget.js +18 -0
- package/dist/{StepProgressIndicator-Bs1V38Kt.js → StepProgressIndicator-BSGlNU3K.js} +2 -2
- package/dist/StoreProvider-99-ewU62.js +4793 -0
- package/dist/StructuredList-CVMZBzwq.js +61 -0
- package/dist/{Summary-BOSxxPjv.js → Summary-D0GcSMNn.js} +22 -6
- package/dist/{InputText-qTMbrUXW.js → TaskVerificationStatus-DZIw2ztV.js} +3 -123
- package/dist/TaxInformationField-BxQvx1zK.js +3741 -0
- package/dist/{TaxReportingDropin-CQzNhf9Q.js → TaxReportingDropin-BqvAQH2c.js} +38 -37
- package/dist/TextArea-BjsWgkR-.js +103 -0
- package/dist/TileGroup-C-5-VREz.js +203 -0
- package/dist/{TrustDetailsPage-BLNK52Za.js → TrustDetailsPage-YROGiuFJ.js} +59 -37
- package/dist/TrustMemberCompanyPage-Z2EuqPEI.js +68 -0
- package/dist/{TrustMemberIndividualPage-q2iayL78.js → TrustMemberIndividualPage-DmNp3D89.js} +13 -15
- package/dist/{TrustMemberRoleAndTypePage-C1WVoqKI.js → TrustMemberRoleAndTypePage-BEOtdItr.js} +136 -35
- package/dist/{TrustMembersOverview-5UGm_iG9.js → TrustMembersOverview-GybHMIEU.js} +14 -13
- package/dist/{UnincorporatedPartnershipIndividualPage-CyqUGlhC.js → UnincorporatedPartnershipIndividualPage-BCYxSTlv.js} +12 -14
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-D_J_JQ00.js → UnincorporatedPartnershipMemberCompanyPage-Buez4OHl.js} +11 -7
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-C98KZ4pT.js → UnincorporatedPartnershipMemberRoleAndTypePage-Cfpe0BuU.js} +28 -17
- package/dist/{UnincorporatedPartnershipMembersOverview-C5jfbcPJ.js → UnincorporatedPartnershipMembersOverview-B3Vi088r.js} +10 -9
- package/dist/{VerificationErrorAlert-BJ9X1Bkv.js → VerificationErrorAlert-C6_ewC7c.js} +4 -23
- package/dist/{ViewVerificationStatusComponent-KnTqf4d6.js → ViewVerificationStatusComponent-DpA4jlct.js} +5 -4
- package/dist/accountHolderUtils-Btu9mMnM.js +66 -0
- package/dist/adyen-business-financing.js +8 -4
- package/dist/adyen-individual-configuration.js +8 -4
- package/dist/adyen-individual-status.js +5 -4
- package/dist/adyen-invited-decision-maker.js +87 -0
- package/dist/adyen-kyc-components.js +22 -20
- package/dist/adyen-onboarding.js +8 -4
- package/dist/adyen-terms-of-service-management.js +8 -4
- package/dist/adyen-terms-of-service-status.js +5 -4
- package/dist/adyen-transfer-instrument-configuration.js +8 -4
- package/dist/adyen-transfer-instrument-management.js +5 -4
- package/dist/adyen-verification-status.js +8 -4
- package/dist/{arrow-right-KxA3SvQj.js → arrow-right-BoqwUH_d.js} +2 -2
- package/dist/bafinUtils-CIGv_BK8.js +80 -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-DTt6he7v.js +24 -0
- package/dist/company-types-value-D_mKv5PT.js +23 -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/da-DK-B3Pg-MWO.js +13 -0
- package/dist/{da-DK-Dc0QYG8m.js → da-DK-Cd5IQPv3.js} +8 -1
- package/dist/{da-DK-CoTdzXlA.js → da-DK-DQ4ZYSea.js} +2 -2
- package/dist/da-DK-DzcTI92X.js +13 -0
- package/dist/datasetUtil-BHQp0-xL.js +58 -0
- package/dist/{de-DE-Dz2OsS1F.js → de-DE-C9NH2zMh.js} +8 -1
- package/dist/{de-DE-z0cPgxGN.js → de-DE-CkbOZ6S_.js} +2 -2
- package/dist/de-DE-S6qDey1L.js +13 -0
- package/dist/de-DE-dPfrbCii.js +13 -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-BYk71qFP.js → dropinUtils--st1YpV6.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/{en-US-CzEL6t1W.js → en-US-D1sB335h.js} +9 -3
- package/dist/en-US-DLY20x1O.js +13 -0
- package/dist/{en-US-D-B35AoN.js → en-US-DYP6rAvA.js} +8 -1
- package/dist/{en-US-fyGPkcqX.js → en-US-cVpRgdC8.js} +2 -2
- package/dist/es-ES--IvNed_Q.js +13 -0
- package/dist/{es-ES-DUn82eVS.js → es-ES-BAolMrZ0.js} +2 -2
- package/dist/es-ES-BYl5-PFR.js +13 -0
- package/dist/{es-ES-BI_jdT67.js → es-ES-DK-7qtDf.js} +8 -1
- package/dist/{external-link-DCMYUMfW.js → external-link-Cg6pJaSJ.js} +2 -2
- package/dist/{fi-FI-hwzizPnr.js → fi-FI-BJLU1JHw.js} +8 -1
- package/dist/fi-FI-BUixKfXH.js +13 -0
- package/dist/{fi-FI-C3TTCFBv.js → fi-FI-D8WrLxxq.js} +2 -2
- package/dist/fi-FI-DFxljML-.js +13 -0
- package/dist/fieldConfigurations-BUT9DTUH.js +21 -0
- package/dist/filterProblemsByTaskForms-Cz7iQtms.js +30 -0
- package/dist/form-rules-DhbF2mY4.js +13 -0
- package/dist/formUtils-C_sWWLS3.js +107 -0
- package/dist/{fr-FR-CYZXbwc9.js → fr-FR-B2je0smB.js} +8 -1
- package/dist/fr-FR-BM-qNLci.js +13 -0
- package/dist/{fr-FR-BbKadiaZ.js → fr-FR-Beljeilc.js} +2 -2
- package/dist/fr-FR-DPehHVb6.js +13 -0
- package/dist/{funds-in-D8bj0aoE.js → funds-in-CInoUdmG.js} +2 -2
- package/dist/{getName-9MyzlDpt.js → getName-CnZDw7kV.js} +2 -2
- package/dist/getProblemsForEntity-D8qEVVOM.js +24 -0
- package/dist/getProps-Cc3J2-z9.js +148 -0
- package/dist/getTrustedFields-C5-mXl-l.js +64 -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/{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/{iframeWidget-OATZoluK.js → iframeWidget-DqeucjDU.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-CUuXL9Na.js +23 -0
- package/dist/isNewEntity-7Vw_eQBr.js +13 -0
- package/dist/{it-IT-CGhQqmiU.js → it-IT-5a7NHVFo.js} +2 -2
- package/dist/it-IT-D63gRTDc.js +13 -0
- package/dist/it-IT-DOBp2-MP.js +13 -0
- package/dist/{it-IT-Erh1DIlj.js → it-IT-Dhwa9Ecj.js} +8 -1
- package/dist/{ja-JP-D1vtig2x.js → ja-JP-B3wVYIJU.js} +38 -38
- package/dist/{ja-JP-ThzG9vIo.js → ja-JP-Bc4U0S8-.js} +9 -2
- package/dist/{ja-JP-DGNXrNMK.js → ja-JP-Bv3ru9Xq.js} +21 -14
- package/dist/{ja-JP-CSz7fEkn.js → ja-JP-CceCDXLB.js} +2 -2
- package/dist/ja-JP-DL0IjTzn.js +13 -0
- package/dist/{ja-JP-CvREJ56h.js → ja-JP-DSvZhFNY.js} +5 -5
- package/dist/{ja-JP-C6Go-kaC.js → ja-JP-g6VOUGXZ.js} +4 -4
- package/dist/japanSupportUtils-CGWcXGP2.js +16 -0
- package/dist/jpAddressSchema-DEOyz9Yo.js +26 -0
- package/dist/{localizeDateString-CtnAUzr_.js → localizeDateString-D6tFShQu.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/{manual-verification-BvZWqA00.js → manual-verification-BO8zgAYT.js} +2 -2
- package/dist/{mapExistingFile-Iep6Rez8.js → mapExistingFile-BM9f5AeG.js} +81 -7
- package/dist/mapJpAddressSchemaToAddressLocalizations-Cu4hdrYE.js +162 -0
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-BGAZ4tOn.js → mapLegalEntityToIndividualSchema-DVKTWyvx.js} +63 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-C6ha6E0S.js → mapTransferInstrumentToPayoutAccount--gtugk3J.js} +3 -2
- package/dist/{minus-circle-filled-kC2IUvKz.js → minus-circle-filled-ZhtJ0GD3.js} +2 -2
- package/dist/{nl-NL-O9GCHMDA.js → nl-NL-B0fvINJj.js} +8 -1
- package/dist/{nl-NL-OHlJx2bn.js → nl-NL-CmURERx_.js} +2 -2
- package/dist/nl-NL-KQ6bciOb.js +13 -0
- package/dist/nl-NL-SjOGmGk5.js +13 -0
- package/dist/no-NO-BAWVf0GX.js +13 -0
- package/dist/no-NO-Ds3VioxT.js +13 -0
- package/dist/{no-NO-CA1aR6Wh.js → no-NO-Jw7Gae-a.js} +8 -1
- package/dist/{no-NO-DEYydng4.js → no-NO-qyqWODMp.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-vYKnE5-t.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-BBc1EBeB.js → process-field-configurations-Dl2Isz78.js} +4 -4
- package/dist/{pt-BR-NtLaWlnZ.js → pt-BR-BaTE6BB_.js} +8 -1
- package/dist/pt-BR-BfDe_8iW.js +13 -0
- package/dist/{pt-BR-DWAziFjb.js → pt-BR-BxoOF8jB.js} +2 -2
- package/dist/pt-BR-Ct4s4jXV.js +13 -0
- package/dist/{recurring-CkL4cCM2.js → recurring-DKNs9K3x.js} +2 -2
- package/dist/{reporting-DerosUNm.js → reporting-D5ABpLO_.js} +2 -2
- package/dist/resolveEnvironment-B_JokQ0n.js +84 -0
- 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-eM6T7GeQ.js +66 -0
- 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/sl-SI-BAIm-qBe.js +13 -0
- package/dist/{sl-SI-C5vfq7vv.js → sl-SI-DTvJT7fC.js} +2 -2
- package/dist/{sl-SI-tPwbFvOI.js → sl-SI-DbfswGh0.js} +8 -1
- package/dist/sl-SI-hxwQIw_i.js +13 -0
- 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 +1364 -1368
- package/dist/styles-CLV89_hH.js +1364 -1368
- package/dist/summaryItem-CAQCQSkt.js +18 -0
- package/dist/sv-SE-0PQ-U1u6.js +13 -0
- package/dist/sv-SE-BZNey_8S.js +13 -0
- package/dist/{sv-SE-K1QT1cOt.js → sv-SE-D_Efxy3s.js} +8 -1
- package/dist/{sv-SE-BrO9NKWs.js → sv-SE-N-Hqwcjq.js} +2 -2
- 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/address/useAddressCleanse.d.ts +1 -1
- package/dist/types/api/address/useRetrieveAddress.d.ts +1 -1
- package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +1 -1
- package/dist/types/api/address/useSearchAddress.d.ts +1 -2
- package/dist/types/api/businessLines/useBusinessLines.d.ts +3 -3
- package/dist/types/api/businessLines/useCreateBusinessLine.d.ts +2 -2
- package/dist/types/api/businessLines/useDeleteBusinessLine.d.ts +2 -2
- package/dist/types/api/businessLines/useUpdateBusinessLines.d.ts +2 -2
- package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +2 -2
- package/dist/types/api/check/useCheck.d.ts +1 -2
- package/dist/types/api/companyDataSet/useClearCompanyData.d.ts +2 -2
- package/dist/types/api/companySearch/useCompanySearch.d.ts +1 -2
- package/dist/types/api/companySelection/useCompanySelection.d.ts +1 -1
- package/dist/types/api/configurations/useScenarios.d.ts +3 -161
- package/dist/types/api/configurations/useSupportedCountries.d.ts +1 -1
- package/dist/types/api/configurations/useTaskTypes.d.ts +1 -1
- package/dist/types/api/configurations/useVersionConfiguration.d.ts +1 -1
- package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +2 -2
- package/dist/types/api/datasets/useLegalForms.d.ts +1 -1
- package/dist/types/api/datasets/useNaceCodes.d.ts +1 -1
- package/dist/types/api/datasets/useSourceOfFundsTypes.d.ts +1 -1
- package/dist/types/api/documentValidation/useDocumentValidate.d.ts +2 -4
- package/dist/types/api/documents/useCreateDocument.d.ts +2 -2
- package/dist/types/api/documents/useDeleteDocument.d.ts +2 -2
- package/dist/types/api/documents/useDocument.d.ts +2 -2
- package/dist/types/api/documents/useDocuments.d.ts +1 -1
- package/dist/types/api/documents/useUpdateDocument.d.ts +2 -2
- package/dist/types/api/entityVerifications/useVerifyIdNumber.d.ts +2 -2
- package/dist/types/api/idNowProvider/useIdNowProvider.d.ts +3 -4
- package/dist/types/api/idVerificationProviders/idVerificationStartCheck.d.ts +2 -2
- package/dist/types/api/idVerificationProviders/useExtractDocumentInformation.d.ts +2 -2
- package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +3 -3
- package/dist/types/api/industryCodes/useIndustryCodes.d.ts +1 -2
- package/dist/types/api/legalEntity/useConfirmReview.d.ts +2 -2
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +8 -389
- package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +2 -2
- package/dist/types/api/onboardingStatus/useGenerateOnboardingLink.d.ts +2 -2
- package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -1
- package/dist/types/api/openId/useOpenIdAuthorizationLink.d.ts +1 -2
- package/dist/types/api/pci/usePciQuestionnaireList.d.ts +1 -1
- package/dist/types/api/pci/usePciStatus.d.ts +1 -1
- package/dist/types/api/pci/usePciTemplate.d.ts +1 -1
- package/dist/types/api/pci/useSignPci.d.ts +2 -3
- package/dist/types/api/providersConfiguration/useProviderStatus.d.ts +1 -1
- package/dist/types/api/queryKeys.d.ts +1 -1
- package/dist/types/api/taskStatus/useTaskStatus.d.ts +2 -2
- package/dist/types/api/taxClassification/useTaxClassification.d.ts +1 -1
- package/dist/types/api/termsOfService/useAcceptTermsOfService.d.ts +2 -3
- package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +1 -7
- package/dist/types/api/termsOfService/useTermsOfService.d.ts +1 -1
- package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +1 -1
- package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +1 -1
- package/dist/types/api/tinVerification/useVerifyTin.d.ts +1 -1
- package/dist/types/api/transferInstruments/useBankVerificationProviders.d.ts +1 -1
- package/dist/types/api/transferInstruments/useCreateTrustedTransferInstrument.d.ts +1 -1
- package/dist/types/api/transferInstruments/useDeleteTransferInstrument.d.ts +1 -1
- package/dist/types/api/transferInstruments/useHandleBankVerificationError.d.ts +1 -1
- package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +2 -2
- package/dist/types/api/transferInstruments/useTransferInstruments.d.ts +1 -1
- package/dist/types/api/transferInstruments/useUpdateTransferInstrument.d.ts +1 -1
- package/dist/types/api/transferInstruments/useUpdateTrustedTransferInstrument.d.ts +1 -1
- package/dist/types/api/types.d.ts +3 -2
- package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +2 -2
- package/dist/types/api/uiAnalytics/usePushAnalyticEvent.d.ts +2 -2
- package/dist/types/api/validation/useValidateAccountIdentification.d.ts +2 -3
- package/dist/types/api/validation/useValidatePhoneNumber.d.ts +1 -1
- package/dist/types/components/{Shared → Apps}/tasks/TaskList/utils.d.ts +1 -5
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentClassification.d.ts +1 -2
- 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/rules.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/pages/PayoutDetailsPage.d.ts +3 -3
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformation.d.ts +0 -2
- package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +0 -3
- package/dist/types/components/Business/forms/BusinessDetails/form-ids.d.ts +2 -0
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +12 -11
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +2 -1
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +4 -4
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructure.d.ts +0 -1
- package/dist/types/components/{Shared → Business}/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -1
- package/dist/types/components/{Shared → Business}/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +1 -1
- package/dist/types/components/{Shared → Business}/forms/FinancialInformation/mapping/mapFinancialReportsToFinancialInformation.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +11 -11
- package/dist/types/components/Business/mapping/businessDetails/businessBankAccountTaxIdUtils.d.ts +7 -0
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +4 -2
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +8 -1
- package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +1 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +0 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +4 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +3 -4
- package/dist/types/components/Business/utils/companyUtil.d.ts +0 -10
- package/dist/types/components/BusinessLines/constants.d.ts +2 -0
- package/dist/types/components/BusinessLines/fields/SctaField/types.d.ts +1 -1
- package/dist/types/components/BusinessLines/fields/WebDataField/types.d.ts +1 -1
- package/dist/types/components/BusinessLines/pages/RootBusinessLinesPage.d.ts +1 -2
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLineModal/BusinessLineModal.d.ts +2 -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 +8 -4
- package/dist/types/components/BusinessLines/tasks/validate.d.ts +0 -2
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +1 -1
- package/dist/types/components/EFP/fields/LegalFormField/LegalFormField.d.ts +1 -1
- package/dist/types/components/EFP/fields/NaceCodeField/NaceCodeField.d.ts +1 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +5771 -541
- package/dist/types/components/EFP/mapping/mapBusinessFinancingToLegalEntity.d.ts +3 -2
- package/dist/types/components/EFP/mapping/mapLegalEntityToBusinessFinancing.d.ts +1 -1
- package/dist/types/components/EFP/pages/BusinessFinancingPage.d.ts +1 -2
- package/dist/types/components/EFP/pages/SourceOfFundsPage.d.ts +1 -2
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingSoleProprietor.d.ts +2 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSoleProprietorPersonalInformation.d.ts +4 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +28 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +14 -3
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +10 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +20 -21
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +6 -4
- package/dist/types/components/EFP/tasks/TaxReportingDropin/utils.d.ts +1 -2
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +2 -1
- package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +2 -2
- package/dist/types/components/EmbeddedDropins/InvitedDecisionMakerComponent/InvitedDecisionMakerComponent.d.ts +4 -0
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/DropinComposer.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/RouterDropinComposer.d.ts +4 -0
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +1 -1
- package/dist/types/components/Individual/fields/IdentityNumber/fieldConfig.d.ts +4 -3
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +29 -0
- package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/Identity/Identity.types.d.ts +3 -3
- package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/Identity/TypeOfIdentity/index.d.ts +2 -2
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/Identity/validate.d.ts +4 -0
- package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/validate.d.ts +8 -8
- package/dist/types/components/Individual/forms/BasicDetails/BasicDetails.types.d.ts +22 -0
- package/dist/types/components/Individual/forms/BasicDetails/validate.d.ts +8 -0
- package/dist/types/components/Individual/forms/{IndividualOnfido/DataConflictsModal → DataConflictsModal}/ConflictRow.d.ts +1 -1
- package/dist/types/components/Individual/forms/{IndividualOnfido/DataConflictsModal → DataConflictsModal}/DataConflictsModal.d.ts +1 -1
- package/dist/types/components/Individual/forms/{Individual/IdDocumentUpload → IdDocumentUpload}/types.d.ts +5 -15
- package/dist/types/components/Individual/forms/{Individual/IdDocumentUpload → IdDocumentUpload}/utils.d.ts +1 -1
- package/dist/types/components/Individual/forms/IdNowVerificationModal/isIdNowModalOpen.d.ts +18 -0
- package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/IdVerificationMethod.types.d.ts +5 -4
- package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/OnfidoVerificationModal/OnfidoVerificationModal.d.ts +1 -1
- package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/UploadedDocument/UploadedDocument.d.ts +1 -1
- package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/individualOnfidoConflictsSchema.d.ts +5 -5
- package/dist/types/components/Individual/forms/IdVerificationMethod/mapExtractionResultToSchema.d.ts +4 -0
- package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/validateExtractionResult.d.ts +3 -3
- package/dist/types/components/Individual/forms/{IndividualOnfido/IndividualOnfido.d.ts → Individual.d.ts} +6 -2
- package/dist/types/components/Individual/forms/{IndividualOnfido/IndividualOnfido.rules.d.ts → Individual.rules.d.ts} +8 -9
- package/dist/types/components/Individual/forms/{IndividualOnfido/IndividualOnfido.types.d.ts → Individual.types.d.ts} +16 -15
- package/dist/types/components/Individual/forms/{Individual/ProofOfRelationship → ProofOfRelationship}/types.d.ts +1 -1
- package/dist/types/components/Individual/forms/{Individual/ProofOfResidency → ProofOfResidency}/types.d.ts +1 -1
- package/dist/types/components/Individual/forms/{IndividualOnfido/SignatoryQuestionnaire → SignatoryQuestionnaire}/SignatoryQuestionnaire.types.d.ts +1 -1
- package/dist/types/components/Individual/forms/{IndividualOnfido/UboQuestionnaire → UboQuestionnaire}/UboQuestionnaire.types.d.ts +2 -2
- package/dist/types/components/Individual/forms/{IndividualOnfido/UboQuestionnaire → UboQuestionnaire}/UboQuestionnaireModalContent.d.ts +1 -1
- package/dist/types/components/Individual/forms/form-ids.d.ts +2 -0
- package/dist/types/components/Individual/helpers/bafinUtils.d.ts +3 -2
- package/dist/types/components/Individual/helpers/mandateIdVerificationForMotionCapture.d.ts +2 -3
- package/dist/types/components/Individual/helpers/roleUtils.d.ts +1 -1
- package/dist/types/components/Individual/mapping/adjustOnfidoIdentificationData.d.ts +1 -1
- package/dist/types/components/Individual/mapping/getOnfidoIdentityTypeToApiIdentityTypeMap.d.ts +1 -1
- package/dist/types/components/Individual/mapping/individualKeyMappings.d.ts +6 -12
- package/dist/types/components/Individual/mapping/mapApiDocumentToIndividualDocuments.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapIndividualDocumentToApiDocument.d.ts +2 -3
- package/dist/types/components/Individual/mapping/{mapIndividualOnfidoSchemaToLegalEntity.d.ts → mapIndividualSchemaToLegalEntity.d.ts} +1 -1
- package/dist/types/components/Individual/mapping/{mapLegalEntityToIndividualOnfidoSchema.d.ts → mapLegalEntityToIndividualSchema.d.ts} +1 -1
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +6 -7
- package/dist/types/components/Individual/pages/LegalRepresentativeDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +2 -14
- package/dist/types/components/Individual/tasks/DecisionMakers/RemediationAlerts/remediation.config.d.ts +0 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +8 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/utils.d.ts +1 -1
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +2 -2
- package/dist/types/components/Individual/tasks/IndividualDropin/individualFormConfig.d.ts +3 -3
- package/dist/types/components/Shared/EntityAssociation/EntityAssociation.d.ts +0 -1
- package/dist/types/components/Shared/Introduction/copy.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +10 -0
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +2 -1
- package/dist/types/components/Shared/fields/CountryField/types.d.ts +2 -1
- package/dist/types/components/Shared/fields/CountryOfGoverningLawField/CountryOfGoverningLawField.d.ts +1 -1
- package/dist/types/components/Shared/fields/CountryOfGoverningLawField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/Currency/Currency.d.ts +1 -1
- package/dist/types/components/Shared/fields/Currency/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/DBANameField/DBANameField.d.ts +1 -1
- package/dist/types/components/Shared/fields/DBANameField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/DateOfIncorporationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/types.d.ts +3 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/EInvoicingCodeField.d.ts +1 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +119 -1
- package/dist/types/components/Shared/fields/IndustryCodeField/IndustryCodeField.d.ts +1 -1
- package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/LegalCompanyNameField/fieldConfig.d.ts +12 -6
- package/dist/types/components/Shared/fields/LegalCompanyNameField/types.d.ts +3 -1
- package/dist/types/components/{Individual → Shared}/fields/LocalizedNameFields/types.d.ts +2 -2
- package/dist/types/components/Shared/fields/LocalizedNameFields/validate.d.ts +5 -0
- package/dist/types/components/Shared/fields/NumberOfEmployees/NumberOfEmployees.d.ts +1 -1
- package/dist/types/components/Shared/fields/NumberOfEmployees/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/fieldConfig.d.ts +5 -0
- package/dist/types/components/Shared/fields/PhoneField/types.d.ts +2 -1
- package/dist/types/components/Shared/fields/StateField/StateField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/fieldConfig.d.ts +8 -0
- package/dist/types/components/Shared/fields/StateField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/StockExchangeMICField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/StockISINField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/StockTickerSymbolField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +6 -0
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +2 -1
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/Address.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/forms/Trust/rules.d.ts +2 -2
- package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -1
- package/dist/types/components/Trust/pages/TrustDetailsPage.d.ts +1 -2
- package/dist/types/components/Trust/pages/TrustMemberCompanyPage.d.ts +3 -3
- package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +5 -5
- package/dist/types/components/Trust/pages/TrustMemberRoleAndTypePage.d.ts +2 -2
- package/dist/types/components/Trust/tasks/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustDropin/TrustMultiform.d.ts +2 -1
- package/dist/types/components/Trust/tasks/TrustMembers/TrustMembersOverview.d.ts +1 -2
- package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +1 -1
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +5 -5
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +3 -3
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberRoleAndTypePage.d.ts +1 -1
- package/dist/types/components/ui/atoms/Card/Card.d.ts +19 -0
- package/dist/types/components/ui/atoms/Loader/Loader.d.ts +11 -1
- package/dist/types/components/ui/atoms/MultiSelectList/MultiSelectList.d.ts +0 -1
- package/dist/types/components/ui/atoms/Svg/Svg.d.ts +0 -1
- package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +1 -1
- package/dist/types/components/ui/molecules/ErrorPanel/ErrorPanel.d.ts +0 -1
- package/dist/types/context/ExperimentContext/types.d.ts +19 -42
- package/dist/types/context/QueryContext/QueryClient.d.ts +1 -1
- package/dist/types/context/StateContext/types.d.ts +2 -3
- package/dist/types/core/models/api/individual.d.ts +3 -0
- package/dist/types/core/models/api/instant-id-verification.d.ts +1 -1
- package/dist/types/core/models/api/legal-arrangement.d.ts +3 -0
- package/dist/types/core/models/api/legal-entity-association.d.ts +1 -1
- package/dist/types/core/process-field-configurations.d.ts +0 -5
- package/dist/types/core/services/types.d.ts +1 -1
- package/dist/types/core/user-events.d.ts +4 -2
- package/dist/types/embeds/baseEmbedProps.d.ts +0 -21
- package/dist/types/embeds/business-financing/adyen-business-financing.d.ts +2 -1
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.d.ts +5 -1
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts +2 -2
- package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.d.ts +5 -0
- package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.types.d.ts +34 -0
- package/dist/types/embeds/onboarding/adyen-onboarding.d.ts +2 -1
- package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.d.ts +5 -1
- package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.d.ts +2 -1
- package/dist/types/embeds/verification-status/adyen-verification-status.d.ts +2 -1
- package/dist/types/hooks/useAssociatedLegalEntity.d.ts +1 -1
- package/dist/types/hooks/useForm/types.d.ts +0 -8
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +4 -2
- package/dist/types/hooks/usePageLandedEvent.d.ts +7 -0
- package/dist/types/hooks/useUboQuestionnaire.d.ts +2 -2
- package/dist/types/language/types.d.ts +7 -2
- package/dist/types/language/utils.d.ts +1 -2
- package/dist/types/router/DefaultRouteRedirect.d.ts +8 -0
- package/dist/types/router/MemoryRouterContext.d.ts +9 -0
- package/dist/types/router/OnboardingRouter.d.ts +39 -0
- package/dist/types/router/SuspenseRoute.d.ts +7 -0
- package/dist/types/router/getDefaultTask.d.ts +16 -0
- package/dist/types/router/routeConfig.d.ts +68 -0
- package/dist/types/router/useCurrentTask.d.ts +5 -0
- package/dist/types/router/useNavigate.d.ts +7 -0
- package/dist/types/stores/formState.d.ts +1 -1
- package/dist/types/stores/globalStore/taskStatus.d.ts +5 -3
- package/dist/types/types/assert.d.ts +1 -0
- package/dist/types/types/form-rules.d.ts +0 -1
- package/dist/types/utils/addLinkedFields.d.ts +0 -2
- 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 +14 -2
- package/dist/types/utils/birthDateUtils.d.ts +0 -17
- package/dist/types/utils/entityAssociationUtil.d.ts +3 -4
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/fieldConfigurations.d.ts +0 -2
- package/dist/types/utils/formUtils.d.ts +1 -6
- package/dist/types/utils/getDisplayErrorMessage.d.ts +1 -2
- package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -3
- package/dist/types/utils/getName.d.ts +1 -1
- package/dist/types/utils/japanSupportUtils.d.ts +2 -1
- package/dist/types/utils/logger.d.ts +0 -1
- package/dist/types/utils/makeSelectItemForRole.d.ts +1 -1
- package/dist/types/utils/performance.d.ts +64 -0
- package/dist/types/utils/regex/patternValidators.d.ts +1 -1
- package/dist/types/utils/translation.d.ts +3 -2
- package/dist/types/utils/validatorUtils.d.ts +2 -1
- package/dist/types/utils/verification/helpers/verifyIdNumber.d.ts +3 -2
- package/dist/{types-Dk94b8kx.js → types-B7GElie6.js} +21 -44
- package/dist/{types-Q8QbiVOz.js → types-BQL9Lsg4.js} +2 -2
- package/dist/{types-DtV30rT3.js → types-C8io4KaH.js} +3 -26
- package/dist/{types-fRMvVcuU.js → types-DwXc_yI8.js} +2 -2
- 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-CtNg5gYS.js → useAssociatedLegalEntity-ETDoz1H2.js} +3 -2
- package/dist/useBusinessDetailsData-FrL0b9Ni.js +5197 -0
- package/dist/useBusinessLines-C5NQ5pE8.js +29 -0
- package/dist/useCanSeeIntroduction-BdZJ7k-_.js +48 -0
- package/dist/{useCreateLegalEntity-DIzVLIrw.js → useCreateLegalEntity-DrcLoNYT.js} +3 -2
- package/dist/useDataMissingRemediations-Zgtpw7uZ.js +41 -0
- package/dist/useDataset-Cap5ZjTr.js +76 -0
- package/dist/useDeleteTransferInstrument-B2wRj-qL.js +32 -0
- package/dist/useForm-DqUW2TbW.js +582 -0
- package/dist/{FormFlow-DX2A0gcf.js → useFormContext-CkuaJPUI.js} +26 -31
- package/dist/{useGlobalData-CO2a2RhB.js → useGlobalData-5Z6W3or1.js} +3 -3
- package/dist/useId-BZ0PA7jP.js +24 -0
- package/dist/{useMultiForm-BkNgL1zi.js → useMultiForm-Dm2IEMH9.js} +46 -37
- package/dist/useNavigate-CI0N-POy.js +265 -0
- package/dist/{useOnboardingStatus-BB5IzxTg.js → useOnboardingStatus-H7Xqe2GC.js} +3 -2
- package/dist/usePciQuestionnaireList-BF7TPjbQ.js +29 -0
- package/dist/useSalesChannels-DYGRfKeh.js +65 -0
- package/dist/{useScenarios-yIXrDacU.js → useScenarios-CibP5LVa.js} +7 -5
- package/dist/useSetting-CbBaitp6.js +19 -0
- package/dist/useTaskStatus-1OZ2clnm.js +51 -0
- package/dist/{useTermsOfServiceStatus-BRdLkis6.js → useTermsOfServiceStatus-Dg_nBQgt.js} +3 -2
- package/dist/{useToastContext-BQYYaLd-.js → useToastContext-D643iewp.js} +6 -17
- package/dist/useTrustMembers-BTCDIu6B.js +163 -0
- package/dist/{useUnincorporatedPartnershipMembers-fl3LbBcx.js → useUnincorporatedPartnershipMembers-BM9dNg4i.js} +5 -5
- package/dist/useUpdateBusinessLines-BuW6Vnof.js +339 -0
- package/dist/{useUpdateLegalEntity-CIZP-vhE.js → useUpdateLegalEntity-tRw1V_Mt.js} +4 -3
- package/dist/utils-BasWTkqk.js +159 -0
- package/dist/{utils-_N6wjH1k.js → utils-BnolcW6V.js} +6 -6
- package/dist/{utils-BtBmicYe.js → utils-D9h2Aq2w.js} +26 -22
- package/dist/utils-PkTZS9uf.js +58 -0
- package/dist/utils-b_KUV0wb.js +29 -0
- package/dist/{documentUtils-CmY7W1gB.js → validate-CtxacqMv.js} +171 -6
- package/dist/{validate-yIqc2enK.js → validate-K0fmvoFj.js} +10 -2
- package/dist/{validationError-BcmQ2z0b.js → validationError-DdlWONz2.js} +3 -3
- 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 +88 -56
- package/dist/Card-BHab7Kyt.js +0 -82
- package/dist/ConstitutionalDocument--Z--xpF7.js +0 -143
- package/dist/CountryField-BIYJvEAW.js +0 -843
- package/dist/CreateIndividualComponent-3t1p_6gB.js +0 -71
- package/dist/EntityAssociation-0B8bfpR4.js +0 -159
- package/dist/IndividualOnfido-BxhmIQwc.js +0 -9662
- package/dist/IndividualOnfidoDropin-Cy08-w8F.js +0 -2575
- package/dist/OnboardingDropinComponent-Cu2pv74K.js +0 -7623
- package/dist/RootBusinessDetailsPage-ChobUam3.js +0 -49
- package/dist/StoreProvider-DTMSAVgy.js +0 -7707
- package/dist/TrustMemberCompanyPage-DwVARA6c.js +0 -64
- package/dist/da-DK-CrtuBoDC.js +0 -118
- package/dist/da-DK-uHPPFvD-.js +0 -13
- package/dist/de-DE-SMf6w4NJ.js +0 -13
- package/dist/de-DE-mH3MobT9.js +0 -13
- package/dist/en-US-d4WBvUW7.js +0 -118
- package/dist/es-ES-BqpvBqmR.js +0 -13
- package/dist/es-ES-CnyVffM-.js +0 -118
- package/dist/fi-FI-DPegZzTc.js +0 -13
- package/dist/fi-FI-kXC-0USa.js +0 -118
- package/dist/fr-FR-6YOKsDLQ.js +0 -13
- package/dist/fr-FR-BPGwsLDa.js +0 -13
- package/dist/getFieldsWithExistingData-D6K7_vTh.js +0 -22
- package/dist/hasDataChanged-6p9Ib-IH.js +0 -19
- package/dist/id-verification-instant-BUVBO4R3.js +0 -58
- package/dist/id-verification-manual-B3YZALYU.js +0 -55
- package/dist/it-IT-B1eJg9RL.js +0 -13
- package/dist/it-IT-DyCHFg-b.js +0 -118
- package/dist/ja-JP-PnqAHl14.js +0 -13
- package/dist/mapFinancialReportsToFinancialInformation-CeqxQKYv.js +0 -67
- package/dist/mapJpAddressSchemaToAddressLocalizations-C22nFO39.js +0 -63
- package/dist/nl-NL-DkbhmJAw.js +0 -118
- package/dist/nl-NL-cVVIDG7s.js +0 -13
- package/dist/no-NO-C_tmZ39d.js +0 -13
- package/dist/no-NO-Df5qUoTc.js +0 -118
- package/dist/pt-BR-BOOm5lRR.js +0 -118
- package/dist/pt-BR-CMiGlY3k.js +0 -13
- package/dist/resolveEnvironment-DV8jSeQ4.js +0 -164
- package/dist/rules-Cu3mKCzh.js +0 -317
- package/dist/sl-SI-C3nGkfNb.js +0 -13
- package/dist/sl-SI-CGvCdquD.js +0 -118
- package/dist/sv-SE-BP2Oun8l.js +0 -118
- package/dist/sv-SE-CXn28ybc.js +0 -13
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/mandatoryFields.d.ts +0 -3
- package/dist/types/components/Individual/fields/DecisionMakerRole/DecisionMakerRole.d.ts +0 -3
- package/dist/types/components/Individual/fields/DecisionMakerRole/NomineeDecisionMakerRole.d.ts +0 -10
- package/dist/types/components/Individual/fields/DecisionMakerRole/types.d.ts +0 -23
- package/dist/types/components/Individual/fields/NameFields/validate.d.ts +0 -4
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentAlreadyUpload.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentInstantVerification.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentUpload.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/IdVerificationMethod.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/idVerificationMethodMetadata.d.ts +0 -15
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/types.d.ts +0 -14
- package/dist/types/components/Individual/forms/Individual/Individual.d.ts +0 -9
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/Identity.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/IdentityAu.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/validate.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityHK/IdentityHK.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityHK/validate.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityNZ/IdentityNZ.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityNZ/validate.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/TypeOfIdentity/index.d.ts +0 -11
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/identityUS/IdentityUS.d.ts +0 -4
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/types.d.ts +0 -14
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/PersonalDetails.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +0 -41
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +0 -21
- package/dist/types/components/Individual/forms/Individual/rules.d.ts +0 -40
- package/dist/types/components/Individual/forms/Individual/types.d.ts +0 -51
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +0 -29
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/validate.d.ts +0 -4
- package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts +0 -22
- package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/validate.d.ts +0 -6
- package/dist/types/components/Individual/forms/IndividualOnfido/IdNowVerificationModal/isIdNowModalOpen.d.ts +0 -17
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/mapExtractionResultToSchema.d.ts +0 -4
- package/dist/types/components/Individual/helpers/isOnfidoAutofillFlowEnabled.d.ts +0 -4
- package/dist/types/components/Individual/mapping/adjustIdentificationData.d.ts +0 -3
- package/dist/types/components/Individual/mapping/getIdentityTypeToApiIdentityTypeMap.d.ts +0 -3
- package/dist/types/components/Individual/mapping/individualOnfidoKeyMappings.d.ts +0 -8
- package/dist/types/components/Individual/mapping/mapIndividualToLegalEntity.d.ts +0 -3
- package/dist/types/components/Individual/mapping/mapLegalEntityToIndividual.d.ts +0 -3
- package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoDropin.d.ts +0 -2
- package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/individualOnfidoFormConfig.d.ts +0 -4
- package/dist/types/components/Shared/forms/BusinessTypeSelection/EntityTypeRadioGroupCard.d.ts +0 -11
- package/dist/types/components/ui/molecules/Card/Card.d.ts +0 -3
- package/dist/types/components/ui/molecules/Card/types.d.ts +0 -26
- package/dist/types/embeds/EmbedBaseElement.d.ts +0 -41
- package/dist/types/embeds/EmbedCore.d.ts +0 -22
- package/dist/types/embeds/business-financing/AdyenBusinessFinancing.d.ts +0 -14
- package/dist/types/embeds/individual-configuration/AdyenIndividual.d.ts +0 -12
- package/dist/types/embeds/individual-status/AdyenManageIndividual.d.ts +0 -12
- package/dist/types/embeds/onboarding/AdyenOnboarding.d.ts +0 -12
- package/dist/types/embeds/terms-of-service-management/AdyenTermsOfService.d.ts +0 -12
- package/dist/types/embeds/terms-of-service-status/AdyenManageTermsOfService.d.ts +0 -12
- package/dist/types/embeds/transfer-instrument-configuration/AdyenTransferInstrument.d.ts +0 -16
- package/dist/types/embeds/transfer-instrument-management/AdyenManageTransferInstrument.d.ts +0 -14
- package/dist/types/embeds/verification-status/AdyenVerificationStatus.d.ts +0 -20
- package/dist/useBusinessDetailsData-kMDQy2r1.js +0 -2441
- package/dist/useDataset-D1R4kueP.js +0 -220
- package/dist/useUpdateBusinessLines-DWsML109.js +0 -46
- package/dist/validate-C4R1LPcu.js +0 -41
- /package/dist/types/components/{Shared → Apps}/tasks/TaskList/PayoutAccountTaskListItem.d.ts +0 -0
- /package/dist/types/components/{Shared → Apps}/tasks/TaskList/TaskList.d.ts +0 -0
- /package/dist/types/components/{Shared → Apps}/tasks/TaskList/TaskListGroup.d.ts +0 -0
- /package/dist/types/components/{Shared → Apps}/tasks/TaskList/TaskListItem.d.ts +0 -0
- /package/dist/types/components/{Shared → Apps}/tasks/TaskList/types.d.ts +0 -0
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/FinancialInformation.d.ts +0 -0
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/ReportedValue.d.ts +0 -0
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/types.d.ts +0 -0
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/validate.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/AdditionalPersonalDetails.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/Identity/Identity.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/BasicDetails → BasicDetails}/BasicDetails.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/GuidanceQuestion → GuidanceQuestion}/GuidanceQuestion.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/IdDocumentUpload → IdDocumentUpload}/IdDocumentManualUpload.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/IdNowVerificationModal → IdNowVerificationModal}/IdNowVerificationModal.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/IdVerification.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/idVerificationProviderId.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/types.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/IdVerificationMethod.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/ManualIdUpload → ManualIdUpload}/ManualIdUpload.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/ProofOfRelationship → ProofOfRelationship}/index.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/ProofOfResidency → ProofOfResidency}/ProofOfResidency.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/SignatoryQuestionnaire → SignatoryQuestionnaire}/SignatoryQuestionnaire.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/SignatoryQuestionnaire → SignatoryQuestionnaire}/SignatoryQuestionnaireModalContent.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/UboQuestionnaire → UboQuestionnaire}/UboQuestionnaire.d.ts +0 -0
- /package/dist/types/components/Individual/tasks/{IndividualOnfidoDropin/IndividualOnfidoStore.d.ts → IndividualDropin/IndividualStore.d.ts} +0 -0
- /package/dist/types/components/{Individual → Shared}/fields/LocalizedNameFields/LocalizedNameFields.d.ts +0 -0
|
@@ -2,41 +2,18 @@
|
|
|
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] = "4aace9f6-3bcb-49f6-a347-605601cc2281", e._sentryDebugIdIdentifier = "sentry-dbid-4aace9f6-3bcb-49f6-a347-605601cc2281");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
11
|
-
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, aA as getCapabilityProblems, g as getLegalEntityCountry, aB as cloneObject, C as CountryCodes, aC as hasText, aD as isValidMinLength, aE as matchesRegex, W as isEmpty, aF as NO_ALPHABET_REGEX, aG as EMOJI_REGEX, aH as hasRepeatedCharacters, aI as isInvalidName, aJ as OTHER_ENTITIES_VALID_CHAR_REGEX, aK as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aL as standardKatakanaValidator, aM as standardKanjiValidator, a3 as useAnalyticsContext, P as createLogger, u as useTranslation, az as StateContext, L as Loader, a4 as Icon, G as Typography, Y as IconButton } from "./StoreProvider-DTMSAVgy.js";
|
|
10
|
+
import { ab as cloneObject, ai as isEmpty, u as useTranslation, r as Icon } from "./StoreProvider-99-ewU62.js";
|
|
12
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { R as Radio } from "./CountryField-BIYJvEAW.js";
|
|
19
|
-
import { F as Field } from "./useForm-BsQfbbso.js";
|
|
20
|
-
import { K as KEYBOARD_KEYS } from "./Modal-B8fxl0iP.js";
|
|
21
|
-
import { u as useForwardedRef, a as InputBase, I as InputText } from "./InputText-qTMbrUXW.js";
|
|
22
|
-
const useCapabilityProblems = () => {
|
|
23
|
-
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
24
|
-
const { isExperimentEnabled } = useExperimentsContext();
|
|
25
|
-
const problems = useMemo(
|
|
26
|
-
() => rootLegalEntity ? getCapabilityProblems(
|
|
27
|
-
rootLegalEntity,
|
|
28
|
-
getLegalEntityCountry(rootLegalEntity),
|
|
29
|
-
isExperimentEnabled
|
|
30
|
-
) : void 0,
|
|
31
|
-
[rootLegalEntity, isExperimentEnabled]
|
|
32
|
-
);
|
|
33
|
-
return problems;
|
|
34
|
-
};
|
|
35
|
-
const getProblemsForEntity = (capabilityProblems, entityType, entityId) => capabilityProblems[entityType]?.[entityId];
|
|
36
|
-
const TrustedFieldsProviders = {
|
|
37
|
-
SINGPASS: "singpass",
|
|
38
|
-
KOMPANY: "kompany"
|
|
39
|
-
};
|
|
12
|
+
import { useState, useCallback, useLayoutEffect, useRef, useEffect, useMemo } from "preact/hooks";
|
|
13
|
+
import { F as Field } from "./Field-Bs7wGDqk.js";
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-CZ-HuGUO.js";
|
|
15
|
+
import { forwardRef } from "preact/compat";
|
|
16
|
+
import { u as useForwardedRef, a as InputBase, I as InputText } from "./InputText-BdCbTzL9.js";
|
|
40
17
|
const makeArrayOfRepeatedObjects = (length, obj) => {
|
|
41
18
|
const array = [];
|
|
42
19
|
for (let i = 0; i < length; i += 1) {
|
|
@@ -151,7 +128,7 @@ const nonInputs = (str, options) => Array.from(str).map((char) => ({
|
|
|
151
128
|
includeInValue: options?.includeInValue ?? false,
|
|
152
129
|
displayEagerly: options?.displayEagerly ?? true
|
|
153
130
|
}));
|
|
154
|
-
const spacer
|
|
131
|
+
const spacer = nonInputs(" ")[0];
|
|
155
132
|
const alphaInputs = (length, optional = false) => makeArrayOfRepeatedObjects(length, { type: "input", allow: /[A-Za-z]/, optional });
|
|
156
133
|
const numericInputs = (length, optional = false) => makeArrayOfRepeatedObjects(length, { type: "input", allow: /\d/, optional });
|
|
157
134
|
const alphanumericInputs = (length, optional = false) => makeArrayOfRepeatedObjects(length, { type: "input", allow: /[\dA-Za-z]/, optional });
|
|
@@ -160,557 +137,7 @@ const makeMask = (...tokens) => ({
|
|
|
160
137
|
tokens,
|
|
161
138
|
possibleShifts: findPossibleShifts(tokens)
|
|
162
139
|
});
|
|
163
|
-
const isExistingFile = (file) => "existing" in file && file.existing;
|
|
164
|
-
const isNewlyUploadedFile = (file) => !isExistingFile(file);
|
|
165
|
-
function getLocalizedIdDocumentTypeOptions(country) {
|
|
166
|
-
switch (country) {
|
|
167
|
-
case CountryCodes.Japan:
|
|
168
|
-
return [
|
|
169
|
-
{ id: "driversLicense", name: "driversLicense", hasBackPage: true },
|
|
170
|
-
{ id: "passport", name: "passport", hasBackPage: false },
|
|
171
|
-
{ id: "identityCard", name: "identityCard__JP", hasBackPage: true }
|
|
172
|
-
];
|
|
173
|
-
default:
|
|
174
|
-
return [
|
|
175
|
-
{ id: "driversLicense", name: "driversLicense", hasBackPage: true },
|
|
176
|
-
{ id: "passport", name: "passport", hasBackPage: false },
|
|
177
|
-
{ id: "identityCard", name: "identityCard", hasBackPage: true }
|
|
178
|
-
];
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
140
|
const isValueObscured = (value) => typeof value === "string" && !!value.match(/[*]{1,}/)?.length;
|
|
182
|
-
const uppercase = (str) => str?.toUpperCase() ?? str;
|
|
183
|
-
const validateNotEmptyOnBlur = {
|
|
184
|
-
modes: ["blur"],
|
|
185
|
-
validate: (val) => !isEmpty(val),
|
|
186
|
-
errorMessage: "fieldIsRequired"
|
|
187
|
-
};
|
|
188
|
-
const validateLegalCompanyName = [
|
|
189
|
-
{
|
|
190
|
-
modes: ["blur"],
|
|
191
|
-
validate: hasText,
|
|
192
|
-
errorMessage: "fieldIsRequired"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
modes: ["blur"],
|
|
196
|
-
validate: (input) => !matchesRegex(NO_ALPHABET_REGEX, input),
|
|
197
|
-
errorMessage: "nameMustContainLetters"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
modes: ["blur"],
|
|
201
|
-
validate: (input) => !matchesRegex(EMOJI_REGEX, input) && !hasRepeatedCharacters(input) && isValidMinLength(input, 3) && !isInvalidName(input) && matchesRegex(OTHER_ENTITIES_VALID_CHAR_REGEX, input),
|
|
202
|
-
errorMessage: "checkForTypos"
|
|
203
|
-
}
|
|
204
|
-
];
|
|
205
|
-
const validateJaHaniLegalCompanyName = [
|
|
206
|
-
{
|
|
207
|
-
modes: ["blur"],
|
|
208
|
-
validate: hasText,
|
|
209
|
-
errorMessage: "fieldIsRequired"
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
modes: ["blur"],
|
|
213
|
-
validate: (input) => standardKanjiValidator(input),
|
|
214
|
-
errorMessage: "nameMustContainLetters"
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
modes: ["blur"],
|
|
218
|
-
validate: (input) => !matchesRegex(EMOJI_REGEX, input) && !hasRepeatedCharacters(input) && isValidMinLength(input, 3) && !isInvalidName(input) && matchesRegex(OTHER_ENTITIES_VALID_CHAR_REGEX, input),
|
|
219
|
-
errorMessage: "checkForTypos"
|
|
220
|
-
}
|
|
221
|
-
];
|
|
222
|
-
const validateJaKanaLegalCompanyName = [
|
|
223
|
-
{
|
|
224
|
-
modes: ["blur"],
|
|
225
|
-
validate: hasText,
|
|
226
|
-
errorMessage: "fieldIsRequired"
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
modes: ["blur"],
|
|
230
|
-
validate: (input) => standardKatakanaValidator(input),
|
|
231
|
-
errorMessage: "nameMustContainLetters"
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
modes: ["blur"],
|
|
235
|
-
validate: (input) => !matchesRegex(EMOJI_REGEX, input) && !hasRepeatedCharacters(input) && isValidMinLength(input, 3) && !isInvalidName(input) && matchesRegex(OTHER_ENTITIES_VALID_CHAR_REGEX, input),
|
|
236
|
-
errorMessage: "checkForTypos"
|
|
237
|
-
}
|
|
238
|
-
];
|
|
239
|
-
const validateLatinSpaceMarkPunctuationOnlyOnBlur = {
|
|
240
|
-
modes: ["blur"],
|
|
241
|
-
validate: (input) => matchesRegex(LATIN_SPACE_MARK_PUNCTUATION_REGEX, input),
|
|
242
|
-
errorMessage: "kanjiAndKanaCharactersAreNotAllowed"
|
|
243
|
-
};
|
|
244
|
-
const validatePatternOnBlur = (pattern) => ({
|
|
245
|
-
modes: ["blur"],
|
|
246
|
-
validate: (val) => !!val && pattern.test(val)
|
|
247
|
-
});
|
|
248
|
-
function ContextGuidance({
|
|
249
|
-
title,
|
|
250
|
-
content,
|
|
251
|
-
titleId,
|
|
252
|
-
contentId,
|
|
253
|
-
trackingParams
|
|
254
|
-
}) {
|
|
255
|
-
const userEvents = useAnalyticsContext();
|
|
256
|
-
const onGuidanceToggle = (status) => {
|
|
257
|
-
userEvents.addFieldEvent("Clicked accordion", {
|
|
258
|
-
actionType: status,
|
|
259
|
-
field: "context guidance",
|
|
260
|
-
label: titleId,
|
|
261
|
-
content: contentId,
|
|
262
|
-
...trackingParams
|
|
263
|
-
});
|
|
264
|
-
};
|
|
265
|
-
return /* @__PURE__ */ jsx(Alert, { title, type: "collapsible", variant: "info", onToggle: onGuidanceToggle, children: content });
|
|
266
|
-
}
|
|
267
|
-
const convertFullToHalf = (str) => str.replace(/[!-~]/g, (r) => String.fromCharCode(r.charCodeAt(0) - 65248));
|
|
268
|
-
const logger = createLogger();
|
|
269
|
-
function TextArea(props) {
|
|
270
|
-
const {
|
|
271
|
-
autoCorrect,
|
|
272
|
-
isInvalid,
|
|
273
|
-
isValid,
|
|
274
|
-
readonly = null,
|
|
275
|
-
spellCheck,
|
|
276
|
-
disabled,
|
|
277
|
-
maxLength,
|
|
278
|
-
className,
|
|
279
|
-
trimOnBlur,
|
|
280
|
-
enableTracking = false,
|
|
281
|
-
name,
|
|
282
|
-
"aria-describedby": ariaDescribedBy,
|
|
283
|
-
"aria-invalid": ariaInvalid,
|
|
284
|
-
"aria-labelledby": ariaLabelledBy
|
|
285
|
-
} = props;
|
|
286
|
-
const { t } = useTranslation("ui");
|
|
287
|
-
const userEvents = useAnalyticsContext();
|
|
288
|
-
const [value, setValue] = useState("");
|
|
289
|
-
if (Object.prototype.hasOwnProperty.call(props, "onChange")) {
|
|
290
|
-
logger.error("Error: Form fields that rely on InputBase may not have an onChange property");
|
|
291
|
-
}
|
|
292
|
-
const handleInput = (e) => {
|
|
293
|
-
if (enableTracking) {
|
|
294
|
-
debouncedInputEvent(userEvents, {
|
|
295
|
-
actionType: "input",
|
|
296
|
-
field: name
|
|
297
|
-
});
|
|
298
|
-
}
|
|
299
|
-
e.currentTarget.value = convertFullToHalf(e.currentTarget.value);
|
|
300
|
-
setValue(e.currentTarget.value);
|
|
301
|
-
props?.onInput?.(e);
|
|
302
|
-
};
|
|
303
|
-
const handleBlur = (e) => {
|
|
304
|
-
if (enableTracking) {
|
|
305
|
-
userEvents.addFieldEvent("Interacted with form field", {
|
|
306
|
-
actionType: "blur",
|
|
307
|
-
field: name
|
|
308
|
-
});
|
|
309
|
-
}
|
|
310
|
-
props?.onBlurHandler?.(e);
|
|
311
|
-
if (trimOnBlur) {
|
|
312
|
-
e.currentTarget.value = e.currentTarget.value.trim();
|
|
313
|
-
}
|
|
314
|
-
props?.onBlur?.(e);
|
|
315
|
-
};
|
|
316
|
-
const handleFocus = (e) => {
|
|
317
|
-
if (enableTracking) {
|
|
318
|
-
userEvents.addFieldEvent("Interacted with form field", {
|
|
319
|
-
actionType: "focus",
|
|
320
|
-
field: name
|
|
321
|
-
});
|
|
322
|
-
}
|
|
323
|
-
props?.onFocusHandler?.(e);
|
|
324
|
-
};
|
|
325
|
-
const inputClassNames = cx("adyen-kyc-input", "adyen-kyc-input--textarea", className, {
|
|
326
|
-
"adyen-kyc-input--invalid": isInvalid,
|
|
327
|
-
"adyen-kyc-field--valid": isValid,
|
|
328
|
-
"adyen-kyc-input--disabled": disabled
|
|
329
|
-
});
|
|
330
|
-
const charactersLeft = maxLength - value.length;
|
|
331
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
332
|
-
/* @__PURE__ */ jsx(
|
|
333
|
-
"textarea",
|
|
334
|
-
{
|
|
335
|
-
...props,
|
|
336
|
-
className: inputClassNames,
|
|
337
|
-
readOnly: readonly,
|
|
338
|
-
spellCheck,
|
|
339
|
-
autoCorrect,
|
|
340
|
-
"aria-describedby": ariaDescribedBy,
|
|
341
|
-
"aria-invalid": ariaInvalid,
|
|
342
|
-
"aria-labelledby": ariaLabelledBy,
|
|
343
|
-
...disabled && { "aria-disabled": true },
|
|
344
|
-
onInput: handleInput,
|
|
345
|
-
onBlur: handleBlur,
|
|
346
|
-
onFocus: handleFocus
|
|
347
|
-
}
|
|
348
|
-
),
|
|
349
|
-
!isInvalid && maxLength && charactersLeft >= 0 ? /* @__PURE__ */ jsx("span", { className: "adyen-kyc-input__counter", children: t(($) => $["xCharactersLeft"], { charactersLeft }) }) : null
|
|
350
|
-
] });
|
|
351
|
-
}
|
|
352
|
-
function StateContextSetter({ stateRef }) {
|
|
353
|
-
if (stateRef.current.setState) {
|
|
354
|
-
return null;
|
|
355
|
-
}
|
|
356
|
-
return /* @__PURE__ */ jsx(StateContext.Consumer, { children: (stateContextValue) => {
|
|
357
|
-
const { dispatch, setActiveForms } = stateContextValue;
|
|
358
|
-
stateRef.current.setState = dispatch;
|
|
359
|
-
stateRef.current.setActiveForms = setActiveForms;
|
|
360
|
-
return null;
|
|
361
|
-
} });
|
|
362
|
-
}
|
|
363
|
-
const Image = ({
|
|
364
|
-
lazyLoadedImage,
|
|
365
|
-
className
|
|
366
|
-
}) => {
|
|
367
|
-
const LazyLoadedImageComponent = lazyLoadedImage;
|
|
368
|
-
return /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(LazyLoadedImageComponent, { className, "aria-hidden": true }) });
|
|
369
|
-
};
|
|
370
|
-
const getDocumentGuidancePrefix = (documentType) => {
|
|
371
|
-
switch (documentType) {
|
|
372
|
-
case "passport":
|
|
373
|
-
return "passport";
|
|
374
|
-
case "driversLicense":
|
|
375
|
-
case "identityCard":
|
|
376
|
-
return "id";
|
|
377
|
-
case "bankStatement":
|
|
378
|
-
case "vatDocument":
|
|
379
|
-
case "registrationDocument":
|
|
380
|
-
case "proofOfAddress":
|
|
381
|
-
case "proofOfResidency":
|
|
382
|
-
default:
|
|
383
|
-
return "document";
|
|
384
|
-
}
|
|
385
|
-
};
|
|
386
|
-
const documentBlurredImage = lazy(() => import("./document-blurred-2Zpodj3_.js"));
|
|
387
|
-
const documentCutOffImage = lazy(() => import("./document-cut-off-ClS7RiOp.js"));
|
|
388
|
-
const documentExpiredImage = lazy(() => import("./document-expired-CjksBq-N.js"));
|
|
389
|
-
const documentFrontImage = lazy(() => import("./document-front-DiAairT3.js"));
|
|
390
|
-
const idBlurredImage = lazy(() => import("./id-blurred-9dzBOWCE.js"));
|
|
391
|
-
const idCutOffImage = lazy(() => import("./id-cut-off-CohJCI2h.js"));
|
|
392
|
-
const idFrontImage = lazy(() => import("./id-front-CSZfvdRg.js"));
|
|
393
|
-
const idGlareImage = lazy(() => import("./id-glare-Q2JWo5ts.js"));
|
|
394
|
-
const passportBlurredImage = lazy(() => import("./passport-blurred-B4UDQfmc.js"));
|
|
395
|
-
const passportCutOffImage = lazy(() => import("./passport-cut-off-C0N2mgLk.js"));
|
|
396
|
-
const passportFrontImage = lazy(() => import("./passport-front-BwA7wR91.js"));
|
|
397
|
-
const passportGlareImage = lazy(() => import("./passport-glare-Mg2ixsYA.js"));
|
|
398
|
-
const documentMap = {
|
|
399
|
-
"document-blurred": documentBlurredImage,
|
|
400
|
-
"document-cutoff": documentCutOffImage,
|
|
401
|
-
"document-expired": documentExpiredImage,
|
|
402
|
-
"document-front": documentFrontImage,
|
|
403
|
-
"id-blurred": idBlurredImage,
|
|
404
|
-
"id-cutoff": idCutOffImage,
|
|
405
|
-
"id-front": idFrontImage,
|
|
406
|
-
"id-glare": idGlareImage,
|
|
407
|
-
"passport-blurred": passportBlurredImage,
|
|
408
|
-
"passport-cutoff": passportCutOffImage,
|
|
409
|
-
"passport-front": passportFrontImage,
|
|
410
|
-
"passport-glare": passportGlareImage
|
|
411
|
-
};
|
|
412
|
-
function DocumentGuidance({ type, className }) {
|
|
413
|
-
const { t } = useTranslation("ui");
|
|
414
|
-
const documentGuidanceItems = useMemo(() => {
|
|
415
|
-
const guidancePrefix = getDocumentGuidancePrefix(type);
|
|
416
|
-
const guidanceItems = [
|
|
417
|
-
{ svgName: `${guidancePrefix}-front`, translationKey: "good", valid: true },
|
|
418
|
-
{ svgName: `${guidancePrefix}-cutoff`, translationKey: "notCutOff" },
|
|
419
|
-
{ svgName: `${guidancePrefix}-blurred`, translationKey: "notBlurry" },
|
|
420
|
-
guidancePrefix === "document" ? { svgName: `document-expired`, translationKey: "notExpired" } : { svgName: `${guidancePrefix}-glare`, translationKey: "noGlare" }
|
|
421
|
-
];
|
|
422
|
-
return type === "constitutionalDocument" ? guidanceItems.filter((item) => item.svgName !== "document-expired") : guidanceItems;
|
|
423
|
-
}, [type]);
|
|
424
|
-
return /* @__PURE__ */ jsx("div", { className: cx("adyen-kyc-document-guidance", className), children: /* @__PURE__ */ jsx("div", { className: "adyen-kyc-document-guidance__container", children: documentGuidanceItems.map((item) => /* @__PURE__ */ jsxs("figure", { className: "adyen-kyc-document-guidance__item", children: [
|
|
425
|
-
/* @__PURE__ */ jsx(Image, { lazyLoadedImage: documentMap[item.svgName] }),
|
|
426
|
-
/* @__PURE__ */ jsxs("figcaption", { className: "adyen-kyc-document-guidance__description", children: [
|
|
427
|
-
item.valid ? /* @__PURE__ */ jsx(Icon, { name: "check", className: "adyen-kyc-document-guidance__icon" }) : /* @__PURE__ */ jsx(
|
|
428
|
-
Icon,
|
|
429
|
-
{
|
|
430
|
-
name: "cross",
|
|
431
|
-
className: "adyen-kyc-document-guidance__icon adyen-kyc-document-guidance__icon--invalid"
|
|
432
|
-
}
|
|
433
|
-
),
|
|
434
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc-document-guidance__description-text", children: t(($) => $[item.translationKey]) })
|
|
435
|
-
] })
|
|
436
|
-
] }, item.translationKey)) }) });
|
|
437
|
-
}
|
|
438
|
-
function bytesToSize(bytes) {
|
|
439
|
-
const sizes = ["Bytes", "KB", "MB", "GB", "TB"];
|
|
440
|
-
if (bytes === 0) return "n/a";
|
|
441
|
-
const i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)).toString());
|
|
442
|
-
if (i === 0) return `${bytes} ${sizes[i]}`;
|
|
443
|
-
return `${(bytes / 1024 ** i).toFixed()} ${sizes[i]}`;
|
|
444
|
-
}
|
|
445
|
-
function DropzoneFile(props) {
|
|
446
|
-
const { file, errorMessage, onDelete, loading } = props;
|
|
447
|
-
const { t } = useTranslation("common");
|
|
448
|
-
const userEvents = useAnalyticsContext();
|
|
449
|
-
let documentIcon;
|
|
450
|
-
const formatSize = (bytes) => {
|
|
451
|
-
const sizes = ["Bytes", "KB", "MB", "GB", "TB"];
|
|
452
|
-
if (!bytes || bytes === 0) return "n/a";
|
|
453
|
-
const i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)).toString());
|
|
454
|
-
if (i === 0) return `${bytes} ${sizes[i]}`;
|
|
455
|
-
return `${(bytes / 1024 ** i).toFixed(1)} ${sizes[i]}`;
|
|
456
|
-
};
|
|
457
|
-
switch (file.type?.split("/")[0]) {
|
|
458
|
-
case "image":
|
|
459
|
-
documentIcon = "image";
|
|
460
|
-
break;
|
|
461
|
-
default:
|
|
462
|
-
documentIcon = "document";
|
|
463
|
-
}
|
|
464
|
-
useEffect(() => {
|
|
465
|
-
if (!errorMessage) return;
|
|
466
|
-
userEvents.addFieldEvent("Encountered error", {
|
|
467
|
-
actionType: "change",
|
|
468
|
-
field: "dropzone file",
|
|
469
|
-
returnType: "validation",
|
|
470
|
-
returnValue: errorMessage
|
|
471
|
-
});
|
|
472
|
-
}, [errorMessage, userEvents]);
|
|
473
|
-
return /* @__PURE__ */ jsxs(
|
|
474
|
-
"div",
|
|
475
|
-
{
|
|
476
|
-
className: cx("adyen-kyc-dropzone-file", { "adyen-kyc-dropzone-file--error": errorMessage }),
|
|
477
|
-
children: [
|
|
478
|
-
/* @__PURE__ */ jsxs("div", { className: "adyen-kyc-dropzone-file__details", children: [
|
|
479
|
-
/* @__PURE__ */ jsxs("div", { className: "adyen-kyc-dropzone-file__labels", children: [
|
|
480
|
-
errorMessage ? /* @__PURE__ */ jsx(
|
|
481
|
-
Icon,
|
|
482
|
-
{
|
|
483
|
-
testId: "document-invalid",
|
|
484
|
-
name: "warning",
|
|
485
|
-
className: "adyen-kyc-dropzone-file__icon"
|
|
486
|
-
}
|
|
487
|
-
) : /* @__PURE__ */ jsx(
|
|
488
|
-
Icon,
|
|
489
|
-
{
|
|
490
|
-
testId: "document-valid",
|
|
491
|
-
name: documentIcon,
|
|
492
|
-
className: "adyen-kyc-dropzone-file__icon"
|
|
493
|
-
}
|
|
494
|
-
),
|
|
495
|
-
/* @__PURE__ */ jsx(Typography, { variant: "body-stronger", className: "adyen-kyc-dropzone-file__name", children: file.name }),
|
|
496
|
-
/* @__PURE__ */ jsx(Typography, { className: "adyen-kyc-dropzone-file__size", children: isNewlyUploadedFile(file) && formatSize(file.size) })
|
|
497
|
-
] }),
|
|
498
|
-
errorMessage && /* @__PURE__ */ jsx("div", { className: "adyen-kyc-dropzone-file__error", children: t(($) => $[errorMessage]) })
|
|
499
|
-
] }),
|
|
500
|
-
loading ? /* @__PURE__ */ jsx("div", { className: "adyen-kyc-dropzone-file__loading", children: /* @__PURE__ */ jsx(Loader, { size: "medium" }) }) : errorMessage ? /* @__PURE__ */ jsx(
|
|
501
|
-
IconButton,
|
|
502
|
-
{
|
|
503
|
-
ariaLabel: t(($) => $["close"]),
|
|
504
|
-
icon: "cross",
|
|
505
|
-
variant: "tertiary",
|
|
506
|
-
onClick: onDelete
|
|
507
|
-
}
|
|
508
|
-
) : /* @__PURE__ */ jsx(
|
|
509
|
-
IconButton,
|
|
510
|
-
{
|
|
511
|
-
ariaLabel: t(($) => $["deleteDocument"]),
|
|
512
|
-
icon: "bin",
|
|
513
|
-
variant: "tertiary",
|
|
514
|
-
onClick: onDelete
|
|
515
|
-
}
|
|
516
|
-
)
|
|
517
|
-
]
|
|
518
|
-
}
|
|
519
|
-
);
|
|
520
|
-
}
|
|
521
|
-
const hasDuplicates = (arr) => arr.some((item, currIndex) => arr.indexOf(item) !== currIndex);
|
|
522
|
-
const defaultFileValidationOptions = {
|
|
523
|
-
allowedFileTypes: ["JPG", "JPEG", "PNG", "PDF"],
|
|
524
|
-
maxNumberOfFiles: 1,
|
|
525
|
-
maxSize: 4194304,
|
|
526
|
-
// 4MB by default
|
|
527
|
-
isOptional: false
|
|
528
|
-
};
|
|
529
|
-
const filterOnlyNewlyUploadedFiles = (files) => files.filter(isNewlyUploadedFile);
|
|
530
|
-
const fileValidationRules = ({
|
|
531
|
-
allowedFileTypes,
|
|
532
|
-
maxNumberOfFiles,
|
|
533
|
-
maxSize,
|
|
534
|
-
isOptional
|
|
535
|
-
}) => [
|
|
536
|
-
{
|
|
537
|
-
validate: (files) => {
|
|
538
|
-
if (isOptional && (!files || files.length === 0)) return true;
|
|
539
|
-
return Boolean(files && files.length > 0);
|
|
540
|
-
},
|
|
541
|
-
errorMessage: "fieldIsRequired",
|
|
542
|
-
modes: ["blur", "input"]
|
|
543
|
-
},
|
|
544
|
-
{
|
|
545
|
-
validate: (files) => {
|
|
546
|
-
if (!files) return true;
|
|
547
|
-
return files.length <= maxNumberOfFiles;
|
|
548
|
-
},
|
|
549
|
-
errorMessage: "tooManyFiles",
|
|
550
|
-
modes: ["blur", "input"]
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
validate: (files) => {
|
|
554
|
-
if (!files) return true;
|
|
555
|
-
return !hasDuplicates(files.map((file) => file.name));
|
|
556
|
-
},
|
|
557
|
-
errorMessage: "duplicatedFiles",
|
|
558
|
-
modes: ["blur", "input"]
|
|
559
|
-
},
|
|
560
|
-
{
|
|
561
|
-
validate: (files) => {
|
|
562
|
-
if (!files) return true;
|
|
563
|
-
return filterOnlyNewlyUploadedFiles(files).every(
|
|
564
|
-
(file) => allowedFileTypes.some(
|
|
565
|
-
(filetype) => file.name.toLowerCase().endsWith(filetype.toLowerCase())
|
|
566
|
-
)
|
|
567
|
-
);
|
|
568
|
-
},
|
|
569
|
-
errorMessage: "unsupportedFiletype",
|
|
570
|
-
modes: ["blur", "input"]
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
validate: (files) => {
|
|
574
|
-
if (!files) return true;
|
|
575
|
-
return filterOnlyNewlyUploadedFiles(files).every((file) => !file.size || file.size < maxSize);
|
|
576
|
-
},
|
|
577
|
-
errorMessage: "maximumFileSizeExceeded",
|
|
578
|
-
modes: ["blur", "input"]
|
|
579
|
-
}
|
|
580
|
-
];
|
|
581
|
-
const RadioCard = ({
|
|
582
|
-
optionId,
|
|
583
|
-
optionName,
|
|
584
|
-
optionDescription,
|
|
585
|
-
optionSubtitle,
|
|
586
|
-
name,
|
|
587
|
-
isInvalid,
|
|
588
|
-
isSelected,
|
|
589
|
-
onSelect,
|
|
590
|
-
classNames,
|
|
591
|
-
disabled,
|
|
592
|
-
loading,
|
|
593
|
-
icon,
|
|
594
|
-
body,
|
|
595
|
-
footer,
|
|
596
|
-
floatingRadio
|
|
597
|
-
}) => {
|
|
598
|
-
const id = useId("radio");
|
|
599
|
-
const elementIds = {
|
|
600
|
-
label: `${id}-label`,
|
|
601
|
-
description: `${id}-description`,
|
|
602
|
-
subtitle: `${id}-subtitle`
|
|
603
|
-
};
|
|
604
|
-
const ariaDescribedBy = `${optionSubtitle ? elementIds.subtitle : ""} ${optionDescription || body ? elementIds.description : ""}`.trim();
|
|
605
|
-
return /* @__PURE__ */ jsxs(
|
|
606
|
-
"label",
|
|
607
|
-
{
|
|
608
|
-
"data-testId": optionId,
|
|
609
|
-
className: cx([
|
|
610
|
-
"adyen-kyc-radio-card",
|
|
611
|
-
classNames?.label,
|
|
612
|
-
{ "adyen-kyc-radio-card--disabled": disabled }
|
|
613
|
-
]),
|
|
614
|
-
children: [
|
|
615
|
-
icon && /* @__PURE__ */ jsx("div", { className: cx("adyen-kyc-radio-card__icon", classNames?.icon), "aria-hidden": "true", children: icon }),
|
|
616
|
-
/* @__PURE__ */ jsxs("div", { className: "adyen-kyc-radio-card__content", children: [
|
|
617
|
-
/* @__PURE__ */ jsx("div", { className: "adyen-kyc-radio-card__header adyen-kyc-u-display-flex adyen-kyc-u-align-items-center", children: /* @__PURE__ */ jsxs(
|
|
618
|
-
"div",
|
|
619
|
-
{
|
|
620
|
-
className: cx([
|
|
621
|
-
"adyen-kyc-radio-group-card__label",
|
|
622
|
-
classNames?.header,
|
|
623
|
-
{ "adyen-kyc-radio-group-card__label--invalid": isInvalid }
|
|
624
|
-
]),
|
|
625
|
-
children: [
|
|
626
|
-
optionSubtitle && /* @__PURE__ */ jsxs("div", { id: elementIds.subtitle, className: "adyen-kyc-radio-group-card__subtitle", children: [
|
|
627
|
-
optionSubtitle,
|
|
628
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc-u-screen-reader-only", children: "." })
|
|
629
|
-
] }),
|
|
630
|
-
/* @__PURE__ */ jsx("span", { id: elementIds.label, children: optionName })
|
|
631
|
-
]
|
|
632
|
-
}
|
|
633
|
-
) }),
|
|
634
|
-
/* @__PURE__ */ jsx(
|
|
635
|
-
"div",
|
|
636
|
-
{
|
|
637
|
-
id: elementIds.description,
|
|
638
|
-
className: cx("adyen-kyc-radio-card__body", classNames?.body),
|
|
639
|
-
children: body ?? optionDescription
|
|
640
|
-
}
|
|
641
|
-
),
|
|
642
|
-
footer && /* @__PURE__ */ jsx("div", { className: cx("adyen-kyc-radio-card__footer", classNames?.footer), children: footer })
|
|
643
|
-
] }),
|
|
644
|
-
loading ? /* @__PURE__ */ jsx("span", { className: "adyen-kyc-radio-card__loading-icon", children: /* @__PURE__ */ jsx(Loader, { size: "small" }) }) : /* @__PURE__ */ jsx(
|
|
645
|
-
Radio,
|
|
646
|
-
{
|
|
647
|
-
id,
|
|
648
|
-
"aria-describedby": ariaDescribedBy,
|
|
649
|
-
"aria-labelledby": elementIds.label,
|
|
650
|
-
checked: isSelected,
|
|
651
|
-
groupName: name,
|
|
652
|
-
onClick: onSelect,
|
|
653
|
-
value: optionId,
|
|
654
|
-
disabled,
|
|
655
|
-
className: cx({ "adyen-kyc-radio-group-card__radio--floating": floatingRadio })
|
|
656
|
-
}
|
|
657
|
-
)
|
|
658
|
-
]
|
|
659
|
-
},
|
|
660
|
-
optionId
|
|
661
|
-
);
|
|
662
|
-
};
|
|
663
|
-
const RadioGroupCard = ({
|
|
664
|
-
options,
|
|
665
|
-
name,
|
|
666
|
-
onSelect,
|
|
667
|
-
selected,
|
|
668
|
-
isInvalid,
|
|
669
|
-
className,
|
|
670
|
-
optionId,
|
|
671
|
-
optionName,
|
|
672
|
-
optionDescription,
|
|
673
|
-
optionSubtitle,
|
|
674
|
-
optionClassNames,
|
|
675
|
-
renderOptionIcon,
|
|
676
|
-
renderOptionBody,
|
|
677
|
-
renderOptionFooter,
|
|
678
|
-
isOptionDisabled,
|
|
679
|
-
floatingRadio,
|
|
680
|
-
enableTracking = false
|
|
681
|
-
}) => {
|
|
682
|
-
const userEvents = useAnalyticsContext();
|
|
683
|
-
const handleSelect = (option) => {
|
|
684
|
-
if (enableTracking) {
|
|
685
|
-
userEvents.addFieldEvent("Interacted with form field", {
|
|
686
|
-
actionType: "input",
|
|
687
|
-
field: name,
|
|
688
|
-
returnValue: typeof option === "string" ? option : void 0
|
|
689
|
-
});
|
|
690
|
-
}
|
|
691
|
-
onSelect(option);
|
|
692
|
-
};
|
|
693
|
-
return /* @__PURE__ */ jsx("div", { className: className ?? "adyen-kyc-radio-group-card", children: options.map((option) => /* @__PURE__ */ jsx(
|
|
694
|
-
RadioCard,
|
|
695
|
-
{
|
|
696
|
-
optionId: optionId(option),
|
|
697
|
-
optionName: optionName(option),
|
|
698
|
-
optionDescription: optionDescription?.(option),
|
|
699
|
-
optionSubtitle: optionSubtitle?.(option),
|
|
700
|
-
isInvalid,
|
|
701
|
-
isSelected: selected === option,
|
|
702
|
-
onSelect: () => handleSelect(option),
|
|
703
|
-
name,
|
|
704
|
-
classNames: optionClassNames?.(option),
|
|
705
|
-
icon: renderOptionIcon?.(option),
|
|
706
|
-
body: renderOptionBody?.(option),
|
|
707
|
-
footer: renderOptionFooter?.(option),
|
|
708
|
-
disabled: isOptionDisabled?.(option),
|
|
709
|
-
floatingRadio
|
|
710
|
-
},
|
|
711
|
-
optionId(option)
|
|
712
|
-
)) });
|
|
713
|
-
};
|
|
714
141
|
const cachedStripPatterns = /* @__PURE__ */ new Map();
|
|
715
142
|
const makeStripPattern = (mask) => {
|
|
716
143
|
const inputPatterns = mask.tokens.filter((token) => token.type === "input" && !!token.allow).map((token) => token.allow);
|
|
@@ -940,7 +367,7 @@ const InputTelephone = forwardRef(
|
|
|
940
367
|
}
|
|
941
368
|
);
|
|
942
369
|
const mismatch = "adyen-kyc-mismatch";
|
|
943
|
-
const styles
|
|
370
|
+
const styles = {
|
|
944
371
|
mismatch
|
|
945
372
|
};
|
|
946
373
|
const deriveInputState = (isValid, isFocused, isDisabled, isOptional, hasNullishValue, hasBlurred, errorMessage, shouldValidate, potentiallyMoreOptionalCharacters, formatGuidance, t) => {
|
|
@@ -1016,7 +443,7 @@ const Inner = ({
|
|
|
1016
443
|
readonly,
|
|
1017
444
|
placeholder,
|
|
1018
445
|
value: displayValue,
|
|
1019
|
-
className: showingMismatch ? styles
|
|
446
|
+
className: showingMismatch ? styles.mismatch : void 0,
|
|
1020
447
|
onInput,
|
|
1021
448
|
onPaste,
|
|
1022
449
|
onKeyDown,
|
|
@@ -1333,9 +760,13 @@ const MaskedInput = ({
|
|
|
1333
760
|
type,
|
|
1334
761
|
showingMismatch,
|
|
1335
762
|
onInput: handleInput,
|
|
1336
|
-
onBlur: (event) =>
|
|
763
|
+
onBlur: (event) => {
|
|
764
|
+
handleBlur(event, fieldOnBlur);
|
|
765
|
+
},
|
|
1337
766
|
onPaste: handlePaste,
|
|
1338
|
-
onFocus: (event) =>
|
|
767
|
+
onFocus: (event) => {
|
|
768
|
+
handleFocus(event, fieldOnFocus);
|
|
769
|
+
},
|
|
1339
770
|
onKeyDown: handleKeyDown
|
|
1340
771
|
}
|
|
1341
772
|
)
|
|
@@ -1355,63 +786,26 @@ const MaskedInput = ({
|
|
|
1355
786
|
type,
|
|
1356
787
|
showingMismatch,
|
|
1357
788
|
onInput: handleInput,
|
|
1358
|
-
onBlur: (event) =>
|
|
789
|
+
onBlur: (event) => {
|
|
790
|
+
handleBlur(event);
|
|
791
|
+
},
|
|
1359
792
|
onPaste: handlePaste,
|
|
1360
|
-
onFocus: (event) =>
|
|
793
|
+
onFocus: (event) => {
|
|
794
|
+
handleFocus(event);
|
|
795
|
+
},
|
|
1361
796
|
onKeyDown: handleKeyDown
|
|
1362
797
|
}
|
|
1363
798
|
);
|
|
1364
799
|
};
|
|
1365
|
-
const createFormRules = (rules) => rules;
|
|
1366
|
-
const resolveFieldMetadata = (countryEntry, params, defaultMetadata) => {
|
|
1367
|
-
if (typeof countryEntry === "object") {
|
|
1368
|
-
return countryEntry;
|
|
1369
|
-
}
|
|
1370
|
-
if (typeof countryEntry === "function") {
|
|
1371
|
-
return countryEntry(params);
|
|
1372
|
-
}
|
|
1373
|
-
return defaultMetadata;
|
|
1374
|
-
};
|
|
1375
|
-
const spacer = "adyen-kyc-spacer";
|
|
1376
|
-
const styles = {
|
|
1377
|
-
spacer
|
|
1378
|
-
};
|
|
1379
|
-
const Spacer = () => /* @__PURE__ */ jsx("div", { className: styles.spacer });
|
|
1380
800
|
export {
|
|
1381
|
-
|
|
1382
|
-
isValueObscured as B,
|
|
1383
|
-
ContextGuidance as C,
|
|
1384
|
-
DropzoneFile as D,
|
|
1385
|
-
convertFullToHalf as E,
|
|
1386
|
-
Image as I,
|
|
801
|
+
InputEmail as I,
|
|
1387
802
|
MaskedInput as M,
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
alphaInputs as c,
|
|
1394
|
-
nonInputs as d,
|
|
1395
|
-
validateLegalCompanyName as e,
|
|
1396
|
-
validateLatinSpaceMarkPunctuationOnlyOnBlur as f,
|
|
1397
|
-
validateJaKanaLegalCompanyName as g,
|
|
1398
|
-
validateJaHaniLegalCompanyName as h,
|
|
1399
|
-
useCapabilityProblems as i,
|
|
1400
|
-
getProblemsForEntity as j,
|
|
1401
|
-
customInputs as k,
|
|
1402
|
-
defaultFileValidationOptions as l,
|
|
803
|
+
nonInputs as a,
|
|
804
|
+
alphaInputs as b,
|
|
805
|
+
customInputs as c,
|
|
806
|
+
alphanumericInputs as d,
|
|
807
|
+
isValueObscured as i,
|
|
1403
808
|
makeMask as m,
|
|
1404
809
|
numericInputs as n,
|
|
1405
|
-
|
|
1406
|
-
bytesToSize as p,
|
|
1407
|
-
DocumentGuidance as q,
|
|
1408
|
-
resolveFieldMetadata as r,
|
|
1409
|
-
spacer$1 as s,
|
|
1410
|
-
TextArea as t,
|
|
1411
|
-
uppercase as u,
|
|
1412
|
-
validatePatternOnBlur as v,
|
|
1413
|
-
getLocalizedIdDocumentTypeOptions as w,
|
|
1414
|
-
createFormRules as x,
|
|
1415
|
-
InputEmail as y,
|
|
1416
|
-
Spacer as z
|
|
810
|
+
spacer as s
|
|
1417
811
|
};
|