@adyen/kyc-components 4.3.0 → 4.4.0-beta.1
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-Ch1PLZkE.js} +15 -15
- package/dist/{AccountSetupRejected-BmELqasB.js → AccountSetupRejected-BPEtnc7j.js} +2 -2
- package/dist/{ActionBar-CYYTQnyt.js → ActionBar-NV7R7PEb.js} +2 -2
- package/dist/{Address-BuvEwdEz.js → Address-xF2Li1Za.js} +17 -18
- package/dist/{Avatar-6Ijr-U98.js → Avatar-Cw6tLao7.js} +2 -2
- package/dist/{BusinessFinancingComponent-C_dvZWrV.js → BusinessFinancingComponent-uqUPy4UH.js} +6 -6
- package/dist/{BusinessFinancingDropin-CqBXTRew.js → BusinessFinancingDropin-DK-KXg_B.js} +30 -30
- package/dist/BusinessFinancingPage-BoUZ_jM1.js +43 -0
- package/dist/{BusinessTypeSelectionPage-0ykcbLXM.js → BusinessTypeSelectionPage-BnJ8ucnl.js} +9 -9
- package/dist/{Checkbox-CEt2JNWg.js → Checkbox-BU__y4sz.js} +2 -2
- package/dist/{Confirm-tO8eG5lI.js → Confirm-BX6xGJJV.js} +3 -3
- package/dist/{ConstitutionalDocument-BNQrCuoP.js → ConstitutionalDocument-DV11W4Uc.js} +18 -18
- package/dist/{ContactDetails-wRdhpEXl.js → ContactDetails-0AACDs1M.js} +6 -6
- package/dist/{ContextGuidance-D-wkN66k.js → ContextGuidance-B17pNn6u.js} +2 -2
- package/dist/{CountryField-BfpNTqr6.js → CountryField-Dp6hXPqK.js} +4 -4
- package/dist/CreateIndividualComponent-pfPheGx6.js +65 -0
- package/dist/{CreateTransferInstrumentComponent-C94kteP5.js → CreateTransferInstrumentComponent-BP1o-KXu.js} +5 -5
- package/dist/{Currency-CIvge00Z.js → Currency-DKKQ4vvp.js} +10 -10
- package/dist/{CustomerSupport-Cn0cURdF.js → CustomerSupport-97KAFvBP.js} +10 -10
- package/dist/{DebugModal-CPJQfotk.js → DebugModal-BTeaM1f-.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-HY7FMT3F.js → DecisionMakerDetailsPage-D092fGbY.js} +8 -8
- package/dist/{DecisionMakers-C9Y6zR4s.js → DecisionMakers-BHZW4NNI.js} +21 -22
- package/dist/{Dropzone-B87ivHUX.js → Dropzone-CLoB_3-q.js} +4 -4
- package/dist/{EmbeddedStatus-Qp66N9js.js → EmbeddedStatus-T1Tsk3PK.js} +3 -3
- package/dist/{EndStateLayout-BcYjyuoi.js → EndStateLayout-y2JP5asU.js} +2 -2
- package/dist/{EntityAssociation-NEf45gFy.js → EntityAssociation-D1BM5Je8.js} +5 -5
- package/dist/{EntityGuidanceStatus-BSe0LbpA.js → EntityGuidanceStatus-CwKr9buW.js} +4 -4
- package/dist/{ErrorPanel-0defccwj.js → ErrorPanel-DDVrYUpJ.js} +2 -2
- package/dist/{Field-CS5lBNi-.js → Field-B9sKUtUg.js} +2 -2
- package/dist/{FormNavigation-Ds6Zo4kr.js → FormNavigation-CdcEMHw0.js} +3 -3
- package/dist/{FormWrapper-CM27JHcm.js → FormWrapper-BoU8DR0W.js} +9 -9
- package/dist/{Individual.rules-BKCZ5pw4.js → Individual.rules-BD1j4LiM.js} +10 -7
- package/dist/{IndividualDropin-BEfS_NNT.js → IndividualDropin-uiNPeLuT.js} +180 -167
- package/dist/{InputDate-DbPcPUic.js → InputDate-BaGnhAVf.js} +2 -2
- package/dist/{InputText-CQMxEarX.js → InputText-D0_rMV9x.js} +2 -2
- package/dist/{Introduction-_K-ioq4w.js → Introduction-BNfrUGef.js} +4 -4
- package/dist/{JpAddress-8qsY8wnP.js → JpAddress-CzQ4H7tm.js} +10 -11
- package/dist/{LandingLayout-Bx0c6vHb.js → LandingLayout-B9DjLl1D.js} +2 -2
- package/dist/{LegalCompanyNameField-BD6Te5c5.js → LegalCompanyNameField-DoTX5byz.js} +6 -6
- package/dist/LegalRepresentativeDetailsPage-SEccCLtW.js +55 -0
- package/dist/{Link-deXxlSsM.js → Link-BieB0t1Y.js} +2 -2
- package/dist/{ListItem-Dtx0lKaK.js → ListItem-Cw-AYeFH.js} +3 -3
- package/dist/{LoaderWrapper-Dg9BXOfN.js → LoaderWrapper-B73HgNuK.js} +2 -2
- package/dist/ManageIndividualComponent-D7VJUR-y.js +46 -0
- package/dist/{ManageTermsOfServiceComponent-rpvf07UO.js → ManageTermsOfServiceComponent-Dxs0RCkC.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-D_10bdI3.js → ManageTransferInstrumentComponent-fZbHylGm.js} +12 -13
- package/dist/{MaskedInput-DX9qywO6.js → MaskedInput-B5-H7MTF.js} +5 -5
- package/dist/{MaybeModal-B6Y-CUwt.js → MaybeModal-DyP6D8Mm.js} +3 -3
- package/dist/{Modal-CyGRv-gZ.js → Modal-l3FZFwDQ.js} +2 -2
- package/dist/{Name-DB6DpTUy.js → Name-Cy0qTOPR.js} +5 -5
- package/dist/{OnboardingDropinComponent-ByCzepLz.js → OnboardingDropinComponent-Cd1FysjN.js} +805 -111
- package/dist/{PayoutDetailsDropin-CHKMEoSE.js → PayoutDetailsDropin-BLHDVWJP.js} +64 -168
- package/dist/PayoutDetailsPage-BgOgeJt8.js +55 -0
- package/dist/{RadioGroup-Bmyz_UGC.js → RadioGroup-DxGcH0In.js} +2 -2
- package/dist/{RadioGroupCard-DfDec_J3.js → RadioGroupCard-Cr8u_mxa.js} +2 -2
- package/dist/{Review-BfeBbmqL.js → Review-BBKyp3B8.js} +6 -6
- package/dist/{RootBusinessDetailsPage-CtRd9HPs.js → RootBusinessDetailsPage-Dto2CETH.js} +5 -5
- package/dist/{RootBusinessLinesPage-Btnsj8r_.js → RootBusinessLinesPage-X9UmCsne.js} +24 -27
- package/dist/RootIndividualDetailsPage-_j_pbdea.js +61 -0
- package/dist/{Select-w8VBNvQR.js → Select-BJOovb_D.js} +4 -4
- package/dist/{SignPCIComponent-CA5Ao7_u.js → SignPCIComponent-CKNCBHDi.js} +11 -11
- package/dist/{SingpassSelection-DOUOHu-z.js → SingpassSelection-CSnMQdA2.js} +6 -6
- package/dist/{SoleProprietorshipPage-4OFUvq_A.js → SoleProprietorshipPage-CUAnaNlw.js} +4 -4
- package/dist/{SourceOfFundsPage-B2L2vYO7.js → SourceOfFundsPage-DkjK2ZLc.js} +36 -40
- package/dist/{StepProgressIndicator-BBjfKoHH.js → StepProgressIndicator-B-fjkG3s.js} +2 -2
- package/dist/{StoreProvider-DFR6yFy8.js → StoreProvider-x59VMyW0.js} +222 -209
- package/dist/{StructuredList-Bh1vlAFE.js → StructuredList-CNha20ka.js} +1 -1
- package/dist/{Summary-SxfPLeM9.js → Summary-kDA3sqBe.js} +11 -9
- package/dist/{TaxInformationField-pIOj5IIN.js → TaxInformationField-C9Jy5cRJ.js} +22 -22
- package/dist/{TaxReportingDropin-BzB8nYXE.js → TaxReportingDropin-CMKrs9_R.js} +15 -15
- package/dist/{TextArea-I88bxkOh.js → TextArea-BXoK80OY.js} +2 -2
- package/dist/{TileGroup-PHV4JXvH.js → TileGroup-CD6DoIe_.js} +3 -3
- package/dist/{TrustDetailsPage-Dr6YIRGG.js → TrustDetailsPage-9vV1HSJ0.js} +33 -33
- package/dist/{TrustMemberCompanyPage-CfUxQni4.js → TrustMemberCompanyPage-BW01AXIR.js} +6 -6
- package/dist/TrustMemberIndividualPage-BRhv0I6R.js +64 -0
- package/dist/{TrustMemberRoleAndTypePage-BdBKpEha.js → TrustMemberRoleAndTypePage-CbpEp-Eb.js} +22 -23
- package/dist/{TrustMembersOverview-Ynu4zahR.js → TrustMembersOverview-DvCI2Rgo.js} +11 -11
- package/dist/UnincorporatedPartnershipIndividualPage-CfYzgKds.js +63 -0
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BFZ7GGpo.js → UnincorporatedPartnershipMemberCompanyPage-rEc73wFm.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-6C67QTtR.js → UnincorporatedPartnershipMemberRoleAndTypePage-CDAcpK4G.js} +15 -15
- package/dist/{UnincorporatedPartnershipMembersOverview-BkAc4tTI.js → UnincorporatedPartnershipMembersOverview-CibvMdLp.js} +8 -8
- package/dist/{VerificationErrorAlert-CyE2-4NI.js → VerificationErrorAlert-D3AX98bd.js} +23 -3
- package/dist/{ViewVerificationStatusComponent-0IyRvr_W.js → ViewVerificationStatusComponent-B9vYeYZb.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-DSDSKhKB.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-B6d9s0-o.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-DQpXPqk2.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-A6oBRG3L.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-lGICWUPQ.js} +2 -2
- package/dist/{getProblemsForEntity-B2aPSiz5.js → getProblemsForEntity-D3HpaFZB.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-Huaxn_9e.js} +4 -4
- package/dist/{isEmpty-BNrK3WJw.js → isEmpty-C2vBRvpQ.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-r2_qbuUh.js} +2 -2
- package/dist/{localizeDateString-DUFhW5fN.js → localizeDateString-Cn4lULAz.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-CDtoMMNP.js} +4 -4
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BLzSTlhK.js → mapJpAddressSchemaToAddressLocalizations-BX_XB7Pv.js} +2 -2
- package/dist/{mapLegalEntityToIndividualSchema-DHieAjhC.js → mapLegalEntityToIndividualSchema-BTjkDub5.js} +7 -7
- package/dist/{mapTransferInstrumentToPayoutAccount-CBruJcGL.js → mapTransferInstrumentToPayoutAccount-SwgAUEzy.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-BmE8PX2j.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-BpvA07uV.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-CB0aXyOq.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-CUwpxg9p.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-CYkhUYV6.js → types-Bo20WZNc.js} +2 -2
- package/dist/{types-BxMBuuEz.js → types-Clxic6DP.js} +2 -2
- package/dist/{types-D1PsvtzF.js → types-DP1DvIeR.js} +5 -6
- package/dist/{types-DU69aeMN.js → types-DS88e__Q.js} +2 -2
- package/dist/{Image-kVLn7Cb2.js → unincorporated-partnership-CJz9rbE4.js} +8 -7
- package/dist/{useAssociatedLegalEntity-BORPRBzY.js → useAssociatedLegalEntity-oPI1RCY_.js} +2 -2
- package/dist/{useBusinessDetailsData-SFopK4ma.js → useBusinessDetailsData-vd45u1iE.js} +68 -57
- package/dist/{useCreateLegalEntity-DC4AmtL1.js → useCreateLegalEntity-BhYUiCc8.js} +2 -2
- package/dist/{useForm-B64f0N0r.js → useForm-D1_yiIHz.js} +3 -3
- package/dist/{useFormContext-B08W9NV0.js → useFormContext-DnlTEqkz.js} +7 -7
- package/dist/{useGlobalData-CAfs9dkH.js → useGlobalData-9bYrNWxF.js} +2 -2
- package/dist/{useMultiForm-BwoKhXUz.js → useMultiForm-DiDABOlp.js} +4 -4
- package/dist/{useOnboardingStatus-DgaMwRGt.js → useOnboardingStatus-B2cPO1my.js} +1 -1
- package/dist/{useScenarios-DfdvyKrI.js → useScenarios-XKveo5Md.js} +2 -2
- package/dist/{useTermsOfServiceStatus-BlBedFIs.js → useTermsOfServiceStatus-Lg95JuP4.js} +1 -1
- package/dist/{useToastContext-D7Wu9TN_.js → useToastContext-CisUtg-6.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-CRs95EuP.js → useUnincorporatedPartnershipMembers-CIhC8Vm8.js} +5 -5
- package/dist/{useUpdateBusinessLines-B6YZCqOX.js → useUpdateBusinessLines-CKRikPUG.js} +4 -4
- package/dist/{useUpdateLegalEntity-B1R9qggb.js → useUpdateLegalEntity-DOKoyNaq.js} +3 -3
- package/dist/{utils-Drnia92l.js → utils-9BXmcrcz.js} +5 -19
- package/dist/{utils-BUyOscpp.js → utils-B9F675JL.js} +2 -2
- package/dist/{utils-CnulHkMn.js → utils-C0h9qEco.js} +2 -2
- package/dist/{utils-DTUxA3nO.js → utils-C3PfmXJ-.js} +2 -2
- package/dist/{utils-CPRZoX7V.js → utils-CrLnWtri.js} +6 -6
- package/dist/{validate-DlUk1wzH.js → validate-BX1lu4X-.js} +2 -2
- package/dist/{validate-DLxn3LIK.js → validate-rilJfP0Q.js} +3 -3
- package/dist/{validationError-CcsgWg6J.js → validationError-Ba78AmbC.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
|
@@ -2,47 +2,44 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ead39b14-3469-4e23-aeb3-338708ab91e8", e._sentryDebugIdIdentifier = "sentry-dbid-ead39b14-3469-4e23-aeb3-338708ab91e8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { aa as CountryCodes, ao as entriesOf, m as createLogger, u as useTranslation, aB as Header, V as Loader, C as IconButton, O as Typography, P as StackLayout, aQ as Trans, W as Button, b as useApiContext, ar as httpDelete, J as useExperimentsContext, z as useAnalyticsContext, Z as TASK_STATUS_POLLING_INTERVAL_MS, w as EntityTypes, R as useLegalEntity, U as ROOT_LE, a as addResourceBundles, y as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-x59VMyW0.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useMutation, useQueryClient } from "@tanstack/preact-query";
|
|
13
13
|
import { useCallback, useMemo, useRef, useState, useEffect } from "preact/hooks";
|
|
14
|
-
import {
|
|
15
|
-
import { s as salesChannelsWithWebData, u as useIndustryCodes, d as businessLineTypes, i as industryCodeFieldMetadata, a as IndustryCodeField, I as INDUSTRY_CODE_FIELD, S as SALES_CHANNELS_FIELD, W as WEB_DATA_FIELD, e as shouldSignNewPci, f as SCTA_FIELD, D as Divider, g as selectedBusinessLine, b as useCreateBusinessLine, c as useUpdateBusinessLine, h as businessLinesConfigurations, j as businessLinesForms } from "./useUpdateBusinessLines-
|
|
16
|
-
import { u as
|
|
17
|
-
import { u as
|
|
18
|
-
import {
|
|
19
|
-
import { u as
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import { u as useMultiForm } from "./useMultiForm-BwoKhXUz.js";
|
|
23
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-B2aPSiz5.js";
|
|
14
|
+
import { j as useBusinessLines, f as useTaskStatus, u as useSalesChannels, k as usePciQuestionnaireList, a as usePciStatus } from "./OnboardingDropinComponent-Cd1FysjN.js";
|
|
15
|
+
import { s as salesChannelsWithWebData, u as useIndustryCodes, d as businessLineTypes, i as industryCodeFieldMetadata, a as IndustryCodeField, I as INDUSTRY_CODE_FIELD, S as SALES_CHANNELS_FIELD, W as WEB_DATA_FIELD, e as shouldSignNewPci, f as SCTA_FIELD, D as Divider, g as selectedBusinessLine, b as useCreateBusinessLine, c as useUpdateBusinessLine, h as businessLinesConfigurations, j as businessLinesForms } from "./useUpdateBusinessLines-CKRikPUG.js";
|
|
16
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DnlTEqkz.js";
|
|
17
|
+
import { u as useToastContext } from "./useToastContext-CisUtg-6.js";
|
|
18
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-BpvA07uV.js";
|
|
19
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DQpXPqk2.js";
|
|
20
|
+
import { u as useMultiForm } from "./useMultiForm-DiDABOlp.js";
|
|
21
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-D3HpaFZB.js";
|
|
24
22
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
25
|
-
import { s as summaryStep } from "./Summary-
|
|
26
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
23
|
+
import { s as summaryStep } from "./Summary-kDA3sqBe.js";
|
|
24
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-A6oBRG3L.js";
|
|
27
25
|
import { Show } from "@preact/signals/utils";
|
|
28
|
-
import { C as Checkbox } from "./Checkbox-
|
|
29
|
-
import { F as Field } from "./Field-
|
|
30
|
-
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-
|
|
31
|
-
import { I as InputText } from "./InputText-
|
|
32
|
-
import { SignPCIComponent } from "./SignPCIComponent-
|
|
33
|
-
import { A as Avatar } from "./Avatar-
|
|
26
|
+
import { C as Checkbox } from "./Checkbox-BU__y4sz.js";
|
|
27
|
+
import { F as Field } from "./Field-B9sKUtUg.js";
|
|
28
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-l3FZFwDQ.js";
|
|
29
|
+
import { I as InputText } from "./InputText-D0_rMV9x.js";
|
|
30
|
+
import { SignPCIComponent } from "./SignPCIComponent-CKNCBHDi.js";
|
|
31
|
+
import { A as Avatar } from "./Avatar-Cw6tLao7.js";
|
|
34
32
|
import cx from "classnames";
|
|
35
33
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
36
34
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
37
|
-
import { L as Link } from "./Link-
|
|
35
|
+
import { L as Link } from "./Link-BieB0t1Y.js";
|
|
38
36
|
import { lazy } from "preact/compat";
|
|
39
|
-
import { I as Image } from "./
|
|
40
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
41
|
-
import { u as useTaskStatus } from "./useTaskStatus-CBWvTwlZ.js";
|
|
37
|
+
import { I as Image } from "./unincorporated-partnership-CJz9rbE4.js";
|
|
38
|
+
import { L as LandingLayout } from "./LandingLayout-B9DjLl1D.js";
|
|
42
39
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
43
|
-
import { L as ListItem } from "./ListItem-
|
|
44
|
-
import { S as StructuredList } from "./StructuredList-
|
|
45
|
-
import { C as Confirm } from "./Confirm-
|
|
40
|
+
import { L as ListItem } from "./ListItem-Cw-AYeFH.js";
|
|
41
|
+
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
42
|
+
import { C as Confirm } from "./Confirm-BX6xGJJV.js";
|
|
46
43
|
const rules = ({ data, country }) => {
|
|
47
44
|
return createFormRules({
|
|
48
45
|
webAddressRequired: () => {
|
|
@@ -0,0 +1,61 @@
|
|
|
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] = "6609b281-f9a2-4c6f-b9d3-00afde7f7926", e._sentryDebugIdIdentifier = "sentry-dbid-6609b281-f9a2-4c6f-b9d3-00afde7f7926");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { R as useLegalEntity, U as ROOT_LE, v as useAccountHolder, u as useTranslation, a as addResourceBundles, V as Loader, a9 as getLegalEntityCountry, p as isPartOfTrustFromLegalEntity, w as EntityTypes, ai as noop, y as TaskTypes, _ as __variableDynamicImportRuntimeHelper, bo as individualBaseMapping } from "./StoreProvider-x59VMyW0.js";
|
|
11
|
+
import { jsx } from "preact/jsx-runtime";
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-D3HpaFZB.js";
|
|
13
|
+
import { i as filterProblemsByTaskForms, n as getTrustedFieldsProvider, o as getTrustedFields } from "./OnboardingDropinComponent-Cd1FysjN.js";
|
|
14
|
+
import { I as IndividualDropin, i as individualForms } from "./IndividualDropin-uiNPeLuT.js";
|
|
15
|
+
function RootIndividualDetailsPage({
|
|
16
|
+
asModal = false,
|
|
17
|
+
hideSidebar = false,
|
|
18
|
+
isTargetLegalEntityType = false,
|
|
19
|
+
onSubmit,
|
|
20
|
+
/** below from {@link DropinProps} */
|
|
21
|
+
handleBackClick,
|
|
22
|
+
handleCloseClick,
|
|
23
|
+
handleHomeClick = noop
|
|
24
|
+
}) {
|
|
25
|
+
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
26
|
+
const capabilityProblems = useCapabilityProblems();
|
|
27
|
+
const { accountHolder } = useAccountHolder();
|
|
28
|
+
const { i18n } = useTranslation();
|
|
29
|
+
addResourceBundles(i18n, [
|
|
30
|
+
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-CRbKoTLs.js"), "../language/cs-CZ.json": () => import("./cs-CZ-DR5Pfj3g.js"), "../language/da-DK.json": () => import("./da-DK-CG2NcTvu.js"), "../language/de-DE.json": () => import("./de-DE-NMS4xBab.js"), "../language/el-GR.json": () => import("./el-GR-DWM1mhuZ.js"), "../language/en-US.json": () => import("./en-US-CEnwRsyr.js"), "../language/es-ES.json": () => import("./es-ES-BWe46jej.js"), "../language/et-EE.json": () => import("./et-EE-CylmXBkF.js"), "../language/fi-FI.json": () => import("./fi-FI-larJ5zXy.js"), "../language/fr-FR.json": () => import("./fr-FR-DVqpakkq.js"), "../language/hr-HR.json": () => import("./hr-HR-C-Hn5lAD.js"), "../language/hu-HU.json": () => import("./hu-HU-DynB7VhD.js"), "../language/it-IT.json": () => import("./it-IT-M7AqGzBo.js"), "../language/ja-JP.json": () => import("./ja-JP-BcGZdMJa.js"), "../language/lt-LT.json": () => import("./lt-LT-SQmafLDX.js"), "../language/lv-LV.json": () => import("./lv-LV-B5Os0zqy.js"), "../language/nl-NL.json": () => import("./nl-NL-BVRcJEzp.js"), "../language/no-NO.json": () => import("./no-NO-DlnsfTwn.js"), "../language/pl-PL.json": () => import("./pl-PL-B-V8iF6C.js"), "../language/pt-BR.json": () => import("./pt-BR-Bq41lr7C.js"), "../language/pt-PT.json": () => import("./pt-PT-D-EPzKV-.js"), "../language/ro-RO.json": () => import("./ro-RO-Dt2gs44k.js"), "../language/sk-SK.json": () => import("./sk-SK-B6LcEArz.js"), "../language/sl-SI.json": () => import("./sl-SI-DNbu8KiE.js"), "../language/sv-SE.json": () => import("./sv-SE-DgMcRRS8.js") }), `../language/${lang}.json`, 3) }
|
|
31
|
+
]);
|
|
32
|
+
if (!rootLe) {
|
|
33
|
+
return /* @__PURE__ */ jsx(Loader, {});
|
|
34
|
+
}
|
|
35
|
+
const country = getLegalEntityCountry(rootLe);
|
|
36
|
+
const hasTrust = accountHolder === "aTrust" || isPartOfTrustFromLegalEntity(rootLe);
|
|
37
|
+
const entityProblems = capabilityProblems ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, rootLe.id) : void 0;
|
|
38
|
+
const initialForms = Object.keys(individualForms);
|
|
39
|
+
const problemsByTask = filterProblemsByTaskForms(entityProblems, initialForms);
|
|
40
|
+
const trustedFieldsProvider = getTrustedFieldsProvider(rootLe);
|
|
41
|
+
const trustedFields = getTrustedFields(rootLe, individualBaseMapping);
|
|
42
|
+
const props = {
|
|
43
|
+
taskType: TaskTypes.INDIVIDUAL,
|
|
44
|
+
taskName: hasTrust ? "individualTrusteeDetails" : "individualDetails",
|
|
45
|
+
legalEntityResponse: rootLe,
|
|
46
|
+
problems: problemsByTask,
|
|
47
|
+
country,
|
|
48
|
+
asModal,
|
|
49
|
+
hideSidebar,
|
|
50
|
+
isTargetLegalEntityType,
|
|
51
|
+
onSubmit,
|
|
52
|
+
trustedFieldsProvider,
|
|
53
|
+
handleBackClick,
|
|
54
|
+
handleCloseClick,
|
|
55
|
+
handleHomeClick
|
|
56
|
+
};
|
|
57
|
+
return /* @__PURE__ */ jsx(IndividualDropin, { ...props, trustedFields });
|
|
58
|
+
}
|
|
59
|
+
export {
|
|
60
|
+
RootIndividualDetailsPage
|
|
61
|
+
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6e2a53cb-133f-41c3-a7ba-2f1e17b3ac3a", e._sentryDebugIdIdentifier = "sentry-dbid-6e2a53cb-133f-41c3-a7ba-2f1e17b3ac3a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -11,11 +11,11 @@ import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useState, useRef, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
13
13
|
import { computed, signal, useSignal, useSignalEffect } from "@preact/signals";
|
|
14
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
15
|
-
import {
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-l3FZFwDQ.js";
|
|
15
|
+
import { z as useAnalyticsContext, V as Loader, ai as noop, O as Typography, m as createLogger, u as useTranslation } from "./StoreProvider-x59VMyW0.js";
|
|
16
16
|
import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
17
17
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
18
|
-
import { C as Checkbox } from "./Checkbox-
|
|
18
|
+
import { C as Checkbox } from "./Checkbox-BU__y4sz.js";
|
|
19
19
|
const createSelectFocus = ({
|
|
20
20
|
activeItems,
|
|
21
21
|
filteredItems: items
|
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6ea61db0-8995-41d9-9dee-f410f83da2a3", e._sentryDebugIdIdentifier = "sentry-dbid-6ea61db0-8995-41d9-9dee-f410f83da2a3");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext,
|
|
10
|
+
import { b as useApiContext, h as httpPost, ax as isEmpty, u as useTranslation, z as useAnalyticsContext, ay as getOwnDecisionMakers, L as LegalEntityTypes, y as TaskTypes, W as Button, a as addResourceBundles, R as useLegalEntity, U as ROOT_LE, V as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-x59VMyW0.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useSalesChannels, a as usePciStatus } from "./
|
|
13
|
+
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-Cd1FysjN.js";
|
|
14
14
|
import { useQuery, useMutation } from "@tanstack/preact-query";
|
|
15
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
16
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
17
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
15
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-CisUtg-6.js";
|
|
16
|
+
import { M as MaybeModal } from "./MaybeModal-DyP6D8Mm.js";
|
|
17
|
+
import { E as EndStateLayout } from "./EndStateLayout-y2JP5asU.js";
|
|
18
18
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
19
|
-
import { C as Checkbox } from "./Checkbox-
|
|
20
|
-
import { F as Field } from "./Field-
|
|
21
|
-
import { S as Select } from "./Select-
|
|
22
|
-
import { u as useForm } from "./useForm-
|
|
19
|
+
import { C as Checkbox } from "./Checkbox-BU__y4sz.js";
|
|
20
|
+
import { F as Field } from "./Field-B9sKUtUg.js";
|
|
21
|
+
import { S as Select } from "./Select-BJOovb_D.js";
|
|
22
|
+
import { u as useForm } from "./useForm-D1_yiIHz.js";
|
|
23
23
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
24
24
|
import { C as ContractViewer } from "./ContractViewer-DcQHIGMU.js";
|
|
25
25
|
const getPciTemplate = async (legalEntityId, baseUrl, data) => {
|
|
@@ -242,7 +242,7 @@ function SignPCIComponent({
|
|
|
242
242
|
const additionalSalesChannels = useSalesChannels();
|
|
243
243
|
const { t, i18n } = useTranslation(["contract", "common"]);
|
|
244
244
|
addResourceBundles(i18n, [
|
|
245
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
245
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-DqRXdvRT.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CmPmY5GZ.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DaINWU5x.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-KqZs1FFF.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-Bn45KMp-.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-x59VMyW0.js").then((n) => n.bT), "../../../language/locales/es-ES.json": () => import("./es-ES-DzGJ9DrB.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-JKt5dMOQ.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-n9XAQuIy.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-iD1onxpA.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-CAqaI1xJ.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CRpdELm_.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-DkiyBNl6.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-B0Ox3Ixh.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-DWs-lYAv.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CdCU8ZaR.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-D7k3hkBl.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-DOOgOJr1.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-Bvnak7w3.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BZkPZ0kK.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-DkfqmPrD.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-BEVRugNx.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-Bh7WfMNd.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-CxGdSydw.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CgB54Aa4.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
246
246
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-CjjPhkB5.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
247
247
|
{ ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/bg-BG.json": () => import("./bg-BG-DbFzLQK7.js"), "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-CBuNZ7UO.js"), "../../Contract/language/da-DK.json": () => import("./da-DK-CLdNh9JT.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-BT5g7ZXC.js"), "../../Contract/language/el-GR.json": () => import("./el-GR-BvRBuezU.js"), "../../Contract/language/en-US.json": () => import("./en-US-CgakND3H.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-4FS7NoE7.js"), "../../Contract/language/et-EE.json": () => import("./et-EE-CksV5_e1.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-XpnJRPgt.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-TqAhPvzz.js"), "../../Contract/language/hr-HR.json": () => import("./hr-HR-CKZ_yuXC.js"), "../../Contract/language/hu-HU.json": () => import("./hu-HU-BEV8uVRt.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-D-jYXj6V.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-8yMqZqF2.js"), "../../Contract/language/lt-LT.json": () => import("./lt-LT-CK0t2AVY.js"), "../../Contract/language/lv-LV.json": () => import("./lv-LV-JvlzK9X-.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-Jhr-ICkK.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-BH6DId3q.js"), "../../Contract/language/pl-PL.json": () => import("./pl-PL-B5c0NNHB.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-4Iozxvfr.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-09L8XznW.js"), "../../Contract/language/ro-RO.json": () => import("./ro-RO-D7-7tmTR.js"), "../../Contract/language/sk-SK.json": () => import("./sk-SK-D3tsz1Pg.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-Y9h1ht45.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-DFSm22oQ.js") }), `../../Contract/language/${lang}.json`, 5) }
|
|
248
248
|
]);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8dd8ba81-05e1-40ff-8130-ae945a1a8e61", e._sentryDebugIdIdentifier = "sentry-dbid-8dd8ba81-05e1-40ff-8130-ae945a1a8e61");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { lazy } from "preact/compat";
|
|
12
12
|
import { useState } from "preact/hooks";
|
|
13
|
-
import { u as useTranslation,
|
|
14
|
-
import { F as Field } from "./Field-
|
|
15
|
-
import { I as Image } from "./
|
|
16
|
-
import { R as RadioGroupCard } from "./RadioGroupCard-
|
|
17
|
-
import { u as useForm } from "./useForm-
|
|
13
|
+
import { u as useTranslation, O as Typography, W as Button, L as LegalEntityTypes } from "./StoreProvider-x59VMyW0.js";
|
|
14
|
+
import { F as Field } from "./Field-B9sKUtUg.js";
|
|
15
|
+
import { I as Image } from "./unincorporated-partnership-CJz9rbE4.js";
|
|
16
|
+
import { R as RadioGroupCard } from "./RadioGroupCard-Cr8u_mxa.js";
|
|
17
|
+
import { u as useForm } from "./useForm-D1_yiIHz.js";
|
|
18
18
|
const setupAccountMethods = ["singpass", "manual"];
|
|
19
19
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
20
20
|
const singpassLogo = lazy(() => import("./singpass-logo-wY4xsmTX.js"));
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0800fd36-c051-4f62-aec6-2c824c46a333", e._sentryDebugIdIdentifier = "sentry-dbid-0800fd36-c051-4f62-aec6-2c824c46a333");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation,
|
|
10
|
+
import { u as useTranslation, R as useLegalEntity, a as addResourceBundles, V as Loader, a9 as getLegalEntityCountry, y as TaskTypes, w as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-x59VMyW0.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
14
|
-
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-
|
|
13
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-D3HpaFZB.js";
|
|
14
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-vd45u1iE.js";
|
|
15
15
|
function SoleProprietorshipPage({
|
|
16
16
|
solePropId,
|
|
17
17
|
onSubmit,
|
|
@@ -2,50 +2,49 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a68e553d-8049-41c0-8eb0-1a5d3443e121", e._sentryDebugIdIdentifier = "sentry-dbid-a68e553d-8049-41c0-8eb0-1a5d3443e121");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext,
|
|
10
|
+
import { b as useApiContext, h as httpPost, j as httpGet, u as useTranslation, O as Typography, G as Alert, W as Button, ac as translateTranslatable, V as Loader, B as Icon, C as IconButton, Z as TASK_STATUS_POLLING_INTERVAL_MS, aB as Header, P as StackLayout, m as createLogger, R as useLegalEntity, U as ROOT_LE, z as useAnalyticsContext, bS as useLegalEntities, a as addResourceBundles, w as EntityTypes, a9 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-x59VMyW0.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-D3HpaFZB.js";
|
|
13
13
|
import { useState, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
14
|
-
import {
|
|
14
|
+
import { f as useTaskStatus, j as useBusinessLines } from "./OnboardingDropinComponent-Cd1FysjN.js";
|
|
15
15
|
import { useMutation, useQuery, useQueryClient } from "@tanstack/preact-query";
|
|
16
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
17
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
18
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
19
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
20
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
21
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
22
|
-
import { c as createDocumentRequest, d as documentApiUtils } from "./validate-
|
|
16
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-CisUtg-6.js";
|
|
17
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-BhYUiCc8.js";
|
|
18
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DOKoyNaq.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DnlTEqkz.js";
|
|
20
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DQpXPqk2.js";
|
|
21
|
+
import { u as useMultiForm } from "./useMultiForm-DiDABOlp.js";
|
|
22
|
+
import { c as createDocumentRequest, d as documentApiUtils } from "./validate-rilJfP0Q.js";
|
|
23
23
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
24
24
|
import { signal } from "@preact/signals";
|
|
25
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
26
|
-
import { c as createFormUtils } from "./formUtils-
|
|
27
|
-
import { F as Field } from "./Field-
|
|
28
|
-
import { S as Select } from "./Select-
|
|
29
|
-
import { T as TextArea } from "./TextArea-
|
|
30
|
-
import { I as InputDate } from "./InputDate-
|
|
25
|
+
import { E as ErrorPanel } from "./ErrorPanel-DDVrYUpJ.js";
|
|
26
|
+
import { c as createFormUtils } from "./formUtils-A6oBRG3L.js";
|
|
27
|
+
import { F as Field } from "./Field-B9sKUtUg.js";
|
|
28
|
+
import { S as Select } from "./Select-BJOovb_D.js";
|
|
29
|
+
import { T as TextArea } from "./TextArea-BXoK80OY.js";
|
|
30
|
+
import { I as InputDate } from "./InputDate-BaGnhAVf.js";
|
|
31
31
|
import { I as InputGroup } from "./InputGroup-WBfGDV5F.js";
|
|
32
|
-
import { I as InputText } from "./InputText-
|
|
33
|
-
import { a as allowedCurrencies, T as TODAY_DATE, b as formatDateForInput, S as SOF_CHARACTERS_LIMIT, g as getInputErrors, c as formatAmountWithCurrency, s as sofCategoryItemMapper, d as getPageHeadings, e as getServiceTranslationSelectTitle, h as getSofCardDetails, i as getGettingStartedCardDetails, j as getAdditionalDataSchemaKeys, k as getServiceTranslation, p as parseSOFDocumentDescription, l as getRelevantErrors, m as getUniqueRemediationActions, n as SOF_INVALID_INPUT_ERROR_CODES, o as getServiceTranslationKey, q as getDocumentRequirements, r as getDocumentLists, t as getSourceOfFundsRequiredFields, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getSourceOfFundsRequiredForms, w as getSourceOfFundsPayload, A as ALLOWED_SOF_SERVICES, x as parseSofOriginatorPayload } from "./utils-
|
|
34
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
35
|
-
import { C as CountryField } from "./CountryField-
|
|
36
|
-
import { A as Avatar } from "./Avatar-
|
|
37
|
-
import { M as Modal } from "./Modal-
|
|
38
|
-
import { C as Confirm } from "./Confirm-
|
|
39
|
-
import { T as TileGroup } from "./TileGroup-
|
|
32
|
+
import { I as InputText } from "./InputText-D0_rMV9x.js";
|
|
33
|
+
import { a as allowedCurrencies, T as TODAY_DATE, b as formatDateForInput, S as SOF_CHARACTERS_LIMIT, g as getInputErrors, c as formatAmountWithCurrency, s as sofCategoryItemMapper, d as getPageHeadings, e as getServiceTranslationSelectTitle, h as getSofCardDetails, i as getGettingStartedCardDetails, j as getAdditionalDataSchemaKeys, k as getServiceTranslation, p as parseSOFDocumentDescription, l as getRelevantErrors, m as getUniqueRemediationActions, n as SOF_INVALID_INPUT_ERROR_CODES, o as getServiceTranslationKey, q as getDocumentRequirements, r as getDocumentLists, t as getSourceOfFundsRequiredFields, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getSourceOfFundsRequiredForms, w as getSourceOfFundsPayload, A as ALLOWED_SOF_SERVICES, x as parseSofOriginatorPayload } from "./utils-9BXmcrcz.js";
|
|
34
|
+
import { R as RadioGroup } from "./RadioGroup-DxGcH0In.js";
|
|
35
|
+
import { C as CountryField } from "./CountryField-Dp6hXPqK.js";
|
|
36
|
+
import { A as Avatar } from "./Avatar-Cw6tLao7.js";
|
|
37
|
+
import { M as Modal } from "./Modal-l3FZFwDQ.js";
|
|
38
|
+
import { C as Confirm } from "./Confirm-BX6xGJJV.js";
|
|
39
|
+
import { T as TileGroup } from "./TileGroup-CD6DoIe_.js";
|
|
40
40
|
import { lazy } from "preact/compat";
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import { i as isEmpty } from "./isEmpty-BNrK3WJw.js";
|
|
41
|
+
import { I as Image } from "./unincorporated-partnership-CJz9rbE4.js";
|
|
42
|
+
import { L as LandingLayout } from "./LandingLayout-B9DjLl1D.js";
|
|
43
|
+
import { i as isEmpty } from "./isEmpty-C2vBRvpQ.js";
|
|
45
44
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
46
|
-
import { S as StructuredList } from "./StructuredList-
|
|
47
|
-
import { D as Dropzone } from "./Dropzone-
|
|
48
|
-
import { v as validateDateNotInTheFuture } from "./validate-
|
|
45
|
+
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
46
|
+
import { D as Dropzone } from "./Dropzone-CLoB_3-q.js";
|
|
47
|
+
import { v as validateDateNotInTheFuture } from "./validate-BX1lu4X-.js";
|
|
49
48
|
const updateSourceOfFunds = async (businessLineId, legalEntityId, baseUrl, data) => {
|
|
50
49
|
return httpPost(
|
|
51
50
|
{
|
|
@@ -1038,8 +1037,8 @@ function AdditionalDataForThirdParty(props) {
|
|
|
1038
1037
|
const [activeFinancier, setActiveFinancier] = useState();
|
|
1039
1038
|
const [activeIndex, setActiveIndex] = useState();
|
|
1040
1039
|
const { data, fieldProblems, errors, handleChangeFor, formUtils, valid } = props;
|
|
1040
|
+
const { t: commonT } = useTranslation("common");
|
|
1041
1041
|
const { t: sofT } = useTranslation("sof");
|
|
1042
|
-
const { i18n } = useI18nContext();
|
|
1043
1042
|
const handleToggleFinancierModal = () => {
|
|
1044
1043
|
setActiveFinancier(void 0);
|
|
1045
1044
|
setActiveIndex(void 0);
|
|
@@ -1080,13 +1079,12 @@ function AdditionalDataForThirdParty(props) {
|
|
|
1080
1079
|
};
|
|
1081
1080
|
handleChangeFor("financiers")(financierEvent);
|
|
1082
1081
|
};
|
|
1082
|
+
const errorMessage = formUtils.getErrorMessage("financiers", errors, fieldProblems);
|
|
1083
1083
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1084
1084
|
errors.financiers && !valid.financiers && /* @__PURE__ */ jsx(
|
|
1085
1085
|
Alert,
|
|
1086
1086
|
{
|
|
1087
|
-
title:
|
|
1088
|
-
formUtils.getErrorMessage("financiers", errors, fieldProblems)
|
|
1089
|
-
),
|
|
1087
|
+
title: typeof errorMessage == "boolean" ? void 0 : translateTranslatable(commonT, errorMessage),
|
|
1090
1088
|
variant: "error",
|
|
1091
1089
|
className: styles.sourceOfFundsSofFinancierFormError,
|
|
1092
1090
|
children: sofT(($) => $["addAtLeastOneInvestor"])
|
|
@@ -1208,7 +1206,6 @@ function SourceOfFundsAdditionalData(props) {
|
|
|
1208
1206
|
}
|
|
1209
1207
|
function SourceOfFundsType(props) {
|
|
1210
1208
|
const { t } = useTranslation(["common", "sof"]);
|
|
1211
|
-
const { i18n } = useI18nContext();
|
|
1212
1209
|
const {
|
|
1213
1210
|
data: formData,
|
|
1214
1211
|
categories,
|
|
@@ -1237,7 +1234,7 @@ function SourceOfFundsType(props) {
|
|
|
1237
1234
|
{
|
|
1238
1235
|
name: "type",
|
|
1239
1236
|
tiles: categoryItems,
|
|
1240
|
-
errorMessage: typeof errorMessage !== "boolean" ?
|
|
1237
|
+
errorMessage: typeof errorMessage !== "boolean" ? translateTranslatable(t, errorMessage) : errorMessage,
|
|
1241
1238
|
selected: formData?.type ? formData.type : [],
|
|
1242
1239
|
onChange: handleFieldChange("type", "input")
|
|
1243
1240
|
}
|
|
@@ -1374,7 +1371,6 @@ const SourceOfFundsGettingStarted = ({
|
|
|
1374
1371
|
}) => {
|
|
1375
1372
|
const { t: sofT } = useTranslation("sof");
|
|
1376
1373
|
const { t: commonT } = useTranslation("common");
|
|
1377
|
-
const { i18n } = useI18nContext();
|
|
1378
1374
|
const hasSourceOfFunds = businessLines?.some(
|
|
1379
1375
|
(businessLine) => !isEmpty(businessLine.sourceOfFunds)
|
|
1380
1376
|
);
|
|
@@ -1445,7 +1441,7 @@ const SourceOfFundsGettingStarted = ({
|
|
|
1445
1441
|
);
|
|
1446
1442
|
});
|
|
1447
1443
|
},
|
|
1448
|
-
[handleSourceOfFundsClick,
|
|
1444
|
+
[handleSourceOfFundsClick, sofDocuments]
|
|
1449
1445
|
);
|
|
1450
1446
|
const errorObjects = useMemo(
|
|
1451
1447
|
() => getRelevantErrors(problems, SOF_INVALID_INPUT_ERROR_CODES),
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5d0bfbbc-2e63-463f-9715-576f8980eec9", e._sentryDebugIdIdentifier = "sentry-dbid-5d0bfbbc-2e63-463f-9715-576f8980eec9");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { u as useTranslation,
|
|
12
|
+
import { u as useTranslation, O as Typography } from "./StoreProvider-x59VMyW0.js";
|
|
13
13
|
const range = (stop, start = 0, step = 1) => Array.from({ length: (stop - start) / step + 1 }, (_, i) => start + i * step);
|
|
14
14
|
const progressBar = "adyen-kyc-progress-bar";
|
|
15
15
|
const progressBarThick = "adyen-kyc-progress-bar-thick";
|