@adyen/kyc-components 4.4.0 → 4.5.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-CtSxtBKi.js → AcceptTermsOfServiceComponent-CecGGc1X.js} +14 -14
- package/dist/{AccountSetupRejected-Izp48yEO.js → AccountSetupRejected-SKRfXM45.js} +1 -1
- package/dist/{ActionBar-Ca6J5mWK.js → ActionBar-NfqEa4Lj.js} +1 -1
- package/dist/{Address-D_vmsuPk.js → Address-DmC7K_9S.js} +10 -10
- package/dist/{Avatar-CKx8J5lx.js → Avatar-DkqYMxqu.js} +1 -1
- package/dist/{BusinessFinancingComponent-DaxARiGM.js → BusinessFinancingComponent-cYBfPHpF.js} +5 -5
- package/dist/{BusinessFinancingDropin-Dd2HLLMa.js → BusinessFinancingDropin-jEPDLEm2.js} +106 -143
- package/dist/{BusinessFinancingPage-BOejVYXh.js → BusinessFinancingPage-D_bJLl-t.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-CTDOUjiA.js → BusinessTypeSelectionPage-CZeSwYus.js} +9 -9
- package/dist/{Checkbox-RZJnbRBZ.js → Checkbox-DEpPoJN_.js} +1 -1
- package/dist/{Confirm-DHTZz6n-.js → Confirm-CYgHkICM.js} +2 -2
- package/dist/{ConstitutionalDocument-CG6z6hOH.js → ConstitutionalDocument-DgivwkYj.js} +18 -18
- package/dist/{ContactDetails-X7roxa7M.js → ContactDetails-opl6-mP9.js} +7 -6
- package/dist/{ContextGuidance-DeZxHGha.js → ContextGuidance-gC4RuGIB.js} +1 -1
- package/dist/{CountryField-prWQNOFZ.js → CountryField-BNisulC2.js} +3 -3
- package/dist/{CreateIndividualComponent-Cr5P6AhY.js → CreateIndividualComponent-BaXw9qdQ.js} +5 -5
- package/dist/{CreateTransferInstrumentComponent-BUzLyFsB.js → CreateTransferInstrumentComponent-Dj0ENBoI.js} +4 -4
- package/dist/{Currency-BCTmbxvQ.js → Currency-C1POIMJZ.js} +9 -15
- package/dist/{CustomerSupport-BUSF6AeJ.js → CustomerSupport-BZYjtYIh.js} +10 -10
- package/dist/{DebugModal-DnwBnRrX.js → DebugModal-BfObi6jq.js} +7 -7
- package/dist/{DecisionMakerDetailsPage-l8dykx5K.js → DecisionMakerDetailsPage-B9TlNZ0D.js} +8 -8
- package/dist/{DecisionMakers-DwsykbVA.js → DecisionMakers-DH44nnKN.js} +20 -20
- package/dist/{Dropzone-BpVTBLdK.js → Dropzone-BbFC9YFN.js} +4 -4
- package/dist/{EmbeddedStatus-CiAT9LVT.js → EmbeddedStatus-C80N4YnY.js} +2 -2
- package/dist/{EndStateLayout-DmuB86Km.js → EndStateLayout-LuO-W__f.js} +1 -1
- package/dist/{EntityAssociation-B2agfeew.js → EntityAssociation-CqyEchYv.js} +4 -4
- package/dist/{EntityGuidanceStatus-ByQeAaJX.js → EntityGuidanceStatus-kD9uByJU.js} +3 -3
- package/dist/{ErrorPanel-Dc-0FFlw.js → ErrorPanel-Wws7gA5m.js} +1 -1
- package/dist/{Field-BCh4RjjH.js → Field-BnYaQCpL.js} +1 -1
- package/dist/{FormNavigation-Dw9vBfOE.js → FormNavigation-DdP2rb2I.js} +3 -3
- package/dist/{Individual.rules-Df2tyewj.js → Individual.rules-BOr9HYuB.js} +10 -6
- package/dist/{IndividualDropin-ffk4cENA.js → IndividualDropin-DQrqvsVq.js} +377 -64
- package/dist/{InputDate-lBYns5ES.js → InputDate-D7tf-vyK.js} +1 -1
- package/dist/{InputText-cE4sdkOF.js → InputText-DJmeZHiM.js} +2 -2
- package/dist/{Introduction-BLHqyzh4.js → Introduction-C5ZzdtBf.js} +4 -4
- package/dist/{JpAddress-DgMxCxUO.js → JpAddress-BLSFMUBF.js} +9 -9
- package/dist/{LandingLayout-DO4D3GZF.js → LandingLayout-DCtOMPr1.js} +1 -1
- package/dist/{LegalCompanyNameField-C2V3zE5H.js → LegalCompanyNameField-C4QSM1kF.js} +6 -6
- package/dist/{LegalRepresentativeDetailsPage-C-fi8ExM.js → LegalRepresentativeDetailsPage-BNnoUySl.js} +4 -4
- package/dist/{Link-C53bmm0L.js → Link-DHZbclel.js} +1 -1
- package/dist/{ListItem-DPoOuxMs.js → ListItem-DRdYYUwm.js} +2 -2
- package/dist/{LoaderWrapper-CyNmE5d5.js → LoaderWrapper-DbnjDZaG.js} +1 -1
- package/dist/{ManageIndividualComponent-D2TaeVp-.js → ManageIndividualComponent-B8NRYoKJ.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-B06SqV2S.js → ManageTermsOfServiceComponent-BhqRq0Vj.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-CD5CeLd4.js → ManageTransferInstrumentComponent-Cn_V6mz7.js} +14 -12
- package/dist/{MaskedInput-BiyWZvf9.js → MaskedInput-Bmnp6vfE.js} +4 -4
- package/dist/{MaybeModal-CQ9Nwb5m.js → MaybeModal-JqIe8Hi4.js} +2 -2
- package/dist/{Modal-B2axEGgw.js → Modal-C4g499L3.js} +15 -25
- package/dist/{Name-DF_giEzW.js → Name-BAP43zgz.js} +4 -4
- package/dist/NewSummary-D04coEyZ.js +60 -0
- package/dist/{OnboardingDropinComponent-JrMNoZpj.js → OnboardingDropinComponent-CYZHcP1A.js} +73 -72
- package/dist/{PayoutDetailsDropin-CiUSUC71.js → PayoutDetailsDropin-CDOhcFNG.js} +37 -38
- package/dist/{PayoutDetailsPage-DqQzTo4c.js → PayoutDetailsPage-B6ObdKoo.js} +5 -5
- package/dist/{RadioGroup-DoV1tEJl.js → RadioGroup-Brbd7IGZ.js} +1 -1
- package/dist/{RadioGroupCard-9aQGW7JN.js → RadioGroupCard-CLjm3HWF.js} +1 -1
- package/dist/{Review-ai4kHVX1.js → Review-CUs3fAkl.js} +6 -6
- package/dist/{RootBusinessDetailsPage-DSkrHvsT.js → RootBusinessDetailsPage-DbQaq7S-.js} +4 -4
- package/dist/{RootBusinessLinesPage-A0Tr3mxD.js → RootBusinessLinesPage-ClrIGBCx.js} +73 -74
- package/dist/{RootIndividualDetailsPage-Bq6hAuWB.js → RootIndividualDetailsPage-C7NXtN3M.js} +5 -5
- package/dist/{Select-DpfHA9OG.js → Select-DeoKjJst.js} +4 -4
- package/dist/{SignPCIComponent-BQiuhLUm.js → SignPCIComponent-CBm2s71f.js} +10 -10
- package/dist/{SingpassSelection-DZllhRC7.js → SingpassSelection-D3GBr1C7.js} +6 -6
- package/dist/{SoleProprietorshipPage-dW52UoqY.js → SoleProprietorshipPage-3kI9hRjQ.js} +3 -3
- package/dist/{SourceOfFundsPage-CP1y52UZ.js → SourceOfFundsPage-BaN1Heuy.js} +37 -32
- package/dist/{StepProgressIndicator-CbH70qse.js → StepProgressIndicator-DTMH_ysU.js} +1 -1
- package/dist/{StoreProvider-mHLtWums.js → StoreProvider-CDvuKNZP.js} +18 -20
- package/dist/{Summary-D-nudpZf.js → Summary-DrjyVpAf.js} +9 -7
- package/dist/{TaxInformationField-b3yhWTWD.js → TaxInformationField-P4kd2RBf.js} +19 -24
- package/dist/{TaxReportingDropin-B-8GeWGr.js → TaxReportingDropin-DoLfjPDT.js} +14 -14
- package/dist/{TextArea-C0PzOf5N.js → TextArea-8HzHbl8a.js} +2 -2
- package/dist/{TileGroup-CKUlaXGR.js → TileGroup-C7pJdtfG.js} +2 -2
- package/dist/{TrustDetailsPage-Czk6U1Tc.js → TrustDetailsPage-CZxWlMFk.js} +31 -32
- package/dist/{TrustMemberCompanyPage-DXT3RepM.js → TrustMemberCompanyPage-ChlEiIX1.js} +4 -4
- package/dist/{TrustMemberIndividualPage-DWmPqSUW.js → TrustMemberIndividualPage-D0ErvJ2Q.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-c23IPOaR.js → TrustMemberRoleAndTypePage--2DWDQYD.js} +21 -21
- package/dist/{TrustMembersOverview-BRNYhXYG.js → TrustMembersOverview-1pruZb7Q.js} +10 -10
- package/dist/{UnincorporatedPartnershipIndividualPage-CZVQg1Lm.js → UnincorporatedPartnershipIndividualPage-DY5POsz3.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-D3GMfr2u.js → UnincorporatedPartnershipMemberCompanyPage-CVS8HujV.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Dwi-t1pR.js → UnincorporatedPartnershipMemberRoleAndTypePage-BiWrP7jm.js} +11 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-D-hiEWen.js → UnincorporatedPartnershipMembersOverview-CwihTjBJ.js} +7 -7
- package/dist/{VerificationErrorAlert-Bv13UiEj.js → VerificationErrorAlert-C5fltP_W.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-8v5Nm_wk.js → ViewVerificationStatusComponent-THjhd99f.js} +2 -2
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-invited-decision-maker.js +7 -7
- package/dist/adyen-kyc-components.js +15 -15
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{bafinUtils-pwkl8kSq.js → bafinUtils-BPLSJ1MR.js} +1 -1
- package/dist/{bg-BG-DyX-yYYI.js → bg-BG-BnwkqGm9.js} +2 -2
- package/dist/{bg-BG-DqRXdvRT.js → bg-BG-C6dSR1jk.js} +2 -2
- package/dist/bg-BG-DKld3x63.js +13 -0
- package/dist/{commonValidators-Q1vH12Fp.js → commonValidators-MPgcG-b2.js} +1 -1
- package/dist/{cs-CZ-CmPmY5GZ.js → cs-CZ-B6atm9_Q.js} +2 -2
- package/dist/cs-CZ-BBLagJI6.js +13 -0
- package/dist/{cs-CZ-BD5bYeuJ.js → cs-CZ-BeMYkFfD.js} +2 -2
- package/dist/{da-DK-DaINWU5x.js → da-DK-Cv6XUSoW.js} +2 -2
- 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-KqZs1FFF.js → de-DE-BplDsJEb.js} +2 -2
- 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-cvPDQGkm.js → dropinUtils-CH5elK0n.js} +15 -14
- package/dist/{el-GR-DGbzdIL0.js → el-GR-BuAfpG6u.js} +2 -2
- package/dist/el-GR-ZRGBgvMu.js +13 -0
- package/dist/{el-GR-Bn45KMp-.js → el-GR-dRK7xHn2.js} +2 -2
- package/dist/{en-US-BtFr9JRa.js → en-US-DIlZD5Wh.js} +7 -1
- package/dist/{en-US-CEnwRsyr.js → en-US-UidrdpJ0.js} +2 -2
- package/dist/es-ES-BZiC4JWr.js +13 -0
- package/dist/{es-ES-DdGmXdxO.js → es-ES-Bh8k9Zx8.js} +2 -2
- package/dist/{es-ES-DzGJ9DrB.js → es-ES-DRsix_Xn.js} +2 -2
- package/dist/{et-EE-D5SNtVsM.js → et-EE-BBnYC5q8.js} +2 -2
- package/dist/{et-EE-JKt5dMOQ.js → et-EE-BXiYapXy.js} +2 -2
- package/dist/et-EE-D_NmrrzQ.js +13 -0
- package/dist/{fi-FI-n9XAQuIy.js → fi-FI-BftTiz0c.js} +2 -2
- package/dist/fi-FI-CEH4BfU3.js +13 -0
- package/dist/{fi-FI-CIYa9SyS.js → fi-FI-DhUeTfn1.js} +2 -2
- package/dist/{formUtils-Cu4r_cE7.js → formUtils-Bl8SBmWK.js} +3 -3
- package/dist/{fr-FR-iD1onxpA.js → fr-FR-C6jxjXAI.js} +2 -2
- package/dist/{fr-FR-l5z31r7i.js → fr-FR-CocDMzBc.js} +2 -2
- package/dist/fr-FR-NxOktkWc.js +13 -0
- package/dist/{getName-D92TbZE4.js → getName-C_u_P9U0.js} +1 -1
- package/dist/{getProblemsForEntity-Cn6NNpx3.js → getProblemsForEntity-BZRck7Nu.js} +1 -1
- package/dist/{hr-HR-CAqaI1xJ.js → hr-HR-B_TEU3r4.js} +2 -2
- package/dist/{hr-HR-BtowKWUi.js → hr-HR-D9OGeEuB.js} +2 -2
- package/dist/hr-HR-D_MUIhtx.js +13 -0
- package/dist/{hu-HU-CRpdELm_.js → hu-HU-CX83V9tu.js} +2 -2
- package/dist/{hu-HU-MHIPehPS.js → hu-HU-DjaoFDqm.js} +2 -2
- package/dist/hu-HU-LxStrFGU.js +13 -0
- package/dist/{iframeWidget-LYI4Hywy.js → iframeWidget-DRlrwi6o.js} +4 -4
- package/dist/{isEmpty-BtKNXm_E.js → isEmpty-JkZqLeJ_.js} +1 -1
- package/dist/{it-IT-BAvmkEF8.js → it-IT-B4bk2Xev.js} +2 -2
- package/dist/{it-IT-DkiyBNl6.js → it-IT-CXlaZNIj.js} +2 -2
- package/dist/it-IT-OppZz3gW.js +13 -0
- package/dist/{ja-JP-B0Ox3Ixh.js → ja-JP-A6ArIIZ8.js} +2 -2
- package/dist/ja-JP-CethQRoG.js +13 -0
- package/dist/{ja-JP-g6VOUGXZ.js → ja-JP-DK55NCZY.js} +1 -2
- package/dist/{japanSupportUtils-Cjg3HGeh.js → japanSupportUtils-B6aNrTga.js} +1 -1
- package/dist/{localizeDateString-iKn35I7t.js → localizeDateString-DJzFcyYr.js} +1 -1
- package/dist/lt-LT-CBTFJxth.js +13 -0
- package/dist/{lt-LT-DDs3ngzd.js → lt-LT-CfQUS8PP.js} +2 -2
- package/dist/{lt-LT-DWs-lYAv.js → lt-LT-ww192lYg.js} +2 -2
- package/dist/{lv-LV-CdCU8ZaR.js → lv-LV-CpHy-ZoF.js} +2 -2
- package/dist/lv-LV-DTaBIHLh.js +13 -0
- package/dist/{lv-LV-CmB2-IO5.js → lv-LV-DoKxsoVR.js} +2 -2
- package/dist/{mapExistingFile-DAKnbl3q.js → mapExistingFile-ebhAtDpQ.js} +4 -4
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BwqkpwLG.js → mapJpAddressSchemaToAddressLocalizations-6-TZehkD.js} +2 -2
- package/dist/{mapLegalEntityToIndividualSchema-DHNvFq3z.js → mapLegalEntityToIndividualSchema-DV9h15hI.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-CFiPK7nF.js → mapTransferInstrumentToPayoutAccount-DtwUb1q5.js} +1 -1
- package/dist/{nl-NL-D7k3hkBl.js → nl-NL-BwWFlBOs.js} +2 -2
- package/dist/nl-NL-CYFznuWn.js +13 -0
- package/dist/{nl-NL-DV4NqPVW.js → nl-NL-J7XpCpQm.js} +2 -2
- package/dist/no-NO-BsEie1We.js +13 -0
- package/dist/{no-NO-B9618F4_.js → no-NO-CtDyNTm6.js} +2 -2
- package/dist/{no-NO-DOOgOJr1.js → no-NO-JWsSd7iY.js} +2 -2
- package/dist/{patternValidators-DHivz8FR.js → patternValidators-ORRO5SAA.js} +1 -1
- package/dist/pl-PL-BH_LPZJa.js +13 -0
- package/dist/{pl-PL-DqzUSnFK.js → pl-PL-CCX1rSGF.js} +2 -2
- package/dist/{pl-PL-Bvnak7w3.js → pl-PL-CLmmSNgn.js} +2 -2
- package/dist/{process-field-configurations-TVQJVhh6.js → process-field-configurations-Cb30tRmq.js} +3 -3
- package/dist/{pt-BR-BZkPZ0kK.js → pt-BR-BJOww8U1.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-PT-BTbVsews.js +13 -0
- package/dist/{pt-PT-DkfqmPrD.js → pt-PT-CL9VzmZE.js} +2 -2
- package/dist/{pt-PT-CFY1O_K0.js → pt-PT-DBZj2dDI.js} +2 -2
- package/dist/{resolveEnvironment-DRIoWKkq.js → resolveEnvironment-Btgj9fGu.js} +3 -3
- package/dist/ro-RO-C5PJhlmM.js +13 -0
- package/dist/{ro-RO-BEVRugNx.js → ro-RO-Cu1T3z6k.js} +2 -2
- package/dist/{ro-RO-7CJ4F5iB.js → ro-RO-DaU2--fX.js} +2 -2
- package/dist/{roleMetadata-23PazJen.js → roleMetadata-YdrYEXdt.js} +2 -2
- package/dist/{sk-SK-DubwJifw.js → sk-SK-B-1yRol7.js} +2 -2
- package/dist/{sk-SK-Bh7WfMNd.js → sk-SK-CEjJ-qZG.js} +2 -2
- package/dist/sk-SK-DO-AqRjE.js +13 -0
- package/dist/{sl-SI-CxGdSydw.js → sl-SI-BfO3xEJx.js} +2 -2
- package/dist/sl-SI-CJH14wbj.js +13 -0
- package/dist/{sl-SI-59OQIZ3f.js → sl-SI-C_4ajjU4.js} +2 -2
- package/dist/style.css +11 -9
- package/dist/styles-CLV89_hH.js +11 -9
- package/dist/{sv-SE-CgB54Aa4.js → sv-SE-CMLKzwtj.js} +2 -2
- package/dist/{sv-SE-CQWBP7n1.js → sv-SE-DKnUr7xo.js} +2 -2
- package/dist/sv-SE-ZsucW_Uj.js +13 -0
- package/dist/types/api/companySelection/useCompanySelection.d.ts +1 -1
- package/dist/types/api/invitations/invitations.types.d.ts +14 -0
- package/dist/types/api/invitations/useCreateInvitation.d.ts +14 -0
- package/dist/types/components/Apps/tasks/TaskList/types.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +2 -2
- 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 +0 -1
- package/dist/types/components/Business/utils/useCompanySearchExperiments.d.ts +0 -1
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +4 -4
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +2607 -2607
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.d.ts +1 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +4 -4
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +4 -5
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +1 -1
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +2 -2
- package/dist/types/components/Individual/forms/IdDocumentUpload/types.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 +5 -0
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +1 -0
- package/dist/types/components/Individual/forms/Individual.types.d.ts +2 -0
- 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 +1 -1
- 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 +1 -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/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 -5
- package/dist/types/components/Shared/fields/NumberOfEmployees/fieldConfig.d.ts +3 -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/forms/Address/types.d.ts +3 -3
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- 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/utils/trustMemberGuidance.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types.d.ts +2 -2
- package/dist/types/components/ui/atoms/RadioGroup/RadioGroup.d.ts +2 -2
- 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/types.d.ts +0 -4
- package/dist/types/core/models/api/financialReport.d.ts +7 -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 +5 -0
- 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 -3
- package/dist/types/language/types.d.ts +3 -8
- package/dist/types/language/utils.d.ts +2 -2
- 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 +2 -2
- package/dist/types/utils/formUtils.d.ts +4 -3
- package/dist/types/utils/roleMetadata.d.ts +4 -4
- package/dist/{types-DW90uFG-.js → types-DItwm0zf.js} +2 -2
- package/dist/{types-s-Q2XpkZ.js → types-DV-k9m0i.js} +1 -1
- package/dist/{types-CCxHnxb7.js → types-DhC6v0PF.js} +1 -1
- package/dist/{types-DP1DvIeR.js → types-_ugkpUNx.js} +2 -6
- package/dist/{unincorporated-partnership-DPbAzJDe.js → unincorporated-partnership-CIe8e4wR.js} +1 -1
- package/dist/{useAssociatedLegalEntity-BEuHjBZz.js → useAssociatedLegalEntity-Cn5H9wTJ.js} +1 -1
- package/dist/{useBusinessDetailsData-BO8XWfJZ.js → useBusinessDetailsData-FR_NRvw9.js} +339 -313
- package/dist/{useCreateLegalEntity-Bk8GSKP1.js → useCreateLegalEntity-p2CrQlAX.js} +1 -1
- package/dist/{useForm-vad8DlLx.js → useForm-C8AWA3sh.js} +3 -3
- package/dist/{useFormContext-B5QKkdAI.js → useFormContext-C1SR24Ki.js} +7 -7
- package/dist/{FormWrapper-DBd93g5-.js → useGlobalData-CLlOpZnu.js} +66 -11
- package/dist/{useMultiForm-cC2wlHNB.js → useMultiForm-DPExov8c.js} +12 -6
- package/dist/{useOnboardingStatus-V-UqaVrD.js → useOnboardingStatus-BD-8KaSZ.js} +1 -1
- package/dist/{useScenarios-BbG9i_sD.js → useScenarios-DJzsH2gd.js} +1 -1
- package/dist/{useTermsOfServiceStatus-QeWE09L-.js → useTermsOfServiceStatus-CbE9Ro0N.js} +1 -1
- package/dist/{useToastContext-wDfBfnfF.js → useToastContext-D9-q58mO.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-qPE2KPx9.js → useUnincorporatedPartnershipMembers-DB6EK6uW.js} +4 -4
- package/dist/{useUpdateBusinessLines-Dt0n6cQU.js → useUpdateBusinessLines-1pywGJxr.js} +4 -4
- package/dist/{useUpdateLegalEntity-DZgtsmFg.js → useUpdateLegalEntity-BswSgPWT.js} +2 -2
- package/dist/{utils-DvL1qQJh.js → utils-B-6ygFSY.js} +3 -3
- package/dist/{utils-CXINiC_b.js → utils-BQ0Na9UT.js} +2 -2
- package/dist/{utils-t9bNKGqn.js → utils-CFBp4SLl.js} +1 -1
- package/dist/{utils-JAP5Kj4w.js → utils-D4c7_3F2.js} +6 -6
- package/dist/{utils-Cg8MDRUC.js → utils-DgFq9CIB.js} +1 -1
- package/dist/{validate-CkFqyHrv.js → validate-CdMI5st2.js} +5 -5
- package/dist/{validate-DmrKFNZ-.js → validate-D__xHxXc.js} +24 -12
- package/dist/{validationError-BZEfEJF0.js → validationError-NidfTgvm.js} +1 -1
- package/package.json +7 -17
- package/dist/bg-BG-CRbKoTLs.js +0 -13
- package/dist/cs-CZ-DR5Pfj3g.js +0 -13
- package/dist/da-DK-CG2NcTvu.js +0 -13
- package/dist/de-DE-NMS4xBab.js +0 -13
- package/dist/el-GR-DWM1mhuZ.js +0 -13
- package/dist/es-ES-BWe46jej.js +0 -13
- package/dist/et-EE-CylmXBkF.js +0 -13
- package/dist/fi-FI-larJ5zXy.js +0 -13
- package/dist/fr-FR-DVqpakkq.js +0 -13
- package/dist/hr-HR-C-Hn5lAD.js +0 -13
- package/dist/hu-HU-DynB7VhD.js +0 -13
- package/dist/it-IT-M7AqGzBo.js +0 -13
- package/dist/ja-JP-BcGZdMJa.js +0 -13
- package/dist/lt-LT-SQmafLDX.js +0 -13
- package/dist/lv-LV-B5Os0zqy.js +0 -13
- package/dist/nl-NL-BVRcJEzp.js +0 -13
- package/dist/no-NO-DlnsfTwn.js +0 -13
- package/dist/pl-PL-B-V8iF6C.js +0 -13
- package/dist/pt-BR-Bq41lr7C.js +0 -13
- package/dist/pt-PT-D-EPzKV-.js +0 -13
- package/dist/ro-RO-Dt2gs44k.js +0 -13
- package/dist/sk-SK-B6LcEArz.js +0 -13
- package/dist/sl-SI-DNbu8KiE.js +0 -13
- package/dist/sv-SE-DgMcRRS8.js +0 -13
- package/dist/types/api/utils/getLookupBaseUrl.d.ts +0 -9
- package/dist/useGlobalData-Btrs_29g.js +0 -68
- /package/dist/types/components/{Business/forms/FinancialInformation → Shared/fields/ReportedValueOptionField}/ReportedValue.d.ts +0 -0
|
@@ -4,7 +4,7 @@ export interface BusinessFinancingFinancialInformationSchema {
|
|
|
4
4
|
financialReportingDate?: string;
|
|
5
5
|
legalEntityIdentifier?: string;
|
|
6
6
|
currency?: string;
|
|
7
|
-
|
|
7
|
+
balanceSheetTotal?: string;
|
|
8
8
|
annualTurnover?: string;
|
|
9
9
|
}
|
|
10
10
|
export declare const financialInformationFields: (keyof BusinessFinancingFinancialInformationSchema)[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ExistingLegalEntity, LegalEntity } from '../../../../core/models/api/legal-entity';
|
|
2
2
|
import type { BaseInnerFormProps, BaseOuterFormProps } from '../../../../hooks/useForm/types';
|
|
3
|
-
import type { NsTranslationKey, Translatable
|
|
3
|
+
import type { NsTranslationKey, Translatable } from '../../../../../types';
|
|
4
4
|
import type { AddressSchema } from '../../../Shared/forms/Address/types';
|
|
5
5
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
6
6
|
import type { FormList, FormModel } from '../../../../types/form';
|
|
@@ -111,11 +111,11 @@ declare const BusinessFinancingRadioIds: {
|
|
|
111
111
|
};
|
|
112
112
|
export declare const businessFinancingRadioItems: Array<{
|
|
113
113
|
id: BusinessFinancingRadioId;
|
|
114
|
-
name:
|
|
114
|
+
name: NsTranslationKey<'common'>;
|
|
115
115
|
}>;
|
|
116
116
|
export declare const businessFinancingParentRadioItems: Array<{
|
|
117
117
|
id: BusinessFinancingRadioId;
|
|
118
|
-
name:
|
|
118
|
+
name: NsTranslationKey<'common'>;
|
|
119
119
|
}>;
|
|
120
120
|
export interface BusinessFinancingRegisteredAddressProps extends BaseInnerFormProps<BusinessFinancingRegisteredAddressSchema> {
|
|
121
121
|
sectionHeading?: Translatable;
|
|
@@ -142,7 +142,7 @@ interface BusinessFinancingSummary {
|
|
|
142
142
|
naceCodeLabel?: string;
|
|
143
143
|
legalInformationInsolvency?: string;
|
|
144
144
|
annualTurnover?: string;
|
|
145
|
-
|
|
145
|
+
balanceSheetTotal?: string;
|
|
146
146
|
currency?: string;
|
|
147
147
|
legalProceedingsDate?: string;
|
|
148
148
|
financialReportingDate?: string;
|
|
@@ -12,12 +12,11 @@ export declare const entityHasParentCompany: (data: BusinessFinancingSchema) =>
|
|
|
12
12
|
export declare const entityHasUltimateParentCompany: (data: BusinessFinancingSchema) => boolean | "" | undefined;
|
|
13
13
|
export declare const financialReportsToString: (financialReports: FinancialInformationSchema) => {
|
|
14
14
|
numberOfEmployees: string | undefined;
|
|
15
|
-
netAssets: string | undefined;
|
|
16
15
|
annualTurnover: string | undefined;
|
|
17
16
|
balanceSheetTotal: string | undefined;
|
|
18
|
-
|
|
19
|
-
financialReportingDate?: string;
|
|
17
|
+
financialReportingDate?: any;
|
|
20
18
|
currency?: Currency;
|
|
19
|
+
reportedValueOption?: "balanceSheetTotal" | "annualTurnover";
|
|
21
20
|
};
|
|
22
21
|
/**
|
|
23
22
|
* Prepares sole proprietor business financing data for submission.
|
|
@@ -34,6 +33,6 @@ export declare const appendSoleProprietorBusinessFinancingData: (legalArrangemen
|
|
|
34
33
|
export declare const handleBusinessFinancingFormSubmission: (businessFinancingType: BusinessFinancingIndex, details: LegalEntity | PatchLegalEntity | null, createFunction: (details: LegalEntity) => Promise<ExistingLegalEntity>, updateFunction: (details: PatchLegalEntity) => Promise<ExistingLegalEntity>, entityId?: string) => Promise<ExistingLegalEntity>;
|
|
35
34
|
export declare const getCompanySchemaKeys: (country: CountryCode, currentData: Partial<BusinessFinancingCompanySchema>, schemaKeys: (keyof BusinessFinancingCompanySchema)[]) => Array<keyof BusinessFinancingCompanySchema>;
|
|
36
35
|
export declare const getSoleProprietorSchemaKeys: (currentData: Partial<BusinessFinancingSoleProprietorSchema>, schemaKeys: (keyof BusinessFinancingSoleProprietorSchema)[]) => Array<keyof BusinessFinancingSoleProprietorSchema>;
|
|
37
|
-
export declare const getParentCompanySchemaKeys: (currentData: Partial<BusinessFinancingParentSchemasCombined>, schemaKeys: (keyof BusinessFinancingParentSchemasCombined)[]) => Array<keyof BusinessFinancingParentSchemasCombined>;
|
|
38
|
-
export declare const getBusinessFinancingRequiredFields: (country: CountryCode, data?: BusinessFinancingSchema) => MultiFormOptions<BusinessFinancingSchema>["requiredFields"];
|
|
36
|
+
export declare const getParentCompanySchemaKeys: (currentData: Partial<BusinessFinancingParentSchemasCombined>, schemaKeys: (keyof BusinessFinancingParentSchemasCombined)[], rootEntityAddress?: Address) => Array<keyof BusinessFinancingParentSchemasCombined>;
|
|
37
|
+
export declare const getBusinessFinancingRequiredFields: (country: CountryCode, data?: BusinessFinancingSchema, rootEntityAddress?: Address) => MultiFormOptions<BusinessFinancingSchema>["requiredFields"];
|
|
39
38
|
export declare const getAddressCountryForParentCompany: (parentCompany?: BusinessFinancingParentCompanySchema, leAddress?: Address) => CountryCode | undefined;
|
|
@@ -22,7 +22,7 @@ export declare const businessFinancingMultiformRules: {
|
|
|
22
22
|
numberOfEmployees?: import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema> | import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema>[] | undefined;
|
|
23
23
|
financialReportingDate?: import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema> | import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema>[] | undefined;
|
|
24
24
|
currency?: import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema> | import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema>[] | undefined;
|
|
25
|
-
|
|
25
|
+
balanceSheetTotal?: import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema> | import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema>[] | undefined;
|
|
26
26
|
annualTurnover?: import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema> | import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema>[] | undefined;
|
|
27
27
|
}>;
|
|
28
28
|
soleProprietor: Partial<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseInnerFormProps } from '../../../../hooks/useForm/types';
|
|
2
|
-
import type {
|
|
2
|
+
import type { NsTranslationKey } from '../../../../../types';
|
|
3
3
|
import type { IndividualIdNumberType } from '../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
|
|
4
4
|
import type { TaxInformationFieldSchema } from '../../../Shared/fields/TaxInformationField/types';
|
|
5
5
|
import type { JpAddressSchema } from '../../../Shared/forms/Address/localized/jp/jpAddressSchema';
|
|
@@ -24,6 +24,6 @@ export interface IdentityProps {
|
|
|
24
24
|
additionalPersonalDetails: AdditionalPersonalDetailsProps;
|
|
25
25
|
errors: ValidationRuleResults<IdentityNumberSchema>;
|
|
26
26
|
idNumberType?: IndividualIdNumberType;
|
|
27
|
-
registrationNumberType?:
|
|
27
|
+
registrationNumberType?: NsTranslationKey<'common'>;
|
|
28
28
|
handleFieldChange: any;
|
|
29
29
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DocumentType } from '../../../../core/models/api/document';
|
|
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 { FileSchema } from '../../../../types/file';
|
|
6
6
|
import type { MinimumApplicantDetails } from '../IdVerification/types';
|
|
@@ -14,7 +14,7 @@ export interface IdDocumentUploadSchema {
|
|
|
14
14
|
}
|
|
15
15
|
export interface IdDocumentTypeOption {
|
|
16
16
|
id: DocumentType;
|
|
17
|
-
name:
|
|
17
|
+
name: NsTranslationKey<'common'>;
|
|
18
18
|
hasBackPage: boolean;
|
|
19
19
|
}
|
|
20
20
|
export interface OnfidoCaptureSchema {
|
package/dist/types/components/Individual/forms/IdVerificationMethod/validateExtractionResult.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ProviderExtractionResponse } from '../../../../api/idVerificationProviders/idVerificationProviders.types';
|
|
2
|
-
import type {
|
|
2
|
+
import type { NsTranslationKey } from '../../../../../types';
|
|
3
3
|
import type { GetTranslationOptions } from '../../../../language/utils';
|
|
4
4
|
/**
|
|
5
5
|
* Validates the OCR extraction result against business rules.
|
|
@@ -7,6 +7,6 @@ import type { GetTranslationOptions } from '../../../../language/utils';
|
|
|
7
7
|
* @returns A translation key for an error message if validation fails, otherwise null.
|
|
8
8
|
*/
|
|
9
9
|
export declare const validateExtractionResult: (extractionResult: ProviderExtractionResponse) => {
|
|
10
|
-
key:
|
|
10
|
+
key: NsTranslationKey<"common">;
|
|
11
11
|
options?: GetTranslationOptions;
|
|
12
12
|
} | null;
|
|
@@ -23,6 +23,11 @@ export declare const individualForms: {
|
|
|
23
23
|
readonly formName: "verificationMethod";
|
|
24
24
|
readonly fields: (keyof import("./IdVerificationMethod/IdVerificationMethod.types").IdVerificationMethodSchema)[];
|
|
25
25
|
};
|
|
26
|
+
readonly inviteDetails: {
|
|
27
|
+
readonly formId: "inviteDetails";
|
|
28
|
+
readonly formName: "inviteDetails";
|
|
29
|
+
readonly fields: (keyof import("./InviteDetails/InviteDetails.types").InviteDetailsSchema)[];
|
|
30
|
+
};
|
|
26
31
|
readonly additionalPersonalDetails: {
|
|
27
32
|
readonly formId: "additionalPersonalDetails";
|
|
28
33
|
readonly formName: "additionalPersonalDetails";
|
|
@@ -16,6 +16,7 @@ export declare const individualRules: ({ matchingScenario, data, country, taskTy
|
|
|
16
16
|
isProofOfResidencyRequired: () => "REQUIRED" | undefined;
|
|
17
17
|
isProofOfNationalIdRequired: () => "REQUIRED" | undefined;
|
|
18
18
|
isIdVerificationMethodRequired: () => "REQUIRED" | undefined;
|
|
19
|
+
isVerifyByInviteSelected: () => "REQUIRED" | undefined;
|
|
19
20
|
contactsIfRequiredForRole: () => "REQUIRED" | undefined;
|
|
20
21
|
requiredIfPhoneScenarioDisabled: () => "REQUIRED" | undefined;
|
|
21
22
|
jobTitleIfRequiredForRole: () => "REQUIRED" | undefined;
|
|
@@ -16,6 +16,7 @@ import type { AdditionalPersonalDetailsSchema } from './AdditionalPersonalDetail
|
|
|
16
16
|
import type { BasicDetailsSchema } from './BasicDetails/BasicDetails.types';
|
|
17
17
|
import type { IdDocumentUploadSchema } from './IdDocumentUpload/types';
|
|
18
18
|
import type { IdVerificationMethodSchema } from './IdVerificationMethod/IdVerificationMethod.types';
|
|
19
|
+
import type { InviteDetailsSchema } from './InviteDetails/InviteDetails.types';
|
|
19
20
|
import type { SignatoryQuestionnaireSchema } from './SignatoryQuestionnaire/SignatoryQuestionnaire.types';
|
|
20
21
|
import type { UboQuestionnaireSchema } from './UboQuestionnaire/UboQuestionnaire.types';
|
|
21
22
|
export interface IndividualSchema {
|
|
@@ -23,6 +24,7 @@ export interface IndividualSchema {
|
|
|
23
24
|
uboQuestionnaire?: UboQuestionnaireSchema;
|
|
24
25
|
basicDetails?: BasicDetailsSchema;
|
|
25
26
|
idVerificationMethod?: IdVerificationMethodSchema;
|
|
27
|
+
inviteDetails?: InviteDetailsSchema;
|
|
26
28
|
additionalPersonalDetails?: AdditionalPersonalDetailsSchema;
|
|
27
29
|
manualIdUpload?: IdDocumentUploadSchema;
|
|
28
30
|
proofOfResidency?: DocumentUploadSchema<'proofOfResidency'>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { InviteDetailsProps, InviteDetailsSchema } from './InviteDetails.types';
|
|
2
|
+
export { inviteDetailsValidators } from './validate';
|
|
3
|
+
export declare const inviteDetailsFields: Array<keyof InviteDetailsSchema>;
|
|
4
|
+
export declare function InviteDetails(props: Readonly<InviteDetailsProps>): import("preact/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Phone } from '../../../../core/models/api/phone';
|
|
2
|
+
import type { BaseInnerFormProps } from '../../../../hooks/useForm/types';
|
|
3
|
+
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
4
|
+
export interface InviteDetailsSchema {
|
|
5
|
+
senderName: string;
|
|
6
|
+
message: string;
|
|
7
|
+
email?: string;
|
|
8
|
+
phoneNumber?: Phone;
|
|
9
|
+
}
|
|
10
|
+
export interface InviteDetailsProps extends BaseInnerFormProps<InviteDetailsSchema> {
|
|
11
|
+
country: CountryCode;
|
|
12
|
+
recipientFirstName?: string;
|
|
13
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const individualFormIds: ["signatoryQuestionnaire", "uboQuestionnaire", "basicDetails", "idVerificationMethod", "additionalPersonalDetails", "manualIdUpload", "proofOfResidency", "proofOfNationalId", "proofOfRelationship"];
|
|
1
|
+
export declare const individualFormIds: ["signatoryQuestionnaire", "uboQuestionnaire", "basicDetails", "idVerificationMethod", "inviteDetails", "additionalPersonalDetails", "manualIdUpload", "proofOfResidency", "proofOfNationalId", "proofOfRelationship"];
|
|
2
2
|
export type INDIVIDUAL_FORM_IDS = (typeof individualFormIds)[number];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { NsTranslationKey } from '../../../../types';
|
|
2
2
|
import type { EntityProblems } from '../../../types/errors/entity-problems';
|
|
3
3
|
import type { FormVerificationErrors } from '../../../types/errors/form-verification-errors';
|
|
4
4
|
import type { FormModelWithValidity } from '../../../types/form';
|
|
@@ -9,7 +9,7 @@ export interface FormNavigationProps {
|
|
|
9
9
|
validateForm?: () => void;
|
|
10
10
|
problems?: EntityProblems;
|
|
11
11
|
className?: string;
|
|
12
|
-
taskName:
|
|
12
|
+
taskName: NsTranslationKey<'common'>;
|
|
13
13
|
verificationErrors?: {
|
|
14
14
|
[formId: string]: FormVerificationErrors;
|
|
15
15
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './FormWrapper.scss';
|
|
2
2
|
import type { ComponentChildren } from 'preact';
|
|
3
3
|
import type { LoadingStatus } from '../../ui/atoms/LoaderWrapper/constants';
|
|
4
|
-
import type {
|
|
4
|
+
import type { NsTranslationKey } from '../../../../types';
|
|
5
5
|
import type { EntityProblems } from '../../../types/errors/entity-problems';
|
|
6
6
|
import type { FormModelWithValidity } from '../../../types/form';
|
|
7
7
|
import type { Omitted } from '../Summary/types';
|
|
@@ -12,7 +12,7 @@ interface FormWrapperProps {
|
|
|
12
12
|
labels?: any;
|
|
13
13
|
};
|
|
14
14
|
children: ComponentChildren;
|
|
15
|
-
taskName:
|
|
15
|
+
taskName: NsTranslationKey<'common'>;
|
|
16
16
|
handleNextClick(): void;
|
|
17
17
|
handleBackClick?(): void;
|
|
18
18
|
handleCloseClick?(): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type Slottable } from 'named-slots';
|
|
2
2
|
import type { StructuredListItem } from '../../ui/atoms/StructuredList/StructuredList';
|
|
3
3
|
interface NewSummaryProps {
|
|
4
|
-
children
|
|
4
|
+
children?: Slottable;
|
|
5
5
|
handleEditForm: (formId: string) => void;
|
|
6
6
|
sections: SummarySection[];
|
|
7
7
|
}
|
|
@@ -2,7 +2,7 @@ import type { BaseFormFieldProps } from '../../../../hooks/useForm/types';
|
|
|
2
2
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
3
3
|
import type { Currency } from '../../../../types/datasets/currency';
|
|
4
4
|
export interface CurrencySchema {
|
|
5
|
-
currency?:
|
|
5
|
+
currency?: Currency;
|
|
6
6
|
}
|
|
7
7
|
export interface CurrencyProps extends Pick<BaseFormFieldProps<CurrencySchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'handleChangeFor'> {
|
|
8
8
|
country: CountryCode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
|
|
2
|
-
import type {
|
|
2
|
+
import type { NsTranslationKey } from '../../../../../types';
|
|
3
3
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
4
4
|
import type { CompanyRegistrationNumberType } from './countryIdNumberTypes';
|
|
5
5
|
interface PropsWithNoExemption {
|
|
@@ -8,7 +8,7 @@ interface PropsWithNoExemption {
|
|
|
8
8
|
setSelected: (type: CompanyRegistrationNumberType) => void;
|
|
9
9
|
}
|
|
10
10
|
interface PropsWithExemption {
|
|
11
|
-
exemptedOption:
|
|
11
|
+
exemptedOption: NsTranslationKey<'common'>;
|
|
12
12
|
selected: CompanyRegistrationNumberType | 'exempted' | undefined;
|
|
13
13
|
setSelected: (type: CompanyRegistrationNumberType | 'exempted') => void;
|
|
14
14
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
|
|
2
2
|
import type { LegalEntityTypes } from '../../../../core/models/api/legal-entity-type';
|
|
3
|
-
import type {
|
|
3
|
+
import type { NsTranslationKey } from '../../../../../types';
|
|
4
4
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
5
5
|
import type { VatNumberType } from './countryIdNumberTypes';
|
|
6
6
|
interface PropsWithNoExemption {
|
|
@@ -9,7 +9,7 @@ interface PropsWithNoExemption {
|
|
|
9
9
|
setSelected: (type: VatNumberType) => void;
|
|
10
10
|
}
|
|
11
11
|
interface PropsWithVatNumberExemption {
|
|
12
|
-
exemptedOption:
|
|
12
|
+
exemptedOption: NsTranslationKey<'common'>;
|
|
13
13
|
selected: VatNumberType | 'exempted' | undefined;
|
|
14
14
|
setSelected: (type: VatNumberType | 'exempted', exemptValue: boolean) => void;
|
|
15
15
|
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { type CompanyTypesValue } from '../../../../core/models/api/company-types-value';
|
|
2
2
|
import { LegalEntityTypes } from '../../../../core/models/api/legal-entity-type';
|
|
3
|
-
import type {
|
|
3
|
+
import type { NsTranslationKey } from '../../../../../types';
|
|
4
4
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
5
5
|
export interface CompanyRegistrationNumberOption {
|
|
6
6
|
id: string;
|
|
7
|
-
name:
|
|
7
|
+
name: NsTranslationKey<'common'>;
|
|
8
8
|
applicableOnlyFor?: ReadonlyArray<CompanyTypesValue | 'trust'>;
|
|
9
9
|
}
|
|
10
10
|
export interface IndividualIdNumberOption {
|
|
11
11
|
id: string;
|
|
12
|
-
name:
|
|
12
|
+
name: NsTranslationKey<'common'>;
|
|
13
13
|
}
|
|
14
14
|
export interface TaxIdNumberOption {
|
|
15
15
|
id: string;
|
|
16
|
-
name:
|
|
16
|
+
name: NsTranslationKey<'common'>;
|
|
17
17
|
applicableOnlyFor?: ReadonlyArray<CompanyTypesValue | typeof LegalEntityTypes.TRUST | typeof LegalEntityTypes.INDIVIDUAL>;
|
|
18
18
|
}
|
|
19
19
|
export interface VatNumberOption {
|
|
20
20
|
id: string;
|
|
21
|
-
name:
|
|
21
|
+
name: NsTranslationKey<'common'>;
|
|
22
22
|
applicableOnlyFor?: ReadonlyArray<CompanyTypesValue | typeof LegalEntityTypes.TRUST>;
|
|
23
23
|
}
|
|
24
24
|
export declare const companyRegistrationNumberOptions: {
|
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
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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';
|
|
@@ -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
|
};
|