@adyen/kyc-components 3.83.0 → 3.85.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-DuGvxDCD.js → AcceptTermsOfServiceComponent-BW8S5c-F.js} +23 -20
- package/dist/Accordion-CxXXx4Ly.js +88 -0
- package/dist/{AccountSetupRejected-WRvC8Lhx.js → AccountSetupRejected-B0RVdTUw.js} +6 -6
- package/dist/{Address-DzNHaLQd.js → Address-BBHj9Aas.js} +10 -10
- package/dist/{Alert-Ce3pDSUY.js → Alert-Dz_jjJ1E.js} +3 -75
- package/dist/{Avatar-ERL8LlcN.js → Avatar-CCed5bJE.js} +2 -2
- package/dist/{BusinessDetailsDropin-CdWljVO6.js → BusinessDetailsMultiformDropin-B7HHvJeq.js} +2288 -272
- package/dist/BusinessFinancingComponent-D9cn6vVF.js +54 -0
- package/dist/{BusinessFinancingDropin-R940kp66.js → BusinessFinancingDropin-CCci5zHD.js} +185 -125
- package/dist/BusinessFinancingPage-DuRkxp4x.js +46 -0
- package/dist/{BusinessTypeSelectionPage-Dn1P9vc8.js → BusinessTypeSelectionPage-CQvrZNZZ.js} +12 -12
- package/dist/{Card-Cma0bwYR.js → Card-dFm_Z3TI.js} +6 -4
- package/dist/{CountryField-DrB-OFMR.js → CountryField-DunKeW_n.js} +220 -235
- package/dist/CreateIndividualComponent-wFiOsvgz.js +71 -0
- package/dist/CreateTransferInstrumentComponent-B_fQXq70.js +66 -0
- package/dist/{Currency-DD63TDvu.js → Currency-2wpP-9m3.js} +6 -6
- package/dist/{CustomerSupport-Cs9YbnBI.js → CustomerSupport-DyfNEq22.js} +11 -10
- package/dist/{DebugModal-AFNn6VI2.js → DebugModal-BMw5O5pH.js} +128 -42
- package/dist/{DecisionMakerDetailsPage-CUAalT7g.js → DecisionMakerDetailsPage-D-8hNnWf.js} +16 -10
- package/dist/DecisionMakers-DUjAziKs.js +831 -0
- package/dist/Divider-Ckm8Nfyb.js +239 -0
- package/dist/{Dropzone-DXfuqm2D.js → Dropzone-BtTUNjsc.js} +4 -4
- package/dist/{EmbeddedStatus-BjGURjyl.js → EmbeddedStatus-kQRIlMAC.js} +15 -16
- package/dist/{EndStateLayout-BuVgF0ER.js → EndStateLayout-CePzY6oB.js} +2 -2
- package/dist/{FormNavigation-DXaxaf1-.js → FormNavigation-a9y0a0iw.js} +3 -3
- package/dist/Image-TkXLA-UY.js +22 -0
- package/dist/{IndividualOnfidoDropin-fERsTakw.js → IndividualOnfidoDropin-CljBpKM8.js} +256 -401
- package/dist/{InputDate-By5i2Hlf.js → InputDate-DggMbeJG.js} +2 -2
- package/dist/{InputText-CqLs_M75.js → InputText-zem7Kt4i.js} +4 -7
- package/dist/{Introduction-3UWByITz.js → Introduction-DH4Tivyl.js} +4 -5
- package/dist/{JpAddress-C0iTeXx7.js → JpAddress-BEKjE0bR.js} +27 -10
- package/dist/LandingLayout-BLjTVlVb.js +60 -0
- package/dist/{LegalRepresentativeDetailsPage-DSppGGc6.js → LegalRepresentativeDetailsPage-Dny2mD-G.js} +5 -6
- package/dist/{Link-CaxhkJ24.js → Link-BZJgg2rS.js} +2 -2
- package/dist/ListItem-BqBZ36Qn.js +69 -0
- package/dist/ManageIndividualComponent-CHbI_tji.js +46 -0
- package/dist/ManageTermsOfServiceComponent-Dwsmig7o.js +58 -0
- package/dist/{ManageTransferInstrumentComponent-muOE0ZjV.js → ManageTransferInstrumentComponent-Btz3RWc6.js} +17 -17
- package/dist/{MaskedInput-OYLtVOZ6.js → MaskedInput-CSKFmTC0.js} +6 -6
- package/dist/MaybeModal-DraEs2gj.js +25 -0
- package/dist/{Modal-BaaNj5F-.js → Modal-DvB1odWq.js} +2 -2
- package/dist/OnboardingDropinComponent-KKy3000L.js +4274 -0
- package/dist/{PayoutDetailsDropin-DIJbRfg_.js → PayoutDetailsDropin-BFUH8RvF.js} +324 -97
- package/dist/RadioGroup-Br5v8w0a.js +144 -0
- package/dist/{RegistrationAddress-CbElOOZ6.js → RegistrationAddress-CP_kZ9NI.js} +39 -42
- package/dist/{Review-1Y__iPB0.js → Review-4b9BWdsh.js} +9 -8
- package/dist/RootBusinessDetailsPage-DO5202Yd.js +61 -0
- package/dist/{OnboardingDropinComponent-DIf93Tzb.js → RootBusinessLinesPage-D0tGN2u3.js} +866 -5062
- package/dist/{RootIndividualDetailsPage-BVr2fbYb.js → RootIndividualDetailsPage-2c_nvpAv.js} +5 -6
- package/dist/{SignPCIComponent-BcR2vNVB.js → SignPCIComponent-4UrP4tNd.js} +12 -11
- package/dist/{SingpassSelection-DDG-DpRN.js → SingpassSelection-DTOk81Y1.js} +11 -10
- package/dist/SoleProprietorshipPage-BL3u4nCi.js +60 -0
- package/dist/{SourceOfFundsPage-DF3muJcW.js → SourceOfFundsPage-HgGh-VDQ.js} +43 -65
- package/dist/{StepProgressIndicator-BUDjmmPK.js → StepProgressIndicator-sfM13J_b.js} +2 -2
- package/dist/{StoreProvider-DGxWcgrS.js → StoreProvider-DadhkEyO.js} +660 -195
- package/dist/{TaskItemStatus-Clfh9v2q.js → TaskItemStatus-DuJ01Ng6.js} +3 -14
- package/dist/{TaxInformationField-Bu8s2JZA.js → TaxInformationField-C4OeLAhU.js} +34 -31
- package/dist/{TaxReportingDropin-C1aPbXfp.js → TaxReportingDropin-2VcdfJvr.js} +64 -56
- package/dist/{TileGroup-AskMVW9b.js → TileGroup-B_9rid7_.js} +4 -4
- package/dist/{TrustDetailsPage-S0YwnBAx.js → TrustDetailsPage-COIeKAk2.js} +53 -44
- package/dist/TrustMemberCompanyPage-CwNG1bni.js +73 -0
- package/dist/TrustMemberIndividualPage-D57poDUv.js +66 -0
- package/dist/{UnincorporatedPartnershipIndividualPage-B_fmnaes.js → UnincorporatedPartnershipIndividualPage-oiEGWL8D.js} +5 -6
- package/dist/UnincorporatedPartnershipMemberCompanyPage-av-gOgOa.js +76 -0
- package/dist/{ViewVerificationStatusComponent-CivzRszd.js → ViewVerificationStatusComponent-Zk6t-F6h.js} +19 -13
- package/dist/adyen-business-financing.js +4 -5
- package/dist/adyen-individual-configuration.js +4 -5
- package/dist/adyen-individual-status.js +4 -5
- package/dist/adyen-kyc-components.js +39 -29
- package/dist/adyen-onboarding.js +4 -5
- package/dist/adyen-terms-of-service-management.js +4 -5
- package/dist/adyen-terms-of-service-status.js +4 -5
- package/dist/adyen-transfer-instrument-configuration.js +4 -5
- package/dist/adyen-transfer-instrument-management.js +4 -5
- package/dist/adyen-verification-status.js +4 -5
- package/dist/analytics-awjVudvY.js +123 -0
- package/dist/{bafinUtils-BJao1Xb_.js → bafinUtils-CAVAvSFg.js} +8 -99
- package/dist/bg-BG-BIOMFPaW.js +27 -0
- package/dist/bg-BG-BLe6BCNz.js +13 -0
- package/dist/bg-BG-BPsOhDfg.js +13 -0
- package/dist/bg-BG-BvLl6gaB.js +13 -0
- package/dist/bg-BG-CepHap8j.js +68 -0
- package/dist/bg-BG-Coja327N.js +24 -0
- package/dist/{bg-BG-GVhnrvRn.js → bg-BG-Cs_1PU3v.js} +5 -1
- package/dist/bg-BG-D5C7Gq2o.js +35 -0
- package/dist/bg-BG-DcxZ1tmt.js +32 -0
- package/dist/{bg-BG-Bot37sd7.js → bg-BG-Dp4LxSP7.js} +2 -1
- package/dist/bg-BG-er0t4jTs.js +27 -0
- package/dist/bg-BG-fr-xfUBV.js +110 -0
- package/dist/{bg-BG-fgdGvtqa.js → bg-BG-z3gZQvGq.js} +6 -1
- package/dist/commonValidators-DM04eNpa.js +24 -0
- package/dist/{cs-CZ-CVpbQMSY.js → cs-CZ-B2WAqmaW.js} +9 -1
- package/dist/cs-CZ-BP7niQM9.js +68 -0
- package/dist/cs-CZ-C0sNB1Fm.js +110 -0
- package/dist/{cs-CZ-DwiXbzIv.js → cs-CZ-C5lyVYlZ.js} +6 -1
- package/dist/cs-CZ-C9FuJCsg.js +35 -0
- package/dist/cs-CZ-CHzJM-ii.js +13 -0
- package/dist/cs-CZ-CQNBae2b.js +27 -0
- package/dist/{cs-CZ-BEynVkgn.js → cs-CZ-CyLqoG1j.js} +2 -1
- package/dist/cs-CZ-D4Hg-t16.js +32 -0
- package/dist/cs-CZ-DNWTRefA.js +27 -0
- package/dist/cs-CZ-DXtJsBPz.js +24 -0
- package/dist/cs-CZ-hT5w5It6.js +13 -0
- package/dist/cs-CZ-xoLsda7i.js +13 -0
- package/dist/da-DK-8dk9Q_Wk.js +110 -0
- package/dist/da-DK-BeSNTO9k.js +35 -0
- package/dist/{da-DK-Y6PJ69rt.js → da-DK-CYl2jko-.js} +6 -1
- package/dist/da-DK-D-PlwKvZ.js +27 -0
- package/dist/da-DK-D-TJghBi.js +13 -0
- package/dist/{da-DK-DLcvdXDS.js → da-DK-D-eeokQn.js} +9 -1
- package/dist/da-DK-DCJhV2qS.js +32 -0
- package/dist/da-DK-DWA8uOd8.js +24 -0
- package/dist/{da-DK-DmL_Ja3L.js → da-DK-DYpfNZdP.js} +2 -1
- package/dist/da-DK-DZwlENGe.js +13 -0
- package/dist/da-DK-Dc0QYG8m.js +68 -0
- package/dist/da-DK-XNMYSp7w.js +13 -0
- package/dist/da-DK-gnPgzwrG.js +27 -0
- package/dist/de-DE-4GAd_srm.js +27 -0
- package/dist/de-DE-BI7AAdOv.js +13 -0
- package/dist/{de-DE-BahIk-1-.js → de-DE-BXt1K0Tr.js} +2 -1
- package/dist/de-DE-CCmlaL2F.js +13 -0
- package/dist/de-DE-CCyKie8B.js +110 -0
- package/dist/de-DE-D3lLuF8z.js +27 -0
- package/dist/de-DE-D50lGOJE.js +24 -0
- package/dist/de-DE-DXR3EpEc.js +13 -0
- package/dist/{de-DE-CKZrABo7.js → de-DE-Dcs3W1fT.js} +9 -1
- package/dist/{de-DE-xdQMmrrt.js → de-DE-DlUEkik0.js} +6 -1
- package/dist/de-DE-Dp-2BAWQ.js +35 -0
- package/dist/de-DE-DwOQKCuU.js +32 -0
- package/dist/de-DE-Dz2OsS1F.js +68 -0
- package/dist/{hr-HR-CNzbyo9r.js → debugStore-BvbyN1Oi.js} +4 -5
- package/dist/dropinUtils-wWEQXoqU.js +196 -0
- package/dist/el-GR-5WvkRyW5.js +35 -0
- package/dist/{el-GR-TZUpX1j3.js → el-GR-B90M6tcZ.js} +2 -1
- package/dist/el-GR-BHG69mXl.js +68 -0
- package/dist/el-GR-CKHMsdx2.js +24 -0
- package/dist/el-GR-D7zMcBtK.js +110 -0
- package/dist/{el-GR-C_y2406P.js → el-GR-DBum-QDu.js} +9 -1
- package/dist/{el-GR-DR_5DKI1.js → el-GR-DZ8GheJK.js} +6 -1
- package/dist/el-GR-Ddnh0NhQ.js +27 -0
- package/dist/el-GR-DoCIcce-.js +13 -0
- package/dist/el-GR-DtFE64KX.js +13 -0
- package/dist/el-GR-Hk4NbZSY.js +32 -0
- package/dist/el-GR-XRux2Wpv.js +27 -0
- package/dist/el-GR-kYiInIQ9.js +13 -0
- package/dist/en-US-B96dpVon.js +27 -0
- package/dist/{en-US-DI1dH0ZB.js → en-US-BCFNoF5y.js} +5 -1
- package/dist/en-US-BQZhzROc.js +32 -0
- package/dist/en-US-BwDZ0WHW.js +110 -0
- package/dist/{en-US-DIdQJky-.js → en-US-CzEL6t1W.js} +24 -4
- package/dist/en-US-D-B35AoN.js +68 -0
- package/dist/en-US-D2yrwtzT.js +24 -0
- package/dist/en-US-DYpvuCLO.js +13 -0
- package/dist/{en-US-nL0-_PSp.js → en-US-DdeSoN_2.js} +2 -1
- package/dist/{en-US-BbAzROHT.js → en-US-Dg505Oh3.js} +2 -1
- package/dist/{en-US-BQpgt41j.js → en-US-DjF6iC7G.js} +17 -1
- package/dist/es-ES-BI_jdT67.js +68 -0
- package/dist/es-ES-BOoPqnPI.js +32 -0
- package/dist/{es-ES-BPDeEYGv.js → es-ES-BhNhIf08.js} +2 -1
- package/dist/es-ES-C4lENXHH.js +27 -0
- package/dist/{es-ES-DdT2wJTP.js → es-ES-C7XjLOHi.js} +9 -1
- package/dist/es-ES-C9oDOVSQ.js +35 -0
- package/dist/es-ES-CJMsyMAc.js +13 -0
- package/dist/es-ES-CXDJLKAI.js +27 -0
- package/dist/es-ES-CnNU6AJv.js +13 -0
- package/dist/{es-ES-keMO-LlU.js → es-ES-D0c0MoqK.js} +6 -1
- package/dist/es-ES-DF_L5EDd.js +24 -0
- package/dist/es-ES-JvAvmB2A.js +110 -0
- package/dist/es-ES-yMXcOjDL.js +13 -0
- package/dist/et-EE--cL_YqWe.js +27 -0
- package/dist/et-EE-3EQr-1cj.js +27 -0
- package/dist/et-EE-B1KmQWmI.js +35 -0
- package/dist/{et-EE-DftDBzjA.js → et-EE-BMgFCxds.js} +2 -1
- package/dist/et-EE-BR4OXRfV.js +13 -0
- package/dist/{et-EE-Y890kc89.js → et-EE-BUG05EDz.js} +9 -1
- package/dist/et-EE-Be__VK7Y.js +32 -0
- package/dist/et-EE-BuBiNLCi.js +24 -0
- package/dist/{et-EE-CLuAFAri.js → et-EE-C4Fwyr7-.js} +6 -1
- package/dist/et-EE-C8RrUpLm.js +13 -0
- package/dist/et-EE-C_PZO2aI.js +68 -0
- package/dist/et-EE-SJf3_Ega.js +110 -0
- package/dist/et-EE-sB7wkSA3.js +13 -0
- package/dist/fi-FI-BbqwYcLI.js +13 -0
- package/dist/fi-FI-Byvvcxxq.js +27 -0
- package/dist/{fi-FI-DKxJM0k6.js → fi-FI-CEzjKgiz.js} +9 -1
- package/dist/fi-FI-Cy2hAl0B.js +110 -0
- package/dist/fi-FI-DH6jpo9K.js +24 -0
- package/dist/fi-FI-DV1etLPT.js +35 -0
- package/dist/{fi-FI-CBHr-_To.js → fi-FI-bRXb-Q_i.js} +6 -1
- package/dist/fi-FI-bZzNB1WB.js +32 -0
- package/dist/fi-FI-fArobrt5.js +27 -0
- package/dist/fi-FI-hwzizPnr.js +68 -0
- package/dist/fi-FI-u5GxMZsq.js +13 -0
- package/dist/fi-FI-xqnQ38yC.js +13 -0
- package/dist/{fi-FI-LpkpSl5X.js → fi-FI-ysUrBilO.js} +2 -1
- package/dist/{fieldConfigurations-BzmPcPW1.js → fieldConfigurations-BZuo2e0d.js} +16 -313
- package/dist/{pl-PL-D6heiKsH.js → form-rules-DhbF2mY4.js} +3 -5
- package/dist/{fr-FR-CuSchzjE.js → fr-FR-BSvSKazD.js} +2 -1
- package/dist/fr-FR-BSynpexF.js +13 -0
- package/dist/fr-FR-BmW46mYd.js +110 -0
- package/dist/fr-FR-BnblnBsx.js +24 -0
- package/dist/fr-FR-CMjrAkKl.js +13 -0
- package/dist/fr-FR-CYZXbwc9.js +68 -0
- package/dist/fr-FR-CiwkAb3E.js +27 -0
- package/dist/fr-FR-Cr-Y1vIy.js +13 -0
- package/dist/{fr-FR-BxO1IR9C.js → fr-FR-DNJiLv9b.js} +9 -1
- package/dist/fr-FR-DZICoAHV.js +35 -0
- package/dist/fr-FR-E_UubsZ-.js +27 -0
- package/dist/{fr-FR-B3qQW3oG.js → fr-FR-JLPKgufm.js} +6 -1
- package/dist/fr-FR-cTKcuHqX.js +32 -0
- package/dist/{getName-DN1hhEuf.js → getName-DwJ2SEhe.js} +2 -2
- package/dist/{hasDataChanged-Di3pJ9RD.js → hasDataChanged-qmdT2J_a.js} +2 -2
- package/dist/{hr-HR-DST-QbRI.js → hr-HR-BLpGb4f2.js} +2 -1
- package/dist/hr-HR-Bhsop3CT.js +13 -0
- package/dist/hr-HR-ComCqan_.js +32 -0
- package/dist/{hr-HR-DMV2OsPs.js → hr-HR-D26Gz-HL.js} +6 -1
- package/dist/hr-HR-D5V7g9H2.js +13 -0
- package/dist/hr-HR-D8cBxUFa.js +13 -0
- package/dist/hr-HR-D9bzCN_d.js +35 -0
- package/dist/hr-HR-De5kHU8U.js +24 -0
- package/dist/hr-HR-DtfHQVe0.js +27 -0
- package/dist/hr-HR-TVOgDkBf.js +27 -0
- package/dist/{hr-HR-DghVS0jH.js → hr-HR-WMnlxMEY.js} +9 -1
- package/dist/hr-HR-bE6cvRCQ.js +68 -0
- package/dist/hr-HR-c1Si_0s4.js +110 -0
- package/dist/{hu-HU-CJh8OY-w.js → hu-HU-B2nrl0pw.js} +9 -1
- package/dist/hu-HU-BVfkOdJe.js +13 -0
- package/dist/{hu-HU-CPWGnq22.js → hu-HU-BZCFneWx.js} +6 -1
- package/dist/hu-HU-BcogZby3.js +24 -0
- package/dist/hu-HU-C5p7RWWD.js +35 -0
- package/dist/{hu-HU-BgHugMwG.js → hu-HU-Ca9Hex26.js} +2 -1
- package/dist/hu-HU-CibGC8KY.js +110 -0
- package/dist/hu-HU-D2j1ISVk.js +13 -0
- package/dist/hu-HU-DG-NUDx4.js +68 -0
- package/dist/hu-HU-DRONW_47.js +27 -0
- package/dist/hu-HU-DUGz5q5D.js +32 -0
- package/dist/hu-HU-I4-KFzvz.js +27 -0
- package/dist/hu-HU-hbVM6tMS.js +13 -0
- package/dist/{iframeWidget-CdgdGJSA.js → iframeWidget-Bdf5GkVq.js} +4 -4
- package/dist/{isEmpty-Cg1sEY56.js → isEmpty-DWL1114W.js} +2 -2
- package/dist/it-IT-BMjuva_2.js +110 -0
- package/dist/{it-IT-vJt2CGXz.js → it-IT-BRmX2jEi.js} +9 -1
- package/dist/it-IT-C7Sg1k4p.js +13 -0
- package/dist/it-IT-C_651bEP.js +13 -0
- package/dist/it-IT-Ckv8Ce4e.js +24 -0
- package/dist/it-IT-CwA8megO.js +13 -0
- package/dist/it-IT-DERflsUd.js +32 -0
- package/dist/it-IT-DIbH-udG.js +27 -0
- package/dist/it-IT-DuBLJIdz.js +27 -0
- package/dist/it-IT-Erh1DIlj.js +68 -0
- package/dist/{it-IT-p_DER3dq.js → it-IT-Qfzc8jnW.js} +2 -1
- package/dist/{it-IT-CRmaykgQ.js → it-IT-mScKLwBR.js} +6 -1
- package/dist/it-IT-mYyg3XGz.js +35 -0
- package/dist/ja-JP-BSYrPZsE.js +35 -0
- package/dist/ja-JP-BoxeBgOv.js +32 -0
- package/dist/{ja-JP-DT0qGp0i.js → ja-JP-CCnzjx-u.js} +32 -2
- package/dist/{ja-JP-C870wgmw.js → ja-JP-CHQ64lw1.js} +2 -1
- package/dist/ja-JP-CJ_j_HAA.js +27 -0
- package/dist/ja-JP-Cr_qjpZ2.js +110 -0
- package/dist/{ja-JP-a6UbRzaS.js → ja-JP-CvNJvxkQ.js} +22 -3
- package/dist/{ja-JP-DCOsVkrk.js → ja-JP-DyELKS9Q.js} +6 -1
- package/dist/ja-JP-FWHXsXlW.js +24 -0
- package/dist/ja-JP-GSbqID7o.js +13 -0
- package/dist/ja-JP-ThzG9vIo.js +68 -0
- package/dist/ja-JP-bz7ekGnF.js +27 -0
- package/dist/{ja-JP-Cm2wakN6.js → ja-JP-gRRH8Eph.js} +21 -13
- package/dist/jpAddressSchema-ULGNNt5U.js +27 -0
- package/dist/{localizeDateString-CjJb5ip4.js → localizeDateString--iXm1oBl.js} +1 -1
- package/dist/{lt-LT-Dxde15Cc.js → lt-LT-0RKZeraM.js} +2 -1
- package/dist/{lt-LT-CrCYV_jv.js → lt-LT-BJQDUanx.js} +9 -1
- package/dist/lt-LT-BLsIcCtE.js +27 -0
- package/dist/lt-LT-C5nNCk4_.js +13 -0
- package/dist/lt-LT-CBBDNCnp.js +27 -0
- package/dist/{lt-LT-0CK0Iin7.js → lt-LT-CLPQVRpJ.js} +6 -1
- package/dist/lt-LT-Ci357QYQ.js +13 -0
- package/dist/lt-LT-D5Rhxm1h.js +32 -0
- package/dist/lt-LT-DDdq07sX.js +24 -0
- package/dist/lt-LT-DSiutpRl.js +13 -0
- package/dist/lt-LT-DjNjg3Pl.js +110 -0
- package/dist/lt-LT-Nd1uRoIj.js +68 -0
- package/dist/lt-LT-i-T_HQ42.js +35 -0
- package/dist/{lv-LV-DDvnyHlO.js → lv-LV-Bh-WQp0K.js} +2 -1
- package/dist/lv-LV-BpRfRfMz.js +110 -0
- package/dist/lv-LV-BtX12dHJ.js +35 -0
- package/dist/lv-LV-C62XiDE5.js +13 -0
- package/dist/lv-LV-C7hMdPcY.js +27 -0
- package/dist/lv-LV-CEK8Re4d.js +13 -0
- package/dist/lv-LV-CG1zToz7.js +32 -0
- package/dist/lv-LV-CkyuY2ji.js +24 -0
- package/dist/lv-LV-CtIe38WU.js +27 -0
- package/dist/{lv-LV-CSxppAD_.js → lv-LV-Cu-MJMVO.js} +6 -1
- package/dist/lv-LV-DKhV24CI.js +68 -0
- package/dist/lv-LV-Dxe-A5vo.js +13 -0
- package/dist/{lv-LV-CaFrxG3S.js → lv-LV-h3nTokkM.js} +9 -1
- package/dist/mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js +56 -0
- package/dist/{mapExistingFile-Dww-3m9M.js → mapExistingFile-Ct5Drm_t.js} +4 -4
- package/dist/mapJpAddressSchemaToAddressLocalizations-Btg-uZPu.js +147 -0
- package/dist/mapLegalEntityToIndividualOnfidoSchema-DQsaMiqB.js +203 -0
- package/dist/{mapTransferInstrumentToPayoutAccount-NoTqg5NI.js → mapTransferInstrumentToPayoutAccount-CRhSOuJd.js} +6 -3
- package/dist/nl-NL-BOJ6zuBr.js +13 -0
- package/dist/nl-NL-Bx5p0nXL.js +24 -0
- package/dist/nl-NL-CE4l8R5l.js +27 -0
- package/dist/nl-NL-Cjlmc0Ii.js +32 -0
- package/dist/{nl-NL-Uf_myU_8.js → nl-NL-D7gBNWEY.js} +2 -1
- package/dist/nl-NL-DOQPxTX-.js +13 -0
- package/dist/nl-NL-JChnFdCY.js +13 -0
- package/dist/nl-NL-NlkjOSYi.js +27 -0
- package/dist/nl-NL-O9GCHMDA.js +68 -0
- package/dist/nl-NL-PUQGh3Rp.js +35 -0
- package/dist/{nl-NL-BQJjhn7U.js → nl-NL-YzDSCWLL.js} +9 -1
- package/dist/nl-NL-oaBDOlm6.js +110 -0
- package/dist/{nl-NL-RfK34nkp.js → nl-NL-pVdpCCOx.js} +6 -1
- package/dist/no-NO--OoWld_l.js +13 -0
- package/dist/no-NO-B1_YJlMP.js +27 -0
- package/dist/no-NO-BTrfxWS7.js +110 -0
- package/dist/{no-NO-CSia2Bd5.js → no-NO-Big2B13b.js} +9 -1
- package/dist/no-NO-Bs3-6MDM.js +24 -0
- package/dist/{no-NO-DZ1y_9mq.js → no-NO-C-gCYc9q.js} +2 -1
- package/dist/no-NO-CA1aR6Wh.js +68 -0
- package/dist/{no-NO-BWzGost-.js → no-NO-CRULNwNn.js} +6 -1
- package/dist/no-NO-CY_XHrYd.js +32 -0
- package/dist/no-NO-Cp3-tDMw.js +13 -0
- package/dist/no-NO-Crlsj6HG.js +27 -0
- package/dist/no-NO-CuwTDFSf.js +13 -0
- package/dist/no-NO-kPnbGnBM.js +35 -0
- package/dist/pl-PL-1-MrLPXu.js +13 -0
- package/dist/pl-PL-BKDK0_G8.js +68 -0
- package/dist/pl-PL-BzhEoDb5.js +24 -0
- package/dist/pl-PL-C-MmQaeR.js +35 -0
- package/dist/pl-PL-C72GTDxW.js +110 -0
- package/dist/{pl-PL-6WyUmy0K.js → pl-PL-CL483jMb.js} +9 -1
- package/dist/pl-PL-C_MvVzPy.js +32 -0
- package/dist/pl-PL-CtDHmbhp.js +13 -0
- package/dist/{pl-PL-DFrOIiCG.js → pl-PL-CxCiWdAF.js} +6 -1
- package/dist/pl-PL-DGYFY42P.js +27 -0
- package/dist/pl-PL-DYxD6VJ_.js +27 -0
- package/dist/pl-PL-DtJ3sgVO.js +13 -0
- package/dist/{pl-PL-B1tVRX3A.js → pl-PL-LnVPufjb.js} +2 -1
- package/dist/process-field-configurations-B1Iwtpx2.js +304 -0
- package/dist/pt-BR-BfxgHKY4.js +27 -0
- package/dist/pt-BR-Br_cHzGx.js +13 -0
- package/dist/pt-BR-C0I_kTQ6.js +13 -0
- package/dist/pt-BR-CBAe0SnK.js +32 -0
- package/dist/pt-BR-Co8OqKh-.js +27 -0
- package/dist/pt-BR-CtFCi7U4.js +110 -0
- package/dist/pt-BR-DJOzf0y2.js +53 -0
- package/dist/pt-BR-DSENwwGu.js +24 -0
- package/dist/pt-BR-DnKEuslh.js +13 -0
- package/dist/pt-BR-Dw0UZ-Od.js +35 -0
- package/dist/pt-BR-NtLaWlnZ.js +68 -0
- package/dist/{pt-BR-CxjlToN4.js → pt-BR-apPtB2cK.js} +6 -1
- package/dist/{pt-BR-BD3-Ecm8.js → pt-BR-ur86nRrK.js} +2 -1
- package/dist/{pt-PT-CWYxqUbN.js → pt-PT-B3qoJ3Fr.js} +9 -1
- package/dist/pt-PT-Bf4IV7wp.js +13 -0
- package/dist/pt-PT-CIo3mlXL.js +24 -0
- package/dist/pt-PT-CLwCij2I.js +13 -0
- package/dist/{pt-PT-DpBfkgVw.js → pt-PT-CVNEcs32.js} +2 -1
- package/dist/{pt-PT-CU13UUwT.js → pt-PT-Coa6J7SM.js} +6 -1
- package/dist/pt-PT-DSxxVA0f.js +68 -0
- package/dist/pt-PT-DfVjLaAU.js +35 -0
- package/dist/pt-PT-Dm5DRDrd.js +32 -0
- package/dist/pt-PT-TKg5FLat.js +27 -0
- package/dist/pt-PT-XAn7WGle.js +110 -0
- package/dist/pt-PT-cjbtYBUX.js +13 -0
- package/dist/pt-PT-pKLoM66X.js +27 -0
- package/dist/resolveEnvironment-DC9P7X3D.js +164 -0
- package/dist/ro-RO-3rOfS17N.js +27 -0
- package/dist/ro-RO-4j2I7YM7.js +13 -0
- package/dist/ro-RO-B5YT9vP-.js +32 -0
- package/dist/{ro-RO-B2u2q1Ez.js → ro-RO-BTqq5BPM.js} +6 -1
- package/dist/ro-RO-Bybq8JFn.js +68 -0
- package/dist/ro-RO-CGhIjlpU.js +13 -0
- package/dist/ro-RO-Cmk-sVDr.js +13 -0
- package/dist/{ro-RO-BWQeseQ_.js → ro-RO-Ct_BJvsc.js} +9 -1
- package/dist/ro-RO-D3rQ93wa.js +27 -0
- package/dist/ro-RO-ECJHARCT.js +35 -0
- package/dist/ro-RO-ILTvlS9i.js +24 -0
- package/dist/{ro-RO-BF1Q86nQ.js → ro-RO-i7lojG2G.js} +2 -1
- package/dist/ro-RO-qX8X1Q1m.js +110 -0
- package/dist/{rules-4TEUMKya.js → rules-CzXw9tws.js} +10 -6
- package/dist/{sk-SK-Rd06VJ5k.js → sk-SK-B5brxU1N.js} +2 -1
- package/dist/sk-SK-Bo5nvxWQ.js +13 -0
- package/dist/sk-SK-C5Qmv4E6.js +13 -0
- package/dist/sk-SK-C6rMIxpz.js +68 -0
- package/dist/sk-SK-CjdK4BKW.js +110 -0
- package/dist/sk-SK-CjrLvDMx.js +27 -0
- package/dist/sk-SK-CmH1I1tp.js +27 -0
- package/dist/sk-SK-Cv23cDQO.js +24 -0
- package/dist/sk-SK-Do6CKNU4.js +13 -0
- package/dist/{sk-SK-DnNuh37c.js → sk-SK-FGK1FMMO.js} +9 -1
- package/dist/sk-SK-S6iF1WDH.js +32 -0
- package/dist/sk-SK-rSmwmSCa.js +35 -0
- package/dist/{sk-SK-BWA3fAcI.js → sk-SK-welR06By.js} +6 -1
- package/dist/{sl-SI-B7zbwoZn.js → sl-SI-B9N6vA08.js} +6 -1
- package/dist/sl-SI-BZpXMHiG.js +13 -0
- package/dist/sl-SI-C-C-KJCX.js +27 -0
- package/dist/{sl-SI-BuIFB5zU.js → sl-SI-CUCrzJQv.js} +2 -1
- package/dist/sl-SI-CedEO3kf.js +35 -0
- package/dist/sl-SI-CrTRlNnN.js +13 -0
- package/dist/{sl-SI-D212isFw.js → sl-SI-Cz28AFTz.js} +9 -1
- package/dist/sl-SI-DEaeEVKB.js +24 -0
- package/dist/sl-SI-DqUEy_Cm.js +32 -0
- package/dist/sl-SI-cY-L2ma-.js +13 -0
- package/dist/sl-SI-hnlbW1OT.js +27 -0
- package/dist/sl-SI-lPxRRPsh.js +110 -0
- package/dist/sl-SI-tPwbFvOI.js +68 -0
- package/dist/style.css +696 -597
- package/dist/styles-CLV89_hH.js +696 -597
- package/dist/sv-SE-7Cbo1oic.js +27 -0
- package/dist/sv-SE-BHfydid5.js +27 -0
- package/dist/sv-SE-BPpQ-05i.js +110 -0
- package/dist/sv-SE-BYUoi-08.js +35 -0
- package/dist/sv-SE-BtwPrLEA.js +13 -0
- package/dist/{sv-SE-BwJgkIDf.js → sv-SE-C6uPh9g5.js} +2 -1
- package/dist/sv-SE-CRBRuE8Z.js +32 -0
- package/dist/sv-SE-CXaMlJCI.js +24 -0
- package/dist/{sv-SE-Hi07uLM9.js → sv-SE-D6al0j6W.js} +6 -1
- package/dist/{sv-SE-Ca1bxZf3.js → sv-SE-DLl7OGxl.js} +9 -1
- package/dist/sv-SE-DsPdegWB.js +13 -0
- package/dist/sv-SE-K1QT1cOt.js +68 -0
- package/dist/sv-SE-WPziDPQa.js +13 -0
- package/dist/types/api/businessLines/businessLines.types.d.ts +10 -0
- package/dist/types/api/businessLines/useBusinessLines.d.ts +4 -2
- package/dist/types/api/businessLines/useCreateBusinessLine.d.ts +7 -0
- package/dist/types/api/companySearch/useCompanySearch.d.ts +1 -0
- package/dist/types/api/configurations/useScenarios.d.ts +12 -12
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +16 -16
- package/dist/types/components/BankAccount/fields/BankAccountFormat/types.d.ts +2 -1
- package/dist/types/components/BankAccount/fields/PreferredCurrency/PreferredCurrency.d.ts +10 -0
- package/dist/types/components/BankAccount/forms/PayoutAccount/payoutAccountFormat.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +2 -0
- package/dist/types/components/BankAccount/forms/PayoutCountryDetails/PayoutCountryDetails.d.ts +3 -0
- package/dist/types/components/BankAccount/forms/PayoutCountryDetails/types.d.ts +11 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetails.d.ts +6 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -0
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +4 -4
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/utils.d.ts +2 -0
- package/dist/types/components/BankAccount/mapping/mapPayoutAccountSchemaToApiBankAccount.d.ts +3 -2
- package/dist/types/components/BankAccount/mapping/mapPayoutDetailsToTransferInstrument.d.ts +2 -1
- package/dist/types/components/BankAccount/mapping/mapTransferInstrumentToPayoutAccount.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +53 -51
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +3 -2
- package/dist/types/components/Business/forms/BasicInformation/BasicInformationMultiform.d.ts +5 -3
- package/dist/types/components/Business/forms/RegistrationDocument/types.d.ts +3 -3
- package/dist/types/components/Business/forms/TaxDocument/types.d.ts +3 -3
- package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +5 -4
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +2 -3
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +3 -3
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiform.d.ts +2 -1
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/utils.d.ts +0 -2
- package/dist/types/components/Business/utils/companyTypeMetadata.d.ts +3 -3
- package/dist/types/components/BusinessLines/fields/WebDataField/types.d.ts +2 -4
- package/dist/types/components/BusinessLines/tasks/BusinessLines/ExistingBusinessLines/BusinessLineModal.d.ts +5 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/ExistingBusinessLines/ExistingBusinessLines.d.ts +8 -0
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +13 -4
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +151 -151
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBasicCompanyInformation.d.ts +0 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBusinessInformation.d.ts +0 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.d.ts +0 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingOwnershipStructure.d.ts +0 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingRegisteredAddress.d.ts +0 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +7 -5
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/sofStore.d.ts +1 -1
- package/dist/types/components/EFP/tasks/TaxReportingDropin/taxClassificationStore.d.ts +1 -1
- package/dist/types/components/EFP/tasks/TaxReportingDropin/utils.d.ts +6 -6
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/BusinessFinancingComponent.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +3 -3
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/content.d.ts +3 -3
- package/dist/types/components/Individual/fields/NameFields/NameFields.d.ts +3 -0
- package/dist/types/components/Individual/forms/Individual/IdVerification/idVerificationProviderId.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/idVerificationMethodMetadata.d.ts +3 -3
- package/dist/types/components/Individual/forms/IndividualOnfido/IdNowVerificationModal/isIdNowModalOpen.d.ts +3 -3
- package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaire.types.d.ts +4 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaireModalContent.d.ts +3 -1
- package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +2 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.d.ts +1 -1
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.types.d.ts +2 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +56 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/RemediationAlerts/RemediationAlerts.d.ts +7 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/RemediationAlerts/remediation.config.d.ts +19 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/utils.d.ts +3 -0
- package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoStore.d.ts +1 -1
- package/dist/types/components/Shared/EntityAssociation/EntityAssociation.d.ts +1 -1
- package/dist/types/components/Shared/EntityAssociation/types.d.ts +2 -4
- package/dist/types/components/Shared/devex/DebugListener/DebugFormData.d.ts +1 -0
- package/dist/types/components/Shared/devex/DebugListener/debugStore.d.ts +5 -0
- package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/fieldConfig.d.ts +4 -4
- package/dist/types/components/Shared/forms/Address/localized/jp/JpAddress.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/localized/jp/mapAddressLocalizationToJpAddressSchema.d.ts +3 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSchemaToAddressLocalizations.d.ts +3 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.d.ts +4 -0
- package/dist/types/components/Shared/forms/Address/utils.d.ts +3 -2
- package/dist/types/components/Shared/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -2
- package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +3 -2
- package/dist/types/components/Shared/tasks/TaskList/TaskList.d.ts +3 -1
- package/dist/types/components/Shared/tasks/TaskList/TaskListItem.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/types.d.ts +1 -4
- package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +1 -1
- package/dist/types/components/SoleProprietorship/pages/SoleProprietorshipPage.d.ts +1 -2
- package/dist/types/components/Trust/pages/TrustMemberCompanyPage.d.ts +1 -2
- package/dist/types/components/Trust/tasks/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +1 -2
- package/dist/types/components/ui/atoms/Header/Header.d.ts +12 -0
- package/dist/types/components/ui/atoms/ListItem/ListItem.d.ts +1 -2
- package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.d.ts +3 -4
- package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.types.d.ts +8 -9
- package/dist/types/components/ui/layout/StackLayout/StackLayout.d.ts +29 -7
- package/dist/types/components/ui/molecules/Card/Card.d.ts +1 -1
- package/dist/types/components/ui/molecules/Card/types.d.ts +1 -0
- package/dist/types/components/ui/molecules/EmbeddedStatus/EmbeddedStatus.d.ts +2 -23
- package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +3 -3
- package/dist/types/components/ui/molecules/EmbeddedStatus/types.d.ts +23 -0
- package/dist/types/context/ExperimentContext/types.d.ts +4 -12
- package/dist/types/context/I18nProvider/I18nContext.d.ts +3 -0
- package/dist/types/context/SettingsContext/types.d.ts +2 -2
- package/dist/types/core/models/api/legal-entity-association.d.ts +1 -1
- package/dist/types/core/models/api/source-of-funds.d.ts +5 -0
- package/dist/types/core/models/api/transfer-instrument.d.ts +2 -0
- package/dist/types/core/process-field-configurations.d.ts +2 -2
- package/dist/types/datasets/generators/getAccountFormatForCountry.d.ts +1 -0
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +6 -8
- package/dist/types/hooks/useUboQuestionnaire.d.ts +25 -0
- package/dist/types/language/Language.d.ts +10 -0
- package/dist/types/language/types.d.ts +15 -1
- package/dist/types/stores/globalStore/taskTypes.d.ts +1 -1
- package/dist/types/{core → utils}/analytics.d.ts +5 -5
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/getSSNType.d.ts +1 -0
- package/dist/types/utils/textTransformation/toFullWidth.d.ts +6 -0
- package/dist/types/utils/translation.d.ts +1 -0
- package/dist/{types-IWh9Nm-W.js → types-28yvE9dj.js} +2 -2
- package/dist/{types-Dsz7b4S_.js → types-BzOpGekG.js} +2 -2
- package/dist/{types-CAznNNSI.js → types-DHmyPbAn.js} +5 -13
- package/dist/{useAssociatedLegalEntity-CPl7E0oh.js → useAssociatedLegalEntity-Cd77TYXt.js} +1 -1
- package/dist/{useDataset-CYBhIC5y.js → useDataset-B-72Ufk7.js} +3 -3
- package/dist/{useForm-NtB5fMq5.js → useForm-Aw38WiTE.js} +8 -79
- package/dist/useFormContext-Bx1n-f4V.js +222 -0
- package/dist/{useGlobalData-COgPG9qd.js → useGlobalData-BYJWYYpf.js} +10 -11
- package/dist/{RadioGroup-QZCH1TCn.js → useMultiForm-D-wGVJq1.js} +6 -342
- package/dist/{useOnboardingStatus-B8yCxKXz.js → useOnboardingStatus-AbPudgMj.js} +1 -1
- package/dist/{useScenarios-DesE_Dem.js → useScenarios-CEHvpucH.js} +2 -2
- package/dist/{useTermsOfServiceStatus-qtseJuA8.js → useTermsOfServiceStatus-BugRyfkQ.js} +1 -1
- package/dist/{useToastContext-D4w2gBxd.js → useToastContext-D58NfzLh.js} +2 -5
- package/dist/{useUnincorporatedPartnershipMembers-FOg1r690.js → useUnincorporatedPartnershipMembers-BOfx-rWR.js} +5 -5
- package/dist/{utils-BnQGsYPp.js → utils-D-PqLpBS.js} +2 -2
- package/dist/{utils-B1i9qK_1.js → utils-JAm-rEQS.js} +10 -10
- package/dist/{utils-BMvr9mIu.js → utils-qNiMqbmo.js} +16 -10
- package/dist/{validate-C6-L7Vfa.js → validate-6QHmaW1O.js} +3 -6
- package/dist/{validate-anwsdbQz.js → validate-9J9pJpyR.js} +8 -8
- package/dist/{validate-BiuAh7Ub.js → validate-BY5vrcXH.js} +2 -2
- package/dist/{validationError-zbgp4iB7.js → validationError-kAn6qx2R.js} +2 -2
- package/package.json +70 -70
- package/dist/BusinessFinancingComponent-BdV2XNEs.js +0 -45
- package/dist/BusinessFinancingPage-CutMOZIo.js +0 -40
- package/dist/CreateIndividualComponent-DcwNaN_i.js +0 -72
- package/dist/CreateTransferInstrumentComponent-BFYc-5Zc.js +0 -67
- package/dist/DecisionMakers-c18dspZ1.js +0 -593
- package/dist/ManageIndividualComponent-DBe5ValD.js +0 -47
- package/dist/ManageTermsOfServiceComponent-5GHjPbHb.js +0 -47
- package/dist/RootBusinessDetailsPage-Cy5mUuKv.js +0 -1915
- package/dist/SoleProprietorshipPage-XnNdoc8n.js +0 -50
- package/dist/TaskStatusIndicator-CEZcV_gi.js +0 -69
- package/dist/TrustMemberCompanyPage-DVm9LzCY.js +0 -60
- package/dist/TrustMemberIndividualPage-BqncnJnj.js +0 -66
- package/dist/UnincorporatedPartnershipMemberCompanyPage-DMBIT2KR.js +0 -64
- package/dist/analytics-B9jlnux-.js +0 -61
- package/dist/bg-BG-9uVrFuHv.js +0 -23
- package/dist/bg-BG-B0-ZcjR0.js +0 -22
- package/dist/bg-BG-Cp58y2fj.js +0 -13
- package/dist/bg-BG-Cr0ewJCW.js +0 -13
- package/dist/bg-BG-D5192UVe.js +0 -35
- package/dist/bg-BG-ZJvmfx01.js +0 -13
- package/dist/bg-BG-hFblesn-.js +0 -15
- package/dist/cs-CZ-7xfNBIeH.js +0 -13
- package/dist/cs-CZ-B8IPRc47.js +0 -15
- package/dist/cs-CZ-DMwpeH56.js +0 -13
- package/dist/cs-CZ-DOqH0WeT.js +0 -35
- package/dist/cs-CZ-De4wbl1W.js +0 -13
- package/dist/cs-CZ-Dk1ePReM.js +0 -22
- package/dist/cs-CZ-Wzc382q6.js +0 -23
- package/dist/da-DK-B45X2VaJ.js +0 -35
- package/dist/da-DK-BK6TE3SH.js +0 -13
- package/dist/da-DK-BTpZzEgA.js +0 -15
- package/dist/da-DK-CeNMXUfE.js +0 -23
- package/dist/da-DK-DC8dAHWf.js +0 -13
- package/dist/da-DK-DStNe471.js +0 -22
- package/dist/da-DK-R0sNbjuQ.js +0 -13
- package/dist/de-DE-CGoBPCPv.js +0 -22
- package/dist/de-DE-CWvgMDqU.js +0 -35
- package/dist/de-DE-CY7fT1B5.js +0 -13
- package/dist/de-DE-D9r_yUSr.js +0 -13
- package/dist/de-DE-DjOUNvp6.js +0 -15
- package/dist/de-DE-JI-7mvxy.js +0 -23
- package/dist/de-DE-ZQioXTGO.js +0 -13
- package/dist/el-GR-B06F8VNw.js +0 -13
- package/dist/el-GR-B69zcWyB.js +0 -22
- package/dist/el-GR-C3rkK_oc.js +0 -35
- package/dist/el-GR-C7ThPKtr.js +0 -13
- package/dist/el-GR-Cu9HwD-f.js +0 -15
- package/dist/el-GR-DfNOPkLq.js +0 -23
- package/dist/el-GR-kj1-bNjH.js +0 -13
- package/dist/en-US-BTYdAWXp.js +0 -15
- package/dist/en-US-BaWkkHh3.js +0 -13
- package/dist/en-US-DHq7VYFs.js +0 -23
- package/dist/es-ES-CKMfS8Yy.js +0 -22
- package/dist/es-ES-Cj7q7fWO.js +0 -15
- package/dist/es-ES-D6Uauj9W.js +0 -13
- package/dist/es-ES-DKCCgVF8.js +0 -35
- package/dist/es-ES-DOVPTeyf.js +0 -23
- package/dist/es-ES-Dm8otLm9.js +0 -13
- package/dist/es-ES-XCII5d8J.js +0 -13
- package/dist/et-EE-BJIsPOnh.js +0 -23
- package/dist/et-EE-Bc6ioJRG.js +0 -35
- package/dist/et-EE-DHwaH1by.js +0 -13
- package/dist/et-EE-DNcqO4R9.js +0 -13
- package/dist/et-EE-Dor3enPS.js +0 -15
- package/dist/et-EE-Dw-aPF7J.js +0 -22
- package/dist/et-EE-XPQ-Sf9x.js +0 -13
- package/dist/fi-FI-67pS4_t6.js +0 -13
- package/dist/fi-FI-BNcnKrJ9.js +0 -15
- package/dist/fi-FI-CLg2__EV.js +0 -13
- package/dist/fi-FI-D522KHGk.js +0 -23
- package/dist/fi-FI-DTgF3AuK.js +0 -13
- package/dist/fi-FI-Hhku9Lmc.js +0 -35
- package/dist/fi-FI-REYOX46I.js +0 -22
- package/dist/fr-FR-BYuKsZIb.js +0 -35
- package/dist/fr-FR-BZbWBKOT.js +0 -13
- package/dist/fr-FR-Bn3D6mmY.js +0 -15
- package/dist/fr-FR-CsogZlc6.js +0 -13
- package/dist/fr-FR-D7U2da1i.js +0 -13
- package/dist/fr-FR-D9qaP6nx.js +0 -22
- package/dist/fr-FR-DInQKkTd.js +0 -23
- package/dist/hr-HR-B3boX_dq.js +0 -13
- package/dist/hr-HR-BVzZeaDc.js +0 -13
- package/dist/hr-HR-CJ5rmUrZ.js +0 -13
- package/dist/hr-HR-CPO5Yw2B.js +0 -35
- package/dist/hr-HR-CbxEvbrE.js +0 -22
- package/dist/hr-HR-DzS44Gpv.js +0 -23
- package/dist/hu-HU-BJpO-WrQ.js +0 -13
- package/dist/hu-HU-BSOiZA7a.js +0 -15
- package/dist/hu-HU-CX5vJbE8.js +0 -13
- package/dist/hu-HU-CYfNXKwk.js +0 -13
- package/dist/hu-HU-D0C6UfXB.js +0 -22
- package/dist/hu-HU-mo_0ULJG.js +0 -35
- package/dist/hu-HU-xCvNM5TU.js +0 -23
- package/dist/it-IT-5QHf-hkt.js +0 -13
- package/dist/it-IT-Biduphjt.js +0 -22
- package/dist/it-IT-Cepap1v0.js +0 -13
- package/dist/it-IT-CjEYONJg.js +0 -23
- package/dist/it-IT-Dn9AGEIq.js +0 -13
- package/dist/it-IT-DvM-9LpM.js +0 -15
- package/dist/it-IT-Nl57jui-.js +0 -35
- package/dist/ja-JP-Ajo-tIow.js +0 -23
- package/dist/ja-JP-B2txEVPx.js +0 -22
- package/dist/ja-JP-D3oQAH7z.js +0 -35
- package/dist/ja-JP-DRJ0RpUn.js +0 -13
- package/dist/ja-JP-GXkLvnQ4.js +0 -15
- package/dist/lt-LT-3rmXgF6K.js +0 -13
- package/dist/lt-LT-B6CJ4ULI.js +0 -23
- package/dist/lt-LT-CVasDmF3.js +0 -35
- package/dist/lt-LT-C_YMgjp9.js +0 -22
- package/dist/lt-LT-DNjXmQPv.js +0 -15
- package/dist/lt-LT-Dsy0UVdI.js +0 -13
- package/dist/lt-LT-lJLUJnzd.js +0 -13
- package/dist/lv-LV-B3sT3_cw.js +0 -22
- package/dist/lv-LV-BiilWzcg.js +0 -13
- package/dist/lv-LV-CBex8RS9.js +0 -13
- package/dist/lv-LV-ChOoZuhc.js +0 -15
- package/dist/lv-LV-DPZgF65i.js +0 -13
- package/dist/lv-LV-DTtuyfHS.js +0 -23
- package/dist/lv-LV-Sbsv8-nD.js +0 -35
- package/dist/mapScriptLocalization-BXWQCCfg.js +0 -72
- package/dist/nl-NL-BHkRnVrj.js +0 -35
- package/dist/nl-NL-BHqiO21q.js +0 -15
- package/dist/nl-NL-BIcLB7e6.js +0 -13
- package/dist/nl-NL-CU6c8oyY.js +0 -13
- package/dist/nl-NL-DKYvsnqM.js +0 -13
- package/dist/nl-NL-G1wVnmzT.js +0 -22
- package/dist/nl-NL-Zcq0bXd-.js +0 -23
- package/dist/no-NO-BTtAuqCb.js +0 -22
- package/dist/no-NO-BWpBc9_J.js +0 -13
- package/dist/no-NO-Bj0_2wjm.js +0 -13
- package/dist/no-NO-BxReX6oF.js +0 -23
- package/dist/no-NO-CKT9kLAH.js +0 -15
- package/dist/no-NO-YuIAbtuI.js +0 -13
- package/dist/no-NO-kaAdT9B8.js +0 -35
- package/dist/pl-PL--qPaNyJD.js +0 -22
- package/dist/pl-PL-B87v7Wzw.js +0 -13
- package/dist/pl-PL-B8pWxq6T.js +0 -13
- package/dist/pl-PL-B9eq4QTe.js +0 -13
- package/dist/pl-PL-DD8JN4Qf.js +0 -35
- package/dist/pl-PL-T6uD5--R.js +0 -23
- package/dist/pt-BR-BljlblJ5.js +0 -23
- package/dist/pt-BR-CI2ZzGeN.js +0 -15
- package/dist/pt-BR-Cmr5LoAm.js +0 -22
- package/dist/pt-BR-CrKxuloz.js +0 -13
- package/dist/pt-BR-DMCle1o_.js +0 -30
- package/dist/pt-BR-DeDXIlM_.js +0 -35
- package/dist/pt-BR-DtLKiYpp.js +0 -60
- package/dist/pt-PT-BNJcehJa.js +0 -13
- package/dist/pt-PT-Cu735tNP.js +0 -13
- package/dist/pt-PT-D2elvnDU.js +0 -15
- package/dist/pt-PT-Dk48OVtf.js +0 -22
- package/dist/pt-PT-Gsd7I9Ff.js +0 -13
- package/dist/pt-PT-N0njcfLO.js +0 -23
- package/dist/pt-PT-Xm-pm3mb.js +0 -35
- package/dist/resolveEnvironment-DTf0YGQw.js +0 -84
- package/dist/ro-RO-B4ASHhK6.js +0 -13
- package/dist/ro-RO-B75duQ_N.js +0 -13
- package/dist/ro-RO-BLuOjrS0.js +0 -22
- package/dist/ro-RO-C3m6aJVP.js +0 -35
- package/dist/ro-RO-DL9V1CMj.js +0 -15
- package/dist/ro-RO-DkHxxgVT.js +0 -13
- package/dist/ro-RO-Ic1SzBgx.js +0 -23
- package/dist/sk-SK-BSioQTMW.js +0 -15
- package/dist/sk-SK-BVc-vNQm.js +0 -35
- package/dist/sk-SK-C1Ky2nl_.js +0 -22
- package/dist/sk-SK-CiD0FeLN.js +0 -23
- package/dist/sk-SK-Cv76Qa3V.js +0 -13
- package/dist/sk-SK-DUZblaeq.js +0 -13
- package/dist/sk-SK-DibZzOqt.js +0 -13
- package/dist/sl-SI-BB7iVcFI.js +0 -22
- package/dist/sl-SI-BylvpF-X.js +0 -15
- package/dist/sl-SI-CyNtynTN.js +0 -13
- package/dist/sl-SI-D9rl7bIN.js +0 -13
- package/dist/sl-SI-D_rqR0D7.js +0 -35
- package/dist/sl-SI-MZoDApq9.js +0 -23
- package/dist/sl-SI-vyebIKls.js +0 -13
- package/dist/sv-SE-1eeTTIj7.js +0 -13
- package/dist/sv-SE-B3zoXMuH.js +0 -35
- package/dist/sv-SE-BcTCn-cn.js +0 -13
- package/dist/sv-SE-DCFSf4Oj.js +0 -23
- package/dist/sv-SE-DbI-1JqN.js +0 -22
- package/dist/sv-SE-Dwz1yTrB.js +0 -15
- package/dist/sv-SE-Ez33Bdgp.js +0 -13
- package/dist/translation-C21WMjvq.js +0 -472
- package/dist/types/components/BusinessLines/forms/rules.d.ts +0 -5
- package/dist/types/components/ui/atoms/FormHeader/FormHeader.d.ts +0 -8
- package/dist/types/components/ui/atoms/Remove/Remove.d.ts +0 -2
- package/dist/types/components/ui/atoms/Remove/Remove.types.d.ts +0 -9
- package/dist/types/components/ui/molecules/Card/CardGroup.d.ts +0 -3
|
@@ -1,593 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6c5030ff-a88f-4f4d-ab0a-7ebb082680ac", e._sentryDebugIdIdentifier = "sentry-dbid-6c5030ff-a88f-4f4d-ab0a-7ebb082680ac");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { a as addResourceBundles, T as Trans, _ as __variableDynamicImportRuntimeHelper } from "./translation-C21WMjvq.js";
|
|
11
|
-
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
|
-
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useScenarios } from "./useScenarios-DesE_Dem.js";
|
|
14
|
-
import { V as Icon, a as useTranslation, c as useLegalEntity, B as Button, L as Loader, u as useI18nContext, x as Typography, U as useAnalyticsContext, R as ROOT_LE, _ as useGetTaskStatus, X as useExperimentsContext, aU as getOwnDecisionMakers, ba as getAvailableDecisionMakerRoleTypes, M as TaskTypes, O as TaskStatuses, b4 as getAllowedDecisionMakerRoles, al as DecisionMakerTypes, y as LegalEntityTypes } from "./StoreProvider-DGxWcgrS.js";
|
|
15
|
-
import { d as useUpdateLegalEntity } from "./RadioGroup-QZCH1TCn.js";
|
|
16
|
-
import { e as getRoleName, F as FormHeader } from "./CountryField-DrB-OFMR.js";
|
|
17
|
-
import cx from "classnames";
|
|
18
|
-
import { A as Avatar } from "./Avatar-ERL8LlcN.js";
|
|
19
|
-
import { M as Modal } from "./Modal-BaaNj5F-.js";
|
|
20
|
-
import { u as useToastContext } from "./useToastContext-D4w2gBxd.js";
|
|
21
|
-
import { e as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, C as CardGroup, f as EntityAssociation } from "./OnboardingDropinComponent-DIf93Tzb.js";
|
|
22
|
-
import { S as StackLayout, L as LandingLayout } from "./bafinUtils-BJao1Xb_.js";
|
|
23
|
-
import { a as Alert } from "./Alert-Ce3pDSUY.js";
|
|
24
|
-
import { I as Image, b as useCapabilityProblems, C as ContextGuidance } from "./fieldConfigurations-BzmPcPW1.js";
|
|
25
|
-
import { A as ActionBar } from "./FormNavigation-DXaxaf1-.js";
|
|
26
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-Clfh9v2q.js";
|
|
27
|
-
import { i as isEmpty } from "./isEmpty-Cg1sEY56.js";
|
|
28
|
-
import { T as TaskStatusIndicator } from "./TaskStatusIndicator-CEZcV_gi.js";
|
|
29
|
-
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
30
|
-
import { C as Confirm } from "./useDataset-CYBhIC5y.js";
|
|
31
|
-
import { lazy } from "preact/compat";
|
|
32
|
-
const listItem = "adyen-kyc-list-item";
|
|
33
|
-
const listItemBordered = "adyen-kyc-list-item-bordered";
|
|
34
|
-
const listItemInteractive = "adyen-kyc-list-item-interactive";
|
|
35
|
-
const listItemText = "adyen-kyc-list-item-text";
|
|
36
|
-
const listItemTitle = "adyen-kyc-list-item-title";
|
|
37
|
-
const listItemDescription = "adyen-kyc-list-item-description";
|
|
38
|
-
const listItemDisclosure = "adyen-kyc-list-item-disclosure";
|
|
39
|
-
const listItemAccessory = "adyen-kyc-list-item-accessory";
|
|
40
|
-
const styles$1 = {
|
|
41
|
-
listItem,
|
|
42
|
-
listItemBordered,
|
|
43
|
-
listItemInteractive,
|
|
44
|
-
listItemText,
|
|
45
|
-
listItemTitle,
|
|
46
|
-
listItemDescription,
|
|
47
|
-
listItemDisclosure,
|
|
48
|
-
listItemAccessory
|
|
49
|
-
};
|
|
50
|
-
const ListItem = ({ accessory, action, avatar, bordered, description, title }) => {
|
|
51
|
-
const isInteractive = !!action && typeof action.onClick === "function";
|
|
52
|
-
const isDisabled = !!action?.disabled;
|
|
53
|
-
const listItemAvatar = {
|
|
54
|
-
...avatar,
|
|
55
|
-
...isDisabled && { variant: "disabled" }
|
|
56
|
-
};
|
|
57
|
-
const rootClassname = cx(
|
|
58
|
-
styles$1.listItem,
|
|
59
|
-
{ [styles$1.listItemBordered]: bordered },
|
|
60
|
-
{
|
|
61
|
-
[styles$1.listItemInteractive]: isInteractive
|
|
62
|
-
}
|
|
63
|
-
);
|
|
64
|
-
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
65
|
-
avatar && /* @__PURE__ */ jsx(Avatar, { ...listItemAvatar }),
|
|
66
|
-
/* @__PURE__ */ jsxs("div", { className: styles$1.listItemText, children: [
|
|
67
|
-
/* @__PURE__ */ jsx("h3", { className: styles$1.listItemTitle, children: title }),
|
|
68
|
-
description && /* @__PURE__ */ jsx("span", { className: styles$1.listItemDescription, children: description })
|
|
69
|
-
] }),
|
|
70
|
-
accessory && /* @__PURE__ */ jsx("div", { className: styles$1.listItemAccessory, children: accessory })
|
|
71
|
-
] });
|
|
72
|
-
if (isInteractive) {
|
|
73
|
-
return /* @__PURE__ */ jsxs(
|
|
74
|
-
"button",
|
|
75
|
-
{
|
|
76
|
-
"aria-label": title,
|
|
77
|
-
className: rootClassname,
|
|
78
|
-
disabled: isDisabled,
|
|
79
|
-
onClick: action.onClick,
|
|
80
|
-
type: "button",
|
|
81
|
-
children: [
|
|
82
|
-
content,
|
|
83
|
-
action?.disclosure && !isDisabled && /* @__PURE__ */ jsx("div", { className: styles$1.listItemDisclosure, "data-testid": "disclosure-indicator", children: /* @__PURE__ */ jsx(Icon, { name: "chevron-right" }) })
|
|
84
|
-
]
|
|
85
|
-
}
|
|
86
|
-
);
|
|
87
|
-
} else {
|
|
88
|
-
return /* @__PURE__ */ jsx("div", { className: rootClassname, children: content });
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
const DecisionMakerDetails = ({
|
|
92
|
-
decisionMaker,
|
|
93
|
-
handleClose,
|
|
94
|
-
handleDelete,
|
|
95
|
-
handleEdit
|
|
96
|
-
}) => {
|
|
97
|
-
const { t } = useTranslation("common");
|
|
98
|
-
const [confirmOpen, setConfirmOpen] = useState(false);
|
|
99
|
-
const { data: legalEntity, isLoading: isLegalEntityLoading } = useLegalEntity(
|
|
100
|
-
decisionMaker.reference
|
|
101
|
-
);
|
|
102
|
-
const actions = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
103
|
-
/* @__PURE__ */ jsx(Button, { onClick: handleEdit, variant: "primary", fullWidth: true, children: t(($) => $["editDetails"]) }),
|
|
104
|
-
/* @__PURE__ */ jsx(Button, { onClick: () => setConfirmOpen(true), variant: "secondary", fullWidth: true, children: t(($) => $["delete"]) })
|
|
105
|
-
] });
|
|
106
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
107
|
-
/* @__PURE__ */ jsx(Modal, { onClose: handleClose, ariaLabel: t(($) => $["individualDetails"]), inset: true, children: /* @__PURE__ */ jsx(DetailViewLayout, { title: t(($) => $["individualDetails"]), actions, children: isLegalEntityLoading || !legalEntity ? /* @__PURE__ */ jsx(Loader, {}) : /* @__PURE__ */ jsx(StackLayout, { gap: "medium", children: /* @__PURE__ */ jsx(
|
|
108
|
-
ListItem,
|
|
109
|
-
{
|
|
110
|
-
accessory: /* @__PURE__ */ jsx(TaskStatusIndicator, { taskStatus: decisionMaker.status }),
|
|
111
|
-
avatar: { iconName: "user", circle: true },
|
|
112
|
-
title: decisionMaker.name,
|
|
113
|
-
description: decisionMaker.types.map((type) => t(($) => $[getRoleName(type)])).filter(Boolean).join(",")
|
|
114
|
-
}
|
|
115
|
-
) }) }) }),
|
|
116
|
-
confirmOpen && /* @__PURE__ */ jsx(
|
|
117
|
-
Confirm,
|
|
118
|
-
{
|
|
119
|
-
title: t(($) => $["deleteThisIndividual"]),
|
|
120
|
-
description: t(($) => $["thisActionIsPermanent"]),
|
|
121
|
-
onConfirm: handleDelete,
|
|
122
|
-
confirmText: t(($) => $["deleteIndividual"]),
|
|
123
|
-
onCancel: () => setConfirmOpen(false),
|
|
124
|
-
critical: true
|
|
125
|
-
}
|
|
126
|
-
)
|
|
127
|
-
] });
|
|
128
|
-
};
|
|
129
|
-
const decisionMakersGettingStarted = "adyen-kyc-decision-makers-getting-started";
|
|
130
|
-
const styles = {
|
|
131
|
-
decisionMakersGettingStarted
|
|
132
|
-
};
|
|
133
|
-
const DecisionMakersModalContent = () => {
|
|
134
|
-
const { i18n } = useI18nContext();
|
|
135
|
-
const { t } = useTranslation("individual");
|
|
136
|
-
return /* @__PURE__ */ jsxs("div", { className: styles.decisionMakersGettingStartedModal, children: [
|
|
137
|
-
/* @__PURE__ */ jsx(Typography, { variant: "title-l", el: "h3", className: "adyen-kyc-u-margin-bottom-40", children: i18n.get("moreAboutOwnersAndDecisionMakers") }),
|
|
138
|
-
/* @__PURE__ */ jsx(Typography, { variant: "body-strongest", el: "h4", className: "adyen-kyc-u-margin-bottom-12", children: t(($) => $["ownersAndDecisionMakersDescriptionQ1"]) }),
|
|
139
|
-
/* @__PURE__ */ jsx(Typography, { el: "p", className: "adyen-kyc-u-margin-bottom-32", children: t(($) => $["ownersAndDecisionMakersDescriptionA1"]) }),
|
|
140
|
-
/* @__PURE__ */ jsx(
|
|
141
|
-
Alert,
|
|
142
|
-
{
|
|
143
|
-
title: t(($) => $["ownersDescriptionAlertTitle"]),
|
|
144
|
-
icon: false,
|
|
145
|
-
className: "adyen-kyc-u-margin-bottom-32",
|
|
146
|
-
children: t(($) => $["ownersAndDecisionMakersDescriptionAlertContent"])
|
|
147
|
-
}
|
|
148
|
-
),
|
|
149
|
-
/* @__PURE__ */ jsx(Typography, { variant: "body-strongest", el: "h4", className: "adyen-kyc-u-margin-bottom-12", children: t(($) => $["ownersAndDecisionMakersDescriptionQ2"]) }),
|
|
150
|
-
/* @__PURE__ */ jsx(Typography, { el: "p", children: t(($) => $["ownersAndDecisionMakersDescriptionA2P1"]) }),
|
|
151
|
-
/* @__PURE__ */ jsx(Typography, { el: "p", className: "adyen-kyc-u-margin-bottom-32", children: t(($) => $["ownersAndDecisionMakersDescriptionA2P2"]) }),
|
|
152
|
-
/* @__PURE__ */ jsx(
|
|
153
|
-
Alert,
|
|
154
|
-
{
|
|
155
|
-
title: t(($) => $["ownersDescriptionAlertTitle"]),
|
|
156
|
-
icon: false,
|
|
157
|
-
className: "adyen-kyc-u-margin-bottom-32",
|
|
158
|
-
children: t(($) => $["ownersDescriptionAlertContent"])
|
|
159
|
-
}
|
|
160
|
-
),
|
|
161
|
-
/* @__PURE__ */ jsx(Typography, { variant: "body-strongest", el: "h4", className: "adyen-kyc-u-margin-bottom-12", children: t(($) => $["ownersAndDecisionMakersDescriptionQ3"]) }),
|
|
162
|
-
/* @__PURE__ */ jsx(Typography, { el: "p", className: "adyen-kyc-u-margin-bottom-32", children: t(($) => $["ownersAndDecisionMakersDescriptionA3"]) }),
|
|
163
|
-
/* @__PURE__ */ jsx(Typography, { variant: "body-strongest", el: "h4", className: "adyen-kyc-u-margin-bottom-12", children: t(($) => $["ownersAndDecisionMakersDescriptionQ4"]) }),
|
|
164
|
-
/* @__PURE__ */ jsx(Typography, { el: "p", className: "adyen-kyc-u-margin-bottom-32", children: t(($) => $["ownersAndDecisionMakersDescriptionA4"]) })
|
|
165
|
-
] });
|
|
166
|
-
};
|
|
167
|
-
const decisionMakerGroup = lazy(() => import("./decision-makers-group-CgddXgrx.js"));
|
|
168
|
-
const DecisionMakersGettingStarted = ({
|
|
169
|
-
addDecisionMakerOnClick,
|
|
170
|
-
handleCancelClick
|
|
171
|
-
}) => {
|
|
172
|
-
const { i18n } = useI18nContext();
|
|
173
|
-
const { t } = useTranslation("individual");
|
|
174
|
-
const userEvents = useAnalyticsContext();
|
|
175
|
-
const [isModalOpen, setIsModalOpen] = useState(false);
|
|
176
|
-
const openModal = () => {
|
|
177
|
-
userEvents.addPageEvent("Opened modal", {
|
|
178
|
-
actionType: "open",
|
|
179
|
-
label: "decisionMakersGettingStartedModal"
|
|
180
|
-
});
|
|
181
|
-
setIsModalOpen(true);
|
|
182
|
-
};
|
|
183
|
-
const closeModal = () => {
|
|
184
|
-
userEvents.addPageEvent("Closed modal", {
|
|
185
|
-
actionType: "close",
|
|
186
|
-
label: "decisionMakersGettingStartedModal"
|
|
187
|
-
});
|
|
188
|
-
setIsModalOpen(false);
|
|
189
|
-
};
|
|
190
|
-
return /* @__PURE__ */ jsxs("div", { className: styles.decisionMakersGettingStarted, children: [
|
|
191
|
-
/* @__PURE__ */ jsx(
|
|
192
|
-
LandingLayout,
|
|
193
|
-
{
|
|
194
|
-
media: /* @__PURE__ */ jsx(Image, { lazyLoadedImage: decisionMakerGroup }),
|
|
195
|
-
title: t(($) => $["ownersAndDecisionMakers"]),
|
|
196
|
-
description: t(($) => $["ownersAndDecisionMakersDescription"]),
|
|
197
|
-
helpAction: /* @__PURE__ */ jsx(Button, { variant: "link", onClick: openModal, fullWidth: true, children: i18n.get("learnMore") }),
|
|
198
|
-
actions: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
199
|
-
/* @__PURE__ */ jsx(
|
|
200
|
-
Button,
|
|
201
|
-
{
|
|
202
|
-
fullWidth: true,
|
|
203
|
-
testId: "decision-makers-getting-started-primary-button",
|
|
204
|
-
onClick: addDecisionMakerOnClick,
|
|
205
|
-
children: i18n.get("gettingStarted")
|
|
206
|
-
}
|
|
207
|
-
),
|
|
208
|
-
handleCancelClick && /* @__PURE__ */ jsx(
|
|
209
|
-
Button,
|
|
210
|
-
{
|
|
211
|
-
variant: "tertiary",
|
|
212
|
-
fullWidth: true,
|
|
213
|
-
testId: "decision-makers-getting-started-cancel-button",
|
|
214
|
-
onClick: handleCancelClick,
|
|
215
|
-
children: i18n.get("finishLater")
|
|
216
|
-
}
|
|
217
|
-
)
|
|
218
|
-
] })
|
|
219
|
-
}
|
|
220
|
-
),
|
|
221
|
-
isModalOpen && /* @__PURE__ */ jsx(Modal, { onClose: closeModal, ariaLabel: i18n.get("moreAboutOwnersAndDecisionMakers"), inset: true, children: /* @__PURE__ */ jsx(DecisionMakersModalContent, {}) })
|
|
222
|
-
] });
|
|
223
|
-
};
|
|
224
|
-
const DecisionMakers = (props) => {
|
|
225
|
-
const { data, isLoading } = useLegalEntity(ROOT_LE);
|
|
226
|
-
const { i18n } = useTranslation();
|
|
227
|
-
addResourceBundles(i18n, i18n.language, [
|
|
228
|
-
{ ns: "individual", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../language/bg-BG.json": () => import("./bg-BG-Cp58y2fj.js"), "../../language/cs-CZ.json": () => import("./cs-CZ-DMwpeH56.js"), "../../language/da-DK.json": () => import("./da-DK-R0sNbjuQ.js"), "../../language/de-DE.json": () => import("./de-DE-D9r_yUSr.js"), "../../language/el-GR.json": () => import("./el-GR-kj1-bNjH.js"), "../../language/en-US.json": () => import("./en-US-BaWkkHh3.js"), "../../language/es-ES.json": () => import("./es-ES-XCII5d8J.js"), "../../language/et-EE.json": () => import("./et-EE-DNcqO4R9.js"), "../../language/fi-FI.json": () => import("./fi-FI-DTgF3AuK.js"), "../../language/fr-FR.json": () => import("./fr-FR-BZbWBKOT.js"), "../../language/hr-HR.json": () => import("./hr-HR-CJ5rmUrZ.js"), "../../language/hu-HU.json": () => import("./hu-HU-CX5vJbE8.js"), "../../language/it-IT.json": () => import("./it-IT-Cepap1v0.js"), "../../language/ja-JP.json": () => import("./ja-JP-DT0qGp0i.js"), "../../language/lt-LT.json": () => import("./lt-LT-lJLUJnzd.js"), "../../language/lv-LV.json": () => import("./lv-LV-DPZgF65i.js"), "../../language/nl-NL.json": () => import("./nl-NL-BIcLB7e6.js"), "../../language/no-NO.json": () => import("./no-NO-YuIAbtuI.js"), "../../language/pl-PL.json": () => import("./pl-PL-B9eq4QTe.js"), "../../language/pt-BR.json": () => import("./pt-BR-DtLKiYpp.js"), "../../language/pt-PT.json": () => import("./pt-PT-Cu735tNP.js"), "../../language/ro-RO.json": () => import("./ro-RO-B75duQ_N.js"), "../../language/sk-SK.json": () => import("./sk-SK-Cv76Qa3V.js"), "../../language/sl-SI.json": () => import("./sl-SI-CyNtynTN.js"), "../../language/sv-SE.json": () => import("./sv-SE-1eeTTIj7.js") }), `../../language/${i18n.language}.json`, 4) }
|
|
229
|
-
]);
|
|
230
|
-
if (isLoading || !data) {
|
|
231
|
-
return /* @__PURE__ */ jsx(Loader, {});
|
|
232
|
-
}
|
|
233
|
-
return /* @__PURE__ */ jsx(DecisionMakersInner, { ...props, legalEntity: data });
|
|
234
|
-
};
|
|
235
|
-
const DecisionMakersInner = ({
|
|
236
|
-
legalEntity,
|
|
237
|
-
onNavigateToIndividual,
|
|
238
|
-
navigateBackToTaskList,
|
|
239
|
-
trustedEntityAssociations
|
|
240
|
-
}) => {
|
|
241
|
-
const getTaskStatus = useGetTaskStatus();
|
|
242
|
-
const { i18n } = useI18nContext();
|
|
243
|
-
const { t } = useTranslation("individual");
|
|
244
|
-
const userEvents = useAnalyticsContext();
|
|
245
|
-
const { isExperimentEnabled } = useExperimentsContext();
|
|
246
|
-
const { showToast } = useToastContext();
|
|
247
|
-
const isRevampedDecisionMakersTaskPageEnabled = isExperimentEnabled(
|
|
248
|
-
"EnableRevampedDecisionMakersTaskPage"
|
|
249
|
-
);
|
|
250
|
-
const [isRemoveDisabled, setIsRemoveDisabled] = useState(false);
|
|
251
|
-
const [showDecisionMakerModal, setShowDecisionMakerModal] = useState(false);
|
|
252
|
-
const [selectedDecisionMaker, setSelectedDecisionMaker] = useState();
|
|
253
|
-
const [isModalOpen, setIsModalOpen] = useState(false);
|
|
254
|
-
const openModal = () => {
|
|
255
|
-
userEvents.addPageEvent("Opened modal", {
|
|
256
|
-
actionType: "open",
|
|
257
|
-
label: "decisionMakersDescriptionModal"
|
|
258
|
-
});
|
|
259
|
-
setIsModalOpen(true);
|
|
260
|
-
};
|
|
261
|
-
const closeModal = () => {
|
|
262
|
-
userEvents.addPageEvent("Closed modal", {
|
|
263
|
-
actionType: "close",
|
|
264
|
-
label: "decisionMakersDescriptionModal"
|
|
265
|
-
});
|
|
266
|
-
setIsModalOpen(false);
|
|
267
|
-
};
|
|
268
|
-
const openDecisionMakerModal = (decisionMaker) => {
|
|
269
|
-
userEvents.addPageEvent("Opened modal", {
|
|
270
|
-
actionType: "open",
|
|
271
|
-
label: "viewDecisionMakerModal"
|
|
272
|
-
});
|
|
273
|
-
setShowDecisionMakerModal(true);
|
|
274
|
-
setSelectedDecisionMaker(decisionMaker);
|
|
275
|
-
};
|
|
276
|
-
const closeDecisionMakerModal = () => {
|
|
277
|
-
userEvents.addPageEvent("Closed modal", {
|
|
278
|
-
actionType: "close",
|
|
279
|
-
label: "viewDecisionMakerModal"
|
|
280
|
-
});
|
|
281
|
-
setShowDecisionMakerModal(false);
|
|
282
|
-
setSelectedDecisionMaker(null);
|
|
283
|
-
};
|
|
284
|
-
const capabilityProblems = useCapabilityProblems() ?? {};
|
|
285
|
-
const updateLegalEntity = useUpdateLegalEntity();
|
|
286
|
-
const decisionMakers = getOwnDecisionMakers(legalEntity);
|
|
287
|
-
const registeredCountry = legalEntity.organization.registeredAddress.country;
|
|
288
|
-
const { data: scenarios } = useScenarios(registeredCountry, LegalEntityTypes.INDIVIDUAL);
|
|
289
|
-
const availableDecisionMakers = getAvailableDecisionMakerRoleTypes(registeredCountry, scenarios);
|
|
290
|
-
const translationKeys = {
|
|
291
|
-
home: "saveAndGoToOverview"
|
|
292
|
-
};
|
|
293
|
-
const { remediationMessages } = useDataMissingRemediations({
|
|
294
|
-
legalEntityId: legalEntity.id,
|
|
295
|
-
problems: capabilityProblems
|
|
296
|
-
});
|
|
297
|
-
const mappedDecisionMakers = decisionMakers?.reduce(
|
|
298
|
-
(mappedDecisionMakers2, decisionMaker) => {
|
|
299
|
-
if (!decisionMaker.legalEntityId) return {};
|
|
300
|
-
const mappedDecisionMaker = mappedDecisionMakers2[decisionMaker.legalEntityId];
|
|
301
|
-
const decisionMakerType = decisionMaker.type;
|
|
302
|
-
mappedDecisionMakers2[decisionMaker.legalEntityId] = {
|
|
303
|
-
reference: decisionMaker.legalEntityId,
|
|
304
|
-
types: mappedDecisionMaker ? [...mappedDecisionMaker.types, decisionMakerType] : [decisionMakerType],
|
|
305
|
-
status: getTaskStatus(TaskTypes.DECISION_MAKER, decisionMaker.legalEntityId),
|
|
306
|
-
name: decisionMaker.name ?? "",
|
|
307
|
-
legalEntityType: decisionMaker.entityType,
|
|
308
|
-
problems: capabilityProblems?.LegalEntity?.[decisionMaker.legalEntityId]
|
|
309
|
-
};
|
|
310
|
-
return mappedDecisionMakers2;
|
|
311
|
-
},
|
|
312
|
-
{}
|
|
313
|
-
);
|
|
314
|
-
const uniqueDecisionMakers = mappedDecisionMakers ? Object.values(mappedDecisionMakers) : [];
|
|
315
|
-
const BENEFICIAL_OWNER_ROLES = [
|
|
316
|
-
DecisionMakerTypes.OWNER,
|
|
317
|
-
DecisionMakerTypes.CONTROLLING_PERSON,
|
|
318
|
-
DecisionMakerTypes.DIRECTOR
|
|
319
|
-
];
|
|
320
|
-
const decisionMakersTaskStatusLabelMap = {
|
|
321
|
-
[TaskStatuses.ERROR]: i18n.get("incomplete"),
|
|
322
|
-
[TaskStatuses.PROCESSING]: i18n.get("inReview"),
|
|
323
|
-
[TaskStatuses.FINISHED]: i18n.get("complete")
|
|
324
|
-
};
|
|
325
|
-
const decisionMakerStatusLabelMap = {
|
|
326
|
-
[TaskStatuses.ERROR]: i18n.get("actionNeeded"),
|
|
327
|
-
[TaskStatuses.PROCESSING]: i18n.get("inReview"),
|
|
328
|
-
[TaskStatuses.FINISHED]: i18n.get("verified")
|
|
329
|
-
};
|
|
330
|
-
const { actionNeededDecisionMakers, completeDecisionMakers } = uniqueDecisionMakers.reduce(
|
|
331
|
-
(acc, dm) => {
|
|
332
|
-
if (dm.status === TaskStatuses.ERROR || dm.status === TaskStatuses.DETAILS_REQUIRED) {
|
|
333
|
-
acc.actionNeededDecisionMakers.push(dm);
|
|
334
|
-
} else if (dm.status === TaskStatuses.FINISHED || dm.status === TaskStatuses.PROCESSING) {
|
|
335
|
-
acc.completeDecisionMakers.push(dm);
|
|
336
|
-
}
|
|
337
|
-
return acc;
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
actionNeededDecisionMakers: [],
|
|
341
|
-
completeDecisionMakers: []
|
|
342
|
-
}
|
|
343
|
-
);
|
|
344
|
-
const getOverallStatus = () => {
|
|
345
|
-
if (!isEmpty(capabilityProblems) || actionNeededDecisionMakers.length > 0) {
|
|
346
|
-
return TaskStatuses.ERROR;
|
|
347
|
-
}
|
|
348
|
-
if (completeDecisionMakers.some((dm) => dm.status === TaskStatuses.PROCESSING)) {
|
|
349
|
-
return TaskStatuses.PROCESSING;
|
|
350
|
-
}
|
|
351
|
-
return TaskStatuses.FINISHED;
|
|
352
|
-
};
|
|
353
|
-
const decisionMakersTaskStatus = getOverallStatus();
|
|
354
|
-
const showWarning = Boolean(remediationMessages.DECISION_MAKER && uniqueDecisionMakers.length);
|
|
355
|
-
useEffect(() => {
|
|
356
|
-
userEvents.addTaskEvent("Landed on page", {
|
|
357
|
-
actionType: "start"
|
|
358
|
-
});
|
|
359
|
-
}, [userEvents]);
|
|
360
|
-
useEffect(() => {
|
|
361
|
-
if (showWarning) {
|
|
362
|
-
userEvents.addTaskEvent("Encountered error", {
|
|
363
|
-
task: TaskTypes.DECISION_MAKER_OVERVIEW,
|
|
364
|
-
actionType: "alert",
|
|
365
|
-
returnValue: "missingDecisionMaker"
|
|
366
|
-
});
|
|
367
|
-
}
|
|
368
|
-
}, [remediationMessages.DECISION_MAKER, showWarning, userEvents]);
|
|
369
|
-
const uniqueDecisionMakersPerType = (roleType) => uniqueDecisionMakers.filter(({ types }) => types.includes(roleType)).length;
|
|
370
|
-
const allowedDecisionMakerTypes = getAllowedDecisionMakerRoles(
|
|
371
|
-
legalEntity,
|
|
372
|
-
TaskTypes.DECISION_MAKER,
|
|
373
|
-
scenarios
|
|
374
|
-
);
|
|
375
|
-
const haveMaxDecisionMakers = allowedDecisionMakerTypes.length === 0;
|
|
376
|
-
const getDecisionMakerTrackingParams = (decisionMaker) => ({
|
|
377
|
-
task: TaskTypes.DECISION_MAKER_OVERVIEW,
|
|
378
|
-
associatedLegalEntityId: decisionMaker.reference,
|
|
379
|
-
associatedLegalEntityType: decisionMaker.legalEntityType,
|
|
380
|
-
roles: decisionMaker.types
|
|
381
|
-
});
|
|
382
|
-
const addDecisionMakerOnClick = () => {
|
|
383
|
-
onNavigateToIndividual();
|
|
384
|
-
};
|
|
385
|
-
const editDecisionMaker = (decisionMaker) => {
|
|
386
|
-
onNavigateToIndividual(decisionMaker.reference);
|
|
387
|
-
userEvents.addTaskEvent("Clicked button", {
|
|
388
|
-
...getDecisionMakerTrackingParams(decisionMaker),
|
|
389
|
-
actionType: "edit"
|
|
390
|
-
});
|
|
391
|
-
};
|
|
392
|
-
const deleteDecisionMaker = async (decisionMaker) => {
|
|
393
|
-
try {
|
|
394
|
-
const updatedEntityAssociations = {
|
|
395
|
-
entityAssociations: (legalEntity.entityAssociations ?? []).filter(
|
|
396
|
-
(entityAssociation) => entityAssociation.legalEntityId !== decisionMaker.reference
|
|
397
|
-
)
|
|
398
|
-
};
|
|
399
|
-
await updateLegalEntity.mutateAsync({ ...updatedEntityAssociations, id: legalEntity.id });
|
|
400
|
-
const remainingDecisionMakers = decisionMakers.filter(
|
|
401
|
-
(curr) => curr.legalEntityId !== decisionMaker.reference
|
|
402
|
-
);
|
|
403
|
-
userEvents.addTaskEvent("Clicked button", {
|
|
404
|
-
...getDecisionMakerTrackingParams(decisionMaker),
|
|
405
|
-
actionType: "remove",
|
|
406
|
-
remainingDecisionMakers
|
|
407
|
-
});
|
|
408
|
-
showToast({ variant: "success", label: i18n.get("successFullyRemovedDecisionMaker") });
|
|
409
|
-
} catch {
|
|
410
|
-
showToast({ variant: "error", label: i18n.get("failedToRemoveDecisionMaker") });
|
|
411
|
-
}
|
|
412
|
-
};
|
|
413
|
-
const renderDecisionMakerItem = (decisionMaker) => {
|
|
414
|
-
const isSignatory = decisionMaker.types.includes(DecisionMakerTypes.SIGNATORY);
|
|
415
|
-
const isBeneficialOwner = decisionMaker.types.some(
|
|
416
|
-
(type) => BENEFICIAL_OWNER_ROLES.includes(type)
|
|
417
|
-
);
|
|
418
|
-
const description = [
|
|
419
|
-
isSignatory && t(($) => $.signatory),
|
|
420
|
-
isBeneficialOwner && t(($) => $.beneficialOwner)
|
|
421
|
-
].filter(Boolean).join(", ");
|
|
422
|
-
return /* @__PURE__ */ jsx(
|
|
423
|
-
ListItem,
|
|
424
|
-
{
|
|
425
|
-
bordered: true,
|
|
426
|
-
accessory: /* @__PURE__ */ jsx(
|
|
427
|
-
TaskItemStatus,
|
|
428
|
-
{
|
|
429
|
-
status: decisionMaker.status,
|
|
430
|
-
statusLabel: decisionMakerStatusLabelMap[decisionMaker.status]
|
|
431
|
-
}
|
|
432
|
-
),
|
|
433
|
-
avatar: { iconName: "user", circle: true },
|
|
434
|
-
title: decisionMaker.name,
|
|
435
|
-
action: { onClick: () => openDecisionMakerModal(decisionMaker) },
|
|
436
|
-
description
|
|
437
|
-
},
|
|
438
|
-
decisionMaker.reference
|
|
439
|
-
);
|
|
440
|
-
};
|
|
441
|
-
if (isRevampedDecisionMakersTaskPageEnabled && uniqueDecisionMakers.length === 0) {
|
|
442
|
-
return /* @__PURE__ */ jsx(
|
|
443
|
-
DecisionMakersGettingStarted,
|
|
444
|
-
{
|
|
445
|
-
handleCancelClick: () => navigateBackToTaskList(),
|
|
446
|
-
addDecisionMakerOnClick
|
|
447
|
-
}
|
|
448
|
-
);
|
|
449
|
-
}
|
|
450
|
-
return /* @__PURE__ */ jsx(
|
|
451
|
-
DropinLayout,
|
|
452
|
-
{
|
|
453
|
-
content: /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-decision-makers adyen-kyc-u-width-full", children: [
|
|
454
|
-
isRevampedDecisionMakersTaskPageEnabled ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
455
|
-
/* @__PURE__ */ jsxs(StackLayout, { gap: "medium", centered: true, children: [
|
|
456
|
-
/* @__PURE__ */ jsx(
|
|
457
|
-
TaskItemStatus,
|
|
458
|
-
{
|
|
459
|
-
status: decisionMakersTaskStatus,
|
|
460
|
-
statusLabel: decisionMakersTaskStatusLabelMap[decisionMakersTaskStatus]
|
|
461
|
-
}
|
|
462
|
-
),
|
|
463
|
-
/* @__PURE__ */ jsx(Typography, { el: "h2", variant: "title-l", children: t(($) => $["ownersAndDecisionMakers"]) }),
|
|
464
|
-
/* @__PURE__ */ jsx(Typography, { el: "div", variant: "body", children: t(($) => $["ownersAndDecisionMakersDescription"]) }),
|
|
465
|
-
/* @__PURE__ */ jsx(Button, { variant: "link", onClick: openModal, children: i18n.get("learnMore") }),
|
|
466
|
-
showWarning && /* @__PURE__ */ jsx(
|
|
467
|
-
Alert,
|
|
468
|
-
{
|
|
469
|
-
className: "adyen-kyc-decision-makers__warning",
|
|
470
|
-
title: remediationMessages.DECISION_MAKER,
|
|
471
|
-
variant: "warning"
|
|
472
|
-
}
|
|
473
|
-
)
|
|
474
|
-
] }),
|
|
475
|
-
/* @__PURE__ */ jsxs(StackLayout, { gap: "large", children: [
|
|
476
|
-
actionNeededDecisionMakers.length > 0 && /* @__PURE__ */ jsxs(StackLayout, { gap: "small", children: [
|
|
477
|
-
/* @__PURE__ */ jsx(Typography, { variant: "body-strongest", el: "h3", children: i18n.get("actionNeeded") }),
|
|
478
|
-
actionNeededDecisionMakers.map(renderDecisionMakerItem)
|
|
479
|
-
] }),
|
|
480
|
-
completeDecisionMakers.length > 0 && /* @__PURE__ */ jsxs(StackLayout, { gap: "small", children: [
|
|
481
|
-
/* @__PURE__ */ jsx(Typography, { variant: "body-strongest", el: "h3", children: i18n.get("complete") }),
|
|
482
|
-
completeDecisionMakers.map(renderDecisionMakerItem)
|
|
483
|
-
] })
|
|
484
|
-
] })
|
|
485
|
-
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
486
|
-
/* @__PURE__ */ jsx(
|
|
487
|
-
FormHeader,
|
|
488
|
-
{
|
|
489
|
-
heading: i18n.get("decisionMaker"),
|
|
490
|
-
description: i18n.get("decisionMakerDescription")
|
|
491
|
-
}
|
|
492
|
-
),
|
|
493
|
-
/* @__PURE__ */ jsx("div", { className: "adyen-kyc-decision-makers__container", children: availableDecisionMakers.map(({ roleType, min }) => /* @__PURE__ */ jsx(
|
|
494
|
-
EntityGuidanceStatus,
|
|
495
|
-
{
|
|
496
|
-
country: registeredCountry,
|
|
497
|
-
currentTask: TaskTypes.DECISION_MAKER_OVERVIEW,
|
|
498
|
-
entityLabel: roleType,
|
|
499
|
-
status: iconStatus(uniqueDecisionMakersPerType(roleType), min)
|
|
500
|
-
},
|
|
501
|
-
roleType
|
|
502
|
-
)) }),
|
|
503
|
-
/* @__PURE__ */ jsx(
|
|
504
|
-
ContextGuidance,
|
|
505
|
-
{
|
|
506
|
-
title: i18n.get("whatIsTheDifferenceBetweenTheseRoles"),
|
|
507
|
-
content: /* @__PURE__ */ jsx("ul", { className: "adyen-kyc-guidance-list", children: availableDecisionMakers.map(({ roleType }) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
508
|
-
Trans,
|
|
509
|
-
{
|
|
510
|
-
t,
|
|
511
|
-
i18nKey: ($) => $[`${roleType === DecisionMakerTypes.CONTROLLING_PERSON ? "controllingPerson" : roleType === DecisionMakerTypes.OWNER ? "owner" : roleType}GuideDescription`]
|
|
512
|
-
}
|
|
513
|
-
) }, roleType)) }),
|
|
514
|
-
titleId: "whatIsTheDifferenceBetweenTheseRoles",
|
|
515
|
-
contentId: "differenceBetweenAnOwnerControllingPersonAndSignatory"
|
|
516
|
-
}
|
|
517
|
-
),
|
|
518
|
-
/* @__PURE__ */ jsx(CardGroup, { children: uniqueDecisionMakers.map((decisionMaker) => /* @__PURE__ */ jsx(
|
|
519
|
-
EntityAssociation,
|
|
520
|
-
{
|
|
521
|
-
types: decisionMaker.types,
|
|
522
|
-
name: decisionMaker.name,
|
|
523
|
-
status: decisionMaker.status,
|
|
524
|
-
onNavigateToEntity: () => openDecisionMakerModal(decisionMaker),
|
|
525
|
-
problems: decisionMaker?.problems,
|
|
526
|
-
removeEntity: () => deleteDecisionMaker(decisionMaker),
|
|
527
|
-
isRemoveDisabled: isRemoveDisabled || (trustedEntityAssociations ?? []).some(
|
|
528
|
-
(ea) => ea.reference === decisionMaker.reference
|
|
529
|
-
),
|
|
530
|
-
handleIsRemoveDisabled: setIsRemoveDisabled
|
|
531
|
-
},
|
|
532
|
-
decisionMaker.reference
|
|
533
|
-
)) })
|
|
534
|
-
] }),
|
|
535
|
-
showDecisionMakerModal && selectedDecisionMaker && /* @__PURE__ */ jsx(
|
|
536
|
-
DecisionMakerDetails,
|
|
537
|
-
{
|
|
538
|
-
handleClose: closeDecisionMakerModal,
|
|
539
|
-
handleDelete: () => deleteDecisionMaker(selectedDecisionMaker),
|
|
540
|
-
handleEdit: () => editDecisionMaker(selectedDecisionMaker),
|
|
541
|
-
decisionMaker: selectedDecisionMaker
|
|
542
|
-
}
|
|
543
|
-
),
|
|
544
|
-
/* @__PURE__ */ jsx("div", { className: "adyen-kyc-decision-makers__actions", children: isRevampedDecisionMakersTaskPageEnabled ? /* @__PURE__ */ jsx(
|
|
545
|
-
ListItem,
|
|
546
|
-
{
|
|
547
|
-
bordered: true,
|
|
548
|
-
avatar: { iconName: "plus", circle: true },
|
|
549
|
-
title: i18n.get("addNew"),
|
|
550
|
-
action: { onClick: addDecisionMakerOnClick }
|
|
551
|
-
}
|
|
552
|
-
) : /* @__PURE__ */ jsx(
|
|
553
|
-
Button,
|
|
554
|
-
{
|
|
555
|
-
variant: "secondary",
|
|
556
|
-
icon: "plus",
|
|
557
|
-
onClick: addDecisionMakerOnClick,
|
|
558
|
-
disabled: haveMaxDecisionMakers,
|
|
559
|
-
fullWidth: true,
|
|
560
|
-
children: i18n.get("addDecisionMaker")
|
|
561
|
-
}
|
|
562
|
-
) }),
|
|
563
|
-
/* @__PURE__ */ jsx(
|
|
564
|
-
ActionBar,
|
|
565
|
-
{
|
|
566
|
-
onHome: () => {
|
|
567
|
-
userEvents.addTaskEvent("Clicked button", {
|
|
568
|
-
task: TaskTypes.DECISION_MAKER_OVERVIEW,
|
|
569
|
-
actionType: "back",
|
|
570
|
-
label: translationKeys.home,
|
|
571
|
-
noOfDecisionMakers: decisionMakers.length
|
|
572
|
-
});
|
|
573
|
-
navigateBackToTaskList();
|
|
574
|
-
},
|
|
575
|
-
homeButtonLabel: i18n.get(translationKeys.home)
|
|
576
|
-
}
|
|
577
|
-
),
|
|
578
|
-
isModalOpen && /* @__PURE__ */ jsx(
|
|
579
|
-
Modal,
|
|
580
|
-
{
|
|
581
|
-
onClose: closeModal,
|
|
582
|
-
ariaLabel: i18n.get("moreAboutOwnersAndDecisionMakers"),
|
|
583
|
-
inset: true,
|
|
584
|
-
children: /* @__PURE__ */ jsx(DecisionMakersModalContent, {})
|
|
585
|
-
}
|
|
586
|
-
)
|
|
587
|
-
] })
|
|
588
|
-
}
|
|
589
|
-
);
|
|
590
|
-
};
|
|
591
|
-
export {
|
|
592
|
-
DecisionMakers
|
|
593
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "32bd56e3-860f-474e-868e-427568cbb6ce", e._sentryDebugIdIdentifier = "sentry-dbid-32bd56e3-860f-474e-868e-427568cbb6ce");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-C21WMjvq.js";
|
|
11
|
-
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { a as useTranslation, b as useApiContext, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-DGxWcgrS.js";
|
|
13
|
-
import { u as useOnboardingStatus } from "./useOnboardingStatus-B8yCxKXz.js";
|
|
14
|
-
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
15
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-BjGURjyl.js";
|
|
16
|
-
function ManageIndividualComponent({
|
|
17
|
-
legalEntityId,
|
|
18
|
-
onClick
|
|
19
|
-
}) {
|
|
20
|
-
const { i18n } = useTranslation();
|
|
21
|
-
const { rootLegalEntityId: currentLegalEntityId } = useApiContext();
|
|
22
|
-
currentLegalEntityId.value = legalEntityId;
|
|
23
|
-
addResourceBundles(i18n, i18n.language, [
|
|
24
|
-
{ ns: "common", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-ZJvmfx01.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-De4wbl1W.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-BK6TE3SH.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-ZQioXTGO.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-B06F8VNw.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-DGxWcgrS.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-D6Uauj9W.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-DHwaH1by.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-67pS4_t6.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-CsogZlc6.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B3boX_dq.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CYfNXKwk.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Dn9AGEIq.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-DRJ0RpUn.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-3rmXgF6K.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CBex8RS9.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-CU6c8oyY.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-BWpBc9_J.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-B87v7Wzw.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-CrKxuloz.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-BNJcehJa.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-DkHxxgVT.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-DUZblaeq.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-vyebIKls.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-BcTCn-cn.js") }), `../../../language/locales/${i18n.language}.json`, 6) }
|
|
25
|
-
]);
|
|
26
|
-
const { data: legalEntityData } = useLegalEntity(ROOT_LE);
|
|
27
|
-
const { isPending, data: onboardingStatusData } = useOnboardingStatus({
|
|
28
|
-
refetchInterval: (res) => res.state.data?.status === OnboardingStatuses.AWAITING_DATA ? 3e3 : false
|
|
29
|
-
});
|
|
30
|
-
const name = legalEntityData?.individual?.name;
|
|
31
|
-
const fullName = name ? `${name.firstName} ${name.lastName}` : "";
|
|
32
|
-
const subtitle = legalEntityData?.individual?.email ?? "";
|
|
33
|
-
const status = onboardingStatusData?.status;
|
|
34
|
-
return /* @__PURE__ */ jsx(
|
|
35
|
-
EmbeddedStatus,
|
|
36
|
-
{
|
|
37
|
-
onClick,
|
|
38
|
-
title: fullName,
|
|
39
|
-
subtitle,
|
|
40
|
-
status,
|
|
41
|
-
loading: isPending
|
|
42
|
-
}
|
|
43
|
-
);
|
|
44
|
-
}
|
|
45
|
-
export {
|
|
46
|
-
ManageIndividualComponent as M
|
|
47
|
-
};
|