@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
|
@@ -2,70 +2,67 @@
|
|
|
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] = "774fb8ff-5773-4d85-8e3d-0c4422322ecc", e._sentryDebugIdIdentifier = "sentry-dbid-774fb8ff-5773-4d85-8e3d-0c4422322ecc");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { signal } from "@preact/signals";
|
|
12
12
|
import { useQuery, useMutation, useQueryClient, skipToken } from "@tanstack/preact-query";
|
|
13
13
|
import { useState, useEffect, useRef, useMemo, useCallback, useContext } from "preact/hooks";
|
|
14
|
-
import { b as useApiContext,
|
|
15
|
-
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-
|
|
16
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
17
|
-
import { E as ExperimentNames } from "./types-
|
|
14
|
+
import { b as useApiContext, h as httpPost, j as httpGet, m as createLogger, aa as CountryCodes, u as useTranslation, z as useAnalyticsContext, B as Icon, O as Typography, W as Button, L as LegalEntityTypes, ah as objectsDeepEqual, J as useExperimentsContext, b2 as doArraysMatch, aB as Header, P as StackLayout, ax as isEmpty, b3 as getSdkToken, G as Alert, ac as translateTranslatable, r as hasOwnEntityAssociationOfType, v as useAccountHolder, k as useSettingsContext, a9 as getLegalEntityCountry, aQ as Trans, b4 as EEA_Countries, ap as useDataset, aq as datasetIdentifier, b5 as isAccountIdentifierObscured, b6 as hasEmptyFields, b7 as extractFieldName, b8 as concatenateFieldNames, aS as keysOf, ak as getCapabilityProblems, y as TaskTypes, an as cloneObject, am as datasetUtilities } from "./StoreProvider-OuIcrYXq.js";
|
|
15
|
+
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-DC5rCBeC.js";
|
|
16
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-BrMjOh8d.js";
|
|
17
|
+
import { E as ExperimentNames } from "./types-DP1DvIeR.js";
|
|
18
18
|
import { S as SettingNames } from "./types-CQ2p58-6.js";
|
|
19
|
-
import { u as useGlobalDataSlice, a as useGlobalData, b as useResetGlobalData, c as useStateContext } from "./useGlobalData-
|
|
20
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
21
|
-
import { a as augmentWithCountryConfigs, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
22
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
23
|
-
import { D as DocumentGuidance, A as AdyenKycSdkError, u as uppercase, p as payoutAccountFormat, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration, c as useUnifyLoadingStatus } from "./mapExistingFile-
|
|
24
|
-
import { C as Confirm } from "./Confirm-
|
|
25
|
-
import { c as currencyByCountry } from "./types-
|
|
26
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
27
|
-
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-
|
|
19
|
+
import { u as useGlobalDataSlice, a as useGlobalData, b as useResetGlobalData, c as useStateContext } from "./useGlobalData-Byz86Dwm.js";
|
|
20
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-B6kjomhG.js";
|
|
21
|
+
import { a as augmentWithCountryConfigs, g as getPropsFromConfigurations } from "./process-field-configurations-BLwIIYnH.js";
|
|
22
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BIMKuwjT.js";
|
|
23
|
+
import { D as DocumentGuidance, A as AdyenKycSdkError, u as uppercase, p as payoutAccountFormat, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration, c as useUnifyLoadingStatus } from "./mapExistingFile-CqGVkBAW.js";
|
|
24
|
+
import { C as Confirm } from "./Confirm-DCXKUVXM.js";
|
|
25
|
+
import { c as currencyByCountry } from "./types-C-ztKw54.js";
|
|
26
|
+
import { F as FormWrapper } from "./FormWrapper-HYumfmvK.js";
|
|
27
|
+
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-YeKQde9b.js";
|
|
28
28
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
29
|
-
import { D as DropzoneFile, e as bytesToSize, f as defaultFileValidationOptions, h as fileValidationRules, S as StateContextSetter, i as fileToBase64, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getFileExtention } from "./validate-
|
|
30
|
-
import { g as getLegalEntityNameBasedOnType, b as getPayoutAccountHolderName } from "./getName-
|
|
31
|
-
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-
|
|
29
|
+
import { D as DropzoneFile, e as bytesToSize, f as defaultFileValidationOptions, h as fileValidationRules, S as StateContextSetter, i as fileToBase64, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getFileExtention } from "./validate-QeOupYto.js";
|
|
30
|
+
import { g as getLegalEntityNameBasedOnType, b as getPayoutAccountHolderName } from "./getName-B38W_qUJ.js";
|
|
31
|
+
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-CjQFGMKX.js";
|
|
32
32
|
import { Show } from "@preact/signals/utils";
|
|
33
|
-
import { s as summaryStep } from "./Summary-
|
|
33
|
+
import { s as summaryStep } from "./Summary-BdZCrtmA.js";
|
|
34
34
|
import { g as getFieldProps, a as getFormProps } from "./getProps-Cc3J2-z9.js";
|
|
35
|
-
import { useParams } from "wouter-preact";
|
|
36
|
-
import { u as useNavigate } from "./useNavigate-BXyVMJUH.js";
|
|
37
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-B2aPSiz5.js";
|
|
38
35
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
39
36
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
40
37
|
import cx from "classnames";
|
|
41
38
|
import { memo, useRef as useRef$1, useState as useState$1, useMemo as useMemo$1, useEffect as useEffect$1, lazy } from "preact/compat";
|
|
42
|
-
import { F as Field } from "./Field-
|
|
43
|
-
import { S as Select } from "./Select-
|
|
44
|
-
import { T as TextArea } from "./TextArea-
|
|
45
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
46
|
-
import { u as useForm } from "./useForm-
|
|
47
|
-
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-
|
|
48
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
49
|
-
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-
|
|
39
|
+
import { F as Field } from "./Field-nIoNNk_N.js";
|
|
40
|
+
import { S as Select } from "./Select-C90SXgWt.js";
|
|
41
|
+
import { T as TextArea } from "./TextArea-DggFRd6A.js";
|
|
42
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-ucvdLTGT.js";
|
|
43
|
+
import { u as useForm } from "./useForm-DQH4mGUZ.js";
|
|
44
|
+
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-DFI414tD.js";
|
|
45
|
+
import { E as ErrorPanel } from "./ErrorPanel-Bsb874-e.js";
|
|
46
|
+
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-BFUZHoQZ.js";
|
|
50
47
|
import { b as bankStatementDescriptionPattern } from "./basePatterns-BwdnMQxI.js";
|
|
51
|
-
import { M as Modal } from "./Modal-
|
|
52
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
48
|
+
import { M as Modal } from "./Modal-DFCycX68.js";
|
|
49
|
+
import { E as EndStateLayout } from "./EndStateLayout-C63kFcwB.js";
|
|
53
50
|
import { createContext } from "preact";
|
|
54
|
-
import { A as ActionBar } from "./ActionBar-
|
|
51
|
+
import { A as ActionBar } from "./ActionBar-CNo6TTyu.js";
|
|
55
52
|
import OpenBankingSDK from "@adyen/openbankingsdk";
|
|
56
|
-
import { m as makeMask, n as numericInputs, a as nonInputs, s as spacer, c as customInputs, M as MaskedInput, d as alphanumericInputs, b as alphaInputs } from "./MaskedInput-
|
|
53
|
+
import { m as makeMask, n as numericInputs, a as nonInputs, s as spacer, c as customInputs, M as MaskedInput, d as alphanumericInputs, b as alphaInputs } from "./MaskedInput-BcdqJYu3.js";
|
|
57
54
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
58
|
-
import { v as validatePatternOnBlur } from "./patternValidators-
|
|
59
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
60
|
-
import { I as InputText } from "./InputText-
|
|
55
|
+
import { v as validatePatternOnBlur } from "./patternValidators-re9oGFvp.js";
|
|
56
|
+
import { a as isNotEmptyValidator } from "./commonValidators-Bv3KYb4e.js";
|
|
57
|
+
import { I as InputText } from "./InputText-DCNTJXjB.js";
|
|
61
58
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
62
|
-
import { I as Image } from "./
|
|
63
|
-
import { C as CountryField } from "./CountryField-
|
|
59
|
+
import { I as Image } from "./unincorporated-partnership-Hoe7PA91.js";
|
|
60
|
+
import { C as CountryField } from "./CountryField-pShtGZpv.js";
|
|
64
61
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
65
|
-
import { L as Link } from "./Link-
|
|
66
|
-
import { R as RadioGroupCard } from "./RadioGroupCard-
|
|
62
|
+
import { L as Link } from "./Link-B5DpLekJ.js";
|
|
63
|
+
import { R as RadioGroupCard } from "./RadioGroupCard-C6sxs8KI.js";
|
|
67
64
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
68
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
65
|
+
import { C as ContextGuidance } from "./ContextGuidance-BGYRTngC.js";
|
|
69
66
|
const getCheck = async (legalEntityId, baseUrl, data) => {
|
|
70
67
|
return httpPost(
|
|
71
68
|
{
|
|
@@ -358,49 +355,6 @@ const mapPayoutAccountSchemaToApiBankAccount = (payoutAccount, bankCountry, pref
|
|
|
358
355
|
countryCode: bankCountry,
|
|
359
356
|
bankName: payoutAccount.bankName
|
|
360
357
|
});
|
|
361
|
-
const showPayoutVerificationMethodError = signal(false);
|
|
362
|
-
function PayoutDetailsPage({
|
|
363
|
-
transferInstrumentId: transferInstrumentIdProp,
|
|
364
|
-
setTransferInstrumentId: setTransferInstrumentIdProp,
|
|
365
|
-
taskType,
|
|
366
|
-
openBankingPartnerConfigId,
|
|
367
|
-
onSubmit,
|
|
368
|
-
handleHomeClick
|
|
369
|
-
}) {
|
|
370
|
-
const routeParams = useParams();
|
|
371
|
-
const navigate = useNavigate();
|
|
372
|
-
const transferInstrumentId = transferInstrumentIdProp ?? routeParams.transferInstrumentId;
|
|
373
|
-
const setTransferInstrumentId = setTransferInstrumentIdProp ?? ((id) => navigate.replace(taskType, { transferInstrumentId: id }));
|
|
374
|
-
const { i18n } = useTranslation();
|
|
375
|
-
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
376
|
-
const capabilityProblems = useCapabilityProblems();
|
|
377
|
-
addResourceBundles(i18n, [
|
|
378
|
-
{ ns: "banking", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-DyX-yYYI.js"), "../language/cs-CZ.json": () => import("./cs-CZ-BD5bYeuJ.js"), "../language/da-DK.json": () => import("./da-DK-h8DYQ_Iq.js"), "../language/de-DE.json": () => import("./de-DE-LQE_LFFL.js"), "../language/el-GR.json": () => import("./el-GR-DGbzdIL0.js"), "../language/en-US.json": () => import("./en-US-h0JneJJl.js"), "../language/es-ES.json": () => import("./es-ES-DdGmXdxO.js"), "../language/et-EE.json": () => import("./et-EE-D5SNtVsM.js"), "../language/fi-FI.json": () => import("./fi-FI-CIYa9SyS.js"), "../language/fr-FR.json": () => import("./fr-FR-l5z31r7i.js"), "../language/hr-HR.json": () => import("./hr-HR-BtowKWUi.js"), "../language/hu-HU.json": () => import("./hu-HU-MHIPehPS.js"), "../language/it-IT.json": () => import("./it-IT-BAvmkEF8.js"), "../language/ja-JP.json": () => import("./ja-JP-g6VOUGXZ.js"), "../language/lt-LT.json": () => import("./lt-LT-DDs3ngzd.js"), "../language/lv-LV.json": () => import("./lv-LV-CmB2-IO5.js"), "../language/nl-NL.json": () => import("./nl-NL-DV4NqPVW.js"), "../language/no-NO.json": () => import("./no-NO-B9618F4_.js"), "../language/pl-PL.json": () => import("./pl-PL-DqzUSnFK.js"), "../language/pt-BR.json": () => import("./pt-BR-zuqB_CBf.js"), "../language/pt-PT.json": () => import("./pt-PT-CFY1O_K0.js"), "../language/ro-RO.json": () => import("./ro-RO-7CJ4F5iB.js"), "../language/sk-SK.json": () => import("./sk-SK-DubwJifw.js"), "../language/sl-SI.json": () => import("./sl-SI-59OQIZ3f.js"), "../language/sv-SE.json": () => import("./sv-SE-CQWBP7n1.js") }), `../language/${lang}.json`, 3) }
|
|
379
|
-
]);
|
|
380
|
-
if (!rootLe) {
|
|
381
|
-
return /* @__PURE__ */ jsx(Loader, {});
|
|
382
|
-
}
|
|
383
|
-
const problems = capabilityProblems && transferInstrumentId ? getProblemsForEntity(capabilityProblems, EntityTypes.BANK_ACCOUNT, transferInstrumentId) : void 0;
|
|
384
|
-
return /* @__PURE__ */ jsx(
|
|
385
|
-
PayoutDetailsDropin,
|
|
386
|
-
{
|
|
387
|
-
taskType,
|
|
388
|
-
currentTransferInstrumentId: transferInstrumentId,
|
|
389
|
-
setCurrentTransferInstrumentId: setTransferInstrumentId,
|
|
390
|
-
legalEntityResponse: rootLe,
|
|
391
|
-
problems,
|
|
392
|
-
onSubmit,
|
|
393
|
-
handleHomeClick,
|
|
394
|
-
navigateBackToTaskList: handleHomeClick,
|
|
395
|
-
openBankingPartnerConfigId
|
|
396
|
-
}
|
|
397
|
-
);
|
|
398
|
-
}
|
|
399
|
-
const PayoutDetailsPage$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
400
|
-
__proto__: null,
|
|
401
|
-
PayoutDetailsPage,
|
|
402
|
-
showPayoutVerificationMethodError
|
|
403
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
404
358
|
const validateDocument = async (context, document2) => {
|
|
405
359
|
const { baseUrl, rootLegalEntityId } = context;
|
|
406
360
|
return httpPost(
|
|
@@ -2439,7 +2393,7 @@ const defaultFieldConfig$1 = {
|
|
|
2439
2393
|
},
|
|
2440
2394
|
[CountryCodes.Sweden]: {
|
|
2441
2395
|
label: "branchCode",
|
|
2442
|
-
validators: validatePatternOnBlur(
|
|
2396
|
+
validators: validatePatternOnBlur(/^(\d{4}|8\d{4})$/),
|
|
2443
2397
|
mask: {
|
|
2444
2398
|
mask: makeMask(
|
|
2445
2399
|
...numericInputs(4),
|
|
@@ -2448,11 +2402,11 @@ const defaultFieldConfig$1 = {
|
|
|
2448
2402
|
)
|
|
2449
2403
|
},
|
|
2450
2404
|
guidanceText: {
|
|
2451
|
-
key: "
|
|
2405
|
+
key: "enterXOrYDigitsForExample",
|
|
2452
2406
|
values: {
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
example: "5678 or
|
|
2407
|
+
xDigits: "4",
|
|
2408
|
+
yDigits: "5",
|
|
2409
|
+
example: "5678 or 8635-2"
|
|
2456
2410
|
}
|
|
2457
2411
|
}
|
|
2458
2412
|
},
|
|
@@ -3580,8 +3534,7 @@ const PayoutVerificationMethodOptionCard = ({
|
|
|
3580
3534
|
payoutVerificationMethod,
|
|
3581
3535
|
methodsMetadata,
|
|
3582
3536
|
bankInfoValidated,
|
|
3583
|
-
instantVerificationAvailable
|
|
3584
|
-
enabledUnbiasedSelectionOnCardClick
|
|
3537
|
+
instantVerificationAvailable
|
|
3585
3538
|
}) => {
|
|
3586
3539
|
const isInstantVerificationCard = payoutMethod === "instantVerification";
|
|
3587
3540
|
const isCardDisabled = bankInfoValidated || isInstantVerificationCard && !instantVerificationAvailable;
|
|
@@ -3590,7 +3543,7 @@ const PayoutVerificationMethodOptionCard = ({
|
|
|
3590
3543
|
{
|
|
3591
3544
|
onClick: () => selectVerificationMethod(payoutMethod),
|
|
3592
3545
|
disabled: isCardDisabled,
|
|
3593
|
-
selected:
|
|
3546
|
+
selected: payoutMethod === payoutVerificationMethod,
|
|
3594
3547
|
padding: "none",
|
|
3595
3548
|
children: /* @__PURE__ */ jsxs(
|
|
3596
3549
|
"div",
|
|
@@ -3662,13 +3615,6 @@ function PayoutVerificationMethod(props) {
|
|
|
3662
3615
|
const intraRegionCrossBorderPayoutsAllowed = isSettingEnabled(
|
|
3663
3616
|
SettingNames.AllowIntraRegionCrossBorderPayout
|
|
3664
3617
|
);
|
|
3665
|
-
const enabledUnbiasedSelectionOnCardClick = isExperimentEnabled(
|
|
3666
|
-
ExperimentNames.BankVerificationMethodAutonomy_UnbiasedSelectionOnCardClick
|
|
3667
|
-
);
|
|
3668
|
-
const enabledUnbiasedSelectionOnContinue = isExperimentEnabled(
|
|
3669
|
-
ExperimentNames.BankVerificationMethodAutonomy_UnbiasedSelectionOnContinue
|
|
3670
|
-
);
|
|
3671
|
-
const enabledUnbiasedVerificationMethod = enabledUnbiasedSelectionOnCardClick || enabledUnbiasedSelectionOnContinue;
|
|
3672
3618
|
const [hasSelectedMethod, setHasSelectedMethod] = useState(false);
|
|
3673
3619
|
const { handleChangeFor, data, valid, errors, fieldProblems } = useForm({
|
|
3674
3620
|
...props,
|
|
@@ -3682,7 +3628,7 @@ function PayoutVerificationMethod(props) {
|
|
|
3682
3628
|
rules: validators || {
|
|
3683
3629
|
payoutVerificationMethod: {
|
|
3684
3630
|
modes: ["blur"],
|
|
3685
|
-
validate: (payoutVerificationMethod) =>
|
|
3631
|
+
validate: (payoutVerificationMethod) => !!payoutVerificationMethod
|
|
3686
3632
|
}
|
|
3687
3633
|
},
|
|
3688
3634
|
fieldProblems: fieldValidationErrors
|
|
@@ -3720,7 +3666,7 @@ function PayoutVerificationMethod(props) {
|
|
|
3720
3666
|
handleChangeFor("payoutVerificationMethod")(method);
|
|
3721
3667
|
};
|
|
3722
3668
|
useEffect(() => {
|
|
3723
|
-
if (bankInfoValidated
|
|
3669
|
+
if (bankInfoValidated) return;
|
|
3724
3670
|
if (!hasSelectedMethod && instantVerificationAvailable && data.payoutVerificationMethod !== "instantVerification") {
|
|
3725
3671
|
handleChangeFor("payoutVerificationMethod")("instantVerification");
|
|
3726
3672
|
}
|
|
@@ -3802,8 +3748,7 @@ function PayoutVerificationMethod(props) {
|
|
|
3802
3748
|
methodsMetadata,
|
|
3803
3749
|
payoutVerificationMethod: data.payoutVerificationMethod,
|
|
3804
3750
|
instantVerificationAvailable,
|
|
3805
|
-
bankInfoValidated
|
|
3806
|
-
enabledUnbiasedSelectionOnCardClick
|
|
3751
|
+
bankInfoValidated
|
|
3807
3752
|
}
|
|
3808
3753
|
),
|
|
3809
3754
|
/* @__PURE__ */ jsx(
|
|
@@ -3814,8 +3759,7 @@ function PayoutVerificationMethod(props) {
|
|
|
3814
3759
|
subtitle: t(($) => $["enterYourAccountsDetailsOnYourOwn"]),
|
|
3815
3760
|
selectVerificationMethod,
|
|
3816
3761
|
methodsMetadata,
|
|
3817
|
-
payoutVerificationMethod: data.payoutVerificationMethod
|
|
3818
|
-
enabledUnbiasedSelectionOnCardClick
|
|
3762
|
+
payoutVerificationMethod: data.payoutVerificationMethod
|
|
3819
3763
|
}
|
|
3820
3764
|
)
|
|
3821
3765
|
] }) : /* @__PURE__ */ jsx(
|
|
@@ -3936,7 +3880,8 @@ function PayoutDetails(props) {
|
|
|
3936
3880
|
accountHolder,
|
|
3937
3881
|
data: propData,
|
|
3938
3882
|
onBack,
|
|
3939
|
-
trustedTransferInstrumentId
|
|
3883
|
+
trustedTransferInstrumentId,
|
|
3884
|
+
setHasAsyncValidationError
|
|
3940
3885
|
} = props;
|
|
3941
3886
|
const [instantVerificationError2, setInstantVerificationError] = useInstantVerificationErrorNotification(1e4);
|
|
3942
3887
|
const payoutCountryDetailsFormProps = getFormProps(props, PayoutCountryDetailsFormID);
|
|
@@ -3979,11 +3924,13 @@ function PayoutDetails(props) {
|
|
|
3979
3924
|
};
|
|
3980
3925
|
useEffect(() => {
|
|
3981
3926
|
if (validateAccountDetails?.invalidFields && validateAccountDetails.invalidFields.length > 0) {
|
|
3927
|
+
setHasAsyncValidationError?.(true);
|
|
3982
3928
|
const fieldNames = validateAccountDetails.invalidFields.map((field) => extractFieldName(field.name)).map((key) => commonT(($) => $[key]));
|
|
3983
3929
|
const invalidFieldsString = concatenateFieldNames(fieldNames);
|
|
3984
3930
|
setInvalidFieldNames(invalidFieldsString);
|
|
3985
3931
|
setArePayoutAccountDetailsInvalid(true);
|
|
3986
3932
|
} else {
|
|
3933
|
+
setHasAsyncValidationError?.(false);
|
|
3987
3934
|
resetInvalidFieldState();
|
|
3988
3935
|
}
|
|
3989
3936
|
}, [t, validateAccountDetails]);
|
|
@@ -4091,17 +4038,6 @@ function PayoutDetails(props) {
|
|
|
4091
4038
|
}
|
|
4092
4039
|
)
|
|
4093
4040
|
] }) }),
|
|
4094
|
-
/* @__PURE__ */ jsx(Show, { when: showPayoutVerificationMethodError, children: /* @__PURE__ */ jsx(
|
|
4095
|
-
Confirm,
|
|
4096
|
-
{
|
|
4097
|
-
analyticsEventLabel: "payoutVerificationMethodError",
|
|
4098
|
-
title: t(($) => $["toContinuePleaseChooseAVerificationMethod"]),
|
|
4099
|
-
confirmText: commonT(($) => $["ok"]),
|
|
4100
|
-
onConfirm: () => {
|
|
4101
|
-
showPayoutVerificationMethodError.value = false;
|
|
4102
|
-
}
|
|
4103
|
-
}
|
|
4104
|
-
) }),
|
|
4105
4041
|
/* @__PURE__ */ jsx(Show, { when: showInstantVerificationPayoutModal, children: /* @__PURE__ */ jsx(
|
|
4106
4042
|
BankVerification,
|
|
4107
4043
|
{
|
|
@@ -4349,13 +4285,10 @@ const getInvalidFieldsErrorMessage = (errors) => {
|
|
|
4349
4285
|
content: getInvalidFieldsErrorContent(firstInvalidField)
|
|
4350
4286
|
};
|
|
4351
4287
|
};
|
|
4352
|
-
const getPayoutVerificationMethod = (transferInstrument, instantVerificationEnabled
|
|
4288
|
+
const getPayoutVerificationMethod = (transferInstrument, instantVerificationEnabled) => {
|
|
4353
4289
|
if (transferInstrument) {
|
|
4354
4290
|
return "manualVerification";
|
|
4355
4291
|
} else {
|
|
4356
|
-
if (enabledUnbiasedVerificationMethod && isVerificationMethodPageVisible) {
|
|
4357
|
-
return void 0;
|
|
4358
|
-
}
|
|
4359
4292
|
return instantVerificationEnabled ? "instantVerification" : "manualVerification";
|
|
4360
4293
|
}
|
|
4361
4294
|
};
|
|
@@ -4405,10 +4338,6 @@ function PayoutDetailsDropin({
|
|
|
4405
4338
|
);
|
|
4406
4339
|
const [documents, setDocuments] = useState();
|
|
4407
4340
|
const [isCaasCalled, setIsCaasCalled] = useState(false);
|
|
4408
|
-
const enabledUnbiasedSelectionOnCardClick = isExperimentEnabled(
|
|
4409
|
-
ExperimentNames.BankVerificationMethodAutonomy_UnbiasedSelectionOnCardClick
|
|
4410
|
-
);
|
|
4411
|
-
const enabledUnbiasedVerificationMethod = enabledUnbiasedSelectionOnCardClick || isExperimentEnabled(ExperimentNames.BankVerificationMethodAutonomy_UnbiasedSelectionOnContinue);
|
|
4412
4341
|
const isPayoutVerificationMethodPageRedesignEnabled = isExperimentEnabled(
|
|
4413
4342
|
ExperimentNames.EnablePayoutVerificationMethodPageRedesign
|
|
4414
4343
|
);
|
|
@@ -4433,9 +4362,7 @@ function PayoutDetailsDropin({
|
|
|
4433
4362
|
payoutVerificationMethod: {
|
|
4434
4363
|
payoutVerificationMethod: getPayoutVerificationMethod(
|
|
4435
4364
|
transferInstrument,
|
|
4436
|
-
instantVerificationEnabled
|
|
4437
|
-
enabledUnbiasedVerificationMethod,
|
|
4438
|
-
!transferInstrument && (instantVerificationEnabled || isSettingEnabled(SettingNames.AllowIntraRegionCrossBorderPayout))
|
|
4365
|
+
instantVerificationEnabled
|
|
4439
4366
|
),
|
|
4440
4367
|
bankCountry: defaultPayoutCountry,
|
|
4441
4368
|
...existingPayoutDetails?.payoutVerificationMethod
|
|
@@ -4467,6 +4394,7 @@ function PayoutDetailsDropin({
|
|
|
4467
4394
|
const [accountDetailsFromInput, setAccountDetailsFromInput] = useState(
|
|
4468
4395
|
prefilledData.payoutAccountDetails
|
|
4469
4396
|
);
|
|
4397
|
+
const [hasAsyncValidationError, setHasAsyncValidationError] = useState(false);
|
|
4470
4398
|
const isMaskedBankAccountNumber = data.payoutAccountDetails?.bankAccountNumber?.includes("*") || data.payoutAccountDetails?.iban?.includes("*");
|
|
4471
4399
|
const existingBankAccountFormat = transferInstrument ? transferInstrument?.bankAccount?.accountIdentification?.type === "numberAndBic" ? "numberAndBic" : existingPayoutDetails?.payoutAccountDetails?.iban ? "iban" : "local" : void 0;
|
|
4472
4400
|
useEffect(() => {
|
|
@@ -4583,8 +4511,9 @@ function PayoutDetailsDropin({
|
|
|
4583
4511
|
derivedProps?.requiredFields,
|
|
4584
4512
|
derivedProps?.optionalFields
|
|
4585
4513
|
);
|
|
4586
|
-
|
|
4587
|
-
|
|
4514
|
+
const adjustedFormValidity = hasAsyncValidationError ? { ...formValidity, payoutAccountDetails: false } : formValidity;
|
|
4515
|
+
return addValidityToForms(requiredForms, adjustedFormValidity, problems);
|
|
4516
|
+
}, [derivedProps, formValidity, hasAsyncValidationError, problems, payoutDetailsSteps]);
|
|
4588
4517
|
useEffect(() => {
|
|
4589
4518
|
if (!transferInstrument?.documentDetails?.length) return;
|
|
4590
4519
|
if (transferInstrument.id) {
|
|
@@ -4829,10 +4758,6 @@ function PayoutDetailsDropin({
|
|
|
4829
4758
|
return;
|
|
4830
4759
|
}
|
|
4831
4760
|
}
|
|
4832
|
-
if (activeForm.formId === "payoutVerificationMethod" && !data?.payoutVerificationMethod?.payoutVerificationMethod && !enabledUnbiasedSelectionOnCardClick) {
|
|
4833
|
-
showPayoutVerificationMethodError.value = true;
|
|
4834
|
-
return;
|
|
4835
|
-
}
|
|
4836
4761
|
if (activeForm.formId === "payoutAccountDetails" && activeForm.isValid && data.payoutAccountDetails && !isMaskedBankAccountNumber) {
|
|
4837
4762
|
try {
|
|
4838
4763
|
const { data: response } = await refetchCheckAsAService();
|
|
@@ -4861,34 +4786,6 @@ function PayoutDetailsDropin({
|
|
|
4861
4786
|
const { header: invalidFieldHeader, content: invalidFieldContent } = getInvalidFieldsErrorMessage(
|
|
4862
4787
|
checkAsAServiceResultErrors ?? []
|
|
4863
4788
|
);
|
|
4864
|
-
const prevPayoutVerificationMethodRef = useRef(
|
|
4865
|
-
data.payoutVerificationMethod?.payoutVerificationMethod
|
|
4866
|
-
);
|
|
4867
|
-
useEffect(() => {
|
|
4868
|
-
const payoutVerificationMethod = data.payoutVerificationMethod?.payoutVerificationMethod;
|
|
4869
|
-
if (payoutVerificationMethod && enabledUnbiasedSelectionOnCardClick && payoutVerificationMethod !== prevPayoutVerificationMethodRef.current && activeForm.formId === "payoutVerificationMethod") {
|
|
4870
|
-
prevPayoutVerificationMethodRef.current = payoutVerificationMethod;
|
|
4871
|
-
handleFormNextClick();
|
|
4872
|
-
}
|
|
4873
|
-
}, [
|
|
4874
|
-
data.payoutVerificationMethod?.payoutVerificationMethod,
|
|
4875
|
-
enabledUnbiasedSelectionOnCardClick,
|
|
4876
|
-
handleFormNextClick,
|
|
4877
|
-
activeForm.formId
|
|
4878
|
-
]);
|
|
4879
|
-
const handleFormBackClick = () => {
|
|
4880
|
-
if (activeForm.formId === "payoutAccountDetails" && enabledUnbiasedSelectionOnCardClick) {
|
|
4881
|
-
prevPayoutVerificationMethodRef.current = void 0;
|
|
4882
|
-
setData((prevData) => ({
|
|
4883
|
-
...prevData,
|
|
4884
|
-
payoutVerificationMethod: prevData.payoutVerificationMethod ? {
|
|
4885
|
-
...prevData.payoutVerificationMethod,
|
|
4886
|
-
payoutVerificationMethod: void 0
|
|
4887
|
-
} : void 0
|
|
4888
|
-
}));
|
|
4889
|
-
}
|
|
4890
|
-
handleBackClick?.();
|
|
4891
|
-
};
|
|
4892
4789
|
return /* @__PURE__ */ jsxs(
|
|
4893
4790
|
LoaderWrapper,
|
|
4894
4791
|
{
|
|
@@ -4926,7 +4823,7 @@ function PayoutDetailsDropin({
|
|
|
4926
4823
|
summaryEditButton: ["payoutVerificationMethod", "payoutAccountVerification"]
|
|
4927
4824
|
}
|
|
4928
4825
|
},
|
|
4929
|
-
handleBackClick: !isPayoutVerificationMethodPageRedesignEnabled || activeForm.formId !== "summary" ?
|
|
4826
|
+
handleBackClick: !isPayoutVerificationMethodPageRedesignEnabled || activeForm.formId !== "summary" ? handleBackClick : void 0,
|
|
4930
4827
|
handleNextClick: handleFormNextClick,
|
|
4931
4828
|
handleHomeClick,
|
|
4932
4829
|
handleCloseClick,
|
|
@@ -4941,7 +4838,6 @@ function PayoutDetailsDropin({
|
|
|
4941
4838
|
canSubmit: canSubmit(),
|
|
4942
4839
|
problems,
|
|
4943
4840
|
steps,
|
|
4944
|
-
hideNextButton: enabledUnbiasedSelectionOnCardClick && activeForm.formId === "payoutVerificationMethod",
|
|
4945
4841
|
children: (!isTransferInstrumentLoading || isSubmitting) && /* @__PURE__ */ jsx(
|
|
4946
4842
|
PayoutDetails,
|
|
4947
4843
|
{
|
|
@@ -4959,7 +4855,8 @@ function PayoutDetailsDropin({
|
|
|
4959
4855
|
instantVerificationAvailable,
|
|
4960
4856
|
createTrustedTransferInstrument: createTrustedTransferInstrumentHandler,
|
|
4961
4857
|
accountDetailsFromInput,
|
|
4962
|
-
trustedTransferInstrumentId
|
|
4858
|
+
trustedTransferInstrumentId,
|
|
4859
|
+
setHasAsyncValidationError
|
|
4963
4860
|
}
|
|
4964
4861
|
)
|
|
4965
4862
|
}
|
|
@@ -4969,6 +4866,5 @@ function PayoutDetailsDropin({
|
|
|
4969
4866
|
);
|
|
4970
4867
|
}
|
|
4971
4868
|
export {
|
|
4972
|
-
PayoutDetailsDropin as P
|
|
4973
|
-
PayoutDetailsPage$1 as a
|
|
4869
|
+
PayoutDetailsDropin as P
|
|
4974
4870
|
};
|
|
@@ -0,0 +1,55 @@
|
|
|
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] = "2fc52a9b-0ff2-475c-ab05-102a957b3549", e._sentryDebugIdIdentifier = "sentry-dbid-2fc52a9b-0ff2-475c-ab05-102a957b3549");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { u as useTranslation, R as useLegalEntity, U as ROOT_LE, a as addResourceBundles, V as Loader, w as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-OuIcrYXq.js";
|
|
11
|
+
import { jsx } from "preact/jsx-runtime";
|
|
12
|
+
import { useParams } from "wouter-preact";
|
|
13
|
+
import { h as useNavigate } from "./OnboardingDropinComponent-CvE6pJKz.js";
|
|
14
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-1vXQVg7Q.js";
|
|
15
|
+
import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-fP0XOKYY.js";
|
|
16
|
+
function PayoutDetailsPage({
|
|
17
|
+
transferInstrumentId: transferInstrumentIdProp,
|
|
18
|
+
setTransferInstrumentId: setTransferInstrumentIdProp,
|
|
19
|
+
taskType,
|
|
20
|
+
openBankingPartnerConfigId,
|
|
21
|
+
onSubmit,
|
|
22
|
+
handleHomeClick
|
|
23
|
+
}) {
|
|
24
|
+
const routeParams = useParams();
|
|
25
|
+
const navigate = useNavigate();
|
|
26
|
+
const transferInstrumentId = transferInstrumentIdProp ?? routeParams.transferInstrumentId;
|
|
27
|
+
const setTransferInstrumentId = setTransferInstrumentIdProp ?? ((id) => navigate.replace(taskType, { transferInstrumentId: id }));
|
|
28
|
+
const { i18n } = useTranslation();
|
|
29
|
+
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
30
|
+
const capabilityProblems = useCapabilityProblems();
|
|
31
|
+
addResourceBundles(i18n, [
|
|
32
|
+
{ ns: "banking", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-DyX-yYYI.js"), "../language/cs-CZ.json": () => import("./cs-CZ-BD5bYeuJ.js"), "../language/da-DK.json": () => import("./da-DK-h8DYQ_Iq.js"), "../language/de-DE.json": () => import("./de-DE-LQE_LFFL.js"), "../language/el-GR.json": () => import("./el-GR-DGbzdIL0.js"), "../language/en-US.json": () => import("./en-US--1W760fR.js"), "../language/es-ES.json": () => import("./es-ES-DdGmXdxO.js"), "../language/et-EE.json": () => import("./et-EE-D5SNtVsM.js"), "../language/fi-FI.json": () => import("./fi-FI-CIYa9SyS.js"), "../language/fr-FR.json": () => import("./fr-FR-l5z31r7i.js"), "../language/hr-HR.json": () => import("./hr-HR-BtowKWUi.js"), "../language/hu-HU.json": () => import("./hu-HU-MHIPehPS.js"), "../language/it-IT.json": () => import("./it-IT-BAvmkEF8.js"), "../language/ja-JP.json": () => import("./ja-JP-g6VOUGXZ.js"), "../language/lt-LT.json": () => import("./lt-LT-DDs3ngzd.js"), "../language/lv-LV.json": () => import("./lv-LV-CmB2-IO5.js"), "../language/nl-NL.json": () => import("./nl-NL-DV4NqPVW.js"), "../language/no-NO.json": () => import("./no-NO-B9618F4_.js"), "../language/pl-PL.json": () => import("./pl-PL-DqzUSnFK.js"), "../language/pt-BR.json": () => import("./pt-BR-zuqB_CBf.js"), "../language/pt-PT.json": () => import("./pt-PT-CFY1O_K0.js"), "../language/ro-RO.json": () => import("./ro-RO-7CJ4F5iB.js"), "../language/sk-SK.json": () => import("./sk-SK-DubwJifw.js"), "../language/sl-SI.json": () => import("./sl-SI-59OQIZ3f.js"), "../language/sv-SE.json": () => import("./sv-SE-CQWBP7n1.js") }), `../language/${lang}.json`, 3) }
|
|
33
|
+
]);
|
|
34
|
+
if (!rootLe) {
|
|
35
|
+
return /* @__PURE__ */ jsx(Loader, {});
|
|
36
|
+
}
|
|
37
|
+
const problems = capabilityProblems && transferInstrumentId ? getProblemsForEntity(capabilityProblems, EntityTypes.BANK_ACCOUNT, transferInstrumentId) : void 0;
|
|
38
|
+
return /* @__PURE__ */ jsx(
|
|
39
|
+
PayoutDetailsDropin,
|
|
40
|
+
{
|
|
41
|
+
taskType,
|
|
42
|
+
currentTransferInstrumentId: transferInstrumentId,
|
|
43
|
+
setCurrentTransferInstrumentId: setTransferInstrumentId,
|
|
44
|
+
legalEntityResponse: rootLe,
|
|
45
|
+
problems,
|
|
46
|
+
onSubmit,
|
|
47
|
+
handleHomeClick,
|
|
48
|
+
navigateBackToTaskList: handleHomeClick,
|
|
49
|
+
openBankingPartnerConfigId
|
|
50
|
+
}
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
export {
|
|
54
|
+
PayoutDetailsPage
|
|
55
|
+
};
|
|
@@ -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] = "553bff1c-c0a8-4899-90ee-56815324a106", e._sentryDebugIdIdentifier = "sentry-dbid-553bff1c-c0a8-4899-90ee-56815324a106");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { u as useTranslation,
|
|
12
|
+
import { u as useTranslation, z as useAnalyticsContext } from "./StoreProvider-OuIcrYXq.js";
|
|
13
13
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
14
14
|
import { R as Radio } from "./Radio-BMtxBpnn.js";
|
|
15
15
|
const RadioWithLabel = ({
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "22a24aec-081c-4f12-89b8-73918f8a5fe4", e._sentryDebugIdIdentifier = "sentry-dbid-22a24aec-081c-4f12-89b8-73918f8a5fe4");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import {
|
|
11
|
+
import { V as Loader, z as useAnalyticsContext } from "./StoreProvider-OuIcrYXq.js";
|
|
12
12
|
import cx from "classnames";
|
|
13
13
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
14
14
|
import { R as Radio } from "./Radio-BMtxBpnn.js";
|
|
@@ -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] = "f71a31f4-9734-446c-9fe6-3a70bb77d6ba", e._sentryDebugIdIdentifier = "sentry-dbid-f71a31f4-9734-446c-9fe6-3a70bb77d6ba");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
12
|
import { useMutation } from "@tanstack/preact-query";
|
|
13
|
-
import { b as useApiContext,
|
|
14
|
-
import { C as Checkbox } from "./Checkbox-
|
|
15
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
16
|
-
import { u as useToastContext } from "./useToastContext-
|
|
17
|
-
import { A as ActionBar } from "./ActionBar-
|
|
13
|
+
import { b as useApiContext, h as httpPost, u as useTranslation, aB as Header, bE as DropinLayout } from "./StoreProvider-OuIcrYXq.js";
|
|
14
|
+
import { C as Checkbox } from "./Checkbox-DNfOluUb.js";
|
|
15
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-BrMjOh8d.js";
|
|
16
|
+
import { u as useToastContext } from "./useToastContext-B6kjomhG.js";
|
|
17
|
+
import { A as ActionBar } from "./ActionBar-CNo6TTyu.js";
|
|
18
18
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
19
19
|
return httpPost({
|
|
20
20
|
baseUrl,
|
|
@@ -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] = "719e62df-4e10-455f-9cc3-0ab62a7dd338", e._sentryDebugIdIdentifier = "sentry-dbid-719e62df-4e10-455f-9cc3-0ab62a7dd338");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, a as addResourceBundles,
|
|
10
|
+
import { u as useTranslation, a as addResourceBundles, V as Loader, w as EntityTypes, a9 as getLegalEntityCountry, y as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-OuIcrYXq.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
13
|
-
import {
|
|
14
|
-
import { u as useBusinessDetailsData, g as getForms, B as BusinessDetailsDropin } from "./useBusinessDetailsData-
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-1vXQVg7Q.js";
|
|
13
|
+
import { i as filterProblemsByTaskForms } from "./OnboardingDropinComponent-CvE6pJKz.js";
|
|
14
|
+
import { u as useBusinessDetailsData, g as getForms, B as BusinessDetailsDropin } from "./useBusinessDetailsData-CxXKyGeU.js";
|
|
15
15
|
const RootBusinessDetailsPage = ({
|
|
16
16
|
onSubmit,
|
|
17
17
|
handleHomeClick
|