@adyen/kyc-components 3.95.0-beta.2 → 3.95.0-beta.3
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/{AcceptTermsOfServiceComponent-BlEaBswl.js → AcceptTermsOfServiceComponent-DV6EdE7i.js} +15 -15
- package/dist/{Accordion-xQ7nYxl-.js → Accordion-Bp2c8ziY.js} +1 -1
- package/dist/{AccountSetupRejected-CPavzOgc.js → AccountSetupRejected-CPRJ9SLK.js} +3 -3
- package/dist/{ActionBar-BCKFGEro.js → ActionBar-CwLw2R-I.js} +1 -1
- package/dist/{Address-CUMHdDDB.js → Address-dgyR0ozS.js} +56 -18
- package/dist/{Alert-AsIgy5ys.js → Alert-DRJwDwQ5.js} +2 -2
- package/dist/{Avatar-CPSU1jss.js → Avatar-BkoUccPV.js} +1 -1
- package/dist/{BusinessFinancingComponent-C2PQs3gR.js → BusinessFinancingComponent-t3yAnq9x.js} +4 -4
- package/dist/{BusinessFinancingDropin-DTiURzP3.js → BusinessFinancingDropin-DLeI19KH.js} +29 -29
- package/dist/{BusinessFinancingPage-Wadm29GW.js → BusinessFinancingPage-qfMLzTz-.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-Cc6WG-M5.js → BusinessTypeSelectionPage-CnwxkdO-.js} +8 -8
- package/dist/{Checkbox-Cjzq-IgW.js → Checkbox-Dh90_pNW.js} +1 -1
- package/dist/{Confirm-BnJOYc76.js → Confirm-WxwOfpRL.js} +2 -2
- package/dist/{ConstitutionalDocument-Cuezk4yt.js → ConstitutionalDocument-KkWoBEBB.js} +19 -23
- package/dist/{ContactDetails-Cp0fGlU3.js → ContactDetails-B16tRrYb.js} +46 -36
- package/dist/{ContextGuidance-BxC-gbkP.js → ContextGuidance-GNUAzzPV.js} +2 -2
- package/dist/{CountryField-DIm2rPmp.js → CountryField-BxtVu_ic.js} +4 -4
- package/dist/{CreateIndividualComponent-Bn0sxDjy.js → CreateIndividualComponent-BwN-TUHZ.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-Bz5GoylI.js → CreateTransferInstrumentComponent-CjJvVJWl.js} +3 -3
- package/dist/{Currency-DGkjeLuN.js → Currency-BLhheIgX.js} +6 -6
- package/dist/{CustomerSupport-CBKzdmnU.js → CustomerSupport-Dnk8_qi0.js} +10 -10
- package/dist/{DebugModal-B0LNaFHQ.js → DebugModal-FBKHDefR.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-B2qQWfwH.js → DecisionMakerDetailsPage-Di1Xm4M2.js} +5 -5
- package/dist/{DecisionMakers-DsEvjMgy.js → DecisionMakers-Ba_XYtiG.js} +21 -21
- package/dist/{Dropzone-DN5uCyVU.js → Dropzone-Bh7kZjWx.js} +3 -3
- package/dist/{EmbeddedStatus-Dv1_ftCI.js → EmbeddedStatus-DmP7aarF.js} +2 -2
- package/dist/{EndStateLayout-Be7knc_u.js → EndStateLayout-C9Umlfta.js} +1 -1
- package/dist/{EntityAssociation-ehFx0Lsk.js → EntityAssociation-DcYE26tb.js} +5 -5
- package/dist/{EntityGuidanceStatus-DogG6s5I.js → EntityGuidanceStatus-BYiUYZ4w.js} +2 -2
- package/dist/{ErrorPanel-AOXcd1rV.js → ErrorPanel-BDTdYjSM.js} +2 -2
- package/dist/{Field-JfW2EFGR.js → Field-8kK4fa6f.js} +1 -1
- package/dist/{FormNavigation-DDdhTt0b.js → FormNavigation-DKQwixoN.js} +2 -2
- package/dist/{FormWrapper-Ct9HZWod.js → FormWrapper-C8YbWM2i.js} +8 -8
- package/dist/{Header--2llFP2l.js → Header-CEaIOrUV.js} +1 -1
- package/dist/{Image-BCApSFnP.js → Image-BxVEbcnr.js} +1 -1
- package/dist/{Individual.rules-CyhqPTcX.js → Individual.rules-xyROEBJR.js} +5 -5
- package/dist/{IndividualDropin-mVN_KUBh.js → IndividualDropin-Cc7O7Fn8.js} +55 -66
- package/dist/{InputDate-Burmi6Sh.js → InputDate-C6GiiZL3.js} +1 -1
- package/dist/{InputText-CDJu-sEq.js → InputText-B_3jQhh6.js} +1 -1
- package/dist/{Introduction-BwKLGTUv.js → Introduction-DmjPkUll.js} +3 -3
- package/dist/{JpAddress-BSy0UJ3M.js → JpAddress-CpPI-KV6.js} +9 -9
- package/dist/{LandingLayout-BwkomD3H.js → LandingLayout-_MKbMZ0O.js} +1 -1
- package/dist/{LegalCompanyNameField-Cgt1TNEB.js → LegalCompanyNameField-C7HMYZ4g.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-Cqajm3hR.js → LegalRepresentativeDetailsPage-D7F4Oz_x.js} +3 -3
- package/dist/{Link-C1ItzqIL.js → Link-wxZC_3RO.js} +1 -1
- package/dist/{ListItem-BIog5phF.js → ListItem-DqDyjbJT.js} +2 -2
- package/dist/{LoaderWrapper-CZo0SNKQ.js → LoaderWrapper-DbY-pibx.js} +1 -1
- package/dist/{ManageIndividualComponent-BBOXsqnJ.js → ManageIndividualComponent-wsputyKL.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-COmlFRSF.js → ManageTermsOfServiceComponent-CJE_bhts.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-BVY-1aD7.js → ManageTransferInstrumentComponent-Ca7RnXLI.js} +12 -12
- package/dist/{MaskedInput-DKifZn9r.js → MaskedInput-26xwmWrO.js} +4 -4
- package/dist/{MaybeModal-CRIZCDqy.js → MaybeModal-ENN4DSRO.js} +2 -2
- package/dist/{Modal-DVBgbO7M.js → Modal-CuB1d56n.js} +1 -1
- package/dist/{Name-7k-lHFYu.js → Name-DRBQNRAK.js} +4 -4
- package/dist/{OnboardingDropinComponent-BRhZOfli.js → OnboardingDropinComponent-tW6hOehy.js} +53 -53
- package/dist/{PayoutDetailsDropin-oy4QPb8_.js → PayoutDetailsDropin-C-i2oRMc.js} +43 -43
- package/dist/{RadioGroup-BKDP8z8a.js → RadioGroup-ChJ1GffP.js} +1 -1
- package/dist/{RadioGroupCard-BRaP96s2.js → RadioGroupCard-CS8qA5_Y.js} +1 -1
- package/dist/{Review-BuZsPiQ4.js → Review-CTRqAxRH.js} +6 -6
- package/dist/{RootBusinessDetailsPage-YR2zdnnH.js → RootBusinessDetailsPage-B4zIYra7.js} +3 -3
- package/dist/{RootBusinessLinesPage-C7flPjmZ.js → RootBusinessLinesPage-B3dmNDtH.js} +27 -28
- package/dist/{RootIndividualDetailsPage-Bos1Wn3a.js → RootIndividualDetailsPage-BuoCpxDd.js} +3 -3
- package/dist/{Select-CaTtCKfk.js → Select-DgTInscc.js} +3 -3
- package/dist/{SignPCIComponent-BQX3rni3.js → SignPCIComponent-BOINadxd.js} +10 -10
- package/dist/{SingpassSelection-CfZV_Gh8.js → SingpassSelection-DBqCZxqC.js} +5 -5
- package/dist/{SoleProprietorshipPage-CUHHAiF8.js → SoleProprietorshipPage-Nhj9IxKW.js} +3 -3
- package/dist/{SourceOfFundsPage-Bco19EV7.js → SourceOfFundsPage-CWDObWsV.js} +32 -32
- package/dist/{StepProgressIndicator-C0V9U0YD.js → StepProgressIndicator-CgEx28-_.js} +1 -1
- package/dist/{StoreProvider-R8HTTjSj.js → StoreProvider-DRrcEPVg.js} +7 -6
- package/dist/{Summary-itpVUbwv.js → Summary-CeduSNAU.js} +5 -5
- package/dist/{TaskVerificationStatus-DMo_YL-Q.js → TaskVerificationStatus-C9VWzt6E.js} +1 -1
- package/dist/{TaxInformationField-BMegKexk.js → TaxInformationField-C-I75MQG.js} +396 -144
- package/dist/{TaxReportingDropin-BefiGSvu.js → TaxReportingDropin-DoNyT6f8.js} +16 -16
- package/dist/{TextArea-DoQSgYyO.js → TextArea-BpRhTTjh.js} +1 -1
- package/dist/{TileGroup-2DhDOa2v.js → TileGroup-c8Gwaz7-.js} +2 -2
- package/dist/{TrustDetailsPage-nz98r5ao.js → TrustDetailsPage-B5fqwsLi.js} +35 -39
- package/dist/{TrustMemberCompanyPage-C1hkerc6.js → TrustMemberCompanyPage-BAeeCXia.js} +4 -4
- package/dist/{TrustMemberIndividualPage-BP1rh_3-.js → TrustMemberIndividualPage-L60Vz3uU.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-DM_SAeST.js → TrustMemberRoleAndTypePage-C9MUq8we.js} +22 -22
- package/dist/{TrustMembersOverview-DJq55hwH.js → TrustMembersOverview-BeQMCTVD.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-C3cNtO8h.js → UnincorporatedPartnershipIndividualPage-DEm4Gjl_.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DwWQxBJZ.js → UnincorporatedPartnershipMemberCompanyPage-DFUBqbOw.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CD9BjZAV.js → UnincorporatedPartnershipMemberRoleAndTypePage-Xjc94FJK.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-Ddkf3qsV.js → UnincorporatedPartnershipMembersOverview-BRJ3SHTp.js} +8 -8
- package/dist/{VerificationErrorAlert-B3lc-lS0.js → VerificationErrorAlert-Bk3VQhKJ.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-ClqvblmK.js → ViewVerificationStatusComponent-dZgwjplf.js} +3 -3
- package/dist/{accountHolderUtils-Bt3WWiKU.js → accountHolderUtils-CVDUKBhb.js} +1 -1
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-invited-decision-maker.js +4 -4
- package/dist/adyen-kyc-components.js +20 -20
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{bafinUtils-BQuOAA7n.js → bafinUtils-2wYhRKNS.js} +1 -1
- package/dist/{bg-BG-Dp1J1L2X.js → bg-BG-6XzbmxcW.js} +2 -2
- package/dist/{commonValidators-COQPDrJD.js → commonValidators-BYfFKx90.js} +1 -1
- package/dist/{cs-CZ-Bd9Zz7z4.js → cs-CZ-C6vEQ8P9.js} +2 -2
- package/dist/{da-DK-DmFDgnbC.js → da-DK-DzcTI92X.js} +2 -2
- package/dist/{de-DE-DRuKxSOy.js → de-DE-dPfrbCii.js} +2 -2
- package/dist/{dropinUtils-DaVcEvR9.js → dropinUtils-CxFSF5tV.js} +3 -3
- package/dist/{el-GR-Cezskrdn.js → el-GR-Dazirlmt.js} +2 -2
- package/dist/{es-ES-DzB4V6UZ.js → es-ES--IvNed_Q.js} +2 -2
- package/dist/{et-EE-BkHzGD3D.js → et-EE-CsTXSlnY.js} +2 -2
- package/dist/{fi-FI-Cxkp0GQA.js → fi-FI-BUixKfXH.js} +2 -2
- package/dist/{formUtils-BXVrjV16.js → formUtils-D7TgYW1c.js} +3 -14
- package/dist/{fr-FR-DsEmssxk.js → fr-FR-BM-qNLci.js} +2 -2
- package/dist/{getName-BSp8sqBk.js → getName-Cbm23Oyp.js} +1 -1
- package/dist/{getProblemsForEntity-D3Mk1tAO.js → getProblemsForEntity-CqijfA4O.js} +1 -1
- package/dist/{getProps-O8Fpl_k_.js → getProps-Cc3J2-z9.js} +2 -6
- package/dist/{hr-HR-DU4nvY6g.js → hr-HR-BF74vdPD.js} +2 -2
- package/dist/{hu-HU-D6frnZmR.js → hu-HU-DYhMVR_c.js} +2 -2
- package/dist/{iframeWidget-D9fIYT_A.js → iframeWidget-6A4IaN9i.js} +3 -3
- package/dist/{isEmpty-YP88OF9k.js → isEmpty-DUAKHNk5.js} +1 -1
- package/dist/{it-IT-VFXgXyRA.js → it-IT-D63gRTDc.js} +2 -2
- package/dist/{ja-JP-B_Q8X66O.js → ja-JP-DL0IjTzn.js} +2 -2
- package/dist/{japanSupportUtils-BVEiDev9.js → japanSupportUtils-D0xBpufN.js} +1 -1
- package/dist/{localizeDateString-D4QbYS20.js → localizeDateString-BT2DOIJl.js} +1 -1
- package/dist/{lt-LT-CE-GdWrg.js → lt-LT-BX8dOAzK.js} +2 -2
- package/dist/{lv-LV-dv7fqeBS.js → lv-LV-dA8yYdKe.js} +2 -2
- package/dist/{mapExistingFile-DrV6ETrQ.js → mapExistingFile-UFU_PkQB.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-h3wfuHZF.js → mapJpAddressSchemaToAddressLocalizations-JsuEzFlI.js} +24 -9
- package/dist/{mapLegalEntityToIndividualSchema-xKiA35iB.js → mapLegalEntityToIndividualSchema-LtSirNsR.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-BGH81_rp.js → mapTransferInstrumentToPayoutAccount-1lCm_rtD.js} +1 -1
- package/dist/{nl-NL-BwIRHJgf.js → nl-NL-KQ6bciOb.js} +2 -2
- package/dist/{no-NO-u56mEoG3.js → no-NO-Ds3VioxT.js} +2 -2
- package/dist/{patternValidators-D1I-TyxX.js → patternValidators-ZFTAPK3_.js} +1 -1
- package/dist/{pl-PL-zqT41Yjw.js → pl-PL-BgbxWHGE.js} +2 -2
- package/dist/{process-field-configurations-CauvcVgJ.js → process-field-configurations-Qe5Tnxn-.js} +2 -2
- package/dist/{pt-BR-fMKntiMG.js → pt-BR-Ct4s4jXV.js} +2 -2
- package/dist/{pt-PT-C6pZR9Bc.js → pt-PT-DBEsmXQX.js} +2 -2
- package/dist/{resolveEnvironment-BGOF8ZN0.js → resolveEnvironment-DRcOOiiQ.js} +3 -3
- package/dist/{ro-RO-B5BQrf6C.js → ro-RO-C00Ig8CL.js} +2 -2
- package/dist/{roleMetadata-IJmMKj7H.js → roleMetadata-cFpSupDt.js} +1 -1
- package/dist/{sk-SK-Bz4T7upD.js → sk-SK-BbJWayDh.js} +2 -2
- package/dist/{sl-SI--RTGDByj.js → sl-SI-hxwQIw_i.js} +2 -2
- package/dist/{sv-SE-Dryy3JLw.js → sv-SE-0PQ-U1u6.js} +2 -2
- package/dist/types/components/Business/mapping/businessDetails/businessBankAccountTaxIdUtils.d.ts +7 -0
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +3 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +2 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/BusinessLines/fields/SctaField/types.d.ts +1 -1
- package/dist/types/components/BusinessLines/fields/WebDataField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/DateOfIncorporationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/types.d.ts +3 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/EInvoicingCodeField.d.ts +1 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +52 -12
- package/dist/types/components/Shared/fields/IndustryCodeField/IndustryCodeField.d.ts +1 -1
- package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/fieldConfig.d.ts +5 -0
- package/dist/types/components/Shared/fields/PhoneField/types.d.ts +2 -1
- package/dist/types/components/Shared/fields/StateField/StateField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/fieldConfig.d.ts +8 -0
- package/dist/types/components/Shared/fields/StateField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/StockExchangeMICField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/StockISINField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/StockTickerSymbolField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +6 -0
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +2 -1
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/Address.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/core/process-field-configurations.d.ts +0 -5
- package/dist/types/hooks/useForm/types.d.ts +0 -4
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/fieldConfigurations.d.ts +0 -1
- package/dist/types/utils/formUtils.d.ts +0 -1
- package/dist/{types-C71UTKFj.js → types-C6TrEBm9.js} +1 -1
- package/dist/{types-L5qYiAza.js → types-DQzeXM0p.js} +1 -1
- package/dist/{types-CbmL-OPw.js → types-q3_hEDuS.js} +1 -1
- package/dist/{useAssociatedLegalEntity-C-xiImww.js → useAssociatedLegalEntity-wPv_8yic.js} +1 -1
- package/dist/{useBusinessDetailsData-ClDMNd4T.js → useBusinessDetailsData-CWC-XWwg.js} +108 -115
- package/dist/{useBusinessLines-DYARfG9m.js → useBusinessLines-CtLf1X9x.js} +1 -1
- package/dist/{useCanSeeIntroduction-BiE8u_KK.js → useCanSeeIntroduction-CRYiCoWi.js} +2 -2
- package/dist/{useCreateLegalEntity-DR7rwVaq.js → useCreateLegalEntity-Cbs-kP2l.js} +1 -1
- package/dist/{useDataMissingRemediations-DReynHoU.js → useDataMissingRemediations-DexiTEKJ.js} +1 -1
- package/dist/{useDataset-C5FlqHce.js → useDataset-ByGjwnhQ.js} +1 -1
- package/dist/{useDeleteTransferInstrument-B-Oi9ZLT.js → useDeleteTransferInstrument-Dixjg3vo.js} +2 -2
- package/dist/{useForm-BsasYish.js → useForm-DXzSYLF0.js} +2 -2
- package/dist/{useFormContext-DpaS6tOQ.js → useFormContext-r2Hcz-V_.js} +6 -6
- package/dist/{useGlobalData-CX1o5IxG.js → useGlobalData-ma162Pcb.js} +1 -1
- package/dist/{useMultiForm-DEqGcJ6u.js → useMultiForm-DxPk0er7.js} +3 -3
- package/dist/{useNavigate-Cj2nZ22H.js → useNavigate-BGTNlUiJ.js} +29 -29
- package/dist/{useOnboardingStatus-Dris0Ncf.js → useOnboardingStatus-BIWXdyF1.js} +1 -1
- package/dist/{usePciQuestionnaireList-BBySNcwm.js → usePciQuestionnaireList-D6Ka7IcW.js} +1 -1
- package/dist/{useSalesChannels-BOd-o11d.js → useSalesChannels-BD5kmxfT.js} +3 -3
- package/dist/{useScenarios-HMGtblyu.js → useScenarios-RZK9CCvf.js} +1 -1
- package/dist/{useSetting-BYr76RvU.js → useSetting-BxWGY1tU.js} +1 -1
- package/dist/{useTaskStatus-BbVw9GeJ.js → useTaskStatus-D52P9rax.js} +1 -1
- package/dist/{useTermsOfServiceStatus-ksgZfSQU.js → useTermsOfServiceStatus-SlHd3IC8.js} +1 -1
- package/dist/{useToastContext-BVrrLs7J.js → useToastContext-BTDQp75c.js} +1 -1
- package/dist/{useTrustMembers-1tH9uxR9.js → useTrustMembers-cSWtT-IQ.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-gG8G3tCc.js → useUnincorporatedPartnershipMembers-DAN9oaWn.js} +3 -3
- package/dist/{useUpdateBusinessLines-CMUHoLaq.js → useUpdateBusinessLines-DwtIXywC.js} +5 -6
- package/dist/{useUpdateLegalEntity-B6ROWewZ.js → useUpdateLegalEntity-BicH84SO.js} +2 -2
- package/dist/{utils-kWwTKQ5D.js → utils-BLvqOk8e.js} +1 -1
- package/dist/{utils-LHyfmjEK.js → utils-B_ARUoMi.js} +1 -1
- package/dist/{utils-BOHUVuDG.js → utils-Bd9jtWVp.js} +2 -2
- package/dist/{utils-BgPvD8_F.js → utils-C3EnYDJ5.js} +4 -4
- package/dist/{utils-DSoDxwnp.js → utils-DrZRh_0g.js} +2 -9
- package/dist/{validate-5WfBgXVu.js → validate-Cha4LHn6.js} +1 -1
- package/dist/{validate-xqnF9QqW.js → validate-D7YCG5AN.js} +2 -2
- package/dist/{validationError-DQ-2UuzB.js → validationError-CSgcSs-E.js} +1 -1
- package/package.json +1 -1
|
@@ -2,35 +2,35 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d03272d2-9b12-4e45-84f3-555022200212", e._sentryDebugIdIdentifier = "sentry-dbid-d03272d2-9b12-4e45-84f3-555022200212");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b9 as getNestedPropertyKeys, a0 as CountryCodes, o as LegalEntityTypes, a6 as objectsDeepEqual, u as useTranslation, c as useLegalEntity, R as ROOT_LE, j as TaskTypes, aC as keysOf, v as useExperimentsContext, m as useAccountHolder } from "./StoreProvider-
|
|
10
|
+
import { b9 as getNestedPropertyKeys, a0 as CountryCodes, o as LegalEntityTypes, a6 as objectsDeepEqual, u as useTranslation, c as useLegalEntity, R as ROOT_LE, j as TaskTypes, aC as keysOf, v as useExperimentsContext, m as useAccountHolder } from "./StoreProvider-DRrcEPVg.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { memo } from "preact/compat";
|
|
13
13
|
import { useState, useRef, useEffect, useCallback, useMemo } from "preact/hooks";
|
|
14
|
-
import { F as Field } from "./Field-
|
|
15
|
-
import { H as Header } from "./Header
|
|
16
|
-
import { S as Select } from "./Select-
|
|
17
|
-
import { T as TextArea } from "./TextArea-
|
|
18
|
-
import { S as StateContextSetter } from "./validate-
|
|
19
|
-
import { u as useForm } from "./useForm-
|
|
20
|
-
import { u as uppercase, D as DocumentGuidance } from "./mapExistingFile-
|
|
21
|
-
import { D as Dropzone } from "./Dropzone-
|
|
22
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
23
|
-
import { c as createFormUtils } from "./formUtils-
|
|
24
|
-
import { C as Checkbox } from "./Checkbox-
|
|
14
|
+
import { F as Field } from "./Field-8kK4fa6f.js";
|
|
15
|
+
import { H as Header } from "./Header-CEaIOrUV.js";
|
|
16
|
+
import { S as Select } from "./Select-DgTInscc.js";
|
|
17
|
+
import { T as TextArea } from "./TextArea-BpRhTTjh.js";
|
|
18
|
+
import { S as StateContextSetter } from "./validate-D7YCG5AN.js";
|
|
19
|
+
import { u as useForm } from "./useForm-DXzSYLF0.js";
|
|
20
|
+
import { u as uppercase, D as DocumentGuidance } from "./mapExistingFile-UFU_PkQB.js";
|
|
21
|
+
import { D as Dropzone } from "./Dropzone-Bh7kZjWx.js";
|
|
22
|
+
import { E as ErrorPanel } from "./ErrorPanel-BDTdYjSM.js";
|
|
23
|
+
import { c as createFormUtils } from "./formUtils-D7TgYW1c.js";
|
|
24
|
+
import { C as Checkbox } from "./Checkbox-Dh90_pNW.js";
|
|
25
25
|
import { C as CompanyTypesValues } from "./company-types-value-D_mKv5PT.js";
|
|
26
|
-
import { m as makeMask, n as numericInputs, a as nonInputs, d as alphanumericInputs, c as customInputs, b as alphaInputs, s as spacer, M as MaskedInput } from "./MaskedInput-
|
|
27
|
-
import { S as SettingNames } from "./TaskVerificationStatus-
|
|
28
|
-
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
26
|
+
import { m as makeMask, n as numericInputs, a as nonInputs, d as alphanumericInputs, c as customInputs, b as alphaInputs, s as spacer, M as MaskedInput } from "./MaskedInput-26xwmWrO.js";
|
|
27
|
+
import { S as SettingNames } from "./TaskVerificationStatus-C9VWzt6E.js";
|
|
28
|
+
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-DrZRh_0g.js";
|
|
29
29
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
30
|
-
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-
|
|
31
|
-
import { i as isDateOlderThanAYear } from "./Address-
|
|
32
|
-
import { v as validatePatternOnBlur, a as validateNotEmptyOnBlur } from "./patternValidators-
|
|
33
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
30
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-D0xBpufN.js";
|
|
31
|
+
import { i as isDateOlderThanAYear } from "./Address-dgyR0ozS.js";
|
|
32
|
+
import { v as validatePatternOnBlur, a as validateNotEmptyOnBlur } from "./patternValidators-ZFTAPK3_.js";
|
|
33
|
+
import { R as RadioGroup } from "./RadioGroup-ChJ1GffP.js";
|
|
34
34
|
const getFieldsWithExistingData = (legalEntity, keyMapping, documentMapping, knownProblematicFields = []) => {
|
|
35
35
|
const apiFieldsWithExistingData = getNestedPropertyKeys(legalEntity);
|
|
36
36
|
const nonDocumentFields = apiFieldsWithExistingData.map((field) => keyMapping[field]).filter(Boolean).filter((field) => !knownProblematicFields.includes(field));
|
|
@@ -1249,28 +1249,32 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1249
1249
|
},
|
|
1250
1250
|
[CountryCodes.Austria]: {
|
|
1251
1251
|
label: "taxInformationNumber__AT",
|
|
1252
|
-
placeholder: "taxInformationNumber__placeHolder__AT",
|
|
1253
1252
|
validators: mapValidators(
|
|
1254
|
-
[validatePatternOnBlur(
|
|
1253
|
+
[validatePatternOnBlur(/^(?=(?:[^0-9]*\d){9}[^0-9]*$)[\d\-/]+$/)],
|
|
1255
1254
|
CountryCodes.Austria
|
|
1256
1255
|
),
|
|
1257
1256
|
mask: {
|
|
1258
1257
|
mask: makeMask(
|
|
1259
|
-
...numericInputs(
|
|
1258
|
+
...numericInputs(2),
|
|
1260
1259
|
{ type: "input", allow: /[-/]/, optional: true },
|
|
1261
|
-
...numericInputs(3
|
|
1260
|
+
...numericInputs(3),
|
|
1262
1261
|
{ type: "input", allow: /[-/]/, optional: true },
|
|
1263
1262
|
...numericInputs(4)
|
|
1264
1263
|
)
|
|
1265
1264
|
},
|
|
1266
|
-
guidanceText:
|
|
1265
|
+
guidanceText: {
|
|
1266
|
+
key: "enterNDigitsForExample",
|
|
1267
|
+
values: {
|
|
1268
|
+
numDigits: "9",
|
|
1269
|
+
example: "931736581"
|
|
1270
|
+
}
|
|
1271
|
+
}
|
|
1267
1272
|
},
|
|
1268
1273
|
[CountryCodes.Belgium]: ({ companyType }) => {
|
|
1269
1274
|
switch (companyType) {
|
|
1270
1275
|
case LegalEntityTypes.INDIVIDUAL:
|
|
1271
1276
|
return {
|
|
1272
1277
|
label: "taxInformationNumber__BE_Individual",
|
|
1273
|
-
placeholder: "taxInformationNumber__placeHolder__BE_Individual",
|
|
1274
1278
|
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Belgium),
|
|
1275
1279
|
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1276
1280
|
guidanceText: {
|
|
@@ -1284,7 +1288,6 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1284
1288
|
default:
|
|
1285
1289
|
return {
|
|
1286
1290
|
label: "taxInformationNumber__BE",
|
|
1287
|
-
placeholder: "taxInformationNumber__placeHolder__BE",
|
|
1288
1291
|
validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.Belgium),
|
|
1289
1292
|
mask: { mask: makeMask(...numericInputs(10)) },
|
|
1290
1293
|
guidanceText: {
|
|
@@ -1311,7 +1314,6 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1311
1314
|
},
|
|
1312
1315
|
[CountryCodes.Croatia]: {
|
|
1313
1316
|
label: "taxInformationNumber__HR",
|
|
1314
|
-
placeholder: "taxInformationNumber__placeHolder__HR",
|
|
1315
1317
|
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Croatia),
|
|
1316
1318
|
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1317
1319
|
guidanceText: {
|
|
@@ -1324,7 +1326,6 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1324
1326
|
},
|
|
1325
1327
|
[CountryCodes.Cyprus]: {
|
|
1326
1328
|
label: "taxInformationNumber__CY",
|
|
1327
|
-
placeholder: "taxInformationNumber__placeHolder__CY",
|
|
1328
1329
|
validators: mapValidators([validatePatternOnBlur(/^\d{8,9}[A-Z]$/)], CountryCodes.Cyprus),
|
|
1329
1330
|
mask: {
|
|
1330
1331
|
mask: makeMask(...numericInputs(8), ...numericInputs(1, true), ...alphaInputs(1)),
|
|
@@ -1339,8 +1340,7 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1339
1340
|
}
|
|
1340
1341
|
},
|
|
1341
1342
|
[CountryCodes.Estonia]: {
|
|
1342
|
-
label: "
|
|
1343
|
-
placeholder: "taxInformationNumber__placeHolder__ET",
|
|
1343
|
+
label: "taxInformationNumber__ET_Individual",
|
|
1344
1344
|
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Estonia),
|
|
1345
1345
|
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1346
1346
|
guidanceText: {
|
|
@@ -1353,7 +1353,6 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1353
1353
|
},
|
|
1354
1354
|
[CountryCodes.Finland]: {
|
|
1355
1355
|
label: "taxInformationNumber__FI",
|
|
1356
|
-
placeholder: "taxInformationNumber__placeHolder__FI",
|
|
1357
1356
|
validators: mapValidators(
|
|
1358
1357
|
[validatePatternOnBlur(/^\d{6}[+\-A]\d{3}[0-9A-Y]$/)],
|
|
1359
1358
|
CountryCodes.Finland
|
|
@@ -1375,7 +1374,6 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1375
1374
|
},
|
|
1376
1375
|
[CountryCodes.France]: {
|
|
1377
1376
|
label: "taxInformationNumber__FR",
|
|
1378
|
-
placeholder: "taxInformationNumber__placeHolder__FR",
|
|
1379
1377
|
validators: mapValidators([validatePatternOnBlur(/^\s*(\d\s*){13}$/)], CountryCodes.France),
|
|
1380
1378
|
mask: {
|
|
1381
1379
|
mask: makeMask(
|
|
@@ -1403,7 +1401,6 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1403
1401
|
case LegalEntityTypes.INDIVIDUAL:
|
|
1404
1402
|
return {
|
|
1405
1403
|
label: "taxInformationNumber__DE_Individual",
|
|
1406
|
-
placeholder: "taxInformationNumber__placeHolder__DE_Individual",
|
|
1407
1404
|
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Germany),
|
|
1408
1405
|
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1409
1406
|
guidanceText: {
|
|
@@ -1417,7 +1414,6 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1417
1414
|
default:
|
|
1418
1415
|
return {
|
|
1419
1416
|
label: "taxInformationNumber__DE",
|
|
1420
|
-
placeholder: "taxInformationNumber__placeHolder__DE",
|
|
1421
1417
|
validators: mapValidators(
|
|
1422
1418
|
[validatePatternOnBlur(/^\d{10}$|^\d{11}$|^\d{13}$/)],
|
|
1423
1419
|
CountryCodes.Germany
|
|
@@ -1449,7 +1445,6 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1449
1445
|
},
|
|
1450
1446
|
[CountryCodes.Greece]: {
|
|
1451
1447
|
label: "taxInformationNumber__GR",
|
|
1452
|
-
placeholder: "taxInformationNumber__placeHolder__GR",
|
|
1453
1448
|
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Greece),
|
|
1454
1449
|
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1455
1450
|
guidanceText: {
|
|
@@ -1533,7 +1528,6 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1533
1528
|
case LegalEntityTypes.INDIVIDUAL:
|
|
1534
1529
|
return {
|
|
1535
1530
|
label: "taxInformationNumber__IE_Individual",
|
|
1536
|
-
placeholder: "taxInformationNumber__placeHolder__IE_Individual",
|
|
1537
1531
|
validators: mapValidators(
|
|
1538
1532
|
[validatePatternOnBlur(/^\d{7}[A-Z]$|^\d{7}[A-Z]{2}$/)],
|
|
1539
1533
|
CountryCodes.Ireland
|
|
@@ -1573,6 +1567,20 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1573
1567
|
};
|
|
1574
1568
|
}
|
|
1575
1569
|
},
|
|
1570
|
+
[CountryCodes.Italy]: {
|
|
1571
|
+
label: "codiceFiscale",
|
|
1572
|
+
mask: {
|
|
1573
|
+
mask: makeMask(...numericInputs(11))
|
|
1574
|
+
},
|
|
1575
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Italy),
|
|
1576
|
+
guidanceText: {
|
|
1577
|
+
key: "enterNDigitsForExample",
|
|
1578
|
+
values: {
|
|
1579
|
+
numDigits: "11",
|
|
1580
|
+
example: "12345678901"
|
|
1581
|
+
}
|
|
1582
|
+
}
|
|
1583
|
+
},
|
|
1576
1584
|
[CountryCodes.IsleOfMan]: {
|
|
1577
1585
|
label: "taxReferenceNumber",
|
|
1578
1586
|
validators: mapValidators([validatePatternOnBlur(/^[HCX]\d{8}$/)], CountryCodes.IsleOfMan),
|
|
@@ -1665,7 +1673,6 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1665
1673
|
},
|
|
1666
1674
|
[CountryCodes.Latvia]: {
|
|
1667
1675
|
label: "taxInformationNumber__LV",
|
|
1668
|
-
placeholder: "taxInformationNumber__placeHolder__LV",
|
|
1669
1676
|
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Latvia),
|
|
1670
1677
|
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1671
1678
|
guidanceText: {
|
|
@@ -1678,7 +1685,6 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1678
1685
|
},
|
|
1679
1686
|
[CountryCodes.Lithuania]: {
|
|
1680
1687
|
label: "taxInformationNumber__LT",
|
|
1681
|
-
placeholder: "taxInformationNumber__placeHolder__LT",
|
|
1682
1688
|
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Lithuania),
|
|
1683
1689
|
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1684
1690
|
guidanceText: {
|
|
@@ -1689,53 +1695,88 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1689
1695
|
}
|
|
1690
1696
|
}
|
|
1691
1697
|
},
|
|
1692
|
-
[CountryCodes.Luxembourg]: {
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
validators: mapValidators([validatePatternOnBlur(/^\d{13}$/)], CountryCodes.Luxembourg),
|
|
1696
|
-
mask: { mask: makeMask(...numericInputs(13)) },
|
|
1697
|
-
guidanceText: {
|
|
1698
|
-
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1699
|
-
values: {
|
|
1700
|
-
example: "1893120105732",
|
|
1701
|
-
idType: "National identification number"
|
|
1702
|
-
}
|
|
1703
|
-
}
|
|
1704
|
-
},
|
|
1705
|
-
[CountryCodes.Malta]: ({ taxIdNumberType }) => {
|
|
1706
|
-
switch (taxIdNumberType) {
|
|
1707
|
-
case "IDENTITY_CARD_NUMBER":
|
|
1698
|
+
[CountryCodes.Luxembourg]: ({ companyType }) => {
|
|
1699
|
+
switch (companyType) {
|
|
1700
|
+
case LegalEntityTypes.INDIVIDUAL:
|
|
1708
1701
|
return {
|
|
1709
|
-
label: "
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1702
|
+
label: "taxInformationNumber__LU_Individual",
|
|
1703
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{13}$/)], CountryCodes.Luxembourg),
|
|
1704
|
+
mask: { mask: makeMask(...numericInputs(13)) },
|
|
1705
|
+
guidanceText: {
|
|
1706
|
+
key: "enterNCharactersForExample",
|
|
1707
|
+
values: {
|
|
1708
|
+
numChars: "13",
|
|
1709
|
+
example: "1893120105732"
|
|
1710
|
+
}
|
|
1711
|
+
}
|
|
1712
|
+
};
|
|
1713
|
+
default:
|
|
1714
|
+
return {
|
|
1715
|
+
label: "taxInformationNumber__LU_Org",
|
|
1716
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Luxembourg),
|
|
1715
1717
|
mask: {
|
|
1716
|
-
mask: makeMask(...numericInputs(
|
|
1717
|
-
transformOnType: uppercase
|
|
1718
|
+
mask: makeMask(...numericInputs(11))
|
|
1718
1719
|
},
|
|
1719
1720
|
guidanceText: {
|
|
1720
|
-
key: "
|
|
1721
|
+
key: "enterNCharactersForExample",
|
|
1721
1722
|
values: {
|
|
1722
|
-
|
|
1723
|
-
|
|
1723
|
+
numChars: "11",
|
|
1724
|
+
example: "19991201001"
|
|
1724
1725
|
}
|
|
1725
1726
|
}
|
|
1726
1727
|
};
|
|
1727
|
-
|
|
1728
|
+
}
|
|
1729
|
+
},
|
|
1730
|
+
[CountryCodes.Malta]: ({ taxIdNumberType, companyType }) => {
|
|
1731
|
+
switch (companyType) {
|
|
1732
|
+
case LegalEntityTypes.INDIVIDUAL:
|
|
1733
|
+
switch (taxIdNumberType) {
|
|
1734
|
+
case "IDENTITY_CARD_NUMBER":
|
|
1735
|
+
return {
|
|
1736
|
+
label: "taxInformationNumber__MT_Individual",
|
|
1737
|
+
validators: mapValidators(
|
|
1738
|
+
[validatePatternOnBlur(/^\d{7}[A-Z]$|^\d{9}$/)],
|
|
1739
|
+
CountryCodes.Malta
|
|
1740
|
+
),
|
|
1741
|
+
mask: {
|
|
1742
|
+
mask: makeMask(...numericInputs(7), ...alphanumericInputs(2)),
|
|
1743
|
+
transformOnType: uppercase
|
|
1744
|
+
},
|
|
1745
|
+
guidanceText: {
|
|
1746
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1747
|
+
values: {
|
|
1748
|
+
example: "1234567A",
|
|
1749
|
+
idType: "Identity card number or unique taxpayer reference number (Maltese nationals)"
|
|
1750
|
+
}
|
|
1751
|
+
}
|
|
1752
|
+
};
|
|
1753
|
+
case "NRU":
|
|
1754
|
+
default:
|
|
1755
|
+
return {
|
|
1756
|
+
label: "taxInformationNumber__MT_NRU_Individual",
|
|
1757
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Malta),
|
|
1758
|
+
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1759
|
+
guidanceText: {
|
|
1760
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1761
|
+
values: {
|
|
1762
|
+
example: "999999999",
|
|
1763
|
+
idType: "NRU (Non-Maltese nationals)"
|
|
1764
|
+
}
|
|
1765
|
+
}
|
|
1766
|
+
};
|
|
1767
|
+
}
|
|
1728
1768
|
default:
|
|
1729
1769
|
return {
|
|
1730
|
-
label: "
|
|
1731
|
-
placeholder: "taxInformationNumber__placeHolder__MT_NRU",
|
|
1770
|
+
label: "taxInformationNumber__MT_Org",
|
|
1732
1771
|
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Malta),
|
|
1733
|
-
mask: {
|
|
1772
|
+
mask: {
|
|
1773
|
+
mask: makeMask(...numericInputs(9))
|
|
1774
|
+
},
|
|
1734
1775
|
guidanceText: {
|
|
1735
1776
|
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1736
1777
|
values: {
|
|
1737
|
-
example: "
|
|
1738
|
-
idType: "
|
|
1778
|
+
example: "123456789",
|
|
1779
|
+
idType: "Income Tax Registration Number"
|
|
1739
1780
|
}
|
|
1740
1781
|
}
|
|
1741
1782
|
};
|
|
@@ -1746,7 +1787,6 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1746
1787
|
case LegalEntityTypes.INDIVIDUAL:
|
|
1747
1788
|
return {
|
|
1748
1789
|
label: "bsnNumber",
|
|
1749
|
-
placeholder: "taxInformationNumber__placeHolder__NL",
|
|
1750
1790
|
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Netherlands),
|
|
1751
1791
|
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1752
1792
|
guidanceText: {
|
|
@@ -1760,7 +1800,6 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1760
1800
|
default:
|
|
1761
1801
|
return {
|
|
1762
1802
|
label: "rsinNumber",
|
|
1763
|
-
placeholder: "taxInformationNumber__placeHolder__NL",
|
|
1764
1803
|
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Netherlands),
|
|
1765
1804
|
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1766
1805
|
guidanceText: {
|
|
@@ -1790,7 +1829,6 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1790
1829
|
},
|
|
1791
1830
|
[CountryCodes.Portugal]: {
|
|
1792
1831
|
label: "taxInformationNumber__PT",
|
|
1793
|
-
placeholder: "taxInformationNumber__placeHolder__PT",
|
|
1794
1832
|
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Portugal),
|
|
1795
1833
|
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1796
1834
|
guidanceText: {
|
|
@@ -1804,7 +1842,6 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1804
1842
|
[CountryCodes.PuertoRico]: {
|
|
1805
1843
|
// should exactly match CountryCodes.UnitedStates
|
|
1806
1844
|
label: "taxInformationNumber__US",
|
|
1807
|
-
placeholder: "taxInformationNumber__placeHolder__US",
|
|
1808
1845
|
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.PuertoRico),
|
|
1809
1846
|
mask: {
|
|
1810
1847
|
mask: makeMask(...numericInputs(2), ...nonInputs(" - "), ...numericInputs(7))
|
|
@@ -1839,39 +1876,76 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1839
1876
|
}
|
|
1840
1877
|
}
|
|
1841
1878
|
},
|
|
1842
|
-
[CountryCodes.Slovakia]: {
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1879
|
+
[CountryCodes.Slovakia]: ({ companyType }) => {
|
|
1880
|
+
switch (companyType) {
|
|
1881
|
+
case LegalEntityTypes.INDIVIDUAL:
|
|
1882
|
+
return {
|
|
1883
|
+
label: "taxInformationNumber__SK_Individual",
|
|
1884
|
+
validators: mapValidators(
|
|
1885
|
+
[validatePatternOnBlur(/^\d{9}$|^\d{10}$|^\d{11}$|^\d{6}\/\d{3}$|^\d{6}\/\d{4}$/)],
|
|
1886
|
+
CountryCodes.Slovakia
|
|
1887
|
+
),
|
|
1888
|
+
mask: {
|
|
1889
|
+
mask: makeMask(
|
|
1890
|
+
...numericInputs(6),
|
|
1891
|
+
{ type: "input", allow: /\//, optional: true },
|
|
1892
|
+
...numericInputs(4),
|
|
1893
|
+
...numericInputs(1, true)
|
|
1894
|
+
)
|
|
1895
|
+
},
|
|
1896
|
+
guidanceText: {
|
|
1897
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1898
|
+
values: {
|
|
1899
|
+
example: "7711167420",
|
|
1900
|
+
idType: "Rodne Cislo"
|
|
1901
|
+
}
|
|
1902
|
+
}
|
|
1903
|
+
};
|
|
1904
|
+
default:
|
|
1905
|
+
return {
|
|
1906
|
+
label: "taxInformationNumber__SK_Org",
|
|
1907
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.Slovakia),
|
|
1908
|
+
mask: {
|
|
1909
|
+
mask: makeMask(...numericInputs(10))
|
|
1910
|
+
},
|
|
1911
|
+
guidanceText: {
|
|
1912
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1913
|
+
values: {
|
|
1914
|
+
example: "2020123456",
|
|
1915
|
+
idType: "Daňové identifikačné číslo (DIČ)"
|
|
1916
|
+
}
|
|
1917
|
+
}
|
|
1918
|
+
};
|
|
1862
1919
|
}
|
|
1863
1920
|
},
|
|
1864
|
-
[CountryCodes.Slovenia]: {
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1921
|
+
[CountryCodes.Slovenia]: ({ companyType }) => {
|
|
1922
|
+
switch (companyType) {
|
|
1923
|
+
case LegalEntityTypes.INDIVIDUAL:
|
|
1924
|
+
return {
|
|
1925
|
+
label: "taxInformationNumber__SI_Individual",
|
|
1926
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{8}$/)], CountryCodes.Slovenia),
|
|
1927
|
+
mask: { mask: makeMask(...numericInputs(8)) },
|
|
1928
|
+
guidanceText: {
|
|
1929
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1930
|
+
values: {
|
|
1931
|
+
example: "15012557",
|
|
1932
|
+
idType: "SI tax number"
|
|
1933
|
+
}
|
|
1934
|
+
}
|
|
1935
|
+
};
|
|
1936
|
+
default:
|
|
1937
|
+
return {
|
|
1938
|
+
label: "taxInformationNumber__SI_Org",
|
|
1939
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{8}$/)], CountryCodes.Slovenia),
|
|
1940
|
+
mask: { mask: makeMask(...numericInputs(8)) },
|
|
1941
|
+
guidanceText: {
|
|
1942
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1943
|
+
values: {
|
|
1944
|
+
example: "12345678",
|
|
1945
|
+
idType: "Davčna številka"
|
|
1946
|
+
}
|
|
1947
|
+
}
|
|
1948
|
+
};
|
|
1875
1949
|
}
|
|
1876
1950
|
},
|
|
1877
1951
|
[CountryCodes.UnitedKingdom]: ({ taxIdNumberType, companyType }) => {
|
|
@@ -1881,7 +1955,6 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1881
1955
|
case "NINO":
|
|
1882
1956
|
return {
|
|
1883
1957
|
label: "nationalInsuranceNumber",
|
|
1884
|
-
placeholder: "taxInformationNumber__placeHolder__GB",
|
|
1885
1958
|
validators: mapValidators(
|
|
1886
1959
|
[validatePatternOnBlur(/^[A-Z]{2}\d{6}[A-D]$/)],
|
|
1887
1960
|
CountryCodes.UnitedKingdom
|
|
@@ -1897,7 +1970,6 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1897
1970
|
default:
|
|
1898
1971
|
return {
|
|
1899
1972
|
label: "utr",
|
|
1900
|
-
placeholder: "taxInformationNumber__placeHolder__GB",
|
|
1901
1973
|
validators: mapValidators(
|
|
1902
1974
|
[validatePatternOnBlur(/^\d{10}$/)],
|
|
1903
1975
|
CountryCodes.UnitedKingdom
|
|
@@ -1915,7 +1987,6 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1915
1987
|
default:
|
|
1916
1988
|
return {
|
|
1917
1989
|
label: "utr",
|
|
1918
|
-
placeholder: "taxInformationNumber__placeHolder__GB",
|
|
1919
1990
|
validators: mapValidators(
|
|
1920
1991
|
[validatePatternOnBlur(/^\d{10}$/)],
|
|
1921
1992
|
CountryCodes.UnitedKingdom
|
|
@@ -1933,7 +2004,6 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1933
2004
|
},
|
|
1934
2005
|
[CountryCodes.UnitedStates]: {
|
|
1935
2006
|
label: "taxInformationNumber__US",
|
|
1936
|
-
placeholder: "taxInformationNumber__placeHolder__US",
|
|
1937
2007
|
validators: mapValidators(
|
|
1938
2008
|
[validateNotEmptyOnBlur, validatePatternOnBlur(/^\d{9}$/)],
|
|
1939
2009
|
CountryCodes.UnitedStates
|
|
@@ -1970,6 +2040,110 @@ const exemptedFromTaxDefaultFieldConfig = {
|
|
|
1970
2040
|
label: "doNotHaveAbn"
|
|
1971
2041
|
}
|
|
1972
2042
|
};
|
|
2043
|
+
const getTaxInformationPlaceholderText = ({
|
|
2044
|
+
country,
|
|
2045
|
+
companyType,
|
|
2046
|
+
taxIdNumberType
|
|
2047
|
+
}) => {
|
|
2048
|
+
switch (country) {
|
|
2049
|
+
case CountryCodes.Austria:
|
|
2050
|
+
return "931736581";
|
|
2051
|
+
case CountryCodes.Belgium:
|
|
2052
|
+
switch (companyType) {
|
|
2053
|
+
case LegalEntityTypes.INDIVIDUAL:
|
|
2054
|
+
return "99999999999";
|
|
2055
|
+
default:
|
|
2056
|
+
return "0123321123";
|
|
2057
|
+
}
|
|
2058
|
+
case CountryCodes.Croatia:
|
|
2059
|
+
return "94577403194";
|
|
2060
|
+
case CountryCodes.Cyprus:
|
|
2061
|
+
return "00123123T";
|
|
2062
|
+
case CountryCodes.Estonia:
|
|
2063
|
+
return "32708101201";
|
|
2064
|
+
case CountryCodes.Ethiopia:
|
|
2065
|
+
return "32708101201";
|
|
2066
|
+
case CountryCodes.Finland:
|
|
2067
|
+
return "131052-308T";
|
|
2068
|
+
case CountryCodes.France:
|
|
2069
|
+
return "30 23 217 600 053";
|
|
2070
|
+
case CountryCodes.Germany:
|
|
2071
|
+
switch (companyType) {
|
|
2072
|
+
case LegalEntityTypes.INDIVIDUAL:
|
|
2073
|
+
return "26954371827";
|
|
2074
|
+
default:
|
|
2075
|
+
return "14310260208";
|
|
2076
|
+
}
|
|
2077
|
+
case CountryCodes.Gibraltar:
|
|
2078
|
+
return "123456";
|
|
2079
|
+
case CountryCodes.Greece:
|
|
2080
|
+
return "244709851";
|
|
2081
|
+
case CountryCodes.Ireland:
|
|
2082
|
+
switch (companyType) {
|
|
2083
|
+
case LegalEntityTypes.INDIVIDUAL:
|
|
2084
|
+
return "1234567T";
|
|
2085
|
+
default:
|
|
2086
|
+
return "1497955KA";
|
|
2087
|
+
}
|
|
2088
|
+
case CountryCodes.Italy:
|
|
2089
|
+
return "12345678901";
|
|
2090
|
+
case CountryCodes.IsleOfMan:
|
|
2091
|
+
return "C155673-79";
|
|
2092
|
+
case CountryCodes.Latvia:
|
|
2093
|
+
return "32532963606";
|
|
2094
|
+
case CountryCodes.Lithuania:
|
|
2095
|
+
return "33309240064";
|
|
2096
|
+
case CountryCodes.Luxembourg:
|
|
2097
|
+
switch (companyType) {
|
|
2098
|
+
case LegalEntityTypes.INDIVIDUAL:
|
|
2099
|
+
return "1893120105732";
|
|
2100
|
+
default:
|
|
2101
|
+
return "19991201001";
|
|
2102
|
+
}
|
|
2103
|
+
case CountryCodes.Malta:
|
|
2104
|
+
switch (companyType) {
|
|
2105
|
+
case LegalEntityTypes.INDIVIDUAL:
|
|
2106
|
+
switch (taxIdNumberType) {
|
|
2107
|
+
case "NRU":
|
|
2108
|
+
return "999999999";
|
|
2109
|
+
default:
|
|
2110
|
+
return "1234567A";
|
|
2111
|
+
}
|
|
2112
|
+
default:
|
|
2113
|
+
return "999999999";
|
|
2114
|
+
}
|
|
2115
|
+
case CountryCodes.Netherlands:
|
|
2116
|
+
switch (companyType) {
|
|
2117
|
+
case LegalEntityTypes.INDIVIDUAL:
|
|
2118
|
+
return "999999999";
|
|
2119
|
+
default:
|
|
2120
|
+
return "811786523";
|
|
2121
|
+
}
|
|
2122
|
+
case CountryCodes.Portugal:
|
|
2123
|
+
return "299999998";
|
|
2124
|
+
case CountryCodes.Slovakia:
|
|
2125
|
+
switch (companyType) {
|
|
2126
|
+
case LegalEntityTypes.INDIVIDUAL:
|
|
2127
|
+
return "7711167420";
|
|
2128
|
+
default:
|
|
2129
|
+
return "2020123456";
|
|
2130
|
+
}
|
|
2131
|
+
case CountryCodes.Slovenia:
|
|
2132
|
+
switch (companyType) {
|
|
2133
|
+
case LegalEntityTypes.INDIVIDUAL:
|
|
2134
|
+
return "15012557";
|
|
2135
|
+
default:
|
|
2136
|
+
return "12345678";
|
|
2137
|
+
}
|
|
2138
|
+
case CountryCodes.UnitedKingdom:
|
|
2139
|
+
return "1234567890";
|
|
2140
|
+
case CountryCodes.Spain:
|
|
2141
|
+
return "99999999L";
|
|
2142
|
+
case CountryCodes.PuertoRico:
|
|
2143
|
+
case CountryCodes.UnitedStates:
|
|
2144
|
+
return "11-0000000";
|
|
2145
|
+
}
|
|
2146
|
+
};
|
|
1973
2147
|
const descriptionField = "adyen-kyc-description-field";
|
|
1974
2148
|
const styles = {
|
|
1975
2149
|
descriptionField
|
|
@@ -2358,8 +2532,7 @@ const taxIdNumberOptions = {
|
|
|
2358
2532
|
[CountryCodes.Austria]: [
|
|
2359
2533
|
{
|
|
2360
2534
|
id: "STEUERNUMMER",
|
|
2361
|
-
name: "taxInformationNumber__AT"
|
|
2362
|
-
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2535
|
+
name: "taxInformationNumber__AT"
|
|
2363
2536
|
}
|
|
2364
2537
|
],
|
|
2365
2538
|
[CountryCodes.Belgium]: [
|
|
@@ -2388,22 +2561,25 @@ const taxIdNumberOptions = {
|
|
|
2388
2561
|
[CountryCodes.Croatia]: [
|
|
2389
2562
|
{
|
|
2390
2563
|
id: "OIB",
|
|
2391
|
-
name: "taxInformationNumber__HR"
|
|
2392
|
-
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2564
|
+
name: "taxInformationNumber__HR"
|
|
2393
2565
|
}
|
|
2394
2566
|
],
|
|
2395
2567
|
[CountryCodes.Cyprus]: [
|
|
2396
2568
|
{
|
|
2397
2569
|
id: "TIC",
|
|
2398
|
-
name: "taxInformationNumber__CY"
|
|
2399
|
-
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2570
|
+
name: "taxInformationNumber__CY"
|
|
2400
2571
|
}
|
|
2401
2572
|
],
|
|
2402
2573
|
[CountryCodes.Estonia]: [
|
|
2403
2574
|
{
|
|
2404
2575
|
id: "ISIKUKOOD",
|
|
2405
|
-
name: "
|
|
2576
|
+
name: "taxInformationNumber__ET_Individual",
|
|
2406
2577
|
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2578
|
+
},
|
|
2579
|
+
{
|
|
2580
|
+
id: "registrikood",
|
|
2581
|
+
name: "registrikood",
|
|
2582
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2407
2583
|
}
|
|
2408
2584
|
],
|
|
2409
2585
|
[CountryCodes.Finland]: [
|
|
@@ -2411,6 +2587,18 @@ const taxIdNumberOptions = {
|
|
|
2411
2587
|
id: "HENKILOTUNNUS",
|
|
2412
2588
|
name: "taxInformationNumber__FI",
|
|
2413
2589
|
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2590
|
+
},
|
|
2591
|
+
{
|
|
2592
|
+
id: "YTUNNUS",
|
|
2593
|
+
name: "YTunnus",
|
|
2594
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2595
|
+
}
|
|
2596
|
+
],
|
|
2597
|
+
[CountryCodes.France]: [
|
|
2598
|
+
{
|
|
2599
|
+
id: "SIRET",
|
|
2600
|
+
name: "siret",
|
|
2601
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2414
2602
|
}
|
|
2415
2603
|
],
|
|
2416
2604
|
[CountryCodes.Germany]: [
|
|
@@ -2440,8 +2628,7 @@ const taxIdNumberOptions = {
|
|
|
2440
2628
|
[CountryCodes.Greece]: [
|
|
2441
2629
|
{
|
|
2442
2630
|
id: "AFM",
|
|
2443
|
-
name: "taxInformationNumber__GR"
|
|
2444
|
-
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2631
|
+
name: "taxInformationNumber__GR"
|
|
2445
2632
|
}
|
|
2446
2633
|
],
|
|
2447
2634
|
[CountryCodes.Guernsey]: [
|
|
@@ -2462,7 +2649,10 @@ const taxIdNumberOptions = {
|
|
|
2462
2649
|
{
|
|
2463
2650
|
id: "TRN",
|
|
2464
2651
|
name: "trnNumber",
|
|
2465
|
-
applicableOnlyFor: [
|
|
2652
|
+
applicableOnlyFor: [
|
|
2653
|
+
CompanyTypesValues.PRIVATE_COMPANY,
|
|
2654
|
+
CompanyTypesValues.UNINCORPORATED_PARTNERSHIP
|
|
2655
|
+
]
|
|
2466
2656
|
},
|
|
2467
2657
|
{
|
|
2468
2658
|
id: "PPSN",
|
|
@@ -2474,8 +2664,7 @@ const taxIdNumberOptions = {
|
|
|
2474
2664
|
[CountryCodes.Italy]: [
|
|
2475
2665
|
{
|
|
2476
2666
|
id: "CODICE_FISCALE",
|
|
2477
|
-
name: "taxInformationNumber__IT"
|
|
2478
|
-
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2667
|
+
name: "taxInformationNumber__IT"
|
|
2479
2668
|
}
|
|
2480
2669
|
],
|
|
2481
2670
|
[CountryCodes.Japan]: [{ id: "CORPORATE_NUMBER", name: "taxInformationNumber" }],
|
|
@@ -2495,6 +2684,11 @@ const taxIdNumberOptions = {
|
|
|
2495
2684
|
id: "PERSONAS_KODS",
|
|
2496
2685
|
name: "taxInformationNumber__LV",
|
|
2497
2686
|
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2687
|
+
},
|
|
2688
|
+
{
|
|
2689
|
+
id: "REGISTRACIJAS_NUMURS",
|
|
2690
|
+
name: "lvRegistrationNumber",
|
|
2691
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2498
2692
|
}
|
|
2499
2693
|
],
|
|
2500
2694
|
[CountryCodes.Lithuania]: [
|
|
@@ -2502,25 +2696,40 @@ const taxIdNumberOptions = {
|
|
|
2502
2696
|
id: "ASMENSKODAS",
|
|
2503
2697
|
name: "taxInformationNumber__LT",
|
|
2504
2698
|
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2699
|
+
},
|
|
2700
|
+
{
|
|
2701
|
+
id: "ASMENS_KODAS",
|
|
2702
|
+
name: "ltRegistrationNumber",
|
|
2703
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2505
2704
|
}
|
|
2506
2705
|
],
|
|
2507
2706
|
[CountryCodes.Luxembourg]: [
|
|
2508
2707
|
{
|
|
2509
2708
|
id: "NATIONAL_IDENTIFICATION_NUMBER",
|
|
2510
|
-
name: "
|
|
2709
|
+
name: "taxInformationNumber__LU_Individual",
|
|
2511
2710
|
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2711
|
+
},
|
|
2712
|
+
{
|
|
2713
|
+
id: "NATIONAL_IDENTIFICATION_NUMBER",
|
|
2714
|
+
name: "taxInformationNumber__LU_Org",
|
|
2715
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2512
2716
|
}
|
|
2513
2717
|
],
|
|
2514
2718
|
[CountryCodes.Malta]: [
|
|
2515
2719
|
{
|
|
2516
2720
|
id: "NRU",
|
|
2517
|
-
name: "
|
|
2721
|
+
name: "taxInformationNumber__MT_NRU_Individual",
|
|
2518
2722
|
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2519
2723
|
},
|
|
2520
2724
|
{
|
|
2521
2725
|
id: "IDENTITY_CARD_NUMBER",
|
|
2522
|
-
name: "
|
|
2726
|
+
name: "taxInformationNumber__MT_Individual",
|
|
2523
2727
|
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2728
|
+
},
|
|
2729
|
+
{
|
|
2730
|
+
id: "INCOME_TAX_REGISTRATION_NUMBER",
|
|
2731
|
+
name: "taxInformationNumber__MT_Org",
|
|
2732
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2524
2733
|
}
|
|
2525
2734
|
],
|
|
2526
2735
|
[CountryCodes.Netherlands]: [
|
|
@@ -2554,6 +2763,11 @@ const taxIdNumberOptions = {
|
|
|
2554
2763
|
id: "NUMERO_ID_CIVIL",
|
|
2555
2764
|
name: "taxInformationNumber__PT",
|
|
2556
2765
|
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2766
|
+
},
|
|
2767
|
+
{
|
|
2768
|
+
id: "NIPC",
|
|
2769
|
+
name: "NIPC",
|
|
2770
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2557
2771
|
}
|
|
2558
2772
|
],
|
|
2559
2773
|
[CountryCodes.PuertoRico]: [
|
|
@@ -2575,15 +2789,25 @@ const taxIdNumberOptions = {
|
|
|
2575
2789
|
[CountryCodes.Slovakia]: [
|
|
2576
2790
|
{
|
|
2577
2791
|
id: "RODNE_CISLO",
|
|
2578
|
-
name: "
|
|
2792
|
+
name: "taxInformationNumber__SK_Individual",
|
|
2579
2793
|
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2794
|
+
},
|
|
2795
|
+
{
|
|
2796
|
+
id: "NATIONAL_IDENTIFICATION_NUMBER",
|
|
2797
|
+
name: "taxInformationNumber__SK_Org",
|
|
2798
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2580
2799
|
}
|
|
2581
2800
|
],
|
|
2582
2801
|
[CountryCodes.Slovenia]: [
|
|
2583
2802
|
{
|
|
2584
2803
|
id: "SI_TAX_NUMBER",
|
|
2585
|
-
name: "
|
|
2804
|
+
name: "taxInformationNumber__SI_Individual",
|
|
2586
2805
|
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2806
|
+
},
|
|
2807
|
+
{
|
|
2808
|
+
id: "NATIONAL_IDENTIFICATION_NUMBER",
|
|
2809
|
+
name: "taxInformationNumber__SI_Org",
|
|
2810
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2587
2811
|
}
|
|
2588
2812
|
],
|
|
2589
2813
|
[CountryCodes.Spain]: [
|
|
@@ -2596,6 +2820,11 @@ const taxIdNumberOptions = {
|
|
|
2596
2820
|
id: "nie",
|
|
2597
2821
|
name: "nie",
|
|
2598
2822
|
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2823
|
+
},
|
|
2824
|
+
{
|
|
2825
|
+
id: "NIF",
|
|
2826
|
+
name: "NIF",
|
|
2827
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
2599
2828
|
}
|
|
2600
2829
|
],
|
|
2601
2830
|
[CountryCodes.UnitedKingdom]: [
|
|
@@ -2831,10 +3060,31 @@ const COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4 = [
|
|
|
2831
3060
|
CountryCodes.Australia
|
|
2832
3061
|
];
|
|
2833
3062
|
const TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION = [
|
|
2834
|
-
|
|
2835
|
-
|
|
3063
|
+
// The following countries are commented out just to make it more clear that these
|
|
3064
|
+
// use tax id but since it's the same field as business registration we don't want
|
|
3065
|
+
// to remove those here and have a bad ux. So instead in the map schema part
|
|
3066
|
+
// we copy over the values to the taxinformation object
|
|
3067
|
+
// CountryCodes.Estonia,
|
|
3068
|
+
// CountryCodes.Finland,
|
|
3069
|
+
// CountryCodes.France,
|
|
3070
|
+
// CountryCodes.Latvia,
|
|
3071
|
+
// CountryCodes.Lithuania,
|
|
3072
|
+
// CountryCodes.Portugal,
|
|
3073
|
+
// CountryCodes.Spain,
|
|
3074
|
+
CountryCodes.Austria,
|
|
3075
|
+
CountryCodes.Belgium,
|
|
3076
|
+
CountryCodes.Croatia,
|
|
3077
|
+
CountryCodes.Cyprus,
|
|
2836
3078
|
CountryCodes.Germany,
|
|
2837
|
-
CountryCodes.
|
|
3079
|
+
CountryCodes.Greece,
|
|
3080
|
+
CountryCodes.Ireland,
|
|
3081
|
+
CountryCodes.Italy,
|
|
3082
|
+
CountryCodes.Luxembourg,
|
|
3083
|
+
CountryCodes.Malta,
|
|
3084
|
+
CountryCodes.Netherlands,
|
|
3085
|
+
CountryCodes.Slovakia,
|
|
3086
|
+
CountryCodes.Slovenia,
|
|
3087
|
+
CountryCodes.UnitedKingdom
|
|
2838
3088
|
];
|
|
2839
3089
|
function isUsingCompanySearch(country, taskType) {
|
|
2840
3090
|
return taskType === TaskTypes.BUSINESS_DETAILS && COUNTRIES_USING_COMPANY_SEARCH.includes(country);
|
|
@@ -3198,7 +3448,7 @@ function TaxInformationField({
|
|
|
3198
3448
|
labels,
|
|
3199
3449
|
mask,
|
|
3200
3450
|
guidanceText,
|
|
3201
|
-
|
|
3451
|
+
placeholder,
|
|
3202
3452
|
readonly,
|
|
3203
3453
|
optional,
|
|
3204
3454
|
shouldValidate,
|
|
@@ -3432,7 +3682,7 @@ function TaxInformationField({
|
|
|
3432
3682
|
formatGuidance: guidanceText?.taxInformation ?? "",
|
|
3433
3683
|
value: currentCountryTaxInformation?.number ?? "",
|
|
3434
3684
|
errorMessage: errors.taxInformation,
|
|
3435
|
-
placeholder
|
|
3685
|
+
placeholder,
|
|
3436
3686
|
isValid: Boolean(valid.taxInformation) && !!currentCountryTaxInformation,
|
|
3437
3687
|
onInput: (e) => handleTaxInformationChange(e, "number", "input"),
|
|
3438
3688
|
onBlur: (e) => handleTaxInformationChange(e, "number", "blur"),
|
|
@@ -3468,22 +3718,24 @@ export {
|
|
|
3468
3718
|
taxIdNumberOptions as c,
|
|
3469
3719
|
TAX_INFORMATION_FIELD as d,
|
|
3470
3720
|
requestingIssuing as e,
|
|
3471
|
-
|
|
3721
|
+
getTaxInformationPlaceholderText as f,
|
|
3472
3722
|
getFieldsWithExistingData as g,
|
|
3473
|
-
|
|
3723
|
+
isUsingCompanySearch as h,
|
|
3474
3724
|
individualIdNumberOptions as i,
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3725
|
+
isRegistrationNumberAbsentStateV4Scenario as j,
|
|
3726
|
+
getTaxIdNumberOptions as k,
|
|
3727
|
+
COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT as l,
|
|
3728
|
+
getCompanyRegistrationNumberOptions as m,
|
|
3729
|
+
countryToTaxInfoTypeMap as n,
|
|
3730
|
+
rules as o,
|
|
3731
|
+
businessRegistrationNumberMasks as p,
|
|
3732
|
+
businessRegistrationNumberPatterns as q,
|
|
3483
3733
|
requestingBanking as r,
|
|
3484
3734
|
stateFormatGuidanceText as s,
|
|
3485
3735
|
taxInformationDefaultFieldMetadata as t,
|
|
3486
3736
|
useCapabilities as u,
|
|
3487
3737
|
vatNumberOptions as v,
|
|
3488
|
-
|
|
3738
|
+
getVatNumberOptions as w,
|
|
3739
|
+
exemptedFromTaxDefaultFieldMetadata as x,
|
|
3740
|
+
exemptedFromTaxDefaultFieldConfig as y
|
|
3489
3741
|
};
|