@adyen/kyc-components 4.7.2 → 4.8.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-COszvbWk.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-BYa8h9R6.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
|
@@ -0,0 +1,2830 @@
|
|
|
1
|
+
try {
|
|
2
|
+
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "02c95429-3bbd-4aba-8200-788062932ace", e._sentryDebugIdIdentifier = "sentry-dbid-02c95429-3bbd-4aba-8200-788062932ace");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
import { a as Icon, r as useTranslation } from "./translation-G4HP2nQW.js";
|
|
6
|
+
import { t as LegalEntityTypes } from "./legal-entity-type-VIfNYnJP.js";
|
|
7
|
+
import { t as useAccountHolder } from "./useAccountHolder-LttF1BJG.js";
|
|
8
|
+
import { c as objectsDeepEqual, d as keysOf } from "./useAnalyticsContext-BVFDMrVE.js";
|
|
9
|
+
import { t as useToggleContext } from "./useToggleContext-DaQUBF8O.js";
|
|
10
|
+
import { a as translateTranslatable } from "./utils-BAuFBG3J.js";
|
|
11
|
+
import { t as Header } from "./Header-BNb1zwkF.js";
|
|
12
|
+
import { t as CountryCodes } from "./country-code-CX5KqMBr.js";
|
|
13
|
+
import { p as TaskTypes } from "./entityAssociationUtil-BEzUdPbm.js";
|
|
14
|
+
import { t as getNestedPropertyKeys } from "./getNestedPropertyKeys-CVAsNBJ8.js";
|
|
15
|
+
import { t as SettingNames } from "./types-CNZsK2dZ.js";
|
|
16
|
+
import { t as CompanyTypesValues } from "./company-types-value-BYTAKfjo.js";
|
|
17
|
+
import { t as Image } from "./Image-BTVEK7B2.js";
|
|
18
|
+
import { s as isDateOlderThanAYear } from "./Address-CnQ22ndb.js";
|
|
19
|
+
import { t as ErrorPanel } from "./ErrorPanel-4juOd8Z2.js";
|
|
20
|
+
import { t as createFormUtils } from "./formUtils-DCvL3uZG.js";
|
|
21
|
+
import { i as uppercase } from "./mapExistingFile-DdeA1Ya3.js";
|
|
22
|
+
import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-zFUBaX87.js";
|
|
23
|
+
import { c as COUNTRIES_WITH_STATES_DATASET } from "./utils-CfTVU2Hq.js";
|
|
24
|
+
import { a as StateContextSetter } from "./validate-9_4V5MhN.js";
|
|
25
|
+
import { t as isJapanLocalizationEnabled } from "./japanSupportUtils-DcDqwV81.js";
|
|
26
|
+
import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-BaQxw3ki.js";
|
|
27
|
+
import { t as resolveFieldMetadata } from "./fieldConfigurations-m7oWP1DZ.js";
|
|
28
|
+
import { t as Field } from "./Field-C2ZpB0wo.js";
|
|
29
|
+
import { t as Select } from "./Select-DDSua27l.js";
|
|
30
|
+
import { t as Checkbox } from "./Checkbox-BCYjFPa4.js";
|
|
31
|
+
import { t as TextArea } from "./TextArea-CyATBUKN.js";
|
|
32
|
+
import { t as useForm } from "./useForm-CTiDrzeg.js";
|
|
33
|
+
import { t as Dropzone } from "./Dropzone-By_YOrv2.js";
|
|
34
|
+
import { t as RadioGroup } from "./RadioGroup-Bi9v9dZu.js";
|
|
35
|
+
import { t as createFormRules } from "./form-rules-CvdV5rPY.js";
|
|
36
|
+
import { lazy, memo } from "preact/compat";
|
|
37
|
+
import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
38
|
+
import cx from "classnames";
|
|
39
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
|
40
|
+
//#region src/utils/getFieldsWithExistingData.ts
|
|
41
|
+
var getFieldsWithExistingData = (legalEntity, keyMapping, documentMapping, knownProblematicFields = []) => {
|
|
42
|
+
const nonDocumentFields = getNestedPropertyKeys(legalEntity).map((field) => keyMapping[field]).filter(Boolean).filter((field) => !knownProblematicFields.includes(field));
|
|
43
|
+
if (documentMapping && legalEntity.documentDetails?.length) {
|
|
44
|
+
const documentFields = legalEntity.documentDetails.map((document) => documentMapping[document.type]).filter(Boolean);
|
|
45
|
+
return [...nonDocumentFields, ...documentFields];
|
|
46
|
+
}
|
|
47
|
+
return nonDocumentFields;
|
|
48
|
+
};
|
|
49
|
+
//#endregion
|
|
50
|
+
//#region src/types/datasets/state-code.ts
|
|
51
|
+
var StateCodesUS = {
|
|
52
|
+
Alabama: "AL",
|
|
53
|
+
Alaska: "AK",
|
|
54
|
+
Arizona: "AZ",
|
|
55
|
+
Arkansas: "AR",
|
|
56
|
+
California: "CA",
|
|
57
|
+
Colorado: "CO",
|
|
58
|
+
Connecticut: "CT",
|
|
59
|
+
Delaware: "DE",
|
|
60
|
+
DistrictOfColumbia: "DC",
|
|
61
|
+
Florida: "FL",
|
|
62
|
+
Georgia: "GA",
|
|
63
|
+
Hawaii: "HI",
|
|
64
|
+
Idaho: "ID",
|
|
65
|
+
Illinois: "IL",
|
|
66
|
+
Indiana: "IN",
|
|
67
|
+
Iowa: "IA",
|
|
68
|
+
Kansas: "KS",
|
|
69
|
+
Kentucky: "KY",
|
|
70
|
+
Louisiana: "LA",
|
|
71
|
+
Maine: "ME",
|
|
72
|
+
Maryland: "MD",
|
|
73
|
+
Massachusetts: "MA",
|
|
74
|
+
Michigan: "MI",
|
|
75
|
+
Minnesota: "MN",
|
|
76
|
+
Mississippi: "MS",
|
|
77
|
+
Missouri: "MO",
|
|
78
|
+
Montana: "MT",
|
|
79
|
+
Nebraska: "NE",
|
|
80
|
+
Nevada: "NV",
|
|
81
|
+
NewHampshire: "NH",
|
|
82
|
+
NewJersey: "NJ",
|
|
83
|
+
NewMexico: "NM",
|
|
84
|
+
NewYork: "NY",
|
|
85
|
+
NorthCarolina: "NC",
|
|
86
|
+
NorthDakota: "ND",
|
|
87
|
+
Ohio: "OH",
|
|
88
|
+
Oklahoma: "OK",
|
|
89
|
+
Oregon: "OR",
|
|
90
|
+
Pennsylvania: "PA",
|
|
91
|
+
RhodeIsland: "RI",
|
|
92
|
+
SouthCarolina: "SC",
|
|
93
|
+
SouthDakota: "SD",
|
|
94
|
+
Tennessee: "TN",
|
|
95
|
+
Texas: "TX",
|
|
96
|
+
Utah: "UT",
|
|
97
|
+
Vermont: "VT",
|
|
98
|
+
Virginia: "VA",
|
|
99
|
+
Washington: "WA",
|
|
100
|
+
WestVirginia: "WV",
|
|
101
|
+
Wisconsin: "WI",
|
|
102
|
+
Wyoming: "WY"
|
|
103
|
+
};
|
|
104
|
+
//#endregion
|
|
105
|
+
//#region src/utils/masking/masks/businessRegistrationNumberMasks.ts
|
|
106
|
+
var businessRegistrationNumberMasks = {
|
|
107
|
+
[CountryCodes.Austria]: {
|
|
108
|
+
firmenbuchnummer: { mask: makeMask({
|
|
109
|
+
type: "input",
|
|
110
|
+
allow: /[TF]/
|
|
111
|
+
}, {
|
|
112
|
+
type: "input",
|
|
113
|
+
allow: /N/,
|
|
114
|
+
optional: true
|
|
115
|
+
}, ...numericInputs(3), ...numericInputs(3, true), {
|
|
116
|
+
type: "input",
|
|
117
|
+
allow: /[a-z]/
|
|
118
|
+
}) },
|
|
119
|
+
ZVR: { mask: makeMask(...nonInputs("AT", { includeInValue: true }), spacer, ...nonInputs("-", { includeInValue: true }), spacer, ...nonInputs("ZVR", { includeInValue: true }), spacer, ...nonInputs("-", { includeInValue: true }), spacer, ...numericInputs(9), ...numericInputs(1, true)) }
|
|
120
|
+
},
|
|
121
|
+
[CountryCodes.Australia]: {
|
|
122
|
+
default: { mask: makeMask(...numericInputs(3), spacer, ...numericInputs(3), spacer, ...numericInputs(3)) },
|
|
123
|
+
associationIncorporated: {
|
|
124
|
+
mask: makeMask(...alphanumericInputs(3), ...alphanumericInputs(20, true)),
|
|
125
|
+
transformOnType: uppercase
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
[CountryCodes.Belgium]: { default: { mask: makeMask(...numericInputs(10)) } },
|
|
129
|
+
[CountryCodes.Brazil]: { default: { mask: makeMask(...numericInputs(2), ...nonInputs(" . "), ...numericInputs(3), ...nonInputs(" . "), ...numericInputs(3), ...nonInputs(" / "), ...numericInputs(4), ...nonInputs(" - "), ...numericInputs(2)) } },
|
|
130
|
+
[CountryCodes.Bulgaria]: { default: { mask: makeMask(...numericInputs(9)) } },
|
|
131
|
+
[CountryCodes.Canada]: { default: {
|
|
132
|
+
mask: makeMask(...alphanumericInputs(5), ...alphanumericInputs(5, true)),
|
|
133
|
+
transformOnType: uppercase
|
|
134
|
+
} },
|
|
135
|
+
[CountryCodes.Croatia]: {
|
|
136
|
+
default: { mask: makeMask(...numericInputs(9)) },
|
|
137
|
+
[CompanyTypesValues.SOLE_PROPRIETORSHIP]: { mask: makeMask(...numericInputs(8)) }
|
|
138
|
+
},
|
|
139
|
+
[CountryCodes.Cyprus]: { default: {
|
|
140
|
+
mask: makeMask(...customInputs(1, /^[COP]$/), ...numericInputs(1), ...numericInputs(7, true)),
|
|
141
|
+
transformOnType: uppercase
|
|
142
|
+
} },
|
|
143
|
+
[CountryCodes.CzechRepublic]: { default: { mask: makeMask(...numericInputs(8), ...numericInputs(2, true)) } },
|
|
144
|
+
[CountryCodes.Denmark]: { default: { mask: makeMask(...numericInputs(8)) } },
|
|
145
|
+
[CountryCodes.Estonia]: { default: { mask: makeMask(...numericInputs(8)) } },
|
|
146
|
+
[CountryCodes.Finland]: { default: { mask: makeMask(...numericInputs(7), spacer, ...nonInputs("-", { includeInValue: true }), spacer, ...numericInputs(1)) } },
|
|
147
|
+
[CountryCodes.France]: {
|
|
148
|
+
SIRET: { mask: makeMask(...numericInputs(9), ...nonInputs(" - "), ...numericInputs(5)) },
|
|
149
|
+
RNA: { mask: makeMask(...nonInputs("W", { includeInValue: true }), ...numericInputs(1), ...alphanumericInputs(1), ...numericInputs(7)) }
|
|
150
|
+
},
|
|
151
|
+
[CountryCodes.Germany]: { default: {
|
|
152
|
+
mask: makeMask(...alphanumericInputs(3), ...customInputs(17, /[A-Z0-9-]/, true)),
|
|
153
|
+
transformOnType: uppercase
|
|
154
|
+
} },
|
|
155
|
+
[CountryCodes.Gibraltar]: { default: {
|
|
156
|
+
mask: makeMask(...alphanumericInputs(1), ...alphanumericInputs(7, true)),
|
|
157
|
+
transformOnType: uppercase
|
|
158
|
+
} },
|
|
159
|
+
[CountryCodes.Greece]: { default: { mask: makeMask(...numericInputs(12)) } },
|
|
160
|
+
[CountryCodes.Guernsey]: { default: { mask: makeMask(...numericInputs(1), ...numericInputs(8, true)) } },
|
|
161
|
+
[CountryCodes.HongKong]: { default: { mask: makeMask(...numericInputs(7)) } },
|
|
162
|
+
[CountryCodes.Hungary]: {
|
|
163
|
+
default: { mask: makeMask(...numericInputs(2), ...nonInputs(" - "), ...numericInputs(2), ...nonInputs(" - "), ...numericInputs(6)) },
|
|
164
|
+
nyilvantartasiSzam: { mask: makeMask(...numericInputs(10)) }
|
|
165
|
+
},
|
|
166
|
+
[CountryCodes.Ireland]: { default: { mask: makeMask(...numericInputs(1), ...numericInputs(7, true)) } },
|
|
167
|
+
[CountryCodes.IsleOfMan]: { default: {
|
|
168
|
+
mask: makeMask(...numericInputs(6), ...alphaInputs(1)),
|
|
169
|
+
transformOnType: uppercase
|
|
170
|
+
} },
|
|
171
|
+
[CountryCodes.Italy]: {
|
|
172
|
+
partitaIVA: { mask: makeMask(...numericInputs(11)) },
|
|
173
|
+
CCIAA: {
|
|
174
|
+
mask: makeMask(...alphaInputs(2), ...numericInputs(6), ...numericInputs(1, true)),
|
|
175
|
+
transformOnType: uppercase
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
[CountryCodes.Japan]: { default: { mask: makeMask(...numericInputs(12)) } },
|
|
179
|
+
[CountryCodes.Jersey]: { default: {
|
|
180
|
+
mask: makeMask(...alphanumericInputs(1), ...alphanumericInputs(8, true)),
|
|
181
|
+
transformOnType: uppercase
|
|
182
|
+
} },
|
|
183
|
+
[CountryCodes.Latvia]: { default: { mask: makeMask(...numericInputs(11)) } },
|
|
184
|
+
[CountryCodes.Liechtenstein]: { default: { mask: makeMask(...nonInputs("FL", { includeInValue: true }), spacer, ...nonInputs("-", { includeInValue: true }), spacer, ...numericInputs(4), spacer, ...nonInputs(".", { includeInValue: true }), spacer, ...numericInputs(3), spacer, ...nonInputs(".", { includeInValue: true }), spacer, ...numericInputs(3), spacer, ...nonInputs("-", { includeInValue: true }), spacer, ...numericInputs(1)) } },
|
|
185
|
+
[CountryCodes.Lithuania]: { default: { mask: makeMask(...numericInputs(6), ...numericInputs(3, true)) } },
|
|
186
|
+
[CountryCodes.Luxembourg]: { default: {
|
|
187
|
+
mask: makeMask(...alphaInputs(1), ...numericInputs(9, true)),
|
|
188
|
+
transformOnType: uppercase
|
|
189
|
+
} },
|
|
190
|
+
[CountryCodes.Malaysia]: { default: { mask: makeMask(...numericInputs(7), ...numericInputs(5, true)) } },
|
|
191
|
+
[CountryCodes.Malta]: { default: {
|
|
192
|
+
mask: makeMask(...customInputs(1, /[CP]/), spacer, ...numericInputs(4), ...numericInputs(2, true)),
|
|
193
|
+
transformOnType: uppercase
|
|
194
|
+
} },
|
|
195
|
+
[CountryCodes.Mexico]: { default: { mask: makeMask(...alphanumericInputs(12)) } },
|
|
196
|
+
[CountryCodes.Monaco]: {
|
|
197
|
+
default: {
|
|
198
|
+
mask: makeMask(...alphanumericInputs(8), ...alphanumericInputs(3, true)),
|
|
199
|
+
transformOnType: uppercase
|
|
200
|
+
},
|
|
201
|
+
[CompanyTypesValues.SOLE_PROPRIETORSHIP]: {
|
|
202
|
+
mask: makeMask(...alphanumericInputs(8), ...alphanumericInputs(3, true)),
|
|
203
|
+
transformOnType: uppercase
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
[CountryCodes.Netherlands]: { default: { mask: makeMask(...numericInputs(8)) } },
|
|
207
|
+
[CountryCodes.NewZealand]: {
|
|
208
|
+
NZBN: { mask: makeMask(...numericInputs(13)) },
|
|
209
|
+
companyNumberNZ: { mask: makeMask(...numericInputs(7)) }
|
|
210
|
+
},
|
|
211
|
+
[CountryCodes.Norway]: { default: { mask: makeMask(...numericInputs(9)) } },
|
|
212
|
+
[CountryCodes.Poland]: {
|
|
213
|
+
krsNumber: { mask: makeMask(...numericInputs(10)) },
|
|
214
|
+
regon: { mask: makeMask(...numericInputs(9)) }
|
|
215
|
+
},
|
|
216
|
+
[CountryCodes.Portugal]: { default: { mask: makeMask(...numericInputs(9)) } },
|
|
217
|
+
[CountryCodes.Romania]: {
|
|
218
|
+
roRegNumberOldFormat: {
|
|
219
|
+
mask: makeMask(...alphaInputs(1), ...numericInputs(1), ...numericInputs(1, true), ...customInputs(1, /[/]/), ...numericInputs(1), ...numericInputs(8, true), ...customInputs(1, /[/]/), ...numericInputs(4)),
|
|
220
|
+
transformOnType: uppercase
|
|
221
|
+
},
|
|
222
|
+
roRegNumberNewFormat: {
|
|
223
|
+
mask: makeMask({
|
|
224
|
+
type: "input",
|
|
225
|
+
allow: /[JFC]/
|
|
226
|
+
}, ...numericInputs(13)),
|
|
227
|
+
transformOnType: uppercase
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
[CountryCodes.Singapore]: { default: {
|
|
231
|
+
mask: makeMask(...alphanumericInputs(9), ...alphanumericInputs(1, true)),
|
|
232
|
+
transformOnType: uppercase
|
|
233
|
+
} },
|
|
234
|
+
[CountryCodes.Slovakia]: { default: { mask: makeMask(...numericInputs(8)) } },
|
|
235
|
+
[CountryCodes.Slovenia]: { default: { mask: makeMask(...numericInputs(10)) } },
|
|
236
|
+
[CountryCodes.Spain]: { default: {
|
|
237
|
+
mask: makeMask(...alphaInputs(1), ...alphanumericInputs(8)),
|
|
238
|
+
transformOnType: uppercase
|
|
239
|
+
} },
|
|
240
|
+
[CountryCodes.Sweden]: { default: { mask: makeMask(...numericInputs(6), ...nonInputs(" - "), ...numericInputs(4)) } },
|
|
241
|
+
[CountryCodes.Switzerland]: { default: { mask: makeMask(...nonInputs("CHE", { includeInValue: true }), ...nonInputs(" - "), ...numericInputs(3), ...nonInputs(" . "), ...numericInputs(3), ...nonInputs(" . "), ...numericInputs(3)) } },
|
|
242
|
+
[CountryCodes.UnitedKingdom]: {
|
|
243
|
+
default: {
|
|
244
|
+
mask: makeMask(...alphanumericInputs(8)),
|
|
245
|
+
transformOnType: uppercase
|
|
246
|
+
},
|
|
247
|
+
nonProfit: {
|
|
248
|
+
mask: makeMask(...alphanumericInputs(6), ...customInputs(1, /[a-zA-Z0-9-]/, true), ...alphanumericInputs(1, true)),
|
|
249
|
+
transformOnType: uppercase
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
[CountryCodes.UnitedStates]: {
|
|
253
|
+
[StateCodesUS.Alabama]: {
|
|
254
|
+
mask: makeMask(...numericInputs(9), ...nonInputs(" "), ...nonInputs(StateCodesUS.Alabama)),
|
|
255
|
+
transformOnType: uppercase
|
|
256
|
+
},
|
|
257
|
+
[StateCodesUS.Alaska]: {
|
|
258
|
+
mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Alaska)),
|
|
259
|
+
transformOnType: uppercase
|
|
260
|
+
},
|
|
261
|
+
[StateCodesUS.Arizona]: {
|
|
262
|
+
mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Arizona)),
|
|
263
|
+
transformOnType: uppercase
|
|
264
|
+
},
|
|
265
|
+
[StateCodesUS.Arkansas]: {
|
|
266
|
+
mask: makeMask({
|
|
267
|
+
type: "input",
|
|
268
|
+
allow: /[8]/
|
|
269
|
+
}, ...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Arkansas)),
|
|
270
|
+
transformOnType: uppercase
|
|
271
|
+
},
|
|
272
|
+
[StateCodesUS.California]: {
|
|
273
|
+
mask: makeMask(...numericInputs(7), ...numericInputs(5, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.California)),
|
|
274
|
+
transformOnType: uppercase
|
|
275
|
+
},
|
|
276
|
+
[StateCodesUS.Colorado]: {
|
|
277
|
+
mask: makeMask(...numericInputs(11), ...nonInputs(" "), ...nonInputs(StateCodesUS.Colorado)),
|
|
278
|
+
transformOnType: uppercase
|
|
279
|
+
},
|
|
280
|
+
[StateCodesUS.Connecticut]: {
|
|
281
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Connecticut)),
|
|
282
|
+
transformOnType: uppercase
|
|
283
|
+
},
|
|
284
|
+
[StateCodesUS.Delaware]: {
|
|
285
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Delaware)),
|
|
286
|
+
transformOnType: uppercase
|
|
287
|
+
},
|
|
288
|
+
[StateCodesUS.Florida]: {
|
|
289
|
+
mask: makeMask(...numericInputs(6), ...numericInputs(6, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Florida)),
|
|
290
|
+
transformOnType: uppercase
|
|
291
|
+
},
|
|
292
|
+
[StateCodesUS.Georgia]: {
|
|
293
|
+
mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Georgia)),
|
|
294
|
+
transformOnType: uppercase
|
|
295
|
+
},
|
|
296
|
+
[StateCodesUS.Hawaii]: {
|
|
297
|
+
mask: makeMask(...numericInputs(5), ...numericInputs(3, true), {
|
|
298
|
+
type: "input",
|
|
299
|
+
allow: /[CDFLNPTZ]/
|
|
300
|
+
}, {
|
|
301
|
+
type: "input",
|
|
302
|
+
allow: /[1-8Z]/
|
|
303
|
+
}, ...nonInputs(" "), ...nonInputs(StateCodesUS.Hawaii)),
|
|
304
|
+
transformOnType: uppercase
|
|
305
|
+
},
|
|
306
|
+
[StateCodesUS.Idaho]: {
|
|
307
|
+
mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Idaho)),
|
|
308
|
+
transformOnType: uppercase
|
|
309
|
+
},
|
|
310
|
+
[StateCodesUS.Illinois]: {
|
|
311
|
+
mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Illinois)),
|
|
312
|
+
transformOnType: uppercase
|
|
313
|
+
},
|
|
314
|
+
[StateCodesUS.Indiana]: {
|
|
315
|
+
mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Indiana)),
|
|
316
|
+
transformOnType: uppercase
|
|
317
|
+
},
|
|
318
|
+
[StateCodesUS.Iowa]: {
|
|
319
|
+
mask: makeMask(...numericInputs(6), ...numericInputs(2, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Iowa)),
|
|
320
|
+
transformOnType: uppercase
|
|
321
|
+
},
|
|
322
|
+
[StateCodesUS.Kansas]: {
|
|
323
|
+
mask: makeMask(...numericInputs(7), ...numericInputs(2, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Kansas)),
|
|
324
|
+
transformOnType: uppercase
|
|
325
|
+
},
|
|
326
|
+
[StateCodesUS.Kentucky]: {
|
|
327
|
+
mask: makeMask(...numericInputs(9), ...numericInputs(1, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Kentucky)),
|
|
328
|
+
transformOnType: uppercase
|
|
329
|
+
},
|
|
330
|
+
[StateCodesUS.Louisiana]: {
|
|
331
|
+
mask: makeMask(...numericInputs(9), ...numericInputs(1, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Louisiana)),
|
|
332
|
+
transformOnType: uppercase
|
|
333
|
+
},
|
|
334
|
+
[StateCodesUS.Maine]: {
|
|
335
|
+
mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Maine)),
|
|
336
|
+
transformOnType: uppercase
|
|
337
|
+
},
|
|
338
|
+
[StateCodesUS.Maryland]: {
|
|
339
|
+
mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Maryland)),
|
|
340
|
+
transformOnType: uppercase
|
|
341
|
+
},
|
|
342
|
+
[StateCodesUS.Massachusetts]: {
|
|
343
|
+
mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Massachusetts)),
|
|
344
|
+
transformOnType: uppercase
|
|
345
|
+
},
|
|
346
|
+
[StateCodesUS.Michigan]: {
|
|
347
|
+
mask: makeMask(...numericInputs(6), ...numericInputs(3, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Michigan)),
|
|
348
|
+
transformOnType: uppercase
|
|
349
|
+
},
|
|
350
|
+
[StateCodesUS.Minnesota]: {
|
|
351
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Minnesota)),
|
|
352
|
+
transformOnType: uppercase
|
|
353
|
+
},
|
|
354
|
+
[StateCodesUS.Mississippi]: {
|
|
355
|
+
mask: makeMask(...numericInputs(7), ...numericInputs(3, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Mississippi)),
|
|
356
|
+
transformOnType: uppercase
|
|
357
|
+
},
|
|
358
|
+
[StateCodesUS.Missouri]: {
|
|
359
|
+
mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Missouri)),
|
|
360
|
+
transformOnType: uppercase
|
|
361
|
+
},
|
|
362
|
+
[StateCodesUS.Montana]: {
|
|
363
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Montana)),
|
|
364
|
+
transformOnType: uppercase
|
|
365
|
+
},
|
|
366
|
+
[StateCodesUS.Nebraska]: {
|
|
367
|
+
mask: makeMask(...numericInputs(9), ...numericInputs(2, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Nebraska)),
|
|
368
|
+
transformOnType: uppercase
|
|
369
|
+
},
|
|
370
|
+
[StateCodesUS.Nevada]: {
|
|
371
|
+
mask: makeMask(...numericInputs(9), ...numericInputs(2, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Nevada)),
|
|
372
|
+
transformOnType: uppercase
|
|
373
|
+
},
|
|
374
|
+
[StateCodesUS.NewHampshire]: {
|
|
375
|
+
mask: makeMask(...numericInputs(9), ...nonInputs(" "), ...nonInputs(StateCodesUS.NewHampshire)),
|
|
376
|
+
transformOnType: uppercase
|
|
377
|
+
},
|
|
378
|
+
[StateCodesUS.NewJersey]: {
|
|
379
|
+
mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.NewJersey)),
|
|
380
|
+
transformOnType: uppercase
|
|
381
|
+
},
|
|
382
|
+
[StateCodesUS.NewMexico]: {
|
|
383
|
+
mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.NewMexico)),
|
|
384
|
+
transformOnType: uppercase
|
|
385
|
+
},
|
|
386
|
+
[StateCodesUS.NewYork]: {
|
|
387
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.NewYork)),
|
|
388
|
+
transformOnType: uppercase
|
|
389
|
+
},
|
|
390
|
+
[StateCodesUS.NorthCarolina]: {
|
|
391
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.NorthCarolina)),
|
|
392
|
+
transformOnType: uppercase
|
|
393
|
+
},
|
|
394
|
+
[StateCodesUS.NorthDakota]: {
|
|
395
|
+
mask: makeMask(...numericInputs(7), ...numericInputs(3, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.NorthDakota)),
|
|
396
|
+
transformOnType: uppercase
|
|
397
|
+
},
|
|
398
|
+
[StateCodesUS.Ohio]: {
|
|
399
|
+
mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Ohio)),
|
|
400
|
+
transformOnType: uppercase
|
|
401
|
+
},
|
|
402
|
+
[StateCodesUS.Oklahoma]: {
|
|
403
|
+
mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Oklahoma)),
|
|
404
|
+
transformOnType: uppercase
|
|
405
|
+
},
|
|
406
|
+
[StateCodesUS.Oregon]: {
|
|
407
|
+
mask: makeMask(...numericInputs(9), ...nonInputs(" "), ...nonInputs(StateCodesUS.Oregon)),
|
|
408
|
+
transformOnType: uppercase
|
|
409
|
+
},
|
|
410
|
+
[StateCodesUS.Pennsylvania]: {
|
|
411
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Pennsylvania)),
|
|
412
|
+
transformOnType: uppercase
|
|
413
|
+
},
|
|
414
|
+
[StateCodesUS.RhodeIsland]: {
|
|
415
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.RhodeIsland)),
|
|
416
|
+
transformOnType: uppercase
|
|
417
|
+
},
|
|
418
|
+
[StateCodesUS.SouthCarolina]: {
|
|
419
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.SouthCarolina)),
|
|
420
|
+
transformOnType: uppercase
|
|
421
|
+
},
|
|
422
|
+
[StateCodesUS.SouthDakota]: {
|
|
423
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.SouthDakota)),
|
|
424
|
+
transformOnType: uppercase
|
|
425
|
+
},
|
|
426
|
+
[StateCodesUS.Tennessee]: {
|
|
427
|
+
mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Tennessee)),
|
|
428
|
+
transformOnType: uppercase
|
|
429
|
+
},
|
|
430
|
+
[StateCodesUS.Texas]: {
|
|
431
|
+
mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Texas)),
|
|
432
|
+
transformOnType: uppercase
|
|
433
|
+
},
|
|
434
|
+
[StateCodesUS.Utah]: {
|
|
435
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Utah)),
|
|
436
|
+
transformOnType: uppercase
|
|
437
|
+
},
|
|
438
|
+
[StateCodesUS.Vermont]: {
|
|
439
|
+
mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Vermont)),
|
|
440
|
+
transformOnType: uppercase
|
|
441
|
+
},
|
|
442
|
+
[StateCodesUS.Virginia]: {
|
|
443
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Virginia)),
|
|
444
|
+
transformOnType: uppercase
|
|
445
|
+
},
|
|
446
|
+
[StateCodesUS.Washington]: {
|
|
447
|
+
mask: makeMask(...numericInputs(9), ...nonInputs(" "), ...nonInputs(StateCodesUS.Washington)),
|
|
448
|
+
transformOnType: uppercase
|
|
449
|
+
},
|
|
450
|
+
[StateCodesUS.WestVirginia]: {
|
|
451
|
+
mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.WestVirginia)),
|
|
452
|
+
transformOnType: uppercase
|
|
453
|
+
},
|
|
454
|
+
[StateCodesUS.Wisconsin]: {
|
|
455
|
+
mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Wisconsin)),
|
|
456
|
+
transformOnType: uppercase
|
|
457
|
+
},
|
|
458
|
+
[StateCodesUS.Wyoming]: {
|
|
459
|
+
mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Wyoming)),
|
|
460
|
+
transformOnType: uppercase
|
|
461
|
+
},
|
|
462
|
+
[StateCodesUS.DistrictOfColumbia]: {
|
|
463
|
+
mask: makeMask(...numericInputs(9)),
|
|
464
|
+
transformOnType: uppercase
|
|
465
|
+
},
|
|
466
|
+
default: {
|
|
467
|
+
mask: makeMask(...numericInputs(9)),
|
|
468
|
+
transformOnType: uppercase
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
};
|
|
472
|
+
var stateFormatGuidanceText = {
|
|
473
|
+
[StateCodesUS.Alabama]: {
|
|
474
|
+
key: "enterNDigitsForExample",
|
|
475
|
+
values: {
|
|
476
|
+
numDigits: "9",
|
|
477
|
+
example: "123456789 AL"
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
[StateCodesUS.Alaska]: {
|
|
481
|
+
key: "enterNDigitsForExample",
|
|
482
|
+
values: {
|
|
483
|
+
numDigits: "8",
|
|
484
|
+
example: "12345678 AK"
|
|
485
|
+
}
|
|
486
|
+
},
|
|
487
|
+
[StateCodesUS.Arizona]: {
|
|
488
|
+
key: "enterNDigitsForExample",
|
|
489
|
+
values: {
|
|
490
|
+
numDigits: "8",
|
|
491
|
+
example: "12345678 AZ"
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
[StateCodesUS.Arkansas]: {
|
|
495
|
+
key: "enterTheRemainingNDigitsForExample",
|
|
496
|
+
values: {
|
|
497
|
+
numDigits: "8",
|
|
498
|
+
example: "800000001 AR"
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
[StateCodesUS.California]: {
|
|
502
|
+
key: "enterXOrYDigitsForExample",
|
|
503
|
+
values: {
|
|
504
|
+
xDigits: "8",
|
|
505
|
+
yDigits: "12",
|
|
506
|
+
example: "12345678 CA"
|
|
507
|
+
}
|
|
508
|
+
},
|
|
509
|
+
[StateCodesUS.Colorado]: {
|
|
510
|
+
key: "enterNDigitsForExample",
|
|
511
|
+
values: {
|
|
512
|
+
numDigits: "11",
|
|
513
|
+
example: "12345678901 CO"
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
[StateCodesUS.Connecticut]: {
|
|
517
|
+
key: "enterNDigitsForExample",
|
|
518
|
+
values: {
|
|
519
|
+
numDigits: "7",
|
|
520
|
+
example: "1234567 CT"
|
|
521
|
+
}
|
|
522
|
+
},
|
|
523
|
+
[StateCodesUS.Delaware]: {
|
|
524
|
+
key: "enterNDigitsForExample",
|
|
525
|
+
values: {
|
|
526
|
+
numDigits: "7",
|
|
527
|
+
example: "1234567 DE"
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
[StateCodesUS.Florida]: {
|
|
531
|
+
key: "enterXOrYDigitsForExample",
|
|
532
|
+
values: {
|
|
533
|
+
xDigits: "6",
|
|
534
|
+
yDigits: "12",
|
|
535
|
+
example: "123456789012 FL"
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
[StateCodesUS.Georgia]: {
|
|
539
|
+
key: "enterNDigitsForExample",
|
|
540
|
+
values: {
|
|
541
|
+
numDigits: "8",
|
|
542
|
+
example: "12345678 GA"
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
[StateCodesUS.Hawaii]: {
|
|
546
|
+
key: "validationPleaseEnterAValidBusinessRegistrationNumberWithFormat",
|
|
547
|
+
values: { example: "12345678ZZ HI" }
|
|
548
|
+
},
|
|
549
|
+
[StateCodesUS.Idaho]: {
|
|
550
|
+
key: "enterNDigitsForExample",
|
|
551
|
+
values: {
|
|
552
|
+
numDigits: "6",
|
|
553
|
+
example: "123456 ID"
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
[StateCodesUS.Illinois]: {
|
|
557
|
+
key: "enterNDigitsForExample",
|
|
558
|
+
values: {
|
|
559
|
+
numDigits: "8",
|
|
560
|
+
example: "12345678 IL"
|
|
561
|
+
}
|
|
562
|
+
},
|
|
563
|
+
[StateCodesUS.Indiana]: {
|
|
564
|
+
key: "enterNDigitsForExample",
|
|
565
|
+
values: {
|
|
566
|
+
numDigits: "10",
|
|
567
|
+
example: "1234567890 IN"
|
|
568
|
+
}
|
|
569
|
+
},
|
|
570
|
+
[StateCodesUS.Iowa]: {
|
|
571
|
+
key: "enterXToYDigitsForExample",
|
|
572
|
+
values: {
|
|
573
|
+
minDigits: "6",
|
|
574
|
+
maxDigits: "8",
|
|
575
|
+
example: "12345678 IA"
|
|
576
|
+
}
|
|
577
|
+
},
|
|
578
|
+
[StateCodesUS.Kansas]: {
|
|
579
|
+
key: "enterXToYDigitsForExample",
|
|
580
|
+
values: {
|
|
581
|
+
minDigits: "7",
|
|
582
|
+
maxDigits: "9",
|
|
583
|
+
example: "1234567890 KS"
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
[StateCodesUS.Kentucky]: {
|
|
587
|
+
key: "enterXToYDigitsForExample",
|
|
588
|
+
values: {
|
|
589
|
+
minDigits: "9",
|
|
590
|
+
maxDigits: "10",
|
|
591
|
+
example: "1234567890 KY"
|
|
592
|
+
}
|
|
593
|
+
},
|
|
594
|
+
[StateCodesUS.Louisiana]: {
|
|
595
|
+
key: "enterXToYDigitsForExample",
|
|
596
|
+
values: {
|
|
597
|
+
minDigits: "9",
|
|
598
|
+
maxDigits: "10",
|
|
599
|
+
example: "1234567890 LA"
|
|
600
|
+
}
|
|
601
|
+
},
|
|
602
|
+
[StateCodesUS.Maine]: {
|
|
603
|
+
key: "enterNDigitsForExample",
|
|
604
|
+
values: {
|
|
605
|
+
numDigits: "8",
|
|
606
|
+
example: "12345678 ME"
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
[StateCodesUS.Maryland]: {
|
|
610
|
+
key: "enterNDigitsForExample",
|
|
611
|
+
values: {
|
|
612
|
+
numDigits: "8",
|
|
613
|
+
example: "12345678 MD"
|
|
614
|
+
}
|
|
615
|
+
},
|
|
616
|
+
[StateCodesUS.Massachusetts]: {
|
|
617
|
+
key: "enterNDigitsForExample",
|
|
618
|
+
values: {
|
|
619
|
+
numDigits: "10",
|
|
620
|
+
example: "1234567890 MA"
|
|
621
|
+
}
|
|
622
|
+
},
|
|
623
|
+
[StateCodesUS.Michigan]: {
|
|
624
|
+
key: "enterXOrYDigitsForExample",
|
|
625
|
+
values: {
|
|
626
|
+
xDigits: "6",
|
|
627
|
+
yDigits: "9",
|
|
628
|
+
example: "123456 MI"
|
|
629
|
+
}
|
|
630
|
+
},
|
|
631
|
+
[StateCodesUS.Minnesota]: {
|
|
632
|
+
key: "enterNDigitsForExample",
|
|
633
|
+
values: {
|
|
634
|
+
numDigits: "7",
|
|
635
|
+
example: "1234567 MN"
|
|
636
|
+
}
|
|
637
|
+
},
|
|
638
|
+
[StateCodesUS.Mississippi]: {
|
|
639
|
+
key: "enterXToYDigitsForExample",
|
|
640
|
+
values: {
|
|
641
|
+
minDigits: "7",
|
|
642
|
+
maxDigits: "10",
|
|
643
|
+
example: "1234567 MS"
|
|
644
|
+
}
|
|
645
|
+
},
|
|
646
|
+
[StateCodesUS.Missouri]: {
|
|
647
|
+
key: "enterNDigitsForExample",
|
|
648
|
+
values: {
|
|
649
|
+
numDigits: "10",
|
|
650
|
+
example: "1234567890 MO"
|
|
651
|
+
}
|
|
652
|
+
},
|
|
653
|
+
[StateCodesUS.Montana]: {
|
|
654
|
+
key: "enterNDigitsForExample",
|
|
655
|
+
values: {
|
|
656
|
+
numDigits: "7",
|
|
657
|
+
example: "1234567 MT"
|
|
658
|
+
}
|
|
659
|
+
},
|
|
660
|
+
[StateCodesUS.Nebraska]: {
|
|
661
|
+
key: "enterXToYDigitsForExample",
|
|
662
|
+
values: {
|
|
663
|
+
minDigits: "9",
|
|
664
|
+
maxDigits: "11",
|
|
665
|
+
example: "123456789 NE"
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
[StateCodesUS.Nevada]: {
|
|
669
|
+
key: "enterXToYDigitsForExample",
|
|
670
|
+
values: {
|
|
671
|
+
minDigits: "9",
|
|
672
|
+
maxDigits: "11",
|
|
673
|
+
example: "123456789 NV"
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
[StateCodesUS.NewHampshire]: {
|
|
677
|
+
key: "enterNDigitsForExample",
|
|
678
|
+
values: {
|
|
679
|
+
numDigits: "9",
|
|
680
|
+
example: "123456789 NH"
|
|
681
|
+
}
|
|
682
|
+
},
|
|
683
|
+
[StateCodesUS.NewJersey]: {
|
|
684
|
+
key: "enterNDigitsForExample",
|
|
685
|
+
values: {
|
|
686
|
+
numDigits: "10",
|
|
687
|
+
example: "1234567890 NJ"
|
|
688
|
+
}
|
|
689
|
+
},
|
|
690
|
+
[StateCodesUS.NewMexico]: {
|
|
691
|
+
key: "enterNDigitsForExample",
|
|
692
|
+
values: {
|
|
693
|
+
numDigits: "6",
|
|
694
|
+
example: "123456 NM"
|
|
695
|
+
}
|
|
696
|
+
},
|
|
697
|
+
[StateCodesUS.NewYork]: {
|
|
698
|
+
key: "enterNDigitsForExample",
|
|
699
|
+
values: {
|
|
700
|
+
numDigits: "7",
|
|
701
|
+
example: "1234567 NY"
|
|
702
|
+
}
|
|
703
|
+
},
|
|
704
|
+
[StateCodesUS.NorthCarolina]: {
|
|
705
|
+
key: "enterNDigitsForExample",
|
|
706
|
+
values: {
|
|
707
|
+
numDigits: "7",
|
|
708
|
+
example: "1234567 NC"
|
|
709
|
+
}
|
|
710
|
+
},
|
|
711
|
+
[StateCodesUS.NorthDakota]: {
|
|
712
|
+
key: "enterXToYDigitsForExample",
|
|
713
|
+
values: {
|
|
714
|
+
minDigits: "7",
|
|
715
|
+
maxDigits: "10",
|
|
716
|
+
example: "1234567 ND"
|
|
717
|
+
}
|
|
718
|
+
},
|
|
719
|
+
[StateCodesUS.Ohio]: {
|
|
720
|
+
key: "enterNDigitsForExample",
|
|
721
|
+
values: {
|
|
722
|
+
numDigits: "10",
|
|
723
|
+
example: "1234567890 OH"
|
|
724
|
+
}
|
|
725
|
+
},
|
|
726
|
+
[StateCodesUS.Oklahoma]: {
|
|
727
|
+
key: "enterNDigitsForExample",
|
|
728
|
+
values: {
|
|
729
|
+
numDigits: "10",
|
|
730
|
+
example: "1234567890 OK"
|
|
731
|
+
}
|
|
732
|
+
},
|
|
733
|
+
[StateCodesUS.Oregon]: {
|
|
734
|
+
key: "enterNDigitsForExample",
|
|
735
|
+
values: {
|
|
736
|
+
numDigits: "9",
|
|
737
|
+
example: "123456789 OR"
|
|
738
|
+
}
|
|
739
|
+
},
|
|
740
|
+
[StateCodesUS.Pennsylvania]: {
|
|
741
|
+
key: "enterNDigitsForExample",
|
|
742
|
+
values: {
|
|
743
|
+
numDigits: "7",
|
|
744
|
+
example: "1234567 PA"
|
|
745
|
+
}
|
|
746
|
+
},
|
|
747
|
+
[StateCodesUS.RhodeIsland]: {
|
|
748
|
+
key: "enterNDigitsForExample",
|
|
749
|
+
values: {
|
|
750
|
+
numDigits: "7",
|
|
751
|
+
example: "1234567 RI"
|
|
752
|
+
}
|
|
753
|
+
},
|
|
754
|
+
[StateCodesUS.SouthCarolina]: {
|
|
755
|
+
key: "enterNDigitsForExample",
|
|
756
|
+
values: {
|
|
757
|
+
numDigits: "7",
|
|
758
|
+
example: "1234567 SC"
|
|
759
|
+
}
|
|
760
|
+
},
|
|
761
|
+
[StateCodesUS.SouthDakota]: {
|
|
762
|
+
key: "enterNDigitsForExample",
|
|
763
|
+
values: {
|
|
764
|
+
numDigits: "7",
|
|
765
|
+
example: "1234567 SD"
|
|
766
|
+
}
|
|
767
|
+
},
|
|
768
|
+
[StateCodesUS.Tennessee]: {
|
|
769
|
+
key: "enterNDigitsForExample",
|
|
770
|
+
values: {
|
|
771
|
+
numDigits: "6",
|
|
772
|
+
example: "123456 TN"
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
[StateCodesUS.Texas]: {
|
|
776
|
+
key: "enterNDigitsForExample",
|
|
777
|
+
values: {
|
|
778
|
+
numDigits: "10",
|
|
779
|
+
example: "1234567890 TX"
|
|
780
|
+
}
|
|
781
|
+
},
|
|
782
|
+
[StateCodesUS.Utah]: {
|
|
783
|
+
key: "enterNDigitsForExample",
|
|
784
|
+
values: {
|
|
785
|
+
numDigits: "7",
|
|
786
|
+
example: "1234567 UT"
|
|
787
|
+
}
|
|
788
|
+
},
|
|
789
|
+
[StateCodesUS.Vermont]: {
|
|
790
|
+
key: "enterNDigitsForExample",
|
|
791
|
+
values: {
|
|
792
|
+
numDigits: "6",
|
|
793
|
+
example: "123456 VT"
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
[StateCodesUS.Virginia]: {
|
|
797
|
+
key: "enterNDigitsForExample",
|
|
798
|
+
values: {
|
|
799
|
+
numDigits: "7",
|
|
800
|
+
example: "1234567 VA"
|
|
801
|
+
}
|
|
802
|
+
},
|
|
803
|
+
[StateCodesUS.Washington]: {
|
|
804
|
+
key: "enterNDigitsForExample",
|
|
805
|
+
values: {
|
|
806
|
+
numDigits: "9",
|
|
807
|
+
example: "123456789 WA"
|
|
808
|
+
}
|
|
809
|
+
},
|
|
810
|
+
[StateCodesUS.WestVirginia]: {
|
|
811
|
+
key: "enterNDigitsForExample",
|
|
812
|
+
values: {
|
|
813
|
+
numDigits: "6",
|
|
814
|
+
example: "123456 WV"
|
|
815
|
+
}
|
|
816
|
+
},
|
|
817
|
+
[StateCodesUS.Wisconsin]: {
|
|
818
|
+
key: "enterNDigitsForExample",
|
|
819
|
+
values: {
|
|
820
|
+
numDigits: "6",
|
|
821
|
+
example: "123456 WI"
|
|
822
|
+
}
|
|
823
|
+
},
|
|
824
|
+
[StateCodesUS.Wyoming]: {
|
|
825
|
+
key: "enterNDigitsForExample",
|
|
826
|
+
values: {
|
|
827
|
+
numDigits: "6",
|
|
828
|
+
example: "123456 WY"
|
|
829
|
+
}
|
|
830
|
+
},
|
|
831
|
+
[StateCodesUS.DistrictOfColumbia]: {
|
|
832
|
+
key: "enterNDigitsForExample",
|
|
833
|
+
values: {
|
|
834
|
+
numDigits: "9",
|
|
835
|
+
example: "123456789"
|
|
836
|
+
}
|
|
837
|
+
},
|
|
838
|
+
default: {
|
|
839
|
+
key: "enterNDigitsForExample",
|
|
840
|
+
values: {
|
|
841
|
+
numDigits: "9",
|
|
842
|
+
example: "123456789"
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
};
|
|
846
|
+
//#endregion
|
|
847
|
+
//#region src/utils/regex/businessRegistrationNumberPatterns.ts
|
|
848
|
+
var businessRegistrationNumberPatterns = {
|
|
849
|
+
[CountryCodes.Australia]: {
|
|
850
|
+
default: /^\d{9}$/,
|
|
851
|
+
associationIncorporated: /^[a-zA-Z0-9]{3,20}$/
|
|
852
|
+
},
|
|
853
|
+
[CountryCodes.Austria]: {
|
|
854
|
+
firmenbuchnummer: /^(FN|T)\d{3,6}[a-z]$/,
|
|
855
|
+
ZVR: /^(AT-ZVR-)\d{9,10}$/
|
|
856
|
+
},
|
|
857
|
+
[CountryCodes.Belgium]: { default: /^\d{10}$/ },
|
|
858
|
+
[CountryCodes.Brazil]: { default: /^\d{14}$/ },
|
|
859
|
+
[CountryCodes.Bulgaria]: { default: /^\d{9}$/ },
|
|
860
|
+
[CountryCodes.Canada]: { default: /^[a-zA-Z0-9]{5,10}$/ },
|
|
861
|
+
[CountryCodes.Croatia]: {
|
|
862
|
+
default: /^\d{9}$/,
|
|
863
|
+
soleProprietorship: /^\d{8}$/
|
|
864
|
+
},
|
|
865
|
+
[CountryCodes.Cyprus]: { default: /^[COP]{1}\d{1,8}$/ },
|
|
866
|
+
[CountryCodes.CzechRepublic]: { default: /^\d{8,10}$/ },
|
|
867
|
+
[CountryCodes.Denmark]: { default: /^\d{8}$/ },
|
|
868
|
+
[CountryCodes.Estonia]: { default: /^\d{8}$/ },
|
|
869
|
+
[CountryCodes.Finland]: { default: /^\d{7}-?\d$/ },
|
|
870
|
+
[CountryCodes.France]: {
|
|
871
|
+
SIRET: /^\d{9}-?\d{5}$/,
|
|
872
|
+
RNA: /^W(\d{9}|\d[A-Za-z]\d{7})$/
|
|
873
|
+
},
|
|
874
|
+
[CountryCodes.Gibraltar]: { default: /^[a-zA-Z0-9]{1,8}$/ },
|
|
875
|
+
[CountryCodes.Germany]: { default: /^[A-Z]{2,3}\d{1,6}[A-Z]{0,5}(?:-[A-Z]\d{4})?$/ },
|
|
876
|
+
[CountryCodes.Greece]: { default: /^\d{12}$/ },
|
|
877
|
+
[CountryCodes.Guernsey]: { default: /^\d{1,9}$/ },
|
|
878
|
+
[CountryCodes.HongKong]: { default: /^\d{7}$/ },
|
|
879
|
+
[CountryCodes.Hungary]: {
|
|
880
|
+
default: /^\d{10}$/,
|
|
881
|
+
nyilvantartasiSzam: /^\d{7,10}$/
|
|
882
|
+
},
|
|
883
|
+
[CountryCodes.Iceland]: { default: /^\d{10}$/ },
|
|
884
|
+
[CountryCodes.India]: { default: /^\d{21}$/ },
|
|
885
|
+
[CountryCodes.Indonesia]: { default: /^\d{12}$/ },
|
|
886
|
+
[CountryCodes.Ireland]: { default: /^[1-9]\d{1,7}$/ },
|
|
887
|
+
[CountryCodes.IsleOfMan]: { default: /^\d{6}[A-Z]$/ },
|
|
888
|
+
[CountryCodes.Italy]: {
|
|
889
|
+
partitaIVA: /^\d{11}$/,
|
|
890
|
+
CCIAA: /^[a-zA-Z]{2}\d{6,7}$/
|
|
891
|
+
},
|
|
892
|
+
[CountryCodes.Japan]: { default: /^\d{12}$/ },
|
|
893
|
+
[CountryCodes.Jersey]: { default: /^[a-zA-Z0-9]{1,9}$/ },
|
|
894
|
+
[CountryCodes.Korea]: { default: /^\d{10}$/ },
|
|
895
|
+
[CountryCodes.Latvia]: { default: /^\d{11}$/ },
|
|
896
|
+
[CountryCodes.Liechtenstein]: { default: /FL-[0-9]{4}[.][0-9]{3}[.][0-9]{3}-[0-9]$/ },
|
|
897
|
+
[CountryCodes.Lithuania]: { default: /^\d{6,9}$/ },
|
|
898
|
+
[CountryCodes.Luxembourg]: { default: /^[a-zA-Z]\d{1,9}$/ },
|
|
899
|
+
[CountryCodes.Malaysia]: { default: /^\d{7}$|^\d{12}$/ },
|
|
900
|
+
[CountryCodes.Malta]: { default: /^[CP]\s?\d{4,6}$/ },
|
|
901
|
+
[CountryCodes.Mexico]: { default: /^\D{3}\d{6}\w{3}$/ },
|
|
902
|
+
[CountryCodes.Monaco]: {
|
|
903
|
+
default: /^[0-9]{2}[A-Z]{1,3}[0-9]{5}$/,
|
|
904
|
+
soleProprietorship: /^\d{2,4}[A-Z]\d{5}$/
|
|
905
|
+
},
|
|
906
|
+
[CountryCodes.Netherlands]: { default: /^\d{8}$/ },
|
|
907
|
+
[CountryCodes.NewZealand]: {
|
|
908
|
+
NZBN: /^\d{13}$/,
|
|
909
|
+
companyNumberNZ: /^\d{7}$/
|
|
910
|
+
},
|
|
911
|
+
[CountryCodes.Norway]: { default: /^\d{9}$/ },
|
|
912
|
+
[CountryCodes.Poland]: {
|
|
913
|
+
krsNumber: /^\d{10}$/,
|
|
914
|
+
regon: /^\d{9}$/
|
|
915
|
+
},
|
|
916
|
+
[CountryCodes.Portugal]: { default: /^\d{9}$/ },
|
|
917
|
+
[CountryCodes.Romania]: {
|
|
918
|
+
roRegNumberOldFormat: /^[A-Z]\d{1,2}\/\d{1,9}\/\d{4}$/,
|
|
919
|
+
roRegNumberNewFormat: /^[JFC]\d{13}$/
|
|
920
|
+
},
|
|
921
|
+
[CountryCodes.Singapore]: { default: /^[a-zA-Z0-9]{9,10}$/ },
|
|
922
|
+
[CountryCodes.Slovakia]: { default: /^\d{8}$/ },
|
|
923
|
+
[CountryCodes.Slovenia]: { default: /^\d{10}$/ },
|
|
924
|
+
[CountryCodes.Spain]: { default: /^[a-zA-Z][a-zA-Z0-9]{8}$/ },
|
|
925
|
+
[CountryCodes.Sweden]: { default: /^\d{10}$/ },
|
|
926
|
+
[CountryCodes.Switzerland]: { default: /^CHE\d{9}$|^CH\d{11}$/ },
|
|
927
|
+
[CountryCodes.UnitedKingdom]: {
|
|
928
|
+
default: /^[a-zA-Z0-9]{8}$/,
|
|
929
|
+
nonProfit: /^(?:(?:[A-Z]{2})?\d{6}|\d{6,8}|\d{6}-\d)$/
|
|
930
|
+
},
|
|
931
|
+
[CountryCodes.UnitedStates]: {
|
|
932
|
+
[StateCodesUS.Alabama]: /^\d{9}$/,
|
|
933
|
+
[StateCodesUS.Alaska]: /^\d{8}$/,
|
|
934
|
+
[StateCodesUS.Arizona]: /^\d{8}$/,
|
|
935
|
+
[StateCodesUS.Arkansas]: /^8\d{8}$/,
|
|
936
|
+
[StateCodesUS.California]: /^\d{7}$|^\d{12}$/,
|
|
937
|
+
[StateCodesUS.Colorado]: /^\d{11}$/,
|
|
938
|
+
[StateCodesUS.Connecticut]: /^\d{7}$/,
|
|
939
|
+
[StateCodesUS.Delaware]: /^\d{7}$/,
|
|
940
|
+
[StateCodesUS.Florida]: /^\d{6}$|^\d{12}$/,
|
|
941
|
+
[StateCodesUS.Georgia]: /^\d{8}$/,
|
|
942
|
+
[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)$/,
|
|
943
|
+
[StateCodesUS.Idaho]: /^\d{6}$/,
|
|
944
|
+
[StateCodesUS.Illinois]: /^\d{8}$/,
|
|
945
|
+
[StateCodesUS.Indiana]: /^\d{10}$/,
|
|
946
|
+
[StateCodesUS.Iowa]: /^\d{6,8}$/,
|
|
947
|
+
[StateCodesUS.Kansas]: /^\d{7,9}$/,
|
|
948
|
+
[StateCodesUS.Kentucky]: /^\d{9,10}$/,
|
|
949
|
+
[StateCodesUS.Louisiana]: /^\d{9,10}$/,
|
|
950
|
+
[StateCodesUS.Maine]: /^\d{8}$/,
|
|
951
|
+
[StateCodesUS.Maryland]: /^\d{8}$/,
|
|
952
|
+
[StateCodesUS.Massachusetts]: /^\d{10}$/,
|
|
953
|
+
[StateCodesUS.Michigan]: /^\d{6}$|^\d{9}$/,
|
|
954
|
+
[StateCodesUS.Minnesota]: /^\d{7}$/,
|
|
955
|
+
[StateCodesUS.Mississippi]: /^\d{7,10}$/,
|
|
956
|
+
[StateCodesUS.Missouri]: /^\d{10}$/,
|
|
957
|
+
[StateCodesUS.Montana]: /^\d{7}$/,
|
|
958
|
+
[StateCodesUS.Nebraska]: /^\d{9,11}$/,
|
|
959
|
+
[StateCodesUS.Nevada]: /^\d{9,11}$/,
|
|
960
|
+
[StateCodesUS.NewHampshire]: /^\d{9}$/,
|
|
961
|
+
[StateCodesUS.NewJersey]: /^\d{10}$/,
|
|
962
|
+
[StateCodesUS.NewMexico]: /^\d{6}$/,
|
|
963
|
+
[StateCodesUS.NewYork]: /^\d{7}$/,
|
|
964
|
+
[StateCodesUS.NorthCarolina]: /^\d{7}$/,
|
|
965
|
+
[StateCodesUS.NorthDakota]: /^\d{7,10}$/,
|
|
966
|
+
[StateCodesUS.Ohio]: /^\d{10}$/,
|
|
967
|
+
[StateCodesUS.Oklahoma]: /^\d{10}$/,
|
|
968
|
+
[StateCodesUS.Oregon]: /^\d{9}$/,
|
|
969
|
+
[StateCodesUS.Pennsylvania]: /^\d{7}$/,
|
|
970
|
+
[StateCodesUS.RhodeIsland]: /^\d{7}$/,
|
|
971
|
+
[StateCodesUS.SouthCarolina]: /^\d{7}$/,
|
|
972
|
+
[StateCodesUS.SouthDakota]: /^\d{7}$/,
|
|
973
|
+
[StateCodesUS.Tennessee]: /^\d{6}$/,
|
|
974
|
+
[StateCodesUS.Texas]: /^\d{10}$/,
|
|
975
|
+
[StateCodesUS.Utah]: /^\d{7}$/,
|
|
976
|
+
[StateCodesUS.Vermont]: /^\d{6}$/,
|
|
977
|
+
[StateCodesUS.Virginia]: /^\d{7}$/,
|
|
978
|
+
[StateCodesUS.Washington]: /^\d{9}$/,
|
|
979
|
+
[StateCodesUS.WestVirginia]: /^\d{6}$/,
|
|
980
|
+
[StateCodesUS.Wisconsin]: /^\d{6}$/,
|
|
981
|
+
[StateCodesUS.Wyoming]: /^\d{6}$/,
|
|
982
|
+
[StateCodesUS.DistrictOfColumbia]: /^\d{9}$/,
|
|
983
|
+
default: /^\d{9}$/
|
|
984
|
+
}
|
|
985
|
+
};
|
|
986
|
+
//#endregion
|
|
987
|
+
//#region src/components/Shared/fields/TaxInformationField/fieldConfig.ts
|
|
988
|
+
var taxInformationDefaultFieldMetadata = { label: "taxId" };
|
|
989
|
+
var exemptedFromTaxDefaultFieldMetadata = { label: "iDontHaveATaxId" };
|
|
990
|
+
/**
|
|
991
|
+
* Mapping function to parse TaxInformation schemas to validate the string for TaxInformation.number
|
|
992
|
+
*
|
|
993
|
+
* @param validators - String validators for the TaxInformation.number
|
|
994
|
+
* @param country - Country in the fieldConfig
|
|
995
|
+
*/
|
|
996
|
+
var mapValidators = (validators, country) => {
|
|
997
|
+
return validators.map((validator) => ({
|
|
998
|
+
...validator,
|
|
999
|
+
validate: (taxInformation) => {
|
|
1000
|
+
const taxInfo = taxInformation?.find((taxId) => country === taxId.country);
|
|
1001
|
+
if (taxInfo?.numberAbsent) return true;
|
|
1002
|
+
return taxInfo?.number ? validator.validate(taxInfo.number) : false;
|
|
1003
|
+
}
|
|
1004
|
+
}));
|
|
1005
|
+
};
|
|
1006
|
+
var taxInformationDefaultFieldConfig = {
|
|
1007
|
+
[CountryCodes.Australia]: {
|
|
1008
|
+
label: "australianBusinessNumberAbn",
|
|
1009
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Australia),
|
|
1010
|
+
mask: { mask: makeMask(...numericInputs(2), spacer, ...numericInputs(3), spacer, ...numericInputs(3), spacer, ...numericInputs(3)) },
|
|
1011
|
+
guidanceText: {
|
|
1012
|
+
key: "enterNDigitsForExample",
|
|
1013
|
+
values: {
|
|
1014
|
+
numDigits: "11",
|
|
1015
|
+
example: "51 824 753 556"
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
},
|
|
1019
|
+
[CountryCodes.Austria]: {
|
|
1020
|
+
label: "taxInformationNumber__AT",
|
|
1021
|
+
validators: mapValidators([validatePatternOnBlur(/^(?=(?:[^0-9]*\d){9}[^0-9]*$)[\d\-/]+$/)], CountryCodes.Austria),
|
|
1022
|
+
mask: { mask: makeMask(...numericInputs(2), {
|
|
1023
|
+
type: "input",
|
|
1024
|
+
allow: /[-/]/,
|
|
1025
|
+
optional: true
|
|
1026
|
+
}, ...numericInputs(3), {
|
|
1027
|
+
type: "input",
|
|
1028
|
+
allow: /[-/]/,
|
|
1029
|
+
optional: true
|
|
1030
|
+
}, ...numericInputs(4)) },
|
|
1031
|
+
guidanceText: {
|
|
1032
|
+
key: "enterNDigitsForExample",
|
|
1033
|
+
values: {
|
|
1034
|
+
numDigits: "9",
|
|
1035
|
+
example: "931736581"
|
|
1036
|
+
}
|
|
1037
|
+
}
|
|
1038
|
+
},
|
|
1039
|
+
[CountryCodes.Belgium]: ({ companyType }) => {
|
|
1040
|
+
switch (companyType) {
|
|
1041
|
+
case LegalEntityTypes.INDIVIDUAL: return {
|
|
1042
|
+
label: "taxInformationNumber__BE_Individual",
|
|
1043
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Belgium),
|
|
1044
|
+
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1045
|
+
guidanceText: {
|
|
1046
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1047
|
+
values: {
|
|
1048
|
+
example: "99999999999",
|
|
1049
|
+
idType: "Numeró National"
|
|
1050
|
+
}
|
|
1051
|
+
}
|
|
1052
|
+
};
|
|
1053
|
+
default: return {
|
|
1054
|
+
label: "taxInformationNumber__BE",
|
|
1055
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.Belgium),
|
|
1056
|
+
mask: { mask: makeMask(...numericInputs(10)) },
|
|
1057
|
+
guidanceText: {
|
|
1058
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1059
|
+
values: {
|
|
1060
|
+
example: "0123321123",
|
|
1061
|
+
idType: "Business nummer"
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1064
|
+
};
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
1067
|
+
[CountryCodes.Canada]: {
|
|
1068
|
+
label: "businessNumber",
|
|
1069
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Canada),
|
|
1070
|
+
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1071
|
+
guidanceText: {
|
|
1072
|
+
key: "enterNDigitsForExample",
|
|
1073
|
+
values: {
|
|
1074
|
+
numDigits: "9",
|
|
1075
|
+
example: "123456789"
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
},
|
|
1079
|
+
[CountryCodes.Croatia]: {
|
|
1080
|
+
label: "taxInformationNumber__HR",
|
|
1081
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Croatia),
|
|
1082
|
+
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1083
|
+
guidanceText: {
|
|
1084
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1085
|
+
values: {
|
|
1086
|
+
example: "94577403194",
|
|
1087
|
+
idType: "OIB"
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
},
|
|
1091
|
+
[CountryCodes.Cyprus]: {
|
|
1092
|
+
label: "taxInformationNumber__CY",
|
|
1093
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{8,9}[A-Z]$/)], CountryCodes.Cyprus),
|
|
1094
|
+
mask: {
|
|
1095
|
+
mask: makeMask(...numericInputs(8), ...numericInputs(1, true), ...alphaInputs(1)),
|
|
1096
|
+
transformOnType: uppercase
|
|
1097
|
+
},
|
|
1098
|
+
guidanceText: {
|
|
1099
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1100
|
+
values: {
|
|
1101
|
+
example: "00123123T",
|
|
1102
|
+
idType: "TIC"
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
},
|
|
1106
|
+
[CountryCodes.Estonia]: {
|
|
1107
|
+
label: "taxInformationNumber__ET_Individual",
|
|
1108
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Estonia),
|
|
1109
|
+
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1110
|
+
guidanceText: {
|
|
1111
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1112
|
+
values: {
|
|
1113
|
+
example: "32708101201",
|
|
1114
|
+
idType: "Isikukood"
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1117
|
+
},
|
|
1118
|
+
[CountryCodes.Finland]: {
|
|
1119
|
+
label: "taxInformationNumber__FI",
|
|
1120
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{6}[+\-A]\d{3}[0-9A-Y]$/)], CountryCodes.Finland),
|
|
1121
|
+
mask: {
|
|
1122
|
+
mask: makeMask(...numericInputs(6), {
|
|
1123
|
+
type: "input",
|
|
1124
|
+
allow: /[+\-A]/
|
|
1125
|
+
}, ...numericInputs(3), {
|
|
1126
|
+
type: "input",
|
|
1127
|
+
allow: /[0-9A-Y]/
|
|
1128
|
+
}),
|
|
1129
|
+
transformOnType: uppercase
|
|
1130
|
+
},
|
|
1131
|
+
guidanceText: {
|
|
1132
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1133
|
+
values: {
|
|
1134
|
+
example: "131052-308T",
|
|
1135
|
+
idType: "Henkilötunnus"
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
},
|
|
1139
|
+
[CountryCodes.France]: {
|
|
1140
|
+
label: "taxInformationNumber__FR",
|
|
1141
|
+
validators: mapValidators([validatePatternOnBlur(/^\s*(\d\s*){13}$/)], CountryCodes.France),
|
|
1142
|
+
mask: { mask: makeMask(...numericInputs(2), spacer, ...numericInputs(2), spacer, ...numericInputs(3), spacer, ...numericInputs(3), spacer, ...numericInputs(3)) },
|
|
1143
|
+
guidanceText: {
|
|
1144
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1145
|
+
values: {
|
|
1146
|
+
example: "30 23 217 600 053",
|
|
1147
|
+
idType: "Numéro SPI"
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
},
|
|
1151
|
+
[CountryCodes.Germany]: ({ companyType }) => {
|
|
1152
|
+
switch (companyType) {
|
|
1153
|
+
case LegalEntityTypes.INDIVIDUAL: return {
|
|
1154
|
+
label: "taxInformationNumber__DE_Individual",
|
|
1155
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Germany),
|
|
1156
|
+
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1157
|
+
guidanceText: {
|
|
1158
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1159
|
+
values: {
|
|
1160
|
+
example: "26954371827",
|
|
1161
|
+
idType: "IdNr"
|
|
1162
|
+
}
|
|
1163
|
+
}
|
|
1164
|
+
};
|
|
1165
|
+
default: return {
|
|
1166
|
+
label: "taxInformationNumber__DE",
|
|
1167
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{10}$|^\d{11}$|^\d{13}$/)], CountryCodes.Germany),
|
|
1168
|
+
mask: { mask: makeMask(...numericInputs(10), ...numericInputs(3, true)) },
|
|
1169
|
+
guidanceText: {
|
|
1170
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1171
|
+
values: {
|
|
1172
|
+
example: "14310260208",
|
|
1173
|
+
idType: "Steuernummer"
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
};
|
|
1177
|
+
}
|
|
1178
|
+
},
|
|
1179
|
+
[CountryCodes.Gibraltar]: {
|
|
1180
|
+
label: "taxpayerReferenceNumber",
|
|
1181
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{1,7}$/)], CountryCodes.Gibraltar),
|
|
1182
|
+
mask: { mask: makeMask(...numericInputs(1), ...numericInputs(6, true)) },
|
|
1183
|
+
guidanceText: {
|
|
1184
|
+
key: "enterAMaximumOfNDigitsForExample",
|
|
1185
|
+
values: {
|
|
1186
|
+
maxDigits: "7",
|
|
1187
|
+
example: "123456"
|
|
1188
|
+
}
|
|
1189
|
+
}
|
|
1190
|
+
},
|
|
1191
|
+
[CountryCodes.Greece]: {
|
|
1192
|
+
label: "taxInformationNumber__GR",
|
|
1193
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Greece),
|
|
1194
|
+
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1195
|
+
guidanceText: {
|
|
1196
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1197
|
+
values: {
|
|
1198
|
+
example: "244709851",
|
|
1199
|
+
idType: "AFM"
|
|
1200
|
+
}
|
|
1201
|
+
}
|
|
1202
|
+
},
|
|
1203
|
+
[CountryCodes.Guernsey]: ({ companyType }) => {
|
|
1204
|
+
switch (companyType) {
|
|
1205
|
+
case CompanyTypesValues.SOLE_PROPRIETORSHIP: return {
|
|
1206
|
+
label: "nationalInsuranceNumber",
|
|
1207
|
+
validators: mapValidators([validatePatternOnBlur(/^GY\d{6}[A-D]$/)], CountryCodes.Guernsey),
|
|
1208
|
+
mask: {
|
|
1209
|
+
mask: makeMask(...nonInputs("GY", { includeInValue: true }), spacer, ...numericInputs(2), spacer, ...numericInputs(2), spacer, ...numericInputs(2), spacer, {
|
|
1210
|
+
type: "input",
|
|
1211
|
+
allow: /[A-D]/
|
|
1212
|
+
}),
|
|
1213
|
+
transformOnType: uppercase
|
|
1214
|
+
},
|
|
1215
|
+
guidanceText: {
|
|
1216
|
+
key: "enterTheRemainingNCharactersForExample",
|
|
1217
|
+
values: {
|
|
1218
|
+
numChars: "7",
|
|
1219
|
+
example: "GY 12 34 56 A"
|
|
1220
|
+
}
|
|
1221
|
+
}
|
|
1222
|
+
};
|
|
1223
|
+
default: return {
|
|
1224
|
+
label: "taxInformationNumber",
|
|
1225
|
+
mask: businessRegistrationNumberMasks[CountryCodes.Guernsey].default,
|
|
1226
|
+
validators: mapValidators([validatePatternOnBlur(businessRegistrationNumberPatterns[CountryCodes.Guernsey].default)], CountryCodes.Guernsey),
|
|
1227
|
+
guidanceText: {
|
|
1228
|
+
key: "enterAMaximumOfNDigitsForExample",
|
|
1229
|
+
values: {
|
|
1230
|
+
maxDigits: "9",
|
|
1231
|
+
example: "123456"
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
};
|
|
1235
|
+
}
|
|
1236
|
+
},
|
|
1237
|
+
[CountryCodes.HongKong]: {
|
|
1238
|
+
label: "taxInformationNumber__HK",
|
|
1239
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{8}$/)], CountryCodes.HongKong),
|
|
1240
|
+
mask: { mask: makeMask(...numericInputs(8)) },
|
|
1241
|
+
guidanceText: {
|
|
1242
|
+
key: "enterNDigitsForExample",
|
|
1243
|
+
values: {
|
|
1244
|
+
numDigits: "8",
|
|
1245
|
+
example: "70569713"
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
},
|
|
1249
|
+
[CountryCodes.Ireland]: ({ companyType }) => {
|
|
1250
|
+
switch (companyType) {
|
|
1251
|
+
case LegalEntityTypes.INDIVIDUAL: return {
|
|
1252
|
+
label: "taxInformationNumber__IE_Individual",
|
|
1253
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{7}[A-Z]$|^\d{7}[A-Z]{2}$/)], CountryCodes.Ireland),
|
|
1254
|
+
mask: {
|
|
1255
|
+
mask: makeMask(...numericInputs(7), ...alphaInputs(1), ...alphaInputs(1, true)),
|
|
1256
|
+
transformOnType: uppercase
|
|
1257
|
+
},
|
|
1258
|
+
guidanceText: {
|
|
1259
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1260
|
+
values: {
|
|
1261
|
+
example: "1234567T",
|
|
1262
|
+
idType: "Personal Public Service Number"
|
|
1263
|
+
}
|
|
1264
|
+
}
|
|
1265
|
+
};
|
|
1266
|
+
default: return {
|
|
1267
|
+
label: "trnNumber",
|
|
1268
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{7}[A-Z]$|^\d{7}[A-Z]{2}$/)], CountryCodes.Ireland),
|
|
1269
|
+
mask: {
|
|
1270
|
+
mask: makeMask(...numericInputs(7), ...alphaInputs(1), ...alphaInputs(1, true)),
|
|
1271
|
+
transformOnType: uppercase
|
|
1272
|
+
},
|
|
1273
|
+
guidanceText: {
|
|
1274
|
+
key: "enterXDigitsThenXToYLettersForExample",
|
|
1275
|
+
values: {
|
|
1276
|
+
numDigits: "7",
|
|
1277
|
+
minLetters: "1",
|
|
1278
|
+
maxLetters: "2",
|
|
1279
|
+
example: "1497955KA"
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
};
|
|
1283
|
+
}
|
|
1284
|
+
},
|
|
1285
|
+
[CountryCodes.Italy]: {
|
|
1286
|
+
label: "codiceFiscale",
|
|
1287
|
+
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1288
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Italy),
|
|
1289
|
+
guidanceText: {
|
|
1290
|
+
key: "enterNDigitsForExample",
|
|
1291
|
+
values: {
|
|
1292
|
+
numDigits: "11",
|
|
1293
|
+
example: "12345678901"
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
},
|
|
1297
|
+
[CountryCodes.IsleOfMan]: {
|
|
1298
|
+
label: "taxReferenceNumber",
|
|
1299
|
+
validators: mapValidators([validatePatternOnBlur(/^[HCX]\d{8}$/)], CountryCodes.IsleOfMan),
|
|
1300
|
+
mask: {
|
|
1301
|
+
mask: makeMask({
|
|
1302
|
+
type: "input",
|
|
1303
|
+
allow: /[HCX]/
|
|
1304
|
+
}, ...numericInputs(6), ...nonInputs(" - "), ...numericInputs(2)),
|
|
1305
|
+
transformOnType: uppercase
|
|
1306
|
+
},
|
|
1307
|
+
guidanceText: {
|
|
1308
|
+
key: "enterNCharactersForExample",
|
|
1309
|
+
values: {
|
|
1310
|
+
numChars: "9",
|
|
1311
|
+
example: "C155673-79"
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1314
|
+
},
|
|
1315
|
+
[CountryCodes.Jersey]: ({ taxIdNumberType, companyType }) => {
|
|
1316
|
+
switch (taxIdNumberType) {
|
|
1317
|
+
case "SSN": return {
|
|
1318
|
+
label: "socialSecurityNumber",
|
|
1319
|
+
validators: mapValidators([validatePatternOnBlur(/^[A-Z]{2}\d{6}[A-Z]$/)], CountryCodes.Jersey),
|
|
1320
|
+
mask: {
|
|
1321
|
+
mask: makeMask(...alphaInputs(2), ...numericInputs(6), ...alphaInputs(1)),
|
|
1322
|
+
transformOnType: uppercase
|
|
1323
|
+
},
|
|
1324
|
+
guidanceText: {
|
|
1325
|
+
key: "enterNCharactersForExample",
|
|
1326
|
+
values: {
|
|
1327
|
+
numChars: "9",
|
|
1328
|
+
example: "JY000000A"
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1331
|
+
};
|
|
1332
|
+
default: switch (companyType) {
|
|
1333
|
+
case CompanyTypesValues.SOLE_PROPRIETORSHIP: return {
|
|
1334
|
+
label: "taxIdentificationNumber",
|
|
1335
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.Jersey),
|
|
1336
|
+
mask: { mask: makeMask(...numericInputs(3), ...nonInputs(" - "), ...numericInputs(3), ...nonInputs(" - "), ...numericInputs(4)) },
|
|
1337
|
+
guidanceText: {
|
|
1338
|
+
key: "enterNDigitsForExample",
|
|
1339
|
+
values: {
|
|
1340
|
+
numDigits: "10",
|
|
1341
|
+
example: "100-100-1000"
|
|
1342
|
+
}
|
|
1343
|
+
}
|
|
1344
|
+
};
|
|
1345
|
+
default: return {
|
|
1346
|
+
label: "taxIdentificationNumber",
|
|
1347
|
+
validators: mapValidators([validatePatternOnBlur(/^[A-Z]{2}\d{5}$/)], CountryCodes.Jersey),
|
|
1348
|
+
mask: {
|
|
1349
|
+
mask: makeMask(...alphaInputs(2), ...numericInputs(5)),
|
|
1350
|
+
transformOnType: uppercase
|
|
1351
|
+
},
|
|
1352
|
+
guidanceText: {
|
|
1353
|
+
key: "enterNCharactersForExample",
|
|
1354
|
+
values: {
|
|
1355
|
+
numChars: "7",
|
|
1356
|
+
example: "CC17261"
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1359
|
+
};
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1362
|
+
},
|
|
1363
|
+
[CountryCodes.Latvia]: {
|
|
1364
|
+
label: "taxInformationNumber__LV",
|
|
1365
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Latvia),
|
|
1366
|
+
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1367
|
+
guidanceText: {
|
|
1368
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1369
|
+
values: {
|
|
1370
|
+
example: "32532963606",
|
|
1371
|
+
idType: "Personas kods"
|
|
1372
|
+
}
|
|
1373
|
+
}
|
|
1374
|
+
},
|
|
1375
|
+
[CountryCodes.Lithuania]: {
|
|
1376
|
+
label: "taxInformationNumber__LT",
|
|
1377
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Lithuania),
|
|
1378
|
+
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1379
|
+
guidanceText: {
|
|
1380
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1381
|
+
values: {
|
|
1382
|
+
example: "33309240064",
|
|
1383
|
+
idType: "Asmens kodas"
|
|
1384
|
+
}
|
|
1385
|
+
}
|
|
1386
|
+
},
|
|
1387
|
+
[CountryCodes.Luxembourg]: ({ companyType }) => {
|
|
1388
|
+
switch (companyType) {
|
|
1389
|
+
case LegalEntityTypes.INDIVIDUAL: return {
|
|
1390
|
+
label: "taxInformationNumber__LU_Individual",
|
|
1391
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{13}$/)], CountryCodes.Luxembourg),
|
|
1392
|
+
mask: { mask: makeMask(...numericInputs(13)) },
|
|
1393
|
+
guidanceText: {
|
|
1394
|
+
key: "enterNCharactersForExample",
|
|
1395
|
+
values: {
|
|
1396
|
+
numChars: "13",
|
|
1397
|
+
example: "1893120105732"
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
};
|
|
1401
|
+
default: return {
|
|
1402
|
+
label: "taxInformationNumber__LU_Org",
|
|
1403
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Luxembourg),
|
|
1404
|
+
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1405
|
+
guidanceText: {
|
|
1406
|
+
key: "enterNCharactersForExample",
|
|
1407
|
+
values: {
|
|
1408
|
+
numChars: "11",
|
|
1409
|
+
example: "19991201001"
|
|
1410
|
+
}
|
|
1411
|
+
}
|
|
1412
|
+
};
|
|
1413
|
+
}
|
|
1414
|
+
},
|
|
1415
|
+
[CountryCodes.Malta]: ({ taxIdNumberType, companyType }) => {
|
|
1416
|
+
switch (companyType) {
|
|
1417
|
+
case LegalEntityTypes.INDIVIDUAL: switch (taxIdNumberType) {
|
|
1418
|
+
case "IDENTITY_CARD_NUMBER": return {
|
|
1419
|
+
label: "taxInformationNumber__MT_Individual",
|
|
1420
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{7}[A-Z]$|^\d{9}$/)], CountryCodes.Malta),
|
|
1421
|
+
mask: {
|
|
1422
|
+
mask: makeMask(...numericInputs(7), ...alphanumericInputs(2)),
|
|
1423
|
+
transformOnType: uppercase
|
|
1424
|
+
},
|
|
1425
|
+
guidanceText: {
|
|
1426
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1427
|
+
values: {
|
|
1428
|
+
example: "1234567A",
|
|
1429
|
+
idType: "Identity card number or unique taxpayer reference number (Maltese nationals)"
|
|
1430
|
+
}
|
|
1431
|
+
}
|
|
1432
|
+
};
|
|
1433
|
+
default: return {
|
|
1434
|
+
label: "taxInformationNumber__MT_NRU_Individual",
|
|
1435
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Malta),
|
|
1436
|
+
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1437
|
+
guidanceText: {
|
|
1438
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1439
|
+
values: {
|
|
1440
|
+
example: "999999999",
|
|
1441
|
+
idType: "NRU (Non-Maltese nationals)"
|
|
1442
|
+
}
|
|
1443
|
+
}
|
|
1444
|
+
};
|
|
1445
|
+
}
|
|
1446
|
+
default: return {
|
|
1447
|
+
label: "taxInformationNumber__MT_Org",
|
|
1448
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Malta),
|
|
1449
|
+
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1450
|
+
guidanceText: {
|
|
1451
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1452
|
+
values: {
|
|
1453
|
+
example: "123456789",
|
|
1454
|
+
idType: "Income Tax Registration Number"
|
|
1455
|
+
}
|
|
1456
|
+
}
|
|
1457
|
+
};
|
|
1458
|
+
}
|
|
1459
|
+
},
|
|
1460
|
+
[CountryCodes.Netherlands]: ({ companyType }) => {
|
|
1461
|
+
switch (companyType) {
|
|
1462
|
+
case LegalEntityTypes.INDIVIDUAL: return {
|
|
1463
|
+
label: "bsnNumber",
|
|
1464
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Netherlands),
|
|
1465
|
+
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1466
|
+
guidanceText: {
|
|
1467
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1468
|
+
values: {
|
|
1469
|
+
example: "999999999",
|
|
1470
|
+
idType: "BSN"
|
|
1471
|
+
}
|
|
1472
|
+
}
|
|
1473
|
+
};
|
|
1474
|
+
default: return {
|
|
1475
|
+
label: "rsinNumber",
|
|
1476
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Netherlands),
|
|
1477
|
+
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1478
|
+
guidanceText: {
|
|
1479
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1480
|
+
values: {
|
|
1481
|
+
example: "811786523",
|
|
1482
|
+
idType: "RSIN"
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
};
|
|
1486
|
+
}
|
|
1487
|
+
},
|
|
1488
|
+
[CountryCodes.NewZealand]: {
|
|
1489
|
+
label: "irdNumber",
|
|
1490
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{8,9}$/)], CountryCodes.NewZealand),
|
|
1491
|
+
mask: { mask: makeMask(...numericInputs(8), ...numericInputs(1, true)) },
|
|
1492
|
+
guidanceText: {
|
|
1493
|
+
key: "enterXToYDigitsForExample",
|
|
1494
|
+
values: {
|
|
1495
|
+
minDigits: "8",
|
|
1496
|
+
maxDigits: "9",
|
|
1497
|
+
example: "12345678"
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1500
|
+
},
|
|
1501
|
+
[CountryCodes.Portugal]: {
|
|
1502
|
+
label: "taxInformationNumber__PT",
|
|
1503
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Portugal),
|
|
1504
|
+
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1505
|
+
guidanceText: {
|
|
1506
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1507
|
+
values: {
|
|
1508
|
+
example: "299999998",
|
|
1509
|
+
idType: "Numéro ID Civil"
|
|
1510
|
+
}
|
|
1511
|
+
}
|
|
1512
|
+
},
|
|
1513
|
+
[CountryCodes.PuertoRico]: {
|
|
1514
|
+
label: "taxInformationNumber__US",
|
|
1515
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.PuertoRico),
|
|
1516
|
+
mask: { mask: makeMask(...numericInputs(2), ...nonInputs(" - "), ...numericInputs(7)) },
|
|
1517
|
+
guidanceText: {
|
|
1518
|
+
key: "validationPleaseEnterAValidEINWithFormat",
|
|
1519
|
+
values: {
|
|
1520
|
+
format: "XX-XXXXXXX",
|
|
1521
|
+
example: "98-7654321"
|
|
1522
|
+
}
|
|
1523
|
+
}
|
|
1524
|
+
},
|
|
1525
|
+
[CountryCodes.Singapore]: {
|
|
1526
|
+
label: "gst",
|
|
1527
|
+
validators: mapValidators([validatePatternOnBlur(/^[A-Z0-9]{9,10}$/)], CountryCodes.Singapore),
|
|
1528
|
+
mask: {
|
|
1529
|
+
mask: makeMask(...alphanumericInputs(2), ...nonInputs(" - "), ...alphanumericInputs(7), ...nonInputs(" - "), ...alphanumericInputs(1)),
|
|
1530
|
+
transformOnType: uppercase
|
|
1531
|
+
},
|
|
1532
|
+
guidanceText: {
|
|
1533
|
+
key: "enterNCharactersForExample",
|
|
1534
|
+
values: {
|
|
1535
|
+
numChars: "10",
|
|
1536
|
+
example: "M212345678"
|
|
1537
|
+
}
|
|
1538
|
+
}
|
|
1539
|
+
},
|
|
1540
|
+
[CountryCodes.Slovakia]: ({ companyType }) => {
|
|
1541
|
+
switch (companyType) {
|
|
1542
|
+
case LegalEntityTypes.INDIVIDUAL: return {
|
|
1543
|
+
label: "taxInformationNumber__SK_Individual",
|
|
1544
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{9}$|^\d{10}$|^\d{11}$|^\d{6}\/\d{3}$|^\d{6}\/\d{4}$/)], CountryCodes.Slovakia),
|
|
1545
|
+
mask: { mask: makeMask(...numericInputs(6), {
|
|
1546
|
+
type: "input",
|
|
1547
|
+
allow: /\//,
|
|
1548
|
+
optional: true
|
|
1549
|
+
}, ...numericInputs(4), ...numericInputs(1, true)) },
|
|
1550
|
+
guidanceText: {
|
|
1551
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1552
|
+
values: {
|
|
1553
|
+
example: "7711167420",
|
|
1554
|
+
idType: "Rodne Cislo"
|
|
1555
|
+
}
|
|
1556
|
+
}
|
|
1557
|
+
};
|
|
1558
|
+
default: return {
|
|
1559
|
+
label: "taxInformationNumber__SK_Org",
|
|
1560
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.Slovakia),
|
|
1561
|
+
mask: { mask: makeMask(...numericInputs(10)) },
|
|
1562
|
+
guidanceText: {
|
|
1563
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1564
|
+
values: {
|
|
1565
|
+
example: "2020123456",
|
|
1566
|
+
idType: "Daňové identifikačné číslo (DIČ)"
|
|
1567
|
+
}
|
|
1568
|
+
}
|
|
1569
|
+
};
|
|
1570
|
+
}
|
|
1571
|
+
},
|
|
1572
|
+
[CountryCodes.Slovenia]: ({ companyType }) => {
|
|
1573
|
+
switch (companyType) {
|
|
1574
|
+
case LegalEntityTypes.INDIVIDUAL: return {
|
|
1575
|
+
label: "taxInformationNumber__SI_Individual",
|
|
1576
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{8}$/)], CountryCodes.Slovenia),
|
|
1577
|
+
mask: { mask: makeMask(...numericInputs(8)) },
|
|
1578
|
+
guidanceText: {
|
|
1579
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1580
|
+
values: {
|
|
1581
|
+
example: "15012557",
|
|
1582
|
+
idType: "SI tax number"
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1585
|
+
};
|
|
1586
|
+
default: return {
|
|
1587
|
+
label: "taxInformationNumber__SI_Org",
|
|
1588
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{8}$/)], CountryCodes.Slovenia),
|
|
1589
|
+
mask: { mask: makeMask(...numericInputs(8)) },
|
|
1590
|
+
guidanceText: {
|
|
1591
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1592
|
+
values: {
|
|
1593
|
+
example: "12345678",
|
|
1594
|
+
idType: "Davčna številka"
|
|
1595
|
+
}
|
|
1596
|
+
}
|
|
1597
|
+
};
|
|
1598
|
+
}
|
|
1599
|
+
},
|
|
1600
|
+
[CountryCodes.UnitedKingdom]: ({ taxIdNumberType, companyType }) => {
|
|
1601
|
+
switch (companyType) {
|
|
1602
|
+
case LegalEntityTypes.INDIVIDUAL: switch (taxIdNumberType) {
|
|
1603
|
+
case "NINO": return {
|
|
1604
|
+
label: "nationalInsuranceNumber",
|
|
1605
|
+
validators: mapValidators([validatePatternOnBlur(/^[A-Z]{2}\d{6}[A-D]$/)], CountryCodes.UnitedKingdom),
|
|
1606
|
+
guidanceText: {
|
|
1607
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1608
|
+
values: {
|
|
1609
|
+
example: "AA123456C",
|
|
1610
|
+
idType: "NINO"
|
|
1611
|
+
}
|
|
1612
|
+
}
|
|
1613
|
+
};
|
|
1614
|
+
default: return {
|
|
1615
|
+
label: "utr",
|
|
1616
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.UnitedKingdom),
|
|
1617
|
+
mask: { mask: makeMask(...numericInputs(10)) },
|
|
1618
|
+
guidanceText: {
|
|
1619
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1620
|
+
values: {
|
|
1621
|
+
example: "7172510005",
|
|
1622
|
+
idType: "UTR"
|
|
1623
|
+
}
|
|
1624
|
+
}
|
|
1625
|
+
};
|
|
1626
|
+
}
|
|
1627
|
+
default: return {
|
|
1628
|
+
label: "utr",
|
|
1629
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.UnitedKingdom),
|
|
1630
|
+
mask: { mask: makeMask(...numericInputs(10)) },
|
|
1631
|
+
guidanceText: {
|
|
1632
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1633
|
+
values: {
|
|
1634
|
+
example: "7172510005",
|
|
1635
|
+
idType: "UTR"
|
|
1636
|
+
}
|
|
1637
|
+
}
|
|
1638
|
+
};
|
|
1639
|
+
}
|
|
1640
|
+
},
|
|
1641
|
+
[CountryCodes.UnitedStates]: {
|
|
1642
|
+
label: "taxInformationNumber__US",
|
|
1643
|
+
validators: mapValidators([validateNotEmptyOnBlur, validatePatternOnBlur(/^\d{9}$/)], CountryCodes.UnitedStates),
|
|
1644
|
+
mask: { mask: makeMask(...numericInputs(2), ...nonInputs(" - "), ...numericInputs(7)) },
|
|
1645
|
+
guidanceText: {
|
|
1646
|
+
key: "validationPleaseEnterAValidEINWithFormat",
|
|
1647
|
+
values: {
|
|
1648
|
+
format: "XX-XXXXXXX",
|
|
1649
|
+
example: "98-7654321"
|
|
1650
|
+
}
|
|
1651
|
+
}
|
|
1652
|
+
},
|
|
1653
|
+
[CountryCodes.India]: { validators: mapValidators([validatePatternOnBlur(/^[A-Z0-9]{15}$/)], CountryCodes.India) },
|
|
1654
|
+
[CountryCodes.Japan]: {
|
|
1655
|
+
label: "taxInformationNumber__JP",
|
|
1656
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{13}$/)], CountryCodes.Japan),
|
|
1657
|
+
guidanceText: {
|
|
1658
|
+
key: "enterNDigitsForExample",
|
|
1659
|
+
values: {
|
|
1660
|
+
numDigits: "13",
|
|
1661
|
+
example: "2169151989941"
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
},
|
|
1665
|
+
[CountryCodes.Philippines]: { validators: mapValidators([validatePatternOnBlur(/^\d{12}$/)], CountryCodes.Philippines) }
|
|
1666
|
+
};
|
|
1667
|
+
var exemptedFromTaxDefaultFieldConfig = { [CountryCodes.Australia]: { label: "doNotHaveAbn" } };
|
|
1668
|
+
var getTaxInformationPlaceholderText = ({ country, companyType, taxIdNumberType }) => {
|
|
1669
|
+
switch (country) {
|
|
1670
|
+
case CountryCodes.Austria: return "931736581";
|
|
1671
|
+
case CountryCodes.Belgium: switch (companyType) {
|
|
1672
|
+
case LegalEntityTypes.INDIVIDUAL: return "99999999999";
|
|
1673
|
+
default: return "0123321123";
|
|
1674
|
+
}
|
|
1675
|
+
case CountryCodes.Croatia: return "94577403194";
|
|
1676
|
+
case CountryCodes.Cyprus: return "00123123T";
|
|
1677
|
+
case CountryCodes.Estonia: return "32708101201";
|
|
1678
|
+
case CountryCodes.Ethiopia: return "32708101201";
|
|
1679
|
+
case CountryCodes.Finland: return "131052-308T";
|
|
1680
|
+
case CountryCodes.France: return "30 23 217 600 053";
|
|
1681
|
+
case CountryCodes.Germany: switch (companyType) {
|
|
1682
|
+
case LegalEntityTypes.INDIVIDUAL: return "26954371827";
|
|
1683
|
+
default: return "14310260208";
|
|
1684
|
+
}
|
|
1685
|
+
case CountryCodes.Gibraltar: return "123456";
|
|
1686
|
+
case CountryCodes.Greece: return "244709851";
|
|
1687
|
+
case CountryCodes.Ireland: switch (companyType) {
|
|
1688
|
+
case LegalEntityTypes.INDIVIDUAL: return "1234567T";
|
|
1689
|
+
default: return "1497955KA";
|
|
1690
|
+
}
|
|
1691
|
+
case CountryCodes.Italy: return "12345678901";
|
|
1692
|
+
case CountryCodes.IsleOfMan: return "C155673-79";
|
|
1693
|
+
case CountryCodes.Latvia: return "32532963606";
|
|
1694
|
+
case CountryCodes.Lithuania: return "33309240064";
|
|
1695
|
+
case CountryCodes.Luxembourg: switch (companyType) {
|
|
1696
|
+
case LegalEntityTypes.INDIVIDUAL: return "1893120105732";
|
|
1697
|
+
default: return "19991201001";
|
|
1698
|
+
}
|
|
1699
|
+
case CountryCodes.Malta: switch (companyType) {
|
|
1700
|
+
case LegalEntityTypes.INDIVIDUAL: switch (taxIdNumberType) {
|
|
1701
|
+
case "NRU": return "999999999";
|
|
1702
|
+
default: return "1234567A";
|
|
1703
|
+
}
|
|
1704
|
+
default: return "999999999";
|
|
1705
|
+
}
|
|
1706
|
+
case CountryCodes.Netherlands: switch (companyType) {
|
|
1707
|
+
case LegalEntityTypes.INDIVIDUAL: return "999999999";
|
|
1708
|
+
default: return "811786523";
|
|
1709
|
+
}
|
|
1710
|
+
case CountryCodes.Portugal: return "299999998";
|
|
1711
|
+
case CountryCodes.Slovakia: switch (companyType) {
|
|
1712
|
+
case LegalEntityTypes.INDIVIDUAL: return "7711167420";
|
|
1713
|
+
default: return "2020123456";
|
|
1714
|
+
}
|
|
1715
|
+
case CountryCodes.Slovenia: switch (companyType) {
|
|
1716
|
+
case LegalEntityTypes.INDIVIDUAL: return "15012557";
|
|
1717
|
+
default: return "12345678";
|
|
1718
|
+
}
|
|
1719
|
+
case CountryCodes.UnitedKingdom: return "7172510005";
|
|
1720
|
+
case CountryCodes.Spain: return "99999999L";
|
|
1721
|
+
case CountryCodes.PuertoRico:
|
|
1722
|
+
case CountryCodes.UnitedStates: return "11-0000000";
|
|
1723
|
+
}
|
|
1724
|
+
};
|
|
1725
|
+
//#endregion
|
|
1726
|
+
//#region src/utils/mapping/documentGuidanceMap.ts
|
|
1727
|
+
/**
|
|
1728
|
+
* Returns the appropriate prefix for the document guidance image based on api documentType.
|
|
1729
|
+
*/
|
|
1730
|
+
var getDocumentGuidancePrefix = (documentType) => {
|
|
1731
|
+
switch (documentType) {
|
|
1732
|
+
case "passport": return "passport";
|
|
1733
|
+
case "driversLicense":
|
|
1734
|
+
case "identityCard": return "id";
|
|
1735
|
+
default: return "document";
|
|
1736
|
+
}
|
|
1737
|
+
};
|
|
1738
|
+
//#endregion
|
|
1739
|
+
//#region src/components/ui/molecules/DocumentGuidance/DocumentGuidance.tsx
|
|
1740
|
+
var documentMap = {
|
|
1741
|
+
"document-blurred": lazy(() => import("./document-blurred-LCBsN2NC.js")),
|
|
1742
|
+
"document-cutoff": lazy(() => import("./document-cut-off-wsPtcq1x.js")),
|
|
1743
|
+
"document-expired": lazy(() => import("./document-expired-CvTJKcZr.js")),
|
|
1744
|
+
"document-front": lazy(() => import("./document-front-BHCo0w58.js")),
|
|
1745
|
+
"id-blurred": lazy(() => import("./id-blurred-DajPeUev.js")),
|
|
1746
|
+
"id-cutoff": lazy(() => import("./id-cut-off-Cg7VH88-.js")),
|
|
1747
|
+
"id-front": lazy(() => import("./id-front-BFiC6TLx.js")),
|
|
1748
|
+
"id-glare": lazy(() => import("./id-glare--tl3DxTG.js")),
|
|
1749
|
+
"passport-blurred": lazy(() => import("./passport-blurred-CeDXhPyb.js")),
|
|
1750
|
+
"passport-cutoff": lazy(() => import("./passport-cut-off-CvgvQJYC.js")),
|
|
1751
|
+
"passport-front": lazy(() => import("./passport-front-DnOK4cgY.js")),
|
|
1752
|
+
"passport-glare": lazy(() => import("./passport-glare-BMA9YxJd.js"))
|
|
1753
|
+
};
|
|
1754
|
+
function DocumentGuidance({ type, className }) {
|
|
1755
|
+
const { t } = useTranslation("ui");
|
|
1756
|
+
const documentGuidanceItems = useMemo$1(() => {
|
|
1757
|
+
const guidancePrefix = getDocumentGuidancePrefix(type);
|
|
1758
|
+
const guidanceItems = [
|
|
1759
|
+
{
|
|
1760
|
+
svgName: `${guidancePrefix}-front`,
|
|
1761
|
+
translationKey: "good",
|
|
1762
|
+
valid: true
|
|
1763
|
+
},
|
|
1764
|
+
{
|
|
1765
|
+
svgName: `${guidancePrefix}-cutoff`,
|
|
1766
|
+
translationKey: "notCutOff"
|
|
1767
|
+
},
|
|
1768
|
+
{
|
|
1769
|
+
svgName: `${guidancePrefix}-blurred`,
|
|
1770
|
+
translationKey: "notBlurry"
|
|
1771
|
+
},
|
|
1772
|
+
guidancePrefix === "document" ? {
|
|
1773
|
+
svgName: `document-expired`,
|
|
1774
|
+
translationKey: "notExpired"
|
|
1775
|
+
} : {
|
|
1776
|
+
svgName: `${guidancePrefix}-glare`,
|
|
1777
|
+
translationKey: "noGlare"
|
|
1778
|
+
}
|
|
1779
|
+
];
|
|
1780
|
+
return type === "constitutionalDocument" ? guidanceItems.filter((item) => item.svgName !== "document-expired") : guidanceItems;
|
|
1781
|
+
}, [type]);
|
|
1782
|
+
return /* @__PURE__ */ jsx("div", {
|
|
1783
|
+
className: cx("adyen-kyc-document-guidance", className),
|
|
1784
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
1785
|
+
className: "adyen-kyc-document-guidance__container",
|
|
1786
|
+
children: documentGuidanceItems.map((item) => /* @__PURE__ */ jsxs("figure", {
|
|
1787
|
+
className: "adyen-kyc-document-guidance__item",
|
|
1788
|
+
children: [/* @__PURE__ */ jsx(Image, { lazyLoadedImage: documentMap[item.svgName] }), /* @__PURE__ */ jsxs("figcaption", {
|
|
1789
|
+
className: "adyen-kyc-document-guidance__description",
|
|
1790
|
+
children: [item.valid ? /* @__PURE__ */ jsx(Icon, {
|
|
1791
|
+
name: "check",
|
|
1792
|
+
className: "adyen-kyc-document-guidance__icon"
|
|
1793
|
+
}) : /* @__PURE__ */ jsx(Icon, {
|
|
1794
|
+
name: "cross",
|
|
1795
|
+
className: "adyen-kyc-document-guidance__icon adyen-kyc-document-guidance__icon--invalid"
|
|
1796
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
1797
|
+
className: "adyen-kyc-document-guidance__description-text",
|
|
1798
|
+
children: t(($) => $[item.translationKey])
|
|
1799
|
+
})]
|
|
1800
|
+
})]
|
|
1801
|
+
}, item.translationKey))
|
|
1802
|
+
})
|
|
1803
|
+
});
|
|
1804
|
+
}
|
|
1805
|
+
var DocumentUpload_module_default = {
|
|
1806
|
+
"description-field": "adyen-kyc-description-field",
|
|
1807
|
+
descriptionField: "adyen-kyc-description-field"
|
|
1808
|
+
};
|
|
1809
|
+
//#endregion
|
|
1810
|
+
//#region src/components/Shared/forms/DocumentUpload/DocumentUpload.tsx
|
|
1811
|
+
var DESCRIPTION_CHARACTERS_LIMIT = 200;
|
|
1812
|
+
function DocumentUpload({ documentType, documentField, guidanceHeader, documentTypeSelect, guidanceContent, handleFieldChange, requiredFields, data: dataProp, valid: validProp, errors: errorProp, fieldValidationErrors: propFieldValidationErrors, supportsMultipleUploads, maxNumberOfFiles = 1, label, extraDropzoneDescription, hidePageCount, ...props }) {
|
|
1813
|
+
const { t } = useTranslation("common");
|
|
1814
|
+
const [document, setDocument] = useState$1();
|
|
1815
|
+
const form = useForm({
|
|
1816
|
+
...props,
|
|
1817
|
+
schema: ["description"],
|
|
1818
|
+
defaultData: dataProp,
|
|
1819
|
+
rules: props.validators,
|
|
1820
|
+
fieldProblems: propFieldValidationErrors
|
|
1821
|
+
});
|
|
1822
|
+
const { handleChangeFor, triggerValidation, setData } = form;
|
|
1823
|
+
let { data, errors, valid, fieldProblems } = form;
|
|
1824
|
+
const formUtils = createFormUtils(props, t);
|
|
1825
|
+
const stateRef = useRef$1({ setState: null });
|
|
1826
|
+
const isOptional = !(props?.formVerificationErrors && Object.keys(props?.formVerificationErrors)?.length === 0);
|
|
1827
|
+
useEffect$1(() => {
|
|
1828
|
+
if (isOptional) triggerValidation();
|
|
1829
|
+
}, [dataProp]);
|
|
1830
|
+
useEffect$1(() => {
|
|
1831
|
+
stateRef.current.setState?.({
|
|
1832
|
+
type: "addToState",
|
|
1833
|
+
value: {
|
|
1834
|
+
data,
|
|
1835
|
+
valid,
|
|
1836
|
+
errors,
|
|
1837
|
+
fieldProblems,
|
|
1838
|
+
dataStoreId: props.id,
|
|
1839
|
+
schema: requiredFields
|
|
1840
|
+
}
|
|
1841
|
+
});
|
|
1842
|
+
}, [
|
|
1843
|
+
data,
|
|
1844
|
+
valid,
|
|
1845
|
+
errors,
|
|
1846
|
+
fieldProblems
|
|
1847
|
+
]);
|
|
1848
|
+
useEffect$1(() => {
|
|
1849
|
+
setDocument({ [documentField]: dataProp?.[documentField] });
|
|
1850
|
+
setData("description", dataProp?.description);
|
|
1851
|
+
triggerValidation();
|
|
1852
|
+
}, [dataProp]);
|
|
1853
|
+
if (handleFieldChange && requiredFields && propFieldValidationErrors) {
|
|
1854
|
+
data = dataProp ?? {};
|
|
1855
|
+
errors = errorProp;
|
|
1856
|
+
valid = validProp;
|
|
1857
|
+
fieldProblems = propFieldValidationErrors;
|
|
1858
|
+
}
|
|
1859
|
+
const handleInput = (e) => {
|
|
1860
|
+
handleChangeFor("description")(e);
|
|
1861
|
+
if (handleFieldChange) handleFieldChange?.("description")(e);
|
|
1862
|
+
};
|
|
1863
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
1864
|
+
className: `adyen-kyc-company-document-upload adyen-kyc-company-document-upload--${documentField}`,
|
|
1865
|
+
children: [
|
|
1866
|
+
/* @__PURE__ */ jsx(StateContextSetter, {
|
|
1867
|
+
owner: props.id,
|
|
1868
|
+
stateRef
|
|
1869
|
+
}),
|
|
1870
|
+
props.heading && /* @__PURE__ */ jsx(Header, {
|
|
1871
|
+
title: props.heading,
|
|
1872
|
+
description: props.description
|
|
1873
|
+
}),
|
|
1874
|
+
/* @__PURE__ */ jsx(ErrorPanel, {
|
|
1875
|
+
verificationErrors: props?.formVerificationErrors,
|
|
1876
|
+
validationErrors: propFieldValidationErrors,
|
|
1877
|
+
formUtils,
|
|
1878
|
+
id: "ariaErrorField"
|
|
1879
|
+
}),
|
|
1880
|
+
formUtils.isRequiredField(documentField) && /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1881
|
+
guidanceHeader,
|
|
1882
|
+
documentTypeSelect && /* @__PURE__ */ jsx(Field, {
|
|
1883
|
+
name: "documentType",
|
|
1884
|
+
label: t(($) => $["selectDocumentType"]),
|
|
1885
|
+
children: (childProps) => /* @__PURE__ */ jsx(Select, {
|
|
1886
|
+
...childProps,
|
|
1887
|
+
onChange: (e) => documentTypeSelect.setSelectedType(e.target.value),
|
|
1888
|
+
name: "documentType",
|
|
1889
|
+
placeholder: t(($) => $["selectDocument"]),
|
|
1890
|
+
selected: documentTypeSelect.selectedType,
|
|
1891
|
+
items: documentTypeSelect.options.map(({ id, name }) => ({
|
|
1892
|
+
id,
|
|
1893
|
+
name: t(($) => $[name])
|
|
1894
|
+
}))
|
|
1895
|
+
})
|
|
1896
|
+
}),
|
|
1897
|
+
/* @__PURE__ */ jsx("div", { children: guidanceContent }),
|
|
1898
|
+
/* @__PURE__ */ jsx(DocumentGuidance, {
|
|
1899
|
+
type: documentType,
|
|
1900
|
+
className: "adyen-kyc-u-margin-bottom-24"
|
|
1901
|
+
}),
|
|
1902
|
+
/* @__PURE__ */ jsx(Dropzone, {
|
|
1903
|
+
defaultData: document ?? data,
|
|
1904
|
+
id: props.id,
|
|
1905
|
+
isOptional: isOptional || formUtils.isOptionalField(documentField),
|
|
1906
|
+
maxSize: documentType === "constitutionalDocument" ? 31457280 : void 0,
|
|
1907
|
+
name: documentField,
|
|
1908
|
+
shouldValidate: props.shouldValidate,
|
|
1909
|
+
handleFieldChange,
|
|
1910
|
+
errors,
|
|
1911
|
+
fieldValidationErrors: fieldProblems,
|
|
1912
|
+
valid,
|
|
1913
|
+
multiple: supportsMultipleUploads,
|
|
1914
|
+
maxNumberOfFiles: maxNumberOfFiles ?? 1,
|
|
1915
|
+
label,
|
|
1916
|
+
extraDropzoneDescription,
|
|
1917
|
+
hidePageCount
|
|
1918
|
+
})
|
|
1919
|
+
] }),
|
|
1920
|
+
formUtils.isRequiredField("description") && /* @__PURE__ */ jsx("div", {
|
|
1921
|
+
className: DocumentUpload_module_default.descriptionField,
|
|
1922
|
+
children: /* @__PURE__ */ jsx(Field, {
|
|
1923
|
+
name: "description",
|
|
1924
|
+
label: formUtils.getLabel("descriptionOptional"),
|
|
1925
|
+
errorMessage: formUtils.getErrorMessage("description", errors, fieldProblems),
|
|
1926
|
+
isValid: valid.description,
|
|
1927
|
+
children: (childProps) => /* @__PURE__ */ jsx(TextArea, {
|
|
1928
|
+
...childProps,
|
|
1929
|
+
name: "description",
|
|
1930
|
+
value: data.description,
|
|
1931
|
+
maxLength: DESCRIPTION_CHARACTERS_LIMIT,
|
|
1932
|
+
onInput: handleInput,
|
|
1933
|
+
"aria-invalid": !valid.description,
|
|
1934
|
+
handleFieldChange: handleInput,
|
|
1935
|
+
errors,
|
|
1936
|
+
fieldValidationErrors: fieldProblems,
|
|
1937
|
+
valid
|
|
1938
|
+
})
|
|
1939
|
+
})
|
|
1940
|
+
})
|
|
1941
|
+
]
|
|
1942
|
+
});
|
|
1943
|
+
}
|
|
1944
|
+
var MemoizedDocumentUpload = memo(DocumentUpload, (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);
|
|
1945
|
+
//#endregion
|
|
1946
|
+
//#region src/components/Business/utils/companyUtil.ts
|
|
1947
|
+
var countryToTaxInfoTypeMap = {
|
|
1948
|
+
US: "EIN",
|
|
1949
|
+
AU: "ABN",
|
|
1950
|
+
NZ: "IRD",
|
|
1951
|
+
HK: "BRN",
|
|
1952
|
+
SG: "GST"
|
|
1953
|
+
};
|
|
1954
|
+
var isFinancialInformationRequired = (isFinancialInformationFeatureEnabled, taskType, country, capabilities, legalEntityType) => {
|
|
1955
|
+
const isOrganization = legalEntityType === LegalEntityTypes.ORGANIZATION;
|
|
1956
|
+
if (!isFinancialInformationFeatureEnabled || !COUNTRIES_REQUIRING_FINANCIAL_INFORMATION.includes(country)) return;
|
|
1957
|
+
if (country === CountryCodes.UnitedKingdom && (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY || taskType === TaskTypes.BUSINESS_DETAILS)) return "REQUIRED";
|
|
1958
|
+
if (taskType === TaskTypes.BUSINESS_DETAILS && isOrganization) {
|
|
1959
|
+
if (keysOf(capabilities ?? {}).some((capability) => capability === "issueBankAccount")) return "REQUIRED";
|
|
1960
|
+
}
|
|
1961
|
+
};
|
|
1962
|
+
//#endregion
|
|
1963
|
+
//#region src/components/Business/utils/requestingCapabilities.ts
|
|
1964
|
+
function requestingIssuing(rootLegalEntity) {
|
|
1965
|
+
const capabilities = rootLegalEntity?.capabilities ?? {};
|
|
1966
|
+
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;
|
|
1967
|
+
}
|
|
1968
|
+
function requestingBanking(rootLegalEntity) {
|
|
1969
|
+
const capabilities = rootLegalEntity?.capabilities ?? {};
|
|
1970
|
+
return "issueBankAccount" in capabilities && capabilities.issueBankAccount?.requested === true || "sendToThirdParty" in capabilities && capabilities.sendToThirdParty?.requested === true || "receiveFromThirdParty" in capabilities && capabilities.receiveFromThirdParty?.requested === true;
|
|
1971
|
+
}
|
|
1972
|
+
//#endregion
|
|
1973
|
+
//#region src/components/Business/forms/rules.ts
|
|
1974
|
+
var COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION = [
|
|
1975
|
+
CountryCodes.Australia,
|
|
1976
|
+
CountryCodes.Gibraltar,
|
|
1977
|
+
CountryCodes.Guernsey,
|
|
1978
|
+
CountryCodes.HongKong,
|
|
1979
|
+
CountryCodes.Ireland,
|
|
1980
|
+
CountryCodes.IsleOfMan,
|
|
1981
|
+
CountryCodes.Jersey,
|
|
1982
|
+
CountryCodes.Malta,
|
|
1983
|
+
CountryCodes.PuertoRico,
|
|
1984
|
+
CountryCodes.Spain,
|
|
1985
|
+
CountryCodes.UnitedKingdom,
|
|
1986
|
+
CountryCodes.UnitedStates
|
|
1987
|
+
];
|
|
1988
|
+
var COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION = [
|
|
1989
|
+
CountryCodes.HongKong,
|
|
1990
|
+
CountryCodes.PuertoRico,
|
|
1991
|
+
CountryCodes.UnitedStates
|
|
1992
|
+
];
|
|
1993
|
+
var COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_ORGANIZATIONS = [CountryCodes.HongKong];
|
|
1994
|
+
var COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS = [
|
|
1995
|
+
CountryCodes.Austria,
|
|
1996
|
+
CountryCodes.Canada,
|
|
1997
|
+
CountryCodes.Finland,
|
|
1998
|
+
CountryCodes.Germany,
|
|
1999
|
+
CountryCodes.Lithuania,
|
|
2000
|
+
CountryCodes.Luxembourg,
|
|
2001
|
+
CountryCodes.NewZealand,
|
|
2002
|
+
CountryCodes.Poland,
|
|
2003
|
+
CountryCodes.Sweden,
|
|
2004
|
+
CountryCodes.Switzerland
|
|
2005
|
+
];
|
|
2006
|
+
var COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER = [CountryCodes.Canada, CountryCodes.UnitedStates];
|
|
2007
|
+
var COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS = [CountryCodes.Germany];
|
|
2008
|
+
/**
|
|
2009
|
+
* Also used to determine what documenttype needs to be used
|
|
2010
|
+
* when uploading tax document in mapping.ts
|
|
2011
|
+
* */
|
|
2012
|
+
var COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT = [
|
|
2013
|
+
CountryCodes.Australia,
|
|
2014
|
+
CountryCodes.Canada,
|
|
2015
|
+
CountryCodes.Gibraltar,
|
|
2016
|
+
CountryCodes.HongKong,
|
|
2017
|
+
CountryCodes.NewZealand,
|
|
2018
|
+
CountryCodes.PuertoRico,
|
|
2019
|
+
CountryCodes.Singapore,
|
|
2020
|
+
CountryCodes.UnitedStates,
|
|
2021
|
+
CountryCodes.Guernsey,
|
|
2022
|
+
CountryCodes.Jersey,
|
|
2023
|
+
CountryCodes.IsleOfMan,
|
|
2024
|
+
CountryCodes.Mexico,
|
|
2025
|
+
CountryCodes.Brazil,
|
|
2026
|
+
CountryCodes.Japan
|
|
2027
|
+
];
|
|
2028
|
+
var COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP = [CountryCodes.Singapore];
|
|
2029
|
+
var COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES = [];
|
|
2030
|
+
var COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS = [
|
|
2031
|
+
CountryCodes.Canada,
|
|
2032
|
+
CountryCodes.PuertoRico,
|
|
2033
|
+
CountryCodes.UnitedStates
|
|
2034
|
+
];
|
|
2035
|
+
var COUNTRIES_THAT_REQUIRE_DATE_OF_INCORPORATION = [CountryCodes.HongKong, CountryCodes.Singapore];
|
|
2036
|
+
var COUNTRIES_THAT_USES_UEN_OR_GST = [CountryCodes.Singapore];
|
|
2037
|
+
/**
|
|
2038
|
+
* @description These are the countries that currently have a search provider that requires their tax information (TIN, VAT, etc.) to search and verify details.
|
|
2039
|
+
*/
|
|
2040
|
+
var COUNTRIES_USING_COMPANY_SEARCH = [CountryCodes.UnitedStates];
|
|
2041
|
+
var COUNTRY_OF_GOVERNING_LAW_POSSIBLE = [CountryCodes.UnitedKingdom];
|
|
2042
|
+
var COUNTRIES_REQUIRING_FINANCIAL_INFORMATION = [
|
|
2043
|
+
CountryCodes.Austria,
|
|
2044
|
+
CountryCodes.Belgium,
|
|
2045
|
+
CountryCodes.Croatia,
|
|
2046
|
+
CountryCodes.Cyprus,
|
|
2047
|
+
CountryCodes.Estonia,
|
|
2048
|
+
CountryCodes.Finland,
|
|
2049
|
+
CountryCodes.France,
|
|
2050
|
+
CountryCodes.Germany,
|
|
2051
|
+
CountryCodes.Greece,
|
|
2052
|
+
CountryCodes.Ireland,
|
|
2053
|
+
CountryCodes.Italy,
|
|
2054
|
+
CountryCodes.Latvia,
|
|
2055
|
+
CountryCodes.Lithuania,
|
|
2056
|
+
CountryCodes.Luxembourg,
|
|
2057
|
+
CountryCodes.Malta,
|
|
2058
|
+
CountryCodes.Netherlands,
|
|
2059
|
+
CountryCodes.Portugal,
|
|
2060
|
+
CountryCodes.Slovakia,
|
|
2061
|
+
CountryCodes.Slovenia,
|
|
2062
|
+
CountryCodes.Spain,
|
|
2063
|
+
CountryCodes.UnitedKingdom
|
|
2064
|
+
];
|
|
2065
|
+
var COUNTRIES_REQUIRING_E_INVOICING_CODE = [CountryCodes.Italy];
|
|
2066
|
+
var COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4 = [CountryCodes.Australia];
|
|
2067
|
+
var TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION = [
|
|
2068
|
+
CountryCodes.Austria,
|
|
2069
|
+
CountryCodes.Belgium,
|
|
2070
|
+
CountryCodes.Croatia,
|
|
2071
|
+
CountryCodes.Cyprus,
|
|
2072
|
+
CountryCodes.Germany,
|
|
2073
|
+
CountryCodes.Greece,
|
|
2074
|
+
CountryCodes.Ireland,
|
|
2075
|
+
CountryCodes.Luxembourg,
|
|
2076
|
+
CountryCodes.Malta,
|
|
2077
|
+
CountryCodes.Netherlands,
|
|
2078
|
+
CountryCodes.Slovakia,
|
|
2079
|
+
CountryCodes.Slovenia,
|
|
2080
|
+
CountryCodes.UnitedKingdom
|
|
2081
|
+
];
|
|
2082
|
+
function isUsingCompanySearch(country, taskType) {
|
|
2083
|
+
return taskType === TaskTypes.BUSINESS_DETAILS && COUNTRIES_USING_COMPANY_SEARCH.includes(country);
|
|
2084
|
+
}
|
|
2085
|
+
var isRegistrationNumberAbsentStateV4Scenario = (country, entityType) => {
|
|
2086
|
+
return country === CountryCodes.Australia && (entityType === CompanyTypesValues.GOVERNMENTAL_ORGANIZATION || entityType === CompanyTypesValues.INCORPORATED_PARTNERSHIP) || country === CountryCodes.NewZealand;
|
|
2087
|
+
};
|
|
2088
|
+
var rules = ({ data, defaultData, country, taskType, isFeatureEnabled = () => false, isSettingEnabled = () => false, accountHolder, rootLegalEntity, tinMatched }) => {
|
|
2089
|
+
const countryRequiresDateOfIncorporationForCompanies = () => {
|
|
2090
|
+
if (COUNTRIES_THAT_REQUIRE_DATE_OF_INCORPORATION.includes(country)) return "REQUIRED";
|
|
2091
|
+
};
|
|
2092
|
+
const countryRequiresFinancialInformation = () => {
|
|
2093
|
+
if (isFeatureEnabled("EnableFinancialInformationComponentV4") && COUNTRIES_REQUIRING_FINANCIAL_INFORMATION.includes(country)) {
|
|
2094
|
+
const isFinancialInformationFeatureEnabled = isFeatureEnabled("EnableFinancialInformationComponentV4");
|
|
2095
|
+
const leType = rootLegalEntity?.type;
|
|
2096
|
+
return isFinancialInformationRequired(isFinancialInformationFeatureEnabled, taskType, country, rootLegalEntity?.capabilities, leType);
|
|
2097
|
+
}
|
|
2098
|
+
};
|
|
2099
|
+
return createFormRules({
|
|
2100
|
+
requireDoingBusinessAsName: () => {
|
|
2101
|
+
return data.additionalInformation?.hasDoingBusinessAs ? "REQUIRED" : void 0;
|
|
2102
|
+
},
|
|
2103
|
+
countryRequiresStateOrProvince: () => {
|
|
2104
|
+
if (COUNTRIES_WITH_STATES_DATASET.includes(country)) return "REQUIRED";
|
|
2105
|
+
},
|
|
2106
|
+
ifPubliclyTradedCompany: () => {
|
|
2107
|
+
if (data.companyStructure?.entityType === CompanyTypesValues.PUBLIC_COMPANY) return "REQUIRED";
|
|
2108
|
+
},
|
|
2109
|
+
countryUsesVat: () => {
|
|
2110
|
+
if (!COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country)) return data.additionalInformation?.exemptedFromVat ? "OPTIONAL" : "REQUIRED";
|
|
2111
|
+
},
|
|
2112
|
+
vatNumberType: () => {
|
|
2113
|
+
if (!COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country)) return "OPTIONAL";
|
|
2114
|
+
},
|
|
2115
|
+
isVatExempt: () => {
|
|
2116
|
+
if (!COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country)) return data.additionalInformation?.exemptedFromVat ? "REQUIRED" : "OPTIONAL";
|
|
2117
|
+
},
|
|
2118
|
+
countryUsesTaxId: () => {
|
|
2119
|
+
const isExemptFromTax = Boolean(data.basicInformation?.exemptedFromTax ?? data.additionalInformation?.exemptedFromTax);
|
|
2120
|
+
const isOrgWithBanking = rootLegalEntity?.type === "organization" && keysOf(rootLegalEntity.capabilities ?? {}).includes("issueBankAccount");
|
|
2121
|
+
if (TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION.includes(country) && isOrgWithBanking) return isExemptFromTax ? "OPTIONAL" : "REQUIRED";
|
|
2122
|
+
if (country === CountryCodes.Italy && isOrgWithBanking && data.additionalInformation?.registrationNumberType === "CCIAA") return isExemptFromTax ? "OPTIONAL" : "REQUIRED";
|
|
2123
|
+
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))) return isExemptFromTax ? "OPTIONAL" : "REQUIRED";
|
|
2124
|
+
},
|
|
2125
|
+
companyRegistrationNumberExemptionAllowed: () => {
|
|
2126
|
+
const isExemptFromRegistrationNumber = Boolean(data.basicInformation?.exemptedFromRegistrationNumber ?? data.additionalInformation?.exemptedFromRegistrationNumber);
|
|
2127
|
+
if (isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4") && isRegistrationNumberAbsentStateV4Scenario(country, data.companyStructure?.entityType)) return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
|
|
2128
|
+
switch (taskType) {
|
|
2129
|
+
case TaskTypes.SOLE_PROPRIETOR_COMPANY:
|
|
2130
|
+
if (!COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS.includes(country)) return;
|
|
2131
|
+
return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
|
|
2132
|
+
default: switch (country) {
|
|
2133
|
+
case CountryCodes.Germany:
|
|
2134
|
+
if (data.companyStructure?.entityType === CompanyTypesValues.GOVERNMENTAL_ORGANIZATION || data.companyStructure?.entityType === CompanyTypesValues.NON_PROFIT_OR_CHARITABLE) return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
|
|
2135
|
+
return;
|
|
2136
|
+
case CountryCodes.Denmark:
|
|
2137
|
+
if (data.companyStructure?.entityType === CompanyTypesValues.NON_PROFIT_OR_CHARITABLE) return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
|
|
2138
|
+
return;
|
|
2139
|
+
case CountryCodes.HongKong:
|
|
2140
|
+
if (country === CountryCodes.HongKong && !defaultData?.additionalInformation?.registrationNumber) return;
|
|
2141
|
+
return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
|
|
2142
|
+
default:
|
|
2143
|
+
if (!COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_ORGANIZATIONS.includes(country)) return;
|
|
2144
|
+
return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
|
|
2145
|
+
}
|
|
2146
|
+
}
|
|
2147
|
+
},
|
|
2148
|
+
countryOfGoverningLawRequired: () => {
|
|
2149
|
+
if (isFeatureEnabled("EnableCountryOfGoverningLawForUKCompanies") && COUNTRY_OF_GOVERNING_LAW_POSSIBLE.includes(data.basicInformation?.country)) return "REQUIRED";
|
|
2150
|
+
},
|
|
2151
|
+
countryRequiresRegistrationNumber: () => {
|
|
2152
|
+
const isExemptFromRegistrationNumber = Boolean(data.basicInformation?.exemptedFromRegistrationNumber ?? data.additionalInformation?.exemptedFromRegistrationNumber);
|
|
2153
|
+
switch (taskType) {
|
|
2154
|
+
case TaskTypes.SOLE_PROPRIETOR_COMPANY:
|
|
2155
|
+
if (COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION.includes(country)) return;
|
|
2156
|
+
if (COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS.includes(country)) return "OPTIONAL";
|
|
2157
|
+
return isExemptFromRegistrationNumber ? "OPTIONAL" : "REQUIRED";
|
|
2158
|
+
default:
|
|
2159
|
+
if (COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER.includes(country)) return "OPTIONAL";
|
|
2160
|
+
if (country === CountryCodes.HongKong) {
|
|
2161
|
+
if (!defaultData?.additionalInformation?.registrationNumber) return;
|
|
2162
|
+
return isExemptFromRegistrationNumber ? "OPTIONAL" : "REQUIRED";
|
|
2163
|
+
}
|
|
2164
|
+
if (!COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION.includes(country)) return isExemptFromRegistrationNumber ? "OPTIONAL" : "REQUIRED";
|
|
2165
|
+
}
|
|
2166
|
+
},
|
|
2167
|
+
registrationNumberType: () => {
|
|
2168
|
+
switch (taskType) {
|
|
2169
|
+
case TaskTypes.SOLE_PROPRIETOR_COMPANY:
|
|
2170
|
+
if (COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION.includes(country)) return;
|
|
2171
|
+
return "OPTIONAL";
|
|
2172
|
+
default:
|
|
2173
|
+
if (COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER.includes(country)) return "OPTIONAL";
|
|
2174
|
+
if (COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION.includes(country)) return;
|
|
2175
|
+
return "OPTIONAL";
|
|
2176
|
+
}
|
|
2177
|
+
},
|
|
2178
|
+
countryUsesUenOrGst: () => {
|
|
2179
|
+
if (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY) return;
|
|
2180
|
+
if (COUNTRIES_THAT_USES_UEN_OR_GST.includes(country)) return "REQUIRED";
|
|
2181
|
+
},
|
|
2182
|
+
countryHasTaxExemptions: () => {
|
|
2183
|
+
const isExemptFromTax = Boolean(data.basicInformation?.exemptedFromTax ?? data.additionalInformation?.exemptedFromTax);
|
|
2184
|
+
switch (taskType) {
|
|
2185
|
+
case TaskTypes.SOLE_PROPRIETOR_COMPANY:
|
|
2186
|
+
if (!COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS.includes(country)) return;
|
|
2187
|
+
return isExemptFromTax ? "REQUIRED" : "OPTIONAL";
|
|
2188
|
+
default:
|
|
2189
|
+
if (isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4") && COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4.includes(country) && accountHolder === "aTrust") return isExemptFromTax ? "REQUIRED" : "OPTIONAL";
|
|
2190
|
+
if (COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES.includes(country)) return isExemptFromTax ? "REQUIRED" : "OPTIONAL";
|
|
2191
|
+
}
|
|
2192
|
+
},
|
|
2193
|
+
usingCompanySearch: () => {
|
|
2194
|
+
if (isUsingCompanySearch(country, taskType)) return "REQUIRED";
|
|
2195
|
+
},
|
|
2196
|
+
countryRequiresFinancialInformation,
|
|
2197
|
+
isDateOfIncorporationRequired: () => {
|
|
2198
|
+
return countryRequiresDateOfIncorporationForCompanies() || countryRequiresFinancialInformation();
|
|
2199
|
+
},
|
|
2200
|
+
isFinancialReportingFieldsRequired: () => {
|
|
2201
|
+
return countryRequiresFinancialInformation() === "REQUIRED" && isDateOlderThanAYear(data.additionalInformation?.dateOfIncorporation) ? "REQUIRED" : void 0;
|
|
2202
|
+
},
|
|
2203
|
+
isIndustryCodeRequired: () => {
|
|
2204
|
+
const needsBusinessLine = requestingIssuing(rootLegalEntity) || requestingBanking(rootLegalEntity);
|
|
2205
|
+
if (isSettingEnabled(SettingNames.AllowBusinessLines) && needsBusinessLine) return "REQUIRED";
|
|
2206
|
+
},
|
|
2207
|
+
annualTurnoverRequired: () => {
|
|
2208
|
+
if (data.companyFinancialInformation?.reportedValueOption === "annualTurnover") return "REQUIRED";
|
|
2209
|
+
},
|
|
2210
|
+
balanceSheetTotalRequired: () => {
|
|
2211
|
+
if (data.companyFinancialInformation?.reportedValueOption === "balanceSheetTotal") return "REQUIRED";
|
|
2212
|
+
},
|
|
2213
|
+
isEInvoicingCodeEnabled: () => {
|
|
2214
|
+
if (isFeatureEnabled("EnableEInvoicingCodeField") && COUNTRIES_REQUIRING_E_INVOICING_CODE.includes(country)) return "REQUIRED";
|
|
2215
|
+
},
|
|
2216
|
+
ifCountryUsAndTinFailed: () => {
|
|
2217
|
+
if (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY) return;
|
|
2218
|
+
if (tinMatched === false && country === CountryCodes.UnitedStates) return "REQUIRED";
|
|
2219
|
+
},
|
|
2220
|
+
businessRequiresCompanyType: () => {
|
|
2221
|
+
if (taskType !== TaskTypes.SOLE_PROPRIETOR_COMPANY) return "REQUIRED";
|
|
2222
|
+
},
|
|
2223
|
+
japaneseLegalCompanyName: () => {
|
|
2224
|
+
if (isJapanLocalizationEnabled(isFeatureEnabled, country)) return "REQUIRED";
|
|
2225
|
+
}
|
|
2226
|
+
});
|
|
2227
|
+
};
|
|
2228
|
+
//#endregion
|
|
2229
|
+
//#region src/components/Shared/fields/TaxInformationField/taxIdNumberTypes.ts
|
|
2230
|
+
var taxIdNumberOptions = {
|
|
2231
|
+
[CountryCodes.Australia]: [{
|
|
2232
|
+
id: "ABN",
|
|
2233
|
+
name: "australianBusinessNumberAbn"
|
|
2234
|
+
}],
|
|
2235
|
+
[CountryCodes.Austria]: [{
|
|
2236
|
+
id: "STEUERNUMMER",
|
|
2237
|
+
name: "taxInformationNumber__AT"
|
|
2238
|
+
}],
|
|
2239
|
+
[CountryCodes.Belgium]: [{
|
|
2240
|
+
id: "BUSINESS_NUMMER",
|
|
2241
|
+
name: "businessNumber",
|
|
2242
|
+
applicableOnlyFor: [
|
|
2243
|
+
CompanyTypesValues.SOLE_PROPRIETORSHIP,
|
|
2244
|
+
CompanyTypesValues.PRIVATE_COMPANY,
|
|
2245
|
+
CompanyTypesValues.GOVERNMENTAL_ORGANIZATION,
|
|
2246
|
+
CompanyTypesValues.INCORPORATED_ASSOCIATION,
|
|
2247
|
+
CompanyTypesValues.INCORPORATED_PARTNERSHIP,
|
|
2248
|
+
CompanyTypesValues.NON_PROFIT_OR_CHARITABLE,
|
|
2249
|
+
CompanyTypesValues.UNINCORPORATED_PARTNERSHIP,
|
|
2250
|
+
CompanyTypesValues.UNLISTED_PUBLIC_COMPANY
|
|
2251
|
+
]
|
|
2252
|
+
}, {
|
|
2253
|
+
id: "NUMERO_NATIONAL",
|
|
2254
|
+
name: "taxInformationNumber__BE_Individual",
|
|
2255
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2256
|
+
}],
|
|
2257
|
+
[CountryCodes.Brazil]: [{
|
|
2258
|
+
id: "CNPJ",
|
|
2259
|
+
name: "CNPJ"
|
|
2260
|
+
}],
|
|
2261
|
+
[CountryCodes.Canada]: [{
|
|
2262
|
+
id: "BUSINESS_NUMBER",
|
|
2263
|
+
name: "businessNumber"
|
|
2264
|
+
}],
|
|
2265
|
+
[CountryCodes.Croatia]: [{
|
|
2266
|
+
id: "OIB",
|
|
2267
|
+
name: "taxInformationNumber__HR"
|
|
2268
|
+
}],
|
|
2269
|
+
[CountryCodes.Cyprus]: [{
|
|
2270
|
+
id: "TIC",
|
|
2271
|
+
name: "taxInformationNumber__CY"
|
|
2272
|
+
}],
|
|
2273
|
+
[CountryCodes.Estonia]: [{
|
|
2274
|
+
id: "ISIKUKOOD",
|
|
2275
|
+
name: "taxInformationNumber__ET_Individual",
|
|
2276
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2277
|
+
}, {
|
|
2278
|
+
id: "registrikood",
|
|
2279
|
+
name: "registrikood",
|
|
2280
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2281
|
+
}],
|
|
2282
|
+
[CountryCodes.Finland]: [{
|
|
2283
|
+
id: "HENKILOTUNNUS",
|
|
2284
|
+
name: "taxInformationNumber__FI",
|
|
2285
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2286
|
+
}, {
|
|
2287
|
+
id: "YTUNNUS",
|
|
2288
|
+
name: "YTunnus",
|
|
2289
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2290
|
+
}],
|
|
2291
|
+
[CountryCodes.France]: [{
|
|
2292
|
+
id: "SIRET",
|
|
2293
|
+
name: "siret",
|
|
2294
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2295
|
+
}],
|
|
2296
|
+
[CountryCodes.Germany]: [{
|
|
2297
|
+
id: "STEUERNUMMER",
|
|
2298
|
+
name: "taxInformationNumber__DE",
|
|
2299
|
+
applicableOnlyFor: [
|
|
2300
|
+
CompanyTypesValues.SOLE_PROPRIETORSHIP,
|
|
2301
|
+
CompanyTypesValues.PRIVATE_COMPANY,
|
|
2302
|
+
CompanyTypesValues.GOVERNMENTAL_ORGANIZATION,
|
|
2303
|
+
CompanyTypesValues.INCORPORATED_ASSOCIATION,
|
|
2304
|
+
CompanyTypesValues.INCORPORATED_PARTNERSHIP,
|
|
2305
|
+
CompanyTypesValues.NON_PROFIT_OR_CHARITABLE,
|
|
2306
|
+
CompanyTypesValues.UNINCORPORATED_PARTNERSHIP,
|
|
2307
|
+
CompanyTypesValues.UNLISTED_PUBLIC_COMPANY
|
|
2308
|
+
]
|
|
2309
|
+
}, {
|
|
2310
|
+
id: "IDNR",
|
|
2311
|
+
name: "taxInformationNumber__DE_Individual",
|
|
2312
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2313
|
+
}],
|
|
2314
|
+
[CountryCodes.Gibraltar]: [{
|
|
2315
|
+
id: "GI_TAXPAYER_REFERENCE_NUMBER",
|
|
2316
|
+
name: "taxpayerReferenceNumber"
|
|
2317
|
+
}],
|
|
2318
|
+
[CountryCodes.Greece]: [{
|
|
2319
|
+
id: "AFM",
|
|
2320
|
+
name: "taxInformationNumber__GR"
|
|
2321
|
+
}],
|
|
2322
|
+
[CountryCodes.Guernsey]: [{
|
|
2323
|
+
id: "GG_REGISTRATION_NUMBER",
|
|
2324
|
+
name: "taxInformationNumber"
|
|
2325
|
+
}, {
|
|
2326
|
+
id: "TIN_GG",
|
|
2327
|
+
name: "nationalInsuranceNumber",
|
|
2328
|
+
applicableOnlyFor: [CompanyTypesValues.SOLE_PROPRIETORSHIP]
|
|
2329
|
+
}],
|
|
2330
|
+
[CountryCodes.HongKong]: [{
|
|
2331
|
+
id: "BRN",
|
|
2332
|
+
name: "taxInformationNumber__HK"
|
|
2333
|
+
}],
|
|
2334
|
+
[CountryCodes.Ireland]: [{
|
|
2335
|
+
id: "TRN",
|
|
2336
|
+
name: "trnNumber",
|
|
2337
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY, CompanyTypesValues.UNINCORPORATED_PARTNERSHIP]
|
|
2338
|
+
}, {
|
|
2339
|
+
id: "PERSONAL_PUBLIC_SERVICE_NUMBER",
|
|
2340
|
+
name: "taxInformationNumber__IE_Individual",
|
|
2341
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2342
|
+
}],
|
|
2343
|
+
[CountryCodes.IsleOfMan]: [{
|
|
2344
|
+
id: "IM_TAX_REFERENCE_NUMBER",
|
|
2345
|
+
name: "taxReferenceNumber"
|
|
2346
|
+
}],
|
|
2347
|
+
[CountryCodes.Italy]: [{
|
|
2348
|
+
id: "CODICE_FISCALE",
|
|
2349
|
+
name: "taxInformationNumber__IT"
|
|
2350
|
+
}],
|
|
2351
|
+
[CountryCodes.Japan]: [{
|
|
2352
|
+
id: "CORPORATE_NUMBER",
|
|
2353
|
+
name: "taxInformationNumber"
|
|
2354
|
+
}],
|
|
2355
|
+
[CountryCodes.Jersey]: [{
|
|
2356
|
+
id: "TIN_JE",
|
|
2357
|
+
name: "taxIdentificationNumber"
|
|
2358
|
+
}, {
|
|
2359
|
+
id: "SSN",
|
|
2360
|
+
name: "socialSecurityNumber",
|
|
2361
|
+
applicableOnlyFor: [CompanyTypesValues.SOLE_PROPRIETORSHIP]
|
|
2362
|
+
}],
|
|
2363
|
+
[CountryCodes.Latvia]: [{
|
|
2364
|
+
id: "PERSONAS_KODS",
|
|
2365
|
+
name: "taxInformationNumber__LV",
|
|
2366
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2367
|
+
}, {
|
|
2368
|
+
id: "REGISTRACIJAS_NUMURS",
|
|
2369
|
+
name: "lvRegistrationNumber",
|
|
2370
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2371
|
+
}],
|
|
2372
|
+
[CountryCodes.Lithuania]: [{
|
|
2373
|
+
id: "ASMENS_KODAS",
|
|
2374
|
+
name: "taxInformationNumber__LT"
|
|
2375
|
+
}],
|
|
2376
|
+
[CountryCodes.Luxembourg]: [{
|
|
2377
|
+
id: "NATIONAL_IDENTIFICATION_NUMBER",
|
|
2378
|
+
name: "taxInformationNumber__LU_Individual",
|
|
2379
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2380
|
+
}, {
|
|
2381
|
+
id: "NATIONAL_IDENTIFICATION_NUMBER",
|
|
2382
|
+
name: "taxInformationNumber__LU_Org",
|
|
2383
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2384
|
+
}],
|
|
2385
|
+
[CountryCodes.Malta]: [
|
|
2386
|
+
{
|
|
2387
|
+
id: "NRU",
|
|
2388
|
+
name: "taxInformationNumber__MT_NRU_Individual",
|
|
2389
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2390
|
+
},
|
|
2391
|
+
{
|
|
2392
|
+
id: "IDENTITY_CARD_NUMBER",
|
|
2393
|
+
name: "taxInformationNumber__MT_Individual",
|
|
2394
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
id: "INCOME_TAX_REGISTRATION_NUMBER",
|
|
2398
|
+
name: "taxInformationNumber__MT_Org",
|
|
2399
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2400
|
+
}
|
|
2401
|
+
],
|
|
2402
|
+
[CountryCodes.Netherlands]: [{
|
|
2403
|
+
id: "RSIN",
|
|
2404
|
+
name: "rsinNumber",
|
|
2405
|
+
applicableOnlyFor: [
|
|
2406
|
+
CompanyTypesValues.PRIVATE_COMPANY,
|
|
2407
|
+
CompanyTypesValues.GOVERNMENTAL_ORGANIZATION,
|
|
2408
|
+
CompanyTypesValues.INCORPORATED_ASSOCIATION,
|
|
2409
|
+
CompanyTypesValues.INCORPORATED_PARTNERSHIP,
|
|
2410
|
+
CompanyTypesValues.NON_PROFIT_OR_CHARITABLE,
|
|
2411
|
+
CompanyTypesValues.UNINCORPORATED_PARTNERSHIP,
|
|
2412
|
+
CompanyTypesValues.UNLISTED_PUBLIC_COMPANY
|
|
2413
|
+
]
|
|
2414
|
+
}, {
|
|
2415
|
+
id: "BSN",
|
|
2416
|
+
name: "bsnNumber",
|
|
2417
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2418
|
+
}],
|
|
2419
|
+
[CountryCodes.NewZealand]: [{
|
|
2420
|
+
id: "IRD",
|
|
2421
|
+
name: "irdNumber"
|
|
2422
|
+
}],
|
|
2423
|
+
[CountryCodes.Portugal]: [{
|
|
2424
|
+
id: "NUMERO_ID_CIVIL",
|
|
2425
|
+
name: "taxInformationNumber__PT",
|
|
2426
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2427
|
+
}, {
|
|
2428
|
+
id: "NIPC",
|
|
2429
|
+
name: "NIPC",
|
|
2430
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2431
|
+
}],
|
|
2432
|
+
[CountryCodes.PuertoRico]: [{
|
|
2433
|
+
id: "EIN",
|
|
2434
|
+
name: "ein"
|
|
2435
|
+
}],
|
|
2436
|
+
[CountryCodes.Singapore]: [{
|
|
2437
|
+
id: "GST",
|
|
2438
|
+
name: "gst"
|
|
2439
|
+
}, {
|
|
2440
|
+
id: "UEN",
|
|
2441
|
+
name: "uen"
|
|
2442
|
+
}],
|
|
2443
|
+
[CountryCodes.Slovakia]: [{
|
|
2444
|
+
id: "RODNE_CISLO",
|
|
2445
|
+
name: "taxInformationNumber__SK_Individual",
|
|
2446
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2447
|
+
}, {
|
|
2448
|
+
id: "NATIONAL_IDENTIFICATION_NUMBER",
|
|
2449
|
+
name: "taxInformationNumber__SK_Org",
|
|
2450
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2451
|
+
}],
|
|
2452
|
+
[CountryCodes.Slovenia]: [{
|
|
2453
|
+
id: "SI_TAX_NUMBER",
|
|
2454
|
+
name: "taxInformationNumber__SI_Individual",
|
|
2455
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2456
|
+
}, {
|
|
2457
|
+
id: "NATIONAL_IDENTIFICATION_NUMBER",
|
|
2458
|
+
name: "taxInformationNumber__SI_Org",
|
|
2459
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2460
|
+
}],
|
|
2461
|
+
[CountryCodes.Spain]: [
|
|
2462
|
+
{
|
|
2463
|
+
id: "dni",
|
|
2464
|
+
name: "dni",
|
|
2465
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2466
|
+
},
|
|
2467
|
+
{
|
|
2468
|
+
id: "nie",
|
|
2469
|
+
name: "nie",
|
|
2470
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2471
|
+
},
|
|
2472
|
+
{
|
|
2473
|
+
id: "NIF",
|
|
2474
|
+
name: "NIF",
|
|
2475
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2476
|
+
}
|
|
2477
|
+
],
|
|
2478
|
+
[CountryCodes.UnitedKingdom]: [{
|
|
2479
|
+
id: "UTR",
|
|
2480
|
+
name: "utr"
|
|
2481
|
+
}, {
|
|
2482
|
+
id: "NINO",
|
|
2483
|
+
name: "nationalInsuranceNumber",
|
|
2484
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2485
|
+
}],
|
|
2486
|
+
[CountryCodes.UnitedStates]: [{
|
|
2487
|
+
id: "EIN",
|
|
2488
|
+
name: "ein"
|
|
2489
|
+
}]
|
|
2490
|
+
};
|
|
2491
|
+
var getTaxIdNumberOptions = (country, companyType) => {
|
|
2492
|
+
const optionsForCountry = taxIdNumberOptions[country];
|
|
2493
|
+
if (!companyType || !optionsForCountry) return optionsForCountry;
|
|
2494
|
+
return optionsForCountry.filter((option) => option.applicableOnlyFor?.includes(companyType) ?? true);
|
|
2495
|
+
};
|
|
2496
|
+
//#endregion
|
|
2497
|
+
//#region src/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/inferTaxIdNumberType.ts
|
|
2498
|
+
/**
|
|
2499
|
+
* For existing data, we need to infer the tax ID number type from the existing data.
|
|
2500
|
+
* Otherwise, the incorrect mask will be applied.
|
|
2501
|
+
* We don't store this choice in the API.
|
|
2502
|
+
* @param taxInformation the existing tax information
|
|
2503
|
+
* @param country the country of the LE
|
|
2504
|
+
* @param companyType the company type, e.g. `nonProfit`
|
|
2505
|
+
*/
|
|
2506
|
+
var inferTaxIdNumberType = (taxInformation, country, companyType) => {
|
|
2507
|
+
if (!taxInformation) return void 0;
|
|
2508
|
+
const optionsForCountry = getTaxIdNumberOptions(country, companyType);
|
|
2509
|
+
const metadataFn = taxInformationDefaultFieldConfig[country];
|
|
2510
|
+
if (!optionsForCountry || !metadataFn) return void 0;
|
|
2511
|
+
if (optionsForCountry.length === 1) return optionsForCountry[0].id;
|
|
2512
|
+
const allMetaData = optionsForCountry.reduce((acc, option) => {
|
|
2513
|
+
const meta = typeof metadataFn === "function" ? metadataFn({
|
|
2514
|
+
taxIdNumberType: option.id,
|
|
2515
|
+
companyType
|
|
2516
|
+
}) : metadataFn;
|
|
2517
|
+
if (meta.label && !acc[meta.label]) acc[meta.label] = meta;
|
|
2518
|
+
return acc;
|
|
2519
|
+
}, {});
|
|
2520
|
+
for (const option of optionsForCountry) {
|
|
2521
|
+
const fieldMetadata = allMetaData[option.name];
|
|
2522
|
+
if (!fieldMetadata?.validators) continue;
|
|
2523
|
+
if ((Array.isArray(fieldMetadata.validators) ? fieldMetadata.validators : [fieldMetadata.validators]).every((validator) => validator.validate(taxInformation))) return option.id;
|
|
2524
|
+
}
|
|
2525
|
+
};
|
|
2526
|
+
//#endregion
|
|
2527
|
+
//#region src/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/getDefaultTaxIdNumberType.ts
|
|
2528
|
+
/**
|
|
2529
|
+
* Finds tax information for a specific country from an array of tax information objects.
|
|
2530
|
+
*
|
|
2531
|
+
* @param taxInformation - Array of tax information objects to search through
|
|
2532
|
+
* @param country - Country code to find tax information for
|
|
2533
|
+
* @returns The first matching tax information object or undefined if none found
|
|
2534
|
+
*/
|
|
2535
|
+
function findExistingTaxInformation(taxInformation, country) {
|
|
2536
|
+
return taxInformation?.find((taxId) => taxId.country === country);
|
|
2537
|
+
}
|
|
2538
|
+
/**
|
|
2539
|
+
* Determines the default tax ID number type based on existing information and entity type.
|
|
2540
|
+
* This function follows a priority order:
|
|
2541
|
+
* 1. Use the type from existing tax information if available
|
|
2542
|
+
* 2. If there's a tax number but no type, infer the type from the number
|
|
2543
|
+
* 3. Otherwise, use the first available tax ID option for the country and entity type
|
|
2544
|
+
*
|
|
2545
|
+
* @param taxInformation - Array of tax information objects
|
|
2546
|
+
* @param country - Country code to determine the tax ID type for
|
|
2547
|
+
* @param entityType - Type of entity (company type or individual)
|
|
2548
|
+
* @returns The determined tax ID number type or undefined if none can be determined
|
|
2549
|
+
*/
|
|
2550
|
+
function getDefaultTaxIdNumberType(taxInformation, country, entityType) {
|
|
2551
|
+
const existingTaxInformation = findExistingTaxInformation(taxInformation, country);
|
|
2552
|
+
return existingTaxInformation?.type ?? (existingTaxInformation?.number ? inferTaxIdNumberType(taxInformation, country, entityType) : getTaxIdNumberOptions(country, entityType)?.[0]?.id);
|
|
2553
|
+
}
|
|
2554
|
+
//#endregion
|
|
2555
|
+
//#region src/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.tsx
|
|
2556
|
+
function TaxIdNumberTypeSelector({ country, companyType, selected, setSelected, exemptedOptionLabel, isUsSoleProp, errorMessage }) {
|
|
2557
|
+
const { t } = useTranslation("common");
|
|
2558
|
+
const handleSelect = useCallback$1((selectedStr) => {
|
|
2559
|
+
const newSelected = selectedStr;
|
|
2560
|
+
if (newSelected === "exempted") {
|
|
2561
|
+
if (exemptedOptionLabel) setSelected(newSelected);
|
|
2562
|
+
return;
|
|
2563
|
+
}
|
|
2564
|
+
setSelected(newSelected);
|
|
2565
|
+
}, [exemptedOptionLabel, setSelected]);
|
|
2566
|
+
const options = useMemo$1(() => {
|
|
2567
|
+
const availableOptions = getTaxIdNumberOptions(country, companyType) ?? [];
|
|
2568
|
+
if (availableOptions.length === 0 || !exemptedOptionLabel) return availableOptions;
|
|
2569
|
+
return [...availableOptions, {
|
|
2570
|
+
id: "exempted",
|
|
2571
|
+
name: exemptedOptionLabel
|
|
2572
|
+
}];
|
|
2573
|
+
}, [
|
|
2574
|
+
country,
|
|
2575
|
+
companyType,
|
|
2576
|
+
exemptedOptionLabel
|
|
2577
|
+
]);
|
|
2578
|
+
useEffect$1(() => {
|
|
2579
|
+
if (!isUsSoleProp && !selected && options.length > 0) handleSelect(options[0].id);
|
|
2580
|
+
}, [
|
|
2581
|
+
options,
|
|
2582
|
+
selected,
|
|
2583
|
+
handleSelect,
|
|
2584
|
+
isUsSoleProp
|
|
2585
|
+
]);
|
|
2586
|
+
if (options.length <= 1) return null;
|
|
2587
|
+
return /* @__PURE__ */ jsx(Field, {
|
|
2588
|
+
el: "fieldset",
|
|
2589
|
+
name: "taxIdNumberType",
|
|
2590
|
+
label: t(($) => $["whichTaxpayerIdentificationNumberDoYouUse"]),
|
|
2591
|
+
errorMessage: !!errorMessage,
|
|
2592
|
+
children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
|
|
2593
|
+
...childProps,
|
|
2594
|
+
name: "taxIdNumberType",
|
|
2595
|
+
items: options,
|
|
2596
|
+
value: selected,
|
|
2597
|
+
onChange: handleSelect
|
|
2598
|
+
})
|
|
2599
|
+
});
|
|
2600
|
+
}
|
|
2601
|
+
//#endregion
|
|
2602
|
+
//#region src/components/Shared/fields/TaxInformationField/utils.ts
|
|
2603
|
+
/**
|
|
2604
|
+
* Immutably upserts a TaxInformation entry for a given country within the tax information array.
|
|
2605
|
+
* - If the array doesn't exist, creates a new one with the entry.
|
|
2606
|
+
* - If the country already has an entry, replaces it in-place.
|
|
2607
|
+
* - If the country has no entry yet, appends the new entry.
|
|
2608
|
+
*/
|
|
2609
|
+
function upsertTaxInfoForCountry(taxInformation, country, newEntry) {
|
|
2610
|
+
if (!taxInformation) return [newEntry];
|
|
2611
|
+
return (taxInformation.some((t) => t.country === country) ? taxInformation : [...taxInformation, newEntry]).map((t) => t.country === country ? newEntry : t);
|
|
2612
|
+
}
|
|
2613
|
+
/**
|
|
2614
|
+
* Removes all TaxInformation entries for the given country from the array.
|
|
2615
|
+
*/
|
|
2616
|
+
function removeTaxInfoForCountry(taxInformation, country) {
|
|
2617
|
+
return taxInformation?.filter((t) => t.country !== country);
|
|
2618
|
+
}
|
|
2619
|
+
//#endregion
|
|
2620
|
+
//#region src/components/Shared/fields/TaxInformationField/TaxInformationField.tsx
|
|
2621
|
+
var TAX_INFORMATION_FIELD = [
|
|
2622
|
+
"taxInformation",
|
|
2623
|
+
"exemptedFromTax",
|
|
2624
|
+
"isUen"
|
|
2625
|
+
];
|
|
2626
|
+
/**
|
|
2627
|
+
* Renders a dynamic form field for tax identification information, adapting its display
|
|
2628
|
+
* and behavior based on country and company type. It supports various tax ID input
|
|
2629
|
+
* scenarios, including two specialized handling for US Sole Proprietorships (where SSN option acts as exemption selection)
|
|
2630
|
+
* and Singapore Companies (where registration number (UEN) can be used for tax ID).
|
|
2631
|
+
*/
|
|
2632
|
+
function TaxInformationField({ data, valid, errors, labels, mask, placeholder, readonly, optional, shouldValidate, handleChangeFor, country, canExempt, registrationNumber, entityType, defaultData }) {
|
|
2633
|
+
const { isFeatureEnabled } = useToggleContext();
|
|
2634
|
+
const { t } = useTranslation("common");
|
|
2635
|
+
const { accountHolder } = useAccountHolder();
|
|
2636
|
+
const currentCountryTaxInformation = useMemo$1(() => data?.taxInformation?.find((taxInfo) => taxInfo.country === country) ?? (!data.exemptedFromTax ? defaultData?.find((taxInfo) => taxInfo.country === country) : void 0), [
|
|
2637
|
+
data?.taxInformation,
|
|
2638
|
+
data.exemptedFromTax,
|
|
2639
|
+
defaultData,
|
|
2640
|
+
country
|
|
2641
|
+
]);
|
|
2642
|
+
const isUsSoleProp = country === "US" && entityType === CompanyTypesValues.SOLE_PROPRIETORSHIP;
|
|
2643
|
+
const options = getTaxIdNumberOptions(country, entityType);
|
|
2644
|
+
const showTaxIdExemptedOptions = canExempt && (options?.length ?? 0) > 1 || isUsSoleProp;
|
|
2645
|
+
const canSaveAbsentState = isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4") && COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4.includes(country) && accountHolder === "aTrust";
|
|
2646
|
+
const exemptionLabel = isUsSoleProp ? t(($) => $["socialSecurityNumber"]) : labels.exemptedFromTax;
|
|
2647
|
+
const shouldRenderInput = isUsSoleProp ? currentCountryTaxInformation?.type === "EIN" : !data.isUen;
|
|
2648
|
+
const taxIdNumberType = useMemo$1(() => {
|
|
2649
|
+
if (data.exemptedFromTax) return "exempted";
|
|
2650
|
+
if (currentCountryTaxInformation?.type) return currentCountryTaxInformation.type;
|
|
2651
|
+
if (isUsSoleProp) return void 0;
|
|
2652
|
+
return getDefaultTaxIdNumberType(data.taxInformation, country, entityType);
|
|
2653
|
+
}, [
|
|
2654
|
+
country,
|
|
2655
|
+
currentCountryTaxInformation?.type,
|
|
2656
|
+
data.exemptedFromTax,
|
|
2657
|
+
data.taxInformation,
|
|
2658
|
+
entityType,
|
|
2659
|
+
isUsSoleProp
|
|
2660
|
+
]);
|
|
2661
|
+
const fieldMetadata = resolveFieldMetadata(taxInformationDefaultFieldConfig[country], {
|
|
2662
|
+
taxIdNumberType: currentCountryTaxInformation?.type,
|
|
2663
|
+
companyType: entityType
|
|
2664
|
+
}, taxInformationDefaultFieldMetadata);
|
|
2665
|
+
const updateTaxInfo = useCallback$1((mode, newEntry) => {
|
|
2666
|
+
const entry = canSaveAbsentState ? {
|
|
2667
|
+
...newEntry,
|
|
2668
|
+
numberAbsent: newEntry.numberAbsent ?? false
|
|
2669
|
+
} : newEntry;
|
|
2670
|
+
handleChangeFor("taxInformation", mode)(upsertTaxInfoForCountry(data.taxInformation, country, entry));
|
|
2671
|
+
}, [
|
|
2672
|
+
canSaveAbsentState,
|
|
2673
|
+
country,
|
|
2674
|
+
data.taxInformation,
|
|
2675
|
+
handleChangeFor
|
|
2676
|
+
]);
|
|
2677
|
+
const updateTaxType = useCallback$1((type, mode) => {
|
|
2678
|
+
updateTaxInfo(mode, {
|
|
2679
|
+
country,
|
|
2680
|
+
number: currentCountryTaxInformation?.number,
|
|
2681
|
+
type
|
|
2682
|
+
});
|
|
2683
|
+
}, [
|
|
2684
|
+
country,
|
|
2685
|
+
currentCountryTaxInformation?.number,
|
|
2686
|
+
updateTaxInfo
|
|
2687
|
+
]);
|
|
2688
|
+
const resetToDefaultData = useCallback$1(() => {
|
|
2689
|
+
if (defaultData !== void 0) handleChangeFor("taxInformation", "input")(defaultData);
|
|
2690
|
+
}, [defaultData, handleChangeFor]);
|
|
2691
|
+
const removeCountryTaxInfo = useCallback$1(() => {
|
|
2692
|
+
handleChangeFor("taxInformation", "input")(removeTaxInfoForCountry(data.taxInformation, country));
|
|
2693
|
+
}, [
|
|
2694
|
+
country,
|
|
2695
|
+
data.taxInformation,
|
|
2696
|
+
handleChangeFor
|
|
2697
|
+
]);
|
|
2698
|
+
const setUenAsTaxId = useCallback$1((uen) => {
|
|
2699
|
+
updateTaxInfo("blur", {
|
|
2700
|
+
country,
|
|
2701
|
+
number: uen ?? "",
|
|
2702
|
+
type: "UEN"
|
|
2703
|
+
});
|
|
2704
|
+
}, [country, updateTaxInfo]);
|
|
2705
|
+
const addTaxAbsentStatus = useCallback$1((exempted) => {
|
|
2706
|
+
handleChangeFor("taxInformation", "input")(upsertTaxInfoForCountry(data.taxInformation, country, {
|
|
2707
|
+
country,
|
|
2708
|
+
numberAbsent: exempted
|
|
2709
|
+
}));
|
|
2710
|
+
}, [
|
|
2711
|
+
country,
|
|
2712
|
+
data.taxInformation,
|
|
2713
|
+
handleChangeFor
|
|
2714
|
+
]);
|
|
2715
|
+
const handleTaxNumberChange = useCallback$1((e, mode) => {
|
|
2716
|
+
updateTaxInfo(mode, {
|
|
2717
|
+
country,
|
|
2718
|
+
number: e ? typeof e === "string" ? e : e.currentTarget.value : void 0,
|
|
2719
|
+
type: currentCountryTaxInformation?.type ?? (taxIdNumberType !== "exempted" ? taxIdNumberType : void 0)
|
|
2720
|
+
});
|
|
2721
|
+
}, [
|
|
2722
|
+
country,
|
|
2723
|
+
currentCountryTaxInformation?.type,
|
|
2724
|
+
taxIdNumberType,
|
|
2725
|
+
updateTaxInfo
|
|
2726
|
+
]);
|
|
2727
|
+
const handleTaxIdNumberTypeChange = useCallback$1((taxIdType) => {
|
|
2728
|
+
if (!canExempt && taxIdType === "exempted") throw Error(`${country} does not allow tax exemptions`);
|
|
2729
|
+
if (taxIdType === "exempted") {
|
|
2730
|
+
handleChangeFor("exemptedFromTax")(true);
|
|
2731
|
+
updateTaxType(void 0, "input");
|
|
2732
|
+
return canSaveAbsentState ? addTaxAbsentStatus(true) : removeCountryTaxInfo();
|
|
2733
|
+
}
|
|
2734
|
+
handleChangeFor("exemptedFromTax")(false);
|
|
2735
|
+
if (country === "SG") if (taxIdType === "UEN") {
|
|
2736
|
+
handleChangeFor("isUen")(true);
|
|
2737
|
+
setUenAsTaxId(registrationNumber);
|
|
2738
|
+
} else {
|
|
2739
|
+
handleChangeFor("isUen")(false);
|
|
2740
|
+
removeCountryTaxInfo();
|
|
2741
|
+
}
|
|
2742
|
+
updateTaxType(taxIdType, "input");
|
|
2743
|
+
}, [
|
|
2744
|
+
addTaxAbsentStatus,
|
|
2745
|
+
canExempt,
|
|
2746
|
+
canSaveAbsentState,
|
|
2747
|
+
country,
|
|
2748
|
+
handleChangeFor,
|
|
2749
|
+
updateTaxType,
|
|
2750
|
+
registrationNumber,
|
|
2751
|
+
removeCountryTaxInfo,
|
|
2752
|
+
setUenAsTaxId
|
|
2753
|
+
]);
|
|
2754
|
+
const handleExemptedFromTaxChange = useCallback$1((exempted) => {
|
|
2755
|
+
handleChangeFor("exemptedFromTax")(exempted);
|
|
2756
|
+
if (canSaveAbsentState) addTaxAbsentStatus(exempted);
|
|
2757
|
+
else removeCountryTaxInfo();
|
|
2758
|
+
}, [
|
|
2759
|
+
addTaxAbsentStatus,
|
|
2760
|
+
canSaveAbsentState,
|
|
2761
|
+
handleChangeFor,
|
|
2762
|
+
removeCountryTaxInfo
|
|
2763
|
+
]);
|
|
2764
|
+
const prevCountryRef = useRef$1(country);
|
|
2765
|
+
useEffect$1(() => {
|
|
2766
|
+
if (!country || prevCountryRef.current === country) return;
|
|
2767
|
+
prevCountryRef.current = country;
|
|
2768
|
+
const hasSavedTaxId = defaultData?.find((taxId) => taxId.country === country);
|
|
2769
|
+
if (currentCountryTaxInformation && !hasSavedTaxId) return;
|
|
2770
|
+
if (entityType === CompanyTypesValues.SOLE_PROPRIETORSHIP) return;
|
|
2771
|
+
resetToDefaultData();
|
|
2772
|
+
}, [country]);
|
|
2773
|
+
useEffect$1(() => {
|
|
2774
|
+
if (country === "SG" && data.isUen && registrationNumber && registrationNumber !== currentCountryTaxInformation?.number) setUenAsTaxId(registrationNumber);
|
|
2775
|
+
}, [
|
|
2776
|
+
registrationNumber,
|
|
2777
|
+
currentCountryTaxInformation?.number,
|
|
2778
|
+
data.isUen,
|
|
2779
|
+
country,
|
|
2780
|
+
setUenAsTaxId
|
|
2781
|
+
]);
|
|
2782
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
2783
|
+
className: "adyen-kyc-field__tax-information",
|
|
2784
|
+
children: [
|
|
2785
|
+
/* @__PURE__ */ jsx(TaxIdNumberTypeSelector, {
|
|
2786
|
+
country,
|
|
2787
|
+
companyType: entityType,
|
|
2788
|
+
setSelected: handleTaxIdNumberTypeChange,
|
|
2789
|
+
selected: taxIdNumberType,
|
|
2790
|
+
exemptedOptionLabel: showTaxIdExemptedOptions ? exemptionLabel : void 0,
|
|
2791
|
+
isUsSoleProp,
|
|
2792
|
+
errorMessage: isUsSoleProp ? errors.taxInformation : false
|
|
2793
|
+
}),
|
|
2794
|
+
shouldRenderInput && /* @__PURE__ */ jsx(MaskedInput, {
|
|
2795
|
+
type: "text",
|
|
2796
|
+
"aria-required": true,
|
|
2797
|
+
"aria-invalid": !valid.taxInformation,
|
|
2798
|
+
name: "taxInformation",
|
|
2799
|
+
label: labels.taxInformation ?? "",
|
|
2800
|
+
formatGuidance: translateTranslatable(t, fieldMetadata.guidanceText),
|
|
2801
|
+
value: currentCountryTaxInformation?.number ?? "",
|
|
2802
|
+
errorMessage: errors.taxInformation,
|
|
2803
|
+
placeholder,
|
|
2804
|
+
isValid: Boolean(valid.taxInformation) && !!currentCountryTaxInformation,
|
|
2805
|
+
onInput: (e) => handleTaxNumberChange(e, "input"),
|
|
2806
|
+
onBlur: (e) => handleTaxNumberChange(e, "blur"),
|
|
2807
|
+
disabled: data.exemptedFromTax || data.isUen,
|
|
2808
|
+
readonly,
|
|
2809
|
+
optional,
|
|
2810
|
+
shouldValidate,
|
|
2811
|
+
...mask
|
|
2812
|
+
}),
|
|
2813
|
+
canExempt && !showTaxIdExemptedOptions && /* @__PURE__ */ jsx(Field, {
|
|
2814
|
+
name: "exemptedFromTax",
|
|
2815
|
+
children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
|
|
2816
|
+
...childProps,
|
|
2817
|
+
"aria-required": false,
|
|
2818
|
+
"aria-invalid": false,
|
|
2819
|
+
name: "exemptedFromTax",
|
|
2820
|
+
label: labels.exemptedFromTax,
|
|
2821
|
+
value: "exemptedFromTax",
|
|
2822
|
+
checked: Boolean(data.exemptedFromTax),
|
|
2823
|
+
onChange: handleExemptedFromTaxChange
|
|
2824
|
+
})
|
|
2825
|
+
})
|
|
2826
|
+
]
|
|
2827
|
+
});
|
|
2828
|
+
}
|
|
2829
|
+
//#endregion
|
|
2830
|
+
export { StateCodesUS as C, stateFormatGuidanceText as S, getTaxInformationPlaceholderText as _, COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT as a, businessRegistrationNumberPatterns as b, isUsingCompanySearch as c, requestingIssuing as d, countryToTaxInfoTypeMap as f, exemptedFromTaxDefaultFieldMetadata as g, exemptedFromTaxDefaultFieldConfig as h, taxIdNumberOptions as i, rules as l, DocumentGuidance as m, TaxInformationField as n, COUNTRY_OF_GOVERNING_LAW_POSSIBLE as o, MemoizedDocumentUpload as p, getTaxIdNumberOptions as r, isRegistrationNumberAbsentStateV4Scenario as s, TAX_INFORMATION_FIELD as t, requestingBanking as u, taxInformationDefaultFieldConfig as v, getFieldsWithExistingData as w, businessRegistrationNumberMasks as x, taxInformationDefaultFieldMetadata as y };
|