@adyen/kyc-components 4.21.0 → 4.22.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceWorkflow-DrB_fPrZ.js → AcceptTermsOfServiceWorkflow-D2mvc_PB.js} +5 -5
- package/dist/{Accordion-DC7Iuj-J.js → Accordion-DEivLTcw.js} +1 -1
- package/dist/{AccountSetupRejected-DoXfDWqU.js → AccountSetupRejected-pcQcFAhQ.js} +1 -1
- package/dist/{AdaptiveWorkflow-J27A0gN7.js → AdaptiveWorkflow-C0EsaW8F.js} +16 -16
- package/dist/{AdaptiveWorkflowComponent-D6pqqlwM.js → AdaptiveWorkflowComponent-Nk2CJaU4.js} +54 -54
- package/dist/{AddressField-M0N4sAfl.js → AddressFields-3kqeRdC_.js} +108 -173
- package/dist/{Avatar-BKTdqNpO.js → Avatar-DHyXCNwV.js} +1 -1
- package/dist/{BusinessFinancingDropin-DemdZ7gf.js → BusinessFinancingDropin-BOECqGNd.js} +104 -197
- package/dist/{BusinessFinancingPage-_0QYXpNT.js → BusinessFinancingPage-DSy5an97.js} +30 -30
- package/dist/BusinessRegistrationNumberField-DHccXqsX.js +101 -0
- package/dist/{BusinessRegistrationNumberFieldGroup-C7gU9147.js → BusinessRegistrationNumberFieldGroup-2e9GKH-i.js} +5 -6
- package/dist/{BusinessTypeSelectionPage-BDhSt6pA.js → BusinessTypeSelectionPage-BraXRUrg.js} +13 -13
- package/dist/{Button-DSD_afG_.js → Button-nDbNtBn3.js} +1 -1
- package/dist/{Checkbox-Bc98rXHW.js → Checkbox-BiKnP2fS.js} +1 -1
- package/dist/{ComponentGroup-btCOkWx3.js → ComponentGroup-Due-N8Yz.js} +3 -3
- package/dist/{BusinessRegistrationNumberField-B2_WSs7X.js → ConstitutionalDocument-CtRHXMb9.js} +67 -105
- package/dist/{ContactDetails-CtYPAJYy.js → ContactDetails-Syyy5BfB.js} +5 -5
- package/dist/{ContextGuidance-CQ6rdW_a.js → ContextGuidance-D8leB0D6.js} +2 -2
- package/dist/{Currency-BlBJnPV7.js → Currency-CFsMnSP0.js} +5 -5
- package/dist/{CustomerSupport-CrCRjZZq.js → CustomerSupport-DqayB3BM.js} +13 -12
- package/dist/{DataConflictsModal-iMz4Afov.js → DataConflictsModal-Bz2SYyi5.js} +6 -6
- package/dist/{DebugModal-BAf5ZU42.js → DebugModal-fH0uKl1E.js} +10 -10
- package/dist/{DecisionMakerDetails-DX5nw1Co.js → DecisionMakerDetails-7IPREpy1.js} +12 -12
- package/dist/{DecisionMakerDetailsPage-BJn9whGe.js → DecisionMakerDetailsPage-Bs9q7sxc.js} +34 -34
- package/dist/{DecisionMakers-C6IDwXGe.js → DecisionMakers-Dw66GRhZ.js} +40 -40
- package/dist/{Dropzone-pCIXbO4I.js → Dropzone-CjLSK2UN.js} +7 -7
- package/dist/{EmbeddedStatus-CkSg9-9r.js → EmbeddedStatus-BIVFBjzu.js} +3 -3
- package/dist/{EndStateLayout-CarfWtTC.js → EndStateLayout-D2CSEwEn.js} +2 -2
- package/dist/{EntityAssociation-DFnGtIFI.js → EntityAssociation-LF_5ihhI.js} +6 -6
- package/dist/{ErrorPanel-ugcZz_Be.js → ErrorPanel-tLtZnFnX.js} +3 -3
- package/dist/{GlobalEntryModal-DAf4bqoT.js → GlobalEntryModal-CY-t1fGQ.js} +279 -79
- package/dist/{GlobalEntryPage-GK_Vfoub.js → GlobalEntryPage-xX4ruKnx.js} +7 -7
- package/dist/{Icon-CurE93CX.js → Icon-BcaP-f1D.js} +1 -1
- package/dist/{IdentityNumber-9wipDyP1.js → IdentityNumber-4ky6SOcb.js} +5 -5
- package/dist/{IdentityNumberFieldGroup-PyIIIJ0a.js → IdentityNumberFieldGroup-BKKmSfLG.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-DCru4Ax4.js → IdentityScreeningWorkflow-D0eNj4nD.js} +13 -13
- package/dist/{Individual.rules-PTvR4V7c.js → Individual.rules-PKwY3D-0.js} +4 -4
- package/dist/{IndividualDropin-odcDbuOv.js → IndividualDropin-DrQiG_Vy.js} +252 -224
- package/dist/{IndustryCodeFieldGroup-NJw6ULN9.js → IndustryCodeFieldGroup-jm8KFccr.js} +3 -3
- package/dist/InputDate-C14J5Af2.js +211 -0
- package/dist/{InputText-BvrH0bId.js → InputText-Dr-Wg0uc.js} +2 -2
- package/dist/{Introduction-Cc1kb6ZF.js → Introduction-DXAxkrDG.js} +6 -6
- package/dist/{InvitedDecisionMakerComponent-CqRP9jG_.js → InvitedDecisionMakerComponent-CPMIUjiE.js} +61 -61
- package/dist/{JpAddressFields-gw_fQGFK.js → JpAddressFields-olKUlhpt.js} +8 -8
- package/dist/{LegalCompanyNameField-BmLuKn05.js → LegalCompanyNameField-BrdI-awc.js} +4 -4
- package/dist/{LegalName-CeRLeIRV.js → LegalName-CWoSqy0V.js} +3 -3
- package/dist/{LegalRepresentativeDetailsPage-V35wZbnY.js → LegalRepresentativeDetailsPage-Ca3FLoSd.js} +30 -30
- package/dist/{Link-B-gN0d8l.js → Link-opuU6bLF.js} +1 -1
- package/dist/{ListItem-BGdnopqb.js → ListItem-CbjOa0L_.js} +2 -2
- package/dist/{Modal-smcFQS1n.js → Modal-BDNS-0rS.js} +3 -3
- package/dist/{Name-CjSRwrBX.js → Name-CxlxPgUR.js} +4 -4
- package/dist/{NewSummary-BBgZk5N5.js → NewSummary-mLsovGX8.js} +6 -6
- package/dist/{PatriotActDisclosure-DMB5NHHl.js → PatriotActDisclosure-kOnDnF8P.js} +10 -113
- package/dist/{PayoutDetailsDropin-B-hXWFtT.js → PayoutDetailsDropin-CZ77wefd.js} +26 -26
- package/dist/{PayoutDetailsPage-C_lCST-K.js → PayoutDetailsPage-Cyy-fDbK.js} +7 -7
- package/dist/{RadioGroup-CdF_CJsU.js → RadioGroup-C0mNADXE.js} +10 -17
- package/dist/{Review-D5P6Ac8i.js → Review-CDtJh9j3.js} +6 -6
- package/dist/{RootBusinessDetailsPage-DVI9j8Ml.js → RootBusinessDetailsPage-CnVWFx0H.js} +30 -30
- package/dist/{RootBusinessLinesPage-W9tYnmw0.js → RootBusinessLinesPage-Dtx9X-mD.js} +23 -23
- package/dist/{RootIndividualDetailsPage-DOdcTAg9.js → RootIndividualDetailsPage-q8PZ0Khk.js} +31 -31
- package/dist/{Select-VeoEeZS8.js → Select-UO37dd_q.js} +5 -5
- package/dist/{SignPCIComponent-NpbyWtsj.js → SignPCIComponent-D21OqVWo.js} +38 -38
- package/dist/{SingpassSelection-CYThm6K3.js → SingpassSelection-CRYphIRT.js} +4 -4
- package/dist/{SoleProprietorshipPage-o0P3YdSD.js → SoleProprietorshipPage-BKB0sRiP.js} +30 -30
- package/dist/{SourceOfFundsPage-CzKXKYUk.js → SourceOfFundsPage-C2ZEp0lT.js} +26 -26
- package/dist/{SourceOfFundsWorkflow-qqY2jygF.js → SourceOfFundsWorkflow-Cy12c7ou.js} +4 -4
- package/dist/{StateField-Bez_WtWb.js → StateField-CWS8eXex.js} +8 -34
- package/dist/{Step-Onf402RU.js → Step-CYG94mSp.js} +9 -13
- package/dist/{StructuredList-36A9DDQa.js → StructuredList-CqZM_5X9.js} +3 -3
- package/dist/{Task-DiyDnOz9.js → Task-D6xuGucd.js} +11 -11
- package/dist/{TaskGroup-CIR21I_w.js → TaskGroup-C4ND30dB.js} +3 -3
- package/dist/{TaskListItem-DHIH6gi-.js → TaskListItem-Dc6n6llv.js} +9 -9
- package/dist/TaskStepperContextProvider-CvChF1W5.js +26 -0
- package/dist/{TaskVerificationStatus-DCfFNRJc.js → TaskVerificationStatus-pjPK5vVN.js} +1 -1
- package/dist/{TaxInformationFieldGroup-D_wL_Vik.js → TaxInformationFieldGroup-BACQgHQ7.js} +7 -8
- package/dist/{TaxReportingDropin-KSc9a6fn.js → TaxReportingDropin-DmOclyYQ.js} +14 -14
- package/dist/{TaxReportingWorkflow-CxxK1I0P.js → TaxReportingWorkflow-CBEB7oAn.js} +4 -4
- package/dist/{TermsOfServiceManagement-BjVUvy6A.js → TermsOfServiceManagement-No_9QGjv.js} +37 -37
- package/dist/{TextArea-CZ6EPFIm.js → TextArea-BzY5efza.js} +3 -3
- package/dist/{TrustDetailsPage-CMH_pooy.js → TrustDetailsPage-BHjbebZX.js} +79 -68
- package/dist/TrustMemberCompanyPage-BSe-Pn1O.js +109 -0
- package/dist/TrustMemberIndividualPage-DxlZQF6W.js +110 -0
- package/dist/{TrustMemberRoleAndTypePage-DtbIRzd6.js → TrustMemberRoleAndTypePage-AtlXyfKk.js} +40 -39
- package/dist/{TrustMembersOverview-CyiHoXHO.js → TrustMembersOverview-DpmUv4Vj.js} +36 -36
- package/dist/{UboTaskItem-DehpjG8P.js → UboTaskItem-ESC2Ze3o.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-B51DLOKD.js → UnincorporatedPartnershipIndividualPage-BVpz27KZ.js} +30 -30
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DwxgFOUv.js → UnincorporatedPartnershipMemberCompanyPage-BBxtLGt0.js} +31 -31
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CGcWrzzR.js → UnincorporatedPartnershipMemberRoleAndTypePage-BuI7aE3O.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-CYKGg4bE.js → UnincorporatedPartnershipMembersOverview-sE8-A2hQ.js} +7 -7
- package/dist/{VerificationErrorAlert-DHnpqmkb.js → VerificationErrorAlert-BCEhkhpr.js} +2 -2
- package/dist/{Workflow-CKPX92cv.js → Workflow-CzSGihyD.js} +6 -6
- package/dist/{accountHolderUtils--ZEylxaF.js → accountHolderUtils-3WiED1-j.js} +1 -1
- package/dist/adyen-business-financing.js +31 -31
- package/dist/adyen-individual-configuration.js +56 -56
- package/dist/adyen-individual-status.js +29 -29
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +55 -57
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +3 -3
- package/dist/adyen-transfer-instrument-configuration.js +30 -30
- package/dist/adyen-transfer-instrument-management.js +38 -38
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{bafinUtils-DkDlAHgN.js → bafinUtils-h8n1IbJ9.js} +45 -21
- package/dist/{bg-BG-D4mSRREu.js → bg-BG-BizRzO_4.js} +2 -2
- package/dist/bg-BG-BtgA44Ui.js +7 -0
- package/dist/{bg-BG-BeFIiwVZ.js → bg-BG-DFFyUYhz.js} +1 -4
- package/dist/bg-BG-DYkxVgeJ.js +7 -0
- package/dist/{constants-CpzwsYLt.js → constants-B9iXz9xK.js} +3 -3
- package/dist/cs-CZ-Ci8c58xJ.js +7 -0
- package/dist/{cs-CZ-DHfA1xjQ.js → cs-CZ-DbxpNCVt.js} +1 -4
- package/dist/cs-CZ-DcUnrLLF.js +7 -0
- package/dist/cs-CZ-lJQmuyHq.js +7 -0
- package/dist/da-DK-C1kmOHvo.js +7 -0
- package/dist/da-DK-D53M_d04.js +7 -0
- package/dist/da-DK-DxZQbdeO.js +7 -0
- package/dist/{da-DK--DlccBc0.js → da-DK-zLJRzcB1.js} +1 -4
- package/dist/{de-DE-B_iHAkLT.js → de-DE-BMfqDClD.js} +1 -4
- package/dist/de-DE-BnxQPuqK.js +7 -0
- package/dist/de-DE-qJPTCQlG.js +7 -0
- package/dist/de-DE-qSBQE-6M.js +7 -0
- package/dist/el-GR-Bx996PXx.js +7 -0
- package/dist/el-GR-CgoxpC-Q.js +7 -0
- package/dist/{el-GR-C6jyW53I.js → el-GR-Dv4ru2dp.js} +2 -2
- package/dist/{el-GR-D09thseu.js → el-GR-RfSX8m4j.js} +1 -4
- package/dist/{en-US-Del1h5SS.js → en-US-BUmtG-Wj.js} +5 -1
- package/dist/en-US-C_-DId-G.js +7 -0
- package/dist/{error-DYzwu0no.js → error-CHFF8jLc.js} +2 -2
- package/dist/{es-ES-Bpxn6XGC.js → es-ES-CYw82sbG.js} +1 -4
- package/dist/es-ES-DNhmrVEV.js +7 -0
- package/dist/es-ES-DyB2KXfT.js +7 -0
- package/dist/es-ES-U4-lDfZq.js +7 -0
- package/dist/es-LA-B5IRDCf_.js +7 -0
- package/dist/{es-LA-C8U1qPSu.js → es-LA-BctkHpgC.js} +5 -5
- package/dist/es-LA-C9A4OcR1.js +7 -0
- package/dist/{es-LA-DWAiA7Dw.js → es-LA-CG_cu1hM.js} +2 -2
- package/dist/{es-LA-CJdZb5eY.js → es-LA-CgkOJrPJ.js} +2 -2
- package/dist/es-LA-ChLRkx-r.js +7 -0
- package/dist/{es-LA-CjxlB1WZ.js → es-LA-DDXEJd1M.js} +1 -4
- package/dist/{es-LA-DBBkFhgU.js → es-LA-DcnCNM5a.js} +2 -2
- package/dist/es-LA-Oe31aP7N.js +7 -0
- package/dist/{es-LA-CE8hE_Qb.js → es-LA-s415mKU0.js} +2 -2
- package/dist/et-EE-4_ZUNt3W.js +7 -0
- package/dist/et-EE-BgBr1C0u.js +7 -0
- package/dist/{et-EE-Dtc7YYb4.js → et-EE-BlZkCwz8.js} +1 -4
- package/dist/et-EE-DSK7kb3n.js +7 -0
- package/dist/fi-FI-BSsXGaNE.js +7 -0
- package/dist/{fi-FI-DBhYlO4B.js → fi-FI-CNoPIGJP.js} +1 -4
- package/dist/fi-FI-D06EzKrW.js +7 -0
- package/dist/fi-FI-DgMsQBRO.js +7 -0
- package/dist/{form-rules-Cy_z1LiE.js → form-rules-CKwx5XtT.js} +82 -75
- package/dist/{formatValidationError-DGv-uwBi.js → formatValidationError-DZ1CxHdw.js} +1 -1
- package/dist/fr-FR-BTJoQq71.js +7 -0
- package/dist/{fr-FR-Dsh0Vb20.js → fr-FR-C88I1PF4.js} +2 -2
- package/dist/{fr-FR-N8UDU_0Y.js → fr-FR-CQZLvhS1.js} +1 -4
- package/dist/fr-FR-Dl4NL-Nc.js +7 -0
- package/dist/{CompanyRegistrationNumberTypeSelector-CX4-v376.js → getDefaultRegistrationNumberType-6m6DEmW8.js} +49 -49
- package/dist/{useAssociatedLegalEntity-BdcoiUby.js → getFormSlice-DzRO0UUx.js} +19 -2
- package/dist/{getProblemsForEntity-CTxd78-9.js → getProblemsForEntity-CfzojTAS.js} +1 -1
- package/dist/{getTrustedDecisionMakers-DWVtW7JE.js → getTrustedDecisionMakers-qs2frwk2.js} +1 -1
- package/dist/hr-HR-B11sggmG.js +7 -0
- package/dist/{hr-HR-GLRwxTIZ.js → hr-HR-C6-nBPZJ.js} +1 -4
- package/dist/hr-HR-COdiWKoq.js +7 -0
- package/dist/hr-HR-HlAOaG4N.js +7 -0
- package/dist/{hu-HU-s1MKqwI4.js → hu-HU-CKm1kMo5.js} +1 -4
- package/dist/hu-HU-DkSsL94T.js +7 -0
- package/dist/hu-HU-Dp6xOBN_.js +7 -0
- package/dist/hu-HU-s1kS1v8Y.js +7 -0
- package/dist/it-IT-BlaVymCj.js +7 -0
- package/dist/it-IT-CawjvBDX.js +7 -0
- package/dist/{it-IT-xXO07yyz.js → it-IT-DPOJ9mKi.js} +2 -2
- package/dist/{it-IT-2reNk09A.js → it-IT-DjUFw9e_.js} +1 -4
- package/dist/{ja-JP-Bf97gKqg.js → ja-JP-Ce_xNqZj.js} +1 -4
- package/dist/ja-JP-DGj167Zw.js +7 -0
- package/dist/ja-JP-Dpe9Odla.js +7 -0
- package/dist/ja-JP-h3E8hgLv.js +7 -0
- package/dist/{types-CdxNdaM6.js → legalArrangementUtils-skU_cq9L.js} +4 -3
- package/dist/lt-LT-B18sQY9g.js +7 -0
- package/dist/{lt-LT-BUgsY7cD.js → lt-LT-BQD7QWIk.js} +1 -4
- package/dist/lt-LT-CEpjHJry.js +7 -0
- package/dist/lt-LT-Fc1lOUlz.js +7 -0
- package/dist/lv-LV-COsG0cJY.js +7 -0
- package/dist/{lv-LV-BpniO6xp.js → lv-LV-DHwdYWGZ.js} +1 -4
- package/dist/lv-LV-DctYQmfH.js +7 -0
- package/dist/lv-LV-adiXoKhv.js +7 -0
- package/dist/{mapExistingFile-R6-FnjjY.js → mapExistingFile-CDahgHsP.js} +1 -1
- package/dist/{mapJpAddressSchemaToAddressLocalizations-C-kAGmiq.js → mapJpAddressSchemaToAddressLocalizations-CX2djRYM.js} +2 -2
- package/dist/{mapLegalEntityToIndividualSchema-BIisj-RE.js → mapLegalEntityToIndividualSchema-ChE9qTUB.js} +6 -6
- package/dist/{mapTransferInstrumentToPayoutAccount-D-RdVquH.js → mapTransferInstrumentToPayoutAccount-BmSbFaJJ.js} +2 -2
- package/dist/nl-NL-9sJ9sG_Q.js +7 -0
- package/dist/nl-NL-BIpptPn4.js +7 -0
- package/dist/{nl-NL-_B3Ey_x1.js → nl-NL-Cdmgljzx.js} +1 -4
- package/dist/nl-NL-DOB0b0m4.js +7 -0
- package/dist/no-NO-BG1sYkpp.js +7 -0
- package/dist/no-NO-DnsCTUl4.js +7 -0
- package/dist/{no-NO-CytzrDfA.js → no-NO-MhaaDGft.js} +1 -4
- package/dist/no-NO-P5tRWhV9.js +7 -0
- package/dist/{pl-PL-DLBeIbY5.js → pl-PL-B0tX08_r.js} +1 -4
- package/dist/pl-PL-BX9Xsn_R.js +7 -0
- package/dist/pl-PL-J9S3_lCf.js +7 -0
- package/dist/pl-PL-_KG-ZD1N.js +7 -0
- package/dist/{processCapabilities-uXoRmB5x.js → processCapabilities-BfskhjUw.js} +2 -1
- package/dist/{processValidationErrors-CxYdVSIk.js → processValidationErrors-CRWq2tu-.js} +3 -3
- package/dist/pt-BR-BYbyk6xS.js +7 -0
- package/dist/{pt-BR-Cf5Jif3w.js → pt-BR-CExpeuK1.js} +1 -4
- package/dist/pt-BR-D23HWCOv2.js +7 -0
- package/dist/pt-BR-fKlNUybd.js +7 -0
- package/dist/{pt-PT-Cg7oMqTO.js → pt-PT-CedGAyU5.js} +1 -4
- package/dist/pt-PT-D8ldyR-j.js +7 -0
- package/dist/pt-PT-DAvsI-Tr.js +7 -0
- package/dist/pt-PT-oMj1KA74.js +7 -0
- package/dist/{resolveEnvironment-iYzRliVi.js → resolveEnvironment-D2iMH7UD.js} +69 -70
- package/dist/{ro-RO-UHWXt9rv.js → ro-RO-C-lRWe1h.js} +1 -4
- package/dist/ro-RO-CQJk7Cpo.js +7 -0
- package/dist/ro-RO-CnMe6Mfw.js +7 -0
- package/dist/ro-RO-Cri5-XPn.js +7 -0
- package/dist/sk-SK-Br1Y4_CN.js +7 -0
- package/dist/sk-SK-Bx2_85dW.js +7 -0
- package/dist/{sk-SK-BQHhBpDH.js → sk-SK-D1duuBif.js} +1 -4
- package/dist/sk-SK-XvPPBgTO.js +7 -0
- package/dist/sl-SI-B31X-t8A.js +7 -0
- package/dist/sl-SI-DHPadSTy.js +7 -0
- package/dist/{sl-SI-DOAJBgQV.js → sl-SI-DO9c7geI.js} +2 -2
- package/dist/{sl-SI-CTrggdef.js → sl-SI-iGtJR9Tk.js} +1 -4
- package/dist/style.css +21 -0
- package/dist/styles-DYaAeu4q.js +21 -0
- package/dist/{sv-SE-Bk55FXGN.js → sv-SE-9GnBnxvb.js} +1 -4
- package/dist/sv-SE-BXrlr0X5.js +7 -0
- package/dist/sv-SE-DBANqFwL.js +7 -0
- package/dist/sv-SE-l_UVgmVu.js +7 -0
- package/dist/types/adaptiveWorkflow/context/TaskStepperContext/TaskStepperContext.d.ts +19 -9
- package/dist/types/adaptiveWorkflow/context/TaskStepperContext/TaskStepperContextProvider.d.ts +0 -8
- package/dist/types/adaptiveWorkflow/context/TaskStepperContext/useTaskStepperContext.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.constants.d.ts +2 -40
- package/dist/types/components/Business/utils/utils.d.ts +1 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +6 -8
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingRegisteredAddress.d.ts +13 -2
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +1 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +12 -3
- package/dist/types/components/GlobalEntry/fields/EntitySetupField/EntitySetupField.d.ts +5 -0
- package/dist/types/components/GlobalEntry/fields/EntitySetupField/types.d.ts +1 -1
- package/dist/types/components/GlobalEntry/fields/PrimaryPartnerTypeField/PrimaryPartnerTypeField.d.ts +3 -0
- package/dist/types/components/GlobalEntry/fields/PrimaryPartnerTypeField/types.d.ts +5 -0
- package/dist/types/components/GlobalEntry/forms/PrimaryPartner/PrimaryPartner.d.ts +4 -0
- package/dist/types/components/GlobalEntry/forms/PrimaryPartner/types.d.ts +2 -0
- package/dist/types/components/GlobalEntry/forms/RegistrationInformation/types.d.ts +2 -1
- package/dist/types/components/GlobalEntry/rules.d.ts +8 -3
- package/dist/types/components/GlobalEntry/tasks/types.d.ts +2 -0
- package/dist/types/components/GlobalEntry/validate.d.ts +2 -0
- package/dist/types/components/Shared/fields/DateOfIncorporationField/DateOfIncorporationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/fieldConfig.d.ts +2 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/types.d.ts +2 -0
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/StateField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/fieldConfig.d.ts +2 -7
- package/dist/types/components/Shared/fields/StateField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +1 -0
- package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +2 -1
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +1 -1
- package/dist/types/utils/businessUtils.d.ts +38 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/{components/UnincorporatedPartnership/types/types.d.ts → utils/legalArrangementUtils.d.ts} +2 -1
- package/dist/types/{components/UnincorporatedPartnership/utils/unincorporatedParnershipUtil.d.ts → utils/unincorporatedParnershipUtils.d.ts} +3 -3
- package/dist/{types-Ai_80DXu.js → types-Bdfu7HN6.js} +1 -1
- package/dist/{useBusinessDetailsData-Dt4JqZ87.js → useBusinessDetailsData-DZQuIMNw.js} +83 -180
- package/dist/{useCanSeeIntroduction-CMzerxJL.js → useCanSeeIntroduction-BGYdkMIE.js} +3 -3
- package/dist/{useDataMissingRemediations-Cd-jucOu.js → useDataMissingRemediations-D-NZOgal.js} +1 -1
- package/dist/{useForm-CEXA_F3u.js → useForm-BJq32Ve1.js} +2 -2
- package/dist/{useHideTaskStepper-MdPt1zI8.js → useHideTaskStepper-CcCmW80A.js} +9 -8
- package/dist/{useId-CZMbF_sJ.js → useId-BMocIuPK.js} +1 -1
- package/dist/{useNavigate-RRamr3fr.js → useNavigate-D4ypqPBN.js} +33 -33
- package/dist/{useSalesChannels-B9PV1rQa.js → useSalesChannels-BCzs8Xya.js} +3 -3
- package/dist/{useTaskLandedEvent-DbQ2E-rM.js → useTaskLandedEvent-Cf1fN_gV.js} +1 -1
- package/dist/useTaskStepperContext-DCNMsKUc.js +51 -0
- package/dist/{useTrustMembers-gdgm1nJI.js → useTrustMembers-DqpnYNNj.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-00l8eNLk.js → useUnincorporatedPartnershipMembers-w3dG_nyc.js} +2 -2
- package/dist/{useUpdateLegalEntity-Cp9Cq-yR.js → useUpdateLegalEntity-CvACAgDP.js} +1 -1
- package/dist/{utils-DxOvaA3u.js → utils-BMhvbUV1.js} +6 -6
- package/dist/{utils-CFaGY5aD.js → utils-P67T6pKI.js} +1 -1
- package/dist/validate-BqIbVY0E.js +151 -0
- package/dist/{validate-BevFCyzw.js → validate-Dfw99Sal.js} +5 -31
- package/dist/{validate-BbOeJY9-.js → validate-DiEa5w30.js} +4 -4
- package/dist/{validate--p4TuNQC.js → validate-RLWN-I5L.js} +68 -51
- package/dist/{validateExtractionResult-BnSV5Z6F.js → validateExtractionResult-DueyX5oY.js} +2 -2
- package/dist/{validationError-BLSF1VbX.js → validationError-BhICjGiF.js} +1 -1
- package/package.json +1 -1
- package/dist/InputDate-Cgld5B0-.js +0 -52
- package/dist/TaskStepperContextProvider-DuM9tlet.js +0 -81
- package/dist/TrustMemberCompanyPage-Bzcvc0Cz.js +0 -109
- package/dist/TrustMemberIndividualPage-DN_epZ5a.js +0 -110
- package/dist/bg-BG-CXqERnFH.js +0 -7
- package/dist/bg-BG-DbS559bK.js +0 -7
- package/dist/cs-CZ-4yvBEVL0.js +0 -7
- package/dist/cs-CZ-DAXMHrMi.js +0 -7
- package/dist/cs-CZ-DySBJFlc.js +0 -7
- package/dist/da-DK-BVaEiAWd.js +0 -7
- package/dist/da-DK-BuvKW6Sq.js +0 -7
- package/dist/da-DK-D3mbpcHG.js +0 -7
- package/dist/de-DE-BQaqplTp.js +0 -7
- package/dist/de-DE-BqujMxXu.js +0 -7
- package/dist/de-DE-D6R-XC2F.js +0 -7
- package/dist/el-GR-B1NjHThy.js +0 -7
- package/dist/el-GR-CedmhUFh.js +0 -7
- package/dist/en-US-D4NrsDmW.js +0 -7
- package/dist/es-ES-BM5RTwb7.js +0 -7
- package/dist/es-ES-C64v4NJD.js +0 -7
- package/dist/es-ES-DTUHhE47.js +0 -7
- package/dist/es-LA-B7pY2dp1.js +0 -7
- package/dist/es-LA-BjZq9RK_.js +0 -7
- package/dist/es-LA-CcMAcJ7u.js +0 -7
- package/dist/es-LA-DlL8vCjJ.js +0 -7
- package/dist/et-EE-DqhEsLik.js +0 -7
- package/dist/et-EE-FtKFvr3u.js +0 -7
- package/dist/et-EE-wDQx9HoZ.js +0 -7
- package/dist/fi-FI-KMP96Qxc.js +0 -7
- package/dist/fi-FI-RfGqWbnB.js +0 -7
- package/dist/fi-FI-SFw2grVp.js +0 -7
- package/dist/fr-FR-C8IPWMDL.js +0 -7
- package/dist/fr-FR-zDxTr2D3.js +0 -7
- package/dist/getFormSlice-C1ma6Xd4.js +0 -21
- package/dist/hr-HR-COvc9TZy.js +0 -7
- package/dist/hr-HR-Cqgf9B0v.js +0 -7
- package/dist/hr-HR-DPjuJ54x.js +0 -7
- package/dist/hu-HU-DIjDe5aa.js +0 -7
- package/dist/hu-HU-DyM1X3r6.js +0 -7
- package/dist/hu-HU-hB61p4H9.js +0 -7
- package/dist/it-IT-BKTDLRBT.js +0 -7
- package/dist/it-IT-BMXQzE0P.js +0 -7
- package/dist/ja-JP-BhHK_ru2.js +0 -7
- package/dist/ja-JP-BuFZko8b.js +0 -7
- package/dist/ja-JP-DbLRpEVj.js +0 -7
- package/dist/lt-LT-Be3q6tyu.js +0 -7
- package/dist/lt-LT-Btr5el2q.js +0 -7
- package/dist/lt-LT-D4raqCUa.js +0 -7
- package/dist/lv-LV-8wOWTo3r.js +0 -7
- package/dist/lv-LV-DBms129k.js +0 -7
- package/dist/lv-LV-DCeyOqHY.js +0 -7
- package/dist/nl-NL-CdHkQcOS.js +0 -7
- package/dist/nl-NL-Dyb3tkBi.js +0 -7
- package/dist/nl-NL-UhYf45fo.js +0 -7
- package/dist/no-NO-B-xCUkf4.js +0 -7
- package/dist/no-NO-DN7Ovyir.js +0 -7
- package/dist/no-NO-DXDddmYv.js +0 -7
- package/dist/pl-PL-BmiDQi18.js +0 -7
- package/dist/pl-PL-CBwRmIu5.js +0 -7
- package/dist/pl-PL-Cc09pXO8.js +0 -7
- package/dist/pt-BR-DA4PVtVa2.js +0 -7
- package/dist/pt-BR-DXGEP6IP.js +0 -7
- package/dist/pt-BR-hMhyqixD.js +0 -7
- package/dist/pt-PT-BXIKj_3F.js +0 -7
- package/dist/pt-PT-D2qX_lOd.js +0 -7
- package/dist/pt-PT-QU0CQs-d.js +0 -7
- package/dist/ro-RO-CQjOM8e-.js +0 -7
- package/dist/ro-RO-D4TQUwVB.js +0 -7
- package/dist/ro-RO-DNye-gMC.js +0 -7
- package/dist/sk-SK-2jlbtz2r.js +0 -7
- package/dist/sk-SK-CszMszV5.js +0 -7
- package/dist/sk-SK-CwbBfCsU.js +0 -7
- package/dist/sl-SI-9XdXVgB8.js +0 -7
- package/dist/sl-SI-Cyx0QtxG.js +0 -7
- package/dist/sv-SE--LlaHl85.js +0 -7
- package/dist/sv-SE-CqhSdYBe.js +0 -7
- package/dist/sv-SE-kbf3zbjX.js +0 -7
- package/dist/types/components/Shared/forms/Address/Address.d.ts +0 -3
- package/dist/useTaskStepperContext-BIEhTt1x.js +0 -15
- package/dist/validate-BjD_UO5x.js +0 -125
|
@@ -1,77 +1,79 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a125f173-dc0d-40b1-a4a9-8e371b0ddfc5", e._sentryDebugIdIdentifier = "sentry-dbid-a125f173-dc0d-40b1-a4a9-8e371b0ddfc5");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
-
import { E as useAllowedCountries, T as datasetUtilities, at as isUndefinedOrNull,
|
|
6
|
+
import { E as useAllowedCountries, T as datasetUtilities, at as isUndefinedOrNull, ft as useSettingsContext, j as useToggleContext, k as Header, nt as isEmpty, pt as useAccountHolder, rt as isISIN, x as Alert } from "./resolveEnvironment-D2iMH7UD.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
8
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
9
9
|
import { t as Loader } from "./Loader-BEpMlKm2.js";
|
|
10
|
-
import { t as Button } from "./Button-
|
|
10
|
+
import { t as Button } from "./Button-nDbNtBn3.js";
|
|
11
11
|
import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
|
|
12
12
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
|
|
13
13
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
14
14
|
import { a as objectsDeepEqual, n as doArraysMatch, o as entriesOf, s as keysOf } from "./genUtils-Ce61IJs8.js";
|
|
15
15
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
16
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
16
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-pjPK5vVN.js";
|
|
17
17
|
import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
|
|
18
18
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
19
|
-
import { _ as businessDetailsKeyMapping, f as solePropBusinessDetailsApiKeyMapping, g as businessDetailsDocumentMapping, h as businessDetailsApiKeyMapping, m as solePropBusinessDetailsKeyMapping, p as solePropBusinessDetailsDocumentMapping } from "./processCapabilities-
|
|
19
|
+
import { _ as businessDetailsKeyMapping, f as solePropBusinessDetailsApiKeyMapping, g as businessDetailsDocumentMapping, h as businessDetailsApiKeyMapping, m as solePropBusinessDetailsKeyMapping, p as solePropBusinessDetailsDocumentMapping } from "./processCapabilities-BfskhjUw.js";
|
|
20
20
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
21
21
|
import { r as filterOutUnwantedAssociationsIfRootLE, s as getOwnEntityAssociations } from "./entityAssociationUtil-CLBR9osP.js";
|
|
22
22
|
import { t as Scenarios } from "./get-scenarios-Bb-paHmJ.js";
|
|
23
|
-
import { i as useAnalyticsContext, n as ModalContent, t as Modal } from "./Modal-
|
|
23
|
+
import { i as useAnalyticsContext, n as ModalContent, t as Modal } from "./Modal-BDNS-0rS.js";
|
|
24
24
|
import { t as HandlerContext } from "./HandlerContext-DeMa68z0.js";
|
|
25
|
-
import { a as SettingNames, t as InputText } from "./InputText-
|
|
26
|
-
import { _ as
|
|
27
|
-
import { t as ListItem } from "./ListItem-
|
|
25
|
+
import { a as SettingNames, t as InputText } from "./InputText-Dr-Wg0uc.js";
|
|
26
|
+
import { _ as getPropsFromConfigurations, c as numericInputs, g as composePerScenarioFormConfigurations, i as alphanumericInputs, m as resolveFieldMetadata, n as uppercase, o as makeMask, r as alphaInputs, t as createFormRules, u as MaskedInput, v as LandingLayout } from "./form-rules-CKwx5XtT.js";
|
|
27
|
+
import { t as ListItem } from "./ListItem-CbjOa0L_.js";
|
|
28
|
+
import { t as getFormSlice } from "./getFormSlice-DzRO0UUx.js";
|
|
28
29
|
import { t as useBusinessLines } from "./useBusinessLines-BhSN6qCH.js";
|
|
29
30
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
30
|
-
import { n as useInvalidateRootLegalEntity, r as useToastContext } from "./useId-
|
|
31
|
-
import { A as
|
|
32
|
-
import { p as LoaderWrapper, r as Field } from "./Select-
|
|
33
|
-
import { n as Confirm, t as StructuredList } from "./StructuredList-
|
|
34
|
-
import { A as
|
|
31
|
+
import { n as useInvalidateRootLegalEntity, r as useToastContext } from "./useId-BMocIuPK.js";
|
|
32
|
+
import { A as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, C as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, D as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, E as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, F as taxInformationDefaultFieldConfig, H as CompanyTypesValues, I as taxInformationDefaultFieldMetadata, O as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, P as getTaxInformationPlaceholderText, S as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, T as COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS, V as isJapanLocalizationEnabled, _ as taxIdNumberOptions, b as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, c as TileGroup, g as getValidCompanyTypesForTaxIdNumberType, h as getTaxIdNumberOptions, j as isUsingCompanySearch, k as REGISTRATION_NUMBER_EXEMPTION_RULES, l as TAX_INFORMATION_FIELD, u as TaxInformationField, w as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, x as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, y as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION } from "./bafinUtils-h8n1IbJ9.js";
|
|
33
|
+
import { p as LoaderWrapper, r as Field } from "./Select-UO37dd_q.js";
|
|
34
|
+
import { n as Confirm, t as StructuredList } from "./StructuredList-CqZM_5X9.js";
|
|
35
|
+
import { A as mergeFieldMetadataIntoProps, M as FormContextProvider, T as Summary_module_default, c as validatePatternOnBlur, d as useFormContext, f as addValidityToForms, g as useMultiForm, k as createFormUtils, l as COUNTRY_FIELD, m as FormFlow, s as validateNotEmptyOnBlur, t as RadioGroup, u as CountryField, x as summaryStep, y as useFormComposer } from "./RadioGroup-C0mNADXE.js";
|
|
35
36
|
import { t as Image } from "./Image-D82terx4.js";
|
|
36
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
37
|
-
import { r as useDebouncedCallback, t as Checkbox } from "./Checkbox-
|
|
38
|
-
import {
|
|
39
|
-
import { t as
|
|
40
|
-
import { a as
|
|
41
|
-
import { a as
|
|
37
|
+
import { t as ErrorPanel } from "./ErrorPanel-tLtZnFnX.js";
|
|
38
|
+
import { r as useDebouncedCallback, t as Checkbox } from "./Checkbox-BiKnP2fS.js";
|
|
39
|
+
import { c as mapAddressLabelsNewSummary, d as COUNTRIES_WITH_STATES_DATASET, i as getAddressSchemaForCountry, n as StateField, o as getKeyForField, r as stateFieldMetadata, t as STATE_FIELD } from "./StateField-CWS8eXex.js";
|
|
40
|
+
import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-BrdI-awc.js";
|
|
41
|
+
import { a as isRegistrationNumberAbsentStateV4Scenario, c as CountryOfGoverningLawField, i as isRegistrationExemptionAllowed, l as useLegalCompanyNameField, n as getCountryOfGoverningLaw, o as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, r as isFinancialInformationRequired, s as COUNTRY_OF_GOVERNING_LAW_FIELD, t as CountryOfGoverningLawFieldValidation, u as localizedLegalCompanyNameFieldConfig } from "./validate-BqIbVY0E.js";
|
|
42
|
+
import { a as getValidCompanyTypesForRegistrationNumberType, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, t as getDefaultRegistrationNumberType, u as registrationNumberDefaultFieldMetadata } from "./getDefaultRegistrationNumberType-6m6DEmW8.js";
|
|
43
|
+
import { n as BusinessRegistrationNumberField, t as BUSINESS_REGISTRATION_NUMBER_FIELD } from "./BusinessRegistrationNumberField-DHccXqsX.js";
|
|
42
44
|
import { t as useScenarios } from "./useScenarios-CGcmXgJv.js";
|
|
43
45
|
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CYZd_62a.js";
|
|
44
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
45
|
-
import {
|
|
46
|
-
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-
|
|
47
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
48
|
-
import { i as JP_ADDRESS_REQUIRED_FIELDS, r as mapJpAddressSummaryNewSummary, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
49
|
-
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-
|
|
50
|
-
import { a as createDocumentRequest, c as getDocuments, f as mergeProofOfOwnershipAttachments, l as getFileExtention, o as documentApiUtils, s as getDocument } from "./validate-
|
|
46
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-CvACAgDP.js";
|
|
47
|
+
import { o as nestAddressSchema, r as flattenAddressSchema } from "./AddressFields-3kqeRdC_.js";
|
|
48
|
+
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-CDahgHsP.js";
|
|
49
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-Cf1fN_gV.js";
|
|
50
|
+
import { i as JP_ADDRESS_REQUIRED_FIELDS, r as mapJpAddressSummaryNewSummary, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-CX2djRYM.js";
|
|
51
|
+
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-CRWq2tu-.js";
|
|
52
|
+
import { a as createDocumentRequest, c as getDocuments, f as mergeProofOfOwnershipAttachments, l as getFileExtention, o as documentApiUtils, s as getDocument } from "./validate-DiEa5w30.js";
|
|
51
53
|
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
52
|
-
import {
|
|
53
|
-
import { a as isValidationError, r as isBusinessSelectionLegalArrangementError } from "./validationError-
|
|
54
|
-
import {
|
|
54
|
+
import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, t as PatriotActDisclosure } from "./PatriotActDisclosure-kOnDnF8P.js";
|
|
55
|
+
import { a as isValidationError, r as isBusinessSelectionLegalArrangementError } from "./validationError-BhICjGiF.js";
|
|
56
|
+
import { i as formatAddressForCleanse, n as formatDateObj, o as useAddressCleanseImperatively, t as InputDate } from "./InputDate-C14J5Af2.js";
|
|
57
|
+
import { t as addressValidators } from "./validate-Dfw99Sal.js";
|
|
55
58
|
import { t as capitalize } from "./getProps-DVqK7eRw.js";
|
|
56
|
-
import { t as Link } from "./Link-
|
|
57
|
-
import {
|
|
58
|
-
import { t as formatValidationError } from "./formatValidationError-DGv-uwBi.js";
|
|
59
|
+
import { t as Link } from "./Link-opuU6bLF.js";
|
|
60
|
+
import { t as formatValidationError } from "./formatValidationError-DZ1CxHdw.js";
|
|
59
61
|
import { t as isEmpty$1 } from "./isEmpty-DD8Insy0.js";
|
|
60
|
-
import { t as DataConflictsModal } from "./DataConflictsModal-
|
|
62
|
+
import { t as DataConflictsModal } from "./DataConflictsModal-Bz2SYyi5.js";
|
|
61
63
|
import { n as mapApiScriptLocalizationToSchemaFields, r as mapSchemaFieldsToApiScriptLocalization, t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js";
|
|
62
|
-
import { t as currencyByCountry } from "./types-
|
|
64
|
+
import { t as currencyByCountry } from "./types-Bdfu7HN6.js";
|
|
63
65
|
import { t as Divider } from "./Divider-BENvVRnz.js";
|
|
64
|
-
import { n as SummarySection, t as NewSummary } from "./NewSummary-
|
|
66
|
+
import { n as SummarySection, t as NewSummary } from "./NewSummary-mLsovGX8.js";
|
|
65
67
|
import { t as DetailViewLayout } from "./DetailViewLayout-DNCGEd7b.js";
|
|
66
|
-
import { a as LegalFormField, c as isDateOlderThanAYear, i as InputCurrency, l as mapAddressData, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD } from "./Currency-
|
|
68
|
+
import { a as LegalFormField, c as isDateOlderThanAYear, i as InputCurrency, l as mapAddressData, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD } from "./Currency-CFsMnSP0.js";
|
|
67
69
|
import { t as useTaskStatus } from "./useTaskStatus-CgrhdaE_.js";
|
|
68
|
-
import { a as getValidCompanyTypesForRegistrationNumberType, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-CX4-v376.js";
|
|
69
70
|
import { t as useIndustryCodes } from "./useIndustryCodes-uAj90IyS.js";
|
|
70
71
|
import { n as formatCurrency } from "./formatCurrency-Cq3WFpdZ.js";
|
|
71
72
|
import { n as useCreateBusinessLine, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-DCKYTzxd.js";
|
|
72
|
-
import { a as
|
|
73
|
-
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-
|
|
74
|
-
import {
|
|
73
|
+
import { _ as dateOfIncorporationFieldMetadata, a as defaultFieldConfig$1, c as REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS, d as doingBusinessAsFieldMetadata, f as DBANameField, h as DateOfIncorporationField, i as getDefaultVatNumberType, l as RegistrationAndOperationalAddressFields, m as DATE_OF_INCORPORATION_FIELD, n as VAT_NUMBER_FIELD, o as defaultFieldMetadata$1, p as DBA_NAME_FIELD, r as VatNumberField, s as vatAbsenceReasonMetadata, t as MemoizedConstitutionalDocument, u as doingBusinessAsAbsentFieldMetadata } from "./ConstitutionalDocument-CtRHXMb9.js";
|
|
74
|
+
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-B9iXz9xK.js";
|
|
75
|
+
import { n as LEGAL_ARRANGEMENT_COUNTRIES_REQUIRING_DATE_OF_INCORPORATION } from "./legalArrangementUtils-skU_cq9L.js";
|
|
76
|
+
import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-BMhvbUV1.js";
|
|
75
77
|
import { lazy } from "preact/compat";
|
|
76
78
|
import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
77
79
|
import cx from "classnames";
|
|
@@ -80,43 +82,6 @@ import { createModel, signal, useModel, useSignal } from "@preact/signals";
|
|
|
80
82
|
import { queryOptions, skipToken, useMutation, useQuery, useQueryClient } from "@tanstack/preact-query";
|
|
81
83
|
import { createContext as createContext$1 } from "preact";
|
|
82
84
|
import { Show } from "@preact/signals/utils";
|
|
83
|
-
//#region src/components/Shared/fields/DateOfIncorporationField/DateOfIncorporationField.tsx
|
|
84
|
-
var DATE_OF_INCORPORATION_FIELD = ["dateOfIncorporation"];
|
|
85
|
-
function DateOfIncorporationField({ data, valid, errors, placeholder, readonly, handleChangeFor }) {
|
|
86
|
-
const { t } = useTranslation("common");
|
|
87
|
-
return /* @__PURE__ */ jsx(Field, {
|
|
88
|
-
name: "dateOfIncorporation",
|
|
89
|
-
label: t(($) => $["dateOfIncorporation"]),
|
|
90
|
-
errorMessage: errors.dateOfIncorporation,
|
|
91
|
-
isValid: valid.dateOfIncorporation,
|
|
92
|
-
children: (childProps) => /* @__PURE__ */ jsx(InputDate, {
|
|
93
|
-
...childProps,
|
|
94
|
-
"aria-required": true,
|
|
95
|
-
"aria-invalid": !valid.dateOfIncorporation,
|
|
96
|
-
name: "dateOfIncorporation",
|
|
97
|
-
value: data.dateOfIncorporation,
|
|
98
|
-
placeholder,
|
|
99
|
-
readonly,
|
|
100
|
-
onInput: handleChangeFor("dateOfIncorporation", "input"),
|
|
101
|
-
onBlur: handleChangeFor("dateOfIncorporation", "blur"),
|
|
102
|
-
max: formatDateObj(/* @__PURE__ */ new Date()),
|
|
103
|
-
min: formatDateObj(new Date(1900, 0, 1))
|
|
104
|
-
})
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
//#endregion
|
|
108
|
-
//#region src/components/Shared/fields/DateOfIncorporationField/fieldConfig.ts
|
|
109
|
-
var validateDateOfIncorporation = (dateOfIncorporation) => {
|
|
110
|
-
if (!dateOfIncorporation) return false;
|
|
111
|
-
const date = new Date(dateOfIncorporation);
|
|
112
|
-
return date < /* @__PURE__ */ new Date() && date > new Date(1900, 0, 1);
|
|
113
|
-
};
|
|
114
|
-
var dateOfIncorporationFieldMetadata = { validators: [validateNotEmptyOnBlur, {
|
|
115
|
-
modes: ["blur"],
|
|
116
|
-
validate: validateDateOfIncorporation,
|
|
117
|
-
errorMessage: "invalidDateOfIncorporation"
|
|
118
|
-
}] };
|
|
119
|
-
//#endregion
|
|
120
85
|
//#region src/components/Shared/fields/EInvoicingCodeField/EInvoicingCodeField.tsx
|
|
121
86
|
var EINVOICING_CODE_FIELD = ["eInvoicingCode"];
|
|
122
87
|
function EInvoicingCodeField({ data, valid, errors, labels, readonly, mask, shouldValidate, handleChangeFor }) {
|
|
@@ -368,22 +333,6 @@ var useClearCompanyData = (options) => {
|
|
|
368
333
|
...options
|
|
369
334
|
});
|
|
370
335
|
};
|
|
371
|
-
var localizedLegalCompanyNameFieldConfig = {
|
|
372
|
-
jaHaniLegalCompanyName: {
|
|
373
|
-
config: {
|
|
374
|
-
label: "jaHaniLegalCompanyName",
|
|
375
|
-
validators: validateJaHaniLegalCompanyName
|
|
376
|
-
},
|
|
377
|
-
metadata: { label: "jaHaniLegalCompanyName" }
|
|
378
|
-
},
|
|
379
|
-
jaKanaLegalCompanyName: {
|
|
380
|
-
config: {
|
|
381
|
-
label: "jaKanaLegalCompanyName",
|
|
382
|
-
validators: validateJaKanaLegalCompanyName
|
|
383
|
-
},
|
|
384
|
-
metadata: { label: "jaKanaLegalCompanyName" }
|
|
385
|
-
}
|
|
386
|
-
};
|
|
387
336
|
var BasicInformation_module_default = {
|
|
388
337
|
"basic-information": "_basic-information_1rbd4_1",
|
|
389
338
|
basicInformation: "_basic-information_1rbd4_1"
|
|
@@ -416,60 +365,23 @@ function BasicInformation({ id, country, shouldValidate, fieldValidationErrors =
|
|
|
416
365
|
const { t } = useTranslation(["common", "business"]);
|
|
417
366
|
const { t: businessT } = useTranslation("business");
|
|
418
367
|
const { isSettingEnabled } = useSettingsContext();
|
|
419
|
-
const { isFeatureEnabled } = useToggleContext();
|
|
420
368
|
const { form } = useFormContext();
|
|
421
369
|
const allowedCountries = useAllowedCountries();
|
|
422
370
|
const isAllowedEditPrefilledCountry = isSettingEnabled(SettingNames.AllowPrefilledCountryEdit);
|
|
423
|
-
const { data, defaultData, valid, errors,
|
|
371
|
+
const { data, defaultData, valid, errors, requiredFields, optionalFields, obscuredFields, trustedFields, fieldProblems, handleChange: handleChangeFor } = getFormSlice(form, "basicInformation");
|
|
424
372
|
const state = data?.stateOrProvince;
|
|
425
373
|
const currentCountryTaxInformation = data?.taxInformation?.find((tax) => tax.country === country);
|
|
426
|
-
const formUtils = useMemo$1(() => {
|
|
427
|
-
|
|
428
|
-
data: data ?? {},
|
|
429
|
-
fieldValidationErrors,
|
|
430
|
-
formVerificationErrors,
|
|
431
|
-
allFields: allFields ?? [],
|
|
432
|
-
requiredFields: requiredFields ?? [],
|
|
433
|
-
optionalFields: optionalFields ?? [],
|
|
434
|
-
trustedFields: trustedFields ?? [],
|
|
435
|
-
obscuredFields: obscuredFields ?? [],
|
|
436
|
-
errors: errors ?? {},
|
|
437
|
-
valid: valid ?? {},
|
|
438
|
-
handleFieldChange: handleChangeFor
|
|
439
|
-
};
|
|
440
|
-
const formUtilProps = initialProps.allFields?.reduce((acc, field) => {
|
|
441
|
-
switch (field) {
|
|
442
|
-
case "country": return acc;
|
|
443
|
-
case "legalCompanyName": return mergeFieldMetadataIntoProps(field, resolveFieldMetadata(isFeatureEnabled("StrictNameAndAddressValidationV4") ? defaultFieldConfigV4[country] : defaultFieldConfig$1[country], {}, isFeatureEnabled("StrictNameAndAddressValidationV4") ? defaultFieldMetadataV4 : defaultFieldMetadata$1), acc);
|
|
444
|
-
case "countryOfGoverningLaw": return acc;
|
|
445
|
-
case "stateOrProvince": return acc;
|
|
446
|
-
case "taxInformation": return mergeFieldMetadataIntoProps(field, resolveFieldMetadata(taxInformationDefaultFieldConfig[country], {
|
|
447
|
-
taxIdNumberType: currentCountryTaxInformation?.type,
|
|
448
|
-
companyType
|
|
449
|
-
}, taxInformationDefaultFieldMetadata), acc);
|
|
450
|
-
case "jaHaniLegalCompanyName": return mergeFieldMetadataIntoProps(field, resolveFieldMetadata(localizedLegalCompanyNameFieldConfig.jaHaniLegalCompanyName.config, {}, localizedLegalCompanyNameFieldConfig.jaHaniLegalCompanyName.metadata), acc);
|
|
451
|
-
case "jaKanaLegalCompanyName": return mergeFieldMetadataIntoProps(field, resolveFieldMetadata(localizedLegalCompanyNameFieldConfig.jaKanaLegalCompanyName.config, {}, localizedLegalCompanyNameFieldConfig.jaKanaLegalCompanyName.metadata), acc);
|
|
452
|
-
default: return acc;
|
|
453
|
-
}
|
|
454
|
-
}, initialProps);
|
|
455
|
-
return createFormUtils(formUtilProps ?? initialProps, t);
|
|
456
|
-
}, [
|
|
457
|
-
companyType,
|
|
458
|
-
country,
|
|
459
|
-
currentCountryTaxInformation?.type,
|
|
460
|
-
allFields,
|
|
461
|
-
data,
|
|
462
|
-
errors,
|
|
463
|
-
obscuredFields,
|
|
374
|
+
const formUtils = useMemo$1(() => createFormUtils({
|
|
375
|
+
requiredFields,
|
|
464
376
|
optionalFields,
|
|
377
|
+
trustedFields,
|
|
378
|
+
obscuredFields
|
|
379
|
+
}, t), [
|
|
465
380
|
requiredFields,
|
|
381
|
+
optionalFields,
|
|
466
382
|
trustedFields,
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
isFeatureEnabled,
|
|
470
|
-
t,
|
|
471
|
-
fieldValidationErrors,
|
|
472
|
-
formVerificationErrors
|
|
383
|
+
obscuredFields,
|
|
384
|
+
t
|
|
473
385
|
]);
|
|
474
386
|
const showField = (fieldKeys) => fieldKeys.some((field) => {
|
|
475
387
|
switch (field) {
|
|
@@ -550,7 +462,7 @@ function BasicInformation({ id, country, shouldValidate, fieldValidationErrors =
|
|
|
550
462
|
data: formUtils.getFieldData(data ?? {}, STATE_FIELD),
|
|
551
463
|
valid: formUtils.getFieldValid(valid ?? {}, STATE_FIELD),
|
|
552
464
|
errors: formUtils.getFieldErrors(errors ?? {}, fieldValidationErrors, STATE_FIELD),
|
|
553
|
-
|
|
465
|
+
labelOverride: t(($) => $["whereIsYourBusinessRegistered"]),
|
|
554
466
|
readonly: formUtils.isReadOnly("stateOrProvince"),
|
|
555
467
|
handleChangeFor,
|
|
556
468
|
selectedCountry: country
|
|
@@ -559,8 +471,6 @@ function BasicInformation({ id, country, shouldValidate, fieldValidationErrors =
|
|
|
559
471
|
data: formUtils.getFieldData(data ?? {}, TAX_INFORMATION_FIELD),
|
|
560
472
|
valid: formUtils.getFieldValid(valid ?? {}, TAX_INFORMATION_FIELD),
|
|
561
473
|
errors: formUtils.getFieldErrors(errors ?? {}, fieldValidationErrors, TAX_INFORMATION_FIELD),
|
|
562
|
-
labels: formUtils.getFieldLabels(TAX_INFORMATION_FIELD, { exemptedFromTax: "iDontHaveATaxId" }),
|
|
563
|
-
mask: formUtils.getMask("taxInformation"),
|
|
564
474
|
placeholder: getTaxInformationPlaceholderText({
|
|
565
475
|
country,
|
|
566
476
|
companyType,
|
|
@@ -1150,30 +1060,6 @@ var companyTypeMetadata = {
|
|
|
1150
1060
|
};
|
|
1151
1061
|
var companyTypeOptions = Object.keys(companyTypeMetadata);
|
|
1152
1062
|
//#endregion
|
|
1153
|
-
//#region src/components/Business/utils/utils.ts
|
|
1154
|
-
var isFinancialInformationRequired = (isFinancialInformationFeatureEnabled, taskType, country, capabilities, rootLegalEntityType) => {
|
|
1155
|
-
const isOrganization = rootLegalEntityType === LegalEntityTypes.ORGANIZATION;
|
|
1156
|
-
if (!isFinancialInformationFeatureEnabled || !COUNTRIES_REQUIRING_FINANCIAL_INFORMATION.includes(country)) return;
|
|
1157
|
-
if (country === CountryCodes.UnitedKingdom && (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY || taskType === TaskTypes.BUSINESS_DETAILS)) return "REQUIRED";
|
|
1158
|
-
if (taskType === TaskTypes.BUSINESS_DETAILS && isOrganization) {
|
|
1159
|
-
if (keysOf(capabilities ?? {}).some((capability) => capability === "issueBankAccount")) return "REQUIRED";
|
|
1160
|
-
}
|
|
1161
|
-
};
|
|
1162
|
-
var getCountryOfGoverningLaw = (isCountryOfGoverningLawEnabled, basicData) => {
|
|
1163
|
-
if (!isCountryOfGoverningLawEnabled || basicData?.country !== CountryCodes.UnitedKingdom) return;
|
|
1164
|
-
return !basicData.countryOfGoverningLaw ? CountryCodes.UnitedKingdom : basicData.countryOfGoverningLaw;
|
|
1165
|
-
};
|
|
1166
|
-
/**
|
|
1167
|
-
* Checks if a country allows registration number exemption for business details.
|
|
1168
|
-
*
|
|
1169
|
-
* @param country The country code to check.
|
|
1170
|
-
* @returns True if the country allows registration number exemption, false otherwise.
|
|
1171
|
-
*/
|
|
1172
|
-
var isRegistrationExemptionAllowed = (country) => country in REGISTRATION_NUMBER_EXEMPTION_RULES;
|
|
1173
|
-
var isRegistrationNumberAbsentStateV4Scenario = (country, entityType) => {
|
|
1174
|
-
return country === CountryCodes.Australia && (entityType === CompanyTypesValues.GOVERNMENTAL_ORGANIZATION || entityType === CompanyTypesValues.INCORPORATED_PARTNERSHIP) || country === CountryCodes.NewZealand;
|
|
1175
|
-
};
|
|
1176
|
-
//#endregion
|
|
1177
1063
|
//#region src/components/Business/utils/getAvailableCompanyStructures.ts
|
|
1178
1064
|
function getAvailableCompanyStructures({ country, registrationNumberType, registrationNumberExempt, taxIdNumberType, legalEntity, accountHolder, isSettingEnabled }) {
|
|
1179
1065
|
const isRootOrganization = isSettingEnabled(SettingNames.AllowLegalEntityTypeChange) && accountHolder !== "aTrust" && accountHolder !== "anUnincorporatedPartnership";
|
|
@@ -2179,10 +2065,24 @@ var financialInfoValidationWithEmployeesRules = {
|
|
|
2179
2065
|
...financialInfoValidationEmployeesOnlyRules
|
|
2180
2066
|
};
|
|
2181
2067
|
//#endregion
|
|
2068
|
+
//#region src/components/Business/forms/rules.constants.ts
|
|
2069
|
+
var COUNTRIES_REQUIRING_E_INVOICING_CODE = [CountryCodes.Italy];
|
|
2070
|
+
var ORGANIZATION_COUNTRIES_REQUIRING_DATE_OF_INCORPORATION = [
|
|
2071
|
+
CountryCodes.HongKong,
|
|
2072
|
+
CountryCodes.Singapore,
|
|
2073
|
+
CountryCodes.India,
|
|
2074
|
+
CountryCodes.Japan,
|
|
2075
|
+
CountryCodes.UnitedArabEmirates
|
|
2076
|
+
];
|
|
2077
|
+
var COUNTRIES_THAT_USES_UEN_OR_GST = [CountryCodes.Singapore];
|
|
2078
|
+
//#endregion
|
|
2182
2079
|
//#region src/components/Business/forms/rules.ts
|
|
2183
2080
|
var rules = ({ data, defaultData, verifiedBusiness, country, taskType, isFeatureEnabled = () => false, isSettingEnabled = () => false, getSetting = () => void 0, accountHolder, rootLegalEntity, tinMatched }) => {
|
|
2184
2081
|
const countryRequiresDateOfIncorporationForCompanies = () => {
|
|
2185
|
-
|
|
2082
|
+
switch (taskType) {
|
|
2083
|
+
case "SOLE_PROPRIETOR_COMPANY": return LEGAL_ARRANGEMENT_COUNTRIES_REQUIRING_DATE_OF_INCORPORATION.includes(country) ? "REQUIRED" : void 0;
|
|
2084
|
+
default: return ORGANIZATION_COUNTRIES_REQUIRING_DATE_OF_INCORPORATION.includes(country) ? "REQUIRED" : void 0;
|
|
2085
|
+
}
|
|
2186
2086
|
};
|
|
2187
2087
|
const countryRequiresFinancialInformation = () => {
|
|
2188
2088
|
const isFinancialInformationFeatureEnabled = isFeatureEnabled("EnableFinancialInformationComponentV4");
|
|
@@ -2225,12 +2125,14 @@ var rules = ({ data, defaultData, verifiedBusiness, country, taskType, isFeature
|
|
|
2225
2125
|
if (!COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country)) return data.additionalInformation?.exemptedFromVat ? "REQUIRED" : "OPTIONAL";
|
|
2226
2126
|
},
|
|
2227
2127
|
countryUsesTaxId: () => {
|
|
2228
|
-
const
|
|
2229
|
-
const
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2128
|
+
const requiredUnlessExempt = Boolean(data.basicInformation?.exemptedFromTax) ? "OPTIONAL" : "REQUIRED";
|
|
2129
|
+
const usesTaxIdInsteadOfVat = COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country);
|
|
2130
|
+
if (rootLegalEntity?.type === "organization" && keysOf(rootLegalEntity.capabilities ?? {}).includes("issueBankAccount")) {
|
|
2131
|
+
if (TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION.includes(country)) return requiredUnlessExempt;
|
|
2132
|
+
if (country === CountryCodes.Italy && data.basicInformation?.registrationNumberType === "CCIAA") return requiredUnlessExempt;
|
|
2133
|
+
}
|
|
2134
|
+
if (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY && COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP.includes(country)) return;
|
|
2135
|
+
return usesTaxIdInsteadOfVat ? requiredUnlessExempt : void 0;
|
|
2234
2136
|
},
|
|
2235
2137
|
companyRegistrationNumberExemptionAllowed: () => {
|
|
2236
2138
|
const isExemptFromRegistrationNumber = Boolean(data.basicInformation?.exemptedFromRegistrationNumber);
|
|
@@ -3691,7 +3593,7 @@ var applyVerifiedBusinessData = (form, country, verifiedData, options) => {
|
|
|
3691
3593
|
form.handleChangeFor("basicInformation", "registrationNumberType")(inferredRegistrationNumberType);
|
|
3692
3594
|
}
|
|
3693
3595
|
const companyType = options?.companyTypeOverride ?? verifiedData.companyType;
|
|
3694
|
-
form.handleChangeFor("companyStructure", "entityType")(companyType);
|
|
3596
|
+
if (companyType) form.handleChangeFor("companyStructure", "entityType")(companyType);
|
|
3695
3597
|
if (!(form.defaultData?.additionalInformation?.registrationAddressStreet || form.defaultData?.additionalInformation?.operationalAddressStreet)) {
|
|
3696
3598
|
if (verifiedData.principalPlaceOfBusinessAddress) form.handleChangeFor("additionalInformation", "operationalAddressIsSame", "input")(false);
|
|
3697
3599
|
const addressFields = [...form.requiredFields?.additionalInformation ?? [], ...form.optionalFields?.additionalInformation ?? []];
|
|
@@ -3789,12 +3691,12 @@ function basicInformationValidators({ country, taxIdNumberType, companyType, reg
|
|
|
3789
3691
|
return {
|
|
3790
3692
|
country: CountryFieldValidation().country,
|
|
3791
3693
|
countryOfGoverningLaw: CountryOfGoverningLawFieldValidation().countryOfGoverningLaw,
|
|
3792
|
-
legalCompanyName: resolveFieldMetadata(isFeatureEnabled("StrictNameAndAddressValidationV4") ? defaultFieldConfigV4[country] : defaultFieldConfig
|
|
3694
|
+
legalCompanyName: resolveFieldMetadata(isFeatureEnabled("StrictNameAndAddressValidationV4") ? defaultFieldConfigV4[country] : defaultFieldConfig[country], {}, isFeatureEnabled("StrictNameAndAddressValidationV4") ? defaultFieldMetadataV4 : defaultFieldMetadata).validators,
|
|
3793
3695
|
taxInformation: resolveFieldMetadata(taxInformationDefaultFieldConfig[country], {
|
|
3794
3696
|
taxIdNumberType,
|
|
3795
3697
|
companyType
|
|
3796
3698
|
}, taxInformationDefaultFieldMetadata).validators,
|
|
3797
|
-
stateOrProvince:
|
|
3699
|
+
stateOrProvince: stateFieldMetadata.validators,
|
|
3798
3700
|
registrationNumber: resolveFieldMetadata(registrationNumberDefaultFieldConfig[country], {
|
|
3799
3701
|
companyType,
|
|
3800
3702
|
registrationNumberType,
|
|
@@ -3828,7 +3730,7 @@ function additionalInformationValidators({ country, vatNumberType, isFeatureEnab
|
|
|
3828
3730
|
hasDoingBusinessAs: doingBusinessAsAbsentFieldMetadata.validators,
|
|
3829
3731
|
doingBusinessAs: doingBusinessAsFieldMetadata.validators,
|
|
3830
3732
|
legalEntityIdentifier: legalEntityIdentifierFieldMetadata.validators,
|
|
3831
|
-
vatNumber: resolveFieldMetadata(defaultFieldConfig$
|
|
3733
|
+
vatNumber: resolveFieldMetadata(defaultFieldConfig$1[country], { vatNumberType }, defaultFieldMetadata$1).validators,
|
|
3832
3734
|
vatAbsenceReason: vatAbsenceReasonMetadata.validators,
|
|
3833
3735
|
eInvoicingCode: eInvoicingCodeFieldMetadata.validators,
|
|
3834
3736
|
industryCodes: industryCodeFieldMetadata.validators,
|
|
@@ -4507,7 +4409,7 @@ function AdditionalInformation({ id, country, companyType, shouldValidate, field
|
|
|
4507
4409
|
switch (field) {
|
|
4508
4410
|
case "hasDoingBusinessAs": return mergeFieldMetadataIntoProps("hasDoingBusinessAs", doingBusinessAsAbsentFieldMetadata, acc);
|
|
4509
4411
|
case "doingBusinessAs": return mergeFieldMetadataIntoProps("doingBusinessAs", doingBusinessAsFieldMetadata, acc);
|
|
4510
|
-
case "vatNumber": return mergeFieldMetadataIntoProps(field, resolveFieldMetadata(defaultFieldConfig$
|
|
4412
|
+
case "vatNumber": return mergeFieldMetadataIntoProps(field, resolveFieldMetadata(defaultFieldConfig$1[country], { vatNumberType: data?.vatNumberType }, defaultFieldMetadata$1), acc);
|
|
4511
4413
|
case "vatAbsenceReason": return mergeFieldMetadataIntoProps("vatAbsenceReason", vatAbsenceReasonMetadata, acc);
|
|
4512
4414
|
case "eInvoicingCode": return mergeFieldMetadataIntoProps("eInvoicingCode", eInvoicingCodeFieldMetadata, acc);
|
|
4513
4415
|
case "industryCodes": return mergeFieldMetadataIntoProps("industryCodes", industryCodeFieldMetadata, acc);
|
|
@@ -4631,7 +4533,8 @@ function AdditionalInformation({ id, country, companyType, shouldValidate, field
|
|
|
4631
4533
|
errors: formUtils.getFieldErrors(errors ?? {}, fieldValidationErrors, DATE_OF_INCORPORATION_FIELD),
|
|
4632
4534
|
placeholder: t(($) => $["datePlaceholder"]),
|
|
4633
4535
|
readonly: formUtils.isReadOnly("dateOfIncorporation"),
|
|
4634
|
-
handleChangeFor
|
|
4536
|
+
handleChangeFor,
|
|
4537
|
+
country
|
|
4635
4538
|
})
|
|
4636
4539
|
] })] }),
|
|
4637
4540
|
showStockData && /* @__PURE__ */ jsxs("section", { children: [/* @__PURE__ */ jsx("div", {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "dab53768-8509-49aa-9bec-faa7d81a42c9", e._sentryDebugIdIdentifier = "sentry-dbid-dab53768-8509-49aa-9bec-faa7d81a42c9");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
5
|
+
import { ft as useSettingsContext, h as isPartOfTrustFromLegalEntity } from "./resolveEnvironment-D2iMH7UD.js";
|
|
6
6
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
7
7
|
import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-CLBR9osP.js";
|
|
8
|
-
import { a as SettingNames } from "./InputText-
|
|
8
|
+
import { a as SettingNames } from "./InputText-Dr-Wg0uc.js";
|
|
9
9
|
//#region src/hooks/useLegalEntityType.ts
|
|
10
10
|
var useLegalEntityType = ({ legalEntity }) => {
|
|
11
11
|
const isTrust = isPartOfTrustFromLegalEntity(legalEntity);
|
package/dist/{useDataMissingRemediations-Cd-jucOu.js → useDataMissingRemediations-D-NZOgal.js}
RENAMED
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "71b7a750-5d2e-4e91-9f0f-cd6cd5ffb63f", e._sentryDebugIdIdentifier = "sentry-dbid-71b7a750-5d2e-4e91-9f0f-cd6cd5ffb63f");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
-
import { C as EntityTypes, T as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING } from "./processCapabilities-
|
|
6
|
+
import { C as EntityTypes, T as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING } from "./processCapabilities-BfskhjUw.js";
|
|
7
7
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
8
8
|
import { useMemo } from "preact/hooks";
|
|
9
9
|
//#region src/hooks/useDataMissingRemediations.ts
|
|
@@ -2,10 +2,10 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "62a030b9-a914-4548-8f7d-326de0de0b09", e._sentryDebugIdIdentifier = "sentry-dbid-62a030b9-a914-4548-8f7d-326de0de0b09");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { nt as isEmpty } from "./resolveEnvironment-
|
|
5
|
+
import { nt as isEmpty } from "./resolveEnvironment-D2iMH7UD.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
7
|
import { n as doArraysMatch } from "./genUtils-Ce61IJs8.js";
|
|
8
|
-
import { l as omitKeys, o as ValidationResult, s as addKeys } from "./Select-
|
|
8
|
+
import { l as omitKeys, o as ValidationResult, s as addKeys } from "./Select-UO37dd_q.js";
|
|
9
9
|
import { useCallback, useEffect, useMemo, useReducer, useState } from "preact/hooks";
|
|
10
10
|
//#region src/hooks/useAsyncValidator.ts
|
|
11
11
|
var logger = createLogger();
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d0d70650-d764-413e-ab8c-d5c0dd32ec29", e._sentryDebugIdIdentifier = "sentry-dbid-d0d70650-d764-413e-ab8c-d5c0dd32ec29");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { t as useTaskStepperContext } from "./useTaskStepperContext-
|
|
6
|
-
import {
|
|
5
|
+
import { t as useTaskStepperContext } from "./useTaskStepperContext-DCNMsKUc.js";
|
|
6
|
+
import { useRef } from "preact/hooks";
|
|
7
|
+
import { useSignalEffect } from "@preact/signals";
|
|
7
8
|
//#region src/adaptiveWorkflow/context/TaskStepperContext/useHideTaskStepper.ts
|
|
8
9
|
/**
|
|
9
10
|
* Hides the task stepper buttons
|
|
@@ -12,14 +13,14 @@ import { useEffect, useRef } from "preact/hooks";
|
|
|
12
13
|
*/
|
|
13
14
|
function useHideTaskStepper() {
|
|
14
15
|
const isStepperVisibilityUpdated = useRef(false);
|
|
15
|
-
const {
|
|
16
|
+
const { isStepperVisible } = useTaskStepperContext();
|
|
16
17
|
if (!isStepperVisibilityUpdated.current) {
|
|
17
|
-
|
|
18
|
+
isStepperVisible.value = false;
|
|
18
19
|
isStepperVisibilityUpdated.current = true;
|
|
19
20
|
}
|
|
20
|
-
|
|
21
|
-
return () =>
|
|
22
|
-
}
|
|
21
|
+
useSignalEffect(() => {
|
|
22
|
+
return () => isStepperVisible.value = true;
|
|
23
|
+
});
|
|
23
24
|
}
|
|
24
25
|
//#endregion
|
|
25
26
|
export { useHideTaskStepper as t };
|
|
@@ -2,7 +2,7 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "60aef8d3-d907-43ac-a141-1fb628abd344", e._sentryDebugIdIdentifier = "sentry-dbid-60aef8d3-d907-43ac-a141-1fb628abd344");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { L as ToastContext } from "./resolveEnvironment-
|
|
5
|
+
import { L as ToastContext } from "./resolveEnvironment-D2iMH7UD.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
7
|
import { s as useApiContext } from "./http-DsJtugN1.js";
|
|
8
8
|
import { useCallback, useContext, useState } from "preact/hooks";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2b03839d-5974-4091-87da-aa1274694cdb", e._sentryDebugIdIdentifier = "sentry-dbid-2b03839d-5974-4091-87da-aa1274694cdb");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { N as FeatureNames } from "./resolveEnvironment-
|
|
5
|
+
import { N as FeatureNames } from "./resolveEnvironment-D2iMH7UD.js";
|
|
6
6
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
7
7
|
import { lazy } from "preact/compat";
|
|
8
8
|
import { useLocation } from "wouter-preact";
|
|
@@ -26,37 +26,37 @@ var hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
26
26
|
};
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/router/routeConfig.ts
|
|
29
|
-
var Introduction = lazy(async () => (await import("./Introduction-
|
|
30
|
-
var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-
|
|
31
|
-
var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-
|
|
32
|
-
var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-
|
|
33
|
-
var SingpassSelection = lazy(async () => (await import("./SingpassSelection-
|
|
34
|
-
var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-
|
|
35
|
-
var DecisionMakers = lazy(async () => (await import("./DecisionMakers-
|
|
36
|
-
var CustomerSupport = lazy(async () => (await import("./CustomerSupport-
|
|
37
|
-
var Review = lazy(async () => (await import("./Review-
|
|
38
|
-
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-
|
|
39
|
-
var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-
|
|
40
|
-
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-
|
|
41
|
-
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-
|
|
42
|
-
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-
|
|
43
|
-
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-
|
|
44
|
-
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-
|
|
45
|
-
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-
|
|
46
|
-
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-
|
|
47
|
-
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-
|
|
48
|
-
var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-
|
|
49
|
-
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
50
|
-
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
51
|
-
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-
|
|
52
|
-
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-
|
|
53
|
-
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-
|
|
54
|
-
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-
|
|
55
|
-
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-
|
|
56
|
-
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-
|
|
57
|
-
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-
|
|
58
|
-
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-
|
|
59
|
-
lazy(async () => (await import("./InvitedDecisionMakerComponent-
|
|
29
|
+
var Introduction = lazy(async () => (await import("./Introduction-DXAxkrDG.js")).Introduction);
|
|
30
|
+
var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-C0EsaW8F.js")).AdaptiveWorkflow);
|
|
31
|
+
var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-BraXRUrg.js")).BusinessTypeSelectionPage);
|
|
32
|
+
var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-xX4ruKnx.js")).GlobalEntryPage);
|
|
33
|
+
var SingpassSelection = lazy(async () => (await import("./SingpassSelection-CRYphIRT.js")).SingpassSelection);
|
|
34
|
+
var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-pcQcFAhQ.js")).AccountSetupRejected);
|
|
35
|
+
var DecisionMakers = lazy(async () => (await import("./DecisionMakers-Dw66GRhZ.js")).DecisionMakers);
|
|
36
|
+
var CustomerSupport = lazy(async () => (await import("./CustomerSupport-DqayB3BM.js")).CustomerSupport);
|
|
37
|
+
var Review = lazy(async () => (await import("./Review-CDtJh9j3.js")).Review);
|
|
38
|
+
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-D21OqVWo.js").then((n) => n.n)).SignPCIComponent);
|
|
39
|
+
var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-No_9QGjv.js").then((n) => n.n)).TermsOfServiceManagement);
|
|
40
|
+
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-DmOclyYQ.js")).TaxReportingDropin);
|
|
41
|
+
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-Cyy-fDbK.js")).PayoutDetailsPage);
|
|
42
|
+
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-CnVWFx0H.js")).RootBusinessDetailsPage);
|
|
43
|
+
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-Dtx9X-mD.js")).RootBusinessLinesPage);
|
|
44
|
+
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-BKB0sRiP.js")).SoleProprietorshipPage);
|
|
45
|
+
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-BSe-Pn1O.js")).TrustMemberCompanyPage);
|
|
46
|
+
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-DxlZQF6W.js")).TrustMemberIndividualPage);
|
|
47
|
+
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-AtlXyfKk.js")).TrustMemberRoleAndTypePage);
|
|
48
|
+
var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-DpmUv4Vj.js")).TrustMembersOverview);
|
|
49
|
+
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-BBxtLGt0.js")).UnincorporatedPartnershipMemberCompanyPage);
|
|
50
|
+
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-BVpz27KZ.js")).UnincorporatedPartnershipIndividualPage);
|
|
51
|
+
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-BuI7aE3O.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
|
|
52
|
+
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-sE8-A2hQ.js")).UnincorporatedPartnershipMembersOverview);
|
|
53
|
+
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-DSy5an97.js")).BusinessFinancingPage);
|
|
54
|
+
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-BHjbebZX.js")).TrustDetailsPage);
|
|
55
|
+
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-C2ZEp0lT.js")).SourceOfFundsPage);
|
|
56
|
+
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-q8PZ0Khk.js")).RootIndividualDetailsPage);
|
|
57
|
+
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-Ca3FLoSd.js")).LegalRepresentativeDetailsPage);
|
|
58
|
+
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-Bs9q7sxc.js")).DecisionMakerDetailsPage);
|
|
59
|
+
lazy(async () => (await import("./InvitedDecisionMakerComponent-CPMIUjiE.js").then((n) => n.n)).InvitedDecisionMakerComponent);
|
|
60
60
|
var ROUTE_CONFIG = {
|
|
61
61
|
[TaskTypes.ADAPTIVE]: {
|
|
62
62
|
path: "/adaptive",
|