@adyen/kyc-components 4.3.0 → 4.4.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-OMNQzzlt.js → AcceptTermsOfServiceComponent-BNYCiHcM.js} +15 -15
- package/dist/{AccountSetupRejected-BmELqasB.js → AccountSetupRejected-CjBJD3co.js} +2 -2
- package/dist/{ActionBar-CYYTQnyt.js → ActionBar-CNo6TTyu.js} +2 -2
- package/dist/{Address-BuvEwdEz.js → Address-Diyf6D1h.js} +17 -18
- package/dist/{Avatar-6Ijr-U98.js → Avatar-Brfu-Afq.js} +2 -2
- package/dist/{BusinessFinancingComponent-C_dvZWrV.js → BusinessFinancingComponent-CFjqKEuN.js} +6 -6
- package/dist/{BusinessFinancingDropin-CqBXTRew.js → BusinessFinancingDropin-CTIycsy1.js} +30 -30
- package/dist/BusinessFinancingPage-CgjmgSnX.js +43 -0
- package/dist/{BusinessTypeSelectionPage-0ykcbLXM.js → BusinessTypeSelectionPage-B06fk_Rg.js} +9 -9
- package/dist/{Checkbox-CEt2JNWg.js → Checkbox-DNfOluUb.js} +2 -2
- package/dist/{Confirm-tO8eG5lI.js → Confirm-DCXKUVXM.js} +3 -3
- package/dist/{ConstitutionalDocument-BNQrCuoP.js → ConstitutionalDocument-Coj5aMaC.js} +18 -18
- package/dist/{ContactDetails-wRdhpEXl.js → ContactDetails-tXeN2x-X.js} +6 -6
- package/dist/{ContextGuidance-D-wkN66k.js → ContextGuidance-BGYRTngC.js} +2 -2
- package/dist/{CountryField-BfpNTqr6.js → CountryField-pShtGZpv.js} +4 -4
- package/dist/CreateIndividualComponent-abEc0kLX.js +65 -0
- package/dist/{CreateTransferInstrumentComponent-C94kteP5.js → CreateTransferInstrumentComponent-Cg8q2lzu.js} +5 -5
- package/dist/{Currency-CIvge00Z.js → Currency-3KfPJJfd.js} +10 -10
- package/dist/{CustomerSupport-Cn0cURdF.js → CustomerSupport-dXIEfG6m.js} +10 -10
- package/dist/{DebugModal-CPJQfotk.js → DebugModal-xFsjUBKk.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-HY7FMT3F.js → DecisionMakerDetailsPage-BdZAgdo_.js} +8 -8
- package/dist/{DecisionMakers-C9Y6zR4s.js → DecisionMakers-efKmwEH6.js} +21 -22
- package/dist/{Dropzone-B87ivHUX.js → Dropzone-BtwqJU5w.js} +4 -4
- package/dist/{EmbeddedStatus-Qp66N9js.js → EmbeddedStatus-Di3lXGXA.js} +3 -3
- package/dist/{EndStateLayout-BcYjyuoi.js → EndStateLayout-C63kFcwB.js} +2 -2
- package/dist/{EntityAssociation-NEf45gFy.js → EntityAssociation-Cz6ly5Qe.js} +5 -5
- package/dist/{EntityGuidanceStatus-BSe0LbpA.js → EntityGuidanceStatus-BGC_I-s6.js} +4 -4
- package/dist/{ErrorPanel-0defccwj.js → ErrorPanel-Bsb874-e.js} +2 -2
- package/dist/{Field-CS5lBNi-.js → Field-nIoNNk_N.js} +2 -2
- package/dist/{FormNavigation-Ds6Zo4kr.js → FormNavigation-9E9YQaln.js} +3 -3
- package/dist/{FormWrapper-CM27JHcm.js → FormWrapper-HYumfmvK.js} +9 -9
- package/dist/{Individual.rules-BKCZ5pw4.js → Individual.rules-DJfPeca6.js} +10 -7
- package/dist/{IndividualDropin-BEfS_NNT.js → IndividualDropin-FCdKMguU.js} +180 -167
- package/dist/{InputDate-DbPcPUic.js → InputDate-BAWkxli9.js} +2 -2
- package/dist/{InputText-CQMxEarX.js → InputText-DCNTJXjB.js} +2 -2
- package/dist/{Introduction-_K-ioq4w.js → Introduction-zRpWy7HO.js} +4 -4
- package/dist/{JpAddress-8qsY8wnP.js → JpAddress-B8_YLYu7.js} +10 -11
- package/dist/{LandingLayout-Bx0c6vHb.js → LandingLayout-BkwhYMd1.js} +2 -2
- package/dist/{LegalCompanyNameField-BD6Te5c5.js → LegalCompanyNameField-Br-bRib5.js} +6 -6
- package/dist/LegalRepresentativeDetailsPage-DsfDlsBE.js +55 -0
- package/dist/{Link-deXxlSsM.js → Link-B5DpLekJ.js} +2 -2
- package/dist/{ListItem-Dtx0lKaK.js → ListItem-C9ET58aa.js} +3 -3
- package/dist/{LoaderWrapper-Dg9BXOfN.js → LoaderWrapper-BrMjOh8d.js} +2 -2
- package/dist/ManageIndividualComponent-DNe0RWZb.js +46 -0
- package/dist/{ManageTermsOfServiceComponent-rpvf07UO.js → ManageTermsOfServiceComponent-Dca8Fs-a.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-D_10bdI3.js → ManageTransferInstrumentComponent-EZgfMS-6.js} +12 -13
- package/dist/{MaskedInput-DX9qywO6.js → MaskedInput-BcdqJYu3.js} +5 -5
- package/dist/{MaybeModal-B6Y-CUwt.js → MaybeModal-BndZ-_x7.js} +3 -3
- package/dist/{Modal-CyGRv-gZ.js → Modal-DFCycX68.js} +2 -2
- package/dist/{Name-DB6DpTUy.js → Name-TIfffXgJ.js} +5 -5
- package/dist/{OnboardingDropinComponent-ByCzepLz.js → OnboardingDropinComponent-CvE6pJKz.js} +793 -107
- package/dist/{PayoutDetailsDropin-CHKMEoSE.js → PayoutDetailsDropin-fP0XOKYY.js} +64 -168
- package/dist/PayoutDetailsPage-Bg4jqe0M.js +55 -0
- package/dist/{RadioGroup-Bmyz_UGC.js → RadioGroup-sThBOoyi.js} +2 -2
- package/dist/{RadioGroupCard-DfDec_J3.js → RadioGroupCard-C6sxs8KI.js} +2 -2
- package/dist/{Review-BfeBbmqL.js → Review-EZfLF4rz.js} +6 -6
- package/dist/{RootBusinessDetailsPage-CtRd9HPs.js → RootBusinessDetailsPage-DpdikJPd.js} +5 -5
- package/dist/{RootBusinessLinesPage-Btnsj8r_.js → RootBusinessLinesPage-C-sZv7m1.js} +24 -27
- package/dist/RootIndividualDetailsPage-BY5WbcpR.js +61 -0
- package/dist/{Select-w8VBNvQR.js → Select-C90SXgWt.js} +4 -4
- package/dist/{SignPCIComponent-CA5Ao7_u.js → SignPCIComponent-BM4bM5lG.js} +11 -11
- package/dist/{SingpassSelection-DOUOHu-z.js → SingpassSelection-Bf4TJmNp.js} +6 -6
- package/dist/{SoleProprietorshipPage-4OFUvq_A.js → SoleProprietorshipPage-DuR8s39H.js} +4 -4
- package/dist/{SourceOfFundsPage-B2L2vYO7.js → SourceOfFundsPage-B-4L7Rbi.js} +36 -40
- package/dist/{StepProgressIndicator-BBjfKoHH.js → StepProgressIndicator-DwIkNQ98.js} +2 -2
- package/dist/{StoreProvider-DFR6yFy8.js → StoreProvider-OuIcrYXq.js} +222 -209
- package/dist/{StructuredList-Bh1vlAFE.js → StructuredList-CNha20ka.js} +1 -1
- package/dist/{Summary-SxfPLeM9.js → Summary-BdZCrtmA.js} +11 -9
- package/dist/{TaxInformationField-pIOj5IIN.js → TaxInformationField-CLotsTdy.js} +22 -22
- package/dist/{TaxReportingDropin-BzB8nYXE.js → TaxReportingDropin-CCjRFYko.js} +15 -15
- package/dist/{TextArea-I88bxkOh.js → TextArea-DggFRd6A.js} +2 -2
- package/dist/{TileGroup-PHV4JXvH.js → TileGroup-Chn8t1lL.js} +3 -3
- package/dist/{TrustDetailsPage-Dr6YIRGG.js → TrustDetailsPage-C61KvX6f.js} +33 -33
- package/dist/{TrustMemberCompanyPage-CfUxQni4.js → TrustMemberCompanyPage-CqiLrrtT.js} +6 -6
- package/dist/TrustMemberIndividualPage-DOOv3UCM.js +64 -0
- package/dist/{TrustMemberRoleAndTypePage-BdBKpEha.js → TrustMemberRoleAndTypePage-Cil5oL0H.js} +22 -23
- package/dist/{TrustMembersOverview-Ynu4zahR.js → TrustMembersOverview-5PfCpnLZ.js} +11 -11
- package/dist/UnincorporatedPartnershipIndividualPage-Imr8r98E.js +63 -0
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BFZ7GGpo.js → UnincorporatedPartnershipMemberCompanyPage-DVn8X5ZA.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-6C67QTtR.js → UnincorporatedPartnershipMemberRoleAndTypePage-D1ZiUnfd.js} +15 -15
- package/dist/{UnincorporatedPartnershipMembersOverview-BkAc4tTI.js → UnincorporatedPartnershipMembersOverview-B3hUsoDk.js} +8 -8
- package/dist/{VerificationErrorAlert-CyE2-4NI.js → VerificationErrorAlert-C-FdjLP6.js} +23 -3
- package/dist/{ViewVerificationStatusComponent-0IyRvr_W.js → ViewVerificationStatusComponent-BrH14DRo.js} +3 -3
- package/dist/adyen-business-financing.js +3 -3
- package/dist/adyen-individual-configuration.js +3 -3
- package/dist/adyen-individual-status.js +3 -3
- package/dist/adyen-invited-decision-maker.js +8 -8
- package/dist/adyen-kyc-components.js +15 -16
- package/dist/adyen-onboarding.js +3 -3
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +3 -3
- package/dist/adyen-transfer-instrument-configuration.js +3 -3
- package/dist/adyen-transfer-instrument-management.js +3 -3
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{bafinUtils-BABg2zgB.js → bafinUtils-IYWLuHfZ.js} +14 -2
- package/dist/bg-BG-CRbKoTLs.js +13 -0
- package/dist/{bg-BG-C6kad3Qr.js → bg-BG-Cj3_UGTi.js} +10 -1
- package/dist/{bg-BG-er0t4jTs.js → bg-BG-Cz7Cuw8v.js} +3 -1
- package/dist/bg-BG-DqRXdvRT.js +13 -0
- package/dist/{commonValidators-BcyFMdFA.js → commonValidators-Bv3KYb4e.js} +2 -2
- package/dist/{cs-CZ-CQNBae2b.js → cs-CZ-BlrV3tkx.js} +3 -1
- package/dist/cs-CZ-CmPmY5GZ.js +13 -0
- package/dist/cs-CZ-DR5Pfj3g.js +13 -0
- package/dist/{cs-CZ-C_GFp3nV.js → cs-CZ-DxfB5dcV.js} +10 -1
- package/dist/{da-DK-C60mLiV1.js → da-DK-BfsYpvel.js} +10 -1
- package/dist/da-DK-CG2NcTvu.js +13 -0
- package/dist/{da-DK-gnPgzwrG.js → da-DK-CM1onr3w.js} +3 -1
- package/dist/{da-DK-Cd5IQPv3.js → da-DK-CMVthpSr.js} +2 -2
- package/dist/da-DK-DaINWU5x.js +13 -0
- package/dist/{de-DE-C9NH2zMh.js → de-DE-B5TOuf7l.js} +2 -2
- package/dist/{de-DE-D3lLuF8z.js → de-DE-CA4mYLwp.js} +3 -1
- package/dist/{de-DE-Cvz1TGdB.js → de-DE-CEsDXBn-.js} +10 -1
- package/dist/de-DE-KqZs1FFF.js +13 -0
- package/dist/de-DE-NMS4xBab.js +13 -0
- package/dist/{dropinUtils-Ds8fesIK.js → dropinUtils-BIMKuwjT.js} +4 -4
- package/dist/{el-GR-DTHQslLc.js → el-GR-BNNlN4l2.js} +2 -2
- package/dist/el-GR-Bn45KMp-.js +13 -0
- package/dist/{el-GR-DSlgFwLb.js → el-GR-CM3bIzr7.js} +10 -1
- package/dist/{el-GR-XRux2Wpv.js → el-GR-D6XimdV5.js} +3 -1
- package/dist/el-GR-DWM1mhuZ.js +13 -0
- package/dist/{en-US-h0JneJJl.js → en-US--1W760fR.js} +2 -2
- package/dist/en-US-CEnwRsyr.js +13 -0
- package/dist/{en-US-B96dpVon.js → en-US-fDACdKtT.js} +3 -1
- package/dist/{en-US.instructions-Ddr7AO05.js → en-US.instructions-CfIM2SRF.js} +1 -2
- package/dist/{es-ES-CXDJLKAI.js → es-ES-BBcx4tvi.js} +3 -1
- package/dist/{es-ES-Dj5-YMmZ.js → es-ES-BWFP5itn.js} +10 -1
- package/dist/es-ES-BWe46jej.js +13 -0
- package/dist/es-ES-DzGJ9DrB.js +13 -0
- package/dist/{es-ES-DK-7qtDf.js → es-ES-Wcpc6fm1.js} +2 -2
- package/dist/{et-EE--cL_YqWe.js → et-EE-B_Wk8564.js} +3 -1
- package/dist/{et-EE-Bij5j-z5.js → et-EE-CcXrAAc7.js} +10 -1
- package/dist/et-EE-CylmXBkF.js +13 -0
- package/dist/et-EE-JKt5dMOQ.js +13 -0
- package/dist/{fi-FI-fArobrt5.js → fi-FI-BKu826v5.js} +3 -1
- package/dist/{fi-FI-B2xHiSHi.js → fi-FI-DenK0WPz.js} +10 -1
- package/dist/fi-FI-larJ5zXy.js +13 -0
- package/dist/fi-FI-n9XAQuIy.js +13 -0
- package/dist/{formUtils-Ctj-XQBQ.js → formUtils-BFUZHoQZ.js} +3 -3
- package/dist/{fr-FR-CNQtWSXx.js → fr-FR-BmTswZU5.js} +10 -1
- package/dist/{fr-FR-CiwkAb3E.js → fr-FR-C7iSS-OS.js} +3 -1
- package/dist/fr-FR-DVqpakkq.js +13 -0
- package/dist/{fr-FR-B2je0smB.js → fr-FR-DodNoPid.js} +2 -2
- package/dist/fr-FR-iD1onxpA.js +13 -0
- package/dist/{getName-VMVSrxGw.js → getName-B38W_qUJ.js} +2 -2
- package/dist/{getProblemsForEntity-B2aPSiz5.js → getProblemsForEntity-1vXQVg7Q.js} +2 -2
- package/dist/hr-HR-C-Hn5lAD.js +13 -0
- package/dist/hr-HR-CAqaI1xJ.js +13 -0
- package/dist/{hr-HR-B6U5Rzzw.js → hr-HR-SDrDZRLV.js} +10 -1
- package/dist/{hr-HR-DtfHQVe0.js → hr-HR-g88yM2q1.js} +3 -1
- package/dist/{hu-HU-I4-KFzvz.js → hu-HU-ByRdd0O_.js} +3 -1
- package/dist/{hu-HU-DU-5ujQK.js → hu-HU-C3ZiFh1F.js} +2 -2
- package/dist/hu-HU-CRpdELm_.js +13 -0
- package/dist/{hu-HU-BLLoj5CX.js → hu-HU-DSVf2zbX.js} +10 -1
- package/dist/hu-HU-DynB7VhD.js +13 -0
- package/dist/{iframeWidget-CJ4GOEBG.js → iframeWidget-CjQFGMKX.js} +4 -4
- package/dist/{isEmpty-BNrK3WJw.js → isEmpty-CsJihz8_.js} +2 -2
- package/dist/{it-IT-DIbH-udG.js → it-IT-CUrn0j1I.js} +3 -1
- package/dist/{it-IT-Dhwa9Ecj.js → it-IT-CZ4aDoVQ.js} +2 -2
- package/dist/{it-IT-Cr20JO4o.js → it-IT-DJe5OflH.js} +10 -1
- package/dist/it-IT-DkiyBNl6.js +13 -0
- package/dist/it-IT-M7AqGzBo.js +13 -0
- package/dist/ja-JP-B0Ox3Ixh.js +13 -0
- package/dist/ja-JP-BcGZdMJa.js +13 -0
- package/dist/{ja-JP-BZb5ndp9.js → ja-JP-BpeNsNhn.js} +2 -2
- package/dist/{ja-JP-CaUe8KW7.js → ja-JP-CbP1sVFP.js} +3 -1
- package/dist/{ja-JP-BeeuQ_LL.js → ja-JP-GGV_-V6p.js} +10 -1
- package/dist/{japanSupportUtils-B1kmKF7K.js → japanSupportUtils-Cr3OSFeT.js} +2 -2
- package/dist/{localizeDateString-DUFhW5fN.js → localizeDateString-aLVQhrrE.js} +2 -2
- package/dist/{lt-LT-0WbfHH_o.js → lt-LT-C9nsCODy.js} +10 -1
- package/dist/{lt-LT-BLsIcCtE.js → lt-LT-CNTNKNlX.js} +3 -1
- package/dist/lt-LT-DWs-lYAv.js +13 -0
- package/dist/lt-LT-SQmafLDX.js +13 -0
- package/dist/lv-LV-B5Os0zqy.js +13 -0
- package/dist/{lv-LV-BZN4-Xat.js → lv-LV-BdPdaVGy.js} +2 -2
- package/dist/{lv-LV-BuuUUumH.js → lv-LV-Bue450PR.js} +10 -1
- package/dist/lv-LV-CdCU8ZaR.js +13 -0
- package/dist/{lv-LV-C7hMdPcY.js → lv-LV-N81Dgdm3.js} +3 -1
- package/dist/{mapExistingFile-BU4Lq435.js → mapExistingFile-CqGVkBAW.js} +4 -4
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BLzSTlhK.js → mapJpAddressSchemaToAddressLocalizations-BDUUUodD.js} +2 -2
- package/dist/{mapLegalEntityToIndividualSchema-DHieAjhC.js → mapLegalEntityToIndividualSchema-CTNNZ_f2.js} +7 -7
- package/dist/{mapTransferInstrumentToPayoutAccount-CBruJcGL.js → mapTransferInstrumentToPayoutAccount-DC5rCBeC.js} +2 -2
- package/dist/{nl-NL-KsfqCp2v.js → nl-NL-4Mv4rnYy.js} +10 -1
- package/dist/{nl-NL-B0fvINJj.js → nl-NL-B2Uku0lw.js} +2 -2
- package/dist/nl-NL-BVRcJEzp.js +13 -0
- package/dist/nl-NL-D7k3hkBl.js +13 -0
- package/dist/{nl-NL-NlkjOSYi.js → nl-NL-Lo8OF_nj.js} +3 -1
- package/dist/{no-NO-Crlsj6HG.js → no-NO-6chPsZZE.js} +3 -1
- package/dist/{no-NO-BdG6WnpB.js → no-NO-ByCZ3mhz.js} +10 -1
- package/dist/no-NO-DOOgOJr1.js +13 -0
- package/dist/{no-NO-Jw7Gae-a.js → no-NO-DjOcJWnC.js} +2 -2
- package/dist/no-NO-DlnsfTwn.js +13 -0
- package/dist/{patternValidators-hk7OKIOW.js → patternValidators-re9oGFvp.js} +2 -2
- package/dist/pl-PL-B-V8iF6C.js +13 -0
- package/dist/pl-PL-Bvnak7w3.js +13 -0
- package/dist/{pl-PL-DYxD6VJ_.js → pl-PL-CbJSQVfe.js} +3 -1
- package/dist/{pl-PL-DW9eaUml.js → pl-PL-DCi5Lf4k.js} +10 -1
- package/dist/{process-field-configurations-CSUAI1_s.js → process-field-configurations-BLwIIYnH.js} +3 -3
- package/dist/{pt-BR-BaTE6BB_.js → pt-BR-BKdT0Bpl.js} +2 -2
- package/dist/pt-BR-BZkPZ0kK.js +13 -0
- package/dist/pt-BR-Bq41lr7C.js +13 -0
- package/dist/{pt-BR-BfxgHKY4.js → pt-BR-DRBFUW-X.js} +3 -1
- package/dist/{pt-BR-BdfWE-a1.js → pt-BR-DRz5cG4o.js} +10 -1
- package/dist/{pt-PT-TKg5FLat.js → pt-PT-BMOUpVLE.js} +3 -1
- package/dist/{pt-PT-c0ap84_F.js → pt-PT-C2li07N1.js} +2 -2
- package/dist/{pt-PT-ej54BPbB.js → pt-PT-ChRbnn0k.js} +10 -1
- package/dist/pt-PT-D-EPzKV-.js +13 -0
- package/dist/pt-PT-DkfqmPrD.js +13 -0
- package/dist/{resolveEnvironment-Dz4WVUeH.js → resolveEnvironment-CfoOtzJq.js} +3 -3
- package/dist/ro-RO-BEVRugNx.js +13 -0
- package/dist/{ro-RO-3rOfS17N.js → ro-RO-BJoL_nyS.js} +3 -1
- package/dist/{ro-RO-1ZFmLikG.js → ro-RO-Dgie5z3m.js} +10 -1
- package/dist/ro-RO-Dt2gs44k.js +13 -0
- package/dist/{ro-RO-BPOHV6Wp.js → ro-RO-iPjOeKwM.js} +2 -2
- package/dist/{roleMetadata-CCCowA5b.js → roleMetadata-DYV3rdBn.js} +3 -3
- package/dist/sk-SK-B6LcEArz.js +13 -0
- package/dist/sk-SK-Bh7WfMNd.js +13 -0
- package/dist/{sk-SK-CjrLvDMx.js → sk-SK-DxdxUonp.js} +3 -1
- package/dist/{sk-SK-Dm-pif_7.js → sk-SK-bMDoNP19.js} +10 -1
- package/dist/sl-SI-CxGdSydw.js +13 -0
- package/dist/{sl-SI-HO7231cu.js → sl-SI-DKSu25rO.js} +10 -1
- package/dist/sl-SI-DNbu8KiE.js +13 -0
- package/dist/{sl-SI-C-C-KJCX.js → sl-SI-UFngWs5n.js} +3 -1
- package/dist/style.css +80 -79
- package/dist/styles-CLV89_hH.js +80 -79
- package/dist/{sv-SE-D_Efxy3s.js → sv-SE-Blw4s8bC.js} +2 -2
- package/dist/sv-SE-CgB54Aa4.js +13 -0
- package/dist/{sv-SE-BcJ8p_Tx.js → sv-SE-Co7Nkd06.js} +10 -1
- package/dist/{sv-SE-BHfydid5.js → sv-SE-Cr0s35EH.js} +3 -1
- package/dist/sv-SE-DgMcRRS8.js +13 -0
- package/dist/{isNewEntity-7Vw_eQBr.js → trusted-fields-provider-BgfIoSNJ.js} +6 -3
- package/dist/types/api/invitedEntity/useInvitedEntityAssociationData.d.ts +7 -5
- package/dist/types/api/queryKeys.d.ts +2 -1
- package/dist/types/api/toggles/useToggles.d.ts +9 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -0
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +0 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +6 -6
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +153 -153
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/validate.d.ts +3 -3
- package/dist/types/components/Individual/forms/DataConflictsModal/ConflictRow.d.ts +2 -2
- package/dist/types/components/Individual/forms/DataConflictsModal/DataConflictsModal.d.ts +6 -6
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +2 -2
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/validate.d.ts +4 -4
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +2 -2
- package/dist/types/components/ui/atoms/Icon/Icon.d.ts +1 -1
- package/dist/types/components/ui/atoms/Svg/Svg.d.ts +1 -4
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +0 -4
- package/dist/types/context/ExperimentContext/ExperimentsContextProvider.d.ts +1 -1
- package/dist/types/context/ExperimentContext/types.d.ts +4 -5
- package/dist/types/language/utils.d.ts +1 -1
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/{types-BxMBuuEz.js → types-C-ztKw54.js} +2 -2
- package/dist/{types-D1PsvtzF.js → types-DP1DvIeR.js} +5 -6
- package/dist/{types-CYkhUYV6.js → types-g6JPEyyN.js} +2 -2
- package/dist/{types-DU69aeMN.js → types-uVH7U0h2.js} +2 -2
- package/dist/{Image-kVLn7Cb2.js → unincorporated-partnership-Hoe7PA91.js} +8 -7
- package/dist/{useAssociatedLegalEntity-BORPRBzY.js → useAssociatedLegalEntity-ucvdLTGT.js} +2 -2
- package/dist/{useBusinessDetailsData-SFopK4ma.js → useBusinessDetailsData-CxXKyGeU.js} +68 -57
- package/dist/{useCreateLegalEntity-DC4AmtL1.js → useCreateLegalEntity-Bk61sk7s.js} +2 -2
- package/dist/{useForm-B64f0N0r.js → useForm-DQH4mGUZ.js} +3 -3
- package/dist/{useFormContext-B08W9NV0.js → useFormContext-ZCKflTK_.js} +7 -7
- package/dist/{useGlobalData-CAfs9dkH.js → useGlobalData-Byz86Dwm.js} +2 -2
- package/dist/{useMultiForm-BwoKhXUz.js → useMultiForm-h2cXm0Wp.js} +4 -4
- package/dist/{useOnboardingStatus-DgaMwRGt.js → useOnboardingStatus-CrRySsUj.js} +1 -1
- package/dist/{useScenarios-DfdvyKrI.js → useScenarios-DZTIxRUa.js} +2 -2
- package/dist/{useTermsOfServiceStatus-BlBedFIs.js → useTermsOfServiceStatus-D7U4ZvId.js} +1 -1
- package/dist/{useToastContext-D7Wu9TN_.js → useToastContext-B6kjomhG.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-CRs95EuP.js → useUnincorporatedPartnershipMembers-DFI414tD.js} +5 -5
- package/dist/{useUpdateBusinessLines-B6YZCqOX.js → useUpdateBusinessLines-DwvzXYBi.js} +4 -4
- package/dist/{useUpdateLegalEntity-B1R9qggb.js → useUpdateLegalEntity-C6sJWLoQ.js} +3 -3
- package/dist/{utils-CPRZoX7V.js → utils-B4lHukc_.js} +6 -6
- package/dist/{utils-Drnia92l.js → utils-B_vtlCcH.js} +5 -19
- package/dist/{utils-DTUxA3nO.js → utils-Dc5iJioT.js} +2 -2
- package/dist/{utils-BUyOscpp.js → utils-DppirtL5.js} +2 -2
- package/dist/{utils-CnulHkMn.js → utils-b2XySOaT.js} +2 -2
- package/dist/{validate-DlUk1wzH.js → validate-Bb8eQLcr.js} +2 -2
- package/dist/{validate-DLxn3LIK.js → validate-QeOupYto.js} +3 -3
- package/dist/{validationError-CcsgWg6J.js → validationError-YeKQde9b.js} +2 -2
- package/package.json +6 -6
- package/dist/BusinessFinancingPage-CJXuD19C.js +0 -43
- package/dist/CreateIndividualComponent-BXI_yAXJ.js +0 -65
- package/dist/LegalRepresentativeDetailsPage-C3QWHa7T.js +0 -55
- package/dist/ManageIndividualComponent-DvmShxf5.js +0 -46
- package/dist/RootIndividualDetailsPage-8nUlp7YZ.js +0 -62
- package/dist/TrustMemberIndividualPage-DG9KUe02.js +0 -64
- package/dist/UnincorporatedPartnershipIndividualPage-DKMj8Dwh.js +0 -63
- package/dist/accountHolderUtils-yQ8liitv.js +0 -66
- package/dist/bg-BG-BNRJzjXu.js +0 -13
- package/dist/bg-BG-DAqp35Dx.js +0 -13
- package/dist/company-types-value-D_mKv5PT.js +0 -23
- package/dist/cs-CZ-BMnoWiIi.js +0 -13
- package/dist/cs-CZ-Ke47w0bj.js +0 -13
- package/dist/da-DK-Cx4-hLO1.js +0 -13
- package/dist/da-DK-D17SWJin.js +0 -13
- package/dist/de-DE-CL8D8vKZ.js +0 -13
- package/dist/de-DE-DC90bn2y.js +0 -13
- package/dist/el-GR-B2xt_Hn1.js +0 -13
- package/dist/el-GR-Dvv3-Qib.js +0 -13
- package/dist/en-US-CfIkXJPX.js +0 -13
- package/dist/es-ES-CzG-lilL.js +0 -13
- package/dist/es-ES-Vn4AcK9-.js +0 -13
- package/dist/et-EE-B7OzU-54.js +0 -13
- package/dist/et-EE-BeZJ4Ub1.js +0 -13
- package/dist/fi-FI-CWIaV6Iz.js +0 -13
- package/dist/fi-FI-DooPgPb1.js +0 -13
- package/dist/filterProblemsByTaskForms-Cz7iQtms.js +0 -30
- package/dist/fr-FR-29mQrnro.js +0 -13
- package/dist/fr-FR-CCb4Oux7.js +0 -13
- package/dist/getTrustedFields-C5-mXl-l.js +0 -64
- package/dist/hr-HR-BAI0N9bo.js +0 -13
- package/dist/hr-HR-BFu1_Xrc.js +0 -13
- package/dist/hu-HU-BpNDP1I8.js +0 -13
- package/dist/hu-HU-nf030gFT.js +0 -13
- package/dist/it-IT-BRO0Hf5X.js +0 -13
- package/dist/it-IT-CToDWXlu.js +0 -13
- package/dist/ja-JP-B3Y0VVpN.js +0 -152
- package/dist/ja-JP-BkAEknQ-.js +0 -13
- package/dist/lt-LT-DpszrZ9m.js +0 -13
- package/dist/lt-LT-DxzEdyVV.js +0 -13
- package/dist/lv-LV-B3IqVQos.js +0 -13
- package/dist/lv-LV-D-j-4Dao.js +0 -13
- package/dist/nl-NL-C8CEGqAc.js +0 -13
- package/dist/nl-NL-CnvvqAEg.js +0 -13
- package/dist/no-NO-CIKbQbKT.js +0 -13
- package/dist/no-NO-DbVtqyON.js +0 -13
- package/dist/pl-PL-Bxtudsvi.js +0 -13
- package/dist/pl-PL-CTOkaDMG.js +0 -13
- package/dist/pt-BR-CL4JYBNe.js +0 -13
- package/dist/pt-BR-CLUsrQAl.js +0 -13
- package/dist/pt-PT-BLRgiqFj.js +0 -13
- package/dist/pt-PT-C-OZtnUM.js +0 -13
- package/dist/ro-RO-BeA_YyJ8.js +0 -13
- package/dist/ro-RO-Dq1NTg-A.js +0 -13
- package/dist/sk-SK-CMvUjDgW.js +0 -13
- package/dist/sk-SK-Og9MJXpR.js +0 -13
- package/dist/sl-SI-BslBqaxO.js +0 -13
- package/dist/sl-SI-CoI7iOco.js +0 -13
- package/dist/sv-SE-ChoPzG_G.js +0 -13
- package/dist/sv-SE-Dm_WHV9V.js +0 -13
- package/dist/unincorporated-partnership-D8XzcFAz.js +0 -17
- package/dist/useBusinessLines-ewWROXYV.js +0 -29
- package/dist/useCanSeeIntroduction-BbjNCK9Z.js +0 -48
- package/dist/useDataMissingRemediations-CjxCe3yc.js +0 -41
- package/dist/useDeleteTransferInstrument-HN2BLhyP.js +0 -32
- package/dist/useNavigate-BXyVMJUH.js +0 -265
- package/dist/usePciQuestionnaireList--rMXF8VL.js +0 -29
- package/dist/useSalesChannels-CGESLvW6.js +0 -65
- package/dist/useTaskStatus-CBWvTwlZ.js +0 -51
- package/dist/useTrustMembers-GEABHhkr.js +0 -163
|
@@ -1,265 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7bc1c5be-955b-44b3-8035-9b4df4b8404b", e._sentryDebugIdIdentifier = "sentry-dbid-7bc1c5be-955b-44b3-8035-9b4df4b8404b");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { matchRoute, useLocation } from "wouter-preact";
|
|
11
|
-
import { lazy } from "preact/compat";
|
|
12
|
-
import { h as TaskTypes } from "./StoreProvider-DFR6yFy8.js";
|
|
13
|
-
const Introduction = lazy(
|
|
14
|
-
async () => (await import("./Introduction-_K-ioq4w.js")).Introduction
|
|
15
|
-
);
|
|
16
|
-
const BusinessTypeSelectionPage = lazy(
|
|
17
|
-
async () => (await import("./BusinessTypeSelectionPage-0ykcbLXM.js")).BusinessTypeSelectionPage
|
|
18
|
-
);
|
|
19
|
-
const SingpassSelection = lazy(
|
|
20
|
-
async () => (await import("./SingpassSelection-DOUOHu-z.js")).SingpassSelection
|
|
21
|
-
);
|
|
22
|
-
const AccountSetupRejected = lazy(
|
|
23
|
-
async () => (await import("./AccountSetupRejected-BmELqasB.js")).AccountSetupRejected
|
|
24
|
-
);
|
|
25
|
-
const DecisionMakers = lazy(
|
|
26
|
-
async () => (await import("./DecisionMakers-C9Y6zR4s.js")).DecisionMakers
|
|
27
|
-
);
|
|
28
|
-
const CustomerSupport = lazy(
|
|
29
|
-
async () => (await import("./CustomerSupport-Cn0cURdF.js")).CustomerSupport
|
|
30
|
-
);
|
|
31
|
-
const Review = lazy(async () => (await import("./Review-BfeBbmqL.js")).Review);
|
|
32
|
-
const SignPCIComponent = lazy(
|
|
33
|
-
async () => (await import("./SignPCIComponent-CA5Ao7_u.js")).SignPCIComponent
|
|
34
|
-
);
|
|
35
|
-
const AcceptTermsOfService = lazy(
|
|
36
|
-
async () => (await import("./AcceptTermsOfServiceComponent-OMNQzzlt.js")).AcceptTermsOfServiceComponent
|
|
37
|
-
);
|
|
38
|
-
const TaxReportingDropin = lazy(
|
|
39
|
-
async () => (await import("./TaxReportingDropin-BzB8nYXE.js")).TaxReportingDropin
|
|
40
|
-
);
|
|
41
|
-
const PayoutDetailsPage = lazy(
|
|
42
|
-
async () => (await import("./PayoutDetailsDropin-CHKMEoSE.js").then((n) => n.a)).PayoutDetailsPage
|
|
43
|
-
);
|
|
44
|
-
const RootBusinessDetailsPage = lazy(
|
|
45
|
-
async () => (await import("./RootBusinessDetailsPage-CtRd9HPs.js")).RootBusinessDetailsPage
|
|
46
|
-
);
|
|
47
|
-
const RootBusinessLinesPage = lazy(
|
|
48
|
-
async () => (await import("./RootBusinessLinesPage-Btnsj8r_.js")).RootBusinessLinesPage
|
|
49
|
-
);
|
|
50
|
-
const SoleProprietorshipPage = lazy(
|
|
51
|
-
async () => (await import("./SoleProprietorshipPage-4OFUvq_A.js")).SoleProprietorshipPage
|
|
52
|
-
);
|
|
53
|
-
const TrustMemberCompanyPage = lazy(
|
|
54
|
-
async () => (await import("./TrustMemberCompanyPage-CfUxQni4.js")).TrustMemberCompanyPage
|
|
55
|
-
);
|
|
56
|
-
const TrustMemberIndividualPage = lazy(
|
|
57
|
-
async () => (await import("./TrustMemberIndividualPage-DG9KUe02.js")).TrustMemberIndividualPage
|
|
58
|
-
);
|
|
59
|
-
const TrustMemberRoleAndTypePage = lazy(
|
|
60
|
-
async () => (await import("./TrustMemberRoleAndTypePage-BdBKpEha.js")).TrustMemberRoleAndTypePage
|
|
61
|
-
);
|
|
62
|
-
const TrustMembersOverview = lazy(
|
|
63
|
-
async () => (await import("./TrustMembersOverview-Ynu4zahR.js")).TrustMembersOverview
|
|
64
|
-
);
|
|
65
|
-
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
66
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-BFZ7GGpo.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
67
|
-
);
|
|
68
|
-
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
69
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-DKMj8Dwh.js")).UnincorporatedPartnershipIndividualPage
|
|
70
|
-
);
|
|
71
|
-
const UnincorporatedPartnershipMemberRoleAndTypePage = lazy(
|
|
72
|
-
async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-6C67QTtR.js")).UnincorporatedPartnershipMemberRoleAndTypePage
|
|
73
|
-
);
|
|
74
|
-
const UnincorporatedPartnershipMembersOverview = lazy(
|
|
75
|
-
async () => (await import("./UnincorporatedPartnershipMembersOverview-BkAc4tTI.js")).UnincorporatedPartnershipMembersOverview
|
|
76
|
-
);
|
|
77
|
-
const BusinessFinancingPage = lazy(
|
|
78
|
-
async () => (await import("./BusinessFinancingPage-CJXuD19C.js")).BusinessFinancingPage
|
|
79
|
-
);
|
|
80
|
-
const TrustDetailsPage = lazy(
|
|
81
|
-
async () => (await import("./TrustDetailsPage-Dr6YIRGG.js")).TrustDetailsPage
|
|
82
|
-
);
|
|
83
|
-
const SourceOfFundsPage = lazy(
|
|
84
|
-
async () => (await import("./SourceOfFundsPage-B2L2vYO7.js")).SourceOfFundsPage
|
|
85
|
-
);
|
|
86
|
-
const RootIndividualDetailsPage = lazy(
|
|
87
|
-
async () => (await import("./RootIndividualDetailsPage-8nUlp7YZ.js")).RootIndividualDetailsPage
|
|
88
|
-
);
|
|
89
|
-
const LegalRepresentativeDetailsPage = lazy(
|
|
90
|
-
async () => (await import("./LegalRepresentativeDetailsPage-C3QWHa7T.js")).LegalRepresentativeDetailsPage
|
|
91
|
-
);
|
|
92
|
-
const DecisionMakerDetailsPage = lazy(
|
|
93
|
-
async () => (await import("./DecisionMakerDetailsPage-HY7FMT3F.js")).DecisionMakerDetailsPage
|
|
94
|
-
);
|
|
95
|
-
const ROUTE_CONFIG = {
|
|
96
|
-
[TaskTypes.TASKS_OVERVIEW]: { path: "/tasks" },
|
|
97
|
-
[TaskTypes.INTRODUCTION]: { path: "/introduction", Component: Introduction },
|
|
98
|
-
[TaskTypes.BUSINESS_TYPE_SELECTION]: {
|
|
99
|
-
path: "/business-type-selection",
|
|
100
|
-
Component: BusinessTypeSelectionPage
|
|
101
|
-
},
|
|
102
|
-
[TaskTypes.SINGPASS_SELECTION]: { path: "/singpass-selection", Component: SingpassSelection },
|
|
103
|
-
[TaskTypes.INDIVIDUAL]: { path: "/individual", Component: RootIndividualDetailsPage },
|
|
104
|
-
[TaskTypes.BUSINESS_DETAILS]: { path: "/business", Component: RootBusinessDetailsPage },
|
|
105
|
-
[TaskTypes.ACQUIRING_BUSINESS_LINE]: {
|
|
106
|
-
path: "/business-lines",
|
|
107
|
-
Component: RootBusinessLinesPage
|
|
108
|
-
},
|
|
109
|
-
[TaskTypes.DECISION_MAKER_OVERVIEW]: { path: "/decision-makers", Component: DecisionMakers },
|
|
110
|
-
[TaskTypes.DECISION_MAKER]: {
|
|
111
|
-
path: "/decision-maker/:parentId/:decisionMakerId?",
|
|
112
|
-
Component: DecisionMakerDetailsPage
|
|
113
|
-
},
|
|
114
|
-
[TaskTypes.PAYOUT]: { path: "/payout/:transferInstrumentId?", Component: PayoutDetailsPage },
|
|
115
|
-
[TaskTypes.PAYIN]: { path: "/payin/:transferInstrumentId?", Component: PayoutDetailsPage },
|
|
116
|
-
[TaskTypes.SERVICE_AGREEMENT]: { path: "/service-agreement", Component: AcceptTermsOfService },
|
|
117
|
-
[TaskTypes.PCI_DSS]: { path: "/pci-dss", Component: SignPCIComponent },
|
|
118
|
-
[TaskTypes.REVIEW]: { path: "/review", Component: Review },
|
|
119
|
-
[TaskTypes.CUSTOMER_SUPPORT]: { path: "/customer-support", Component: CustomerSupport },
|
|
120
|
-
[TaskTypes.CAPABILITY_REJECTED]: {
|
|
121
|
-
path: "/capability-rejected",
|
|
122
|
-
Component: AccountSetupRejected
|
|
123
|
-
},
|
|
124
|
-
[TaskTypes.LEGAL_REPRESENTATIVE_DETAILS]: {
|
|
125
|
-
path: "/legal-representative",
|
|
126
|
-
Component: LegalRepresentativeDetailsPage
|
|
127
|
-
},
|
|
128
|
-
[TaskTypes.SOURCE_OF_FUNDS]: { path: "/source-of-funds", Component: SourceOfFundsPage },
|
|
129
|
-
[TaskTypes.BUSINESS_FINANCING]: { path: "/business-financing", Component: BusinessFinancingPage },
|
|
130
|
-
[TaskTypes.TAX_REPORTING]: { path: "/tax-reporting", Component: TaxReportingDropin },
|
|
131
|
-
[TaskTypes.SOLE_PROPRIETOR_COMPANY]: {
|
|
132
|
-
path: "/sole-proprietor",
|
|
133
|
-
Component: SoleProprietorshipPage
|
|
134
|
-
},
|
|
135
|
-
[TaskTypes.TRUST]: { path: "/trust", Component: TrustDetailsPage },
|
|
136
|
-
[TaskTypes.TRUST_MEMBER]: { path: "/trust/member" },
|
|
137
|
-
[TaskTypes.TRUST_MEMBER_OVERVIEW]: { path: "/trust/members", Component: TrustMembersOverview },
|
|
138
|
-
[TaskTypes.TRUST_MEMBER_ROLE_AND_TYPE]: {
|
|
139
|
-
path: "/trust/member/role-and-type/:memberId?",
|
|
140
|
-
Component: TrustMemberRoleAndTypePage
|
|
141
|
-
},
|
|
142
|
-
[TaskTypes.TRUST_MEMBER_INDIVIDUAL]: {
|
|
143
|
-
path: "/trust/member/:memberId/individual",
|
|
144
|
-
Component: TrustMemberIndividualPage
|
|
145
|
-
},
|
|
146
|
-
[TaskTypes.TRUST_MEMBER_COMPANY]: {
|
|
147
|
-
path: "/trust/member/:memberId/company",
|
|
148
|
-
Component: TrustMemberCompanyPage
|
|
149
|
-
},
|
|
150
|
-
[TaskTypes.TRUST_MEMBER_COMPANY_OWNER]: {
|
|
151
|
-
path: "/trust/member/:memberId/company-owner/:parentId/:decisionMakerId?",
|
|
152
|
-
Component: DecisionMakerDetailsPage
|
|
153
|
-
},
|
|
154
|
-
[TaskTypes.UNINCORPORATED_PARTNERSHIP]: {
|
|
155
|
-
path: "/partnership",
|
|
156
|
-
Component: TrustDetailsPage
|
|
157
|
-
},
|
|
158
|
-
[TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_OVERVIEW]: {
|
|
159
|
-
path: "/partnership/members",
|
|
160
|
-
Component: UnincorporatedPartnershipMembersOverview
|
|
161
|
-
},
|
|
162
|
-
[TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_ROLE_AND_TYPE]: {
|
|
163
|
-
path: "/partnership/member/role-and-type/:memberId?",
|
|
164
|
-
Component: UnincorporatedPartnershipMemberRoleAndTypePage
|
|
165
|
-
},
|
|
166
|
-
[TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_INDIVIDUAL]: {
|
|
167
|
-
path: "/partnership/member/:memberId/individual",
|
|
168
|
-
Component: UnincorporatedPartnershipIndividualPage
|
|
169
|
-
},
|
|
170
|
-
[TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY]: {
|
|
171
|
-
path: "/partnership/member/:memberId/company",
|
|
172
|
-
Component: UnincorporatedPartnershipMemberCompanyPage
|
|
173
|
-
},
|
|
174
|
-
[TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER]: {
|
|
175
|
-
path: "/partnership/member/:memberId/company-owner/:parentId/:decisionMakerId?",
|
|
176
|
-
Component: DecisionMakerDetailsPage
|
|
177
|
-
}
|
|
178
|
-
};
|
|
179
|
-
const ROUTE_PATHS = Object.fromEntries(
|
|
180
|
-
Object.entries(ROUTE_CONFIG).map(([key, entry]) => [key, entry.path])
|
|
181
|
-
);
|
|
182
|
-
const buildPath = (task, params) => {
|
|
183
|
-
const routePath = ROUTE_PATHS[task];
|
|
184
|
-
const segments = routePath.split("/").filter(Boolean);
|
|
185
|
-
const built = segments.map((seg) => {
|
|
186
|
-
const isOptional = seg.endsWith("?");
|
|
187
|
-
const isParam = seg.startsWith(":");
|
|
188
|
-
if (!isParam) return seg;
|
|
189
|
-
const paramName = seg.slice(1, isOptional ? -1 : void 0);
|
|
190
|
-
const value = params?.[paramName];
|
|
191
|
-
if (!value && isOptional) return null;
|
|
192
|
-
if (!value) throw new Error(`Missing required param "${paramName}" for route "${task}"`);
|
|
193
|
-
return value;
|
|
194
|
-
}).filter((s) => s !== null);
|
|
195
|
-
return "/" + built.join("/");
|
|
196
|
-
};
|
|
197
|
-
const detectBasePath = (parser, pathname = window.location.pathname) => {
|
|
198
|
-
const pathSegments = pathname.split("/").filter(Boolean);
|
|
199
|
-
const sortedRoutes = Object.values(ROUTE_PATHS).sort(
|
|
200
|
-
(a, b) => b.split("/").filter(Boolean).length - a.split("/").filter(Boolean).length
|
|
201
|
-
);
|
|
202
|
-
for (let i = 0; i < pathSegments.length; i++) {
|
|
203
|
-
const candidatePath = "/" + pathSegments.slice(i).join("/");
|
|
204
|
-
for (const routePath of sortedRoutes) {
|
|
205
|
-
const [match] = matchRoute(parser, routePath, candidatePath);
|
|
206
|
-
if (match) {
|
|
207
|
-
const baseSegments = pathSegments.slice(0, i);
|
|
208
|
-
return baseSegments.length > 0 ? "/" + baseSegments.join("/") : "/";
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
const trimmed = pathname.endsWith("/") ? pathname.slice(0, -1) : pathname;
|
|
213
|
-
return trimmed || "/";
|
|
214
|
-
};
|
|
215
|
-
const useNavigate = () => {
|
|
216
|
-
const [, setLocation] = useLocation();
|
|
217
|
-
const withSearch = (path) => path + window.location.search;
|
|
218
|
-
const to = (task, params) => {
|
|
219
|
-
if (task === "default") {
|
|
220
|
-
setLocation(withSearch("/"));
|
|
221
|
-
return;
|
|
222
|
-
}
|
|
223
|
-
setLocation(withSearch(buildPath(task, params)));
|
|
224
|
-
};
|
|
225
|
-
const back = (stepCount = 1) => {
|
|
226
|
-
window.history.go(-stepCount);
|
|
227
|
-
};
|
|
228
|
-
const replace = (task, params) => {
|
|
229
|
-
setLocation(withSearch(buildPath(task, params)), { replace: true });
|
|
230
|
-
};
|
|
231
|
-
return { to, back, replace };
|
|
232
|
-
};
|
|
233
|
-
export {
|
|
234
|
-
AccountSetupRejected as A,
|
|
235
|
-
BusinessTypeSelectionPage as B,
|
|
236
|
-
CustomerSupport as C,
|
|
237
|
-
DecisionMakers as D,
|
|
238
|
-
Introduction as I,
|
|
239
|
-
LegalRepresentativeDetailsPage as L,
|
|
240
|
-
PayoutDetailsPage as P,
|
|
241
|
-
ROUTE_PATHS as R,
|
|
242
|
-
SingpassSelection as S,
|
|
243
|
-
TrustMembersOverview as T,
|
|
244
|
-
UnincorporatedPartnershipMembersOverview as U,
|
|
245
|
-
RootIndividualDetailsPage as a,
|
|
246
|
-
RootBusinessDetailsPage as b,
|
|
247
|
-
Review as c,
|
|
248
|
-
DecisionMakerDetailsPage as d,
|
|
249
|
-
TrustMemberRoleAndTypePage as e,
|
|
250
|
-
TrustMemberIndividualPage as f,
|
|
251
|
-
TrustMemberCompanyPage as g,
|
|
252
|
-
TrustDetailsPage as h,
|
|
253
|
-
UnincorporatedPartnershipMemberRoleAndTypePage as i,
|
|
254
|
-
UnincorporatedPartnershipIndividualPage as j,
|
|
255
|
-
UnincorporatedPartnershipMemberCompanyPage as k,
|
|
256
|
-
SignPCIComponent as l,
|
|
257
|
-
SoleProprietorshipPage as m,
|
|
258
|
-
AcceptTermsOfService as n,
|
|
259
|
-
SourceOfFundsPage as o,
|
|
260
|
-
BusinessFinancingPage as p,
|
|
261
|
-
TaxReportingDropin as q,
|
|
262
|
-
RootBusinessLinesPage as r,
|
|
263
|
-
detectBasePath as s,
|
|
264
|
-
useNavigate as u
|
|
265
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0969573f-4c68-4737-9357-eb54c81deed8", e._sentryDebugIdIdentifier = "sentry-dbid-0969573f-4c68-4737-9357-eb54c81deed8");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, j as httpGet } from "./StoreProvider-DFR6yFy8.js";
|
|
12
|
-
const getPciQuestionnaireList = async (legalEntityId, baseUrl) => {
|
|
13
|
-
return httpGet({
|
|
14
|
-
baseUrl,
|
|
15
|
-
path: `legalEntities/${legalEntityId}/pci/questionnaires`
|
|
16
|
-
});
|
|
17
|
-
};
|
|
18
|
-
const usePciQuestionnaireList = (options) => {
|
|
19
|
-
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
20
|
-
return useQuery({
|
|
21
|
-
queryKey: ["pciQuestionnaireList"],
|
|
22
|
-
queryFn: () => getPciQuestionnaireList(rootLegalEntityId.value, baseUrl.value),
|
|
23
|
-
...options
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
export {
|
|
27
|
-
getPciQuestionnaireList as g,
|
|
28
|
-
usePciQuestionnaireList as u
|
|
29
|
-
};
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9ce20523-bace-48df-b6b3-b9e7dcb950ca", e._sentryDebugIdIdentifier = "sentry-dbid-9ce20523-bace-48df-b6b3-b9e7dcb950ca");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, a3 as httpPost, H as useSettingsContext } from "./StoreProvider-DFR6yFy8.js";
|
|
12
|
-
import { useMemo } from "preact/hooks";
|
|
13
|
-
import { u as useBusinessLines } from "./useBusinessLines-ewWROXYV.js";
|
|
14
|
-
import { S as SettingNames } from "./types-CQ2p58-6.js";
|
|
15
|
-
const getPciStatus = async (legalEntityId, baseUrl, data) => {
|
|
16
|
-
const filteredData = {
|
|
17
|
-
...data,
|
|
18
|
-
additionalSalesChannels: data.additionalSalesChannels?.filter(
|
|
19
|
-
(channel) => channel !== "payByLink"
|
|
20
|
-
)
|
|
21
|
-
};
|
|
22
|
-
return httpPost(
|
|
23
|
-
{
|
|
24
|
-
baseUrl,
|
|
25
|
-
path: `legalEntities/${legalEntityId}/pci/signingRequired`
|
|
26
|
-
},
|
|
27
|
-
filteredData
|
|
28
|
-
);
|
|
29
|
-
};
|
|
30
|
-
const usePciStatus = (data, options) => {
|
|
31
|
-
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
32
|
-
return useQuery({
|
|
33
|
-
queryKey: ["pciStatus", data],
|
|
34
|
-
queryFn: () => getPciStatus(rootLegalEntityId.value, baseUrl.value, data),
|
|
35
|
-
staleTime: 0,
|
|
36
|
-
...options
|
|
37
|
-
});
|
|
38
|
-
};
|
|
39
|
-
function useSalesChannels() {
|
|
40
|
-
const { isSettingEnabled } = useSettingsContext();
|
|
41
|
-
const { data: existingBusinessLines } = useBusinessLines(["paymentProcessing"]);
|
|
42
|
-
return useMemo(() => {
|
|
43
|
-
const settings = [];
|
|
44
|
-
const businessLinesSalesChannels = [
|
|
45
|
-
...new Set(existingBusinessLines?.flatMap((item) => item.salesChannels ?? []))
|
|
46
|
-
];
|
|
47
|
-
if (isSettingEnabled(SettingNames.RequirePciSignEcommerce)) {
|
|
48
|
-
settings.push("eCommerce");
|
|
49
|
-
}
|
|
50
|
-
if (isSettingEnabled(SettingNames.RequirePciSignPos)) {
|
|
51
|
-
settings.push("pos");
|
|
52
|
-
}
|
|
53
|
-
if (isSettingEnabled(SettingNames.RequirePciSignEcomMoto)) {
|
|
54
|
-
settings.push("ecomMoto");
|
|
55
|
-
}
|
|
56
|
-
if (isSettingEnabled(SettingNames.RequirePciSignPosMoto)) {
|
|
57
|
-
settings.push("posMoto");
|
|
58
|
-
}
|
|
59
|
-
return isSettingEnabled("allowBusinessLines") ? businessLinesSalesChannels : settings;
|
|
60
|
-
}, [existingBusinessLines, isSettingEnabled]);
|
|
61
|
-
}
|
|
62
|
-
export {
|
|
63
|
-
usePciStatus as a,
|
|
64
|
-
useSalesChannels as u
|
|
65
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e230a293-e5ea-4afc-b3f8-d5736c44405a", e._sentryDebugIdIdentifier = "sentry-dbid-e230a293-e5ea-4afc-b3f8-d5736c44405a");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { o as TaskStatuses, a8 as createLogger, b as useApiContext, j as httpGet } from "./StoreProvider-DFR6yFy8.js";
|
|
12
|
-
const logger = createLogger();
|
|
13
|
-
const normalizeTaskStatuses = (taskStatuses) => {
|
|
14
|
-
return taskStatuses?.statuses?.reduce((acc, currentTask) => {
|
|
15
|
-
const status = TaskStatuses[currentTask.status];
|
|
16
|
-
const statusEntries = currentTask.taskStatusEntries;
|
|
17
|
-
acc[currentTask.type] = {
|
|
18
|
-
status: status ?? TaskStatuses.DETAILS_REQUIRED,
|
|
19
|
-
taskStatusEntries: statusEntries
|
|
20
|
-
};
|
|
21
|
-
return acc;
|
|
22
|
-
}, {});
|
|
23
|
-
};
|
|
24
|
-
const getAccountTaskStatus = (accountId, payinPayoutTaskStatus) => {
|
|
25
|
-
const taskStatusEntries = payinPayoutTaskStatus?.taskStatusEntries;
|
|
26
|
-
const taskStatusEntry = taskStatusEntries?.find((entry) => entry.id.includes(accountId));
|
|
27
|
-
if (!taskStatusEntry) {
|
|
28
|
-
logger.warn(`No task status for this account: ${accountId}`);
|
|
29
|
-
return payinPayoutTaskStatus?.status ?? TaskStatuses.PROCESSING;
|
|
30
|
-
}
|
|
31
|
-
return TaskStatuses[taskStatusEntry.status];
|
|
32
|
-
};
|
|
33
|
-
const getTaskStatus = async (legalEntityId, baseUrl) => {
|
|
34
|
-
return httpGet({
|
|
35
|
-
baseUrl,
|
|
36
|
-
path: `legalEntities/${legalEntityId}/taskStatus`
|
|
37
|
-
});
|
|
38
|
-
};
|
|
39
|
-
const useTaskStatus = (options) => {
|
|
40
|
-
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
41
|
-
return useQuery({
|
|
42
|
-
queryKey: ["taskStatus"],
|
|
43
|
-
queryFn: () => getTaskStatus(rootLegalEntityId.value, baseUrl.value),
|
|
44
|
-
select: (data) => normalizeTaskStatuses(data),
|
|
45
|
-
...options
|
|
46
|
-
});
|
|
47
|
-
};
|
|
48
|
-
export {
|
|
49
|
-
getAccountTaskStatus as g,
|
|
50
|
-
useTaskStatus as u
|
|
51
|
-
};
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e7dc6620-9a41-4ecc-8219-2632847a4233", e._sentryDebugIdIdentifier = "sentry-dbid-e7dc6620-9a41-4ecc-8219-2632847a4233");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { am as getOwnEntityAssociations, by as TrustMemberTypes, C as useLegalEntity, L as LegalEntityTypes, R as ROOT_LE, v as useExperimentsContext } from "./StoreProvider-DFR6yFy8.js";
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-BORPRBzY.js";
|
|
13
|
-
import { skipToken } from "@tanstack/preact-query";
|
|
14
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-VMVSrxGw.js";
|
|
15
|
-
const useExemptSettlor = ({
|
|
16
|
-
trust
|
|
17
|
-
}) => {
|
|
18
|
-
const matchingAssociation = useMemo(() => {
|
|
19
|
-
if (!trust) return void 0;
|
|
20
|
-
return getOwnEntityAssociations(trust).find(
|
|
21
|
-
(association) => association.type === TrustMemberTypes.SETTLOR && Boolean(association.settlorExemptionReason)
|
|
22
|
-
);
|
|
23
|
-
}, [trust]);
|
|
24
|
-
const { data } = useLegalEntity(matchingAssociation?.legalEntityId ?? skipToken);
|
|
25
|
-
return data;
|
|
26
|
-
};
|
|
27
|
-
const splitAtFirstOccurrence = (str, separator) => {
|
|
28
|
-
const firstOccurrence = str.indexOf(separator);
|
|
29
|
-
if (firstOccurrence === -1) return [str];
|
|
30
|
-
return [str.slice(0, firstOccurrence), str.slice(firstOccurrence + 1)];
|
|
31
|
-
};
|
|
32
|
-
const getTrustMemberOwnerId = (trustMemberId, entityAssociations) => entityAssociations.find((association) => association.associatorId === trustMemberId)?.legalEntityId;
|
|
33
|
-
const getFallbackName = (exemptSettlorAssociation) => {
|
|
34
|
-
const [firstName, lastName] = splitAtFirstOccurrence(exemptSettlorAssociation.name ?? "", " ");
|
|
35
|
-
return {
|
|
36
|
-
firstName,
|
|
37
|
-
lastName
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
const convertEntityAssociationIntoTrustMember = (association, associations, exemptSettlorLE) => {
|
|
41
|
-
if (association.settlorExemptionReason) {
|
|
42
|
-
return {
|
|
43
|
-
trustMemberType: "exemptSettlor",
|
|
44
|
-
roles: [TrustMemberTypes.SETTLOR],
|
|
45
|
-
legalEntityType: association.entityType,
|
|
46
|
-
legalEntityId: association.legalEntityId,
|
|
47
|
-
settlorExemptionReason: association.settlorExemptionReason,
|
|
48
|
-
exemptSettlorName: association.entityType === LegalEntityTypes.INDIVIDUAL ? exemptSettlorLE?.individual?.name ?? getFallbackName(association) : void 0,
|
|
49
|
-
name: association.name
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
if (association.entityType === LegalEntityTypes.ORGANIZATION)
|
|
53
|
-
return {
|
|
54
|
-
trustMemberType: "company",
|
|
55
|
-
roles: [],
|
|
56
|
-
legalEntityType: LegalEntityTypes.ORGANIZATION,
|
|
57
|
-
legalEntityId: association.legalEntityId,
|
|
58
|
-
name: association.name,
|
|
59
|
-
ownerId: getTrustMemberOwnerId(association.legalEntityId, associations)
|
|
60
|
-
};
|
|
61
|
-
if (association.entityType === LegalEntityTypes.INDIVIDUAL)
|
|
62
|
-
return {
|
|
63
|
-
trustMemberType: "regular",
|
|
64
|
-
roles: [],
|
|
65
|
-
legalEntityType: LegalEntityTypes.INDIVIDUAL,
|
|
66
|
-
legalEntityId: association.legalEntityId,
|
|
67
|
-
name: association.name
|
|
68
|
-
};
|
|
69
|
-
throw new Error(`Not a valid trust member: ${JSON.stringify(association)}`);
|
|
70
|
-
};
|
|
71
|
-
const mapEntityAssociationsToTrustMembers = (trustEntityId, entityAssociations, exemptSettlorLE) => {
|
|
72
|
-
const mappedTrustMembers = entityAssociations.reduce(
|
|
73
|
-
(acc, entityAssociation) => {
|
|
74
|
-
if (!Object.values(TrustMemberTypes).includes(entityAssociation.type) || entityAssociation.associatorId !== trustEntityId || !entityAssociation.legalEntityId) {
|
|
75
|
-
return acc;
|
|
76
|
-
}
|
|
77
|
-
const trustMember = acc[entityAssociation.legalEntityId] ?? convertEntityAssociationIntoTrustMember(
|
|
78
|
-
entityAssociation,
|
|
79
|
-
entityAssociations,
|
|
80
|
-
exemptSettlorLE
|
|
81
|
-
);
|
|
82
|
-
const trustMemberType = entityAssociation.type;
|
|
83
|
-
acc[entityAssociation.legalEntityId] = {
|
|
84
|
-
...trustMember,
|
|
85
|
-
roles: [.../* @__PURE__ */ new Set([...trustMember.roles, trustMemberType])]
|
|
86
|
-
};
|
|
87
|
-
return acc;
|
|
88
|
-
},
|
|
89
|
-
{}
|
|
90
|
-
);
|
|
91
|
-
return Object.values(mappedTrustMembers);
|
|
92
|
-
};
|
|
93
|
-
const mapRootLegalEntityToTrustMember = (rootLegalEntity) => ({
|
|
94
|
-
trustMemberType: "rootTrustee",
|
|
95
|
-
roles: [TrustMemberTypes.TRUSTEE],
|
|
96
|
-
legalEntityType: rootLegalEntity.type,
|
|
97
|
-
legalEntityId: rootLegalEntity.id,
|
|
98
|
-
name: getLegalEntityNameBasedOnType(rootLegalEntity)
|
|
99
|
-
});
|
|
100
|
-
const mapUndefinedBeneficiaryInfoToTrustMembers = (undefinedBeneficiaryInfo) => undefinedBeneficiaryInfo.map(({ reference, description }) => ({
|
|
101
|
-
trustMemberType: "undefinedBeneficiary",
|
|
102
|
-
roles: [TrustMemberTypes.UNDEFINED_BENEFICIARY],
|
|
103
|
-
reference,
|
|
104
|
-
description
|
|
105
|
-
}));
|
|
106
|
-
const getTrustMembers = (trustLE, rootLegalEntity, exemptSettlorLE) => [
|
|
107
|
-
mapRootLegalEntityToTrustMember(rootLegalEntity),
|
|
108
|
-
...mapEntityAssociationsToTrustMembers(
|
|
109
|
-
trustLE.id,
|
|
110
|
-
trustLE.entityAssociations ?? [],
|
|
111
|
-
exemptSettlorLE
|
|
112
|
-
),
|
|
113
|
-
...mapUndefinedBeneficiaryInfoToTrustMembers(trustLE.trust?.undefinedBeneficiaryInfo ?? [])
|
|
114
|
-
];
|
|
115
|
-
const combineRootLegalEntityWithEntityAssociations = (rootLegalEntity, entityAssociations) => {
|
|
116
|
-
const allowedRolesForRootLegalEntity = [
|
|
117
|
-
TrustMemberTypes.SETTLOR,
|
|
118
|
-
TrustMemberTypes.PROTECTOR,
|
|
119
|
-
TrustMemberTypes.DEFINED_BENEFICIARY
|
|
120
|
-
];
|
|
121
|
-
const roles = entityAssociations.map((entityAssociation) => entityAssociation.type).filter((role) => allowedRolesForRootLegalEntity.includes(role));
|
|
122
|
-
return {
|
|
123
|
-
trustMemberType: "rootTrustee",
|
|
124
|
-
roles: [...roles, TrustMemberTypes.TRUSTEE],
|
|
125
|
-
legalEntityType: rootLegalEntity.type,
|
|
126
|
-
legalEntityId: rootLegalEntity.id,
|
|
127
|
-
name: getLegalEntityNameBasedOnType(rootLegalEntity)
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
const getRootTrusteeTrustMembers = (trustLE, rootLegalEntity, exemptSettlorLE) => {
|
|
131
|
-
const entityAssociations = trustLE.entityAssociations ?? [];
|
|
132
|
-
const rootLegalEntityAssociations = entityAssociations.filter(
|
|
133
|
-
(a) => a.legalEntityId === rootLegalEntity.id
|
|
134
|
-
);
|
|
135
|
-
const nonRootLegalEntityAssociations = entityAssociations.filter(
|
|
136
|
-
(a) => a.legalEntityId !== rootLegalEntity.id
|
|
137
|
-
);
|
|
138
|
-
return [
|
|
139
|
-
combineRootLegalEntityWithEntityAssociations(rootLegalEntity, rootLegalEntityAssociations),
|
|
140
|
-
...mapEntityAssociationsToTrustMembers(
|
|
141
|
-
trustLE.id,
|
|
142
|
-
nonRootLegalEntityAssociations ?? [],
|
|
143
|
-
exemptSettlorLE
|
|
144
|
-
),
|
|
145
|
-
...mapUndefinedBeneficiaryInfoToTrustMembers(trustLE.trust?.undefinedBeneficiaryInfo ?? [])
|
|
146
|
-
];
|
|
147
|
-
};
|
|
148
|
-
function useTrustMembers() {
|
|
149
|
-
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
150
|
-
const { data: trust } = useAssociatedLegalEntity(rootLegalEntity, LegalEntityTypes.TRUST);
|
|
151
|
-
const { isExperimentEnabled } = useExperimentsContext();
|
|
152
|
-
const exemptSettlor = useExemptSettlor({
|
|
153
|
-
trust
|
|
154
|
-
});
|
|
155
|
-
const allowMoreRolesForMainRootTrustee = isExperimentEnabled("AllowMoreRolesForMainRootTrustee");
|
|
156
|
-
return useMemo(() => {
|
|
157
|
-
if (!rootLegalEntity || !trust?.trust) return [];
|
|
158
|
-
return allowMoreRolesForMainRootTrustee ? getRootTrusteeTrustMembers(trust, rootLegalEntity, exemptSettlor) : getTrustMembers(trust, rootLegalEntity, exemptSettlor);
|
|
159
|
-
}, [rootLegalEntity, trust, exemptSettlor, allowMoreRolesForMainRootTrustee]);
|
|
160
|
-
}
|
|
161
|
-
export {
|
|
162
|
-
useTrustMembers as u
|
|
163
|
-
};
|