@adyen/kyc-components 4.0.0-compact.7 → 4.0.0-compact.9
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/README.md +31 -43
- package/dist/{AcceptTermsOfServiceComponent-BFqDontt.js → AcceptTermsOfServiceComponent-Y5aYfW8R.js} +31 -26
- package/dist/{AccountSetupRejected-f8rcBzZj.js → AccountSetupRejected-BBPH8zsy.js} +2 -5
- package/dist/{ActionBar-CijauUSe.js → ActionBar-CFMobUf9.js} +2 -2
- package/dist/{Address-Bj7zJ6yZ.js → Address-DaePmCRZ.js} +22 -25
- package/dist/{Avatar-DWU7t_0U.js → Avatar-CbD3nP3P.js} +2 -2
- package/dist/{BusinessFinancingComponent-_DvatBRp.js → BusinessFinancingComponent-BfmzIskz.js} +7 -7
- package/dist/{BusinessFinancingDropin-BuATaIOz.js → BusinessFinancingDropin-CLD8LAhP.js} +199 -160
- package/dist/BusinessFinancingPage-Bg-wKhhY.js +43 -0
- package/dist/{BusinessTypeSelectionPage-gsT7g7u8.js → BusinessTypeSelectionPage-D3EIjy_H.js} +11 -17
- package/dist/{Checkbox-5Sc5pzsh.js → Checkbox-DmYVTVOD.js} +2 -2
- package/dist/{Confirm-C0J_JwMM.js → Confirm-NubmSSR7.js} +3 -3
- package/dist/{ConstitutionalDocument-Bw5T0g5Q.js → ConstitutionalDocument-Djj_JCy4.js} +43 -30
- package/dist/{ContactDetails-CXTim9KR.js → ContactDetails-tNdzS3d4.js} +13 -10
- package/dist/{ContextGuidance-074d6FWy.js → ContextGuidance-Dp2PWG5c.js} +2 -3
- package/dist/{CountryField-DxZlK1rV.js → CountryField-C7SjQFv_.js} +4 -6
- package/dist/{CreateIndividualComponent-BppUrKMC.js → CreateIndividualComponent-DwOiAUaA.js} +8 -8
- package/dist/{CreateTransferInstrumentComponent-Cl2NOJb6.js → CreateTransferInstrumentComponent-D29rvuqv.js} +6 -6
- package/dist/{Currency-CIgj9KwH.js → Currency-B4udmJgX.js} +12 -18
- package/dist/{CustomerSupport-UenL9SqQ.js → CustomerSupport-CU3xoowB.js} +10 -11
- package/dist/{DebugModal-KXKodU9u.js → DebugModal-C7WSGJRZ.js} +10 -11
- package/dist/{DecisionMakerDetailsPage-Xwe1qYtH.js → DecisionMakerDetailsPage-C-mB9v5X.js} +10 -10
- package/dist/{DecisionMakers-CJDodZSl.js → DecisionMakers-AhL30Hnp.js} +114 -55
- package/dist/{Dropzone-kpihpy7N.js → Dropzone-B9NMiWRF.js} +4 -4
- package/dist/{EmbeddedStatus-BJjPDUeS.js → EmbeddedStatus-DkQk7orK.js} +3 -3
- package/dist/{EndStateLayout-Cx1NUGVq.js → EndStateLayout-DVisdSEd.js} +2 -2
- package/dist/{EntityAssociation-BtQeHZOq.js → EntityAssociation-BSnS5dP_.js} +5 -6
- package/dist/{EntityGuidanceStatus-DyMVy3R4.js → EntityGuidanceStatus-C2eFgLqN.js} +4 -4
- package/dist/{ErrorPanel-CAALFKmE.js → ErrorPanel-D4kO8XQ8.js} +11 -13
- package/dist/{Field-Bs7wGDqk.js → Field-CPoHG0G-.js} +3 -3
- package/dist/{FormNavigation-BtSvWPRY.js → FormNavigation-yD8USwyG.js} +3 -3
- package/dist/{Individual.rules-CP2tzjmO.js → Individual.rules-0EggSgTn.js} +16 -9
- package/dist/{IndividualDropin-xfXkDkrM.js → IndividualDropin-Eo9sxeBW.js} +692 -267
- package/dist/{InputDate-CLxqciJA.js → InputDate-BVYQZZuX.js} +2 -2
- package/dist/{InputText-BdCbTzL9.js → InputText-C55stM8O.js} +2 -2
- package/dist/{Introduction-BRWdnVv5.js → Introduction-CZ_-eIBj.js} +4 -4
- package/dist/{JpAddress-BSEenMj0.js → JpAddress-B3HjxunW.js} +12 -14
- package/dist/{LandingLayout-kl7TkBGx.js → LandingLayout-C_SbjQZA.js} +2 -3
- package/dist/{LegalCompanyNameField-DzAxAnD9.js → LegalCompanyNameField-DBiJbXem.js} +6 -6
- package/dist/{LegalRepresentativeDetailsPage--yY_D66i.js → LegalRepresentativeDetailsPage-DFKA0RAe.js} +6 -6
- package/dist/{Link-CXYU8cLY.js → Link-ru5UMRxt.js} +2 -2
- package/dist/{ListItem-HD5_HiQ2.js → ListItem-C6ALEoR-.js} +3 -3
- package/dist/{LoaderWrapper-C2PvjjQc.js → LoaderWrapper-BL7Hc_DC.js} +2 -2
- package/dist/{ManageIndividualComponent-BGaAbJjj.js → ManageIndividualComponent-CkybWipX.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-DFjaajE4.js → ManageTermsOfServiceComponent-Cgjagedl.js} +6 -6
- package/dist/{ManageTransferInstrumentComponent-Dndkwh_d.js → ManageTransferInstrumentComponent-DOpxzIzn.js} +16 -18
- package/dist/{MaskedInput-BSW18fxr.js → MaskedInput-1f16YE1z.js} +5 -5
- package/dist/{MaybeModal-xIjl3I31.js → MaybeModal-7NGTfxO6.js} +3 -3
- package/dist/{Modal-CZ-HuGUO.js → Modal-BMdWqd0Y.js} +15 -25
- package/dist/{Name-D6EhveoK.js → Name-BQWEKtu9.js} +5 -5
- package/dist/NewSummary-D-9PYaY6.js +60 -0
- package/dist/{OnboardingDropinComponent-CHtcVTHh.js → OnboardingDropinComponent-CxUcB7IU.js} +813 -121
- package/dist/{PayoutDetailsDropin-C2pNMAZS.js → PayoutDetailsDropin-DWqomQHU.js} +81 -190
- package/dist/PayoutDetailsPage-NIBSRWDA.js +55 -0
- package/dist/{RadioGroup-CxcIXYzs.js → RadioGroup-BuAX_NLA.js} +2 -2
- package/dist/{RadioGroupCard-Y214QWmQ.js → RadioGroupCard-Cbd_S6Fi.js} +2 -2
- package/dist/{Review-B2NCN4h_.js → Review-BjdQyMeU.js} +6 -8
- package/dist/{RootBusinessDetailsPage-hr5fLCIH.js → RootBusinessDetailsPage-CE9KIQRB.js} +6 -6
- package/dist/{RootBusinessLinesPage-DSna9haW.js → RootBusinessLinesPage-DYZETgKB.js} +129 -139
- package/dist/{RootIndividualDetailsPage-BItguz9n.js → RootIndividualDetailsPage-DCEHjEbR.js} +9 -10
- package/dist/{Select-DaCJsYNl.js → Select-seF9rM5K.js} +4 -4
- package/dist/{SignPCIComponent-C2YjBxQM.js → SignPCIComponent-CkaBa8MB.js} +18 -17
- package/dist/{SingpassSelection-B3ozCH9I.js → SingpassSelection-FctS_Rd2.js} +6 -6
- package/dist/{SoleProprietorshipPage-DIzzhgjr.js → SoleProprietorshipPage-BolUC48_.js} +5 -5
- package/dist/{SourceOfFundsPage-C3kXyE7G.js → SourceOfFundsPage-qPaoxTgM.js} +272 -103
- package/dist/{StepProgressIndicator-BSGlNU3K.js → StepProgressIndicator-DQIv4e4a.js} +2 -2
- package/dist/{StoreProvider-99-ewU62.js → StoreProvider-CBB99upB.js} +1032 -292
- package/dist/{StructuredList-CVMZBzwq.js → StructuredList-EKVbq_i3.js} +1 -1
- package/dist/{Summary-D0GcSMNn.js → Summary-C5uRwUKn.js} +28 -24
- package/dist/{TaxInformationField-BxQvx1zK.js → TaxInformationField-B7AVdVgf.js} +614 -634
- package/dist/{TaxReportingDropin-BqvAQH2c.js → TaxReportingDropin-C2dEK3ij.js} +15 -17
- package/dist/{TextArea-BjsWgkR-.js → TextArea-BbRKVKmP.js} +2 -2
- package/dist/{TileGroup-C-5-VREz.js → TileGroup-oKbh_YGv.js} +3 -3
- package/dist/{TrustDetailsPage-YROGiuFJ.js → TrustDetailsPage-BbQB4A5-.js} +129 -120
- package/dist/{TrustMemberCompanyPage-Z2EuqPEI.js → TrustMemberCompanyPage-CbRLAXBG.js} +7 -7
- package/dist/TrustMemberIndividualPage-BFRSkSas.js +64 -0
- package/dist/{TrustMemberRoleAndTypePage-BEOtdItr.js → TrustMemberRoleAndTypePage-pS7j8_f6.js} +35 -44
- package/dist/{TrustMembersOverview-GybHMIEU.js → TrustMembersOverview-aEVgO4Gr.js} +17 -21
- package/dist/{UnincorporatedPartnershipIndividualPage-BCYxSTlv.js → UnincorporatedPartnershipIndividualPage-DO7AXsP5.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-Buez4OHl.js → UnincorporatedPartnershipMemberCompanyPage-qvOu17yc.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Cfpe0BuU.js → UnincorporatedPartnershipMemberRoleAndTypePage-reBMcz-Y.js} +15 -16
- package/dist/{UnincorporatedPartnershipMembersOverview-B3Vi088r.js → UnincorporatedPartnershipMembersOverview-B5YCchZY.js} +8 -12
- package/dist/{VerificationErrorAlert-C6_ewC7c.js → VerificationErrorAlert-BcntIwEo.js} +23 -4
- package/dist/{ViewVerificationStatusComponent-DpA4jlct.js → ViewVerificationStatusComponent-CrQahS3p.js} +3 -4
- package/dist/adyen-business-financing.js +3 -3
- package/dist/adyen-individual-configuration.js +3 -3
- package/dist/adyen-individual-status.js +3 -3
- package/dist/adyen-invited-decision-maker.js +87 -17
- package/dist/adyen-kyc-components.js +18 -47
- package/dist/adyen-onboarding.js +3 -3
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +3 -3
- package/dist/adyen-transfer-instrument-configuration.js +3 -3
- package/dist/adyen-transfer-instrument-management.js +3 -3
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{bafinUtils-CIGv_BK8.js → bafinUtils-B1LygAFl.js} +14 -2
- package/dist/{commonValidators-DTt6he7v.js → commonValidators-CInBRB1V.js} +2 -2
- package/dist/{da-DK-JHZnsI59.js → da-DK-BfsYpvel.js} +18 -3
- package/dist/{da-DK-CGWvmdkq.js → da-DK-CLdNh9JT.js} +1 -2
- package/dist/{da-DK-gnPgzwrG.js → da-DK-CM1onr3w.js} +3 -1
- package/dist/{da-DK-Cd5IQPv3.js → da-DK-CMVthpSr.js} +2 -2
- package/dist/da-DK-Cv6XUSoW.js +13 -0
- package/dist/da-DK-D9FgPh5e.js +13 -0
- package/dist/{da-DK-h8DYQ_Iq.js → da-DK-mUuPR2YO.js} +2 -2
- package/dist/{de-DE-C9NH2zMh.js → de-DE-B5TOuf7l.js} +2 -2
- package/dist/{de-DE-DHDJhahG.js → de-DE-BT5g7ZXC.js} +1 -2
- package/dist/de-DE-BplDsJEb.js +13 -0
- package/dist/{de-DE-D3lLuF8z.js → de-DE-CA4mYLwp.js} +3 -1
- package/dist/{de-DE-VGGEkxUT.js → de-DE-CEsDXBn-.js} +18 -3
- package/dist/de-DE-Cg_RNIr-.js +13 -0
- package/dist/{de-DE-LQE_LFFL.js → de-DE-CwT6O212.js} +2 -2
- package/dist/{dropinUtils--st1YpV6.js → dropinUtils-D44Paj5u.js} +30 -16
- package/dist/{en-US-h0JneJJl.js → en-US--1W760fR.js} +2 -2
- package/dist/{en-US-CjjPhkB5.js → en-US-B-qSAb-7.js} +2 -1
- package/dist/en-US-B6tiYqel.js +13 -0
- package/dist/en-US-CfazE4ht.js +13 -0
- package/dist/{en-US-DoiQhi0j.js → en-US-CgakND3H.js} +1 -2
- package/dist/{en-US-D1sB335h.js → en-US-DIlZD5Wh.js} +16 -1
- package/dist/{en-US-DYP6rAvA.js → en-US-G607HIyo.js} +2 -2
- package/dist/{en-US-B96dpVon.js → en-US-fDACdKtT.js} +3 -1
- package/dist/{en-US.instructions-Ddr7AO05.js → en-US.instructions-CfIM2SRF.js} +1 -2
- package/dist/{es-ES-CxnsKEh4.js → es-ES-4FS7NoE7.js} +1 -2
- package/dist/{es-ES-CXDJLKAI.js → es-ES-BBcx4tvi.js} +3 -1
- package/dist/{es-ES-Bn9_0wK0.js → es-ES-BWFP5itn.js} +18 -3
- package/dist/es-ES-BZiC4JWr.js +13 -0
- package/dist/{es-ES-DdGmXdxO.js → es-ES-Bh8k9Zx8.js} +2 -2
- package/dist/es-ES-DRsix_Xn.js +13 -0
- package/dist/{es-ES-DK-7qtDf.js → es-ES-Wcpc6fm1.js} +2 -2
- package/dist/{fi-FI-fArobrt5.js → fi-FI-BKu826v5.js} +3 -1
- package/dist/fi-FI-BftTiz0c.js +13 -0
- package/dist/fi-FI-CEH4BfU3.js +13 -0
- package/dist/{fi-FI-PVFqd5Ra.js → fi-FI-DenK0WPz.js} +18 -3
- package/dist/{fi-FI-CIYa9SyS.js → fi-FI-DhUeTfn1.js} +2 -2
- package/dist/{fi-FI-57-xkioo.js → fi-FI-XpnJRPgt.js} +1 -2
- package/dist/{formUtils-C_sWWLS3.js → formUtils-BEcbGHkz.js} +3 -18
- package/dist/{fr-FR-mJK4hjwD.js → fr-FR-BmTswZU5.js} +18 -3
- package/dist/fr-FR-C6jxjXAI.js +13 -0
- package/dist/{fr-FR-CiwkAb3E.js → fr-FR-C7iSS-OS.js} +3 -1
- package/dist/{fr-FR-l5z31r7i.js → fr-FR-CocDMzBc.js} +2 -2
- package/dist/{fr-FR-B2je0smB.js → fr-FR-DodNoPid.js} +2 -2
- package/dist/fr-FR-NxOktkWc.js +13 -0
- package/dist/{fr-FR-BxiX8Zfi.js → fr-FR-TqAhPvzz.js} +1 -2
- package/dist/{getName-CnZDw7kV.js → getName-CdgtxRvu.js} +2 -2
- package/dist/{getProblemsForEntity-D8qEVVOM.js → getProblemsForEntity-DFP6N3co.js} +2 -2
- package/dist/{iframeWidget-DqeucjDU.js → iframeWidget-B0fieiAe.js} +4 -4
- package/dist/{isEmpty-CUuXL9Na.js → isEmpty-3U9fSQsY.js} +2 -2
- package/dist/{it-IT-BAvmkEF8.js → it-IT-B4bk2Xev.js} +2 -2
- package/dist/{it-IT-DIbH-udG.js → it-IT-CUrn0j1I.js} +3 -1
- package/dist/it-IT-CXlaZNIj.js +13 -0
- package/dist/{it-IT-Dhwa9Ecj.js → it-IT-CZ4aDoVQ.js} +2 -2
- package/dist/{it-IT-masgjk9F.js → it-IT-D-jYXj6V.js} +1 -2
- package/dist/{it-IT-BTWkWSJq.js → it-IT-DJe5OflH.js} +18 -3
- package/dist/it-IT-OppZz3gW.js +13 -0
- package/dist/{ja-JP-vv3-YsHU.js → ja-JP-8yMqZqF2.js} +1 -2
- package/dist/ja-JP-A6ArIIZ8.js +13 -0
- package/dist/{ja-JP-Bc4U0S8-.js → ja-JP-BpeNsNhn.js} +3 -3
- package/dist/{ja-JP-bz7ekGnF.js → ja-JP-CbP1sVFP.js} +4 -2
- package/dist/ja-JP-CethQRoG.js +13 -0
- package/dist/{ja-JP-g6VOUGXZ.js → ja-JP-DK55NCZY.js} +1 -2
- package/dist/{ja-JP-CceCDXLB.js → ja-JP-GGV_-V6p.js} +18 -3
- package/dist/{ja-JP-Bv3ru9Xq.js → ja-JP-GX3l4yqn.js} +17 -17
- package/dist/{japanSupportUtils-CGWcXGP2.js → japanSupportUtils-CaeglTl1.js} +2 -2
- package/dist/{localizeDateString-D6tFShQu.js → localizeDateString-D2nDwdFu.js} +2 -2
- package/dist/{mapExistingFile-BM9f5AeG.js → mapExistingFile-BigOdLU3.js} +4 -4
- package/dist/mapJpAddressSchemaToAddressLocalizations-DUoJIoRm.js +54 -0
- package/dist/{mapLegalEntityToIndividualSchema-DVKTWyvx.js → mapLegalEntityToIndividualSchema-UVUkctdQ.js} +43 -45
- package/dist/{mapTransferInstrumentToPayoutAccount--gtugk3J.js → mapTransferInstrumentToPayoutAccount-qpUP3sTf.js} +2 -2
- package/dist/{nl-NL-CTf7zH4M.js → nl-NL-4Mv4rnYy.js} +18 -3
- package/dist/{nl-NL-B0fvINJj.js → nl-NL-B2Uku0lw.js} +2 -2
- package/dist/nl-NL-BwWFlBOs.js +13 -0
- package/dist/nl-NL-CYFznuWn.js +13 -0
- package/dist/{nl-NL-DV4NqPVW.js → nl-NL-J7XpCpQm.js} +2 -2
- package/dist/{nl-NL-D1b5RUJ0.js → nl-NL-Jhr-ICkK.js} +1 -2
- package/dist/{nl-NL-NlkjOSYi.js → nl-NL-Lo8OF_nj.js} +3 -1
- package/dist/{no-NO-Crlsj6HG.js → no-NO-6chPsZZE.js} +3 -1
- package/dist/{no-NO-Dkh4SWbB.js → no-NO-BH6DId3q.js} +1 -2
- package/dist/no-NO-BsEie1We.js +13 -0
- package/dist/{no-NO-RfTK9KAV.js → no-NO-ByCZ3mhz.js} +18 -3
- package/dist/{no-NO-B9618F4_.js → no-NO-CtDyNTm6.js} +2 -2
- package/dist/{no-NO-Jw7Gae-a.js → no-NO-DjOcJWnC.js} +2 -2
- package/dist/no-NO-JWsSd7iY.js +13 -0
- package/dist/{patternValidators-vYKnE5-t.js → patternValidators-BkY5yvNa.js} +2 -2
- package/dist/{process-field-configurations-Dl2Isz78.js → process-field-configurations-BnIbMyYt.js} +5 -5
- package/dist/{pt-BR-BRdIEO2O.js → pt-BR-4Iozxvfr.js} +1 -2
- package/dist/pt-BR-BJOww8U1.js +13 -0
- package/dist/{pt-BR-BaTE6BB_.js → pt-BR-BKdT0Bpl.js} +2 -2
- package/dist/pt-BR-C-YbDjn-.js +13 -0
- package/dist/{pt-BR-zuqB_CBf.js → pt-BR-D4BTdo_w.js} +2 -2
- package/dist/{pt-BR-BfxgHKY4.js → pt-BR-DRBFUW-X.js} +3 -1
- package/dist/{pt-BR-BbFJsIVX.js → pt-BR-DRz5cG4o.js} +18 -3
- package/dist/{resolveEnvironment-B_JokQ0n.js → resolveEnvironment-C5RkjL5E.js} +5 -5
- package/dist/{roleMetadata-eM6T7GeQ.js → roleMetadata-C8VLzyMj.js} +3 -3
- package/dist/sl-SI-BfO3xEJx.js +13 -0
- package/dist/sl-SI-CJH14wbj.js +13 -0
- package/dist/{sl-SI-59OQIZ3f.js → sl-SI-C_4ajjU4.js} +2 -2
- package/dist/{sl-SI-D8dDckrW.js → sl-SI-DKSu25rO.js} +18 -3
- package/dist/{sl-SI-C-C-KJCX.js → sl-SI-UFngWs5n.js} +3 -1
- package/dist/{sl-SI-CvUzNn9Z.js → sl-SI-Y9h1ht45.js} +1 -2
- package/dist/style.css +1868 -1836
- package/dist/styles-CLV89_hH.js +1868 -1836
- package/dist/{sv-SE-D_Efxy3s.js → sv-SE-Blw4s8bC.js} +2 -2
- package/dist/sv-SE-CMLKzwtj.js +13 -0
- package/dist/{sv-SE-DGpvVvWj.js → sv-SE-Co7Nkd06.js} +18 -3
- package/dist/{sv-SE-BHfydid5.js → sv-SE-Cr0s35EH.js} +3 -1
- package/dist/{sv-SE-BsLkPEzn.js → sv-SE-DFSm22oQ.js} +1 -2
- package/dist/{sv-SE-CQWBP7n1.js → sv-SE-DKnUr7xo.js} +2 -2
- package/dist/sv-SE-ZsucW_Uj.js +13 -0
- package/dist/{isNewEntity-7Vw_eQBr.js → trusted-fields-provider-BgfIoSNJ.js} +6 -3
- package/dist/types/api/companyDataSet/companyDataset.types.d.ts +5 -0
- package/dist/types/api/companyDataSet/handleCompanyDataset.d.ts +6 -3
- package/dist/types/api/companySearch/companySearch.types.d.ts +8 -0
- package/dist/types/api/companySearch/useCompanySearch.d.ts +9 -3
- package/dist/types/api/companySelection/companySelection.types.d.ts +3 -3
- package/dist/types/api/companySelection/useCompanySelection.d.ts +1 -1
- package/dist/types/api/documentValidation/useDocumentValidate.d.ts +1 -0
- package/dist/types/api/invitations/invitations.types.d.ts +14 -0
- package/dist/types/api/invitations/useCreateInvitation.d.ts +14 -0
- package/dist/types/api/invitations/useInvitationStatuses.d.ts +8 -0
- package/dist/types/api/invitedEntity/useInvitedEntityAssociationData.d.ts +9 -0
- package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +4 -4
- package/dist/types/api/queryKeys.d.ts +4 -1
- package/dist/types/api/toggles/useToggles.d.ts +9 -0
- package/dist/types/components/Apps/tasks/TaskList/types.d.ts +2 -2
- package/dist/types/components/BankAccount/fields/BankAccountNumber/BankAccountNumber.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankCode/BankCode.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BranchCode/BranchCode.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/Iban/Iban.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -0
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +2 -2
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +0 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/VerifiedBusinessCard/VerifiedBusinessCard.d.ts +2 -2
- package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +7 -7
- package/dist/types/components/Business/forms/FinancialInformation/FinancialInformation.d.ts +1 -1
- package/dist/types/components/Business/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +1 -1
- package/dist/types/components/Business/forms/FinancialInformation/types.d.ts +7 -17
- package/dist/types/components/Business/forms/rules.d.ts +10 -8
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +14 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +1 -6
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +2 -1
- package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +1 -1
- package/dist/types/components/Business/utils/companyUtil.d.ts +1 -1
- package/dist/types/components/Business/utils/formatDataForSummary.d.ts +6 -0
- package/dist/types/components/Business/utils/submit.d.ts +2 -0
- package/dist/types/components/Business/utils/useCompanySearchExperiments.d.ts +5 -0
- package/dist/types/components/BusinessLines/fields/SctaField/types.d.ts +1 -1
- package/dist/types/components/BusinessLines/forms/SalesChannelsForm/types.d.ts +1 -1
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +4 -4
- package/dist/types/components/Contract/tasks/PciDropin/PciDropin.d.ts +1 -1
- package/dist/types/components/EFP/fields/NaceCodeField/types.d.ts +1 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +2783 -2783
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.d.ts +1 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSummary.d.ts +14 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +5 -7
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +8 -9
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +1 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +11 -0
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +15 -0
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +1 -2
- package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +2 -2
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.d.ts +1 -1
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +1 -0
- package/dist/types/components/Individual/fields/IdentityNumber/IdentityNumber.d.ts +1 -1
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +2 -2
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/validate.d.ts +5 -4
- package/dist/types/components/Individual/forms/DataConflictsModal/ConflictRow.d.ts +2 -2
- package/dist/types/components/Individual/forms/DataConflictsModal/DataConflictsModal.d.ts +6 -6
- package/dist/types/components/Individual/forms/IdDocumentUpload/types.d.ts +2 -2
- package/dist/types/components/Individual/forms/IdVerificationMethod/{individualOnfidoConflictsSchema.d.ts → individualConflictsSchema.d.ts} +12 -12
- package/dist/types/components/Individual/forms/IdVerificationMethod/mapExtractionResultToSchema.d.ts +2 -2
- package/dist/types/components/Individual/forms/IdVerificationMethod/validateExtractionResult.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual.d.ts +12 -7
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +6 -5
- package/dist/types/components/Individual/forms/Individual.types.d.ts +15 -5
- package/dist/types/components/Individual/forms/InviteDetails/InviteDetails.d.ts +4 -0
- package/dist/types/components/Individual/forms/InviteDetails/InviteDetails.types.d.ts +13 -0
- package/dist/types/components/Individual/forms/InviteDetails/validate.d.ts +3 -0
- package/dist/types/components/Individual/forms/form-ids.d.ts +2 -2
- package/dist/types/components/Individual/helpers/bafinUtils.d.ts +2 -2
- package/dist/types/components/Individual/helpers/mandateIdVerificationForMotionCapture.d.ts +2 -2
- package/dist/types/components/Individual/helpers/roleUtils.d.ts +2 -2
- package/dist/types/components/Individual/mapping/individualKeyMappings.d.ts +6 -6
- package/dist/types/components/Individual/mapping/mapApiDocumentToIndividualDocuments.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapIndividualDocumentToApiDocument.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapLegalEntityToIndividualSchema.d.ts +2 -2
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/pages/LegalRepresentativeDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +3 -3
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerListItem/DecisionMakerListItem.d.ts +8 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerGettingStarted/InvitedDecisionMakerGettingStarted.d.ts +4 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerSubmitSuccess/InvitedDecisionMakerSubmitSuccess.d.ts +1 -0
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +2 -2
- package/dist/types/components/Individual/tasks/IndividualDropin/individualFormConfig.d.ts +3 -3
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +2 -0
- package/dist/types/components/Shared/FormNavigation/types.d.ts +2 -2
- package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +2 -2
- package/dist/types/components/Shared/NewSummary/NewSummary.d.ts +14 -0
- package/dist/types/components/Shared/Summary/Summary.d.ts +1 -0
- package/dist/types/components/Shared/TaskVerificationStatus/TaskVerificationStatus.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +0 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +3 -1
- package/dist/types/components/Shared/fields/Currency/fieldConfig.d.ts +3 -0
- package/dist/types/components/Shared/fields/Currency/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/EInvoicingCodeField.d.ts +1 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/FinancialReportingDate/fieldConfig.d.ts +3 -0
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +5 -244
- package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/fieldConfig.d.ts +4 -4
- package/dist/types/components/Shared/fields/NumberOfEmployees/fieldConfig.d.ts +3 -0
- package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/types.d.ts +2 -0
- package/dist/types/components/Shared/fields/ReportedValueOptionField/ReportedValueOptionField.d.ts +3 -0
- package/dist/types/components/Shared/fields/ReportedValueOptionField/fieldConfig.d.ts +5 -0
- package/dist/types/components/Shared/fields/ReportedValueOptionField/types.d.ts +10 -0
- package/dist/types/components/Shared/fields/StockExchangeMICField/StockExchangeMICField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/StockISINField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/StockTickerSymbolField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +17 -0
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/getDefaultTaxIdNumberType.d.ts +5 -5
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/inferTaxIdNumberType.d.ts +5 -5
- package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +2 -3
- package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +232 -0
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +9 -1
- package/dist/types/components/Shared/fields/TaxInformationField/utils.d.ts +13 -0
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.d.ts +5 -0
- package/dist/types/components/Shared/forms/Address/types.d.ts +5 -5
- package/dist/types/components/Shared/forms/Address/utils.d.ts +6 -1
- package/dist/types/components/Shared/forms/Address/validate.d.ts +4 -4
- package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +6 -6
- package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +2 -2
- package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +2 -2
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +5 -4
- package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +2 -2
- package/dist/types/components/Trust/tasks/TrustDropin/TrustMultiformDropin.d.ts +1 -1
- package/dist/types/components/Trust/utils/trustMemberGuidance.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types.d.ts +2 -2
- package/dist/types/components/ui/atoms/Icon/Icon.d.ts +1 -1
- package/dist/types/components/ui/atoms/RadioGroup/RadioGroup.d.ts +2 -2
- package/dist/types/components/ui/atoms/Select/Select.d.ts +1 -1
- package/dist/types/components/ui/atoms/Svg/Svg.d.ts +1 -4
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +0 -4
- package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +2 -2
- package/dist/types/components/ui/molecules/Dropzone/types.d.ts +2 -2
- package/dist/types/context/ExperimentContext/ExperimentsContextProvider.d.ts +1 -1
- package/dist/types/context/ExperimentContext/types.d.ts +9 -7
- package/dist/types/context/FormRouterContext/FormRouterContext.d.ts +4 -0
- package/dist/types/context/FormRouterContext/useFormRouterContext.d.ts +3 -0
- package/dist/types/context/StateContext/types.d.ts +2 -2
- package/dist/types/core/models/api/financialReport.d.ts +7 -1
- package/dist/types/core/models/api/legal-entity.d.ts +1 -6
- package/dist/types/core/models/api/organization.d.ts +1 -1
- package/dist/types/core/user-events.d.ts +1 -1
- package/dist/types/embeds/business-financing/adyen-business-financing.types.d.ts +5 -0
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts +7 -2
- package/dist/types/embeds/individual-status/adyen-individual-status.types.d.ts +5 -0
- package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.types.d.ts +5 -0
- package/dist/types/embeds/onboarding/adyen-onboarding.types.d.ts +5 -0
- package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.types.d.ts +5 -0
- package/dist/types/embeds/terms-of-service-status/adyen-terms-of-service-status.types.d.ts +5 -0
- package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.types.d.ts +5 -0
- package/dist/types/embeds/transfer-instrument-management/adyen-transfer-instrument-management.types.d.ts +5 -0
- package/dist/types/embeds/verification-status/adyen-verification-status.types.d.ts +5 -0
- package/dist/types/hooks/useForm/types.d.ts +3 -6
- package/dist/types/hooks/useUboQuestionnaire.d.ts +1 -1
- package/dist/types/language/types.d.ts +3 -15
- package/dist/types/language/utils.d.ts +6 -5
- package/dist/types/stores/formState.d.ts +2 -2
- package/dist/types/stores/globalStore/get-task-status.d.ts +6 -0
- package/dist/types/types/errors/error-message.d.ts +2 -2
- package/dist/types/types/errors/remediation.d.ts +2 -2
- package/dist/types/types/form-configuration.d.ts +2 -2
- package/dist/types/types/form.d.ts +2 -2
- package/dist/types/utils/decisionMaker.d.ts +2 -2
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/fieldConfigurations.d.ts +6 -6
- package/dist/types/utils/formUtils.d.ts +5 -6
- package/dist/types/utils/getDisplayErrorMessage.d.ts +2 -2
- package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -2
- package/dist/types/utils/not.d.ts +12 -0
- package/dist/types/utils/roleMetadata.d.ts +4 -4
- package/dist/types/utils/textTransformation/toFullWidth.d.ts +2 -3
- package/dist/types/utils/validatorUtils.d.ts +1 -0
- package/dist/types-CQ2p58-6.js +36 -0
- package/dist/{types-C8io4KaH.js → types-CcxS0801.js} +2 -2
- package/dist/{types-DwXc_yI8.js → types-DcouFF7I.js} +2 -2
- package/dist/{types-B7GElie6.js → types-_ugkpUNx.js} +11 -9
- package/dist/{types-BQL9Lsg4.js → types-vXKpLHZM.js} +2 -2
- package/dist/{Image-CAucF9wz.js → unincorporated-partnership-QawJyhxx.js} +8 -7
- package/dist/{useAssociatedLegalEntity-ETDoz1H2.js → useAssociatedLegalEntity-DXp9udzH.js} +2 -2
- package/dist/{useBusinessDetailsData-FrL0b9Ni.js → useBusinessDetailsData-CgfVRRNG.js} +1090 -917
- package/dist/{useCreateLegalEntity-DrcLoNYT.js → useCreateLegalEntity-C5daQcez.js} +2 -2
- package/dist/{useForm-DqUW2TbW.js → useForm-BQDytQRR.js} +3 -3
- package/dist/{useFormContext-CkuaJPUI.js → useFormContext-CX6rQNws.js} +9 -8
- package/dist/{FormWrapper-B3N3YosC.js → useGlobalData-xVRfhIqc.js} +66 -11
- package/dist/{useMultiForm-Dm2IEMH9.js → useMultiForm-DRZSxmEa.js} +12 -6
- package/dist/{useOnboardingStatus-H7Xqe2GC.js → useOnboardingStatus-C6X8CPF2.js} +2 -2
- package/dist/{useScenarios-CibP5LVa.js → useScenarios-C5uruC52.js} +2 -2
- package/dist/{useTermsOfServiceStatus-Dg_nBQgt.js → useTermsOfServiceStatus-CABu0vXO.js} +2 -2
- package/dist/{useToastContext-D643iewp.js → useToastContext-C2BAjZxO.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-BM9dNg4i.js → useUnincorporatedPartnershipMembers-Duhfzca2.js} +5 -5
- package/dist/{useUpdateBusinessLines-BuW6Vnof.js → useUpdateBusinessLines-CFgADcSW.js} +5 -5
- package/dist/{useUpdateLegalEntity-tRw1V_Mt.js → useUpdateLegalEntity-vK1vTzAB.js} +3 -3
- package/dist/{utils-D9h2Aq2w.js → utils-Bh3VtXaW.js} +55 -22
- package/dist/{utils-BnolcW6V.js → utils-Bo1WrnnM.js} +6 -6
- package/dist/{utils-BasWTkqk.js → utils-BvFIL5qs.js} +22 -2
- package/dist/{utils-b_KUV0wb.js → utils-HUgTKRia.js} +2 -2
- package/dist/{utils-PkTZS9uf.js → utils-nUjUW0ze.js} +2 -2
- package/dist/{validate-K0fmvoFj.js → validate-CDGLD3wC.js} +24 -12
- package/dist/{validate-CtxacqMv.js → validate-DDCTmBf4.js} +5 -5
- package/dist/{validationError-DdlWONz2.js → validationError-DmAD3_AN.js} +3 -3
- package/package.json +35 -53
- package/dist/Accordion-B2vSnESS.js +0 -88
- package/dist/Alert-CFmX9yNV.js +0 -169
- package/dist/BusinessFinancingPage-Bpu78Ynn.js +0 -43
- package/dist/DropinLayout-CBP_cHLC.js +0 -17
- package/dist/Header-vslG1ugE.js +0 -83
- package/dist/TaskVerificationStatus-DZIw2ztV.js +0 -129
- package/dist/TrustMemberIndividualPage-DmNp3D89.js +0 -64
- package/dist/accountHolderUtils-Btu9mMnM.js +0 -66
- package/dist/company-types-value-D_mKv5PT.js +0 -23
- package/dist/da-DK-DvZ431fC.js +0 -13
- package/dist/da-DK-DzcTI92X.js +0 -13
- package/dist/datasetUtil-BHQp0-xL.js +0 -58
- package/dist/de-DE-0uSzhWg5.js +0 -13
- package/dist/de-DE-dPfrbCii.js +0 -13
- package/dist/en-US-CozY33On.js +0 -13
- package/dist/en-US-cVpRgdC8.js +0 -13
- package/dist/es-ES--IvNed_Q.js +0 -13
- package/dist/es-ES-B7dt4cn7.js +0 -13
- package/dist/fi-FI-BUixKfXH.js +0 -13
- package/dist/fi-FI-REMsyTSr.js +0 -13
- package/dist/filterProblemsByTaskForms-Cz7iQtms.js +0 -30
- package/dist/fr-FR-BM-qNLci.js +0 -13
- package/dist/fr-FR-CvHWmim-.js +0 -13
- package/dist/getTrustedFields-C5-mXl-l.js +0 -64
- package/dist/it-IT-BeX7-OcD.js +0 -13
- package/dist/it-IT-D63gRTDc.js +0 -13
- package/dist/ja-JP-B3wVYIJU.js +0 -151
- package/dist/ja-JP-DL0IjTzn.js +0 -13
- package/dist/mapJpAddressSchemaToAddressLocalizations-Cu4hdrYE.js +0 -162
- package/dist/nl-NL-CM5U8ODq.js +0 -13
- package/dist/nl-NL-KQ6bciOb.js +0 -13
- package/dist/no-NO-BQL_M1pn.js +0 -13
- package/dist/no-NO-Ds3VioxT.js +0 -13
- package/dist/pt-BR-AZ3roErF.js +0 -13
- package/dist/pt-BR-Ct4s4jXV.js +0 -13
- package/dist/sl-SI-C0wSbuau.js +0 -13
- package/dist/sl-SI-hxwQIw_i.js +0 -13
- package/dist/sv-SE-0PQ-U1u6.js +0 -13
- package/dist/sv-SE-DtKjf4Go.js +0 -13
- package/dist/types/components/Business/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +0 -4
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +0 -23
- package/dist/unincorporated-partnership-MeN1dp53.js +0 -97
- package/dist/useBusinessLines-C5NQ5pE8.js +0 -29
- package/dist/useCanSeeIntroduction-BdZJ7k-_.js +0 -48
- package/dist/useDataMissingRemediations-Zgtpw7uZ.js +0 -41
- package/dist/useDataset-Cap5ZjTr.js +0 -76
- package/dist/useDeleteTransferInstrument-B2wRj-qL.js +0 -32
- package/dist/useGlobalData-5Z6W3or1.js +0 -68
- package/dist/useNavigate-CI0N-POy.js +0 -265
- package/dist/usePciQuestionnaireList-BF7TPjbQ.js +0 -29
- package/dist/useSalesChannels-DYGRfKeh.js +0 -65
- package/dist/useSetting-CbBaitp6.js +0 -19
- package/dist/useTaskStatus-1OZ2clnm.js +0 -51
- package/dist/useTrustMembers-BTCDIu6B.js +0 -163
- /package/dist/types/components/{Business/forms/FinancialInformation → Shared/fields/ReportedValueOptionField}/ReportedValue.d.ts +0 -0
|
@@ -12,7 +12,7 @@ export interface IndustryCodeFieldSchema {
|
|
|
12
12
|
industryCodes?: IndustryCode[];
|
|
13
13
|
}
|
|
14
14
|
export interface IndustryCodeFieldProps extends Pick<BaseFormFieldProps<IndustryCodeFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'handleChangeFor'> {
|
|
15
|
-
guidanceText:
|
|
15
|
+
guidanceText: string;
|
|
16
16
|
businessLineTypes: BusinessLineType[];
|
|
17
17
|
single?: boolean;
|
|
18
18
|
setValid?: (key: 'industryCodes', value: boolean, formName: keyof BusinessLinesSchema) => void;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { FieldMetadata } from '../../../../utils/fieldConfigurations';
|
|
2
2
|
export declare const localizedLegalCompanyNameFieldConfig: {
|
|
3
3
|
jaHaniLegalCompanyName: {
|
|
4
|
-
config: FieldMetadata<import("../../../../types/localizedScriptSchema").LocalizedScriptSchema<import("../LegalCompanyNameField/types").LegalCompanyNameFieldSchema, "jaHani" | "jaKana">, "jaHaniLegalCompanyName">;
|
|
5
|
-
metadata: FieldMetadata<import("../../../../types/localizedScriptSchema").LocalizedScriptSchema<import("../LegalCompanyNameField/types").LegalCompanyNameFieldSchema, "jaHani" | "jaKana">, "jaHaniLegalCompanyName">;
|
|
4
|
+
config: FieldMetadata<import("../../../../types/localizedScriptSchema").LocalizedScriptSchema<import("../LegalCompanyNameField/types").LegalCompanyNameFieldSchema, "jaHani" | "jaKana">, "jaHaniLegalCompanyName", "common">;
|
|
5
|
+
metadata: FieldMetadata<import("../../../../types/localizedScriptSchema").LocalizedScriptSchema<import("../LegalCompanyNameField/types").LegalCompanyNameFieldSchema, "jaHani" | "jaKana">, "jaHaniLegalCompanyName", "common">;
|
|
6
6
|
};
|
|
7
7
|
jaKanaLegalCompanyName: {
|
|
8
|
-
config: FieldMetadata<import("../../../../types/localizedScriptSchema").LocalizedScriptSchema<import("../LegalCompanyNameField/types").LegalCompanyNameFieldSchema, "jaHani" | "jaKana">, "jaKanaLegalCompanyName">;
|
|
9
|
-
metadata: FieldMetadata<import("../../../../types/localizedScriptSchema").LocalizedScriptSchema<import("../LegalCompanyNameField/types").LegalCompanyNameFieldSchema, "jaHani" | "jaKana">, "jaKanaLegalCompanyName">;
|
|
8
|
+
config: FieldMetadata<import("../../../../types/localizedScriptSchema").LocalizedScriptSchema<import("../LegalCompanyNameField/types").LegalCompanyNameFieldSchema, "jaHani" | "jaKana">, "jaKanaLegalCompanyName", "common">;
|
|
9
|
+
metadata: FieldMetadata<import("../../../../types/localizedScriptSchema").LocalizedScriptSchema<import("../LegalCompanyNameField/types").LegalCompanyNameFieldSchema, "jaHani" | "jaKana">, "jaKanaLegalCompanyName", "common">;
|
|
10
10
|
};
|
|
11
11
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { PhoneFieldProps, PhoneFieldSchema } from './types';
|
|
2
2
|
export declare const PHONE_FIELD: Array<keyof PhoneFieldSchema>;
|
|
3
|
-
export declare function PhoneField({ country, name, data, valid, errors, labels, mask, readonly, optional, placeholder, handleChangeFor, }: PhoneFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function PhoneField({ country, name, data, valid, errors, labels, mask, readonly, optional, placeholder, helper, helperPosition, handleChangeFor, }: PhoneFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -7,4 +7,6 @@ export interface PhoneFieldSchema {
|
|
|
7
7
|
export interface PhoneFieldProps extends Pick<BaseFormFieldProps<PhoneFieldSchema>, 'name' | 'data' | 'valid' | 'errors' | 'labels' | 'mask' | 'readonly' | 'optional' | 'handleChangeFor'> {
|
|
8
8
|
country: CountryCode;
|
|
9
9
|
placeholder?: string;
|
|
10
|
+
helper?: string;
|
|
11
|
+
helperPosition?: 'above' | 'below';
|
|
10
12
|
}
|
package/dist/types/components/Shared/fields/ReportedValueOptionField/ReportedValueOptionField.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ReportedValueOptionFieldProps, ReportedValueOptionFieldSchema } from './types';
|
|
2
|
+
export declare const REPORTED_VALUE_OPTION_FIELD: Array<keyof ReportedValueOptionFieldSchema>;
|
|
3
|
+
export declare function ReportedValueOptionField({ data, valid, errors, handleChangeFor, currency, }: ReportedValueOptionFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { FieldMetadata } from '../../../../utils/fieldConfigurations';
|
|
2
|
+
import type { ReportedValueOptionFieldSchema } from './types';
|
|
3
|
+
export declare const reportedValueOptionMetadata: FieldMetadata<ReportedValueOptionFieldSchema, 'reportedValueOption'>;
|
|
4
|
+
export declare const balanceSheetTotalMetadata: FieldMetadata<ReportedValueOptionFieldSchema, 'balanceSheetTotal'>;
|
|
5
|
+
export declare const annualTurnoverMetadata: FieldMetadata<ReportedValueOptionFieldSchema, 'annualTurnover'>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { BaseFormFieldProps } from '../../../../hooks/useForm/types';
|
|
2
|
+
import type { Currency } from '../../../../types/datasets/currency';
|
|
3
|
+
export interface ReportedValueOptionFieldSchema {
|
|
4
|
+
reportedValueOption?: 'balanceSheetTotal' | 'annualTurnover';
|
|
5
|
+
balanceSheetTotal?: number;
|
|
6
|
+
annualTurnover?: number;
|
|
7
|
+
}
|
|
8
|
+
export interface ReportedValueOptionFieldProps extends Pick<BaseFormFieldProps<ReportedValueOptionFieldSchema>, 'data' | 'valid' | 'errors' | 'handleChangeFor'> {
|
|
9
|
+
currency: Currency;
|
|
10
|
+
}
|
package/dist/types/components/Shared/fields/StockExchangeMICField/StockExchangeMICField.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { StockExchangeMICFieldProps, StockExchangeMICFieldSchema } from './types';
|
|
2
2
|
export declare const STOCK_EXCHANGE_MIC_FIELD: Array<keyof StockExchangeMICFieldSchema>;
|
|
3
|
-
export declare function StockExchangeMICField({ data, valid, errors, labels, readonly, mask,
|
|
3
|
+
export declare function StockExchangeMICField({ data, valid, errors, labels, readonly, mask, shouldValidate, handleChangeFor, }: StockExchangeMICFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -2,4 +2,4 @@ import type { BaseFormFieldProps } from '../../../../hooks/useForm/types';
|
|
|
2
2
|
export interface StockExchangeMICFieldSchema {
|
|
3
3
|
stockExchangeMIC?: string | undefined;
|
|
4
4
|
}
|
|
5
|
-
export type StockExchangeMICFieldProps = Pick<BaseFormFieldProps<StockExchangeMICFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'mask' | '
|
|
5
|
+
export type StockExchangeMICFieldProps = Pick<BaseFormFieldProps<StockExchangeMICFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'mask' | 'shouldValidate' | 'handleChangeFor'>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { StockISINFieldProps, StockISINFieldSchema } from './types';
|
|
2
2
|
export declare const STOCK_ISIN_FIELD: Array<keyof StockISINFieldSchema>;
|
|
3
|
-
export declare function StockISINField({ data, valid, errors, labels, readonly, mask,
|
|
3
|
+
export declare function StockISINField({ data, valid, errors, labels, readonly, mask, shouldValidate, handleChangeFor, }: StockISINFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -2,4 +2,4 @@ import type { BaseFormFieldProps } from '../../../../hooks/useForm/types';
|
|
|
2
2
|
export interface StockISINFieldSchema {
|
|
3
3
|
stockISIN?: string;
|
|
4
4
|
}
|
|
5
|
-
export type StockISINFieldProps = Pick<BaseFormFieldProps<StockISINFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'mask' | '
|
|
5
|
+
export type StockISINFieldProps = Pick<BaseFormFieldProps<StockISINFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'mask' | 'shouldValidate' | 'handleChangeFor'>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { StockTickerSymbolFieldProps, StockTickerSymbolFieldSchema } from './types';
|
|
2
2
|
export declare const STOCK_TICKER_SYMBOL_FIELD: Array<keyof StockTickerSymbolFieldSchema>;
|
|
3
|
-
export declare function StockTickerSymbolField({ data, valid, errors, labels, readonly, mask,
|
|
3
|
+
export declare function StockTickerSymbolField({ data, valid, errors, labels, readonly, mask, shouldValidate, handleChangeFor, }: StockTickerSymbolFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -2,4 +2,4 @@ import type { BaseFormFieldProps } from '../../../../hooks/useForm/types';
|
|
|
2
2
|
export interface StockTickerSymbolFieldSchema {
|
|
3
3
|
stockTickerSymbol?: string;
|
|
4
4
|
}
|
|
5
|
-
export type StockTickerSymbolFieldProps = Pick<BaseFormFieldProps<StockTickerSymbolFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'mask' | '
|
|
5
|
+
export type StockTickerSymbolFieldProps = Pick<BaseFormFieldProps<StockTickerSymbolFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'mask' | 'shouldValidate' | 'handleChangeFor'>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { CompanyTypesValue } from '../../../../../core/models/api/company-types-value';
|
|
2
|
+
import type { LegalEntityTypes } from '../../../../../core/models/api/legal-entity-type';
|
|
3
|
+
import type { Translatable } from '../../../../../../types';
|
|
4
|
+
import type { CountryCode } from '../../../../../types/datasets/country-code';
|
|
5
|
+
import type { TaxIdNumberType } from '../types';
|
|
6
|
+
interface TaxIdNumberTypeSelectorProps {
|
|
7
|
+
country: CountryCode;
|
|
8
|
+
companyType?: CompanyTypesValue | typeof LegalEntityTypes.TRUST | typeof LegalEntityTypes.INDIVIDUAL;
|
|
9
|
+
isUsSoleProp?: boolean;
|
|
10
|
+
errorMessage?: boolean | Translatable;
|
|
11
|
+
/** Label for the "exempted from tax" radio option. When provided, an exemption option is appended to the radio group. */
|
|
12
|
+
exemptedOptionLabel?: string;
|
|
13
|
+
selected: TaxIdNumberType | 'exempted' | undefined;
|
|
14
|
+
setSelected: (type: TaxIdNumberType | 'exempted') => void;
|
|
15
|
+
}
|
|
16
|
+
export declare function TaxIdNumberTypeSelector({ country, companyType, selected, setSelected, exemptedOptionLabel, isUsSoleProp, errorMessage, }: TaxIdNumberTypeSelectorProps): import("preact/jsx-runtime").JSX.Element | null;
|
|
17
|
+
export {};
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* It provides functionality to find existing tax information and determine default tax ID number types
|
|
4
4
|
* based on country and entity type.
|
|
5
5
|
*/
|
|
6
|
-
import type { CompanyTypesValue } from '
|
|
7
|
-
import type { LegalEntityTypes } from '
|
|
8
|
-
import type { TaxInformation } from '
|
|
9
|
-
import type { CountryCode } from '
|
|
10
|
-
import type { TaxIdNumberType } from '
|
|
6
|
+
import type { CompanyTypesValue } from '../../../../../core/models/api/company-types-value';
|
|
7
|
+
import type { LegalEntityTypes } from '../../../../../core/models/api/legal-entity-type';
|
|
8
|
+
import type { TaxInformation } from '../../../../../core/models/api/organization';
|
|
9
|
+
import type { CountryCode } from '../../../../../types/datasets/country-code';
|
|
10
|
+
import type { TaxIdNumberType } from '../types';
|
|
11
11
|
/**
|
|
12
12
|
* Finds tax information for a specific country from an array of tax information objects.
|
|
13
13
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { CompanyTypesValue } from '
|
|
2
|
-
import type { LegalEntityTypes } from '
|
|
3
|
-
import type { TaxInformation } from '
|
|
4
|
-
import type { CountryCode } from '
|
|
5
|
-
import type { TaxIdNumberType } from '
|
|
1
|
+
import type { CompanyTypesValue } from '../../../../../core/models/api/company-types-value';
|
|
2
|
+
import type { LegalEntityTypes } from '../../../../../core/models/api/legal-entity-type';
|
|
3
|
+
import type { TaxInformation } from '../../../../../core/models/api/organization';
|
|
4
|
+
import type { CountryCode } from '../../../../../types/datasets/country-code';
|
|
5
|
+
import type { TaxIdNumberType } from '../types';
|
|
6
6
|
/**
|
|
7
7
|
* For existing data, we need to infer the tax ID number type from the existing data.
|
|
8
8
|
* Otherwise, the incorrect mask will be applied.
|
|
@@ -6,4 +6,4 @@ export declare const TAX_INFORMATION_FIELD: Array<keyof TaxInformationFieldSchem
|
|
|
6
6
|
* scenarios, including two specialized handling for US Sole Proprietorships (where SSN option acts as exemption selection)
|
|
7
7
|
* and Singapore Companies (where registration number (UEN) can be used for tax ID).
|
|
8
8
|
*/
|
|
9
|
-
export declare function TaxInformationField({ data, valid, errors, labels, mask,
|
|
9
|
+
export declare function TaxInformationField({ data, valid, errors, labels, mask, placeholder, readonly, optional, shouldValidate, handleChangeFor, country, canExempt, registrationNumber, entityType, defaultData, }: TaxInformationFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -2,8 +2,7 @@ import { type CompanyTypesValue } from '../../../../core/models/api/company-type
|
|
|
2
2
|
import { LegalEntityTypes } from '../../../../core/models/api/legal-entity-type';
|
|
3
3
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
4
4
|
import type { FieldMetadata, NoParams, PerCountryFieldConfig } from '../../../../utils/fieldConfigurations';
|
|
5
|
-
import type { TaxIdNumberType } from '
|
|
6
|
-
import type { TaxInformationFieldSchema } from './types';
|
|
5
|
+
import type { TaxIdNumberType, TaxInformationFieldSchema } from './types';
|
|
7
6
|
export interface FieldConfigParams {
|
|
8
7
|
companyType?: CompanyTypesValue | typeof LegalEntityTypes.TRUST | typeof LegalEntityTypes.INDIVIDUAL;
|
|
9
8
|
taxIdNumberType?: TaxIdNumberType;
|
|
@@ -16,4 +15,4 @@ export declare const getTaxInformationPlaceholderText: ({ country, companyType,
|
|
|
16
15
|
country: CountryCode;
|
|
17
16
|
companyType?: CompanyTypesValue | typeof LegalEntityTypes.TRUST | typeof LegalEntityTypes.INDIVIDUAL;
|
|
18
17
|
taxIdNumberType?: TaxIdNumberType;
|
|
19
|
-
}) => "94577403194" | "
|
|
18
|
+
}) => "94577403194" | "12345678" | "123456" | "931736581" | "99999999999" | "0123321123" | "00123123T" | "32708101201" | "131052-308T" | "30 23 217 600 053" | "26954371827" | "14310260208" | "244709851" | "1234567T" | "1497955KA" | "12345678901" | "C155673-79" | "32532963606" | "33309240064" | "1893120105732" | "19991201001" | "1234567A" | "999999999" | "811786523" | "299999998" | "7711167420" | "2020123456" | "15012557" | "7172510005" | "99999999L" | "11-0000000" | undefined;
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
|
|
2
|
+
import { LegalEntityTypes } from '../../../../core/models/api/legal-entity-type';
|
|
3
|
+
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
4
|
+
import type { TaxIdNumberOption } from './types';
|
|
5
|
+
export declare const taxIdNumberOptions: {
|
|
6
|
+
readonly AU: readonly [{
|
|
7
|
+
readonly id: "ABN";
|
|
8
|
+
readonly name: "australianBusinessNumberAbn";
|
|
9
|
+
}];
|
|
10
|
+
readonly AT: readonly [{
|
|
11
|
+
readonly id: "STEUERNUMMER";
|
|
12
|
+
readonly name: "taxInformationNumber__AT";
|
|
13
|
+
}];
|
|
14
|
+
readonly BE: readonly [{
|
|
15
|
+
readonly id: "BUSINESS_NUMMER";
|
|
16
|
+
readonly name: "businessNumber";
|
|
17
|
+
readonly applicableOnlyFor: readonly ["soleProprietorship", "privateCompany", "governmentalOrganization", "associationIncorporated", "partnershipIncorporated", "nonProfit", "unincorporatedPartnership", "unlistedPublicCompany"];
|
|
18
|
+
}, {
|
|
19
|
+
readonly id: "NUMERO_NATIONAL";
|
|
20
|
+
readonly name: "taxInformationNumber__BE_Individual";
|
|
21
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
22
|
+
}];
|
|
23
|
+
readonly BR: readonly [{
|
|
24
|
+
readonly id: "CNPJ";
|
|
25
|
+
readonly name: "CNPJ";
|
|
26
|
+
}];
|
|
27
|
+
readonly CA: readonly [{
|
|
28
|
+
readonly id: "BUSINESS_NUMBER";
|
|
29
|
+
readonly name: "businessNumber";
|
|
30
|
+
}];
|
|
31
|
+
readonly HR: readonly [{
|
|
32
|
+
readonly id: "OIB";
|
|
33
|
+
readonly name: "taxInformationNumber__HR";
|
|
34
|
+
}];
|
|
35
|
+
readonly CY: readonly [{
|
|
36
|
+
readonly id: "TIC";
|
|
37
|
+
readonly name: "taxInformationNumber__CY";
|
|
38
|
+
}];
|
|
39
|
+
readonly EE: readonly [{
|
|
40
|
+
readonly id: "ISIKUKOOD";
|
|
41
|
+
readonly name: "taxInformationNumber__ET_Individual";
|
|
42
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
43
|
+
}, {
|
|
44
|
+
readonly id: "registrikood";
|
|
45
|
+
readonly name: "registrikood";
|
|
46
|
+
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
47
|
+
}];
|
|
48
|
+
readonly FI: readonly [{
|
|
49
|
+
readonly id: "HENKILOTUNNUS";
|
|
50
|
+
readonly name: "taxInformationNumber__FI";
|
|
51
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
52
|
+
}, {
|
|
53
|
+
readonly id: "YTUNNUS";
|
|
54
|
+
readonly name: "YTunnus";
|
|
55
|
+
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
56
|
+
}];
|
|
57
|
+
readonly FR: readonly [{
|
|
58
|
+
readonly id: "SIRET";
|
|
59
|
+
readonly name: "siret";
|
|
60
|
+
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
61
|
+
}];
|
|
62
|
+
readonly DE: readonly [{
|
|
63
|
+
readonly id: "STEUERNUMMER";
|
|
64
|
+
readonly name: "taxInformationNumber__DE";
|
|
65
|
+
readonly applicableOnlyFor: readonly ["soleProprietorship", "privateCompany", "governmentalOrganization", "associationIncorporated", "partnershipIncorporated", "nonProfit", "unincorporatedPartnership", "unlistedPublicCompany"];
|
|
66
|
+
}, {
|
|
67
|
+
readonly id: "IDNR";
|
|
68
|
+
readonly name: "taxInformationNumber__DE_Individual";
|
|
69
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
70
|
+
}];
|
|
71
|
+
readonly GI: readonly [{
|
|
72
|
+
readonly id: "GI_TAXPAYER_REFERENCE_NUMBER";
|
|
73
|
+
readonly name: "taxpayerReferenceNumber";
|
|
74
|
+
}];
|
|
75
|
+
readonly GR: readonly [{
|
|
76
|
+
readonly id: "AFM";
|
|
77
|
+
readonly name: "taxInformationNumber__GR";
|
|
78
|
+
}];
|
|
79
|
+
readonly GG: readonly [{
|
|
80
|
+
readonly id: "GG_REGISTRATION_NUMBER";
|
|
81
|
+
readonly name: "taxInformationNumber";
|
|
82
|
+
}, {
|
|
83
|
+
readonly id: "TIN_GG";
|
|
84
|
+
readonly name: "nationalInsuranceNumber";
|
|
85
|
+
readonly applicableOnlyFor: readonly ["soleProprietorship"];
|
|
86
|
+
}];
|
|
87
|
+
readonly HK: readonly [{
|
|
88
|
+
readonly id: "BRN";
|
|
89
|
+
readonly name: "taxInformationNumber__HK";
|
|
90
|
+
}];
|
|
91
|
+
readonly IE: readonly [{
|
|
92
|
+
readonly id: "TRN";
|
|
93
|
+
readonly name: "trnNumber";
|
|
94
|
+
readonly applicableOnlyFor: readonly ["privateCompany", "unincorporatedPartnership"];
|
|
95
|
+
}, {
|
|
96
|
+
readonly id: "PERSONAL_PUBLIC_SERVICE_NUMBER";
|
|
97
|
+
readonly name: "taxInformationNumber__IE_Individual";
|
|
98
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
99
|
+
}];
|
|
100
|
+
readonly IM: readonly [{
|
|
101
|
+
readonly id: "IM_TAX_REFERENCE_NUMBER";
|
|
102
|
+
readonly name: "taxReferenceNumber";
|
|
103
|
+
}];
|
|
104
|
+
readonly IT: readonly [{
|
|
105
|
+
readonly id: "CODICE_FISCALE";
|
|
106
|
+
readonly name: "taxInformationNumber__IT";
|
|
107
|
+
}];
|
|
108
|
+
readonly JP: readonly [{
|
|
109
|
+
readonly id: "CORPORATE_NUMBER";
|
|
110
|
+
readonly name: "taxInformationNumber";
|
|
111
|
+
}];
|
|
112
|
+
readonly JE: readonly [{
|
|
113
|
+
readonly id: "TIN_JE";
|
|
114
|
+
readonly name: "taxIdentificationNumber";
|
|
115
|
+
}, {
|
|
116
|
+
readonly id: "SSN";
|
|
117
|
+
readonly name: "socialSecurityNumber";
|
|
118
|
+
readonly applicableOnlyFor: readonly ["soleProprietorship"];
|
|
119
|
+
}];
|
|
120
|
+
readonly LV: readonly [{
|
|
121
|
+
readonly id: "PERSONAS_KODS";
|
|
122
|
+
readonly name: "taxInformationNumber__LV";
|
|
123
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
124
|
+
}, {
|
|
125
|
+
readonly id: "REGISTRACIJAS_NUMURS";
|
|
126
|
+
readonly name: "lvRegistrationNumber";
|
|
127
|
+
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
128
|
+
}];
|
|
129
|
+
readonly LT: readonly [{
|
|
130
|
+
readonly id: "ASMENS_KODAS";
|
|
131
|
+
readonly name: "taxInformationNumber__LT";
|
|
132
|
+
}];
|
|
133
|
+
readonly LU: readonly [{
|
|
134
|
+
readonly id: "NATIONAL_IDENTIFICATION_NUMBER";
|
|
135
|
+
readonly name: "taxInformationNumber__LU_Individual";
|
|
136
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
137
|
+
}, {
|
|
138
|
+
readonly id: "NATIONAL_IDENTIFICATION_NUMBER";
|
|
139
|
+
readonly name: "taxInformationNumber__LU_Org";
|
|
140
|
+
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
141
|
+
}];
|
|
142
|
+
readonly MT: readonly [{
|
|
143
|
+
readonly id: "NRU";
|
|
144
|
+
readonly name: "taxInformationNumber__MT_NRU_Individual";
|
|
145
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
146
|
+
}, {
|
|
147
|
+
readonly id: "IDENTITY_CARD_NUMBER";
|
|
148
|
+
readonly name: "taxInformationNumber__MT_Individual";
|
|
149
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
150
|
+
}, {
|
|
151
|
+
readonly id: "INCOME_TAX_REGISTRATION_NUMBER";
|
|
152
|
+
readonly name: "taxInformationNumber__MT_Org";
|
|
153
|
+
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
154
|
+
}];
|
|
155
|
+
readonly NL: readonly [{
|
|
156
|
+
readonly id: "RSIN";
|
|
157
|
+
readonly name: "rsinNumber";
|
|
158
|
+
readonly applicableOnlyFor: readonly ["privateCompany", "governmentalOrganization", "associationIncorporated", "partnershipIncorporated", "nonProfit", "unincorporatedPartnership", "unlistedPublicCompany"];
|
|
159
|
+
}, {
|
|
160
|
+
readonly id: "BSN";
|
|
161
|
+
readonly name: "bsnNumber";
|
|
162
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
163
|
+
}];
|
|
164
|
+
readonly NZ: readonly [{
|
|
165
|
+
readonly id: "IRD";
|
|
166
|
+
readonly name: "irdNumber";
|
|
167
|
+
}];
|
|
168
|
+
readonly PT: readonly [{
|
|
169
|
+
readonly id: "NUMERO_ID_CIVIL";
|
|
170
|
+
readonly name: "taxInformationNumber__PT";
|
|
171
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
172
|
+
}, {
|
|
173
|
+
readonly id: "NIPC";
|
|
174
|
+
readonly name: "NIPC";
|
|
175
|
+
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
176
|
+
}];
|
|
177
|
+
readonly PR: readonly [{
|
|
178
|
+
readonly id: "EIN";
|
|
179
|
+
readonly name: "ein";
|
|
180
|
+
}];
|
|
181
|
+
readonly SG: readonly [{
|
|
182
|
+
readonly id: "GST";
|
|
183
|
+
readonly name: "gst";
|
|
184
|
+
}, {
|
|
185
|
+
readonly id: "UEN";
|
|
186
|
+
readonly name: "uen";
|
|
187
|
+
}];
|
|
188
|
+
readonly SK: readonly [{
|
|
189
|
+
readonly id: "RODNE_CISLO";
|
|
190
|
+
readonly name: "taxInformationNumber__SK_Individual";
|
|
191
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
192
|
+
}, {
|
|
193
|
+
readonly id: "NATIONAL_IDENTIFICATION_NUMBER";
|
|
194
|
+
readonly name: "taxInformationNumber__SK_Org";
|
|
195
|
+
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
196
|
+
}];
|
|
197
|
+
readonly SI: readonly [{
|
|
198
|
+
readonly id: "SI_TAX_NUMBER";
|
|
199
|
+
readonly name: "taxInformationNumber__SI_Individual";
|
|
200
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
201
|
+
}, {
|
|
202
|
+
readonly id: "NATIONAL_IDENTIFICATION_NUMBER";
|
|
203
|
+
readonly name: "taxInformationNumber__SI_Org";
|
|
204
|
+
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
205
|
+
}];
|
|
206
|
+
readonly ES: readonly [{
|
|
207
|
+
readonly id: "dni";
|
|
208
|
+
readonly name: "dni";
|
|
209
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
210
|
+
}, {
|
|
211
|
+
readonly id: "nie";
|
|
212
|
+
readonly name: "nie";
|
|
213
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
214
|
+
}, {
|
|
215
|
+
readonly id: "NIF";
|
|
216
|
+
readonly name: "NIF";
|
|
217
|
+
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
218
|
+
}];
|
|
219
|
+
readonly GB: readonly [{
|
|
220
|
+
readonly id: "UTR";
|
|
221
|
+
readonly name: "utr";
|
|
222
|
+
}, {
|
|
223
|
+
readonly id: "NINO";
|
|
224
|
+
readonly name: "nationalInsuranceNumber";
|
|
225
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
226
|
+
}];
|
|
227
|
+
readonly US: readonly [{
|
|
228
|
+
readonly id: "EIN";
|
|
229
|
+
readonly name: "ein";
|
|
230
|
+
}];
|
|
231
|
+
};
|
|
232
|
+
export declare const getTaxIdNumberOptions: (country: CountryCode, companyType: CompanyTypesValue | typeof LegalEntityTypes.TRUST | typeof LegalEntityTypes.INDIVIDUAL | undefined) => readonly TaxIdNumberOption[] | undefined;
|
|
@@ -2,13 +2,15 @@ import type { CompanyTypesValue } from '../../../../core/models/api/company-type
|
|
|
2
2
|
import type { LegalEntityTypes } from '../../../../core/models/api/legal-entity-type';
|
|
3
3
|
import type { TaxInformation } from '../../../../core/models/api/organization';
|
|
4
4
|
import type { BaseFormFieldProps } from '../../../../hooks/useForm/types';
|
|
5
|
+
import type { NsTranslationKey } from '../../../../../types';
|
|
5
6
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
7
|
+
import type { taxIdNumberOptions } from './taxIdNumberTypes';
|
|
6
8
|
export interface TaxInformationFieldSchema {
|
|
7
9
|
taxInformation?: TaxInformation[];
|
|
8
10
|
exemptedFromTax?: boolean;
|
|
9
11
|
isUen?: boolean;
|
|
10
12
|
}
|
|
11
|
-
export interface TaxInformationFieldProps extends Pick<BaseFormFieldProps<TaxInformationFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'mask' | '
|
|
13
|
+
export interface TaxInformationFieldProps extends Pick<BaseFormFieldProps<TaxInformationFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'mask' | 'readonly' | 'optional' | 'shouldValidate' | 'handleChangeFor'> {
|
|
12
14
|
defaultData: TaxInformation[] | undefined;
|
|
13
15
|
country: CountryCode;
|
|
14
16
|
canExempt: boolean;
|
|
@@ -16,3 +18,9 @@ export interface TaxInformationFieldProps extends Pick<BaseFormFieldProps<TaxInf
|
|
|
16
18
|
entityType?: CompanyTypesValue | typeof LegalEntityTypes.TRUST | typeof LegalEntityTypes.INDIVIDUAL;
|
|
17
19
|
registrationNumber?: string;
|
|
18
20
|
}
|
|
21
|
+
export interface TaxIdNumberOption {
|
|
22
|
+
id: string;
|
|
23
|
+
name: NsTranslationKey<'common'>;
|
|
24
|
+
applicableOnlyFor?: ReadonlyArray<CompanyTypesValue | typeof LegalEntityTypes.TRUST | typeof LegalEntityTypes.INDIVIDUAL>;
|
|
25
|
+
}
|
|
26
|
+
export type TaxIdNumberType = (typeof taxIdNumberOptions)[keyof typeof taxIdNumberOptions][number]['id'];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { TaxInformation } from '../../../../core/models/api/organization';
|
|
2
|
+
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
3
|
+
/**
|
|
4
|
+
* Immutably upserts a TaxInformation entry for a given country within the tax information array.
|
|
5
|
+
* - If the array doesn't exist, creates a new one with the entry.
|
|
6
|
+
* - If the country already has an entry, replaces it in-place.
|
|
7
|
+
* - If the country has no entry yet, appends the new entry.
|
|
8
|
+
*/
|
|
9
|
+
export declare function upsertTaxInfoForCountry(taxInformation: TaxInformation[] | undefined, country: CountryCode, newEntry: TaxInformation): TaxInformation[];
|
|
10
|
+
/**
|
|
11
|
+
* Removes all TaxInformation entries for the given country from the array.
|
|
12
|
+
*/
|
|
13
|
+
export declare function removeTaxInfoForCountry(taxInformation: TaxInformation[] | undefined, country: CountryCode): TaxInformation[] | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { VatNumberFieldProps, VatNumberFieldSchema } from './types';
|
|
2
2
|
export declare const VAT_NUMBER_FIELD: Array<keyof VatNumberFieldSchema>;
|
|
3
|
-
export declare function VatNumberField({ data, valid, errors, labels, mask,
|
|
3
|
+
export declare function VatNumberField({ data, valid, errors, labels, mask, readonly, optional, shouldValidate, handleChangeFor, canExempt, country, }: VatNumberFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -8,7 +8,7 @@ export interface VatNumberFieldSchema {
|
|
|
8
8
|
exemptedFromVat?: boolean;
|
|
9
9
|
vatAbsenceReason?: VatAbsenceReason;
|
|
10
10
|
}
|
|
11
|
-
export interface VatNumberFieldProps extends Pick<BaseFormFieldProps<VatNumberFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'mask' | '
|
|
11
|
+
export interface VatNumberFieldProps extends Pick<BaseFormFieldProps<VatNumberFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'mask' | 'readonly' | 'optional' | 'shouldValidate' | 'handleChangeFor'> {
|
|
12
12
|
country: CountryCode;
|
|
13
13
|
canExempt: boolean;
|
|
14
14
|
}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
+
import type { StructuredListItem } from '../../../../../ui/atoms/StructuredList/StructuredList';
|
|
2
|
+
import type { NsTranslationKey } from '../../../../../../../types';
|
|
1
3
|
import type { JpAddressSchema } from '../../../../forms/Address/localized/jp/jpAddressSchema';
|
|
2
4
|
import type { SummaryOf } from '../../../../Summary/types';
|
|
3
5
|
import type { DatasetUtil } from '../../../../../../utils/datasetUtil';
|
|
4
6
|
export declare const mapJpAddressSummary: (data: JpAddressSchema | undefined, datasetUtils: DatasetUtil) => SummaryOf<JpAddressSchema>;
|
|
7
|
+
type MappedSummary = Partial<Record<NsTranslationKey<'common'>, StructuredListItem['details'] | undefined>>;
|
|
8
|
+
export declare const mapJpAddressSummaryNewSummary: (data: JpAddressSchema | undefined, datasetUtils: DatasetUtil) => MappedSummary;
|
|
9
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { CompanyDatasetResponse } from '../../../../api/companyDataSet/companyDataset.types';
|
|
1
|
+
import type { CompanyDatasetResponse, ProviderAgnosticCompanyDatasetResponse } from '../../../../api/companyDataSet/companyDataset.types';
|
|
2
2
|
import type { BaseInnerFormProps } from '../../../../hooks/useForm/types';
|
|
3
|
-
import type {
|
|
3
|
+
import type { NsTranslationKey } from '../../../../../types';
|
|
4
4
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
5
5
|
import type { RecordWithDefault } from '../../../../utils/recordWithDefault';
|
|
6
6
|
import type { ValidationRuleResult, ValidatorMode } from '../../../../utils/validation/types';
|
|
@@ -19,7 +19,7 @@ export interface AddressProps extends BaseInnerFormProps<AddressSchema> {
|
|
|
19
19
|
hideCountry?: boolean;
|
|
20
20
|
onCountryChange?(country: CountryCode): void;
|
|
21
21
|
addressType: AddressType;
|
|
22
|
-
verifiedBusiness?: CompanyDatasetResponse | undefined;
|
|
22
|
+
verifiedBusiness?: CompanyDatasetResponse | ProviderAgnosticCompanyDatasetResponse | undefined;
|
|
23
23
|
verifiedAddress?: AddressSchema;
|
|
24
24
|
condensed?: boolean;
|
|
25
25
|
}
|
|
@@ -40,8 +40,8 @@ export interface AddressFieldProps {
|
|
|
40
40
|
}
|
|
41
41
|
export type AddressSchemas = RecordWithDefault<CountryCode, Array<keyof AddressSchema>>;
|
|
42
42
|
export type AddressLabels = {
|
|
43
|
-
[label: string]: RecordWithDefault<CountryCode,
|
|
43
|
+
[label: string]: RecordWithDefault<CountryCode, NsTranslationKey<'common'>>;
|
|
44
44
|
};
|
|
45
45
|
export type AddressSchemaLabels = {
|
|
46
|
-
[field in keyof AddressSchema]?:
|
|
46
|
+
[field in keyof AddressSchema]?: NsTranslationKey<'common'>;
|
|
47
47
|
};
|