@adyen/kyc-components 4.13.0-beta.6 → 4.14.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/4-people-Dxu4nHSX.js +35 -0
- package/dist/AcceptTermsOfServiceComponent-BEcoPLhK.js +650 -0
- package/dist/Accordion-CSpLDvKK.js +111 -0
- package/dist/AccountSetupRejected-CKuhuj2C.js +18 -0
- package/dist/AdaptiveWorkflow-C9g6vb9X.js +1900 -0
- package/dist/AdaptiveWorkflowComponent-Bquocjbq.js +164 -0
- package/dist/Address-D5zWC8Kk.js +960 -0
- package/dist/Avatar-DqBKHRAr.js +54 -0
- package/dist/BusinessFinancingDropin-ChxiPLjD.js +1799 -0
- package/dist/BusinessFinancingPage-Du6ZF5bL.js +89 -0
- package/dist/BusinessTypeSelectionPage-hcxkY2zl.js +436 -0
- package/dist/Button-DBN5gM_d.js +189 -0
- package/dist/Card-BCGLpdw7.js +71 -0
- package/dist/Checkbox-tUvgt59R.js +55 -0
- package/dist/CompanyRegistrationNumberTypeSelector-BF5XC5w0.js +1074 -0
- package/dist/Confirm-C4GotFqm.js +75 -0
- package/dist/ConstitutionalDocument-C7TXcsUK.js +1124 -0
- package/dist/ContactDetails-ugF7Py8x.js +513 -0
- package/dist/ContextGuidance-7xygTSEo.js +29 -0
- package/dist/CountryField-zsA_yVzc.js +37 -0
- package/dist/Currency-C2HN8hvK.js +191 -0
- package/dist/CustomerSupport-DUeV56Vm.js +129 -0
- package/dist/DebugModal-BZfX15KU.js +451 -0
- package/dist/DecisionMakerDetails-B4RIIKw4.js +510 -0
- package/dist/DecisionMakerDetailsPage-zms9XVrA.js +104 -0
- package/dist/DecisionMakers-DyxOlxTk.js +587 -0
- package/dist/DetailViewLayout-DNCGEd7b.js +68 -0
- package/dist/Divider-BENvVRnz.js +11 -0
- package/dist/Dropzone-ER9yCx09.js +236 -0
- package/dist/EmbeddedStatus-BKVqJCeu.js +128 -0
- package/dist/EndStateLayout-DfThkkI3.js +82 -0
- package/dist/EntityAssociation-6G8Fce4W.js +163 -0
- package/dist/ErrorPanel-ct3r_pLg.js +185 -0
- package/dist/Field-CQWAWo5U.js +155 -0
- package/dist/FormNavigation-BwLxW6W7.js +115 -0
- package/dist/Individual.rules-DrC9MYN9.js +295 -0
- package/dist/IndividualDropin-BusKTvgU.js +3899 -0
- package/dist/InputDate-cTgjAhzm.js +52 -0
- package/dist/InputText-8abfNtHh.js +119 -0
- package/dist/Introduction-Dqg8SXWH.js +326 -0
- package/dist/InvitedDecisionMakerComponent-DDYLBgxY.js +415 -0
- package/dist/JpAddress-CCm4vAW3.js +322 -0
- package/dist/LandingLayout-Dg0sEASR.js +76 -0
- package/dist/LegalCompanyNameField-LcnS0m3Z.js +108 -0
- package/dist/LegalRepresentativeDetailsPage-BswNtI-l.js +74 -0
- package/dist/Link-DtaYQWb-.js +32 -0
- package/dist/List-ywoRPg-q.js +71 -0
- package/dist/ListItem-CZWSCEeJ.js +70 -0
- package/dist/MaskedInput-C_rP9ADy.js +715 -0
- package/dist/MaybeModal-BbUiSkZe.js +24 -0
- package/dist/Modal-BgeE7zM2.js +129 -0
- package/dist/Name-DtDvWkku.js +61 -0
- package/dist/NewSummary-DnJjib28.js +72 -0
- package/dist/PayoutDetailsDropinMultiForm-C6m5XRhP.js +4095 -0
- package/dist/PayoutDetailsPage-og_7_YXt.js +69 -0
- package/dist/ProgressBar-DWFxLMUA.js +38 -0
- package/dist/RadioGroup-DlzXLoMN.js +84 -0
- package/dist/Review-DF69umo8.js +99 -0
- package/dist/RootBusinessDetailsPage-kgWj5sVC.js +69 -0
- package/dist/RootBusinessLinesPage-Cq7Zr5j4.js +1449 -0
- package/dist/RootIndividualDetailsPage-Be-0uc3i.js +80 -0
- package/dist/Select-vMYP9lm8.js +776 -0
- package/dist/SignPCIComponent-B2yY79W_.js +369 -0
- package/dist/SingpassSelection-5bZQX8hC.js +156 -0
- package/dist/SoleProprietorshipPage-CSBb_jpV.js +70 -0
- package/dist/SourceOfFundsPage-DRvnw5OW.js +2772 -0
- package/dist/Spacer-CEHRO4Ml.js +11 -0
- package/dist/StackLayout-IUdNMDgW.js +105 -0
- package/dist/StructuredList-CUyo9-3i.js +56 -0
- package/dist/Summary-DdatuZ77.js +225 -0
- package/dist/Tag-CNeDHqKp.js +39 -0
- package/dist/TaskListItem-BywE94Ej.js +169 -0
- package/dist/TaskVerificationStatus-gGr34dp5.js +124 -0
- package/dist/TaxInformationField-C5s9CTSB.js +472 -0
- package/dist/TaxReportingDropin-ucEg1NN9.js +474 -0
- package/dist/TextArea-C2DkQ41s.js +87 -0
- package/dist/TileGroup-B7-q4NXH.js +170 -0
- package/dist/TrustDetailsPage-Bh4izWzj.js +1097 -0
- package/dist/TrustMemberCompanyPage-BtEWDCNS.js +109 -0
- package/dist/TrustMemberIndividualPage-VB6suiF3.js +109 -0
- package/dist/TrustMemberRoleAndTypePage-DRXdmZBo.js +931 -0
- package/dist/TrustMembersOverview-yZICrIOc.js +447 -0
- package/dist/UnincorporatedPartnershipIndividualPage-CKZflWJL.js +79 -0
- package/dist/UnincorporatedPartnershipMemberCompanyPage-BgQ4z0cN.js +79 -0
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-BD-yaKSD.js +270 -0
- package/dist/UnincorporatedPartnershipMembersOverview-cQobQZbw.js +157 -0
- package/dist/VerificationErrorAlert-DG1p37BH.js +64 -0
- package/dist/accountHolderUtils-TpJnt1z1.js +44 -0
- package/dist/adyen-business-financing.js +88 -86
- package/dist/adyen-individual-configuration.js +91 -89
- package/dist/adyen-individual-status.js +36 -36
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +129 -138
- package/dist/adyen-terms-of-service-management.js +4 -4
- package/dist/adyen-terms-of-service-status.js +59 -58
- package/dist/adyen-transfer-instrument-configuration.js +87 -85
- package/dist/adyen-transfer-instrument-management.js +103 -105
- package/dist/adyen-verification-status.js +37 -38
- package/dist/arrow-right-Bk-ewsex.js +20 -0
- package/dist/bafinUtils-BKq-s1Ka.js +112 -0
- package/dist/bag-9BNq_QQO.js +20 -0
- package/dist/bank-BRbxxVK5.js +20 -0
- package/dist/bg-BG-CzXoDIev.js +61 -0
- package/dist/bg-BG-DYnhOtaS.js +7 -0
- package/dist/bg-BG-FthOeqMs.js +7 -0
- package/dist/bg-BG-KjJy4fjZ.js +32 -0
- package/dist/bg-BG-L5wKtmmz.js +7 -0
- package/dist/bg-BG-VIyyeYUh.js +7 -0
- package/dist/bg-BG-uuNDTOoN.js +7 -0
- package/dist/bin-DE1613_5.js +30 -0
- package/dist/capital-aNk7ragc.js +23 -0
- package/dist/cash-stack-DuKKc4Qj.js +33 -0
- package/dist/certificate-9gDKvXCm.js +23 -0
- package/dist/checkmark-BuqDN4WO.js +20 -0
- package/dist/checkmark-circle-OqcwA6N6.js +28 -0
- package/dist/checkmark-circle-fill-BfcUovCf.js +30 -0
- package/dist/checkmark-small-CBORXg_J.js +20 -0
- package/dist/chevron-down-CjRta08O.js +20 -0
- package/dist/chevron-left-BEm04mIh.js +20 -0
- package/dist/chevron-right-B2GkHG0J.js +20 -0
- package/dist/chevron-up-BKfe5Btb.js +20 -0
- package/dist/circle-C-uuRI8F.js +30 -0
- package/dist/circle-small-filled-Bkh5_ZEu.js +20 -0
- package/dist/clock-BWfWiMxz.js +28 -0
- package/dist/coins-Cw-jDTUz.js +30 -0
- package/dist/constants-CQUBFYB0.js +232 -0
- package/dist/constants-DrtMSDfx.js +142 -0
- package/dist/contract-PFVBW8xa.js +20 -0
- package/dist/countries-CPj8hkLs.js +41 -0
- package/dist/country-BxigZW1s.js +13 -0
- package/dist/cross-B37j1-r4.js +20 -0
- package/dist/cross-circle-fill-CcjwpLj2.js +30 -0
- package/dist/cross-circle-fill-small-CJ4fddNo.js +20 -0
- package/dist/cs-CZ-Cu1v5FA8.js +7 -0
- package/dist/cs-CZ-D4Pt8Gsx.js +7 -0
- package/dist/cs-CZ-D8nnXFEh.js +7 -0
- package/dist/cs-CZ-DvmlHVW2.js +7 -0
- package/dist/cs-CZ-JUprtMsH.js +61 -0
- package/dist/cs-CZ-m-2EDC49.js +32 -0
- package/dist/cs-CZ-nMdCNolB.js +7 -0
- package/dist/da-DK-BF_wiKbj.js +7 -0
- package/dist/da-DK-C4wRpqMC.js +7 -0
- package/dist/da-DK-C8TyCAru.js +32 -0
- package/dist/da-DK-Cq-1LB6T.js +7 -0
- package/dist/da-DK-D2RrHm98.js +61 -0
- package/dist/da-DK-DDQUbqDb.js +7 -0
- package/dist/da-DK-DjAV5d9A.js +7 -0
- package/dist/de-DE-B3sSNcDv.js +7 -0
- package/dist/de-DE-BOH-YgTt.js +7 -0
- package/dist/de-DE-Bc55gBv4.js +7 -0
- package/dist/de-DE-DdOrCrMa.js +7 -0
- package/dist/de-DE-QoAah1C3.js +32 -0
- package/dist/de-DE-o8i-cfnA.js +61 -0
- package/dist/de-DE-z8FJw9Yv.js +7 -0
- package/dist/decisionMaker-Dt53wKqO.js +146 -0
- package/dist/decisionMakerRoles-DIG8zo1C.js +46 -0
- package/dist/document-1-B3vw8uuK.js +20 -0
- package/dist/document-person-CERdIfH0.js +28 -0
- package/dist/download-CthdK4dV.js +23 -0
- package/dist/edit-1-BW7NwWP7.js +20 -0
- package/dist/el-GR-BAhj1djs.js +61 -0
- package/dist/el-GR-Bm9lqjyB.js +7 -0
- package/dist/el-GR-C0N0zQ3U.js +32 -0
- package/dist/el-GR-C5NDkWDr.js +7 -0
- package/dist/el-GR-Cr-3NgPk.js +7 -0
- package/dist/el-GR-DHiKsTJQ.js +7 -0
- package/dist/el-GR-DaAMIpOR.js +7 -0
- package/dist/en-US-COWs58AF.js +61 -0
- package/dist/en-US-xwcTnMwf.js +7 -0
- package/dist/entityAssociationUtil-C-wflW8q.js +59 -0
- package/dist/es-ES-BNjxmV8Q.js +61 -0
- package/dist/es-ES-C6Rs-ie9.js +7 -0
- package/dist/es-ES-CDFWEg9c.js +7 -0
- package/dist/es-ES-D5rPI9Qc.js +32 -0
- package/dist/es-ES-_w6Ygc8E.js +7 -0
- package/dist/es-ES-tVQDUTJN.js +7 -0
- package/dist/es-ES-uVSZu-EQ.js +7 -0
- package/dist/es-LA-BDxay2SJ.js +48 -0
- package/dist/es-LA-BIPVrwXX.js +61 -0
- package/dist/es-LA-BU5Op1kh.js +7 -0
- package/dist/es-LA-BvOPmuqM.js +23 -0
- package/dist/es-LA-C58S3BbB.js +32 -0
- package/dist/es-LA-C7IleXTc.js +7 -0
- package/dist/es-LA-C8U1qPSu.js +26 -0
- package/dist/es-LA-CJdZb5eY.js +57 -0
- package/dist/es-LA-CvOdV_q1.js +18 -0
- package/dist/es-LA-Cxk68z4n.js +7 -0
- package/dist/es-LA-DMpf5gAW.js +70 -0
- package/dist/es-LA-DU9jNyAv.js +69 -0
- package/dist/es-LA-DWAiA7Dw.js +7 -0
- package/dist/es-LA-xilYCaSd.js +7 -0
- package/dist/et-EE-BCWBT8XN.js +7 -0
- package/dist/et-EE-BFb0MPqf.js +7 -0
- package/dist/et-EE-CG66kNTM.js +7 -0
- package/dist/et-EE-DEs2iukD.js +7 -0
- package/dist/et-EE-Dl6n-Am8.js +61 -0
- package/dist/et-EE-IiaprrVp.js +32 -0
- package/dist/et-EE-P4s_U3BI.js +7 -0
- package/dist/external-link-CFgynH5A.js +20 -0
- package/dist/fi-FI-8eStbIaM.js +7 -0
- package/dist/fi-FI-B-7uBAf5.js +7 -0
- package/dist/fi-FI-BI9sCCEP.js +7 -0
- package/dist/fi-FI-Bed2SzCG.js +7 -0
- package/dist/fi-FI-DdF7vjHQ.js +32 -0
- package/dist/fi-FI-DpgrKo5I.js +7 -0
- package/dist/fi-FI-T33BAikx.js +61 -0
- package/dist/formUtils-DVc3a6gf.js +78 -0
- package/dist/fr-FR-B8iVi3nn.js +7 -0
- package/dist/fr-FR-BN_jrAX4.js +7 -0
- package/dist/fr-FR-CDv300-8.js +7 -0
- package/dist/fr-FR-CRO4taJU.js +61 -0
- package/dist/fr-FR-D_qhjXEC.js +7 -0
- package/dist/fr-FR-_TkFnevF.js +7 -0
- package/dist/fr-FR-jPc-OwlY.js +32 -0
- package/dist/getLegalEntityCountry-BHh7Ux8v.js +17 -0
- package/dist/getName-D4ECvzcI.js +35 -0
- package/dist/getProblemsForEntity-CogrYbYP.js +16 -0
- package/dist/getTrustedDecisionMakers-DUpv5ug2.js +25 -0
- package/dist/gift-0jLCte2h.js +20 -0
- package/dist/graph-DrxuzQF7.js +32 -0
- package/dist/graph-up-4qLbS2Ds.js +38 -0
- package/dist/headquarter-3o2GHW5H.js +42 -0
- package/dist/hotel-pZlrEAK8.js +33 -0
- package/dist/hr-HR-Bt2ZduQN.js +7 -0
- package/dist/hr-HR-CXH5M5JZ.js +7 -0
- package/dist/hr-HR-CbEXwWeO.js +61 -0
- package/dist/hr-HR-DlIGxvkT.js +32 -0
- package/dist/hr-HR-DlPm5gxr.js +7 -0
- package/dist/hr-HR-DubR_a2h.js +7 -0
- package/dist/hr-HR-SwSOMPhJ.js +7 -0
- package/dist/http-DYzfwjcs.js +149 -0
- package/dist/hu-HU-B9JCbRow.js +61 -0
- package/dist/hu-HU-BqW_xlCb.js +7 -0
- package/dist/hu-HU-CK6lbZ-D.js +7 -0
- package/dist/hu-HU-D1ZZwcl0.js +7 -0
- package/dist/hu-HU-DTRbo1IU.js +7 -0
- package/dist/hu-HU-DicR116D.js +32 -0
- package/dist/hu-HU-NJaOrfnP.js +7 -0
- package/dist/image-tfgNnE3G.js +23 -0
- package/dist/info-DJW5JooY.js +32 -0
- package/dist/info-filled-C5mP6T4Z.js +32 -0
- package/dist/invalidateRootLegalEntity-B_H-aJ0s.js +51 -0
- package/dist/isEmpty-BVlBH98t.js +14 -0
- package/dist/it-IT-BVAe-EX_.js +32 -0
- package/dist/it-IT-BwxzsAX1.js +7 -0
- package/dist/it-IT-CVVOlFfY.js +7 -0
- package/dist/it-IT-Cnk7j_gC.js +7 -0
- package/dist/it-IT-DE_Dkl_X.js +61 -0
- package/dist/it-IT-DzzajnKQ.js +7 -0
- package/dist/it-IT-xc14pqAr.js +7 -0
- package/dist/ja-JP-B8sNFjt_.js +7 -0
- package/dist/ja-JP-BaD-vLXo.js +61 -0
- package/dist/ja-JP-BpNu5KzH.js +7 -0
- package/dist/ja-JP-CNCeHdxj.js +7 -0
- package/dist/ja-JP-ClFJvhe2.js +7 -0
- package/dist/ja-JP-DS8zN3mY.js +7 -0
- package/dist/ja-JP-Fu1XFofD.js +32 -0
- package/dist/japanSupportUtils-H5Zfox2v.js +11 -0
- package/dist/localizeDateString-DB-oTe60.js +35 -0
- package/dist/location-Dk0rAiaT.js +23 -0
- package/dist/lt-LT-5OY6az4F.js +61 -0
- package/dist/lt-LT-BJbA6rDr.js +7 -0
- package/dist/lt-LT-C9lXLzZA.js +7 -0
- package/dist/lt-LT-CTtqyA86.js +7 -0
- package/dist/lt-LT-D3ZUJfjr.js +7 -0
- package/dist/lt-LT-DfL5ey_8.js +32 -0
- package/dist/lt-LT-VP6qtMAw.js +7 -0
- package/dist/lv-LV-2Q8G1u4p.js +7 -0
- package/dist/lv-LV-BBbE9hg5.js +7 -0
- package/dist/lv-LV-CQI0LxVf.js +7 -0
- package/dist/lv-LV-CXifQKfG.js +7 -0
- package/dist/lv-LV-CqZT6L9i.js +32 -0
- package/dist/lv-LV-D_9V3gBo.js +7 -0
- package/dist/lv-LV-DjAUG4pi.js +61 -0
- package/dist/mail-DG7MBDNE.js +20 -0
- package/dist/mapExistingFile-CZB9JLAV.js +135 -0
- package/dist/mapJpAddressSchemaToAddressLocalizations-DUElzaoS.js +109 -0
- package/dist/mapLegalEntityToIndividualSchema-BsHNunzQ.js +207 -0
- package/dist/mapTransferInstrumentToPayoutAccount-DuqJ08ye.js +44 -0
- package/dist/minus-circle-filled-DglqAgJW.js +30 -0
- package/dist/nl-NL-7ddo0NCH.js +7 -0
- package/dist/nl-NL-BN5WtqQB.js +7 -0
- package/dist/nl-NL-Bv8Zk-6e.js +7 -0
- package/dist/nl-NL-C3cXv5PD.js +61 -0
- package/dist/nl-NL-CmlQQSLp.js +32 -0
- package/dist/nl-NL-DMdoFepr.js +7 -0
- package/dist/nl-NL-_NV5Dvt9.js +7 -0
- package/dist/no-NO-BatbPb3N.js +32 -0
- package/dist/no-NO-Bf-QR3EY.js +7 -0
- package/dist/no-NO-Chwg5Roi.js +7 -0
- package/dist/no-NO-CoDL_uMQ.js +7 -0
- package/dist/no-NO-Cor-jWuN.js +7 -0
- package/dist/no-NO-CwgewQst.js +7 -0
- package/dist/no-NO-DyMlgewS.js +61 -0
- package/dist/omitObscuredFieldsIfUnchanged-DDq-TIS9.js +20 -0
- package/dist/options-horizontal-CTUn7IEx.js +30 -0
- package/dist/partner-1StoI4_W.js +30 -0
- package/dist/patternValidators-DWouiOVO.js +73 -0
- package/dist/pay-by-link-plane-Sa_qkL8C.js +33 -0
- package/dist/payout-BAYSxSqU.js +38 -0
- package/dist/pdf-uNYg4Mqz.js +22315 -0
- package/dist/pdf.worker.min-gK7UJW5a.js +74644 -0
- package/dist/person-Da15_s3G.js +23 -0
- package/dist/pl-PL-Bgrz9oPS.js +7 -0
- package/dist/pl-PL-BzOubawD.js +7 -0
- package/dist/pl-PL-ClUTW9pd.js +61 -0
- package/dist/pl-PL-D-TVYshE.js +7 -0
- package/dist/pl-PL-DSbuyzBx.js +7 -0
- package/dist/pl-PL-Dd9fkdnr.js +7 -0
- package/dist/pl-PL-ZyxybmlP.js +32 -0
- package/dist/plus-BQccvKkd.js +20 -0
- package/dist/plus-circle-filled-CqC30FRL.js +30 -0
- package/dist/process-field-configurations-U459c7bG.js +279 -0
- package/dist/processCapabilities-hLmRus8U.js +870 -0
- package/dist/pt-BR-B2q9Nl16.js +7 -0
- package/dist/pt-BR-Bk2xOhdi.js +61 -0
- package/dist/pt-BR-DUAQ_vv4.js +7 -0
- package/dist/pt-BR-Dq0Sd1h9.js +32 -0
- package/dist/pt-BR-DwHag_mp.js +7 -0
- package/dist/pt-BR-n0GcsM-Q.js +7 -0
- package/dist/pt-BR-uhrvEANO2.js +7 -0
- package/dist/pt-PT-5O7ohkQD.js +61 -0
- package/dist/pt-PT-B6mC3m94.js +7 -0
- package/dist/pt-PT-BVcFY8gr.js +7 -0
- package/dist/pt-PT-BuM6Edx0.js +32 -0
- package/dist/pt-PT-C-mvV1ZJ.js +7 -0
- package/dist/pt-PT-CQQkh5PS.js +7 -0
- package/dist/pt-PT-Cz4rJgbi.js +7 -0
- package/dist/recurring-DSR1fNMh.js +23 -0
- package/dist/resolveEnvironment-Doi5jM7g.js +2500 -0
- package/dist/revenue-accelerate-CPhAVpPK.js +30 -0
- package/dist/ro-RO-BOV_LMAu.js +61 -0
- package/dist/ro-RO-BnZbYPEH.js +7 -0
- package/dist/ro-RO-ClCWcOZD.js +7 -0
- package/dist/ro-RO-CuooCG3m.js +7 -0
- package/dist/ro-RO-D3Yk1KoW.js +7 -0
- package/dist/ro-RO-DJjle7nF.js +32 -0
- package/dist/ro-RO-_BLhsnIB.js +7 -0
- package/dist/roleMetadata-bznvTmh3.js +56 -0
- package/dist/save-DQ-mJX8e.js +20 -0
- package/dist/search-DWqWTW_K.js +30 -0
- package/dist/show-BbhlD3IY.js +23 -0
- package/dist/sk-SK-BOc9IqyW.js +7 -0
- package/dist/sk-SK-BUGTKkOC.js +61 -0
- package/dist/sk-SK-CSPSMUYC.js +32 -0
- package/dist/sk-SK-CieZx5AS.js +7 -0
- package/dist/sk-SK-D3UYKttr.js +7 -0
- package/dist/sk-SK-DBHPBJm4.js +7 -0
- package/dist/sk-SK-DSaBObVa.js +7 -0
- package/dist/sl-SI-BQc61Sz2.js +7 -0
- package/dist/sl-SI-BkcElOhl.js +7 -0
- package/dist/sl-SI-C82Kr3vf.js +32 -0
- package/dist/sl-SI-DbVFyYEg.js +7 -0
- package/dist/sl-SI-DffYWi9P.js +61 -0
- package/dist/sl-SI-KEJYXISh.js +7 -0
- package/dist/sl-SI-dukW1tgW.js +7 -0
- package/dist/solution-payments-D4BORMsX.js +20 -0
- package/dist/store-DWaq3ZiC.js +20 -0
- package/dist/style.css +1151 -1151
- package/dist/styles-DYaAeu4q.js +6678 -0
- package/dist/sv-SE-Bhvd0GDr.js +7 -0
- package/dist/sv-SE-BlGBkLAA.js +7 -0
- package/dist/sv-SE-DT9jLSs2.js +32 -0
- package/dist/sv-SE-D_bagacj.js +61 -0
- package/dist/sv-SE-DkZ2LyW5.js +7 -0
- package/dist/sv-SE-DzsWB30f.js +7 -0
- package/dist/sv-SE-WmQ6EnrS.js +7 -0
- package/dist/terminal-1-crR-pS_R.js +30 -0
- package/dist/translation-ZXpd9jdD.js +915 -0
- package/dist/types/adaptiveWorkflow/component-registry.d.ts +6 -2
- package/dist/types/adaptiveWorkflow/components/Fields/IdentityNumber/IdentityNumberFieldGroup.d.ts +14 -0
- package/dist/types/adaptiveWorkflow/components/Fields/IdentityScreening/IdentityScreeningWorkflow.d.ts +19 -0
- package/dist/types/api/adaptive/adaptiveWorkflow.types.d.ts +1 -0
- package/dist/types/api/adaptive/useAdaptiveWorkflow.d.ts +1 -1
- package/dist/types/api/address/useAddressCleanse.d.ts +3 -3
- package/dist/types/api/address/useRetrieveAddress.d.ts +2 -2
- package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +2 -2
- package/dist/types/api/address/useSearchAddress.d.ts +2 -2
- package/dist/types/api/businessLines/useBusinessLines.d.ts +1 -1
- package/dist/types/api/companyDataSet/companyDataset.types.d.ts +3 -6
- package/dist/types/api/companySearch/useCompanySearch.d.ts +2 -2
- package/dist/types/api/configurations/useSupportedCountries.d.ts +1 -1
- package/dist/types/api/configurations/useTaskTypes.d.ts +1 -1
- package/dist/types/api/configurations/useVersionConfiguration.d.ts +2 -2
- package/dist/types/api/datasets/useLegalForms.d.ts +1 -1
- package/dist/types/api/datasets/useNaceCodes.d.ts +1 -1
- package/dist/types/api/datasets/useSourceOfFundsTypes.d.ts +1 -1
- package/dist/types/api/documents/useDocument.d.ts +1 -1
- package/dist/types/api/documents/useDocuments.d.ts +1 -1
- package/dist/types/api/idNowProvider/useIdNowProvider.d.ts +3 -3
- package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +1 -1
- package/dist/types/api/industryCodes/useIndustryCodes.d.ts +1 -1
- package/dist/types/api/invitations/useInvitationStatus.d.ts +5 -2
- package/dist/types/api/invitedEntity/useInvitedEntityAssociationData.d.ts +2 -2
- package/dist/types/api/invitedEntity/useInvitedEntityRootCapabilities.d.ts +2 -2
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +9 -9
- package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -1
- package/dist/types/api/openId/useOpenIdAuthorizationLink.d.ts +1 -1
- package/dist/types/api/pci/usePciQuestionnaireList.d.ts +2 -2
- package/dist/types/api/pci/usePciStatus.d.ts +2 -2
- package/dist/types/api/pci/usePciTemplate.d.ts +2 -2
- package/dist/types/api/providersConfiguration/useProviderStatus.d.ts +1 -1
- package/dist/types/api/taskStatus/useTaskStatus.d.ts +2 -2
- package/dist/types/api/taskStatus/useTaskStatuses.d.ts +2 -2
- package/dist/types/api/taxClassification/useTaxClassification.d.ts +2 -2
- package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +2 -2
- package/dist/types/api/termsOfService/useTermsOfService.d.ts +2 -2
- package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +1 -1
- package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +2 -2
- package/dist/types/api/tinVerification/useVerifyTin.d.ts +2 -2
- package/dist/types/api/toggles/useToggles.d.ts +1 -1
- package/dist/types/api/transferInstruments/useBankVerificationProviders.d.ts +1 -1
- package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +1 -1
- package/dist/types/api/transferInstruments/useTransferInstruments.d.ts +1 -1
- package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +2 -2
- package/dist/types/api/validation/useValidatePhoneNumber.d.ts +2 -2
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +25 -25
- package/dist/types/components/Business/hooks/useSubmitBusinessDetails.d.ts +1 -26
- package/dist/types/components/Business/hooks/useSubmitBusinessDetails.types.d.ts +47 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +0 -55
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +494 -494
- package/dist/types/components/Individual/forms/InviteDetails/validate.d.ts +1 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerListItem/DecisionMakerListItem.d.ts +3 -2
- package/dist/types/components/Shared/TaskVerificationStatus/TaskVerificationStatus.d.ts +1 -1
- package/dist/types/components/Shared/fields/Name/validate.d.ts +1 -2
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/ui/atoms/Tile/Tile.d.ts +2 -1
- package/dist/types/context/ToggleContext/types.d.ts +4 -4
- package/dist/types/utils/analytics/trackClickHandler.d.ts +11 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types-B4LsyK73.js +19 -0
- package/dist/types-Bm4RGrSI.js +66 -0
- package/dist/types-Bvp3aTbC.js +58 -0
- package/dist/unincorporated-partnership-GaTPaALJ.js +40 -0
- package/dist/upload-D85xAAAm.js +23 -0
- package/dist/useAssociatedLegalEntity-CQAe7Co6.js +35 -0
- package/dist/useBusinessDetailsData-BDxT0mFG.js +4647 -0
- package/dist/useBusinessLines-Dshc0pYD.js +27 -0
- package/dist/useCanSeeIntroduction-DQyl0Vkk.js +39 -0
- package/dist/useCreateLegalEntity-38twl3gB.js +24 -0
- package/dist/useDataMissingRemediations-7H0hHxXG.js +39 -0
- package/dist/useForm-x1BtFLPw.js +502 -0
- package/dist/useFormContext-CyhnFPOt.js +504 -0
- package/dist/useLegalEntity-EN5ubX2H.js +48 -0
- package/dist/useMultiForm-NwELDSnm.js +817 -0
- package/dist/useNavigate-BfWevcN2.js +269 -0
- package/dist/useOnboardingStatus-Cf6dZFB2.js +23 -0
- package/dist/usePciQuestionnaireList-C3bk4K8n.js +26 -0
- package/dist/useSalesChannels-CC-N9vqE.js +47 -0
- package/dist/useScenarios-ful0VqQ4.js +55 -0
- package/dist/useTaskLandedEvent-CtlV_Bum.js +26 -0
- package/dist/useTaskStatus-CLcXCIz7.js +23 -0
- package/dist/useTermsOfServiceStatus-DwWvz0vR.js +39 -0
- package/dist/useTrustMembers-BZRB9RDn.js +152 -0
- package/dist/useUnincorporatedPartnershipMembers-wgiUFuxT.js +70 -0
- package/dist/useUpdateBusinessLines-BRxlqBnM.js +68 -0
- package/dist/useUpdateLegalEntity-DnkFwUCD.js +29 -0
- package/dist/utils-B6a1FGxD.js +2507 -0
- package/dist/utils-BgdkZkf5.js +71 -0
- package/dist/utils-DcUoR5qG.js +61 -0
- package/dist/utils-DwujAUJC.js +46 -0
- package/dist/utils-iXMYP5kO.js +188 -0
- package/dist/validate-CPz6CHtU.js +109 -0
- package/dist/validate-j0h8oux2.js +397 -0
- package/dist/validateExtractionResult-CHdmHmkZ.js +1070 -0
- package/dist/validationError-tIm9Zzjt.js +68 -0
- package/dist/validationResult-CqlLuppx.js +77 -0
- package/dist/warning-circle-fill-BDTmKU1s.js +30 -0
- package/dist/warning-diamond-filled-BjDL-xa8.js +30 -0
- package/dist/webinar-YMbPoCx3.js +33 -0
- package/package.json +25 -25
- package/dist/4-people-UD6qivNv.js +0 -35
- package/dist/AcceptTermsOfServiceComponent-CV0tEsZ8.js +0 -652
- package/dist/Accordion-gSHEDtlp.js +0 -111
- package/dist/AccountSetupRejected-MS5ucnkH.js +0 -19
- package/dist/AdaptiveWorkflow-BRSkDC27.js +0 -1562
- package/dist/AdaptiveWorkflowComponent-436q2Z3Q.js +0 -130
- package/dist/Address-B1WQZxTA.js +0 -557
- package/dist/Alert-BYrDkvk9.js +0 -170
- package/dist/Avatar-CuGCWCs9.js +0 -54
- package/dist/BusinessFinancingDropin-DrABikQM.js +0 -1800
- package/dist/BusinessFinancingPage-CSwjPgIJ.js +0 -87
- package/dist/BusinessTypeSelectionPage-D0jjyKgo.js +0 -436
- package/dist/Button-BxfzWsRl.js +0 -189
- package/dist/Card-BylPFvY4.js +0 -71
- package/dist/Checkbox-BRuXJ18x.js +0 -55
- package/dist/CompanyRegistrationNumberTypeSelector-DiImGTFe.js +0 -1074
- package/dist/Confirm-BEZEArAy.js +0 -76
- package/dist/ConstitutionalDocument-CdpVRf0I.js +0 -1125
- package/dist/ContactDetails-63BkotMl.js +0 -516
- package/dist/ContextGuidance-BRGAWzeW.js +0 -29
- package/dist/CountryField-DhNTIfGL.js +0 -38
- package/dist/Currency-QVw0PSm6.js +0 -191
- package/dist/CustomerSupport-BXin9crY.js +0 -129
- package/dist/DebugModal-DjXxE-RN.js +0 -454
- package/dist/DecisionMakerDetails-B8s07F7D.js +0 -493
- package/dist/DecisionMakerDetailsPage-BaOxC2U6.js +0 -103
- package/dist/DecisionMakers-Bm-L-q92.js +0 -583
- package/dist/DetailViewLayout-Be6cqBDx.js +0 -68
- package/dist/Divider-BndbWx4f.js +0 -11
- package/dist/Dropzone-BbBVtqN9.js +0 -236
- package/dist/EmbeddedStatus-td-3A1DN.js +0 -128
- package/dist/EndStateLayout-CnhmrsxA.js +0 -82
- package/dist/EntityAssociation-BHvq_AwX.js +0 -163
- package/dist/ErrorPanel-CzX5ev6p.js +0 -185
- package/dist/Field-Vzlyifk5.js +0 -155
- package/dist/FormNavigation-B79CI_Kc.js +0 -116
- package/dist/Header-fY8HlUFH.js +0 -93
- package/dist/Image-BBLBIviv.js +0 -33
- package/dist/Individual.rules-BvJRuxgJ.js +0 -294
- package/dist/IndividualDropin-BVMDPYDe.js +0 -4958
- package/dist/InputDate--h7l0kcO.js +0 -52
- package/dist/InputText-BK_8YUd_.js +0 -119
- package/dist/Introduction-p7SxkPvq.js +0 -325
- package/dist/InvitedDecisionMakerComponent-B40Lk4i7.js +0 -412
- package/dist/JpAddress-msyDs8qO.js +0 -322
- package/dist/LandingLayout-BK3kV0FL.js +0 -76
- package/dist/LegalCompanyNameField-CQUbvS77.js +0 -108
- package/dist/LegalRepresentativeDetailsPage-Csvg_gjL.js +0 -73
- package/dist/Link-idX4eEXz.js +0 -32
- package/dist/List-DLrcpMVd.js +0 -71
- package/dist/ListItem-BzSnYlO1.js +0 -70
- package/dist/LoaderWrapper-Tr14IrmG.js +0 -34
- package/dist/MaskedInput-WaAdSNPN.js +0 -715
- package/dist/MaybeModal-BkoicAOk.js +0 -24
- package/dist/Modal-CMKjvMyV.js +0 -109
- package/dist/Name-DkBgo3cK.js +0 -61
- package/dist/NewSummary-Cf1CesDB.js +0 -72
- package/dist/PayoutDetailsDropinMultiForm-CiTh764I.js +0 -4106
- package/dist/PayoutDetailsPage-CLt8LJCi.js +0 -68
- package/dist/ProgressBar-DrvdkkV2.js +0 -38
- package/dist/RadioGroup-Bc8reZVM.js +0 -84
- package/dist/Review-GGx4T5lx.js +0 -99
- package/dist/RootBusinessDetailsPage-z94WN2fb.js +0 -69
- package/dist/RootBusinessLinesPage-B1SNv9er.js +0 -1452
- package/dist/RootIndividualDetailsPage-DE704wL6.js +0 -81
- package/dist/Select-CRVpXZ1k.js +0 -777
- package/dist/SignPCIComponent-BPSj_yuH.js +0 -368
- package/dist/SingpassSelection-c3hLW3jo.js +0 -156
- package/dist/SoleProprietorshipPage-C2gjJZcb.js +0 -69
- package/dist/SourceOfFundsPage-DItR3-Hp.js +0 -2775
- package/dist/Spacer-D1yp_1Io.js +0 -11
- package/dist/StackLayout-CTLQyVDf.js +0 -105
- package/dist/StateContext-BExuJcFK.js +0 -9
- package/dist/StructuredList-S4LIZQiJ.js +0 -56
- package/dist/Summary-DESUnetK.js +0 -226
- package/dist/Tag-BUoDHC4C.js +0 -39
- package/dist/TaskListItem-9Kq5rfrA.js +0 -164
- package/dist/TaskVerificationStatus-F5lMp5Rx.js +0 -118
- package/dist/TaxInformationField-DlmOFIDl.js +0 -474
- package/dist/TaxReportingDropin-LOUIhV-w.js +0 -476
- package/dist/TextArea-CIgJgN16.js +0 -80
- package/dist/TileGroup-irJw9YNz.js +0 -170
- package/dist/ToastContext-D7fHw64P.js +0 -13
- package/dist/ToastContextProvider-CU6K9Sqo.js +0 -103
- package/dist/TrustDetailsPage-B9sH2X7l.js +0 -1103
- package/dist/TrustMemberCompanyPage-BnY9tVG7.js +0 -107
- package/dist/TrustMemberIndividualPage-B4Iqm4MI.js +0 -107
- package/dist/TrustMemberRoleAndTypePage-LlBgvSwW.js +0 -933
- package/dist/TrustMembersOverview-BGzdiibd.js +0 -451
- package/dist/UnincorporatedPartnershipIndividualPage-CUrCUB2E.js +0 -78
- package/dist/UnincorporatedPartnershipMemberCompanyPage-Uzsm5Zo2.js +0 -78
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-BbQB-s2g.js +0 -271
- package/dist/UnincorporatedPartnershipMembersOverview-B-djUG0K.js +0 -159
- package/dist/VerificationErrorAlert-D8Peag6l.js +0 -38
- package/dist/_rolldown_dynamic_import_helper-C4ugHLZT.js +0 -14
- package/dist/accountHolderUtils-mgP2-0Nn.js +0 -44
- package/dist/arrow-right-BJTNKb0O.js +0 -20
- package/dist/bafinUtils-DJ5gJYKz.js +0 -96
- package/dist/bag-DZMiIi7P.js +0 -20
- package/dist/bank-CzucQEWZ.js +0 -20
- package/dist/bg-BG-BUgREukJ.js +0 -7
- package/dist/bg-BG-Bfk35aUM.js +0 -7
- package/dist/bg-BG-Bw1uE2hh.js +0 -7
- package/dist/bg-BG-C0FkvcA2.js +0 -31
- package/dist/bg-BG-CAC3TgzH.js +0 -7
- package/dist/bg-BG-DkeEONKT.js +0 -60
- package/dist/bg-BG-DszNb4YW.js +0 -7
- package/dist/bin-BbC6aL9-.js +0 -30
- package/dist/birthDateUtils-BUDlu8wE.js +0 -82
- package/dist/capital-B61w2ph0.js +0 -23
- package/dist/cash-stack-DrmR4pnT.js +0 -33
- package/dist/certificate-_tpSgTGm.js +0 -23
- package/dist/checkmark-DnlW1SB-.js +0 -20
- package/dist/checkmark-circle-Dixm0aV6.js +0 -28
- package/dist/checkmark-circle-fill-dAg9Mn5z.js +0 -30
- package/dist/checkmark-small-Di0Lj9EO.js +0 -20
- package/dist/chevron-down-CvIokHIR.js +0 -20
- package/dist/chevron-left-BNjJxGO4.js +0 -20
- package/dist/chevron-right-CeXpOOK6.js +0 -20
- package/dist/chevron-up-esJT8bFL.js +0 -20
- package/dist/circle-BJtiv6-2.js +0 -30
- package/dist/circle-small-filled-BLmJJiLk.js +0 -20
- package/dist/clock-Xuw4kh_Y.js +0 -28
- package/dist/coins-BeFK6pqR.js +0 -30
- package/dist/company-types-value-BYTAKfjo.js +0 -17
- package/dist/constants-Cuqk72uG.js +0 -233
- package/dist/contract-D4VJIjGm.js +0 -20
- package/dist/countries-BLvJ0FJ4.js +0 -41
- package/dist/country-Cm0PPJDS.js +0 -13
- package/dist/cross-CbSU1xP-.js +0 -20
- package/dist/cross-circle-fill-iElIdcZN.js +0 -30
- package/dist/cross-circle-fill-small-DyxDVLjN.js +0 -20
- package/dist/cs-CZ-3vdI5Jjr.js +0 -31
- package/dist/cs-CZ-B1VpAUva.js +0 -7
- package/dist/cs-CZ-BCCbEB0j.js +0 -7
- package/dist/cs-CZ-BWwYdy4S.js +0 -7
- package/dist/cs-CZ-CDBbVGc-.js +0 -60
- package/dist/cs-CZ-DC3dWoGV.js +0 -7
- package/dist/cs-CZ-DtoIeWYx.js +0 -7
- package/dist/da-DK-BCPtwA_c.js +0 -7
- package/dist/da-DK-BVAv2vUs.js +0 -7
- package/dist/da-DK-BbuiozUl.js +0 -7
- package/dist/da-DK-C0KVt06k.js +0 -7
- package/dist/da-DK-CrBk2y5x.js +0 -31
- package/dist/da-DK-DaA3zK0h.js +0 -60
- package/dist/da-DK-klGGwyxv.js +0 -7
- package/dist/datasetUtil-uPWEKDf8.js +0 -45
- package/dist/de-DE-B8GqI1Sq.js +0 -7
- package/dist/de-DE-B_L7jawo.js +0 -7
- package/dist/de-DE-CEKqkGeP.js +0 -7
- package/dist/de-DE-Cl0fc0U_.js +0 -60
- package/dist/de-DE-DXkUC1-N.js +0 -7
- package/dist/de-DE-XXqDUm1h.js +0 -31
- package/dist/de-DE-uuUOPGHs.js +0 -7
- package/dist/decisionMaker-b5wJjUBN.js +0 -146
- package/dist/decisionMakerRoles-CCKWKoWd.js +0 -46
- package/dist/document-1-Dfu6EDzV.js +0 -20
- package/dist/document-person-Dgv26vCh.js +0 -28
- package/dist/download-Ct05dQIR.js +0 -23
- package/dist/edit-1-m3Xin3vd.js +0 -20
- package/dist/el-GR-BP7G1Ka8.js +0 -31
- package/dist/el-GR-CEZLeeb3.js +0 -7
- package/dist/el-GR-CNoP_at_.js +0 -60
- package/dist/el-GR-Ctd3mBAX.js +0 -7
- package/dist/el-GR-D4Pmng8T.js +0 -7
- package/dist/el-GR-DtpUBNHl.js +0 -7
- package/dist/el-GR-WS8xbrFJ.js +0 -7
- package/dist/en-US-BqoUncE4.js +0 -7
- package/dist/en-US-DQLhkpBE.js +0 -60
- package/dist/entityAssociationUtil-D1ledZtc.js +0 -59
- package/dist/es-ES-B-x17o8d.js +0 -7
- package/dist/es-ES-BPXpnHRY.js +0 -60
- package/dist/es-ES-BQyI--wB.js +0 -31
- package/dist/es-ES-BrTDtXtR.js +0 -7
- package/dist/es-ES-CB4LW8fA.js +0 -7
- package/dist/es-ES-DB77kzqT.js +0 -7
- package/dist/es-ES-XWHjoMpE.js +0 -7
- package/dist/et-EE-BSBN_3SH.js +0 -31
- package/dist/et-EE-BiA52MlJ.js +0 -7
- package/dist/et-EE-CPykMmP6.js +0 -7
- package/dist/et-EE-CfkcHuFD.js +0 -60
- package/dist/et-EE-CweZxZJx.js +0 -7
- package/dist/et-EE-D5ztjKQA.js +0 -7
- package/dist/et-EE-Dj0jysHw.js +0 -7
- package/dist/external-link-BxiqXr7-.js +0 -20
- package/dist/fi-FI-4ckffUlB.js +0 -7
- package/dist/fi-FI-AQc_uafE.js +0 -7
- package/dist/fi-FI-BUUV58aZ.js +0 -7
- package/dist/fi-FI-BvjOb0Oi.js +0 -7
- package/dist/fi-FI-CGqRN2IG.js +0 -60
- package/dist/fi-FI-Ci2zcIZj.js +0 -31
- package/dist/fi-FI-lFhGznBk2.js +0 -7
- package/dist/formFieldsUtils-DGrXBMOZ.js +0 -7
- package/dist/formUtils-C7vlzCV-.js +0 -78
- package/dist/fr-FR-B95kf8uT2.js +0 -7
- package/dist/fr-FR-BuQwZ2oq.js +0 -7
- package/dist/fr-FR-BwhO0tqx.js +0 -60
- package/dist/fr-FR-CZs4UzUR.js +0 -7
- package/dist/fr-FR-Cq7iIftz.js +0 -31
- package/dist/fr-FR-CzKTntJm.js +0 -7
- package/dist/fr-FR-e7lKrFcK.js +0 -7
- package/dist/getLegalEntityCountry-C6bSV6sB.js +0 -17
- package/dist/getName-BtgdCWSR.js +0 -35
- package/dist/getProblemsForEntity-B9GOFyRX.js +0 -16
- package/dist/getTrustedDecisionMakers-D2yayvPr.js +0 -25
- package/dist/gift-CX0qVK1O.js +0 -20
- package/dist/globalStore-BCeQ8cDF.js +0 -419
- package/dist/graph-idneKCfM.js +0 -32
- package/dist/graph-up-BZtGbTh8.js +0 -38
- package/dist/headquarter-pYPoPBZM.js +0 -42
- package/dist/hotel-DcStWscD.js +0 -33
- package/dist/hr-HR-BFy27vAx2.js +0 -7
- package/dist/hr-HR-BXLWA1xd.js +0 -60
- package/dist/hr-HR-CN0us45A.js +0 -7
- package/dist/hr-HR-DVJaypbL.js +0 -7
- package/dist/hr-HR-Ngyn0CeW.js +0 -7
- package/dist/hr-HR-WsApmYld.js +0 -7
- package/dist/hr-HR-iC0oTR81.js +0 -31
- package/dist/http-D5tz1jGD.js +0 -149
- package/dist/hu-HU-BXhdx-ju.js +0 -31
- package/dist/hu-HU-Bdjd0HM0.js +0 -7
- package/dist/hu-HU-D_5yVmCo.js +0 -7
- package/dist/hu-HU-Nb-5azdf.js +0 -60
- package/dist/hu-HU-kcQkkxnT2.js +0 -7
- package/dist/hu-HU-rbT-Gfxm.js +0 -7
- package/dist/hu-HU-xO5SwtyK.js +0 -7
- package/dist/image-Cu6NenSs.js +0 -23
- package/dist/info-BFv37bQB.js +0 -32
- package/dist/info-filled-d8JiHhYQ.js +0 -32
- package/dist/invalidateRootLegalEntity-D7_UqU5H.js +0 -45
- package/dist/isEmpty-Bi8OJ7I4.js +0 -14
- package/dist/isEmptyEntity-CCwgjz_g.js +0 -44
- package/dist/it-IT-B0pCVo4V.js +0 -60
- package/dist/it-IT-B2zFnv7K.js +0 -7
- package/dist/it-IT-BDkY4_D3.js +0 -31
- package/dist/it-IT-BUJ6M3KT2.js +0 -7
- package/dist/it-IT-DiJG8CVH.js +0 -7
- package/dist/it-IT-QMmUeFIw.js +0 -7
- package/dist/it-IT-wx2DTjIq.js +0 -7
- package/dist/ja-JP-B1AjiTAA2.js +0 -7
- package/dist/ja-JP-BchEmvKT.js +0 -7
- package/dist/ja-JP-CYNEiARm.js +0 -7
- package/dist/ja-JP-CYmySE1y.js +0 -7
- package/dist/ja-JP-DOkTs_1m.js +0 -31
- package/dist/ja-JP-DoROjKZt.js +0 -60
- package/dist/ja-JP-K0GtGc1m.js +0 -7
- package/dist/japanSupportUtils-DqvGrGbm.js +0 -11
- package/dist/keys-fzUbt2xF.js +0 -20
- package/dist/listToRecord-wN5QNS0D.js +0 -10
- package/dist/localizeDateString-Bni_Kn5k.js +0 -35
- package/dist/location-D--t6qb1.js +0 -23
- package/dist/lt-LT-2KIisO4_.js +0 -7
- package/dist/lt-LT-BwsC_PRy.js +0 -7
- package/dist/lt-LT-CDRKdIqh.js +0 -60
- package/dist/lt-LT-CfUZy3Nu.js +0 -7
- package/dist/lt-LT-Csda84LY.js +0 -7
- package/dist/lt-LT-DKeyLOpW2.js +0 -7
- package/dist/lt-LT-DpMT3Dw2.js +0 -31
- package/dist/lv-LV-B_twW5aF.js +0 -7
- package/dist/lv-LV-BlsECQxr.js +0 -60
- package/dist/lv-LV-CIkyBWzC2.js +0 -7
- package/dist/lv-LV-CaTht4v3.js +0 -7
- package/dist/lv-LV-DeE0FbCk.js +0 -7
- package/dist/lv-LV-M8ADb0dX.js +0 -7
- package/dist/lv-LV-aPZP5Wh5.js +0 -31
- package/dist/mail-CoQ5t6Ml.js +0 -20
- package/dist/mapExistingFile-AUOevYJs.js +0 -135
- package/dist/mapJpAddressSchemaToAddressLocalizations-DFgQADg8.js +0 -61
- package/dist/mapLegalEntityToIndividualSchema-CNdXP4KZ.js +0 -207
- package/dist/mapTransferInstrumentToPayoutAccount-DaAa5pOZ.js +0 -44
- package/dist/minus-circle-filled-BdvEdxjZ.js +0 -30
- package/dist/nl-NL-BPZ4ggwt.js +0 -7
- package/dist/nl-NL-BSq1sTYp2.js +0 -7
- package/dist/nl-NL-CQ0C9N3m.js +0 -60
- package/dist/nl-NL-Ch6Gx-ay.js +0 -7
- package/dist/nl-NL-K11VO8LF.js +0 -31
- package/dist/nl-NL-kUujSdLA.js +0 -7
- package/dist/nl-NL-lkzdYqOX.js +0 -7
- package/dist/no-NO-BNGILdWq.js +0 -31
- package/dist/no-NO-CRUvKPvc2.js +0 -7
- package/dist/no-NO-CSn5Ou1S.js +0 -7
- package/dist/no-NO-DAK8yauA.js +0 -7
- package/dist/no-NO-DEmXDlJQ.js +0 -7
- package/dist/no-NO-DyJlM9HH.js +0 -7
- package/dist/no-NO-FfT6jM26.js +0 -60
- package/dist/omitObscuredFieldsIfUnchanged-Bl-KmvQB.js +0 -20
- package/dist/options-horizontal-p3bn-0YP.js +0 -30
- package/dist/partner-DAXf38Tp.js +0 -30
- package/dist/patternValidators-DMnU4iGe.js +0 -73
- package/dist/pay-by-link-plane-JUQ9G9Rb.js +0 -33
- package/dist/payout-Bp5yyaPy.js +0 -38
- package/dist/pdf-nzZcuCSf.js +0 -22316
- package/dist/pdf.worker.min-DE42kNC_.js +0 -74645
- package/dist/person-CBe70ddT.js +0 -23
- package/dist/pl-PL-C8O5EIza.js +0 -7
- package/dist/pl-PL-CpA94K5Z.js +0 -7
- package/dist/pl-PL-D9oajkyF.js +0 -7
- package/dist/pl-PL-DQ3obGGK.js +0 -7
- package/dist/pl-PL-D_FRhmnE2.js +0 -7
- package/dist/pl-PL-DhJQbVhT.js +0 -31
- package/dist/pl-PL-vU5_jmwK.js +0 -60
- package/dist/plus-DMRvapmz.js +0 -20
- package/dist/plus-circle-filled-DUmcjiaH.js +0 -30
- package/dist/process-field-configurations-D-i--Py4.js +0 -279
- package/dist/processCapabilities-C3-DrzSD.js +0 -869
- package/dist/pt-BR-B3IHhi-A.js +0 -31
- package/dist/pt-BR-BJXrQjtE2.js +0 -7
- package/dist/pt-BR-BM2eCcyF.js +0 -60
- package/dist/pt-BR-CHDCegc8.js +0 -7
- package/dist/pt-BR-D9hPCc0c.js +0 -7
- package/dist/pt-BR-DyTpIjam.js +0 -7
- package/dist/pt-BR-u_Sv-NkV.js +0 -7
- package/dist/pt-PT-3DrMwWiz.js +0 -31
- package/dist/pt-PT-B1k39MuE.js +0 -7
- package/dist/pt-PT-BXlxPqah.js +0 -7
- package/dist/pt-PT-Bmgh2Wtd.js +0 -60
- package/dist/pt-PT-CUSJRIfa2.js +0 -7
- package/dist/pt-PT-GnCWUuu_.js +0 -7
- package/dist/pt-PT-ne6PkZM_.js +0 -7
- package/dist/recurring-DoBaCr6V.js +0 -23
- package/dist/resolveEnvironment-BI384OW7.js +0 -985
- package/dist/revenue-accelerate-BTrH1Kyc.js +0 -30
- package/dist/ro-RO-7iyzlI6_.js +0 -60
- package/dist/ro-RO-B1HkfIdK.js +0 -31
- package/dist/ro-RO-BvYWHJVi.js +0 -7
- package/dist/ro-RO-CcQh__lV2.js +0 -7
- package/dist/ro-RO-CfsDLBM4.js +0 -7
- package/dist/ro-RO-DGzJvIXf.js +0 -7
- package/dist/ro-RO-rwkWejS6.js +0 -7
- package/dist/roleMetadata-bE5AIBEY.js +0 -56
- package/dist/save-DtVvA4bm.js +0 -20
- package/dist/search-CwNfiquk.js +0 -30
- package/dist/show-mWAebR3W.js +0 -23
- package/dist/sk-SK-BQgZ5CQA.js +0 -7
- package/dist/sk-SK-BR0l7uzo.js +0 -7
- package/dist/sk-SK-BpMbHWuR.js +0 -60
- package/dist/sk-SK-C1lm7CTj.js +0 -7
- package/dist/sk-SK-Cd48q22c.js +0 -31
- package/dist/sk-SK-ChCtHT1F.js +0 -7
- package/dist/sk-SK-D6xioiMY2.js +0 -7
- package/dist/sl-SI-BZ5Dm_pA.js +0 -7
- package/dist/sl-SI-CRk5cPQq2.js +0 -7
- package/dist/sl-SI-D5wg7xsZ.js +0 -7
- package/dist/sl-SI-DHn8rJ33.js +0 -7
- package/dist/sl-SI-DpgW-r5w.js +0 -7
- package/dist/sl-SI-DvXrcue1.js +0 -31
- package/dist/sl-SI-gUNcHR30.js +0 -60
- package/dist/solution-payments-rYk5tB74.js +0 -20
- package/dist/store-vKCOvUVJ.js +0 -20
- package/dist/styles-DfQtSmqv.js +0 -6678
- package/dist/sv-SE-BfLV5o3E.js +0 -7
- package/dist/sv-SE-BhwzqPYQ.js +0 -60
- package/dist/sv-SE-CMkXS2cO.js +0 -31
- package/dist/sv-SE-CRPJUyOE2.js +0 -7
- package/dist/sv-SE-CloWnXU5.js +0 -7
- package/dist/sv-SE-CzO_XtYz.js +0 -7
- package/dist/sv-SE-Iv-yFbrD2.js +0 -7
- package/dist/terminal-1-BOv4YorG.js +0 -30
- package/dist/toFullWidth-CZdUBEal.js +0 -52
- package/dist/translation-BHUZ_WP7.js +0 -915
- package/dist/trustUtil-BBkbuta4.js +0 -99
- package/dist/types-BEc7vus9.js +0 -58
- package/dist/types-CBQZm0Fk.js +0 -150
- package/dist/types-CEJyC_Mj.js +0 -66
- package/dist/types-DyF8eymA.js +0 -19
- package/dist/unincorporated-partnership-CtwHVLzp.js +0 -11
- package/dist/upload-StAXlB73.js +0 -23
- package/dist/useAccountHolder-aoHH1XJq.js +0 -102
- package/dist/useAllowedCountries-Dea38KPz.js +0 -74
- package/dist/useAnalyticsContext-pNSIB8AZ.js +0 -12
- package/dist/useAssociatedLegalEntity-BOtek2pM.js +0 -35
- package/dist/useBusinessDetailsData-Dw8VtZkI.js +0 -4654
- package/dist/useBusinessLines-BE_hXjkY.js +0 -27
- package/dist/useCanSeeIntroduction-C7a4t7HJ.js +0 -39
- package/dist/useCapabilities-Bn6IcCNt.js +0 -12
- package/dist/useCreateLegalEntity-DWNHPjAr.js +0 -24
- package/dist/useDataMissingRemediations-Dc8p_hCP.js +0 -39
- package/dist/useDataset-VrL_8cq1.js +0 -96
- package/dist/useDeleteTransferInstrument-Bf3I-lk0.js +0 -31
- package/dist/useForm-CbSEaCrl.js +0 -502
- package/dist/useFormContext-DGW15-id.js +0 -504
- package/dist/useLegalEntity-k2lxoMzW.js +0 -48
- package/dist/useMultiForm-DOQ6_HoL.js +0 -817
- package/dist/useNavigate-zhguGWRa.js +0 -269
- package/dist/useOnboardingStatus-CHBhX5te.js +0 -23
- package/dist/usePciQuestionnaireList-Y87h-w4C.js +0 -26
- package/dist/useSalesChannels-f8ZEd90X.js +0 -47
- package/dist/useScenarios-D2TFpeEU.js +0 -55
- package/dist/useTaskLandedEvent-BdO8qSBg.js +0 -26
- package/dist/useTaskStatus-DPyTD_Ko.js +0 -23
- package/dist/useTermsOfServiceStatus-C04Xyc0M.js +0 -39
- package/dist/useToastContext-BIwgSCxA.js +0 -12
- package/dist/useToggleContext-B57-85xe.js +0 -21
- package/dist/useTrustMembers-DYKQfH8R.js +0 -152
- package/dist/useUnincorporatedPartnershipMembers-CtuG_S-a.js +0 -70
- package/dist/useUpdateBusinessLines-CaT_-l9v.js +0 -68
- package/dist/useUpdateLegalEntity-CfJs-A1X.js +0 -29
- package/dist/utils-Bx8jBrij.js +0 -46
- package/dist/utils-C1DzW0Hz.js +0 -207
- package/dist/utils-Cd8I9QM7.js +0 -2507
- package/dist/utils-TlcnGMeG.js +0 -188
- package/dist/utils-g_Wl4-9Z.js +0 -24
- package/dist/validate-CaRbtwlX.js +0 -411
- package/dist/validate-J6U_ulFs.js +0 -397
- package/dist/validate-maTmOby_.js +0 -109
- package/dist/validationError-CD5jY1NM.js +0 -68
- package/dist/validationResult-OLfDDPfY.js +0 -77
- package/dist/validatorUtils-Dz6AklT-.js +0 -107
- package/dist/warning-circle-fill-BZhgf5Z8.js +0 -30
- package/dist/warning-diamond-filled-hJarrWMO.js +0 -30
- package/dist/webinar-j4tLxNVB.js +0 -33
- /package/dist/{AD-Dz8oe6Pg.js → AD-Clkur2Hx.js} +0 -0
- /package/dist/{AE-CTdU1tzb.js → AE-BUOfE-VR.js} +0 -0
- /package/dist/{AI-tjrpVbOw.js → AI-BApAOdVW.js} +0 -0
- /package/dist/{AL-DvyI05UB.js → AL-DfPgkH9x.js} +0 -0
- /package/dist/{AR-DI6rdPa-.js → AR-Bddz61XJ.js} +0 -0
- /package/dist/{AS-ByXIuSCx.js → AS-C3xgvOIz.js} +0 -0
- /package/dist/{AT-CvSbaCoE.js → AT-BG3-OqzL.js} +0 -0
- /package/dist/{AT-DYSevBIw.js → AT-BNvEEyA1.js} +0 -0
- /package/dist/{AT-CutjdISu.js → AT-CaB9iU_v.js} +0 -0
- /package/dist/{AT-Dt3ZU8Yh.js → AT-DnJdtYnd.js} +0 -0
- /package/dist/{AU-EWPyqdHL.js → AU-B7Lwienf.js} +0 -0
- /package/dist/{AU-DzJ7QlNR.js → AU-CcGu7r3p.js} +0 -0
- /package/dist/{AU-C6u3aod7.js → AU-DL1fsj76.js} +0 -0
- /package/dist/{AU-CLU0Xn_D.js → AU-yI1HPsCK.js} +0 -0
- /package/dist/{AX-DJ84WiiY.js → AX-BTtRN-MP.js} +0 -0
- /package/dist/{AZ-o_CDsMs4.js → AZ-CXVL6e85.js} +0 -0
- /package/dist/{AnalyticsContext-CbM5V7Nw.js → AnalyticsContext-BFrJmsp0.js} +0 -0
- /package/dist/{BA-DL2O-nPB.js → BA-27B-jpFq.js} +0 -0
- /package/dist/{BE-CyRTa5vY.js → BE-BIPb3aCp.js} +0 -0
- /package/dist/{BE-CT0bdDbu.js → BE-BSUwgR6_.js} +0 -0
- /package/dist/{BE-DgU3CTNg.js → BE-BsQPppoQ.js} +0 -0
- /package/dist/{BE-7F1ZOUtb.js → BE-S2mx1KWp.js} +0 -0
- /package/dist/{BG-B7VMgZNt.js → BG-ChvSTIBz.js} +0 -0
- /package/dist/{BH-Bot1MlCL.js → BH-D1HvWueK.js} +0 -0
- /package/dist/{BM-CfbbOZEU.js → BM-bLwVUrnz.js} +0 -0
- /package/dist/{BR-DrGkuPBg.js → BR-B6k-5VHk.js} +0 -0
- /package/dist/{BR-BikIex5m.js → BR-CZRoZyCm.js} +0 -0
- /package/dist/{BR-BaEKrqwp.js → BR-Df_k79xR.js} +0 -0
- /package/dist/{BR-PBodf94A.js → BR-nSEEl5uz.js} +0 -0
- /package/dist/{BS-CR7QZvMY.js → BS-Bf402NRj.js} +0 -0
- /package/dist/{BV-pdJ1HYkg.js → BV-CJwVioP4.js} +0 -0
- /package/dist/{BY-RUR9XmBt.js → BY-CYaB1wEE.js} +0 -0
- /package/dist/{CA-6iRpP8zm.js → CA-B49VPJKw.js} +0 -0
- /package/dist/{CA-CgOysQQa.js → CA-BJlN0jtV.js} +0 -0
- /package/dist/{CA-BM1GlX51.js → CA-C_C9nVmL.js} +0 -0
- /package/dist/{CA-Bilo42jc.js → CA-Drxrt6ud.js} +0 -0
- /package/dist/{CH-HrO9afDv.js → CH-8VbtrnFA.js} +0 -0
- /package/dist/{CH-gKI7wttp.js → CH-B0Z9FJR9.js} +0 -0
- /package/dist/{CH-BZ2dJJcd.js → CH-BASES6q1.js} +0 -0
- /package/dist/{CH-CmSkzRbO.js → CH-C93Zls9o.js} +0 -0
- /package/dist/{CN-BUtZk2Mu.js → CN-CEIcYgEd.js} +0 -0
- /package/dist/{CR-CnpHHfms.js → CR-CU6MVhAz.js} +0 -0
- /package/dist/{CY-Ge_L3SKC.js → CY-DSZIX0eb.js} +0 -0
- /package/dist/{CZ-Cxwo_jP6.js → CZ-Bk7V7DHn.js} +0 -0
- /package/dist/{CZ-C1HmDbqn.js → CZ-CG9NlpHx.js} +0 -0
- /package/dist/{CZ-B8b5P2Or.js → CZ-CUYgGHVo.js} +0 -0
- /package/dist/{CZ-I8UM9ti_.js → CZ-DD_9_zGY.js} +0 -0
- /package/dist/{ContractViewer-B8CspWV4.js → ContractViewer-JtnAXSDa.js} +0 -0
- /package/dist/{DE-HSEDrUfG.js → DE-3Qc-SfVV.js} +0 -0
- /package/dist/{DE-pQVkh64s.js → DE-BFenFnWV.js} +0 -0
- /package/dist/{DE-C2MEdoRW.js → DE-BX-_ptty.js} +0 -0
- /package/dist/{DE-CSMMxMuZ.js → DE-CKGX5CHO.js} +0 -0
- /package/dist/{DK-BCcPGFzQ.js → DK--Bs4HfJM.js} +0 -0
- /package/dist/{DK-dsRhTFow.js → DK-B9lf0wLy.js} +0 -0
- /package/dist/{DK-TyxXs-DV.js → DK-DORnwCWQ.js} +0 -0
- /package/dist/{DK-mVm8rtJr.js → DK-EjkKz2GN.js} +0 -0
- /package/dist/{DO-B84eOniD.js → DO-D4wgMRWE.js} +0 -0
- /package/dist/{EC-BAzODm77.js → EC-B2FGK-mr.js} +0 -0
- /package/dist/{EE-D2n6E72J.js → EE-qXeASUC-.js} +0 -0
- /package/dist/{ES-CsmTJRIi.js → ES-BBz54aGb.js} +0 -0
- /package/dist/{ES-D4WzOTek.js → ES-C89tOy9e.js} +0 -0
- /package/dist/{ES-DnRoTFNh.js → ES-IBdkjuIk.js} +0 -0
- /package/dist/{ES-BI7auc_D.js → ES-pbBXmvb6.js} +0 -0
- /package/dist/{FI-YOhI9TrO.js → FI-C2Ehs0Cl.js} +0 -0
- /package/dist/{FI-DJZScc7l.js → FI-DCXniiD4.js} +0 -0
- /package/dist/{FI-DhWyH1DT.js → FI-DHkXLS9S.js} +0 -0
- /package/dist/{FI-CZ6ep3W_.js → FI-K6KjFCWK.js} +0 -0
- /package/dist/{FJ-BcqfFVGi.js → FJ-V_2w3UTO.js} +0 -0
- /package/dist/{FO-BuQb8zK_.js → FO-DR-Xnm7u.js} +0 -0
- /package/dist/{FR-EX-aYUJ3.js → FR-B5uEo3fD.js} +0 -0
- /package/dist/{FR-DYfYAn5S.js → FR-CQw_46PX.js} +0 -0
- /package/dist/{FR-SxebWfwR.js → FR-CtpYelsq.js} +0 -0
- /package/dist/{FR-CWb0_Fcq.js → FR-CxvXXv-O.js} +0 -0
- /package/dist/{GB-CszgE98l.js → GB-BDGKJSiZ.js} +0 -0
- /package/dist/{GB-BycqX1ng.js → GB-DCF0Nkem.js} +0 -0
- /package/dist/{GB-DlvvuQuQ.js → GB-G_B8HSJg.js} +0 -0
- /package/dist/{GB-q2GO1nX8.js → GB-tfbORrua.js} +0 -0
- /package/dist/{GE-ChK3V1hi.js → GE-By9lo4py.js} +0 -0
- /package/dist/{GF-fTBjIC0q.js → GF-B0xFBl9q.js} +0 -0
- /package/dist/{GG-Cppga3Z4.js → GG-bAeosM_i.js} +0 -0
- /package/dist/{GI-Cm7N6fbE.js → GI-DfkPsLw0.js} +0 -0
- /package/dist/{GL-C75JniJw.js → GL-DhRtJPZY.js} +0 -0
- /package/dist/{GP-DhHOAa8k.js → GP-DNyYQvJw.js} +0 -0
- /package/dist/{GR-zOZilI5v.js → GR-DK-QrYIO.js} +0 -0
- /package/dist/{GT-B6tGLPxx.js → GT-BRuMYK92.js} +0 -0
- /package/dist/{GU-DjjJkDVU.js → GU-DAYIt05K.js} +0 -0
- /package/dist/{HK-CVaMk2Vl.js → HK-B4jzjZtL.js} +0 -0
- /package/dist/{HK-Yj_9Qbs3.js → HK-C1qODiFA.js} +0 -0
- /package/dist/{HK-Bs3Wsh4t.js → HK-DDKKwlVK.js} +0 -0
- /package/dist/{HK-BXsi3wQZ.js → HK-DeKSh6yq.js} +0 -0
- /package/dist/{HR-BR9TaCeP.js → HR-D0EqC8kx.js} +0 -0
- /package/dist/{HR-C-NuIOkA.js → HR-DOktpDnh.js} +0 -0
- /package/dist/{HR-8jCYyclY.js → HR-DomyNfJ0.js} +0 -0
- /package/dist/{HR-DvG9lG0o.js → HR-DxBWHi9K.js} +0 -0
- /package/dist/{HU-kkbB9HNQ.js → HU--SKUZPJ2.js} +0 -0
- /package/dist/{HU-B4hChLQO.js → HU-BS5tTBem.js} +0 -0
- /package/dist/{HU-o4ILK6JM.js → HU-DIT5cG5Z.js} +0 -0
- /package/dist/{HU-DF7a_-3t.js → HU-HvuEJeUR.js} +0 -0
- /package/dist/{HandlerContext-CIedIvkP.js → HandlerContext-DeMa68z0.js} +0 -0
- /package/dist/{ID-CnOsjpEC.js → ID-BBzj2tyK.js} +0 -0
- /package/dist/{IE-Dwlg9nat.js → IE-BB2lTAcu.js} +0 -0
- /package/dist/{IE-CtesijIU.js → IE-CxtzANSG.js} +0 -0
- /package/dist/{IE-dmyHscm0.js → IE-DOtxtX8R.js} +0 -0
- /package/dist/{IE-B3ysSG_S.js → IE-DwzVxL1C.js} +0 -0
- /package/dist/{IL-B2GfQOoK.js → IL-CgJ0eWPT.js} +0 -0
- /package/dist/{IM-D9Hb0nwZ.js → IM-Ca1LRzUz.js} +0 -0
- /package/dist/{IN-Qhys3xn2.js → IN--pr2-g7e.js} +0 -0
- /package/dist/{IS-DTXiGHYB.js → IS-BZeqGau3.js} +0 -0
- /package/dist/{IT-CHV5-m07.js → IT-BioiAQgd.js} +0 -0
- /package/dist/{IT-BZGkLCTQ.js → IT-CISIu45c.js} +0 -0
- /package/dist/{IT-Dimtibs1.js → IT-CUgNzWLF.js} +0 -0
- /package/dist/{IT-DFeNc5UK.js → IT-DwZn8LHj.js} +0 -0
- /package/dist/{InputGroup-B8AaetlI.js → InputGroup-B4U3QVEp.js} +0 -0
- /package/dist/{JE-D7_0MZEA.js → JE-BCj36onT.js} +0 -0
- /package/dist/{JM-CUVKn5To.js → JM-b03xrGTz.js} +0 -0
- /package/dist/{JO-B9_bPqbF.js → JO-CA8m_H5N.js} +0 -0
- /package/dist/{JP-z_PjepRf.js → JP-DroDT2u3.js} +0 -0
- /package/dist/{KR-DaFOJAbV.js → KR-BkBLDQIT.js} +0 -0
- /package/dist/{KW-BLH4fj8S.js → KW-dB3SXEf8.js} +0 -0
- /package/dist/{KY-DG3Xehmz.js → KY-mZ-zKVkq.js} +0 -0
- /package/dist/{KZ-BjnXKq2l.js → KZ-CcyUPGdv.js} +0 -0
- /package/dist/{LB-CY5c_gqN.js → LB-DmtcVmjU.js} +0 -0
- /package/dist/{LI-BkFK_qrZ.js → LI-haSXATP0.js} +0 -0
- /package/dist/{LT-2wka4qNS.js → LT-BkxAhfJz.js} +0 -0
- /package/dist/{LT--zST1zqj.js → LT-CYlhLD3-.js} +0 -0
- /package/dist/{LT-BV7s3TCv.js → LT-DnvVPVhz.js} +0 -0
- /package/dist/{LT-BxqPzqgf.js → LT-GP546RUy.js} +0 -0
- /package/dist/{LU-Bt4sIWIT.js → LU-CnQilYzI.js} +0 -0
- /package/dist/{LV-B-FeTyBQ.js → LV-BJoOuCmD.js} +0 -0
- /package/dist/{MC-D92BHmGr.js → MC-1OhRuam2.js} +0 -0
- /package/dist/{MD-BzJaxo1n.js → MD-DN7TRpmW.js} +0 -0
- /package/dist/{ME-Iw66DM2s.js → ME-CuMiA40n.js} +0 -0
- /package/dist/{MK-yRjMHvLF.js → MK-DGR-uR66.js} +0 -0
- /package/dist/{MP-CGHoAYPz.js → MP-xhfj0dkC.js} +0 -0
- /package/dist/{MQ-Db73c-TY.js → MQ-CZu5G2-t.js} +0 -0
- /package/dist/{MR-CzGlj8ce.js → MR--V7elAIS.js} +0 -0
- /package/dist/{MT-n0Cp6O8-.js → MT-BmkVDeF2.js} +0 -0
- /package/dist/{MU-C57EyXfP.js → MU-LzgqzZzT.js} +0 -0
- /package/dist/{MX-JSUPc6V8.js → MX-z-WoZkPd.js} +0 -0
- /package/dist/{MY-Bbgpg3w2.js → MY-WsFwWp2U.js} +0 -0
- /package/dist/{NC-BeqCqe7o.js → NC-B9M8cc6C.js} +0 -0
- /package/dist/{NL-C1r7ND7d.js → NL-Bn2QKc20.js} +0 -0
- /package/dist/{NL-KVjpCVaw.js → NL-BosPsuiC.js} +0 -0
- /package/dist/{NL-CIX2R11u.js → NL-CXjh0eXG.js} +0 -0
- /package/dist/{NL-B22K1Zb0.js → NL-DQew6XR-.js} +0 -0
- /package/dist/{NO-CV0UtHqk.js → NO--AQKkHLW.js} +0 -0
- /package/dist/{NO-BhYtIUv1.js → NO-BuWcaqBm.js} +0 -0
- /package/dist/{NO-DLFLW3I8.js → NO-CFh5Lkfr.js} +0 -0
- /package/dist/{NO-CFty2TsC.js → NO-D7BSfuUs.js} +0 -0
- /package/dist/{NZ-DZ75lvmW.js → NZ-BDDXct1F.js} +0 -0
- /package/dist/{NZ-ClQC7uEQ.js → NZ-DyVhIxBu.js} +0 -0
- /package/dist/{PE-BhP-iF08.js → PE-DJZc_8Lk.js} +0 -0
- /package/dist/{PF-DZJu8LvP.js → PF-D593LuXT.js} +0 -0
- /package/dist/{PH-8s_pcD1T.js → PH-CJRjYgx3.js} +0 -0
- /package/dist/{PK-BkHx9Wu7.js → PK-C1TVRYA6.js} +0 -0
- /package/dist/{PL-oVwazamy.js → PL-7-9sJ6je.js} +0 -0
- /package/dist/{PL-CZ0JZlv4.js → PL-C3tudSnw.js} +0 -0
- /package/dist/{PL-DjTZTZqB.js → PL-CtjljK4S.js} +0 -0
- /package/dist/{PL-Db0WKekw.js → PL-DasLrwsx.js} +0 -0
- /package/dist/{PM-Bcq0SkSj.js → PM-CPvVGX_s.js} +0 -0
- /package/dist/{PR-N31WZxLD.js → PR-C6mnN4I1.js} +0 -0
- /package/dist/{PS-DzthwPAx.js → PS-Bqa7HAb6.js} +0 -0
- /package/dist/{PT-ilpiMMVG.js → PT-BHFP2Jx8.js} +0 -0
- /package/dist/{PT-C6fd2w3g.js → PT-C9aMzry5.js} +0 -0
- /package/dist/{PT-C3FlrAqt.js → PT-Ck3Uvmoz.js} +0 -0
- /package/dist/{PT-BVfq_KIl.js → PT-DMEuvIu6.js} +0 -0
- /package/dist/{QA-zn4Gdzbo.js → QA-B2A0rFrR.js} +0 -0
- /package/dist/{RE-dG3KJMMx.js → RE-BSdvJRM5.js} +0 -0
- /package/dist/{RO-Dtlve3hZ.js → RO-BZxtXYEM.js} +0 -0
- /package/dist/{RO-B1UBvxsc.js → RO-CJlQuJqy.js} +0 -0
- /package/dist/{RO-BL-J1_yg.js → RO-C_QrkrYl.js} +0 -0
- /package/dist/{RO-BXtuhVoN.js → RO-CewdEU2z.js} +0 -0
- /package/dist/{RS-DIpTuX70.js → RS-DAtcOeON.js} +0 -0
- /package/dist/{RU-B7YwaezI.js → RU-CDpkuVOX.js} +0 -0
- /package/dist/{SA-yHvpRBBt.js → SA-BoAcP38a.js} +0 -0
- /package/dist/{SE-CccuzUP0.js → SE-Ca_yLiKO.js} +0 -0
- /package/dist/{SE-gXHu0efH.js → SE-DX5R7MEM.js} +0 -0
- /package/dist/{SE-pMhyd7KJ.js → SE-DzRKAJvT.js} +0 -0
- /package/dist/{SE-CfxNbl59.js → SE-U0u4yomj.js} +0 -0
- /package/dist/{SG-DIKkp5VX.js → SG-BR0qm_Lu.js} +0 -0
- /package/dist/{SG-CODE9yV_.js → SG-Dm4nWFwC.js} +0 -0
- /package/dist/{SG-fAOioO1i.js → SG-ljx49JLF.js} +0 -0
- /package/dist/{SG-CGk7k8y6.js → SG-sKZVzzs9.js} +0 -0
- /package/dist/{SI-BpwxzWXI.js → SI-BIBw5Y4Z.js} +0 -0
- /package/dist/{SI-D8ngpNLP.js → SI-BxOiA06G.js} +0 -0
- /package/dist/{SI-DgNZ746W.js → SI-CHQHMWZa.js} +0 -0
- /package/dist/{SI-CtMaFIsz.js → SI-CbzJWJo5.js} +0 -0
- /package/dist/{SJ-SG7xxYUX.js → SJ-C0EiPIY7.js} +0 -0
- /package/dist/{SK-CNT7QVie.js → SK-B-_-RVXx.js} +0 -0
- /package/dist/{SK-D8vU29-x.js → SK-BPuPGFPo.js} +0 -0
- /package/dist/{SK-DssnPaZv.js → SK-Bg9K35hT.js} +0 -0
- /package/dist/{SK-C7ldUW73.js → SK-M9wg6on5.js} +0 -0
- /package/dist/{SM-Ds8vicT5.js → SM-BAP1izca.js} +0 -0
- /package/dist/{TF-Ckf_6iT5.js → TF-BzLXwUD9.js} +0 -0
- /package/dist/{TH-2sIVIZNa.js → TH-wvwE8m03.js} +0 -0
- /package/dist/{TL-OSKwf5cB.js → TL-CAwOhktT.js} +0 -0
- /package/dist/{TN-BcUBhs_y.js → TN-Bs-VE6A_.js} +0 -0
- /package/dist/{TR-nO7zl2t7.js → TR-7uYc2xp7.js} +0 -0
- /package/dist/{TT-uQXIiTh9.js → TT-DbzL2xhJ.js} +0 -0
- /package/dist/{TW-ra8aVP1u.js → TW-BTAvA4FA.js} +0 -0
- /package/dist/{UA-ChP4sFEB.js → UA-BAkAL82L.js} +0 -0
- /package/dist/{US-D6PlTpHk.js → US-BXek71cY.js} +0 -0
- /package/dist/{US-CPcVUQez.js → US-CBUD9sMP.js} +0 -0
- /package/dist/{US-F-OhVaqg.js → US-CyRlJ_CX.js} +0 -0
- /package/dist/{US-amE0CRbB.js → US-D3s6UvEg.js} +0 -0
- /package/dist/{UY-BFN4uNVz.js → UY-Bq43JSIl.js} +0 -0
- /package/dist/{VA-lz_OQgNz.js → VA-CHkQ7jk0.js} +0 -0
- /package/dist/{VG-CUKKrF3h.js → VG-DnUOjTKa.js} +0 -0
- /package/dist/{VI-D1i4Oi0B.js → VI-CjjaTPrq.js} +0 -0
- /package/dist/{VN-DRaYj63j.js → VN-DgqMueJl.js} +0 -0
- /package/dist/{WF-K2TrgrKu.js → WF-Czcwchbb.js} +0 -0
- /package/dist/{YT-CEOdE-OK.js → YT-BTQIBrb1.js} +0 -0
- /package/dist/{ZA-BVXb4Fcr.js → ZA-BAufwt8q.js} +0 -0
- /package/dist/{basePatterns-B0FC-Crd.js → basePatterns-plHFNzgJ.js} +0 -0
- /package/dist/{bg-BG-DqOqFO0A.js → bg-BG-B1zNismI.js} +0 -0
- /package/dist/{bg-BG-DLd3BaDx.js → bg-BG-BVoCVNdz.js} +0 -0
- /package/dist/{bg-BG-B845EAcI.js → bg-BG-BpPjqqen.js} +0 -0
- /package/dist/{bg-BG-BsrzL-U8.js → bg-BG-CQgiIkWL.js} +0 -0
- /package/dist/{bg-BG-CncTIGKT2.js → bg-BG-CmuahJEZ.js} +0 -0
- /package/dist/{bg-BG-CUmjOcpi2.js → bg-BG-DUIc4CjB.js} +0 -0
- /package/dist/{bg-BG-BrYfHU1Y.js → bg-BG-qQc6pN4K.js} +0 -0
- /package/dist/{business-lines-DY5WHePf.js → business-lines-De9DsaVa.js} +0 -0
- /package/dist/{country-code-BjUoKbAN.js → country-code-CJk2hdPu.js} +0 -0
- /package/dist/{cs-CZ-Bl40lHzE.js → cs-CZ-CfiYuMi0.js} +0 -0
- /package/dist/{cs-CZ-n18LpZrJ2.js → cs-CZ-Cl6WgrU6.js} +0 -0
- /package/dist/{cs-CZ-IZhVT21N.js → cs-CZ-DGD5Pulk.js} +0 -0
- /package/dist/{cs-CZ-Is3lue5X2.js → cs-CZ-DUNmRoYr.js} +0 -0
- /package/dist/{cs-CZ-D08FCyDx.js → cs-CZ-Dz8kXdHw.js} +0 -0
- /package/dist/{cs-CZ-HMzN3w9M.js → cs-CZ-Jsmhr_B3.js} +0 -0
- /package/dist/{cs-CZ-C6VkcCUo.js → cs-CZ-fK4LxA1u.js} +0 -0
- /package/dist/{currency-B8-OEAgj.js → currency-DQwXq9Mc.js} +0 -0
- /package/dist/{da-DK-DJ5ddVnr2.js → da-DK-ANBIxDco.js} +0 -0
- /package/dist/{da-DK-CB-sFnhe.js → da-DK-Bwkz0Wxd.js} +0 -0
- /package/dist/{da-DK-CzCkRjoI2.js → da-DK-CWWLFjfT.js} +0 -0
- /package/dist/{da-DK-IX9UQUAb.js → da-DK-CXZXQspY.js} +0 -0
- /package/dist/{da-DK-B576UeqU.js → da-DK-CzyaFVpm.js} +0 -0
- /package/dist/{da-DK-CzFS-0y6.js → da-DK-NCs7m8qy.js} +0 -0
- /package/dist/{da-DK-BwIZqzDw.js → da-DK-SpVsMtf5.js} +0 -0
- /package/dist/{de-DE-DSP4aQRh.js → de-DE-BRJ0jBty.js} +0 -0
- /package/dist/{de-DE-CHdEma9v.js → de-DE-CT8rn19_.js} +0 -0
- /package/dist/{de-DE-BHik7H3o.js → de-DE-CVNJWoQd.js} +0 -0
- /package/dist/{de-DE-CfuejIRq.js → de-DE-DPkZZVMc.js} +0 -0
- /package/dist/{de-DE-CZ4lmioI2.js → de-DE-HdJ5vlQN.js} +0 -0
- /package/dist/{de-DE-Bki8tbcV2.js → de-DE-LLIuFER0.js} +0 -0
- /package/dist/{de-DE-C4PzkDzF.js → de-DE-flvryS_H.js} +0 -0
- /package/dist/{de-DE-C9UIqdWt.js → de-DE-w4l6boYT.js} +0 -0
- /package/dist/{debouncedInputEvent-CUZBv60e.js → debouncedInputEvent-D2-Kctv9.js} +0 -0
- /package/dist/{debugStore-BVjLDPIU.js → debugStore-Dwn1FXrh.js} +0 -0
- /package/dist/{decision-maker-type-CWrppE0k.js → decision-maker-type-NR4GFAeT.js} +0 -0
- /package/dist/{decision-makers-group-D53oFTHn.js → decision-makers-group-DAoxQRJ3.js} +0 -0
- /package/dist/{digital-wallet-CLOVHAow.js → digital-wallet-ByQCwU-K.js} +0 -0
- /package/dist/{document-blurred-DGXvRTC8.js → document-blurred-iJRUsQR5.js} +0 -0
- /package/dist/{document-cut-off-DbVQzqxC.js → document-cut-off-DhZYZ56P.js} +0 -0
- /package/dist/{document-expired-DKnTJ5T9.js → document-expired-CDV5yclN.js} +0 -0
- /package/dist/{document-front-Bn5jsEIh.js → document-front-tg-w81rp.js} +0 -0
- /package/dist/{el-GR-LUFCyvHj.js → el-GR-28yAVKwY.js} +0 -0
- /package/dist/{el-GR-B5dqrdWm.js → el-GR-BMGYrO4V.js} +0 -0
- /package/dist/{el-GR-XuQDipDR.js → el-GR-BfKp5abT.js} +0 -0
- /package/dist/{el-GR-3u6kc4gj.js → el-GR-Ctvm4US3.js} +0 -0
- /package/dist/{el-GR-DocTTdq-2.js → el-GR-D9MFsese.js} +0 -0
- /package/dist/{el-GR-CZs5BPVJ2.js → el-GR-D_JXywE0.js} +0 -0
- /package/dist/{el-GR-BUBdTCMP.js → el-GR-Df7yzbal.js} +0 -0
- /package/dist/{el-GR-Buy5IU8M.js → el-GR-DqTetsjB.js} +0 -0
- /package/dist/{emitEvent-B8K0cb1F.js → emitEvent-CcGIaOut.js} +0 -0
- /package/dist/{en-US-DdArZW-2.js → en-US-B82BbZaB.js} +0 -0
- /package/dist/{en-US-DLIlixDF.js → en-US-BIYEZxZV.js} +0 -0
- /package/dist/{en-US-BpCm0Bvk.js → en-US-BcTbYQei.js} +0 -0
- /package/dist/{en-US-BOJswraw.js → en-US-BqGRsgfO.js} +0 -0
- /package/dist/{en-US-VZ7ytmtB.js → en-US-BqvVH-Pi.js} +0 -0
- /package/dist/{en-US-ccX525iK.js → en-US-C1J9jcVI.js} +0 -0
- /package/dist/{en-US-D_g_DM_a2.js → en-US-C2htqfkP.js} +0 -0
- /package/dist/{en-US-D9vXTqQr.js → en-US-C6sEvgbn.js} +0 -0
- /package/dist/{en-US-CXdfrlM6.js → en-US-CRoNUEFi.js} +0 -0
- /package/dist/{en-US-gwxv5v9w.js → en-US-CWDI7JKT.js} +0 -0
- /package/dist/{en-US-DNQKfkN1.js → en-US-CeiLSh8o.js} +0 -0
- /package/dist/{en-US-CN15rSvL.js → en-US-D0fscfsz.js} +0 -0
- /package/dist/{en-US-Bw9LpxPe.js → en-US-D0pPfuzx.js} +0 -0
- /package/dist/{en-US-B-_7IR6A.js → en-US-D0qNFi4G.js} +0 -0
- /package/dist/{en-US-HW6CoTeP.js → en-US-DLsYeEWI.js} +0 -0
- /package/dist/{en-US-DmDPhSJN.js → en-US-DXLqOZX1.js} +0 -0
- /package/dist/{en-US-1Tznfcwg.js → en-US-DbUXn5BN.js} +0 -0
- /package/dist/{en-US-BEL_lmpv.js → en-US-KKriaTJw.js} +0 -0
- /package/dist/{en-US-Bf6E1v0-2.js → en-US-nYL_eSJ-.js} +0 -0
- /package/dist/{en-US-ZFlMM5v3.js → en-US-t-Z87qeJ.js} +0 -0
- /package/dist/{en-US.instructions-kje2iQeM.js → en-US.instructions-DfgivDPI.js} +0 -0
- /package/dist/{en-US.instructions-CbjjdEDm.js → en-US.instructions-FOYUYA3c.js} +0 -0
- /package/dist/{es-ES-DBxs7iF7.js → es-ES-C14ZT-97.js} +0 -0
- /package/dist/{es-ES-oq21mjwX.js → es-ES-CGEEtFjV.js} +0 -0
- /package/dist/{es-ES-RzKcfNXi.js → es-ES-CJYZG5hn.js} +0 -0
- /package/dist/{es-ES-Cn6TsINc.js → es-ES-DTbydE6J.js} +0 -0
- /package/dist/{es-ES-DFYOkj68.js → es-ES-Dbsez-nt.js} +0 -0
- /package/dist/{es-ES-BMBx28UE2.js → es-ES-DcPwPUlZ.js} +0 -0
- /package/dist/{es-ES-DGmySxC42.js → es-ES-N-uqwvEU.js} +0 -0
- /package/dist/{es-ES-QIbBo_YM.js → es-ES-pt4yy_U2.js} +0 -0
- /package/dist/{et-EE-RpLsFwBS.js → et-EE-BEKmKSGB.js} +0 -0
- /package/dist/{et-EE-D8EAo5UR.js → et-EE-BXGMIGkB.js} +0 -0
- /package/dist/{et-EE-Bq6ySoVT2.js → et-EE-CkJhiCVw.js} +0 -0
- /package/dist/{et-EE-BWE9LBIW.js → et-EE-DZ2fiz66.js} +0 -0
- /package/dist/{et-EE-go_L8yC52.js → et-EE-TIKP7Ec9.js} +0 -0
- /package/dist/{et-EE-CuuT6UiF.js → et-EE-dDMeDiTJ.js} +0 -0
- /package/dist/{et-EE-Clm5xG7H.js → et-EE-naxT4ToX.js} +0 -0
- /package/dist/{fi-FI-BhZIWccP.js → fi-FI-B3azKh_D.js} +0 -0
- /package/dist/{fi-FI-BYm7CUY2.js → fi-FI-BdqoEBfB.js} +0 -0
- /package/dist/{fi-FI-BmXRQB7_2.js → fi-FI-D0ZPYGD3.js} +0 -0
- /package/dist/{fi-FI-DsfVixQ62.js → fi-FI-DJ6-TAV9.js} +0 -0
- /package/dist/{fi-FI-CfmDq95S.js → fi-FI-DZUZ6EuS.js} +0 -0
- /package/dist/{fi-FI-cUN_PaZk.js → fi-FI-iRb7nS7X.js} +0 -0
- /package/dist/{fi-FI-6U5kDy9_.js → fi-FI-o-v0rRih.js} +0 -0
- /package/dist/{fieldConfigurations-B3oqm4GC.js → fieldConfigurations-CZCFghnK.js} +0 -0
- /package/dist/{file-6a0FDVyq.js → file-1IenVoh8.js} +0 -0
- /package/dist/{filterProblemsByTaskForms-DwS9T-_E.js → filterProblemsByTaskForms-CQby20PN.js} +0 -0
- /package/dist/{form-rules-CvdV5rPY.js → form-rules-CUUQGacJ.js} +0 -0
- /package/dist/{formatCurrency-D-m2ri-x.js → formatCurrency-Cq3WFpdZ.js} +0 -0
- /package/dist/{fr-FR-BxnyIkIr.js → fr-FR-5eSOACgc.js} +0 -0
- /package/dist/{fr-FR-D1HpNhTO.js → fr-FR-8a-RK9xd.js} +0 -0
- /package/dist/{fr-FR-CMj16KIu2.js → fr-FR-B7mkWyab.js} +0 -0
- /package/dist/{fr-FR-CTaavJDz.js → fr-FR-BRin5m9T.js} +0 -0
- /package/dist/{fr-FR-BqpAnmif.js → fr-FR-Bsr-Ax2m.js} +0 -0
- /package/dist/{fr-FR-DnX9lTEQ.js → fr-FR-DUrcyeOg.js} +0 -0
- /package/dist/{fr-FR-BdjvbPB62.js → fr-FR-DXXrJUKC.js} +0 -0
- /package/dist/{fr-FR-qy27JGqF.js → fr-FR-DY_6cPBK.js} +0 -0
- /package/dist/{funds-in-DcvC0rG-.js → funds-in-BvQVahzR.js} +0 -0
- /package/dist/{get-scenarios-Bkxtd5jh.js → get-scenarios-Bb-paHmJ.js} +0 -0
- /package/dist/{getNestedPropertyKeys-MEDCcSm2.js → getNestedPropertyKeys-Cd8HKupP.js} +0 -0
- /package/dist/{getProps-DQy_qV_x.js → getProps-1L-urpfA.js} +0 -0
- /package/dist/{getTrustedFields-BF_CmfLe.js → getTrustedFields-BJ88GlM-.js} +0 -0
- /package/dist/{graphical-laptop-xPvp7QKa.js → graphical-laptop-BUntvD51.js} +0 -0
- /package/dist/{house-D2ID8PM-.js → house-DFPq_koC.js} +0 -0
- /package/dist/{hr-HR-mfHZl8tO.js → hr-HR-BHkPwjWG.js} +0 -0
- /package/dist/{hr-HR-O1W0RKHg.js → hr-HR-BcuZOdbx.js} +0 -0
- /package/dist/{hr-HR-CLA4RCOe2.js → hr-HR-BeZ1eUy7.js} +0 -0
- /package/dist/{hr-HR-BzyoDD3o.js → hr-HR-CQVBtolX.js} +0 -0
- /package/dist/{hr-HR-gmt7xTWx2.js → hr-HR-CTVtZrP9.js} +0 -0
- /package/dist/{hr-HR-DwVuRMPc.js → hr-HR-LnDb18bf.js} +0 -0
- /package/dist/{hr-HR-Dgrok1MJ.js → hr-HR-o5FSYlwu.js} +0 -0
- /package/dist/{hu-HU-yAwdJ5xn.js → hu-HU-BWRMWxUx.js} +0 -0
- /package/dist/{hu-HU-Dh9jdb9X2.js → hu-HU-BhliM1LD.js} +0 -0
- /package/dist/{hu-HU-BfD5UZoY2.js → hu-HU-BsyElEv0.js} +0 -0
- /package/dist/{hu-HU-Bxg-cJEy.js → hu-HU-C-Lv58Kx.js} +0 -0
- /package/dist/{hu-HU-BzAy_OWc.js → hu-HU-CaDVfAld.js} +0 -0
- /package/dist/{hu-HU-DceMzb3Y.js → hu-HU-Cc7wqn6A.js} +0 -0
- /package/dist/{hu-HU-BzQoUNaS.js → hu-HU-yAl0nEE3.js} +0 -0
- /package/dist/{id-blurred-CtnwOJmP.js → id-blurred-VxdOFc9Z.js} +0 -0
- /package/dist/{id-cut-off-DTnrMaG3.js → id-cut-off-Lf8yjnWT.js} +0 -0
- /package/dist/{id-front-BArANgYI.js → id-front-C00ss5Ib.js} +0 -0
- /package/dist/{id-glare-g3bnPQ3v.js → id-glare-DyvU9bwI.js} +0 -0
- /package/dist/{isNewEntity-BCb_oxKh.js → isNewEntity-vML86iIM.js} +0 -0
- /package/dist/{it-IT-C82YvJn6.js → it-IT-8FlMolyS.js} +0 -0
- /package/dist/{it-IT-Dns-1Qbf.js → it-IT-BPA_Upt_.js} +0 -0
- /package/dist/{it-IT-BrdXGWpw.js → it-IT-BULBjWDc.js} +0 -0
- /package/dist/{it-IT-BxdBXweN.js → it-IT-C2dB9OJn.js} +0 -0
- /package/dist/{it-IT-BcBkbTJA.js → it-IT-D9vW7SZr.js} +0 -0
- /package/dist/{it-IT-Bnm0ulsw2.js → it-IT-DGgRrlgT.js} +0 -0
- /package/dist/{it-IT-DK30YvbO.js → it-IT-DIIRAF4_.js} +0 -0
- /package/dist/{it-IT-CHuVqZdn.js → it-IT-Dw5XUNAP.js} +0 -0
- /package/dist/{ja-JP-DDT5jvAB.js → ja-JP-7zkrWB8G.js} +0 -0
- /package/dist/{ja-JP-B5SxIdyP2.js → ja-JP-Bgo52-T0.js} +0 -0
- /package/dist/{ja-JP-C_E_4yUn.js → ja-JP-BhoagXJu.js} +0 -0
- /package/dist/{ja-JP-D91Qq9X0.js → ja-JP-ByMh2iUh.js} +0 -0
- /package/dist/{ja-JP-DYccStvn.js → ja-JP-CTJQKAUM.js} +0 -0
- /package/dist/{ja-JP-BzBRpXM1.js → ja-JP-CYb1SAoz.js} +0 -0
- /package/dist/{ja-JP-CwVkOC4Z.js → ja-JP-CyXnoIu3.js} +0 -0
- /package/dist/{ja-JP-CTFB8UKL.js → ja-JP-DqGVC5Ag.js} +0 -0
- /package/dist/{ja-JP-DTqjZ_RP.js → ja-JP-eKLuhutG.js} +0 -0
- /package/dist/{jpAddressSchema-wrMPYgVe.js → jpAddressSchema-pVY2Cqvr.js} +0 -0
- /package/dist/{legal-entity-type-VIfNYnJP.js → legal-entity-type-0MfCGzUf.js} +0 -0
- /package/dist/{lt-LT-IP4Sz8Gn.js → lt-LT-B9Nm7OZQ.js} +0 -0
- /package/dist/{lt-LT-bBBImnIr.js → lt-LT-BX_xCGlf.js} +0 -0
- /package/dist/{lt-LT-OGBNEWvq.js → lt-LT-C96kAeo7.js} +0 -0
- /package/dist/{lt-LT-Dpy8srws.js → lt-LT-CiKIZfk8.js} +0 -0
- /package/dist/{lt-LT-DN-ykSHh.js → lt-LT-CyoO9ova.js} +0 -0
- /package/dist/{lt-LT-QPJqX0US.js → lt-LT-D0eqQspB.js} +0 -0
- /package/dist/{lt-LT-8dDfYsF82.js → lt-LT-DdXY3cAX.js} +0 -0
- /package/dist/{lv-LV-C9zoAq4h.js → lv-LV-Bm8LrJoB.js} +0 -0
- /package/dist/{lv-LV-CcQHxQxD.js → lv-LV-C8Reuc9U.js} +0 -0
- /package/dist/{lv-LV-Cbnl_BTV.js → lv-LV-D_BqPK2J.js} +0 -0
- /package/dist/{lv-LV-DlQGKdqk.js → lv-LV-DkjsE74u.js} +0 -0
- /package/dist/{lv-LV-D4clLiV42.js → lv-LV-Fz2z__sN.js} +0 -0
- /package/dist/{lv-LV-CHzgorrn.js → lv-LV-nsjeQDem.js} +0 -0
- /package/dist/{lv-LV-B34caEFv.js → lv-LV-u-vJn6T3.js} +0 -0
- /package/dist/{mapAddressLocalizationToJpAddressSchema-Cp77VSSB.js → mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js} +0 -0
- /package/dist/{nl-NL-BUzOX91N.js → nl-NL-B8REgP66.js} +0 -0
- /package/dist/{nl-NL-BXTbqvDG.js → nl-NL-BO-bzIOE.js} +0 -0
- /package/dist/{nl-NL-BXVVoxv9.js → nl-NL-BWGCqpWp.js} +0 -0
- /package/dist/{nl-NL-2uvrEI1a.js → nl-NL-BtdPxlFm.js} +0 -0
- /package/dist/{nl-NL-DI_aNYah.js → nl-NL-C678Ydas.js} +0 -0
- /package/dist/{nl-NL-6qgh_ZGA.js → nl-NL-CLL6yaXp.js} +0 -0
- /package/dist/{nl-NL-6DRNI2_h.js → nl-NL-D8u-OQ2Z.js} +0 -0
- /package/dist/{nl-NL-BCCzwWkw2.js → nl-NL-Xubp239B.js} +0 -0
- /package/dist/{no-NO-BNL9v_bl.js → no-NO-0TPifz5u.js} +0 -0
- /package/dist/{no-NO-CCtUTnqP.js → no-NO-BIhMgC99.js} +0 -0
- /package/dist/{no-NO-A9MwJ3y8.js → no-NO-Bgl_00AJ.js} +0 -0
- /package/dist/{no-NO-hgC3Li7e.js → no-NO-BsTJeq1r.js} +0 -0
- /package/dist/{no-NO-DN8WIiN32.js → no-NO-CFu9XENI.js} +0 -0
- /package/dist/{no-NO-Cd0Nf4Kq.js → no-NO-CP59oYE-.js} +0 -0
- /package/dist/{no-NO-C037FAac.js → no-NO-vasSCJdc.js} +0 -0
- /package/dist/{onfido-logo-BXb14yhW.js → onfido-logo-CMRuSr8M.js} +0 -0
- /package/dist/{passport-blurred-DOfrfF0N.js → passport-blurred-0Uw8uYSJ.js} +0 -0
- /package/dist/{passport-cut-off-DwNmCL8v.js → passport-cut-off-BPzI2BwO.js} +0 -0
- /package/dist/{passport-front-DLG09n5u.js → passport-front-D6Nky-ni.js} +0 -0
- /package/dist/{passport-front-green-BB3zGc3y.js → passport-front-green-BWuD3-Fs.js} +0 -0
- /package/dist/{passport-glare-CkhvC36x.js → passport-glare-DFSFxNy9.js} +0 -0
- /package/dist/{payout-bank-accounts-BN3KdVID.js → payout-bank-accounts-CsVPa1AN.js} +0 -0
- /package/dist/{payout-verification-instant-DOCBn9if.js → payout-verification-instant-CSV3GQ4N.js} +0 -0
- /package/dist/{payout-verification-manual-DmhxH6y1.js → payout-verification-manual-BHEF55k8.js} +0 -0
- /package/dist/{pl-PL-BVYFKqiG.js → pl-PL-9di9pq8T.js} +0 -0
- /package/dist/{pl-PL-DYmR6-f32.js → pl-PL-B5FSKIny.js} +0 -0
- /package/dist/{pl-PL-D3NzOQQU.js → pl-PL-BT6NmGgO.js} +0 -0
- /package/dist/{pl-PL-DDxFQhlh.js → pl-PL-C860xjSa.js} +0 -0
- /package/dist/{pl-PL-DeAckp5p.js → pl-PL-DCIKCF5C.js} +0 -0
- /package/dist/{pl-PL-59aMUgvV.js → pl-PL-DszjCCg8.js} +0 -0
- /package/dist/{pl-PL-R2xSHe-z.js → pl-PL-wpXnySZL.js} +0 -0
- /package/dist/{plaid-logo-CjpdjGNT.js → plaid-logo-tibaWEAL.js} +0 -0
- /package/dist/{pt-BR-BdpAz26L.js → pt-BR-B0SUw4uu.js} +0 -0
- /package/dist/{pt-BR-BDEGOFU52.js → pt-BR-BBIWB923.js} +0 -0
- /package/dist/{pt-BR-BjLvBssy.js → pt-BR-BhBu4Wkn.js} +0 -0
- /package/dist/{pt-BR-D8hxPoFJ.js → pt-BR-Bp3xzdX7.js} +0 -0
- /package/dist/{pt-BR-C7pxsNe-.js → pt-BR-C3I_7Mcz.js} +0 -0
- /package/dist/{pt-BR-7qFnlWUK.js → pt-BR-C5d5CGRt.js} +0 -0
- /package/dist/{pt-BR-DGRn2oS9.js → pt-BR-DPA2WUjM.js} +0 -0
- /package/dist/{pt-BR-B5i0TdE9.js → pt-BR-DtyxSlwY.js} +0 -0
- /package/dist/{pt-PT-BTZOJZU6.js → pt-PT-B6OslB_S.js} +0 -0
- /package/dist/{pt-PT-CI47ZET7.js → pt-PT-BZa5DvLf.js} +0 -0
- /package/dist/{pt-PT-CEPDmPY7.js → pt-PT-CYMgik2d.js} +0 -0
- /package/dist/{pt-PT-DFy0vZ_Z2.js → pt-PT-D1Mnwi3B.js} +0 -0
- /package/dist/{pt-PT-BBd1NJRh.js → pt-PT-DdWMchfY.js} +0 -0
- /package/dist/{pt-PT-DBFZcKHi.js → pt-PT-IPhkbQvT.js} +0 -0
- /package/dist/{pt-PT-CJVVRZyV.js → pt-PT-KikTTc5A.js} +0 -0
- /package/dist/{pt-PT-BqRmSpLn.js → pt-PT-MeSSYc0C.js} +0 -0
- /package/dist/{reporting-CuOey349.js → reporting-B084dXT2.js} +0 -0
- /package/dist/{review-CkmDUkhx.js → review-CN-zt9-S.js} +0 -0
- /package/dist/{ro-RO-CA7NoMAg2.js → ro-RO-B72I1ycf.js} +0 -0
- /package/dist/{ro-RO-e45j_CyV.js → ro-RO-BVGWEbO9.js} +0 -0
- /package/dist/{ro-RO-GldC3IcE.js → ro-RO-CsKKl68g.js} +0 -0
- /package/dist/{ro-RO-Bl3OcC_Q.js → ro-RO-DajmyI4j.js} +0 -0
- /package/dist/{ro-RO-C4lcxnWO.js → ro-RO-dG27cZbT.js} +0 -0
- /package/dist/{ro-RO-Bf10OHuY.js → ro-RO-jcGn-sY4.js} +0 -0
- /package/dist/{ro-RO-C3g0pSKU.js → ro-RO-rUQBJ_rV.js} +0 -0
- /package/dist/{singpass-logo-DESKvfOJ.js → singpass-logo-BlBOt-Jg.js} +0 -0
- /package/dist/{singpass-logo-small-CBW6iXWW.js → singpass-logo-small-Dj6yeaQx.js} +0 -0
- /package/dist/{sk-SK-C8d17RvE2.js → sk-SK-BFh-bgKq.js} +0 -0
- /package/dist/{sk-SK-C9Cst_ER.js → sk-SK-CDUWGXfX.js} +0 -0
- /package/dist/{sk-SK-y3Dcsvdc.js → sk-SK-DJWcs0qJ.js} +0 -0
- /package/dist/{sk-SK-DXRluu5W.js → sk-SK-DP6XhEgm.js} +0 -0
- /package/dist/{sk-SK-BSv5VXox.js → sk-SK-TwqCzMtZ.js} +0 -0
- /package/dist/{sk-SK-wzPlUKNj.js → sk-SK-Woc9AmiO.js} +0 -0
- /package/dist/{sk-SK-tk_1fC8g.js → sk-SK-bt84r8cG.js} +0 -0
- /package/dist/{sl-SI-uhzy0HC12.js → sl-SI-Bc7dEjcH.js} +0 -0
- /package/dist/{sl-SI-D6evG9fK.js → sl-SI-BpJHrRwy.js} +0 -0
- /package/dist/{sl-SI-ChCyYnjd.js → sl-SI-C03fXovT.js} +0 -0
- /package/dist/{sl-SI-CX-qAqMO.js → sl-SI-C_QeUL6t.js} +0 -0
- /package/dist/{sl-SI-B-t1nY1x.js → sl-SI-DF6_X7op.js} +0 -0
- /package/dist/{sl-SI-DiLuydaN.js → sl-SI-O8FoUWa8.js} +0 -0
- /package/dist/{sl-SI-Bfdb7gjw.js → sl-SI-orV9B38l.js} +0 -0
- /package/dist/{summaryItem-Dehjwp8D.js → summaryItem-uDWmtYtt.js} +0 -0
- /package/dist/{sv-SE-BoITS9np.js → sv-SE-CLkZV2NG.js} +0 -0
- /package/dist/{sv-SE-Bpo3MgEr.js → sv-SE-CQt2K1X-.js} +0 -0
- /package/dist/{sv-SE-DlYizFz8.js → sv-SE-Cor3sNy0.js} +0 -0
- /package/dist/{sv-SE-BOEa4u9p.js → sv-SE-D05i0X2z.js} +0 -0
- /package/dist/{sv-SE-Bx_Mk5xx.js → sv-SE-D3MOTV-T.js} +0 -0
- /package/dist/{sv-SE-DhNNMEwq.js → sv-SE-D5eIbgkk.js} +0 -0
- /package/dist/{sv-SE-4oyeOi4Y.js → sv-SE-Di8YEdBA.js} +0 -0
- /package/dist/{sv-SE-i9koytKp.js → sv-SE-IBYnJfbW.js} +0 -0
- /package/dist/{taskStatus-DPUG3NS3.js → taskStatus-BtekPA8E.js} +0 -0
- /package/dist/{taskTypes-CDFRB7A4.js → taskTypes-NawDTp5n.js} +0 -0
- /package/dist/{tax-reporting-graph-DNooZCbb.js → tax-reporting-graph-B-x6VG09.js} +0 -0
- /package/dist/{tink-logo-CqXir9XT.js → tink-logo-vN0QKOLM.js} +0 -0
- /package/dist/{trackNavigation-LvCP5Vyc.js → trackNavigation-DR70qR8T.js} +0 -0
- /package/dist/{trustMemberGuidance-2rtnGkMG.js → trustMemberGuidance-CgdU2v0j.js} +0 -0
- /package/dist/{trusted-fields-provider-BXHH-pq0.js → trusted-fields-provider-DLz8KKVf.js} +0 -0
- /package/dist/{types-CNZsK2dZ.js → types-Cwq1JAWT.js} +0 -0
- /package/dist/{uppercase-DKruhEuk.js → uppercase-DvjwUM0n.js} +0 -0
- /package/dist/{us-check-account-number-BME1X1ZC.js → us-check-account-number-6Votaq97.js} +0 -0
- /package/dist/{us-check-BW6K3WxJ.js → us-check-pmEdQwDU.js} +0 -0
- /package/dist/{us-check-routing-number-UatGnO16.js → us-check-routing-number-B87ag0C1.js} +0 -0
- /package/dist/{useId-eJSYfA6i.js → useId-BkDhUta2.js} +0 -0
- /package/dist/{useSettingsContext-DzwVt0W0.js → useSettingsContext-Bpf4UqRT.js} +0 -0
- /package/dist/{utils--gwzjjeS.js → utils-DdHbAadK.js} +0 -0
- /package/dist/{utils-Do5CMPEN.js → utils-K8Z-zRnu.js} +0 -0
- /package/dist/{view-verification-status-CtW_qUMg.js → view-verification-status-XSQs02td.js} +0 -0
- /package/dist/{yapily-logo-upggwl6u.js → yapily-logo-Cp5tK0Uw.js} +0 -0
|
@@ -0,0 +1,1097 @@
|
|
|
1
|
+
try {
|
|
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] = "81adf711-538e-4753-9638-39e235882849", e._sentryDebugIdIdentifier = "sentry-dbid-81adf711-538e-4753-9638-39e235882849");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
import { i as Typography, n as addResourceBundles, r as useTranslation } from "./translation-ZXpd9jdD.js";
|
|
6
|
+
import { $ as hasRepeatedCharacters, A as _rolldown_dynamic_import_helper_default, D as useCapabilities, H as NO_ALPHABET_REGEX, T as datasetUtilities, W as OTHER_ENTITIES_VALID_CHAR_REGEX, et as hasText, h as getCountrySpecificTrustTypeOptions, it as isInvalidName, j as useToggleContext, k as Header, ot as isValidMinLength, st as matchesRegex, x as Alert, z as EMOJI_REGEX } from "./resolveEnvironment-Doi5jM7g.js";
|
|
7
|
+
import { r as Loader } from "./Button-DBN5gM_d.js";
|
|
8
|
+
import { s as useApiContext } from "./http-DYzfwjcs.js";
|
|
9
|
+
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-EN5ubX2H.js";
|
|
10
|
+
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
11
|
+
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
12
|
+
import { i as drop, l as keysOf, n as cloneObject } from "./AnalyticsContext-BFrJmsp0.js";
|
|
13
|
+
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
14
|
+
import { C as EntityTypes, a as trustComponentsKeyMapping, i as trustApiKeyMapping, o as trustDocumentMapping, y as reverseMapping } from "./processCapabilities-hLmRus8U.js";
|
|
15
|
+
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
16
|
+
import { s as getOwnEntityAssociations } from "./entityAssociationUtil-C-wflW8q.js";
|
|
17
|
+
import { n as useToastContext } from "./invalidateRootLegalEntity-B_H-aJ0s.js";
|
|
18
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-CogrYbYP.js";
|
|
19
|
+
import { t as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-CQAe7Co6.js";
|
|
20
|
+
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-38twl3gB.js";
|
|
21
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-DnkFwUCD.js";
|
|
22
|
+
import { t as Address } from "./Address-D5zWC8Kk.js";
|
|
23
|
+
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-CyhnFPOt.js";
|
|
24
|
+
import { n as composePerScenarioFormConfigurations, r as getPropsFromConfigurations, t as augmentWithCountryConfigs } from "./process-field-configurations-U459c7bG.js";
|
|
25
|
+
import { t as ErrorPanel } from "./ErrorPanel-ct3r_pLg.js";
|
|
26
|
+
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-DVc3a6gf.js";
|
|
27
|
+
import { t as useMultiForm } from "./useMultiForm-NwELDSnm.js";
|
|
28
|
+
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-CZB9JLAV.js";
|
|
29
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-CtlV_Bum.js";
|
|
30
|
+
import { i as mapAddressLabels } from "./utils-BgdkZkf5.js";
|
|
31
|
+
import { i as isValidationError, o as processValidationErrors, s as isMaintenanceModeError } from "./validationError-tIm9Zzjt.js";
|
|
32
|
+
import { c as getDocument, o as createDocumentRequest, s as documentApiUtils } from "./validate-j0h8oux2.js";
|
|
33
|
+
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
34
|
+
import { a as getFieldsWithExistingData, n as TaxInformationField, t as TAX_INFORMATION_FIELD } from "./TaxInformationField-C5s9CTSB.js";
|
|
35
|
+
import { a as validateNotEmptyOnBlur } from "./patternValidators-DWouiOVO.js";
|
|
36
|
+
import { C as taxInformationDefaultFieldConfig, b as exemptedFromTaxDefaultFieldConfig, f as countryToTaxInfoTypeMap, i as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, w as taxInformationDefaultFieldMetadata, x as exemptedFromTaxDefaultFieldMetadata } from "./utils-B6a1FGxD.js";
|
|
37
|
+
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
38
|
+
import { t as Field } from "./Field-CQWAWo5U.js";
|
|
39
|
+
import { t as Select } from "./Select-vMYP9lm8.js";
|
|
40
|
+
import { n as getFormProps } from "./getProps-1L-urpfA.js";
|
|
41
|
+
import { t as InputText } from "./InputText-8abfNtHh.js";
|
|
42
|
+
import { n as CountryField, t as COUNTRY_FIELD } from "./CountryField-zsA_yVzc.js";
|
|
43
|
+
import { t as RadioGroup } from "./RadioGroup-DlzXLoMN.js";
|
|
44
|
+
import { t as createFormRules } from "./form-rules-CUUQGacJ.js";
|
|
45
|
+
import { t as ContextGuidance } from "./ContextGuidance-7xygTSEo.js";
|
|
46
|
+
import { c as getRegistrationNumberHelperText, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, o as exemptFromRegistrationNumberDefaultFieldConfig, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-BF5XC5w0.js";
|
|
47
|
+
import { a as VAT_NUMBER_FIELD, c as defaultFieldConfig, d as doingBusinessAsAbsentFieldMetadata, f as doingBusinessAsFieldMetadata, g as BusinessRegistrationNumberField, h as BUSINESS_REGISTRATION_NUMBER_FIELD, i as operationalAddressIsSameItems, l as defaultFieldMetadata, m as DBA_NAME_FIELD, n as registrationAddressFields, o as VatNumberField, p as DBANameField, r as operationalAddressIsSameIds, s as getDefaultVatNumberType, t as MemoizedConstitutionalDocument } from "./ConstitutionalDocument-C7TXcsUK.js";
|
|
48
|
+
import { a as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, i as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, n as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, o as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, r as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, t as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-Bm4RGrSI.js";
|
|
49
|
+
import { useCallback, useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
50
|
+
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
51
|
+
import { skipToken } from "@tanstack/preact-query";
|
|
52
|
+
//#region src/components/Trust/mapping/mapApiDocumentToTrustDocument.ts
|
|
53
|
+
var mapApiDocumentToTrustDocument = (entityId) => {
|
|
54
|
+
const constitutionalDocument = getDocument(entityId, "constitutionalDocument") || null;
|
|
55
|
+
return { trustConstitutionalDocument: constitutionalDocument ? { constitutionalDocument: [mapExistingFile(getPageName(constitutionalDocument))] } : void 0 };
|
|
56
|
+
};
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region src/components/UnincorporatedPartnership/mapping/unincorporatedPartnershipKeyMappings.ts
|
|
59
|
+
var unincorporatedPartnershipBaseMapping = {
|
|
60
|
+
"trustRegistrationDetails.trustType": "unincorporatedPartnership.type",
|
|
61
|
+
"trustRegistrationDetails.legalName": "unincorporatedPartnership.name",
|
|
62
|
+
"trustRegistrationDetails.doingBusinessAs": "unincorporatedPartnership.doingBusinessAs",
|
|
63
|
+
"trustRegistrationDetails.hasDoingBusinessAs": "unincorporatedPartnership.doingBusinessAsAbsent",
|
|
64
|
+
"trustRegistrationDetails.country": "unincorporatedPartnership.countryOfGoverningLaw",
|
|
65
|
+
"trustRegistrationDetails.registrationNumber": "unincorporatedPartnership.registrationNumber",
|
|
66
|
+
"trustRegistrationDetails.taxInformation": "unincorporatedPartnership.taxInformation",
|
|
67
|
+
"trustRegistrationDetails.vatNumber": "unincorporatedPartnership.vatNumber",
|
|
68
|
+
"trustRegistrationAddress.registrationAddress.city": "unincorporatedPartnership.registeredAddress.city",
|
|
69
|
+
"trustRegistrationAddress.registrationAddress.country": "unincorporatedPartnership.registeredAddress.country",
|
|
70
|
+
"trustRegistrationAddress.registrationAddress.postalCode": "unincorporatedPartnership.registeredAddress.postalCode",
|
|
71
|
+
"trustRegistrationAddress.registrationAddress.stateOrProvince": "unincorporatedPartnership.registeredAddress.stateOrProvince",
|
|
72
|
+
"trustRegistrationAddress.registrationAddress.address": "unincorporatedPartnership.registeredAddress.street",
|
|
73
|
+
"trustRegistrationAddress.registrationAddress.otherAddressInformation": "unincorporatedPartnership.registeredAddress.street2",
|
|
74
|
+
"trustRegistrationAddress.operationalAddress.city": "unincorporatedPartnership.principalPlaceOfBusiness.city",
|
|
75
|
+
"trustRegistrationAddress.operationalAddress.country": "unincorporatedPartnership.principalPlaceOfBusiness.country",
|
|
76
|
+
"trustRegistrationAddress.operationalAddress.postalCode": "unincorporatedPartnership.principalPlaceOfBusiness.postalCode",
|
|
77
|
+
"trustRegistrationAddress.operationalAddress.stateOrProvince": "unincorporatedPartnership.principalPlaceOfBusiness.stateOrProvince",
|
|
78
|
+
"trustRegistrationAddress.operationalAddress.address": "unincorporatedPartnership.principalPlaceOfBusiness.street",
|
|
79
|
+
"trustRegistrationAddress.operationalAddress.otherAddressInformation": "unincorporatedPartnership.principalPlaceOfBusiness.street2"
|
|
80
|
+
};
|
|
81
|
+
var unincorporatedPartnershipComponentsKeyMapping = {
|
|
82
|
+
"trustRegistrationDetails.exemptedFromVat": "unincorporatedPartnership.vatAbsenceReason",
|
|
83
|
+
...unincorporatedPartnershipBaseMapping
|
|
84
|
+
};
|
|
85
|
+
var unincorporatedPartnershipApiKeyMapping = { ...reverseMapping(unincorporatedPartnershipBaseMapping) };
|
|
86
|
+
//#endregion
|
|
87
|
+
//#region src/components/UnincorporatedPartnership/mapping/mapLegalEntityToUnincorporatedPartnership.ts
|
|
88
|
+
var mapLegalEntityToUnincorporatedPartnership = (legalEntity, isFeatureEnabled) => {
|
|
89
|
+
if (!legalEntity.unincorporatedPartnership) throw new Error("LE missing unincorporatedPartnership field");
|
|
90
|
+
let trustCompData = formatObject(legalEntity, unincorporatedPartnershipComponentsKeyMapping);
|
|
91
|
+
if (!trustCompData?.trustRegistrationDetails) return {};
|
|
92
|
+
trustCompData.trustRegistrationDetails.country = legalEntity.unincorporatedPartnership.countryOfGoverningLaw;
|
|
93
|
+
if (legalEntity.unincorporatedPartnership.description) trustCompData.trustRegistrationDetails.objectOfTrust = legalEntity.unincorporatedPartnership.description;
|
|
94
|
+
if (legalEntity.unincorporatedPartnership.principalPlaceOfBusiness) trustCompData.trustRegistrationAddress.operationalAddressIsSame = operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_NOT_SAME;
|
|
95
|
+
else {
|
|
96
|
+
if (!trustCompData.trustRegistrationAddress) trustCompData.trustRegistrationAddress = {};
|
|
97
|
+
trustCompData.trustRegistrationAddress.operationalAddressIsSame = operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_SAME;
|
|
98
|
+
}
|
|
99
|
+
if (legalEntity.unincorporatedPartnership.taxInformation?.length) {
|
|
100
|
+
const { country } = legalEntity.unincorporatedPartnership.registeredAddress;
|
|
101
|
+
const countryTaxInformation = legalEntity.unincorporatedPartnership.taxInformation.find((info) => info.country === country);
|
|
102
|
+
if (countryTaxInformation?.type === "UEN") trustCompData.trustRegistrationDetails.isUen = true;
|
|
103
|
+
if (countryTaxInformation?.type === "GST") trustCompData.trustRegistrationDetails.isUen = false;
|
|
104
|
+
const taxNumberAbsent = countryTaxInformation?.numberAbsent;
|
|
105
|
+
if (taxNumberAbsent !== void 0) trustCompData.trustRegistrationDetails.exemptedFromTax = taxNumberAbsent;
|
|
106
|
+
}
|
|
107
|
+
if (legalEntity.documentDetails?.length) trustCompData = {
|
|
108
|
+
...trustCompData,
|
|
109
|
+
...mapApiDocumentToTrustDocument(legalEntity?.id)
|
|
110
|
+
};
|
|
111
|
+
if (isFeatureEnabled("EnableDoingBusinessAsNameV4")) {
|
|
112
|
+
if (typeof trustCompData.trustRegistrationDetails?.hasDoingBusinessAs === "boolean") {
|
|
113
|
+
trustCompData.trustRegistrationDetails.hasDoingBusinessAs = !legalEntity.unincorporatedPartnership.doingBusinessAsAbsent;
|
|
114
|
+
if (!trustCompData.trustRegistrationDetails.hasDoingBusinessAs) delete legalEntity.unincorporatedPartnership.doingBusinessAs;
|
|
115
|
+
}
|
|
116
|
+
} else {
|
|
117
|
+
trustCompData.trustRegistrationDetails.hasDoingBusinessAs = legalEntity.unincorporatedPartnership.doingBusinessAs ? legalEntity.unincorporatedPartnership.doingBusinessAs !== legalEntity.unincorporatedPartnership.name : void 0;
|
|
118
|
+
trustCompData.trustRegistrationDetails.doingBusinessAs = legalEntity.unincorporatedPartnership.doingBusinessAs;
|
|
119
|
+
}
|
|
120
|
+
return trustCompData;
|
|
121
|
+
};
|
|
122
|
+
//#endregion
|
|
123
|
+
//#region src/components/UnincorporatedPartnership/mapping/mapUnincorporatedPartnershipToLegalEntity.ts
|
|
124
|
+
var mapUnincorporatedPartnershipToLegalEntity = (data, isFeatureEnabled) => {
|
|
125
|
+
const requestObj = { ...formatObject(data, unincorporatedPartnershipApiKeyMapping) };
|
|
126
|
+
if (!requestObj.unincorporatedPartnership) return requestObj;
|
|
127
|
+
if (requestObj.unincorporatedPartnership?.taxInformation?.[0]?.type === "GST") requestObj.unincorporatedPartnership.taxInformation[0].type = "UEN";
|
|
128
|
+
if (isFeatureEnabled("EnableDoingBusinessAsNameV4")) {
|
|
129
|
+
if (typeof data.trustRegistrationDetails?.hasDoingBusinessAs !== "undefined") requestObj.unincorporatedPartnership.doingBusinessAsAbsent = !data.trustRegistrationDetails?.hasDoingBusinessAs;
|
|
130
|
+
} else {
|
|
131
|
+
requestObj.unincorporatedPartnership.doingBusinessAs = data.trustRegistrationDetails?.doingBusinessAs || data.trustRegistrationDetails?.legalName || "";
|
|
132
|
+
delete requestObj.unincorporatedPartnership.doingBusinessAsAbsent;
|
|
133
|
+
}
|
|
134
|
+
requestObj.type = LegalEntityTypes.UNINCORPORATED_PARTNERSHIP;
|
|
135
|
+
return requestObj;
|
|
136
|
+
};
|
|
137
|
+
//#endregion
|
|
138
|
+
//#region src/components/Trust/forms/Trust/rules.ts
|
|
139
|
+
var COUNTRIES_THAT_USE_REGISTRATION_NUMBER = [CountryCodes.NewZealand];
|
|
140
|
+
var rules = ({ data, country, taskType }) => createFormRules({
|
|
141
|
+
countryUsesTaxId: () => {
|
|
142
|
+
if (taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP) {
|
|
143
|
+
if (UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED.includes(country)) return "REQUIRED";
|
|
144
|
+
if (UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL.includes(country)) return "OPTIONAL";
|
|
145
|
+
}
|
|
146
|
+
if (country !== CountryCodes.NewZealand && COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country)) return "REQUIRED";
|
|
147
|
+
},
|
|
148
|
+
countryRequiresRegistrationNumberForTrust: () => {
|
|
149
|
+
if (taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP) {
|
|
150
|
+
if (UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED.includes(country)) return "REQUIRED";
|
|
151
|
+
if (UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL.includes(country)) return "OPTIONAL";
|
|
152
|
+
}
|
|
153
|
+
if (COUNTRIES_THAT_USE_REGISTRATION_NUMBER.includes(country)) return "REQUIRED";
|
|
154
|
+
},
|
|
155
|
+
registrationNumberType: () => {
|
|
156
|
+
if (taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP) {
|
|
157
|
+
if (UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED.includes(country)) return "OPTIONAL";
|
|
158
|
+
if (UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL.includes(country)) return "OPTIONAL";
|
|
159
|
+
}
|
|
160
|
+
if (COUNTRIES_THAT_USE_REGISTRATION_NUMBER.includes(country)) return "OPTIONAL";
|
|
161
|
+
},
|
|
162
|
+
countryUsesVatNumber: () => {
|
|
163
|
+
if (taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP) {
|
|
164
|
+
if (UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL.includes(country)) return "OPTIONAL";
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
trustTypeHasDescription: () => {
|
|
168
|
+
if (data?.trustRegistrationDetails?.trustType === "charitableTrust") return "REQUIRED";
|
|
169
|
+
},
|
|
170
|
+
requireDoingBusinessAsName: () => {
|
|
171
|
+
return data?.trustRegistrationDetails?.hasDoingBusinessAs ? "REQUIRED" : void 0;
|
|
172
|
+
},
|
|
173
|
+
requiresTrustType: () => {
|
|
174
|
+
if (taskType === TaskTypes.TRUST) return "REQUIRED";
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
//#endregion
|
|
178
|
+
//#region src/components/Trust/mapping/mapLegalEntityToTrust.ts
|
|
179
|
+
var mapLegalEntityToTrust = (legalEntity, isFeatureEnabled) => {
|
|
180
|
+
if (!legalEntity.trust) throw new Error("LE missing trust field");
|
|
181
|
+
let trustCompData = formatObject(legalEntity, trustComponentsKeyMapping);
|
|
182
|
+
if (!trustCompData?.trustRegistrationDetails) return {};
|
|
183
|
+
trustCompData.trustRegistrationDetails.vatNumberType = getDefaultVatNumberType(legalEntity.trust.vatNumber, legalEntity.trust.countryOfGoverningLaw);
|
|
184
|
+
trustCompData.trustRegistrationDetails.registrationNumberType = getDefaultRegistrationNumberType(legalEntity.trust.registrationNumber, legalEntity.trust.countryOfGoverningLaw, LegalEntityTypes.TRUST);
|
|
185
|
+
trustCompData.trustRegistrationDetails.country = legalEntity.trust.countryOfGoverningLaw;
|
|
186
|
+
if (legalEntity.trust.description) trustCompData.trustRegistrationDetails.objectOfTrust = legalEntity.trust.description;
|
|
187
|
+
if (legalEntity.trust.principalPlaceOfBusiness) trustCompData.trustRegistrationAddress.operationalAddressIsSame = operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_NOT_SAME;
|
|
188
|
+
else {
|
|
189
|
+
if (!trustCompData.trustRegistrationAddress) trustCompData.trustRegistrationAddress = {};
|
|
190
|
+
trustCompData.trustRegistrationAddress.operationalAddressIsSame = operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_SAME;
|
|
191
|
+
}
|
|
192
|
+
if (legalEntity.trust.taxInformation?.length) {
|
|
193
|
+
const { country } = legalEntity.trust.registeredAddress;
|
|
194
|
+
const countryTaxInformation = legalEntity.trust.taxInformation.find((info) => info.country === country);
|
|
195
|
+
if (countryTaxInformation?.type === "UEN") trustCompData.trustRegistrationDetails.isUen = true;
|
|
196
|
+
if (countryTaxInformation?.type === "GST") trustCompData.trustRegistrationDetails.isUen = false;
|
|
197
|
+
const taxNumberAbsent = countryTaxInformation?.numberAbsent;
|
|
198
|
+
if (taxNumberAbsent !== void 0) trustCompData.trustRegistrationDetails.exemptedFromTax = taxNumberAbsent;
|
|
199
|
+
}
|
|
200
|
+
if (legalEntity.documentDetails?.length) trustCompData = {
|
|
201
|
+
...trustCompData,
|
|
202
|
+
...mapApiDocumentToTrustDocument(legalEntity?.id)
|
|
203
|
+
};
|
|
204
|
+
if (isFeatureEnabled("EnableDoingBusinessAsNameV4")) {
|
|
205
|
+
if (typeof trustCompData.trustRegistrationDetails?.hasDoingBusinessAs === "boolean") {
|
|
206
|
+
trustCompData.trustRegistrationDetails.hasDoingBusinessAs = !legalEntity.trust.doingBusinessAsAbsent;
|
|
207
|
+
if (!trustCompData.trustRegistrationDetails.hasDoingBusinessAs) delete legalEntity.trust?.doingBusinessAs;
|
|
208
|
+
}
|
|
209
|
+
} else {
|
|
210
|
+
trustCompData.trustRegistrationDetails.hasDoingBusinessAs = legalEntity.trust.doingBusinessAs ? legalEntity.trust.doingBusinessAs !== legalEntity.trust.name : void 0;
|
|
211
|
+
trustCompData.trustRegistrationDetails.doingBusinessAs = legalEntity.trust.doingBusinessAs;
|
|
212
|
+
}
|
|
213
|
+
return trustCompData;
|
|
214
|
+
};
|
|
215
|
+
//#endregion
|
|
216
|
+
//#region src/components/Trust/mapping/mapTrustDocumentToApiDocument.ts
|
|
217
|
+
var mapTrustDocumentToApiDocument = async (data, entityId) => {
|
|
218
|
+
const constitutionalDocument = data?.trustConstitutionalDocument?.constitutionalDocument;
|
|
219
|
+
if (!constitutionalDocument) throw new Error("Constitutional document missing");
|
|
220
|
+
const page1 = constitutionalDocument[0];
|
|
221
|
+
if (!page1) throw new Error("Document needs at least one page");
|
|
222
|
+
return await createDocumentRequest({
|
|
223
|
+
entityId,
|
|
224
|
+
entityType: "legalEntity",
|
|
225
|
+
documentType: "constitutionalDocument",
|
|
226
|
+
page1,
|
|
227
|
+
existingDocument: getDocument(entityId, "constitutionalDocument")
|
|
228
|
+
});
|
|
229
|
+
};
|
|
230
|
+
//#endregion
|
|
231
|
+
//#region src/components/Trust/mapping/mapTrustToLegalEntity.ts
|
|
232
|
+
var mapTrustToLegalEntity = (data, isFeatureEnabled) => {
|
|
233
|
+
const requestObj = { ...formatObject(data, trustApiKeyMapping) };
|
|
234
|
+
if (!requestObj.trust) return requestObj;
|
|
235
|
+
if (data.trustRegistrationDetails?.objectOfTrust) requestObj.trust.description = data.trustRegistrationDetails.objectOfTrust;
|
|
236
|
+
if (isFeatureEnabled("EnableDoingBusinessAsNameV4")) {
|
|
237
|
+
requestObj.trust.doingBusinessAsAbsent = typeof data.trustRegistrationDetails?.hasDoingBusinessAs !== "undefined" ? !data.trustRegistrationDetails?.hasDoingBusinessAs : void 0;
|
|
238
|
+
if (requestObj.trust.doingBusinessAsAbsent) requestObj.trust.doingBusinessAs = "";
|
|
239
|
+
} else {
|
|
240
|
+
delete requestObj.trust?.doingBusinessAsAbsent;
|
|
241
|
+
requestObj.trust.doingBusinessAs = data.trustRegistrationDetails?.doingBusinessAs || data.trustRegistrationDetails?.legalName;
|
|
242
|
+
}
|
|
243
|
+
requestObj.type = LegalEntityTypes.TRUST;
|
|
244
|
+
return requestObj;
|
|
245
|
+
};
|
|
246
|
+
//#endregion
|
|
247
|
+
//#region src/components/Shared/forms/RegistrationAddress/RegistrationAddressMultiform.tsx
|
|
248
|
+
var registrationAddressFormID = {
|
|
249
|
+
registrationAddress: {
|
|
250
|
+
formId: "registrationAddress",
|
|
251
|
+
formName: "registeredAddress",
|
|
252
|
+
fields: ["address"]
|
|
253
|
+
},
|
|
254
|
+
operationalAddress: {
|
|
255
|
+
formId: "operationalAddress",
|
|
256
|
+
formName: "operationalAddressHeader",
|
|
257
|
+
fields: ["address"]
|
|
258
|
+
}
|
|
259
|
+
}.registrationAddress.formId;
|
|
260
|
+
function RegistrationAddressMultiform(props) {
|
|
261
|
+
const { t } = useTranslation("common");
|
|
262
|
+
const { id, heading, description, country, problems } = props;
|
|
263
|
+
const { form } = useFormContext();
|
|
264
|
+
const data = form.data.trustRegistrationAddress;
|
|
265
|
+
const { requiredFields: registrationAddressRequiredFields, optionalFields: registrationAddressOptionalFields, readOnlyFields: registrationAddressReadOnlyFields, obscuredFields: registrationAddressObscuredFields, verifyFields: registrationAddressVerifyFields, trustedFields: registrationAddressTrustedFields } = getFormProps(props, registrationAddressFormID);
|
|
266
|
+
const formUtils = createFormUtils({
|
|
267
|
+
...props,
|
|
268
|
+
requiredFields: registrationAddressRequiredFields,
|
|
269
|
+
optionalFields: registrationAddressOptionalFields,
|
|
270
|
+
readOnlyFields: registrationAddressReadOnlyFields,
|
|
271
|
+
obscuredFields: registrationAddressObscuredFields,
|
|
272
|
+
verifyFields: registrationAddressVerifyFields,
|
|
273
|
+
trustedFields: registrationAddressTrustedFields
|
|
274
|
+
}, t);
|
|
275
|
+
const isOperationAddressNotSame = () => data?.operationalAddressIsSame === operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_NOT_SAME;
|
|
276
|
+
const registrationAddressValidRef = useRef(Boolean(form.valid.trustRegistrationAddress?.registrationAddress));
|
|
277
|
+
const operationalAddressValidRef = useRef(Boolean(form.valid.trustRegistrationAddress?.operationalAddress));
|
|
278
|
+
useEffect(() => {
|
|
279
|
+
if (form.valid.trustRegistrationAddress?.registrationAddress !== registrationAddressValidRef.current) form.setValid("registrationAddress", registrationAddressValidRef.current, "trustRegistrationAddress");
|
|
280
|
+
if (isOperationAddressNotSame() && form.valid.trustRegistrationAddress?.operationalAddress !== operationalAddressValidRef.current) form.setValid("operationalAddress", operationalAddressValidRef.current, "trustRegistrationAddress");
|
|
281
|
+
}, [form.valid.trustRegistrationAddress]);
|
|
282
|
+
const handleChangeFor = useCallback((fieldName, mode) => form.handleChangeFor(fieldName, "trustRegistrationAddress", mode), [form]);
|
|
283
|
+
const handleRegistrationAddressChange = (state) => {
|
|
284
|
+
handleChangeFor("registrationAddress")(state.data);
|
|
285
|
+
registrationAddressValidRef.current = Boolean(state.isValid);
|
|
286
|
+
};
|
|
287
|
+
const handleOperationalAddressChange = (state) => {
|
|
288
|
+
handleChangeFor("operationalAddress")(state.data);
|
|
289
|
+
operationalAddressValidRef.current = Boolean(state.isValid);
|
|
290
|
+
};
|
|
291
|
+
const handleOperationalAddressIsSameChange = (value) => {
|
|
292
|
+
handleChangeFor("operationalAddressIsSame")(value);
|
|
293
|
+
if (value === "OperationAddressAnswerYes") form.setValid("operationalAddress", true, "trustRegistrationAddress");
|
|
294
|
+
};
|
|
295
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
296
|
+
heading && /* @__PURE__ */ jsx(Header, {
|
|
297
|
+
title: heading,
|
|
298
|
+
description
|
|
299
|
+
}),
|
|
300
|
+
/* @__PURE__ */ jsx(ErrorPanel, {
|
|
301
|
+
verificationErrors: id ? problems?.verificationErrors?.[id] : void 0,
|
|
302
|
+
validationErrors: id ? problems?.validationErrors?.[id] : void 0,
|
|
303
|
+
formUtils,
|
|
304
|
+
id: "ariaErrorField"
|
|
305
|
+
}),
|
|
306
|
+
/* @__PURE__ */ jsx(ContextGuidance, {
|
|
307
|
+
titleId: "whyDoINeedToFillInThisInformation",
|
|
308
|
+
contentId: "reasonForFillingCompanyAddressDetails",
|
|
309
|
+
title: t(($) => $["whyDoINeedToFillInThisInformation"]),
|
|
310
|
+
content: t(($) => $["reasonForFillingCompanyAddressDetails"])
|
|
311
|
+
}),
|
|
312
|
+
/* @__PURE__ */ jsx(Address, {
|
|
313
|
+
data: {
|
|
314
|
+
...form.data?.trustRegistrationAddress?.registrationAddress,
|
|
315
|
+
country
|
|
316
|
+
},
|
|
317
|
+
hideCountry: true,
|
|
318
|
+
id,
|
|
319
|
+
addressType: "registrationAddress",
|
|
320
|
+
optionalFields: ["otherAddressInformation"],
|
|
321
|
+
onChange: handleRegistrationAddressChange
|
|
322
|
+
}),
|
|
323
|
+
/* @__PURE__ */ jsx(Header, {
|
|
324
|
+
title: t(($) => $["operationalAddressHeader"]),
|
|
325
|
+
secondary: true
|
|
326
|
+
}),
|
|
327
|
+
/* @__PURE__ */ jsx(Field, {
|
|
328
|
+
el: "fieldset",
|
|
329
|
+
name: "operationalAddressIsSame",
|
|
330
|
+
label: formUtils.getLabel("operationalAddressIsSame"),
|
|
331
|
+
errorMessage: form.errors.trustRegistrationAddress?.operationalAddressIsSame?.errorMessage,
|
|
332
|
+
children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
|
|
333
|
+
...childProps,
|
|
334
|
+
name: "operationalAddressIsSame",
|
|
335
|
+
items: operationalAddressIsSameItems,
|
|
336
|
+
value: data?.operationalAddressIsSame,
|
|
337
|
+
disabled: formUtils.isReadOnly("operationalAddressIsSame"),
|
|
338
|
+
onChange: handleOperationalAddressIsSameChange,
|
|
339
|
+
"aria-required": true,
|
|
340
|
+
"aria-invalid": !form.valid.trustRegistrationAddress?.operationalAddressIsSame
|
|
341
|
+
})
|
|
342
|
+
}),
|
|
343
|
+
isOperationAddressNotSame() && /* @__PURE__ */ jsx(Address, {
|
|
344
|
+
data: {
|
|
345
|
+
...form.data?.trustRegistrationAddress?.operationalAddress,
|
|
346
|
+
country
|
|
347
|
+
},
|
|
348
|
+
hideCountry: true,
|
|
349
|
+
id,
|
|
350
|
+
optionalFields: ["otherAddressInformation"],
|
|
351
|
+
addressType: "operationalAddress",
|
|
352
|
+
onChange: handleOperationalAddressChange
|
|
353
|
+
}, "operationalAddress")
|
|
354
|
+
] });
|
|
355
|
+
}
|
|
356
|
+
//#endregion
|
|
357
|
+
//#region src/components/Trust/forms/TrustRegistrationDetails/TrustRegistrationDetails.tsx
|
|
358
|
+
var trustRegistrationDetailsFields = [
|
|
359
|
+
"legalName",
|
|
360
|
+
...DBA_NAME_FIELD,
|
|
361
|
+
"country",
|
|
362
|
+
"trustType",
|
|
363
|
+
"objectOfTrust",
|
|
364
|
+
...TAX_INFORMATION_FIELD,
|
|
365
|
+
...BUSINESS_REGISTRATION_NUMBER_FIELD,
|
|
366
|
+
...VAT_NUMBER_FIELD
|
|
367
|
+
];
|
|
368
|
+
var ALLOWED_TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
369
|
+
var TRUST_REGISTRATION_DETAILS = "trustRegistrationDetails";
|
|
370
|
+
function TrustRegistrationDetails({ fieldValidationErrors = {}, formVerificationErrors = {}, heading, shouldValidate, taskType, country: parentLegalEntityCountry }) {
|
|
371
|
+
const { t: trustT } = useTranslation("trust");
|
|
372
|
+
const { t: CommonT } = useTranslation("common");
|
|
373
|
+
const { form } = useFormContext();
|
|
374
|
+
const { data, valid, errors, allFields, trustedFields, obscuredFields, optionalFields, requiredFields } = useMemo(() => {
|
|
375
|
+
return {
|
|
376
|
+
data: form.data.trustRegistrationDetails ?? {},
|
|
377
|
+
valid: form.valid.trustRegistrationDetails ?? {},
|
|
378
|
+
errors: form.errors.trustRegistrationDetails ?? {},
|
|
379
|
+
allFields: form.allFields?.trustRegistrationDetails ?? [],
|
|
380
|
+
trustedFields: form.trustedFields?.trustRegistrationDetails ?? [],
|
|
381
|
+
obscuredFields: form.obscuredFields?.trustRegistrationDetails ?? [],
|
|
382
|
+
optionalFields: form.optionalFields?.trustRegistrationDetails ?? [],
|
|
383
|
+
requiredFields: form.requiredFields?.trustRegistrationDetails ?? []
|
|
384
|
+
};
|
|
385
|
+
}, [form]);
|
|
386
|
+
const country = data?.country ?? parentLegalEntityCountry;
|
|
387
|
+
const trustTypeOptions = getCountrySpecificTrustTypeOptions(country) ?? [];
|
|
388
|
+
const isUnincorporatedPartnership = taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP;
|
|
389
|
+
const handleChange = (fieldName, mode) => form.handleChangeFor(fieldName, TRUST_REGISTRATION_DETAILS, mode);
|
|
390
|
+
const changeTrustType = (e) => {
|
|
391
|
+
handleChange("trustType", "blur")(e);
|
|
392
|
+
if (e.target.value !== "charitableTrust") form.setData("objectOfTrust", void 0, TRUST_REGISTRATION_DETAILS);
|
|
393
|
+
};
|
|
394
|
+
const formUtils = useMemo(() => {
|
|
395
|
+
const initialProps = {
|
|
396
|
+
data,
|
|
397
|
+
valid,
|
|
398
|
+
errors,
|
|
399
|
+
fieldValidationErrors,
|
|
400
|
+
formVerificationErrors,
|
|
401
|
+
allFields,
|
|
402
|
+
trustedFields,
|
|
403
|
+
obscuredFields,
|
|
404
|
+
optionalFields,
|
|
405
|
+
requiredFields
|
|
406
|
+
};
|
|
407
|
+
const formUtilProps = initialProps?.allFields?.reduce((acc, field) => {
|
|
408
|
+
switch (field) {
|
|
409
|
+
case "hasDoingBusinessAs": return mergeFieldMetadataIntoProps("hasDoingBusinessAs", doingBusinessAsAbsentFieldMetadata, acc);
|
|
410
|
+
case "doingBusinessAs": return mergeFieldMetadataIntoProps("doingBusinessAs", doingBusinessAsFieldMetadata, acc);
|
|
411
|
+
case "taxInformation": return mergeFieldMetadataIntoProps("taxInformation", resolveFieldMetadata(taxInformationDefaultFieldConfig[country], {
|
|
412
|
+
taxIdNumberType: data.taxInformation?.find((taxId) => taxId.country === country)?.type,
|
|
413
|
+
companyType: LegalEntityTypes.TRUST
|
|
414
|
+
}, taxInformationDefaultFieldMetadata), acc);
|
|
415
|
+
case "exemptedFromTax": return mergeFieldMetadataIntoProps("exemptedFromTax", resolveFieldMetadata(exemptedFromTaxDefaultFieldConfig[country], {}, exemptedFromTaxDefaultFieldMetadata), acc);
|
|
416
|
+
case "registrationNumber": return mergeFieldMetadataIntoProps("registrationNumber", resolveFieldMetadata(registrationNumberDefaultFieldConfig[country], {
|
|
417
|
+
companyType: LegalEntityTypes.TRUST,
|
|
418
|
+
registrationNumberType: data.registrationNumberType
|
|
419
|
+
}, registrationNumberDefaultFieldMetadata), acc);
|
|
420
|
+
case "exemptedFromRegistrationNumber": return mergeFieldMetadataIntoProps("exemptedFromRegistrationNumber", resolveFieldMetadata(exemptFromRegistrationNumberDefaultFieldConfig[country], {}, exemptFromRegistrationNumberDefaultFieldMetadata), acc);
|
|
421
|
+
case "vatNumber": return mergeFieldMetadataIntoProps("vatNumber", resolveFieldMetadata(defaultFieldConfig[country], { vatNumberType: data?.vatNumberType }, defaultFieldMetadata), acc);
|
|
422
|
+
default: return acc;
|
|
423
|
+
}
|
|
424
|
+
}, initialProps);
|
|
425
|
+
return createFormUtils(formUtilProps ?? initialProps, CommonT);
|
|
426
|
+
}, [
|
|
427
|
+
CommonT,
|
|
428
|
+
allFields,
|
|
429
|
+
country,
|
|
430
|
+
data,
|
|
431
|
+
errors,
|
|
432
|
+
fieldValidationErrors,
|
|
433
|
+
formVerificationErrors,
|
|
434
|
+
obscuredFields,
|
|
435
|
+
optionalFields,
|
|
436
|
+
requiredFields,
|
|
437
|
+
trustedFields,
|
|
438
|
+
valid
|
|
439
|
+
]);
|
|
440
|
+
const showField = (fieldName) => formUtils.isRequiredField(fieldName) || formUtils.isOptionalField(fieldName);
|
|
441
|
+
return /* @__PURE__ */ jsxs("form", {
|
|
442
|
+
id: TRUST_REGISTRATION_DETAILS,
|
|
443
|
+
children: [
|
|
444
|
+
heading && /* @__PURE__ */ jsx(Header, { title: heading }),
|
|
445
|
+
/* @__PURE__ */ jsx(ErrorPanel, {
|
|
446
|
+
verificationErrors: formVerificationErrors,
|
|
447
|
+
validationErrors: fieldValidationErrors,
|
|
448
|
+
formUtils,
|
|
449
|
+
id: "ariaErrorField"
|
|
450
|
+
}),
|
|
451
|
+
!isUnincorporatedPartnership && /* @__PURE__ */ jsx(Alert, {
|
|
452
|
+
variant: "info",
|
|
453
|
+
title: /* @__PURE__ */ jsx(Typography, {
|
|
454
|
+
variant: "caption",
|
|
455
|
+
color: "secondary",
|
|
456
|
+
children: trustT(($) => $["makeSureToHaveYourTrustDeed"])
|
|
457
|
+
}),
|
|
458
|
+
className: "u-margin-bottom-16"
|
|
459
|
+
}),
|
|
460
|
+
formUtils.isRequiredField("country") && /* @__PURE__ */ jsx(CountryField, {
|
|
461
|
+
data: formUtils.getFieldData(data, COUNTRY_FIELD),
|
|
462
|
+
valid: formUtils.getFieldValid(valid, COUNTRY_FIELD),
|
|
463
|
+
errors: formUtils.getFieldErrors(errors, fieldValidationErrors, COUNTRY_FIELD),
|
|
464
|
+
labels: formUtils.getFieldLabels(COUNTRY_FIELD, { country: "countryRegionOfEstablishment" }),
|
|
465
|
+
readonly: formUtils.isReadOnly("country"),
|
|
466
|
+
allowedCountries: isUnincorporatedPartnership ? ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES : ALLOWED_TRUST_COUNTRIES,
|
|
467
|
+
handleChangeFor: () => (e) => {
|
|
468
|
+
handleChange("country", "input")(e);
|
|
469
|
+
}
|
|
470
|
+
}),
|
|
471
|
+
formUtils.isRequiredField("legalName") && /* @__PURE__ */ jsx(Field, {
|
|
472
|
+
name: "legalName",
|
|
473
|
+
label: formUtils.getLabel(isUnincorporatedPartnership ? "legalName" : "nameOfTrustAgreement"),
|
|
474
|
+
errorMessage: formUtils.getErrorMessage("legalName", errors, fieldValidationErrors),
|
|
475
|
+
isValid: valid?.legalName,
|
|
476
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
477
|
+
...childProps,
|
|
478
|
+
name: "legalName",
|
|
479
|
+
value: data?.legalName,
|
|
480
|
+
readonly: formUtils.isReadOnly("legalName"),
|
|
481
|
+
onInput: handleChange("legalName", "input"),
|
|
482
|
+
onBlur: handleChange("legalName", "blur"),
|
|
483
|
+
"aria-required": true,
|
|
484
|
+
"aria-invalid": !valid?.legalName
|
|
485
|
+
})
|
|
486
|
+
}),
|
|
487
|
+
formUtils.isRequiredField("hasDoingBusinessAs") && /* @__PURE__ */ jsx(DBANameField, {
|
|
488
|
+
data: formUtils.getFieldData(data, DBA_NAME_FIELD),
|
|
489
|
+
valid: formUtils.getFieldValid(valid, DBA_NAME_FIELD),
|
|
490
|
+
errors: formUtils.getFieldErrors(errors, fieldValidationErrors, DBA_NAME_FIELD),
|
|
491
|
+
readonly: formUtils.isReadOnly("doingBusinessAs"),
|
|
492
|
+
handleChangeFor: handleChange
|
|
493
|
+
}),
|
|
494
|
+
formUtils.isRequiredField("trustType") && !isUnincorporatedPartnership && /* @__PURE__ */ jsx(Field, {
|
|
495
|
+
name: "trustType",
|
|
496
|
+
label: formUtils.getLabel("trustType", "typeOfTrustAgreement"),
|
|
497
|
+
errorMessage: formUtils.getErrorMessage("trustType", errors, fieldValidationErrors),
|
|
498
|
+
isValid: valid?.trustType,
|
|
499
|
+
dataTestId: "trust-type",
|
|
500
|
+
children: (childProps) => /* @__PURE__ */ jsx(Select, {
|
|
501
|
+
...childProps,
|
|
502
|
+
name: "trustType",
|
|
503
|
+
onChange: changeTrustType,
|
|
504
|
+
selected: data?.trustType,
|
|
505
|
+
items: trustTypeOptions.map((trust) => ({
|
|
506
|
+
id: trust,
|
|
507
|
+
name: trustT(($) => $[trust])
|
|
508
|
+
})),
|
|
509
|
+
placeholder: trustT(($) => $["trustType"])
|
|
510
|
+
})
|
|
511
|
+
}),
|
|
512
|
+
formUtils.isRequiredField("objectOfTrust") && /* @__PURE__ */ jsx(Field, {
|
|
513
|
+
name: "objectOfTrust",
|
|
514
|
+
label: formUtils.getLabel("objectOfCharitableTrust"),
|
|
515
|
+
helper: formUtils.getLabel("pleaseProvideThePurposeOfCharitableTrust"),
|
|
516
|
+
errorMessage: formUtils.getErrorMessage("objectOfTrust", errors, fieldValidationErrors),
|
|
517
|
+
isValid: valid?.objectOfTrust,
|
|
518
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
519
|
+
...childProps,
|
|
520
|
+
name: "objectOfTrust",
|
|
521
|
+
value: data?.objectOfTrust,
|
|
522
|
+
readonly: formUtils.isReadOnly("objectOfTrust"),
|
|
523
|
+
onInput: handleChange("objectOfTrust", "input"),
|
|
524
|
+
onBlur: handleChange("objectOfTrust", "blur"),
|
|
525
|
+
"aria-required": true,
|
|
526
|
+
"aria-invalid": !valid?.objectOfTrust
|
|
527
|
+
})
|
|
528
|
+
}),
|
|
529
|
+
showField("taxInformation") && /* @__PURE__ */ jsx(TaxInformationField, {
|
|
530
|
+
data: formUtils.getFieldData(data, TAX_INFORMATION_FIELD),
|
|
531
|
+
valid: formUtils.getFieldValid(valid, TAX_INFORMATION_FIELD),
|
|
532
|
+
errors: formUtils.getFieldErrors(errors, fieldValidationErrors, TAX_INFORMATION_FIELD),
|
|
533
|
+
labels: formUtils.getFieldLabels(TAX_INFORMATION_FIELD, { exemptedFromTax: "iDontHaveATaxId" }),
|
|
534
|
+
mask: formUtils.getMask("taxInformation"),
|
|
535
|
+
readonly: formUtils.isReadOnly("taxInformation"),
|
|
536
|
+
shouldValidate,
|
|
537
|
+
handleChangeFor: handleChange,
|
|
538
|
+
optional: formUtils.isOptionalField("taxInformation"),
|
|
539
|
+
canExempt: formUtils.isRequiredField("exemptedFromTax"),
|
|
540
|
+
country,
|
|
541
|
+
entityType: LegalEntityTypes.TRUST,
|
|
542
|
+
defaultData: data?.taxInformation,
|
|
543
|
+
registrationNumber: data.registrationNumber
|
|
544
|
+
}),
|
|
545
|
+
showField("registrationNumber") && /* @__PURE__ */ jsx(BusinessRegistrationNumberField, {
|
|
546
|
+
data: formUtils.getFieldData(data, BUSINESS_REGISTRATION_NUMBER_FIELD),
|
|
547
|
+
valid: formUtils.getFieldValid(valid, BUSINESS_REGISTRATION_NUMBER_FIELD),
|
|
548
|
+
errors: formUtils.getFieldErrors(errors, fieldValidationErrors, BUSINESS_REGISTRATION_NUMBER_FIELD),
|
|
549
|
+
helperText: getRegistrationNumberHelperText(trustT, {
|
|
550
|
+
country,
|
|
551
|
+
companyType: LegalEntityTypes.TRUST
|
|
552
|
+
}),
|
|
553
|
+
readonly: formUtils.isReadOnly("registrationNumber"),
|
|
554
|
+
optional: formUtils.isOptionalField("registrationNumber"),
|
|
555
|
+
shouldValidate,
|
|
556
|
+
handleChangeFor: handleChange,
|
|
557
|
+
country,
|
|
558
|
+
canExempt: formUtils.isRequiredField("exemptedFromRegistrationNumber"),
|
|
559
|
+
companyType: LegalEntityTypes.TRUST
|
|
560
|
+
}),
|
|
561
|
+
showField("vatNumber") && /* @__PURE__ */ jsx(VatNumberField, {
|
|
562
|
+
data: formUtils.getFieldData(data, VAT_NUMBER_FIELD),
|
|
563
|
+
valid: formUtils.getFieldValid(valid, VAT_NUMBER_FIELD),
|
|
564
|
+
errors: formUtils.getFieldErrors(errors, fieldValidationErrors, VAT_NUMBER_FIELD),
|
|
565
|
+
labels: formUtils.getFieldLabels(VAT_NUMBER_FIELD, { exemptedFromVat: "iDontHaveAVatNumber" }),
|
|
566
|
+
optional: formUtils.isOptionalField("vatNumber"),
|
|
567
|
+
readonly: formUtils.isReadOnly("vatNumber"),
|
|
568
|
+
handleChangeFor: handleChange,
|
|
569
|
+
country,
|
|
570
|
+
canExempt: formUtils.isRequiredField("exemptedFromVat")
|
|
571
|
+
})
|
|
572
|
+
]
|
|
573
|
+
});
|
|
574
|
+
}
|
|
575
|
+
//#endregion
|
|
576
|
+
//#region src/components/Trust/tasks/TrustDropin/Trust.tsx
|
|
577
|
+
var trustForms = {
|
|
578
|
+
trustRegistrationDetails: {
|
|
579
|
+
formId: TRUST_REGISTRATION_DETAILS,
|
|
580
|
+
formName: "registrationDetails",
|
|
581
|
+
fields: [...trustRegistrationDetailsFields]
|
|
582
|
+
},
|
|
583
|
+
trustRegistrationAddress: {
|
|
584
|
+
formId: "trustRegistrationAddress",
|
|
585
|
+
formName: "addressDetails",
|
|
586
|
+
fields: registrationAddressFields
|
|
587
|
+
},
|
|
588
|
+
trustConstitutionalDocument: {
|
|
589
|
+
formId: "trustConstitutionalDocument",
|
|
590
|
+
formName: "constitutionalDocument",
|
|
591
|
+
fields: ["constitutionalDocument"]
|
|
592
|
+
}
|
|
593
|
+
};
|
|
594
|
+
var trustRegistrationAddressFormId = trustForms.trustRegistrationAddress.formId;
|
|
595
|
+
var trustRegistrationDetailsFormId = TRUST_REGISTRATION_DETAILS;
|
|
596
|
+
var trustConstitutionalDocumentFormId = trustForms.trustConstitutionalDocument.formId;
|
|
597
|
+
function Trust(props) {
|
|
598
|
+
const { t } = useTranslation(["common", "trust"]);
|
|
599
|
+
const { country, activeForm, taskType, shouldValidate, problems = {} } = props;
|
|
600
|
+
const { form } = useFormContext();
|
|
601
|
+
const isUnincorporatedPartnership = taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP;
|
|
602
|
+
function handleChange(formName, fieldName, mode) {
|
|
603
|
+
return form.handleChangeFor(fieldName, formName, mode);
|
|
604
|
+
}
|
|
605
|
+
const renderActiveForm = (activeForm) => {
|
|
606
|
+
switch (activeForm.formId) {
|
|
607
|
+
case trustRegistrationDetailsFormId: return /* @__PURE__ */ jsx(TrustRegistrationDetails, {
|
|
608
|
+
heading: t(($) => $["registrationDetails"]),
|
|
609
|
+
id: trustRegistrationDetailsFormId,
|
|
610
|
+
taskType,
|
|
611
|
+
shouldValidate,
|
|
612
|
+
country
|
|
613
|
+
});
|
|
614
|
+
case trustRegistrationAddressFormId: return /* @__PURE__ */ jsx(RegistrationAddressMultiform, {
|
|
615
|
+
heading: t(($) => $["addressDetails"]),
|
|
616
|
+
description: !isUnincorporatedPartnership ? t(($) => $["registeredAddressTrustHeaderDescription"], { ns: "trust" }) : t(($) => $["registeredAddressUnincorporatedPartnershipHeaderDescription"], { ns: "trust" }),
|
|
617
|
+
id: trustRegistrationAddressFormId,
|
|
618
|
+
country,
|
|
619
|
+
problems,
|
|
620
|
+
labels: { operationalAddressIsSame: !isUnincorporatedPartnership ? "isTrustOperationAddressSame" : "isPartnershipOperationAddressSame" },
|
|
621
|
+
shouldValidate
|
|
622
|
+
});
|
|
623
|
+
case trustConstitutionalDocumentFormId: return /* @__PURE__ */ jsx(MemoizedConstitutionalDocument, {
|
|
624
|
+
id: activeForm.formId,
|
|
625
|
+
legalEntityType: isUnincorporatedPartnership ? LegalEntityTypes.UNINCORPORATED_PARTNERSHIP : LegalEntityTypes.TRUST,
|
|
626
|
+
country,
|
|
627
|
+
data: form.data?.trustConstitutionalDocument,
|
|
628
|
+
errors: form.errors.trustConstitutionalDocument,
|
|
629
|
+
valid: form.valid.trustConstitutionalDocument,
|
|
630
|
+
allFields: form.allFields?.trustConstitutionalDocument,
|
|
631
|
+
requiredFields: form.requiredFields?.trustConstitutionalDocument,
|
|
632
|
+
optionalFields: form.optionalFields?.trustConstitutionalDocument,
|
|
633
|
+
trustedFields: form.trustedFields?.trustConstitutionalDocument,
|
|
634
|
+
handleFieldChange: () => handleChange("trustConstitutionalDocument", "constitutionalDocument"),
|
|
635
|
+
shouldValidate,
|
|
636
|
+
fieldValidationErrors: problems.validationErrors?.[activeForm.formId] ?? {},
|
|
637
|
+
formVerificationErrors: problems.verificationErrors?.[activeForm.formId] ?? {}
|
|
638
|
+
});
|
|
639
|
+
default: return null;
|
|
640
|
+
}
|
|
641
|
+
};
|
|
642
|
+
return /* @__PURE__ */ jsx("div", { children: renderActiveForm(activeForm || trustForms.trustRegistrationDetails) });
|
|
643
|
+
}
|
|
644
|
+
//#endregion
|
|
645
|
+
//#region src/components/Trust/tasks/TrustDropin/trustFormConfig.ts
|
|
646
|
+
var trustBase = {
|
|
647
|
+
trustType: { rule: "requiresTrustType" },
|
|
648
|
+
objectOfTrust: { rule: "trustTypeHasDescription" },
|
|
649
|
+
legalName: { rule: "REQUIRED" },
|
|
650
|
+
hasDoingBusinessAs: { rule: "REQUIRED" },
|
|
651
|
+
doingBusinessAs: { rule: "requireDoingBusinessAsName" },
|
|
652
|
+
country: { rule: "REQUIRED" },
|
|
653
|
+
taxInformation: { rule: "countryUsesTaxId" },
|
|
654
|
+
registrationAddress: { rule: "REQUIRED" },
|
|
655
|
+
operationalAddress: { rule: "OPTIONAL" },
|
|
656
|
+
constitutionalDocument: { rule: "REQUIRED" },
|
|
657
|
+
registrationNumber: { rule: "countryRequiresRegistrationNumberForTrust" },
|
|
658
|
+
registrationNumberType: { rule: "registrationNumberType" },
|
|
659
|
+
vatNumber: { rule: "countryUsesVatNumber" },
|
|
660
|
+
vatNumberType: { rule: "countryUsesVatNumber" },
|
|
661
|
+
operationalAddressIsSame: { rule: "REQUIRED" }
|
|
662
|
+
};
|
|
663
|
+
var trustFieldsPerScenario = {
|
|
664
|
+
L0: { ...trustBase },
|
|
665
|
+
L1: { ...trustBase },
|
|
666
|
+
L: { ...trustBase }
|
|
667
|
+
};
|
|
668
|
+
var trustCountryConfig = {};
|
|
669
|
+
//#endregion
|
|
670
|
+
//#region src/components/Trust/forms/TrustRegistrationDetails/validate.ts
|
|
671
|
+
var trustRegistrationDetailsValidations = {
|
|
672
|
+
trustType: {
|
|
673
|
+
modes: ["blur"],
|
|
674
|
+
validate: (trustType) => !!trustType,
|
|
675
|
+
errorMessage: "fieldIsRequired"
|
|
676
|
+
},
|
|
677
|
+
country: {
|
|
678
|
+
modes: ["blur"],
|
|
679
|
+
validate: (country) => !!country,
|
|
680
|
+
errorMessage: "fieldIsRequired"
|
|
681
|
+
},
|
|
682
|
+
legalName: {
|
|
683
|
+
modes: ["blur"],
|
|
684
|
+
validate: (legalName) => !!legalName,
|
|
685
|
+
errorMessage: "fieldIsRequired"
|
|
686
|
+
},
|
|
687
|
+
objectOfTrust: {
|
|
688
|
+
modes: ["blur"],
|
|
689
|
+
validate: (objectOfTrust) => !!objectOfTrust,
|
|
690
|
+
errorMessage: "fieldIsRequired"
|
|
691
|
+
},
|
|
692
|
+
hasDoingBusinessAs: validateNotEmptyOnBlur,
|
|
693
|
+
doingBusinessAs: validateNotEmptyOnBlur
|
|
694
|
+
};
|
|
695
|
+
var trustRegistrationDetailsValidationsV4 = {
|
|
696
|
+
trustType: {
|
|
697
|
+
modes: ["blur"],
|
|
698
|
+
validate: (trustType) => !!trustType,
|
|
699
|
+
errorMessage: "fieldIsRequired"
|
|
700
|
+
},
|
|
701
|
+
country: {
|
|
702
|
+
modes: ["blur"],
|
|
703
|
+
validate: (country) => !!country,
|
|
704
|
+
errorMessage: "fieldIsRequired"
|
|
705
|
+
},
|
|
706
|
+
legalName: [
|
|
707
|
+
{
|
|
708
|
+
modes: ["blur"],
|
|
709
|
+
validate: hasText,
|
|
710
|
+
errorMessage: "fieldIsRequired"
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
modes: ["blur"],
|
|
714
|
+
validate: (input) => !matchesRegex(NO_ALPHABET_REGEX, input),
|
|
715
|
+
errorMessage: "nameMustContainLetters"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
modes: ["blur"],
|
|
719
|
+
validate: (input) => !matchesRegex(EMOJI_REGEX, input) && !hasRepeatedCharacters(input) && isValidMinLength(input, 3) && !isInvalidName(input) && matchesRegex(OTHER_ENTITIES_VALID_CHAR_REGEX, input),
|
|
720
|
+
errorMessage: "checkForTypos"
|
|
721
|
+
}
|
|
722
|
+
],
|
|
723
|
+
objectOfTrust: {
|
|
724
|
+
modes: ["blur"],
|
|
725
|
+
validate: (objectOfTrust) => !!objectOfTrust,
|
|
726
|
+
errorMessage: "fieldIsRequired"
|
|
727
|
+
},
|
|
728
|
+
hasDoingBusinessAs: validateNotEmptyOnBlur,
|
|
729
|
+
doingBusinessAs: validateNotEmptyOnBlur
|
|
730
|
+
};
|
|
731
|
+
//#endregion
|
|
732
|
+
//#region src/components/Trust/tasks/TrustDropin/validate.ts
|
|
733
|
+
function trustRegistrationDetailsValidators(country, trustRegistrationDetails = {}, isFeatureEnabled) {
|
|
734
|
+
const defaultTrustRegistrationDetailsValidators = isFeatureEnabled("StrictNameAndAddressValidationV4") ? trustRegistrationDetailsValidationsV4 : trustRegistrationDetailsValidations;
|
|
735
|
+
const { registrationNumberType, taxInformation, vatNumberType } = trustRegistrationDetails;
|
|
736
|
+
return {
|
|
737
|
+
...defaultTrustRegistrationDetailsValidators,
|
|
738
|
+
hasDoingBusinessAs: doingBusinessAsAbsentFieldMetadata.validators,
|
|
739
|
+
doingBusinessAs: doingBusinessAsFieldMetadata.validators,
|
|
740
|
+
taxInformation: resolveFieldMetadata(taxInformationDefaultFieldConfig[country], {
|
|
741
|
+
taxIdNumberType: taxInformation?.find((taxId) => taxId.country === country)?.type,
|
|
742
|
+
companyType: LegalEntityTypes.TRUST
|
|
743
|
+
}, taxInformationDefaultFieldMetadata)?.validators,
|
|
744
|
+
exemptedFromTax: resolveFieldMetadata(exemptedFromTaxDefaultFieldConfig[country], {}, exemptedFromTaxDefaultFieldMetadata)?.validators,
|
|
745
|
+
registrationNumber: resolveFieldMetadata(registrationNumberDefaultFieldConfig[country], {
|
|
746
|
+
companyType: LegalEntityTypes.TRUST,
|
|
747
|
+
registrationNumberType,
|
|
748
|
+
isFeatureEnabled
|
|
749
|
+
}, registrationNumberDefaultFieldMetadata)?.validators,
|
|
750
|
+
exemptedFromRegistrationNumber: resolveFieldMetadata(exemptFromRegistrationNumberDefaultFieldConfig[country], {}, exemptFromRegistrationNumberDefaultFieldMetadata)?.validators,
|
|
751
|
+
vatNumber: resolveFieldMetadata(defaultFieldConfig[country], { vatNumberType }, defaultFieldMetadata)?.validators
|
|
752
|
+
};
|
|
753
|
+
}
|
|
754
|
+
//#endregion
|
|
755
|
+
//#region src/components/Trust/tasks/TrustDropin/TrustDropin.tsx
|
|
756
|
+
var parseTrustScenarios = (scenarios, country) => augmentWithCountryConfigs(trustCountryConfig[country], composePerScenarioFormConfigurations(scenarios, trustFieldsPerScenario));
|
|
757
|
+
var parseConfiguration = ({ scenarios, country }) => parseTrustScenarios(scenarios, country);
|
|
758
|
+
function TrustDropin({ parentLegalEntity, country: countryProp, existingTrust, taskType, problems: problemsProp, onSubmit: externalOnSubmit, handleHomeClick }) {
|
|
759
|
+
const { baseUrl, rootLegalEntityId } = useApiContext();
|
|
760
|
+
const { t, i18n } = useTranslation(["common", "trust"]);
|
|
761
|
+
const [validationErrors, setValidationErrors] = useState();
|
|
762
|
+
const datasetUtils = datasetUtilities(i18n.language);
|
|
763
|
+
const { isFeatureEnabled } = useToggleContext();
|
|
764
|
+
const { showToast } = useToastContext();
|
|
765
|
+
const [loadingStatus, setLoadingStatus] = useState("success");
|
|
766
|
+
const [country, setCountry] = useState(countryProp);
|
|
767
|
+
const isUnincorporatedPartnership = taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP;
|
|
768
|
+
const problems = useMemo(() => ({
|
|
769
|
+
...problemsProp,
|
|
770
|
+
validationErrors
|
|
771
|
+
}), [problemsProp, validationErrors]);
|
|
772
|
+
const [initialData, setInitialData] = useState(useMemo(() => {
|
|
773
|
+
if (!existingTrust) return { trustRegistrationDetails: { country: countryProp } };
|
|
774
|
+
return isUnincorporatedPartnership ? mapLegalEntityToUnincorporatedPartnership(existingTrust, isFeatureEnabled) : mapLegalEntityToTrust(existingTrust, isFeatureEnabled);
|
|
775
|
+
}, [
|
|
776
|
+
isFeatureEnabled,
|
|
777
|
+
existingTrust,
|
|
778
|
+
isUnincorporatedPartnership,
|
|
779
|
+
countryProp
|
|
780
|
+
]));
|
|
781
|
+
const documentUtils = documentApiUtils({
|
|
782
|
+
baseUrl: baseUrl.value,
|
|
783
|
+
rootLegalEntityId: rootLegalEntityId.value
|
|
784
|
+
});
|
|
785
|
+
/**
|
|
786
|
+
* Analytics
|
|
787
|
+
*/
|
|
788
|
+
useTaskLandedEvent(taskType);
|
|
789
|
+
useEffect(() => {
|
|
790
|
+
if (!existingTrust?.documentDetails?.length) return;
|
|
791
|
+
documentUtils.fetchDocuments(existingTrust.documentDetails, existingTrust.id).then(() => {
|
|
792
|
+
const mappedDocuments = mapApiDocumentToTrustDocument(existingTrust.id);
|
|
793
|
+
setInitialData((prev) => ({
|
|
794
|
+
...prev,
|
|
795
|
+
...mappedDocuments
|
|
796
|
+
}));
|
|
797
|
+
}).catch(() => {
|
|
798
|
+
showToast({
|
|
799
|
+
label: t(($) => $["failedToFetchRelevantDocuments"]),
|
|
800
|
+
variant: "error"
|
|
801
|
+
});
|
|
802
|
+
});
|
|
803
|
+
}, []);
|
|
804
|
+
const [derivedProps, setDerivedProps] = useState();
|
|
805
|
+
const buildTrustValidations = useCallback((data) => {
|
|
806
|
+
return { trustRegistrationDetails: trustRegistrationDetailsValidators(country, data?.trustRegistrationDetails, isFeatureEnabled) };
|
|
807
|
+
}, [country, isFeatureEnabled]);
|
|
808
|
+
const multiForm = useMultiForm({
|
|
809
|
+
defaultData: initialData,
|
|
810
|
+
allFields: derivedProps?.allFields,
|
|
811
|
+
requiredFields: derivedProps?.requiredFields,
|
|
812
|
+
optionalFields: derivedProps?.optionalFields,
|
|
813
|
+
obscuredFields: derivedProps?.obscuredFields,
|
|
814
|
+
trustedFields: derivedProps?.trustedFields,
|
|
815
|
+
rules: buildTrustValidations
|
|
816
|
+
});
|
|
817
|
+
/**
|
|
818
|
+
* Fetch Configurations
|
|
819
|
+
*/
|
|
820
|
+
const { fieldConfigurations, requiredFields } = useScenarioConfiguration({
|
|
821
|
+
parseConfiguration,
|
|
822
|
+
legalEntityType: LegalEntityTypes.TRUST,
|
|
823
|
+
setLoadingStatus,
|
|
824
|
+
country
|
|
825
|
+
});
|
|
826
|
+
const fieldsFromCustomRules = useMemo(() => rules({
|
|
827
|
+
data: multiForm.data,
|
|
828
|
+
country,
|
|
829
|
+
taskType,
|
|
830
|
+
requiredFields
|
|
831
|
+
}), [
|
|
832
|
+
country,
|
|
833
|
+
multiForm.data,
|
|
834
|
+
taskType,
|
|
835
|
+
requiredFields
|
|
836
|
+
]);
|
|
837
|
+
useEffect(() => {
|
|
838
|
+
setDerivedProps(getPropsFromConfigurations({
|
|
839
|
+
scenarioConfiguration: fieldConfigurations,
|
|
840
|
+
forms: trustForms,
|
|
841
|
+
remediationActions: problems?.remediationActions ? Object.values(problems?.remediationActions) : [],
|
|
842
|
+
dataMissingErrors: problems?.missingData ?? [],
|
|
843
|
+
fieldsWithExistingData: existingTrust ? getFieldsWithExistingData(existingTrust, trustApiKeyMapping, trustDocumentMapping) : [],
|
|
844
|
+
customRules: fieldsFromCustomRules,
|
|
845
|
+
legalEntityType: existingTrust?.type
|
|
846
|
+
}));
|
|
847
|
+
}, [
|
|
848
|
+
fieldConfigurations,
|
|
849
|
+
problems?.remediationActions,
|
|
850
|
+
problems?.missingData,
|
|
851
|
+
existingTrust,
|
|
852
|
+
fieldsFromCustomRules
|
|
853
|
+
]);
|
|
854
|
+
/**
|
|
855
|
+
* Current country value must be kept in sync with what is selected in basicInformation form
|
|
856
|
+
*/
|
|
857
|
+
const [prevCountry, setPrevCountry] = useState(multiForm.data.trustRegistrationDetails?.country);
|
|
858
|
+
if (multiForm.data.trustRegistrationDetails?.country && prevCountry !== multiForm.data.trustRegistrationDetails?.country) {
|
|
859
|
+
setCountry(multiForm.data?.trustRegistrationDetails?.country ?? countryProp);
|
|
860
|
+
setPrevCountry(multiForm.data.trustRegistrationDetails?.country);
|
|
861
|
+
}
|
|
862
|
+
const forms = useMemo(() => {
|
|
863
|
+
return addValidityToForms(getRequiredForms(trustForms, derivedProps?.requiredFields, derivedProps?.optionalFields), multiForm.isValid, problems);
|
|
864
|
+
}, [
|
|
865
|
+
derivedProps,
|
|
866
|
+
multiForm.isValid,
|
|
867
|
+
problems
|
|
868
|
+
]);
|
|
869
|
+
const onSubmitTrust = async () => {
|
|
870
|
+
setLoadingStatus("loading");
|
|
871
|
+
const trustDetails = mapTrustToLegalEntity(multiForm.data, isFeatureEnabled);
|
|
872
|
+
try {
|
|
873
|
+
const updatedTrust = await submitTrustDetails(trustDetails);
|
|
874
|
+
await submitDocuments({
|
|
875
|
+
forms,
|
|
876
|
+
legalEntity: updatedTrust,
|
|
877
|
+
dataSubmitted: multiForm.data
|
|
878
|
+
});
|
|
879
|
+
await attachTrustToParentLegalEntity(updatedTrust);
|
|
880
|
+
setLoadingStatus("success");
|
|
881
|
+
showToast({
|
|
882
|
+
label: t(($) => $["successfullyUpdatedDetails"]),
|
|
883
|
+
variant: "success"
|
|
884
|
+
});
|
|
885
|
+
externalOnSubmit?.(multiForm.data);
|
|
886
|
+
} catch (e) {
|
|
887
|
+
if (isValidationError(e)) setValidationErrors(processValidationErrors(e, taskType));
|
|
888
|
+
else if (isMaintenanceModeError(e)) showToast({
|
|
889
|
+
label: t(($) => $["maintenanceModeMessage"]),
|
|
890
|
+
variant: "error",
|
|
891
|
+
duration: "indefinite"
|
|
892
|
+
});
|
|
893
|
+
else showToast({
|
|
894
|
+
label: t(($) => $["failedToUpdateDetails"]),
|
|
895
|
+
variant: "error"
|
|
896
|
+
});
|
|
897
|
+
setLoadingStatus("success");
|
|
898
|
+
}
|
|
899
|
+
};
|
|
900
|
+
const onSubmitUnincorporatedPartnership = async () => {
|
|
901
|
+
setLoadingStatus("loading");
|
|
902
|
+
const unincorporatedPartnershipDetails = mapUnincorporatedPartnershipToLegalEntity(multiForm.data, isFeatureEnabled);
|
|
903
|
+
try {
|
|
904
|
+
const updatedUnincorporatedPartnershipDetails = await submitTrustDetails(unincorporatedPartnershipDetails);
|
|
905
|
+
await submitDocuments({
|
|
906
|
+
forms,
|
|
907
|
+
legalEntity: updatedUnincorporatedPartnershipDetails,
|
|
908
|
+
dataSubmitted: multiForm.data
|
|
909
|
+
});
|
|
910
|
+
await attachTrustToParentLegalEntity(updatedUnincorporatedPartnershipDetails);
|
|
911
|
+
setLoadingStatus("success");
|
|
912
|
+
showToast({
|
|
913
|
+
label: t(($) => $["successfullyUpdatedDetails"]),
|
|
914
|
+
variant: "success"
|
|
915
|
+
});
|
|
916
|
+
externalOnSubmit?.(multiForm.data);
|
|
917
|
+
} catch (e) {
|
|
918
|
+
if (isValidationError(e)) setValidationErrors(processValidationErrors(e, taskType));
|
|
919
|
+
else if (isMaintenanceModeError(e)) showToast({
|
|
920
|
+
label: t(($) => $["maintenanceModeMessage"]),
|
|
921
|
+
variant: "error",
|
|
922
|
+
duration: "indefinite"
|
|
923
|
+
});
|
|
924
|
+
else showToast({
|
|
925
|
+
label: t(($) => $["failedToUpdateDetails"]),
|
|
926
|
+
variant: "error"
|
|
927
|
+
});
|
|
928
|
+
setLoadingStatus("success");
|
|
929
|
+
}
|
|
930
|
+
};
|
|
931
|
+
const { mutateAsync: createLegalEntity } = useCreateLegalEntity();
|
|
932
|
+
const { mutateAsync: updateLegalEntity } = useUpdateLegalEntity();
|
|
933
|
+
const submitTrustDetails = async (legalEntity) => {
|
|
934
|
+
if (!existingTrust) return await createLegalEntity(legalEntity);
|
|
935
|
+
else return await updateLegalEntity({
|
|
936
|
+
...drop("type").from(legalEntity),
|
|
937
|
+
id: existingTrust.id
|
|
938
|
+
});
|
|
939
|
+
};
|
|
940
|
+
const submitDocuments = async ({ forms, legalEntity, dataSubmitted }) => {
|
|
941
|
+
if (isDocumentsRequired(forms)) {
|
|
942
|
+
const formattedDocument = await mapTrustDocumentToApiDocument(dataSubmitted, legalEntity.id);
|
|
943
|
+
if (formattedDocument) await documentUtils.uploadDocuments([formattedDocument], legalEntity.id);
|
|
944
|
+
}
|
|
945
|
+
};
|
|
946
|
+
const isDocumentsRequired = (forms) => forms.some((form) => form.formId === trustForms.trustConstitutionalDocument.formId);
|
|
947
|
+
const attachTrustToParentLegalEntity = async (trust) => {
|
|
948
|
+
if (existingTrust?.id) return;
|
|
949
|
+
const existingEntityAssociations = getOwnEntityAssociations(parentLegalEntity);
|
|
950
|
+
await updateLegalEntity({
|
|
951
|
+
entityAssociations: [{
|
|
952
|
+
type: trust.type,
|
|
953
|
+
legalEntityId: trust.id
|
|
954
|
+
}, ...existingEntityAssociations],
|
|
955
|
+
id: parentLegalEntity.id
|
|
956
|
+
});
|
|
957
|
+
};
|
|
958
|
+
const formatDataForSummary = useCallback((formData, forms) => {
|
|
959
|
+
let summaryData = cloneObject(formData) || {};
|
|
960
|
+
const country = formData.trustRegistrationDetails?.country ?? (existingTrust ? getLegalEntityCountry(existingTrust) : getLegalEntityCountry(parentLegalEntity));
|
|
961
|
+
if (formData.trustRegistrationDetails) {
|
|
962
|
+
const trustCountry = formData.trustRegistrationDetails.country && datasetUtils.getCountryName(formData.trustRegistrationDetails.country);
|
|
963
|
+
const trustType = formData.trustRegistrationDetails.trustType && t(($) => $[formData.trustRegistrationDetails.trustType], { ns: "trust" });
|
|
964
|
+
const registrationNumberLabel = resolveFieldMetadata(registrationNumberDefaultFieldConfig[country], {
|
|
965
|
+
companyType: LegalEntityTypes.TRUST,
|
|
966
|
+
registrationNumberType: formData.trustRegistrationDetails.registrationNumber ? inferCompanyRegistrationNumberType(formData.trustRegistrationDetails.registrationNumber, country, LegalEntityTypes.TRUST) : getCompanyRegistrationNumberOptions(country, LegalEntityTypes.TRUST)?.[0]?.id
|
|
967
|
+
}, registrationNumberDefaultFieldMetadata).label;
|
|
968
|
+
const taxIdLabel = resolveFieldMetadata(taxInformationDefaultFieldConfig[country], {
|
|
969
|
+
companyType: LegalEntityTypes.TRUST,
|
|
970
|
+
taxIdNumberType: countryToTaxInfoTypeMap[country]
|
|
971
|
+
}, taxInformationDefaultFieldMetadata).label;
|
|
972
|
+
summaryData.trustRegistrationDetails = {
|
|
973
|
+
[isUnincorporatedPartnership ? "legalName" : "nameOfTrustAgreement"]: formData.trustRegistrationDetails?.legalName,
|
|
974
|
+
doingBusinessAs: formData.trustRegistrationDetails?.doingBusinessAs,
|
|
975
|
+
countryRegionOfEstablishment: trustCountry,
|
|
976
|
+
typeOfTrustAgreement: isUnincorporatedPartnership ? void 0 : trustType,
|
|
977
|
+
objectOfTrust: formData.trustRegistrationDetails?.objectOfTrust,
|
|
978
|
+
[taxIdLabel]: formData.trustRegistrationDetails?.taxInformation?.find((taxId) => country === taxId.country)?.number,
|
|
979
|
+
[registrationNumberLabel]: formData.trustRegistrationDetails.registrationNumber
|
|
980
|
+
};
|
|
981
|
+
}
|
|
982
|
+
if (formData.trustRegistrationAddress?.registrationAddress) {
|
|
983
|
+
summaryData.trustRegistrationAddress.hasInnerForms = true;
|
|
984
|
+
summaryData.trustRegistrationAddress.registrationAddress = mapAddressLabels(formData.trustRegistrationAddress.registrationAddress, datasetUtils);
|
|
985
|
+
}
|
|
986
|
+
if (formData.trustRegistrationAddress?.operationalAddress) summaryData.trustRegistrationAddress.operationalAddress = mapAddressLabels(formData.trustRegistrationAddress.operationalAddress, datasetUtils);
|
|
987
|
+
if (isDocumentsRequired(forms)) summaryData = {
|
|
988
|
+
...summaryData,
|
|
989
|
+
...formatFileSummaryData(formData.trustConstitutionalDocument)
|
|
990
|
+
};
|
|
991
|
+
else delete summaryData[trustConstitutionalDocumentFormId];
|
|
992
|
+
return summaryData;
|
|
993
|
+
}, [
|
|
994
|
+
datasetUtils,
|
|
995
|
+
existingTrust,
|
|
996
|
+
isUnincorporatedPartnership,
|
|
997
|
+
parentLegalEntity,
|
|
998
|
+
t
|
|
999
|
+
]);
|
|
1000
|
+
const formatFileSummaryData = (trustConstitutionalDocument) => {
|
|
1001
|
+
const constitutionalDocument = trustConstitutionalDocument?.constitutionalDocument?.[0];
|
|
1002
|
+
return { ...constitutionalDocument && { trustConstitutionalDocument: { fileName: constitutionalDocument.name } } };
|
|
1003
|
+
};
|
|
1004
|
+
const { handleNextClick, handleBackClick, activeForm, shouldValidate, gotoFormByFormIndex, gotoFormByFormId, steps } = useFormComposer({
|
|
1005
|
+
problems,
|
|
1006
|
+
forms,
|
|
1007
|
+
onSubmit: isUnincorporatedPartnership ? onSubmitUnincorporatedPartnership : onSubmitTrust,
|
|
1008
|
+
triggerValidation: multiForm.triggerValidation
|
|
1009
|
+
});
|
|
1010
|
+
return /* @__PURE__ */ jsx(FormContextProvider, {
|
|
1011
|
+
form: multiForm,
|
|
1012
|
+
children: /* @__PURE__ */ jsx(FormFlow, {
|
|
1013
|
+
summary: {
|
|
1014
|
+
data: useMemo(() => formatDataForSummary(multiForm.data, forms), [
|
|
1015
|
+
formatDataForSummary,
|
|
1016
|
+
multiForm.data,
|
|
1017
|
+
forms
|
|
1018
|
+
]),
|
|
1019
|
+
omitted: { keys: ["operationalAddressIsSame"] }
|
|
1020
|
+
},
|
|
1021
|
+
currentStep: steps.current,
|
|
1022
|
+
totalSteps: steps.total,
|
|
1023
|
+
forms,
|
|
1024
|
+
activeForm,
|
|
1025
|
+
gotoFormByFormIndex,
|
|
1026
|
+
gotoFormByFormId,
|
|
1027
|
+
handleNextClick,
|
|
1028
|
+
handleBackClick,
|
|
1029
|
+
handleCancelClick: handleHomeClick,
|
|
1030
|
+
loadingStatus,
|
|
1031
|
+
children: /* @__PURE__ */ jsx(Trust, {
|
|
1032
|
+
country,
|
|
1033
|
+
activeForm,
|
|
1034
|
+
taskType,
|
|
1035
|
+
shouldValidate,
|
|
1036
|
+
problems
|
|
1037
|
+
})
|
|
1038
|
+
})
|
|
1039
|
+
});
|
|
1040
|
+
}
|
|
1041
|
+
//#endregion
|
|
1042
|
+
//#region src/components/Trust/pages/TrustDetailsPage.tsx
|
|
1043
|
+
var TrustDetailsPage = ({ taskType, trustId, handleHomeClick, onSubmit }) => {
|
|
1044
|
+
const { i18n } = useTranslation();
|
|
1045
|
+
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
1046
|
+
const { data: associatedEntity, isLoading: isAssociatedEntityLoading } = useAssociatedLegalEntity(rootLe, taskType === "TRUST" ? LegalEntityTypes.TRUST : LegalEntityTypes.UNINCORPORATED_PARTNERSHIP);
|
|
1047
|
+
const { data: trustLeFromProp, isLoading: isTrustLeFromPropLoading } = useLegalEntity(trustId ?? skipToken);
|
|
1048
|
+
const trustLe = trustLeFromProp ?? associatedEntity;
|
|
1049
|
+
addResourceBundles(i18n, [{
|
|
1050
|
+
ns: "trust",
|
|
1051
|
+
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
1052
|
+
"../language/bg-BG.json": () => import("./bg-BG-qQc6pN4K.js"),
|
|
1053
|
+
"../language/cs-CZ.json": () => import("./cs-CZ-Jsmhr_B3.js"),
|
|
1054
|
+
"../language/da-DK.json": () => import("./da-DK-CXZXQspY.js"),
|
|
1055
|
+
"../language/de-DE.json": () => import("./de-DE-BRJ0jBty.js"),
|
|
1056
|
+
"../language/el-GR.json": () => import("./el-GR-BMGYrO4V.js"),
|
|
1057
|
+
"../language/en-US.json": () => import("./en-US-CWDI7JKT.js"),
|
|
1058
|
+
"../language/es-ES.json": () => import("./es-ES-pt4yy_U2.js"),
|
|
1059
|
+
"../language/es-LA.json": () => import("./es-LA-DU9jNyAv.js"),
|
|
1060
|
+
"../language/et-EE.json": () => import("./et-EE-dDMeDiTJ.js"),
|
|
1061
|
+
"../language/fi-FI.json": () => import("./fi-FI-iRb7nS7X.js"),
|
|
1062
|
+
"../language/fr-FR.json": () => import("./fr-FR-DUrcyeOg.js"),
|
|
1063
|
+
"../language/hr-HR.json": () => import("./hr-HR-LnDb18bf.js"),
|
|
1064
|
+
"../language/hu-HU.json": () => import("./hu-HU-Cc7wqn6A.js"),
|
|
1065
|
+
"../language/it-IT.json": () => import("./it-IT-BPA_Upt_.js"),
|
|
1066
|
+
"../language/ja-JP.json": () => import("./ja-JP-CYb1SAoz.js"),
|
|
1067
|
+
"../language/lt-LT.json": () => import("./lt-LT-B9Nm7OZQ.js"),
|
|
1068
|
+
"../language/lv-LV.json": () => import("./lv-LV-DkjsE74u.js"),
|
|
1069
|
+
"../language/nl-NL.json": () => import("./nl-NL-BtdPxlFm.js"),
|
|
1070
|
+
"../language/no-NO.json": () => import("./no-NO-BIhMgC99.js"),
|
|
1071
|
+
"../language/pl-PL.json": () => import("./pl-PL-BT6NmGgO.js"),
|
|
1072
|
+
"../language/pt-BR.json": () => import("./pt-BR-B0SUw4uu.js"),
|
|
1073
|
+
"../language/pt-PT.json": () => import("./pt-PT-KikTTc5A.js"),
|
|
1074
|
+
"../language/ro-RO.json": () => import("./ro-RO-DajmyI4j.js"),
|
|
1075
|
+
"../language/sk-SK.json": () => import("./sk-SK-DJWcs0qJ.js"),
|
|
1076
|
+
"../language/sl-SI.json": () => import("./sl-SI-C_QeUL6t.js"),
|
|
1077
|
+
"../language/sv-SE.json": () => import("./sv-SE-D3MOTV-T.js")
|
|
1078
|
+
}), `../language/${lang}.json`, 3)
|
|
1079
|
+
}]);
|
|
1080
|
+
const capabilities = useCapabilities();
|
|
1081
|
+
const capabilityNames = capabilities ? keysOf(capabilities) : [];
|
|
1082
|
+
const capabilityProblems = useCapabilityProblems();
|
|
1083
|
+
const problems = capabilityProblems && trustLe?.id ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, trustLe.id) : void 0;
|
|
1084
|
+
if (!rootLe || isAssociatedEntityLoading || isTrustLeFromPropLoading) return /* @__PURE__ */ jsx(Loader, {});
|
|
1085
|
+
return /* @__PURE__ */ jsx(TrustDropin, {
|
|
1086
|
+
taskType,
|
|
1087
|
+
problems,
|
|
1088
|
+
existingTrust: trustLe,
|
|
1089
|
+
parentLegalEntity: rootLe,
|
|
1090
|
+
capabilities: capabilityNames,
|
|
1091
|
+
country: getLegalEntityCountry(trustLe ?? rootLe),
|
|
1092
|
+
handleHomeClick,
|
|
1093
|
+
onSubmit
|
|
1094
|
+
});
|
|
1095
|
+
};
|
|
1096
|
+
//#endregion
|
|
1097
|
+
export { TrustDetailsPage };
|