@adyen/kyc-components 4.7.2 → 4.8.0-beta.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-7MltvEnk.js +35 -0
- package/dist/AD-D_B1KZm9.js +15 -0
- package/dist/AE-iKPgRx_9.js +17 -0
- package/dist/AI-CYjWGBKT.js +19 -0
- package/dist/AL-D62C5Lpk.js +19 -0
- package/dist/AR-BOgSvtgP.js +19 -0
- package/dist/AS-Cg8Vujpc.js +17 -0
- package/dist/AT-CCRMRifN.js +19 -0
- package/dist/AT-D3H5WGY3.js +15 -0
- package/dist/AT-DMpxSE4g.js +19 -0
- package/dist/AT-Doe66WxQ.js +16 -0
- package/dist/AU-B77DgHQb.js +16 -0
- package/dist/AU-BcSu8pI2.js +20 -0
- package/dist/AU-CiWB9qh-.js +11 -0
- package/dist/AU-DAfj7Z58.js +18 -0
- package/dist/AX-CG8iviap.js +15 -0
- package/dist/AZ-DIB7CvVN.js +19 -0
- package/dist/AcceptTermsOfServiceComponent-BKgdZKrj.js +651 -0
- package/dist/AcceptTermsOfServiceComponent-CUIdPIg8.js +6 -0
- package/dist/Accordion-Dmrb3-v6.js +111 -0
- package/dist/AccountSetupRejected-DkwJLZ-8.js +20 -0
- package/dist/ActionBar-ITEbcxgG.js +33 -0
- package/dist/Address-CnQ22ndb.js +595 -0
- package/dist/Alert-BER6uCP8.js +170 -0
- package/dist/Avatar-DElKUUVp.js +54 -0
- package/dist/BA-C4vH4-x6.js +19 -0
- package/dist/BE-BvtnaSSH.js +15 -0
- package/dist/BE-DJM3cj-R.js +11 -0
- package/dist/BE-Dtk1wvHk.js +12 -0
- package/dist/BE-Sbwjfh5h.js +11 -0
- package/dist/BG-DvFE-fU3.js +19 -0
- package/dist/BH-Bm_tXC8b.js +19 -0
- package/dist/BM-BPYI-Bk0.js +19 -0
- package/dist/BR-CRGYlRY-.js +18 -0
- package/dist/BR-CwJ6YXMX.js +23 -0
- package/dist/BR-DdZm-FhP.js +15 -0
- package/dist/BR-DjC4dRH8.js +20 -0
- package/dist/BS-DEbfM7Fg.js +19 -0
- package/dist/BV-LqWIWEV5.js +19 -0
- package/dist/BY-Dw4W1isS.js +19 -0
- package/dist/BusinessFinancingDropin-B8ZJDKWU.js +1796 -0
- package/dist/BusinessFinancingPage-B2EuTX1b.js +87 -0
- package/dist/BusinessTypeSelectionPage-CChAObkr.js +439 -0
- package/dist/Button-DvWt5T9O.js +189 -0
- package/dist/CA-CQtjbUjU.js +16 -0
- package/dist/CA-Cwit937J.js +18 -0
- package/dist/CA-D0ezsmfN.js +10 -0
- package/dist/CA-PLMbc5uq.js +17 -0
- package/dist/CH-Baaufs8O.js +15 -0
- package/dist/CH-D9S1IpBs.js +11 -0
- package/dist/CH-DPLfVgsE.js +15 -0
- package/dist/CH-DnoWGcl9.js +11 -0
- package/dist/CN-Bx6shvCX.js +19 -0
- package/dist/CR-CgM7Uut3.js +19 -0
- package/dist/CY-CxBi1s-O.js +15 -0
- package/dist/CZ-B3oiWDug.js +15 -0
- package/dist/CZ-B8nb2PxI.js +16 -0
- package/dist/CZ-CbWqKLbR.js +19 -0
- package/dist/CZ-DS5YfhO9.js +27 -0
- package/dist/Card-vYndix5Y.js +70 -0
- package/dist/Checkbox-BCYjFPa4.js +55 -0
- package/dist/Confirm-BmiOH3Vr.js +76 -0
- package/dist/ConstitutionalDocument-rRO4Qdx2.js +2228 -0
- package/dist/ContactDetails-tVqSDGqY.js +292 -0
- package/dist/ContextGuidance-DKKgj5gN.js +29 -0
- package/dist/ContractViewer-zPVipxCC.js +987 -0
- package/dist/CountryField-s5-jZTU9.js +38 -0
- package/dist/Currency-gYKD3DSx.js +191 -0
- package/dist/CustomerSupport-kwwKDe5a.js +127 -0
- package/dist/DE-BOCSw-Jn.js +23 -0
- package/dist/DE-NkKgh0-y.js +15 -0
- package/dist/DE-SZPlEjww.js +20 -0
- package/dist/DE-hCefE4qL.js +20 -0
- package/dist/DK-CB_26cPx.js +27 -0
- package/dist/DK-CO2QUqp2.js +19 -0
- package/dist/DK-CikJtsBF.js +15 -0
- package/dist/DK-DAYxZyrn.js +18 -0
- package/dist/DO-DWjKCR-x.js +19 -0
- package/dist/DebugModal-DycU_84l.js +451 -0
- package/dist/DecisionMakerDetails-DA9upL0W.js +471 -0
- package/dist/DecisionMakerDetailsPage-B7iGmS0R.js +105 -0
- package/dist/DecisionMakers-BZRkBx5n.js +670 -0
- package/dist/DetailViewLayout-Cz3FVZ5a.js +68 -0
- package/dist/Divider-CrK4vlsJ.js +11 -0
- package/dist/DropinLayout-Ce8IeTl4.js +22 -0
- package/dist/Dropzone-By_YOrv2.js +221 -0
- package/dist/EC-CCGvbVWA.js +20 -0
- package/dist/EE-DebeWn2E.js +15 -0
- package/dist/ES-Bf5fpQJJ.js +24 -0
- package/dist/ES-D2CBh7YF.js +19 -0
- package/dist/ES-DXLZWZXA.js +15 -0
- package/dist/ES-m71Tl7fE.js +15 -0
- package/dist/EmbeddedStatus-DeSYswbC.js +128 -0
- package/dist/EndStateLayout-CR8wHeA1.js +84 -0
- package/dist/EntityAssociation-CKOd_SVw.js +163 -0
- package/dist/EntityGuidanceStatus-C_rpRyk4.js +89 -0
- package/dist/ErrorPanel-4juOd8Z2.js +186 -0
- package/dist/FI-Cbz5-l9v.js +10 -0
- package/dist/FI-Clx-zbKe.js +15 -0
- package/dist/FI-L14G4S91.js +11 -0
- package/dist/FI-_CR_F2Ml.js +12 -0
- package/dist/FJ-BKLmDeVh.js +19 -0
- package/dist/FO-D7VnFgWu.js +19 -0
- package/dist/FR-D2lGCnJC.js +16 -0
- package/dist/FR-D2zQy3jq.js +15 -0
- package/dist/FR-DwVflgGw.js +15 -0
- package/dist/FR-wqLTqKJj.js +23 -0
- package/dist/Field-C2ZpB0wo.js +155 -0
- package/dist/FormNavigation-IqQmylMk.js +116 -0
- package/dist/GB-BX3mPDDS.js +27 -0
- package/dist/GB-CIqAOZg5.js +24 -0
- package/dist/GB-CVb-Rw8a.js +18 -0
- package/dist/GB-DD4csU-b.js +11 -0
- package/dist/GE-D02s-9eo.js +19 -0
- package/dist/GF-BcHxbxvv.js +15 -0
- package/dist/GG-C3cx2hzZ.js +27 -0
- package/dist/GI-D_DZhrwe.js +35 -0
- package/dist/GL-BUOXwUJ0.js +19 -0
- package/dist/GP-CmZCjGab.js +15 -0
- package/dist/GR-BxjWJl4T.js +15 -0
- package/dist/GT-C_l7WI2f.js +19 -0
- package/dist/GU-7zSp4NP8.js +17 -0
- package/dist/HK-D5lgUGIW.js +10 -0
- package/dist/HK-DXmjOLnc.js +17 -0
- package/dist/HK-Dc3v2ZB0.js +18 -0
- package/dist/HK-dz43_PmR.js +15 -0
- package/dist/HR-BvWaw8qz.js +15 -0
- package/dist/HR-ChipU8Kr.js +15 -0
- package/dist/HR-D3ZZV7I7.js +19 -0
- package/dist/HR-SfBt4kaq.js +15 -0
- package/dist/HU-1UX4rgmz.js +10 -0
- package/dist/HU-9NTdjUUV.js +26 -0
- package/dist/HU-CzI3Elvd.js +19 -0
- package/dist/HU-wpmPNNka.js +11 -0
- package/dist/HandlerContext-CIedIvkP.js +9 -0
- package/dist/Header-BNb1zwkF.js +93 -0
- package/dist/ID-O2T9tbLO.js +19 -0
- package/dist/IE-CRaBXxhc.js +18 -0
- package/dist/IE-Cw9l0506.js +15 -0
- package/dist/IE-DWpH_5Cq.js +10 -0
- package/dist/IE-OqeqXlhV.js +20 -0
- package/dist/IL-1hVGBOhQ.js +15 -0
- package/dist/IM-B1t_Q0mE.js +27 -0
- package/dist/IN-BAGr7C88.js +20 -0
- package/dist/IS-C97KS-Cn.js +19 -0
- package/dist/IT-Bqf_SGsX.js +19 -0
- package/dist/IT-GLNikVmY.js +19 -0
- package/dist/IT-PBgScy3E.js +15 -0
- package/dist/IT-b5Hsdl6Z.js +15 -0
- package/dist/Image-BTVEK7B2.js +33 -0
- package/dist/Individual.rules-B3pCow6J.js +295 -0
- package/dist/IndividualDropin-bFgrHziM.js +4946 -0
- package/dist/InputDate-XX9jaw9v.js +52 -0
- package/dist/InputGroup-2FJnD0LO.js +21 -0
- package/dist/InputText-C30dZxS4.js +119 -0
- package/dist/Introduction-BRwmMwP8.js +271 -0
- package/dist/InvitedDecisionMakerComponent-DD1vVyTG.js +6 -0
- package/dist/InvitedDecisionMakerComponent-g4s20v7g.js +353 -0
- package/dist/JE-D9zaTrAY.js +27 -0
- package/dist/JM-6zLyaeVi.js +19 -0
- package/dist/JO-BdNdFHnL.js +19 -0
- package/dist/JP-znYbtZMc.js +20 -0
- package/dist/JpAddress-DcrYSdH2.js +319 -0
- package/dist/KR-xcUi-9h2.js +19 -0
- package/dist/KW-3DCYRJ53.js +19 -0
- package/dist/KY-CCApxZ6r.js +19 -0
- package/dist/KZ-Cqr8yPqY.js +19 -0
- package/dist/LB-R74h2pUy.js +19 -0
- package/dist/LI-D9H9hvDG.js +15 -0
- package/dist/LT-CDQI5_NM.js +15 -0
- package/dist/LT-COGUxKB6.js +19 -0
- package/dist/LT-DkKeNYqC.js +16 -0
- package/dist/LT-Dq5I_vLb.js +11 -0
- package/dist/LU-B7-x8Llo.js +15 -0
- package/dist/LV-DAzwuNGM.js +15 -0
- package/dist/LandingLayout-BQZNXhZ_.js +76 -0
- package/dist/LegalCompanyNameField-D91em8Tk.js +108 -0
- package/dist/LegalRepresentativeDetailsPage-BeNRjz37.js +73 -0
- package/dist/Link-DKiaZfxB.js +32 -0
- package/dist/List-DLrcpMVd.js +71 -0
- package/dist/ListItem-zVPVQbER.js +70 -0
- package/dist/LoaderWrapper-DWKykOjd.js +34 -0
- package/dist/MC-DYg2Ld6N.js +15 -0
- package/dist/MD-BSGq8uEc.js +19 -0
- package/dist/ME-CMYolexb.js +19 -0
- package/dist/MK-KXTP17uw.js +19 -0
- package/dist/MP-CJH5I9LN.js +17 -0
- package/dist/MQ-B-Nxd16T.js +15 -0
- package/dist/MR-9gjgEzl5.js +19 -0
- package/dist/MT-DCvbkYrX.js +15 -0
- package/dist/MU-CVDBPgAP.js +19 -0
- package/dist/MX-B8dPVdJo.js +17 -0
- package/dist/MY-DcfNGXIG.js +16 -0
- package/dist/MaskedInput-zFUBaX87.js +714 -0
- package/dist/MaybeModal-Dsgozf1o.js +24 -0
- package/dist/Modal-UfgpuJZi.js +129 -0
- package/dist/NC-DQQUjrGe.js +19 -0
- package/dist/NL-Bu5_sjR1.js +14 -0
- package/dist/NL-CMB4A6y3.js +15 -0
- package/dist/NL-DQR9Rrua.js +12 -0
- package/dist/NL-McMEOXeg.js +19 -0
- package/dist/NO-C1lR0Cpn.js +14 -0
- package/dist/NO-CKPHTYW8.js +16 -0
- package/dist/NO-DAvhrELf.js +26 -0
- package/dist/NO-Pppylsvl.js +19 -0
- package/dist/NZ-BLYvv2PK.js +10 -0
- package/dist/NZ-BuvPkC2r.js +11 -0
- package/dist/Name-DC5eBwEU.js +61 -0
- package/dist/NewSummary-DVIIH1Ml.js +64 -0
- package/dist/PE-J7zWKbQ3.js +19 -0
- package/dist/PF-CQvMXWIc.js +19 -0
- package/dist/PH-CsAkleLZ.js +19 -0
- package/dist/PK-pnVCB70L.js +19 -0
- package/dist/PL-BIkD7ly2.js +19 -0
- package/dist/PL-Cfpb3P4Y.js +19 -0
- package/dist/PL-D6iB2qQS.js +15 -0
- package/dist/PL-DdsUKlRx.js +26 -0
- package/dist/PM-DXhRSYlY.js +15 -0
- package/dist/PR-BJTR9010.js +17 -0
- package/dist/PS-Bb7ensjm.js +19 -0
- package/dist/PT-Bqv36Ez0.js +15 -0
- package/dist/PT-DMau-7AE.js +19 -0
- package/dist/PT-D_mzbSbR.js +15 -0
- package/dist/PT-iBbOYasm.js +16 -0
- package/dist/PayoutDetailsDropin-DAUlhP1c.js +3909 -0
- package/dist/PayoutDetailsPage-mJE3Hgy9.js +857 -0
- package/dist/ProgressBar-BlxQvN7D.js +38 -0
- package/dist/QA-Cya8smAe.js +19 -0
- package/dist/RE-DV-Olrl9.js +15 -0
- package/dist/RO-7ngAIZ4E.js +15 -0
- package/dist/RO-D29rc5pZ.js +11 -0
- package/dist/RO-JvqtRH2p.js +11 -0
- package/dist/RO-Nqdvv0rk.js +19 -0
- package/dist/RS-Bdspw_Te.js +19 -0
- package/dist/RU-2VREcND8.js +19 -0
- package/dist/Radio-D6uF9-cu.js +21 -0
- package/dist/RadioGroup-Bi9v9dZu.js +71 -0
- package/dist/Review-C-B_R1FH.js +89 -0
- package/dist/RootBusinessDetailsPage-9ccBcunp.js +67 -0
- package/dist/RootBusinessLinesPage-LQptA58p.js +1451 -0
- package/dist/RootIndividualDetailsPage-DlzHpNEn.js +81 -0
- package/dist/SA-ONrtr4dq.js +19 -0
- package/dist/SE-Bp9QG9OZ.js +10 -0
- package/dist/SE-CfwjGhj2.js +27 -0
- package/dist/SE-CjCMy1R-.js +12 -0
- package/dist/SE-CspSL4-O.js +19 -0
- package/dist/SG-BSxtCx98.js +18 -0
- package/dist/SG-Bx4a8mSG.js +11 -0
- package/dist/SG-Cte5jgnm.js +16 -0
- package/dist/SG-W9jzYBBR.js +19 -0
- package/dist/SI-CjPVM480.js +14 -0
- package/dist/SI-ClAvsgGs.js +12 -0
- package/dist/SI-D_WmP1xi.js +19 -0
- package/dist/SI-DuER-ftQ.js +15 -0
- package/dist/SJ-DRle19p-.js +19 -0
- package/dist/SK-BXY1VMKv.js +19 -0
- package/dist/SK-CFssz9bO.js +15 -0
- package/dist/SK-CP4lBBly.js +10 -0
- package/dist/SK-KhQnqXtK.js +16 -0
- package/dist/SM-v_4Yc2mM.js +15 -0
- package/dist/Select-DDSua27l.js +775 -0
- package/dist/SignPCIComponent-DGWjjIO0.js +367 -0
- package/dist/SignPCIComponent-DvZAN38F.js +6 -0
- package/dist/SingpassSelection-PepG3R0o.js +244 -0
- package/dist/SoleProprietorshipPage-DnThw6us.js +69 -0
- package/dist/SourceOfFundsPage-CuIBGc8z.js +1987 -0
- package/dist/Spacer-_Y17BH-4.js +11 -0
- package/dist/StackLayout-Bhbj68nx.js +105 -0
- package/dist/StateContext-BToC3V53.js +9 -0
- package/dist/StepProgressIndicator-CzDT61ie.js +80 -0
- package/dist/StructuredList-w0Z2zLTk.js +56 -0
- package/dist/Summary-B8AA9_C_.js +226 -0
- package/dist/TF-BhrG4wMf.js +19 -0
- package/dist/TH-Dnjjl0vl.js +20 -0
- package/dist/TL-DV3_HDbD.js +19 -0
- package/dist/TN-CvaVweYw.js +19 -0
- package/dist/TR-BAvGXlpl.js +19 -0
- package/dist/TT-DRIx1q2s.js +20 -0
- package/dist/TW-DRf29Guu.js +21 -0
- package/dist/Tag-BUoDHC4C.js +39 -0
- package/dist/TaskVerificationStatus-UnhKHQYu.js +118 -0
- package/dist/TaxInformationField-zwmzV8Ov.js +2830 -0
- package/dist/TaxReportingDropin-BZ67pubt.js +480 -0
- package/dist/TextArea-CyATBUKN.js +80 -0
- package/dist/TileGroup-tVHAZBni.js +169 -0
- package/dist/ToastContext-Cx99hkTh.js +13 -0
- package/dist/ToastContextProvider-BWJct14f.js +103 -0
- package/dist/TrustDetailsPage-DLIvcoSr.js +1685 -0
- package/dist/TrustMemberCompanyPage-Q0FDNUXO.js +107 -0
- package/dist/TrustMemberIndividualPage-C4FZ57EQ.js +107 -0
- package/dist/TrustMemberRoleAndTypePage-s8ZOlbBU.js +943 -0
- package/dist/TrustMembersOverview-CZ-i1Yoq.js +350 -0
- package/dist/UA-Ba88l6Xd.js +19 -0
- package/dist/US-CKehaXnS.js +10 -0
- package/dist/US-Df5L2r8F.js +18 -0
- package/dist/US-QONZX-gV.js +23 -0
- package/dist/US-m2RymYgz.js +17 -0
- package/dist/UY-C7OqeI1W.js +19 -0
- package/dist/UnincorporatedPartnershipIndividualPage-DElj-rnx.js +78 -0
- package/dist/UnincorporatedPartnershipMemberCompanyPage-B2iYbHPm.js +78 -0
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-BgNE2bk7.js +276 -0
- package/dist/UnincorporatedPartnershipMembersOverview-BwCLw7rz.js +156 -0
- package/dist/VA-kEhphxOY.js +15 -0
- package/dist/VG-9RtXQCNA.js +19 -0
- package/dist/VI-Dtn9fHsy.js +17 -0
- package/dist/VN-CQ52lXXR.js +19 -0
- package/dist/VerificationErrorAlert-C_9CLF8G.js +38 -0
- package/dist/WF-D5AVATSv.js +19 -0
- package/dist/YT-B9qrlCqK.js +15 -0
- package/dist/ZA-CZ_c0XHc.js +20 -0
- package/dist/_rolldown_dynamic_import_helper-rq_tsyLP.js +14 -0
- package/dist/accountHolderUtils-BYe8xPFy.js +44 -0
- package/dist/adyen-business-financing.js +172 -66
- package/dist/adyen-individual-configuration.js +186 -59
- package/dist/adyen-individual-status.js +104 -45
- package/dist/adyen-invited-decision-maker.js +38 -42
- package/dist/adyen-onboarding.js +2465 -55
- package/dist/adyen-terms-of-service-management.js +58 -64
- package/dist/adyen-terms-of-service-status.js +138 -45
- package/dist/adyen-transfer-instrument-configuration.js +176 -74
- package/dist/adyen-transfer-instrument-management.js +409 -59
- package/dist/adyen-verification-status.js +234 -80
- package/dist/arrow-right-BzximXQd.js +20 -0
- package/dist/bafinUtils-kBPs58Au.js +68 -0
- package/dist/bag-CV-7aEOY.js +20 -0
- package/dist/bank-B3QWGDvh.js +20 -0
- package/dist/basePatterns-VqSYMnkh.js +8 -0
- package/dist/bg-BG-B59ND_11.js +59 -0
- package/dist/bg-BG-B67nlf6n.js +31 -0
- package/dist/bg-BG-BxkwIoTQ.js +69 -0
- package/dist/bg-BG-C0wzRs18.js +7 -0
- package/dist/bg-BG-CN_UREwh.js +23 -0
- package/dist/bg-BG-Ckeu3dBt.js +26 -0
- package/dist/bg-BG-D2t5UzpH.js +70 -0
- package/dist/bg-BG-DQPBlfB6.js +18 -0
- package/dist/bg-BG-DeVGTTeO.js +7 -0
- package/dist/bg-BG-DnMyf-n3.js +48 -0
- package/dist/bg-BG-DqWeAqky.js +57 -0
- package/dist/bg-BG-sDNpvadv.js +7 -0
- package/dist/bg-BG-xv1T8Cru.js +7 -0
- package/dist/bg-BG-ymvx5WWi.js +7 -0
- package/dist/bin-Nm57SUCy.js +30 -0
- package/dist/birthDateUtils-C686KOxO.js +82 -0
- package/dist/business-lines-BYTyy_mD.js +554 -0
- package/dist/capital-BIrjrei_.js +23 -0
- package/dist/cash-stack-q8jqAQnj.js +33 -0
- package/dist/certificate-BA32wlVD.js +23 -0
- package/dist/checkmark-Sx0Eq9g1.js +20 -0
- package/dist/checkmark-circle-D25SXuEg.js +28 -0
- package/dist/checkmark-circle-fill-DWyHVNKM.js +30 -0
- package/dist/checkmark-small-BYKwXmot.js +20 -0
- package/dist/chevron-down-BY9NvSX2.js +20 -0
- package/dist/chevron-left-1TeIr8LI.js +20 -0
- package/dist/chevron-right-D3ORtAcK.js +20 -0
- package/dist/chevron-up-DSUlaHcZ.js +20 -0
- package/dist/circle-BLLy-RH7.js +30 -0
- package/dist/circle-small-filled-C_6B84Iy.js +20 -0
- package/dist/clock-lHMbm7lZ.js +28 -0
- package/dist/coins-DM30OZR2.js +30 -0
- package/dist/commonValidators-DCdet-gH.js +18 -0
- package/dist/company-types-value-BYTAKfjo.js +17 -0
- package/dist/contract-CHdRrIxe.js +20 -0
- package/dist/countries-BuZ6_X95.js +41 -0
- package/dist/country-COrdWGaq.js +13 -0
- package/dist/country-code-CX5KqMBr.js +284 -0
- package/dist/cross-circle-fill-CmXERg4H.js +30 -0
- package/dist/cross-circle-fill-small-CMz7hV-a.js +20 -0
- package/dist/cross-eL7Kqv7I.js +20 -0
- package/dist/cs-CZ-B0PS89aw.js +7 -0
- package/dist/cs-CZ-BJQndp5g.js +18 -0
- package/dist/cs-CZ-BSCmFoe-.js +70 -0
- package/dist/cs-CZ-BkegBLH0.js +7 -0
- package/dist/cs-CZ-Cf3RE2Kz.js +69 -0
- package/dist/cs-CZ-CgD-Dni9.js +48 -0
- package/dist/cs-CZ-D0tlzysb.js +57 -0
- package/dist/cs-CZ-DNo3i13i.js +59 -0
- package/dist/cs-CZ-DerpXyW7.js +26 -0
- package/dist/cs-CZ-DoyjAWTB.js +7 -0
- package/dist/cs-CZ-DzvqR4Si.js +7 -0
- package/dist/cs-CZ-EALbGC0P.js +23 -0
- package/dist/cs-CZ-nVt_3Wsc.js +31 -0
- package/dist/cs-CZ-y--aL5tG.js +7 -0
- package/dist/currency-DNgyvN7z.js +29 -0
- package/dist/da-DK-B_qoG-tX.js +48 -0
- package/dist/da-DK-Bdp8gkhn.js +23 -0
- package/dist/da-DK-BpC27U0O.js +7 -0
- package/dist/da-DK-C-6cZEqg.js +59 -0
- package/dist/da-DK-CLzpAJZX.js +7 -0
- package/dist/da-DK-Cu2Bi6Q7.js +31 -0
- package/dist/da-DK-DFjTxgfg.js +7 -0
- package/dist/da-DK-DSrFDOG3.js +57 -0
- package/dist/da-DK-DbpZoBrp.js +18 -0
- package/dist/da-DK-DcplyxCd.js +70 -0
- package/dist/da-DK-DgFOdais.js +69 -0
- package/dist/da-DK-d-G4WSG9.js +7 -0
- package/dist/da-DK-gVDOt4Mx.js +26 -0
- package/dist/da-DK-niSqcowC.js +7 -0
- package/dist/datasetUtil-Zd4TCTDn.js +45 -0
- package/dist/de-DE-4UdLDq_d.js +59 -0
- package/dist/de-DE-BVoU3x7q.js +26 -0
- package/dist/de-DE-BX0mu_5B.js +7 -0
- package/dist/de-DE-BsZOOvbi.js +7 -0
- package/dist/de-DE-Bsrf1Qk-.js +7 -0
- package/dist/de-DE-CJAVduiD.js +70 -0
- package/dist/de-DE-CPjVxwLK.js +69 -0
- package/dist/de-DE-CSfZ-fLe.js +23 -0
- package/dist/de-DE-Ccbobm6F.js +18 -0
- package/dist/de-DE-DLpDehXu.js +48 -0
- package/dist/de-DE-DXLRcNXw.js +57 -0
- package/dist/de-DE-KXIXcUTs.js +7 -0
- package/dist/de-DE-Qs8eQGQS.js +31 -0
- package/dist/de-DE-jwrvfE6B.js +7 -0
- package/dist/de-DE-zVrwBFVP.js +7 -0
- package/dist/debouncedInputEvent-Dxv4-RAv.js +54 -0
- package/dist/debugStore-bZ_bkJeS.js +9 -0
- package/dist/decision-maker-type-Cow3CpUd.js +12 -0
- package/dist/decision-makers-group-Cof9scJd.js +4169 -0
- package/dist/decisionMaker-j9cwyXuS.js +146 -0
- package/dist/decisionMakerRoles-CAy-eeNV.js +45 -0
- package/dist/digital-wallet-BXDAhThn.js +163 -0
- package/dist/document-1-CAkgmlsx.js +20 -0
- package/dist/document-blurred-LCBsN2NC.js +116 -0
- package/dist/document-cut-off-wsPtcq1x.js +116 -0
- package/dist/document-expired-CvTJKcZr.js +160 -0
- package/dist/document-front-BHCo0w58.js +113 -0
- package/dist/document-person-BMqoEMgx.js +28 -0
- package/dist/download-CUCb0PT7.js +23 -0
- package/dist/dropinUtils-FIEFyS0F.js +275 -0
- package/dist/edit-1-DqX_7cbs.js +20 -0
- package/dist/el-GR-B08o_Wr7.js +59 -0
- package/dist/el-GR-B1VnihMi.js +69 -0
- package/dist/el-GR-BUGibSyd.js +26 -0
- package/dist/el-GR-BV0tj_MA.js +7 -0
- package/dist/el-GR-C-HtCTGV.js +57 -0
- package/dist/el-GR-C5lpMpmF.js +7 -0
- package/dist/el-GR-C7o9YGzw.js +23 -0
- package/dist/el-GR-CDp-bn0j.js +7 -0
- package/dist/el-GR-CN3HrU9J.js +70 -0
- package/dist/el-GR-CNDZGVN3.js +31 -0
- package/dist/el-GR-D9AagIjI.js +18 -0
- package/dist/el-GR-DRbd6eXu.js +7 -0
- package/dist/el-GR-DZuLkaBp.js +48 -0
- package/dist/el-GR-Doj3UHZu.js +7 -0
- package/dist/el-GR-DvgAQImQ.js +7 -0
- package/dist/emitEvent-B8K0cb1F.js +35 -0
- package/dist/en-US-3j1Js4vT.js +70 -0
- package/dist/en-US-B3MAOxZH.js +7 -0
- package/dist/en-US-BWMrfrd7.js +31 -0
- package/dist/en-US-Bg9gdBEC.js +7 -0
- package/dist/en-US-BgLFeko-.js +18 -0
- package/dist/en-US-C81RZMm3.js +76 -0
- package/dist/en-US-CEBexxFl.js +23 -0
- package/dist/en-US-CnVk6lVt.js +212 -0
- package/dist/en-US-CwN7_Z6A.js +60 -0
- package/dist/en-US-Cwp_kAIu.js +57 -0
- package/dist/en-US-D1y6M9AI.js +116 -0
- package/dist/en-US-D6psKu6Y.js +26 -0
- package/dist/en-US-D8jS6G6S.js +10 -0
- package/dist/en-US-DH-5G1L0.js +7 -0
- package/dist/en-US-DqbNEPfm.js +7 -0
- package/dist/en-US-IxvcS3bq.js +7 -0
- package/dist/en-US-RJmb2nTR.js +69 -0
- package/dist/en-US-Rnj0uOlI.js +40 -0
- package/dist/en-US-hCtMObDn.js +196 -0
- package/dist/en-US-jcuu40kx.js +48 -0
- package/dist/en-US-rEquAkrM.js +60 -0
- package/dist/en-US.instructions-Bh8SYzc5.js +7 -0
- package/dist/en-US.instructions-C5xXRJDu.js +16 -0
- package/dist/entityAssociationUtil-BEzUdPbm.js +97 -0
- package/dist/es-ES-8AtDNr6X.js +18 -0
- package/dist/es-ES-B7uIo7kE.js +23 -0
- package/dist/es-ES-B9kTevXB.js +59 -0
- package/dist/es-ES-BJfw2diu.js +7 -0
- package/dist/es-ES-B_kBpFxZ.js +7 -0
- package/dist/es-ES-BkeAb5PG.js +7 -0
- package/dist/es-ES-Bwj2MUyM.js +69 -0
- package/dist/es-ES-CHyhM1uh.js +7 -0
- package/dist/es-ES-CLr_KwxQ.js +7 -0
- package/dist/es-ES-D-n6xoWo.js +7 -0
- package/dist/es-ES-D1vAd-8r.js +26 -0
- package/dist/es-ES-DKenRcq3.js +70 -0
- package/dist/es-ES-DWjfZmTj.js +31 -0
- package/dist/es-ES-H0DZcC1K.js +48 -0
- package/dist/es-ES-hX5WUfzS.js +57 -0
- package/dist/et-EE-BSAr_xVc.js +31 -0
- package/dist/et-EE-BcWPn7Cl.js +7 -0
- package/dist/et-EE-BnDOa_4e.js +7 -0
- package/dist/et-EE-CNNN-M_x.js +18 -0
- package/dist/et-EE-CWGint-T.js +26 -0
- package/dist/et-EE-CfheEJAy.js +7 -0
- package/dist/et-EE-Cs__RUB9.js +48 -0
- package/dist/et-EE-DmlaKK4B.js +57 -0
- package/dist/et-EE-DsLOML8r.js +70 -0
- package/dist/et-EE-Du3REm6O.js +7 -0
- package/dist/et-EE-GTXnG-3j.js +59 -0
- package/dist/et-EE-Mp-OiQL2.js +69 -0
- package/dist/et-EE-SeklRCmh.js +7 -0
- package/dist/et-EE-_uLrdnTi.js +23 -0
- package/dist/external-link-V6JPH8K0.js +20 -0
- package/dist/fi-FI-1nGlfW_t.js +7 -0
- package/dist/fi-FI-80q1y1Bb.js +59 -0
- package/dist/fi-FI-BKXhGjNk.js +26 -0
- package/dist/fi-FI-BY9X2DpF.js +31 -0
- package/dist/fi-FI-BcXm_vtP.js +7 -0
- package/dist/fi-FI-BcdVq2e0.js +23 -0
- package/dist/fi-FI-Bx1S9eQf.js +70 -0
- package/dist/fi-FI-Cl1vbAPV.js +18 -0
- package/dist/fi-FI-DdyNwoGb.js +7 -0
- package/dist/fi-FI-Dy_bfWw7.js +48 -0
- package/dist/fi-FI-Dz25oorf.js +7 -0
- package/dist/fi-FI-iyr94E5r.js +57 -0
- package/dist/fi-FI-n4x7ZOmh.js +7 -0
- package/dist/fi-FI-pvpGl_6s.js +69 -0
- package/dist/fieldConfigurations-m7oWP1DZ.js +11 -0
- package/dist/file-6a0FDVyq.js +37 -0
- package/dist/filterProblemsByTaskForms-DwS9T-_E.js +21 -0
- package/dist/form-rules-CvdV5rPY.js +7 -0
- package/dist/formFieldsUtils-CR7j1k8e.js +7 -0
- package/dist/formUtils-DCvL3uZG.js +78 -0
- package/dist/fr-FR-ANv8VCCV.js +7 -0
- package/dist/fr-FR-B9xNxWia.js +31 -0
- package/dist/fr-FR-CDTGvZzl.js +7 -0
- package/dist/fr-FR-CEWcwAJ-.js +7 -0
- package/dist/fr-FR-CMMz7OEo.js +69 -0
- package/dist/fr-FR-CqbeB381.js +7 -0
- package/dist/fr-FR-D2Ep3xgM.js +59 -0
- package/dist/fr-FR-DC_PZPwP.js +18 -0
- package/dist/fr-FR-DKjCgBfS.js +7 -0
- package/dist/fr-FR-DL8mtS3r.js +57 -0
- package/dist/fr-FR-DcXwaT3d.js +48 -0
- package/dist/fr-FR-DksMI4zV.js +70 -0
- package/dist/fr-FR-DzjwEGsx.js +26 -0
- package/dist/fr-FR-Ta6QBpqt.js +23 -0
- package/dist/fr-FR-bqkpOtF1.js +7 -0
- package/dist/funds-in-04OBDLJw.js +24 -0
- package/dist/get-scenarios-DnCVdYIC.js +24 -0
- package/dist/getLegalEntityCountry-C6bSV6sB.js +17 -0
- package/dist/getName-Bdwp_hkV.js +35 -0
- package/dist/getNestedPropertyKeys-CVAsNBJ8.js +18 -0
- package/dist/getProblemsForEntity-Df8xJUr2.js +16 -0
- package/dist/getProps-CkZCnNxW.js +98 -0
- package/dist/getTrustedFields-UVTLadau.js +45 -0
- package/dist/gift-C3MzdRIj.js +20 -0
- package/dist/globalStore-BsvLFLDr.js +418 -0
- package/dist/graph-BJ7yemhR.js +32 -0
- package/dist/graph-up-CWzty_jt.js +38 -0
- package/dist/headquarter-COstZFO7.js +42 -0
- package/dist/hotel-C1vO2ZiV.js +33 -0
- package/dist/house-BfjiK4vF.js +24 -0
- package/dist/hr-HR-B8MiNFt0.js +7 -0
- package/dist/hr-HR-Bp5qQwHS.js +48 -0
- package/dist/hr-HR-BqNvRwoc.js +7 -0
- package/dist/hr-HR-C4Bv0YpX.js +59 -0
- package/dist/hr-HR-CBySzkSl.js +7 -0
- package/dist/hr-HR-CJHkB1ko.js +69 -0
- package/dist/hr-HR-CLRdCbY_.js +7 -0
- package/dist/hr-HR-CMcgajLG.js +26 -0
- package/dist/hr-HR-CjbJFQJu.js +7 -0
- package/dist/hr-HR-Ck-S-k5d.js +23 -0
- package/dist/hr-HR-D0Xp4lTU.js +31 -0
- package/dist/hr-HR-EhBzx8FM.js +57 -0
- package/dist/hr-HR-FHDzcIUl.js +70 -0
- package/dist/hr-HR-pOpa3-4-.js +18 -0
- package/dist/http-btI4x32X.js +148 -0
- package/dist/hu-HU-3a4f6Po4.js +59 -0
- package/dist/hu-HU-BF3I2cDh.js +69 -0
- package/dist/hu-HU-BOCGei6J.js +31 -0
- package/dist/hu-HU-Bg2UoMm1.js +7 -0
- package/dist/hu-HU-C-gD2scj.js +7 -0
- package/dist/hu-HU-Cq3L3459.js +26 -0
- package/dist/hu-HU-CsOzXRwg.js +7 -0
- package/dist/hu-HU-DG9r7Yn5.js +18 -0
- package/dist/hu-HU-DHZf-Z1b.js +7 -0
- package/dist/hu-HU-DZmGYcpb.js +57 -0
- package/dist/hu-HU-DZnrPw7M.js +70 -0
- package/dist/hu-HU-HNscNs5I.js +48 -0
- package/dist/hu-HU-u7Q5hZ8M.js +23 -0
- package/dist/hu-HU-xJ7HEjBk.js +7 -0
- package/dist/id-blurred-DajPeUev.js +266 -0
- package/dist/id-cut-off-Cg7VH88-.js +242 -0
- package/dist/id-front-BFiC6TLx.js +237 -0
- package/dist/id-glare--tl3DxTG.js +218 -0
- package/dist/image-Ctf24Eqr.js +23 -0
- package/dist/info-CKFBABlx.js +32 -0
- package/dist/info-filled-BtKXWmDk.js +32 -0
- package/dist/invalidateRootLegalEntity-BbVdQNIY.js +45 -0
- package/dist/isEmpty-DFUWFV4h.js +14 -0
- package/dist/isEmptyEntity-BM_3oo07.js +44 -0
- package/dist/isNewEntity-4QusRCpP.js +7 -0
- package/dist/it-IT-4udyC9ua.js +7 -0
- package/dist/it-IT-BFVfcntm.js +31 -0
- package/dist/it-IT-BVcopRE0.js +57 -0
- package/dist/it-IT-Bncw2hQ-.js +69 -0
- package/dist/it-IT-C-OxfLhZ.js +48 -0
- package/dist/it-IT-C2wbwYWQ.js +59 -0
- package/dist/it-IT-CBQ2gGE7.js +7 -0
- package/dist/it-IT-CKYkplGl.js +23 -0
- package/dist/it-IT-Cd3oPF1M.js +18 -0
- package/dist/it-IT-D8RXfncB.js +7 -0
- package/dist/it-IT-DWt33Mig.js +70 -0
- package/dist/it-IT-DpTVTcDk.js +7 -0
- package/dist/it-IT-MRrAO1jy.js +7 -0
- package/dist/it-IT-YCjFrZ-Z.js +7 -0
- package/dist/it-IT-rGM1QmSW.js +26 -0
- package/dist/ja-JP-B8Rg2VNl.js +69 -0
- package/dist/ja-JP-BDPtYIpq.js +7 -0
- package/dist/ja-JP-C0ASZo79.js +196 -0
- package/dist/ja-JP-CLmtF9H_.js +31 -0
- package/dist/ja-JP-CNNwQyYR.js +70 -0
- package/dist/ja-JP-CQBoZgiC.js +23 -0
- package/dist/ja-JP-CgfF4yTt.js +48 -0
- package/dist/ja-JP-Cla1MJLj.js +7 -0
- package/dist/ja-JP-CsgosKvD.js +26 -0
- package/dist/ja-JP-DRYUrb3a.js +7 -0
- package/dist/ja-JP-DbHm_J96.js +7 -0
- package/dist/ja-JP-DieVzA1B.js +18 -0
- package/dist/ja-JP-DxUBevNe.js +59 -0
- package/dist/ja-JP-DyUgd4BE.js +57 -0
- package/dist/ja-JP-WirIWnQi.js +7 -0
- package/dist/ja-JP-uXR7c5rz.js +7 -0
- package/dist/japanSupportUtils-DcDqwV81.js +11 -0
- package/dist/jpAddressSchema-BQTiMBSQ.js +17 -0
- package/dist/keys-fzUbt2xF.js +20 -0
- package/dist/legal-entity-type-VIfNYnJP.js +13 -0
- package/dist/listToRecord-4wGOf00H.js +10 -0
- package/dist/localizeDateString-AhjDnkHD.js +35 -0
- package/dist/location-CpaR6p3k.js +23 -0
- package/dist/lt-LT-2d52byGI.js +70 -0
- package/dist/lt-LT-4dQRWgMS.js +7 -0
- package/dist/lt-LT-B9QsV1Fl.js +31 -0
- package/dist/lt-LT-BE20J_Fa.js +59 -0
- package/dist/lt-LT-BRFs6EyI.js +69 -0
- package/dist/lt-LT-CK-_FLDK.js +18 -0
- package/dist/lt-LT-CxHglunM.js +48 -0
- package/dist/lt-LT-CyVGhu0R.js +26 -0
- package/dist/lt-LT-DCexrILL.js +57 -0
- package/dist/lt-LT-DsKGJjAK.js +7 -0
- package/dist/lt-LT-Dv9CNqL5.js +23 -0
- package/dist/lt-LT-RYz2_iMh.js +7 -0
- package/dist/lt-LT-lr-xOt-0.js +7 -0
- package/dist/lt-LT-ykgOI1Lh.js +7 -0
- package/dist/lv-LV-1DHJcJtx.js +31 -0
- package/dist/lv-LV-7toRaVhs.js +7 -0
- package/dist/lv-LV-BXLZTnKa.js +59 -0
- package/dist/lv-LV-BZ6GdtSG.js +23 -0
- package/dist/lv-LV-BhvjJBtW.js +18 -0
- package/dist/lv-LV-CALhnU3h.js +48 -0
- package/dist/lv-LV-CrYidfpB.js +70 -0
- package/dist/lv-LV-DXmGZc4u.js +7 -0
- package/dist/lv-LV-Dlq59Kg7.js +26 -0
- package/dist/lv-LV-DykVV_JJ.js +7 -0
- package/dist/lv-LV-OjadvSbn.js +7 -0
- package/dist/lv-LV-pzQT6oF4.js +69 -0
- package/dist/lv-LV-qidnvuKE.js +7 -0
- package/dist/lv-LV-vUmm_Y8X.js +57 -0
- package/dist/mail-uoxYIc94.js +20 -0
- package/dist/mapAddressLocalizationToJpAddressSchema-Cp77VSSB.js +66 -0
- package/dist/mapExistingFile-DdeA1Ya3.js +138 -0
- package/dist/mapJpAddressSchemaToAddressLocalizations-DiB3xFfa.js +61 -0
- package/dist/mapLegalEntityToIndividualSchema-CK2d-XB-.js +206 -0
- package/dist/mapTransferInstrumentToPayoutAccount-5vTCCl4n.js +44 -0
- package/dist/minus-circle-filled-B_E6PncD.js +30 -0
- package/dist/nl-NL-BOfLp7Kw.js +7 -0
- package/dist/nl-NL-Bfn1b5-H.js +18 -0
- package/dist/nl-NL-BsMqXzW2.js +7 -0
- package/dist/nl-NL-BtXGtpjP.js +70 -0
- package/dist/nl-NL-BxRQSueu.js +7 -0
- package/dist/nl-NL-Ch1_Ho4H2.js +7 -0
- package/dist/nl-NL-CoEgvakv.js +23 -0
- package/dist/nl-NL-CscaDll4.js +69 -0
- package/dist/nl-NL-D9OFsGYi.js +48 -0
- package/dist/nl-NL-DUzifJ-6.js +7 -0
- package/dist/nl-NL-DZOwYmdT.js +59 -0
- package/dist/nl-NL-DayMdZGS.js +26 -0
- package/dist/nl-NL-DcLEwsh6.js +31 -0
- package/dist/nl-NL-DpZ_sRQQ.js +57 -0
- package/dist/nl-NL-DrryYwRC.js +7 -0
- package/dist/no-NO-7cH_mYGz.js +23 -0
- package/dist/no-NO-BNo6BEI2.js +48 -0
- package/dist/no-NO-Bj-bFlwW.js +59 -0
- package/dist/no-NO-CMSuTQFP.js +7 -0
- package/dist/no-NO-COKvHr69.js +70 -0
- package/dist/no-NO-CeJtzvaa.js +57 -0
- package/dist/no-NO-CfYxgg3G.js +31 -0
- package/dist/no-NO-CpQs6Kuj.js +7 -0
- package/dist/no-NO-CveHyEMg.js +7 -0
- package/dist/no-NO-CzUEYJ6T2.js +7 -0
- package/dist/no-NO-DCPDmC0O.js +7 -0
- package/dist/no-NO-DFiHCQaa.js +18 -0
- package/dist/no-NO-DNxpnnM4.js +69 -0
- package/dist/no-NO-DphtE0hV.js +26 -0
- package/dist/omitObscuredFieldsIfUnchanged-B7VNFVgY.js +20 -0
- package/dist/onfido-logo-EtpExIxa.js +18 -0
- package/dist/options-horizontal-CDJtmlVY.js +30 -0
- package/dist/partner-gFUctV1k.js +30 -0
- package/dist/passport-blurred-CeDXhPyb.js +266 -0
- package/dist/passport-cut-off-CvgvQJYC.js +246 -0
- package/dist/passport-front-DnOK4cgY.js +237 -0
- package/dist/passport-front-green-BOdOhMh6.js +479 -0
- package/dist/passport-glare-BMA9YxJd.js +222 -0
- package/dist/patternValidators-BaQxw3ki.js +73 -0
- package/dist/pay-by-link-plane-q4Bh-mWo.js +33 -0
- package/dist/payout-CpwcL7W1.js +38 -0
- package/dist/payout-bank-accounts-jW_Zgfqf.js +38 -0
- package/dist/payout-verification-instant-BLpp07Uv.js +156 -0
- package/dist/payout-verification-manual-BgjvhzA9.js +462 -0
- package/dist/person-B3rmhreD.js +23 -0
- package/dist/phonePrefixes-j_kb1wJm.js +252 -0
- package/dist/pl-PL-B6MlP7Xz.js +23 -0
- package/dist/pl-PL-BKJlxx_t.js +57 -0
- package/dist/pl-PL-BhRJVuU3.js +31 -0
- package/dist/pl-PL-BvYP_Mjz2.js +7 -0
- package/dist/pl-PL-CKZbiqpL.js +7 -0
- package/dist/pl-PL-CRanu6gn.js +48 -0
- package/dist/pl-PL-D-e2Z51f.js +70 -0
- package/dist/pl-PL-D2dgIhBU.js +18 -0
- package/dist/pl-PL-D6XdYdXs.js +7 -0
- package/dist/pl-PL-DEkGFDx6.js +7 -0
- package/dist/pl-PL-DcwGjG1k.js +7 -0
- package/dist/pl-PL-Ovy-dAEm.js +26 -0
- package/dist/pl-PL-V52qRKcx.js +69 -0
- package/dist/pl-PL-v95qJZ7W.js +59 -0
- package/dist/plaid-logo-JKKXRmk4.js +15 -0
- package/dist/plus-D1pu1FCh.js +20 -0
- package/dist/plus-circle-filled-BAKemMoO.js +30 -0
- package/dist/process-field-configurations-44gfzIGi.js +279 -0
- package/dist/processCapabilitites-BHzfFtSM.js +869 -0
- package/dist/pt-BR-B7FJvvCY2.js +7 -0
- package/dist/pt-BR-B7oDER2v.js +31 -0
- package/dist/pt-BR-B8YZ-Hqo.js +116 -0
- package/dist/pt-BR-BNfmjS7T.js +18 -0
- package/dist/pt-BR-B_tIsNF2.js +7 -0
- package/dist/pt-BR-C3oGCuLZ.js +23 -0
- package/dist/pt-BR-CL2QRxOt.js +57 -0
- package/dist/pt-BR-CPXL0egI.js +69 -0
- package/dist/pt-BR-CwEhFyDx.js +70 -0
- package/dist/pt-BR-D01BPIQ8.js +48 -0
- package/dist/pt-BR-DgAN88vt.js +26 -0
- package/dist/pt-BR-Dk284q8W.js +7 -0
- package/dist/pt-BR-DkGneNc5.js +7 -0
- package/dist/pt-BR-DyYEeGVr.js +7 -0
- package/dist/pt-BR-w4XP2Zc2.js +59 -0
- package/dist/pt-PT-5BekXyBw.js +26 -0
- package/dist/pt-PT-B0PlOQYf2.js +7 -0
- package/dist/pt-PT-BSNvIlJh.js +23 -0
- package/dist/pt-PT-C_6pNXKv.js +31 -0
- package/dist/pt-PT-CabKp0yt.js +7 -0
- package/dist/pt-PT-Cr2esDwf.js +69 -0
- package/dist/pt-PT-D3v24Se2.js +18 -0
- package/dist/pt-PT-DYQXla7J.js +7 -0
- package/dist/pt-PT-DYXnzP0x.js +59 -0
- package/dist/pt-PT-DfOrysaZ.js +7 -0
- package/dist/pt-PT-Dfp-0h0s.js +7 -0
- package/dist/pt-PT-DjZ0SeNY.js +48 -0
- package/dist/pt-PT-IOArlYPi.js +7 -0
- package/dist/pt-PT-of6NX5C7.js +70 -0
- package/dist/pt-PT-sZUWaieU.js +57 -0
- package/dist/recurring-BqOZk0GH.js +23 -0
- package/dist/reporting-DI9JGolm.js +20 -0
- package/dist/resolveEnvironment-CUQtdx0I.js +1176 -0
- package/dist/revenue-accelerate-CSszZfVF.js +30 -0
- package/dist/review-CkgZkiFy.js +19 -0
- package/dist/ro-RO-7VBqqH7o.js +31 -0
- package/dist/ro-RO-9NTYYrid.js +48 -0
- package/dist/ro-RO-BW4-_NrZ.js +57 -0
- package/dist/ro-RO-BXjIQG3P.js +7 -0
- package/dist/ro-RO-BZMTQGJJ2.js +7 -0
- package/dist/ro-RO-BlBqP0LV.js +18 -0
- package/dist/ro-RO-BtLXaAVi.js +26 -0
- package/dist/ro-RO-CBNP3GS_.js +7 -0
- package/dist/ro-RO-CGoDuoZa.js +70 -0
- package/dist/ro-RO-Can6URM1.js +23 -0
- package/dist/ro-RO-DH5uD9v9.js +7 -0
- package/dist/ro-RO-DUiDGCZU.js +59 -0
- package/dist/ro-RO-DYwkjw9d.js +69 -0
- package/dist/ro-RO-Dy9karNI.js +7 -0
- package/dist/roleMetadata-CP3ZYYSI.js +56 -0
- package/dist/save-BwoYyyYQ.js +20 -0
- package/dist/search-lRnoylK2.js +30 -0
- package/dist/show-Dpmp87ye.js +23 -0
- package/dist/singpass-logo--50WxD_p.js +22 -0
- package/dist/singpass-verification-instant-BHID0qRO.js +175 -0
- package/dist/singpass-verification-manual-DpefFA6C.js +141 -0
- package/dist/sk-SK-BDItYkrD.js +23 -0
- package/dist/sk-SK-BPDMxREF2.js +7 -0
- package/dist/sk-SK-Blzjm32C.js +7 -0
- package/dist/sk-SK-BmP_vrOT.js +7 -0
- package/dist/sk-SK-CAkLqBR-.js +48 -0
- package/dist/sk-SK-CJW-1wtq.js +7 -0
- package/dist/sk-SK-CZnhSCxt.js +18 -0
- package/dist/sk-SK-D2f2S35P.js +7 -0
- package/dist/sk-SK-DESgizdP.js +59 -0
- package/dist/sk-SK-fwnwR2zz.js +26 -0
- package/dist/sk-SK-qVeRKlxs.js +31 -0
- package/dist/sk-SK-vSn9yvb8.js +69 -0
- package/dist/sk-SK-vyxCXCDR.js +57 -0
- package/dist/sk-SK-wYLB-c3d.js +70 -0
- package/dist/sl-SI-B5xGgx5S.js +70 -0
- package/dist/sl-SI-BHztDEDm.js +59 -0
- package/dist/sl-SI-BxJgtZKP.js +69 -0
- package/dist/sl-SI-C0d32nxW.js +57 -0
- package/dist/sl-SI-C5FYCjwi.js +48 -0
- package/dist/sl-SI-CYVD9Yk1.js +26 -0
- package/dist/sl-SI-ChRXWdua.js +31 -0
- package/dist/sl-SI-D8NMKaco.js +7 -0
- package/dist/sl-SI-DHQWrn6C2.js +7 -0
- package/dist/sl-SI-DHxcpzya.js +7 -0
- package/dist/sl-SI-DPvusyJQ.js +7 -0
- package/dist/sl-SI-DuHn6HyC.js +7 -0
- package/dist/sl-SI-SNjGgOph.js +23 -0
- package/dist/sl-SI-rLQo_kKv.js +18 -0
- package/dist/solution-payments-DfH5DH9o.js +20 -0
- package/dist/store-mAgJeN44.js +20 -0
- package/dist/style.css +2070 -2038
- package/dist/styles-9jxW7TiP.js +5988 -0
- package/dist/summaryItem-Dehjwp8D.js +16 -0
- package/dist/sv-SE-BFFAjxxo.js +31 -0
- package/dist/sv-SE-BIHbDoRU.js +18 -0
- package/dist/sv-SE-B_VHF1Ec.js +7 -0
- package/dist/sv-SE-BfoCgwXl.js +7 -0
- package/dist/sv-SE-BhAr7iey.js +26 -0
- package/dist/sv-SE-Bre2IWV2.js +7 -0
- package/dist/sv-SE-CU-lNGyw.js +70 -0
- package/dist/sv-SE-CfgjwWHS.js +57 -0
- package/dist/sv-SE-Cos-ox5c.js +7 -0
- package/dist/sv-SE-D9Aj9VZ9.js +7 -0
- package/dist/sv-SE-DZq6vMfw2.js +7 -0
- package/dist/sv-SE-QRDrM1rH.js +23 -0
- package/dist/sv-SE-_iVNE7OY.js +69 -0
- package/dist/sv-SE-nA--xWZA.js +48 -0
- package/dist/sv-SE-znK8JjXi.js +59 -0
- package/dist/taskStatus-C7XU4UIF.js +21 -0
- package/dist/tax-reporting-graph-DEiE6q1X.js +906 -0
- package/dist/terminal-1-BlqlENmQ.js +30 -0
- package/dist/tink-logo-DQabT2Uk.js +15 -0
- package/dist/toFullWidth-CQcDriFa.js +52 -0
- package/dist/trackNavigation-LvCP5Vyc.js +15 -0
- package/dist/translation-G4HP2nQW.js +854 -0
- package/dist/trustMemberGuidance-B3VWjXzg.js +27 -0
- package/dist/trustUtil-BTHvlo55.js +99 -0
- package/dist/trusted-fields-provider-BHbX2hsp.js +10 -0
- package/dist/types/api/companySearch/useCompanySearch.d.ts +19 -12
- package/dist/types/api/invitations/invitations.types.d.ts +1 -1
- package/dist/types/api/invitations/useCreateInvitation.d.ts +2 -2
- package/dist/types/api/invitations/useInvitationStatus.d.ts +9 -0
- package/dist/types/api/invitations/useWithdrawInvitation.d.ts +8 -0
- package/dist/types/api/invitedEntity/useInvitedEntityRootCapabilities.d.ts +28 -0
- package/dist/types/api/queryKeys.d.ts +3 -2
- package/dist/types/api/tinVerification/useVerifyTin.d.ts +15 -10
- package/dist/types/api/toggles/useToggles.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +0 -1
- package/dist/types/components/BankAccount/forms/PayoutAccount/InstantVerificationCTA/InstantVerificationCTA.d.ts +4 -0
- package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +3 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetailsMultiform.d.ts +2 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +2 -2
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +1 -0
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +142 -142
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/store.d.ts +3 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsGettingStarted/PayoutDetailsGettingStarted.d.ts +7 -0
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +3 -2
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +493 -493
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/OnboardingDropinComponent.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual.types.d.ts +2 -0
- package/dist/types/components/Individual/forms/InviteDetails/InviteDetails.d.ts +2 -0
- package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +6 -1
- package/dist/types/components/Individual/tasks/DecisionMakers/hooks/useShareInvitation.d.ts +6 -0
- package/dist/types/components/Shared/Summary/summaryItem.d.ts +14 -8
- 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/ui/atoms/Image/Image.d.ts +2 -1
- package/dist/types/components/ui/atoms/Typography/Typography.types.d.ts +1 -0
- package/dist/types/context/AnalyticsContext/AnalyticsProvider.d.ts +1 -2
- package/dist/types/context/ToggleContext/types.d.ts +10 -1
- package/dist/types/context/handlerContext/HandlerContext.d.ts +2 -0
- package/dist/types/context/handlerContext/HandlerProvider.d.ts +2 -0
- package/dist/types/context/handlerContext/types.d.ts +9 -0
- package/dist/types/context/handlerContext/useHandlerContext.d.ts +1 -0
- package/dist/types/hooks/useFormComposer.d.ts +0 -1
- package/dist/types/index.d.ts +0 -2
- package/dist/types/types/form-rules.d.ts +2 -1
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/performance.d.ts +2 -5
- package/dist/types/utils/validationError.d.ts +1 -0
- package/dist/types-BqFOt7-l.js +58 -0
- package/dist/types-CEAHkjXI.js +66 -0
- package/dist/types-CNZsK2dZ.js +31 -0
- package/dist/types-CXceqQIv.js +68 -0
- package/dist/types-DjTEjDpj.js +19 -0
- package/dist/unincorporated-partnership-5MvG_ts4.js +11 -0
- package/dist/upload-CIujAxWY.js +23 -0
- package/dist/us-check-account-number-EkWzylgz.js +157 -0
- package/dist/us-check-b9k7TlOd.js +144 -0
- package/dist/us-check-routing-number-ObI-JE-C.js +161 -0
- package/dist/useAccountHolder-LttF1BJG.js +102 -0
- package/dist/useAllowedCountries-B2tXNxdL.js +74 -0
- package/dist/useAnalyticsContext-BVFDMrVE.js +86 -0
- package/dist/useAssociatedLegalEntity-Dav_4ehd.js +35 -0
- package/dist/useBusinessDetailsData-DmromzC6.js +4395 -0
- package/dist/useBusinessLines-DGr43nU6.js +27 -0
- package/dist/useCanSeeIntroduction-ClAuT5gj.js +39 -0
- package/dist/useCapabilities-C3Re0QHQ.js +12 -0
- package/dist/useCreateLegalEntity-u6NuumMd.js +24 -0
- package/dist/useDataMissingRemediations-Cv_4vV2R.js +39 -0
- package/dist/useDataset-DA7SoxiX.js +96 -0
- package/dist/useDeleteTransferInstrument-Me9ITlCM.js +31 -0
- package/dist/useForm-CTiDrzeg.js +502 -0
- package/dist/useFormContext-6LTkbLR1.js +178 -0
- package/dist/useGlobalData-KEb46I95.js +164 -0
- package/dist/useId-eJSYfA6i.js +28 -0
- package/dist/useLegalEntity-Cj6C6bAI.js +48 -0
- package/dist/useMultiForm-CiK9l6YR.js +754 -0
- package/dist/useNavigate-B4pHnNyj.js +268 -0
- package/dist/useOnboardingStatus-BuYODvAM.js +23 -0
- package/dist/usePciQuestionnaireList-Bx5N4Ucf.js +26 -0
- package/dist/useSalesChannels-BV-gSBhb.js +47 -0
- package/dist/useScenarios-DVTHREqP.js +55 -0
- package/dist/useSettingsContext-DzwVt0W0.js +15 -0
- package/dist/useTaskLandedEvent-DInxWeqN.js +23 -0
- package/dist/useTaskStatus-BjqC1s3K.js +51 -0
- package/dist/useTermsOfServiceStatus-BLMY5p8c.js +39 -0
- package/dist/useToastContext-CYgfHjSb.js +12 -0
- package/dist/useToggleContext-DaQUBF8O.js +21 -0
- package/dist/useTrustMembers-DbO0tmcu.js +152 -0
- package/dist/useUnincorporatedPartnershipMembers-Dzj3BDFI.js +70 -0
- package/dist/useUpdateBusinessLines-BfYwukg9.js +296 -0
- package/dist/useUpdateLegalEntity-oigX0fKz.js +29 -0
- package/dist/utils-BAuFBG3J.js +88 -0
- package/dist/utils-BU2d-Zzu.js +805 -0
- package/dist/utils-CfTVU2Hq.js +207 -0
- package/dist/utils-CzW6YqAz.js +46 -0
- package/dist/utils-DXTGGW-J.js +188 -0
- package/dist/utils-oc3EdK6K.js +80 -0
- package/dist/validate-9_4V5MhN.js +387 -0
- package/dist/validate-C1II14sz.js +411 -0
- package/dist/validate-D4RU2PP0.js +109 -0
- package/dist/validationError-DhMlWpYp.js +68 -0
- package/dist/validationResult-D3sPVzMw.js +57 -0
- package/dist/validatorUtils-DRapRJ6z.js +107 -0
- package/dist/view-verification-status-CtW_qUMg.js +13 -0
- package/dist/warning-circle-fill-B8syKAww.js +30 -0
- package/dist/warning-diamond-filled-D81TURTB.js +30 -0
- package/dist/webinar-CA8zN8_B.js +33 -0
- package/dist/yapily-logo-BeowYojR.js +22 -0
- package/package.json +30 -34
- package/dist/4-people-BtDi7O9A.js +0 -24
- package/dist/AD-BQAadLyG.js +0 -23
- package/dist/AE-mIZ12t47.js +0 -25
- package/dist/AI-CYOqGKk2.js +0 -27
- package/dist/AL-BX1fEo1A.js +0 -27
- package/dist/AR-C9kMRnHG.js +0 -27
- package/dist/AS-B0TMZQ6o.js +0 -25
- package/dist/AT-BI8ju2NH.js +0 -23
- package/dist/AT-C_G2OvQI.js +0 -28
- package/dist/AT-EpV7jN58.js +0 -27
- package/dist/AT-TzG2NGTc.js +0 -30
- package/dist/AU-B5LSe4bo.js +0 -24
- package/dist/AU-CaovX9P8.js +0 -24
- package/dist/AU-CdwbD1qm.js +0 -32
- package/dist/AU-pBsEvEUy.js +0 -24
- package/dist/AX-Z6f6EnJc.js +0 -23
- package/dist/AZ-BqrKjWMH.js +0 -27
- package/dist/AcceptTermsOfServiceComponent-BbktO0zC.js +0 -653
- package/dist/AccountSetupRejected-B9jCHNz-.js +0 -23
- package/dist/ActionBar-CbFBdfam.js +0 -31
- package/dist/Address-CAzHDiil.js +0 -1109
- package/dist/Avatar-D7DkiYRU.js +0 -60
- package/dist/BA-BbP72Tn6.js +0 -27
- package/dist/BE-CLggPbli.js +0 -26
- package/dist/BE-CU5o9cmc.js +0 -24
- package/dist/BE-H45zzgu4.js +0 -24
- package/dist/BE-nWHKW0xQ.js +0 -23
- package/dist/BG-HKzabLqZ.js +0 -27
- package/dist/BH-Ded1Eyrc.js +0 -27
- package/dist/BM-CBl-UQUl.js +0 -27
- package/dist/BR-BEHEZpeV.js +0 -31
- package/dist/BR-Dmkd5VjU.js +0 -27
- package/dist/BR-DsY9PZVZ.js +0 -26
- package/dist/BR-ORoHRwTk.js +0 -29
- package/dist/BS-dBfArxRw.js +0 -27
- package/dist/BV-D0QBsH7-.js +0 -27
- package/dist/BY-BsQUo3fM.js +0 -27
- package/dist/BusinessFinancingComponent-B7O8VSuR.js +0 -55
- package/dist/BusinessFinancingDropin-CZjat6zg.js +0 -2271
- package/dist/BusinessFinancingPage-wYYsqc5D.js +0 -43
- package/dist/BusinessTypeSelectionPage-SVmYYbcY.js +0 -435
- package/dist/CA-BD18g8mh.js +0 -29
- package/dist/CA-BZ1GNmhP.js +0 -21
- package/dist/CA-DT4cmOOe.js +0 -25
- package/dist/CA-VXNq-m6m.js +0 -24
- package/dist/CH-B_-afpD_.js +0 -23
- package/dist/CH-BmabUdOH.js +0 -23
- package/dist/CH-DVyjmrDH.js +0 -25
- package/dist/CH-TX4BTE2y.js +0 -23
- package/dist/CN-BV-5PSpq.js +0 -27
- package/dist/CR-Dtv-rXg9.js +0 -27
- package/dist/CY-D59Nypl7.js +0 -23
- package/dist/CZ-1E7Zx2il.js +0 -26
- package/dist/CZ-B6iI1GbE.js +0 -33
- package/dist/CZ-CTw_bQIu.js +0 -27
- package/dist/CZ-DlzxobtN.js +0 -29
- package/dist/Card-OQuFzmxm.js +0 -90
- package/dist/Checkbox-DntVTT7e.js +0 -74
- package/dist/Confirm-CceRWfkX.js +0 -64
- package/dist/ConstitutionalDocument-M10n8QHQ.js +0 -2631
- package/dist/ContactDetails-CJ49drHv.js +0 -389
- package/dist/ContextGuidance-DeSyT-K4.js +0 -33
- package/dist/ContractViewer-DcQHIGMU.js +0 -935
- package/dist/CountryField-B0KnMSNK.js +0 -64
- package/dist/CreateIndividualComponent-BsABgMiA.js +0 -65
- package/dist/CreateTransferInstrumentComponent-CHhSi-Nd.js +0 -56
- package/dist/Currency-wZFwkXz6.js +0 -232
- package/dist/CustomerSupport-CZZVSn5p.js +0 -150
- package/dist/DE-C_Lc7NP5.js +0 -32
- package/dist/DE-CsuX_tSL.js +0 -23
- package/dist/DE-D7HKgI77.js +0 -29
- package/dist/DE-D_jIDxOH.js +0 -29
- package/dist/DK-CVF9z_0t.js +0 -25
- package/dist/DK-dBzrfgpQ.js +0 -27
- package/dist/DK-oQEFrF6o.js +0 -33
- package/dist/DK-x6M9-ek-.js +0 -24
- package/dist/DO-B1BWc3Iy.js +0 -27
- package/dist/DebugModal-B7AyfRi1.js +0 -444
- package/dist/DecisionMakerDetails-CmIkuKMd.js +0 -275
- package/dist/DecisionMakerDetailsPage-C86M_cr7.js +0 -104
- package/dist/DecisionMakers-BJzPsxVk.js +0 -680
- package/dist/DetailViewLayout-Z9cuUp4X.js +0 -65
- package/dist/Dropzone-DkOStOI3.js +0 -224
- package/dist/EC-DbNXe71-.js +0 -28
- package/dist/EE-3WZV5Ejt.js +0 -23
- package/dist/ES-BlWV7xvh.js +0 -32
- package/dist/ES-CeohntGo.js +0 -26
- package/dist/ES-DYbZmFcJ.js +0 -27
- package/dist/ES-NfxpqbC2.js +0 -23
- package/dist/EmbeddedStatus-BDk-Cdzb.js +0 -97
- package/dist/EndStateLayout-yZlKFmxQ.js +0 -71
- package/dist/EntityAssociation-BQinpNn-.js +0 -177
- package/dist/EntityGuidanceStatus-DgrTCy2a.js +0 -106
- package/dist/ErrorPanel-rmGb9PlE.js +0 -192
- package/dist/FI-BOex4MFx.js +0 -21
- package/dist/FI-C9nRvop7.js +0 -25
- package/dist/FI-CF0teHDu.js +0 -26
- package/dist/FI-CHQIvHa-.js +0 -23
- package/dist/FJ-CBdbPf5l.js +0 -27
- package/dist/FO-1pD1p939.js +0 -27
- package/dist/FR-3wQ9FMtt.js +0 -29
- package/dist/FR-BycGQO4W.js +0 -29
- package/dist/FR-CAxkckai.js +0 -25
- package/dist/FR-MWZyWX3x.js +0 -23
- package/dist/Field-DDqviWD6.js +0 -141
- package/dist/FormNavigation-hnWA-Ehl.js +0 -144
- package/dist/GB-CCYHTagl.js +0 -33
- package/dist/GB-C_AXeEDs.js +0 -32
- package/dist/GB-DFyzo5sN.js +0 -24
- package/dist/GB-DUnW-a4M.js +0 -24
- package/dist/GE-Deog1a3Z.js +0 -27
- package/dist/GF-Cda8N7A4.js +0 -23
- package/dist/GG-CPoMVQPc.js +0 -33
- package/dist/GI-DxmBwVD_.js +0 -41
- package/dist/GL-0vO9Of9c.js +0 -27
- package/dist/GP-za-3opp-.js +0 -23
- package/dist/GR-Rk0pXlNw.js +0 -23
- package/dist/GT-C1jhs-Dx.js +0 -27
- package/dist/GU-CALV5vh1.js +0 -25
- package/dist/HK-B16JHR8k.js +0 -25
- package/dist/HK-BB3PIq-Z.js +0 -25
- package/dist/HK-WqZ5UBEF.js +0 -24
- package/dist/HK-eKVHN8Vg.js +0 -21
- package/dist/HR-BHhcnUGU.js +0 -26
- package/dist/HR-BRAjQoOH.js +0 -25
- package/dist/HR-CRa19tH1.js +0 -27
- package/dist/HR-WapHW2fw.js +0 -23
- package/dist/HU-D5NCweWf.js +0 -27
- package/dist/HU-DCOMuOhe.js +0 -32
- package/dist/HU-DuWGRPke.js +0 -24
- package/dist/HU-hfSSMbei.js +0 -21
- package/dist/ID-BcOv4SXj.js +0 -27
- package/dist/IE-BCDIfZoA.js +0 -30
- package/dist/IE-BN3Eiv5M.js +0 -21
- package/dist/IE-BkgtVgDi.js +0 -23
- package/dist/IE-rhATS57q.js +0 -24
- package/dist/IL-CQ0yHRRe.js +0 -23
- package/dist/IM-Wr4iDT94.js +0 -33
- package/dist/IN-BhEI9o7G.js +0 -28
- package/dist/IS-C-Cgc6zp.js +0 -27
- package/dist/IT-C1-PEPAb.js +0 -27
- package/dist/IT-CBt6Os6J.js +0 -25
- package/dist/IT-CXekiddL.js +0 -23
- package/dist/IT-wD7dHdYD.js +0 -27
- package/dist/Individual.rules-DkkHd4AC.js +0 -390
- package/dist/IndividualDropin-HfCpdNoz.js +0 -5743
- package/dist/InputDate-BB4WZBNP.js +0 -43
- package/dist/InputGroup-WBfGDV5F.js +0 -32
- package/dist/InputText-BCi31wZB.js +0 -134
- package/dist/Introduction-DShrdSBn.js +0 -251
- package/dist/InvitedDecisionMakerComponent-B2HU3LgV.js +0 -216
- package/dist/JE-B4gj54Hg.js +0 -33
- package/dist/JM-BMGgBK6y.js +0 -27
- package/dist/JO-rY8A8f9C.js +0 -27
- package/dist/JP-BQG5dF1Y.js +0 -28
- package/dist/JpAddress-DE9yfseS.js +0 -327
- package/dist/KR-74SwXHka.js +0 -27
- package/dist/KW-CcVPOJ8B.js +0 -27
- package/dist/KY-DXCeltYA.js +0 -27
- package/dist/KZ-CZNjdp22.js +0 -27
- package/dist/LB-DZ5YfAsO.js +0 -27
- package/dist/LI-L0ZAALRT.js +0 -23
- package/dist/LT-0F72uCyI.js +0 -28
- package/dist/LT-Ao2uagV9.js +0 -23
- package/dist/LT-Dkevn83h.js +0 -19
- package/dist/LT-V-VsHKlY.js +0 -28
- package/dist/LU-B7LRUuc6.js +0 -23
- package/dist/LV-DZeGjA2G.js +0 -23
- package/dist/LandingLayout-D_EQfRqT.js +0 -61
- package/dist/LegalCompanyNameField-CCPNDYao.js +0 -138
- package/dist/LegalRepresentativeDetailsPage-ZsBB2MMq.js +0 -55
- package/dist/Link-DWRRNNKW.js +0 -35
- package/dist/List-BAzyC6sw.js +0 -83
- package/dist/ListItem-DlliPqo-.js +0 -69
- package/dist/LoaderWrapper-DE-3T3QK.js +0 -42
- package/dist/MC-EDVNGWhy.js +0 -23
- package/dist/MD-DVc0183a.js +0 -27
- package/dist/ME-DiJhSuli.js +0 -27
- package/dist/MK-BZxslBTS.js +0 -27
- package/dist/MP-7IpnbfCj.js +0 -25
- package/dist/MQ-DusG_no1.js +0 -23
- package/dist/MR-DaBVNHqN.js +0 -27
- package/dist/MT-B9my7RlP.js +0 -23
- package/dist/MU-D3gGVu1R.js +0 -27
- package/dist/MX-CZVOFg3D.js +0 -25
- package/dist/MY-ym71svTa.js +0 -24
- package/dist/ManageIndividualComponent-CGjYieXl.js +0 -46
- package/dist/ManageTermsOfServiceComponent-DVal60Sx.js +0 -52
- package/dist/ManageTransferInstrumentComponent-oOQNBPeD.js +0 -290
- package/dist/MaskedInput-Dzp3Td83.js +0 -811
- package/dist/MaybeModal-Vk2hdUdf.js +0 -36
- package/dist/Modal-Bq5ccK7z.js +0 -137
- package/dist/NC-xzMvjp9-.js +0 -27
- package/dist/NL-4Y7A2IJp.js +0 -27
- package/dist/NL-VXAFOhV5.js +0 -23
- package/dist/NL-q2U2l276.js +0 -27
- package/dist/NL-zm__7LWV.js +0 -23
- package/dist/NO-BAcMdKUJ.js +0 -22
- package/dist/NO-CX12Zsf_.js +0 -27
- package/dist/NO-Cx1VSh2W.js +0 -32
- package/dist/NO-Div5P6IZ.js +0 -29
- package/dist/NZ-BP7_Q9Om.js +0 -22
- package/dist/NZ-DDRknBQk.js +0 -20
- package/dist/Name-w6uDAo1S.js +0 -81
- package/dist/NewSummary-fp6oz9Ko.js +0 -60
- package/dist/OnboardingDropinComponent-Cn45HTst.js +0 -3310
- package/dist/PE-CdxgPh3v.js +0 -27
- package/dist/PF-CstaOd9Z.js +0 -27
- package/dist/PH-BYgMDYIH.js +0 -27
- package/dist/PK-bLhtgsEk.js +0 -27
- package/dist/PL-BZW1hGvD.js +0 -32
- package/dist/PL-CwCXF3Yu.js +0 -28
- package/dist/PL-D6_6gquq.js +0 -27
- package/dist/PL-DKgMtNxx.js +0 -27
- package/dist/PM-BWbxAh4u.js +0 -23
- package/dist/PR-CFPKXEXp.js +0 -25
- package/dist/PS-B8obOOWY.js +0 -27
- package/dist/PT-C2dln191.js +0 -26
- package/dist/PT-CpKb15My.js +0 -30
- package/dist/PT-Dei5v1nD.js +0 -28
- package/dist/PT-OpU4MU3L.js +0 -23
- package/dist/PayoutDetailsDropin-Bzs2jydk.js +0 -4226
- package/dist/PayoutDetailsPage-BGdufep3.js +0 -914
- package/dist/ProgressBar-B7gTQncy.js +0 -47
- package/dist/QA-CSfx-mvb.js +0 -27
- package/dist/RE-BApq1FJ6.js +0 -23
- package/dist/RO-Bmsg2YGZ.js +0 -23
- package/dist/RO-C_utD--1.js +0 -19
- package/dist/RO-Cz6Sh0ls.js +0 -23
- package/dist/RO-Dxk08mOu.js +0 -27
- package/dist/RS-BCenke-W.js +0 -27
- package/dist/RU-D27RC7dq.js +0 -27
- package/dist/Radio-BMtxBpnn.js +0 -39
- package/dist/RadioGroup-BOUo26G0.js +0 -100
- package/dist/Review-Be1zBkVv.js +0 -82
- package/dist/RootBusinessDetailsPage-CnX2zYB9.js +0 -50
- package/dist/RootBusinessLinesPage-G9LnOcFE.js +0 -1538
- package/dist/RootIndividualDetailsPage-DPim7JYp.js +0 -62
- package/dist/SA-C9VgxCgm.js +0 -27
- package/dist/SE-AP3gLiyy.js +0 -27
- package/dist/SE-B5K-FkQd.js +0 -33
- package/dist/SE-BqGOP1F1.js +0 -22
- package/dist/SE-Br1yrUhV.js +0 -27
- package/dist/SG-DMcOb17i.js +0 -24
- package/dist/SG-DoCqjlFi.js +0 -24
- package/dist/SG-d-PTZAoA.js +0 -28
- package/dist/SG-dEj6fGdY.js +0 -24
- package/dist/SI-BOGTNLPa.js +0 -23
- package/dist/SI-BPx_gt1n.js +0 -26
- package/dist/SI-BXe-yndm.js +0 -27
- package/dist/SI-DBADzvYO.js +0 -22
- package/dist/SJ-Z9jwQQlz.js +0 -27
- package/dist/SK-BOVrp_Av.js +0 -23
- package/dist/SK-DamCBYsZ.js +0 -22
- package/dist/SK-DeSZ6Sa9.js +0 -29
- package/dist/SK-DwdgoGnD.js +0 -27
- package/dist/SM-meowwILA.js +0 -23
- package/dist/Select-D5a5aVFZ.js +0 -868
- package/dist/SignPCIComponent-BTyUfmK_.js +0 -301
- package/dist/SingpassSelection-DowkF6pT.js +0 -269
- package/dist/SoleProprietorshipPage-C_875t2r.js +0 -50
- package/dist/SourceOfFundsPage-Cx6ekIue.js +0 -2335
- package/dist/Spacer-BK3jDget.js +0 -18
- package/dist/StepProgressIndicator-CW9yp5Ud.js +0 -78
- package/dist/StoreProvider-CApjzEDt.js +0 -5560
- package/dist/StructuredList-CNha20ka.js +0 -61
- package/dist/Summary-DlYtNJQD.js +0 -213
- package/dist/TF-BOWng-Dz.js +0 -27
- package/dist/TH-CvyXLcZK.js +0 -28
- package/dist/TL-BWslydRz.js +0 -27
- package/dist/TN-Cjd3bM_V.js +0 -27
- package/dist/TR-BBx5CuWS.js +0 -27
- package/dist/TT-D4-z5BA-.js +0 -28
- package/dist/TW-BC8YpnMr.js +0 -29
- package/dist/Tag-DdkVScyr.js +0 -41
- package/dist/TaxInformationField-ByQTgGxY.js +0 -3498
- package/dist/TaxReportingDropin-D52Nf4f2.js +0 -501
- package/dist/TextArea-C4OmPCHh.js +0 -103
- package/dist/TileGroup-Aj0Yql_d.js +0 -203
- package/dist/TrustDetailsPage-Cj368KCb.js +0 -2167
- package/dist/TrustMemberCompanyPage-CTXwk8mB.js +0 -68
- package/dist/TrustMemberIndividualPage-BusLDMBC.js +0 -64
- package/dist/TrustMemberRoleAndTypePage-D6Ir0aGf.js +0 -1078
- package/dist/TrustMembersOverview-_eQwa8o8.js +0 -433
- package/dist/UA-DrXUnAe6.js +0 -27
- package/dist/US-CZw-MX1-.js +0 -29
- package/dist/US-CxBcdqfz.js +0 -22
- package/dist/US-D8dI5_i1.js +0 -25
- package/dist/US-DHxLSqeC.js +0 -24
- package/dist/UY-DEHqLXhX.js +0 -27
- package/dist/UnincorporatedPartnershipIndividualPage-tCLAddt7.js +0 -63
- package/dist/UnincorporatedPartnershipMemberCompanyPage-A7gQ5wwr.js +0 -71
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-DaFl9wVc.js +0 -291
- package/dist/UnincorporatedPartnershipMembersOverview-C3YF2E_k.js +0 -169
- package/dist/VA-DXsYTCoh.js +0 -23
- package/dist/VG-DnKAVCsi.js +0 -27
- package/dist/VI-CU9MA9ux.js +0 -25
- package/dist/VN-CTSqsmB6.js +0 -27
- package/dist/VerificationErrorAlert-D8Menx5E.js +0 -79
- package/dist/ViewVerificationStatusComponent-TBlv6an5.js +0 -180
- package/dist/WF-CwHbsjtJ.js +0 -27
- package/dist/YT-BCyAAbo7.js +0 -23
- package/dist/ZA-NU7slima.js +0 -28
- package/dist/adyen-kyc-components.js +0 -451
- package/dist/arrow-right-BoqwUH_d.js +0 -14
- package/dist/bafinUtils-DOGd6Xk9.js +0 -92
- package/dist/bag-BXVWLrwo.js +0 -14
- package/dist/bank-1GvaHPAZ.js +0 -14
- package/dist/basePatterns-BwdnMQxI.js +0 -15
- package/dist/bg-BG-89Mw-9Lv.js +0 -75
- package/dist/bg-BG-BY3Wa361.js +0 -54
- package/dist/bg-BG-BnwkqGm9.js +0 -13
- package/dist/bg-BG-BvLl6gaB.js +0 -13
- package/dist/bg-BG-C9zrgb_c.js +0 -76
- package/dist/bg-BG-CEipapl4.js +0 -63
- package/dist/bg-BG-CFuVZnaC.js +0 -13
- package/dist/bg-BG-Coja327N.js +0 -24
- package/dist/bg-BG-Cz7Cuw8v.js +0 -29
- package/dist/bg-BG-DKld3x63.js +0 -13
- package/dist/bg-BG-DbFzLQK7.js +0 -37
- package/dist/bg-BG-DcxZ1tmt.js +0 -32
- package/dist/bg-BG-dmpv4Zom.js +0 -13
- package/dist/bg-BG-zZhDshGi.js +0 -65
- package/dist/bin-Ba-3ll8T.js +0 -18
- package/dist/business-lines-BAqTbnBw.js +0 -135
- package/dist/capital-9TKHySO7.js +0 -17
- package/dist/cash-stack-DwYu4xNy.js +0 -22
- package/dist/certificate-N2YFedpI.js +0 -17
- package/dist/checkmark-D9dGhGpG.js +0 -14
- package/dist/checkmark-circle-CFWClLQ6.js +0 -20
- package/dist/checkmark-circle-fill-DEB-tuGl.js +0 -17
- package/dist/checkmark-small-D3VNx2lo.js +0 -14
- package/dist/chevron-down-C7SUSYfl.js +0 -14
- package/dist/chevron-left-BXmd-S46.js +0 -14
- package/dist/chevron-right-jE6RwM2B.js +0 -14
- package/dist/chevron-up-BdfNcqzq.js +0 -14
- package/dist/circle-BJPTMCWB.js +0 -17
- package/dist/circle-small-filled-BuO8Vg8j.js +0 -14
- package/dist/clock-DAzaBRWk.js +0 -20
- package/dist/coins-DYdzG5e_.js +0 -17
- package/dist/commonValidators-D1bdFvRX.js +0 -24
- package/dist/contract-BfJb1t6M.js +0 -14
- package/dist/cross-CDS_eot4.js +0 -14
- package/dist/cross-circle-fill-C-EJ57Yn.js +0 -17
- package/dist/cross-circle-fill-small-DkPjsuBH.js +0 -14
- package/dist/cs-CZ-6rOIfRJu.js +0 -13
- package/dist/cs-CZ-B-zm6HVH.js +0 -76
- package/dist/cs-CZ-BBLagJI6.js +0 -13
- package/dist/cs-CZ-BEFeaKsV.js +0 -54
- package/dist/cs-CZ-BHbWTH_v.js +0 -63
- package/dist/cs-CZ-BeMYkFfD.js +0 -13
- package/dist/cs-CZ-BlrV3tkx.js +0 -29
- package/dist/cs-CZ-CBuNZ7UO.js +0 -37
- package/dist/cs-CZ-CTxXvHtH.js +0 -75
- package/dist/cs-CZ-CYsR__kj.js +0 -13
- package/dist/cs-CZ-Ck22NTT9.js +0 -65
- package/dist/cs-CZ-D4Hg-t16.js +0 -32
- package/dist/cs-CZ-DXtJsBPz.js +0 -24
- package/dist/cs-CZ-hT5w5It6.js +0 -13
- package/dist/currency-CrdnaaDu.js +0 -35
- package/dist/da-DK-B3Pg-MWO.js +0 -13
- package/dist/da-DK-CGhsIGZt.js +0 -76
- package/dist/da-DK-CLdNh9JT.js +0 -37
- package/dist/da-DK-CM1onr3w.js +0 -29
- package/dist/da-DK-C_GqHCay.js +0 -13
- package/dist/da-DK-D6UK8XT9.js +0 -54
- package/dist/da-DK-D9FgPh5e.js +0 -13
- package/dist/da-DK-DCJhV2qS.js +0 -32
- package/dist/da-DK-DQ4ZYSea.js +0 -65
- package/dist/da-DK-DWA8uOd8.js +0 -24
- package/dist/da-DK-DZwlENGe.js +0 -13
- package/dist/da-DK-D_TOcmOO.js +0 -75
- package/dist/da-DK-mUuPR2YO.js +0 -13
- package/dist/da-DK-vcVNQJbX.js +0 -63
- package/dist/de-DE-B3nctkG8.js +0 -13
- package/dist/de-DE-BT5g7ZXC.js +0 -37
- package/dist/de-DE-BmWBo3gX.js +0 -13
- package/dist/de-DE-CA4mYLwp.js +0 -29
- package/dist/de-DE-CWEW2yqg.js +0 -63
- package/dist/de-DE-Cg_RNIr-.js +0 -13
- package/dist/de-DE-CkbOZ6S_.js +0 -65
- package/dist/de-DE-CwT6O212.js +0 -13
- package/dist/de-DE-D50lGOJE.js +0 -24
- package/dist/de-DE-DUl6gRKv.js +0 -54
- package/dist/de-DE-DXR3EpEc.js +0 -13
- package/dist/de-DE-DYzAiXHM.js +0 -75
- package/dist/de-DE-DwOQKCuU.js +0 -32
- package/dist/de-DE-K9FyOJiI.js +0 -76
- package/dist/de-DE-S6qDey1L.js +0 -13
- package/dist/debouncedInputEvent-Cv2S512Y.js +0 -46
- package/dist/debugStore-BvbyN1Oi.js +0 -14
- package/dist/decision-makers-group-DrvpnEqj.js +0 -1944
- package/dist/digital-wallet-Bx5YM1LY.js +0 -46
- package/dist/document-1-qlSTF558.js +0 -14
- package/dist/document-blurred-BiWap0xs.js +0 -37
- package/dist/document-cut-off-aQezqOif.js +0 -32
- package/dist/document-expired-BhBXaWWQ.js +0 -38
- package/dist/document-front-DYuhZGeQ.js +0 -30
- package/dist/document-person-CDbnTOdV.js +0 -20
- package/dist/download-BZQB1WkZ.js +0 -17
- package/dist/dropinUtils-C6SkIQLo.js +0 -256
- package/dist/edit-1-DAqtnOIx.js +0 -14
- package/dist/el-GR-B5j7VZ3E.js +0 -54
- package/dist/el-GR-B78b9rSH.js +0 -63
- package/dist/el-GR-BuAfpG6u.js +0 -13
- package/dist/el-GR-BvRBuezU.js +0 -37
- package/dist/el-GR-CKHMsdx2.js +0 -24
- package/dist/el-GR-CdgLZhuO.js +0 -13
- package/dist/el-GR-D6XimdV5.js +0 -29
- package/dist/el-GR-DItzpoar.js +0 -75
- package/dist/el-GR-DoS_Va-n.js +0 -13
- package/dist/el-GR-DtFE64KX.js +0 -13
- package/dist/el-GR-DudORw4U.js +0 -65
- package/dist/el-GR-Fo7-xCrc.js +0 -13
- package/dist/el-GR-Hk4NbZSY.js +0 -32
- package/dist/el-GR-L-39cQfz.js +0 -76
- package/dist/el-GR-ZRGBgvMu.js +0 -13
- package/dist/emitEvent-CzZf80Am.js +0 -28
- package/dist/en-US-9KQC6F8-.js +0 -218
- package/dist/en-US-AgtwE4Fl.js +0 -63
- package/dist/en-US-B-qSAb-7.js +0 -66
- package/dist/en-US-BQZhzROc.js +0 -32
- package/dist/en-US-BSQXKu6d.js +0 -54
- package/dist/en-US-CTbVLoNF.js +0 -13
- package/dist/en-US-C_9Fc9mP.js +0 -82
- package/dist/en-US-CfazE4ht.js +0 -13
- package/dist/en-US-CgakND3H.js +0 -37
- package/dist/en-US-D2yrwtzT.js +0 -24
- package/dist/en-US-DIlZD5Wh.js +0 -76
- package/dist/en-US-DPoDE0uz.js +0 -75
- package/dist/en-US-DSoLr6rp.js +0 -13
- package/dist/en-US-DWT3bRZC.js +0 -122
- package/dist/en-US-Do3mE4BR.js +0 -46
- package/dist/en-US-DrUYyPhF.js +0 -13
- package/dist/en-US-PLYPmyFJ.js +0 -66
- package/dist/en-US-QbdqemZi.js +0 -202
- package/dist/en-US-fDACdKtT.js +0 -29
- package/dist/en-US-qlQTJNiL.js +0 -13
- package/dist/en-US.instructions-CfIM2SRF.js +0 -21
- package/dist/es-ES-4FS7NoE7.js +0 -37
- package/dist/es-ES-BAolMrZ0.js +0 -65
- package/dist/es-ES-BBcx4tvi.js +0 -29
- package/dist/es-ES-BOoPqnPI.js +0 -32
- package/dist/es-ES-BRfK6tX7.js +0 -13
- package/dist/es-ES-BYl5-PFR.js +0 -13
- package/dist/es-ES-BZiC4JWr.js +0 -13
- package/dist/es-ES-Bh8k9Zx8.js +0 -13
- package/dist/es-ES-BkqlH093.js +0 -13
- package/dist/es-ES-BmH6eADf.js +0 -75
- package/dist/es-ES-CDgjGql5.js +0 -63
- package/dist/es-ES-Cavm0szq.js +0 -54
- package/dist/es-ES-DF_L5EDd.js +0 -24
- package/dist/es-ES-TUyeIp6F.js +0 -76
- package/dist/es-ES-yMXcOjDL.js +0 -13
- package/dist/et-EE-4fHYOoff.js +0 -13
- package/dist/et-EE-BBnYC5q8.js +0 -13
- package/dist/et-EE-BOIrYrz9.js +0 -65
- package/dist/et-EE-B_Wk8564.js +0 -29
- package/dist/et-EE-Be__VK7Y.js +0 -32
- package/dist/et-EE-BuBiNLCi.js +0 -24
- package/dist/et-EE-C8RrUpLm.js +0 -13
- package/dist/et-EE-CksV5_e1.js +0 -37
- package/dist/et-EE-Cw_VydGb.js +0 -76
- package/dist/et-EE-D0PMC4ie.js +0 -63
- package/dist/et-EE-DSZa_33d.js +0 -75
- package/dist/et-EE-DUWZ2Vqm.js +0 -54
- package/dist/et-EE-D_NmrrzQ.js +0 -13
- package/dist/et-EE-H8yxvhQj.js +0 -13
- package/dist/external-link-Cg6pJaSJ.js +0 -14
- package/dist/fi-FI-BKu826v5.js +0 -29
- package/dist/fi-FI-BfwJVwi9.js +0 -13
- package/dist/fi-FI-CEH4BfU3.js +0 -13
- package/dist/fi-FI-CsZlDJFb.js +0 -63
- package/dist/fi-FI-D8WrLxxq.js +0 -65
- package/dist/fi-FI-DFxljML-.js +0 -13
- package/dist/fi-FI-DH6jpo9K.js +0 -24
- package/dist/fi-FI-DJ8BbVPT.js +0 -75
- package/dist/fi-FI-DVa-ccaW.js +0 -54
- package/dist/fi-FI-DhUeTfn1.js +0 -13
- package/dist/fi-FI-XpnJRPgt.js +0 -37
- package/dist/fi-FI-bZzNB1WB.js +0 -32
- package/dist/fi-FI-tgvQX_Iq.js +0 -76
- package/dist/fi-FI-xqnQ38yC.js +0 -13
- package/dist/fieldConfigurations-BUT9DTUH.js +0 -21
- package/dist/file-CiG1D0zy.js +0 -42
- package/dist/form-rules-DhbF2mY4.js +0 -13
- package/dist/formUtils-BVAIyFiB.js +0 -92
- package/dist/fr-FR-BSynpexF.js +0 -13
- package/dist/fr-FR-Beljeilc.js +0 -65
- package/dist/fr-FR-BnblnBsx.js +0 -24
- package/dist/fr-FR-C7iSS-OS.js +0 -29
- package/dist/fr-FR-CY9emHgF.js +0 -54
- package/dist/fr-FR-CocDMzBc.js +0 -13
- package/dist/fr-FR-CzjsW73Q.js +0 -13
- package/dist/fr-FR-D533_MOG.js +0 -75
- package/dist/fr-FR-DPehHVb6.js +0 -13
- package/dist/fr-FR-Dk6Lw2On.js +0 -13
- package/dist/fr-FR-NxOktkWc.js +0 -13
- package/dist/fr-FR-TqAhPvzz.js +0 -37
- package/dist/fr-FR-VoxPkXSc.js +0 -63
- package/dist/fr-FR-cTKcuHqX.js +0 -32
- package/dist/fr-FR-ynC19lSF.js +0 -76
- package/dist/funds-in-CInoUdmG.js +0 -21
- package/dist/getName-CfQAf_l-.js +0 -41
- package/dist/getProblemsForEntity-I5B0dWUU.js +0 -24
- package/dist/getProps-Cc3J2-z9.js +0 -148
- package/dist/getTrustedFields-Cv6R496P.js +0 -104
- package/dist/gift-omNInZeB.js +0 -14
- package/dist/graph-DunG_uu1.js +0 -21
- package/dist/graph-up-BZze4i6m.js +0 -20
- package/dist/headquarter-BhpSibFO.js +0 -21
- package/dist/hotel-Cp7VgGCJ.js +0 -22
- package/dist/house-BhyBQdR3.js +0 -21
- package/dist/hr-HR--5syrowD.js +0 -76
- package/dist/hr-HR-Bjx-KdVs.js +0 -13
- package/dist/hr-HR-CIxdonpk.js +0 -75
- package/dist/hr-HR-CKZ_yuXC.js +0 -37
- package/dist/hr-HR-CbdP2tk-.js +0 -63
- package/dist/hr-HR-CnP5sqih.js +0 -54
- package/dist/hr-HR-ComCqan_.js +0 -32
- package/dist/hr-HR-D5V7g9H2.js +0 -13
- package/dist/hr-HR-D9OGeEuB.js +0 -13
- package/dist/hr-HR-D_MUIhtx.js +0 -13
- package/dist/hr-HR-De5kHU8U.js +0 -24
- package/dist/hr-HR-ZrpQrsik.js +0 -13
- package/dist/hr-HR-g88yM2q1.js +0 -29
- package/dist/hr-HR-lIHN6Yl2.js +0 -65
- package/dist/hu-HU--6ZxXlbV.js +0 -75
- package/dist/hu-HU-B-lUkFnQ.js +0 -13
- package/dist/hu-HU-BEV8uVRt.js +0 -37
- package/dist/hu-HU-BFiGk_QT.js +0 -76
- package/dist/hu-HU-BTlpbCpc.js +0 -54
- package/dist/hu-HU-BcogZby3.js +0 -24
- package/dist/hu-HU-ByRdd0O_.js +0 -29
- package/dist/hu-HU-CWdwNCev.js +0 -65
- package/dist/hu-HU-DUGz5q5D.js +0 -32
- package/dist/hu-HU-DjaoFDqm.js +0 -13
- package/dist/hu-HU-Ds3go4h4.js +0 -13
- package/dist/hu-HU-LxStrFGU.js +0 -13
- package/dist/hu-HU-hbVM6tMS.js +0 -13
- package/dist/hu-HU-pFpTvMiD.js +0 -63
- package/dist/id-blurred-B5lHEP8M.js +0 -59
- package/dist/id-cut-off-Ba1FRzKO.js +0 -55
- package/dist/id-front-CpNWN6nG.js +0 -52
- package/dist/id-glare-DgCQON8k.js +0 -49
- package/dist/image-CmB0ioUM.js +0 -17
- package/dist/info-Bb_-xIEK.js +0 -21
- package/dist/info-filled-CK8LB339.js +0 -17
- package/dist/isEmpty-BcLvy0xw.js +0 -23
- package/dist/it-IT-5a7NHVFo.js +0 -65
- package/dist/it-IT-B4bk2Xev.js +0 -13
- package/dist/it-IT-B5cf2VTN.js +0 -75
- package/dist/it-IT-C0Zv5ms9.js +0 -76
- package/dist/it-IT-CUrn0j1I.js +0 -29
- package/dist/it-IT-C_651bEP.js +0 -13
- package/dist/it-IT-Ckv8Ce4e.js +0 -24
- package/dist/it-IT-D-jYXj6V.js +0 -37
- package/dist/it-IT-D7G4BaP7.js +0 -13
- package/dist/it-IT-DERflsUd.js +0 -32
- package/dist/it-IT-DOBp2-MP.js +0 -13
- package/dist/it-IT-DZjw9LNC.js +0 -63
- package/dist/it-IT-Dx15tkIe.js +0 -13
- package/dist/it-IT-GgHc0cHR.js +0 -54
- package/dist/it-IT-OppZz3gW.js +0 -13
- package/dist/ja-JP--u211vje.js +0 -76
- package/dist/ja-JP-8yMqZqF2.js +0 -37
- package/dist/ja-JP-BoxeBgOv.js +0 -32
- package/dist/ja-JP-BqluCflj.js +0 -63
- package/dist/ja-JP-CbP1sVFP.js +0 -29
- package/dist/ja-JP-CbgaW99b.js +0 -54
- package/dist/ja-JP-CethQRoG.js +0 -13
- package/dist/ja-JP-CvNJvxkQ.js +0 -218
- package/dist/ja-JP-DK55NCZY.js +0 -135
- package/dist/ja-JP-DSvZhFNY.js +0 -65
- package/dist/ja-JP-DTW_hY1L.js +0 -13
- package/dist/ja-JP-DU7yCJYq.js +0 -202
- package/dist/ja-JP-DY4CJlUf.js +0 -75
- package/dist/ja-JP-FWHXsXlW.js +0 -24
- package/dist/ja-JP-GX3l4yqn.js +0 -125
- package/dist/ja-JP-Qu7oEIEy.js +0 -13
- package/dist/japanSupportUtils-DR5unSI9.js +0 -16
- package/dist/jpAddressSchema-DEOyz9Yo.js +0 -26
- package/dist/localizeDateString-0FoP1ZoN.js +0 -27
- package/dist/location-itJfxrDQ.js +0 -17
- package/dist/lt-LT-BebOeKIA.js +0 -13
- package/dist/lt-LT-CBTFJxth.js +0 -13
- package/dist/lt-LT-CK0t2AVY.js +0 -37
- package/dist/lt-LT-CNTNKNlX.js +0 -29
- package/dist/lt-LT-CXw4ywLM.js +0 -63
- package/dist/lt-LT-CfQUS8PP.js +0 -13
- package/dist/lt-LT-CgalYpUh.js +0 -65
- package/dist/lt-LT-Ci357QYQ.js +0 -13
- package/dist/lt-LT-CkjEvGSp.js +0 -75
- package/dist/lt-LT-D2Hrhr7v.js +0 -76
- package/dist/lt-LT-D5Rhxm1h.js +0 -32
- package/dist/lt-LT-DDdq07sX.js +0 -24
- package/dist/lt-LT-DTQGR9M0.js +0 -54
- package/dist/lt-LT-WRulV980.js +0 -13
- package/dist/lv-LV-BQ4F1GrV.js +0 -54
- package/dist/lv-LV-BdZK9nQA.js +0 -75
- package/dist/lv-LV-C9Dhkruv.js +0 -13
- package/dist/lv-LV-CG1zToz7.js +0 -32
- package/dist/lv-LV-CYcrO-6d.js +0 -13
- package/dist/lv-LV-CkyuY2ji.js +0 -24
- package/dist/lv-LV-D04q9r-y.js +0 -76
- package/dist/lv-LV-DTaBIHLh.js +0 -13
- package/dist/lv-LV-DYqBaW2-.js +0 -63
- package/dist/lv-LV-DoKxsoVR.js +0 -13
- package/dist/lv-LV-Dxe-A5vo.js +0 -13
- package/dist/lv-LV-JvlzK9X-.js +0 -37
- package/dist/lv-LV-N81Dgdm3.js +0 -29
- package/dist/lv-LV-aAd9SEqx.js +0 -65
- package/dist/mail-VHTlAusn.js +0 -14
- package/dist/mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js +0 -56
- package/dist/mapExistingFile-BOZ-beF3.js +0 -157
- package/dist/mapJpAddressSchemaToAddressLocalizations-MqYxkfLg.js +0 -54
- package/dist/mapLegalEntityToIndividualSchema-CQnZl2f1.js +0 -204
- package/dist/mapTransferInstrumentToPayoutAccount-DJ5E9tqe.js +0 -34
- package/dist/minus-circle-filled-ZhtJ0GD3.js +0 -17
- package/dist/nl-NL-Bx5p0nXL.js +0 -24
- package/dist/nl-NL-CFzm75Jw.js +0 -13
- package/dist/nl-NL-CJ7MoBj2.js +0 -76
- package/dist/nl-NL-CUcML482.js +0 -54
- package/dist/nl-NL-CYFznuWn.js +0 -13
- package/dist/nl-NL-Cjlmc0Ii.js +0 -32
- package/dist/nl-NL-CmURERx_.js +0 -65
- package/dist/nl-NL-FbJ2sHba.js +0 -13
- package/dist/nl-NL-J7XpCpQm.js +0 -13
- package/dist/nl-NL-JChnFdCY.js +0 -13
- package/dist/nl-NL-Jhr-ICkK.js +0 -37
- package/dist/nl-NL-Lo8OF_nj.js +0 -29
- package/dist/nl-NL-SjOGmGk5.js +0 -13
- package/dist/nl-NL-YcL7Gufl.js +0 -75
- package/dist/nl-NL-lcNM54vV.js +0 -63
- package/dist/no-NO--OoWld_l.js +0 -13
- package/dist/no-NO-6chPsZZE.js +0 -29
- package/dist/no-NO-B5BjEy8n.js +0 -13
- package/dist/no-NO-BAWVf0GX.js +0 -13
- package/dist/no-NO-BBCvsecq.js +0 -54
- package/dist/no-NO-BH6DId3q.js +0 -37
- package/dist/no-NO-Bs3-6MDM.js +0 -24
- package/dist/no-NO-BsEie1We.js +0 -13
- package/dist/no-NO-C20s6CoP.js +0 -76
- package/dist/no-NO-CTrVITNu.js +0 -63
- package/dist/no-NO-CY_XHrYd.js +0 -32
- package/dist/no-NO-CtDyNTm6.js +0 -13
- package/dist/no-NO-KkYB-VQD.js +0 -75
- package/dist/no-NO-qyqWODMp.js +0 -65
- package/dist/omitObscuredFieldsIfUnchanged-DMBgASfn.js +0 -29
- package/dist/onfido-logo-BSkKPH10.js +0 -14
- package/dist/options-horizontal-GuXvLvV3.js +0 -18
- package/dist/partner-QD27Vy4w.js +0 -18
- package/dist/passport-blurred-CVG493IJ.js +0 -59
- package/dist/passport-cut-off-COzA_TmB.js +0 -56
- package/dist/passport-front-WJleLixT.js +0 -52
- package/dist/passport-front-green-CZVkCa1n.js +0 -232
- package/dist/passport-glare-BP5WnJZj.js +0 -50
- package/dist/patternValidators-a6VZDG0x.js +0 -83
- package/dist/pay-by-link-plane-BpY8Q6-B.js +0 -22
- package/dist/payout-DtB68BcZ.js +0 -20
- package/dist/payout-verification-instant-BzpfOQLD.js +0 -41
- package/dist/payout-verification-manual-gNEoeZkV.js +0 -90
- package/dist/person-IVZG3t3_.js +0 -17
- package/dist/phonePrefixes-CnL40uyX.js +0 -255
- package/dist/pl-PL-B5c0NNHB.js +0 -37
- package/dist/pl-PL-BH_LPZJa.js +0 -13
- package/dist/pl-PL-BzhEoDb5.js +0 -24
- package/dist/pl-PL-C19Btj2D.js +0 -76
- package/dist/pl-PL-CCX1rSGF.js +0 -13
- package/dist/pl-PL-CErRPlR2.js +0 -63
- package/dist/pl-PL-CPdKf-J0.js +0 -75
- package/dist/pl-PL-C_MvVzPy.js +0 -32
- package/dist/pl-PL-CbJSQVfe.js +0 -29
- package/dist/pl-PL-DEMxxz7h.js +0 -13
- package/dist/pl-PL-DtJ3sgVO.js +0 -13
- package/dist/pl-PL-DuM6hbqZ.js +0 -13
- package/dist/pl-PL-kGaeUP-w.js +0 -54
- package/dist/pl-PL-q9azN24o.js +0 -65
- package/dist/plaid-logo-FsZ7kfL-.js +0 -14
- package/dist/plus-DiALAL8-.js +0 -14
- package/dist/plus-circle-filled-BzHtTqEN.js +0 -17
- package/dist/process-field-configurations-CMIDJACq.js +0 -324
- package/dist/pt-BR-4Iozxvfr.js +0 -37
- package/dist/pt-BR-BKKQIUJP.js +0 -13
- package/dist/pt-BR-BfDe_8iW.js +0 -13
- package/dist/pt-BR-BxoOF8jB.js +0 -65
- package/dist/pt-BR-C-YbDjn-.js +0 -13
- package/dist/pt-BR-C0I_kTQ6.js +0 -13
- package/dist/pt-BR-CBAe0SnK.js +0 -32
- package/dist/pt-BR-CTXtdAVc.js +0 -122
- package/dist/pt-BR-D4BTdo_w.js +0 -13
- package/dist/pt-BR-DA44Wgbt.js +0 -63
- package/dist/pt-BR-DRBFUW-X.js +0 -29
- package/dist/pt-BR-DSENwwGu.js +0 -24
- package/dist/pt-BR-ERWeus3c.js +0 -75
- package/dist/pt-BR-nU_2Wbo5.js +0 -54
- package/dist/pt-BR-zOjPTIPu.js +0 -76
- package/dist/pt-PT-09L8XznW.js +0 -37
- package/dist/pt-PT-BMOUpVLE.js +0 -29
- package/dist/pt-PT-BTbVsews.js +0 -13
- package/dist/pt-PT-Bf4IV7wp.js +0 -13
- package/dist/pt-PT-CC7zlk3R.js +0 -13
- package/dist/pt-PT-CIo3mlXL.js +0 -24
- package/dist/pt-PT-DBZj2dDI.js +0 -13
- package/dist/pt-PT-DUTGt5L5.js +0 -75
- package/dist/pt-PT-Dm5DRDrd.js +0 -32
- package/dist/pt-PT-DpDxAynk.js +0 -13
- package/dist/pt-PT-F1qPZJ2c.js +0 -13
- package/dist/pt-PT-JVqqgvPs.js +0 -54
- package/dist/pt-PT-PIiikho9.js +0 -63
- package/dist/pt-PT-pIChDwiI.js +0 -65
- package/dist/pt-PT-t5M8xwTU.js +0 -76
- package/dist/recurring-DKNs9K3x.js +0 -17
- package/dist/reporting-D5ABpLO_.js +0 -16
- package/dist/resolveEnvironment-BBqc2XYC.js +0 -77
- package/dist/revenue-accelerate-D7Sp0V4a.js +0 -17
- package/dist/review-D4TUjcWF.js +0 -17
- package/dist/ro-RO-0vx6ZLWV.js +0 -13
- package/dist/ro-RO-4j2I7YM7.js +0 -13
- package/dist/ro-RO-B5YT9vP-.js +0 -32
- package/dist/ro-RO-BJoL_nyS.js +0 -29
- package/dist/ro-RO-BnFjok5O.js +0 -75
- package/dist/ro-RO-Bv9hZxwD.js +0 -63
- package/dist/ro-RO-C5PJhlmM.js +0 -13
- package/dist/ro-RO-C83h2zHZ.js +0 -54
- package/dist/ro-RO-CuabgXj1.js +0 -13
- package/dist/ro-RO-D7-7tmTR.js +0 -37
- package/dist/ro-RO-DK9gVwS9.js +0 -76
- package/dist/ro-RO-DRsaNX9j.js +0 -65
- package/dist/ro-RO-DaU2--fX.js +0 -13
- package/dist/ro-RO-ILTvlS9i.js +0 -24
- package/dist/roleMetadata-D1-6Xl8x.js +0 -66
- package/dist/save-BfqO2JBI.js +0 -14
- package/dist/search-Cmzbf5zI.js +0 -17
- package/dist/show-IdbU1C6P.js +0 -17
- package/dist/singpass-logo-wY4xsmTX.js +0 -17
- package/dist/singpass-verification-instant-JCqTr7Mv.js +0 -40
- package/dist/singpass-verification-manual-DQ7XW6R3.js +0 -34
- package/dist/sk-SK-2J6iKfmK.js +0 -76
- package/dist/sk-SK-7-enbO1N.js +0 -65
- package/dist/sk-SK-B-1yRol7.js +0 -13
- package/dist/sk-SK-C5Qmv4E6.js +0 -13
- package/dist/sk-SK-CLPd85I3.js +0 -75
- package/dist/sk-SK-CgLJIuJw.js +0 -54
- package/dist/sk-SK-ChVwlbp0.js +0 -63
- package/dist/sk-SK-Cv23cDQO.js +0 -24
- package/dist/sk-SK-D3tsz1Pg.js +0 -37
- package/dist/sk-SK-DM1yY8DA.js +0 -13
- package/dist/sk-SK-DO-AqRjE.js +0 -13
- package/dist/sk-SK-DuLm2CVx.js +0 -13
- package/dist/sk-SK-DxdxUonp.js +0 -29
- package/dist/sk-SK-S6iF1WDH.js +0 -32
- package/dist/sl-SI--pDTatHh.js +0 -13
- package/dist/sl-SI-BAIm-qBe.js +0 -13
- package/dist/sl-SI-BZpXMHiG.js +0 -13
- package/dist/sl-SI-BzeVaC1Z.js +0 -54
- package/dist/sl-SI-CJH14wbj.js +0 -13
- package/dist/sl-SI-C_4ajjU4.js +0 -13
- package/dist/sl-SI-D82ccY62.js +0 -76
- package/dist/sl-SI-DEaeEVKB.js +0 -24
- package/dist/sl-SI-DTvJT7fC.js +0 -65
- package/dist/sl-SI-DZHePXbK.js +0 -63
- package/dist/sl-SI-DqUEy_Cm.js +0 -32
- package/dist/sl-SI-T9_Ty-NS.js +0 -75
- package/dist/sl-SI-UFngWs5n.js +0 -29
- package/dist/sl-SI-Y9h1ht45.js +0 -37
- package/dist/solution-payments-DpyE_sdS.js +0 -14
- package/dist/store-Btc4GcmU.js +0 -14
- package/dist/styles-CLV89_hH.js +0 -5962
- package/dist/summaryItem-CAQCQSkt.js +0 -18
- package/dist/sv-SE-3-h2VlYi.js +0 -75
- package/dist/sv-SE-BZNey_8S.js +0 -13
- package/dist/sv-SE-CDxyyNV0.js +0 -13
- package/dist/sv-SE-CRBRuE8Z.js +0 -32
- package/dist/sv-SE-CVmo11gI.js +0 -54
- package/dist/sv-SE-CXaMlJCI.js +0 -24
- package/dist/sv-SE-Cr0s35EH.js +0 -29
- package/dist/sv-SE-CrBkos0z.js +0 -76
- package/dist/sv-SE-DFSm22oQ.js +0 -37
- package/dist/sv-SE-DKnUr7xo.js +0 -13
- package/dist/sv-SE-Dq56vGlB.js +0 -63
- package/dist/sv-SE-DsPdegWB.js +0 -13
- package/dist/sv-SE-N-Hqwcjq.js +0 -65
- package/dist/sv-SE-ZsucW_Uj.js +0 -13
- package/dist/sv-SE-rckxD-43.js +0 -13
- package/dist/tax-reporting-graph-hgoilCHZ.js +0 -504
- package/dist/terminal-1-D1pwXCoi.js +0 -18
- package/dist/tink-logo-DDyjz5eJ.js +0 -17
- package/dist/trackNavigation-db_h46BT.js +0 -28
- package/dist/trusted-fields-provider-BgfIoSNJ.js +0 -16
- package/dist/types/api/invitations/useInvitationStatuses.d.ts +0 -8
- package/dist/types/components/BankAccount/forms/BankVerification/store.d.ts +0 -1
- package/dist/types/components/EmbeddedDropins/ManagePCIComponent/ManagePCIComponent.d.ts +0 -6
- package/dist/types/components/Shared/SingpassBanner/ProviderButton/ProviderButton.d.ts +0 -7
- package/dist/types/components/index.d.ts +0 -49
- package/dist/types/context/ExpiryContext/ExpiryContext.d.ts +0 -15
- package/dist/types/context/ExpiryContext/useExpiryThreshold.d.ts +0 -12
- package/dist/types/core/BaseElement.d.ts +0 -46
- package/dist/types/core/UIElement/UIElement.d.ts +0 -24
- package/dist/types/core/core.d.ts +0 -28
- package/dist/types/core/sdkValidation/index.d.ts +0 -4
- package/dist/types/core/sdkValidation/schemas.d.ts +0 -2
- package/dist/types/core/sdkValidation/types.d.ts +0 -19
- package/dist/types--xPA8bq3.js +0 -34
- package/dist/types-BDdV-c-7.js +0 -64
- package/dist/types-C7ANBXKc.js +0 -144
- package/dist/types-CMK2Gs1Z.js +0 -74
- package/dist/types-Dv0COrvY.js +0 -37
- package/dist/unincorporated-partnership-5iQ8augf.js +0 -28
- package/dist/upload-BmUXjsaU.js +0 -17
- package/dist/us-check-C1rTBsCY.js +0 -46
- package/dist/us-check-account-number-9lI1dXNC.js +0 -48
- package/dist/us-check-routing-number-s_KaAGSM.js +0 -49
- package/dist/useAssociatedLegalEntity-9hHARgoS.js +0 -34
- package/dist/useBusinessDetailsData-eIZWfksO.js +0 -5420
- package/dist/useCreateLegalEntity-CtGUDesz.js +0 -32
- package/dist/useForm-BgHdSJLD.js +0 -582
- package/dist/useFormContext-CS1RRaOG.js +0 -211
- package/dist/useGlobalData-TnV6PIkt.js +0 -199
- package/dist/useId-BZ0PA7jP.js +0 -24
- package/dist/useMultiForm-D_RXm-EH.js +0 -879
- package/dist/useOnboardingStatus-C24Lv41L.js +0 -28
- package/dist/useScenarios-Dt8fTJaF.js +0 -48
- package/dist/useTermsOfServiceStatus-uLxHxESA.js +0 -43
- package/dist/useToastContext-DrlXuGmm.js +0 -49
- package/dist/useUnincorporatedPartnershipMembers-DCGs6f0a.js +0 -99
- package/dist/useUpdateBusinessLines-fa9VQXA7.js +0 -337
- package/dist/useUpdateLegalEntity-pCVJvMOY.js +0 -40
- package/dist/utils-3sCyD_Sz.js +0 -29
- package/dist/utils-C0z7wmlu.js +0 -179
- package/dist/utils-CPcpt-fR.js +0 -237
- package/dist/utils-CgfUpZyZ.js +0 -58
- package/dist/utils-CinWv0Kh.js +0 -811
- package/dist/utils-DNSfZiio.js +0 -70
- package/dist/validate-B1FpiTip.js +0 -434
- package/dist/validate-DfJceNKE.js +0 -120
- package/dist/validationError-kYn_eC4r.js +0 -86
- package/dist/view-verification-status-VFcBydkR.js +0 -21
- package/dist/warning-circle-fill-DBvt921B.js +0 -17
- package/dist/warning-diamond-filled-Lb2od2ry.js +0 -17
- package/dist/webinar-m9nuFZBt.js +0 -22
- package/dist/yapily-logo-BduxhNRA.js +0 -17
|
@@ -1,3498 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2088b546-350f-4826-b477-5eb8f746d20b", e._sentryDebugIdIdentifier = "sentry-dbid-2088b546-350f-4826-b477-5eb8f746d20b");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { bq as getNestedPropertyKeys, a9 as CountryCodes, L as LegalEntityTypes, u as useTranslation, z as Icon, ah as objectsDeepEqual, aB as Header, w as TaskTypes, aT as keysOf, H as useToggleContext, t as useAccountHolder, ab as translateTranslatable } from "./StoreProvider-CApjzEDt.js";
|
|
11
|
-
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
|
-
import { lazy, memo } from "preact/compat";
|
|
13
|
-
import { useMemo, useState, useRef, useEffect, useCallback } from "preact/hooks";
|
|
14
|
-
import { F as Field } from "./Field-DDqviWD6.js";
|
|
15
|
-
import { S as Select } from "./Select-D5a5aVFZ.js";
|
|
16
|
-
import { T as TextArea } from "./TextArea-C4OmPCHh.js";
|
|
17
|
-
import { S as StateContextSetter } from "./validate-B1FpiTip.js";
|
|
18
|
-
import { u as useForm } from "./useForm-BgHdSJLD.js";
|
|
19
|
-
import cx from "classnames";
|
|
20
|
-
import { I as Image } from "./unincorporated-partnership-5iQ8augf.js";
|
|
21
|
-
import { D as Dropzone } from "./Dropzone-DkOStOI3.js";
|
|
22
|
-
import { E as ErrorPanel } from "./ErrorPanel-rmGb9PlE.js";
|
|
23
|
-
import { c as createFormUtils } from "./formUtils-BVAIyFiB.js";
|
|
24
|
-
import { C as Checkbox } from "./Checkbox-DntVTT7e.js";
|
|
25
|
-
import { C as CompanyTypesValues } from "./bafinUtils-DOGd6Xk9.js";
|
|
26
|
-
import { m as makeMask, n as numericInputs, a as nonInputs, d as alphanumericInputs, c as customInputs, b as alphaInputs, s as spacer, M as MaskedInput } from "./MaskedInput-Dzp3Td83.js";
|
|
27
|
-
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
28
|
-
import { S as SettingNames } from "./types-Dv0COrvY.js";
|
|
29
|
-
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-C0z7wmlu.js";
|
|
30
|
-
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
31
|
-
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-DR5unSI9.js";
|
|
32
|
-
import { i as isDateOlderThanAYear } from "./Address-CAzHDiil.js";
|
|
33
|
-
import { u as uppercase } from "./mapExistingFile-BOZ-beF3.js";
|
|
34
|
-
import { v as validatePatternOnBlur, a as validateNotEmptyOnBlur } from "./patternValidators-a6VZDG0x.js";
|
|
35
|
-
import { R as RadioGroup } from "./RadioGroup-BOUo26G0.js";
|
|
36
|
-
const getFieldsWithExistingData = (legalEntity, keyMapping, documentMapping, knownProblematicFields = []) => {
|
|
37
|
-
const apiFieldsWithExistingData = getNestedPropertyKeys(legalEntity);
|
|
38
|
-
const nonDocumentFields = apiFieldsWithExistingData.map((field) => keyMapping[field]).filter(Boolean).filter((field) => !knownProblematicFields.includes(field));
|
|
39
|
-
if (documentMapping && legalEntity.documentDetails?.length) {
|
|
40
|
-
const documentFields = legalEntity.documentDetails.map((document) => documentMapping[document.type]).filter(Boolean);
|
|
41
|
-
return [...nonDocumentFields, ...documentFields];
|
|
42
|
-
}
|
|
43
|
-
return nonDocumentFields;
|
|
44
|
-
};
|
|
45
|
-
const StateCodesUS = {
|
|
46
|
-
Alabama: "AL",
|
|
47
|
-
Alaska: "AK",
|
|
48
|
-
Arizona: "AZ",
|
|
49
|
-
Arkansas: "AR",
|
|
50
|
-
California: "CA",
|
|
51
|
-
Colorado: "CO",
|
|
52
|
-
Connecticut: "CT",
|
|
53
|
-
Delaware: "DE",
|
|
54
|
-
DistrictOfColumbia: "DC",
|
|
55
|
-
Florida: "FL",
|
|
56
|
-
Georgia: "GA",
|
|
57
|
-
Hawaii: "HI",
|
|
58
|
-
Idaho: "ID",
|
|
59
|
-
Illinois: "IL",
|
|
60
|
-
Indiana: "IN",
|
|
61
|
-
Iowa: "IA",
|
|
62
|
-
Kansas: "KS",
|
|
63
|
-
Kentucky: "KY",
|
|
64
|
-
Louisiana: "LA",
|
|
65
|
-
Maine: "ME",
|
|
66
|
-
Maryland: "MD",
|
|
67
|
-
Massachusetts: "MA",
|
|
68
|
-
Michigan: "MI",
|
|
69
|
-
Minnesota: "MN",
|
|
70
|
-
Mississippi: "MS",
|
|
71
|
-
Missouri: "MO",
|
|
72
|
-
Montana: "MT",
|
|
73
|
-
Nebraska: "NE",
|
|
74
|
-
Nevada: "NV",
|
|
75
|
-
NewHampshire: "NH",
|
|
76
|
-
NewJersey: "NJ",
|
|
77
|
-
NewMexico: "NM",
|
|
78
|
-
NewYork: "NY",
|
|
79
|
-
NorthCarolina: "NC",
|
|
80
|
-
NorthDakota: "ND",
|
|
81
|
-
Ohio: "OH",
|
|
82
|
-
Oklahoma: "OK",
|
|
83
|
-
Oregon: "OR",
|
|
84
|
-
Pennsylvania: "PA",
|
|
85
|
-
RhodeIsland: "RI",
|
|
86
|
-
SouthCarolina: "SC",
|
|
87
|
-
SouthDakota: "SD",
|
|
88
|
-
Tennessee: "TN",
|
|
89
|
-
Texas: "TX",
|
|
90
|
-
Utah: "UT",
|
|
91
|
-
Vermont: "VT",
|
|
92
|
-
Virginia: "VA",
|
|
93
|
-
Washington: "WA",
|
|
94
|
-
WestVirginia: "WV",
|
|
95
|
-
Wisconsin: "WI",
|
|
96
|
-
Wyoming: "WY"
|
|
97
|
-
};
|
|
98
|
-
const businessRegistrationNumberMasks = {
|
|
99
|
-
[CountryCodes.Austria]: {
|
|
100
|
-
firmenbuchnummer: {
|
|
101
|
-
mask: makeMask(
|
|
102
|
-
{
|
|
103
|
-
type: "input",
|
|
104
|
-
allow: /[TF]/
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
type: "input",
|
|
108
|
-
allow: /N/,
|
|
109
|
-
optional: true
|
|
110
|
-
},
|
|
111
|
-
...numericInputs(3),
|
|
112
|
-
...numericInputs(3, true),
|
|
113
|
-
{ type: "input", allow: /[a-z]/ }
|
|
114
|
-
)
|
|
115
|
-
},
|
|
116
|
-
ZVR: {
|
|
117
|
-
mask: makeMask(
|
|
118
|
-
...nonInputs("AT", { includeInValue: true }),
|
|
119
|
-
spacer,
|
|
120
|
-
...nonInputs("-", { includeInValue: true }),
|
|
121
|
-
spacer,
|
|
122
|
-
...nonInputs("ZVR", { includeInValue: true }),
|
|
123
|
-
spacer,
|
|
124
|
-
...nonInputs("-", { includeInValue: true }),
|
|
125
|
-
spacer,
|
|
126
|
-
...numericInputs(9),
|
|
127
|
-
...numericInputs(1, true)
|
|
128
|
-
)
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
[CountryCodes.Australia]: {
|
|
132
|
-
default: {
|
|
133
|
-
mask: makeMask(...numericInputs(3), spacer, ...numericInputs(3), spacer, ...numericInputs(3))
|
|
134
|
-
},
|
|
135
|
-
associationIncorporated: {
|
|
136
|
-
mask: makeMask(...alphanumericInputs(3), ...alphanumericInputs(20, true)),
|
|
137
|
-
transformOnType: uppercase
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
[CountryCodes.Belgium]: { default: { mask: makeMask(...numericInputs(10)) } },
|
|
141
|
-
[CountryCodes.Brazil]: {
|
|
142
|
-
default: {
|
|
143
|
-
mask: makeMask(
|
|
144
|
-
...numericInputs(2),
|
|
145
|
-
...nonInputs(" . "),
|
|
146
|
-
...numericInputs(3),
|
|
147
|
-
...nonInputs(" . "),
|
|
148
|
-
...numericInputs(3),
|
|
149
|
-
...nonInputs(" / "),
|
|
150
|
-
...numericInputs(4),
|
|
151
|
-
...nonInputs(" - "),
|
|
152
|
-
...numericInputs(2)
|
|
153
|
-
)
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
[CountryCodes.Bulgaria]: { default: { mask: makeMask(...numericInputs(9)) } },
|
|
157
|
-
[CountryCodes.Canada]: {
|
|
158
|
-
default: {
|
|
159
|
-
mask: makeMask(...alphanumericInputs(5), ...alphanumericInputs(5, true)),
|
|
160
|
-
transformOnType: uppercase
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
[CountryCodes.Croatia]: {
|
|
164
|
-
default: {
|
|
165
|
-
mask: makeMask(...numericInputs(9))
|
|
166
|
-
},
|
|
167
|
-
[CompanyTypesValues.SOLE_PROPRIETORSHIP]: {
|
|
168
|
-
mask: makeMask(...numericInputs(8))
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
[CountryCodes.Cyprus]: {
|
|
172
|
-
default: {
|
|
173
|
-
mask: makeMask(...customInputs(1, /^[COP]$/), ...numericInputs(1), ...numericInputs(7, true)),
|
|
174
|
-
transformOnType: uppercase
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
[CountryCodes.CzechRepublic]: {
|
|
178
|
-
default: { mask: makeMask(...numericInputs(8), ...numericInputs(2, true)) }
|
|
179
|
-
},
|
|
180
|
-
[CountryCodes.Denmark]: { default: { mask: makeMask(...numericInputs(8)) } },
|
|
181
|
-
[CountryCodes.Estonia]: { default: { mask: makeMask(...numericInputs(8)) } },
|
|
182
|
-
[CountryCodes.Finland]: {
|
|
183
|
-
default: {
|
|
184
|
-
mask: makeMask(
|
|
185
|
-
...numericInputs(7),
|
|
186
|
-
spacer,
|
|
187
|
-
...nonInputs("-", { includeInValue: true }),
|
|
188
|
-
spacer,
|
|
189
|
-
...numericInputs(1)
|
|
190
|
-
)
|
|
191
|
-
}
|
|
192
|
-
},
|
|
193
|
-
[CountryCodes.France]: {
|
|
194
|
-
SIRET: { mask: makeMask(...numericInputs(9), ...nonInputs(" - "), ...numericInputs(5)) },
|
|
195
|
-
RNA: {
|
|
196
|
-
mask: makeMask(
|
|
197
|
-
...nonInputs("W", { includeInValue: true }),
|
|
198
|
-
...numericInputs(1),
|
|
199
|
-
...alphanumericInputs(1),
|
|
200
|
-
...numericInputs(7)
|
|
201
|
-
)
|
|
202
|
-
}
|
|
203
|
-
},
|
|
204
|
-
[CountryCodes.Germany]: {
|
|
205
|
-
default: {
|
|
206
|
-
mask: makeMask(...alphanumericInputs(3), ...customInputs(17, /[A-Z0-9-]/, true)),
|
|
207
|
-
transformOnType: uppercase
|
|
208
|
-
}
|
|
209
|
-
},
|
|
210
|
-
[CountryCodes.Gibraltar]: {
|
|
211
|
-
default: {
|
|
212
|
-
mask: makeMask(...alphanumericInputs(1), ...alphanumericInputs(7, true)),
|
|
213
|
-
transformOnType: uppercase
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
[CountryCodes.Greece]: { default: { mask: makeMask(...numericInputs(12)) } },
|
|
217
|
-
[CountryCodes.Guernsey]: {
|
|
218
|
-
default: { mask: makeMask(...numericInputs(1), ...numericInputs(8, true)) }
|
|
219
|
-
},
|
|
220
|
-
[CountryCodes.HongKong]: { default: { mask: makeMask(...numericInputs(7)) } },
|
|
221
|
-
[CountryCodes.Hungary]: {
|
|
222
|
-
default: {
|
|
223
|
-
mask: makeMask(
|
|
224
|
-
...numericInputs(2),
|
|
225
|
-
...nonInputs(" - "),
|
|
226
|
-
...numericInputs(2),
|
|
227
|
-
...nonInputs(" - "),
|
|
228
|
-
...numericInputs(6)
|
|
229
|
-
)
|
|
230
|
-
},
|
|
231
|
-
nyilvantartasiSzam: {
|
|
232
|
-
mask: makeMask(...numericInputs(10))
|
|
233
|
-
}
|
|
234
|
-
},
|
|
235
|
-
[CountryCodes.Ireland]: {
|
|
236
|
-
default: { mask: makeMask(...numericInputs(1), ...numericInputs(7, true)) }
|
|
237
|
-
},
|
|
238
|
-
[CountryCodes.IsleOfMan]: {
|
|
239
|
-
default: { mask: makeMask(...numericInputs(6), ...alphaInputs(1)), transformOnType: uppercase }
|
|
240
|
-
},
|
|
241
|
-
[CountryCodes.Italy]: {
|
|
242
|
-
partitaIVA: { mask: makeMask(...numericInputs(11)) },
|
|
243
|
-
CCIAA: {
|
|
244
|
-
mask: makeMask(...alphaInputs(2), ...numericInputs(6), ...numericInputs(1, true)),
|
|
245
|
-
transformOnType: uppercase
|
|
246
|
-
}
|
|
247
|
-
},
|
|
248
|
-
[CountryCodes.Japan]: {
|
|
249
|
-
default: { mask: makeMask(...numericInputs(12)) }
|
|
250
|
-
},
|
|
251
|
-
[CountryCodes.Jersey]: {
|
|
252
|
-
default: {
|
|
253
|
-
mask: makeMask(...alphanumericInputs(1), ...alphanumericInputs(8, true)),
|
|
254
|
-
transformOnType: uppercase
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
[CountryCodes.Latvia]: { default: { mask: makeMask(...numericInputs(11)) } },
|
|
258
|
-
[CountryCodes.Liechtenstein]: {
|
|
259
|
-
default: {
|
|
260
|
-
mask: makeMask(
|
|
261
|
-
...nonInputs("FL", { includeInValue: true }),
|
|
262
|
-
spacer,
|
|
263
|
-
...nonInputs("-", { includeInValue: true }),
|
|
264
|
-
spacer,
|
|
265
|
-
...numericInputs(4),
|
|
266
|
-
spacer,
|
|
267
|
-
...nonInputs(".", { includeInValue: true }),
|
|
268
|
-
spacer,
|
|
269
|
-
...numericInputs(3),
|
|
270
|
-
spacer,
|
|
271
|
-
...nonInputs(".", { includeInValue: true }),
|
|
272
|
-
spacer,
|
|
273
|
-
...numericInputs(3),
|
|
274
|
-
spacer,
|
|
275
|
-
...nonInputs("-", { includeInValue: true }),
|
|
276
|
-
spacer,
|
|
277
|
-
...numericInputs(1)
|
|
278
|
-
)
|
|
279
|
-
}
|
|
280
|
-
},
|
|
281
|
-
[CountryCodes.Lithuania]: {
|
|
282
|
-
default: { mask: makeMask(...numericInputs(6), ...numericInputs(3, true)) }
|
|
283
|
-
},
|
|
284
|
-
[CountryCodes.Luxembourg]: {
|
|
285
|
-
default: {
|
|
286
|
-
mask: makeMask(...alphaInputs(1), ...numericInputs(9, true)),
|
|
287
|
-
transformOnType: uppercase
|
|
288
|
-
}
|
|
289
|
-
},
|
|
290
|
-
[CountryCodes.Malaysia]: {
|
|
291
|
-
default: { mask: makeMask(...numericInputs(7), ...numericInputs(5, true)) }
|
|
292
|
-
},
|
|
293
|
-
[CountryCodes.Malta]: {
|
|
294
|
-
default: {
|
|
295
|
-
mask: makeMask(
|
|
296
|
-
...customInputs(1, /[CP]/),
|
|
297
|
-
spacer,
|
|
298
|
-
...numericInputs(4),
|
|
299
|
-
...numericInputs(2, true)
|
|
300
|
-
),
|
|
301
|
-
transformOnType: uppercase
|
|
302
|
-
}
|
|
303
|
-
},
|
|
304
|
-
[CountryCodes.Mexico]: { default: { mask: makeMask(...alphanumericInputs(12)) } },
|
|
305
|
-
[CountryCodes.Monaco]: {
|
|
306
|
-
default: {
|
|
307
|
-
mask: makeMask(...alphanumericInputs(8), ...alphanumericInputs(3, true)),
|
|
308
|
-
transformOnType: uppercase
|
|
309
|
-
},
|
|
310
|
-
[CompanyTypesValues.SOLE_PROPRIETORSHIP]: {
|
|
311
|
-
mask: makeMask(...alphanumericInputs(8), ...alphanumericInputs(3, true)),
|
|
312
|
-
transformOnType: uppercase
|
|
313
|
-
}
|
|
314
|
-
},
|
|
315
|
-
[CountryCodes.Netherlands]: { default: { mask: makeMask(...numericInputs(8)) } },
|
|
316
|
-
[CountryCodes.NewZealand]: {
|
|
317
|
-
NZBN: { mask: makeMask(...numericInputs(13)) },
|
|
318
|
-
companyNumberNZ: { mask: makeMask(...numericInputs(7)) }
|
|
319
|
-
},
|
|
320
|
-
[CountryCodes.Norway]: { default: { mask: makeMask(...numericInputs(9)) } },
|
|
321
|
-
[CountryCodes.Poland]: {
|
|
322
|
-
krsNumber: { mask: makeMask(...numericInputs(10)) },
|
|
323
|
-
regon: { mask: makeMask(...numericInputs(9)) }
|
|
324
|
-
},
|
|
325
|
-
[CountryCodes.Portugal]: { default: { mask: makeMask(...numericInputs(9)) } },
|
|
326
|
-
[CountryCodes.Romania]: {
|
|
327
|
-
roRegNumberOldFormat: {
|
|
328
|
-
mask: makeMask(
|
|
329
|
-
...alphaInputs(1),
|
|
330
|
-
...numericInputs(1),
|
|
331
|
-
...numericInputs(1, true),
|
|
332
|
-
...customInputs(1, /[/]/),
|
|
333
|
-
...numericInputs(1),
|
|
334
|
-
...numericInputs(8, true),
|
|
335
|
-
...customInputs(1, /[/]/),
|
|
336
|
-
...numericInputs(4)
|
|
337
|
-
),
|
|
338
|
-
transformOnType: uppercase
|
|
339
|
-
},
|
|
340
|
-
roRegNumberNewFormat: {
|
|
341
|
-
mask: makeMask(
|
|
342
|
-
{
|
|
343
|
-
type: "input",
|
|
344
|
-
allow: /[JFC]/
|
|
345
|
-
},
|
|
346
|
-
...numericInputs(13)
|
|
347
|
-
),
|
|
348
|
-
transformOnType: uppercase
|
|
349
|
-
}
|
|
350
|
-
},
|
|
351
|
-
[CountryCodes.Singapore]: {
|
|
352
|
-
default: {
|
|
353
|
-
mask: makeMask(...alphanumericInputs(9), ...alphanumericInputs(1, true)),
|
|
354
|
-
transformOnType: uppercase
|
|
355
|
-
}
|
|
356
|
-
},
|
|
357
|
-
[CountryCodes.Slovakia]: { default: { mask: makeMask(...numericInputs(8)) } },
|
|
358
|
-
[CountryCodes.Slovenia]: { default: { mask: makeMask(...numericInputs(10)) } },
|
|
359
|
-
[CountryCodes.Spain]: {
|
|
360
|
-
default: {
|
|
361
|
-
mask: makeMask(...alphaInputs(1), ...alphanumericInputs(8)),
|
|
362
|
-
transformOnType: uppercase
|
|
363
|
-
}
|
|
364
|
-
},
|
|
365
|
-
[CountryCodes.Sweden]: {
|
|
366
|
-
default: { mask: makeMask(...numericInputs(6), ...nonInputs(" - "), ...numericInputs(4)) }
|
|
367
|
-
},
|
|
368
|
-
[CountryCodes.Switzerland]: {
|
|
369
|
-
default: {
|
|
370
|
-
mask: makeMask(
|
|
371
|
-
...nonInputs("CHE", { includeInValue: true }),
|
|
372
|
-
...nonInputs(" - "),
|
|
373
|
-
...numericInputs(3),
|
|
374
|
-
...nonInputs(" . "),
|
|
375
|
-
...numericInputs(3),
|
|
376
|
-
...nonInputs(" . "),
|
|
377
|
-
...numericInputs(3)
|
|
378
|
-
)
|
|
379
|
-
}
|
|
380
|
-
},
|
|
381
|
-
[CountryCodes.UnitedKingdom]: {
|
|
382
|
-
default: { mask: makeMask(...alphanumericInputs(8)), transformOnType: uppercase },
|
|
383
|
-
nonProfit: {
|
|
384
|
-
mask: makeMask(
|
|
385
|
-
...alphanumericInputs(6),
|
|
386
|
-
...customInputs(1, /[a-zA-Z0-9-]/, true),
|
|
387
|
-
...alphanumericInputs(1, true)
|
|
388
|
-
),
|
|
389
|
-
transformOnType: uppercase
|
|
390
|
-
}
|
|
391
|
-
},
|
|
392
|
-
[CountryCodes.UnitedStates]: {
|
|
393
|
-
[StateCodesUS.Alabama]: {
|
|
394
|
-
mask: makeMask(...numericInputs(9), ...nonInputs(" "), ...nonInputs(StateCodesUS.Alabama)),
|
|
395
|
-
transformOnType: uppercase
|
|
396
|
-
},
|
|
397
|
-
[StateCodesUS.Alaska]: {
|
|
398
|
-
mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Alaska)),
|
|
399
|
-
transformOnType: uppercase
|
|
400
|
-
},
|
|
401
|
-
[StateCodesUS.Arizona]: {
|
|
402
|
-
mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Arizona)),
|
|
403
|
-
transformOnType: uppercase
|
|
404
|
-
},
|
|
405
|
-
[StateCodesUS.Arkansas]: {
|
|
406
|
-
mask: makeMask(
|
|
407
|
-
{
|
|
408
|
-
type: "input",
|
|
409
|
-
allow: /[8]/
|
|
410
|
-
},
|
|
411
|
-
...numericInputs(8),
|
|
412
|
-
...nonInputs(" "),
|
|
413
|
-
...nonInputs(StateCodesUS.Arkansas)
|
|
414
|
-
),
|
|
415
|
-
transformOnType: uppercase
|
|
416
|
-
},
|
|
417
|
-
[StateCodesUS.California]: {
|
|
418
|
-
mask: makeMask(
|
|
419
|
-
...numericInputs(7),
|
|
420
|
-
...numericInputs(5, true),
|
|
421
|
-
...nonInputs(" "),
|
|
422
|
-
...nonInputs(StateCodesUS.California)
|
|
423
|
-
),
|
|
424
|
-
transformOnType: uppercase
|
|
425
|
-
},
|
|
426
|
-
[StateCodesUS.Colorado]: {
|
|
427
|
-
mask: makeMask(...numericInputs(11), ...nonInputs(" "), ...nonInputs(StateCodesUS.Colorado)),
|
|
428
|
-
transformOnType: uppercase
|
|
429
|
-
},
|
|
430
|
-
[StateCodesUS.Connecticut]: {
|
|
431
|
-
mask: makeMask(
|
|
432
|
-
...numericInputs(7),
|
|
433
|
-
...nonInputs(" "),
|
|
434
|
-
...nonInputs(StateCodesUS.Connecticut)
|
|
435
|
-
),
|
|
436
|
-
transformOnType: uppercase
|
|
437
|
-
},
|
|
438
|
-
[StateCodesUS.Delaware]: {
|
|
439
|
-
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Delaware)),
|
|
440
|
-
transformOnType: uppercase
|
|
441
|
-
},
|
|
442
|
-
[StateCodesUS.Florida]: {
|
|
443
|
-
mask: makeMask(
|
|
444
|
-
...numericInputs(6),
|
|
445
|
-
...numericInputs(6, true),
|
|
446
|
-
...nonInputs(" "),
|
|
447
|
-
...nonInputs(StateCodesUS.Florida)
|
|
448
|
-
),
|
|
449
|
-
transformOnType: uppercase
|
|
450
|
-
},
|
|
451
|
-
[StateCodesUS.Georgia]: {
|
|
452
|
-
mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Georgia)),
|
|
453
|
-
transformOnType: uppercase
|
|
454
|
-
},
|
|
455
|
-
[StateCodesUS.Hawaii]: {
|
|
456
|
-
mask: makeMask(
|
|
457
|
-
...numericInputs(5),
|
|
458
|
-
...numericInputs(3, true),
|
|
459
|
-
{
|
|
460
|
-
type: "input",
|
|
461
|
-
allow: /[CDFLNPTZ]/
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
type: "input",
|
|
465
|
-
allow: /[1-8Z]/
|
|
466
|
-
},
|
|
467
|
-
...nonInputs(" "),
|
|
468
|
-
...nonInputs(StateCodesUS.Hawaii)
|
|
469
|
-
),
|
|
470
|
-
transformOnType: uppercase
|
|
471
|
-
},
|
|
472
|
-
[StateCodesUS.Idaho]: {
|
|
473
|
-
mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Idaho)),
|
|
474
|
-
transformOnType: uppercase
|
|
475
|
-
},
|
|
476
|
-
[StateCodesUS.Illinois]: {
|
|
477
|
-
mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Illinois)),
|
|
478
|
-
transformOnType: uppercase
|
|
479
|
-
},
|
|
480
|
-
[StateCodesUS.Indiana]: {
|
|
481
|
-
mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Indiana)),
|
|
482
|
-
transformOnType: uppercase
|
|
483
|
-
},
|
|
484
|
-
[StateCodesUS.Iowa]: {
|
|
485
|
-
mask: makeMask(
|
|
486
|
-
...numericInputs(6),
|
|
487
|
-
...numericInputs(2, true),
|
|
488
|
-
...nonInputs(" "),
|
|
489
|
-
...nonInputs(StateCodesUS.Iowa)
|
|
490
|
-
),
|
|
491
|
-
transformOnType: uppercase
|
|
492
|
-
},
|
|
493
|
-
[StateCodesUS.Kansas]: {
|
|
494
|
-
mask: makeMask(
|
|
495
|
-
...numericInputs(7),
|
|
496
|
-
...numericInputs(2, true),
|
|
497
|
-
...nonInputs(" "),
|
|
498
|
-
...nonInputs(StateCodesUS.Kansas)
|
|
499
|
-
),
|
|
500
|
-
transformOnType: uppercase
|
|
501
|
-
},
|
|
502
|
-
[StateCodesUS.Kentucky]: {
|
|
503
|
-
mask: makeMask(
|
|
504
|
-
...numericInputs(9),
|
|
505
|
-
...numericInputs(1, true),
|
|
506
|
-
...nonInputs(" "),
|
|
507
|
-
...nonInputs(StateCodesUS.Kentucky)
|
|
508
|
-
),
|
|
509
|
-
transformOnType: uppercase
|
|
510
|
-
},
|
|
511
|
-
[StateCodesUS.Louisiana]: {
|
|
512
|
-
mask: makeMask(
|
|
513
|
-
...numericInputs(9),
|
|
514
|
-
...numericInputs(1, true),
|
|
515
|
-
...nonInputs(" "),
|
|
516
|
-
...nonInputs(StateCodesUS.Louisiana)
|
|
517
|
-
),
|
|
518
|
-
transformOnType: uppercase
|
|
519
|
-
},
|
|
520
|
-
[StateCodesUS.Maine]: {
|
|
521
|
-
mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Maine)),
|
|
522
|
-
transformOnType: uppercase
|
|
523
|
-
},
|
|
524
|
-
[StateCodesUS.Maryland]: {
|
|
525
|
-
mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Maryland)),
|
|
526
|
-
transformOnType: uppercase
|
|
527
|
-
},
|
|
528
|
-
[StateCodesUS.Massachusetts]: {
|
|
529
|
-
mask: makeMask(
|
|
530
|
-
...numericInputs(10),
|
|
531
|
-
...nonInputs(" "),
|
|
532
|
-
...nonInputs(StateCodesUS.Massachusetts)
|
|
533
|
-
),
|
|
534
|
-
transformOnType: uppercase
|
|
535
|
-
},
|
|
536
|
-
[StateCodesUS.Michigan]: {
|
|
537
|
-
mask: makeMask(
|
|
538
|
-
...numericInputs(6),
|
|
539
|
-
...numericInputs(3, true),
|
|
540
|
-
...nonInputs(" "),
|
|
541
|
-
...nonInputs(StateCodesUS.Michigan)
|
|
542
|
-
),
|
|
543
|
-
transformOnType: uppercase
|
|
544
|
-
},
|
|
545
|
-
[StateCodesUS.Minnesota]: {
|
|
546
|
-
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Minnesota)),
|
|
547
|
-
transformOnType: uppercase
|
|
548
|
-
},
|
|
549
|
-
[StateCodesUS.Mississippi]: {
|
|
550
|
-
mask: makeMask(
|
|
551
|
-
...numericInputs(7),
|
|
552
|
-
...numericInputs(3, true),
|
|
553
|
-
...nonInputs(" "),
|
|
554
|
-
...nonInputs(StateCodesUS.Mississippi)
|
|
555
|
-
),
|
|
556
|
-
transformOnType: uppercase
|
|
557
|
-
},
|
|
558
|
-
[StateCodesUS.Missouri]: {
|
|
559
|
-
mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Missouri)),
|
|
560
|
-
transformOnType: uppercase
|
|
561
|
-
},
|
|
562
|
-
[StateCodesUS.Montana]: {
|
|
563
|
-
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Montana)),
|
|
564
|
-
transformOnType: uppercase
|
|
565
|
-
},
|
|
566
|
-
[StateCodesUS.Nebraska]: {
|
|
567
|
-
mask: makeMask(
|
|
568
|
-
...numericInputs(9),
|
|
569
|
-
...numericInputs(2, true),
|
|
570
|
-
...nonInputs(" "),
|
|
571
|
-
...nonInputs(StateCodesUS.Nebraska)
|
|
572
|
-
),
|
|
573
|
-
transformOnType: uppercase
|
|
574
|
-
},
|
|
575
|
-
[StateCodesUS.Nevada]: {
|
|
576
|
-
mask: makeMask(
|
|
577
|
-
...numericInputs(9),
|
|
578
|
-
...numericInputs(2, true),
|
|
579
|
-
...nonInputs(" "),
|
|
580
|
-
...nonInputs(StateCodesUS.Nevada)
|
|
581
|
-
),
|
|
582
|
-
transformOnType: uppercase
|
|
583
|
-
},
|
|
584
|
-
[StateCodesUS.NewHampshire]: {
|
|
585
|
-
mask: makeMask(
|
|
586
|
-
...numericInputs(9),
|
|
587
|
-
...nonInputs(" "),
|
|
588
|
-
...nonInputs(StateCodesUS.NewHampshire)
|
|
589
|
-
),
|
|
590
|
-
transformOnType: uppercase
|
|
591
|
-
},
|
|
592
|
-
[StateCodesUS.NewJersey]: {
|
|
593
|
-
mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.NewJersey)),
|
|
594
|
-
transformOnType: uppercase
|
|
595
|
-
},
|
|
596
|
-
[StateCodesUS.NewMexico]: {
|
|
597
|
-
mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.NewMexico)),
|
|
598
|
-
transformOnType: uppercase
|
|
599
|
-
},
|
|
600
|
-
[StateCodesUS.NewYork]: {
|
|
601
|
-
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.NewYork)),
|
|
602
|
-
transformOnType: uppercase
|
|
603
|
-
},
|
|
604
|
-
[StateCodesUS.NorthCarolina]: {
|
|
605
|
-
mask: makeMask(
|
|
606
|
-
...numericInputs(7),
|
|
607
|
-
...nonInputs(" "),
|
|
608
|
-
...nonInputs(StateCodesUS.NorthCarolina)
|
|
609
|
-
),
|
|
610
|
-
transformOnType: uppercase
|
|
611
|
-
},
|
|
612
|
-
[StateCodesUS.NorthDakota]: {
|
|
613
|
-
mask: makeMask(
|
|
614
|
-
...numericInputs(7),
|
|
615
|
-
...numericInputs(3, true),
|
|
616
|
-
...nonInputs(" "),
|
|
617
|
-
...nonInputs(StateCodesUS.NorthDakota)
|
|
618
|
-
),
|
|
619
|
-
transformOnType: uppercase
|
|
620
|
-
},
|
|
621
|
-
[StateCodesUS.Ohio]: {
|
|
622
|
-
mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Ohio)),
|
|
623
|
-
transformOnType: uppercase
|
|
624
|
-
},
|
|
625
|
-
[StateCodesUS.Oklahoma]: {
|
|
626
|
-
mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Oklahoma)),
|
|
627
|
-
transformOnType: uppercase
|
|
628
|
-
},
|
|
629
|
-
[StateCodesUS.Oregon]: {
|
|
630
|
-
mask: makeMask(...numericInputs(9), ...nonInputs(" "), ...nonInputs(StateCodesUS.Oregon)),
|
|
631
|
-
transformOnType: uppercase
|
|
632
|
-
},
|
|
633
|
-
[StateCodesUS.Pennsylvania]: {
|
|
634
|
-
mask: makeMask(
|
|
635
|
-
...numericInputs(7),
|
|
636
|
-
...nonInputs(" "),
|
|
637
|
-
...nonInputs(StateCodesUS.Pennsylvania)
|
|
638
|
-
),
|
|
639
|
-
transformOnType: uppercase
|
|
640
|
-
},
|
|
641
|
-
[StateCodesUS.RhodeIsland]: {
|
|
642
|
-
mask: makeMask(
|
|
643
|
-
...numericInputs(7),
|
|
644
|
-
...nonInputs(" "),
|
|
645
|
-
...nonInputs(StateCodesUS.RhodeIsland)
|
|
646
|
-
),
|
|
647
|
-
transformOnType: uppercase
|
|
648
|
-
},
|
|
649
|
-
[StateCodesUS.SouthCarolina]: {
|
|
650
|
-
mask: makeMask(
|
|
651
|
-
...numericInputs(7),
|
|
652
|
-
...nonInputs(" "),
|
|
653
|
-
...nonInputs(StateCodesUS.SouthCarolina)
|
|
654
|
-
),
|
|
655
|
-
transformOnType: uppercase
|
|
656
|
-
},
|
|
657
|
-
[StateCodesUS.SouthDakota]: {
|
|
658
|
-
mask: makeMask(
|
|
659
|
-
...numericInputs(7),
|
|
660
|
-
...nonInputs(" "),
|
|
661
|
-
...nonInputs(StateCodesUS.SouthDakota)
|
|
662
|
-
),
|
|
663
|
-
transformOnType: uppercase
|
|
664
|
-
},
|
|
665
|
-
[StateCodesUS.Tennessee]: {
|
|
666
|
-
mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Tennessee)),
|
|
667
|
-
transformOnType: uppercase
|
|
668
|
-
},
|
|
669
|
-
[StateCodesUS.Texas]: {
|
|
670
|
-
mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Texas)),
|
|
671
|
-
transformOnType: uppercase
|
|
672
|
-
},
|
|
673
|
-
[StateCodesUS.Utah]: {
|
|
674
|
-
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Utah)),
|
|
675
|
-
transformOnType: uppercase
|
|
676
|
-
},
|
|
677
|
-
[StateCodesUS.Vermont]: {
|
|
678
|
-
mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Vermont)),
|
|
679
|
-
transformOnType: uppercase
|
|
680
|
-
},
|
|
681
|
-
[StateCodesUS.Virginia]: {
|
|
682
|
-
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Virginia)),
|
|
683
|
-
transformOnType: uppercase
|
|
684
|
-
},
|
|
685
|
-
[StateCodesUS.Washington]: {
|
|
686
|
-
mask: makeMask(...numericInputs(9), ...nonInputs(" "), ...nonInputs(StateCodesUS.Washington)),
|
|
687
|
-
transformOnType: uppercase
|
|
688
|
-
},
|
|
689
|
-
[StateCodesUS.WestVirginia]: {
|
|
690
|
-
mask: makeMask(
|
|
691
|
-
...numericInputs(6),
|
|
692
|
-
...nonInputs(" "),
|
|
693
|
-
...nonInputs(StateCodesUS.WestVirginia)
|
|
694
|
-
),
|
|
695
|
-
transformOnType: uppercase
|
|
696
|
-
},
|
|
697
|
-
[StateCodesUS.Wisconsin]: {
|
|
698
|
-
mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Wisconsin)),
|
|
699
|
-
transformOnType: uppercase
|
|
700
|
-
},
|
|
701
|
-
[StateCodesUS.Wyoming]: {
|
|
702
|
-
mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Wyoming)),
|
|
703
|
-
transformOnType: uppercase
|
|
704
|
-
},
|
|
705
|
-
[StateCodesUS.DistrictOfColumbia]: {
|
|
706
|
-
mask: makeMask(...numericInputs(9)),
|
|
707
|
-
transformOnType: uppercase
|
|
708
|
-
},
|
|
709
|
-
default: {
|
|
710
|
-
mask: makeMask(...numericInputs(9)),
|
|
711
|
-
transformOnType: uppercase
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
};
|
|
715
|
-
const stateFormatGuidanceText = {
|
|
716
|
-
[StateCodesUS.Alabama]: {
|
|
717
|
-
key: "enterNDigitsForExample",
|
|
718
|
-
values: {
|
|
719
|
-
numDigits: "9",
|
|
720
|
-
example: "123456789 AL"
|
|
721
|
-
}
|
|
722
|
-
},
|
|
723
|
-
[StateCodesUS.Alaska]: {
|
|
724
|
-
key: "enterNDigitsForExample",
|
|
725
|
-
values: {
|
|
726
|
-
numDigits: "8",
|
|
727
|
-
example: "12345678 AK"
|
|
728
|
-
}
|
|
729
|
-
},
|
|
730
|
-
[StateCodesUS.Arizona]: {
|
|
731
|
-
key: "enterNDigitsForExample",
|
|
732
|
-
values: {
|
|
733
|
-
numDigits: "8",
|
|
734
|
-
example: "12345678 AZ"
|
|
735
|
-
}
|
|
736
|
-
},
|
|
737
|
-
[StateCodesUS.Arkansas]: {
|
|
738
|
-
key: "enterTheRemainingNDigitsForExample",
|
|
739
|
-
values: {
|
|
740
|
-
numDigits: "8",
|
|
741
|
-
example: "800000001 AR"
|
|
742
|
-
}
|
|
743
|
-
},
|
|
744
|
-
[StateCodesUS.California]: {
|
|
745
|
-
key: "enterXOrYDigitsForExample",
|
|
746
|
-
values: {
|
|
747
|
-
xDigits: "8",
|
|
748
|
-
yDigits: "12",
|
|
749
|
-
example: "12345678 CA"
|
|
750
|
-
}
|
|
751
|
-
},
|
|
752
|
-
[StateCodesUS.Colorado]: {
|
|
753
|
-
key: "enterNDigitsForExample",
|
|
754
|
-
values: {
|
|
755
|
-
numDigits: "11",
|
|
756
|
-
example: "12345678901 CO"
|
|
757
|
-
}
|
|
758
|
-
},
|
|
759
|
-
[StateCodesUS.Connecticut]: {
|
|
760
|
-
key: "enterNDigitsForExample",
|
|
761
|
-
values: {
|
|
762
|
-
numDigits: "7",
|
|
763
|
-
example: "1234567 CT"
|
|
764
|
-
}
|
|
765
|
-
},
|
|
766
|
-
[StateCodesUS.Delaware]: {
|
|
767
|
-
key: "enterNDigitsForExample",
|
|
768
|
-
values: {
|
|
769
|
-
numDigits: "7",
|
|
770
|
-
example: "1234567 DE"
|
|
771
|
-
}
|
|
772
|
-
},
|
|
773
|
-
[StateCodesUS.Florida]: {
|
|
774
|
-
key: "enterXOrYDigitsForExample",
|
|
775
|
-
values: {
|
|
776
|
-
xDigits: "6",
|
|
777
|
-
yDigits: "12",
|
|
778
|
-
example: "123456789012 FL"
|
|
779
|
-
}
|
|
780
|
-
},
|
|
781
|
-
[StateCodesUS.Georgia]: {
|
|
782
|
-
key: "enterNDigitsForExample",
|
|
783
|
-
values: {
|
|
784
|
-
numDigits: "8",
|
|
785
|
-
example: "12345678 GA"
|
|
786
|
-
}
|
|
787
|
-
},
|
|
788
|
-
[StateCodesUS.Hawaii]: {
|
|
789
|
-
key: "validationPleaseEnterAValidBusinessRegistrationNumberWithFormat",
|
|
790
|
-
values: {
|
|
791
|
-
example: "12345678ZZ HI"
|
|
792
|
-
}
|
|
793
|
-
},
|
|
794
|
-
[StateCodesUS.Idaho]: {
|
|
795
|
-
key: "enterNDigitsForExample",
|
|
796
|
-
values: {
|
|
797
|
-
numDigits: "6",
|
|
798
|
-
example: "123456 ID"
|
|
799
|
-
}
|
|
800
|
-
},
|
|
801
|
-
[StateCodesUS.Illinois]: {
|
|
802
|
-
key: "enterNDigitsForExample",
|
|
803
|
-
values: {
|
|
804
|
-
numDigits: "8",
|
|
805
|
-
example: "12345678 IL"
|
|
806
|
-
}
|
|
807
|
-
},
|
|
808
|
-
[StateCodesUS.Indiana]: {
|
|
809
|
-
key: "enterNDigitsForExample",
|
|
810
|
-
values: {
|
|
811
|
-
numDigits: "10",
|
|
812
|
-
example: "1234567890 IN"
|
|
813
|
-
}
|
|
814
|
-
},
|
|
815
|
-
[StateCodesUS.Iowa]: {
|
|
816
|
-
key: "enterXToYDigitsForExample",
|
|
817
|
-
values: {
|
|
818
|
-
minDigits: "6",
|
|
819
|
-
maxDigits: "8",
|
|
820
|
-
example: "12345678 IA"
|
|
821
|
-
}
|
|
822
|
-
},
|
|
823
|
-
[StateCodesUS.Kansas]: {
|
|
824
|
-
key: "enterXToYDigitsForExample",
|
|
825
|
-
values: {
|
|
826
|
-
minDigits: "7",
|
|
827
|
-
maxDigits: "9",
|
|
828
|
-
example: "1234567890 KS"
|
|
829
|
-
}
|
|
830
|
-
},
|
|
831
|
-
[StateCodesUS.Kentucky]: {
|
|
832
|
-
key: "enterXToYDigitsForExample",
|
|
833
|
-
values: {
|
|
834
|
-
minDigits: "9",
|
|
835
|
-
maxDigits: "10",
|
|
836
|
-
example: "1234567890 KY"
|
|
837
|
-
}
|
|
838
|
-
},
|
|
839
|
-
[StateCodesUS.Louisiana]: {
|
|
840
|
-
key: "enterXToYDigitsForExample",
|
|
841
|
-
values: {
|
|
842
|
-
minDigits: "9",
|
|
843
|
-
maxDigits: "10",
|
|
844
|
-
example: "1234567890 LA"
|
|
845
|
-
}
|
|
846
|
-
},
|
|
847
|
-
[StateCodesUS.Maine]: {
|
|
848
|
-
key: "enterNDigitsForExample",
|
|
849
|
-
values: {
|
|
850
|
-
numDigits: "8",
|
|
851
|
-
example: "12345678 ME"
|
|
852
|
-
}
|
|
853
|
-
},
|
|
854
|
-
[StateCodesUS.Maryland]: {
|
|
855
|
-
key: "enterNDigitsForExample",
|
|
856
|
-
values: {
|
|
857
|
-
numDigits: "8",
|
|
858
|
-
example: "12345678 MD"
|
|
859
|
-
}
|
|
860
|
-
},
|
|
861
|
-
[StateCodesUS.Massachusetts]: {
|
|
862
|
-
key: "enterNDigitsForExample",
|
|
863
|
-
values: {
|
|
864
|
-
numDigits: "10",
|
|
865
|
-
example: "1234567890 MA"
|
|
866
|
-
}
|
|
867
|
-
},
|
|
868
|
-
[StateCodesUS.Michigan]: {
|
|
869
|
-
key: "enterXOrYDigitsForExample",
|
|
870
|
-
values: {
|
|
871
|
-
xDigits: "6",
|
|
872
|
-
yDigits: "9",
|
|
873
|
-
example: "123456 MI"
|
|
874
|
-
}
|
|
875
|
-
},
|
|
876
|
-
[StateCodesUS.Minnesota]: {
|
|
877
|
-
key: "enterNDigitsForExample",
|
|
878
|
-
values: {
|
|
879
|
-
numDigits: "7",
|
|
880
|
-
example: "1234567 MN"
|
|
881
|
-
}
|
|
882
|
-
},
|
|
883
|
-
[StateCodesUS.Mississippi]: {
|
|
884
|
-
key: "enterXToYDigitsForExample",
|
|
885
|
-
values: {
|
|
886
|
-
minDigits: "7",
|
|
887
|
-
maxDigits: "10",
|
|
888
|
-
example: "1234567 MS"
|
|
889
|
-
}
|
|
890
|
-
},
|
|
891
|
-
[StateCodesUS.Missouri]: {
|
|
892
|
-
key: "enterNDigitsForExample",
|
|
893
|
-
values: {
|
|
894
|
-
numDigits: "10",
|
|
895
|
-
example: "1234567890 MO"
|
|
896
|
-
}
|
|
897
|
-
},
|
|
898
|
-
[StateCodesUS.Montana]: {
|
|
899
|
-
key: "enterNDigitsForExample",
|
|
900
|
-
values: {
|
|
901
|
-
numDigits: "7",
|
|
902
|
-
example: "1234567 MT"
|
|
903
|
-
}
|
|
904
|
-
},
|
|
905
|
-
[StateCodesUS.Nebraska]: {
|
|
906
|
-
key: "enterXToYDigitsForExample",
|
|
907
|
-
values: {
|
|
908
|
-
minDigits: "9",
|
|
909
|
-
maxDigits: "11",
|
|
910
|
-
example: "123456789 NE"
|
|
911
|
-
}
|
|
912
|
-
},
|
|
913
|
-
[StateCodesUS.Nevada]: {
|
|
914
|
-
key: "enterXToYDigitsForExample",
|
|
915
|
-
values: {
|
|
916
|
-
minDigits: "9",
|
|
917
|
-
maxDigits: "11",
|
|
918
|
-
example: "123456789 NV"
|
|
919
|
-
}
|
|
920
|
-
},
|
|
921
|
-
[StateCodesUS.NewHampshire]: {
|
|
922
|
-
key: "enterNDigitsForExample",
|
|
923
|
-
values: {
|
|
924
|
-
numDigits: "9",
|
|
925
|
-
example: "123456789 NH"
|
|
926
|
-
}
|
|
927
|
-
},
|
|
928
|
-
[StateCodesUS.NewJersey]: {
|
|
929
|
-
key: "enterNDigitsForExample",
|
|
930
|
-
values: {
|
|
931
|
-
numDigits: "10",
|
|
932
|
-
example: "1234567890 NJ"
|
|
933
|
-
}
|
|
934
|
-
},
|
|
935
|
-
[StateCodesUS.NewMexico]: {
|
|
936
|
-
key: "enterNDigitsForExample",
|
|
937
|
-
values: {
|
|
938
|
-
numDigits: "6",
|
|
939
|
-
example: "123456 NM"
|
|
940
|
-
}
|
|
941
|
-
},
|
|
942
|
-
[StateCodesUS.NewYork]: {
|
|
943
|
-
key: "enterNDigitsForExample",
|
|
944
|
-
values: {
|
|
945
|
-
numDigits: "7",
|
|
946
|
-
example: "1234567 NY"
|
|
947
|
-
}
|
|
948
|
-
},
|
|
949
|
-
[StateCodesUS.NorthCarolina]: {
|
|
950
|
-
key: "enterNDigitsForExample",
|
|
951
|
-
values: {
|
|
952
|
-
numDigits: "7",
|
|
953
|
-
example: "1234567 NC"
|
|
954
|
-
}
|
|
955
|
-
},
|
|
956
|
-
[StateCodesUS.NorthDakota]: {
|
|
957
|
-
key: "enterXToYDigitsForExample",
|
|
958
|
-
values: {
|
|
959
|
-
minDigits: "7",
|
|
960
|
-
maxDigits: "10",
|
|
961
|
-
example: "1234567 ND"
|
|
962
|
-
}
|
|
963
|
-
},
|
|
964
|
-
[StateCodesUS.Ohio]: {
|
|
965
|
-
key: "enterNDigitsForExample",
|
|
966
|
-
values: {
|
|
967
|
-
numDigits: "10",
|
|
968
|
-
example: "1234567890 OH"
|
|
969
|
-
}
|
|
970
|
-
},
|
|
971
|
-
[StateCodesUS.Oklahoma]: {
|
|
972
|
-
key: "enterNDigitsForExample",
|
|
973
|
-
values: {
|
|
974
|
-
numDigits: "10",
|
|
975
|
-
example: "1234567890 OK"
|
|
976
|
-
}
|
|
977
|
-
},
|
|
978
|
-
[StateCodesUS.Oregon]: {
|
|
979
|
-
key: "enterNDigitsForExample",
|
|
980
|
-
values: {
|
|
981
|
-
numDigits: "9",
|
|
982
|
-
example: "123456789 OR"
|
|
983
|
-
}
|
|
984
|
-
},
|
|
985
|
-
[StateCodesUS.Pennsylvania]: {
|
|
986
|
-
key: "enterNDigitsForExample",
|
|
987
|
-
values: {
|
|
988
|
-
numDigits: "7",
|
|
989
|
-
example: "1234567 PA"
|
|
990
|
-
}
|
|
991
|
-
},
|
|
992
|
-
[StateCodesUS.RhodeIsland]: {
|
|
993
|
-
key: "enterNDigitsForExample",
|
|
994
|
-
values: {
|
|
995
|
-
numDigits: "7",
|
|
996
|
-
example: "1234567 RI"
|
|
997
|
-
}
|
|
998
|
-
},
|
|
999
|
-
[StateCodesUS.SouthCarolina]: {
|
|
1000
|
-
key: "enterNDigitsForExample",
|
|
1001
|
-
values: {
|
|
1002
|
-
numDigits: "7",
|
|
1003
|
-
example: "1234567 SC"
|
|
1004
|
-
}
|
|
1005
|
-
},
|
|
1006
|
-
[StateCodesUS.SouthDakota]: {
|
|
1007
|
-
key: "enterNDigitsForExample",
|
|
1008
|
-
values: {
|
|
1009
|
-
numDigits: "7",
|
|
1010
|
-
example: "1234567 SD"
|
|
1011
|
-
}
|
|
1012
|
-
},
|
|
1013
|
-
[StateCodesUS.Tennessee]: {
|
|
1014
|
-
key: "enterNDigitsForExample",
|
|
1015
|
-
values: {
|
|
1016
|
-
numDigits: "6",
|
|
1017
|
-
example: "123456 TN"
|
|
1018
|
-
}
|
|
1019
|
-
},
|
|
1020
|
-
[StateCodesUS.Texas]: {
|
|
1021
|
-
key: "enterNDigitsForExample",
|
|
1022
|
-
values: {
|
|
1023
|
-
numDigits: "10",
|
|
1024
|
-
example: "1234567890 TX"
|
|
1025
|
-
}
|
|
1026
|
-
},
|
|
1027
|
-
[StateCodesUS.Utah]: {
|
|
1028
|
-
key: "enterNDigitsForExample",
|
|
1029
|
-
values: {
|
|
1030
|
-
numDigits: "7",
|
|
1031
|
-
example: "1234567 UT"
|
|
1032
|
-
}
|
|
1033
|
-
},
|
|
1034
|
-
[StateCodesUS.Vermont]: {
|
|
1035
|
-
key: "enterNDigitsForExample",
|
|
1036
|
-
values: {
|
|
1037
|
-
numDigits: "6",
|
|
1038
|
-
example: "123456 VT"
|
|
1039
|
-
}
|
|
1040
|
-
},
|
|
1041
|
-
[StateCodesUS.Virginia]: {
|
|
1042
|
-
key: "enterNDigitsForExample",
|
|
1043
|
-
values: {
|
|
1044
|
-
numDigits: "7",
|
|
1045
|
-
example: "1234567 VA"
|
|
1046
|
-
}
|
|
1047
|
-
},
|
|
1048
|
-
[StateCodesUS.Washington]: {
|
|
1049
|
-
key: "enterNDigitsForExample",
|
|
1050
|
-
values: {
|
|
1051
|
-
numDigits: "9",
|
|
1052
|
-
example: "123456789 WA"
|
|
1053
|
-
}
|
|
1054
|
-
},
|
|
1055
|
-
[StateCodesUS.WestVirginia]: {
|
|
1056
|
-
key: "enterNDigitsForExample",
|
|
1057
|
-
values: {
|
|
1058
|
-
numDigits: "6",
|
|
1059
|
-
example: "123456 WV"
|
|
1060
|
-
}
|
|
1061
|
-
},
|
|
1062
|
-
[StateCodesUS.Wisconsin]: {
|
|
1063
|
-
key: "enterNDigitsForExample",
|
|
1064
|
-
values: {
|
|
1065
|
-
numDigits: "6",
|
|
1066
|
-
example: "123456 WI"
|
|
1067
|
-
}
|
|
1068
|
-
},
|
|
1069
|
-
[StateCodesUS.Wyoming]: {
|
|
1070
|
-
key: "enterNDigitsForExample",
|
|
1071
|
-
values: {
|
|
1072
|
-
numDigits: "6",
|
|
1073
|
-
example: "123456 WY"
|
|
1074
|
-
}
|
|
1075
|
-
},
|
|
1076
|
-
[StateCodesUS.DistrictOfColumbia]: {
|
|
1077
|
-
key: "enterNDigitsForExample",
|
|
1078
|
-
values: {
|
|
1079
|
-
numDigits: "9",
|
|
1080
|
-
example: "123456789"
|
|
1081
|
-
}
|
|
1082
|
-
},
|
|
1083
|
-
default: {
|
|
1084
|
-
key: "enterNDigitsForExample",
|
|
1085
|
-
values: {
|
|
1086
|
-
numDigits: "9",
|
|
1087
|
-
example: "123456789"
|
|
1088
|
-
}
|
|
1089
|
-
}
|
|
1090
|
-
};
|
|
1091
|
-
const businessRegistrationNumberPatterns = {
|
|
1092
|
-
[CountryCodes.Australia]: { default: /^\d{9}$/, associationIncorporated: /^[a-zA-Z0-9]{3,20}$/ },
|
|
1093
|
-
[CountryCodes.Austria]: {
|
|
1094
|
-
firmenbuchnummer: /^(FN|T)\d{3,6}[a-z]$/,
|
|
1095
|
-
ZVR: /^(AT-ZVR-)\d{9,10}$/
|
|
1096
|
-
},
|
|
1097
|
-
[CountryCodes.Belgium]: { default: /^\d{10}$/ },
|
|
1098
|
-
[CountryCodes.Brazil]: { default: /^\d{14}$/ },
|
|
1099
|
-
[CountryCodes.Bulgaria]: { default: /^\d{9}$/ },
|
|
1100
|
-
[CountryCodes.Canada]: { default: /^[a-zA-Z0-9]{5,10}$/ },
|
|
1101
|
-
[CountryCodes.Croatia]: { default: /^\d{9}$/, soleProprietorship: /^\d{8}$/ },
|
|
1102
|
-
[CountryCodes.Cyprus]: { default: /^[COP]{1}\d{1,8}$/ },
|
|
1103
|
-
[CountryCodes.CzechRepublic]: { default: /^\d{8,10}$/ },
|
|
1104
|
-
[CountryCodes.Denmark]: { default: /^\d{8}$/ },
|
|
1105
|
-
[CountryCodes.Estonia]: { default: /^\d{8}$/ },
|
|
1106
|
-
[CountryCodes.Finland]: { default: /^\d{7}-?\d$/ },
|
|
1107
|
-
[CountryCodes.France]: {
|
|
1108
|
-
SIRET: /^\d{9}-?\d{5}$/,
|
|
1109
|
-
RNA: /^W(\d{9}|\d[A-Za-z]\d{7})$/
|
|
1110
|
-
},
|
|
1111
|
-
[CountryCodes.Gibraltar]: { default: /^[a-zA-Z0-9]{1,8}$/ },
|
|
1112
|
-
[CountryCodes.Germany]: { default: /^[A-Z]{2,3}\d{1,6}[A-Z]{0,5}(?:-[A-Z]\d{4})?$/ },
|
|
1113
|
-
[CountryCodes.Greece]: { default: /^\d{12}$/ },
|
|
1114
|
-
[CountryCodes.Guernsey]: { default: /^\d{1,9}$/ },
|
|
1115
|
-
[CountryCodes.HongKong]: { default: /^\d{7}$/ },
|
|
1116
|
-
[CountryCodes.Hungary]: { default: /^\d{10}$/, nyilvantartasiSzam: /^\d{7,10}$/ },
|
|
1117
|
-
[CountryCodes.Iceland]: { default: /^\d{10}$/ },
|
|
1118
|
-
[CountryCodes.India]: { default: /^\d{21}$/ },
|
|
1119
|
-
[CountryCodes.Indonesia]: { default: /^\d{12}$/ },
|
|
1120
|
-
[CountryCodes.Ireland]: { default: /^[1-9]\d{1,7}$/ },
|
|
1121
|
-
[CountryCodes.IsleOfMan]: { default: /^\d{6}[A-Z]$/ },
|
|
1122
|
-
[CountryCodes.Italy]: { partitaIVA: /^\d{11}$/, CCIAA: /^[a-zA-Z]{2}\d{6,7}$/ },
|
|
1123
|
-
[CountryCodes.Japan]: { default: /^\d{12}$/ },
|
|
1124
|
-
[CountryCodes.Jersey]: { default: /^[a-zA-Z0-9]{1,9}$/ },
|
|
1125
|
-
[CountryCodes.Korea]: { default: /^\d{10}$/ },
|
|
1126
|
-
[CountryCodes.Latvia]: { default: /^\d{11}$/ },
|
|
1127
|
-
[CountryCodes.Liechtenstein]: { default: /FL-[0-9]{4}[.][0-9]{3}[.][0-9]{3}-[0-9]$/ },
|
|
1128
|
-
[CountryCodes.Lithuania]: { default: /^\d{6,9}$/ },
|
|
1129
|
-
[CountryCodes.Luxembourg]: { default: /^[a-zA-Z]\d{1,9}$/ },
|
|
1130
|
-
[CountryCodes.Malaysia]: { default: /^\d{7}$|^\d{12}$/ },
|
|
1131
|
-
[CountryCodes.Malta]: { default: /^[CP]\s?\d{4,6}$/ },
|
|
1132
|
-
[CountryCodes.Mexico]: { default: /^\D{3}\d{6}\w{3}$/ },
|
|
1133
|
-
[CountryCodes.Monaco]: {
|
|
1134
|
-
default: /^[0-9]{2}[A-Z]{1,3}[0-9]{5}$/,
|
|
1135
|
-
soleProprietorship: /^\d{2,4}[A-Z]\d{5}$/
|
|
1136
|
-
},
|
|
1137
|
-
[CountryCodes.Netherlands]: { default: /^\d{8}$/ },
|
|
1138
|
-
[CountryCodes.NewZealand]: { NZBN: /^\d{13}$/, companyNumberNZ: /^\d{7}$/ },
|
|
1139
|
-
[CountryCodes.Norway]: { default: /^\d{9}$/ },
|
|
1140
|
-
[CountryCodes.Poland]: { krsNumber: /^\d{10}$/, regon: /^\d{9}$/ },
|
|
1141
|
-
[CountryCodes.Portugal]: { default: /^\d{9}$/ },
|
|
1142
|
-
[CountryCodes.Romania]: {
|
|
1143
|
-
roRegNumberOldFormat: /^[A-Z]\d{1,2}\/\d{1,9}\/\d{4}$/,
|
|
1144
|
-
roRegNumberNewFormat: /^[JFC]\d{13}$/
|
|
1145
|
-
},
|
|
1146
|
-
[CountryCodes.Singapore]: { default: /^[a-zA-Z0-9]{9,10}$/ },
|
|
1147
|
-
[CountryCodes.Slovakia]: { default: /^\d{8}$/ },
|
|
1148
|
-
[CountryCodes.Slovenia]: { default: /^\d{10}$/ },
|
|
1149
|
-
[CountryCodes.Spain]: { default: /^[a-zA-Z][a-zA-Z0-9]{8}$/ },
|
|
1150
|
-
[CountryCodes.Sweden]: { default: /^\d{10}$/ },
|
|
1151
|
-
[CountryCodes.Switzerland]: { default: /^CHE\d{9}$|^CH\d{11}$/ },
|
|
1152
|
-
[CountryCodes.UnitedKingdom]: {
|
|
1153
|
-
default: /^[a-zA-Z0-9]{8}$/,
|
|
1154
|
-
nonProfit: /^(?:(?:[A-Z]{2})?\d{6}|\d{6,8}|\d{6}-\d)$/
|
|
1155
|
-
},
|
|
1156
|
-
[CountryCodes.UnitedStates]: {
|
|
1157
|
-
[StateCodesUS.Alabama]: /^\d{9}$/,
|
|
1158
|
-
[StateCodesUS.Alaska]: /^\d{8}$/,
|
|
1159
|
-
[StateCodesUS.Arizona]: /^\d{8}$/,
|
|
1160
|
-
[StateCodesUS.Arkansas]: /^8\d{8}$/,
|
|
1161
|
-
[StateCodesUS.California]: /^\d{7}$|^\d{12}$/,
|
|
1162
|
-
[StateCodesUS.Colorado]: /^\d{11}$/,
|
|
1163
|
-
[StateCodesUS.Connecticut]: /^\d{7}$/,
|
|
1164
|
-
[StateCodesUS.Delaware]: /^\d{7}$/,
|
|
1165
|
-
[StateCodesUS.Florida]: /^\d{6}$|^\d{12}$/,
|
|
1166
|
-
[StateCodesUS.Georgia]: /^\d{8}$/,
|
|
1167
|
-
[StateCodesUS.Hawaii]: /^\d{5,8}(C1|C2|C3|C4|C5|D1|D2|D3|D4|F1|F2|L1|L2|N1|N2|P1|P2|T1|T2|T3|T4|T5|T6|T7|T8|ZZ)$/,
|
|
1168
|
-
[StateCodesUS.Idaho]: /^\d{6}$/,
|
|
1169
|
-
[StateCodesUS.Illinois]: /^\d{8}$/,
|
|
1170
|
-
[StateCodesUS.Indiana]: /^\d{10}$/,
|
|
1171
|
-
[StateCodesUS.Iowa]: /^\d{6,8}$/,
|
|
1172
|
-
[StateCodesUS.Kansas]: /^\d{7,9}$/,
|
|
1173
|
-
[StateCodesUS.Kentucky]: /^\d{9,10}$/,
|
|
1174
|
-
[StateCodesUS.Louisiana]: /^\d{9,10}$/,
|
|
1175
|
-
[StateCodesUS.Maine]: /^\d{8}$/,
|
|
1176
|
-
[StateCodesUS.Maryland]: /^\d{8}$/,
|
|
1177
|
-
[StateCodesUS.Massachusetts]: /^\d{10}$/,
|
|
1178
|
-
[StateCodesUS.Michigan]: /^\d{6}$|^\d{9}$/,
|
|
1179
|
-
[StateCodesUS.Minnesota]: /^\d{7}$/,
|
|
1180
|
-
[StateCodesUS.Mississippi]: /^\d{7,10}$/,
|
|
1181
|
-
[StateCodesUS.Missouri]: /^\d{10}$/,
|
|
1182
|
-
[StateCodesUS.Montana]: /^\d{7}$/,
|
|
1183
|
-
[StateCodesUS.Nebraska]: /^\d{9,11}$/,
|
|
1184
|
-
[StateCodesUS.Nevada]: /^\d{9,11}$/,
|
|
1185
|
-
[StateCodesUS.NewHampshire]: /^\d{9}$/,
|
|
1186
|
-
[StateCodesUS.NewJersey]: /^\d{10}$/,
|
|
1187
|
-
[StateCodesUS.NewMexico]: /^\d{6}$/,
|
|
1188
|
-
[StateCodesUS.NewYork]: /^\d{7}$/,
|
|
1189
|
-
[StateCodesUS.NorthCarolina]: /^\d{7}$/,
|
|
1190
|
-
[StateCodesUS.NorthDakota]: /^\d{7,10}$/,
|
|
1191
|
-
[StateCodesUS.Ohio]: /^\d{10}$/,
|
|
1192
|
-
[StateCodesUS.Oklahoma]: /^\d{10}$/,
|
|
1193
|
-
[StateCodesUS.Oregon]: /^\d{9}$/,
|
|
1194
|
-
[StateCodesUS.Pennsylvania]: /^\d{7}$/,
|
|
1195
|
-
[StateCodesUS.RhodeIsland]: /^\d{7}$/,
|
|
1196
|
-
[StateCodesUS.SouthCarolina]: /^\d{7}$/,
|
|
1197
|
-
[StateCodesUS.SouthDakota]: /^\d{7}$/,
|
|
1198
|
-
[StateCodesUS.Tennessee]: /^\d{6}$/,
|
|
1199
|
-
[StateCodesUS.Texas]: /^\d{10}$/,
|
|
1200
|
-
[StateCodesUS.Utah]: /^\d{7}$/,
|
|
1201
|
-
[StateCodesUS.Vermont]: /^\d{6}$/,
|
|
1202
|
-
[StateCodesUS.Virginia]: /^\d{7}$/,
|
|
1203
|
-
[StateCodesUS.Washington]: /^\d{9}$/,
|
|
1204
|
-
[StateCodesUS.WestVirginia]: /^\d{6}$/,
|
|
1205
|
-
[StateCodesUS.Wisconsin]: /^\d{6}$/,
|
|
1206
|
-
[StateCodesUS.Wyoming]: /^\d{6}$/,
|
|
1207
|
-
[StateCodesUS.DistrictOfColumbia]: /^\d{9}$/,
|
|
1208
|
-
default: /^\d{9}$/
|
|
1209
|
-
}
|
|
1210
|
-
};
|
|
1211
|
-
const taxInformationDefaultFieldMetadata = {
|
|
1212
|
-
label: "taxId"
|
|
1213
|
-
};
|
|
1214
|
-
const exemptedFromTaxDefaultFieldMetadata = {
|
|
1215
|
-
label: "iDontHaveATaxId"
|
|
1216
|
-
};
|
|
1217
|
-
const mapValidators = (validators, country) => {
|
|
1218
|
-
return validators.map(
|
|
1219
|
-
(validator) => ({
|
|
1220
|
-
...validator,
|
|
1221
|
-
validate: (taxInformation) => {
|
|
1222
|
-
const taxInfo = taxInformation?.find((taxId) => country === taxId.country);
|
|
1223
|
-
if (taxInfo?.numberAbsent) return true;
|
|
1224
|
-
return taxInfo?.number ? validator.validate(taxInfo.number) : false;
|
|
1225
|
-
}
|
|
1226
|
-
})
|
|
1227
|
-
);
|
|
1228
|
-
};
|
|
1229
|
-
const taxInformationDefaultFieldConfig = {
|
|
1230
|
-
[CountryCodes.Australia]: {
|
|
1231
|
-
label: "australianBusinessNumberAbn",
|
|
1232
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Australia),
|
|
1233
|
-
mask: {
|
|
1234
|
-
mask: makeMask(
|
|
1235
|
-
...numericInputs(2),
|
|
1236
|
-
spacer,
|
|
1237
|
-
...numericInputs(3),
|
|
1238
|
-
spacer,
|
|
1239
|
-
...numericInputs(3),
|
|
1240
|
-
spacer,
|
|
1241
|
-
...numericInputs(3)
|
|
1242
|
-
)
|
|
1243
|
-
},
|
|
1244
|
-
guidanceText: {
|
|
1245
|
-
key: "enterNDigitsForExample",
|
|
1246
|
-
values: {
|
|
1247
|
-
numDigits: "11",
|
|
1248
|
-
example: "51 824 753 556"
|
|
1249
|
-
}
|
|
1250
|
-
}
|
|
1251
|
-
},
|
|
1252
|
-
[CountryCodes.Austria]: {
|
|
1253
|
-
label: "taxInformationNumber__AT",
|
|
1254
|
-
validators: mapValidators(
|
|
1255
|
-
[validatePatternOnBlur(/^(?=(?:[^0-9]*\d){9}[^0-9]*$)[\d\-/]+$/)],
|
|
1256
|
-
CountryCodes.Austria
|
|
1257
|
-
),
|
|
1258
|
-
mask: {
|
|
1259
|
-
mask: makeMask(
|
|
1260
|
-
...numericInputs(2),
|
|
1261
|
-
{ type: "input", allow: /[-/]/, optional: true },
|
|
1262
|
-
...numericInputs(3),
|
|
1263
|
-
{ type: "input", allow: /[-/]/, optional: true },
|
|
1264
|
-
...numericInputs(4)
|
|
1265
|
-
)
|
|
1266
|
-
},
|
|
1267
|
-
guidanceText: {
|
|
1268
|
-
key: "enterNDigitsForExample",
|
|
1269
|
-
values: {
|
|
1270
|
-
numDigits: "9",
|
|
1271
|
-
example: "931736581"
|
|
1272
|
-
}
|
|
1273
|
-
}
|
|
1274
|
-
},
|
|
1275
|
-
[CountryCodes.Belgium]: ({ companyType }) => {
|
|
1276
|
-
switch (companyType) {
|
|
1277
|
-
case LegalEntityTypes.INDIVIDUAL:
|
|
1278
|
-
return {
|
|
1279
|
-
label: "taxInformationNumber__BE_Individual",
|
|
1280
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Belgium),
|
|
1281
|
-
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1282
|
-
guidanceText: {
|
|
1283
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1284
|
-
values: {
|
|
1285
|
-
example: "99999999999",
|
|
1286
|
-
idType: "Numeró National"
|
|
1287
|
-
}
|
|
1288
|
-
}
|
|
1289
|
-
};
|
|
1290
|
-
default:
|
|
1291
|
-
return {
|
|
1292
|
-
label: "taxInformationNumber__BE",
|
|
1293
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.Belgium),
|
|
1294
|
-
mask: { mask: makeMask(...numericInputs(10)) },
|
|
1295
|
-
guidanceText: {
|
|
1296
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1297
|
-
values: {
|
|
1298
|
-
example: "0123321123",
|
|
1299
|
-
idType: "Business nummer"
|
|
1300
|
-
}
|
|
1301
|
-
}
|
|
1302
|
-
};
|
|
1303
|
-
}
|
|
1304
|
-
},
|
|
1305
|
-
[CountryCodes.Canada]: {
|
|
1306
|
-
label: "businessNumber",
|
|
1307
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Canada),
|
|
1308
|
-
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1309
|
-
guidanceText: {
|
|
1310
|
-
key: "enterNDigitsForExample",
|
|
1311
|
-
values: {
|
|
1312
|
-
numDigits: "9",
|
|
1313
|
-
example: "123456789"
|
|
1314
|
-
}
|
|
1315
|
-
}
|
|
1316
|
-
},
|
|
1317
|
-
[CountryCodes.Croatia]: {
|
|
1318
|
-
label: "taxInformationNumber__HR",
|
|
1319
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Croatia),
|
|
1320
|
-
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1321
|
-
guidanceText: {
|
|
1322
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1323
|
-
values: {
|
|
1324
|
-
example: "94577403194",
|
|
1325
|
-
idType: "OIB"
|
|
1326
|
-
}
|
|
1327
|
-
}
|
|
1328
|
-
},
|
|
1329
|
-
[CountryCodes.Cyprus]: {
|
|
1330
|
-
label: "taxInformationNumber__CY",
|
|
1331
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{8,9}[A-Z]$/)], CountryCodes.Cyprus),
|
|
1332
|
-
mask: {
|
|
1333
|
-
mask: makeMask(...numericInputs(8), ...numericInputs(1, true), ...alphaInputs(1)),
|
|
1334
|
-
transformOnType: uppercase
|
|
1335
|
-
},
|
|
1336
|
-
guidanceText: {
|
|
1337
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1338
|
-
values: {
|
|
1339
|
-
example: "00123123T",
|
|
1340
|
-
idType: "TIC"
|
|
1341
|
-
}
|
|
1342
|
-
}
|
|
1343
|
-
},
|
|
1344
|
-
[CountryCodes.Estonia]: {
|
|
1345
|
-
label: "taxInformationNumber__ET_Individual",
|
|
1346
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Estonia),
|
|
1347
|
-
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1348
|
-
guidanceText: {
|
|
1349
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1350
|
-
values: {
|
|
1351
|
-
example: "32708101201",
|
|
1352
|
-
idType: "Isikukood"
|
|
1353
|
-
}
|
|
1354
|
-
}
|
|
1355
|
-
},
|
|
1356
|
-
[CountryCodes.Finland]: {
|
|
1357
|
-
label: "taxInformationNumber__FI",
|
|
1358
|
-
validators: mapValidators(
|
|
1359
|
-
[validatePatternOnBlur(/^\d{6}[+\-A]\d{3}[0-9A-Y]$/)],
|
|
1360
|
-
CountryCodes.Finland
|
|
1361
|
-
),
|
|
1362
|
-
mask: {
|
|
1363
|
-
mask: makeMask(...numericInputs(6), { type: "input", allow: /[+\-A]/ }, ...numericInputs(3), {
|
|
1364
|
-
type: "input",
|
|
1365
|
-
allow: /[0-9A-Y]/
|
|
1366
|
-
}),
|
|
1367
|
-
transformOnType: uppercase
|
|
1368
|
-
},
|
|
1369
|
-
guidanceText: {
|
|
1370
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1371
|
-
values: {
|
|
1372
|
-
example: "131052-308T",
|
|
1373
|
-
idType: "Henkilötunnus"
|
|
1374
|
-
}
|
|
1375
|
-
}
|
|
1376
|
-
},
|
|
1377
|
-
[CountryCodes.France]: {
|
|
1378
|
-
label: "taxInformationNumber__FR",
|
|
1379
|
-
validators: mapValidators([validatePatternOnBlur(/^\s*(\d\s*){13}$/)], CountryCodes.France),
|
|
1380
|
-
mask: {
|
|
1381
|
-
mask: makeMask(
|
|
1382
|
-
...numericInputs(2),
|
|
1383
|
-
spacer,
|
|
1384
|
-
...numericInputs(2),
|
|
1385
|
-
spacer,
|
|
1386
|
-
...numericInputs(3),
|
|
1387
|
-
spacer,
|
|
1388
|
-
...numericInputs(3),
|
|
1389
|
-
spacer,
|
|
1390
|
-
...numericInputs(3)
|
|
1391
|
-
)
|
|
1392
|
-
},
|
|
1393
|
-
guidanceText: {
|
|
1394
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1395
|
-
values: {
|
|
1396
|
-
example: "30 23 217 600 053",
|
|
1397
|
-
idType: "Numéro SPI"
|
|
1398
|
-
}
|
|
1399
|
-
}
|
|
1400
|
-
},
|
|
1401
|
-
[CountryCodes.Germany]: ({ companyType }) => {
|
|
1402
|
-
switch (companyType) {
|
|
1403
|
-
case LegalEntityTypes.INDIVIDUAL:
|
|
1404
|
-
return {
|
|
1405
|
-
label: "taxInformationNumber__DE_Individual",
|
|
1406
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Germany),
|
|
1407
|
-
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1408
|
-
guidanceText: {
|
|
1409
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1410
|
-
values: {
|
|
1411
|
-
example: "26954371827",
|
|
1412
|
-
idType: "IdNr"
|
|
1413
|
-
}
|
|
1414
|
-
}
|
|
1415
|
-
};
|
|
1416
|
-
default:
|
|
1417
|
-
return {
|
|
1418
|
-
label: "taxInformationNumber__DE",
|
|
1419
|
-
validators: mapValidators(
|
|
1420
|
-
[validatePatternOnBlur(/^\d{10}$|^\d{11}$|^\d{13}$/)],
|
|
1421
|
-
CountryCodes.Germany
|
|
1422
|
-
),
|
|
1423
|
-
mask: { mask: makeMask(...numericInputs(10), ...numericInputs(3, true)) },
|
|
1424
|
-
guidanceText: {
|
|
1425
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1426
|
-
values: {
|
|
1427
|
-
example: "14310260208",
|
|
1428
|
-
idType: "Steuernummer"
|
|
1429
|
-
}
|
|
1430
|
-
}
|
|
1431
|
-
};
|
|
1432
|
-
}
|
|
1433
|
-
},
|
|
1434
|
-
[CountryCodes.Gibraltar]: {
|
|
1435
|
-
label: "taxpayerReferenceNumber",
|
|
1436
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{1,7}$/)], CountryCodes.Gibraltar),
|
|
1437
|
-
mask: {
|
|
1438
|
-
mask: makeMask(...numericInputs(1), ...numericInputs(6, true))
|
|
1439
|
-
},
|
|
1440
|
-
guidanceText: {
|
|
1441
|
-
key: "enterAMaximumOfNDigitsForExample",
|
|
1442
|
-
values: {
|
|
1443
|
-
maxDigits: "7",
|
|
1444
|
-
example: "123456"
|
|
1445
|
-
}
|
|
1446
|
-
}
|
|
1447
|
-
},
|
|
1448
|
-
[CountryCodes.Greece]: {
|
|
1449
|
-
label: "taxInformationNumber__GR",
|
|
1450
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Greece),
|
|
1451
|
-
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1452
|
-
guidanceText: {
|
|
1453
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1454
|
-
values: {
|
|
1455
|
-
example: "244709851",
|
|
1456
|
-
idType: "AFM"
|
|
1457
|
-
}
|
|
1458
|
-
}
|
|
1459
|
-
},
|
|
1460
|
-
[CountryCodes.Guernsey]: ({ companyType }) => {
|
|
1461
|
-
switch (companyType) {
|
|
1462
|
-
case CompanyTypesValues.SOLE_PROPRIETORSHIP:
|
|
1463
|
-
return {
|
|
1464
|
-
label: "nationalInsuranceNumber",
|
|
1465
|
-
validators: mapValidators(
|
|
1466
|
-
[validatePatternOnBlur(/^GY\d{6}[A-D]$/)],
|
|
1467
|
-
CountryCodes.Guernsey
|
|
1468
|
-
),
|
|
1469
|
-
mask: {
|
|
1470
|
-
mask: makeMask(
|
|
1471
|
-
...nonInputs("GY", { includeInValue: true }),
|
|
1472
|
-
spacer,
|
|
1473
|
-
...numericInputs(2),
|
|
1474
|
-
spacer,
|
|
1475
|
-
...numericInputs(2),
|
|
1476
|
-
spacer,
|
|
1477
|
-
...numericInputs(2),
|
|
1478
|
-
spacer,
|
|
1479
|
-
{
|
|
1480
|
-
type: "input",
|
|
1481
|
-
allow: /[A-D]/
|
|
1482
|
-
}
|
|
1483
|
-
),
|
|
1484
|
-
transformOnType: uppercase
|
|
1485
|
-
},
|
|
1486
|
-
guidanceText: {
|
|
1487
|
-
key: "enterTheRemainingNCharactersForExample",
|
|
1488
|
-
values: {
|
|
1489
|
-
numChars: "7",
|
|
1490
|
-
example: "GY 12 34 56 A"
|
|
1491
|
-
}
|
|
1492
|
-
}
|
|
1493
|
-
};
|
|
1494
|
-
default:
|
|
1495
|
-
return {
|
|
1496
|
-
label: "taxInformationNumber",
|
|
1497
|
-
mask: businessRegistrationNumberMasks[CountryCodes.Guernsey].default,
|
|
1498
|
-
validators: mapValidators(
|
|
1499
|
-
[
|
|
1500
|
-
validatePatternOnBlur(
|
|
1501
|
-
businessRegistrationNumberPatterns[CountryCodes.Guernsey].default
|
|
1502
|
-
)
|
|
1503
|
-
],
|
|
1504
|
-
CountryCodes.Guernsey
|
|
1505
|
-
),
|
|
1506
|
-
guidanceText: {
|
|
1507
|
-
key: "enterAMaximumOfNDigitsForExample",
|
|
1508
|
-
values: {
|
|
1509
|
-
maxDigits: "9",
|
|
1510
|
-
example: "123456"
|
|
1511
|
-
}
|
|
1512
|
-
}
|
|
1513
|
-
};
|
|
1514
|
-
}
|
|
1515
|
-
},
|
|
1516
|
-
[CountryCodes.HongKong]: {
|
|
1517
|
-
label: "taxInformationNumber__HK",
|
|
1518
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{8}$/)], CountryCodes.HongKong),
|
|
1519
|
-
mask: { mask: makeMask(...numericInputs(8)) },
|
|
1520
|
-
guidanceText: {
|
|
1521
|
-
key: "enterNDigitsForExample",
|
|
1522
|
-
values: {
|
|
1523
|
-
numDigits: "8",
|
|
1524
|
-
example: "70569713"
|
|
1525
|
-
}
|
|
1526
|
-
}
|
|
1527
|
-
},
|
|
1528
|
-
[CountryCodes.Ireland]: ({ companyType }) => {
|
|
1529
|
-
switch (companyType) {
|
|
1530
|
-
case LegalEntityTypes.INDIVIDUAL:
|
|
1531
|
-
return {
|
|
1532
|
-
label: "taxInformationNumber__IE_Individual",
|
|
1533
|
-
validators: mapValidators(
|
|
1534
|
-
[validatePatternOnBlur(/^\d{7}[A-Z]$|^\d{7}[A-Z]{2}$/)],
|
|
1535
|
-
CountryCodes.Ireland
|
|
1536
|
-
),
|
|
1537
|
-
mask: {
|
|
1538
|
-
mask: makeMask(...numericInputs(7), ...alphaInputs(1), ...alphaInputs(1, true)),
|
|
1539
|
-
transformOnType: uppercase
|
|
1540
|
-
},
|
|
1541
|
-
guidanceText: {
|
|
1542
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1543
|
-
values: {
|
|
1544
|
-
example: "1234567T",
|
|
1545
|
-
idType: "Personal Public Service Number"
|
|
1546
|
-
}
|
|
1547
|
-
}
|
|
1548
|
-
};
|
|
1549
|
-
default:
|
|
1550
|
-
return {
|
|
1551
|
-
label: "trnNumber",
|
|
1552
|
-
validators: mapValidators(
|
|
1553
|
-
[validatePatternOnBlur(/^\d{7}[A-Z]$|^\d{7}[A-Z]{2}$/)],
|
|
1554
|
-
CountryCodes.Ireland
|
|
1555
|
-
),
|
|
1556
|
-
mask: {
|
|
1557
|
-
mask: makeMask(...numericInputs(7), ...alphaInputs(1), ...alphaInputs(1, true)),
|
|
1558
|
-
transformOnType: uppercase
|
|
1559
|
-
},
|
|
1560
|
-
guidanceText: {
|
|
1561
|
-
key: "enterXDigitsThenXToYLettersForExample",
|
|
1562
|
-
values: {
|
|
1563
|
-
numDigits: "7",
|
|
1564
|
-
minLetters: "1",
|
|
1565
|
-
maxLetters: "2",
|
|
1566
|
-
example: "1497955KA"
|
|
1567
|
-
}
|
|
1568
|
-
}
|
|
1569
|
-
};
|
|
1570
|
-
}
|
|
1571
|
-
},
|
|
1572
|
-
[CountryCodes.Italy]: {
|
|
1573
|
-
label: "codiceFiscale",
|
|
1574
|
-
mask: {
|
|
1575
|
-
mask: makeMask(...numericInputs(11))
|
|
1576
|
-
},
|
|
1577
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Italy),
|
|
1578
|
-
guidanceText: {
|
|
1579
|
-
key: "enterNDigitsForExample",
|
|
1580
|
-
values: {
|
|
1581
|
-
numDigits: "11",
|
|
1582
|
-
example: "12345678901"
|
|
1583
|
-
}
|
|
1584
|
-
}
|
|
1585
|
-
},
|
|
1586
|
-
[CountryCodes.IsleOfMan]: {
|
|
1587
|
-
label: "taxReferenceNumber",
|
|
1588
|
-
validators: mapValidators([validatePatternOnBlur(/^[HCX]\d{8}$/)], CountryCodes.IsleOfMan),
|
|
1589
|
-
mask: {
|
|
1590
|
-
mask: makeMask(
|
|
1591
|
-
{
|
|
1592
|
-
type: "input",
|
|
1593
|
-
allow: /[HCX]/
|
|
1594
|
-
},
|
|
1595
|
-
...numericInputs(6),
|
|
1596
|
-
...nonInputs(" - "),
|
|
1597
|
-
...numericInputs(2)
|
|
1598
|
-
),
|
|
1599
|
-
transformOnType: uppercase
|
|
1600
|
-
},
|
|
1601
|
-
guidanceText: {
|
|
1602
|
-
key: "enterNCharactersForExample",
|
|
1603
|
-
values: {
|
|
1604
|
-
numChars: "9",
|
|
1605
|
-
example: "C155673-79"
|
|
1606
|
-
}
|
|
1607
|
-
}
|
|
1608
|
-
},
|
|
1609
|
-
[CountryCodes.Jersey]: ({ taxIdNumberType, companyType }) => {
|
|
1610
|
-
switch (taxIdNumberType) {
|
|
1611
|
-
case "SSN":
|
|
1612
|
-
return {
|
|
1613
|
-
label: "socialSecurityNumber",
|
|
1614
|
-
validators: mapValidators(
|
|
1615
|
-
[validatePatternOnBlur(/^[A-Z]{2}\d{6}[A-Z]$/)],
|
|
1616
|
-
CountryCodes.Jersey
|
|
1617
|
-
),
|
|
1618
|
-
mask: {
|
|
1619
|
-
mask: makeMask(...alphaInputs(2), ...numericInputs(6), ...alphaInputs(1)),
|
|
1620
|
-
transformOnType: uppercase
|
|
1621
|
-
},
|
|
1622
|
-
guidanceText: {
|
|
1623
|
-
key: "enterNCharactersForExample",
|
|
1624
|
-
values: {
|
|
1625
|
-
numChars: "9",
|
|
1626
|
-
example: "JY000000A"
|
|
1627
|
-
}
|
|
1628
|
-
}
|
|
1629
|
-
};
|
|
1630
|
-
case "TIN_JE":
|
|
1631
|
-
default:
|
|
1632
|
-
switch (companyType) {
|
|
1633
|
-
case CompanyTypesValues.SOLE_PROPRIETORSHIP:
|
|
1634
|
-
return {
|
|
1635
|
-
label: "taxIdentificationNumber",
|
|
1636
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.Jersey),
|
|
1637
|
-
mask: {
|
|
1638
|
-
mask: makeMask(
|
|
1639
|
-
...numericInputs(3),
|
|
1640
|
-
...nonInputs(" - "),
|
|
1641
|
-
...numericInputs(3),
|
|
1642
|
-
...nonInputs(" - "),
|
|
1643
|
-
...numericInputs(4)
|
|
1644
|
-
)
|
|
1645
|
-
},
|
|
1646
|
-
guidanceText: {
|
|
1647
|
-
key: "enterNDigitsForExample",
|
|
1648
|
-
values: {
|
|
1649
|
-
numDigits: "10",
|
|
1650
|
-
example: "100-100-1000"
|
|
1651
|
-
}
|
|
1652
|
-
}
|
|
1653
|
-
};
|
|
1654
|
-
default:
|
|
1655
|
-
return {
|
|
1656
|
-
label: "taxIdentificationNumber",
|
|
1657
|
-
validators: mapValidators(
|
|
1658
|
-
[validatePatternOnBlur(/^[A-Z]{2}\d{5}$/)],
|
|
1659
|
-
CountryCodes.Jersey
|
|
1660
|
-
),
|
|
1661
|
-
mask: {
|
|
1662
|
-
mask: makeMask(...alphaInputs(2), ...numericInputs(5)),
|
|
1663
|
-
transformOnType: uppercase
|
|
1664
|
-
},
|
|
1665
|
-
guidanceText: {
|
|
1666
|
-
key: "enterNCharactersForExample",
|
|
1667
|
-
values: {
|
|
1668
|
-
numChars: "7",
|
|
1669
|
-
example: "CC17261"
|
|
1670
|
-
}
|
|
1671
|
-
}
|
|
1672
|
-
};
|
|
1673
|
-
}
|
|
1674
|
-
}
|
|
1675
|
-
},
|
|
1676
|
-
[CountryCodes.Latvia]: {
|
|
1677
|
-
label: "taxInformationNumber__LV",
|
|
1678
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Latvia),
|
|
1679
|
-
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1680
|
-
guidanceText: {
|
|
1681
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1682
|
-
values: {
|
|
1683
|
-
example: "32532963606",
|
|
1684
|
-
idType: "Personas kods"
|
|
1685
|
-
}
|
|
1686
|
-
}
|
|
1687
|
-
},
|
|
1688
|
-
[CountryCodes.Lithuania]: {
|
|
1689
|
-
label: "taxInformationNumber__LT",
|
|
1690
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Lithuania),
|
|
1691
|
-
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1692
|
-
guidanceText: {
|
|
1693
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1694
|
-
values: {
|
|
1695
|
-
example: "33309240064",
|
|
1696
|
-
idType: "Asmens kodas"
|
|
1697
|
-
}
|
|
1698
|
-
}
|
|
1699
|
-
},
|
|
1700
|
-
[CountryCodes.Luxembourg]: ({ companyType }) => {
|
|
1701
|
-
switch (companyType) {
|
|
1702
|
-
case LegalEntityTypes.INDIVIDUAL:
|
|
1703
|
-
return {
|
|
1704
|
-
label: "taxInformationNumber__LU_Individual",
|
|
1705
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{13}$/)], CountryCodes.Luxembourg),
|
|
1706
|
-
mask: { mask: makeMask(...numericInputs(13)) },
|
|
1707
|
-
guidanceText: {
|
|
1708
|
-
key: "enterNCharactersForExample",
|
|
1709
|
-
values: {
|
|
1710
|
-
numChars: "13",
|
|
1711
|
-
example: "1893120105732"
|
|
1712
|
-
}
|
|
1713
|
-
}
|
|
1714
|
-
};
|
|
1715
|
-
default:
|
|
1716
|
-
return {
|
|
1717
|
-
label: "taxInformationNumber__LU_Org",
|
|
1718
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Luxembourg),
|
|
1719
|
-
mask: {
|
|
1720
|
-
mask: makeMask(...numericInputs(11))
|
|
1721
|
-
},
|
|
1722
|
-
guidanceText: {
|
|
1723
|
-
key: "enterNCharactersForExample",
|
|
1724
|
-
values: {
|
|
1725
|
-
numChars: "11",
|
|
1726
|
-
example: "19991201001"
|
|
1727
|
-
}
|
|
1728
|
-
}
|
|
1729
|
-
};
|
|
1730
|
-
}
|
|
1731
|
-
},
|
|
1732
|
-
[CountryCodes.Malta]: ({ taxIdNumberType, companyType }) => {
|
|
1733
|
-
switch (companyType) {
|
|
1734
|
-
case LegalEntityTypes.INDIVIDUAL:
|
|
1735
|
-
switch (taxIdNumberType) {
|
|
1736
|
-
case "IDENTITY_CARD_NUMBER":
|
|
1737
|
-
return {
|
|
1738
|
-
label: "taxInformationNumber__MT_Individual",
|
|
1739
|
-
validators: mapValidators(
|
|
1740
|
-
[validatePatternOnBlur(/^\d{7}[A-Z]$|^\d{9}$/)],
|
|
1741
|
-
CountryCodes.Malta
|
|
1742
|
-
),
|
|
1743
|
-
mask: {
|
|
1744
|
-
mask: makeMask(...numericInputs(7), ...alphanumericInputs(2)),
|
|
1745
|
-
transformOnType: uppercase
|
|
1746
|
-
},
|
|
1747
|
-
guidanceText: {
|
|
1748
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1749
|
-
values: {
|
|
1750
|
-
example: "1234567A",
|
|
1751
|
-
idType: "Identity card number or unique taxpayer reference number (Maltese nationals)"
|
|
1752
|
-
}
|
|
1753
|
-
}
|
|
1754
|
-
};
|
|
1755
|
-
case "NRU":
|
|
1756
|
-
default:
|
|
1757
|
-
return {
|
|
1758
|
-
label: "taxInformationNumber__MT_NRU_Individual",
|
|
1759
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Malta),
|
|
1760
|
-
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1761
|
-
guidanceText: {
|
|
1762
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1763
|
-
values: {
|
|
1764
|
-
example: "999999999",
|
|
1765
|
-
idType: "NRU (Non-Maltese nationals)"
|
|
1766
|
-
}
|
|
1767
|
-
}
|
|
1768
|
-
};
|
|
1769
|
-
}
|
|
1770
|
-
default:
|
|
1771
|
-
return {
|
|
1772
|
-
label: "taxInformationNumber__MT_Org",
|
|
1773
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Malta),
|
|
1774
|
-
mask: {
|
|
1775
|
-
mask: makeMask(...numericInputs(9))
|
|
1776
|
-
},
|
|
1777
|
-
guidanceText: {
|
|
1778
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1779
|
-
values: {
|
|
1780
|
-
example: "123456789",
|
|
1781
|
-
idType: "Income Tax Registration Number"
|
|
1782
|
-
}
|
|
1783
|
-
}
|
|
1784
|
-
};
|
|
1785
|
-
}
|
|
1786
|
-
},
|
|
1787
|
-
[CountryCodes.Netherlands]: ({ companyType }) => {
|
|
1788
|
-
switch (companyType) {
|
|
1789
|
-
case LegalEntityTypes.INDIVIDUAL:
|
|
1790
|
-
return {
|
|
1791
|
-
label: "bsnNumber",
|
|
1792
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Netherlands),
|
|
1793
|
-
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1794
|
-
guidanceText: {
|
|
1795
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1796
|
-
values: {
|
|
1797
|
-
example: "999999999",
|
|
1798
|
-
idType: "BSN"
|
|
1799
|
-
}
|
|
1800
|
-
}
|
|
1801
|
-
};
|
|
1802
|
-
default:
|
|
1803
|
-
return {
|
|
1804
|
-
label: "rsinNumber",
|
|
1805
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Netherlands),
|
|
1806
|
-
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1807
|
-
guidanceText: {
|
|
1808
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1809
|
-
values: {
|
|
1810
|
-
example: "811786523",
|
|
1811
|
-
idType: "RSIN"
|
|
1812
|
-
}
|
|
1813
|
-
}
|
|
1814
|
-
};
|
|
1815
|
-
}
|
|
1816
|
-
},
|
|
1817
|
-
[CountryCodes.NewZealand]: {
|
|
1818
|
-
label: "irdNumber",
|
|
1819
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{8,9}$/)], CountryCodes.NewZealand),
|
|
1820
|
-
mask: {
|
|
1821
|
-
mask: makeMask(...numericInputs(8), ...numericInputs(1, true))
|
|
1822
|
-
},
|
|
1823
|
-
guidanceText: {
|
|
1824
|
-
key: "enterXToYDigitsForExample",
|
|
1825
|
-
values: {
|
|
1826
|
-
minDigits: "8",
|
|
1827
|
-
maxDigits: "9",
|
|
1828
|
-
example: "12345678"
|
|
1829
|
-
}
|
|
1830
|
-
}
|
|
1831
|
-
},
|
|
1832
|
-
[CountryCodes.Portugal]: {
|
|
1833
|
-
label: "taxInformationNumber__PT",
|
|
1834
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Portugal),
|
|
1835
|
-
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1836
|
-
guidanceText: {
|
|
1837
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1838
|
-
values: {
|
|
1839
|
-
example: "299999998",
|
|
1840
|
-
idType: "Numéro ID Civil"
|
|
1841
|
-
}
|
|
1842
|
-
}
|
|
1843
|
-
},
|
|
1844
|
-
[CountryCodes.PuertoRico]: {
|
|
1845
|
-
// should exactly match CountryCodes.UnitedStates
|
|
1846
|
-
label: "taxInformationNumber__US",
|
|
1847
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.PuertoRico),
|
|
1848
|
-
mask: {
|
|
1849
|
-
mask: makeMask(...numericInputs(2), ...nonInputs(" - "), ...numericInputs(7))
|
|
1850
|
-
},
|
|
1851
|
-
guidanceText: {
|
|
1852
|
-
key: "validationPleaseEnterAValidEINWithFormat",
|
|
1853
|
-
values: {
|
|
1854
|
-
format: "XX-XXXXXXX",
|
|
1855
|
-
example: "98-7654321"
|
|
1856
|
-
}
|
|
1857
|
-
}
|
|
1858
|
-
},
|
|
1859
|
-
// Special case for SG in which we also save the registration number as the TaxID if that selection has been made
|
|
1860
|
-
[CountryCodes.Singapore]: {
|
|
1861
|
-
label: "gst",
|
|
1862
|
-
validators: mapValidators([validatePatternOnBlur(/^[A-Z0-9]{9,10}$/)], CountryCodes.Singapore),
|
|
1863
|
-
mask: {
|
|
1864
|
-
mask: makeMask(
|
|
1865
|
-
...alphanumericInputs(2),
|
|
1866
|
-
...nonInputs(" - "),
|
|
1867
|
-
...alphanumericInputs(7),
|
|
1868
|
-
...nonInputs(" - "),
|
|
1869
|
-
...alphanumericInputs(1)
|
|
1870
|
-
),
|
|
1871
|
-
transformOnType: uppercase
|
|
1872
|
-
},
|
|
1873
|
-
guidanceText: {
|
|
1874
|
-
key: "enterNCharactersForExample",
|
|
1875
|
-
values: {
|
|
1876
|
-
numChars: "10",
|
|
1877
|
-
example: "M212345678"
|
|
1878
|
-
}
|
|
1879
|
-
}
|
|
1880
|
-
},
|
|
1881
|
-
[CountryCodes.Slovakia]: ({ companyType }) => {
|
|
1882
|
-
switch (companyType) {
|
|
1883
|
-
case LegalEntityTypes.INDIVIDUAL:
|
|
1884
|
-
return {
|
|
1885
|
-
label: "taxInformationNumber__SK_Individual",
|
|
1886
|
-
validators: mapValidators(
|
|
1887
|
-
[validatePatternOnBlur(/^\d{9}$|^\d{10}$|^\d{11}$|^\d{6}\/\d{3}$|^\d{6}\/\d{4}$/)],
|
|
1888
|
-
CountryCodes.Slovakia
|
|
1889
|
-
),
|
|
1890
|
-
mask: {
|
|
1891
|
-
mask: makeMask(
|
|
1892
|
-
...numericInputs(6),
|
|
1893
|
-
{ type: "input", allow: /\//, optional: true },
|
|
1894
|
-
...numericInputs(4),
|
|
1895
|
-
...numericInputs(1, true)
|
|
1896
|
-
)
|
|
1897
|
-
},
|
|
1898
|
-
guidanceText: {
|
|
1899
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1900
|
-
values: {
|
|
1901
|
-
example: "7711167420",
|
|
1902
|
-
idType: "Rodne Cislo"
|
|
1903
|
-
}
|
|
1904
|
-
}
|
|
1905
|
-
};
|
|
1906
|
-
default:
|
|
1907
|
-
return {
|
|
1908
|
-
label: "taxInformationNumber__SK_Org",
|
|
1909
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.Slovakia),
|
|
1910
|
-
mask: {
|
|
1911
|
-
mask: makeMask(...numericInputs(10))
|
|
1912
|
-
},
|
|
1913
|
-
guidanceText: {
|
|
1914
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1915
|
-
values: {
|
|
1916
|
-
example: "2020123456",
|
|
1917
|
-
idType: "Daňové identifikačné číslo (DIČ)"
|
|
1918
|
-
}
|
|
1919
|
-
}
|
|
1920
|
-
};
|
|
1921
|
-
}
|
|
1922
|
-
},
|
|
1923
|
-
[CountryCodes.Slovenia]: ({ companyType }) => {
|
|
1924
|
-
switch (companyType) {
|
|
1925
|
-
case LegalEntityTypes.INDIVIDUAL:
|
|
1926
|
-
return {
|
|
1927
|
-
label: "taxInformationNumber__SI_Individual",
|
|
1928
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{8}$/)], CountryCodes.Slovenia),
|
|
1929
|
-
mask: { mask: makeMask(...numericInputs(8)) },
|
|
1930
|
-
guidanceText: {
|
|
1931
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1932
|
-
values: {
|
|
1933
|
-
example: "15012557",
|
|
1934
|
-
idType: "SI tax number"
|
|
1935
|
-
}
|
|
1936
|
-
}
|
|
1937
|
-
};
|
|
1938
|
-
default:
|
|
1939
|
-
return {
|
|
1940
|
-
label: "taxInformationNumber__SI_Org",
|
|
1941
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{8}$/)], CountryCodes.Slovenia),
|
|
1942
|
-
mask: { mask: makeMask(...numericInputs(8)) },
|
|
1943
|
-
guidanceText: {
|
|
1944
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1945
|
-
values: {
|
|
1946
|
-
example: "12345678",
|
|
1947
|
-
idType: "Davčna številka"
|
|
1948
|
-
}
|
|
1949
|
-
}
|
|
1950
|
-
};
|
|
1951
|
-
}
|
|
1952
|
-
},
|
|
1953
|
-
[CountryCodes.UnitedKingdom]: ({ taxIdNumberType, companyType }) => {
|
|
1954
|
-
switch (companyType) {
|
|
1955
|
-
case LegalEntityTypes.INDIVIDUAL:
|
|
1956
|
-
switch (taxIdNumberType) {
|
|
1957
|
-
case "NINO":
|
|
1958
|
-
return {
|
|
1959
|
-
label: "nationalInsuranceNumber",
|
|
1960
|
-
validators: mapValidators(
|
|
1961
|
-
[validatePatternOnBlur(/^[A-Z]{2}\d{6}[A-D]$/)],
|
|
1962
|
-
CountryCodes.UnitedKingdom
|
|
1963
|
-
),
|
|
1964
|
-
guidanceText: {
|
|
1965
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1966
|
-
values: {
|
|
1967
|
-
example: "AA123456C",
|
|
1968
|
-
idType: "NINO"
|
|
1969
|
-
}
|
|
1970
|
-
}
|
|
1971
|
-
};
|
|
1972
|
-
default:
|
|
1973
|
-
return {
|
|
1974
|
-
label: "utr",
|
|
1975
|
-
validators: mapValidators(
|
|
1976
|
-
[validatePatternOnBlur(/^\d{10}$/)],
|
|
1977
|
-
CountryCodes.UnitedKingdom
|
|
1978
|
-
),
|
|
1979
|
-
mask: { mask: makeMask(...numericInputs(10)) },
|
|
1980
|
-
guidanceText: {
|
|
1981
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1982
|
-
values: {
|
|
1983
|
-
example: "7172510005",
|
|
1984
|
-
idType: "UTR"
|
|
1985
|
-
}
|
|
1986
|
-
}
|
|
1987
|
-
};
|
|
1988
|
-
}
|
|
1989
|
-
default:
|
|
1990
|
-
return {
|
|
1991
|
-
label: "utr",
|
|
1992
|
-
validators: mapValidators(
|
|
1993
|
-
[validatePatternOnBlur(/^\d{10}$/)],
|
|
1994
|
-
CountryCodes.UnitedKingdom
|
|
1995
|
-
),
|
|
1996
|
-
mask: { mask: makeMask(...numericInputs(10)) },
|
|
1997
|
-
guidanceText: {
|
|
1998
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1999
|
-
values: {
|
|
2000
|
-
example: "7172510005",
|
|
2001
|
-
idType: "UTR"
|
|
2002
|
-
}
|
|
2003
|
-
}
|
|
2004
|
-
};
|
|
2005
|
-
}
|
|
2006
|
-
},
|
|
2007
|
-
[CountryCodes.UnitedStates]: {
|
|
2008
|
-
label: "taxInformationNumber__US",
|
|
2009
|
-
validators: mapValidators(
|
|
2010
|
-
[validateNotEmptyOnBlur, validatePatternOnBlur(/^\d{9}$/)],
|
|
2011
|
-
CountryCodes.UnitedStates
|
|
2012
|
-
),
|
|
2013
|
-
mask: {
|
|
2014
|
-
mask: makeMask(...numericInputs(2), ...nonInputs(" - "), ...numericInputs(7))
|
|
2015
|
-
},
|
|
2016
|
-
guidanceText: {
|
|
2017
|
-
key: "validationPleaseEnterAValidEINWithFormat",
|
|
2018
|
-
values: {
|
|
2019
|
-
format: "XX-XXXXXXX",
|
|
2020
|
-
example: "98-7654321"
|
|
2021
|
-
}
|
|
2022
|
-
}
|
|
2023
|
-
},
|
|
2024
|
-
/**
|
|
2025
|
-
* NOT YET SUPPORTED
|
|
2026
|
-
* These are brought over from the old pattern files. We have no idea if they are accurate or not.
|
|
2027
|
-
* See https://en.wikipedia.org/wiki/VAT_identification_number
|
|
2028
|
-
*/
|
|
2029
|
-
[CountryCodes.India]: {
|
|
2030
|
-
validators: mapValidators([validatePatternOnBlur(/^[A-Z0-9]{15}$/)], CountryCodes.India)
|
|
2031
|
-
},
|
|
2032
|
-
[CountryCodes.Japan]: {
|
|
2033
|
-
label: "taxInformationNumber__JP",
|
|
2034
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{13}$/)], CountryCodes.Japan),
|
|
2035
|
-
guidanceText: {
|
|
2036
|
-
key: "enterNDigitsForExample",
|
|
2037
|
-
values: {
|
|
2038
|
-
numDigits: "13",
|
|
2039
|
-
example: "2169151989941"
|
|
2040
|
-
}
|
|
2041
|
-
}
|
|
2042
|
-
},
|
|
2043
|
-
[CountryCodes.Philippines]: {
|
|
2044
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{12}$/)], CountryCodes.Philippines)
|
|
2045
|
-
}
|
|
2046
|
-
};
|
|
2047
|
-
const exemptedFromTaxDefaultFieldConfig = {
|
|
2048
|
-
[CountryCodes.Australia]: {
|
|
2049
|
-
label: "doNotHaveAbn"
|
|
2050
|
-
}
|
|
2051
|
-
};
|
|
2052
|
-
const getTaxInformationPlaceholderText = ({
|
|
2053
|
-
country,
|
|
2054
|
-
companyType,
|
|
2055
|
-
taxIdNumberType
|
|
2056
|
-
}) => {
|
|
2057
|
-
switch (country) {
|
|
2058
|
-
case CountryCodes.Austria:
|
|
2059
|
-
return "931736581";
|
|
2060
|
-
case CountryCodes.Belgium:
|
|
2061
|
-
switch (companyType) {
|
|
2062
|
-
case LegalEntityTypes.INDIVIDUAL:
|
|
2063
|
-
return "99999999999";
|
|
2064
|
-
default:
|
|
2065
|
-
return "0123321123";
|
|
2066
|
-
}
|
|
2067
|
-
case CountryCodes.Croatia:
|
|
2068
|
-
return "94577403194";
|
|
2069
|
-
case CountryCodes.Cyprus:
|
|
2070
|
-
return "00123123T";
|
|
2071
|
-
case CountryCodes.Estonia:
|
|
2072
|
-
return "32708101201";
|
|
2073
|
-
case CountryCodes.Ethiopia:
|
|
2074
|
-
return "32708101201";
|
|
2075
|
-
case CountryCodes.Finland:
|
|
2076
|
-
return "131052-308T";
|
|
2077
|
-
case CountryCodes.France:
|
|
2078
|
-
return "30 23 217 600 053";
|
|
2079
|
-
case CountryCodes.Germany:
|
|
2080
|
-
switch (companyType) {
|
|
2081
|
-
case LegalEntityTypes.INDIVIDUAL:
|
|
2082
|
-
return "26954371827";
|
|
2083
|
-
default:
|
|
2084
|
-
return "14310260208";
|
|
2085
|
-
}
|
|
2086
|
-
case CountryCodes.Gibraltar:
|
|
2087
|
-
return "123456";
|
|
2088
|
-
case CountryCodes.Greece:
|
|
2089
|
-
return "244709851";
|
|
2090
|
-
case CountryCodes.Ireland:
|
|
2091
|
-
switch (companyType) {
|
|
2092
|
-
case LegalEntityTypes.INDIVIDUAL:
|
|
2093
|
-
return "1234567T";
|
|
2094
|
-
default:
|
|
2095
|
-
return "1497955KA";
|
|
2096
|
-
}
|
|
2097
|
-
case CountryCodes.Italy:
|
|
2098
|
-
return "12345678901";
|
|
2099
|
-
case CountryCodes.IsleOfMan:
|
|
2100
|
-
return "C155673-79";
|
|
2101
|
-
case CountryCodes.Latvia:
|
|
2102
|
-
return "32532963606";
|
|
2103
|
-
case CountryCodes.Lithuania:
|
|
2104
|
-
return "33309240064";
|
|
2105
|
-
case CountryCodes.Luxembourg:
|
|
2106
|
-
switch (companyType) {
|
|
2107
|
-
case LegalEntityTypes.INDIVIDUAL:
|
|
2108
|
-
return "1893120105732";
|
|
2109
|
-
default:
|
|
2110
|
-
return "19991201001";
|
|
2111
|
-
}
|
|
2112
|
-
case CountryCodes.Malta:
|
|
2113
|
-
switch (companyType) {
|
|
2114
|
-
case LegalEntityTypes.INDIVIDUAL:
|
|
2115
|
-
switch (taxIdNumberType) {
|
|
2116
|
-
case "NRU":
|
|
2117
|
-
return "999999999";
|
|
2118
|
-
default:
|
|
2119
|
-
return "1234567A";
|
|
2120
|
-
}
|
|
2121
|
-
default:
|
|
2122
|
-
return "999999999";
|
|
2123
|
-
}
|
|
2124
|
-
case CountryCodes.Netherlands:
|
|
2125
|
-
switch (companyType) {
|
|
2126
|
-
case LegalEntityTypes.INDIVIDUAL:
|
|
2127
|
-
return "999999999";
|
|
2128
|
-
default:
|
|
2129
|
-
return "811786523";
|
|
2130
|
-
}
|
|
2131
|
-
case CountryCodes.Portugal:
|
|
2132
|
-
return "299999998";
|
|
2133
|
-
case CountryCodes.Slovakia:
|
|
2134
|
-
switch (companyType) {
|
|
2135
|
-
case LegalEntityTypes.INDIVIDUAL:
|
|
2136
|
-
return "7711167420";
|
|
2137
|
-
default:
|
|
2138
|
-
return "2020123456";
|
|
2139
|
-
}
|
|
2140
|
-
case CountryCodes.Slovenia:
|
|
2141
|
-
switch (companyType) {
|
|
2142
|
-
case LegalEntityTypes.INDIVIDUAL:
|
|
2143
|
-
return "15012557";
|
|
2144
|
-
default:
|
|
2145
|
-
return "12345678";
|
|
2146
|
-
}
|
|
2147
|
-
case CountryCodes.UnitedKingdom:
|
|
2148
|
-
return "7172510005";
|
|
2149
|
-
case CountryCodes.Spain:
|
|
2150
|
-
return "99999999L";
|
|
2151
|
-
case CountryCodes.PuertoRico:
|
|
2152
|
-
case CountryCodes.UnitedStates:
|
|
2153
|
-
return "11-0000000";
|
|
2154
|
-
}
|
|
2155
|
-
};
|
|
2156
|
-
const getDocumentGuidancePrefix = (documentType) => {
|
|
2157
|
-
switch (documentType) {
|
|
2158
|
-
case "passport":
|
|
2159
|
-
return "passport";
|
|
2160
|
-
case "driversLicense":
|
|
2161
|
-
case "identityCard":
|
|
2162
|
-
return "id";
|
|
2163
|
-
case "bankStatement":
|
|
2164
|
-
case "vatDocument":
|
|
2165
|
-
case "registrationDocument":
|
|
2166
|
-
case "proofOfAddress":
|
|
2167
|
-
case "proofOfResidency":
|
|
2168
|
-
default:
|
|
2169
|
-
return "document";
|
|
2170
|
-
}
|
|
2171
|
-
};
|
|
2172
|
-
const documentBlurredImage = lazy(() => import("./document-blurred-BiWap0xs.js"));
|
|
2173
|
-
const documentCutOffImage = lazy(() => import("./document-cut-off-aQezqOif.js"));
|
|
2174
|
-
const documentExpiredImage = lazy(() => import("./document-expired-BhBXaWWQ.js"));
|
|
2175
|
-
const documentFrontImage = lazy(() => import("./document-front-DYuhZGeQ.js"));
|
|
2176
|
-
const idBlurredImage = lazy(() => import("./id-blurred-B5lHEP8M.js"));
|
|
2177
|
-
const idCutOffImage = lazy(() => import("./id-cut-off-Ba1FRzKO.js"));
|
|
2178
|
-
const idFrontImage = lazy(() => import("./id-front-CpNWN6nG.js"));
|
|
2179
|
-
const idGlareImage = lazy(() => import("./id-glare-DgCQON8k.js"));
|
|
2180
|
-
const passportBlurredImage = lazy(() => import("./passport-blurred-CVG493IJ.js"));
|
|
2181
|
-
const passportCutOffImage = lazy(() => import("./passport-cut-off-COzA_TmB.js"));
|
|
2182
|
-
const passportFrontImage = lazy(() => import("./passport-front-WJleLixT.js"));
|
|
2183
|
-
const passportGlareImage = lazy(() => import("./passport-glare-BP5WnJZj.js"));
|
|
2184
|
-
const documentMap = {
|
|
2185
|
-
"document-blurred": documentBlurredImage,
|
|
2186
|
-
"document-cutoff": documentCutOffImage,
|
|
2187
|
-
"document-expired": documentExpiredImage,
|
|
2188
|
-
"document-front": documentFrontImage,
|
|
2189
|
-
"id-blurred": idBlurredImage,
|
|
2190
|
-
"id-cutoff": idCutOffImage,
|
|
2191
|
-
"id-front": idFrontImage,
|
|
2192
|
-
"id-glare": idGlareImage,
|
|
2193
|
-
"passport-blurred": passportBlurredImage,
|
|
2194
|
-
"passport-cutoff": passportCutOffImage,
|
|
2195
|
-
"passport-front": passportFrontImage,
|
|
2196
|
-
"passport-glare": passportGlareImage
|
|
2197
|
-
};
|
|
2198
|
-
function DocumentGuidance({ type, className }) {
|
|
2199
|
-
const { t } = useTranslation("ui");
|
|
2200
|
-
const documentGuidanceItems = useMemo(() => {
|
|
2201
|
-
const guidancePrefix = getDocumentGuidancePrefix(type);
|
|
2202
|
-
const guidanceItems = [
|
|
2203
|
-
{ svgName: `${guidancePrefix}-front`, translationKey: "good", valid: true },
|
|
2204
|
-
{ svgName: `${guidancePrefix}-cutoff`, translationKey: "notCutOff" },
|
|
2205
|
-
{ svgName: `${guidancePrefix}-blurred`, translationKey: "notBlurry" },
|
|
2206
|
-
guidancePrefix === "document" ? { svgName: `document-expired`, translationKey: "notExpired" } : { svgName: `${guidancePrefix}-glare`, translationKey: "noGlare" }
|
|
2207
|
-
];
|
|
2208
|
-
return type === "constitutionalDocument" ? guidanceItems.filter((item) => item.svgName !== "document-expired") : guidanceItems;
|
|
2209
|
-
}, [type]);
|
|
2210
|
-
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: [
|
|
2211
|
-
/* @__PURE__ */ jsx(Image, { lazyLoadedImage: documentMap[item.svgName] }),
|
|
2212
|
-
/* @__PURE__ */ jsxs("figcaption", { className: "adyen-kyc-document-guidance__description", children: [
|
|
2213
|
-
item.valid ? /* @__PURE__ */ jsx(Icon, { name: "check", className: "adyen-kyc-document-guidance__icon" }) : /* @__PURE__ */ jsx(
|
|
2214
|
-
Icon,
|
|
2215
|
-
{
|
|
2216
|
-
name: "cross",
|
|
2217
|
-
className: "adyen-kyc-document-guidance__icon adyen-kyc-document-guidance__icon--invalid"
|
|
2218
|
-
}
|
|
2219
|
-
),
|
|
2220
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc-document-guidance__description-text", children: t(($) => $[item.translationKey]) })
|
|
2221
|
-
] })
|
|
2222
|
-
] }, item.translationKey)) }) });
|
|
2223
|
-
}
|
|
2224
|
-
const descriptionField = "adyen-kyc-description-field";
|
|
2225
|
-
const styles = {
|
|
2226
|
-
descriptionField
|
|
2227
|
-
};
|
|
2228
|
-
const DESCRIPTION_CHARACTERS_LIMIT = 200;
|
|
2229
|
-
function DocumentUpload({
|
|
2230
|
-
documentType,
|
|
2231
|
-
documentField,
|
|
2232
|
-
guidanceHeader,
|
|
2233
|
-
documentTypeSelect,
|
|
2234
|
-
guidanceContent,
|
|
2235
|
-
handleFieldChange,
|
|
2236
|
-
requiredFields,
|
|
2237
|
-
data: dataProp,
|
|
2238
|
-
valid: validProp,
|
|
2239
|
-
errors: errorProp,
|
|
2240
|
-
fieldValidationErrors: propFieldValidationErrors,
|
|
2241
|
-
supportsMultipleUploads,
|
|
2242
|
-
maxNumberOfFiles = 1,
|
|
2243
|
-
label,
|
|
2244
|
-
extraDropzoneDescription,
|
|
2245
|
-
hidePageCount,
|
|
2246
|
-
...props
|
|
2247
|
-
}) {
|
|
2248
|
-
const { t } = useTranslation("common");
|
|
2249
|
-
const [document, setDocument] = useState();
|
|
2250
|
-
const form = useForm({
|
|
2251
|
-
...props,
|
|
2252
|
-
schema: ["description"],
|
|
2253
|
-
defaultData: dataProp,
|
|
2254
|
-
rules: props.validators,
|
|
2255
|
-
fieldProblems: propFieldValidationErrors
|
|
2256
|
-
});
|
|
2257
|
-
const { handleChangeFor, triggerValidation, setData } = form;
|
|
2258
|
-
let { data, errors, valid, fieldProblems } = form;
|
|
2259
|
-
const formUtils = createFormUtils(props, t);
|
|
2260
|
-
const stateRef = useRef({ setState: null });
|
|
2261
|
-
const isOptional = !(props?.formVerificationErrors && Object.keys(props?.formVerificationErrors)?.length === 0);
|
|
2262
|
-
useEffect(() => {
|
|
2263
|
-
if (isOptional) {
|
|
2264
|
-
triggerValidation();
|
|
2265
|
-
}
|
|
2266
|
-
}, [dataProp]);
|
|
2267
|
-
useEffect(() => {
|
|
2268
|
-
stateRef.current.setState?.({
|
|
2269
|
-
type: "addToState",
|
|
2270
|
-
value: {
|
|
2271
|
-
data,
|
|
2272
|
-
valid,
|
|
2273
|
-
errors,
|
|
2274
|
-
fieldProblems,
|
|
2275
|
-
dataStoreId: props.id,
|
|
2276
|
-
schema: requiredFields
|
|
2277
|
-
}
|
|
2278
|
-
});
|
|
2279
|
-
}, [data, valid, errors, fieldProblems]);
|
|
2280
|
-
useEffect(() => {
|
|
2281
|
-
setDocument({
|
|
2282
|
-
[documentField]: dataProp?.[documentField]
|
|
2283
|
-
});
|
|
2284
|
-
setData("description", dataProp?.description);
|
|
2285
|
-
triggerValidation();
|
|
2286
|
-
}, [dataProp]);
|
|
2287
|
-
if (handleFieldChange && requiredFields && propFieldValidationErrors) {
|
|
2288
|
-
data = dataProp ?? {};
|
|
2289
|
-
errors = errorProp;
|
|
2290
|
-
valid = validProp;
|
|
2291
|
-
fieldProblems = propFieldValidationErrors;
|
|
2292
|
-
}
|
|
2293
|
-
const handleInput = (e) => {
|
|
2294
|
-
handleChangeFor("description")(e);
|
|
2295
|
-
if (handleFieldChange) {
|
|
2296
|
-
handleFieldChange?.("description")(e);
|
|
2297
|
-
}
|
|
2298
|
-
};
|
|
2299
|
-
return /* @__PURE__ */ jsxs(
|
|
2300
|
-
"div",
|
|
2301
|
-
{
|
|
2302
|
-
className: `adyen-kyc-company-document-upload adyen-kyc-company-document-upload--${documentField}`,
|
|
2303
|
-
children: [
|
|
2304
|
-
/* @__PURE__ */ jsx(StateContextSetter, { owner: props.id, stateRef }),
|
|
2305
|
-
props.heading && /* @__PURE__ */ jsx(Header, { title: props.heading, description: props.description }),
|
|
2306
|
-
/* @__PURE__ */ jsx(
|
|
2307
|
-
ErrorPanel,
|
|
2308
|
-
{
|
|
2309
|
-
verificationErrors: props?.formVerificationErrors,
|
|
2310
|
-
validationErrors: propFieldValidationErrors,
|
|
2311
|
-
formUtils,
|
|
2312
|
-
id: "ariaErrorField"
|
|
2313
|
-
}
|
|
2314
|
-
),
|
|
2315
|
-
formUtils.isRequiredField(documentField) && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2316
|
-
guidanceHeader,
|
|
2317
|
-
documentTypeSelect && /* @__PURE__ */ jsx(Field, { name: "documentType", label: t(($) => $["selectDocumentType"]), children: (childProps) => /* @__PURE__ */ jsx(
|
|
2318
|
-
Select,
|
|
2319
|
-
{
|
|
2320
|
-
...childProps,
|
|
2321
|
-
onChange: (e) => documentTypeSelect.setSelectedType(e.target.value),
|
|
2322
|
-
name: "documentType",
|
|
2323
|
-
placeholder: t(($) => $["selectDocument"]),
|
|
2324
|
-
selected: documentTypeSelect.selectedType,
|
|
2325
|
-
items: documentTypeSelect.options.map(({ id, name }) => ({
|
|
2326
|
-
id,
|
|
2327
|
-
name: t(($) => $[name])
|
|
2328
|
-
}))
|
|
2329
|
-
}
|
|
2330
|
-
) }),
|
|
2331
|
-
/* @__PURE__ */ jsx("div", { children: guidanceContent }),
|
|
2332
|
-
/* @__PURE__ */ jsx(DocumentGuidance, { type: documentType, className: "adyen-kyc-u-margin-bottom-24" }),
|
|
2333
|
-
/* @__PURE__ */ jsx(
|
|
2334
|
-
Dropzone,
|
|
2335
|
-
{
|
|
2336
|
-
defaultData: document ?? data,
|
|
2337
|
-
id: props.id,
|
|
2338
|
-
isOptional: isOptional || formUtils.isOptionalField(documentField),
|
|
2339
|
-
maxSize: documentType === "constitutionalDocument" ? 31457280 : void 0,
|
|
2340
|
-
name: documentField,
|
|
2341
|
-
shouldValidate: props.shouldValidate,
|
|
2342
|
-
handleFieldChange,
|
|
2343
|
-
errors,
|
|
2344
|
-
fieldValidationErrors: fieldProblems,
|
|
2345
|
-
valid,
|
|
2346
|
-
multiple: supportsMultipleUploads,
|
|
2347
|
-
maxNumberOfFiles: maxNumberOfFiles ?? 1,
|
|
2348
|
-
label,
|
|
2349
|
-
extraDropzoneDescription,
|
|
2350
|
-
hidePageCount
|
|
2351
|
-
}
|
|
2352
|
-
)
|
|
2353
|
-
] }),
|
|
2354
|
-
formUtils.isRequiredField("description") && /* @__PURE__ */ jsx("div", { className: styles.descriptionField, children: /* @__PURE__ */ jsx(
|
|
2355
|
-
Field,
|
|
2356
|
-
{
|
|
2357
|
-
name: "description",
|
|
2358
|
-
label: formUtils.getLabel("descriptionOptional"),
|
|
2359
|
-
errorMessage: formUtils.getErrorMessage("description", errors, fieldProblems),
|
|
2360
|
-
isValid: valid.description,
|
|
2361
|
-
children: (childProps) => /* @__PURE__ */ jsx(
|
|
2362
|
-
TextArea,
|
|
2363
|
-
{
|
|
2364
|
-
...childProps,
|
|
2365
|
-
name: "description",
|
|
2366
|
-
value: data.description,
|
|
2367
|
-
maxLength: DESCRIPTION_CHARACTERS_LIMIT,
|
|
2368
|
-
onInput: handleInput,
|
|
2369
|
-
"aria-invalid": !valid.description,
|
|
2370
|
-
handleFieldChange: handleInput,
|
|
2371
|
-
errors,
|
|
2372
|
-
fieldValidationErrors: fieldProblems,
|
|
2373
|
-
valid
|
|
2374
|
-
}
|
|
2375
|
-
)
|
|
2376
|
-
}
|
|
2377
|
-
) })
|
|
2378
|
-
]
|
|
2379
|
-
}
|
|
2380
|
-
);
|
|
2381
|
-
}
|
|
2382
|
-
const MemoizedDocumentUpload = memo(
|
|
2383
|
-
DocumentUpload,
|
|
2384
|
-
(prevProps, nextProps) => prevProps.shouldValidate === nextProps.shouldValidate && objectsDeepEqual(prevProps.requiredFields, nextProps.requiredFields) && objectsDeepEqual(prevProps.errors, nextProps.errors) && objectsDeepEqual(prevProps.optionalFields, nextProps.optionalFields) && objectsDeepEqual(prevProps.data, nextProps.data) && objectsDeepEqual(prevProps.formVerificationErrors, nextProps.formVerificationErrors) && objectsDeepEqual(prevProps.fieldValidationErrors, nextProps.fieldValidationErrors) && objectsDeepEqual(prevProps.documentTypeSelect, nextProps.documentTypeSelect) && prevProps.documentField === nextProps.documentField && prevProps.name === nextProps.name && prevProps.country === nextProps.country && prevProps.companyType === nextProps.companyType
|
|
2385
|
-
);
|
|
2386
|
-
const countryToTaxInfoTypeMap = {
|
|
2387
|
-
US: "EIN",
|
|
2388
|
-
AU: "ABN",
|
|
2389
|
-
NZ: "IRD",
|
|
2390
|
-
HK: "BRN",
|
|
2391
|
-
SG: "GST"
|
|
2392
|
-
};
|
|
2393
|
-
const isFinancialInformationRequired = (isFinancialInformationFeatureEnabled, taskType, country, capabilities, legalEntityType) => {
|
|
2394
|
-
const isOrganization = legalEntityType === LegalEntityTypes.ORGANIZATION;
|
|
2395
|
-
if (!isFinancialInformationFeatureEnabled || !COUNTRIES_REQUIRING_FINANCIAL_INFORMATION.includes(country)) {
|
|
2396
|
-
return void 0;
|
|
2397
|
-
}
|
|
2398
|
-
if (country === CountryCodes.UnitedKingdom && (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY || taskType === TaskTypes.BUSINESS_DETAILS)) {
|
|
2399
|
-
return "REQUIRED";
|
|
2400
|
-
}
|
|
2401
|
-
if (taskType === TaskTypes.BUSINESS_DETAILS && isOrganization) {
|
|
2402
|
-
if (keysOf(capabilities ?? {}).some((capability) => capability === "issueBankAccount")) {
|
|
2403
|
-
return "REQUIRED";
|
|
2404
|
-
}
|
|
2405
|
-
}
|
|
2406
|
-
return void 0;
|
|
2407
|
-
};
|
|
2408
|
-
function requestingIssuing(rootLegalEntity) {
|
|
2409
|
-
const capabilities = rootLegalEntity?.capabilities ?? {};
|
|
2410
|
-
return "issueCard" in capabilities && capabilities.issueCard?.requested === true || "issueCardConsumer" in capabilities && capabilities.issueCardConsumer?.requested === true || "issueCardCommercial" in capabilities && capabilities.issueCardCommercial?.requested === true || "useCard" in capabilities && capabilities.useCard?.requested === true || "useCardConsumer" in capabilities && capabilities.useCardConsumer?.requested === true || "useCardCommercial" in capabilities && capabilities.useCardCommercial?.requested === true;
|
|
2411
|
-
}
|
|
2412
|
-
function requestingBanking(rootLegalEntity) {
|
|
2413
|
-
const capabilities = rootLegalEntity?.capabilities ?? {};
|
|
2414
|
-
return "issueBankAccount" in capabilities && capabilities.issueBankAccount?.requested === true || "sendToThirdParty" in capabilities && capabilities.sendToThirdParty?.requested === true || "receiveFromThirdParty" in capabilities && capabilities.receiveFromThirdParty?.requested === true;
|
|
2415
|
-
}
|
|
2416
|
-
const COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION = [
|
|
2417
|
-
CountryCodes.Australia,
|
|
2418
|
-
CountryCodes.Gibraltar,
|
|
2419
|
-
CountryCodes.Guernsey,
|
|
2420
|
-
CountryCodes.HongKong,
|
|
2421
|
-
CountryCodes.Ireland,
|
|
2422
|
-
CountryCodes.IsleOfMan,
|
|
2423
|
-
CountryCodes.Jersey,
|
|
2424
|
-
CountryCodes.Malta,
|
|
2425
|
-
CountryCodes.PuertoRico,
|
|
2426
|
-
CountryCodes.Spain,
|
|
2427
|
-
CountryCodes.UnitedKingdom,
|
|
2428
|
-
CountryCodes.UnitedStates
|
|
2429
|
-
];
|
|
2430
|
-
const COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION = [
|
|
2431
|
-
CountryCodes.HongKong,
|
|
2432
|
-
CountryCodes.PuertoRico,
|
|
2433
|
-
CountryCodes.UnitedStates
|
|
2434
|
-
];
|
|
2435
|
-
const COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_ORGANIZATIONS = [
|
|
2436
|
-
CountryCodes.HongKong
|
|
2437
|
-
];
|
|
2438
|
-
const COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS = [
|
|
2439
|
-
CountryCodes.Austria,
|
|
2440
|
-
CountryCodes.Canada,
|
|
2441
|
-
CountryCodes.Finland,
|
|
2442
|
-
CountryCodes.Germany,
|
|
2443
|
-
CountryCodes.Lithuania,
|
|
2444
|
-
CountryCodes.Luxembourg,
|
|
2445
|
-
CountryCodes.NewZealand,
|
|
2446
|
-
CountryCodes.Poland,
|
|
2447
|
-
CountryCodes.Sweden,
|
|
2448
|
-
CountryCodes.Switzerland
|
|
2449
|
-
];
|
|
2450
|
-
const COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER = [
|
|
2451
|
-
CountryCodes.Canada,
|
|
2452
|
-
CountryCodes.UnitedStates
|
|
2453
|
-
];
|
|
2454
|
-
const COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS = [
|
|
2455
|
-
CountryCodes.Germany
|
|
2456
|
-
];
|
|
2457
|
-
const COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT = [
|
|
2458
|
-
CountryCodes.Australia,
|
|
2459
|
-
CountryCodes.Canada,
|
|
2460
|
-
CountryCodes.Gibraltar,
|
|
2461
|
-
CountryCodes.HongKong,
|
|
2462
|
-
CountryCodes.NewZealand,
|
|
2463
|
-
CountryCodes.PuertoRico,
|
|
2464
|
-
CountryCodes.Singapore,
|
|
2465
|
-
CountryCodes.UnitedStates,
|
|
2466
|
-
CountryCodes.Guernsey,
|
|
2467
|
-
CountryCodes.Jersey,
|
|
2468
|
-
CountryCodes.IsleOfMan,
|
|
2469
|
-
CountryCodes.Mexico,
|
|
2470
|
-
CountryCodes.Brazil,
|
|
2471
|
-
CountryCodes.Japan
|
|
2472
|
-
];
|
|
2473
|
-
const COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP = [
|
|
2474
|
-
CountryCodes.Singapore
|
|
2475
|
-
];
|
|
2476
|
-
const COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES = [
|
|
2477
|
-
// strictly a subset of countries which use tax ID
|
|
2478
|
-
// right now in all countries companies must provide a tax ID - but maybe there will be exemptions in future?
|
|
2479
|
-
];
|
|
2480
|
-
const COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS = [
|
|
2481
|
-
// strictly a subset of countries which use tax ID
|
|
2482
|
-
CountryCodes.Canada,
|
|
2483
|
-
CountryCodes.PuertoRico,
|
|
2484
|
-
CountryCodes.UnitedStates
|
|
2485
|
-
];
|
|
2486
|
-
const COUNTRIES_THAT_REQUIRE_DATE_OF_INCORPORATION = [
|
|
2487
|
-
CountryCodes.HongKong,
|
|
2488
|
-
CountryCodes.Singapore
|
|
2489
|
-
];
|
|
2490
|
-
const COUNTRIES_THAT_USES_UEN_OR_GST = [CountryCodes.Singapore];
|
|
2491
|
-
const COUNTRIES_USING_COMPANY_SEARCH = [
|
|
2492
|
-
CountryCodes.UnitedStates
|
|
2493
|
-
];
|
|
2494
|
-
const COUNTRY_OF_GOVERNING_LAW_POSSIBLE = [
|
|
2495
|
-
CountryCodes.UnitedKingdom
|
|
2496
|
-
];
|
|
2497
|
-
const COUNTRIES_REQUIRING_FINANCIAL_INFORMATION = [
|
|
2498
|
-
CountryCodes.Austria,
|
|
2499
|
-
CountryCodes.Belgium,
|
|
2500
|
-
CountryCodes.Croatia,
|
|
2501
|
-
CountryCodes.Cyprus,
|
|
2502
|
-
CountryCodes.Estonia,
|
|
2503
|
-
CountryCodes.Finland,
|
|
2504
|
-
CountryCodes.France,
|
|
2505
|
-
CountryCodes.Germany,
|
|
2506
|
-
CountryCodes.Greece,
|
|
2507
|
-
CountryCodes.Ireland,
|
|
2508
|
-
CountryCodes.Italy,
|
|
2509
|
-
CountryCodes.Latvia,
|
|
2510
|
-
CountryCodes.Lithuania,
|
|
2511
|
-
CountryCodes.Luxembourg,
|
|
2512
|
-
CountryCodes.Malta,
|
|
2513
|
-
CountryCodes.Netherlands,
|
|
2514
|
-
CountryCodes.Portugal,
|
|
2515
|
-
CountryCodes.Slovakia,
|
|
2516
|
-
CountryCodes.Slovenia,
|
|
2517
|
-
CountryCodes.Spain,
|
|
2518
|
-
CountryCodes.UnitedKingdom
|
|
2519
|
-
];
|
|
2520
|
-
const COUNTRIES_REQUIRING_E_INVOICING_CODE = [
|
|
2521
|
-
/**
|
|
2522
|
-
* @description These are the countries for which E-Invoicing code is a compliance requirement. There will be more in the future.
|
|
2523
|
-
*/
|
|
2524
|
-
CountryCodes.Italy
|
|
2525
|
-
];
|
|
2526
|
-
const COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4 = [
|
|
2527
|
-
CountryCodes.Australia
|
|
2528
|
-
];
|
|
2529
|
-
const TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION = [
|
|
2530
|
-
// The following countries are commented out just to make it more clear that these
|
|
2531
|
-
// use tax id but since it's the same field as business registration we don't want
|
|
2532
|
-
// to remove those here and have a bad ux. So instead in the map schema part
|
|
2533
|
-
// we copy over the values to the taxinformation object
|
|
2534
|
-
// CountryCodes.Estonia,
|
|
2535
|
-
// CountryCodes.Finland,
|
|
2536
|
-
// CountryCodes.France,
|
|
2537
|
-
// CountryCodes.Italy,
|
|
2538
|
-
// CountryCodes.Latvia,
|
|
2539
|
-
// CountryCodes.Lithuania,
|
|
2540
|
-
// CountryCodes.Portugal,
|
|
2541
|
-
// CountryCodes.Spain,
|
|
2542
|
-
CountryCodes.Austria,
|
|
2543
|
-
CountryCodes.Belgium,
|
|
2544
|
-
CountryCodes.Croatia,
|
|
2545
|
-
CountryCodes.Cyprus,
|
|
2546
|
-
CountryCodes.Germany,
|
|
2547
|
-
CountryCodes.Greece,
|
|
2548
|
-
CountryCodes.Ireland,
|
|
2549
|
-
CountryCodes.Luxembourg,
|
|
2550
|
-
CountryCodes.Malta,
|
|
2551
|
-
CountryCodes.Netherlands,
|
|
2552
|
-
CountryCodes.Slovakia,
|
|
2553
|
-
CountryCodes.Slovenia,
|
|
2554
|
-
CountryCodes.UnitedKingdom
|
|
2555
|
-
];
|
|
2556
|
-
function isUsingCompanySearch(country, taskType) {
|
|
2557
|
-
return taskType === TaskTypes.BUSINESS_DETAILS && COUNTRIES_USING_COMPANY_SEARCH.includes(country);
|
|
2558
|
-
}
|
|
2559
|
-
const isRegistrationNumberAbsentStateV4Scenario = (country, entityType) => {
|
|
2560
|
-
return country === CountryCodes.Australia && (entityType === CompanyTypesValues.GOVERNMENTAL_ORGANIZATION || entityType === CompanyTypesValues.INCORPORATED_PARTNERSHIP) || country === CountryCodes.NewZealand;
|
|
2561
|
-
};
|
|
2562
|
-
const rules = ({
|
|
2563
|
-
data,
|
|
2564
|
-
defaultData,
|
|
2565
|
-
country,
|
|
2566
|
-
taskType,
|
|
2567
|
-
isFeatureEnabled = () => false,
|
|
2568
|
-
isSettingEnabled = () => false,
|
|
2569
|
-
accountHolder,
|
|
2570
|
-
rootLegalEntity,
|
|
2571
|
-
tinMatched
|
|
2572
|
-
}) => {
|
|
2573
|
-
const countryRequiresDateOfIncorporationForCompanies = () => {
|
|
2574
|
-
if (COUNTRIES_THAT_REQUIRE_DATE_OF_INCORPORATION.includes(country)) {
|
|
2575
|
-
return "REQUIRED";
|
|
2576
|
-
}
|
|
2577
|
-
};
|
|
2578
|
-
const countryRequiresFinancialInformation = () => {
|
|
2579
|
-
if (isFeatureEnabled("EnableFinancialInformationComponentV4") && COUNTRIES_REQUIRING_FINANCIAL_INFORMATION.includes(country)) {
|
|
2580
|
-
const isFinancialInformationFeatureEnabled = isFeatureEnabled(
|
|
2581
|
-
"EnableFinancialInformationComponentV4"
|
|
2582
|
-
);
|
|
2583
|
-
const leType = rootLegalEntity?.type;
|
|
2584
|
-
return isFinancialInformationRequired(
|
|
2585
|
-
isFinancialInformationFeatureEnabled,
|
|
2586
|
-
taskType,
|
|
2587
|
-
country,
|
|
2588
|
-
rootLegalEntity?.capabilities,
|
|
2589
|
-
leType
|
|
2590
|
-
);
|
|
2591
|
-
}
|
|
2592
|
-
};
|
|
2593
|
-
return createFormRules({
|
|
2594
|
-
requireDoingBusinessAsName: () => {
|
|
2595
|
-
return data.additionalInformation?.hasDoingBusinessAs ? "REQUIRED" : void 0;
|
|
2596
|
-
},
|
|
2597
|
-
countryRequiresStateOrProvince: () => {
|
|
2598
|
-
if (COUNTRIES_WITH_STATES_DATASET.includes(country)) {
|
|
2599
|
-
return "REQUIRED";
|
|
2600
|
-
}
|
|
2601
|
-
},
|
|
2602
|
-
ifPubliclyTradedCompany: () => {
|
|
2603
|
-
if (data.companyStructure?.entityType === CompanyTypesValues.PUBLIC_COMPANY) {
|
|
2604
|
-
return "REQUIRED";
|
|
2605
|
-
}
|
|
2606
|
-
},
|
|
2607
|
-
countryUsesVat: () => {
|
|
2608
|
-
if (!COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country)) {
|
|
2609
|
-
return data.additionalInformation?.exemptedFromVat ? "OPTIONAL" : "REQUIRED";
|
|
2610
|
-
}
|
|
2611
|
-
},
|
|
2612
|
-
vatNumberType: () => {
|
|
2613
|
-
if (!COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country)) {
|
|
2614
|
-
return "OPTIONAL";
|
|
2615
|
-
}
|
|
2616
|
-
},
|
|
2617
|
-
isVatExempt: () => {
|
|
2618
|
-
if (!COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country)) {
|
|
2619
|
-
return data.additionalInformation?.exemptedFromVat ? "REQUIRED" : "OPTIONAL";
|
|
2620
|
-
}
|
|
2621
|
-
},
|
|
2622
|
-
countryUsesTaxId: () => {
|
|
2623
|
-
const isExemptFromTax = Boolean(
|
|
2624
|
-
data.basicInformation?.exemptedFromTax ?? data.additionalInformation?.exemptedFromTax
|
|
2625
|
-
);
|
|
2626
|
-
const isOrgWithBanking = rootLegalEntity?.type === "organization" && // SOE-5931 - TODO: investigate L scenario returned to show this on the backend
|
|
2627
|
-
keysOf(rootLegalEntity.capabilities ?? {}).includes("issueBankAccount");
|
|
2628
|
-
if (TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION.includes(country) && isOrgWithBanking) {
|
|
2629
|
-
return isExemptFromTax ? "OPTIONAL" : "REQUIRED";
|
|
2630
|
-
}
|
|
2631
|
-
if (country === CountryCodes.Italy && isOrgWithBanking && data.additionalInformation?.registrationNumberType === "CCIAA") {
|
|
2632
|
-
return isExemptFromTax ? "OPTIONAL" : "REQUIRED";
|
|
2633
|
-
}
|
|
2634
|
-
if (COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country) && !(taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY && COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP.includes(country))) {
|
|
2635
|
-
return isExemptFromTax ? "OPTIONAL" : "REQUIRED";
|
|
2636
|
-
}
|
|
2637
|
-
},
|
|
2638
|
-
companyRegistrationNumberExemptionAllowed: () => {
|
|
2639
|
-
const isExemptFromRegistrationNumber = Boolean(
|
|
2640
|
-
data.basicInformation?.exemptedFromRegistrationNumber ?? data.additionalInformation?.exemptedFromRegistrationNumber
|
|
2641
|
-
);
|
|
2642
|
-
if (isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4") && isRegistrationNumberAbsentStateV4Scenario(country, data.companyStructure?.entityType)) {
|
|
2643
|
-
return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
|
|
2644
|
-
}
|
|
2645
|
-
switch (taskType) {
|
|
2646
|
-
case TaskTypes.SOLE_PROPRIETOR_COMPANY: {
|
|
2647
|
-
if (!COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS.includes(country))
|
|
2648
|
-
return;
|
|
2649
|
-
return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
|
|
2650
|
-
}
|
|
2651
|
-
default: {
|
|
2652
|
-
switch (country) {
|
|
2653
|
-
case CountryCodes.Germany: {
|
|
2654
|
-
if (data.companyStructure?.entityType === CompanyTypesValues.GOVERNMENTAL_ORGANIZATION || data.companyStructure?.entityType === CompanyTypesValues.NON_PROFIT_OR_CHARITABLE) {
|
|
2655
|
-
return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
|
|
2656
|
-
}
|
|
2657
|
-
return;
|
|
2658
|
-
}
|
|
2659
|
-
case CountryCodes.Denmark: {
|
|
2660
|
-
if (data.companyStructure?.entityType === CompanyTypesValues.NON_PROFIT_OR_CHARITABLE) {
|
|
2661
|
-
return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
|
|
2662
|
-
}
|
|
2663
|
-
return;
|
|
2664
|
-
}
|
|
2665
|
-
// We're no longer collecting registration numbers for new HK entities, but for existing,
|
|
2666
|
-
// we want to offer the exemption if they have a registration number attached. See OXP-7075
|
|
2667
|
-
case CountryCodes.HongKong: {
|
|
2668
|
-
if (country === CountryCodes.HongKong && !defaultData?.additionalInformation?.registrationNumber)
|
|
2669
|
-
return;
|
|
2670
|
-
return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
|
|
2671
|
-
}
|
|
2672
|
-
default: {
|
|
2673
|
-
if (!COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_ORGANIZATIONS.includes(country))
|
|
2674
|
-
return;
|
|
2675
|
-
return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
|
|
2676
|
-
}
|
|
2677
|
-
}
|
|
2678
|
-
}
|
|
2679
|
-
}
|
|
2680
|
-
},
|
|
2681
|
-
countryOfGoverningLawRequired: () => {
|
|
2682
|
-
if (isFeatureEnabled("EnableCountryOfGoverningLawForUKCompanies") && COUNTRY_OF_GOVERNING_LAW_POSSIBLE.includes(data.basicInformation?.country)) {
|
|
2683
|
-
return "REQUIRED";
|
|
2684
|
-
}
|
|
2685
|
-
},
|
|
2686
|
-
countryRequiresRegistrationNumber: () => {
|
|
2687
|
-
const isExemptFromRegistrationNumber = Boolean(
|
|
2688
|
-
data.basicInformation?.exemptedFromRegistrationNumber ?? data.additionalInformation?.exemptedFromRegistrationNumber
|
|
2689
|
-
);
|
|
2690
|
-
switch (taskType) {
|
|
2691
|
-
case TaskTypes.SOLE_PROPRIETOR_COMPANY: {
|
|
2692
|
-
if (COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION.includes(country)) return;
|
|
2693
|
-
if (COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS.includes(country)) {
|
|
2694
|
-
return "OPTIONAL";
|
|
2695
|
-
}
|
|
2696
|
-
return isExemptFromRegistrationNumber ? "OPTIONAL" : "REQUIRED";
|
|
2697
|
-
}
|
|
2698
|
-
default: {
|
|
2699
|
-
if (COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER.includes(country)) {
|
|
2700
|
-
return "OPTIONAL";
|
|
2701
|
-
}
|
|
2702
|
-
if (country === CountryCodes.HongKong) {
|
|
2703
|
-
if (!defaultData?.additionalInformation?.registrationNumber) return;
|
|
2704
|
-
return isExemptFromRegistrationNumber ? "OPTIONAL" : "REQUIRED";
|
|
2705
|
-
}
|
|
2706
|
-
if (!COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION.includes(country)) {
|
|
2707
|
-
return isExemptFromRegistrationNumber ? "OPTIONAL" : "REQUIRED";
|
|
2708
|
-
}
|
|
2709
|
-
}
|
|
2710
|
-
}
|
|
2711
|
-
},
|
|
2712
|
-
registrationNumberType: () => {
|
|
2713
|
-
switch (taskType) {
|
|
2714
|
-
case TaskTypes.SOLE_PROPRIETOR_COMPANY: {
|
|
2715
|
-
if (COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION.includes(country)) return;
|
|
2716
|
-
return "OPTIONAL";
|
|
2717
|
-
}
|
|
2718
|
-
default: {
|
|
2719
|
-
if (COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER.includes(country)) {
|
|
2720
|
-
return "OPTIONAL";
|
|
2721
|
-
}
|
|
2722
|
-
if (COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION.includes(country)) return;
|
|
2723
|
-
return "OPTIONAL";
|
|
2724
|
-
}
|
|
2725
|
-
}
|
|
2726
|
-
},
|
|
2727
|
-
countryUsesUenOrGst: () => {
|
|
2728
|
-
if (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY) {
|
|
2729
|
-
return;
|
|
2730
|
-
}
|
|
2731
|
-
if (COUNTRIES_THAT_USES_UEN_OR_GST.includes(country)) {
|
|
2732
|
-
return "REQUIRED";
|
|
2733
|
-
}
|
|
2734
|
-
},
|
|
2735
|
-
countryHasTaxExemptions: () => {
|
|
2736
|
-
const isExemptFromTax = Boolean(
|
|
2737
|
-
data.basicInformation?.exemptedFromTax ?? data.additionalInformation?.exemptedFromTax
|
|
2738
|
-
);
|
|
2739
|
-
switch (taskType) {
|
|
2740
|
-
case TaskTypes.SOLE_PROPRIETOR_COMPANY: {
|
|
2741
|
-
if (!COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS.includes(country)) return;
|
|
2742
|
-
return isExemptFromTax ? "REQUIRED" : "OPTIONAL";
|
|
2743
|
-
}
|
|
2744
|
-
default: {
|
|
2745
|
-
if (isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4") && COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4.includes(country) && accountHolder === "aTrust") {
|
|
2746
|
-
return isExemptFromTax ? "REQUIRED" : "OPTIONAL";
|
|
2747
|
-
}
|
|
2748
|
-
if (COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES.includes(country)) {
|
|
2749
|
-
return isExemptFromTax ? "REQUIRED" : "OPTIONAL";
|
|
2750
|
-
}
|
|
2751
|
-
}
|
|
2752
|
-
}
|
|
2753
|
-
},
|
|
2754
|
-
usingCompanySearch: () => {
|
|
2755
|
-
if (isUsingCompanySearch(country, taskType)) {
|
|
2756
|
-
return "REQUIRED";
|
|
2757
|
-
}
|
|
2758
|
-
},
|
|
2759
|
-
countryRequiresFinancialInformation,
|
|
2760
|
-
isDateOfIncorporationRequired: () => {
|
|
2761
|
-
return countryRequiresDateOfIncorporationForCompanies() || countryRequiresFinancialInformation();
|
|
2762
|
-
},
|
|
2763
|
-
isFinancialReportingFieldsRequired: () => {
|
|
2764
|
-
return countryRequiresFinancialInformation() === "REQUIRED" && isDateOlderThanAYear(data.additionalInformation?.dateOfIncorporation) ? "REQUIRED" : void 0;
|
|
2765
|
-
},
|
|
2766
|
-
isIndustryCodeRequired: () => {
|
|
2767
|
-
const needsBusinessLine = requestingIssuing(rootLegalEntity) || requestingBanking(rootLegalEntity);
|
|
2768
|
-
if (isSettingEnabled(SettingNames.AllowBusinessLines) && needsBusinessLine) {
|
|
2769
|
-
return "REQUIRED";
|
|
2770
|
-
}
|
|
2771
|
-
},
|
|
2772
|
-
annualTurnoverRequired: () => {
|
|
2773
|
-
if (data.companyFinancialInformation?.reportedValueOption === "annualTurnover") {
|
|
2774
|
-
return "REQUIRED";
|
|
2775
|
-
}
|
|
2776
|
-
},
|
|
2777
|
-
balanceSheetTotalRequired: () => {
|
|
2778
|
-
if (data.companyFinancialInformation?.reportedValueOption === "balanceSheetTotal") {
|
|
2779
|
-
return "REQUIRED";
|
|
2780
|
-
}
|
|
2781
|
-
},
|
|
2782
|
-
isEInvoicingCodeEnabled: () => {
|
|
2783
|
-
if (isFeatureEnabled("EnableEInvoicingCodeField") && COUNTRIES_REQUIRING_E_INVOICING_CODE.includes(country)) {
|
|
2784
|
-
return "REQUIRED";
|
|
2785
|
-
}
|
|
2786
|
-
},
|
|
2787
|
-
ifCountryUsAndTinFailed: () => {
|
|
2788
|
-
if (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY) {
|
|
2789
|
-
return;
|
|
2790
|
-
}
|
|
2791
|
-
if (tinMatched === false && country === CountryCodes.UnitedStates) {
|
|
2792
|
-
return "REQUIRED";
|
|
2793
|
-
}
|
|
2794
|
-
},
|
|
2795
|
-
businessRequiresCompanyType: () => {
|
|
2796
|
-
if (taskType !== TaskTypes.SOLE_PROPRIETOR_COMPANY) {
|
|
2797
|
-
return "REQUIRED";
|
|
2798
|
-
}
|
|
2799
|
-
},
|
|
2800
|
-
japaneseLegalCompanyName: () => {
|
|
2801
|
-
if (isJapanLocalizationEnabled(isFeatureEnabled, country)) {
|
|
2802
|
-
return "REQUIRED";
|
|
2803
|
-
}
|
|
2804
|
-
}
|
|
2805
|
-
});
|
|
2806
|
-
};
|
|
2807
|
-
const taxIdNumberOptions = {
|
|
2808
|
-
[CountryCodes.Australia]: [
|
|
2809
|
-
{
|
|
2810
|
-
id: "ABN",
|
|
2811
|
-
name: "australianBusinessNumberAbn"
|
|
2812
|
-
}
|
|
2813
|
-
],
|
|
2814
|
-
[CountryCodes.Austria]: [
|
|
2815
|
-
{
|
|
2816
|
-
id: "STEUERNUMMER",
|
|
2817
|
-
name: "taxInformationNumber__AT"
|
|
2818
|
-
}
|
|
2819
|
-
],
|
|
2820
|
-
[CountryCodes.Belgium]: [
|
|
2821
|
-
{
|
|
2822
|
-
id: "BUSINESS_NUMMER",
|
|
2823
|
-
name: "businessNumber",
|
|
2824
|
-
applicableOnlyFor: [
|
|
2825
|
-
CompanyTypesValues.SOLE_PROPRIETORSHIP,
|
|
2826
|
-
CompanyTypesValues.PRIVATE_COMPANY,
|
|
2827
|
-
CompanyTypesValues.GOVERNMENTAL_ORGANIZATION,
|
|
2828
|
-
CompanyTypesValues.INCORPORATED_ASSOCIATION,
|
|
2829
|
-
CompanyTypesValues.INCORPORATED_PARTNERSHIP,
|
|
2830
|
-
CompanyTypesValues.NON_PROFIT_OR_CHARITABLE,
|
|
2831
|
-
CompanyTypesValues.UNINCORPORATED_PARTNERSHIP,
|
|
2832
|
-
CompanyTypesValues.UNLISTED_PUBLIC_COMPANY
|
|
2833
|
-
]
|
|
2834
|
-
},
|
|
2835
|
-
{
|
|
2836
|
-
id: "NUMERO_NATIONAL",
|
|
2837
|
-
name: "taxInformationNumber__BE_Individual",
|
|
2838
|
-
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2839
|
-
}
|
|
2840
|
-
],
|
|
2841
|
-
[CountryCodes.Brazil]: [{ id: "CNPJ", name: "CNPJ" }],
|
|
2842
|
-
[CountryCodes.Canada]: [{ id: "BUSINESS_NUMBER", name: "businessNumber" }],
|
|
2843
|
-
[CountryCodes.Croatia]: [
|
|
2844
|
-
{
|
|
2845
|
-
id: "OIB",
|
|
2846
|
-
name: "taxInformationNumber__HR"
|
|
2847
|
-
}
|
|
2848
|
-
],
|
|
2849
|
-
[CountryCodes.Cyprus]: [
|
|
2850
|
-
{
|
|
2851
|
-
id: "TIC",
|
|
2852
|
-
name: "taxInformationNumber__CY"
|
|
2853
|
-
}
|
|
2854
|
-
],
|
|
2855
|
-
[CountryCodes.Estonia]: [
|
|
2856
|
-
{
|
|
2857
|
-
id: "ISIKUKOOD",
|
|
2858
|
-
name: "taxInformationNumber__ET_Individual",
|
|
2859
|
-
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2860
|
-
},
|
|
2861
|
-
{
|
|
2862
|
-
id: "registrikood",
|
|
2863
|
-
name: "registrikood",
|
|
2864
|
-
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2865
|
-
}
|
|
2866
|
-
],
|
|
2867
|
-
[CountryCodes.Finland]: [
|
|
2868
|
-
{
|
|
2869
|
-
id: "HENKILOTUNNUS",
|
|
2870
|
-
name: "taxInformationNumber__FI",
|
|
2871
|
-
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2872
|
-
},
|
|
2873
|
-
{
|
|
2874
|
-
id: "YTUNNUS",
|
|
2875
|
-
name: "YTunnus",
|
|
2876
|
-
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2877
|
-
}
|
|
2878
|
-
],
|
|
2879
|
-
[CountryCodes.France]: [
|
|
2880
|
-
{
|
|
2881
|
-
id: "SIRET",
|
|
2882
|
-
name: "siret",
|
|
2883
|
-
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2884
|
-
}
|
|
2885
|
-
],
|
|
2886
|
-
[CountryCodes.Germany]: [
|
|
2887
|
-
{
|
|
2888
|
-
id: "STEUERNUMMER",
|
|
2889
|
-
name: "taxInformationNumber__DE",
|
|
2890
|
-
applicableOnlyFor: [
|
|
2891
|
-
CompanyTypesValues.SOLE_PROPRIETORSHIP,
|
|
2892
|
-
CompanyTypesValues.PRIVATE_COMPANY,
|
|
2893
|
-
CompanyTypesValues.GOVERNMENTAL_ORGANIZATION,
|
|
2894
|
-
CompanyTypesValues.INCORPORATED_ASSOCIATION,
|
|
2895
|
-
CompanyTypesValues.INCORPORATED_PARTNERSHIP,
|
|
2896
|
-
CompanyTypesValues.NON_PROFIT_OR_CHARITABLE,
|
|
2897
|
-
CompanyTypesValues.UNINCORPORATED_PARTNERSHIP,
|
|
2898
|
-
CompanyTypesValues.UNLISTED_PUBLIC_COMPANY
|
|
2899
|
-
]
|
|
2900
|
-
},
|
|
2901
|
-
{
|
|
2902
|
-
id: "IDNR",
|
|
2903
|
-
name: "taxInformationNumber__DE_Individual",
|
|
2904
|
-
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2905
|
-
}
|
|
2906
|
-
],
|
|
2907
|
-
[CountryCodes.Gibraltar]: [
|
|
2908
|
-
{ id: "GI_TAXPAYER_REFERENCE_NUMBER", name: "taxpayerReferenceNumber" }
|
|
2909
|
-
],
|
|
2910
|
-
[CountryCodes.Greece]: [
|
|
2911
|
-
{
|
|
2912
|
-
id: "AFM",
|
|
2913
|
-
name: "taxInformationNumber__GR"
|
|
2914
|
-
}
|
|
2915
|
-
],
|
|
2916
|
-
[CountryCodes.Guernsey]: [
|
|
2917
|
-
{ id: "GG_REGISTRATION_NUMBER", name: "taxInformationNumber" },
|
|
2918
|
-
{
|
|
2919
|
-
id: "TIN_GG",
|
|
2920
|
-
name: "nationalInsuranceNumber",
|
|
2921
|
-
applicableOnlyFor: [CompanyTypesValues.SOLE_PROPRIETORSHIP]
|
|
2922
|
-
}
|
|
2923
|
-
],
|
|
2924
|
-
[CountryCodes.HongKong]: [
|
|
2925
|
-
{
|
|
2926
|
-
id: "BRN",
|
|
2927
|
-
name: "taxInformationNumber__HK"
|
|
2928
|
-
}
|
|
2929
|
-
],
|
|
2930
|
-
[CountryCodes.Ireland]: [
|
|
2931
|
-
{
|
|
2932
|
-
id: "TRN",
|
|
2933
|
-
name: "trnNumber",
|
|
2934
|
-
applicableOnlyFor: [
|
|
2935
|
-
CompanyTypesValues.PRIVATE_COMPANY,
|
|
2936
|
-
CompanyTypesValues.UNINCORPORATED_PARTNERSHIP
|
|
2937
|
-
]
|
|
2938
|
-
},
|
|
2939
|
-
{
|
|
2940
|
-
id: "PERSONAL_PUBLIC_SERVICE_NUMBER",
|
|
2941
|
-
name: "taxInformationNumber__IE_Individual",
|
|
2942
|
-
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2943
|
-
}
|
|
2944
|
-
],
|
|
2945
|
-
[CountryCodes.IsleOfMan]: [{ id: "IM_TAX_REFERENCE_NUMBER", name: "taxReferenceNumber" }],
|
|
2946
|
-
[CountryCodes.Italy]: [
|
|
2947
|
-
{
|
|
2948
|
-
id: "CODICE_FISCALE",
|
|
2949
|
-
name: "taxInformationNumber__IT"
|
|
2950
|
-
}
|
|
2951
|
-
],
|
|
2952
|
-
[CountryCodes.Japan]: [{ id: "CORPORATE_NUMBER", name: "taxInformationNumber" }],
|
|
2953
|
-
[CountryCodes.Jersey]: [
|
|
2954
|
-
{
|
|
2955
|
-
id: "TIN_JE",
|
|
2956
|
-
name: "taxIdentificationNumber"
|
|
2957
|
-
},
|
|
2958
|
-
{
|
|
2959
|
-
id: "SSN",
|
|
2960
|
-
name: "socialSecurityNumber",
|
|
2961
|
-
applicableOnlyFor: [CompanyTypesValues.SOLE_PROPRIETORSHIP]
|
|
2962
|
-
}
|
|
2963
|
-
],
|
|
2964
|
-
[CountryCodes.Latvia]: [
|
|
2965
|
-
{
|
|
2966
|
-
id: "PERSONAS_KODS",
|
|
2967
|
-
name: "taxInformationNumber__LV",
|
|
2968
|
-
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2969
|
-
},
|
|
2970
|
-
{
|
|
2971
|
-
id: "REGISTRACIJAS_NUMURS",
|
|
2972
|
-
name: "lvRegistrationNumber",
|
|
2973
|
-
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2974
|
-
}
|
|
2975
|
-
],
|
|
2976
|
-
[CountryCodes.Lithuania]: [
|
|
2977
|
-
{
|
|
2978
|
-
id: "ASMENS_KODAS",
|
|
2979
|
-
name: "taxInformationNumber__LT"
|
|
2980
|
-
}
|
|
2981
|
-
],
|
|
2982
|
-
[CountryCodes.Luxembourg]: [
|
|
2983
|
-
{
|
|
2984
|
-
id: "NATIONAL_IDENTIFICATION_NUMBER",
|
|
2985
|
-
name: "taxInformationNumber__LU_Individual",
|
|
2986
|
-
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2987
|
-
},
|
|
2988
|
-
{
|
|
2989
|
-
id: "NATIONAL_IDENTIFICATION_NUMBER",
|
|
2990
|
-
name: "taxInformationNumber__LU_Org",
|
|
2991
|
-
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2992
|
-
}
|
|
2993
|
-
],
|
|
2994
|
-
[CountryCodes.Malta]: [
|
|
2995
|
-
{
|
|
2996
|
-
id: "NRU",
|
|
2997
|
-
name: "taxInformationNumber__MT_NRU_Individual",
|
|
2998
|
-
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2999
|
-
},
|
|
3000
|
-
{
|
|
3001
|
-
id: "IDENTITY_CARD_NUMBER",
|
|
3002
|
-
name: "taxInformationNumber__MT_Individual",
|
|
3003
|
-
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
3004
|
-
},
|
|
3005
|
-
{
|
|
3006
|
-
id: "INCOME_TAX_REGISTRATION_NUMBER",
|
|
3007
|
-
name: "taxInformationNumber__MT_Org",
|
|
3008
|
-
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
3009
|
-
}
|
|
3010
|
-
],
|
|
3011
|
-
[CountryCodes.Netherlands]: [
|
|
3012
|
-
{
|
|
3013
|
-
id: "RSIN",
|
|
3014
|
-
name: "rsinNumber",
|
|
3015
|
-
applicableOnlyFor: [
|
|
3016
|
-
CompanyTypesValues.PRIVATE_COMPANY,
|
|
3017
|
-
CompanyTypesValues.GOVERNMENTAL_ORGANIZATION,
|
|
3018
|
-
CompanyTypesValues.INCORPORATED_ASSOCIATION,
|
|
3019
|
-
CompanyTypesValues.INCORPORATED_PARTNERSHIP,
|
|
3020
|
-
CompanyTypesValues.NON_PROFIT_OR_CHARITABLE,
|
|
3021
|
-
CompanyTypesValues.UNINCORPORATED_PARTNERSHIP,
|
|
3022
|
-
CompanyTypesValues.UNLISTED_PUBLIC_COMPANY
|
|
3023
|
-
]
|
|
3024
|
-
},
|
|
3025
|
-
{
|
|
3026
|
-
id: "BSN",
|
|
3027
|
-
name: "bsnNumber",
|
|
3028
|
-
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
3029
|
-
}
|
|
3030
|
-
],
|
|
3031
|
-
[CountryCodes.NewZealand]: [
|
|
3032
|
-
{
|
|
3033
|
-
id: "IRD",
|
|
3034
|
-
name: "irdNumber"
|
|
3035
|
-
}
|
|
3036
|
-
],
|
|
3037
|
-
[CountryCodes.Portugal]: [
|
|
3038
|
-
{
|
|
3039
|
-
id: "NUMERO_ID_CIVIL",
|
|
3040
|
-
name: "taxInformationNumber__PT",
|
|
3041
|
-
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
3042
|
-
},
|
|
3043
|
-
{
|
|
3044
|
-
id: "NIPC",
|
|
3045
|
-
name: "NIPC",
|
|
3046
|
-
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
3047
|
-
}
|
|
3048
|
-
],
|
|
3049
|
-
[CountryCodes.PuertoRico]: [
|
|
3050
|
-
{
|
|
3051
|
-
id: "EIN",
|
|
3052
|
-
name: "ein"
|
|
3053
|
-
}
|
|
3054
|
-
],
|
|
3055
|
-
[CountryCodes.Singapore]: [
|
|
3056
|
-
{
|
|
3057
|
-
id: "GST",
|
|
3058
|
-
name: "gst"
|
|
3059
|
-
},
|
|
3060
|
-
{
|
|
3061
|
-
id: "UEN",
|
|
3062
|
-
name: "uen"
|
|
3063
|
-
}
|
|
3064
|
-
],
|
|
3065
|
-
[CountryCodes.Slovakia]: [
|
|
3066
|
-
{
|
|
3067
|
-
id: "RODNE_CISLO",
|
|
3068
|
-
name: "taxInformationNumber__SK_Individual",
|
|
3069
|
-
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
3070
|
-
},
|
|
3071
|
-
{
|
|
3072
|
-
id: "NATIONAL_IDENTIFICATION_NUMBER",
|
|
3073
|
-
name: "taxInformationNumber__SK_Org",
|
|
3074
|
-
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
3075
|
-
}
|
|
3076
|
-
],
|
|
3077
|
-
[CountryCodes.Slovenia]: [
|
|
3078
|
-
{
|
|
3079
|
-
id: "SI_TAX_NUMBER",
|
|
3080
|
-
name: "taxInformationNumber__SI_Individual",
|
|
3081
|
-
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
3082
|
-
},
|
|
3083
|
-
{
|
|
3084
|
-
id: "NATIONAL_IDENTIFICATION_NUMBER",
|
|
3085
|
-
name: "taxInformationNumber__SI_Org",
|
|
3086
|
-
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
3087
|
-
}
|
|
3088
|
-
],
|
|
3089
|
-
[CountryCodes.Spain]: [
|
|
3090
|
-
{
|
|
3091
|
-
id: "dni",
|
|
3092
|
-
name: "dni",
|
|
3093
|
-
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
3094
|
-
},
|
|
3095
|
-
{
|
|
3096
|
-
id: "nie",
|
|
3097
|
-
name: "nie",
|
|
3098
|
-
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
3099
|
-
},
|
|
3100
|
-
{
|
|
3101
|
-
id: "NIF",
|
|
3102
|
-
name: "NIF",
|
|
3103
|
-
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
3104
|
-
}
|
|
3105
|
-
],
|
|
3106
|
-
[CountryCodes.UnitedKingdom]: [
|
|
3107
|
-
{
|
|
3108
|
-
id: "UTR",
|
|
3109
|
-
name: "utr"
|
|
3110
|
-
},
|
|
3111
|
-
{
|
|
3112
|
-
id: "NINO",
|
|
3113
|
-
name: "nationalInsuranceNumber",
|
|
3114
|
-
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
3115
|
-
}
|
|
3116
|
-
],
|
|
3117
|
-
[CountryCodes.UnitedStates]: [
|
|
3118
|
-
{
|
|
3119
|
-
id: "EIN",
|
|
3120
|
-
name: "ein"
|
|
3121
|
-
}
|
|
3122
|
-
]
|
|
3123
|
-
};
|
|
3124
|
-
const getTaxIdNumberOptions = (country, companyType) => {
|
|
3125
|
-
const optionsForCountry = taxIdNumberOptions[country];
|
|
3126
|
-
if (!companyType || !optionsForCountry) return optionsForCountry;
|
|
3127
|
-
return optionsForCountry.filter(
|
|
3128
|
-
(option) => option.applicableOnlyFor?.includes(companyType) ?? true
|
|
3129
|
-
);
|
|
3130
|
-
};
|
|
3131
|
-
const inferTaxIdNumberType = (taxInformation, country, companyType) => {
|
|
3132
|
-
if (!taxInformation) return void 0;
|
|
3133
|
-
const optionsForCountry = getTaxIdNumberOptions(country, companyType);
|
|
3134
|
-
const metadataFn = taxInformationDefaultFieldConfig[country];
|
|
3135
|
-
if (!optionsForCountry || !metadataFn) return void 0;
|
|
3136
|
-
if (optionsForCountry.length === 1) return optionsForCountry[0].id;
|
|
3137
|
-
const allMetaData = optionsForCountry.reduce(
|
|
3138
|
-
(acc, option) => {
|
|
3139
|
-
const meta = typeof metadataFn === "function" ? metadataFn({
|
|
3140
|
-
taxIdNumberType: option.id,
|
|
3141
|
-
companyType
|
|
3142
|
-
}) : metadataFn;
|
|
3143
|
-
if (meta.label && !acc[meta.label]) {
|
|
3144
|
-
acc[meta.label] = meta;
|
|
3145
|
-
}
|
|
3146
|
-
return acc;
|
|
3147
|
-
},
|
|
3148
|
-
{}
|
|
3149
|
-
);
|
|
3150
|
-
for (const option of optionsForCountry) {
|
|
3151
|
-
const fieldMetadata = allMetaData[option.name];
|
|
3152
|
-
if (!fieldMetadata?.validators) continue;
|
|
3153
|
-
const validators = Array.isArray(fieldMetadata.validators) ? fieldMetadata.validators : [fieldMetadata.validators];
|
|
3154
|
-
if (validators.every((validator) => validator.validate(taxInformation))) {
|
|
3155
|
-
return option.id;
|
|
3156
|
-
}
|
|
3157
|
-
}
|
|
3158
|
-
};
|
|
3159
|
-
function findExistingTaxInformation(taxInformation, country) {
|
|
3160
|
-
return taxInformation?.find((taxId) => taxId.country === country);
|
|
3161
|
-
}
|
|
3162
|
-
function getDefaultTaxIdNumberType(taxInformation, country, entityType) {
|
|
3163
|
-
const existingTaxInformation = findExistingTaxInformation(taxInformation, country);
|
|
3164
|
-
return (
|
|
3165
|
-
// First check if we already have a type set
|
|
3166
|
-
existingTaxInformation?.type ?? (existingTaxInformation?.number ? (
|
|
3167
|
-
// If we have a number but no type, try to infer it
|
|
3168
|
-
inferTaxIdNumberType(taxInformation, country, entityType)
|
|
3169
|
-
) : (
|
|
3170
|
-
// Otherwise use the first available tax ID option for this country and entity type
|
|
3171
|
-
getTaxIdNumberOptions(country, entityType)?.[0]?.id
|
|
3172
|
-
))
|
|
3173
|
-
);
|
|
3174
|
-
}
|
|
3175
|
-
function TaxIdNumberTypeSelector({
|
|
3176
|
-
country,
|
|
3177
|
-
companyType,
|
|
3178
|
-
selected,
|
|
3179
|
-
setSelected,
|
|
3180
|
-
exemptedOptionLabel,
|
|
3181
|
-
isUsSoleProp,
|
|
3182
|
-
errorMessage
|
|
3183
|
-
}) {
|
|
3184
|
-
const { t } = useTranslation("common");
|
|
3185
|
-
const handleSelect = useCallback(
|
|
3186
|
-
(selectedStr) => {
|
|
3187
|
-
const newSelected = selectedStr;
|
|
3188
|
-
if (newSelected === "exempted") {
|
|
3189
|
-
if (exemptedOptionLabel) {
|
|
3190
|
-
setSelected(newSelected);
|
|
3191
|
-
}
|
|
3192
|
-
return;
|
|
3193
|
-
}
|
|
3194
|
-
setSelected(newSelected);
|
|
3195
|
-
},
|
|
3196
|
-
[exemptedOptionLabel, setSelected]
|
|
3197
|
-
);
|
|
3198
|
-
const options = useMemo(() => {
|
|
3199
|
-
const availableOptions = getTaxIdNumberOptions(country, companyType) ?? [];
|
|
3200
|
-
if (availableOptions.length === 0 || !exemptedOptionLabel) return availableOptions;
|
|
3201
|
-
return [
|
|
3202
|
-
...availableOptions,
|
|
3203
|
-
{
|
|
3204
|
-
id: "exempted",
|
|
3205
|
-
name: exemptedOptionLabel
|
|
3206
|
-
}
|
|
3207
|
-
];
|
|
3208
|
-
}, [country, companyType, exemptedOptionLabel]);
|
|
3209
|
-
useEffect(() => {
|
|
3210
|
-
if (!isUsSoleProp && !selected && options.length > 0) {
|
|
3211
|
-
handleSelect(options[0].id);
|
|
3212
|
-
}
|
|
3213
|
-
}, [options, selected, handleSelect, isUsSoleProp]);
|
|
3214
|
-
if (options.length <= 1) return null;
|
|
3215
|
-
return /* @__PURE__ */ jsx(
|
|
3216
|
-
Field,
|
|
3217
|
-
{
|
|
3218
|
-
el: "fieldset",
|
|
3219
|
-
name: "taxIdNumberType",
|
|
3220
|
-
label: t(($) => $["whichTaxpayerIdentificationNumberDoYouUse"]),
|
|
3221
|
-
errorMessage: !!errorMessage,
|
|
3222
|
-
children: (childProps) => /* @__PURE__ */ jsx(
|
|
3223
|
-
RadioGroup,
|
|
3224
|
-
{
|
|
3225
|
-
...childProps,
|
|
3226
|
-
name: "taxIdNumberType",
|
|
3227
|
-
items: options,
|
|
3228
|
-
value: selected,
|
|
3229
|
-
onChange: handleSelect
|
|
3230
|
-
}
|
|
3231
|
-
)
|
|
3232
|
-
}
|
|
3233
|
-
);
|
|
3234
|
-
}
|
|
3235
|
-
function upsertTaxInfoForCountry(taxInformation, country, newEntry) {
|
|
3236
|
-
if (!taxInformation) return [newEntry];
|
|
3237
|
-
const hasExisting = taxInformation.some((t) => t.country === country);
|
|
3238
|
-
const base = hasExisting ? taxInformation : [...taxInformation, newEntry];
|
|
3239
|
-
return base.map((t) => t.country === country ? newEntry : t);
|
|
3240
|
-
}
|
|
3241
|
-
function removeTaxInfoForCountry(taxInformation, country) {
|
|
3242
|
-
return taxInformation?.filter((t) => t.country !== country);
|
|
3243
|
-
}
|
|
3244
|
-
const TAX_INFORMATION_FIELD = [
|
|
3245
|
-
"taxInformation",
|
|
3246
|
-
"exemptedFromTax",
|
|
3247
|
-
"isUen"
|
|
3248
|
-
];
|
|
3249
|
-
function TaxInformationField({
|
|
3250
|
-
data,
|
|
3251
|
-
valid,
|
|
3252
|
-
errors,
|
|
3253
|
-
labels,
|
|
3254
|
-
mask,
|
|
3255
|
-
placeholder,
|
|
3256
|
-
readonly,
|
|
3257
|
-
optional,
|
|
3258
|
-
shouldValidate,
|
|
3259
|
-
handleChangeFor,
|
|
3260
|
-
country,
|
|
3261
|
-
canExempt,
|
|
3262
|
-
registrationNumber,
|
|
3263
|
-
entityType,
|
|
3264
|
-
defaultData
|
|
3265
|
-
}) {
|
|
3266
|
-
const { isFeatureEnabled } = useToggleContext();
|
|
3267
|
-
const { t } = useTranslation("common");
|
|
3268
|
-
const { accountHolder } = useAccountHolder();
|
|
3269
|
-
const currentCountryTaxInformation = useMemo(
|
|
3270
|
-
() => data?.taxInformation?.find((taxInfo) => taxInfo.country === country) ?? (!data.exemptedFromTax ? defaultData?.find((taxInfo) => taxInfo.country === country) : void 0),
|
|
3271
|
-
[data?.taxInformation, data.exemptedFromTax, defaultData, country]
|
|
3272
|
-
);
|
|
3273
|
-
const isUsSoleProp = country === "US" && entityType === CompanyTypesValues.SOLE_PROPRIETORSHIP;
|
|
3274
|
-
const options = getTaxIdNumberOptions(country, entityType);
|
|
3275
|
-
const showTaxIdExemptedOptions = canExempt && (options?.length ?? 0) > 1 || isUsSoleProp;
|
|
3276
|
-
const canSaveAbsentState = isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4") && COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4.includes(country) && accountHolder === "aTrust";
|
|
3277
|
-
const exemptionLabel = isUsSoleProp ? t(($) => $["socialSecurityNumber"]) : labels.exemptedFromTax;
|
|
3278
|
-
const shouldRenderInput = isUsSoleProp ? currentCountryTaxInformation?.type === "EIN" : !data.isUen;
|
|
3279
|
-
const taxIdNumberType = useMemo(() => {
|
|
3280
|
-
if (data.exemptedFromTax) return "exempted";
|
|
3281
|
-
if (currentCountryTaxInformation?.type) return currentCountryTaxInformation.type;
|
|
3282
|
-
if (isUsSoleProp) return void 0;
|
|
3283
|
-
return getDefaultTaxIdNumberType(data.taxInformation, country, entityType);
|
|
3284
|
-
}, [
|
|
3285
|
-
country,
|
|
3286
|
-
currentCountryTaxInformation?.type,
|
|
3287
|
-
data.exemptedFromTax,
|
|
3288
|
-
data.taxInformation,
|
|
3289
|
-
entityType,
|
|
3290
|
-
isUsSoleProp
|
|
3291
|
-
]);
|
|
3292
|
-
const fieldMetadata = resolveFieldMetadata(
|
|
3293
|
-
taxInformationDefaultFieldConfig[country],
|
|
3294
|
-
{
|
|
3295
|
-
taxIdNumberType: currentCountryTaxInformation?.type,
|
|
3296
|
-
companyType: entityType
|
|
3297
|
-
},
|
|
3298
|
-
taxInformationDefaultFieldMetadata
|
|
3299
|
-
);
|
|
3300
|
-
const updateTaxInfo = useCallback(
|
|
3301
|
-
(mode, newEntry) => {
|
|
3302
|
-
const entry = canSaveAbsentState ? { ...newEntry, numberAbsent: newEntry.numberAbsent ?? false } : newEntry;
|
|
3303
|
-
handleChangeFor(
|
|
3304
|
-
"taxInformation",
|
|
3305
|
-
mode
|
|
3306
|
-
)(upsertTaxInfoForCountry(data.taxInformation, country, entry));
|
|
3307
|
-
},
|
|
3308
|
-
[canSaveAbsentState, country, data.taxInformation, handleChangeFor]
|
|
3309
|
-
);
|
|
3310
|
-
const updateTaxType = useCallback(
|
|
3311
|
-
(type, mode) => {
|
|
3312
|
-
updateTaxInfo(mode, {
|
|
3313
|
-
country,
|
|
3314
|
-
number: currentCountryTaxInformation?.number,
|
|
3315
|
-
type
|
|
3316
|
-
});
|
|
3317
|
-
},
|
|
3318
|
-
[country, currentCountryTaxInformation?.number, updateTaxInfo]
|
|
3319
|
-
);
|
|
3320
|
-
const resetToDefaultData = useCallback(() => {
|
|
3321
|
-
if (defaultData !== void 0) {
|
|
3322
|
-
handleChangeFor("taxInformation", "input")(defaultData);
|
|
3323
|
-
}
|
|
3324
|
-
}, [defaultData, handleChangeFor]);
|
|
3325
|
-
const removeCountryTaxInfo = useCallback(() => {
|
|
3326
|
-
handleChangeFor(
|
|
3327
|
-
"taxInformation",
|
|
3328
|
-
"input"
|
|
3329
|
-
)(removeTaxInfoForCountry(data.taxInformation, country));
|
|
3330
|
-
}, [country, data.taxInformation, handleChangeFor]);
|
|
3331
|
-
const setUenAsTaxId = useCallback(
|
|
3332
|
-
(uen) => {
|
|
3333
|
-
updateTaxInfo("blur", { country, number: uen ?? "", type: "UEN" });
|
|
3334
|
-
},
|
|
3335
|
-
[country, updateTaxInfo]
|
|
3336
|
-
);
|
|
3337
|
-
const addTaxAbsentStatus = useCallback(
|
|
3338
|
-
(exempted) => {
|
|
3339
|
-
handleChangeFor(
|
|
3340
|
-
"taxInformation",
|
|
3341
|
-
"input"
|
|
3342
|
-
)(upsertTaxInfoForCountry(data.taxInformation, country, { country, numberAbsent: exempted }));
|
|
3343
|
-
},
|
|
3344
|
-
[country, data.taxInformation, handleChangeFor]
|
|
3345
|
-
);
|
|
3346
|
-
const handleTaxNumberChange = useCallback(
|
|
3347
|
-
(e, mode) => {
|
|
3348
|
-
const value = e ? typeof e === "string" ? e : e.currentTarget.value : void 0;
|
|
3349
|
-
const resolvedType = currentCountryTaxInformation?.type ?? (taxIdNumberType !== "exempted" ? taxIdNumberType : void 0);
|
|
3350
|
-
updateTaxInfo(mode, {
|
|
3351
|
-
country,
|
|
3352
|
-
number: value,
|
|
3353
|
-
type: resolvedType
|
|
3354
|
-
});
|
|
3355
|
-
},
|
|
3356
|
-
[country, currentCountryTaxInformation?.type, taxIdNumberType, updateTaxInfo]
|
|
3357
|
-
);
|
|
3358
|
-
const handleTaxIdNumberTypeChange = useCallback(
|
|
3359
|
-
(taxIdType) => {
|
|
3360
|
-
if (!canExempt && taxIdType === "exempted") {
|
|
3361
|
-
throw Error(`${country} does not allow tax exemptions`);
|
|
3362
|
-
}
|
|
3363
|
-
if (taxIdType === "exempted") {
|
|
3364
|
-
handleChangeFor("exemptedFromTax")(true);
|
|
3365
|
-
updateTaxType(void 0, "input");
|
|
3366
|
-
return canSaveAbsentState ? addTaxAbsentStatus(true) : removeCountryTaxInfo();
|
|
3367
|
-
}
|
|
3368
|
-
handleChangeFor("exemptedFromTax")(false);
|
|
3369
|
-
if (country === "SG") {
|
|
3370
|
-
if (taxIdType === "UEN") {
|
|
3371
|
-
handleChangeFor("isUen")(true);
|
|
3372
|
-
setUenAsTaxId(registrationNumber);
|
|
3373
|
-
} else {
|
|
3374
|
-
handleChangeFor("isUen")(false);
|
|
3375
|
-
removeCountryTaxInfo();
|
|
3376
|
-
}
|
|
3377
|
-
}
|
|
3378
|
-
updateTaxType(taxIdType, "input");
|
|
3379
|
-
},
|
|
3380
|
-
[
|
|
3381
|
-
addTaxAbsentStatus,
|
|
3382
|
-
canExempt,
|
|
3383
|
-
canSaveAbsentState,
|
|
3384
|
-
country,
|
|
3385
|
-
handleChangeFor,
|
|
3386
|
-
updateTaxType,
|
|
3387
|
-
registrationNumber,
|
|
3388
|
-
removeCountryTaxInfo,
|
|
3389
|
-
setUenAsTaxId
|
|
3390
|
-
]
|
|
3391
|
-
);
|
|
3392
|
-
const handleExemptedFromTaxChange = useCallback(
|
|
3393
|
-
(exempted) => {
|
|
3394
|
-
handleChangeFor("exemptedFromTax")(exempted);
|
|
3395
|
-
if (canSaveAbsentState) {
|
|
3396
|
-
addTaxAbsentStatus(exempted);
|
|
3397
|
-
} else {
|
|
3398
|
-
removeCountryTaxInfo();
|
|
3399
|
-
}
|
|
3400
|
-
},
|
|
3401
|
-
[addTaxAbsentStatus, canSaveAbsentState, handleChangeFor, removeCountryTaxInfo]
|
|
3402
|
-
);
|
|
3403
|
-
const prevCountryRef = useRef(country);
|
|
3404
|
-
useEffect(() => {
|
|
3405
|
-
if (!country || prevCountryRef.current === country) return;
|
|
3406
|
-
prevCountryRef.current = country;
|
|
3407
|
-
const hasSavedTaxId = defaultData?.find((taxId) => taxId.country === country);
|
|
3408
|
-
if (currentCountryTaxInformation && !hasSavedTaxId) return;
|
|
3409
|
-
if (entityType === CompanyTypesValues.SOLE_PROPRIETORSHIP) return;
|
|
3410
|
-
resetToDefaultData();
|
|
3411
|
-
}, [country]);
|
|
3412
|
-
useEffect(() => {
|
|
3413
|
-
if (country === "SG" && data.isUen && registrationNumber && registrationNumber !== currentCountryTaxInformation?.number) {
|
|
3414
|
-
setUenAsTaxId(registrationNumber);
|
|
3415
|
-
}
|
|
3416
|
-
}, [
|
|
3417
|
-
registrationNumber,
|
|
3418
|
-
currentCountryTaxInformation?.number,
|
|
3419
|
-
data.isUen,
|
|
3420
|
-
country,
|
|
3421
|
-
setUenAsTaxId
|
|
3422
|
-
]);
|
|
3423
|
-
return /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-field__tax-information", children: [
|
|
3424
|
-
/* @__PURE__ */ jsx(
|
|
3425
|
-
TaxIdNumberTypeSelector,
|
|
3426
|
-
{
|
|
3427
|
-
country,
|
|
3428
|
-
companyType: entityType,
|
|
3429
|
-
setSelected: handleTaxIdNumberTypeChange,
|
|
3430
|
-
selected: taxIdNumberType,
|
|
3431
|
-
exemptedOptionLabel: showTaxIdExemptedOptions ? exemptionLabel : void 0,
|
|
3432
|
-
isUsSoleProp,
|
|
3433
|
-
errorMessage: isUsSoleProp ? errors.taxInformation : false
|
|
3434
|
-
}
|
|
3435
|
-
),
|
|
3436
|
-
shouldRenderInput && /* @__PURE__ */ jsx(
|
|
3437
|
-
MaskedInput,
|
|
3438
|
-
{
|
|
3439
|
-
type: "text",
|
|
3440
|
-
"aria-required": true,
|
|
3441
|
-
"aria-invalid": !valid.taxInformation,
|
|
3442
|
-
name: "taxInformation",
|
|
3443
|
-
label: labels.taxInformation ?? "",
|
|
3444
|
-
formatGuidance: translateTranslatable(t, fieldMetadata.guidanceText),
|
|
3445
|
-
value: currentCountryTaxInformation?.number ?? "",
|
|
3446
|
-
errorMessage: errors.taxInformation,
|
|
3447
|
-
placeholder,
|
|
3448
|
-
isValid: Boolean(valid.taxInformation) && !!currentCountryTaxInformation,
|
|
3449
|
-
onInput: (e) => handleTaxNumberChange(e, "input"),
|
|
3450
|
-
onBlur: (e) => handleTaxNumberChange(e, "blur"),
|
|
3451
|
-
disabled: data.exemptedFromTax || data.isUen,
|
|
3452
|
-
readonly,
|
|
3453
|
-
optional,
|
|
3454
|
-
shouldValidate,
|
|
3455
|
-
...mask
|
|
3456
|
-
}
|
|
3457
|
-
),
|
|
3458
|
-
canExempt && !showTaxIdExemptedOptions && /* @__PURE__ */ jsx(Field, { name: "exemptedFromTax", children: (childProps) => /* @__PURE__ */ jsx(
|
|
3459
|
-
Checkbox,
|
|
3460
|
-
{
|
|
3461
|
-
...childProps,
|
|
3462
|
-
"aria-required": false,
|
|
3463
|
-
"aria-invalid": false,
|
|
3464
|
-
name: "exemptedFromTax",
|
|
3465
|
-
label: labels.exemptedFromTax,
|
|
3466
|
-
value: "exemptedFromTax",
|
|
3467
|
-
checked: Boolean(data.exemptedFromTax),
|
|
3468
|
-
onChange: handleExemptedFromTaxChange
|
|
3469
|
-
}
|
|
3470
|
-
) })
|
|
3471
|
-
] });
|
|
3472
|
-
}
|
|
3473
|
-
export {
|
|
3474
|
-
COUNTRY_OF_GOVERNING_LAW_POSSIBLE as C,
|
|
3475
|
-
DocumentGuidance as D,
|
|
3476
|
-
MemoizedDocumentUpload as M,
|
|
3477
|
-
StateCodesUS as S,
|
|
3478
|
-
TaxInformationField as T,
|
|
3479
|
-
taxInformationDefaultFieldConfig as a,
|
|
3480
|
-
taxIdNumberOptions as b,
|
|
3481
|
-
TAX_INFORMATION_FIELD as c,
|
|
3482
|
-
requestingIssuing as d,
|
|
3483
|
-
getTaxInformationPlaceholderText as e,
|
|
3484
|
-
countryToTaxInfoTypeMap as f,
|
|
3485
|
-
getFieldsWithExistingData as g,
|
|
3486
|
-
isRegistrationNumberAbsentStateV4Scenario as h,
|
|
3487
|
-
isUsingCompanySearch as i,
|
|
3488
|
-
getTaxIdNumberOptions as j,
|
|
3489
|
-
COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT as k,
|
|
3490
|
-
rules as l,
|
|
3491
|
-
businessRegistrationNumberMasks as m,
|
|
3492
|
-
businessRegistrationNumberPatterns as n,
|
|
3493
|
-
exemptedFromTaxDefaultFieldMetadata as o,
|
|
3494
|
-
exemptedFromTaxDefaultFieldConfig as p,
|
|
3495
|
-
requestingBanking as r,
|
|
3496
|
-
stateFormatGuidanceText as s,
|
|
3497
|
-
taxInformationDefaultFieldMetadata as t
|
|
3498
|
-
};
|