@adyen/kyc-components 3.95.0-beta.2 → 3.95.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-BlEaBswl.js → AcceptTermsOfServiceComponent-D43il37k.js} +15 -15
- package/dist/{Accordion-xQ7nYxl-.js → Accordion-B4_KDaky.js} +1 -1
- package/dist/{AccountSetupRejected-CPavzOgc.js → AccountSetupRejected-gO18UIdE.js} +3 -3
- package/dist/{ActionBar-BCKFGEro.js → ActionBar-e7s7jZQ6.js} +1 -1
- package/dist/{Address-CUMHdDDB.js → Address-QQG2coPp.js} +56 -18
- package/dist/{Alert-AsIgy5ys.js → Alert-D72i6_OI.js} +2 -2
- package/dist/{Avatar-CPSU1jss.js → Avatar-D3gUrczl.js} +1 -1
- package/dist/{BusinessFinancingComponent-C2PQs3gR.js → BusinessFinancingComponent-BwOHfcxX.js} +4 -4
- package/dist/{BusinessFinancingDropin-DTiURzP3.js → BusinessFinancingDropin-DkElXhrH.js} +29 -29
- package/dist/{BusinessFinancingPage-Wadm29GW.js → BusinessFinancingPage-DGoJNCzc.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-Cc6WG-M5.js → BusinessTypeSelectionPage-BFI9_tqh.js} +8 -8
- package/dist/{Checkbox-Cjzq-IgW.js → Checkbox-CBFOHTJy.js} +1 -1
- package/dist/{Confirm-BnJOYc76.js → Confirm-DP0zz0E4.js} +2 -2
- package/dist/{ConstitutionalDocument-Cuezk4yt.js → ConstitutionalDocument-CEtidIIk.js} +19 -23
- package/dist/{ContactDetails-Cp0fGlU3.js → ContactDetails-Kl6VfoC8.js} +46 -36
- package/dist/{ContextGuidance-BxC-gbkP.js → ContextGuidance-D2b9JmjN.js} +2 -2
- package/dist/{CountryField-DIm2rPmp.js → CountryField-C2lbiX8f.js} +4 -4
- package/dist/{CreateIndividualComponent-Bn0sxDjy.js → CreateIndividualComponent-Z8Qxt6rG.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-Bz5GoylI.js → CreateTransferInstrumentComponent-DwowuUYM.js} +3 -3
- package/dist/{Currency-DGkjeLuN.js → Currency-DC53cEcy.js} +7 -7
- package/dist/{CustomerSupport-CBKzdmnU.js → CustomerSupport-D0cv6icV.js} +10 -10
- package/dist/{DebugModal-B0LNaFHQ.js → DebugModal-CurU0fEK.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-B2qQWfwH.js → DecisionMakerDetailsPage-snxDoEvV.js} +6 -6
- package/dist/{DecisionMakers-DsEvjMgy.js → DecisionMakers-DwiaiWry.js} +22 -22
- package/dist/{Dropzone-DN5uCyVU.js → Dropzone-C4YT4h7d.js} +3 -3
- package/dist/{EmbeddedStatus-Dv1_ftCI.js → EmbeddedStatus-BNt1yp6u.js} +2 -2
- package/dist/{EndStateLayout-Be7knc_u.js → EndStateLayout--9sr2J4F.js} +1 -1
- package/dist/{EntityAssociation-ehFx0Lsk.js → EntityAssociation-CSNBaOql.js} +5 -5
- package/dist/{EntityGuidanceStatus-DogG6s5I.js → EntityGuidanceStatus-AcIPd1RF.js} +2 -2
- package/dist/{ErrorPanel-AOXcd1rV.js → ErrorPanel-DaYCB5Ts.js} +3 -3
- package/dist/{Field-JfW2EFGR.js → Field-C0o-putq.js} +1 -1
- package/dist/{FormNavigation-DDdhTt0b.js → FormNavigation-CUSOayWg.js} +2 -2
- package/dist/{FormWrapper-Ct9HZWod.js → FormWrapper-ONbUwZSE.js} +8 -8
- package/dist/{Header--2llFP2l.js → Header-B0LvB2GT.js} +1 -1
- package/dist/{Image-BCApSFnP.js → Image-bSJC3F3w.js} +1 -1
- package/dist/{Individual.rules-CyhqPTcX.js → Individual.rules-IBhfuoQM.js} +6 -6
- package/dist/{IndividualDropin-mVN_KUBh.js → IndividualDropin-C71ZHpNq.js} +57 -68
- package/dist/{InputDate-Burmi6Sh.js → InputDate-B37wNi0L.js} +1 -1
- package/dist/{InputText-CDJu-sEq.js → InputText-B5jBzBFb.js} +1 -1
- package/dist/{Introduction-BwKLGTUv.js → Introduction-DDwosiAN.js} +3 -3
- package/dist/{JpAddress-BSy0UJ3M.js → JpAddress-DJse0Yoi.js} +9 -9
- package/dist/{LandingLayout-BwkomD3H.js → LandingLayout-DASj6aia.js} +1 -1
- package/dist/{LegalCompanyNameField-Cgt1TNEB.js → LegalCompanyNameField-BA1dwBLp.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-Cqajm3hR.js → LegalRepresentativeDetailsPage-EKC8xtQm.js} +3 -3
- package/dist/{Link-C1ItzqIL.js → Link-DuXO2lwb.js} +1 -1
- package/dist/{ListItem-BIog5phF.js → ListItem-2HGhLW2Y.js} +2 -2
- package/dist/{LoaderWrapper-CZo0SNKQ.js → LoaderWrapper-sro5UHtc.js} +1 -1
- package/dist/{ManageIndividualComponent-BBOXsqnJ.js → ManageIndividualComponent-QW48qCKq.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-COmlFRSF.js → ManageTermsOfServiceComponent-DxtG3O5c.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-BVY-1aD7.js → ManageTransferInstrumentComponent-0OPK2Mz2.js} +12 -12
- package/dist/{MaskedInput-DKifZn9r.js → MaskedInput-CECE2YvR.js} +4 -4
- package/dist/{MaybeModal-CRIZCDqy.js → MaybeModal-cUMSGOY6.js} +2 -2
- package/dist/{Modal-DVBgbO7M.js → Modal-DdGZrXGa.js} +1 -1
- package/dist/{Name-7k-lHFYu.js → Name-D2AVZrdq.js} +4 -4
- package/dist/{OnboardingDropinComponent-BRhZOfli.js → OnboardingDropinComponent-DjsABHSb.js} +53 -53
- package/dist/{PayoutDetailsDropin-oy4QPb8_.js → PayoutDetailsDropin-BvTHZk7Y.js} +44 -44
- package/dist/{RadioGroup-BKDP8z8a.js → RadioGroup-CpZJxOLN.js} +1 -1
- package/dist/{RadioGroupCard-BRaP96s2.js → RadioGroupCard-DvPQ7cwd.js} +1 -1
- package/dist/{Review-BuZsPiQ4.js → Review-B2RpXdjq.js} +6 -6
- package/dist/{RootBusinessDetailsPage-YR2zdnnH.js → RootBusinessDetailsPage-DuKL6BLq.js} +3 -3
- package/dist/{RootBusinessLinesPage-C7flPjmZ.js → RootBusinessLinesPage-DoqjbQMr.js} +27 -28
- package/dist/{RootIndividualDetailsPage-Bos1Wn3a.js → RootIndividualDetailsPage-Btkp8CJp.js} +4 -4
- package/dist/{Select-CaTtCKfk.js → Select-BF8gUS1I.js} +3 -3
- package/dist/{SignPCIComponent-BQX3rni3.js → SignPCIComponent-DcxNb_mz.js} +10 -10
- package/dist/{SingpassSelection-CfZV_Gh8.js → SingpassSelection-DO_uqLSK.js} +5 -5
- package/dist/{SoleProprietorshipPage-CUHHAiF8.js → SoleProprietorshipPage-BL3ikyVe.js} +3 -3
- package/dist/{SourceOfFundsPage-Bco19EV7.js → SourceOfFundsPage-C8RZCQC3.js} +32 -32
- package/dist/{StepProgressIndicator-C0V9U0YD.js → StepProgressIndicator-Cd_RLHRq.js} +1 -1
- package/dist/{StoreProvider-R8HTTjSj.js → StoreProvider-DPqN8LYP.js} +59 -58
- package/dist/{Summary-itpVUbwv.js → Summary-EqbTkjuU.js} +6 -6
- package/dist/{TaskVerificationStatus-DMo_YL-Q.js → TaskVerificationStatus-BysM7TKY.js} +1 -1
- package/dist/{TaxInformationField-BMegKexk.js → TaxInformationField-CmP92ZJF.js} +396 -144
- package/dist/{TaxReportingDropin-BefiGSvu.js → TaxReportingDropin-BOwMCQlZ.js} +16 -16
- package/dist/{TextArea-DoQSgYyO.js → TextArea-gNIwnheK.js} +1 -1
- package/dist/{TileGroup-2DhDOa2v.js → TileGroup-D8omOZ6E.js} +2 -2
- package/dist/{TrustDetailsPage-nz98r5ao.js → TrustDetailsPage-WU7QexBg.js} +35 -39
- package/dist/{TrustMemberCompanyPage-C1hkerc6.js → TrustMemberCompanyPage-CS1FtAW0.js} +4 -4
- package/dist/{TrustMemberIndividualPage-BP1rh_3-.js → TrustMemberIndividualPage-DXkwpjoK.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-DM_SAeST.js → TrustMemberRoleAndTypePage-DqrAflHZ.js} +23 -23
- package/dist/{TrustMembersOverview-DJq55hwH.js → TrustMembersOverview-BDoWjrPG.js} +12 -12
- package/dist/{UnincorporatedPartnershipIndividualPage-C3cNtO8h.js → UnincorporatedPartnershipIndividualPage-B5t5f3Xy.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DwWQxBJZ.js → UnincorporatedPartnershipMemberCompanyPage-FJuevqVE.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CD9BjZAV.js → UnincorporatedPartnershipMemberRoleAndTypePage-g8G0BTNX.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-Ddkf3qsV.js → UnincorporatedPartnershipMembersOverview-n9xrEH7o.js} +8 -8
- package/dist/{VerificationErrorAlert-B3lc-lS0.js → VerificationErrorAlert-BCPkFcdC.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-ClqvblmK.js → ViewVerificationStatusComponent-D4qVa2Tr.js} +3 -3
- package/dist/{accountHolderUtils-Bt3WWiKU.js → accountHolderUtils-CwD0PJT9.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 +4 -4
- package/dist/adyen-kyc-components.js +20 -20
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{bafinUtils-BQuOAA7n.js → bafinUtils-BLzlMX1t.js} +1 -1
- package/dist/{bg-BG-Dp1J1L2X.js → bg-BG-6XzbmxcW.js} +2 -2
- package/dist/{commonValidators-COQPDrJD.js → commonValidators-DtpfUoTG.js} +1 -1
- package/dist/{cs-CZ-Bd9Zz7z4.js → cs-CZ-C6vEQ8P9.js} +2 -2
- package/dist/{da-DK-DmFDgnbC.js → da-DK-DzcTI92X.js} +2 -2
- package/dist/{de-DE-DRuKxSOy.js → de-DE-dPfrbCii.js} +2 -2
- package/dist/{dropinUtils-DaVcEvR9.js → dropinUtils-BnLLodZB.js} +3 -3
- package/dist/{el-GR-Cezskrdn.js → el-GR-Dazirlmt.js} +2 -2
- package/dist/{es-ES-DzB4V6UZ.js → es-ES--IvNed_Q.js} +2 -2
- package/dist/{et-EE-BkHzGD3D.js → et-EE-CsTXSlnY.js} +2 -2
- package/dist/{fi-FI-Cxkp0GQA.js → fi-FI-BUixKfXH.js} +2 -2
- package/dist/{formUtils-BXVrjV16.js → formUtils-CKVnF5ld.js} +3 -14
- package/dist/{fr-FR-DsEmssxk.js → fr-FR-BM-qNLci.js} +2 -2
- package/dist/{getName-BSp8sqBk.js → getName-B8VEXHIQ.js} +1 -1
- package/dist/{getProblemsForEntity-D3Mk1tAO.js → getProblemsForEntity-CNiKxZXS.js} +1 -1
- package/dist/{getProps-O8Fpl_k_.js → getProps-Cc3J2-z9.js} +2 -6
- package/dist/{hr-HR-DU4nvY6g.js → hr-HR-BF74vdPD.js} +2 -2
- package/dist/{hu-HU-D6frnZmR.js → hu-HU-DYhMVR_c.js} +2 -2
- package/dist/{iframeWidget-D9fIYT_A.js → iframeWidget-CNRt0Pco.js} +4 -4
- package/dist/{isEmpty-YP88OF9k.js → isEmpty-5NICE_Hp.js} +2 -2
- package/dist/{it-IT-VFXgXyRA.js → it-IT-D63gRTDc.js} +2 -2
- package/dist/{ja-JP-B_Q8X66O.js → ja-JP-DL0IjTzn.js} +2 -2
- package/dist/{japanSupportUtils-BVEiDev9.js → japanSupportUtils-wuK4rS0-.js} +1 -1
- package/dist/{localizeDateString-D4QbYS20.js → localizeDateString-CjGFjfIQ.js} +1 -1
- package/dist/{lt-LT-CE-GdWrg.js → lt-LT-BX8dOAzK.js} +2 -2
- package/dist/{lv-LV-dv7fqeBS.js → lv-LV-dA8yYdKe.js} +2 -2
- package/dist/{mapExistingFile-DrV6ETrQ.js → mapExistingFile-p5OSJ2ZY.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-h3wfuHZF.js → mapJpAddressSchemaToAddressLocalizations-oadLEoEQ.js} +24 -9
- package/dist/{mapLegalEntityToIndividualSchema-xKiA35iB.js → mapLegalEntityToIndividualSchema-DyA9BTt-.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-BGH81_rp.js → mapTransferInstrumentToPayoutAccount-pgMaVTXJ.js} +2 -2
- package/dist/{nl-NL-BwIRHJgf.js → nl-NL-KQ6bciOb.js} +2 -2
- package/dist/{no-NO-u56mEoG3.js → no-NO-Ds3VioxT.js} +2 -2
- package/dist/{patternValidators-D1I-TyxX.js → patternValidators-DLQ4AnVs.js} +2 -2
- package/dist/{pl-PL-zqT41Yjw.js → pl-PL-BgbxWHGE.js} +2 -2
- package/dist/{process-field-configurations-CauvcVgJ.js → process-field-configurations-Bonrf_WR.js} +3 -3
- package/dist/{pt-BR-fMKntiMG.js → pt-BR-Ct4s4jXV.js} +2 -2
- package/dist/{pt-PT-C6pZR9Bc.js → pt-PT-DBEsmXQX.js} +2 -2
- package/dist/{resolveEnvironment-BGOF8ZN0.js → resolveEnvironment-B8fdJ0mE.js} +3 -3
- package/dist/{ro-RO-B5BQrf6C.js → ro-RO-C00Ig8CL.js} +2 -2
- package/dist/{roleMetadata-IJmMKj7H.js → roleMetadata-CJIsriTm.js} +2 -2
- package/dist/{sk-SK-Bz4T7upD.js → sk-SK-BbJWayDh.js} +2 -2
- package/dist/{sl-SI--RTGDByj.js → sl-SI-hxwQIw_i.js} +2 -2
- package/dist/{sv-SE-Dryy3JLw.js → sv-SE-0PQ-U1u6.js} +2 -2
- package/dist/types/components/Business/mapping/businessDetails/businessBankAccountTaxIdUtils.d.ts +7 -0
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +3 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +2 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/BusinessLines/fields/SctaField/types.d.ts +1 -1
- package/dist/types/components/BusinessLines/fields/WebDataField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/DateOfIncorporationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/types.d.ts +3 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/EInvoicingCodeField.d.ts +1 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +52 -12
- package/dist/types/components/Shared/fields/IndustryCodeField/IndustryCodeField.d.ts +1 -1
- package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/fieldConfig.d.ts +5 -0
- package/dist/types/components/Shared/fields/PhoneField/types.d.ts +2 -1
- package/dist/types/components/Shared/fields/StateField/StateField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/fieldConfig.d.ts +8 -0
- package/dist/types/components/Shared/fields/StateField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/StockExchangeMICField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/StockISINField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/StockTickerSymbolField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +6 -0
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +2 -1
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/Address.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/core/process-field-configurations.d.ts +0 -5
- package/dist/types/hooks/useForm/types.d.ts +0 -4
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/fieldConfigurations.d.ts +0 -1
- package/dist/types/utils/formUtils.d.ts +0 -1
- package/dist/{types-C71UTKFj.js → types-61D0e9nP.js} +1 -1
- package/dist/{types-L5qYiAza.js → types-Cy_omTrU.js} +1 -1
- package/dist/{types-CbmL-OPw.js → types-gZEyQ4x7.js} +1 -1
- package/dist/{useAssociatedLegalEntity-C-xiImww.js → useAssociatedLegalEntity-ONFWI_BJ.js} +1 -1
- package/dist/{useBusinessDetailsData-ClDMNd4T.js → useBusinessDetailsData-NXQ_2SNo.js} +108 -115
- package/dist/{useBusinessLines-DYARfG9m.js → useBusinessLines-BEuNY9qg.js} +1 -1
- package/dist/{useCanSeeIntroduction-BiE8u_KK.js → useCanSeeIntroduction-B6ySIU8j.js} +2 -2
- package/dist/{useCreateLegalEntity-DR7rwVaq.js → useCreateLegalEntity-0-3hRsYe.js} +1 -1
- package/dist/{useDataMissingRemediations-DReynHoU.js → useDataMissingRemediations-D-G-aM03.js} +2 -2
- package/dist/{useDataset-C5FlqHce.js → useDataset-zJK6h2Yq.js} +1 -1
- package/dist/{useDeleteTransferInstrument-B-Oi9ZLT.js → useDeleteTransferInstrument-iNqRLyLm.js} +2 -2
- package/dist/{useForm-BsasYish.js → useForm-BT5xytNk.js} +3 -3
- package/dist/{useFormContext-DpaS6tOQ.js → useFormContext-B-yKHFTZ.js} +6 -6
- package/dist/{useGlobalData-CX1o5IxG.js → useGlobalData-BNJSXpwZ.js} +2 -2
- package/dist/{useMultiForm-DEqGcJ6u.js → useMultiForm-BOaDv5qH.js} +3 -3
- package/dist/{useNavigate-Cj2nZ22H.js → useNavigate-DzmF_9to.js} +29 -29
- package/dist/{useOnboardingStatus-Dris0Ncf.js → useOnboardingStatus-KLKXNyKl.js} +1 -1
- package/dist/{usePciQuestionnaireList-BBySNcwm.js → usePciQuestionnaireList-Ciy_7TTE.js} +1 -1
- package/dist/{useSalesChannels-BOd-o11d.js → useSalesChannels-BAX5afpt.js} +3 -3
- package/dist/{useScenarios-HMGtblyu.js → useScenarios-C7h9Zd83.js} +1 -1
- package/dist/{useSetting-BYr76RvU.js → useSetting-CuCyZPl9.js} +2 -2
- package/dist/{useTaskStatus-BbVw9GeJ.js → useTaskStatus-Qi65G3uO.js} +1 -1
- package/dist/{useTermsOfServiceStatus-ksgZfSQU.js → useTermsOfServiceStatus-BiWh-g-7.js} +1 -1
- package/dist/{useToastContext-BVrrLs7J.js → useToastContext-CN1Z6d5x.js} +1 -1
- package/dist/{useTrustMembers-1tH9uxR9.js → useTrustMembers-Rql_GIJ_.js} +4 -4
- package/dist/{useUnincorporatedPartnershipMembers-gG8G3tCc.js → useUnincorporatedPartnershipMembers-DRHf6P2g.js} +3 -3
- package/dist/{useUpdateBusinessLines-CMUHoLaq.js → useUpdateBusinessLines-gIWOq5GC.js} +5 -6
- package/dist/{useUpdateLegalEntity-B6ROWewZ.js → useUpdateLegalEntity-jkTvJRRh.js} +2 -2
- package/dist/{utils-LHyfmjEK.js → utils-BFUYt2Fv.js} +1 -1
- package/dist/{utils-DSoDxwnp.js → utils-C83ORboz.js} +2 -9
- package/dist/{utils-kWwTKQ5D.js → utils-CNvch5_K.js} +1 -1
- package/dist/{utils-BgPvD8_F.js → utils-DazeznnB.js} +5 -5
- package/dist/{utils-BOHUVuDG.js → utils-Wb1DUtGo.js} +2 -2
- package/dist/{validate-5WfBgXVu.js → validate-GccNlnBy.js} +1 -1
- package/dist/{validate-xqnF9QqW.js → validate-zqh6mFEK.js} +3 -3
- package/dist/{validationError-DQ-2UuzB.js → validationError-KSGJRB1i.js} +2 -2
- package/package.json +1 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { ExperimentName } from '../../../../context/ExperimentContext/types';
|
|
2
2
|
import type { Document } from '../../../../core/models/api/document';
|
|
3
|
-
import type
|
|
3
|
+
import { type Scenario } from '../../../../core/models/api/get-scenarios';
|
|
4
|
+
import type { ExistingLegalEntity, LegalEntity } from '../../../../core/models/api/legal-entity';
|
|
4
5
|
import type { TaskType } from '../../../../stores/globalStore/taskTypes';
|
|
5
6
|
import type { AccountHolderOption } from '../../../../types/accountHolder';
|
|
6
7
|
import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
|
|
7
8
|
export declare const mapBusinessDetailsDocumentToApiDocument: (data: BusinessDetailsSchema, entityId: string) => Promise<Document[]>;
|
|
8
|
-
export declare const mapBusinessDetailsSchemaToLegalEntity: (data: BusinessDetailsSchema, accountHolder: AccountHolderOption, isExperimentEnabled: (key: ExperimentName) => boolean, taskType: TaskType) => LegalEntity;
|
|
9
|
+
export declare const mapBusinessDetailsSchemaToLegalEntity: (data: BusinessDetailsSchema, accountHolder: AccountHolderOption, isExperimentEnabled: (key: ExperimentName) => boolean, taskType: TaskType, matchingScenario?: Scenario[], rootLegalEntity?: ExistingLegalEntity) => LegalEntity;
|
|
@@ -9,6 +9,7 @@ import type { ExperimentName } from '../../../../context/ExperimentContext/types
|
|
|
9
9
|
import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
|
|
10
10
|
import type { UserEvents } from '../../../../core/user-events';
|
|
11
11
|
import type { TFunction } from '../../../../../types';
|
|
12
|
+
import type { Scenario } from '../../../../core/models/api/get-scenarios';
|
|
12
13
|
import type { ToastOptions } from '../../../ui/molecules/Toast/Toast.types';
|
|
13
14
|
import type { TaskType } from '../../../../stores/globalStore/taskTypes';
|
|
14
15
|
import type { AccountHolderOption } from '../../../../types/accountHolder';
|
|
@@ -64,4 +65,5 @@ export interface SubmitProps {
|
|
|
64
65
|
efpBusinessLines?: BusinessLinesResponse[] | undefined;
|
|
65
66
|
createBusinessLine?: CreateBusinessLine;
|
|
66
67
|
updateBusinessLine?: UpdateBusinessLine;
|
|
68
|
+
matchingScenario?: Scenario[];
|
|
67
69
|
}
|
|
@@ -26,6 +26,6 @@ interface BuildRequiredFormsProps {
|
|
|
26
26
|
}
|
|
27
27
|
export declare function buildRequiredForms({ config: { forms, requiredFields, optionalFields, isValid, problems, isSettingEnabled, accountHolder, legalEntityResponse, }, options, }: BuildRequiredFormsProps): FormModelWithValidity[];
|
|
28
28
|
export declare const formatDataForSummary: (data: BusinessDetailsSchema, forms: FormModelWithValidity[], t: TFunction<readonly ["common", "business"]>, language: string, isExperimentEnabled: (key: ExperimentName) => boolean, version?: number) => {};
|
|
29
|
-
export declare function submit({ data, legalEntityResponse, associatedLegalArrangement, nestedLegalEntity, nestedLegalEntityDetails, problems, taskType, accountHolder, forms, documentUtils, t, showToast, setLoadingStatus, setProblems, handleUpdateLegalEntity, createLegalEntity, onExternalSubmit, isExperimentEnabled, userEvents, efpBusinessLines, createBusinessLine, updateBusinessLine, }: SubmitProps): Promise<void>;
|
|
29
|
+
export declare function submit({ data, legalEntityResponse, associatedLegalArrangement, nestedLegalEntity, nestedLegalEntityDetails, problems, taskType, accountHolder, forms, documentUtils, t, showToast, setLoadingStatus, setProblems, handleUpdateLegalEntity, createLegalEntity, onExternalSubmit, isExperimentEnabled, userEvents, efpBusinessLines, createBusinessLine, updateBusinessLine, matchingScenario, }: SubmitProps): Promise<void>;
|
|
30
30
|
export declare const getCountryOfGoverningLaw: (isCountryOfGoverningLawEnabled?: boolean, basicData?: BasicInformationSchema) => string | undefined;
|
|
31
31
|
export {};
|
|
@@ -3,4 +3,4 @@ export interface SctaFieldSchema {
|
|
|
3
3
|
sctaUrl?: string;
|
|
4
4
|
sctaExempt?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export type SctaFieldProps = Pick<BaseFormFieldProps<SctaFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | '
|
|
6
|
+
export type SctaFieldProps = Pick<BaseFormFieldProps<SctaFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'handleChangeFor' | 'guidanceText'>;
|
|
@@ -3,4 +3,4 @@ export interface WebDataFieldSchema {
|
|
|
3
3
|
webAddress?: string;
|
|
4
4
|
webExempt?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export type WebDataFieldProps = Pick<BaseFormFieldProps<WebDataFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | '
|
|
6
|
+
export type WebDataFieldProps = Pick<BaseFormFieldProps<WebDataFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'handleChangeFor' | 'guidanceText'>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { BusinessRegistrationNumberFieldProps, BusinessRegistrationNumberFieldSchema } from './types';
|
|
2
2
|
export declare const BUSINESS_REGISTRATION_NUMBER_FIELD: Array<keyof BusinessRegistrationNumberFieldSchema>;
|
|
3
|
-
export declare function BusinessRegistrationNumberField({ data, valid, errors, labels, mask, guidanceText, helperText,
|
|
3
|
+
export declare function BusinessRegistrationNumberField({ data, valid, errors, labels, mask, guidanceText, helperText, readonly, shouldValidate, optional, handleChangeFor, country, canExempt, companyType, }: BusinessRegistrationNumberFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -8,7 +8,7 @@ export interface BusinessRegistrationNumberFieldSchema {
|
|
|
8
8
|
registrationNumberType?: CompanyRegistrationNumberType;
|
|
9
9
|
exemptedFromRegistrationNumber?: boolean;
|
|
10
10
|
}
|
|
11
|
-
export interface BusinessRegistrationNumberFieldProps extends Pick<BaseFormFieldProps<BusinessRegistrationNumberFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'mask' | 'guidanceText' | '
|
|
11
|
+
export interface BusinessRegistrationNumberFieldProps extends Pick<BaseFormFieldProps<BusinessRegistrationNumberFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'mask' | 'guidanceText' | 'readonly' | 'shouldValidate' | 'optional' | 'handleChangeFor'> {
|
|
12
12
|
country: CountryCode;
|
|
13
13
|
canExempt: boolean;
|
|
14
14
|
companyType?: CompanyTypesValue | typeof LegalEntityTypes.TRUST;
|
package/dist/types/components/Shared/fields/DateOfIncorporationField/DateOfIncorporationField.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { DateOfIncorporationFieldProps, DateOfIncorporationFieldSchema } from './types';
|
|
2
2
|
export declare const DATE_OF_INCORPORATION_FIELD: Array<keyof DateOfIncorporationFieldSchema>;
|
|
3
|
-
export declare function DateOfIncorporationField({ data, valid, errors, labels,
|
|
3
|
+
export declare function DateOfIncorporationField({ data, valid, errors, labels, placeholder, readonly, handleChangeFor, }: DateOfIncorporationFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -2,4 +2,6 @@ import type { BaseFormFieldProps } from '../../../../hooks/useForm/types';
|
|
|
2
2
|
export interface DateOfIncorporationFieldSchema {
|
|
3
3
|
dateOfIncorporation?: string | undefined;
|
|
4
4
|
}
|
|
5
|
-
export type DateOfIncorporationFieldProps = Pick<BaseFormFieldProps<DateOfIncorporationFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | '
|
|
5
|
+
export type DateOfIncorporationFieldProps = Pick<BaseFormFieldProps<DateOfIncorporationFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'handleChangeFor'> & {
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { EInvoicingCodeFieldProps, EInvoicingCodeFieldSchema } from './types';
|
|
2
2
|
export declare const EINVOICING_CODE_FIELD: Array<keyof EInvoicingCodeFieldSchema>;
|
|
3
|
-
export declare function EInvoicingCodeField({ data, valid, errors, labels,
|
|
3
|
+
export declare function EInvoicingCodeField({ data, valid, errors, labels, readonly, mask, guidanceText, shouldValidate, handleChangeFor, }: EInvoicingCodeFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -3,4 +3,4 @@ export interface EInvoicingCodeFieldSchema {
|
|
|
3
3
|
eInvoicingCode?: string;
|
|
4
4
|
noEInvoicingCode?: string;
|
|
5
5
|
}
|
|
6
|
-
export type EInvoicingCodeFieldProps = Pick<BaseFormFieldProps<EInvoicingCodeFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | '
|
|
6
|
+
export type EInvoicingCodeFieldProps = Pick<BaseFormFieldProps<EInvoicingCodeFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'mask' | 'guidanceText' | 'shouldValidate' | 'handleChangeFor'>;
|
|
@@ -155,7 +155,6 @@ export declare const taxIdNumberOptions: {
|
|
|
155
155
|
readonly AT: readonly [{
|
|
156
156
|
readonly id: "STEUERNUMMER";
|
|
157
157
|
readonly name: "taxInformationNumber__AT";
|
|
158
|
-
readonly applicableOnlyFor: readonly ["individual"];
|
|
159
158
|
}];
|
|
160
159
|
readonly BE: readonly [{
|
|
161
160
|
readonly id: "BUSINESS_NUMMER";
|
|
@@ -177,22 +176,33 @@ export declare const taxIdNumberOptions: {
|
|
|
177
176
|
readonly HR: readonly [{
|
|
178
177
|
readonly id: "OIB";
|
|
179
178
|
readonly name: "taxInformationNumber__HR";
|
|
180
|
-
readonly applicableOnlyFor: readonly ["individual"];
|
|
181
179
|
}];
|
|
182
180
|
readonly CY: readonly [{
|
|
183
181
|
readonly id: "TIC";
|
|
184
182
|
readonly name: "taxInformationNumber__CY";
|
|
185
|
-
readonly applicableOnlyFor: readonly ["individual"];
|
|
186
183
|
}];
|
|
187
184
|
readonly EE: readonly [{
|
|
188
185
|
readonly id: "ISIKUKOOD";
|
|
189
|
-
readonly name: "
|
|
186
|
+
readonly name: "taxInformationNumber__ET_Individual";
|
|
190
187
|
readonly applicableOnlyFor: readonly ["individual"];
|
|
188
|
+
}, {
|
|
189
|
+
readonly id: "registrikood";
|
|
190
|
+
readonly name: "registrikood";
|
|
191
|
+
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
191
192
|
}];
|
|
192
193
|
readonly FI: readonly [{
|
|
193
194
|
readonly id: "HENKILOTUNNUS";
|
|
194
195
|
readonly name: "taxInformationNumber__FI";
|
|
195
196
|
readonly applicableOnlyFor: readonly ["individual"];
|
|
197
|
+
}, {
|
|
198
|
+
readonly id: "YTUNNUS";
|
|
199
|
+
readonly name: "YTunnus";
|
|
200
|
+
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
201
|
+
}];
|
|
202
|
+
readonly FR: readonly [{
|
|
203
|
+
readonly id: "SIRET";
|
|
204
|
+
readonly name: "siret";
|
|
205
|
+
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
196
206
|
}];
|
|
197
207
|
readonly DE: readonly [{
|
|
198
208
|
readonly id: "STEUERNUMMER";
|
|
@@ -210,7 +220,6 @@ export declare const taxIdNumberOptions: {
|
|
|
210
220
|
readonly GR: readonly [{
|
|
211
221
|
readonly id: "AFM";
|
|
212
222
|
readonly name: "taxInformationNumber__GR";
|
|
213
|
-
readonly applicableOnlyFor: readonly ["individual"];
|
|
214
223
|
}];
|
|
215
224
|
readonly GG: readonly [{
|
|
216
225
|
readonly id: "GG_REGISTRATION_NUMBER";
|
|
@@ -227,7 +236,7 @@ export declare const taxIdNumberOptions: {
|
|
|
227
236
|
readonly IE: readonly [{
|
|
228
237
|
readonly id: "TRN";
|
|
229
238
|
readonly name: "trnNumber";
|
|
230
|
-
readonly applicableOnlyFor: readonly ["unincorporatedPartnership"];
|
|
239
|
+
readonly applicableOnlyFor: readonly ["privateCompany", "unincorporatedPartnership"];
|
|
231
240
|
}, {
|
|
232
241
|
readonly id: "PPSN";
|
|
233
242
|
readonly name: "taxInformationNumber__IE_Individual";
|
|
@@ -240,7 +249,6 @@ export declare const taxIdNumberOptions: {
|
|
|
240
249
|
readonly IT: readonly [{
|
|
241
250
|
readonly id: "CODICE_FISCALE";
|
|
242
251
|
readonly name: "taxInformationNumber__IT";
|
|
243
|
-
readonly applicableOnlyFor: readonly ["individual"];
|
|
244
252
|
}];
|
|
245
253
|
readonly JP: readonly [{
|
|
246
254
|
readonly id: "CORPORATE_NUMBER";
|
|
@@ -258,25 +266,41 @@ export declare const taxIdNumberOptions: {
|
|
|
258
266
|
readonly id: "PERSONAS_KODS";
|
|
259
267
|
readonly name: "taxInformationNumber__LV";
|
|
260
268
|
readonly applicableOnlyFor: readonly ["individual"];
|
|
269
|
+
}, {
|
|
270
|
+
readonly id: "REGISTRACIJAS_NUMURS";
|
|
271
|
+
readonly name: "lvRegistrationNumber";
|
|
272
|
+
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
261
273
|
}];
|
|
262
274
|
readonly LT: readonly [{
|
|
263
275
|
readonly id: "ASMENSKODAS";
|
|
264
276
|
readonly name: "taxInformationNumber__LT";
|
|
265
277
|
readonly applicableOnlyFor: readonly ["individual"];
|
|
278
|
+
}, {
|
|
279
|
+
readonly id: "ASMENS_KODAS";
|
|
280
|
+
readonly name: "ltRegistrationNumber";
|
|
281
|
+
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
266
282
|
}];
|
|
267
283
|
readonly LU: readonly [{
|
|
268
284
|
readonly id: "NATIONAL_IDENTIFICATION_NUMBER";
|
|
269
|
-
readonly name: "
|
|
285
|
+
readonly name: "taxInformationNumber__LU_Individual";
|
|
270
286
|
readonly applicableOnlyFor: readonly ["individual"];
|
|
287
|
+
}, {
|
|
288
|
+
readonly id: "NATIONAL_IDENTIFICATION_NUMBER";
|
|
289
|
+
readonly name: "taxInformationNumber__LU_Org";
|
|
290
|
+
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
271
291
|
}];
|
|
272
292
|
readonly MT: readonly [{
|
|
273
293
|
readonly id: "NRU";
|
|
274
|
-
readonly name: "
|
|
294
|
+
readonly name: "taxInformationNumber__MT_NRU_Individual";
|
|
275
295
|
readonly applicableOnlyFor: readonly ["individual"];
|
|
276
296
|
}, {
|
|
277
297
|
readonly id: "IDENTITY_CARD_NUMBER";
|
|
278
|
-
readonly name: "
|
|
298
|
+
readonly name: "taxInformationNumber__MT_Individual";
|
|
279
299
|
readonly applicableOnlyFor: readonly ["individual"];
|
|
300
|
+
}, {
|
|
301
|
+
readonly id: "INCOME_TAX_REGISTRATION_NUMBER";
|
|
302
|
+
readonly name: "taxInformationNumber__MT_Org";
|
|
303
|
+
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
280
304
|
}];
|
|
281
305
|
readonly NL: readonly [{
|
|
282
306
|
readonly id: "RSIN";
|
|
@@ -295,6 +319,10 @@ export declare const taxIdNumberOptions: {
|
|
|
295
319
|
readonly id: "NUMERO_ID_CIVIL";
|
|
296
320
|
readonly name: "taxInformationNumber__PT";
|
|
297
321
|
readonly applicableOnlyFor: readonly ["individual"];
|
|
322
|
+
}, {
|
|
323
|
+
readonly id: "NIPC";
|
|
324
|
+
readonly name: "NIPC";
|
|
325
|
+
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
298
326
|
}];
|
|
299
327
|
readonly PR: readonly [{
|
|
300
328
|
readonly id: "EIN";
|
|
@@ -309,13 +337,21 @@ export declare const taxIdNumberOptions: {
|
|
|
309
337
|
}];
|
|
310
338
|
readonly SK: readonly [{
|
|
311
339
|
readonly id: "RODNE_CISLO";
|
|
312
|
-
readonly name: "
|
|
340
|
+
readonly name: "taxInformationNumber__SK_Individual";
|
|
313
341
|
readonly applicableOnlyFor: readonly ["individual"];
|
|
342
|
+
}, {
|
|
343
|
+
readonly id: "NATIONAL_IDENTIFICATION_NUMBER";
|
|
344
|
+
readonly name: "taxInformationNumber__SK_Org";
|
|
345
|
+
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
314
346
|
}];
|
|
315
347
|
readonly SI: readonly [{
|
|
316
348
|
readonly id: "SI_TAX_NUMBER";
|
|
317
|
-
readonly name: "
|
|
349
|
+
readonly name: "taxInformationNumber__SI_Individual";
|
|
318
350
|
readonly applicableOnlyFor: readonly ["individual"];
|
|
351
|
+
}, {
|
|
352
|
+
readonly id: "NATIONAL_IDENTIFICATION_NUMBER";
|
|
353
|
+
readonly name: "taxInformationNumber__SI_Org";
|
|
354
|
+
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
319
355
|
}];
|
|
320
356
|
readonly ES: readonly [{
|
|
321
357
|
readonly id: "dni";
|
|
@@ -325,6 +361,10 @@ export declare const taxIdNumberOptions: {
|
|
|
325
361
|
readonly id: "nie";
|
|
326
362
|
readonly name: "nie";
|
|
327
363
|
readonly applicableOnlyFor: readonly ["individual"];
|
|
364
|
+
}, {
|
|
365
|
+
readonly id: "NIF";
|
|
366
|
+
readonly name: "NIF";
|
|
367
|
+
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
328
368
|
}];
|
|
329
369
|
readonly GB: readonly [{
|
|
330
370
|
readonly id: "UTR";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { IndustryCodeFieldProps } from './types';
|
|
2
|
-
export declare function IndustryCodeField({ data, valid, errors, labels,
|
|
2
|
+
export declare function IndustryCodeField({ data, valid, errors, labels, readonly, handleChangeFor, guidanceText, setErrors, // need to manually set errors due to nested select components
|
|
3
3
|
setValid, // need to manually set validation due to nested select components
|
|
4
4
|
businessLineTypes, single, industryCodes, existingBusinessLines, }: IndustryCodeFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -11,7 +11,7 @@ export type IndustryCode = {
|
|
|
11
11
|
export interface IndustryCodeFieldSchema {
|
|
12
12
|
industryCodes?: IndustryCode[];
|
|
13
13
|
}
|
|
14
|
-
export interface IndustryCodeFieldProps extends Pick<BaseFormFieldProps<IndustryCodeFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | '
|
|
14
|
+
export interface IndustryCodeFieldProps extends Pick<BaseFormFieldProps<IndustryCodeFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'handleChangeFor'> {
|
|
15
15
|
guidanceText: Record<'industryCodes', string>;
|
|
16
16
|
businessLineTypes: BusinessLineType[];
|
|
17
17
|
single?: boolean;
|
|
@@ -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,
|
|
3
|
+
export declare function PhoneField({ country, name, data, valid, errors, labels, mask, readonly, optional, placeholder, handleChangeFor, }: PhoneFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import type { ValidatePhoneNumber } from '../../../../api/validation/useValidatePhoneNumber';
|
|
2
|
+
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
2
3
|
import type { FieldMetadata, PerCountryFieldConfig } from '../../../../utils/fieldConfigurations';
|
|
3
4
|
import type { AsyncValidatorRules } from '../../../../utils/validation/types';
|
|
4
5
|
import type { PhoneFieldSchema } from './types';
|
|
5
6
|
export declare const getAsyncPhoneValidationRules: (validatePhoneNumber: ValidatePhoneNumber) => AsyncValidatorRules<PhoneFieldSchema>;
|
|
6
7
|
export declare const defaultFieldMetadata: FieldMetadata<PhoneFieldSchema, 'phoneNumber'>;
|
|
7
8
|
export declare const fieldConfig: PerCountryFieldConfig<PhoneFieldSchema, 'phoneNumber', any>;
|
|
9
|
+
/**
|
|
10
|
+
* Returns the placeholder text for the phone field based on country.
|
|
11
|
+
*/
|
|
12
|
+
export declare const getPhonePlaceholder: (country: CountryCode) => string | undefined;
|
|
@@ -4,6 +4,7 @@ import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
|
4
4
|
export interface PhoneFieldSchema {
|
|
5
5
|
phoneNumber?: Phone;
|
|
6
6
|
}
|
|
7
|
-
export interface PhoneFieldProps extends Pick<BaseFormFieldProps<PhoneFieldSchema>, 'name' | 'data' | 'valid' | 'errors' | 'labels' | 'mask' | 'readonly' | 'optional' | '
|
|
7
|
+
export interface PhoneFieldProps extends Pick<BaseFormFieldProps<PhoneFieldSchema>, 'name' | 'data' | 'valid' | 'errors' | 'labels' | 'mask' | 'readonly' | 'optional' | 'handleChangeFor'> {
|
|
8
8
|
country: CountryCode;
|
|
9
|
+
placeholder?: string;
|
|
9
10
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { StateFieldProps, StateFieldSchema } from './types';
|
|
2
2
|
export declare const STATE_FIELD: Array<keyof StateFieldSchema>;
|
|
3
|
-
export declare function StateField({ data, valid, errors, labels,
|
|
3
|
+
export declare function StateField({ data, valid, errors, labels, readonly, handleChangeFor, selectedCountry, handleBlur, }: StateFieldProps): import("preact/jsx-runtime").JSX.Element | null;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { TFunction } from '../../../../../types';
|
|
2
|
+
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
1
3
|
import type { FieldMetadata, PerCountryFieldConfig } from '../../../../utils/fieldConfigurations';
|
|
2
4
|
import type { StateFieldSchema } from './types';
|
|
3
5
|
interface FieldConfigParams {
|
|
@@ -5,4 +7,10 @@ interface FieldConfigParams {
|
|
|
5
7
|
}
|
|
6
8
|
export declare const defaultFieldMetadata: FieldMetadata<StateFieldSchema, 'stateOrProvince'>;
|
|
7
9
|
export declare const defaultFieldConfig: PerCountryFieldConfig<StateFieldSchema, 'stateOrProvince', FieldConfigParams>;
|
|
10
|
+
/**
|
|
11
|
+
* Returns the placeholder text for state field based on country.
|
|
12
|
+
*/
|
|
13
|
+
export declare const getStatePlaceholderText: (t: TFunction<"common">, { country }: {
|
|
14
|
+
country?: CountryCode;
|
|
15
|
+
}) => string;
|
|
8
16
|
export {};
|
|
@@ -5,6 +5,6 @@ import type { StateCode } from '../../../../types/datasets/state-code';
|
|
|
5
5
|
export interface StateFieldSchema {
|
|
6
6
|
stateOrProvince?: StateCode | ProvinceCode | undefined;
|
|
7
7
|
}
|
|
8
|
-
export interface StateFieldProps extends Pick<BaseFormFieldProps<StateFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | '
|
|
8
|
+
export interface StateFieldProps extends Pick<BaseFormFieldProps<StateFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'handleChangeFor' | 'handleBlur'> {
|
|
9
9
|
selectedCountry?: CountryCode;
|
|
10
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,
|
|
3
|
+
export declare function StockExchangeMICField({ data, valid, errors, labels, readonly, mask, guidanceText, 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' | '
|
|
5
|
+
export type StockExchangeMICFieldProps = Pick<BaseFormFieldProps<StockExchangeMICFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'mask' | 'guidanceText' | '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,
|
|
3
|
+
export declare function StockISINField({ data, valid, errors, labels, readonly, mask, guidanceText, 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' | '
|
|
5
|
+
export type StockISINFieldProps = Pick<BaseFormFieldProps<StockISINFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'mask' | 'guidanceText' | '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,
|
|
3
|
+
export declare function StockTickerSymbolField({ data, valid, errors, labels, readonly, mask, guidanceText, 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' | '
|
|
5
|
+
export type StockTickerSymbolFieldProps = Pick<BaseFormFieldProps<StockTickerSymbolFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'mask' | 'guidanceText' | 'shouldValidate' | 'handleChangeFor'>;
|
|
@@ -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, guidanceText,
|
|
9
|
+
export declare function TaxInformationField({ data, valid, errors, labels, mask, guidanceText, placeholder, readonly, optional, shouldValidate, handleChangeFor, country, canExempt, registrationNumber, entityType, defaultData, }: TaxInformationFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
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 { CountryCode } from '../../../../types/datasets/country-code';
|
|
3
4
|
import type { FieldMetadata, NoParams, PerCountryFieldConfig } from '../../../../utils/fieldConfigurations';
|
|
4
5
|
import type { TaxIdNumberType } from '../IdFieldTypeSelector/countryIdNumberTypes';
|
|
5
6
|
import type { TaxInformationFieldSchema } from './types';
|
|
@@ -11,3 +12,8 @@ export declare const taxInformationDefaultFieldMetadata: FieldMetadata<TaxInform
|
|
|
11
12
|
export declare const exemptedFromTaxDefaultFieldMetadata: FieldMetadata<TaxInformationFieldSchema, 'exemptedFromTax'>;
|
|
12
13
|
export declare const taxInformationDefaultFieldConfig: PerCountryFieldConfig<TaxInformationFieldSchema, 'taxInformation', FieldConfigParams>;
|
|
13
14
|
export declare const exemptedFromTaxDefaultFieldConfig: PerCountryFieldConfig<TaxInformationFieldSchema, 'exemptedFromTax', NoParams>;
|
|
15
|
+
export declare const getTaxInformationPlaceholderText: ({ country, companyType, taxIdNumberType, }: {
|
|
16
|
+
country: CountryCode;
|
|
17
|
+
companyType?: CompanyTypesValue | typeof LegalEntityTypes.TRUST | typeof LegalEntityTypes.INDIVIDUAL;
|
|
18
|
+
taxIdNumberType?: TaxIdNumberType;
|
|
19
|
+
}) => "94577403194" | "1234567890" | "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" | "99999999L" | "11-0000000" | undefined;
|
|
@@ -8,10 +8,11 @@ export interface TaxInformationFieldSchema {
|
|
|
8
8
|
exemptedFromTax?: boolean;
|
|
9
9
|
isUen?: boolean;
|
|
10
10
|
}
|
|
11
|
-
export interface TaxInformationFieldProps extends Pick<BaseFormFieldProps<TaxInformationFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'mask' | 'guidanceText' | '
|
|
11
|
+
export interface TaxInformationFieldProps extends Pick<BaseFormFieldProps<TaxInformationFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'mask' | 'guidanceText' | 'readonly' | 'optional' | 'shouldValidate' | 'handleChangeFor'> {
|
|
12
12
|
defaultData: TaxInformation[] | undefined;
|
|
13
13
|
country: CountryCode;
|
|
14
14
|
canExempt: boolean;
|
|
15
|
+
placeholder?: string;
|
|
15
16
|
entityType?: CompanyTypesValue | typeof LegalEntityTypes.TRUST | typeof LegalEntityTypes.INDIVIDUAL;
|
|
16
17
|
registrationNumber?: string;
|
|
17
18
|
}
|
|
@@ -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, guidanceText,
|
|
3
|
+
export declare function VatNumberField({ data, valid, errors, labels, mask, guidanceText, 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' | 'guidanceText' | '
|
|
11
|
+
export interface VatNumberFieldProps extends Pick<BaseFormFieldProps<VatNumberFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'mask' | 'guidanceText' | 'readonly' | 'optional' | 'shouldValidate' | 'handleChangeFor'> {
|
|
12
12
|
country: CountryCode;
|
|
13
13
|
canExempt: boolean;
|
|
14
14
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './Address.scss';
|
|
2
2
|
import type { AddressProps } from './types';
|
|
3
|
-
export declare function Address({ data: dataProp, labels,
|
|
3
|
+
export declare function Address({ data: dataProp, labels, readOnly, hideCountry, fieldValidationErrors: propFieldValidationErrors, allFields, requiredFields, optionalFields, readOnlyFields, obscuredFields, trustedFields, shouldValidate, onChange, verifiedAddress, condensed, handleFieldChange, errors: errorProp, valid: validProp, addressType, }: Readonly<AddressProps>): import("preact/jsx-runtime").JSX.Element;
|