@adyen/kyc-components 3.95.0-beta.1 → 3.95.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-BW0brynM.js → AcceptTermsOfServiceComponent-DV6EdE7i.js} +16 -16
- package/dist/{Accordion-BM8hZAXY.js → Accordion-Bp2c8ziY.js} +1 -1
- package/dist/{AccountSetupRejected-BodluXLt.js → AccountSetupRejected-CPRJ9SLK.js} +3 -3
- package/dist/{ActionBar-UJRkmh5s.js → ActionBar-CwLw2R-I.js} +1 -1
- package/dist/{Address-DI_WQl-j.js → Address-dgyR0ozS.js} +56 -18
- package/dist/{Alert-BZOtTqxJ.js → Alert-DRJwDwQ5.js} +3 -3
- package/dist/{Avatar-BkSExeAD.js → Avatar-BkoUccPV.js} +1 -1
- package/dist/{BusinessFinancingComponent-XUA40MWu.js → BusinessFinancingComponent-t3yAnq9x.js} +5 -5
- package/dist/{BusinessFinancingDropin-BmdwxjTl.js → BusinessFinancingDropin-DLeI19KH.js} +30 -30
- package/dist/{BusinessFinancingPage-4HciuNgT.js → BusinessFinancingPage-qfMLzTz-.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-D6N0Ru4g.js → BusinessTypeSelectionPage-CnwxkdO-.js} +9 -9
- package/dist/{Checkbox-HJ5QMOjP.js → Checkbox-Dh90_pNW.js} +1 -1
- package/dist/{Confirm-BtVNOsTV.js → Confirm-WxwOfpRL.js} +2 -2
- package/dist/{ConstitutionalDocument-Dhw6t4Ni.js → ConstitutionalDocument-KkWoBEBB.js} +19 -23
- package/dist/{ContactDetails-CbxMguHb.js → ContactDetails-B16tRrYb.js} +46 -36
- package/dist/{ContextGuidance-vOFdWDn9.js → ContextGuidance-GNUAzzPV.js} +2 -2
- package/dist/{CountryField-C7bj3yyn.js → CountryField-BxtVu_ic.js} +5 -5
- package/dist/{CreateIndividualComponent-D686ciaV.js → CreateIndividualComponent-BwN-TUHZ.js} +5 -5
- package/dist/{CreateTransferInstrumentComponent-C7B7UCpu.js → CreateTransferInstrumentComponent-CjJvVJWl.js} +4 -4
- package/dist/{Currency-hS0YWWxq.js → Currency-BLhheIgX.js} +7 -7
- package/dist/{CustomerSupport-8s-w8iKy.js → CustomerSupport-Dnk8_qi0.js} +11 -11
- package/dist/{DebugModal-BwrOlWvA.js → DebugModal-FBKHDefR.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-BKYVxewR.js → DecisionMakerDetailsPage-Di1Xm4M2.js} +6 -6
- package/dist/{DecisionMakers-Om-7b55R.js → DecisionMakers-Ba_XYtiG.js} +22 -21
- package/dist/{Dropzone-Dayv7PAA.js → Dropzone-Bh7kZjWx.js} +4 -4
- package/dist/{EmbeddedStatus-uhtoE0i5.js → EmbeddedStatus-DmP7aarF.js} +3 -3
- package/dist/{EndStateLayout-Bircmn4k.js → EndStateLayout-C9Umlfta.js} +1 -1
- package/dist/{EntityAssociation-CpwvMeU9.js → EntityAssociation-DcYE26tb.js} +6 -6
- package/dist/{EntityGuidanceStatus-BGP7anTO.js → EntityGuidanceStatus-BYiUYZ4w.js} +3 -3
- package/dist/{ErrorPanel-CTnweIrR.js → ErrorPanel-BDTdYjSM.js} +3 -3
- package/dist/{Field-B5icSx65.js → Field-8kK4fa6f.js} +1 -1
- package/dist/{FormNavigation-CwNfQJDE.js → FormNavigation-DKQwixoN.js} +3 -3
- package/dist/{FormWrapper-B1OeeS_n.js → FormWrapper-C8YbWM2i.js} +9 -9
- package/dist/{Header-Dsxscc11.js → Header-CEaIOrUV.js} +1 -1
- package/dist/Image-BxVEbcnr.js +27 -0
- package/dist/{Individual.rules-SVdbtMZX.js → Individual.rules-xyROEBJR.js} +9 -10
- package/dist/{IndividualDropin-Cc4CEZFn.js → IndividualDropin-Cc7O7Fn8.js} +67 -89
- package/dist/{InputDate-BbhqEb0A.js → InputDate-C6GiiZL3.js} +2 -2
- package/dist/{InputText-DsyMVWuS.js → InputText-B_3jQhh6.js} +2 -2
- package/dist/{Introduction-0o7soNWJ.js → Introduction-DmjPkUll.js} +4 -4
- package/dist/{JpAddress-DR9efscK.js → JpAddress-CpPI-KV6.js} +9 -9
- package/dist/{LandingLayout-BmfO073v.js → LandingLayout-_MKbMZ0O.js} +1 -1
- package/dist/{LegalCompanyNameField-DUA1xhu7.js → LegalCompanyNameField-C7HMYZ4g.js} +6 -6
- package/dist/{LegalRepresentativeDetailsPage-Dd7C7gUQ.js → LegalRepresentativeDetailsPage-D7F4Oz_x.js} +4 -4
- package/dist/{Link-5z1nhcfe.js → Link-wxZC_3RO.js} +1 -1
- package/dist/{ListItem-BFs1CkoM.js → ListItem-DqDyjbJT.js} +2 -2
- package/dist/{LoaderWrapper-D7zyni9T.js → LoaderWrapper-DbY-pibx.js} +1 -1
- package/dist/ManageIndividualComponent-wsputyKL.js +46 -0
- package/dist/{ManageTermsOfServiceComponent-DyyWEEWM.js → ManageTermsOfServiceComponent-CJE_bhts.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-DT93KOu6.js → ManageTransferInstrumentComponent-Ca7RnXLI.js} +13 -13
- package/dist/{MaskedInput-Ble-w1-c.js → MaskedInput-26xwmWrO.js} +5 -5
- package/dist/{MaybeModal-D7DmwNpk.js → MaybeModal-ENN4DSRO.js} +2 -2
- package/dist/{Modal-VzVyfuvm.js → Modal-CuB1d56n.js} +1 -1
- package/dist/{Name-D_X4kyiG.js → Name-DRBQNRAK.js} +5 -5
- package/dist/{OnboardingDropinComponent-DYT6l2t6.js → OnboardingDropinComponent-tW6hOehy.js} +55 -54
- package/dist/{PayoutDetailsDropin-De5xS7km.js → PayoutDetailsDropin-C-i2oRMc.js} +45 -44
- package/dist/{RadioGroup-CpnraQPG.js → RadioGroup-ChJ1GffP.js} +2 -2
- package/dist/{RadioGroupCard-BDvxdl0T.js → RadioGroupCard-CS8qA5_Y.js} +2 -2
- package/dist/{Review-BrP7xRy2.js → Review-CTRqAxRH.js} +7 -7
- package/dist/{RootBusinessDetailsPage-C4io3SHK.js → RootBusinessDetailsPage-B4zIYra7.js} +4 -4
- package/dist/{RootBusinessLinesPage-CknZuu0f.js → RootBusinessLinesPage-B3dmNDtH.js} +27 -27
- package/dist/{RootIndividualDetailsPage-D2InAZ2K.js → RootIndividualDetailsPage-BuoCpxDd.js} +4 -4
- package/dist/{Select-B3w5VkGQ.js → Select-DgTInscc.js} +4 -4
- package/dist/{SignPCIComponent-B8U7Hilk.js → SignPCIComponent-BOINadxd.js} +11 -11
- package/dist/{SingpassSelection-BdRZAxtT.js → SingpassSelection-DBqCZxqC.js} +6 -6
- package/dist/{SoleProprietorshipPage-C64fSOwN.js → SoleProprietorshipPage-Nhj9IxKW.js} +4 -4
- package/dist/{SourceOfFundsPage-C855dB1F.js → SourceOfFundsPage-CWDObWsV.js} +33 -32
- package/dist/{StepProgressIndicator-B06vG0EZ.js → StepProgressIndicator-CgEx28-_.js} +1 -1
- package/dist/{StoreProvider-C-jMv9L5.js → StoreProvider-DRrcEPVg.js} +99 -99
- package/dist/{Summary-HNxR09dk.js → Summary-CeduSNAU.js} +6 -6
- package/dist/{TaskVerificationStatus-BvU5X9F0.js → TaskVerificationStatus-C9VWzt6E.js} +1 -1
- package/dist/{TaxInformationField-ghLphbCF.js → TaxInformationField-C-I75MQG.js} +398 -147
- package/dist/{TaxReportingDropin-8PKUrVeE.js → TaxReportingDropin-DoNyT6f8.js} +17 -17
- package/dist/{TextArea-XzZ59IRn.js → TextArea-BpRhTTjh.js} +2 -2
- package/dist/{TileGroup-BsvBLQp4.js → TileGroup-c8Gwaz7-.js} +2 -2
- package/dist/{TrustDetailsPage-BZamlxY7.js → TrustDetailsPage-B5fqwsLi.js} +35 -39
- package/dist/{TrustMemberCompanyPage-DHdEuAQJ.js → TrustMemberCompanyPage-BAeeCXia.js} +5 -5
- package/dist/{TrustMemberIndividualPage-BLjorgiQ.js → TrustMemberIndividualPage-L60Vz3uU.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-O-JmFZ6x.js → TrustMemberRoleAndTypePage-C9MUq8we.js} +23 -23
- package/dist/{TrustMembersOverview-CJEjx7vn.js → TrustMembersOverview-BeQMCTVD.js} +12 -12
- package/dist/{UnincorporatedPartnershipIndividualPage-CLm7rltZ.js → UnincorporatedPartnershipIndividualPage-DEm4Gjl_.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DstG5mil.js → UnincorporatedPartnershipMemberCompanyPage-DFUBqbOw.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CcboW2-W.js → UnincorporatedPartnershipMemberRoleAndTypePage-Xjc94FJK.js} +11 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-C8d8pfxJ.js → UnincorporatedPartnershipMembersOverview-BRJ3SHTp.js} +9 -9
- package/dist/{VerificationErrorAlert-CAncqFAs.js → VerificationErrorAlert-Bk3VQhKJ.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-BwndGcdj.js → ViewVerificationStatusComponent-dZgwjplf.js} +4 -4
- package/dist/{accountHolderUtils-B437qMYm.js → accountHolderUtils-CVDUKBhb.js} +2 -2
- package/dist/adyen-business-financing.js +5 -4
- package/dist/adyen-individual-configuration.js +5 -4
- package/dist/adyen-individual-status.js +5 -4
- package/dist/adyen-invited-decision-maker.js +87 -0
- package/dist/adyen-kyc-components.js +20 -20
- package/dist/adyen-onboarding.js +5 -4
- package/dist/adyen-terms-of-service-management.js +5 -4
- package/dist/adyen-terms-of-service-status.js +5 -4
- package/dist/adyen-transfer-instrument-configuration.js +5 -4
- package/dist/adyen-transfer-instrument-management.js +5 -4
- package/dist/adyen-verification-status.js +5 -4
- package/dist/{bafinUtils-DFWYU0eC.js → bafinUtils-2wYhRKNS.js} +1 -1
- package/dist/{bg-BG-Dp1J1L2X.js → bg-BG-6XzbmxcW.js} +2 -2
- package/dist/{commonValidators-DnSqf1bK.js → commonValidators-BYfFKx90.js} +1 -1
- package/dist/{cs-CZ-Bd9Zz7z4.js → cs-CZ-C6vEQ8P9.js} +2 -2
- package/dist/{da-DK-DmFDgnbC.js → da-DK-DzcTI92X.js} +2 -2
- package/dist/{de-DE-DRuKxSOy.js → de-DE-dPfrbCii.js} +2 -2
- package/dist/{dropinUtils-CVk-9IZr.js → dropinUtils-CxFSF5tV.js} +4 -4
- 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-KRYFb23Q.js → formUtils-D7TgYW1c.js} +3 -14
- package/dist/{fr-FR-DsEmssxk.js → fr-FR-BM-qNLci.js} +2 -2
- package/dist/{getName-c86ZSHdY.js → getName-Cbm23Oyp.js} +2 -2
- package/dist/{Image-DSSLH2Gg.js → getProblemsForEntity-CqijfA4O.js} +2 -17
- 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-COB6S0Zd.js → iframeWidget-6A4IaN9i.js} +4 -4
- package/dist/{isEmpty-DG6Y1P62.js → isEmpty-DUAKHNk5.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-D0xBpufN.js +16 -0
- package/dist/{localizeDateString-CW0xkVFv.js → localizeDateString-BT2DOIJl.js} +1 -1
- package/dist/{lt-LT-CE-GdWrg.js → lt-LT-BX8dOAzK.js} +2 -2
- package/dist/{lv-LV-dv7fqeBS.js → lv-LV-dA8yYdKe.js} +2 -2
- package/dist/{mapExistingFile-BRTT2WyL.js → mapExistingFile-UFU_PkQB.js} +4 -4
- package/dist/{mapJpAddressSchemaToAddressLocalizations-CwG96wSK.js → mapJpAddressSchemaToAddressLocalizations-JsuEzFlI.js} +24 -9
- package/dist/{mapLegalEntityToIndividualSchema-Cu08lm2S.js → mapLegalEntityToIndividualSchema-LtSirNsR.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-BVOwByXx.js → mapTransferInstrumentToPayoutAccount-1lCm_rtD.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-DAtPy1-5.js → patternValidators-ZFTAPK3_.js} +2 -2
- package/dist/{pl-PL-zqT41Yjw.js → pl-PL-BgbxWHGE.js} +2 -2
- package/dist/{process-field-configurations-2ry-JbdI.js → process-field-configurations-Qe5Tnxn-.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-DRcOOiiQ.js +84 -0
- package/dist/{ro-RO-B5BQrf6C.js → ro-RO-C00Ig8CL.js} +2 -2
- package/dist/{roleMetadata-D9T__4VE.js → roleMetadata-cFpSupDt.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/forms/rules.d.ts +1 -1
- 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/EmbeddedDropins/InvitedDecisionMakerComponent/InvitedDecisionMakerComponent.d.ts +4 -0
- package/dist/types/components/Individual/forms/BasicDetails/validate.d.ts +1 -2
- package/dist/types/components/Individual/forms/Individual.rules.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/LocalizedNameFields/validate.d.ts +2 -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/context/ExperimentContext/types.d.ts +2 -2
- package/dist/types/core/process-field-configurations.d.ts +0 -5
- package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.d.ts +5 -0
- package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.types.d.ts +34 -0
- package/dist/types/hooks/useForm/types.d.ts +0 -4
- package/dist/types/types/form-rules.d.ts +0 -1
- 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/utils/japanSupportUtils.d.ts +2 -1
- package/dist/{types-C8yt1YG2.js → types-B7GElie6.js} +3 -3
- package/dist/{types-BstoJPXR.js → types-C6TrEBm9.js} +2 -2
- package/dist/{types-DHdmZe3R.js → types-DQzeXM0p.js} +1 -1
- package/dist/{types-FtiqI-S9.js → types-q3_hEDuS.js} +1 -1
- package/dist/{useAssociatedLegalEntity-BVu7zj1c.js → useAssociatedLegalEntity-wPv_8yic.js} +1 -1
- package/dist/{useBusinessDetailsData-B9I865mu.js → useBusinessDetailsData-CWC-XWwg.js} +122 -134
- package/dist/{useBusinessLines-Coc7iGhS.js → useBusinessLines-CtLf1X9x.js} +1 -1
- package/dist/{useCanSeeIntroduction-DG9Yn42f.js → useCanSeeIntroduction-CRYiCoWi.js} +2 -2
- package/dist/{useCreateLegalEntity-D1LQY6P5.js → useCreateLegalEntity-Cbs-kP2l.js} +1 -1
- package/dist/{useDataMissingRemediations-CDMb2Iu7.js → useDataMissingRemediations-DexiTEKJ.js} +2 -2
- package/dist/{useDataset-BiERW7fi.js → useDataset-ByGjwnhQ.js} +2 -2
- package/dist/{useDeleteTransferInstrument-YSr-Fo6s.js → useDeleteTransferInstrument-Dixjg3vo.js} +3 -3
- package/dist/{useForm-ZeyqDFOi.js → useForm-DXzSYLF0.js} +3 -3
- package/dist/{useFormContext-CcAa10tn.js → useFormContext-r2Hcz-V_.js} +7 -7
- package/dist/{useGlobalData-MctSxOcn.js → useGlobalData-ma162Pcb.js} +2 -2
- package/dist/{useMultiForm-BhV8RCm4.js → useMultiForm-DxPk0er7.js} +4 -4
- package/dist/{useNavigate-CyixZ7Bd.js → useNavigate-BGTNlUiJ.js} +29 -29
- package/dist/{useOnboardingStatus-YzbGKkC5.js → useOnboardingStatus-BIWXdyF1.js} +1 -1
- package/dist/{usePciQuestionnaireList-CLwiJDxW.js → usePciQuestionnaireList-D6Ka7IcW.js} +1 -1
- package/dist/{useSalesChannels-C3oiiB07.js → useSalesChannels-BD5kmxfT.js} +3 -3
- package/dist/{useScenarios-CGNlbMLu.js → useScenarios-RZK9CCvf.js} +2 -2
- package/dist/{useSetting-BF2CM06n.js → useSetting-BxWGY1tU.js} +2 -2
- package/dist/{useTaskStatus-DgRzelGp.js → useTaskStatus-D52P9rax.js} +1 -1
- package/dist/{useTermsOfServiceStatus-IjRaxZu3.js → useTermsOfServiceStatus-SlHd3IC8.js} +1 -1
- package/dist/{useToastContext-C0ytklOM.js → useToastContext-BTDQp75c.js} +1 -1
- package/dist/{useTrustMembers-MZLGyg68.js → useTrustMembers-cSWtT-IQ.js} +4 -4
- package/dist/{useUnincorporatedPartnershipMembers-CtzCBX3o.js → useUnincorporatedPartnershipMembers-DAN9oaWn.js} +4 -4
- package/dist/{useUpdateBusinessLines-Do9Ap-zs.js → useUpdateBusinessLines-DwtIXywC.js} +5 -6
- package/dist/{useUpdateLegalEntity-CrL2KyrF.js → useUpdateLegalEntity-BicH84SO.js} +2 -2
- package/dist/{utils-D6lKjllx.js → utils-BLvqOk8e.js} +2 -2
- package/dist/{utils-BtRcjM8l.js → utils-B_ARUoMi.js} +1 -1
- package/dist/{utils-C8SToqFp.js → utils-Bd9jtWVp.js} +3 -3
- package/dist/{utils-Bbxtjil1.js → utils-C3EnYDJ5.js} +5 -5
- package/dist/{utils-DDh9Wc69.js → utils-DrZRh_0g.js} +2 -9
- package/dist/{validate-CXFzJNVc.js → validate-Cha4LHn6.js} +1 -1
- package/dist/{validate-B7VfZzB0.js → validate-D7YCG5AN.js} +3 -3
- package/dist/{validationError-Bhb_p0Dm.js → validationError-CSgcSs-E.js} +2 -2
- package/package.json +6 -2
- package/dist/ManageIndividualComponent-DwWloLdY.js +0 -46
- package/dist/japanSupportUtils-Dl5g_UWE.js +0 -17
- package/dist/resolveEnvironment-CWyr9MeQ.js +0 -164
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "cad1e86d-82a7-4a1f-8cd9-12b86e839b73", e._sentryDebugIdIdentifier = "sentry-dbid-cad1e86d-82a7-4a1f-8cd9-12b86e839b73");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,66 +10,67 @@
|
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMutation, useQuery, skipToken, useQueryClient } from "@tanstack/preact-query";
|
|
12
12
|
import { useState, useMemo, useEffect, useCallback } from "preact/hooks";
|
|
13
|
-
import { D as Divider, I as INDUSTRY_CODE_FIELD, i as industryCodeFieldMetadata, u as useIndustryCodes, a as IndustryCodeField, b as useCreateBusinessLine, c as useUpdateBusinessLine } from "./useUpdateBusinessLines-
|
|
14
|
-
import { u as
|
|
15
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
16
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
17
|
-
import { u as
|
|
18
|
-
import { u as
|
|
13
|
+
import { D as Divider, I as INDUSTRY_CODE_FIELD, i as industryCodeFieldMetadata, u as useIndustryCodes, a as IndustryCodeField, b as useCreateBusinessLine, c as useUpdateBusinessLine } from "./useUpdateBusinessLines-DwtIXywC.js";
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-RZK9CCvf.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-Cbs-kP2l.js";
|
|
16
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-BicH84SO.js";
|
|
17
|
+
import { u as useTranslation, bt as isISIN, V as Button, v as useExperimentsContext, c as useLegalEntity, R as ROOT_LE, z as Typography, L as Loader, a0 as CountryCodes, B as useSettingsContext, b as useApiContext, $ as httpPost, ac as entriesOf, p as useAnalyticsContext, a3 as createLogger, m as useAccountHolder, aa as useI18nContext, ai as isEmpty, i as isUndefinedOrNull, j as TaskTypes, o as LegalEntityTypes, bu as businessDetailsComponentsKeyMapping, bv as solePropBusinessDetailsKeyMapping, a6 as objectsDeepEqual, aC as keysOf, bw as solePropBusinessDetailsApiKeyMapping, b3 as businessDetailsApiKeyMapping, ay as Scenarios, aI as filterOutUnwantedAssociationsIfRootLE, aG as drop, ae as getOwnEntityAssociations, aN as doArraysMatch, bx as solePropBusinessDetailsDocumentMapping, by as businessDetailsDocumentMapping } from "./StoreProvider-DRrcEPVg.js";
|
|
18
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-r2Hcz-V_.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-BTDQp75c.js";
|
|
19
20
|
import { C as CompanyTypesValues } from "./company-types-value-D_mKv5PT.js";
|
|
20
|
-
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
23
|
-
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
24
|
-
import { C as Confirm } from "./Confirm-
|
|
25
|
-
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-
|
|
26
|
-
import { d as TAX_INFORMATION_FIELD, r as requestingBanking, e as requestingIssuing, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, S as StateCodesUS,
|
|
27
|
-
import { u as usePageLandedEvent, s as summaryStep } from "./Summary-
|
|
28
|
-
import { D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, r as registrationAddressFields, o as operationalAddressIsSameIds, v as vatAbsenceReasonMetadata, d as defaultFieldMetadata
|
|
29
|
-
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-
|
|
30
|
-
import { S as SettingNames } from "./TaskVerificationStatus-
|
|
31
|
-
import { t as toFullWidth, u as useAllowedCountries, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
32
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-
|
|
33
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
34
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
21
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-Qe5Tnxn-.js";
|
|
22
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-CxFSF5tV.js";
|
|
23
|
+
import { u as useMultiForm } from "./useMultiForm-DxPk0er7.js";
|
|
24
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-UFU_PkQB.js";
|
|
25
|
+
import { C as Confirm } from "./Confirm-WxwOfpRL.js";
|
|
26
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-D7YCG5AN.js";
|
|
27
|
+
import { d as TAX_INFORMATION_FIELD, r as requestingBanking, e as requestingIssuing, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, f as getTaxInformationPlaceholderText, S as StateCodesUS, h as isUsingCompanySearch, M as MemoizedDocumentUpload, j as isRegistrationNumberAbsentStateV4Scenario, k as getTaxIdNumberOptions, l as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, m as getCompanyRegistrationNumberOptions, n as countryToTaxInfoTypeMap, o as rules, g as getFieldsWithExistingData } from "./TaxInformationField-C-I75MQG.js";
|
|
28
|
+
import { u as usePageLandedEvent, s as summaryStep } from "./Summary-CeduSNAU.js";
|
|
29
|
+
import { D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, r as registrationAddressFields, o as operationalAddressIsSameIds, v as vatAbsenceReasonMetadata, d as defaultFieldMetadata, a as defaultFieldConfig, b as registrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldConfig, e as doingBusinessAsFieldMetadata, f as doingBusinessAsAbsentFieldMetadata, g as DBANameField, h as BusinessRegistrationNumberField, i as getRegistrationNumberHelperText, j as VatNumberField, M as MemoizedConstitutionalDocument, k as getDefaultRegistrationNumberType, l as getDefaultVatNumberType, m as inferCompanyRegistrationNumberType, n as exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-KkWoBEBB.js";
|
|
30
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-CuB1d56n.js";
|
|
31
|
+
import { S as SettingNames } from "./TaskVerificationStatus-C9VWzt6E.js";
|
|
32
|
+
import { t as toFullWidth, u as useAllowedCountries, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-JsuEzFlI.js";
|
|
33
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-DrZRh_0g.js";
|
|
34
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-C3EnYDJ5.js";
|
|
35
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-CSgcSs-E.js";
|
|
35
36
|
import { a as datasetUtilities } from "./datasetUtil-BHQp0-xL.js";
|
|
36
37
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
37
38
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
38
|
-
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
39
|
-
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, c as StateField, i as isDateOlderThanAYear } from "./Address-
|
|
40
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
39
|
+
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-Bd9jtWVp.js";
|
|
40
|
+
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, d as defaultFieldMetadata$1, c as defaultFieldConfig$1, e as StateField, i as isDateOlderThanAYear } from "./Address-dgyR0ozS.js";
|
|
41
|
+
import { i as isEmpty$1 } from "./isEmpty-DUAKHNk5.js";
|
|
41
42
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
42
43
|
import { b as mapAddressLocalizationToJpAddressSchema, a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
43
|
-
import { L as LegalFormField, I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-
|
|
44
|
-
import { g as getLegalCompanyNameHelperText, L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./LegalCompanyNameField-
|
|
45
|
-
import { u as useBusinessLines } from "./useBusinessLines-
|
|
44
|
+
import { L as LegalFormField, I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-BLhheIgX.js";
|
|
45
|
+
import { g as getLegalCompanyNameHelperText, L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./LegalCompanyNameField-C7HMYZ4g.js";
|
|
46
|
+
import { u as useBusinessLines } from "./useBusinessLines-CtLf1X9x.js";
|
|
46
47
|
import { Suspense, lazy } from "preact/compat";
|
|
47
|
-
import { C as Checkbox } from "./Checkbox-
|
|
48
|
-
import { F as Field } from "./Field-
|
|
49
|
-
import { H as Header } from "./Header-
|
|
50
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
51
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
52
|
-
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-
|
|
53
|
-
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-
|
|
54
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
55
|
-
import { i as
|
|
48
|
+
import { C as Checkbox } from "./Checkbox-Dh90_pNW.js";
|
|
49
|
+
import { F as Field } from "./Field-8kK4fa6f.js";
|
|
50
|
+
import { H as Header } from "./Header-CEaIOrUV.js";
|
|
51
|
+
import { E as ErrorPanel } from "./ErrorPanel-BDTdYjSM.js";
|
|
52
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-C6GiiZL3.js";
|
|
53
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-ZFTAPK3_.js";
|
|
54
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-26xwmWrO.js";
|
|
55
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-D7TgYW1c.js";
|
|
56
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-D0xBpufN.js";
|
|
56
57
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
57
58
|
import { signal } from "@preact/signals";
|
|
58
59
|
import cx from "classnames";
|
|
59
|
-
import { L as Link } from "./Link-
|
|
60
|
+
import { L as Link } from "./Link-wxZC_3RO.js";
|
|
60
61
|
import { S as StructuredList } from "./StructuredList-BNLhk_zV.js";
|
|
61
|
-
import { I as InputText } from "./InputText-
|
|
62
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
63
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
62
|
+
import { I as InputText } from "./InputText-B_3jQhh6.js";
|
|
63
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-BxtVu_ic.js";
|
|
64
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DbY-pibx.js";
|
|
64
65
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
65
66
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
66
|
-
import { L as ListItem } from "./ListItem-
|
|
67
|
-
import { a as Alert } from "./Alert-
|
|
68
|
-
import { T as TileGroup } from "./TileGroup-
|
|
69
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
70
|
-
import { u as useGlobalDataSlice } from "./useGlobalData-
|
|
71
|
-
import { u as useForm } from "./useForm-
|
|
72
|
-
import { c as currencyByCountry } from "./types-
|
|
67
|
+
import { L as ListItem } from "./ListItem-DqDyjbJT.js";
|
|
68
|
+
import { a as Alert } from "./Alert-DRJwDwQ5.js";
|
|
69
|
+
import { T as TileGroup } from "./TileGroup-c8Gwaz7-.js";
|
|
70
|
+
import { R as RadioGroup } from "./RadioGroup-ChJ1GffP.js";
|
|
71
|
+
import { u as useGlobalDataSlice } from "./useGlobalData-ma162Pcb.js";
|
|
72
|
+
import { u as useForm } from "./useForm-DXzSYLF0.js";
|
|
73
|
+
import { c as currencyByCountry } from "./types-C6TrEBm9.js";
|
|
73
74
|
const DATE_OF_INCORPORATION_FIELD = [
|
|
74
75
|
"dateOfIncorporation"
|
|
75
76
|
];
|
|
@@ -78,7 +79,7 @@ function DateOfIncorporationField({
|
|
|
78
79
|
valid,
|
|
79
80
|
errors,
|
|
80
81
|
labels,
|
|
81
|
-
|
|
82
|
+
placeholder,
|
|
82
83
|
readonly,
|
|
83
84
|
handleChangeFor
|
|
84
85
|
}) {
|
|
@@ -97,7 +98,7 @@ function DateOfIncorporationField({
|
|
|
97
98
|
"aria-invalid": !valid.dateOfIncorporation,
|
|
98
99
|
name: "dateOfIncorporation",
|
|
99
100
|
value: data.dateOfIncorporation,
|
|
100
|
-
placeholder
|
|
101
|
+
placeholder,
|
|
101
102
|
readonly,
|
|
102
103
|
onInput: handleChangeFor("dateOfIncorporation", "input"),
|
|
103
104
|
onBlur: handleChangeFor("dateOfIncorporation", "blur"),
|
|
@@ -132,7 +133,6 @@ function EInvoicingCodeField({
|
|
|
132
133
|
valid,
|
|
133
134
|
errors,
|
|
134
135
|
labels,
|
|
135
|
-
placeholders,
|
|
136
136
|
readonly,
|
|
137
137
|
mask,
|
|
138
138
|
guidanceText,
|
|
@@ -153,7 +153,6 @@ function EInvoicingCodeField({
|
|
|
153
153
|
type: "text",
|
|
154
154
|
label: labels.eInvoicingCode ?? "",
|
|
155
155
|
formatGuidance: guidanceText?.eInvoicingCode,
|
|
156
|
-
placeholder: placeholders?.eInvoicingCode,
|
|
157
156
|
errorMessage: errors.eInvoicingCode,
|
|
158
157
|
isValid: valid.eInvoicingCode ?? false,
|
|
159
158
|
value: data.eInvoicingCode ?? "",
|
|
@@ -217,7 +216,6 @@ function StockExchangeMICField({
|
|
|
217
216
|
valid,
|
|
218
217
|
errors,
|
|
219
218
|
labels,
|
|
220
|
-
placeholders,
|
|
221
219
|
readonly,
|
|
222
220
|
mask,
|
|
223
221
|
guidanceText,
|
|
@@ -231,7 +229,6 @@ function StockExchangeMICField({
|
|
|
231
229
|
type: "text",
|
|
232
230
|
label: labels.stockExchangeMIC ?? "",
|
|
233
231
|
formatGuidance: guidanceText?.stockExchangeMIC,
|
|
234
|
-
placeholder: placeholders?.stockExchangeMIC,
|
|
235
232
|
...mask,
|
|
236
233
|
errorMessage: errors.stockExchangeMIC,
|
|
237
234
|
isValid: valid.stockExchangeMIC ?? false,
|
|
@@ -271,7 +268,6 @@ function StockISINField({
|
|
|
271
268
|
valid,
|
|
272
269
|
errors,
|
|
273
270
|
labels,
|
|
274
|
-
placeholders,
|
|
275
271
|
readonly,
|
|
276
272
|
mask,
|
|
277
273
|
guidanceText,
|
|
@@ -285,7 +281,6 @@ function StockISINField({
|
|
|
285
281
|
type: "text",
|
|
286
282
|
label: labels.stockISIN ?? "",
|
|
287
283
|
formatGuidance: guidanceText?.stockISIN,
|
|
288
|
-
placeholder: placeholders?.stockISIN,
|
|
289
284
|
...mask,
|
|
290
285
|
errorMessage: errors.stockISIN,
|
|
291
286
|
isValid: valid.stockISIN ?? false,
|
|
@@ -322,7 +317,6 @@ function StockTickerSymbolField({
|
|
|
322
317
|
valid,
|
|
323
318
|
errors,
|
|
324
319
|
labels,
|
|
325
|
-
placeholders,
|
|
326
320
|
readonly,
|
|
327
321
|
mask,
|
|
328
322
|
guidanceText,
|
|
@@ -336,7 +330,6 @@ function StockTickerSymbolField({
|
|
|
336
330
|
type: "text",
|
|
337
331
|
label: labels.stockTickerSymbol ?? "",
|
|
338
332
|
formatGuidance: guidanceText?.stockTickerSymbol,
|
|
339
|
-
placeholder: placeholders?.stockTickerSymbol,
|
|
340
333
|
...mask,
|
|
341
334
|
errorMessage: errors.stockTickerSymbol,
|
|
342
335
|
isValid: valid.stockTickerSymbol ?? false,
|
|
@@ -438,7 +431,7 @@ function VerifiedBusinessCard({
|
|
|
438
431
|
] });
|
|
439
432
|
}
|
|
440
433
|
const LazyJpAddress = lazy(
|
|
441
|
-
async () => (await import("./JpAddress-
|
|
434
|
+
async () => (await import("./JpAddress-CpPI-KV6.js")).JpAddress
|
|
442
435
|
);
|
|
443
436
|
const ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
444
437
|
const ADDITIONAL_INFORMATION_FIELDS = [
|
|
@@ -469,7 +462,6 @@ function AdditionalInformation({
|
|
|
469
462
|
const { form } = useFormContext();
|
|
470
463
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
471
464
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
472
|
-
const { data: versionData } = useVersionConfiguration();
|
|
473
465
|
const verifiedBusiness$1 = verifiedBusiness.value;
|
|
474
466
|
const showVerified = !!verifiedBusiness$1;
|
|
475
467
|
const showStockData = companyType === CompanyTypesValues.PUBLIC_COMPANY;
|
|
@@ -616,9 +608,9 @@ function AdditionalInformation({
|
|
|
616
608
|
return mergeFieldMetadataIntoProps(
|
|
617
609
|
field,
|
|
618
610
|
resolveFieldMetadata(
|
|
619
|
-
defaultFieldConfig
|
|
611
|
+
defaultFieldConfig[country],
|
|
620
612
|
{ vatNumberType: form.data.additionalInformation?.vatNumberType },
|
|
621
|
-
defaultFieldMetadata
|
|
613
|
+
defaultFieldMetadata
|
|
622
614
|
),
|
|
623
615
|
acc
|
|
624
616
|
);
|
|
@@ -687,6 +679,7 @@ function AdditionalInformation({
|
|
|
687
679
|
country: datasetUtils.getCountryName(country)
|
|
688
680
|
});
|
|
689
681
|
}, [country, datasetUtils, t]);
|
|
682
|
+
const showJapanLocalization = isJapanLocalizationEnabled(isExperimentEnabled, country);
|
|
690
683
|
return /* @__PURE__ */ jsxs("form", { id, children: [
|
|
691
684
|
/* @__PURE__ */ jsx(Header, { title: t(($) => $["additionalInformationFormHeading"], { ns: "business" }) }),
|
|
692
685
|
/* @__PURE__ */ jsx(
|
|
@@ -774,7 +767,6 @@ function AdditionalInformation({
|
|
|
774
767
|
}),
|
|
775
768
|
mask: formUtils.getMask("registrationNumber"),
|
|
776
769
|
guidanceText: formUtils.getFieldGuidanceText(BUSINESS_REGISTRATION_NUMBER_FIELD),
|
|
777
|
-
placeholders: formUtils.getFieldPlaceholders(BUSINESS_REGISTRATION_NUMBER_FIELD),
|
|
778
770
|
helperText: getRegistrationNumberHelperText(businessT, { country, companyType }),
|
|
779
771
|
readonly: formUtils.isReadOnly("registrationNumber"),
|
|
780
772
|
optional: formUtils.isOptionalField("registrationNumber"),
|
|
@@ -837,7 +829,6 @@ function AdditionalInformation({
|
|
|
837
829
|
}),
|
|
838
830
|
mask: formUtils.getMask("vatNumber"),
|
|
839
831
|
guidanceText: formUtils.getFieldGuidanceText(VAT_NUMBER_FIELD),
|
|
840
|
-
placeholders: formUtils.getFieldPlaceholders(VAT_NUMBER_FIELD),
|
|
841
832
|
readonly: formUtils.isReadOnly("vatNumber"),
|
|
842
833
|
handleChangeFor,
|
|
843
834
|
country,
|
|
@@ -862,7 +853,6 @@ function AdditionalInformation({
|
|
|
862
853
|
EINVOICING_CODE_FIELD
|
|
863
854
|
),
|
|
864
855
|
labels: formUtils.getFieldLabels(EINVOICING_CODE_FIELD),
|
|
865
|
-
placeholders: formUtils.getFieldPlaceholders(EINVOICING_CODE_FIELD),
|
|
866
856
|
mask: formUtils.getMask("eInvoicingCode"),
|
|
867
857
|
guidanceText: formUtils.getFieldGuidanceText(EINVOICING_CODE_FIELD),
|
|
868
858
|
readonly: formUtils.isReadOnly("eInvoicingCode"),
|
|
@@ -919,9 +909,7 @@ function AdditionalInformation({
|
|
|
919
909
|
DATE_OF_INCORPORATION_FIELD
|
|
920
910
|
),
|
|
921
911
|
labels: formUtils.getFieldLabels(DATE_OF_INCORPORATION_FIELD),
|
|
922
|
-
|
|
923
|
-
dateOfIncorporation: "datePlaceholder"
|
|
924
|
-
}),
|
|
912
|
+
placeholder: t(($) => $["datePlaceholder"]),
|
|
925
913
|
readonly: formUtils.isReadOnly("dateOfIncorporation"),
|
|
926
914
|
handleChangeFor
|
|
927
915
|
}
|
|
@@ -948,7 +936,6 @@ function AdditionalInformation({
|
|
|
948
936
|
STOCK_EXCHANGE_MIC_FIELD
|
|
949
937
|
),
|
|
950
938
|
labels: formUtils.getFieldLabels(STOCK_EXCHANGE_MIC_FIELD),
|
|
951
|
-
placeholders: formUtils.getFieldPlaceholders(STOCK_EXCHANGE_MIC_FIELD),
|
|
952
939
|
mask: formUtils.getMask("stockExchangeMIC"),
|
|
953
940
|
guidanceText: formUtils.getFieldGuidanceText(STOCK_EXCHANGE_MIC_FIELD),
|
|
954
941
|
readonly: formUtils.isReadOnly("stockExchangeMIC"),
|
|
@@ -973,7 +960,6 @@ function AdditionalInformation({
|
|
|
973
960
|
STOCK_ISIN_FIELD
|
|
974
961
|
),
|
|
975
962
|
labels: formUtils.getFieldLabels(STOCK_ISIN_FIELD),
|
|
976
|
-
placeholders: formUtils.getFieldPlaceholders(STOCK_ISIN_FIELD),
|
|
977
963
|
mask: formUtils.getMask("stockISIN"),
|
|
978
964
|
guidanceText: formUtils.getFieldGuidanceText(STOCK_ISIN_FIELD),
|
|
979
965
|
readonly: formUtils.isReadOnly("stockISIN"),
|
|
@@ -998,7 +984,6 @@ function AdditionalInformation({
|
|
|
998
984
|
STOCK_TICKER_SYMBOL_FIELD
|
|
999
985
|
),
|
|
1000
986
|
labels: formUtils.getFieldLabels(STOCK_TICKER_SYMBOL_FIELD),
|
|
1001
|
-
placeholders: formUtils.getFieldPlaceholders(STOCK_TICKER_SYMBOL_FIELD),
|
|
1002
987
|
mask: formUtils.getMask("stockTickerSymbol"),
|
|
1003
988
|
guidanceText: formUtils.getFieldGuidanceText(STOCK_TICKER_SYMBOL_FIELD),
|
|
1004
989
|
readonly: formUtils.isReadOnly("stockTickerSymbol"),
|
|
@@ -1013,7 +998,7 @@ function AdditionalInformation({
|
|
|
1013
998
|
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", children: t(($) => $["registeredBusinessAddress"], { ns: "business" }) }),
|
|
1014
999
|
/* @__PURE__ */ jsx(Typography, { el: "p", variant: "body", children: registrationAddressDescription })
|
|
1015
1000
|
] }),
|
|
1016
|
-
|
|
1001
|
+
showJapanLocalization ? /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(
|
|
1017
1002
|
LazyJpAddress,
|
|
1018
1003
|
{
|
|
1019
1004
|
id: ADDITIONAL_INFORMATION_FORM_ID,
|
|
@@ -1075,7 +1060,7 @@ function AdditionalInformation({
|
|
|
1075
1060
|
)
|
|
1076
1061
|
}
|
|
1077
1062
|
),
|
|
1078
|
-
form.data.additionalInformation?.operationalAddressIsSame === operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_NOT_SAME && (
|
|
1063
|
+
form.data.additionalInformation?.operationalAddressIsSame === operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_NOT_SAME && (showJapanLocalization ? /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(
|
|
1079
1064
|
LazyJpAddress,
|
|
1080
1065
|
{
|
|
1081
1066
|
id: ADDITIONAL_INFORMATION_FORM_ID,
|
|
@@ -1124,8 +1109,8 @@ function useLegalCompanyNameField({
|
|
|
1124
1109
|
handleChange,
|
|
1125
1110
|
t
|
|
1126
1111
|
}) {
|
|
1127
|
-
const {
|
|
1128
|
-
const fieldKeys = getFieldKeys(
|
|
1112
|
+
const { isExperimentEnabled } = useExperimentsContext();
|
|
1113
|
+
const fieldKeys = getFieldKeys(isExperimentEnabled, country);
|
|
1129
1114
|
const labels = formUtils.getFieldLabels(fieldKeys);
|
|
1130
1115
|
const fieldErrors = formUtils.getFieldErrors(errors, fieldProblems, fieldKeys);
|
|
1131
1116
|
const fieldsTransformInput = {
|
|
@@ -1157,16 +1142,11 @@ function useLegalCompanyNameField({
|
|
|
1157
1142
|
}
|
|
1158
1143
|
});
|
|
1159
1144
|
}
|
|
1160
|
-
const getFieldKeys = (
|
|
1161
|
-
if (
|
|
1162
|
-
return LEGAL_COMPANY_NAME_FIELD;
|
|
1163
|
-
}
|
|
1164
|
-
switch (country) {
|
|
1165
|
-
case "JP":
|
|
1166
|
-
return [...JAPANESE_LEGAL_COMPANY_NAME_FIELDS, ...LEGAL_COMPANY_NAME_FIELD];
|
|
1167
|
-
default:
|
|
1168
|
-
return LEGAL_COMPANY_NAME_FIELD;
|
|
1145
|
+
const getFieldKeys = (isExperimentEnabled = () => false, country) => {
|
|
1146
|
+
if (isJapanLocalizationEnabled(isExperimentEnabled, country)) {
|
|
1147
|
+
return [...JAPANESE_LEGAL_COMPANY_NAME_FIELDS, ...LEGAL_COMPANY_NAME_FIELD];
|
|
1169
1148
|
}
|
|
1149
|
+
return LEGAL_COMPANY_NAME_FIELD;
|
|
1170
1150
|
};
|
|
1171
1151
|
const handleKeyDown = (e) => {
|
|
1172
1152
|
if (e.key === KEYBOARD_KEYS.enter) {
|
|
@@ -1238,37 +1218,6 @@ const localizedLegalCompanyNameFieldConfig = {
|
|
|
1238
1218
|
metadata: defaultJaKanaLegalCompanyNameFieldMetadata
|
|
1239
1219
|
}
|
|
1240
1220
|
};
|
|
1241
|
-
const defaultFieldMetadata = {
|
|
1242
|
-
label: "stateOrProvince",
|
|
1243
|
-
placeholder: "stateOrProvince__placeHolder",
|
|
1244
|
-
validators: validateNotEmptyOnBlur
|
|
1245
|
-
};
|
|
1246
|
-
const defaultFieldConfig = {
|
|
1247
|
-
[CountryCodes.Australia]: {
|
|
1248
|
-
label: "state",
|
|
1249
|
-
placeholder: "selectState",
|
|
1250
|
-
validators: validateNotEmptyOnBlur
|
|
1251
|
-
},
|
|
1252
|
-
[CountryCodes.Brazil]: {
|
|
1253
|
-
label: "state",
|
|
1254
|
-
placeholder: "selectState",
|
|
1255
|
-
validators: validateNotEmptyOnBlur
|
|
1256
|
-
},
|
|
1257
|
-
[CountryCodes.Canada]: {
|
|
1258
|
-
label: "provinceOrTerritory",
|
|
1259
|
-
placeholder: "selectProvinceOrTerritory",
|
|
1260
|
-
validators: validateNotEmptyOnBlur
|
|
1261
|
-
},
|
|
1262
|
-
[CountryCodes.NewZealand]: {
|
|
1263
|
-
label: "region",
|
|
1264
|
-
validators: validateNotEmptyOnBlur
|
|
1265
|
-
},
|
|
1266
|
-
[CountryCodes.UnitedStates]: ({ isBusiness }) => ({
|
|
1267
|
-
label: isBusiness ? "stateOrProvince__US__business" : "state",
|
|
1268
|
-
placeholder: "stateOrProvince__placeHolder__US",
|
|
1269
|
-
validators: validateNotEmptyOnBlur
|
|
1270
|
-
})
|
|
1271
|
-
};
|
|
1272
1221
|
const basicInformation = "adyen-kyc-basic-information";
|
|
1273
1222
|
const styles$3 = {
|
|
1274
1223
|
basicInformation
|
|
@@ -1353,9 +1302,9 @@ function BasicInformation({
|
|
|
1353
1302
|
return mergeFieldMetadataIntoProps(
|
|
1354
1303
|
field,
|
|
1355
1304
|
resolveFieldMetadata(
|
|
1356
|
-
defaultFieldConfig[country],
|
|
1305
|
+
defaultFieldConfig$1[country],
|
|
1357
1306
|
{ isBusiness: true },
|
|
1358
|
-
defaultFieldMetadata
|
|
1307
|
+
defaultFieldMetadata$1
|
|
1359
1308
|
),
|
|
1360
1309
|
acc
|
|
1361
1310
|
);
|
|
@@ -1558,7 +1507,11 @@ function BasicInformation({
|
|
|
1558
1507
|
exemptedFromTax: "iDontHaveATaxId"
|
|
1559
1508
|
}),
|
|
1560
1509
|
mask: formUtils.getMask("taxInformation"),
|
|
1561
|
-
|
|
1510
|
+
placeholder: getTaxInformationPlaceholderText({
|
|
1511
|
+
country,
|
|
1512
|
+
companyType,
|
|
1513
|
+
taxIdNumberType: currentCountryTaxInformation?.type
|
|
1514
|
+
}),
|
|
1562
1515
|
guidanceText: formUtils.getFieldGuidanceText(TAX_INFORMATION_FIELD),
|
|
1563
1516
|
readonly: formUtils.isReadOnly("taxInformation"),
|
|
1564
1517
|
shouldValidate,
|
|
@@ -1581,7 +1534,6 @@ function BasicInformation({
|
|
|
1581
1534
|
STATE_FIELD
|
|
1582
1535
|
),
|
|
1583
1536
|
labels: formUtils.getFieldLabels(STATE_FIELD),
|
|
1584
|
-
placeholders: formUtils.getFieldPlaceholders(STATE_FIELD),
|
|
1585
1537
|
readonly: formUtils.isReadOnly("stateOrProvince"),
|
|
1586
1538
|
handleChangeFor,
|
|
1587
1539
|
selectedCountry: country
|
|
@@ -1608,7 +1560,6 @@ function BasicInformation({
|
|
|
1608
1560
|
}),
|
|
1609
1561
|
mask: formUtils.getMask("registrationNumber"),
|
|
1610
1562
|
guidanceText: formUtils.getFieldGuidanceText(BUSINESS_REGISTRATION_NUMBER_FIELD),
|
|
1611
|
-
placeholders: formUtils.getFieldPlaceholders(BUSINESS_REGISTRATION_NUMBER_FIELD),
|
|
1612
1563
|
helperText: getRegistrationNumberHelperText(businessT, { country, companyType }),
|
|
1613
1564
|
readonly: formUtils.isReadOnly("registrationNumber"),
|
|
1614
1565
|
optional: formUtils.isOptionalField("registrationNumber"),
|
|
@@ -3758,6 +3709,8 @@ const businessDetailsFieldsPerScenario = {
|
|
|
3758
3709
|
...businessDetailsBase,
|
|
3759
3710
|
...financialInformationBase
|
|
3760
3711
|
},
|
|
3712
|
+
// L for org is basically L_TAXINFO for Individuals (we will fix this in the near future
|
|
3713
|
+
// to make them aligned and less confusing)
|
|
3761
3714
|
L: {
|
|
3762
3715
|
...businessDetailsBase,
|
|
3763
3716
|
...taxInformationBase,
|
|
@@ -3827,6 +3780,18 @@ const formatFinancialInformationSummary = (data, language, country, dateOfIncorp
|
|
|
3827
3780
|
}
|
|
3828
3781
|
return summary;
|
|
3829
3782
|
};
|
|
3783
|
+
const BUSINESS_BANK_ACCOUNT_TAX_ID_COUNTRIES = [
|
|
3784
|
+
CountryCodes.Estonia,
|
|
3785
|
+
CountryCodes.Finland,
|
|
3786
|
+
CountryCodes.France,
|
|
3787
|
+
CountryCodes.Latvia,
|
|
3788
|
+
CountryCodes.Lithuania,
|
|
3789
|
+
CountryCodes.Portugal,
|
|
3790
|
+
CountryCodes.Spain
|
|
3791
|
+
];
|
|
3792
|
+
const isBusinessBankAccountTaxIdCountry = (country) => {
|
|
3793
|
+
return country ? BUSINESS_BANK_ACCOUNT_TAX_ID_COUNTRIES.includes(country) : false;
|
|
3794
|
+
};
|
|
3830
3795
|
const mapBusinessDetailsDocumentToApiDocument = async (data, entityId) => {
|
|
3831
3796
|
const {
|
|
3832
3797
|
companyRegistrationDocument,
|
|
@@ -3887,7 +3852,7 @@ const mapBusinessDetailsDocumentToApiDocument = async (data, entityId) => {
|
|
|
3887
3852
|
]);
|
|
3888
3853
|
return documents.filter(Boolean);
|
|
3889
3854
|
};
|
|
3890
|
-
const mapBusinessDetailsSchemaToLegalEntity = (data, accountHolder, isExperimentEnabled, taskType) => {
|
|
3855
|
+
const mapBusinessDetailsSchemaToLegalEntity = (data, accountHolder, isExperimentEnabled, taskType, matchingScenario, rootLegalEntity) => {
|
|
3891
3856
|
const requestObj = {
|
|
3892
3857
|
...formatObject(
|
|
3893
3858
|
data,
|
|
@@ -3917,6 +3882,22 @@ const mapBusinessDetailsSchemaToLegalEntity = (data, accountHolder, isExperiment
|
|
|
3917
3882
|
if (taxData) {
|
|
3918
3883
|
entityObject.taxInformation = taxData;
|
|
3919
3884
|
}
|
|
3885
|
+
if (rootLegalEntity?.type === "organization" && // SOE-5931 - TODO: investigate L scenario returned to show this on the backend
|
|
3886
|
+
keysOf(rootLegalEntity.capabilities ?? {}).includes("issueBankAccount") && matchingScenario?.includes(Scenarios.L) && registrationNumber && data.basicInformation?.country && isBusinessBankAccountTaxIdCountry(data.basicInformation?.country)) {
|
|
3887
|
+
const taxCountry = data.basicInformation.country;
|
|
3888
|
+
const privateCompanyTaxOptions = getTaxIdNumberOptions(
|
|
3889
|
+
taxCountry,
|
|
3890
|
+
CompanyTypesValues.PRIVATE_COMPANY
|
|
3891
|
+
);
|
|
3892
|
+
const taxType = privateCompanyTaxOptions && privateCompanyTaxOptions.length > 0 ? privateCompanyTaxOptions[0]["id"] : "";
|
|
3893
|
+
entityObject.taxInformation = [
|
|
3894
|
+
{
|
|
3895
|
+
country: taxCountry,
|
|
3896
|
+
number: registrationNumber,
|
|
3897
|
+
type: taxType
|
|
3898
|
+
}
|
|
3899
|
+
];
|
|
3900
|
+
}
|
|
3920
3901
|
if (!!requestObj.soleProprietorship && !!data.basicInformation?.country) {
|
|
3921
3902
|
requestObj.soleProprietorship.countryOfGoverningLaw = data.basicInformation.country;
|
|
3922
3903
|
}
|
|
@@ -3951,6 +3932,9 @@ const mapBusinessDetailsSchemaToLegalEntity = (data, accountHolder, isExperiment
|
|
|
3951
3932
|
);
|
|
3952
3933
|
if (addressLocalizations.length > 0)
|
|
3953
3934
|
entityObject.registeredAddress.localization = addressLocalizations;
|
|
3935
|
+
if (entityObject.registeredAddress?.country && entityObject.registeredAddress?.stateOrProvince && !COUNTRIES_WITH_STATES_DATASET.includes(entityObject.registeredAddress?.country)) {
|
|
3936
|
+
entityObject.registeredAddress.stateOrProvince = "";
|
|
3937
|
+
}
|
|
3954
3938
|
if (!isEmpty$1(data.companyFinancialInformation)) {
|
|
3955
3939
|
const isIncorporationDateDependencyEnabled = isExperimentEnabled(
|
|
3956
3940
|
"EnableIncorporationDateBasedFinancialValidationForHO"
|
|
@@ -4247,7 +4231,8 @@ async function submit({
|
|
|
4247
4231
|
userEvents,
|
|
4248
4232
|
efpBusinessLines,
|
|
4249
4233
|
createBusinessLine,
|
|
4250
|
-
updateBusinessLine
|
|
4234
|
+
updateBusinessLine,
|
|
4235
|
+
matchingScenario
|
|
4251
4236
|
}) {
|
|
4252
4237
|
const logger2 = createLogger();
|
|
4253
4238
|
setLoadingStatus("loading");
|
|
@@ -4421,7 +4406,9 @@ async function submit({
|
|
|
4421
4406
|
filteredData,
|
|
4422
4407
|
accountHolder,
|
|
4423
4408
|
isExperimentEnabled,
|
|
4424
|
-
taskType
|
|
4409
|
+
taskType,
|
|
4410
|
+
matchingScenario,
|
|
4411
|
+
legalEntityResponse
|
|
4425
4412
|
),
|
|
4426
4413
|
entityAssociations: filterOutUnwantedAssociationsIfRootLE(
|
|
4427
4414
|
taskType,
|
|
@@ -4560,9 +4547,9 @@ function basicInformationValidators({
|
|
|
4560
4547
|
taxInformationDefaultFieldMetadata
|
|
4561
4548
|
).validators,
|
|
4562
4549
|
stateOrProvince: resolveFieldMetadata(
|
|
4563
|
-
defaultFieldConfig[country],
|
|
4550
|
+
defaultFieldConfig$1[country],
|
|
4564
4551
|
{ isBusiness: true },
|
|
4565
|
-
defaultFieldMetadata
|
|
4552
|
+
defaultFieldMetadata$1
|
|
4566
4553
|
).validators,
|
|
4567
4554
|
registrationNumber: resolveFieldMetadata(
|
|
4568
4555
|
registrationNumberDefaultFieldConfig[country],
|
|
@@ -4616,9 +4603,9 @@ function additionalInformationValidators({
|
|
|
4616
4603
|
taxInformationDefaultFieldMetadata
|
|
4617
4604
|
).validators,
|
|
4618
4605
|
vatNumber: resolveFieldMetadata(
|
|
4619
|
-
defaultFieldConfig
|
|
4606
|
+
defaultFieldConfig[country],
|
|
4620
4607
|
{ vatNumberType },
|
|
4621
|
-
defaultFieldMetadata
|
|
4608
|
+
defaultFieldMetadata
|
|
4622
4609
|
).validators,
|
|
4623
4610
|
vatAbsenceReason: vatAbsenceReasonMetadata.validators,
|
|
4624
4611
|
eInvoicingCode: eInvoicingCodeFieldMetadata.validators,
|
|
@@ -4652,7 +4639,6 @@ function BusinessDetailsDropin({
|
|
|
4652
4639
|
const { showToast } = useToastContext();
|
|
4653
4640
|
const queryClient = useQueryClient();
|
|
4654
4641
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
4655
|
-
const { data: versionData } = useVersionConfiguration();
|
|
4656
4642
|
const { isSettingEnabled } = useSettingsContext();
|
|
4657
4643
|
const { accountHolder, setAccountHolder } = useAccountHolder();
|
|
4658
4644
|
const { mutateAsync: createLegalEntity } = useCreateLegalEntity();
|
|
@@ -4672,6 +4658,7 @@ function BusinessDetailsDropin({
|
|
|
4672
4658
|
baseUrl: baseUrl.value,
|
|
4673
4659
|
rootLegalEntityId: rootLegalEntityId.value
|
|
4674
4660
|
});
|
|
4661
|
+
const { data: matchingScenario } = useScenarios(country, LegalEntityTypes.ORGANIZATION);
|
|
4675
4662
|
useEffect(() => {
|
|
4676
4663
|
userEvents.updateBaseTrackingPayload({ task: taskType });
|
|
4677
4664
|
userEvents.addTaskEvent("Landed on page", {
|
|
@@ -4770,19 +4757,18 @@ function BusinessDetailsDropin({
|
|
|
4770
4757
|
isSettingEnabled,
|
|
4771
4758
|
accountHolder,
|
|
4772
4759
|
tinMatched: isTinMatched,
|
|
4773
|
-
rootLegalEntity: legalEntityResponse
|
|
4774
|
-
version: versionData?.version
|
|
4760
|
+
rootLegalEntity: legalEntityResponse
|
|
4775
4761
|
}),
|
|
4776
4762
|
[
|
|
4777
4763
|
multiForm.data,
|
|
4764
|
+
matchingScenario,
|
|
4778
4765
|
country,
|
|
4779
4766
|
taskType,
|
|
4780
4767
|
isExperimentEnabled,
|
|
4781
4768
|
isSettingEnabled,
|
|
4782
4769
|
accountHolder,
|
|
4783
4770
|
isTinMatched,
|
|
4784
|
-
legalEntityResponse
|
|
4785
|
-
versionData?.version
|
|
4771
|
+
legalEntityResponse
|
|
4786
4772
|
]
|
|
4787
4773
|
);
|
|
4788
4774
|
useEffect(() => {
|
|
@@ -4901,7 +4887,8 @@ function BusinessDetailsDropin({
|
|
|
4901
4887
|
userEvents,
|
|
4902
4888
|
efpBusinessLines,
|
|
4903
4889
|
createBusinessLine,
|
|
4904
|
-
updateBusinessLine
|
|
4890
|
+
updateBusinessLine,
|
|
4891
|
+
matchingScenario
|
|
4905
4892
|
});
|
|
4906
4893
|
}, [
|
|
4907
4894
|
setAccountHolder,
|
|
@@ -4924,7 +4911,8 @@ function BusinessDetailsDropin({
|
|
|
4924
4911
|
userEvents,
|
|
4925
4912
|
efpBusinessLines,
|
|
4926
4913
|
createBusinessLine,
|
|
4927
|
-
updateBusinessLine
|
|
4914
|
+
updateBusinessLine,
|
|
4915
|
+
matchingScenario
|
|
4928
4916
|
]);
|
|
4929
4917
|
const {
|
|
4930
4918
|
handleNextClick,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet } from "./StoreProvider-DRrcEPVg.js";
|
|
12
12
|
const getBusinessLines = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
baseUrl,
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { S as SettingNames } from "./TaskVerificationStatus-
|
|
11
|
-
import { J as isPartOfTrustFromLegalEntity, M as hasSolePropInLegalEntity, o as LegalEntityTypes, B as useSettingsContext } from "./StoreProvider-
|
|
10
|
+
import { S as SettingNames } from "./TaskVerificationStatus-C9VWzt6E.js";
|
|
11
|
+
import { J as isPartOfTrustFromLegalEntity, M as hasSolePropInLegalEntity, o as LegalEntityTypes, B as useSettingsContext } from "./StoreProvider-DRrcEPVg.js";
|
|
12
12
|
const useLegalEntityType = ({
|
|
13
13
|
legalEntity
|
|
14
14
|
}) => {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, $ as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, $ as httpPost } from "./StoreProvider-DRrcEPVg.js";
|
|
12
12
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
package/dist/{useDataMissingRemediations-CDMb2Iu7.js → useDataMissingRemediations-DexiTEKJ.js}
RENAMED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c13dcc3a-a283-40d1-8013-7d56951bdbf8", e._sentryDebugIdIdentifier = "sentry-dbid-c13dcc3a-a283-40d1-8013-7d56951bdbf8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { u as useTranslation, a8 as EntityTypes,
|
|
11
|
+
import { u as useTranslation, a8 as EntityTypes, bl as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, j as TaskTypes } from "./StoreProvider-DRrcEPVg.js";
|
|
12
12
|
function useDataMissingRemediations({
|
|
13
13
|
legalEntityId,
|
|
14
14
|
problems
|