@adyen/kyc-components 4.12.0 → 4.13.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AcceptTermsOfServiceComponent-Bdb6OG0V.js +652 -0
- package/dist/Accordion-gSHEDtlp.js +111 -0
- package/dist/AccountSetupRejected-MS5ucnkH.js +19 -0
- package/dist/AdaptiveWorkflow-D5FObJ-e.js +1561 -0
- package/dist/AdaptiveWorkflowComponent-g2i8ubmD.js +130 -0
- package/dist/Address-B1WQZxTA.js +557 -0
- package/dist/Alert-BYrDkvk9.js +170 -0
- package/dist/AnalyticsContext-CbM5V7Nw.js +75 -0
- package/dist/Avatar-CuGCWCs9.js +54 -0
- package/dist/BusinessFinancingDropin-Bxqli70j.js +1800 -0
- package/dist/BusinessFinancingPage-DlDZmgJ8.js +87 -0
- package/dist/BusinessTypeSelectionPage-D0jjyKgo.js +436 -0
- package/dist/Button-BxfzWsRl.js +189 -0
- package/dist/Card-BylPFvY4.js +71 -0
- package/dist/Checkbox-BRuXJ18x.js +55 -0
- package/dist/CompanyRegistrationNumberTypeSelector-BnoX2hCa.js +1038 -0
- package/dist/Confirm-BEZEArAy.js +76 -0
- package/dist/ConstitutionalDocument-B5MVwJbp.js +1121 -0
- package/dist/ContactDetails-63BkotMl.js +516 -0
- package/dist/ContextGuidance-BRGAWzeW.js +29 -0
- package/dist/CountryField-DhNTIfGL.js +38 -0
- package/dist/Currency-QVw0PSm6.js +191 -0
- package/dist/CustomerSupport-twU8Nkth.js +129 -0
- package/dist/DebugModal-DqBSxQZ6.js +454 -0
- package/dist/DecisionMakerDetails-B8s07F7D.js +493 -0
- package/dist/DecisionMakerDetailsPage-CAq5na-Z.js +103 -0
- package/dist/DecisionMakers-Bm-L-q92.js +583 -0
- package/dist/Dropzone-BbBVtqN9.js +236 -0
- package/dist/EmbeddedStatus-td-3A1DN.js +128 -0
- package/dist/EndStateLayout-CnhmrsxA.js +82 -0
- package/dist/EntityAssociation-BHvq_AwX.js +163 -0
- package/dist/ErrorPanel-CzX5ev6p.js +185 -0
- package/dist/Field-Vzlyifk5.js +155 -0
- package/dist/FormNavigation-B79CI_Kc.js +116 -0
- package/dist/Header-fY8HlUFH.js +93 -0
- package/dist/Image-BBLBIviv.js +33 -0
- package/dist/Individual.rules-BvJRuxgJ.js +294 -0
- package/dist/IndividualDropin-BdBMJkx4.js +4950 -0
- package/dist/InputDate--h7l0kcO.js +52 -0
- package/dist/InputText-BK_8YUd_.js +119 -0
- package/dist/Introduction-p7SxkPvq.js +325 -0
- package/dist/InvitedDecisionMakerComponent-C1gqGJsQ.js +412 -0
- package/dist/JpAddress-msyDs8qO.js +322 -0
- package/dist/LandingLayout-BK3kV0FL.js +76 -0
- package/dist/LegalCompanyNameField-CQUbvS77.js +108 -0
- package/dist/LegalRepresentativeDetailsPage-3kuEatCa.js +73 -0
- package/dist/Link-idX4eEXz.js +32 -0
- package/dist/ListItem-BzSnYlO1.js +70 -0
- package/dist/LoaderWrapper-Tr14IrmG.js +34 -0
- package/dist/MaskedInput-WaAdSNPN.js +715 -0
- package/dist/MaybeModal-BkoicAOk.js +24 -0
- package/dist/Modal-CMKjvMyV.js +109 -0
- package/dist/Name-DkBgo3cK.js +61 -0
- package/dist/NewSummary-Cf1CesDB.js +72 -0
- package/dist/PayoutDetailsDropinMultiForm-CFXh9XH3.js +4106 -0
- package/dist/PayoutDetailsPage-CfWROkJA.js +68 -0
- package/dist/RadioGroup-Bc8reZVM.js +84 -0
- package/dist/Review-GGx4T5lx.js +99 -0
- package/dist/RootBusinessDetailsPage-DONnHveK.js +69 -0
- package/dist/RootBusinessLinesPage-B-zkaI6w.js +1452 -0
- package/dist/RootIndividualDetailsPage-Bl622oSy.js +81 -0
- package/dist/Select-CRVpXZ1k.js +777 -0
- package/dist/SignPCIComponent-CPjxKwUt.js +368 -0
- package/dist/SingpassSelection-c3hLW3jo.js +156 -0
- package/dist/SoleProprietorshipPage-BqX-btX5.js +69 -0
- package/dist/SourceOfFundsPage-_sMwhidd.js +2775 -0
- package/dist/Summary-DESUnetK.js +226 -0
- package/dist/TaskListItem-9Kq5rfrA.js +164 -0
- package/dist/TaskVerificationStatus-F5lMp5Rx.js +118 -0
- package/dist/TaxInformationField-hjyqzys0.js +474 -0
- package/dist/TaxReportingDropin-Xjf5BXjR.js +476 -0
- package/dist/TextArea-CIgJgN16.js +80 -0
- package/dist/TileGroup-irJw9YNz.js +170 -0
- package/dist/ToastContext-D7fHw64P.js +13 -0
- package/dist/ToastContextProvider-CU6K9Sqo.js +103 -0
- package/dist/TrustDetailsPage-DDxllsNB.js +1105 -0
- package/dist/TrustMemberCompanyPage-B_fHFzDr.js +107 -0
- package/dist/TrustMemberIndividualPage-B5hPWglh.js +107 -0
- package/dist/TrustMemberRoleAndTypePage-LlBgvSwW.js +933 -0
- package/dist/TrustMembersOverview-BGzdiibd.js +451 -0
- package/dist/UnincorporatedPartnershipIndividualPage-Bfxq3XJj.js +78 -0
- package/dist/UnincorporatedPartnershipMemberCompanyPage-Bw-DLdQV.js +78 -0
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-BbQB-s2g.js +271 -0
- package/dist/UnincorporatedPartnershipMembersOverview-B-djUG0K.js +159 -0
- package/dist/VerificationErrorAlert-D8Peag6l.js +38 -0
- package/dist/accountHolderUtils-mgP2-0Nn.js +44 -0
- package/dist/adyen-business-financing.js +84 -84
- package/dist/adyen-individual-configuration.js +87 -87
- package/dist/adyen-individual-status.js +35 -35
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +129 -135
- package/dist/adyen-terms-of-service-management.js +4 -4
- package/dist/adyen-terms-of-service-status.js +58 -58
- package/dist/adyen-transfer-instrument-configuration.js +84 -84
- package/dist/adyen-transfer-instrument-management.js +109 -101
- package/dist/adyen-verification-status.js +35 -35
- package/dist/bafinUtils-DJ5gJYKz.js +96 -0
- package/dist/bg-BG-BUgREukJ.js +7 -0
- package/dist/bg-BG-CAC3TgzH.js +7 -0
- package/dist/bg-BG-DszNb4YW.js +7 -0
- package/dist/birthDateUtils-BUDlu8wE.js +82 -0
- package/dist/constants-Cuqk72uG.js +233 -0
- package/dist/countries-BLvJ0FJ4.js +41 -0
- package/dist/country-Cm0PPJDS.js +13 -0
- package/dist/cs-CZ-BCCbEB0j.js +7 -0
- package/dist/cs-CZ-DC3dWoGV.js +7 -0
- package/dist/cs-CZ-DtoIeWYx.js +7 -0
- package/dist/da-DK-BVAv2vUs.js +7 -0
- package/dist/da-DK-BbuiozUl.js +7 -0
- package/dist/da-DK-C0KVt06k.js +7 -0
- package/dist/de-DE-B8GqI1Sq.js +7 -0
- package/dist/de-DE-CEKqkGeP.js +7 -0
- package/dist/de-DE-uuUOPGHs.js +7 -0
- package/dist/decisionMaker-b5wJjUBN.js +146 -0
- package/dist/decisionMakerRoles-CCKWKoWd.js +46 -0
- package/dist/el-GR-D4Pmng8T.js +7 -0
- package/dist/el-GR-DtpUBNHl.js +7 -0
- package/dist/el-GR-WS8xbrFJ.js +7 -0
- package/dist/en-US-BOJswraw.js +7 -0
- package/dist/en-US-CN15rSvL.js +7 -0
- package/dist/en-US-DNQKfkN1.js +33 -0
- package/dist/en-US-ccX525iK.js +7 -0
- package/dist/entityAssociationUtil-D1ledZtc.js +59 -0
- package/dist/es-ES-B-x17o8d.js +7 -0
- package/dist/es-ES-BrTDtXtR.js +7 -0
- package/dist/es-ES-XWHjoMpE.js +7 -0
- package/dist/et-EE-BiA52MlJ.js +7 -0
- package/dist/et-EE-CweZxZJx.js +7 -0
- package/dist/et-EE-D5ztjKQA.js +7 -0
- package/dist/fi-FI-AQc_uafE.js +7 -0
- package/dist/fi-FI-BUUV58aZ.js +7 -0
- package/dist/fi-FI-BvjOb0Oi.js +7 -0
- package/dist/formUtils-C7vlzCV-.js +78 -0
- package/dist/formatCurrency-D-m2ri-x.js +23 -0
- package/dist/fr-FR-BuQwZ2oq.js +7 -0
- package/dist/fr-FR-CzKTntJm.js +7 -0
- package/dist/fr-FR-e7lKrFcK.js +7 -0
- package/dist/getName-BtgdCWSR.js +35 -0
- package/dist/getProblemsForEntity-B9GOFyRX.js +16 -0
- package/dist/globalStore-BCeQ8cDF.js +419 -0
- package/dist/hr-HR-CN0us45A.js +7 -0
- package/dist/hr-HR-DVJaypbL.js +7 -0
- package/dist/hr-HR-WsApmYld.js +7 -0
- package/dist/http-D5tz1jGD.js +149 -0
- package/dist/hu-HU-Bdjd0HM0.js +7 -0
- package/dist/hu-HU-rbT-Gfxm.js +7 -0
- package/dist/hu-HU-xO5SwtyK.js +7 -0
- package/dist/invalidateRootLegalEntity-D7_UqU5H.js +45 -0
- package/dist/isEmpty-Bi8OJ7I4.js +14 -0
- package/dist/isEmptyEntity-CCwgjz_g.js +44 -0
- package/dist/it-IT-DiJG8CVH.js +7 -0
- package/dist/it-IT-QMmUeFIw.js +7 -0
- package/dist/it-IT-wx2DTjIq.js +7 -0
- package/dist/ja-JP-BchEmvKT.js +7 -0
- package/dist/ja-JP-CYNEiARm.js +7 -0
- package/dist/ja-JP-K0GtGc1m.js +7 -0
- package/dist/japanSupportUtils-DqvGrGbm.js +11 -0
- package/dist/localizeDateString-Bni_Kn5k.js +35 -0
- package/dist/lt-LT-BwsC_PRy.js +7 -0
- package/dist/lt-LT-CfUZy3Nu.js +7 -0
- package/dist/lt-LT-Csda84LY.js +7 -0
- package/dist/lv-LV-B_twW5aF.js +7 -0
- package/dist/lv-LV-DeE0FbCk.js +7 -0
- package/dist/lv-LV-M8ADb0dX.js +7 -0
- package/dist/mapExistingFile-AUOevYJs.js +135 -0
- package/dist/mapJpAddressSchemaToAddressLocalizations-DFgQADg8.js +61 -0
- package/dist/mapLegalEntityToIndividualSchema-CNdXP4KZ.js +207 -0
- package/dist/mapTransferInstrumentToPayoutAccount-DaAa5pOZ.js +44 -0
- package/dist/nl-NL-BPZ4ggwt.js +7 -0
- package/dist/nl-NL-Ch6Gx-ay.js +7 -0
- package/dist/nl-NL-lkzdYqOX.js +7 -0
- package/dist/no-NO-CSn5Ou1S.js +7 -0
- package/dist/no-NO-DEmXDlJQ.js +7 -0
- package/dist/no-NO-DyJlM9HH.js +7 -0
- package/dist/omitObscuredFieldsIfUnchanged-Bl-KmvQB.js +20 -0
- package/dist/pl-PL-C8O5EIza.js +7 -0
- package/dist/pl-PL-D9oajkyF.js +7 -0
- package/dist/pl-PL-DQ3obGGK.js +7 -0
- package/dist/process-field-configurations-D-i--Py4.js +279 -0
- package/dist/processCapabilities-C3-DrzSD.js +869 -0
- package/dist/pt-BR-CHDCegc8.js +7 -0
- package/dist/pt-BR-D9hPCc0c.js +7 -0
- package/dist/pt-BR-DyTpIjam.js +7 -0
- package/dist/pt-PT-B1k39MuE.js +7 -0
- package/dist/pt-PT-GnCWUuu_.js +7 -0
- package/dist/pt-PT-ne6PkZM_.js +7 -0
- package/dist/resolveEnvironment-VjuZ5n9n.js +985 -0
- package/dist/ro-RO-BvYWHJVi.js +7 -0
- package/dist/ro-RO-DGzJvIXf.js +7 -0
- package/dist/ro-RO-rwkWejS6.js +7 -0
- package/dist/roleMetadata-bE5AIBEY.js +56 -0
- package/dist/sk-SK-BQgZ5CQA.js +7 -0
- package/dist/sk-SK-BR0l7uzo.js +7 -0
- package/dist/sk-SK-C1lm7CTj.js +7 -0
- package/dist/sl-SI-BZ5Dm_pA.js +7 -0
- package/dist/sl-SI-D5wg7xsZ.js +7 -0
- package/dist/sl-SI-DHn8rJ33.js +7 -0
- package/dist/style.css +85 -231
- package/dist/styles-DfQtSmqv.js +6678 -0
- package/dist/sv-SE-BfLV5o3E.js +7 -0
- package/dist/sv-SE-CloWnXU5.js +7 -0
- package/dist/sv-SE-CzO_XtYz.js +7 -0
- package/dist/translation-BHUZ_WP7.js +915 -0
- package/dist/trustUtil-BBkbuta4.js +99 -0
- package/dist/types/adaptiveWorkflow/component-registry.d.ts +9 -1
- package/dist/types/adaptiveWorkflow/components/Fields/AcceptTermsOfServiceWorkflow/AcceptTermsOfServiceWorkflow.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/SubTask/SubTask.d.ts +7 -0
- package/dist/types/adaptiveWorkflow/components/SubTask/contextMap.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/TaskItems/UboTaskItem/UboTaskItem.d.ts +16 -0
- package/dist/types/adaptiveWorkflow/components/TaskParser/TaskParser.d.ts +7 -0
- package/dist/types/adaptiveWorkflow/components/types.d.ts +14 -3
- package/dist/types/api/companyDataSet/companyDataset.types.d.ts +6 -1
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformation.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +4 -3
- package/dist/types/components/Business/forms/BasicInformation/BasicInformation.d.ts +1 -1
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +4 -3
- package/dist/types/components/Business/forms/BusinessDetails/BusinessDetailsMultiform.d.ts +4 -9
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelection.d.ts +2 -12
- package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +5 -0
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructure.d.ts +2 -4
- package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +5 -0
- package/dist/types/components/Business/forms/FinancialInformation/FinancialInformation.d.ts +1 -1
- package/dist/types/components/Business/forms/FinancialInformation/types.d.ts +5 -3
- package/dist/types/components/Business/forms/rules.d.ts +4 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +2 -1
- package/dist/types/components/BusinessLines/forms/IndustryCodesForm/IndustryCodesForm.d.ts +2 -2
- package/dist/types/components/BusinessLines/forms/IndustryCodesForm/types.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/SalesChannelsForm/SalesChannelsForm.d.ts +2 -2
- package/dist/types/components/BusinessLines/forms/SalesChannelsForm/types.d.ts +4 -0
- package/dist/types/components/BusinessLines/forms/SctaForm/SctaForm.d.ts +2 -2
- package/dist/types/components/BusinessLines/forms/SctaForm/types.d.ts +2 -0
- package/dist/types/components/BusinessLines/tasks/types.d.ts +0 -5
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsDropin.d.ts +1 -1
- package/dist/types/components/EFP/tasks/TaxReportingDropin/TaxReportingDropin.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentComponent.d.ts +0 -1
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverview/ManageTransferInstrumentOverview.d.ts +0 -1
- package/dist/types/components/Shared/EntityGuidanceStatus/EntityGuidanceStatus.d.ts +0 -1
- package/dist/types/components/Shared/Introduction/Introduction.d.ts +0 -1
- package/dist/types/components/Shared/fields/DBANameField/DBANameField.d.ts +0 -1
- package/dist/types/components/ui/atoms/Radio/Radio.d.ts +1 -1
- package/dist/types/components/ui/atoms/RadioWithLabel/RadioWithLabel.d.ts +1 -1
- package/dist/types/components/ui/atoms/Typography/Typography.d.ts +0 -1
- package/dist/types/components/ui/molecules/AdaptiveProgressBar/AdaptiveProgressBar.d.ts +11 -0
- package/dist/types/components/ui/molecules/Dropzone/DropzoneFile.d.ts +0 -1
- package/dist/types/context/ToggleContext/ToggleContextProvider.d.ts +1 -1
- package/dist/types/context/ToggleContext/types.d.ts +1 -5
- package/dist/types/core/services/utils.d.ts +2 -2
- package/dist/types/embeds/baseEmbedProps.d.ts +2 -2
- package/dist/types-BEc7vus9.js +58 -0
- package/dist/types-CBQZm0Fk.js +150 -0
- package/dist/types-CEJyC_Mj.js +66 -0
- package/dist/types-DyF8eymA.js +19 -0
- package/dist/useAccountHolder-aoHH1XJq.js +102 -0
- package/dist/useAllowedCountries-Dea38KPz.js +74 -0
- package/dist/useAnalyticsContext-pNSIB8AZ.js +12 -0
- package/dist/useAssociatedLegalEntity-BOtek2pM.js +35 -0
- package/dist/useBusinessDetailsData-BDVt7W56.js +4636 -0
- package/dist/useBusinessLines-BE_hXjkY.js +27 -0
- package/dist/useCanSeeIntroduction-C7a4t7HJ.js +39 -0
- package/dist/useCapabilities-Bn6IcCNt.js +12 -0
- package/dist/useCreateLegalEntity-DWNHPjAr.js +24 -0
- package/dist/useDataMissingRemediations-Dc8p_hCP.js +39 -0
- package/dist/useDataset-VrL_8cq1.js +96 -0
- package/dist/useDeleteTransferInstrument-Bf3I-lk0.js +31 -0
- package/dist/useForm-CbSEaCrl.js +502 -0
- package/dist/useFormContext-DGW15-id.js +504 -0
- package/dist/useLegalEntity-k2lxoMzW.js +48 -0
- package/dist/useMultiForm-BZBzYZ-3.js +755 -0
- package/dist/useNavigate-b9V7fbV8.js +269 -0
- package/dist/useOnboardingStatus-CHBhX5te.js +23 -0
- package/dist/usePciQuestionnaireList-Y87h-w4C.js +26 -0
- package/dist/useSalesChannels-f8ZEd90X.js +47 -0
- package/dist/useScenarios-D2TFpeEU.js +55 -0
- package/dist/useTaskLandedEvent-BdO8qSBg.js +26 -0
- package/dist/useTaskStatus-DPyTD_Ko.js +23 -0
- package/dist/useTermsOfServiceStatus-C04Xyc0M.js +39 -0
- package/dist/useToastContext-BIwgSCxA.js +12 -0
- package/dist/useTrustMembers-DYKQfH8R.js +152 -0
- package/dist/useUnincorporatedPartnershipMembers-CtuG_S-a.js +70 -0
- package/dist/useUpdateBusinessLines-CaT_-l9v.js +68 -0
- package/dist/useUpdateLegalEntity-CfJs-A1X.js +29 -0
- package/dist/utils-Bx8jBrij.js +46 -0
- package/dist/utils-C1DzW0Hz.js +207 -0
- package/dist/utils-DQEnWBYq.js +2482 -0
- package/dist/utils-TlcnGMeG.js +188 -0
- package/dist/validate-CaRbtwlX.js +411 -0
- package/dist/validate-J6U_ulFs.js +397 -0
- package/dist/validationError-CD5jY1NM.js +68 -0
- package/dist/validationResult-OLfDDPfY.js +77 -0
- package/package.json +6 -2
- package/dist/AcceptTermsOfServiceComponent-BIYgOoqa.js +0 -652
- package/dist/Accordion-DJ1F7dI4.js +0 -111
- package/dist/AccountSetupRejected-_VNh1Xj4.js +0 -19
- package/dist/AdaptiveWorkflow-D3WOUCtY.js +0 -1309
- package/dist/AdaptiveWorkflowComponent-Bpm3fL_H.js +0 -130
- package/dist/Address-CHpJLi-Q.js +0 -557
- package/dist/Alert-CjZYipjN.js +0 -170
- package/dist/AnalyticsContext-C0HNdPss.js +0 -74
- package/dist/Avatar-4gshS6xA.js +0 -54
- package/dist/BusinessFinancingDropin-VodFOFP9.js +0 -1800
- package/dist/BusinessFinancingPage-CRPspsfV.js +0 -87
- package/dist/BusinessTypeSelectionPage-D-Mbk28l.js +0 -436
- package/dist/Button-BDEdGXnd.js +0 -189
- package/dist/Card-DXdUqwyQ.js +0 -70
- package/dist/Checkbox-BJJIXNHL.js +0 -55
- package/dist/CompanyRegistrationNumberTypeSelector-CeRtLSxc.js +0 -1038
- package/dist/Confirm-BqhBxIWm.js +0 -76
- package/dist/ConstitutionalDocument-Jqgyahcj.js +0 -1121
- package/dist/ContactDetails-C3MS4diz.js +0 -288
- package/dist/ContextGuidance-CxOv00_a.js +0 -29
- package/dist/CountryField-B-JxQ6z9.js +0 -38
- package/dist/Currency-BbWaBY8A.js +0 -191
- package/dist/CustomerSupport-Cq2yBN4K.js +0 -129
- package/dist/DebugModal-CuioSqKQ.js +0 -454
- package/dist/DecisionMakerDetails-DElp9pZu.js +0 -492
- package/dist/DecisionMakerDetailsPage-BsKqMepM.js +0 -103
- package/dist/DecisionMakers-c0L12DVq.js +0 -583
- package/dist/Dropzone-D8gz-OLM.js +0 -236
- package/dist/EmbeddedStatus-Ch7vvcve.js +0 -128
- package/dist/EndStateLayout-DxdIVWL3.js +0 -84
- package/dist/EntityAssociation-inLOmBfG.js +0 -163
- package/dist/ErrorPanel-5g1eTEVD.js +0 -185
- package/dist/Field-BEqknhTe.js +0 -155
- package/dist/FormNavigation-Btkou5O7.js +0 -116
- package/dist/Header-B_MIsVov.js +0 -93
- package/dist/Image-BPAtdM5Y.js +0 -33
- package/dist/Individual.rules-BaOxBQUI.js +0 -296
- package/dist/IndividualDropin-Cx16d1Oo.js +0 -4951
- package/dist/InputDate-DsEAx7kx.js +0 -52
- package/dist/InputText-CadVntiC.js +0 -119
- package/dist/Introduction-DtL0bA4R.js +0 -343
- package/dist/InvitedDecisionMakerComponent-CfWqrjQk.js +0 -412
- package/dist/JpAddress-CL6tkvUL.js +0 -322
- package/dist/LandingLayout-C9eryD6V.js +0 -76
- package/dist/LegalCompanyNameField-Dgn4iOVN.js +0 -108
- package/dist/LegalRepresentativeDetailsPage-DhEKvu-y.js +0 -73
- package/dist/Link-BoduD1oh.js +0 -32
- package/dist/ListItem-ByYbZdGG.js +0 -70
- package/dist/LoaderWrapper-CRf5MAK1.js +0 -34
- package/dist/MaskedInput-uN8G9HRq.js +0 -715
- package/dist/MaybeModal-DkRlF_Mg.js +0 -24
- package/dist/Modal-DOC6JgPI.js +0 -115
- package/dist/Name-VckG8ggI.js +0 -61
- package/dist/NewSummary-BQHtEgHV.js +0 -72
- package/dist/PayoutDetailsDropinMultiForm-Bm-PbnDN.js +0 -4112
- package/dist/PayoutDetailsPage-t9H1HAV3.js +0 -68
- package/dist/RadioGroup-XuCtbRrH.js +0 -84
- package/dist/Review-BjMmCI8_.js +0 -99
- package/dist/RootBusinessDetailsPage-CLAEGMGe.js +0 -69
- package/dist/RootBusinessLinesPage-vX2RdR1q.js +0 -1452
- package/dist/RootIndividualDetailsPage-Cs-601aX.js +0 -81
- package/dist/Select-CMFHti4N.js +0 -777
- package/dist/SignPCIComponent-C91NFrWs.js +0 -368
- package/dist/SingpassSelection-Bksn6t52.js +0 -156
- package/dist/SoleProprietorshipPage-itbv_RaA.js +0 -69
- package/dist/SourceOfFundsPage-GTMmyUv0.js +0 -1992
- package/dist/Summary-DZq5UKMv.js +0 -226
- package/dist/TaskListItem-BM3oukq_.js +0 -164
- package/dist/TaskVerificationStatus-jBBIJN_A.js +0 -118
- package/dist/TaxInformationField-CJyqFS0F.js +0 -474
- package/dist/TaxReportingDropin-BMYbiHlX.js +0 -478
- package/dist/TextArea-qzKHJyZG.js +0 -80
- package/dist/TileGroup-COge4hw4.js +0 -170
- package/dist/ToastContext-CeB1t7kx.js +0 -13
- package/dist/ToastContextProvider-DmZQLSHH.js +0 -103
- package/dist/TrustDetailsPage-ByWKgzze.js +0 -1105
- package/dist/TrustMemberCompanyPage-Dsy0hA-v.js +0 -107
- package/dist/TrustMemberIndividualPage-BiwagdFl.js +0 -107
- package/dist/TrustMemberRoleAndTypePage-B6CAPw_I.js +0 -950
- package/dist/TrustMembersOverview-sPSvGI74.js +0 -433
- package/dist/UnincorporatedPartnershipIndividualPage-BNrgepSe.js +0 -78
- package/dist/UnincorporatedPartnershipMemberCompanyPage-DDUZRNLG.js +0 -78
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-DvhPYL9l.js +0 -276
- package/dist/UnincorporatedPartnershipMembersOverview-MeqDhQz7.js +0 -159
- package/dist/VerificationErrorAlert-x74LQ1wJ.js +0 -38
- package/dist/accountHolderUtils-AnlUAp6W.js +0 -44
- package/dist/bafinUtils-AZHgY8qT.js +0 -96
- package/dist/bg-BG-C12I_ehJ.js +0 -7
- package/dist/bg-BG-CS6SQDE2.js +0 -7
- package/dist/bg-BG-NwL6SZRu.js +0 -7
- package/dist/birthDateUtils-CMLWoaT8.js +0 -82
- package/dist/constants-BK5Bx2Pg.js +0 -233
- package/dist/countries-BEUFeNU1.js +0 -41
- package/dist/country-C5KY5i2U.js +0 -13
- package/dist/cs-CZ-BZkot6xs.js +0 -7
- package/dist/cs-CZ-C-nfIYKA.js +0 -7
- package/dist/cs-CZ-TiWySd9u.js +0 -7
- package/dist/da-DK-Bc6oX5Ct.js +0 -7
- package/dist/da-DK-DO88W3qD.js +0 -7
- package/dist/da-DK-DtPE4OIu.js +0 -7
- package/dist/de-DE-CnB43wjo.js +0 -7
- package/dist/de-DE-JZBqb8ce.js +0 -7
- package/dist/de-DE-YX6rtv17.js +0 -7
- package/dist/decisionMaker-BKR5Dau-.js +0 -146
- package/dist/decisionMakerRoles-wy4KpDQg.js +0 -46
- package/dist/el-GR-Be15a5W8.js +0 -7
- package/dist/el-GR-C8jFvyDg.js +0 -7
- package/dist/el-GR-DJJbbbY3.js +0 -7
- package/dist/en-US-AkapGgCu.js +0 -7
- package/dist/en-US-B3wlE1pH.js +0 -7
- package/dist/en-US-BDZwHN0Y.js +0 -7
- package/dist/en-US-Cep-b_Ek.js +0 -28
- package/dist/entityAssociationUtil-C0gX4Ewv.js +0 -59
- package/dist/es-ES-D1BkDJkz.js +0 -7
- package/dist/es-ES-FQbC3B0S.js +0 -7
- package/dist/es-ES-mdSA-CIT.js +0 -7
- package/dist/et-EE-B4ZMHksf.js +0 -7
- package/dist/et-EE-BZ26f0MN.js +0 -7
- package/dist/et-EE-DrQLDWH2.js +0 -7
- package/dist/fi-FI-CeJPt0gg.js +0 -7
- package/dist/fi-FI-CqM2eaKi.js +0 -7
- package/dist/fi-FI-koFpyMaq.js +0 -7
- package/dist/formUtils-DERTAXyh.js +0 -78
- package/dist/fr-FR-B0eVVc8V.js +0 -7
- package/dist/fr-FR-CqvZpq5B.js +0 -7
- package/dist/fr-FR-lfoSPY0e.js +0 -7
- package/dist/getName-ODLD6UPV.js +0 -35
- package/dist/getProblemsForEntity-COcJt47f.js +0 -16
- package/dist/globalStore-D0yv1fc_.js +0 -419
- package/dist/hr-HR-CMgsuYh2.js +0 -7
- package/dist/hr-HR-C_7O4gxx.js +0 -7
- package/dist/hr-HR-D_X-RNUl.js +0 -7
- package/dist/http-CHTzpXCd.js +0 -149
- package/dist/hu-HU-3FpAw9b1.js +0 -7
- package/dist/hu-HU-C0Y9wmOY.js +0 -7
- package/dist/hu-HU-DORWpwoE.js +0 -7
- package/dist/invalidateRootLegalEntity-BHyct4ev.js +0 -45
- package/dist/isEmpty-Cf1sv6Wg.js +0 -14
- package/dist/isEmptyEntity-BBazi0Go.js +0 -44
- package/dist/it-IT-BgULENxX.js +0 -7
- package/dist/it-IT-CW0ZFuCZ.js +0 -7
- package/dist/it-IT-Cm3ujfY_.js +0 -7
- package/dist/ja-JP-BT70_5Cd.js +0 -7
- package/dist/ja-JP-BbXt47jb.js +0 -7
- package/dist/ja-JP-BllN9kcD.js +0 -7
- package/dist/japanSupportUtils-BjabsTWv.js +0 -11
- package/dist/localizeDateString-B7EYBFnd.js +0 -35
- package/dist/lt-LT-CDdoDT7A.js +0 -7
- package/dist/lt-LT-CKltvr9j.js +0 -7
- package/dist/lt-LT-DZvEoBgI.js +0 -7
- package/dist/lv-LV-DPQ4Tm3o.js +0 -7
- package/dist/lv-LV-DpfhFur0.js +0 -7
- package/dist/lv-LV-DwsdNJrk.js +0 -7
- package/dist/mapExistingFile-BeFexL6Z.js +0 -135
- package/dist/mapJpAddressSchemaToAddressLocalizations-CTGQ1JHC.js +0 -61
- package/dist/mapLegalEntityToIndividualSchema-BMvlasSJ.js +0 -207
- package/dist/mapTransferInstrumentToPayoutAccount-DUrX63iT.js +0 -44
- package/dist/nl-NL-B0uwKjKV.js +0 -7
- package/dist/nl-NL-Br1QBepE.js +0 -7
- package/dist/nl-NL-CxlTSECX.js +0 -7
- package/dist/no-NO-BSrcMnDk.js +0 -7
- package/dist/no-NO-BlsDONGK.js +0 -7
- package/dist/no-NO-FtH9gIpv.js +0 -7
- package/dist/omitObscuredFieldsIfUnchanged-BW0ZhOk7.js +0 -20
- package/dist/phonePrefixes-D5cQh9fv.js +0 -252
- package/dist/pl-PL-CK40GB3R.js +0 -7
- package/dist/pl-PL-Ct3cI8Sk.js +0 -7
- package/dist/pl-PL-CxlgXMRg.js +0 -7
- package/dist/process-field-configurations-B8wJu-eM.js +0 -279
- package/dist/processCapabilities-CDSEJpB8.js +0 -869
- package/dist/pt-BR-CqDjOIYt.js +0 -7
- package/dist/pt-BR-kU7AfzPy.js +0 -7
- package/dist/pt-BR-zUBVM8_b.js +0 -7
- package/dist/pt-PT-CxnB9Jff.js +0 -7
- package/dist/pt-PT-Dl_yfKGH.js +0 -7
- package/dist/pt-PT-hj7CUska.js +0 -7
- package/dist/resolveEnvironment-BmgzZ_BL.js +0 -983
- package/dist/ro-RO-CmHNsQpo.js +0 -7
- package/dist/ro-RO-Cuw1RmFc.js +0 -7
- package/dist/ro-RO-D9YjxrDi.js +0 -7
- package/dist/roleMetadata-Dt8-oMGP.js +0 -56
- package/dist/sk-SK-1i0L4zIs.js +0 -7
- package/dist/sk-SK-CQ1N3c8X.js +0 -7
- package/dist/sk-SK-CtsgM8bj.js +0 -7
- package/dist/sl-SI-B8-rZ169.js +0 -7
- package/dist/sl-SI-D3zK3MPP.js +0 -7
- package/dist/sl-SI-DywGyzEa.js +0 -7
- package/dist/styles-BKzp-1_V.js +0 -6824
- package/dist/sv-SE-BN0dUpwI.js +0 -7
- package/dist/sv-SE-CVRa-6Y0.js +0 -7
- package/dist/sv-SE-guJk9E1n.js +0 -7
- package/dist/translation-Br5wIPO-.js +0 -854
- package/dist/trustUtil-CVipffas.js +0 -99
- package/dist/types/components/Business/forms/forms.types.d.ts +0 -11
- package/dist/types/components/ui/atoms/StepProgressIndicator/StepProgressIndicator.d.ts +0 -19
- package/dist/types-BvdB7N_Z.js +0 -19
- package/dist/types-DjplYXLf.js +0 -58
- package/dist/types-LOiahAxg.js +0 -154
- package/dist/types-ewJwhKUi.js +0 -66
- package/dist/useAccountHolder-BUQwFdWW.js +0 -102
- package/dist/useAllowedCountries-BIhbvxWx.js +0 -74
- package/dist/useAnalyticsContext-DfTXpZbA.js +0 -12
- package/dist/useAssociatedLegalEntity-CYu0lsaE.js +0 -35
- package/dist/useBusinessDetailsData-B6r90q4T.js +0 -4612
- package/dist/useBusinessLines-BJV9biUj.js +0 -27
- package/dist/useCanSeeIntroduction-Dj1tjCk3.js +0 -39
- package/dist/useCapabilities-DN0V0pML.js +0 -12
- package/dist/useCreateLegalEntity-C149Z7Xu.js +0 -24
- package/dist/useDataMissingRemediations-Ddj2bl69.js +0 -39
- package/dist/useDataset-BRZZoPVn.js +0 -96
- package/dist/useDeleteTransferInstrument-CZM3f7yq.js +0 -31
- package/dist/useForm-DzG9tJAE.js +0 -502
- package/dist/useFormContext-Cu4dKSCy.js +0 -504
- package/dist/useLegalEntity-Dm6g0wmt.js +0 -48
- package/dist/useMultiForm-tpVMuqHM.js +0 -755
- package/dist/useNavigate-GmEmf-To.js +0 -269
- package/dist/useOnboardingStatus-CdLObhIM.js +0 -23
- package/dist/usePciQuestionnaireList-OjYY3MK9.js +0 -26
- package/dist/useSalesChannels-BDg8_NCC.js +0 -47
- package/dist/useScenarios-Bb-EhIep.js +0 -55
- package/dist/useTaskLandedEvent-DCdJo64z.js +0 -26
- package/dist/useTaskStatus-DzJWcN_l.js +0 -23
- package/dist/useTermsOfServiceStatus-Dh4huPkR.js +0 -39
- package/dist/useToastContext-CK7UoZ5Z.js +0 -12
- package/dist/useTrustMembers-BP6ygpU4.js +0 -152
- package/dist/useUnincorporatedPartnershipMembers-D7U6aM_k.js +0 -70
- package/dist/useUpdateBusinessLines-BUFe2lBW.js +0 -68
- package/dist/useUpdateLegalEntity-CUs6TYPF.js +0 -29
- package/dist/utils-CXdEwKOC.js +0 -46
- package/dist/utils-Cj9-IRaT.js +0 -188
- package/dist/utils-CkQJVYhR.js +0 -2472
- package/dist/utils-DLDyhf2J.js +0 -207
- package/dist/utils-eDM77TZ4.js +0 -805
- package/dist/validate-BQEVyhkI.js +0 -411
- package/dist/validate-DlG5LXuM.js +0 -381
- package/dist/validationError-Dr0g0lGN.js +0 -68
- package/dist/validationResult-BC9WLYOC.js +0 -77
- /package/dist/{4-people-Dt-FR2z_.js → 4-people-UD6qivNv.js} +0 -0
- /package/dist/{AD-5Egi3flE.js → AD-Dz8oe6Pg.js} +0 -0
- /package/dist/{AE-DJ-lRyPg.js → AE-CTdU1tzb.js} +0 -0
- /package/dist/{AI-ZfbxJFtE.js → AI-tjrpVbOw.js} +0 -0
- /package/dist/{AL-UBVZZlDX.js → AL-DvyI05UB.js} +0 -0
- /package/dist/{AR-B9C4Nibz.js → AR-DI6rdPa-.js} +0 -0
- /package/dist/{AS-CFb876zC.js → AS-ByXIuSCx.js} +0 -0
- /package/dist/{AT-CJDibmrN.js → AT-CutjdISu.js} +0 -0
- /package/dist/{AT-C8MN2Fns.js → AT-CvSbaCoE.js} +0 -0
- /package/dist/{AT-Do46gW4G.js → AT-DYSevBIw.js} +0 -0
- /package/dist/{AT-DsogulXO.js → AT-Dt3ZU8Yh.js} +0 -0
- /package/dist/{AU-DfV_PeBe.js → AU-C6u3aod7.js} +0 -0
- /package/dist/{AU-CDh6E7PE.js → AU-CLU0Xn_D.js} +0 -0
- /package/dist/{AU--MSKgcDY.js → AU-DzJ7QlNR.js} +0 -0
- /package/dist/{AU-DNxKMzJs.js → AU-EWPyqdHL.js} +0 -0
- /package/dist/{AX-DxAmGTy-.js → AX-DJ84WiiY.js} +0 -0
- /package/dist/{AZ-DRkABvzg.js → AZ-o_CDsMs4.js} +0 -0
- /package/dist/{BA-xlw8xj7W.js → BA-DL2O-nPB.js} +0 -0
- /package/dist/{BE-yocZ_S-V.js → BE-7F1ZOUtb.js} +0 -0
- /package/dist/{BE-BGioJIMA.js → BE-CT0bdDbu.js} +0 -0
- /package/dist/{BE-BQ4olBdk.js → BE-CyRTa5vY.js} +0 -0
- /package/dist/{BE-8eQ7Am1Y.js → BE-DgU3CTNg.js} +0 -0
- /package/dist/{BG-AfIdXJGJ.js → BG-B7VMgZNt.js} +0 -0
- /package/dist/{BH-CKPBbT8v.js → BH-Bot1MlCL.js} +0 -0
- /package/dist/{BM-DMmpYJ5S.js → BM-CfbbOZEU.js} +0 -0
- /package/dist/{BR-D2pNPrYB.js → BR-BaEKrqwp.js} +0 -0
- /package/dist/{BR-B8NzP1QV.js → BR-BikIex5m.js} +0 -0
- /package/dist/{BR-Iin-FtVm.js → BR-DrGkuPBg.js} +0 -0
- /package/dist/{BR-CmwW2wlc.js → BR-PBodf94A.js} +0 -0
- /package/dist/{BS-h2g8V4eH.js → BS-CR7QZvMY.js} +0 -0
- /package/dist/{BV-Br568icW.js → BV-pdJ1HYkg.js} +0 -0
- /package/dist/{BY-DNb6l2Rg.js → BY-RUR9XmBt.js} +0 -0
- /package/dist/{CA-DJVSS-DB.js → CA-6iRpP8zm.js} +0 -0
- /package/dist/{CA-DBQywpjY.js → CA-BM1GlX51.js} +0 -0
- /package/dist/{CA-Cc0GuXLd.js → CA-Bilo42jc.js} +0 -0
- /package/dist/{CA-BT05x8jm.js → CA-CgOysQQa.js} +0 -0
- /package/dist/{CH-C9Z3X6np.js → CH-BZ2dJJcd.js} +0 -0
- /package/dist/{CH-Bd1miMrE.js → CH-CmSkzRbO.js} +0 -0
- /package/dist/{CH-BL-4faPY.js → CH-HrO9afDv.js} +0 -0
- /package/dist/{CH-DFD2JLw3.js → CH-gKI7wttp.js} +0 -0
- /package/dist/{CN-5HinUnnB.js → CN-BUtZk2Mu.js} +0 -0
- /package/dist/{CR-PaLZQtHA.js → CR-CnpHHfms.js} +0 -0
- /package/dist/{CY-B85njNYI.js → CY-Ge_L3SKC.js} +0 -0
- /package/dist/{CZ-Dxmb6KsV.js → CZ-B8b5P2Or.js} +0 -0
- /package/dist/{CZ-BKdY5FmV.js → CZ-C1HmDbqn.js} +0 -0
- /package/dist/{CZ-4dIb_N3l.js → CZ-Cxwo_jP6.js} +0 -0
- /package/dist/{CZ-BbtlKoCl.js → CZ-I8UM9ti_.js} +0 -0
- /package/dist/{ContractViewer-BieoFdY1.js → ContractViewer-B8CspWV4.js} +0 -0
- /package/dist/{DE-DCHis7y4.js → DE-C2MEdoRW.js} +0 -0
- /package/dist/{DE-DQc4ncaM.js → DE-CSMMxMuZ.js} +0 -0
- /package/dist/{DE--Q5XezyA.js → DE-HSEDrUfG.js} +0 -0
- /package/dist/{DE-DmEk0oIa.js → DE-pQVkh64s.js} +0 -0
- /package/dist/{DK-DAzVnb1J.js → DK-BCcPGFzQ.js} +0 -0
- /package/dist/{DK-CdG4hfv7.js → DK-TyxXs-DV.js} +0 -0
- /package/dist/{DK-Bt_PCcFy.js → DK-dsRhTFow.js} +0 -0
- /package/dist/{DK-BjD2emK5.js → DK-mVm8rtJr.js} +0 -0
- /package/dist/{DO-BF7Pa_tN.js → DO-B84eOniD.js} +0 -0
- /package/dist/{DetailViewLayout-H4b1E5Ih.js → DetailViewLayout-Be6cqBDx.js} +0 -0
- /package/dist/{Divider-DHTBXv3p.js → Divider-BndbWx4f.js} +0 -0
- /package/dist/{EC-D6uEW2wn.js → EC-BAzODm77.js} +0 -0
- /package/dist/{EE-W5m__hus.js → EE-D2n6E72J.js} +0 -0
- /package/dist/{ES-BwwPYP5y.js → ES-BI7auc_D.js} +0 -0
- /package/dist/{ES-_cqCzBUa.js → ES-CsmTJRIi.js} +0 -0
- /package/dist/{ES-BdmgiBzc.js → ES-D4WzOTek.js} +0 -0
- /package/dist/{ES-DjYy5Dao.js → ES-DnRoTFNh.js} +0 -0
- /package/dist/{FI-5ySk5gAz.js → FI-CZ6ep3W_.js} +0 -0
- /package/dist/{FI-Z0tGRjwl.js → FI-DJZScc7l.js} +0 -0
- /package/dist/{FI-VPvgt4LP.js → FI-DhWyH1DT.js} +0 -0
- /package/dist/{FI-DwaCO8nT.js → FI-YOhI9TrO.js} +0 -0
- /package/dist/{FJ-CBPM7BcM.js → FJ-BcqfFVGi.js} +0 -0
- /package/dist/{FO-CSvRPbA1.js → FO-BuQb8zK_.js} +0 -0
- /package/dist/{FR-B876n3-B.js → FR-CWb0_Fcq.js} +0 -0
- /package/dist/{FR-RdDRKklk.js → FR-DYfYAn5S.js} +0 -0
- /package/dist/{FR-bMNYTLCL.js → FR-EX-aYUJ3.js} +0 -0
- /package/dist/{FR-CBB06Fnq.js → FR-SxebWfwR.js} +0 -0
- /package/dist/{GB-IJ-Iz5qv.js → GB-BycqX1ng.js} +0 -0
- /package/dist/{GB-Bxb4fPxG.js → GB-CszgE98l.js} +0 -0
- /package/dist/{GB--UVnRIRj.js → GB-DlvvuQuQ.js} +0 -0
- /package/dist/{GB-FU65v6fQ.js → GB-q2GO1nX8.js} +0 -0
- /package/dist/{GE-xaMHflrU.js → GE-ChK3V1hi.js} +0 -0
- /package/dist/{GF-CrDxyG5C.js → GF-fTBjIC0q.js} +0 -0
- /package/dist/{GG-DEqoBorh.js → GG-Cppga3Z4.js} +0 -0
- /package/dist/{GI-Turkle4q.js → GI-Cm7N6fbE.js} +0 -0
- /package/dist/{GL-BnDhUcrF.js → GL-C75JniJw.js} +0 -0
- /package/dist/{GP-Dp65xTqP.js → GP-DhHOAa8k.js} +0 -0
- /package/dist/{GR-3L3XhlH2.js → GR-zOZilI5v.js} +0 -0
- /package/dist/{GT-BhKx5dln.js → GT-B6tGLPxx.js} +0 -0
- /package/dist/{GU-Bgc9EY1W.js → GU-DjjJkDVU.js} +0 -0
- /package/dist/{HK-BmygOotV.js → HK-BXsi3wQZ.js} +0 -0
- /package/dist/{HK-kFldIGd7.js → HK-Bs3Wsh4t.js} +0 -0
- /package/dist/{HK-DClfjKdQ.js → HK-CVaMk2Vl.js} +0 -0
- /package/dist/{HK-DUMxc2EI.js → HK-Yj_9Qbs3.js} +0 -0
- /package/dist/{HR-BquBLtSA.js → HR-8jCYyclY.js} +0 -0
- /package/dist/{HR-BZ1pGUfO.js → HR-BR9TaCeP.js} +0 -0
- /package/dist/{HR-CmnsEDnL.js → HR-C-NuIOkA.js} +0 -0
- /package/dist/{HR-C57WjbJ_.js → HR-DvG9lG0o.js} +0 -0
- /package/dist/{HU-CErZJI70.js → HU-B4hChLQO.js} +0 -0
- /package/dist/{HU-3HXta-l8.js → HU-DF7a_-3t.js} +0 -0
- /package/dist/{HU-DnRWaWkm.js → HU-kkbB9HNQ.js} +0 -0
- /package/dist/{HU-BPcrEuPH.js → HU-o4ILK6JM.js} +0 -0
- /package/dist/{HandlerContext-J3b0CZCH.js → HandlerContext-CIedIvkP.js} +0 -0
- /package/dist/{ID-BpqDcVc4.js → ID-CnOsjpEC.js} +0 -0
- /package/dist/{IE-CZOtplG-.js → IE-B3ysSG_S.js} +0 -0
- /package/dist/{IE-nHDHO00_.js → IE-CtesijIU.js} +0 -0
- /package/dist/{IE-dduN0_TO.js → IE-Dwlg9nat.js} +0 -0
- /package/dist/{IE-auhNSIUT.js → IE-dmyHscm0.js} +0 -0
- /package/dist/{IL-C0zsRw_j.js → IL-B2GfQOoK.js} +0 -0
- /package/dist/{IM-DimZdCV2.js → IM-D9Hb0nwZ.js} +0 -0
- /package/dist/{IN-drNlZVBZ.js → IN-Qhys3xn2.js} +0 -0
- /package/dist/{IS-BdfP-REC.js → IS-DTXiGHYB.js} +0 -0
- /package/dist/{IT-BCxMd7Y7.js → IT-BZGkLCTQ.js} +0 -0
- /package/dist/{IT-DF6ZO-i8.js → IT-CHV5-m07.js} +0 -0
- /package/dist/{IT-Dc9lHBRw.js → IT-DFeNc5UK.js} +0 -0
- /package/dist/{IT-CNf1MrI-.js → IT-Dimtibs1.js} +0 -0
- /package/dist/{JE-BBO3NuzB.js → JE-D7_0MZEA.js} +0 -0
- /package/dist/{JM-BzHoUe13.js → JM-CUVKn5To.js} +0 -0
- /package/dist/{JO-fffBmbX2.js → JO-B9_bPqbF.js} +0 -0
- /package/dist/{JP-Dv9kCG6P.js → JP-z_PjepRf.js} +0 -0
- /package/dist/{KR-K1u4NuUE.js → KR-DaFOJAbV.js} +0 -0
- /package/dist/{KW-DBYFEC0m.js → KW-BLH4fj8S.js} +0 -0
- /package/dist/{KY-DvnPgYGT.js → KY-DG3Xehmz.js} +0 -0
- /package/dist/{KZ-DX8lqaut.js → KZ-BjnXKq2l.js} +0 -0
- /package/dist/{LB-DuXl_nIj.js → LB-CY5c_gqN.js} +0 -0
- /package/dist/{LI-BcYzGJ7k.js → LI-BkFK_qrZ.js} +0 -0
- /package/dist/{LT-BfApaHFI.js → LT--zST1zqj.js} +0 -0
- /package/dist/{LT-ZF-q0fXm.js → LT-2wka4qNS.js} +0 -0
- /package/dist/{LT-BYZkkL9O.js → LT-BV7s3TCv.js} +0 -0
- /package/dist/{LT-rnUOqZje.js → LT-BxqPzqgf.js} +0 -0
- /package/dist/{LU-xxaAcEvQ.js → LU-Bt4sIWIT.js} +0 -0
- /package/dist/{LV-BdlQTl8C.js → LV-B-FeTyBQ.js} +0 -0
- /package/dist/{MC-CaqkAF9O.js → MC-D92BHmGr.js} +0 -0
- /package/dist/{MD-DPht_MRT.js → MD-BzJaxo1n.js} +0 -0
- /package/dist/{ME-Dc5I5KtD.js → ME-Iw66DM2s.js} +0 -0
- /package/dist/{MK-Bn1G050Q.js → MK-yRjMHvLF.js} +0 -0
- /package/dist/{MP-WG5-be9t.js → MP-CGHoAYPz.js} +0 -0
- /package/dist/{MQ-BX_woiN5.js → MQ-Db73c-TY.js} +0 -0
- /package/dist/{MR-B4o-Woej.js → MR-CzGlj8ce.js} +0 -0
- /package/dist/{MT-BitdMyNy.js → MT-n0Cp6O8-.js} +0 -0
- /package/dist/{MU-5mV1nkVk.js → MU-C57EyXfP.js} +0 -0
- /package/dist/{MX-BV0FI9pL.js → MX-JSUPc6V8.js} +0 -0
- /package/dist/{MY-BovUrLi6.js → MY-Bbgpg3w2.js} +0 -0
- /package/dist/{NC--rMtvPxR.js → NC-BeqCqe7o.js} +0 -0
- /package/dist/{NL-Dt1MHEvX.js → NL-B22K1Zb0.js} +0 -0
- /package/dist/{NL-D3keMKVJ.js → NL-C1r7ND7d.js} +0 -0
- /package/dist/{NL-DpEm6S8e.js → NL-CIX2R11u.js} +0 -0
- /package/dist/{NL-BA3EKW3x.js → NL-KVjpCVaw.js} +0 -0
- /package/dist/{NO-Dst-DnZ8.js → NO-BhYtIUv1.js} +0 -0
- /package/dist/{NO-BRw0ivbK.js → NO-CFty2TsC.js} +0 -0
- /package/dist/{NO-ltxTSAKY.js → NO-CV0UtHqk.js} +0 -0
- /package/dist/{NO-VE7Sc2IM.js → NO-DLFLW3I8.js} +0 -0
- /package/dist/{NZ-CJ_5Z1en.js → NZ-ClQC7uEQ.js} +0 -0
- /package/dist/{NZ-SQBwX6Hq.js → NZ-DZ75lvmW.js} +0 -0
- /package/dist/{PE-CcE7NUNY.js → PE-BhP-iF08.js} +0 -0
- /package/dist/{PF-CTHFNBfG.js → PF-DZJu8LvP.js} +0 -0
- /package/dist/{PH-BJvKdyQF.js → PH-8s_pcD1T.js} +0 -0
- /package/dist/{PK-CmxTai7F.js → PK-BkHx9Wu7.js} +0 -0
- /package/dist/{PL-BT907618.js → PL-CZ0JZlv4.js} +0 -0
- /package/dist/{PL-Byz7Yqkt.js → PL-Db0WKekw.js} +0 -0
- /package/dist/{PL-Cgkoario.js → PL-DjTZTZqB.js} +0 -0
- /package/dist/{PL-BK2Asw5F.js → PL-oVwazamy.js} +0 -0
- /package/dist/{PM-CPOzzt0L.js → PM-Bcq0SkSj.js} +0 -0
- /package/dist/{PR-squ319V4.js → PR-N31WZxLD.js} +0 -0
- /package/dist/{PS-CspEbZTU.js → PS-DzthwPAx.js} +0 -0
- /package/dist/{PT-CiRGWIB7.js → PT-BVfq_KIl.js} +0 -0
- /package/dist/{PT-LXjJtHn5.js → PT-C3FlrAqt.js} +0 -0
- /package/dist/{PT-CT-kaH57.js → PT-C6fd2w3g.js} +0 -0
- /package/dist/{PT-DAsEx6OE.js → PT-ilpiMMVG.js} +0 -0
- /package/dist/{QA-DaZHmHWd.js → QA-zn4Gdzbo.js} +0 -0
- /package/dist/{RE-BFKWl5y_.js → RE-dG3KJMMx.js} +0 -0
- /package/dist/{RO-BcDEEGjk.js → RO-B1UBvxsc.js} +0 -0
- /package/dist/{RO-CRDVNzfL.js → RO-BL-J1_yg.js} +0 -0
- /package/dist/{RO-Bb4UTT5B.js → RO-BXtuhVoN.js} +0 -0
- /package/dist/{RO-3wOpNneM.js → RO-Dtlve3hZ.js} +0 -0
- /package/dist/{RS-DOGs6suo.js → RS-DIpTuX70.js} +0 -0
- /package/dist/{RU-wf84MwTX.js → RU-B7YwaezI.js} +0 -0
- /package/dist/{SA-B1u_XGB9.js → SA-yHvpRBBt.js} +0 -0
- /package/dist/{SE-2WATmHl2.js → SE-CccuzUP0.js} +0 -0
- /package/dist/{SE-Dv7OpBmo.js → SE-CfxNbl59.js} +0 -0
- /package/dist/{SE-DTxNlT0w.js → SE-gXHu0efH.js} +0 -0
- /package/dist/{SE-B48cKLIu.js → SE-pMhyd7KJ.js} +0 -0
- /package/dist/{SG-BZ-kyKVN.js → SG-CGk7k8y6.js} +0 -0
- /package/dist/{SG-pPmF2os4.js → SG-CODE9yV_.js} +0 -0
- /package/dist/{SG-CdsmZcfV.js → SG-DIKkp5VX.js} +0 -0
- /package/dist/{SG-A2_cs4kd.js → SG-fAOioO1i.js} +0 -0
- /package/dist/{SI-T8ly14Dn.js → SI-BpwxzWXI.js} +0 -0
- /package/dist/{SI-DrX769GG.js → SI-CtMaFIsz.js} +0 -0
- /package/dist/{SI-DjUddZcZ.js → SI-D8ngpNLP.js} +0 -0
- /package/dist/{SI-BVTXwA8C.js → SI-DgNZ746W.js} +0 -0
- /package/dist/{SJ-DO3zbL0P.js → SJ-SG7xxYUX.js} +0 -0
- /package/dist/{SK-DzGTyI5h.js → SK-C7ldUW73.js} +0 -0
- /package/dist/{SK-vJT5Dj16.js → SK-CNT7QVie.js} +0 -0
- /package/dist/{SK-Dq7sWtiL.js → SK-D8vU29-x.js} +0 -0
- /package/dist/{SK-BFZnw1-d.js → SK-DssnPaZv.js} +0 -0
- /package/dist/{SM-B4SkkvKD.js → SM-Ds8vicT5.js} +0 -0
- /package/dist/{StackLayout-BMQXXBDb.js → StackLayout-CTLQyVDf.js} +0 -0
- /package/dist/{TF-CIVHsoB9.js → TF-Ckf_6iT5.js} +0 -0
- /package/dist/{TH-8huuj2v6.js → TH-2sIVIZNa.js} +0 -0
- /package/dist/{TL-Bik3Eb-u.js → TL-OSKwf5cB.js} +0 -0
- /package/dist/{TN-ClhiegdZ.js → TN-BcUBhs_y.js} +0 -0
- /package/dist/{TR-xyusRa6k.js → TR-nO7zl2t7.js} +0 -0
- /package/dist/{TT-BsT9h8j3.js → TT-uQXIiTh9.js} +0 -0
- /package/dist/{TW-Id3ypKK8.js → TW-ra8aVP1u.js} +0 -0
- /package/dist/{Tag-BTQ4nyKS.js → Tag-BUoDHC4C.js} +0 -0
- /package/dist/{UA-r0ZVcqym.js → UA-ChP4sFEB.js} +0 -0
- /package/dist/{US-C0BIY_Iy.js → US-CPcVUQez.js} +0 -0
- /package/dist/{US-_mFv0V8m.js → US-D6PlTpHk.js} +0 -0
- /package/dist/{US-BKXr0nm-.js → US-F-OhVaqg.js} +0 -0
- /package/dist/{US-Df7pLIkq.js → US-amE0CRbB.js} +0 -0
- /package/dist/{UY-BDWpl5Q2.js → UY-BFN4uNVz.js} +0 -0
- /package/dist/{VA-CJnCCD0R.js → VA-lz_OQgNz.js} +0 -0
- /package/dist/{VG-CODm52zD.js → VG-CUKKrF3h.js} +0 -0
- /package/dist/{VI-B52L6yXT.js → VI-D1i4Oi0B.js} +0 -0
- /package/dist/{VN-BsJ-vqrs.js → VN-DRaYj63j.js} +0 -0
- /package/dist/{WF-lhRl1Vg9.js → WF-K2TrgrKu.js} +0 -0
- /package/dist/{YT-CmziyGNY.js → YT-CEOdE-OK.js} +0 -0
- /package/dist/{ZA-CQNS6dil.js → ZA-BVXb4Fcr.js} +0 -0
- /package/dist/{_rolldown_dynamic_import_helper-CCXvMgfE.js → _rolldown_dynamic_import_helper-C4ugHLZT.js} +0 -0
- /package/dist/{arrow-right-BX_EVrJJ.js → arrow-right-BJTNKb0O.js} +0 -0
- /package/dist/{bag-CndvM5sq.js → bag-DZMiIi7P.js} +0 -0
- /package/dist/{bank-BGTRk0kq.js → bank-CzucQEWZ.js} +0 -0
- /package/dist/{bg-BG-QlxmGEZL.js → bg-BG-B845EAcI.js} +0 -0
- /package/dist/{bg-BG-Cxa0jcnA.js → bg-BG-Bfk35aUM.js} +0 -0
- /package/dist/{bg-BG-YZ34LkMd.js → bg-BG-BrYfHU1Y.js} +0 -0
- /package/dist/{bg-BG-RNEFZxOh.js → bg-BG-BsrzL-U8.js} +0 -0
- /package/dist/{bg-BG-CCGIvlIM.js → bg-BG-Bw1uE2hh.js} +0 -0
- /package/dist/{bg-BG-mf-xq3ph.js → bg-BG-C0FkvcA2.js} +0 -0
- /package/dist/{bg-BG-B9ABjZUx2.js → bg-BG-CUmjOcpi2.js} +0 -0
- /package/dist/{bg-BG-D3gXF-6w2.js → bg-BG-CncTIGKT2.js} +0 -0
- /package/dist/{bg-BG-CogcfR3g.js → bg-BG-DLd3BaDx.js} +0 -0
- /package/dist/{bg-BG-IjNKw0Zu.js → bg-BG-DkeEONKT.js} +0 -0
- /package/dist/{bg-BG-BNqOiDw9.js → bg-BG-DqOqFO0A.js} +0 -0
- /package/dist/{bin-ClI1Lmer.js → bin-BbC6aL9-.js} +0 -0
- /package/dist/{business-lines-hXwJAfy8.js → business-lines-DY5WHePf.js} +0 -0
- /package/dist/{capital-CvyQlkxY.js → capital-B61w2ph0.js} +0 -0
- /package/dist/{cash-stack-Dh8uZSza.js → cash-stack-DrmR4pnT.js} +0 -0
- /package/dist/{certificate-BNwGY179.js → certificate-_tpSgTGm.js} +0 -0
- /package/dist/{checkmark-hciVXXIH.js → checkmark-DnlW1SB-.js} +0 -0
- /package/dist/{checkmark-circle-B0j0Vtwo.js → checkmark-circle-Dixm0aV6.js} +0 -0
- /package/dist/{checkmark-circle-fill-LpAoa38W.js → checkmark-circle-fill-dAg9Mn5z.js} +0 -0
- /package/dist/{checkmark-small-CBLKuuZ1.js → checkmark-small-Di0Lj9EO.js} +0 -0
- /package/dist/{chevron-down-aTrA5UpL.js → chevron-down-CvIokHIR.js} +0 -0
- /package/dist/{chevron-left-BVdVNPiJ.js → chevron-left-BNjJxGO4.js} +0 -0
- /package/dist/{chevron-right-Drp9nZ4h.js → chevron-right-CeXpOOK6.js} +0 -0
- /package/dist/{chevron-up-BG9Ldgsu.js → chevron-up-esJT8bFL.js} +0 -0
- /package/dist/{circle-C-iPmuCY.js → circle-BJtiv6-2.js} +0 -0
- /package/dist/{circle-small-filled-C-Nh6xHY.js → circle-small-filled-BLmJJiLk.js} +0 -0
- /package/dist/{clock-CpMm35NB.js → clock-Xuw4kh_Y.js} +0 -0
- /package/dist/{coins-D2tNyEW3.js → coins-BeFK6pqR.js} +0 -0
- /package/dist/{company-types-value-B-nraMaa.js → company-types-value-BYTAKfjo.js} +0 -0
- /package/dist/{contract-Cg3T6neC.js → contract-D4VJIjGm.js} +0 -0
- /package/dist/{country-code-D3oCpE4i.js → country-code-BjUoKbAN.js} +0 -0
- /package/dist/{cross-DLi9h_Eg.js → cross-CbSU1xP-.js} +0 -0
- /package/dist/{cross-circle-fill-dRHPWc-i.js → cross-circle-fill-iElIdcZN.js} +0 -0
- /package/dist/{cross-circle-fill-small-WqgBPXhH.js → cross-circle-fill-small-DyxDVLjN.js} +0 -0
- /package/dist/{cs-CZ-B_nYIuIi.js → cs-CZ-3vdI5Jjr.js} +0 -0
- /package/dist/{cs-CZ-Bx41zbEp.js → cs-CZ-B1VpAUva.js} +0 -0
- /package/dist/{cs-CZ-MU9Ub24D.js → cs-CZ-BWwYdy4S.js} +0 -0
- /package/dist/{cs-CZ-BObx8NMb.js → cs-CZ-Bl40lHzE.js} +0 -0
- /package/dist/{cs-CZ-D73bqvvS.js → cs-CZ-C6VkcCUo.js} +0 -0
- /package/dist/{cs-CZ-B6AZX4nL.js → cs-CZ-CDBbVGc-.js} +0 -0
- /package/dist/{cs-CZ-CWM5oj6Q.js → cs-CZ-D08FCyDx.js} +0 -0
- /package/dist/{cs-CZ-Bl8qBkx4.js → cs-CZ-HMzN3w9M.js} +0 -0
- /package/dist/{cs-CZ-DNvBXQqI.js → cs-CZ-IZhVT21N.js} +0 -0
- /package/dist/{cs-CZ-C7QmQ2LT2.js → cs-CZ-Is3lue5X2.js} +0 -0
- /package/dist/{cs-CZ-D6VNEZ622.js → cs-CZ-n18LpZrJ2.js} +0 -0
- /package/dist/{currency-CfIDpZh9.js → currency-B8-OEAgj.js} +0 -0
- /package/dist/{da-DK-LXurZBZ8.js → da-DK-B576UeqU.js} +0 -0
- /package/dist/{da-DK-Cx-Ux0WK.js → da-DK-BCPtwA_c.js} +0 -0
- /package/dist/{da-DK-8DN_uCKw.js → da-DK-BwIZqzDw.js} +0 -0
- /package/dist/{da-DK-CxoaLz6P.js → da-DK-CB-sFnhe.js} +0 -0
- /package/dist/{da-DK-CBt4gQjw.js → da-DK-CrBk2y5x.js} +0 -0
- /package/dist/{da-DK-DAHcK0Md2.js → da-DK-CzCkRjoI2.js} +0 -0
- /package/dist/{da-DK-BDachfZH.js → da-DK-CzFS-0y6.js} +0 -0
- /package/dist/{da-DK-CcLM8SA22.js → da-DK-DJ5ddVnr2.js} +0 -0
- /package/dist/{da-DK-B8aHvZ1W.js → da-DK-DaA3zK0h.js} +0 -0
- /package/dist/{da-DK-BOU9aCaN.js → da-DK-IX9UQUAb.js} +0 -0
- /package/dist/{da-DK-dLxEveOJ.js → da-DK-klGGwyxv.js} +0 -0
- /package/dist/{datasetUtil-BZmNUckr.js → datasetUtil-uPWEKDf8.js} +0 -0
- /package/dist/{de-DE-BxL8NQIq.js → de-DE-BHik7H3o.js} +0 -0
- /package/dist/{de-DE-Cbpj1g3M.js → de-DE-B_L7jawo.js} +0 -0
- /package/dist/{de-DE-DUlvIvvj2.js → de-DE-Bki8tbcV2.js} +0 -0
- /package/dist/{de-DE-apC2os2u.js → de-DE-C4PzkDzF.js} +0 -0
- /package/dist/{de-DE-CKOOKYoC.js → de-DE-C9UIqdWt.js} +0 -0
- /package/dist/{de-DE-DstHFxVG.js → de-DE-CHdEma9v.js} +0 -0
- /package/dist/{de-DE-reMh5NmX2.js → de-DE-CZ4lmioI2.js} +0 -0
- /package/dist/{de-DE-C7Au1j2A.js → de-DE-CfuejIRq.js} +0 -0
- /package/dist/{de-DE-cPL-uSMG.js → de-DE-Cl0fc0U_.js} +0 -0
- /package/dist/{de-DE-B8D6bV3u.js → de-DE-DSP4aQRh.js} +0 -0
- /package/dist/{de-DE-DzLYNbSo.js → de-DE-DXkUC1-N.js} +0 -0
- /package/dist/{de-DE-D8Is4iJk.js → de-DE-XXqDUm1h.js} +0 -0
- /package/dist/{decision-maker-type-DHBYiKIe.js → decision-maker-type-CWrppE0k.js} +0 -0
- /package/dist/{decision-makers-group-CkP3dlRO.js → decision-makers-group-D53oFTHn.js} +0 -0
- /package/dist/{digital-wallet-s7FKhVg9.js → digital-wallet-CLOVHAow.js} +0 -0
- /package/dist/{document-1-CSg2AOQy.js → document-1-Dfu6EDzV.js} +0 -0
- /package/dist/{document-blurred-DHgG-aQ6.js → document-blurred-DGXvRTC8.js} +0 -0
- /package/dist/{document-cut-off-DCf-G-0l.js → document-cut-off-DbVQzqxC.js} +0 -0
- /package/dist/{document-expired-UJMQKi88.js → document-expired-DKnTJ5T9.js} +0 -0
- /package/dist/{document-front-DLpxfBfu.js → document-front-Bn5jsEIh.js} +0 -0
- /package/dist/{document-person-BhXXvTMH.js → document-person-Dgv26vCh.js} +0 -0
- /package/dist/{download-Cvkkn96A.js → download-Ct05dQIR.js} +0 -0
- /package/dist/{edit-1-CIdEs1t-.js → edit-1-m3Xin3vd.js} +0 -0
- /package/dist/{el-GR-CoPH23Qe.js → el-GR-3u6kc4gj.js} +0 -0
- /package/dist/{el-GR-mGnv3b-O.js → el-GR-B5dqrdWm.js} +0 -0
- /package/dist/{el-GR-BZ9AJNm4.js → el-GR-BP7G1Ka8.js} +0 -0
- /package/dist/{el-GR-CiverXpL.js → el-GR-BUBdTCMP.js} +0 -0
- /package/dist/{el-GR-DfW8zYK4.js → el-GR-Buy5IU8M.js} +0 -0
- /package/dist/{el-GR-C6MVbJAv.js → el-GR-CEZLeeb3.js} +0 -0
- /package/dist/{el-GR-BDXwftjw.js → el-GR-CNoP_at_.js} +0 -0
- /package/dist/{el-GR-gJ0IppFC2.js → el-GR-CZs5BPVJ2.js} +0 -0
- /package/dist/{el-GR-Dw8xMzqe.js → el-GR-Ctd3mBAX.js} +0 -0
- /package/dist/{el-GR-hquqlbpg2.js → el-GR-DocTTdq-2.js} +0 -0
- /package/dist/{el-GR-DvIXL8AR.js → el-GR-LUFCyvHj.js} +0 -0
- /package/dist/{el-GR-BRFvZNGC.js → el-GR-XuQDipDR.js} +0 -0
- /package/dist/{emitEvent-DYC1em5m.js → emitEvent-B8K0cb1F.js} +0 -0
- /package/dist/{en-US-Cd8cLmVX.js → en-US-1Tznfcwg.js} +0 -0
- /package/dist/{en-US-DHD_ENM1.js → en-US-B-_7IR6A.js} +0 -0
- /package/dist/{en-US-C0SrG99u.js → en-US-BEL_lmpv.js} +0 -0
- /package/dist/{en-US-BLuFDCyp2.js → en-US-Bf6E1v0-2.js} +0 -0
- /package/dist/{en-US-D1-68ZWE.js → en-US-BpCm0Bvk.js} +0 -0
- /package/dist/{en-US-NaoNaTO0.js → en-US-Bw9LpxPe.js} +0 -0
- /package/dist/{en-US-RmklpZAK.js → en-US-CXdfrlM6.js} +0 -0
- /package/dist/{en-US-CUsu9qhV.js → en-US-D9vXTqQr.js} +0 -0
- /package/dist/{en-US-BhctnSAK.js → en-US-DLIlixDF.js} +0 -0
- /package/dist/{en-US-_l9425V1.js → en-US-DQLhkpBE.js} +0 -0
- /package/dist/{en-US-DETk-gjx2.js → en-US-D_g_DM_a2.js} +0 -0
- /package/dist/{en-US-CuX4Fzoo.js → en-US-DdArZW-2.js} +0 -0
- /package/dist/{en-US-_D_BTN1a.js → en-US-DmDPhSJN.js} +0 -0
- /package/dist/{en-US-BxBNcm3S.js → en-US-HW6CoTeP.js} +0 -0
- /package/dist/{en-US-DrAjiabh.js → en-US-VZ7ytmtB.js} +0 -0
- /package/dist/{en-US-CO9Ct3Xx.js → en-US-ZFlMM5v3.js} +0 -0
- /package/dist/{en-US-aJtjsYKh.js → en-US-gwxv5v9w.js} +0 -0
- /package/dist/{en-US.instructions-DlxMDbRu.js → en-US.instructions-CbjjdEDm.js} +0 -0
- /package/dist/{en-US.instructions-CXa3foCe.js → en-US.instructions-kje2iQeM.js} +0 -0
- /package/dist/{es-ES-YXUkD4Em2.js → es-ES-BMBx28UE2.js} +0 -0
- /package/dist/{es-ES-D67pkLVu.js → es-ES-BPXpnHRY.js} +0 -0
- /package/dist/{es-ES-B2MIlPdM.js → es-ES-BQyI--wB.js} +0 -0
- /package/dist/{es-ES-D7pe0Z8H.js → es-ES-CB4LW8fA.js} +0 -0
- /package/dist/{es-ES-C19HaQVX.js → es-ES-Cn6TsINc.js} +0 -0
- /package/dist/{es-ES-zeUfuQRw.js → es-ES-DB77kzqT.js} +0 -0
- /package/dist/{es-ES-Bwhnseeu.js → es-ES-DBxs7iF7.js} +0 -0
- /package/dist/{es-ES-0O9y1_Bc.js → es-ES-DFYOkj68.js} +0 -0
- /package/dist/{es-ES-DnmrjEd02.js → es-ES-DGmySxC42.js} +0 -0
- /package/dist/{es-ES-BAAL2h3R.js → es-ES-QIbBo_YM.js} +0 -0
- /package/dist/{es-ES-CAuzNvPf.js → es-ES-RzKcfNXi.js} +0 -0
- /package/dist/{es-ES-DFg_LlqD.js → es-ES-oq21mjwX.js} +0 -0
- /package/dist/{et-EE-Lw-rTsG-.js → et-EE-BSBN_3SH.js} +0 -0
- /package/dist/{et-EE-DCEDrMl2.js → et-EE-BWE9LBIW.js} +0 -0
- /package/dist/{et-EE-DXoF-AJ72.js → et-EE-Bq6ySoVT2.js} +0 -0
- /package/dist/{et-EE-Dszx65le2.js → et-EE-CPykMmP6.js} +0 -0
- /package/dist/{et-EE-Dg93VJbx.js → et-EE-CfkcHuFD.js} +0 -0
- /package/dist/{et-EE-DJWVyTVM.js → et-EE-Clm5xG7H.js} +0 -0
- /package/dist/{et-EE-C4U93xrJ.js → et-EE-CuuT6UiF.js} +0 -0
- /package/dist/{et-EE-CPdaJJkL.js → et-EE-D8EAo5UR.js} +0 -0
- /package/dist/{et-EE-M5V-MgVM.js → et-EE-Dj0jysHw.js} +0 -0
- /package/dist/{et-EE-30-8FeA2.js → et-EE-RpLsFwBS.js} +0 -0
- /package/dist/{et-EE-DZhr4TrQ2.js → et-EE-go_L8yC52.js} +0 -0
- /package/dist/{external-link-BNgSBwiX.js → external-link-BxiqXr7-.js} +0 -0
- /package/dist/{fi-FI-wRYER_Hf.js → fi-FI-4ckffUlB.js} +0 -0
- /package/dist/{fi-FI-Ba0VbJdZ.js → fi-FI-6U5kDy9_.js} +0 -0
- /package/dist/{fi-FI-DZyEs_5S.js → fi-FI-BYm7CUY2.js} +0 -0
- /package/dist/{fi-FI-BrmYMDbY.js → fi-FI-BhZIWccP.js} +0 -0
- /package/dist/{fi-FI-DIKQFczn2.js → fi-FI-BmXRQB7_2.js} +0 -0
- /package/dist/{fi-FI-BNtrKnDN.js → fi-FI-CGqRN2IG.js} +0 -0
- /package/dist/{fi-FI-DZ5-w9vt.js → fi-FI-CfmDq95S.js} +0 -0
- /package/dist/{fi-FI-TDF0ZiiC.js → fi-FI-Ci2zcIZj.js} +0 -0
- /package/dist/{fi-FI-C8sI9IhQ2.js → fi-FI-DsfVixQ62.js} +0 -0
- /package/dist/{fi-FI-IwaR92iX.js → fi-FI-cUN_PaZk.js} +0 -0
- /package/dist/{fi-FI-UJLb8Vk42.js → fi-FI-lFhGznBk2.js} +0 -0
- /package/dist/{file-C9ni6Xpv.js → file-6a0FDVyq.js} +0 -0
- /package/dist/{filterProblemsByTaskForms-CrTqhWJT.js → filterProblemsByTaskForms-DwS9T-_E.js} +0 -0
- /package/dist/{fr-FR-B6Moi9NF2.js → fr-FR-B95kf8uT2.js} +0 -0
- /package/dist/{fr-FR-D96p0pnI2.js → fr-FR-BdjvbPB62.js} +0 -0
- /package/dist/{fr-FR-BshpJ5Y8.js → fr-FR-BqpAnmif.js} +0 -0
- /package/dist/{fr-FR-DYDmBWWT.js → fr-FR-BwhO0tqx.js} +0 -0
- /package/dist/{fr-FR-DY7D-hmZ.js → fr-FR-BxnyIkIr.js} +0 -0
- /package/dist/{fr-FR-BvOYNtjw2.js → fr-FR-CMj16KIu2.js} +0 -0
- /package/dist/{fr-FR-CYRsfbyW.js → fr-FR-CTaavJDz.js} +0 -0
- /package/dist/{fr-FR-DEdpJMql.js → fr-FR-CZs4UzUR.js} +0 -0
- /package/dist/{fr-FR-fwcu0Hmd.js → fr-FR-Cq7iIftz.js} +0 -0
- /package/dist/{fr-FR-Duc4nlp1.js → fr-FR-D1HpNhTO.js} +0 -0
- /package/dist/{fr-FR-DwYX21r1.js → fr-FR-DnX9lTEQ.js} +0 -0
- /package/dist/{fr-FR-CsoVB-yq.js → fr-FR-qy27JGqF.js} +0 -0
- /package/dist/{funds-in-CZ06mMrK.js → funds-in-DcvC0rG-.js} +0 -0
- /package/dist/{get-scenarios-D432otQE.js → get-scenarios-Bkxtd5jh.js} +0 -0
- /package/dist/{getNestedPropertyKeys-hT40QMb1.js → getNestedPropertyKeys-MEDCcSm2.js} +0 -0
- /package/dist/{getTrustedDecisionMakers-BjGAWMyl.js → getTrustedDecisionMakers-D2yayvPr.js} +0 -0
- /package/dist/{gift-I5WhHXnm.js → gift-CX0qVK1O.js} +0 -0
- /package/dist/{graph-yoQEgV-z.js → graph-idneKCfM.js} +0 -0
- /package/dist/{graph-up-CN2EGjwJ.js → graph-up-BZtGbTh8.js} +0 -0
- /package/dist/{graphical-laptop-BI3ea4L0.js → graphical-laptop-xPvp7QKa.js} +0 -0
- /package/dist/{headquarter-BPCK7l9Y.js → headquarter-pYPoPBZM.js} +0 -0
- /package/dist/{hotel-BncnkQ-E.js → hotel-DcStWscD.js} +0 -0
- /package/dist/{house-RVNoSmhG.js → house-D2ID8PM-.js} +0 -0
- /package/dist/{hr-HR-BZ31wjf92.js → hr-HR-BFy27vAx2.js} +0 -0
- /package/dist/{hr-HR-DbebVQF9.js → hr-HR-BXLWA1xd.js} +0 -0
- /package/dist/{hr-HR-DpQuBztk.js → hr-HR-BzyoDD3o.js} +0 -0
- /package/dist/{hr-HR-DNuly_NE2.js → hr-HR-CLA4RCOe2.js} +0 -0
- /package/dist/{hr-HR-CludxABG.js → hr-HR-Dgrok1MJ.js} +0 -0
- /package/dist/{hr-HR-CFAySNqh.js → hr-HR-DwVuRMPc.js} +0 -0
- /package/dist/{hr-HR-CN-cMu-7.js → hr-HR-Ngyn0CeW.js} +0 -0
- /package/dist/{hr-HR-DTIXBOS5.js → hr-HR-O1W0RKHg.js} +0 -0
- /package/dist/{hr-HR-eX7nJfwF2.js → hr-HR-gmt7xTWx2.js} +0 -0
- /package/dist/{hr-HR-dL_cUkZa.js → hr-HR-iC0oTR81.js} +0 -0
- /package/dist/{hr-HR-D6jMCNOJ.js → hr-HR-mfHZl8tO.js} +0 -0
- /package/dist/{hu-HU-ReTWA1v3.js → hu-HU-BXhdx-ju.js} +0 -0
- /package/dist/{hu-HU-Cy7itqJL2.js → hu-HU-BfD5UZoY2.js} +0 -0
- /package/dist/{hu-HU-BED5SDWE.js → hu-HU-Bxg-cJEy.js} +0 -0
- /package/dist/{hu-HU-DIgxSbaT.js → hu-HU-BzAy_OWc.js} +0 -0
- /package/dist/{hu-HU-BesI_nyc.js → hu-HU-BzQoUNaS.js} +0 -0
- /package/dist/{hu-HU-gRTFw9Qg.js → hu-HU-D_5yVmCo.js} +0 -0
- /package/dist/{hu-HU-DXHf3uuK.js → hu-HU-DceMzb3Y.js} +0 -0
- /package/dist/{hu-HU-UzZvIK5j.js → hu-HU-Dh9jdb9X2.js} +0 -0
- /package/dist/{hu-HU-e9KN8lp6.js → hu-HU-Nb-5azdf.js} +0 -0
- /package/dist/{hu-HU-BgRcKhFU2.js → hu-HU-kcQkkxnT2.js} +0 -0
- /package/dist/{hu-HU-Cy8F1a5a.js → hu-HU-yAwdJ5xn.js} +0 -0
- /package/dist/{id-blurred-BdqQKk1l.js → id-blurred-CtnwOJmP.js} +0 -0
- /package/dist/{id-cut-off-BlpfXo5W.js → id-cut-off-DTnrMaG3.js} +0 -0
- /package/dist/{id-front-Bqd59AfN.js → id-front-BArANgYI.js} +0 -0
- /package/dist/{id-glare-7GGletdB.js → id-glare-g3bnPQ3v.js} +0 -0
- /package/dist/{image-DXUQcN6d.js → image-Cu6NenSs.js} +0 -0
- /package/dist/{info-Dh7b3h-o.js → info-BFv37bQB.js} +0 -0
- /package/dist/{info-filled-DtEaaCq9.js → info-filled-d8JiHhYQ.js} +0 -0
- /package/dist/{it-IT-16IjDttL.js → it-IT-B0pCVo4V.js} +0 -0
- /package/dist/{it-IT-5sFxcqYj.js → it-IT-B2zFnv7K.js} +0 -0
- /package/dist/{it-IT-C2JfprsD.js → it-IT-BDkY4_D3.js} +0 -0
- /package/dist/{it-IT-D_ks7gfY2.js → it-IT-BUJ6M3KT2.js} +0 -0
- /package/dist/{it-IT-C75KiNnW.js → it-IT-BcBkbTJA.js} +0 -0
- /package/dist/{it-IT-H3GQLOjf2.js → it-IT-Bnm0ulsw2.js} +0 -0
- /package/dist/{it-IT-JgaaWuPW.js → it-IT-BrdXGWpw.js} +0 -0
- /package/dist/{it-IT-kER7OY9Z.js → it-IT-BxdBXweN.js} +0 -0
- /package/dist/{it-IT-CFip731S.js → it-IT-C82YvJn6.js} +0 -0
- /package/dist/{it-IT-CCtD36Df.js → it-IT-CHuVqZdn.js} +0 -0
- /package/dist/{it-IT-3PSb6tzc.js → it-IT-DK30YvbO.js} +0 -0
- /package/dist/{it-IT-BK6Yn4vc.js → it-IT-Dns-1Qbf.js} +0 -0
- /package/dist/{ja-JP-B-5Ib5IT2.js → ja-JP-B1AjiTAA2.js} +0 -0
- /package/dist/{ja-JP-DhImuhRM2.js → ja-JP-B5SxIdyP2.js} +0 -0
- /package/dist/{ja-JP-B5fRnSzi.js → ja-JP-BzBRpXM1.js} +0 -0
- /package/dist/{ja-JP-CjEZToEj.js → ja-JP-CTFB8UKL.js} +0 -0
- /package/dist/{ja-JP-BaYWre19.js → ja-JP-CYmySE1y.js} +0 -0
- /package/dist/{ja-JP-tHJpSXnY.js → ja-JP-C_E_4yUn.js} +0 -0
- /package/dist/{ja-JP-wmwnTtNd.js → ja-JP-CwVkOC4Z.js} +0 -0
- /package/dist/{ja-JP-CJ3GhLS6.js → ja-JP-D91Qq9X0.js} +0 -0
- /package/dist/{ja-JP-D6OZ6CvT.js → ja-JP-DDT5jvAB.js} +0 -0
- /package/dist/{ja-JP-BRGxY7zc.js → ja-JP-DOkTs_1m.js} +0 -0
- /package/dist/{ja-JP-C7tIgG_I.js → ja-JP-DTqjZ_RP.js} +0 -0
- /package/dist/{ja-JP-DGUCWzjv.js → ja-JP-DYccStvn.js} +0 -0
- /package/dist/{ja-JP-CJY6uqPb.js → ja-JP-DoROjKZt.js} +0 -0
- /package/dist/{keys-C4gD4IDn.js → keys-fzUbt2xF.js} +0 -0
- /package/dist/{listToRecord-CVX8Zg0w.js → listToRecord-wN5QNS0D.js} +0 -0
- /package/dist/{location-NeA9HUsd.js → location-D--t6qb1.js} +0 -0
- /package/dist/{lt-LT-CYhgjOkW.js → lt-LT-2KIisO4_.js} +0 -0
- /package/dist/{lt-LT-D2-X0BmC2.js → lt-LT-8dDfYsF82.js} +0 -0
- /package/dist/{lt-LT-BVVTYN3z.js → lt-LT-CDRKdIqh.js} +0 -0
- /package/dist/{lt-LT-BJziTet92.js → lt-LT-DKeyLOpW2.js} +0 -0
- /package/dist/{lt-LT-BHpTAvkg.js → lt-LT-DN-ykSHh.js} +0 -0
- /package/dist/{lt-LT-_MAUl9-y.js → lt-LT-DpMT3Dw2.js} +0 -0
- /package/dist/{lt-LT-i2HdquzD.js → lt-LT-Dpy8srws.js} +0 -0
- /package/dist/{lt-LT-Dkvuak-E.js → lt-LT-IP4Sz8Gn.js} +0 -0
- /package/dist/{lt-LT-CB33emTJ.js → lt-LT-OGBNEWvq.js} +0 -0
- /package/dist/{lt-LT-DX-73rzB.js → lt-LT-QPJqX0US.js} +0 -0
- /package/dist/{lt-LT-CpQj1HiE.js → lt-LT-bBBImnIr.js} +0 -0
- /package/dist/{lv-LV-ZQOBF-l7.js → lv-LV-B34caEFv.js} +0 -0
- /package/dist/{lv-LV-BeobSRYx.js → lv-LV-BlsECQxr.js} +0 -0
- /package/dist/{lv-LV-D0EFr0dt.js → lv-LV-C9zoAq4h.js} +0 -0
- /package/dist/{lv-LV-BGMkr0W_.js → lv-LV-CHzgorrn.js} +0 -0
- /package/dist/{lv-LV-C8O_oUFu2.js → lv-LV-CIkyBWzC2.js} +0 -0
- /package/dist/{lv-LV-KCxxzpdw.js → lv-LV-CaTht4v3.js} +0 -0
- /package/dist/{lv-LV-WYtMR2p9.js → lv-LV-Cbnl_BTV.js} +0 -0
- /package/dist/{lv-LV-DIopAlNr.js → lv-LV-CcQHxQxD.js} +0 -0
- /package/dist/{lv-LV-ChlCGeIJ2.js → lv-LV-D4clLiV42.js} +0 -0
- /package/dist/{lv-LV-Cz0igciN.js → lv-LV-DlQGKdqk.js} +0 -0
- /package/dist/{lv-LV-Br4-Sv0n.js → lv-LV-aPZP5Wh5.js} +0 -0
- /package/dist/{mail-COcabAMU.js → mail-CoQ5t6Ml.js} +0 -0
- /package/dist/{mapAddressLocalizationToJpAddressSchema-CbGZXKK3.js → mapAddressLocalizationToJpAddressSchema-Cp77VSSB.js} +0 -0
- /package/dist/{minus-circle-filled-CnCOR8aV.js → minus-circle-filled-BdvEdxjZ.js} +0 -0
- /package/dist/{nl-NL-BTuDiajY.js → nl-NL-2uvrEI1a.js} +0 -0
- /package/dist/{nl-NL-Cbt7ybTe.js → nl-NL-6DRNI2_h.js} +0 -0
- /package/dist/{nl-NL-BtwZkAPX.js → nl-NL-6qgh_ZGA.js} +0 -0
- /package/dist/{nl-NL-v-EVwcVy2.js → nl-NL-BCCzwWkw2.js} +0 -0
- /package/dist/{nl-NL-BjbL2DHM2.js → nl-NL-BSq1sTYp2.js} +0 -0
- /package/dist/{nl-NL-DHNIfmgo.js → nl-NL-BUzOX91N.js} +0 -0
- /package/dist/{nl-NL-D16qC_X6.js → nl-NL-BXTbqvDG.js} +0 -0
- /package/dist/{nl-NL-BLie9b-e.js → nl-NL-BXVVoxv9.js} +0 -0
- /package/dist/{nl-NL-DKpjFbpm.js → nl-NL-CQ0C9N3m.js} +0 -0
- /package/dist/{nl-NL-BKmH_4rF.js → nl-NL-DI_aNYah.js} +0 -0
- /package/dist/{nl-NL-ByNQn3Ma.js → nl-NL-K11VO8LF.js} +0 -0
- /package/dist/{nl-NL-BQYwAxdm.js → nl-NL-kUujSdLA.js} +0 -0
- /package/dist/{no-NO-YjH9dIrD.js → no-NO-A9MwJ3y8.js} +0 -0
- /package/dist/{no-NO-CX2Lkpbt.js → no-NO-BNGILdWq.js} +0 -0
- /package/dist/{no-NO-DjTYr6zQ.js → no-NO-BNL9v_bl.js} +0 -0
- /package/dist/{no-NO-DkmYSpeK.js → no-NO-C037FAac.js} +0 -0
- /package/dist/{no-NO-D6C6Imfk.js → no-NO-CCtUTnqP.js} +0 -0
- /package/dist/{no-NO-DM2yevPv2.js → no-NO-CRUvKPvc2.js} +0 -0
- /package/dist/{no-NO-BXHYRl8q.js → no-NO-Cd0Nf4Kq.js} +0 -0
- /package/dist/{no-NO-BQ0yU2Fq.js → no-NO-DAK8yauA.js} +0 -0
- /package/dist/{no-NO-e0MZntB62.js → no-NO-DN8WIiN32.js} +0 -0
- /package/dist/{no-NO-CG5RteG_.js → no-NO-FfT6jM26.js} +0 -0
- /package/dist/{no-NO-ByxOHA9n.js → no-NO-hgC3Li7e.js} +0 -0
- /package/dist/{onfido-logo-Dx5zgOtY.js → onfido-logo-BXb14yhW.js} +0 -0
- /package/dist/{options-horizontal-CAznj1Vl.js → options-horizontal-p3bn-0YP.js} +0 -0
- /package/dist/{partner-BgRPuALU.js → partner-DAXf38Tp.js} +0 -0
- /package/dist/{passport-blurred-UX6p2KZ5.js → passport-blurred-DOfrfF0N.js} +0 -0
- /package/dist/{passport-cut-off-C4H57LgT.js → passport-cut-off-DwNmCL8v.js} +0 -0
- /package/dist/{passport-front-K9nDuC3A.js → passport-front-DLG09n5u.js} +0 -0
- /package/dist/{passport-front-green-8qBM6eHY.js → passport-front-green-BB3zGc3y.js} +0 -0
- /package/dist/{passport-glare-Cw4IMJSe.js → passport-glare-CkhvC36x.js} +0 -0
- /package/dist/{pay-by-link-plane-CblqKlzx.js → pay-by-link-plane-JUQ9G9Rb.js} +0 -0
- /package/dist/{payout-Dt-Rj2Dk.js → payout-Bp5yyaPy.js} +0 -0
- /package/dist/{payout-bank-accounts-CfRx1pMC.js → payout-bank-accounts-BN3KdVID.js} +0 -0
- /package/dist/{payout-verification-instant-Bb5s_R8u.js → payout-verification-instant-DOCBn9if.js} +0 -0
- /package/dist/{payout-verification-manual-TFGUjvg1.js → payout-verification-manual-DmhxH6y1.js} +0 -0
- /package/dist/{pdf-r5Zgu15b.js → pdf-nzZcuCSf.js} +0 -0
- /package/dist/{pdf.worker.min-BOMsFOV0.js → pdf.worker.min-DE42kNC_.js} +0 -0
- /package/dist/{person-CVbQ7VXy.js → person-CBe70ddT.js} +0 -0
- /package/dist/{pl-PL-NJRqx5mk.js → pl-PL-59aMUgvV.js} +0 -0
- /package/dist/{pl-PL-x6CltZUu.js → pl-PL-BVYFKqiG.js} +0 -0
- /package/dist/{pl-PL-DvZBOEKI.js → pl-PL-CpA94K5Z.js} +0 -0
- /package/dist/{pl-PL-DNdGYT-E.js → pl-PL-D3NzOQQU.js} +0 -0
- /package/dist/{pl-PL-aWhB1xes.js → pl-PL-DDxFQhlh.js} +0 -0
- /package/dist/{pl-PL-DjF-DV6q2.js → pl-PL-DYmR6-f32.js} +0 -0
- /package/dist/{pl-PL-DC1Izk5I2.js → pl-PL-D_FRhmnE2.js} +0 -0
- /package/dist/{pl-PL-C_ys8FVH.js → pl-PL-DeAckp5p.js} +0 -0
- /package/dist/{pl-PL-W0KU0YTp.js → pl-PL-DhJQbVhT.js} +0 -0
- /package/dist/{pl-PL-Bkdj5z2L.js → pl-PL-R2xSHe-z.js} +0 -0
- /package/dist/{pl-PL-R6bNjSQB.js → pl-PL-vU5_jmwK.js} +0 -0
- /package/dist/{plaid-logo-BzQDyZCh.js → plaid-logo-CjpdjGNT.js} +0 -0
- /package/dist/{plus-BbVfOPFJ.js → plus-DMRvapmz.js} +0 -0
- /package/dist/{plus-circle-filled-D9vpzgFw.js → plus-circle-filled-DUmcjiaH.js} +0 -0
- /package/dist/{pt-BR-DGIHaJzj.js → pt-BR-7qFnlWUK.js} +0 -0
- /package/dist/{pt-BR-CdeMGenL.js → pt-BR-B3IHhi-A.js} +0 -0
- /package/dist/{pt-BR-7FV4JArc.js → pt-BR-B5i0TdE9.js} +0 -0
- /package/dist/{pt-BR-CjoezwB32.js → pt-BR-BDEGOFU52.js} +0 -0
- /package/dist/{pt-BR-NPzViBFm2.js → pt-BR-BJXrQjtE2.js} +0 -0
- /package/dist/{pt-BR-VlNZLr8f.js → pt-BR-BM2eCcyF.js} +0 -0
- /package/dist/{pt-BR-BgiNMjMc.js → pt-BR-BdpAz26L.js} +0 -0
- /package/dist/{pt-BR-B0zBNcPy.js → pt-BR-BjLvBssy.js} +0 -0
- /package/dist/{pt-BR-CTxtcXRe.js → pt-BR-C7pxsNe-.js} +0 -0
- /package/dist/{pt-BR-Bb7L6a3z.js → pt-BR-D8hxPoFJ.js} +0 -0
- /package/dist/{pt-BR-C8nFgTo3.js → pt-BR-DGRn2oS9.js} +0 -0
- /package/dist/{pt-BR-DKqiUfwf.js → pt-BR-u_Sv-NkV.js} +0 -0
- /package/dist/{pt-PT-BEkfXdZQ.js → pt-PT-3DrMwWiz.js} +0 -0
- /package/dist/{pt-PT-C0GJNK9V.js → pt-PT-BBd1NJRh.js} +0 -0
- /package/dist/{pt-PT-Cu2VcZdJ.js → pt-PT-BTZOJZU6.js} +0 -0
- /package/dist/{pt-PT-CXRUusv_.js → pt-PT-BXlxPqah.js} +0 -0
- /package/dist/{pt-PT-Dmor9x6o.js → pt-PT-Bmgh2Wtd.js} +0 -0
- /package/dist/{pt-PT-BjB2uXSn.js → pt-PT-BqRmSpLn.js} +0 -0
- /package/dist/{pt-PT-CFcpXSKo.js → pt-PT-CEPDmPY7.js} +0 -0
- /package/dist/{pt-PT-D9QbJxzN.js → pt-PT-CI47ZET7.js} +0 -0
- /package/dist/{pt-PT-CWzCKCL8.js → pt-PT-CJVVRZyV.js} +0 -0
- /package/dist/{pt-PT-BRLRSNh92.js → pt-PT-CUSJRIfa2.js} +0 -0
- /package/dist/{pt-PT-Czy2_X1t.js → pt-PT-DBFZcKHi.js} +0 -0
- /package/dist/{pt-PT-CJpshC902.js → pt-PT-DFy0vZ_Z2.js} +0 -0
- /package/dist/{recurring-Cm_CVMBM.js → recurring-DoBaCr6V.js} +0 -0
- /package/dist/{reporting-BHGFV7yB.js → reporting-CuOey349.js} +0 -0
- /package/dist/{revenue-accelerate-uQp3MMWP.js → revenue-accelerate-BTrH1Kyc.js} +0 -0
- /package/dist/{review-DkLO25RT.js → review-CkmDUkhx.js} +0 -0
- /package/dist/{ro-RO-BRtHlgch.js → ro-RO-7iyzlI6_.js} +0 -0
- /package/dist/{ro-RO-tf_g2ahZ.js → ro-RO-B1HkfIdK.js} +0 -0
- /package/dist/{ro-RO-B3hA8dZo.js → ro-RO-Bf10OHuY.js} +0 -0
- /package/dist/{ro-RO-DLtPW1MX.js → ro-RO-Bl3OcC_Q.js} +0 -0
- /package/dist/{ro-RO-BCHziTju.js → ro-RO-C3g0pSKU.js} +0 -0
- /package/dist/{ro-RO-pGnT9ywa.js → ro-RO-C4lcxnWO.js} +0 -0
- /package/dist/{ro-RO-DoVJzEzv2.js → ro-RO-CA7NoMAg2.js} +0 -0
- /package/dist/{ro-RO-DsFDnuty2.js → ro-RO-CcQh__lV2.js} +0 -0
- /package/dist/{ro-RO-BHOTFHon.js → ro-RO-CfsDLBM4.js} +0 -0
- /package/dist/{ro-RO-C7wPFb1a.js → ro-RO-GldC3IcE.js} +0 -0
- /package/dist/{ro-RO-CT5uU3Rj.js → ro-RO-e45j_CyV.js} +0 -0
- /package/dist/{save-DsGcWvER.js → save-DtVvA4bm.js} +0 -0
- /package/dist/{search-BDJlT2t5.js → search-CwNfiquk.js} +0 -0
- /package/dist/{show-DLGXHz7A.js → show-mWAebR3W.js} +0 -0
- /package/dist/{singpass-logo-D1Z8HeLC.js → singpass-logo-DESKvfOJ.js} +0 -0
- /package/dist/{singpass-logo-small-CQC5e3lx.js → singpass-logo-small-CBW6iXWW.js} +0 -0
- /package/dist/{sk-SK-xqB2A84D.js → sk-SK-BSv5VXox.js} +0 -0
- /package/dist/{sk-SK--ohjuOMW.js → sk-SK-BpMbHWuR.js} +0 -0
- /package/dist/{sk-SK-CUBTdFYv2.js → sk-SK-C8d17RvE2.js} +0 -0
- /package/dist/{sk-SK-Bt_mgDPR.js → sk-SK-C9Cst_ER.js} +0 -0
- /package/dist/{sk-SK-DaSC7QsL.js → sk-SK-Cd48q22c.js} +0 -0
- /package/dist/{sk-SK-BlhtDQel.js → sk-SK-ChCtHT1F.js} +0 -0
- /package/dist/{sk-SK-CV-IEeZp2.js → sk-SK-D6xioiMY2.js} +0 -0
- /package/dist/{sk-SK-DkianEJG.js → sk-SK-DXRluu5W.js} +0 -0
- /package/dist/{sk-SK-DwG8xkcP.js → sk-SK-tk_1fC8g.js} +0 -0
- /package/dist/{sk-SK-HLMucQBt.js → sk-SK-wzPlUKNj.js} +0 -0
- /package/dist/{sk-SK-DNKyL6Hl.js → sk-SK-y3Dcsvdc.js} +0 -0
- /package/dist/{sl-SI-PsgMnJ-h.js → sl-SI-B-t1nY1x.js} +0 -0
- /package/dist/{sl-SI-CKA1EM-J.js → sl-SI-Bfdb7gjw.js} +0 -0
- /package/dist/{sl-SI-Cg7e65lb2.js → sl-SI-CRk5cPQq2.js} +0 -0
- /package/dist/{sl-SI-DNgxTuIJ.js → sl-SI-CX-qAqMO.js} +0 -0
- /package/dist/{sl-SI-DyC9aHm4.js → sl-SI-ChCyYnjd.js} +0 -0
- /package/dist/{sl-SI-Br0agZj0.js → sl-SI-D6evG9fK.js} +0 -0
- /package/dist/{sl-SI-DnpKMUhR.js → sl-SI-DiLuydaN.js} +0 -0
- /package/dist/{sl-SI-qFjMTfKg2.js → sl-SI-DpgW-r5w.js} +0 -0
- /package/dist/{sl-SI-C6KiyZyh.js → sl-SI-DvXrcue1.js} +0 -0
- /package/dist/{sl-SI-DWJzi8r_.js → sl-SI-gUNcHR30.js} +0 -0
- /package/dist/{sl-SI-BlsVauZ9.js → sl-SI-uhzy0HC12.js} +0 -0
- /package/dist/{solution-payments-CVSsXgo9.js → solution-payments-rYk5tB74.js} +0 -0
- /package/dist/{store-COYFYobc.js → store-vKCOvUVJ.js} +0 -0
- /package/dist/{sv-SE-CWkxvOEr.js → sv-SE-4oyeOi4Y.js} +0 -0
- /package/dist/{sv-SE-Dsrb2FFw.js → sv-SE-BOEa4u9p.js} +0 -0
- /package/dist/{sv-SE-DTpqjuJd.js → sv-SE-BhwzqPYQ.js} +0 -0
- /package/dist/{sv-SE-BMG9p-1J.js → sv-SE-BoITS9np.js} +0 -0
- /package/dist/{sv-SE-D3hPP-Mp.js → sv-SE-Bpo3MgEr.js} +0 -0
- /package/dist/{sv-SE-BM8WESGs.js → sv-SE-Bx_Mk5xx.js} +0 -0
- /package/dist/{sv-SE-CTB2971Y.js → sv-SE-CMkXS2cO.js} +0 -0
- /package/dist/{sv-SE-Q7zk4V9W2.js → sv-SE-CRPJUyOE2.js} +0 -0
- /package/dist/{sv-SE-xHYNkpLd.js → sv-SE-DhNNMEwq.js} +0 -0
- /package/dist/{sv-SE-C-MkmGdq.js → sv-SE-DlYizFz8.js} +0 -0
- /package/dist/{sv-SE-BDo_8Bf92.js → sv-SE-Iv-yFbrD2.js} +0 -0
- /package/dist/{sv-SE-CBNLo-2r.js → sv-SE-i9koytKp.js} +0 -0
- /package/dist/{taskStatus-CvMqhrOK.js → taskStatus-DPUG3NS3.js} +0 -0
- /package/dist/{taskTypes-DWaxzvnQ.js → taskTypes-CDFRB7A4.js} +0 -0
- /package/dist/{tax-reporting-graph-368jm2t2.js → tax-reporting-graph-DNooZCbb.js} +0 -0
- /package/dist/{terminal-1-C98Z-HQT.js → terminal-1-BOv4YorG.js} +0 -0
- /package/dist/{tink-logo-b8D53Kmq.js → tink-logo-CqXir9XT.js} +0 -0
- /package/dist/{trustMemberGuidance-paR1FXfI.js → trustMemberGuidance-2rtnGkMG.js} +0 -0
- /package/dist/{types-BklAlvuU.js → types-CNZsK2dZ.js} +0 -0
- /package/dist/{upload-hnGE-ssH.js → upload-StAXlB73.js} +0 -0
- /package/dist/{us-check-BgX0xeVz.js → us-check-BW6K3WxJ.js} +0 -0
- /package/dist/{us-check-account-number-DKJO3VuM.js → us-check-account-number-BME1X1ZC.js} +0 -0
- /package/dist/{us-check-routing-number-C0VuN5fT.js → us-check-routing-number-UatGnO16.js} +0 -0
- /package/dist/{useToggleContext-CLfowItk.js → useToggleContext-B57-85xe.js} +0 -0
- /package/dist/{validate-_5wbUbU9.js → validate-maTmOby_.js} +0 -0
- /package/dist/{view-verification-status-C3zAZhYk.js → view-verification-status-CtW_qUMg.js} +0 -0
- /package/dist/{warning-circle-fill-BjxM4aj1.js → warning-circle-fill-BZhgf5Z8.js} +0 -0
- /package/dist/{warning-diamond-filled-CtCJ9xf8.js → warning-diamond-filled-hJarrWMO.js} +0 -0
- /package/dist/{webinar-D_daN2X8.js → webinar-j4tLxNVB.js} +0 -0
- /package/dist/{yapily-logo-ByJSYIQm.js → yapily-logo-upggwl6u.js} +0 -0
|
@@ -0,0 +1,2482 @@
|
|
|
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] = "44aaeade-bb87-4f14-9963-deeb9a705bea", e._sentryDebugIdIdentifier = "sentry-dbid-44aaeade-bb87-4f14-9963-deeb9a705bea");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
import { r as useTranslation } from "./translation-BHUZ_WP7.js";
|
|
6
|
+
import { t as LegalEntityTypes } from "./legal-entity-type-VIfNYnJP.js";
|
|
7
|
+
import { l as keysOf } from "./AnalyticsContext-CbM5V7Nw.js";
|
|
8
|
+
import { t as CountryCodes } from "./country-code-BjUoKbAN.js";
|
|
9
|
+
import { t as TaskTypes } from "./taskTypes-CDFRB7A4.js";
|
|
10
|
+
import { t as SettingNames } from "./types-CNZsK2dZ.js";
|
|
11
|
+
import { t as CompanyTypesValues } from "./company-types-value-BYTAKfjo.js";
|
|
12
|
+
import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, u as spacer } from "./MaskedInput-WaAdSNPN.js";
|
|
13
|
+
import { c as COUNTRIES_WITH_STATES_DATASET } from "./utils-C1DzW0Hz.js";
|
|
14
|
+
import { t as isJapanLocalizationEnabled } from "./japanSupportUtils-DqvGrGbm.js";
|
|
15
|
+
import { t as uppercase } from "./uppercase-DKruhEuk.js";
|
|
16
|
+
import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-DMnU4iGe.js";
|
|
17
|
+
import { t as Field } from "./Field-Vzlyifk5.js";
|
|
18
|
+
import { t as RadioGroup } from "./RadioGroup-Bc8reZVM.js";
|
|
19
|
+
import { t as createFormRules } from "./form-rules-CvdV5rPY.js";
|
|
20
|
+
import { n as isDateOlderThanAYear } from "./utils-Do5CMPEN.js";
|
|
21
|
+
import { useCallback, useEffect, useMemo } from "preact/hooks";
|
|
22
|
+
import { jsx } from "preact/jsx-runtime";
|
|
23
|
+
//#region src/types/datasets/state-code.ts
|
|
24
|
+
var StateCodesUS = {
|
|
25
|
+
Alabama: "AL",
|
|
26
|
+
Alaska: "AK",
|
|
27
|
+
Arizona: "AZ",
|
|
28
|
+
Arkansas: "AR",
|
|
29
|
+
California: "CA",
|
|
30
|
+
Colorado: "CO",
|
|
31
|
+
Connecticut: "CT",
|
|
32
|
+
Delaware: "DE",
|
|
33
|
+
DistrictOfColumbia: "DC",
|
|
34
|
+
Florida: "FL",
|
|
35
|
+
Georgia: "GA",
|
|
36
|
+
Hawaii: "HI",
|
|
37
|
+
Idaho: "ID",
|
|
38
|
+
Illinois: "IL",
|
|
39
|
+
Indiana: "IN",
|
|
40
|
+
Iowa: "IA",
|
|
41
|
+
Kansas: "KS",
|
|
42
|
+
Kentucky: "KY",
|
|
43
|
+
Louisiana: "LA",
|
|
44
|
+
Maine: "ME",
|
|
45
|
+
Maryland: "MD",
|
|
46
|
+
Massachusetts: "MA",
|
|
47
|
+
Michigan: "MI",
|
|
48
|
+
Minnesota: "MN",
|
|
49
|
+
Mississippi: "MS",
|
|
50
|
+
Missouri: "MO",
|
|
51
|
+
Montana: "MT",
|
|
52
|
+
Nebraska: "NE",
|
|
53
|
+
Nevada: "NV",
|
|
54
|
+
NewHampshire: "NH",
|
|
55
|
+
NewJersey: "NJ",
|
|
56
|
+
NewMexico: "NM",
|
|
57
|
+
NewYork: "NY",
|
|
58
|
+
NorthCarolina: "NC",
|
|
59
|
+
NorthDakota: "ND",
|
|
60
|
+
Ohio: "OH",
|
|
61
|
+
Oklahoma: "OK",
|
|
62
|
+
Oregon: "OR",
|
|
63
|
+
Pennsylvania: "PA",
|
|
64
|
+
RhodeIsland: "RI",
|
|
65
|
+
SouthCarolina: "SC",
|
|
66
|
+
SouthDakota: "SD",
|
|
67
|
+
Tennessee: "TN",
|
|
68
|
+
Texas: "TX",
|
|
69
|
+
Utah: "UT",
|
|
70
|
+
Vermont: "VT",
|
|
71
|
+
Virginia: "VA",
|
|
72
|
+
Washington: "WA",
|
|
73
|
+
WestVirginia: "WV",
|
|
74
|
+
Wisconsin: "WI",
|
|
75
|
+
Wyoming: "WY",
|
|
76
|
+
ArmedForcesAmericas: "AA",
|
|
77
|
+
ArmedForcesEurope: "AE",
|
|
78
|
+
ArmedForcesPacific: "AP"
|
|
79
|
+
};
|
|
80
|
+
//#endregion
|
|
81
|
+
//#region src/utils/masking/masks/businessRegistrationNumberMasks.ts
|
|
82
|
+
var businessRegistrationNumberMasks = {
|
|
83
|
+
[CountryCodes.Austria]: {
|
|
84
|
+
firmenbuchnummer: { mask: makeMask({
|
|
85
|
+
type: "input",
|
|
86
|
+
allow: /[TF]/
|
|
87
|
+
}, {
|
|
88
|
+
type: "input",
|
|
89
|
+
allow: /N/,
|
|
90
|
+
optional: true
|
|
91
|
+
}, ...numericInputs(3), ...numericInputs(3, true), {
|
|
92
|
+
type: "input",
|
|
93
|
+
allow: /[a-z]/
|
|
94
|
+
}) },
|
|
95
|
+
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)) }
|
|
96
|
+
},
|
|
97
|
+
[CountryCodes.Australia]: {
|
|
98
|
+
default: { mask: makeMask(...numericInputs(3), spacer, ...numericInputs(3), spacer, ...numericInputs(3)) },
|
|
99
|
+
associationIncorporated: {
|
|
100
|
+
mask: makeMask(...alphanumericInputs(3), ...alphanumericInputs(20, true)),
|
|
101
|
+
transformOnType: uppercase
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
[CountryCodes.Belgium]: { default: { mask: makeMask(...numericInputs(10)) } },
|
|
105
|
+
[CountryCodes.Brazil]: { default: { mask: makeMask(...numericInputs(2), ...nonInputs(" . "), ...numericInputs(3), ...nonInputs(" . "), ...numericInputs(3), ...nonInputs(" / "), ...numericInputs(4), ...nonInputs(" - "), ...numericInputs(2)) } },
|
|
106
|
+
[CountryCodes.Bulgaria]: { default: { mask: makeMask(...numericInputs(9)) } },
|
|
107
|
+
[CountryCodes.Canada]: { default: {
|
|
108
|
+
mask: makeMask(...alphanumericInputs(5), ...alphanumericInputs(5, true)),
|
|
109
|
+
transformOnType: uppercase
|
|
110
|
+
} },
|
|
111
|
+
[CountryCodes.Croatia]: {
|
|
112
|
+
default: { mask: makeMask(...numericInputs(9)) },
|
|
113
|
+
[CompanyTypesValues.SOLE_PROPRIETORSHIP]: { mask: makeMask(...numericInputs(8)) }
|
|
114
|
+
},
|
|
115
|
+
[CountryCodes.Cyprus]: { default: {
|
|
116
|
+
mask: makeMask(...customInputs(1, /^[COP]$/), ...numericInputs(1), ...numericInputs(7, true)),
|
|
117
|
+
transformOnType: uppercase
|
|
118
|
+
} },
|
|
119
|
+
[CountryCodes.CzechRepublic]: { default: { mask: makeMask(...numericInputs(8), ...numericInputs(2, true)) } },
|
|
120
|
+
[CountryCodes.Denmark]: { default: { mask: makeMask(...numericInputs(8)) } },
|
|
121
|
+
[CountryCodes.Estonia]: { default: { mask: makeMask(...numericInputs(8)) } },
|
|
122
|
+
[CountryCodes.Finland]: { default: { mask: makeMask(...numericInputs(7), spacer, ...nonInputs("-", { includeInValue: true }), spacer, ...numericInputs(1)) } },
|
|
123
|
+
[CountryCodes.France]: {
|
|
124
|
+
SIRET: { mask: makeMask(...numericInputs(9), ...nonInputs(" - "), ...numericInputs(5)) },
|
|
125
|
+
RNA: { mask: makeMask(...nonInputs("W", { includeInValue: true }), ...numericInputs(1), ...alphanumericInputs(1), ...numericInputs(7)) }
|
|
126
|
+
},
|
|
127
|
+
[CountryCodes.Germany]: { default: {
|
|
128
|
+
mask: makeMask(...alphanumericInputs(3), ...customInputs(17, /[A-Z0-9-]/, true)),
|
|
129
|
+
transformOnType: uppercase
|
|
130
|
+
} },
|
|
131
|
+
[CountryCodes.Gibraltar]: { default: {
|
|
132
|
+
mask: makeMask(...alphanumericInputs(1), ...alphanumericInputs(7, true)),
|
|
133
|
+
transformOnType: uppercase
|
|
134
|
+
} },
|
|
135
|
+
[CountryCodes.Greece]: { default: { mask: makeMask(...numericInputs(12)) } },
|
|
136
|
+
[CountryCodes.Guernsey]: { default: { mask: makeMask(...numericInputs(1), ...numericInputs(8, true)) } },
|
|
137
|
+
[CountryCodes.HongKong]: { default: { mask: makeMask(...numericInputs(7)) } },
|
|
138
|
+
[CountryCodes.Hungary]: {
|
|
139
|
+
default: { mask: makeMask(...numericInputs(2), ...nonInputs(" - "), ...numericInputs(2), ...nonInputs(" - "), ...numericInputs(6)) },
|
|
140
|
+
nyilvantartasiSzam: { mask: makeMask(...numericInputs(10)) }
|
|
141
|
+
},
|
|
142
|
+
[CountryCodes.Ireland]: { default: { mask: makeMask(...numericInputs(1), ...numericInputs(7, true)) } },
|
|
143
|
+
[CountryCodes.IsleOfMan]: { default: {
|
|
144
|
+
mask: makeMask(...numericInputs(6), ...alphaInputs(1)),
|
|
145
|
+
transformOnType: uppercase
|
|
146
|
+
} },
|
|
147
|
+
[CountryCodes.Italy]: {
|
|
148
|
+
partitaIVA: { mask: makeMask(...numericInputs(11)) },
|
|
149
|
+
CCIAA: {
|
|
150
|
+
mask: makeMask(...alphaInputs(2), ...numericInputs(6), ...numericInputs(1, true)),
|
|
151
|
+
transformOnType: uppercase
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
[CountryCodes.Japan]: { default: { mask: makeMask(...numericInputs(12)) } },
|
|
155
|
+
[CountryCodes.Jersey]: { default: {
|
|
156
|
+
mask: makeMask(...alphanumericInputs(1), ...alphanumericInputs(8, true)),
|
|
157
|
+
transformOnType: uppercase
|
|
158
|
+
} },
|
|
159
|
+
[CountryCodes.Latvia]: { default: { mask: makeMask(...numericInputs(11)) } },
|
|
160
|
+
[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)) } },
|
|
161
|
+
[CountryCodes.Lithuania]: { default: { mask: makeMask(...numericInputs(6), ...numericInputs(3, true)) } },
|
|
162
|
+
[CountryCodes.Luxembourg]: { default: {
|
|
163
|
+
mask: makeMask(...alphaInputs(1), ...numericInputs(9, true)),
|
|
164
|
+
transformOnType: uppercase
|
|
165
|
+
} },
|
|
166
|
+
[CountryCodes.Malaysia]: { default: { mask: makeMask(...numericInputs(7), ...numericInputs(5, true)) } },
|
|
167
|
+
[CountryCodes.Malta]: { default: {
|
|
168
|
+
mask: makeMask(...customInputs(1, /[CP]/), spacer, ...numericInputs(4), ...numericInputs(2, true)),
|
|
169
|
+
transformOnType: uppercase
|
|
170
|
+
} },
|
|
171
|
+
[CountryCodes.Mexico]: { default: { mask: makeMask(...alphanumericInputs(12)) } },
|
|
172
|
+
[CountryCodes.Monaco]: {
|
|
173
|
+
default: {
|
|
174
|
+
mask: makeMask(...alphanumericInputs(8), ...alphanumericInputs(3, true)),
|
|
175
|
+
transformOnType: uppercase
|
|
176
|
+
},
|
|
177
|
+
[CompanyTypesValues.SOLE_PROPRIETORSHIP]: {
|
|
178
|
+
mask: makeMask(...alphanumericInputs(8), ...alphanumericInputs(3, true)),
|
|
179
|
+
transformOnType: uppercase
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
[CountryCodes.Netherlands]: { default: { mask: makeMask(...numericInputs(8)) } },
|
|
183
|
+
[CountryCodes.NewZealand]: {
|
|
184
|
+
NZBN: { mask: makeMask(...numericInputs(13)) },
|
|
185
|
+
companyNumberNZ: { mask: makeMask(...numericInputs(7)) }
|
|
186
|
+
},
|
|
187
|
+
[CountryCodes.Norway]: { default: { mask: makeMask(...numericInputs(9)) } },
|
|
188
|
+
[CountryCodes.Poland]: {
|
|
189
|
+
krsNumber: { mask: makeMask(...numericInputs(10)) },
|
|
190
|
+
regon: { mask: makeMask(...numericInputs(9)) }
|
|
191
|
+
},
|
|
192
|
+
[CountryCodes.Portugal]: { default: { mask: makeMask(...numericInputs(9)) } },
|
|
193
|
+
[CountryCodes.Romania]: {
|
|
194
|
+
roRegNumberOldFormat: {
|
|
195
|
+
mask: makeMask(...alphaInputs(1), ...numericInputs(1), ...numericInputs(1, true), ...customInputs(1, /[/]/), ...numericInputs(1), ...numericInputs(8, true), ...customInputs(1, /[/]/), ...numericInputs(4)),
|
|
196
|
+
transformOnType: uppercase
|
|
197
|
+
},
|
|
198
|
+
roRegNumberNewFormat: {
|
|
199
|
+
mask: makeMask({
|
|
200
|
+
type: "input",
|
|
201
|
+
allow: /[JFC]/
|
|
202
|
+
}, ...numericInputs(13)),
|
|
203
|
+
transformOnType: uppercase
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
[CountryCodes.Singapore]: { default: {
|
|
207
|
+
mask: makeMask(...alphanumericInputs(9), ...alphanumericInputs(1, true)),
|
|
208
|
+
transformOnType: uppercase
|
|
209
|
+
} },
|
|
210
|
+
[CountryCodes.Slovakia]: { default: { mask: makeMask(...numericInputs(8)) } },
|
|
211
|
+
[CountryCodes.Slovenia]: { default: { mask: makeMask(...numericInputs(10)) } },
|
|
212
|
+
[CountryCodes.Spain]: { default: {
|
|
213
|
+
mask: makeMask(...alphaInputs(1), ...alphanumericInputs(8)),
|
|
214
|
+
transformOnType: uppercase
|
|
215
|
+
} },
|
|
216
|
+
[CountryCodes.Sweden]: { default: { mask: makeMask(...numericInputs(6), ...nonInputs(" - "), ...numericInputs(4)) } },
|
|
217
|
+
[CountryCodes.Switzerland]: { default: { mask: makeMask(...nonInputs("CHE", { includeInValue: true }), ...nonInputs(" - "), ...numericInputs(3), ...nonInputs(" . "), ...numericInputs(3), ...nonInputs(" . "), ...numericInputs(3)) } },
|
|
218
|
+
[CountryCodes.UnitedKingdom]: {
|
|
219
|
+
default: {
|
|
220
|
+
mask: makeMask(...alphanumericInputs(8)),
|
|
221
|
+
transformOnType: uppercase
|
|
222
|
+
},
|
|
223
|
+
nonProfit: {
|
|
224
|
+
mask: makeMask(...alphanumericInputs(6), ...customInputs(1, /[a-zA-Z0-9-]/, true), ...alphanumericInputs(1, true)),
|
|
225
|
+
transformOnType: uppercase
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
[CountryCodes.UnitedStates]: {
|
|
229
|
+
[StateCodesUS.Alabama]: {
|
|
230
|
+
mask: makeMask(...numericInputs(9), ...nonInputs(" "), ...nonInputs(StateCodesUS.Alabama)),
|
|
231
|
+
transformOnType: uppercase
|
|
232
|
+
},
|
|
233
|
+
[StateCodesUS.Alaska]: {
|
|
234
|
+
mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Alaska)),
|
|
235
|
+
transformOnType: uppercase
|
|
236
|
+
},
|
|
237
|
+
[StateCodesUS.Arizona]: {
|
|
238
|
+
mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Arizona)),
|
|
239
|
+
transformOnType: uppercase
|
|
240
|
+
},
|
|
241
|
+
[StateCodesUS.Arkansas]: {
|
|
242
|
+
mask: makeMask({
|
|
243
|
+
type: "input",
|
|
244
|
+
allow: /[8]/
|
|
245
|
+
}, ...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Arkansas)),
|
|
246
|
+
transformOnType: uppercase
|
|
247
|
+
},
|
|
248
|
+
[StateCodesUS.California]: {
|
|
249
|
+
mask: makeMask(...numericInputs(7), ...numericInputs(5, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.California)),
|
|
250
|
+
transformOnType: uppercase
|
|
251
|
+
},
|
|
252
|
+
[StateCodesUS.Colorado]: {
|
|
253
|
+
mask: makeMask(...numericInputs(11), ...nonInputs(" "), ...nonInputs(StateCodesUS.Colorado)),
|
|
254
|
+
transformOnType: uppercase
|
|
255
|
+
},
|
|
256
|
+
[StateCodesUS.Connecticut]: {
|
|
257
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Connecticut)),
|
|
258
|
+
transformOnType: uppercase
|
|
259
|
+
},
|
|
260
|
+
[StateCodesUS.Delaware]: {
|
|
261
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Delaware)),
|
|
262
|
+
transformOnType: uppercase
|
|
263
|
+
},
|
|
264
|
+
[StateCodesUS.Florida]: {
|
|
265
|
+
mask: makeMask(...numericInputs(6), ...numericInputs(6, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Florida)),
|
|
266
|
+
transformOnType: uppercase
|
|
267
|
+
},
|
|
268
|
+
[StateCodesUS.Georgia]: {
|
|
269
|
+
mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Georgia)),
|
|
270
|
+
transformOnType: uppercase
|
|
271
|
+
},
|
|
272
|
+
[StateCodesUS.Hawaii]: {
|
|
273
|
+
mask: makeMask(...numericInputs(5), ...numericInputs(3, true), {
|
|
274
|
+
type: "input",
|
|
275
|
+
allow: /[CDFLNPTZ]/
|
|
276
|
+
}, {
|
|
277
|
+
type: "input",
|
|
278
|
+
allow: /[1-8Z]/
|
|
279
|
+
}, ...nonInputs(" "), ...nonInputs(StateCodesUS.Hawaii)),
|
|
280
|
+
transformOnType: uppercase
|
|
281
|
+
},
|
|
282
|
+
[StateCodesUS.Idaho]: {
|
|
283
|
+
mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Idaho)),
|
|
284
|
+
transformOnType: uppercase
|
|
285
|
+
},
|
|
286
|
+
[StateCodesUS.Illinois]: {
|
|
287
|
+
mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Illinois)),
|
|
288
|
+
transformOnType: uppercase
|
|
289
|
+
},
|
|
290
|
+
[StateCodesUS.Indiana]: {
|
|
291
|
+
mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Indiana)),
|
|
292
|
+
transformOnType: uppercase
|
|
293
|
+
},
|
|
294
|
+
[StateCodesUS.Iowa]: {
|
|
295
|
+
mask: makeMask(...numericInputs(6), ...numericInputs(2, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Iowa)),
|
|
296
|
+
transformOnType: uppercase
|
|
297
|
+
},
|
|
298
|
+
[StateCodesUS.Kansas]: {
|
|
299
|
+
mask: makeMask(...numericInputs(7), ...numericInputs(2, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Kansas)),
|
|
300
|
+
transformOnType: uppercase
|
|
301
|
+
},
|
|
302
|
+
[StateCodesUS.Kentucky]: {
|
|
303
|
+
mask: makeMask(...numericInputs(9), ...numericInputs(1, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Kentucky)),
|
|
304
|
+
transformOnType: uppercase
|
|
305
|
+
},
|
|
306
|
+
[StateCodesUS.Louisiana]: {
|
|
307
|
+
mask: makeMask(...numericInputs(9), ...numericInputs(1, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Louisiana)),
|
|
308
|
+
transformOnType: uppercase
|
|
309
|
+
},
|
|
310
|
+
[StateCodesUS.Maine]: {
|
|
311
|
+
mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Maine)),
|
|
312
|
+
transformOnType: uppercase
|
|
313
|
+
},
|
|
314
|
+
[StateCodesUS.Maryland]: {
|
|
315
|
+
mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Maryland)),
|
|
316
|
+
transformOnType: uppercase
|
|
317
|
+
},
|
|
318
|
+
[StateCodesUS.Massachusetts]: {
|
|
319
|
+
mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Massachusetts)),
|
|
320
|
+
transformOnType: uppercase
|
|
321
|
+
},
|
|
322
|
+
[StateCodesUS.Michigan]: {
|
|
323
|
+
mask: makeMask(...numericInputs(6), ...numericInputs(3, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Michigan)),
|
|
324
|
+
transformOnType: uppercase
|
|
325
|
+
},
|
|
326
|
+
[StateCodesUS.Minnesota]: {
|
|
327
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Minnesota)),
|
|
328
|
+
transformOnType: uppercase
|
|
329
|
+
},
|
|
330
|
+
[StateCodesUS.Mississippi]: {
|
|
331
|
+
mask: makeMask(...numericInputs(7), ...numericInputs(3, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Mississippi)),
|
|
332
|
+
transformOnType: uppercase
|
|
333
|
+
},
|
|
334
|
+
[StateCodesUS.Missouri]: {
|
|
335
|
+
mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Missouri)),
|
|
336
|
+
transformOnType: uppercase
|
|
337
|
+
},
|
|
338
|
+
[StateCodesUS.Montana]: {
|
|
339
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Montana)),
|
|
340
|
+
transformOnType: uppercase
|
|
341
|
+
},
|
|
342
|
+
[StateCodesUS.Nebraska]: {
|
|
343
|
+
mask: makeMask(...numericInputs(9), ...numericInputs(2, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Nebraska)),
|
|
344
|
+
transformOnType: uppercase
|
|
345
|
+
},
|
|
346
|
+
[StateCodesUS.Nevada]: {
|
|
347
|
+
mask: makeMask(...numericInputs(9), ...numericInputs(2, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Nevada)),
|
|
348
|
+
transformOnType: uppercase
|
|
349
|
+
},
|
|
350
|
+
[StateCodesUS.NewHampshire]: {
|
|
351
|
+
mask: makeMask(...numericInputs(9), ...nonInputs(" "), ...nonInputs(StateCodesUS.NewHampshire)),
|
|
352
|
+
transformOnType: uppercase
|
|
353
|
+
},
|
|
354
|
+
[StateCodesUS.NewJersey]: {
|
|
355
|
+
mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.NewJersey)),
|
|
356
|
+
transformOnType: uppercase
|
|
357
|
+
},
|
|
358
|
+
[StateCodesUS.NewMexico]: {
|
|
359
|
+
mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.NewMexico)),
|
|
360
|
+
transformOnType: uppercase
|
|
361
|
+
},
|
|
362
|
+
[StateCodesUS.NewYork]: {
|
|
363
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.NewYork)),
|
|
364
|
+
transformOnType: uppercase
|
|
365
|
+
},
|
|
366
|
+
[StateCodesUS.NorthCarolina]: {
|
|
367
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.NorthCarolina)),
|
|
368
|
+
transformOnType: uppercase
|
|
369
|
+
},
|
|
370
|
+
[StateCodesUS.NorthDakota]: {
|
|
371
|
+
mask: makeMask(...numericInputs(7), ...numericInputs(3, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.NorthDakota)),
|
|
372
|
+
transformOnType: uppercase
|
|
373
|
+
},
|
|
374
|
+
[StateCodesUS.Ohio]: {
|
|
375
|
+
mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Ohio)),
|
|
376
|
+
transformOnType: uppercase
|
|
377
|
+
},
|
|
378
|
+
[StateCodesUS.Oklahoma]: {
|
|
379
|
+
mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Oklahoma)),
|
|
380
|
+
transformOnType: uppercase
|
|
381
|
+
},
|
|
382
|
+
[StateCodesUS.Oregon]: {
|
|
383
|
+
mask: makeMask(...numericInputs(9), ...nonInputs(" "), ...nonInputs(StateCodesUS.Oregon)),
|
|
384
|
+
transformOnType: uppercase
|
|
385
|
+
},
|
|
386
|
+
[StateCodesUS.Pennsylvania]: {
|
|
387
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Pennsylvania)),
|
|
388
|
+
transformOnType: uppercase
|
|
389
|
+
},
|
|
390
|
+
[StateCodesUS.RhodeIsland]: {
|
|
391
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.RhodeIsland)),
|
|
392
|
+
transformOnType: uppercase
|
|
393
|
+
},
|
|
394
|
+
[StateCodesUS.SouthCarolina]: {
|
|
395
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.SouthCarolina)),
|
|
396
|
+
transformOnType: uppercase
|
|
397
|
+
},
|
|
398
|
+
[StateCodesUS.SouthDakota]: {
|
|
399
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.SouthDakota)),
|
|
400
|
+
transformOnType: uppercase
|
|
401
|
+
},
|
|
402
|
+
[StateCodesUS.Tennessee]: {
|
|
403
|
+
mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Tennessee)),
|
|
404
|
+
transformOnType: uppercase
|
|
405
|
+
},
|
|
406
|
+
[StateCodesUS.Texas]: {
|
|
407
|
+
mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Texas)),
|
|
408
|
+
transformOnType: uppercase
|
|
409
|
+
},
|
|
410
|
+
[StateCodesUS.Utah]: {
|
|
411
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Utah)),
|
|
412
|
+
transformOnType: uppercase
|
|
413
|
+
},
|
|
414
|
+
[StateCodesUS.Vermont]: {
|
|
415
|
+
mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Vermont)),
|
|
416
|
+
transformOnType: uppercase
|
|
417
|
+
},
|
|
418
|
+
[StateCodesUS.Virginia]: {
|
|
419
|
+
mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Virginia)),
|
|
420
|
+
transformOnType: uppercase
|
|
421
|
+
},
|
|
422
|
+
[StateCodesUS.Washington]: {
|
|
423
|
+
mask: makeMask(...numericInputs(9), ...nonInputs(" "), ...nonInputs(StateCodesUS.Washington)),
|
|
424
|
+
transformOnType: uppercase
|
|
425
|
+
},
|
|
426
|
+
[StateCodesUS.WestVirginia]: {
|
|
427
|
+
mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.WestVirginia)),
|
|
428
|
+
transformOnType: uppercase
|
|
429
|
+
},
|
|
430
|
+
[StateCodesUS.Wisconsin]: {
|
|
431
|
+
mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Wisconsin)),
|
|
432
|
+
transformOnType: uppercase
|
|
433
|
+
},
|
|
434
|
+
[StateCodesUS.Wyoming]: {
|
|
435
|
+
mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Wyoming)),
|
|
436
|
+
transformOnType: uppercase
|
|
437
|
+
},
|
|
438
|
+
[StateCodesUS.DistrictOfColumbia]: {
|
|
439
|
+
mask: makeMask(...numericInputs(9)),
|
|
440
|
+
transformOnType: uppercase
|
|
441
|
+
},
|
|
442
|
+
[StateCodesUS.ArmedForcesAmericas]: {
|
|
443
|
+
mask: makeMask(...numericInputs(9)),
|
|
444
|
+
transformOnType: uppercase
|
|
445
|
+
},
|
|
446
|
+
[StateCodesUS.ArmedForcesEurope]: {
|
|
447
|
+
mask: makeMask(...numericInputs(9)),
|
|
448
|
+
transformOnType: uppercase
|
|
449
|
+
},
|
|
450
|
+
[StateCodesUS.ArmedForcesPacific]: {
|
|
451
|
+
mask: makeMask(...numericInputs(9)),
|
|
452
|
+
transformOnType: uppercase
|
|
453
|
+
},
|
|
454
|
+
default: {
|
|
455
|
+
mask: makeMask(...numericInputs(9)),
|
|
456
|
+
transformOnType: uppercase
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
};
|
|
460
|
+
var stateFormatGuidanceText = {
|
|
461
|
+
[StateCodesUS.Alabama]: {
|
|
462
|
+
key: "enterNDigitsForExample",
|
|
463
|
+
values: {
|
|
464
|
+
numDigits: "9",
|
|
465
|
+
example: "123456789 AL"
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
[StateCodesUS.Alaska]: {
|
|
469
|
+
key: "enterNDigitsForExample",
|
|
470
|
+
values: {
|
|
471
|
+
numDigits: "8",
|
|
472
|
+
example: "12345678 AK"
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
[StateCodesUS.Arizona]: {
|
|
476
|
+
key: "enterNDigitsForExample",
|
|
477
|
+
values: {
|
|
478
|
+
numDigits: "8",
|
|
479
|
+
example: "12345678 AZ"
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
[StateCodesUS.Arkansas]: {
|
|
483
|
+
key: "enterTheRemainingNDigitsForExample",
|
|
484
|
+
values: {
|
|
485
|
+
numDigits: "8",
|
|
486
|
+
example: "800000001 AR"
|
|
487
|
+
}
|
|
488
|
+
},
|
|
489
|
+
[StateCodesUS.California]: {
|
|
490
|
+
key: "enterXOrYDigitsForExample",
|
|
491
|
+
values: {
|
|
492
|
+
xDigits: "8",
|
|
493
|
+
yDigits: "12",
|
|
494
|
+
example: "12345678 CA"
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
[StateCodesUS.Colorado]: {
|
|
498
|
+
key: "enterNDigitsForExample",
|
|
499
|
+
values: {
|
|
500
|
+
numDigits: "11",
|
|
501
|
+
example: "12345678901 CO"
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
[StateCodesUS.Connecticut]: {
|
|
505
|
+
key: "enterNDigitsForExample",
|
|
506
|
+
values: {
|
|
507
|
+
numDigits: "7",
|
|
508
|
+
example: "1234567 CT"
|
|
509
|
+
}
|
|
510
|
+
},
|
|
511
|
+
[StateCodesUS.Delaware]: {
|
|
512
|
+
key: "enterNDigitsForExample",
|
|
513
|
+
values: {
|
|
514
|
+
numDigits: "7",
|
|
515
|
+
example: "1234567 DE"
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
[StateCodesUS.Florida]: {
|
|
519
|
+
key: "enterXOrYDigitsForExample",
|
|
520
|
+
values: {
|
|
521
|
+
xDigits: "6",
|
|
522
|
+
yDigits: "12",
|
|
523
|
+
example: "123456789012 FL"
|
|
524
|
+
}
|
|
525
|
+
},
|
|
526
|
+
[StateCodesUS.Georgia]: {
|
|
527
|
+
key: "enterNDigitsForExample",
|
|
528
|
+
values: {
|
|
529
|
+
numDigits: "8",
|
|
530
|
+
example: "12345678 GA"
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
[StateCodesUS.Hawaii]: {
|
|
534
|
+
key: "validationPleaseEnterAValidBusinessRegistrationNumberWithFormat",
|
|
535
|
+
values: { example: "12345678ZZ HI" }
|
|
536
|
+
},
|
|
537
|
+
[StateCodesUS.Idaho]: {
|
|
538
|
+
key: "enterNDigitsForExample",
|
|
539
|
+
values: {
|
|
540
|
+
numDigits: "6",
|
|
541
|
+
example: "123456 ID"
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
[StateCodesUS.Illinois]: {
|
|
545
|
+
key: "enterNDigitsForExample",
|
|
546
|
+
values: {
|
|
547
|
+
numDigits: "8",
|
|
548
|
+
example: "12345678 IL"
|
|
549
|
+
}
|
|
550
|
+
},
|
|
551
|
+
[StateCodesUS.Indiana]: {
|
|
552
|
+
key: "enterNDigitsForExample",
|
|
553
|
+
values: {
|
|
554
|
+
numDigits: "10",
|
|
555
|
+
example: "1234567890 IN"
|
|
556
|
+
}
|
|
557
|
+
},
|
|
558
|
+
[StateCodesUS.Iowa]: {
|
|
559
|
+
key: "enterXToYDigitsForExample",
|
|
560
|
+
values: {
|
|
561
|
+
minDigits: "6",
|
|
562
|
+
maxDigits: "8",
|
|
563
|
+
example: "12345678 IA"
|
|
564
|
+
}
|
|
565
|
+
},
|
|
566
|
+
[StateCodesUS.Kansas]: {
|
|
567
|
+
key: "enterXToYDigitsForExample",
|
|
568
|
+
values: {
|
|
569
|
+
minDigits: "7",
|
|
570
|
+
maxDigits: "9",
|
|
571
|
+
example: "1234567890 KS"
|
|
572
|
+
}
|
|
573
|
+
},
|
|
574
|
+
[StateCodesUS.Kentucky]: {
|
|
575
|
+
key: "enterXToYDigitsForExample",
|
|
576
|
+
values: {
|
|
577
|
+
minDigits: "9",
|
|
578
|
+
maxDigits: "10",
|
|
579
|
+
example: "1234567890 KY"
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
[StateCodesUS.Louisiana]: {
|
|
583
|
+
key: "enterXToYDigitsForExample",
|
|
584
|
+
values: {
|
|
585
|
+
minDigits: "9",
|
|
586
|
+
maxDigits: "10",
|
|
587
|
+
example: "1234567890 LA"
|
|
588
|
+
}
|
|
589
|
+
},
|
|
590
|
+
[StateCodesUS.Maine]: {
|
|
591
|
+
key: "enterNDigitsForExample",
|
|
592
|
+
values: {
|
|
593
|
+
numDigits: "8",
|
|
594
|
+
example: "12345678 ME"
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
[StateCodesUS.Maryland]: {
|
|
598
|
+
key: "enterNDigitsForExample",
|
|
599
|
+
values: {
|
|
600
|
+
numDigits: "8",
|
|
601
|
+
example: "12345678 MD"
|
|
602
|
+
}
|
|
603
|
+
},
|
|
604
|
+
[StateCodesUS.Massachusetts]: {
|
|
605
|
+
key: "enterNDigitsForExample",
|
|
606
|
+
values: {
|
|
607
|
+
numDigits: "10",
|
|
608
|
+
example: "1234567890 MA"
|
|
609
|
+
}
|
|
610
|
+
},
|
|
611
|
+
[StateCodesUS.Michigan]: {
|
|
612
|
+
key: "enterXOrYDigitsForExample",
|
|
613
|
+
values: {
|
|
614
|
+
xDigits: "6",
|
|
615
|
+
yDigits: "9",
|
|
616
|
+
example: "123456 MI"
|
|
617
|
+
}
|
|
618
|
+
},
|
|
619
|
+
[StateCodesUS.Minnesota]: {
|
|
620
|
+
key: "enterNDigitsForExample",
|
|
621
|
+
values: {
|
|
622
|
+
numDigits: "7",
|
|
623
|
+
example: "1234567 MN"
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
[StateCodesUS.Mississippi]: {
|
|
627
|
+
key: "enterXToYDigitsForExample",
|
|
628
|
+
values: {
|
|
629
|
+
minDigits: "7",
|
|
630
|
+
maxDigits: "10",
|
|
631
|
+
example: "1234567 MS"
|
|
632
|
+
}
|
|
633
|
+
},
|
|
634
|
+
[StateCodesUS.Missouri]: {
|
|
635
|
+
key: "enterNDigitsForExample",
|
|
636
|
+
values: {
|
|
637
|
+
numDigits: "10",
|
|
638
|
+
example: "1234567890 MO"
|
|
639
|
+
}
|
|
640
|
+
},
|
|
641
|
+
[StateCodesUS.Montana]: {
|
|
642
|
+
key: "enterNDigitsForExample",
|
|
643
|
+
values: {
|
|
644
|
+
numDigits: "7",
|
|
645
|
+
example: "1234567 MT"
|
|
646
|
+
}
|
|
647
|
+
},
|
|
648
|
+
[StateCodesUS.Nebraska]: {
|
|
649
|
+
key: "enterXToYDigitsForExample",
|
|
650
|
+
values: {
|
|
651
|
+
minDigits: "9",
|
|
652
|
+
maxDigits: "11",
|
|
653
|
+
example: "123456789 NE"
|
|
654
|
+
}
|
|
655
|
+
},
|
|
656
|
+
[StateCodesUS.Nevada]: {
|
|
657
|
+
key: "enterXToYDigitsForExample",
|
|
658
|
+
values: {
|
|
659
|
+
minDigits: "9",
|
|
660
|
+
maxDigits: "11",
|
|
661
|
+
example: "123456789 NV"
|
|
662
|
+
}
|
|
663
|
+
},
|
|
664
|
+
[StateCodesUS.NewHampshire]: {
|
|
665
|
+
key: "enterNDigitsForExample",
|
|
666
|
+
values: {
|
|
667
|
+
numDigits: "9",
|
|
668
|
+
example: "123456789 NH"
|
|
669
|
+
}
|
|
670
|
+
},
|
|
671
|
+
[StateCodesUS.NewJersey]: {
|
|
672
|
+
key: "enterNDigitsForExample",
|
|
673
|
+
values: {
|
|
674
|
+
numDigits: "10",
|
|
675
|
+
example: "1234567890 NJ"
|
|
676
|
+
}
|
|
677
|
+
},
|
|
678
|
+
[StateCodesUS.NewMexico]: {
|
|
679
|
+
key: "enterNDigitsForExample",
|
|
680
|
+
values: {
|
|
681
|
+
numDigits: "6",
|
|
682
|
+
example: "123456 NM"
|
|
683
|
+
}
|
|
684
|
+
},
|
|
685
|
+
[StateCodesUS.NewYork]: {
|
|
686
|
+
key: "enterNDigitsForExample",
|
|
687
|
+
values: {
|
|
688
|
+
numDigits: "7",
|
|
689
|
+
example: "1234567 NY"
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
[StateCodesUS.NorthCarolina]: {
|
|
693
|
+
key: "enterNDigitsForExample",
|
|
694
|
+
values: {
|
|
695
|
+
numDigits: "7",
|
|
696
|
+
example: "1234567 NC"
|
|
697
|
+
}
|
|
698
|
+
},
|
|
699
|
+
[StateCodesUS.NorthDakota]: {
|
|
700
|
+
key: "enterXToYDigitsForExample",
|
|
701
|
+
values: {
|
|
702
|
+
minDigits: "7",
|
|
703
|
+
maxDigits: "10",
|
|
704
|
+
example: "1234567 ND"
|
|
705
|
+
}
|
|
706
|
+
},
|
|
707
|
+
[StateCodesUS.Ohio]: {
|
|
708
|
+
key: "enterNDigitsForExample",
|
|
709
|
+
values: {
|
|
710
|
+
numDigits: "10",
|
|
711
|
+
example: "1234567890 OH"
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
[StateCodesUS.Oklahoma]: {
|
|
715
|
+
key: "enterNDigitsForExample",
|
|
716
|
+
values: {
|
|
717
|
+
numDigits: "10",
|
|
718
|
+
example: "1234567890 OK"
|
|
719
|
+
}
|
|
720
|
+
},
|
|
721
|
+
[StateCodesUS.Oregon]: {
|
|
722
|
+
key: "enterNDigitsForExample",
|
|
723
|
+
values: {
|
|
724
|
+
numDigits: "9",
|
|
725
|
+
example: "123456789 OR"
|
|
726
|
+
}
|
|
727
|
+
},
|
|
728
|
+
[StateCodesUS.Pennsylvania]: {
|
|
729
|
+
key: "enterNDigitsForExample",
|
|
730
|
+
values: {
|
|
731
|
+
numDigits: "7",
|
|
732
|
+
example: "1234567 PA"
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
[StateCodesUS.RhodeIsland]: {
|
|
736
|
+
key: "enterNDigitsForExample",
|
|
737
|
+
values: {
|
|
738
|
+
numDigits: "7",
|
|
739
|
+
example: "1234567 RI"
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
[StateCodesUS.SouthCarolina]: {
|
|
743
|
+
key: "enterNDigitsForExample",
|
|
744
|
+
values: {
|
|
745
|
+
numDigits: "7",
|
|
746
|
+
example: "1234567 SC"
|
|
747
|
+
}
|
|
748
|
+
},
|
|
749
|
+
[StateCodesUS.SouthDakota]: {
|
|
750
|
+
key: "enterNDigitsForExample",
|
|
751
|
+
values: {
|
|
752
|
+
numDigits: "7",
|
|
753
|
+
example: "1234567 SD"
|
|
754
|
+
}
|
|
755
|
+
},
|
|
756
|
+
[StateCodesUS.Tennessee]: {
|
|
757
|
+
key: "enterNDigitsForExample",
|
|
758
|
+
values: {
|
|
759
|
+
numDigits: "6",
|
|
760
|
+
example: "123456 TN"
|
|
761
|
+
}
|
|
762
|
+
},
|
|
763
|
+
[StateCodesUS.Texas]: {
|
|
764
|
+
key: "enterNDigitsForExample",
|
|
765
|
+
values: {
|
|
766
|
+
numDigits: "10",
|
|
767
|
+
example: "1234567890 TX"
|
|
768
|
+
}
|
|
769
|
+
},
|
|
770
|
+
[StateCodesUS.Utah]: {
|
|
771
|
+
key: "enterNDigitsForExample",
|
|
772
|
+
values: {
|
|
773
|
+
numDigits: "7",
|
|
774
|
+
example: "1234567 UT"
|
|
775
|
+
}
|
|
776
|
+
},
|
|
777
|
+
[StateCodesUS.Vermont]: {
|
|
778
|
+
key: "enterNDigitsForExample",
|
|
779
|
+
values: {
|
|
780
|
+
numDigits: "6",
|
|
781
|
+
example: "123456 VT"
|
|
782
|
+
}
|
|
783
|
+
},
|
|
784
|
+
[StateCodesUS.Virginia]: {
|
|
785
|
+
key: "enterNDigitsForExample",
|
|
786
|
+
values: {
|
|
787
|
+
numDigits: "7",
|
|
788
|
+
example: "1234567 VA"
|
|
789
|
+
}
|
|
790
|
+
},
|
|
791
|
+
[StateCodesUS.Washington]: {
|
|
792
|
+
key: "enterNDigitsForExample",
|
|
793
|
+
values: {
|
|
794
|
+
numDigits: "9",
|
|
795
|
+
example: "123456789 WA"
|
|
796
|
+
}
|
|
797
|
+
},
|
|
798
|
+
[StateCodesUS.WestVirginia]: {
|
|
799
|
+
key: "enterNDigitsForExample",
|
|
800
|
+
values: {
|
|
801
|
+
numDigits: "6",
|
|
802
|
+
example: "123456 WV"
|
|
803
|
+
}
|
|
804
|
+
},
|
|
805
|
+
[StateCodesUS.Wisconsin]: {
|
|
806
|
+
key: "enterNDigitsForExample",
|
|
807
|
+
values: {
|
|
808
|
+
numDigits: "6",
|
|
809
|
+
example: "123456 WI"
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
[StateCodesUS.Wyoming]: {
|
|
813
|
+
key: "enterNDigitsForExample",
|
|
814
|
+
values: {
|
|
815
|
+
numDigits: "6",
|
|
816
|
+
example: "123456 WY"
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
[StateCodesUS.DistrictOfColumbia]: {
|
|
820
|
+
key: "enterNDigitsForExample",
|
|
821
|
+
values: {
|
|
822
|
+
numDigits: "9",
|
|
823
|
+
example: "123456789"
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
[StateCodesUS.ArmedForcesAmericas]: {
|
|
827
|
+
key: "enterNDigitsForExample",
|
|
828
|
+
values: {
|
|
829
|
+
numDigits: "9",
|
|
830
|
+
example: "123456789"
|
|
831
|
+
}
|
|
832
|
+
},
|
|
833
|
+
[StateCodesUS.ArmedForcesEurope]: {
|
|
834
|
+
key: "enterNDigitsForExample",
|
|
835
|
+
values: {
|
|
836
|
+
numDigits: "9",
|
|
837
|
+
example: "123456789"
|
|
838
|
+
}
|
|
839
|
+
},
|
|
840
|
+
[StateCodesUS.ArmedForcesPacific]: {
|
|
841
|
+
key: "enterNDigitsForExample",
|
|
842
|
+
values: {
|
|
843
|
+
numDigits: "9",
|
|
844
|
+
example: "123456789"
|
|
845
|
+
}
|
|
846
|
+
},
|
|
847
|
+
default: {
|
|
848
|
+
key: "enterNDigitsForExample",
|
|
849
|
+
values: {
|
|
850
|
+
numDigits: "9",
|
|
851
|
+
example: "123456789"
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
};
|
|
855
|
+
//#endregion
|
|
856
|
+
//#region src/utils/regex/businessRegistrationNumberPatterns.ts
|
|
857
|
+
var businessRegistrationNumberPatterns = {
|
|
858
|
+
[CountryCodes.Australia]: {
|
|
859
|
+
default: /^\d{9}$/,
|
|
860
|
+
associationIncorporated: /^[a-zA-Z0-9]{3,20}$/
|
|
861
|
+
},
|
|
862
|
+
[CountryCodes.Austria]: {
|
|
863
|
+
firmenbuchnummer: /^(FN|T)\d{3,6}[a-z]$/,
|
|
864
|
+
ZVR: /^(AT-ZVR-)\d{9,10}$/
|
|
865
|
+
},
|
|
866
|
+
[CountryCodes.Belgium]: { default: /^\d{10}$/ },
|
|
867
|
+
[CountryCodes.Brazil]: { default: /^\d{14}$/ },
|
|
868
|
+
[CountryCodes.Bulgaria]: { default: /^\d{9}$/ },
|
|
869
|
+
[CountryCodes.Canada]: { default: /^[a-zA-Z0-9]{5,10}$/ },
|
|
870
|
+
[CountryCodes.Croatia]: {
|
|
871
|
+
default: /^\d{9}$/,
|
|
872
|
+
soleProprietorship: /^\d{8}$/
|
|
873
|
+
},
|
|
874
|
+
[CountryCodes.Cyprus]: { default: /^[COP]{1}\d{1,8}$/ },
|
|
875
|
+
[CountryCodes.CzechRepublic]: { default: /^\d{8,10}$/ },
|
|
876
|
+
[CountryCodes.Denmark]: { default: /^\d{8}$/ },
|
|
877
|
+
[CountryCodes.Estonia]: { default: /^\d{8}$/ },
|
|
878
|
+
[CountryCodes.Finland]: { default: /^\d{7}-?\d$/ },
|
|
879
|
+
[CountryCodes.France]: {
|
|
880
|
+
SIRET: /^\d{9}-?\d{5}$/,
|
|
881
|
+
RNA: /^W(\d{9}|\d[A-Za-z]\d{7})$/
|
|
882
|
+
},
|
|
883
|
+
[CountryCodes.Gibraltar]: { default: /^[a-zA-Z0-9]{1,8}$/ },
|
|
884
|
+
[CountryCodes.Germany]: { default: /^[A-Z]{2,3}\d{1,6}[A-Z]{0,5}(?:-[A-Z]\d{4})?$/ },
|
|
885
|
+
[CountryCodes.Greece]: { default: /^\d{12}$/ },
|
|
886
|
+
[CountryCodes.Guernsey]: { default: /^\d{1,9}$/ },
|
|
887
|
+
[CountryCodes.HongKong]: { default: /^\d{7}$/ },
|
|
888
|
+
[CountryCodes.Hungary]: {
|
|
889
|
+
default: /^\d{10}$/,
|
|
890
|
+
nyilvantartasiSzam: /^\d{7,10}$/
|
|
891
|
+
},
|
|
892
|
+
[CountryCodes.Iceland]: { default: /^\d{10}$/ },
|
|
893
|
+
[CountryCodes.India]: { default: /^\d{21}$/ },
|
|
894
|
+
[CountryCodes.Indonesia]: { default: /^\d{12}$/ },
|
|
895
|
+
[CountryCodes.Ireland]: { default: /^[1-9]\d{1,7}$/ },
|
|
896
|
+
[CountryCodes.IsleOfMan]: { default: /^\d{6}[A-Z]$/ },
|
|
897
|
+
[CountryCodes.Italy]: {
|
|
898
|
+
partitaIVA: /^\d{11}$/,
|
|
899
|
+
CCIAA: /^[a-zA-Z]{2}\d{6,7}$/
|
|
900
|
+
},
|
|
901
|
+
[CountryCodes.Japan]: { default: /^\d{12}$/ },
|
|
902
|
+
[CountryCodes.Jersey]: { default: /^[a-zA-Z0-9]{1,9}$/ },
|
|
903
|
+
[CountryCodes.Korea]: { default: /^\d{10}$/ },
|
|
904
|
+
[CountryCodes.Latvia]: { default: /^\d{11}$/ },
|
|
905
|
+
[CountryCodes.Liechtenstein]: { default: /FL-[0-9]{4}[.][0-9]{3}[.][0-9]{3}-[0-9]$/ },
|
|
906
|
+
[CountryCodes.Lithuania]: { default: /^\d{6,9}$/ },
|
|
907
|
+
[CountryCodes.Luxembourg]: { default: /^[a-zA-Z]\d{1,9}$/ },
|
|
908
|
+
[CountryCodes.Malaysia]: { default: /^\d{7}$|^\d{12}$/ },
|
|
909
|
+
[CountryCodes.Malta]: { default: /^[CP]\s?\d{4,6}$/ },
|
|
910
|
+
[CountryCodes.Mexico]: { default: /^\D{3}\d{6}\w{3}$/ },
|
|
911
|
+
[CountryCodes.Monaco]: {
|
|
912
|
+
default: /^[0-9]{2}[A-Z]{1,3}[0-9]{5}$/,
|
|
913
|
+
soleProprietorship: /^\d{2,4}[A-Z]\d{5}$/
|
|
914
|
+
},
|
|
915
|
+
[CountryCodes.Netherlands]: { default: /^\d{8}$/ },
|
|
916
|
+
[CountryCodes.NewZealand]: {
|
|
917
|
+
NZBN: /^\d{13}$/,
|
|
918
|
+
companyNumberNZ: /^\d{7}$/
|
|
919
|
+
},
|
|
920
|
+
[CountryCodes.Norway]: { default: /^\d{9}$/ },
|
|
921
|
+
[CountryCodes.Poland]: {
|
|
922
|
+
krsNumber: /^\d{10}$/,
|
|
923
|
+
regon: /^\d{9}$/
|
|
924
|
+
},
|
|
925
|
+
[CountryCodes.Portugal]: { default: /^\d{9}$/ },
|
|
926
|
+
[CountryCodes.Romania]: {
|
|
927
|
+
roRegNumberOldFormat: /^[A-Z]\d{1,2}\/\d{1,9}\/\d{4}$/,
|
|
928
|
+
roRegNumberNewFormat: /^[JFC]\d{13}$/
|
|
929
|
+
},
|
|
930
|
+
[CountryCodes.Singapore]: { default: /^[a-zA-Z0-9]{9,10}$/ },
|
|
931
|
+
[CountryCodes.Slovakia]: { default: /^\d{8}$/ },
|
|
932
|
+
[CountryCodes.Slovenia]: { default: /^\d{10}$/ },
|
|
933
|
+
[CountryCodes.Spain]: { default: /^[a-zA-Z][a-zA-Z0-9]{8}$/ },
|
|
934
|
+
[CountryCodes.Sweden]: { default: /^\d{10}$/ },
|
|
935
|
+
[CountryCodes.Switzerland]: { default: /^CHE\d{9}$|^CH\d{11}$/ },
|
|
936
|
+
[CountryCodes.UnitedKingdom]: {
|
|
937
|
+
default: /^[a-zA-Z0-9]{8}$/,
|
|
938
|
+
nonProfit: /^(?:(?:[A-Z]{2})?\d{6}|\d{6,8}|\d{6}-\d)$/
|
|
939
|
+
},
|
|
940
|
+
[CountryCodes.UnitedStates]: {
|
|
941
|
+
[StateCodesUS.Alabama]: /^\d{9}$/,
|
|
942
|
+
[StateCodesUS.Alaska]: /^\d{8}$/,
|
|
943
|
+
[StateCodesUS.Arizona]: /^\d{8}$/,
|
|
944
|
+
[StateCodesUS.Arkansas]: /^8\d{8}$/,
|
|
945
|
+
[StateCodesUS.California]: /^\d{7}$|^\d{12}$/,
|
|
946
|
+
[StateCodesUS.Colorado]: /^\d{11}$/,
|
|
947
|
+
[StateCodesUS.Connecticut]: /^\d{7}$/,
|
|
948
|
+
[StateCodesUS.Delaware]: /^\d{7}$/,
|
|
949
|
+
[StateCodesUS.Florida]: /^\d{6}$|^\d{12}$/,
|
|
950
|
+
[StateCodesUS.Georgia]: /^\d{8}$/,
|
|
951
|
+
[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)$/,
|
|
952
|
+
[StateCodesUS.Idaho]: /^\d{6}$/,
|
|
953
|
+
[StateCodesUS.Illinois]: /^\d{8}$/,
|
|
954
|
+
[StateCodesUS.Indiana]: /^\d{10}$/,
|
|
955
|
+
[StateCodesUS.Iowa]: /^\d{6,8}$/,
|
|
956
|
+
[StateCodesUS.Kansas]: /^\d{7,9}$/,
|
|
957
|
+
[StateCodesUS.Kentucky]: /^\d{9,10}$/,
|
|
958
|
+
[StateCodesUS.Louisiana]: /^\d{9,10}$/,
|
|
959
|
+
[StateCodesUS.Maine]: /^\d{8}$/,
|
|
960
|
+
[StateCodesUS.Maryland]: /^\d{8}$/,
|
|
961
|
+
[StateCodesUS.Massachusetts]: /^\d{10}$/,
|
|
962
|
+
[StateCodesUS.Michigan]: /^\d{6}$|^\d{9}$/,
|
|
963
|
+
[StateCodesUS.Minnesota]: /^\d{7}$/,
|
|
964
|
+
[StateCodesUS.Mississippi]: /^\d{7,10}$/,
|
|
965
|
+
[StateCodesUS.Missouri]: /^\d{10}$/,
|
|
966
|
+
[StateCodesUS.Montana]: /^\d{7}$/,
|
|
967
|
+
[StateCodesUS.Nebraska]: /^\d{9,11}$/,
|
|
968
|
+
[StateCodesUS.Nevada]: /^\d{9,11}$/,
|
|
969
|
+
[StateCodesUS.NewHampshire]: /^\d{9}$/,
|
|
970
|
+
[StateCodesUS.NewJersey]: /^\d{10}$/,
|
|
971
|
+
[StateCodesUS.NewMexico]: /^\d{6}$/,
|
|
972
|
+
[StateCodesUS.NewYork]: /^\d{7}$/,
|
|
973
|
+
[StateCodesUS.NorthCarolina]: /^\d{7}$/,
|
|
974
|
+
[StateCodesUS.NorthDakota]: /^\d{7,10}$/,
|
|
975
|
+
[StateCodesUS.Ohio]: /^\d{10}$/,
|
|
976
|
+
[StateCodesUS.Oklahoma]: /^\d{10}$/,
|
|
977
|
+
[StateCodesUS.Oregon]: /^\d{9}$/,
|
|
978
|
+
[StateCodesUS.Pennsylvania]: /^\d{7}$/,
|
|
979
|
+
[StateCodesUS.RhodeIsland]: /^\d{7}$/,
|
|
980
|
+
[StateCodesUS.SouthCarolina]: /^\d{7}$/,
|
|
981
|
+
[StateCodesUS.SouthDakota]: /^\d{7}$/,
|
|
982
|
+
[StateCodesUS.Tennessee]: /^\d{6}$/,
|
|
983
|
+
[StateCodesUS.Texas]: /^\d{10}$/,
|
|
984
|
+
[StateCodesUS.Utah]: /^\d{7}$/,
|
|
985
|
+
[StateCodesUS.Vermont]: /^\d{6}$/,
|
|
986
|
+
[StateCodesUS.Virginia]: /^\d{7}$/,
|
|
987
|
+
[StateCodesUS.Washington]: /^\d{9}$/,
|
|
988
|
+
[StateCodesUS.WestVirginia]: /^\d{6}$/,
|
|
989
|
+
[StateCodesUS.Wisconsin]: /^\d{6}$/,
|
|
990
|
+
[StateCodesUS.Wyoming]: /^\d{6}$/,
|
|
991
|
+
[StateCodesUS.DistrictOfColumbia]: /^\d{9}$/,
|
|
992
|
+
[StateCodesUS.ArmedForcesAmericas]: /^\d{9}$/,
|
|
993
|
+
[StateCodesUS.ArmedForcesEurope]: /^\d{9}$/,
|
|
994
|
+
[StateCodesUS.ArmedForcesPacific]: /^\d{9}$/,
|
|
995
|
+
default: /^\d{9}$/
|
|
996
|
+
}
|
|
997
|
+
};
|
|
998
|
+
//#endregion
|
|
999
|
+
//#region src/components/Shared/fields/TaxInformationField/fieldConfig.ts
|
|
1000
|
+
var taxInformationDefaultFieldMetadata = { label: "taxId" };
|
|
1001
|
+
var exemptedFromTaxDefaultFieldMetadata = { label: "iDontHaveATaxId" };
|
|
1002
|
+
/**
|
|
1003
|
+
* Mapping function to parse TaxInformation schemas to validate the string for TaxInformation.number
|
|
1004
|
+
*
|
|
1005
|
+
* @param validators - String validators for the TaxInformation.number
|
|
1006
|
+
* @param country - Country in the fieldConfig
|
|
1007
|
+
*/
|
|
1008
|
+
var mapValidators = (validators, country) => {
|
|
1009
|
+
return validators.map((validator) => ({
|
|
1010
|
+
...validator,
|
|
1011
|
+
validate: (taxInformation) => {
|
|
1012
|
+
const taxInfo = taxInformation?.find((taxId) => country === taxId.country);
|
|
1013
|
+
if (taxInfo?.numberAbsent) return true;
|
|
1014
|
+
return taxInfo?.number ? validator.validate(taxInfo.number) : false;
|
|
1015
|
+
}
|
|
1016
|
+
}));
|
|
1017
|
+
};
|
|
1018
|
+
var taxInformationDefaultFieldConfig = {
|
|
1019
|
+
[CountryCodes.Australia]: {
|
|
1020
|
+
label: "australianBusinessNumberAbn",
|
|
1021
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Australia),
|
|
1022
|
+
mask: { mask: makeMask(...numericInputs(2), spacer, ...numericInputs(3), spacer, ...numericInputs(3), spacer, ...numericInputs(3)) },
|
|
1023
|
+
guidanceText: {
|
|
1024
|
+
key: "enterNDigitsForExample",
|
|
1025
|
+
values: {
|
|
1026
|
+
numDigits: "11",
|
|
1027
|
+
example: "51 824 753 556"
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
},
|
|
1031
|
+
[CountryCodes.Austria]: {
|
|
1032
|
+
label: "taxInformationNumber__AT",
|
|
1033
|
+
validators: mapValidators([validatePatternOnBlur(/^(?=(?:[^0-9]*\d){9}[^0-9]*$)[\d\-/]+$/)], CountryCodes.Austria),
|
|
1034
|
+
mask: { mask: makeMask(...numericInputs(2), {
|
|
1035
|
+
type: "input",
|
|
1036
|
+
allow: /[-/]/,
|
|
1037
|
+
optional: true
|
|
1038
|
+
}, ...numericInputs(3), {
|
|
1039
|
+
type: "input",
|
|
1040
|
+
allow: /[-/]/,
|
|
1041
|
+
optional: true
|
|
1042
|
+
}, ...numericInputs(4)) },
|
|
1043
|
+
guidanceText: {
|
|
1044
|
+
key: "enterNDigitsForExample",
|
|
1045
|
+
values: {
|
|
1046
|
+
numDigits: "9",
|
|
1047
|
+
example: "931736581"
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
},
|
|
1051
|
+
[CountryCodes.Belgium]: ({ taxIdNumberType }) => {
|
|
1052
|
+
switch (taxIdNumberType) {
|
|
1053
|
+
case "NUMERO_NATIONAL": return {
|
|
1054
|
+
label: "taxInformationNumber__BE_Individual",
|
|
1055
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Belgium),
|
|
1056
|
+
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1057
|
+
guidanceText: {
|
|
1058
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1059
|
+
values: {
|
|
1060
|
+
example: "99999999999",
|
|
1061
|
+
idType: "Numeró National"
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1064
|
+
};
|
|
1065
|
+
default: return {
|
|
1066
|
+
label: "taxInformationNumber__BE",
|
|
1067
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.Belgium),
|
|
1068
|
+
mask: { mask: makeMask(...numericInputs(10)) },
|
|
1069
|
+
guidanceText: {
|
|
1070
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1071
|
+
values: {
|
|
1072
|
+
example: "0123321123",
|
|
1073
|
+
idType: "Business nummer"
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
1076
|
+
};
|
|
1077
|
+
}
|
|
1078
|
+
},
|
|
1079
|
+
[CountryCodes.Canada]: {
|
|
1080
|
+
label: "businessNumber",
|
|
1081
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Canada),
|
|
1082
|
+
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1083
|
+
guidanceText: {
|
|
1084
|
+
key: "enterNDigitsForExample",
|
|
1085
|
+
values: {
|
|
1086
|
+
numDigits: "9",
|
|
1087
|
+
example: "123456789"
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
},
|
|
1091
|
+
[CountryCodes.Croatia]: {
|
|
1092
|
+
label: "taxInformationNumber__HR",
|
|
1093
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Croatia),
|
|
1094
|
+
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1095
|
+
guidanceText: {
|
|
1096
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1097
|
+
values: {
|
|
1098
|
+
example: "94577403194",
|
|
1099
|
+
idType: "OIB"
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
},
|
|
1103
|
+
[CountryCodes.Cyprus]: {
|
|
1104
|
+
label: "taxInformationNumber__CY",
|
|
1105
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{8,9}[A-Z]$/)], CountryCodes.Cyprus),
|
|
1106
|
+
mask: {
|
|
1107
|
+
mask: makeMask(...numericInputs(8), ...numericInputs(1, true), ...alphaInputs(1)),
|
|
1108
|
+
transformOnType: uppercase
|
|
1109
|
+
},
|
|
1110
|
+
guidanceText: {
|
|
1111
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1112
|
+
values: {
|
|
1113
|
+
example: "00123123T",
|
|
1114
|
+
idType: "TIC"
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1117
|
+
},
|
|
1118
|
+
[CountryCodes.Estonia]: {
|
|
1119
|
+
label: "taxInformationNumber__ET_Individual",
|
|
1120
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Estonia),
|
|
1121
|
+
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1122
|
+
guidanceText: {
|
|
1123
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1124
|
+
values: {
|
|
1125
|
+
example: "32708101201",
|
|
1126
|
+
idType: "Isikukood"
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
},
|
|
1130
|
+
[CountryCodes.Finland]: {
|
|
1131
|
+
label: "taxInformationNumber__FI",
|
|
1132
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{6}[+\-A]\d{3}[0-9A-Y]$/)], CountryCodes.Finland),
|
|
1133
|
+
mask: {
|
|
1134
|
+
mask: makeMask(...numericInputs(6), {
|
|
1135
|
+
type: "input",
|
|
1136
|
+
allow: /[+\-A]/
|
|
1137
|
+
}, ...numericInputs(3), {
|
|
1138
|
+
type: "input",
|
|
1139
|
+
allow: /[0-9A-Y]/
|
|
1140
|
+
}),
|
|
1141
|
+
transformOnType: uppercase
|
|
1142
|
+
},
|
|
1143
|
+
guidanceText: {
|
|
1144
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1145
|
+
values: {
|
|
1146
|
+
example: "131052-308T",
|
|
1147
|
+
idType: "Henkilötunnus"
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
},
|
|
1151
|
+
[CountryCodes.France]: {
|
|
1152
|
+
label: "taxInformationNumber__FR",
|
|
1153
|
+
validators: mapValidators([validatePatternOnBlur(/^\s*(\d\s*){13}$/)], CountryCodes.France),
|
|
1154
|
+
mask: { mask: makeMask(...numericInputs(2), spacer, ...numericInputs(2), spacer, ...numericInputs(3), spacer, ...numericInputs(3), spacer, ...numericInputs(3)) },
|
|
1155
|
+
guidanceText: {
|
|
1156
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1157
|
+
values: {
|
|
1158
|
+
example: "30 23 217 600 053",
|
|
1159
|
+
idType: "Numéro SPI"
|
|
1160
|
+
}
|
|
1161
|
+
}
|
|
1162
|
+
},
|
|
1163
|
+
[CountryCodes.Germany]: ({ taxIdNumberType }) => {
|
|
1164
|
+
switch (taxIdNumberType) {
|
|
1165
|
+
case "IDNR": return {
|
|
1166
|
+
label: "taxInformationNumber__DE_Individual",
|
|
1167
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Germany),
|
|
1168
|
+
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1169
|
+
guidanceText: {
|
|
1170
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1171
|
+
values: {
|
|
1172
|
+
example: "26954371827",
|
|
1173
|
+
idType: "IdNr"
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
};
|
|
1177
|
+
default: return {
|
|
1178
|
+
label: "taxInformationNumber__DE",
|
|
1179
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{10}$|^\d{11}$|^\d{13}$/)], CountryCodes.Germany),
|
|
1180
|
+
mask: { mask: makeMask(...numericInputs(10), ...numericInputs(3, true)) },
|
|
1181
|
+
guidanceText: {
|
|
1182
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1183
|
+
values: {
|
|
1184
|
+
example: "14310260208",
|
|
1185
|
+
idType: "Steuernummer"
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
};
|
|
1189
|
+
}
|
|
1190
|
+
},
|
|
1191
|
+
[CountryCodes.Gibraltar]: {
|
|
1192
|
+
label: "taxpayerReferenceNumber",
|
|
1193
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{1,7}$/)], CountryCodes.Gibraltar),
|
|
1194
|
+
mask: { mask: makeMask(...numericInputs(1), ...numericInputs(6, true)) },
|
|
1195
|
+
guidanceText: {
|
|
1196
|
+
key: "enterAMaximumOfNDigitsForExample",
|
|
1197
|
+
values: {
|
|
1198
|
+
maxDigits: "7",
|
|
1199
|
+
example: "123456"
|
|
1200
|
+
}
|
|
1201
|
+
}
|
|
1202
|
+
},
|
|
1203
|
+
[CountryCodes.Greece]: {
|
|
1204
|
+
label: "taxInformationNumber__GR",
|
|
1205
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Greece),
|
|
1206
|
+
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1207
|
+
guidanceText: {
|
|
1208
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1209
|
+
values: {
|
|
1210
|
+
example: "244709851",
|
|
1211
|
+
idType: "AFM"
|
|
1212
|
+
}
|
|
1213
|
+
}
|
|
1214
|
+
},
|
|
1215
|
+
[CountryCodes.Guernsey]: ({ taxIdNumberType }) => {
|
|
1216
|
+
switch (taxIdNumberType) {
|
|
1217
|
+
case "TIN_GG": return {
|
|
1218
|
+
label: "nationalInsuranceNumber",
|
|
1219
|
+
validators: mapValidators([validatePatternOnBlur(/^GY\d{6}[A-D]$/)], CountryCodes.Guernsey),
|
|
1220
|
+
mask: {
|
|
1221
|
+
mask: makeMask(...nonInputs("GY", { includeInValue: true }), spacer, ...numericInputs(2), spacer, ...numericInputs(2), spacer, ...numericInputs(2), spacer, {
|
|
1222
|
+
type: "input",
|
|
1223
|
+
allow: /[A-D]/
|
|
1224
|
+
}),
|
|
1225
|
+
transformOnType: uppercase
|
|
1226
|
+
},
|
|
1227
|
+
guidanceText: {
|
|
1228
|
+
key: "enterTheRemainingNCharactersForExample",
|
|
1229
|
+
values: {
|
|
1230
|
+
numChars: "7",
|
|
1231
|
+
example: "GY 12 34 56 A"
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
};
|
|
1235
|
+
default: return {
|
|
1236
|
+
label: "taxInformationNumber",
|
|
1237
|
+
mask: businessRegistrationNumberMasks[CountryCodes.Guernsey].default,
|
|
1238
|
+
validators: mapValidators([validatePatternOnBlur(businessRegistrationNumberPatterns[CountryCodes.Guernsey].default)], CountryCodes.Guernsey),
|
|
1239
|
+
guidanceText: {
|
|
1240
|
+
key: "enterAMaximumOfNDigitsForExample",
|
|
1241
|
+
values: {
|
|
1242
|
+
maxDigits: "9",
|
|
1243
|
+
example: "123456"
|
|
1244
|
+
}
|
|
1245
|
+
}
|
|
1246
|
+
};
|
|
1247
|
+
}
|
|
1248
|
+
},
|
|
1249
|
+
[CountryCodes.HongKong]: {
|
|
1250
|
+
label: "taxInformationNumber__HK",
|
|
1251
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{8}$/)], CountryCodes.HongKong),
|
|
1252
|
+
mask: { mask: makeMask(...numericInputs(8)) },
|
|
1253
|
+
guidanceText: {
|
|
1254
|
+
key: "enterNDigitsForExample",
|
|
1255
|
+
values: {
|
|
1256
|
+
numDigits: "8",
|
|
1257
|
+
example: "70569713"
|
|
1258
|
+
}
|
|
1259
|
+
}
|
|
1260
|
+
},
|
|
1261
|
+
[CountryCodes.Ireland]: ({ taxIdNumberType }) => {
|
|
1262
|
+
switch (taxIdNumberType) {
|
|
1263
|
+
case "PERSONAL_PUBLIC_SERVICE_NUMBER": return {
|
|
1264
|
+
label: "taxInformationNumber__IE_Individual",
|
|
1265
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{7}[A-Z]$|^\d{7}[A-Z]{2}$/)], CountryCodes.Ireland),
|
|
1266
|
+
mask: {
|
|
1267
|
+
mask: makeMask(...numericInputs(7), ...alphaInputs(1), ...alphaInputs(1, true)),
|
|
1268
|
+
transformOnType: uppercase
|
|
1269
|
+
},
|
|
1270
|
+
guidanceText: {
|
|
1271
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1272
|
+
values: {
|
|
1273
|
+
example: "1234567T",
|
|
1274
|
+
idType: "Personal Public Service Number"
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
};
|
|
1278
|
+
default: return {
|
|
1279
|
+
label: "trnNumber",
|
|
1280
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{7}[A-Z]$|^\d{7}[A-Z]{2}$/)], CountryCodes.Ireland),
|
|
1281
|
+
mask: {
|
|
1282
|
+
mask: makeMask(...numericInputs(7), ...alphaInputs(1), ...alphaInputs(1, true)),
|
|
1283
|
+
transformOnType: uppercase
|
|
1284
|
+
},
|
|
1285
|
+
guidanceText: {
|
|
1286
|
+
key: "enterXDigitsThenXToYLettersForExample",
|
|
1287
|
+
values: {
|
|
1288
|
+
numDigits: "7",
|
|
1289
|
+
minLetters: "1",
|
|
1290
|
+
maxLetters: "2",
|
|
1291
|
+
example: "1497955KA"
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
};
|
|
1295
|
+
}
|
|
1296
|
+
},
|
|
1297
|
+
[CountryCodes.Italy]: {
|
|
1298
|
+
label: "codiceFiscale",
|
|
1299
|
+
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1300
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Italy),
|
|
1301
|
+
guidanceText: {
|
|
1302
|
+
key: "enterNDigitsForExample",
|
|
1303
|
+
values: {
|
|
1304
|
+
numDigits: "11",
|
|
1305
|
+
example: "12345678901"
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
},
|
|
1309
|
+
[CountryCodes.IsleOfMan]: {
|
|
1310
|
+
label: "taxReferenceNumber",
|
|
1311
|
+
validators: mapValidators([validatePatternOnBlur(/^[HCX]\d{8}$/)], CountryCodes.IsleOfMan),
|
|
1312
|
+
mask: {
|
|
1313
|
+
mask: makeMask({
|
|
1314
|
+
type: "input",
|
|
1315
|
+
allow: /[HCX]/
|
|
1316
|
+
}, ...numericInputs(6), ...nonInputs(" - "), ...numericInputs(2)),
|
|
1317
|
+
transformOnType: uppercase
|
|
1318
|
+
},
|
|
1319
|
+
guidanceText: {
|
|
1320
|
+
key: "enterNCharactersForExample",
|
|
1321
|
+
values: {
|
|
1322
|
+
numChars: "9",
|
|
1323
|
+
example: "C155673-79"
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
},
|
|
1327
|
+
[CountryCodes.Jersey]: ({ taxIdNumberType, companyType }) => {
|
|
1328
|
+
switch (taxIdNumberType) {
|
|
1329
|
+
case "SSN": return {
|
|
1330
|
+
label: "socialSecurityNumber",
|
|
1331
|
+
validators: mapValidators([validatePatternOnBlur(/^[A-Z]{2}\d{6}[A-Z]$/)], CountryCodes.Jersey),
|
|
1332
|
+
mask: {
|
|
1333
|
+
mask: makeMask(...alphaInputs(2), ...numericInputs(6), ...alphaInputs(1)),
|
|
1334
|
+
transformOnType: uppercase
|
|
1335
|
+
},
|
|
1336
|
+
guidanceText: {
|
|
1337
|
+
key: "enterNCharactersForExample",
|
|
1338
|
+
values: {
|
|
1339
|
+
numChars: "9",
|
|
1340
|
+
example: "JY000000A"
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
};
|
|
1344
|
+
default: switch (companyType) {
|
|
1345
|
+
case CompanyTypesValues.SOLE_PROPRIETORSHIP: return {
|
|
1346
|
+
label: "taxIdentificationNumber",
|
|
1347
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.Jersey),
|
|
1348
|
+
mask: { mask: makeMask(...numericInputs(3), ...nonInputs(" - "), ...numericInputs(3), ...nonInputs(" - "), ...numericInputs(4)) },
|
|
1349
|
+
guidanceText: {
|
|
1350
|
+
key: "enterNDigitsForExample",
|
|
1351
|
+
values: {
|
|
1352
|
+
numDigits: "10",
|
|
1353
|
+
example: "100-100-1000"
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
};
|
|
1357
|
+
default: return {
|
|
1358
|
+
label: "taxIdentificationNumber",
|
|
1359
|
+
validators: mapValidators([validatePatternOnBlur(/^[A-Z]{2}\d{5}$/)], CountryCodes.Jersey),
|
|
1360
|
+
mask: {
|
|
1361
|
+
mask: makeMask(...alphaInputs(2), ...numericInputs(5)),
|
|
1362
|
+
transformOnType: uppercase
|
|
1363
|
+
},
|
|
1364
|
+
guidanceText: {
|
|
1365
|
+
key: "enterNCharactersForExample",
|
|
1366
|
+
values: {
|
|
1367
|
+
numChars: "7",
|
|
1368
|
+
example: "CC17261"
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
};
|
|
1372
|
+
}
|
|
1373
|
+
}
|
|
1374
|
+
},
|
|
1375
|
+
[CountryCodes.Latvia]: {
|
|
1376
|
+
label: "taxInformationNumber__LV",
|
|
1377
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Latvia),
|
|
1378
|
+
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1379
|
+
guidanceText: {
|
|
1380
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1381
|
+
values: {
|
|
1382
|
+
example: "32532963606",
|
|
1383
|
+
idType: "Personas kods"
|
|
1384
|
+
}
|
|
1385
|
+
}
|
|
1386
|
+
},
|
|
1387
|
+
[CountryCodes.Lithuania]: {
|
|
1388
|
+
label: "taxInformationNumber__LT",
|
|
1389
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Lithuania),
|
|
1390
|
+
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1391
|
+
guidanceText: {
|
|
1392
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1393
|
+
values: {
|
|
1394
|
+
example: "33309240064",
|
|
1395
|
+
idType: "Asmens kodas"
|
|
1396
|
+
}
|
|
1397
|
+
}
|
|
1398
|
+
},
|
|
1399
|
+
[CountryCodes.Luxembourg]: ({ companyType }) => {
|
|
1400
|
+
switch (companyType) {
|
|
1401
|
+
case LegalEntityTypes.INDIVIDUAL: return {
|
|
1402
|
+
label: "taxInformationNumber__LU_Individual",
|
|
1403
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{13}$/)], CountryCodes.Luxembourg),
|
|
1404
|
+
mask: { mask: makeMask(...numericInputs(13)) },
|
|
1405
|
+
guidanceText: {
|
|
1406
|
+
key: "enterNCharactersForExample",
|
|
1407
|
+
values: {
|
|
1408
|
+
numChars: "13",
|
|
1409
|
+
example: "1893120105732"
|
|
1410
|
+
}
|
|
1411
|
+
}
|
|
1412
|
+
};
|
|
1413
|
+
default: return {
|
|
1414
|
+
label: "taxInformationNumber__LU_Org",
|
|
1415
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Luxembourg),
|
|
1416
|
+
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1417
|
+
guidanceText: {
|
|
1418
|
+
key: "enterNCharactersForExample",
|
|
1419
|
+
values: {
|
|
1420
|
+
numChars: "11",
|
|
1421
|
+
example: "19991201001"
|
|
1422
|
+
}
|
|
1423
|
+
}
|
|
1424
|
+
};
|
|
1425
|
+
}
|
|
1426
|
+
},
|
|
1427
|
+
[CountryCodes.Malta]: ({ taxIdNumberType }) => {
|
|
1428
|
+
switch (taxIdNumberType) {
|
|
1429
|
+
case "IDENTITY_CARD_NUMBER": return {
|
|
1430
|
+
label: "taxInformationNumber__MT_Individual",
|
|
1431
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{7}[A-Z]$|^\d{9}$/)], CountryCodes.Malta),
|
|
1432
|
+
mask: {
|
|
1433
|
+
mask: makeMask(...numericInputs(7), ...alphanumericInputs(2)),
|
|
1434
|
+
transformOnType: uppercase
|
|
1435
|
+
},
|
|
1436
|
+
guidanceText: {
|
|
1437
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1438
|
+
values: {
|
|
1439
|
+
example: "1234567A",
|
|
1440
|
+
idType: "Identity card number or unique taxpayer reference number (Maltese nationals)"
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1443
|
+
};
|
|
1444
|
+
case "NRU": return {
|
|
1445
|
+
label: "taxInformationNumber__MT_NRU_Individual",
|
|
1446
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Malta),
|
|
1447
|
+
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1448
|
+
guidanceText: {
|
|
1449
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1450
|
+
values: {
|
|
1451
|
+
example: "999999999",
|
|
1452
|
+
idType: "NRU (Non-Maltese nationals)"
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
};
|
|
1456
|
+
default: return {
|
|
1457
|
+
label: "taxInformationNumber__MT_Org",
|
|
1458
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Malta),
|
|
1459
|
+
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1460
|
+
guidanceText: {
|
|
1461
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1462
|
+
values: {
|
|
1463
|
+
example: "123456789",
|
|
1464
|
+
idType: "Income Tax Registration Number"
|
|
1465
|
+
}
|
|
1466
|
+
}
|
|
1467
|
+
};
|
|
1468
|
+
}
|
|
1469
|
+
},
|
|
1470
|
+
[CountryCodes.Netherlands]: ({ companyType }) => {
|
|
1471
|
+
switch (companyType) {
|
|
1472
|
+
case LegalEntityTypes.INDIVIDUAL: return {
|
|
1473
|
+
label: "bsnNumber",
|
|
1474
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Netherlands),
|
|
1475
|
+
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1476
|
+
guidanceText: {
|
|
1477
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1478
|
+
values: {
|
|
1479
|
+
example: "999999999",
|
|
1480
|
+
idType: "BSN"
|
|
1481
|
+
}
|
|
1482
|
+
}
|
|
1483
|
+
};
|
|
1484
|
+
default: return {
|
|
1485
|
+
label: "rsinNumber",
|
|
1486
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Netherlands),
|
|
1487
|
+
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1488
|
+
guidanceText: {
|
|
1489
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1490
|
+
values: {
|
|
1491
|
+
example: "811786523",
|
|
1492
|
+
idType: "RSIN"
|
|
1493
|
+
}
|
|
1494
|
+
}
|
|
1495
|
+
};
|
|
1496
|
+
}
|
|
1497
|
+
},
|
|
1498
|
+
[CountryCodes.NewZealand]: {
|
|
1499
|
+
label: "irdNumber",
|
|
1500
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{8,9}$/)], CountryCodes.NewZealand),
|
|
1501
|
+
mask: { mask: makeMask(...numericInputs(8), ...numericInputs(1, true)) },
|
|
1502
|
+
guidanceText: {
|
|
1503
|
+
key: "enterXToYDigitsForExample",
|
|
1504
|
+
values: {
|
|
1505
|
+
minDigits: "8",
|
|
1506
|
+
maxDigits: "9",
|
|
1507
|
+
example: "12345678"
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1510
|
+
},
|
|
1511
|
+
[CountryCodes.Portugal]: {
|
|
1512
|
+
label: "taxInformationNumber__PT",
|
|
1513
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Portugal),
|
|
1514
|
+
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1515
|
+
guidanceText: {
|
|
1516
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1517
|
+
values: {
|
|
1518
|
+
example: "299999998",
|
|
1519
|
+
idType: "Numéro ID Civil"
|
|
1520
|
+
}
|
|
1521
|
+
}
|
|
1522
|
+
},
|
|
1523
|
+
[CountryCodes.PuertoRico]: {
|
|
1524
|
+
label: "taxInformationNumber__US",
|
|
1525
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.PuertoRico),
|
|
1526
|
+
mask: { mask: makeMask(...numericInputs(2), ...nonInputs(" - "), ...numericInputs(7)) },
|
|
1527
|
+
guidanceText: {
|
|
1528
|
+
key: "validationPleaseEnterAValidEINWithFormat",
|
|
1529
|
+
values: {
|
|
1530
|
+
format: "XX-XXXXXXX",
|
|
1531
|
+
example: "98-7654321"
|
|
1532
|
+
}
|
|
1533
|
+
}
|
|
1534
|
+
},
|
|
1535
|
+
[CountryCodes.Singapore]: {
|
|
1536
|
+
label: "gst",
|
|
1537
|
+
validators: mapValidators([validatePatternOnBlur(/^[A-Z0-9]{9,10}$/)], CountryCodes.Singapore),
|
|
1538
|
+
mask: {
|
|
1539
|
+
mask: makeMask(...alphanumericInputs(2), ...nonInputs(" - "), ...alphanumericInputs(7), ...nonInputs(" - "), ...alphanumericInputs(1)),
|
|
1540
|
+
transformOnType: uppercase
|
|
1541
|
+
},
|
|
1542
|
+
guidanceText: {
|
|
1543
|
+
key: "enterNCharactersForExample",
|
|
1544
|
+
values: {
|
|
1545
|
+
numChars: "10",
|
|
1546
|
+
example: "M212345678"
|
|
1547
|
+
}
|
|
1548
|
+
}
|
|
1549
|
+
},
|
|
1550
|
+
[CountryCodes.Slovakia]: ({ companyType }) => {
|
|
1551
|
+
switch (companyType) {
|
|
1552
|
+
case LegalEntityTypes.INDIVIDUAL: return {
|
|
1553
|
+
label: "taxInformationNumber__SK_Individual",
|
|
1554
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{9}$|^\d{10}$|^\d{11}$|^\d{6}\/\d{3}$|^\d{6}\/\d{4}$/)], CountryCodes.Slovakia),
|
|
1555
|
+
mask: { mask: makeMask(...numericInputs(6), {
|
|
1556
|
+
type: "input",
|
|
1557
|
+
allow: /\//,
|
|
1558
|
+
optional: true
|
|
1559
|
+
}, ...numericInputs(4), ...numericInputs(1, true)) },
|
|
1560
|
+
guidanceText: {
|
|
1561
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1562
|
+
values: {
|
|
1563
|
+
example: "7711167420",
|
|
1564
|
+
idType: "Rodne Cislo"
|
|
1565
|
+
}
|
|
1566
|
+
}
|
|
1567
|
+
};
|
|
1568
|
+
default: return {
|
|
1569
|
+
label: "taxInformationNumber__SK_Org",
|
|
1570
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.Slovakia),
|
|
1571
|
+
mask: { mask: makeMask(...numericInputs(10)) },
|
|
1572
|
+
guidanceText: {
|
|
1573
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1574
|
+
values: {
|
|
1575
|
+
example: "2020123456",
|
|
1576
|
+
idType: "Daňové identifikačné číslo (DIČ)"
|
|
1577
|
+
}
|
|
1578
|
+
}
|
|
1579
|
+
};
|
|
1580
|
+
}
|
|
1581
|
+
},
|
|
1582
|
+
[CountryCodes.Slovenia]: ({ companyType }) => {
|
|
1583
|
+
switch (companyType) {
|
|
1584
|
+
case LegalEntityTypes.INDIVIDUAL: return {
|
|
1585
|
+
label: "taxInformationNumber__SI_Individual",
|
|
1586
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{8}$/)], CountryCodes.Slovenia),
|
|
1587
|
+
mask: { mask: makeMask(...numericInputs(8)) },
|
|
1588
|
+
guidanceText: {
|
|
1589
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1590
|
+
values: {
|
|
1591
|
+
example: "15012557",
|
|
1592
|
+
idType: "SI tax number"
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
1595
|
+
};
|
|
1596
|
+
default: return {
|
|
1597
|
+
label: "taxInformationNumber__SI_Org",
|
|
1598
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{8}$/)], CountryCodes.Slovenia),
|
|
1599
|
+
mask: { mask: makeMask(...numericInputs(8)) },
|
|
1600
|
+
guidanceText: {
|
|
1601
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1602
|
+
values: {
|
|
1603
|
+
example: "12345678",
|
|
1604
|
+
idType: "Davčna številka"
|
|
1605
|
+
}
|
|
1606
|
+
}
|
|
1607
|
+
};
|
|
1608
|
+
}
|
|
1609
|
+
},
|
|
1610
|
+
[CountryCodes.UnitedKingdom]: ({ taxIdNumberType, companyType }) => {
|
|
1611
|
+
switch (companyType) {
|
|
1612
|
+
case LegalEntityTypes.INDIVIDUAL: switch (taxIdNumberType) {
|
|
1613
|
+
case "NINO": return {
|
|
1614
|
+
label: "nationalInsuranceNumber",
|
|
1615
|
+
validators: mapValidators([validatePatternOnBlur(/^[A-Z]{2}\d{6}[A-D]$/)], CountryCodes.UnitedKingdom),
|
|
1616
|
+
guidanceText: {
|
|
1617
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1618
|
+
values: {
|
|
1619
|
+
example: "AA123456C",
|
|
1620
|
+
idType: "NINO"
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1623
|
+
};
|
|
1624
|
+
default: return {
|
|
1625
|
+
label: "utr",
|
|
1626
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.UnitedKingdom),
|
|
1627
|
+
mask: { mask: makeMask(...numericInputs(10)) },
|
|
1628
|
+
guidanceText: {
|
|
1629
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1630
|
+
values: {
|
|
1631
|
+
example: "7172510005",
|
|
1632
|
+
idType: "UTR"
|
|
1633
|
+
}
|
|
1634
|
+
}
|
|
1635
|
+
};
|
|
1636
|
+
}
|
|
1637
|
+
default: return {
|
|
1638
|
+
label: "utr",
|
|
1639
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.UnitedKingdom),
|
|
1640
|
+
mask: { mask: makeMask(...numericInputs(10)) },
|
|
1641
|
+
guidanceText: {
|
|
1642
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1643
|
+
values: {
|
|
1644
|
+
example: "7172510005",
|
|
1645
|
+
idType: "UTR"
|
|
1646
|
+
}
|
|
1647
|
+
}
|
|
1648
|
+
};
|
|
1649
|
+
}
|
|
1650
|
+
},
|
|
1651
|
+
[CountryCodes.UnitedStates]: {
|
|
1652
|
+
label: "taxInformationNumber__US",
|
|
1653
|
+
validators: mapValidators([validateNotEmptyOnBlur, validatePatternOnBlur(/^\d{9}$/)], CountryCodes.UnitedStates),
|
|
1654
|
+
mask: { mask: makeMask(...numericInputs(2), ...nonInputs(" - "), ...numericInputs(7)) },
|
|
1655
|
+
guidanceText: {
|
|
1656
|
+
key: "validationPleaseEnterAValidEINWithFormat",
|
|
1657
|
+
values: {
|
|
1658
|
+
format: "XX-XXXXXXX",
|
|
1659
|
+
example: "98-7654321"
|
|
1660
|
+
}
|
|
1661
|
+
}
|
|
1662
|
+
},
|
|
1663
|
+
/**
|
|
1664
|
+
* NOT YET SUPPORTED
|
|
1665
|
+
* These are brought over from the old pattern files. We have no idea if they are accurate or not.
|
|
1666
|
+
* See https://en.wikipedia.org/wiki/VAT_identification_number
|
|
1667
|
+
*/
|
|
1668
|
+
[CountryCodes.India]: { validators: mapValidators([validatePatternOnBlur(/^[A-Z0-9]{15}$/)], CountryCodes.India) },
|
|
1669
|
+
[CountryCodes.Japan]: {
|
|
1670
|
+
label: "taxInformationNumber__JP",
|
|
1671
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{13}$/)], CountryCodes.Japan),
|
|
1672
|
+
guidanceText: {
|
|
1673
|
+
key: "enterNDigitsForExample",
|
|
1674
|
+
values: {
|
|
1675
|
+
numDigits: "13",
|
|
1676
|
+
example: "2169151989941"
|
|
1677
|
+
}
|
|
1678
|
+
}
|
|
1679
|
+
},
|
|
1680
|
+
[CountryCodes.Philippines]: { validators: mapValidators([validatePatternOnBlur(/^\d{12}$/)], CountryCodes.Philippines) }
|
|
1681
|
+
};
|
|
1682
|
+
var exemptedFromTaxDefaultFieldConfig = { [CountryCodes.Australia]: { label: "doNotHaveAbn" } };
|
|
1683
|
+
var getTaxInformationPlaceholderText = ({ country, companyType, taxIdNumberType }) => {
|
|
1684
|
+
switch (country) {
|
|
1685
|
+
case CountryCodes.Austria: return "931736581";
|
|
1686
|
+
case CountryCodes.Belgium: switch (companyType) {
|
|
1687
|
+
case LegalEntityTypes.INDIVIDUAL: return "99999999999";
|
|
1688
|
+
default: return "0123321123";
|
|
1689
|
+
}
|
|
1690
|
+
case CountryCodes.Croatia: return "94577403194";
|
|
1691
|
+
case CountryCodes.Cyprus: return "00123123T";
|
|
1692
|
+
case CountryCodes.Estonia: return "32708101201";
|
|
1693
|
+
case CountryCodes.Ethiopia: return "32708101201";
|
|
1694
|
+
case CountryCodes.Finland: return "131052-308T";
|
|
1695
|
+
case CountryCodes.France: return "30 23 217 600 053";
|
|
1696
|
+
case CountryCodes.Germany: switch (companyType) {
|
|
1697
|
+
case LegalEntityTypes.INDIVIDUAL: return "26954371827";
|
|
1698
|
+
default: return "14310260208";
|
|
1699
|
+
}
|
|
1700
|
+
case CountryCodes.Gibraltar: return "123456";
|
|
1701
|
+
case CountryCodes.Greece: return "244709851";
|
|
1702
|
+
case CountryCodes.Ireland: switch (companyType) {
|
|
1703
|
+
case LegalEntityTypes.INDIVIDUAL: return "1234567T";
|
|
1704
|
+
default: return "1497955KA";
|
|
1705
|
+
}
|
|
1706
|
+
case CountryCodes.Italy: return "12345678901";
|
|
1707
|
+
case CountryCodes.IsleOfMan: return "C155673-79";
|
|
1708
|
+
case CountryCodes.Latvia: return "32532963606";
|
|
1709
|
+
case CountryCodes.Lithuania: return "33309240064";
|
|
1710
|
+
case CountryCodes.Luxembourg: switch (companyType) {
|
|
1711
|
+
case LegalEntityTypes.INDIVIDUAL: return "1893120105732";
|
|
1712
|
+
default: return "19991201001";
|
|
1713
|
+
}
|
|
1714
|
+
case CountryCodes.Malta: switch (companyType) {
|
|
1715
|
+
case LegalEntityTypes.INDIVIDUAL: switch (taxIdNumberType) {
|
|
1716
|
+
case "NRU": return "999999999";
|
|
1717
|
+
default: return "1234567A";
|
|
1718
|
+
}
|
|
1719
|
+
default: return "999999999";
|
|
1720
|
+
}
|
|
1721
|
+
case CountryCodes.Netherlands: switch (companyType) {
|
|
1722
|
+
case LegalEntityTypes.INDIVIDUAL: return "999999999";
|
|
1723
|
+
default: return "811786523";
|
|
1724
|
+
}
|
|
1725
|
+
case CountryCodes.Portugal: return "299999998";
|
|
1726
|
+
case CountryCodes.Slovakia: switch (companyType) {
|
|
1727
|
+
case LegalEntityTypes.INDIVIDUAL: return "7711167420";
|
|
1728
|
+
default: return "2020123456";
|
|
1729
|
+
}
|
|
1730
|
+
case CountryCodes.Slovenia: switch (companyType) {
|
|
1731
|
+
case LegalEntityTypes.INDIVIDUAL: return "15012557";
|
|
1732
|
+
default: return "12345678";
|
|
1733
|
+
}
|
|
1734
|
+
case CountryCodes.UnitedKingdom: return "7172510005";
|
|
1735
|
+
case CountryCodes.Spain: return "99999999L";
|
|
1736
|
+
case CountryCodes.PuertoRico:
|
|
1737
|
+
case CountryCodes.UnitedStates: return "11-0000000";
|
|
1738
|
+
}
|
|
1739
|
+
};
|
|
1740
|
+
//#endregion
|
|
1741
|
+
//#region src/components/Shared/fields/TaxInformationField/taxIdNumberTypes.ts
|
|
1742
|
+
var restrictedEntityTypes = [
|
|
1743
|
+
CompanyTypesValues.SOLE_PROPRIETORSHIP,
|
|
1744
|
+
LegalEntityTypes.TRUST,
|
|
1745
|
+
LegalEntityTypes.INDIVIDUAL
|
|
1746
|
+
];
|
|
1747
|
+
var isRestrictedEntityType = (entityType) => Boolean(entityType && restrictedEntityTypes.includes(entityType));
|
|
1748
|
+
var isApplicableOnlyForSingleRestrictedType = (option) => {
|
|
1749
|
+
if (!option.applicableOnlyFor || option.applicableOnlyFor.length !== 1) return false;
|
|
1750
|
+
return restrictedEntityTypes.includes(option.applicableOnlyFor[0]);
|
|
1751
|
+
};
|
|
1752
|
+
var taxIdNumberOptions = {
|
|
1753
|
+
[CountryCodes.Australia]: [{
|
|
1754
|
+
id: "ABN",
|
|
1755
|
+
name: "australianBusinessNumberAbn"
|
|
1756
|
+
}],
|
|
1757
|
+
[CountryCodes.Austria]: [{
|
|
1758
|
+
id: "STEUERNUMMER",
|
|
1759
|
+
name: "taxInformationNumber__AT"
|
|
1760
|
+
}],
|
|
1761
|
+
[CountryCodes.Belgium]: [{
|
|
1762
|
+
id: "BUSINESS_NUMMER",
|
|
1763
|
+
name: "businessNumber",
|
|
1764
|
+
applicableOnlyFor: [
|
|
1765
|
+
CompanyTypesValues.SOLE_PROPRIETORSHIP,
|
|
1766
|
+
CompanyTypesValues.PRIVATE_COMPANY,
|
|
1767
|
+
CompanyTypesValues.GOVERNMENTAL_ORGANIZATION,
|
|
1768
|
+
CompanyTypesValues.INCORPORATED_ASSOCIATION,
|
|
1769
|
+
CompanyTypesValues.INCORPORATED_PARTNERSHIP,
|
|
1770
|
+
CompanyTypesValues.NON_PROFIT_OR_CHARITABLE,
|
|
1771
|
+
CompanyTypesValues.UNINCORPORATED_PARTNERSHIP,
|
|
1772
|
+
CompanyTypesValues.UNLISTED_PUBLIC_COMPANY
|
|
1773
|
+
]
|
|
1774
|
+
}, {
|
|
1775
|
+
id: "NUMERO_NATIONAL",
|
|
1776
|
+
name: "taxInformationNumber__BE_Individual",
|
|
1777
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
1778
|
+
}],
|
|
1779
|
+
[CountryCodes.Brazil]: [{
|
|
1780
|
+
id: "CNPJ",
|
|
1781
|
+
name: "CNPJ"
|
|
1782
|
+
}],
|
|
1783
|
+
[CountryCodes.Canada]: [{
|
|
1784
|
+
id: "BUSINESS_NUMBER",
|
|
1785
|
+
name: "businessNumber"
|
|
1786
|
+
}],
|
|
1787
|
+
[CountryCodes.Croatia]: [{
|
|
1788
|
+
id: "OIB",
|
|
1789
|
+
name: "taxInformationNumber__HR"
|
|
1790
|
+
}],
|
|
1791
|
+
[CountryCodes.Cyprus]: [{
|
|
1792
|
+
id: "TIC",
|
|
1793
|
+
name: "taxInformationNumber__CY"
|
|
1794
|
+
}],
|
|
1795
|
+
[CountryCodes.Estonia]: [{
|
|
1796
|
+
id: "ISIKUKOOD",
|
|
1797
|
+
name: "taxInformationNumber__ET_Individual",
|
|
1798
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
1799
|
+
}, {
|
|
1800
|
+
id: "registrikood",
|
|
1801
|
+
name: "registrikood",
|
|
1802
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
1803
|
+
}],
|
|
1804
|
+
[CountryCodes.Finland]: [{
|
|
1805
|
+
id: "HENKILOTUNNUS",
|
|
1806
|
+
name: "taxInformationNumber__FI",
|
|
1807
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
1808
|
+
}, {
|
|
1809
|
+
id: "YTUNNUS",
|
|
1810
|
+
name: "YTunnus",
|
|
1811
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
1812
|
+
}],
|
|
1813
|
+
[CountryCodes.France]: [{
|
|
1814
|
+
id: "SIRET",
|
|
1815
|
+
name: "siret",
|
|
1816
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
1817
|
+
}],
|
|
1818
|
+
[CountryCodes.Germany]: [{
|
|
1819
|
+
id: "STEUERNUMMER",
|
|
1820
|
+
name: "taxInformationNumber__DE",
|
|
1821
|
+
applicableOnlyFor: [
|
|
1822
|
+
CompanyTypesValues.SOLE_PROPRIETORSHIP,
|
|
1823
|
+
CompanyTypesValues.PRIVATE_COMPANY,
|
|
1824
|
+
CompanyTypesValues.GOVERNMENTAL_ORGANIZATION,
|
|
1825
|
+
CompanyTypesValues.INCORPORATED_ASSOCIATION,
|
|
1826
|
+
CompanyTypesValues.INCORPORATED_PARTNERSHIP,
|
|
1827
|
+
CompanyTypesValues.NON_PROFIT_OR_CHARITABLE,
|
|
1828
|
+
CompanyTypesValues.UNINCORPORATED_PARTNERSHIP,
|
|
1829
|
+
CompanyTypesValues.UNLISTED_PUBLIC_COMPANY
|
|
1830
|
+
]
|
|
1831
|
+
}, {
|
|
1832
|
+
id: "IDNR",
|
|
1833
|
+
name: "taxInformationNumber__DE_Individual",
|
|
1834
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
1835
|
+
}],
|
|
1836
|
+
[CountryCodes.Gibraltar]: [{
|
|
1837
|
+
id: "GI_TAXPAYER_REFERENCE_NUMBER",
|
|
1838
|
+
name: "taxpayerReferenceNumber"
|
|
1839
|
+
}],
|
|
1840
|
+
[CountryCodes.Greece]: [{
|
|
1841
|
+
id: "AFM",
|
|
1842
|
+
name: "taxInformationNumber__GR"
|
|
1843
|
+
}],
|
|
1844
|
+
[CountryCodes.Guernsey]: [{
|
|
1845
|
+
id: "GG_REGISTRATION_NUMBER",
|
|
1846
|
+
name: "taxInformationNumber"
|
|
1847
|
+
}, {
|
|
1848
|
+
id: "TIN_GG",
|
|
1849
|
+
name: "nationalInsuranceNumber",
|
|
1850
|
+
applicableOnlyFor: [CompanyTypesValues.SOLE_PROPRIETORSHIP]
|
|
1851
|
+
}],
|
|
1852
|
+
[CountryCodes.HongKong]: [{
|
|
1853
|
+
id: "BRN",
|
|
1854
|
+
name: "taxInformationNumber__HK"
|
|
1855
|
+
}],
|
|
1856
|
+
[CountryCodes.Ireland]: [{
|
|
1857
|
+
id: "TRN",
|
|
1858
|
+
name: "trnNumber",
|
|
1859
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY, CompanyTypesValues.UNINCORPORATED_PARTNERSHIP]
|
|
1860
|
+
}, {
|
|
1861
|
+
id: "PERSONAL_PUBLIC_SERVICE_NUMBER",
|
|
1862
|
+
name: "taxInformationNumber__IE_Individual",
|
|
1863
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
1864
|
+
}],
|
|
1865
|
+
[CountryCodes.IsleOfMan]: [{
|
|
1866
|
+
id: "IM_TAX_REFERENCE_NUMBER",
|
|
1867
|
+
name: "taxReferenceNumber"
|
|
1868
|
+
}],
|
|
1869
|
+
[CountryCodes.Italy]: [{
|
|
1870
|
+
id: "CODICE_FISCALE",
|
|
1871
|
+
name: "taxInformationNumber__IT"
|
|
1872
|
+
}],
|
|
1873
|
+
[CountryCodes.Japan]: [{
|
|
1874
|
+
id: "CORPORATE_NUMBER",
|
|
1875
|
+
name: "taxInformationNumber"
|
|
1876
|
+
}],
|
|
1877
|
+
[CountryCodes.Jersey]: [{
|
|
1878
|
+
id: "TIN_JE",
|
|
1879
|
+
name: "taxIdentificationNumber"
|
|
1880
|
+
}, {
|
|
1881
|
+
id: "SSN",
|
|
1882
|
+
name: "socialSecurityNumber",
|
|
1883
|
+
applicableOnlyFor: [CompanyTypesValues.SOLE_PROPRIETORSHIP]
|
|
1884
|
+
}],
|
|
1885
|
+
[CountryCodes.Latvia]: [{
|
|
1886
|
+
id: "PERSONAS_KODS",
|
|
1887
|
+
name: "taxInformationNumber__LV",
|
|
1888
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
1889
|
+
}, {
|
|
1890
|
+
id: "REGISTRACIJAS_NUMURS",
|
|
1891
|
+
name: "lvRegistrationNumber",
|
|
1892
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
1893
|
+
}],
|
|
1894
|
+
[CountryCodes.Lithuania]: [{
|
|
1895
|
+
id: "ASMENS_KODAS",
|
|
1896
|
+
name: "taxInformationNumber__LT"
|
|
1897
|
+
}],
|
|
1898
|
+
[CountryCodes.Luxembourg]: [{
|
|
1899
|
+
id: "NATIONAL_IDENTIFICATION_NUMBER",
|
|
1900
|
+
name: "taxInformationNumber__LU_Individual",
|
|
1901
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
1902
|
+
}, {
|
|
1903
|
+
id: "NATIONAL_IDENTIFICATION_NUMBER",
|
|
1904
|
+
name: "taxInformationNumber__LU_Org",
|
|
1905
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
1906
|
+
}],
|
|
1907
|
+
[CountryCodes.Malta]: [
|
|
1908
|
+
{
|
|
1909
|
+
id: "NRU",
|
|
1910
|
+
name: "taxInformationNumber__MT_NRU_Individual",
|
|
1911
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
1912
|
+
},
|
|
1913
|
+
{
|
|
1914
|
+
id: "IDENTITY_CARD_NUMBER",
|
|
1915
|
+
name: "taxInformationNumber__MT_Individual",
|
|
1916
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
1917
|
+
},
|
|
1918
|
+
{
|
|
1919
|
+
id: "INCOME_TAX_REGISTRATION_NUMBER",
|
|
1920
|
+
name: "taxInformationNumber__MT_Org",
|
|
1921
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
1922
|
+
}
|
|
1923
|
+
],
|
|
1924
|
+
[CountryCodes.Netherlands]: [{
|
|
1925
|
+
id: "RSIN",
|
|
1926
|
+
name: "rsinNumber",
|
|
1927
|
+
applicableOnlyFor: [
|
|
1928
|
+
CompanyTypesValues.PRIVATE_COMPANY,
|
|
1929
|
+
CompanyTypesValues.GOVERNMENTAL_ORGANIZATION,
|
|
1930
|
+
CompanyTypesValues.INCORPORATED_ASSOCIATION,
|
|
1931
|
+
CompanyTypesValues.INCORPORATED_PARTNERSHIP,
|
|
1932
|
+
CompanyTypesValues.NON_PROFIT_OR_CHARITABLE,
|
|
1933
|
+
CompanyTypesValues.UNINCORPORATED_PARTNERSHIP,
|
|
1934
|
+
CompanyTypesValues.UNLISTED_PUBLIC_COMPANY
|
|
1935
|
+
]
|
|
1936
|
+
}, {
|
|
1937
|
+
id: "BSN",
|
|
1938
|
+
name: "bsnNumber",
|
|
1939
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
1940
|
+
}],
|
|
1941
|
+
[CountryCodes.NewZealand]: [{
|
|
1942
|
+
id: "IRD",
|
|
1943
|
+
name: "irdNumber"
|
|
1944
|
+
}],
|
|
1945
|
+
[CountryCodes.Portugal]: [{
|
|
1946
|
+
id: "NUMERO_ID_CIVIL",
|
|
1947
|
+
name: "taxInformationNumber__PT",
|
|
1948
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
1949
|
+
}, {
|
|
1950
|
+
id: "NIPC",
|
|
1951
|
+
name: "NIPC",
|
|
1952
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
1953
|
+
}],
|
|
1954
|
+
[CountryCodes.PuertoRico]: [{
|
|
1955
|
+
id: "EIN",
|
|
1956
|
+
name: "ein"
|
|
1957
|
+
}],
|
|
1958
|
+
[CountryCodes.Singapore]: [{
|
|
1959
|
+
id: "GST",
|
|
1960
|
+
name: "gst"
|
|
1961
|
+
}, {
|
|
1962
|
+
id: "UEN",
|
|
1963
|
+
name: "uen"
|
|
1964
|
+
}],
|
|
1965
|
+
[CountryCodes.Slovakia]: [{
|
|
1966
|
+
id: "RODNE_CISLO",
|
|
1967
|
+
name: "taxInformationNumber__SK_Individual",
|
|
1968
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
1969
|
+
}, {
|
|
1970
|
+
id: "NATIONAL_IDENTIFICATION_NUMBER",
|
|
1971
|
+
name: "taxInformationNumber__SK_Org",
|
|
1972
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
1973
|
+
}],
|
|
1974
|
+
[CountryCodes.Slovenia]: [{
|
|
1975
|
+
id: "SI_TAX_NUMBER",
|
|
1976
|
+
name: "taxInformationNumber__SI_Individual",
|
|
1977
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
1978
|
+
}, {
|
|
1979
|
+
id: "NATIONAL_IDENTIFICATION_NUMBER",
|
|
1980
|
+
name: "taxInformationNumber__SI_Org",
|
|
1981
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
1982
|
+
}],
|
|
1983
|
+
[CountryCodes.Spain]: [
|
|
1984
|
+
{
|
|
1985
|
+
id: "dni",
|
|
1986
|
+
name: "dni",
|
|
1987
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
1988
|
+
},
|
|
1989
|
+
{
|
|
1990
|
+
id: "nie",
|
|
1991
|
+
name: "nie",
|
|
1992
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
1993
|
+
},
|
|
1994
|
+
{
|
|
1995
|
+
id: "NIF",
|
|
1996
|
+
name: "NIF",
|
|
1997
|
+
applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
|
|
1998
|
+
}
|
|
1999
|
+
],
|
|
2000
|
+
[CountryCodes.UnitedKingdom]: [{
|
|
2001
|
+
id: "UTR",
|
|
2002
|
+
name: "utr"
|
|
2003
|
+
}, {
|
|
2004
|
+
id: "NINO",
|
|
2005
|
+
name: "nationalInsuranceNumber",
|
|
2006
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2007
|
+
}],
|
|
2008
|
+
[CountryCodes.UnitedStates]: [{
|
|
2009
|
+
id: "EIN",
|
|
2010
|
+
name: "ein"
|
|
2011
|
+
}]
|
|
2012
|
+
};
|
|
2013
|
+
var getTaxIdNumberOptions = (country, companyType, invertCompanyTypeFilter = false) => {
|
|
2014
|
+
const optionsForCountry = taxIdNumberOptions[country];
|
|
2015
|
+
if (!optionsForCountry) return optionsForCountry;
|
|
2016
|
+
if (invertCompanyTypeFilter) {
|
|
2017
|
+
if (isRestrictedEntityType(companyType)) return optionsForCountry.filter((option) => option.applicableOnlyFor?.includes(companyType) ?? true);
|
|
2018
|
+
return optionsForCountry.filter((option) => !isApplicableOnlyForSingleRestrictedType(option));
|
|
2019
|
+
}
|
|
2020
|
+
if (!companyType) return optionsForCountry;
|
|
2021
|
+
return optionsForCountry.filter((option) => option.applicableOnlyFor?.includes(companyType) ?? true);
|
|
2022
|
+
};
|
|
2023
|
+
function getValidCompanyTypesForTaxIdNumberType(country, taxIdNumberType) {
|
|
2024
|
+
if (!taxIdNumberType) return void 0;
|
|
2025
|
+
const taxIdOption = taxIdNumberOptions[country]?.find((option) => option.id === taxIdNumberType);
|
|
2026
|
+
if (!taxIdOption?.applicableOnlyFor) return void 0;
|
|
2027
|
+
const validCompanyTypes = taxIdOption.applicableOnlyFor.filter((type) => type !== LegalEntityTypes.INDIVIDUAL && type !== LegalEntityTypes.TRUST);
|
|
2028
|
+
return validCompanyTypes.length > 0 ? validCompanyTypes : void 0;
|
|
2029
|
+
}
|
|
2030
|
+
//#endregion
|
|
2031
|
+
//#region src/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/inferTaxIdNumberType.ts
|
|
2032
|
+
/**
|
|
2033
|
+
* For existing data, we need to infer the tax ID number type from the existing data.
|
|
2034
|
+
* Otherwise, the incorrect mask will be applied.
|
|
2035
|
+
* We don't store this choice in the API.
|
|
2036
|
+
* @param taxInformation the existing tax information
|
|
2037
|
+
* @param country the country of the LE
|
|
2038
|
+
* @param companyType the company type, e.g. `nonProfit`
|
|
2039
|
+
*/
|
|
2040
|
+
var inferTaxIdNumberType = (taxInformation, country, companyType, invertCompanyTypeFilter = false) => {
|
|
2041
|
+
if (!taxInformation) return void 0;
|
|
2042
|
+
const optionsForCountry = getTaxIdNumberOptions(country, companyType, invertCompanyTypeFilter);
|
|
2043
|
+
const metadataFn = taxInformationDefaultFieldConfig[country];
|
|
2044
|
+
if (!optionsForCountry || !metadataFn) return void 0;
|
|
2045
|
+
if (optionsForCountry.length === 1) return optionsForCountry[0].id;
|
|
2046
|
+
const allMetaData = optionsForCountry.reduce((acc, option) => {
|
|
2047
|
+
const meta = typeof metadataFn === "function" ? metadataFn({
|
|
2048
|
+
taxIdNumberType: option.id,
|
|
2049
|
+
companyType
|
|
2050
|
+
}) : metadataFn;
|
|
2051
|
+
if (meta.label && !acc[meta.label]) acc[meta.label] = meta;
|
|
2052
|
+
return acc;
|
|
2053
|
+
}, {});
|
|
2054
|
+
for (const option of optionsForCountry) {
|
|
2055
|
+
const fieldMetadata = allMetaData[option.name];
|
|
2056
|
+
if (!fieldMetadata?.validators) continue;
|
|
2057
|
+
if ((Array.isArray(fieldMetadata.validators) ? fieldMetadata.validators : [fieldMetadata.validators]).every((validator) => validator.validate(taxInformation))) return option.id;
|
|
2058
|
+
}
|
|
2059
|
+
};
|
|
2060
|
+
//#endregion
|
|
2061
|
+
//#region src/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/getDefaultTaxIdNumberType.ts
|
|
2062
|
+
/**
|
|
2063
|
+
* Finds tax information for a specific country from an array of tax information objects.
|
|
2064
|
+
*
|
|
2065
|
+
* @param taxInformation - Array of tax information objects to search through
|
|
2066
|
+
* @param country - Country code to find tax information for
|
|
2067
|
+
* @returns The first matching tax information object or undefined if none found
|
|
2068
|
+
*/
|
|
2069
|
+
function findExistingTaxInformation(taxInformation, country) {
|
|
2070
|
+
return taxInformation?.find((taxId) => taxId.country === country);
|
|
2071
|
+
}
|
|
2072
|
+
/**
|
|
2073
|
+
* Determines the default tax ID number type based on existing information and entity type.
|
|
2074
|
+
* This function follows a priority order:
|
|
2075
|
+
* 1. Use the type from existing tax information if available
|
|
2076
|
+
* 2. If there's a tax number but no type, infer the type from the number
|
|
2077
|
+
* 3. Otherwise, use the first available tax ID option for the country and entity type
|
|
2078
|
+
*
|
|
2079
|
+
* @param taxInformation - Array of tax information objects
|
|
2080
|
+
* @param country - Country code to determine the tax ID type for
|
|
2081
|
+
* @param entityType - Type of entity (company type or individual)
|
|
2082
|
+
* @returns The determined tax ID number type or undefined if none can be determined
|
|
2083
|
+
*/
|
|
2084
|
+
function getDefaultTaxIdNumberType(taxInformation, country, entityType, invertCompanyTypeFilter) {
|
|
2085
|
+
const existingTaxInformation = findExistingTaxInformation(taxInformation, country);
|
|
2086
|
+
return existingTaxInformation?.type ?? (existingTaxInformation?.number ? inferTaxIdNumberType(taxInformation, country, entityType, invertCompanyTypeFilter) : getTaxIdNumberOptions(country, entityType, invertCompanyTypeFilter)?.[0]?.id);
|
|
2087
|
+
}
|
|
2088
|
+
//#endregion
|
|
2089
|
+
//#region src/components/Business/utils/requestingCapabilities.ts
|
|
2090
|
+
var ISSUING_CAPABILITY_GROUP = [
|
|
2091
|
+
"issueCard",
|
|
2092
|
+
"issueCardConsumer",
|
|
2093
|
+
"issueCardCommercial",
|
|
2094
|
+
"useCard",
|
|
2095
|
+
"useCardConsumer",
|
|
2096
|
+
"useCardCommercial"
|
|
2097
|
+
];
|
|
2098
|
+
function requestingIssuing(rootLegalEntity) {
|
|
2099
|
+
const capabilities = rootLegalEntity?.capabilities ?? {};
|
|
2100
|
+
return ISSUING_CAPABILITY_GROUP.some((capability) => capability in capabilities && capabilities[capability]?.requested === true);
|
|
2101
|
+
}
|
|
2102
|
+
var BANKING_CAPABILITY_GROUP = [
|
|
2103
|
+
"issueBankAccount",
|
|
2104
|
+
"sendToThirdParty",
|
|
2105
|
+
"receiveFromThirdParty"
|
|
2106
|
+
];
|
|
2107
|
+
function requestingBanking(rootLegalEntity) {
|
|
2108
|
+
const capabilities = rootLegalEntity?.capabilities ?? {};
|
|
2109
|
+
return BANKING_CAPABILITY_GROUP.some((capability) => capability in capabilities && capabilities[capability]?.requested === true);
|
|
2110
|
+
}
|
|
2111
|
+
//#endregion
|
|
2112
|
+
//#region src/components/Business/utils/utils.ts
|
|
2113
|
+
var countryToTaxInfoTypeMap = {
|
|
2114
|
+
US: "EIN",
|
|
2115
|
+
AU: "ABN",
|
|
2116
|
+
NZ: "IRD",
|
|
2117
|
+
HK: "BRN",
|
|
2118
|
+
SG: "GST"
|
|
2119
|
+
};
|
|
2120
|
+
var isFinancialInformationRequired = (isFinancialInformationFeatureEnabled, taskType, country, capabilities, legalEntityType) => {
|
|
2121
|
+
const isOrganization = legalEntityType === LegalEntityTypes.ORGANIZATION;
|
|
2122
|
+
if (!isFinancialInformationFeatureEnabled || !COUNTRIES_REQUIRING_FINANCIAL_INFORMATION.includes(country)) return;
|
|
2123
|
+
if (country === CountryCodes.UnitedKingdom && (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY || taskType === TaskTypes.BUSINESS_DETAILS)) return "REQUIRED";
|
|
2124
|
+
if (taskType === TaskTypes.BUSINESS_DETAILS && isOrganization) {
|
|
2125
|
+
if (keysOf(capabilities ?? {}).some((capability) => capability === "issueBankAccount")) return "REQUIRED";
|
|
2126
|
+
}
|
|
2127
|
+
};
|
|
2128
|
+
var getCountryOfGoverningLaw = (isCountryOfGoverningLawEnabled, basicData) => {
|
|
2129
|
+
if (!isCountryOfGoverningLawEnabled || basicData?.country !== CountryCodes.UnitedKingdom) return;
|
|
2130
|
+
return !basicData.countryOfGoverningLaw ? CountryCodes.UnitedKingdom : basicData.countryOfGoverningLaw;
|
|
2131
|
+
};
|
|
2132
|
+
//#endregion
|
|
2133
|
+
//#region src/components/Business/forms/rules.ts
|
|
2134
|
+
var COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION = [
|
|
2135
|
+
CountryCodes.Australia,
|
|
2136
|
+
CountryCodes.Gibraltar,
|
|
2137
|
+
CountryCodes.Guernsey,
|
|
2138
|
+
CountryCodes.HongKong,
|
|
2139
|
+
CountryCodes.Ireland,
|
|
2140
|
+
CountryCodes.IsleOfMan,
|
|
2141
|
+
CountryCodes.Jersey,
|
|
2142
|
+
CountryCodes.Malta,
|
|
2143
|
+
CountryCodes.PuertoRico,
|
|
2144
|
+
CountryCodes.Spain,
|
|
2145
|
+
CountryCodes.UnitedKingdom,
|
|
2146
|
+
CountryCodes.UnitedStates
|
|
2147
|
+
];
|
|
2148
|
+
var COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION = [
|
|
2149
|
+
CountryCodes.HongKong,
|
|
2150
|
+
CountryCodes.PuertoRico,
|
|
2151
|
+
CountryCodes.UnitedStates
|
|
2152
|
+
];
|
|
2153
|
+
var COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_ORGANIZATIONS = [CountryCodes.HongKong];
|
|
2154
|
+
var COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS = [
|
|
2155
|
+
CountryCodes.Austria,
|
|
2156
|
+
CountryCodes.Canada,
|
|
2157
|
+
CountryCodes.Finland,
|
|
2158
|
+
CountryCodes.Germany,
|
|
2159
|
+
CountryCodes.Lithuania,
|
|
2160
|
+
CountryCodes.Luxembourg,
|
|
2161
|
+
CountryCodes.NewZealand,
|
|
2162
|
+
CountryCodes.Poland,
|
|
2163
|
+
CountryCodes.Sweden,
|
|
2164
|
+
CountryCodes.Switzerland
|
|
2165
|
+
];
|
|
2166
|
+
var COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER = [CountryCodes.Canada, CountryCodes.UnitedStates];
|
|
2167
|
+
var COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS = [CountryCodes.Germany];
|
|
2168
|
+
/**
|
|
2169
|
+
* Also used to determine what documenttype needs to be used
|
|
2170
|
+
* when uploading tax document in mapping.ts
|
|
2171
|
+
* */
|
|
2172
|
+
var COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT = [
|
|
2173
|
+
CountryCodes.Australia,
|
|
2174
|
+
CountryCodes.Canada,
|
|
2175
|
+
CountryCodes.Gibraltar,
|
|
2176
|
+
CountryCodes.HongKong,
|
|
2177
|
+
CountryCodes.NewZealand,
|
|
2178
|
+
CountryCodes.PuertoRico,
|
|
2179
|
+
CountryCodes.Singapore,
|
|
2180
|
+
CountryCodes.UnitedStates,
|
|
2181
|
+
CountryCodes.Guernsey,
|
|
2182
|
+
CountryCodes.Jersey,
|
|
2183
|
+
CountryCodes.IsleOfMan,
|
|
2184
|
+
CountryCodes.Mexico,
|
|
2185
|
+
CountryCodes.Brazil,
|
|
2186
|
+
CountryCodes.Japan
|
|
2187
|
+
];
|
|
2188
|
+
var COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP = [CountryCodes.Singapore];
|
|
2189
|
+
var COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES = [];
|
|
2190
|
+
var COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS = [
|
|
2191
|
+
CountryCodes.Canada,
|
|
2192
|
+
CountryCodes.PuertoRico,
|
|
2193
|
+
CountryCodes.UnitedStates
|
|
2194
|
+
];
|
|
2195
|
+
var COUNTRIES_THAT_REQUIRE_DATE_OF_INCORPORATION = [CountryCodes.HongKong, CountryCodes.Singapore];
|
|
2196
|
+
var COUNTRIES_THAT_USES_UEN_OR_GST = [CountryCodes.Singapore];
|
|
2197
|
+
/**
|
|
2198
|
+
* @description Countries in this list use the provider-backed company search flow.
|
|
2199
|
+
* For these countries, business details can be prefilled from provider results,
|
|
2200
|
+
* and search/verification may require tax identifiers (for example TIN or VAT)
|
|
2201
|
+
* in addition to company name/registration details.
|
|
2202
|
+
*
|
|
2203
|
+
* If a country is in this list, it means it will attempt to make an api call for company search.
|
|
2204
|
+
* If the api doesnt have a provider for that country, it will return no results like below
|
|
2205
|
+
* ```
|
|
2206
|
+
* {
|
|
2207
|
+
* "results": [],
|
|
2208
|
+
* "provider": "NO_PROVIDER"
|
|
2209
|
+
* }
|
|
2210
|
+
* ```
|
|
2211
|
+
*/
|
|
2212
|
+
var COUNTRIES_USING_COMPANY_SEARCH = [CountryCodes.UnitedStates, CountryCodes.UnitedKingdom];
|
|
2213
|
+
var COUNTRY_OF_GOVERNING_LAW_POSSIBLE = [CountryCodes.UnitedKingdom];
|
|
2214
|
+
var COUNTRIES_REQUIRING_FINANCIAL_INFORMATION = [
|
|
2215
|
+
CountryCodes.Austria,
|
|
2216
|
+
CountryCodes.Belgium,
|
|
2217
|
+
CountryCodes.Croatia,
|
|
2218
|
+
CountryCodes.Cyprus,
|
|
2219
|
+
CountryCodes.Estonia,
|
|
2220
|
+
CountryCodes.Finland,
|
|
2221
|
+
CountryCodes.France,
|
|
2222
|
+
CountryCodes.Germany,
|
|
2223
|
+
CountryCodes.Greece,
|
|
2224
|
+
CountryCodes.Ireland,
|
|
2225
|
+
CountryCodes.Italy,
|
|
2226
|
+
CountryCodes.Latvia,
|
|
2227
|
+
CountryCodes.Lithuania,
|
|
2228
|
+
CountryCodes.Luxembourg,
|
|
2229
|
+
CountryCodes.Malta,
|
|
2230
|
+
CountryCodes.Netherlands,
|
|
2231
|
+
CountryCodes.Portugal,
|
|
2232
|
+
CountryCodes.Slovakia,
|
|
2233
|
+
CountryCodes.Slovenia,
|
|
2234
|
+
CountryCodes.Spain,
|
|
2235
|
+
CountryCodes.UnitedKingdom
|
|
2236
|
+
];
|
|
2237
|
+
var COUNTRIES_REQUIRING_E_INVOICING_CODE = [CountryCodes.Italy];
|
|
2238
|
+
var COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4 = [CountryCodes.Australia];
|
|
2239
|
+
var TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION = [
|
|
2240
|
+
CountryCodes.Austria,
|
|
2241
|
+
CountryCodes.Belgium,
|
|
2242
|
+
CountryCodes.Croatia,
|
|
2243
|
+
CountryCodes.Cyprus,
|
|
2244
|
+
CountryCodes.Germany,
|
|
2245
|
+
CountryCodes.Greece,
|
|
2246
|
+
CountryCodes.Ireland,
|
|
2247
|
+
CountryCodes.Luxembourg,
|
|
2248
|
+
CountryCodes.Malta,
|
|
2249
|
+
CountryCodes.Netherlands,
|
|
2250
|
+
CountryCodes.Slovakia,
|
|
2251
|
+
CountryCodes.Slovenia
|
|
2252
|
+
];
|
|
2253
|
+
function isUsingCompanySearch(country, taskType) {
|
|
2254
|
+
if (taskType !== TaskTypes.BUSINESS_DETAILS) return false;
|
|
2255
|
+
return COUNTRIES_USING_COMPANY_SEARCH.includes(country);
|
|
2256
|
+
}
|
|
2257
|
+
var isRegistrationNumberAbsentStateV4Scenario = (country, entityType) => {
|
|
2258
|
+
return country === CountryCodes.Australia && (entityType === CompanyTypesValues.GOVERNMENTAL_ORGANIZATION || entityType === CompanyTypesValues.INCORPORATED_PARTNERSHIP) || country === CountryCodes.NewZealand;
|
|
2259
|
+
};
|
|
2260
|
+
var rules = ({ data, defaultData, verifiedBusiness, country, taskType, isFeatureEnabled = () => false, isSettingEnabled = () => false, accountHolder, rootLegalEntity, tinMatched }) => {
|
|
2261
|
+
const countryRequiresDateOfIncorporationForCompanies = () => {
|
|
2262
|
+
if (COUNTRIES_THAT_REQUIRE_DATE_OF_INCORPORATION.includes(country)) return "REQUIRED";
|
|
2263
|
+
};
|
|
2264
|
+
const countryRequiresFinancialInformation = () => {
|
|
2265
|
+
const isFinancialInformationFeatureEnabled = isFeatureEnabled("EnableFinancialInformationComponentV4");
|
|
2266
|
+
const leType = rootLegalEntity?.type;
|
|
2267
|
+
return isFinancialInformationRequired(isFinancialInformationFeatureEnabled, taskType, country, rootLegalEntity?.capabilities, leType);
|
|
2268
|
+
};
|
|
2269
|
+
const hasFinancialInformation = (financialInformation) => {
|
|
2270
|
+
if (!financialInformation) return false;
|
|
2271
|
+
return financialInformation.numberOfEmployees != null || Boolean(financialInformation.financialReportingDate) || Boolean(financialInformation.currency) || financialInformation.balanceSheetTotal != null || financialInformation.annualTurnover != null;
|
|
2272
|
+
};
|
|
2273
|
+
return createFormRules({
|
|
2274
|
+
requireDoingBusinessAsName: () => {
|
|
2275
|
+
return data.additionalInformation?.hasDoingBusinessAs ? "REQUIRED" : void 0;
|
|
2276
|
+
},
|
|
2277
|
+
countryRequiresStateOrProvince: () => {
|
|
2278
|
+
if (COUNTRIES_WITH_STATES_DATASET.includes(country)) return "REQUIRED";
|
|
2279
|
+
},
|
|
2280
|
+
ifPubliclyTradedCompany: () => {
|
|
2281
|
+
if (data.companyStructure?.entityType === CompanyTypesValues.PUBLIC_COMPANY) return "REQUIRED";
|
|
2282
|
+
},
|
|
2283
|
+
countryUsesVat: () => {
|
|
2284
|
+
if (!COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country)) return data.additionalInformation?.exemptedFromVat ? "OPTIONAL" : "REQUIRED";
|
|
2285
|
+
},
|
|
2286
|
+
vatNumberType: () => {
|
|
2287
|
+
if (!COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country)) return "OPTIONAL";
|
|
2288
|
+
},
|
|
2289
|
+
isVatExempt: () => {
|
|
2290
|
+
if (!COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country)) return data.additionalInformation?.exemptedFromVat ? "REQUIRED" : "OPTIONAL";
|
|
2291
|
+
},
|
|
2292
|
+
countryUsesTaxId: () => {
|
|
2293
|
+
const isExemptFromTax = Boolean(data.basicInformation?.exemptedFromTax ?? data.additionalInformation?.exemptedFromTax);
|
|
2294
|
+
const isOrgWithBanking = rootLegalEntity?.type === "organization" && keysOf(rootLegalEntity.capabilities ?? {}).includes("issueBankAccount");
|
|
2295
|
+
const registrationNumberType = isFeatureEnabled("EnableUnifiedCompanySearch") ? data.basicInformation?.registrationNumberType : data.additionalInformation?.registrationNumberType;
|
|
2296
|
+
if (TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION.includes(country) && isOrgWithBanking) return isExemptFromTax ? "OPTIONAL" : "REQUIRED";
|
|
2297
|
+
if (country === CountryCodes.Italy && isOrgWithBanking && registrationNumberType === "CCIAA") return isExemptFromTax ? "OPTIONAL" : "REQUIRED";
|
|
2298
|
+
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";
|
|
2299
|
+
},
|
|
2300
|
+
companyRegistrationNumberExemptionAllowed: () => {
|
|
2301
|
+
const isExemptFromRegistrationNumber = Boolean(data.basicInformation?.exemptedFromRegistrationNumber ?? data.additionalInformation?.exemptedFromRegistrationNumber);
|
|
2302
|
+
if (isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4") && isRegistrationNumberAbsentStateV4Scenario(country, data.companyStructure?.entityType)) return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
|
|
2303
|
+
switch (taskType) {
|
|
2304
|
+
case TaskTypes.SOLE_PROPRIETOR_COMPANY:
|
|
2305
|
+
if (!COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS.includes(country)) return;
|
|
2306
|
+
return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
|
|
2307
|
+
default: switch (country) {
|
|
2308
|
+
case CountryCodes.Germany:
|
|
2309
|
+
if (data.companyStructure?.entityType === CompanyTypesValues.GOVERNMENTAL_ORGANIZATION || data.companyStructure?.entityType === CompanyTypesValues.NON_PROFIT_OR_CHARITABLE) return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
|
|
2310
|
+
return;
|
|
2311
|
+
case CountryCodes.Denmark:
|
|
2312
|
+
if (data.companyStructure?.entityType === CompanyTypesValues.NON_PROFIT_OR_CHARITABLE) return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
|
|
2313
|
+
return;
|
|
2314
|
+
case CountryCodes.HongKong:
|
|
2315
|
+
if (country === CountryCodes.HongKong && !defaultData?.additionalInformation?.registrationNumber) return;
|
|
2316
|
+
return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
|
|
2317
|
+
default:
|
|
2318
|
+
if (!COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_ORGANIZATIONS.includes(country)) return;
|
|
2319
|
+
return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
|
|
2320
|
+
}
|
|
2321
|
+
}
|
|
2322
|
+
},
|
|
2323
|
+
countryOfGoverningLawRequired: () => {
|
|
2324
|
+
if (isFeatureEnabled("EnableCountryOfGoverningLawForUKCompanies") && COUNTRY_OF_GOVERNING_LAW_POSSIBLE.includes(data.basicInformation?.country)) return "REQUIRED";
|
|
2325
|
+
},
|
|
2326
|
+
countryRequiresRegistrationNumber: () => {
|
|
2327
|
+
const isExemptFromRegistrationNumber = Boolean(data.basicInformation?.exemptedFromRegistrationNumber ?? data.additionalInformation?.exemptedFromRegistrationNumber);
|
|
2328
|
+
switch (taskType) {
|
|
2329
|
+
case TaskTypes.SOLE_PROPRIETOR_COMPANY:
|
|
2330
|
+
if (COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION.includes(country)) return;
|
|
2331
|
+
if (COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS.includes(country)) return "OPTIONAL";
|
|
2332
|
+
return isExemptFromRegistrationNumber ? "OPTIONAL" : "REQUIRED";
|
|
2333
|
+
default:
|
|
2334
|
+
if (COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER.includes(country)) return "OPTIONAL";
|
|
2335
|
+
if (country === CountryCodes.HongKong) {
|
|
2336
|
+
if (!defaultData?.additionalInformation?.registrationNumber) return;
|
|
2337
|
+
return isExemptFromRegistrationNumber ? "OPTIONAL" : "REQUIRED";
|
|
2338
|
+
}
|
|
2339
|
+
if (!COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION.includes(country)) return isExemptFromRegistrationNumber ? "OPTIONAL" : "REQUIRED";
|
|
2340
|
+
}
|
|
2341
|
+
},
|
|
2342
|
+
registrationNumberType: () => {
|
|
2343
|
+
switch (taskType) {
|
|
2344
|
+
case TaskTypes.SOLE_PROPRIETOR_COMPANY:
|
|
2345
|
+
if (COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION.includes(country)) return;
|
|
2346
|
+
return "OPTIONAL";
|
|
2347
|
+
default:
|
|
2348
|
+
if (COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER.includes(country)) return "OPTIONAL";
|
|
2349
|
+
if (COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION.includes(country)) return;
|
|
2350
|
+
return "OPTIONAL";
|
|
2351
|
+
}
|
|
2352
|
+
},
|
|
2353
|
+
countryUsesUenOrGst: () => {
|
|
2354
|
+
if (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY) return;
|
|
2355
|
+
if (COUNTRIES_THAT_USES_UEN_OR_GST.includes(country)) return "REQUIRED";
|
|
2356
|
+
},
|
|
2357
|
+
countryHasTaxExemptions: () => {
|
|
2358
|
+
const isExemptFromTax = Boolean(data.basicInformation?.exemptedFromTax ?? data.additionalInformation?.exemptedFromTax);
|
|
2359
|
+
switch (taskType) {
|
|
2360
|
+
case TaskTypes.SOLE_PROPRIETOR_COMPANY:
|
|
2361
|
+
if (!COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS.includes(country)) return;
|
|
2362
|
+
return isExemptFromTax ? "REQUIRED" : "OPTIONAL";
|
|
2363
|
+
default:
|
|
2364
|
+
if (isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4") && COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4.includes(country) && accountHolder === "aTrust") return isExemptFromTax ? "REQUIRED" : "OPTIONAL";
|
|
2365
|
+
if (COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES.includes(country)) return isExemptFromTax ? "REQUIRED" : "OPTIONAL";
|
|
2366
|
+
}
|
|
2367
|
+
},
|
|
2368
|
+
usingCompanySearch: () => {
|
|
2369
|
+
if (isUsingCompanySearch(country, taskType)) return "REQUIRED";
|
|
2370
|
+
},
|
|
2371
|
+
requireStateOrProvinceForCompanySearch: () => {
|
|
2372
|
+
if (isUsingCompanySearch(country, taskType) && COUNTRIES_WITH_STATES_DATASET.includes(country)) return "REQUIRED";
|
|
2373
|
+
},
|
|
2374
|
+
countryRequiresFinancialInformation,
|
|
2375
|
+
isDateOfIncorporationRequired: () => {
|
|
2376
|
+
return countryRequiresDateOfIncorporationForCompanies() || countryRequiresFinancialInformation();
|
|
2377
|
+
},
|
|
2378
|
+
isFinancialReportingFieldsRequired: () => {
|
|
2379
|
+
if (countryRequiresFinancialInformation() !== "REQUIRED") return;
|
|
2380
|
+
if (isDateOlderThanAYear(data.additionalInformation?.dateOfIncorporation)) return "REQUIRED";
|
|
2381
|
+
/**
|
|
2382
|
+
* MultiForm recalculates required/optional schemas when rules change and reindexes form state
|
|
2383
|
+
* against those schemas. If these financial fields are not included, provider-applied values can
|
|
2384
|
+
* be pruned and appear to reset. Keeping them OPTIONAL by default when the feature is enabled
|
|
2385
|
+
* (instead of undefined) preserves existing values in the form while still avoiding hard validation
|
|
2386
|
+
* requirements when provider data is partial.
|
|
2387
|
+
*/
|
|
2388
|
+
if (hasFinancialInformation(verifiedBusiness?.financialInformation) || hasFinancialInformation(data.companyFinancialInformation)) return "OPTIONAL";
|
|
2389
|
+
},
|
|
2390
|
+
isIndustryCodeRequired: () => {
|
|
2391
|
+
const needsBusinessLine = requestingIssuing(rootLegalEntity) || requestingBanking(rootLegalEntity);
|
|
2392
|
+
if (isSettingEnabled(SettingNames.AllowBusinessLines) && needsBusinessLine) return "REQUIRED";
|
|
2393
|
+
},
|
|
2394
|
+
annualTurnoverRequired: () => {
|
|
2395
|
+
if (data.companyFinancialInformation?.reportedValueOption === "annualTurnover") return "REQUIRED";
|
|
2396
|
+
},
|
|
2397
|
+
balanceSheetTotalRequired: () => {
|
|
2398
|
+
if (data.companyFinancialInformation?.reportedValueOption === "balanceSheetTotal") return "REQUIRED";
|
|
2399
|
+
},
|
|
2400
|
+
isEInvoicingCodeEnabled: () => {
|
|
2401
|
+
if (isFeatureEnabled("EnableEInvoicingCodeField") && COUNTRIES_REQUIRING_E_INVOICING_CODE.includes(country)) return "REQUIRED";
|
|
2402
|
+
},
|
|
2403
|
+
ifCountryUsAndTinFailed: () => {
|
|
2404
|
+
if (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY) return;
|
|
2405
|
+
if (tinMatched === false && country === CountryCodes.UnitedStates) return "REQUIRED";
|
|
2406
|
+
},
|
|
2407
|
+
businessRequiresCompanyType: () => {
|
|
2408
|
+
if (taskType !== TaskTypes.SOLE_PROPRIETOR_COMPANY) return "REQUIRED";
|
|
2409
|
+
},
|
|
2410
|
+
japaneseLegalCompanyName: () => {
|
|
2411
|
+
if (isJapanLocalizationEnabled(isFeatureEnabled, country)) return "REQUIRED";
|
|
2412
|
+
}
|
|
2413
|
+
});
|
|
2414
|
+
};
|
|
2415
|
+
//#endregion
|
|
2416
|
+
//#region src/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.tsx
|
|
2417
|
+
function TaxIdNumberTypeSelector({ country, companyType, invertCompanyTypeFilter, selected, setSelected, exemptedOptionLabel, isUsSoleProp, errorMessage }) {
|
|
2418
|
+
const { t } = useTranslation("common");
|
|
2419
|
+
const handleSelect = useCallback((selectedStr) => {
|
|
2420
|
+
const newSelected = selectedStr;
|
|
2421
|
+
if (newSelected === "exempted") {
|
|
2422
|
+
if (exemptedOptionLabel) setSelected(newSelected);
|
|
2423
|
+
return;
|
|
2424
|
+
}
|
|
2425
|
+
setSelected(newSelected);
|
|
2426
|
+
}, [exemptedOptionLabel, setSelected]);
|
|
2427
|
+
const options = useMemo(() => {
|
|
2428
|
+
const availableOptions = getTaxIdNumberOptions(country, companyType, invertCompanyTypeFilter) ?? [];
|
|
2429
|
+
if (availableOptions.length === 0 || !exemptedOptionLabel) return availableOptions;
|
|
2430
|
+
return [...availableOptions, {
|
|
2431
|
+
id: "exempted",
|
|
2432
|
+
name: exemptedOptionLabel
|
|
2433
|
+
}];
|
|
2434
|
+
}, [
|
|
2435
|
+
country,
|
|
2436
|
+
companyType,
|
|
2437
|
+
exemptedOptionLabel,
|
|
2438
|
+
invertCompanyTypeFilter
|
|
2439
|
+
]);
|
|
2440
|
+
useEffect(() => {
|
|
2441
|
+
if (!isUsSoleProp && !selected && options.length > 0) handleSelect(options[0].id);
|
|
2442
|
+
}, [
|
|
2443
|
+
options,
|
|
2444
|
+
selected,
|
|
2445
|
+
handleSelect,
|
|
2446
|
+
isUsSoleProp
|
|
2447
|
+
]);
|
|
2448
|
+
if (options.length <= 1) return null;
|
|
2449
|
+
return /* @__PURE__ */ jsx(Field, {
|
|
2450
|
+
el: "fieldset",
|
|
2451
|
+
name: "taxIdNumberType",
|
|
2452
|
+
label: t(($) => $["whichTaxpayerIdentificationNumberDoYouUse"]),
|
|
2453
|
+
errorMessage,
|
|
2454
|
+
children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
|
|
2455
|
+
...childProps,
|
|
2456
|
+
name: "taxIdNumberType",
|
|
2457
|
+
items: options,
|
|
2458
|
+
value: selected,
|
|
2459
|
+
onChange: handleSelect
|
|
2460
|
+
})
|
|
2461
|
+
});
|
|
2462
|
+
}
|
|
2463
|
+
//#endregion
|
|
2464
|
+
//#region src/components/Shared/fields/TaxInformationField/utils.ts
|
|
2465
|
+
/**
|
|
2466
|
+
* Immutably upserts a TaxInformation entry for a given country within the tax information array.
|
|
2467
|
+
* - If the array doesn't exist, creates a new one with the entry.
|
|
2468
|
+
* - If the country already has an entry, replaces it in-place.
|
|
2469
|
+
* - If the country has no entry yet, appends the new entry.
|
|
2470
|
+
*/
|
|
2471
|
+
function upsertTaxInfoForCountry(taxInformation, country, newEntry) {
|
|
2472
|
+
if (!taxInformation) return [newEntry];
|
|
2473
|
+
return (taxInformation.some((t) => t.country === country) ? taxInformation : [...taxInformation, newEntry]).map((t) => t.country === country ? newEntry : t);
|
|
2474
|
+
}
|
|
2475
|
+
/**
|
|
2476
|
+
* Removes all TaxInformation entries for the given country from the array.
|
|
2477
|
+
*/
|
|
2478
|
+
function removeTaxInfoForCountry(taxInformation, country) {
|
|
2479
|
+
return taxInformation?.filter((t) => t.country !== country);
|
|
2480
|
+
}
|
|
2481
|
+
//#endregion
|
|
2482
|
+
export { businessRegistrationNumberPatterns as C, taxInformationDefaultFieldMetadata as S, stateFormatGuidanceText as T, taxIdNumberOptions as _, COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4 as a, getTaxInformationPlaceholderText as b, isUsingCompanySearch as c, getCountryOfGoverningLaw as d, requestingBanking as f, getValidCompanyTypesForTaxIdNumberType as g, getTaxIdNumberOptions as h, COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT as i, rules as l, getDefaultTaxIdNumberType as m, upsertTaxInfoForCountry as n, COUNTRY_OF_GOVERNING_LAW_POSSIBLE as o, requestingIssuing as p, TaxIdNumberTypeSelector as r, isRegistrationNumberAbsentStateV4Scenario as s, removeTaxInfoForCountry as t, countryToTaxInfoTypeMap as u, exemptedFromTaxDefaultFieldConfig as v, businessRegistrationNumberMasks as w, taxInformationDefaultFieldConfig as x, exemptedFromTaxDefaultFieldMetadata as y };
|