@adyen/kyc-components 3.82.6 → 3.83.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/4-people-BzyXLUF9.js +24 -0
- package/dist/{AD-CyP5INSp.js → AD-BQAadLyG.js} +2 -2
- package/dist/{AT-DJLlevck.js → AT-BI8ju2NH.js} +2 -2
- package/dist/{AcceptTermsOfServiceComponent-BX6X0BUP.js → AcceptTermsOfServiceComponent-DqS5JP99.js} +16 -17
- package/dist/{AccountSetupRejected-CTRKTCIy.js → AccountSetupRejected-4ALfhW_L.js} +5 -5
- package/dist/{Address-DK4ne77p.js → Address-Dbboddow.js} +11 -9
- package/dist/{Alert-BuZyBPdN.js → Alert-Bnbg5-Pq.js} +3 -3
- package/dist/{Avatar-CbdryeRw.js → Avatar-DNO46xfe.js} +1 -1
- package/dist/{BE-B-m_4F41.js → BE-nWHKW0xQ.js} +2 -2
- package/dist/{BG-BVR5ytc-.js → BG-DlvaKo4n.js} +2 -2
- package/dist/{BusinessDetailsDropin-ClyiCBup.js → BusinessDetailsDropin-C1MwQS77.js} +76 -39
- package/dist/{BusinessFinancingComponent-DPNV3HMP.js → BusinessFinancingComponent-BD-Q5UNJ.js} +7 -7
- package/dist/{BusinessFinancingDropin-CdMGYRnw.js → BusinessFinancingDropin-D1sEtbRy.js} +20 -24
- package/dist/{BusinessFinancingPage-C0Uu9ymj.js → BusinessFinancingPage-DYsPxu--.js} +5 -5
- package/dist/{BusinessTypeSelectionPage-cA2bpq2g.js → BusinessTypeSelectionPage-CBOhSoXo.js} +7 -7
- package/dist/{CH-CesIKOYy.js → CH-TX4BTE2y.js} +2 -2
- package/dist/{CY-BnJ7k_mN.js → CY-D59Nypl7.js} +2 -2
- package/dist/{CZ-BiPeoA9G.js → CZ-B6iI1GbE.js} +3 -3
- package/dist/{Card-edBKJLEt.js → Card-DmTLVDJg.js} +4 -4
- package/dist/{CountryField-C_sYT__J.js → CountryField-JJ69pIsL.js} +228 -26
- package/dist/CreateIndividualComponent-DGVAMUoq.js +72 -0
- package/dist/CreateTransferInstrumentComponent-BtDto_KK.js +67 -0
- package/dist/{Currency-D6KhyloS.js → Currency-CO9RGZ-W.js} +6 -6
- package/dist/{CustomerSupport-CE5FGUuM.js → CustomerSupport-JIlKPBua.js} +8 -9
- package/dist/{DE-DdcbG-CC.js → DE-CsuX_tSL.js} +2 -2
- package/dist/{DK-DA8qRrzq.js → DK-oQEFrF6o.js} +3 -3
- package/dist/{DebugModal-DUAUNeYo.js → DebugModal-hvJnGijW.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-CGbNrGr4.js → DecisionMakerDetailsPage-DzfGLE9c.js} +8 -8
- package/dist/{DecisionMakers-vOa33-7u.js → DecisionMakers-BrjIskXn.js} +39 -37
- package/dist/{Dropzone-SgdJbpTa.js → Dropzone-H0yzmOuC.js} +5 -5
- package/dist/{EE-CaXoPgZz.js → EE-3WZV5Ejt.js} +2 -2
- package/dist/{ES-Bt_oaIaf.js → ES-NfxpqbC2.js} +2 -2
- package/dist/{EmbeddedStatus-B4deNn1f.js → EmbeddedStatus-DRHq4osc.js} +3 -3
- package/dist/{EndStateLayout-7LZJ5bjr.js → EndStateLayout-D3cbZj-M.js} +1 -1
- package/dist/{FI-C5V3lLuN.js → FI-CHQIvHa-.js} +2 -2
- package/dist/{FR-Bc1tLIC4.js → FR-MWZyWX3x.js} +2 -2
- package/dist/{FormNavigation-Nu5JeRyn.js → FormNavigation-DB53eN8d.js} +3 -3
- package/dist/{GG-BGuqxplU.js → GG-CPoMVQPc.js} +3 -3
- package/dist/{GI-CROkpYrU.js → GI-DxmBwVD_.js} +3 -3
- package/dist/{GR-B9c2boG8.js → GR-Rk0pXlNw.js} +2 -2
- package/dist/{HR-p4luVYpu.js → HR-WapHW2fw.js} +2 -2
- package/dist/{HU-D8vJYkDH.js → HU-DCOMuOhe.js} +3 -3
- package/dist/{IE-Cli_j7Al.js → IE-BkgtVgDi.js} +2 -2
- package/dist/{IM-mpIyBn16.js → IM-Wr4iDT94.js} +3 -3
- package/dist/{IS-02zCAdvq.js → IS-C-Cgc6zp.js} +2 -2
- package/dist/{IT-CzURFhrK.js → IT-CXekiddL.js} +2 -2
- package/dist/{IndividualOnfidoDropin-D7TnpsQU.js → IndividualOnfidoDropin-BSsHN6bE.js} +165 -85
- package/dist/{InputDate-B9qJD-ND.js → InputDate-8Nu20eZ3.js} +2 -2
- package/dist/{InputText-1Il1vZcv.js → InputText-YzvoboLM.js} +5 -4
- package/dist/{Introduction-Dekg5qYo.js → Introduction-DW__UMHd.js} +6 -6
- package/dist/{JE-MFwIYti7.js → JE-B4gj54Hg.js} +3 -3
- package/dist/JpAddress-AH8J7G-1.js +263 -0
- package/dist/{LI-DA06W10W.js → LI-L0ZAALRT.js} +2 -2
- package/dist/{LT-DuU6E2Ct.js → LT-Ao2uagV9.js} +2 -2
- package/dist/{LU-BQHhNpDy.js → LU-B7LRUuc6.js} +2 -2
- package/dist/{LV-DN7wckbP.js → LV-DZeGjA2G.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-DwcLwFbT.js → LegalRepresentativeDetailsPage-D5-FwAj4.js} +6 -6
- package/dist/{Link-Bigd4y5z.js → Link-BActvJTh.js} +1 -1
- package/dist/{MC-DtSWC4jS.js → MC-EDVNGWhy.js} +2 -2
- package/dist/{MT-DeDMQ1f_.js → MT-B9my7RlP.js} +2 -2
- package/dist/{ManageIndividualComponent-CU4PQYlU.js → ManageIndividualComponent-qB_pBsto.js} +6 -6
- package/dist/{ManageTermsOfServiceComponent-H0CLn7hm.js → ManageTermsOfServiceComponent-BbX3sUEl.js} +6 -6
- package/dist/{ManageTransferInstrumentComponent-DvSHKmA4.js → ManageTransferInstrumentComponent-CyESUoUz.js} +14 -16
- package/dist/{MaskedInput-DOcrkP6N.js → MaskedInput-BWUgQjO8.js} +5 -5
- package/dist/{Modal-C_l3DNDD.js → Modal-m2wGafQr.js} +16 -3
- package/dist/{NL-aVL0NAp-.js → NL-VXAFOhV5.js} +2 -2
- package/dist/{NO-D7EOiQA1.js → NO-Cx1VSh2W.js} +3 -3
- package/dist/OnboardingDropinComponent-B_HrYU_Q.js +5184 -0
- package/dist/{PL-Bg7axKQA.js → PL-BZW1hGvD.js} +3 -3
- package/dist/{PT-hB1HnBM2.js → PT-OpU4MU3L.js} +2 -2
- package/dist/{PayoutDetailsDropin-gEQIVa-_.js → PayoutDetailsDropin-DKda6B79.js} +113 -132
- package/dist/{RO-BLlC4CKq.js → RO-Cz6Sh0ls.js} +2 -2
- package/dist/{useMultiForm-YCECZtje.js → RadioGroup-wbcMSLjR.js} +341 -6
- package/dist/{RegistrationAddress-u6ooNR8V.js → RegistrationAddress-CNHmGFVw.js} +16 -22
- package/dist/{Review-KJya8jDh.js → Review-DsZWCgw-.js} +7 -7
- package/dist/{RootBusinessDetailsPage-D7jcycWp.js → RootBusinessDetailsPage-DBFDBVcm.js} +76 -31
- package/dist/{RootIndividualDetailsPage-Z7OWhMNa.js → RootIndividualDetailsPage-Cs5KK8mp.js} +6 -6
- package/dist/{SE-q25Qt85B.js → SE-B5K-FkQd.js} +3 -3
- package/dist/{SI-BzA-ozn6.js → SI-BOGTNLPa.js} +2 -2
- package/dist/{SK-DOTdLJPw.js → SK-BOVrp_Av.js} +2 -2
- package/dist/{SM-B4BIgmhk.js → SM-meowwILA.js} +2 -2
- package/dist/{SignPCIComponent-TDythDLu.js → SignPCIComponent-BkKgy5SY.js} +11 -12
- package/dist/{SingpassSelection-Ba5I6QIT.js → SingpassSelection-1p60WZAA.js} +4 -4
- package/dist/{SoleProprietorshipPage-CyFrpYBH.js → SoleProprietorshipPage-CurXL6lM.js} +6 -6
- package/dist/{SourceOfFundsPage-Bfm1rSfQ.js → SourceOfFundsPage-CK07pzLd.js} +27 -29
- package/dist/{StepProgressIndicator-e_1dBLgd.js → StepProgressIndicator-BeTto_2p.js} +1 -1
- package/dist/{StoreProvider-BWVRmzZI.js → StoreProvider-A-G7e1lx.js} +156 -155
- package/dist/{TaskItemStatus-BPcD795U.js → TaskItemStatus-pqH7c81D.js} +3 -3
- package/dist/{TaskStatusIndicator-D1QM67cG.js → TaskStatusIndicator-CXE_39rY.js} +1 -1
- package/dist/{TaxInformationField-kgi89UR0.js → TaxInformationField-DAk10aD9.js} +44 -33
- package/dist/{TaxReportingDropin-CN94V8po.js → TaxReportingDropin-DV-sUx83.js} +17 -21
- package/dist/{TileGroup-CzoPqlmw.js → TileGroup-B-lHzCf6.js} +4 -4
- package/dist/{TrustDetailsPage-CZWseCEm.js → TrustDetailsPage-CLMUK1Il.js} +22 -24
- package/dist/{TrustMemberCompanyPage-CA8r7z8j.js → TrustMemberCompanyPage-PRdv40Ja.js} +7 -7
- package/dist/{TrustMemberIndividualPage-DSSEL22O.js → TrustMemberIndividualPage-CEhnzMU5.js} +6 -6
- package/dist/{UnincorporatedPartnershipIndividualPage-BFgJl-aO.js → UnincorporatedPartnershipIndividualPage-yx0uYx8f.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-YBViXOCI.js → UnincorporatedPartnershipMemberCompanyPage-C0uyHj9d.js} +7 -7
- package/dist/{VA-bPXdCnwD.js → VA-DXsYTCoh.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-i059vJSd.js → ViewVerificationStatusComponent-DbFIYQqA.js} +4 -4
- package/dist/adyen-business-financing.js +3 -3
- package/dist/{adyen-individual.js → adyen-individual-configuration.js} +5 -5
- package/dist/{adyen-manage-individual.js → adyen-individual-status.js} +5 -5
- package/dist/adyen-kyc-components.js +21 -21
- package/dist/adyen-onboarding.js +3 -3
- package/dist/{adyen-terms-of-service.js → adyen-terms-of-service-management.js} +5 -5
- package/dist/{adyen-manage-terms-of-service.js → adyen-terms-of-service-status.js} +5 -5
- package/dist/{adyen-transfer-instrument.js → adyen-transfer-instrument-configuration.js} +5 -5
- package/dist/{adyen-manage-transfer-instruments.js → adyen-transfer-instrument-management.js} +5 -5
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{analytics-oZidjUEi.js → analytics-BQgqf5ON.js} +2 -2
- package/dist/{arrow-right-D_mdkZmE.js → arrow-right-KxA3SvQj.js} +2 -2
- package/dist/{bafinUtils-CZB8qEIB.js → bafinUtils-BMhhhQMt.js} +6 -6
- package/dist/{bag-DpxmyXfR.js → bag-BPumznWh.js} +2 -2
- package/dist/{bank-gyBvaSp4.js → bank-D6FiNBhs.js} +2 -2
- package/dist/{bg-BG-QC5irNEG.js → bg-BG-Bot37sd7.js} +4 -1
- package/dist/bg-BG-Cp58y2fj.js +13 -0
- package/dist/bg-BG-GVhnrvRn.js +49 -0
- package/dist/bg-BG-ZJvmfx01.js +13 -0
- package/dist/{bg-BG-CMomhopf.js → bg-BG-fgdGvtqa.js} +3 -1
- package/dist/bin-Bz6KOIeE.js +18 -0
- package/dist/capital-GVQ3svwN.js +17 -0
- package/dist/{cash-stack-Ds76Du8m.js → cash-stack-D9AoDDwt.js} +3 -3
- package/dist/{certificate-D6xjhThs.js → certificate-CdEWgHQf.js} +3 -3
- package/dist/{checkmark-tfEAu7lj.js → checkmark-Q7x6tGhy.js} +2 -2
- package/dist/checkmark-circle-fill-CsvN5_PL.js +17 -0
- package/dist/{checkmark-circle-nACBJ24q.js → checkmark-circle-x7dzbp3I.js} +3 -3
- package/dist/{checkmark-small-63w5fAxg.js → checkmark-small-D35myntq.js} +2 -2
- package/dist/{chevron-down-CkQS-knD.js → chevron-down-C2iDorpW.js} +2 -2
- package/dist/{chevron-left-CBCMdMx6.js → chevron-left-ztPO84q-.js} +2 -2
- package/dist/{chevron-right-dIVWvPJu.js → chevron-right-C_JN0oDt.js} +2 -2
- package/dist/{chevron-up-D93IGU9z.js → chevron-up-CgG8n25g.js} +2 -2
- package/dist/circle-Bt3Nlr3q.js +17 -0
- package/dist/coins-fkAk6dCo.js +17 -0
- package/dist/{contract-DI03_xrF.js → contract-BTa4HltT.js} +2 -2
- package/dist/{cross-o4n5KXxG.js → cross-Cn09MtQ_.js} +2 -2
- package/dist/{cross-circle-fill-small-CHMDaA3q.js → cross-circle-fill-small-DCz52AuN.js} +2 -2
- package/dist/{cs-CZ-t297LwYw.js → cs-CZ-BEynVkgn.js} +4 -1
- package/dist/cs-CZ-CVpbQMSY.js +45 -0
- package/dist/cs-CZ-DMwpeH56.js +13 -0
- package/dist/cs-CZ-De4wbl1W.js +13 -0
- package/dist/{cs-CZ-DMzortvO.js → cs-CZ-DwiXbzIv.js} +3 -1
- package/dist/da-DK-BK6TE3SH.js +13 -0
- package/dist/da-DK-DLcvdXDS.js +45 -0
- package/dist/{da-DK-BoQic3Gy.js → da-DK-DmL_Ja3L.js} +4 -1
- package/dist/da-DK-R0sNbjuQ.js +13 -0
- package/dist/{da-DK-q2b_1elr.js → da-DK-Y6PJ69rt.js} +3 -1
- package/dist/{de-DE-Dwagawx1.js → de-DE-BahIk-1-.js} +4 -1
- package/dist/de-DE-CKZrABo7.js +45 -0
- package/dist/de-DE-D9r_yUSr.js +13 -0
- package/dist/de-DE-ZQioXTGO.js +13 -0
- package/dist/{de-DE-D2ByeIZs.js → de-DE-xdQMmrrt.js} +3 -1
- package/dist/{document-1-DsCi9vmX.js → document-1-C08ut-Dt.js} +2 -2
- package/dist/document-person-vxlA6C5f.js +20 -0
- package/dist/download-Drhk9k1f.js +17 -0
- package/dist/edit-1-CFoDTMvQ.js +14 -0
- package/dist/el-GR-B06F8VNw.js +13 -0
- package/dist/el-GR-C_y2406P.js +45 -0
- package/dist/{el-GR-DGW388LZ.js → el-GR-DR_5DKI1.js} +3 -1
- package/dist/{el-GR-CxwhV-TX.js → el-GR-TZUpX1j3.js} +4 -1
- package/dist/el-GR-kj1-bNjH.js +13 -0
- package/dist/en-US-BaWkkHh3.js +13 -0
- package/dist/{en-US-CQ3angjM.js → en-US-DI1dH0ZB.js} +6 -4
- package/dist/en-US-nL0-_PSp.js +52 -0
- package/dist/{es-ES-Bsoco8Fj.js → es-ES-BPDeEYGv.js} +4 -1
- package/dist/es-ES-D6Uauj9W.js +13 -0
- package/dist/es-ES-DdT2wJTP.js +45 -0
- package/dist/es-ES-XCII5d8J.js +13 -0
- package/dist/{es-ES-WWftn3JX.js → es-ES-keMO-LlU.js} +3 -1
- package/dist/{et-EE-D5lRJbMZ.js → et-EE-CLuAFAri.js} +3 -1
- package/dist/et-EE-DHwaH1by.js +13 -0
- package/dist/et-EE-DNcqO4R9.js +13 -0
- package/dist/{et-EE-DdGlUpaQ.js → et-EE-DftDBzjA.js} +4 -1
- package/dist/et-EE-Y890kc89.js +45 -0
- package/dist/{external-link-BjladU3E.js → external-link-DCMYUMfW.js} +2 -2
- package/dist/fi-FI-67pS4_t6.js +13 -0
- package/dist/{fi-FI-D9E_KaJi.js → fi-FI-CBHr-_To.js} +3 -1
- package/dist/fi-FI-DKxJM0k6.js +45 -0
- package/dist/fi-FI-DTgF3AuK.js +13 -0
- package/dist/{fi-FI-ClnsYt3L.js → fi-FI-LpkpSl5X.js} +4 -1
- package/dist/{fieldConfigurations-DfVO1kZe.js → fieldConfigurations-T_MugRKB.js} +284 -13
- package/dist/{fr-FR-Cv0k-3Xc.js → fr-FR-B3qQW3oG.js} +3 -1
- package/dist/fr-FR-BZbWBKOT.js +13 -0
- package/dist/fr-FR-BxO1IR9C.js +45 -0
- package/dist/fr-FR-CsogZlc6.js +13 -0
- package/dist/{fr-FR-CJI0bIig.js → fr-FR-CuSchzjE.js} +4 -1
- package/dist/{getName-Bxt44SQU.js → getName-BFp9WNDh.js} +2 -2
- package/dist/gift-CQ_DEma7.js +14 -0
- package/dist/{graph-DwYwlplw.js → graph-BJmqglH2.js} +3 -3
- package/dist/{graph-up-DpbCSPbc.js → graph-up-Bq6adtlX.js} +6 -6
- package/dist/{hasDataChanged-C9eGmQUM.js → hasDataChanged-DutOih4i.js} +2 -2
- package/dist/headquarter-DNYyuuFq.js +21 -0
- package/dist/{hotel-JX0bjsSA.js → hotel-BuNql78Z.js} +3 -3
- package/dist/hr-HR-B3boX_dq.js +13 -0
- package/dist/hr-HR-CJ5rmUrZ.js +13 -0
- package/dist/{hr-HR-CzSrqEFA.js → hr-HR-DMV2OsPs.js} +3 -1
- package/dist/{hr-HR-C0yWizOX.js → hr-HR-DST-QbRI.js} +4 -1
- package/dist/hr-HR-DghVS0jH.js +45 -0
- package/dist/{hu-HU-wnSie9tz.js → hu-HU-BgHugMwG.js} +4 -1
- package/dist/hu-HU-CJh8OY-w.js +45 -0
- package/dist/{hu-HU-zK6nUqWr.js → hu-HU-CPWGnq22.js} +3 -1
- package/dist/hu-HU-CX5vJbE8.js +13 -0
- package/dist/hu-HU-CYfNXKwk.js +13 -0
- package/dist/{iframeWidget-CxrzJ-jZ.js → iframeWidget-Cgmtvmy0.js} +4 -4
- package/dist/image-BSihO8lR.js +17 -0
- package/dist/info-vHTZWoJ7.js +21 -0
- package/dist/{isEmpty-Dl3kuoC1.js → isEmpty-Sr9awRZt.js} +2 -2
- package/dist/{it-IT-C_fNHhjE.js → it-IT-CRmaykgQ.js} +3 -1
- package/dist/it-IT-Cepap1v0.js +13 -0
- package/dist/it-IT-Dn9AGEIq.js +13 -0
- package/dist/{it-IT-BeC2Y1F8.js → it-IT-p_DER3dq.js} +4 -1
- package/dist/it-IT-vJt2CGXz.js +45 -0
- package/dist/ja-JP-Ajo-tIow.js +23 -0
- package/dist/{ja-JP-YoU7mNrK.js → ja-JP-C870wgmw.js} +6 -3
- package/dist/ja-JP-Cm2wakN6.js +45 -0
- package/dist/{ja-JP-weDU8GLW.js → ja-JP-DCOsVkrk.js} +12 -10
- package/dist/ja-JP-DRJ0RpUn.js +13 -0
- package/dist/ja-JP-DT0qGp0i.js +110 -0
- package/dist/{localizeDateString-BdokUyCZ.js → localizeDateString-VOGoCyNH.js} +1 -1
- package/dist/location-Q4oKvnkl.js +17 -0
- package/dist/{lt-LT-BUYY0LaT.js → lt-LT-0CK0Iin7.js} +3 -1
- package/dist/lt-LT-3rmXgF6K.js +13 -0
- package/dist/lt-LT-CrCYV_jv.js +45 -0
- package/dist/{lt-LT-DIe4cKlu.js → lt-LT-Dxde15Cc.js} +4 -1
- package/dist/lt-LT-lJLUJnzd.js +13 -0
- package/dist/lv-LV-CBex8RS9.js +13 -0
- package/dist/{lv-LV-B9js9VoA.js → lv-LV-CSxppAD_.js} +3 -1
- package/dist/lv-LV-CaFrxG3S.js +45 -0
- package/dist/{lv-LV-DXgW5zWl.js → lv-LV-DDvnyHlO.js} +4 -1
- package/dist/lv-LV-DPZgF65i.js +13 -0
- package/dist/mail-BOdyoVqB.js +14 -0
- package/dist/{mapExistingFile-D4k-V3zd.js → mapExistingFile-BqDqKrRC.js} +5 -5
- package/dist/{mapScriptLocalization-CFHDZfTm.js → mapScriptLocalization-nzUbVbLu.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-C23Q8Nvb.js → mapTransferInstrumentToPayoutAccount-3EChpLFt.js} +2 -2
- package/dist/{minus-circle-filled-BGKeHaxJ.js → minus-circle-filled-kC2IUvKz.js} +3 -3
- package/dist/nl-NL-BIcLB7e6.js +13 -0
- package/dist/nl-NL-BQJjhn7U.js +45 -0
- package/dist/nl-NL-CU6c8oyY.js +13 -0
- package/dist/{nl-NL-DLedC3mO.js → nl-NL-RfK34nkp.js} +3 -1
- package/dist/{nl-NL-Cysslsh2.js → nl-NL-Uf_myU_8.js} +4 -1
- package/dist/no-NO-BWpBc9_J.js +13 -0
- package/dist/{no-NO-CpVal4cV.js → no-NO-BWzGost-.js} +3 -1
- package/dist/no-NO-CSia2Bd5.js +45 -0
- package/dist/{no-NO-zSnPtrDi.js → no-NO-DZ1y_9mq.js} +4 -1
- package/dist/no-NO-YuIAbtuI.js +13 -0
- package/dist/{options-horizontal-nJ9-ButA.js → options-horizontal-CBmbNv7R.js} +4 -4
- package/dist/partner-CPjsrePY.js +18 -0
- package/dist/pay-by-link-plane-BVZndh67.js +22 -0
- package/dist/{payout-iEmHhgQ4.js → payout-ChUEoLjt.js} +6 -6
- package/dist/person-DGjUU4S4.js +17 -0
- package/dist/pl-PL-6WyUmy0K.js +45 -0
- package/dist/{pl-PL-UB5J5JcB.js → pl-PL-B1tVRX3A.js} +4 -1
- package/dist/pl-PL-B87v7Wzw.js +13 -0
- package/dist/pl-PL-B9eq4QTe.js +13 -0
- package/dist/{pl-PL-1ylK-_FE.js → pl-PL-DFrOIiCG.js} +3 -1
- package/dist/{plus-CwLva7fq.js → plus-CWXA5wdX.js} +2 -2
- package/dist/plus-circle-filled-CbC0u2Y1.js +17 -0
- package/dist/pt-BR-BD3-Ecm8.js +36 -0
- package/dist/pt-BR-BljlblJ5.js +23 -0
- package/dist/{form-rules-DhbF2mY4.js → pt-BR-CI2ZzGeN.js} +5 -3
- package/dist/pt-BR-Cmr5LoAm.js +22 -0
- package/dist/pt-BR-CrKxuloz.js +13 -0
- package/dist/pt-BR-CxjlToN4.js +37 -0
- package/dist/{pt-PT-C-hbNnsB.js → pt-BR-DMCle1o_.js} +10 -10
- package/dist/pt-BR-DeDXIlM_.js +35 -0
- package/dist/pt-BR-DtLKiYpp.js +60 -0
- package/dist/pt-BR-nU_2Wbo5.js +54 -0
- package/dist/pt-PT-BNJcehJa.js +13 -0
- package/dist/{pt-PT-BkvMsoK4.js → pt-PT-CU13UUwT.js} +3 -1
- package/dist/pt-PT-CWYxqUbN.js +45 -0
- package/dist/pt-PT-Cu735tNP.js +13 -0
- package/dist/{pt-PT-CjsyP_OK.js → pt-PT-DpBfkgVw.js} +4 -1
- package/dist/{reporting-DlRoibD7.js → reporting-DerosUNm.js} +1 -2
- package/dist/{resolveEnvironment-DwCUq9vS.js → resolveEnvironment-CRebgq_d.js} +3 -3
- package/dist/revenue-accelerate-Dp4Ns_5c.js +17 -0
- package/dist/{ro-RO-Dfx0g3bU.js → ro-RO-B2u2q1Ez.js} +3 -1
- package/dist/ro-RO-B75duQ_N.js +13 -0
- package/dist/{ro-RO-C8yYXQc_.js → ro-RO-BF1Q86nQ.js} +4 -1
- package/dist/ro-RO-BWQeseQ_.js +45 -0
- package/dist/ro-RO-DkHxxgVT.js +13 -0
- package/dist/{rules-DsgQHF9g.js → rules-DZhctDpD.js} +5 -5
- package/dist/save-Fgy7EDid.js +14 -0
- package/dist/search-C4GZ-Rc1.js +17 -0
- package/dist/{show-uL6I-rMo.js → show-yPjPmEf8.js} +3 -3
- package/dist/{sk-SK-iO863_t2.js → sk-SK-BWA3fAcI.js} +3 -1
- package/dist/sk-SK-Cv76Qa3V.js +13 -0
- package/dist/sk-SK-DUZblaeq.js +13 -0
- package/dist/sk-SK-DnNuh37c.js +45 -0
- package/dist/{sk-SK-DbOE9C6n.js → sk-SK-Rd06VJ5k.js} +4 -1
- package/dist/{sl-SI-Cth2Qa5T.js → sl-SI-B7zbwoZn.js} +3 -1
- package/dist/{sl-SI-Br0UEUPL.js → sl-SI-BuIFB5zU.js} +4 -1
- package/dist/sl-SI-CyNtynTN.js +13 -0
- package/dist/sl-SI-D212isFw.js +45 -0
- package/dist/sl-SI-vyebIKls.js +13 -0
- package/dist/{solution-payments-DTAuLSWF.js → solution-payments-CNAat9h7.js} +2 -2
- package/dist/store-IuAkDRAp.js +14 -0
- package/dist/style.css +533 -390
- package/dist/styles-CLV89_hH.js +533 -390
- package/dist/sv-SE-1eeTTIj7.js +13 -0
- package/dist/sv-SE-BcTCn-cn.js +13 -0
- package/dist/{sv-SE-BtXmvxx4.js → sv-SE-BwJgkIDf.js} +4 -1
- package/dist/sv-SE-Ca1bxZf3.js +45 -0
- package/dist/{sv-SE-OPOHtqtP.js → sv-SE-Hi07uLM9.js} +3 -1
- package/dist/terminal-1-_me9J9h0.js +18 -0
- package/dist/{translation-Cy20sz7q.js → translation-Dh8Ktt7L.js} +2 -2
- package/dist/types/api/address/useAddressCleanse.d.ts +6 -2
- package/dist/types/api/address/useRetrieveAddress.d.ts +3 -1
- package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +18 -0
- package/dist/types/api/industryCodes/useIndustryCodes.d.ts +3 -3
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +408 -0
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +2 -1
- package/dist/types/components/Business/forms/rules.d.ts +2 -1
- package/dist/types/components/Business/utils/requestingCapabilities.d.ts +3 -0
- package/dist/types/components/BusinessLines/fields/SalesChannels/SalesChannels.d.ts +3 -0
- package/dist/types/components/BusinessLines/fields/SalesChannels/types.d.ts +6 -0
- package/dist/types/components/BusinessLines/fields/WebDataField/WebDataField.d.ts +3 -0
- package/dist/types/components/BusinessLines/fields/WebDataField/types.d.ts +10 -0
- package/dist/types/components/BusinessLines/forms/IndustryCodesForm/IndustryCodesForm.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/IndustryCodesForm/types.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/SalesChannelsForm/SalesChannelsForm.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/SalesChannelsForm/types.d.ts +3 -0
- package/dist/types/components/BusinessLines/forms/rules.d.ts +5 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLines.d.ts +8 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesDropin.d.ts +2 -0
- package/dist/types/components/BusinessLines/tasks/types.d.ts +15 -0
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +21 -0
- package/dist/types/components/BusinessLines/tasks/validate.d.ts +9 -0
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +571 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +2 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +1 -1
- package/dist/types/components/Shared/Summary/Summary.d.ts +1 -1
- package/dist/types/components/Shared/Summary/types.d.ts +1 -0
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +1 -1
- package/dist/types/components/Shared/fields/IndustryCodeField/IndustryCodeField.d.ts +5 -0
- package/dist/types/components/Shared/fields/IndustryCodeField/fieldConfig.d.ts +3 -0
- package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +18 -0
- package/dist/types/components/Shared/fields/IndustryCodeField/validate.d.ts +3 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/JpAddress.d.ts +7 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/ReadonlyTextField.d.ts +7 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/jpAddressSchema.d.ts +5 -0
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/ui/atoms/Carousel/Carousel.d.ts +30 -0
- package/dist/types/components/ui/atoms/Typography/Typography.types.d.ts +1 -1
- package/dist/types/components/ui/molecules/DocumentGuidance/DocumentGuidance.types.d.ts +1 -2
- package/dist/types/context/SettingsContext/types.d.ts +2 -0
- package/dist/types/context/StateContext/types.d.ts +2 -1
- package/dist/types/core/models/api/address.d.ts +5 -0
- package/dist/types/core/models/api/capability.d.ts +20 -0
- package/dist/types/embeds/{individual → individual-configuration}/AdyenIndividual.d.ts +4 -4
- package/dist/types/embeds/{individual/adyen-individual.types.d.ts → individual-configuration/adyen-individual-configuration.types.d.ts} +5 -5
- package/dist/types/embeds/{manage-individual → individual-status}/AdyenManageIndividual.d.ts +4 -4
- package/dist/types/embeds/{manage-individual/adyen-manage-individual.types.d.ts → individual-status/adyen-individual-status.types.d.ts} +5 -5
- package/dist/types/embeds/{terms-of-service → terms-of-service-management}/AdyenTermsOfService.d.ts +4 -4
- package/dist/types/embeds/{terms-of-service/adyen-terms-of-service.types.d.ts → terms-of-service-management/adyen-terms-of-service-management.types.d.ts} +5 -5
- package/dist/types/embeds/{manage-terms-of-service → terms-of-service-status}/AdyenManageTermsOfService.d.ts +4 -4
- package/dist/types/embeds/{manage-terms-of-service/adyen-manage-terms-of-service.types.d.ts → terms-of-service-status/adyen-terms-of-service-status.types.d.ts} +5 -5
- package/dist/types/embeds/{transfer-instrument → transfer-instrument-configuration}/AdyenTransferInstrument.d.ts +4 -4
- package/dist/types/embeds/{transfer-instrument/adyen-transfer-instrument.types.d.ts → transfer-instrument-configuration/adyen-transfer-instrument-configuration.types.d.ts} +5 -5
- package/dist/types/embeds/{manage-transfer-instruments → transfer-instrument-management}/AdyenManageTransferInstrument.d.ts +4 -4
- package/dist/types/embeds/{manage-transfer-instruments/adyen-manage-transfer-instruments.types.d.ts → transfer-instrument-management/adyen-transfer-instrument-management.types.d.ts} +5 -5
- package/dist/types/types/form-rules.d.ts +2 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/{types-BWgKGATO.js → types-C6-GEzQu.js} +2 -2
- package/dist/{types-DXWB1vfp.js → types-D59r-wMh.js} +2 -2
- package/dist/upload-BF65P4KM.js +17 -0
- package/dist/{useAssociatedLegalEntity-ew_9FM-o.js → useAssociatedLegalEntity-BvtBJ3BL.js} +1 -1
- package/dist/{useDataset-HQyCvU4d.js → useDataset-Zu4EOFnX.js} +79 -2
- package/dist/{useForm-BSzxrzKr.js → useForm-DJPITpbv.js} +18 -7
- package/dist/{useGlobalData-CWGnqesg.js → useGlobalData-fv415QuQ.js} +8 -10
- package/dist/{useOnboardingStatus-CfrtaISk.js → useOnboardingStatus-DXxwhYIb.js} +1 -1
- package/dist/{useScenarios-CnNDKwQA.js → useScenarios-CxSE098Q.js} +2 -2
- package/dist/{useTermsOfServiceStatus-B_Rs-b89.js → useTermsOfServiceStatus--IFMZSWz.js} +1 -1
- package/dist/{useToastContext-Dzwox5LN.js → useToastContext-BD1TnfkF.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-BIZriWIQ.js → useUnincorporatedPartnershipMembers-Bs4GeINH.js} +5 -5
- package/dist/{utils-BueyuQ5T.js → utils-B0IWmbB9.js} +7 -7
- package/dist/{utils-IqRD7HwH.js → utils-Bp9s2iP_.js} +2 -2
- package/dist/{utils-CDpZOWl9.js → utils-ER2TBROJ.js} +2 -2
- package/dist/{validate-BeCraJUP.js → validate-BDkQUYkG.js} +7 -7
- package/dist/{validate-Cy-GFhBf.js → validate-BvMUdxph.js} +7 -293
- package/dist/{validate-BY_qKb5w.js → validate-DUy9VcNg.js} +2 -2
- package/dist/{validationError-BgoAyQGl.js → validationError-D8qHV56i.js} +2 -2
- package/dist/warning-circle-fill-CEN1WL7A.js +17 -0
- package/dist/warning-filled-F54KIN6Z.js +14 -0
- package/dist/webinar-DqjqrNEv.js +22 -0
- package/package.json +38 -39
- package/dist/4-people-CCqdlDEw.js +0 -24
- package/dist/Confirm-DEPrORD3.js +0 -64
- package/dist/CreateIndividualComponent-a-M_kU9e.js +0 -72
- package/dist/CreateTransferInstrumentComponent-B-XFE0CK.js +0 -67
- package/dist/FormFlow-C8-l6PKR.js +0 -216
- package/dist/MaybeModal-sqtEGip-.js +0 -25
- package/dist/OnboardingDropinComponent-BpbxXLWL.js +0 -4311
- package/dist/RadioGroup-RvJMyv9L.js +0 -143
- package/dist/StructuredList-DaepaiVE.js +0 -38
- package/dist/bg-BG-BYkC3yKf.js +0 -58
- package/dist/bg-BG-CW9c658c.js +0 -13
- package/dist/bg-BG-CZ8v3rdy.js +0 -30
- package/dist/bin-Bgdj6KzC.js +0 -18
- package/dist/capital-CF9_Ev99.js +0 -17
- package/dist/checkmark-circle-fill-BhvuqTl9.js +0 -17
- package/dist/circle-Dgfa7GUy.js +0 -17
- package/dist/coins-CFu331p2.js +0 -17
- package/dist/commonValidators-B-B1D3s5.js +0 -24
- package/dist/cs-CZ-Dx6momCa.js +0 -30
- package/dist/cs-CZ-dU9fnQ1g.js +0 -13
- package/dist/cs-CZ-zTkICtXj.js +0 -58
- package/dist/da-DK-BJ7aTPir.js +0 -13
- package/dist/da-DK-D0N1TVVU.js +0 -58
- package/dist/da-DK-D4H69PX3.js +0 -30
- package/dist/de-DE-C78RLE2G.js +0 -13
- package/dist/de-DE-Dtuu-nE7.js +0 -58
- package/dist/de-DE-wp5-H-ov.js +0 -30
- package/dist/document-person-DBlLin9u.js +0 -20
- package/dist/download-B8_c4ARV.js +0 -17
- package/dist/dropinUtils-A2RmsU4F.js +0 -192
- package/dist/edit-1-D6f6zk9p.js +0 -14
- package/dist/el-GR-BZRKurtr.js +0 -13
- package/dist/el-GR-CK2heqPJ.js +0 -30
- package/dist/el-GR-DaO38A1s.js +0 -58
- package/dist/en-US-546hB2Wn.js +0 -60
- package/dist/en-US-CAm3meB1.js +0 -30
- package/dist/es-ES-BsQpwaPN.js +0 -58
- package/dist/es-ES-BtUSEzkE.js +0 -13
- package/dist/es-ES-Ds3-DtqZ.js +0 -30
- package/dist/et-EE-BCnK305R.js +0 -13
- package/dist/et-EE-Co-8akjV.js +0 -30
- package/dist/et-EE-DF_GqBgK.js +0 -58
- package/dist/fi-FI-BJ9RzrL3.js +0 -58
- package/dist/fi-FI-Cvar63RH.js +0 -13
- package/dist/fi-FI-DPNeTsJS.js +0 -30
- package/dist/fr-FR-B5543Fe-.js +0 -13
- package/dist/fr-FR-CNR5-s9g.js +0 -58
- package/dist/fr-FR-ChmNQciP.js +0 -30
- package/dist/gift-SdNY6AqI.js +0 -14
- package/dist/headquarter-C6AsewcP.js +0 -21
- package/dist/hr-HR-CjA4MWAU.js +0 -58
- package/dist/hr-HR-DqC8Cgs6.js +0 -30
- package/dist/hr-HR-ZreFlbK9.js +0 -13
- package/dist/hu-HU-B3BihdGh.js +0 -13
- package/dist/hu-HU-BOanVlKb.js +0 -30
- package/dist/hu-HU-NhwFr6o-.js +0 -58
- package/dist/image-eUqBiRX_.js +0 -17
- package/dist/info-Wao3PEQK.js +0 -21
- package/dist/it-IT-BV9K87FK.js +0 -58
- package/dist/it-IT-Dd6xGSe-.js +0 -13
- package/dist/it-IT-eCrTB65E.js +0 -30
- package/dist/ja-JP-BJljbFIZ.js +0 -30
- package/dist/ja-JP-BUz3qN-V.js +0 -23
- package/dist/ja-JP-DXcP0ojZ.js +0 -58
- package/dist/ja-JP-iTbqSPNL.js +0 -13
- package/dist/keys-BpNgnAsD.js +0 -23
- package/dist/location-YXhcBMDy.js +0 -17
- package/dist/lt-LT-DE-4IXNG.js +0 -13
- package/dist/lt-LT-DckQGgoT.js +0 -30
- package/dist/lt-LT-tXTApHm2.js +0 -58
- package/dist/lv-LV-CeivEZms.js +0 -13
- package/dist/lv-LV-DP9oRTFv.js +0 -30
- package/dist/lv-LV-DSaQNC67.js +0 -58
- package/dist/mail-Z_IE_hkw.js +0 -14
- package/dist/nl-NL-D2QKudfh.js +0 -30
- package/dist/nl-NL-DVENFpd5.js +0 -13
- package/dist/nl-NL-DywVQ9km.js +0 -58
- package/dist/no-NO-B8oxqfNI.js +0 -58
- package/dist/no-NO-C_snYWBc.js +0 -30
- package/dist/no-NO-Dn2UkdoI.js +0 -13
- package/dist/partner-COG2_Erh.js +0 -21
- package/dist/pay-by-link-plane-Pv7Babgn.js +0 -22
- package/dist/person-CdGfItMU.js +0 -17
- package/dist/pl-PL-C89s21hn.js +0 -58
- package/dist/pl-PL-CQ6c2Qz_.js +0 -30
- package/dist/pl-PL-DFAzuceF.js +0 -13
- package/dist/plus-circle-filled-Cnf1oJTm.js +0 -17
- package/dist/pt-PT-BvK00TeI.js +0 -58
- package/dist/pt-PT-_o5xgnxS.js +0 -13
- package/dist/revenue-accelerate-rtXA-8EE.js +0 -17
- package/dist/ro-RO-BrTWk1Ui.js +0 -30
- package/dist/ro-RO-CpGd9emB.js +0 -58
- package/dist/ro-RO-D7c_Rj8V.js +0 -13
- package/dist/save-BofgDbDX.js +0 -14
- package/dist/search-BjMkvQh0.js +0 -17
- package/dist/sk-SK-BBSuh2fA.js +0 -13
- package/dist/sk-SK-BTFtoPmI.js +0 -30
- package/dist/sk-SK-DlX5KvBV.js +0 -58
- package/dist/sl-SI-BLTuWNf5.js +0 -13
- package/dist/sl-SI-BhVTSmhQ.js +0 -30
- package/dist/sl-SI-NI2OJAvm.js +0 -58
- package/dist/store-CkhgQMl0.js +0 -14
- package/dist/sv-SE-66rqYTxi.js +0 -30
- package/dist/sv-SE-BUfESAQK.js +0 -13
- package/dist/sv-SE-CAZpDX9G.js +0 -58
- package/dist/terminal-1-ewywjFJI.js +0 -18
- package/dist/types/components/BusinessLines/tasks/BusinessLinesDropin.d.ts +0 -5
- package/dist/types/utils/bankVerification/animation.d.ts +0 -2
- package/dist/upload-XDhHhAHV.js +0 -17
- package/dist/useFormContext-beqGS11A.js +0 -23
- package/dist/warning-circle-fill-DADaWT65.js +0 -17
- package/dist/warning-filled-BfAQN-BF.js +0 -14
- package/dist/webinar-BJWDRK2H.js +0 -22
- /package/dist/types/components/BusinessLines/tasks/{BusinessLinesGettingStarted → BusinessLines}/BusinessLinesGettingStarted.d.ts +0 -0
- /package/dist/types/embeds/{individual/adyen-individual.d.ts → individual-configuration/adyen-individual-configuration.d.ts} +0 -0
- /package/dist/types/embeds/{manage-individual/adyen-manage-individual.d.ts → individual-status/adyen-individual-status.d.ts} +0 -0
- /package/dist/types/embeds/{manage-terms-of-service/adyen-manage-terms-of-service.d.ts → terms-of-service-management/adyen-terms-of-service-management.d.ts} +0 -0
- /package/dist/types/embeds/{manage-transfer-instruments/adyen-manage-transfer-instruments.d.ts → terms-of-service-status/adyen-terms-of-service-status.d.ts} +0 -0
- /package/dist/types/embeds/{terms-of-service/adyen-terms-of-service.d.ts → transfer-instrument-configuration/adyen-transfer-instrument-configuration.d.ts} +0 -0
- /package/dist/types/embeds/{transfer-instrument/adyen-transfer-instrument.d.ts → transfer-instrument-management/adyen-transfer-instrument-management.d.ts} +0 -0
|
@@ -2,37 +2,33 @@
|
|
|
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] = "f01235c8-a0b3-4326-a614-6d98067b6a8e", e._sentryDebugIdIdentifier = "sentry-dbid-f01235c8-a0b3-4326-a614-6d98067b6a8e");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useEffect, useMemo, useState, useCallback } from "preact/hooks";
|
|
12
|
-
import { R as RadioGroup, u as useCreateLegalEntity,
|
|
13
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { u as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { a as
|
|
24
|
-
import { l as localizeDateString } from "./localizeDateString-BdokUyCZ.js";
|
|
25
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport, L as LegalFormField, I as InputNumber, C as Currency, b as CURRENCY_FIELD, c as InputCurrency } from "./Currency-D6KhyloS.js";
|
|
12
|
+
import { R as RadioGroup, u as useFormContext, c as useCreateLegalEntity, d as useUpdateLegalEntity, a as useMultiForm, F as FormContextProvider, b as FormFlow } from "./RadioGroup-wbcMSLjR.js";
|
|
13
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-BD1TnfkF.js";
|
|
14
|
+
import { aV as reverseMapping, aW as isEeaCountry, y as LegalEntityTypes, aE as cloneObject, b as useApiContext, j as useQuery, o as httpGet, u as useI18nContext, a as useTranslation, x as Typography, w as translateStringOrObject, U as useAnalyticsContext, m as useSettingsContext, L as Loader, B as Button } from "./StoreProvider-A-G7e1lx.js";
|
|
15
|
+
import { I as InputText, S as SettingNames } from "./InputText-YzvoboLM.js";
|
|
16
|
+
import { g as getAssociatedLeAnalyticsPayload } from "./analytics-BQgqf5ON.js";
|
|
17
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-BvtBJ3BL.js";
|
|
18
|
+
import { c as createFormUtils, b as getFieldProps, F as FormHeader, E as ErrorPanel, g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./CountryField-JJ69pIsL.js";
|
|
19
|
+
import { E as EndStateLayout } from "./EndStateLayout-D3cbZj-M.js";
|
|
20
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-D8qHV56i.js";
|
|
21
|
+
import { a as datasetUtilities } from "./useDataset-Zu4EOFnX.js";
|
|
22
|
+
import { l as localizeDateString } from "./localizeDateString-VOGoCyNH.js";
|
|
23
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport, L as LegalFormField, I as InputNumber, C as Currency, b as CURRENCY_FIELD, c as InputCurrency } from "./Currency-CO9RGZ-W.js";
|
|
26
24
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
27
|
-
import { c as
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-IqRD7HwH.js";
|
|
35
|
-
import { b as businessFinancingMultiformRules } from "./validate-BY_qKb5w.js";
|
|
25
|
+
import { c as currencyByCountry } from "./types-D59r-wMh.js";
|
|
26
|
+
import { F as Field, S as Select, C as Checkbox } from "./useForm-DJPITpbv.js";
|
|
27
|
+
import { L as Link } from "./Link-BActvJTh.js";
|
|
28
|
+
import { I as InputDate } from "./InputDate-8Nu20eZ3.js";
|
|
29
|
+
import { A as Address } from "./Address-Dbboddow.js";
|
|
30
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-Bp9s2iP_.js";
|
|
31
|
+
import { b as businessFinancingMultiformRules } from "./validate-DUy9VcNg.js";
|
|
36
32
|
const businessFinancingBaseMapping = {
|
|
37
33
|
legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
|
|
38
34
|
legalInformationInsolvency: "organization.statusOfLegalProceeding",
|
|
@@ -2,15 +2,15 @@
|
|
|
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] = "a9547d5f-ce0d-48c6-91ea-48253880a95c", e._sentryDebugIdIdentifier = "sentry-dbid-a9547d5f-ce0d-48c6-91ea-48253880a95c");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-
|
|
10
|
+
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-Dh8Ktt7L.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { a as useTranslation, u as useI18nContext, c as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-
|
|
13
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
12
|
+
import { a as useTranslation, u as useI18nContext, c as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-A-G7e1lx.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-D1sEtbRy.js";
|
|
14
14
|
const BusinessFinancingPage = ({
|
|
15
15
|
onSubmit,
|
|
16
16
|
handleHomeClick
|
|
@@ -19,7 +19,7 @@ const BusinessFinancingPage = ({
|
|
|
19
19
|
const { i18n } = useI18nContext();
|
|
20
20
|
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
21
21
|
addResourceBundles(i18next, i18next.language, [
|
|
22
|
-
{ ns: "efp", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-D5192UVe.js"), "../language/cs-CZ.json": () => import("./cs-CZ-DOqH0WeT.js"), "../language/da-DK.json": () => import("./da-DK-B45X2VaJ.js"), "../language/de-DE.json": () => import("./de-DE-CWvgMDqU.js"), "../language/el-GR.json": () => import("./el-GR-C3rkK_oc.js"), "../language/en-US.json": () => import("./en-US-DIdQJky-.js"), "../language/es-ES.json": () => import("./es-ES-DKCCgVF8.js"), "../language/et-EE.json": () => import("./et-EE-Bc6ioJRG.js"), "../language/fi-FI.json": () => import("./fi-FI-Hhku9Lmc.js"), "../language/fr-FR.json": () => import("./fr-FR-BYuKsZIb.js"), "../language/hr-HR.json": () => import("./hr-HR-CPO5Yw2B.js"), "../language/hu-HU.json": () => import("./hu-HU-mo_0ULJG.js"), "../language/it-IT.json": () => import("./it-IT-Nl57jui-.js"), "../language/ja-JP.json": () => import("./ja-JP-D3oQAH7z.js"), "../language/lt-LT.json": () => import("./lt-LT-CVasDmF3.js"), "../language/lv-LV.json": () => import("./lv-LV-Sbsv8-nD.js"), "../language/nl-NL.json": () => import("./nl-NL-BHkRnVrj.js"), "../language/no-NO.json": () => import("./no-NO-kaAdT9B8.js"), "../language/pl-PL.json": () => import("./pl-PL-DD8JN4Qf.js"), "../language/pt-PT.json": () => import("./pt-PT-Xm-pm3mb.js"), "../language/ro-RO.json": () => import("./ro-RO-C3m6aJVP.js"), "../language/sk-SK.json": () => import("./sk-SK-BVc-vNQm.js"), "../language/sl-SI.json": () => import("./sl-SI-D_rqR0D7.js"), "../language/sv-SE.json": () => import("./sv-SE-B3zoXMuH.js") }), `../language/${i18next.language}.json`, 3) }
|
|
22
|
+
{ ns: "efp", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-D5192UVe.js"), "../language/cs-CZ.json": () => import("./cs-CZ-DOqH0WeT.js"), "../language/da-DK.json": () => import("./da-DK-B45X2VaJ.js"), "../language/de-DE.json": () => import("./de-DE-CWvgMDqU.js"), "../language/el-GR.json": () => import("./el-GR-C3rkK_oc.js"), "../language/en-US.json": () => import("./en-US-DIdQJky-.js"), "../language/es-ES.json": () => import("./es-ES-DKCCgVF8.js"), "../language/et-EE.json": () => import("./et-EE-Bc6ioJRG.js"), "../language/fi-FI.json": () => import("./fi-FI-Hhku9Lmc.js"), "../language/fr-FR.json": () => import("./fr-FR-BYuKsZIb.js"), "../language/hr-HR.json": () => import("./hr-HR-CPO5Yw2B.js"), "../language/hu-HU.json": () => import("./hu-HU-mo_0ULJG.js"), "../language/it-IT.json": () => import("./it-IT-Nl57jui-.js"), "../language/ja-JP.json": () => import("./ja-JP-D3oQAH7z.js"), "../language/lt-LT.json": () => import("./lt-LT-CVasDmF3.js"), "../language/lv-LV.json": () => import("./lv-LV-Sbsv8-nD.js"), "../language/nl-NL.json": () => import("./nl-NL-BHkRnVrj.js"), "../language/no-NO.json": () => import("./no-NO-kaAdT9B8.js"), "../language/pl-PL.json": () => import("./pl-PL-DD8JN4Qf.js"), "../language/pt-BR.json": () => import("./pt-BR-DeDXIlM_.js"), "../language/pt-PT.json": () => import("./pt-PT-Xm-pm3mb.js"), "../language/ro-RO.json": () => import("./ro-RO-C3m6aJVP.js"), "../language/sk-SK.json": () => import("./sk-SK-BVc-vNQm.js"), "../language/sl-SI.json": () => import("./sl-SI-D_rqR0D7.js"), "../language/sv-SE.json": () => import("./sv-SE-B3zoXMuH.js") }), `../language/${i18next.language}.json`, 3) }
|
|
23
23
|
]);
|
|
24
24
|
if (!rootLe) {
|
|
25
25
|
return /* @__PURE__ */ jsx(Loader, {});
|
package/dist/{BusinessTypeSelectionPage-cA2bpq2g.js → BusinessTypeSelectionPage-CBOhSoXo.js}
RENAMED
|
@@ -2,20 +2,20 @@
|
|
|
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] = "a0e5ad47-a606-4816-9272-227197580525", e._sentryDebugIdIdentifier = "sentry-dbid-a0e5ad47-a606-4816-9272-227197580525");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { N as createLogger, a as useTranslation, U as useAnalyticsContext, X as useExperimentsContext, bC as getCapabilities, g as getLegalEntityCountry, y as LegalEntityTypes, x as Typography, B as Button, V as Icon, c as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-
|
|
11
|
+
import { N as createLogger, a as useTranslation, U as useAnalyticsContext, X as useExperimentsContext, bC as getCapabilities, g as getLegalEntityCountry, y as LegalEntityTypes, x as Typography, B as Button, V as Icon, c as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-A-G7e1lx.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import {
|
|
14
|
-
import { a as useForm, L as LoaderWrapper, F as Field } from "./useForm-
|
|
15
|
-
import { a as useAccountHolder, R as RadioGroupCard } from "./fieldConfigurations-
|
|
13
|
+
import { d as useUpdateLegalEntity } from "./RadioGroup-wbcMSLjR.js";
|
|
14
|
+
import { a as useForm, L as LoaderWrapper, F as Field } from "./useForm-DJPITpbv.js";
|
|
15
|
+
import { a as useAccountHolder, R as RadioGroupCard } from "./fieldConfigurations-T_MugRKB.js";
|
|
16
16
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
17
|
-
import { u as useToastContext } from "./useToastContext-
|
|
18
|
-
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, E as EntityTypeRadioGroupCard, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-
|
|
17
|
+
import { u as useToastContext } from "./useToastContext-BD1TnfkF.js";
|
|
18
|
+
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, E as EntityTypeRadioGroupCard, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-B0IWmbB9.js";
|
|
19
19
|
const businessTypeExamples = /* @__PURE__ */ Object.assign({ "../localized/legalEntityTypeExamples/AT.json": () => import("./AT-EpV7jN58.js"), "../localized/legalEntityTypeExamples/AU.json": () => import("./AU-pBsEvEUy.js"), "../localized/legalEntityTypeExamples/BE.json": () => import("./BE-CU5o9cmc.js"), "../localized/legalEntityTypeExamples/BR.json": () => import("./BR-ORoHRwTk.js"), "../localized/legalEntityTypeExamples/CA.json": () => import("./CA-VXNq-m6m.js"), "../localized/legalEntityTypeExamples/CH.json": () => import("./CH-B_-afpD_.js"), "../localized/legalEntityTypeExamples/CZ.json": () => import("./CZ-CTw_bQIu.js"), "../localized/legalEntityTypeExamples/DE.json": () => import("./DE-D_jIDxOH.js"), "../localized/legalEntityTypeExamples/DK.json": () => import("./DK-dBzrfgpQ.js"), "../localized/legalEntityTypeExamples/ES.json": () => import("./ES-DYbZmFcJ.js"), "../localized/legalEntityTypeExamples/FI.json": () => import("./FI-C9nRvop7.js"), "../localized/legalEntityTypeExamples/FR.json": () => import("./FR-BycGQO4W.js"), "../localized/legalEntityTypeExamples/GB.json": () => import("./GB-DFyzo5sN.js"), "../localized/legalEntityTypeExamples/HK.json": () => import("./HK-WqZ5UBEF.js"), "../localized/legalEntityTypeExamples/HR.json": () => import("./HR-CRa19tH1.js"), "../localized/legalEntityTypeExamples/HU.json": () => import("./HU-D5NCweWf.js"), "../localized/legalEntityTypeExamples/IE.json": () => import("./IE-rhATS57q.js"), "../localized/legalEntityTypeExamples/IT.json": () => import("./IT-wD7dHdYD.js"), "../localized/legalEntityTypeExamples/LT.json": () => import("./LT-0F72uCyI.js"), "../localized/legalEntityTypeExamples/NL.json": () => import("./NL-q2U2l276.js"), "../localized/legalEntityTypeExamples/NO.json": () => import("./NO-CX12Zsf_.js"), "../localized/legalEntityTypeExamples/PL.json": () => import("./PL-CwCXF3Yu.js"), "../localized/legalEntityTypeExamples/PT.json": () => import("./PT-Dei5v1nD.js"), "../localized/legalEntityTypeExamples/RO.json": () => import("./RO-Dxk08mOu.js"), "../localized/legalEntityTypeExamples/SE.json": () => import("./SE-AP3gLiyy.js"), "../localized/legalEntityTypeExamples/SG.json": () => import("./SG-DMcOb17i.js"), "../localized/legalEntityTypeExamples/SI.json": () => import("./SI-BXe-yndm.js"), "../localized/legalEntityTypeExamples/SK.json": () => import("./SK-DwdgoGnD.js"), "../localized/legalEntityTypeExamples/US.json": () => import("./US-DHxLSqeC.js") });
|
|
20
20
|
const logger$1 = createLogger();
|
|
21
21
|
const getBusinessTypeExamplesForCountry = async (country) => {
|
|
@@ -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] = "fda9f99c-8ab5-4e36-b2f9-c3fa7c1f05cb", e._sentryDebugIdIdentifier = "sentry-dbid-fda9f99c-8ab5-4e36-b2f9-c3fa7c1f05cb");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
const CH = {
|
|
11
11
|
iban: {
|
|
12
|
-
bankStatementRequirement: "
|
|
12
|
+
bankStatementRequirement: "OPTIONAL",
|
|
13
13
|
defaultCurrency: "CHF",
|
|
14
14
|
fields: [
|
|
15
15
|
"accountHolder",
|
|
@@ -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] = "f21cfc3a-feb9-4d58-8478-77533492a22b", e._sentryDebugIdIdentifier = "sentry-dbid-f21cfc3a-feb9-4d58-8478-77533492a22b");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
const CY = {
|
|
11
11
|
iban: {
|
|
12
|
-
bankStatementRequirement: "
|
|
12
|
+
bankStatementRequirement: "OPTIONAL",
|
|
13
13
|
defaultCurrency: "EUR",
|
|
14
14
|
fields: [
|
|
15
15
|
"accountHolder",
|
|
@@ -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] = "28cf36f5-1b58-40a7-a295-9272803477a0", e._sentryDebugIdIdentifier = "sentry-dbid-28cf36f5-1b58-40a7-a295-9272803477a0");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
const CZ = {
|
|
11
11
|
iban: {
|
|
12
|
-
bankStatementRequirement: "
|
|
12
|
+
bankStatementRequirement: "OPTIONAL",
|
|
13
13
|
defaultCurrency: "CZK",
|
|
14
14
|
fields: [
|
|
15
15
|
"accountHolder",
|
|
@@ -18,7 +18,7 @@ const CZ = {
|
|
|
18
18
|
]
|
|
19
19
|
},
|
|
20
20
|
local: {
|
|
21
|
-
bankStatementRequirement: "
|
|
21
|
+
bankStatementRequirement: "OPTIONAL",
|
|
22
22
|
defaultCurrency: "CZK",
|
|
23
23
|
fields: [
|
|
24
24
|
"accountHolder",
|
|
@@ -2,15 +2,15 @@
|
|
|
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] = "4a7b7ce1-31ff-4dac-9bf4-64f0232ed6ee", e._sentryDebugIdIdentifier = "sentry-dbid-4a7b7ce1-31ff-4dac-9bf4-64f0232ed6ee");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext,
|
|
11
|
-
import { a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
10
|
+
import { b as useApiContext, aF as useMutation, aG as httpDelete, a as useTranslation, x as Typography } from "./StoreProvider-A-G7e1lx.js";
|
|
11
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-BD1TnfkF.js";
|
|
12
12
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
13
|
-
import { a as Alert } from "./Alert-
|
|
13
|
+
import { a as Alert } from "./Alert-Bnbg5-Pq.js";
|
|
14
14
|
import cx from "classnames";
|
|
15
15
|
const deleteTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
|
|
16
16
|
return httpDelete({
|
|
@@ -2,20 +2,20 @@
|
|
|
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] = "eb0ccb63-8256-45a9-b536-c00cd08b3313", e._sentryDebugIdIdentifier = "sentry-dbid-eb0ccb63-8256-45a9-b536-c00cd08b3313");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
+
import { useContext, useCallback, useState, useEffect, useMemo } from "preact/hooks";
|
|
11
|
+
import { B as Button, a as useTranslation, as as keysOf, aq as remediationHasFileUploadField, a6 as entriesOf, w as translateStringOrObject, aI as TrustMemberGuidanceLabels, a9 as TrustMemberTypes, al as DecisionMakerTypes, u as useI18nContext, U as useAnalyticsContext, W as noop, a7 as isEmpty, P as IconButton, t as Svg, N as createLogger } from "./StoreProvider-A-G7e1lx.js";
|
|
10
12
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { B as Button, a as useTranslation, aD as keysOf, aE as remediationHasFileUploadField, az as entriesOf, w as translateStringOrObject, aF as TrustMemberGuidanceLabels, a7 as TrustMemberTypes, ak as DecisionMakerTypes, u as useI18nContext, U as useAnalyticsContext, W as noop, a9 as isEmpty, P as IconButton, t as Svg } from "./StoreProvider-BWVRmzZI.js";
|
|
12
13
|
import cx from "classnames";
|
|
13
14
|
import { defineSlots } from "named-slots";
|
|
14
15
|
import { toChildArray, createContext } from "preact";
|
|
15
|
-
import {
|
|
16
|
-
import { a as Alert } from "./Alert-
|
|
17
|
-
import { g as getDataByFields, F as Field,
|
|
18
|
-
import { u as useDataset, d as datasetIdentifier } from "./useDataset-HQyCvU4d.js";
|
|
16
|
+
import { S as StructuredList, u as useDataset, d as datasetIdentifier } from "./useDataset-Zu4EOFnX.js";
|
|
17
|
+
import { a as Alert } from "./Alert-Bnbg5-Pq.js";
|
|
18
|
+
import { g as getDataByFields, F as Field, S as Select } from "./useForm-DJPITpbv.js";
|
|
19
19
|
const formHeader = "adyen-kyc-form-header";
|
|
20
20
|
const heading = "adyen-kyc-heading";
|
|
21
21
|
const description = "adyen-kyc-description";
|
|
@@ -124,7 +124,7 @@ function ServerValidationErrors({
|
|
|
124
124
|
validationErrors,
|
|
125
125
|
formUtils
|
|
126
126
|
}) {
|
|
127
|
-
const { t } = useTranslation("
|
|
127
|
+
const { t } = useTranslation("ui");
|
|
128
128
|
const validationErrorFieldNames = Object.keys(validationErrors || {});
|
|
129
129
|
const getValidationErrorMessage = useCallback(
|
|
130
130
|
() => t(($) => $["fieldHasUnsupportedFormats"], {
|
|
@@ -482,12 +482,13 @@ function Summary({
|
|
|
482
482
|
gotoForm,
|
|
483
483
|
labels,
|
|
484
484
|
problems,
|
|
485
|
-
trackNavigation = noop,
|
|
485
|
+
trackNavigation: trackNavigation2 = noop,
|
|
486
486
|
omitted = {},
|
|
487
487
|
showFormHeader = true,
|
|
488
488
|
showSectionHeader = true,
|
|
489
489
|
showLegalCaption = false,
|
|
490
|
-
showTaxExemptedLegalCaption = false
|
|
490
|
+
showTaxExemptedLegalCaption = false,
|
|
491
|
+
useStructuredList = false
|
|
491
492
|
}) {
|
|
492
493
|
const { i18n } = useI18nContext();
|
|
493
494
|
const { t } = useTranslation("common");
|
|
@@ -515,7 +516,7 @@ function Summary({
|
|
|
515
516
|
variant: "tertiary",
|
|
516
517
|
icon: "edit",
|
|
517
518
|
onClick: () => {
|
|
518
|
-
|
|
519
|
+
trackNavigation2({
|
|
519
520
|
userEvents,
|
|
520
521
|
actionType: "edit",
|
|
521
522
|
toForm: formName,
|
|
@@ -527,11 +528,22 @@ function Summary({
|
|
|
527
528
|
}
|
|
528
529
|
)
|
|
529
530
|
] });
|
|
530
|
-
const renderSummarySection = (fieldData, labelData = {}, formName, formId) =>
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
531
|
+
const renderSummarySection = (fieldData, labelData = {}, formName, formId, useStructuredList2) => {
|
|
532
|
+
const structuredListItems = Object.entries(fieldData).map(([key, value]) => {
|
|
533
|
+
return {
|
|
534
|
+
term: t(($) => $[labelData[key] || key]),
|
|
535
|
+
details: value
|
|
536
|
+
};
|
|
537
|
+
});
|
|
538
|
+
return !useStructuredList2 ? /* @__PURE__ */ jsxs(List, { variant: "grouped-secondary", children: [
|
|
539
|
+
showSectionHeader && summarySectionHeader(formName, formId),
|
|
540
|
+
/* @__PURE__ */ jsx("dl", { className: styles.summaryList, children: Array.isArray(fieldData) ? fieldData.map((item) => renderBulletedListField(item)) : renderSummaryItems(fieldData, labelData) })
|
|
541
|
+
] }) : /* @__PURE__ */ jsxs(List, { variant: "grouped-secondary", children: [
|
|
542
|
+
showSectionHeader && summarySectionHeader(formName, formId),
|
|
543
|
+
/* @__PURE__ */ jsx(StructuredList, { items: structuredListItems })
|
|
544
|
+
] });
|
|
545
|
+
};
|
|
546
|
+
const renderSummaryContent = (summaryData, useStructuredList2) => {
|
|
535
547
|
const summaryList2 = [];
|
|
536
548
|
forms.forEach(({ formId, formName }) => {
|
|
537
549
|
const currentFormData = summaryData[formId];
|
|
@@ -543,7 +555,8 @@ function Summary({
|
|
|
543
555
|
t(
|
|
544
556
|
($) => $[typeof labels?.[formId] === "string" ? labels[formId] : formName]
|
|
545
557
|
),
|
|
546
|
-
formId
|
|
558
|
+
formId,
|
|
559
|
+
useStructuredList2
|
|
547
560
|
);
|
|
548
561
|
summaryList2.push(summaryItems);
|
|
549
562
|
});
|
|
@@ -615,7 +628,7 @@ function Summary({
|
|
|
615
628
|
id: "ariaErrorField"
|
|
616
629
|
}
|
|
617
630
|
),
|
|
618
|
-
renderSummaryContent(data),
|
|
631
|
+
renderSummaryContent(data, useStructuredList),
|
|
619
632
|
showLegalCaption && /* @__PURE__ */ jsx("div", { className: styles.summaryContentLegalCaption, children: t(($) => $["summaryLegalCaption"]) }),
|
|
620
633
|
showTaxExemptedLegalCaption && /* @__PURE__ */ jsxs("div", { className: styles.summaryContentLegalCaption, children: [
|
|
621
634
|
/* @__PURE__ */ jsx("p", { children: t(($) => $["summaryTaxExemptionLegalCaptionTitle"]) }),
|
|
@@ -628,6 +641,188 @@ function Summary({
|
|
|
628
641
|
] })
|
|
629
642
|
] });
|
|
630
643
|
}
|
|
644
|
+
const trackNavigation = ({
|
|
645
|
+
userEvents,
|
|
646
|
+
actionType,
|
|
647
|
+
toForm,
|
|
648
|
+
label,
|
|
649
|
+
returnValue,
|
|
650
|
+
additionalTrackingParams
|
|
651
|
+
}) => {
|
|
652
|
+
userEvents.addPageEvent("Clicked button", {
|
|
653
|
+
actionType,
|
|
654
|
+
toPage: toForm,
|
|
655
|
+
label,
|
|
656
|
+
returnValue,
|
|
657
|
+
...additionalTrackingParams
|
|
658
|
+
});
|
|
659
|
+
};
|
|
660
|
+
const getOpeningStep = (forms, remediationActions) => {
|
|
661
|
+
if (remediationActions && Object.keys(remediationActions).length > 0) {
|
|
662
|
+
const allRemediationActions = Object.values(remediationActions).flat().filter((rem) => rem.forms?.length > 0);
|
|
663
|
+
if (allRemediationActions.length === 1 && allRemediationActions[0]?.forms.length === 1) {
|
|
664
|
+
const form = forms.find((form2) => form2?.formId === allRemediationActions[0]?.forms[0]);
|
|
665
|
+
if (form) return form;
|
|
666
|
+
}
|
|
667
|
+
return forms[forms.length - 1];
|
|
668
|
+
}
|
|
669
|
+
return forms[0];
|
|
670
|
+
};
|
|
671
|
+
const useFormComposer = ({
|
|
672
|
+
problems,
|
|
673
|
+
navigationTrackingParams,
|
|
674
|
+
forms,
|
|
675
|
+
externalBackClick,
|
|
676
|
+
onSubmit,
|
|
677
|
+
triggerValidation
|
|
678
|
+
}) => {
|
|
679
|
+
const userEvents = useAnalyticsContext();
|
|
680
|
+
const [shouldValidate, setShouldValidate] = useState(false);
|
|
681
|
+
const [activeForm, setActiveForm] = useState(forms[0]);
|
|
682
|
+
const isFormSummaryStep = (form) => form.formId === summaryStep.formId;
|
|
683
|
+
const getFormIndex = (formId) => forms.findIndex((form) => form.formId === formId);
|
|
684
|
+
const currentStep = getFormIndex(activeForm.formId);
|
|
685
|
+
const totalSteps = forms.length;
|
|
686
|
+
const isFinalStep = currentStep === totalSteps - 1;
|
|
687
|
+
const isFirstStep = currentStep === 0;
|
|
688
|
+
const firstStepId = forms[0]?.formId;
|
|
689
|
+
useEffect(() => {
|
|
690
|
+
setActiveForm(
|
|
691
|
+
(activeForm2) => forms.find(({ formId }) => formId === activeForm2.formId) ?? activeForm2
|
|
692
|
+
);
|
|
693
|
+
}, [forms]);
|
|
694
|
+
useEffect(() => {
|
|
695
|
+
userEvents.updateSharedEventProperties({ page: activeForm?.formName });
|
|
696
|
+
}, [activeForm?.formName]);
|
|
697
|
+
useEffect(() => {
|
|
698
|
+
const openingStep = getOpeningStep(forms, problems?.remediationActions);
|
|
699
|
+
setActiveForm(openingStep);
|
|
700
|
+
}, [firstStepId, problems?.remediationActions]);
|
|
701
|
+
const gotoFormByFormIndex = (nextFormIndex, currentForms) => {
|
|
702
|
+
setActiveForm(currentForms?.[nextFormIndex] ?? forms[nextFormIndex]);
|
|
703
|
+
};
|
|
704
|
+
const trackSubmitClick = () => {
|
|
705
|
+
trackNavigation({
|
|
706
|
+
userEvents,
|
|
707
|
+
actionType: "submit",
|
|
708
|
+
label: "submit",
|
|
709
|
+
additionalTrackingParams: navigationTrackingParams
|
|
710
|
+
});
|
|
711
|
+
};
|
|
712
|
+
const handleNextClick = async (updatedForms) => {
|
|
713
|
+
const currentForms = updatedForms ?? forms;
|
|
714
|
+
if (isFormSummaryStep(activeForm)) {
|
|
715
|
+
trackSubmitClick();
|
|
716
|
+
onSubmit();
|
|
717
|
+
return;
|
|
718
|
+
}
|
|
719
|
+
const isAsyncValidationValid = await triggerValidation?.(activeForm.formId) ?? true;
|
|
720
|
+
if (!activeForm.isValid || !isAsyncValidationValid) {
|
|
721
|
+
setShouldValidate(true);
|
|
722
|
+
trackNavigation({
|
|
723
|
+
userEvents,
|
|
724
|
+
actionType: "next",
|
|
725
|
+
label: "next",
|
|
726
|
+
returnValue: "validation error",
|
|
727
|
+
additionalTrackingParams: navigationTrackingParams
|
|
728
|
+
});
|
|
729
|
+
return;
|
|
730
|
+
}
|
|
731
|
+
if (isFinalStep) {
|
|
732
|
+
trackSubmitClick();
|
|
733
|
+
onSubmit();
|
|
734
|
+
return;
|
|
735
|
+
}
|
|
736
|
+
setShouldValidate(false);
|
|
737
|
+
const toFormIndex = currentStep + 1;
|
|
738
|
+
gotoFormByFormIndex(toFormIndex, currentForms);
|
|
739
|
+
trackNavigation({
|
|
740
|
+
userEvents,
|
|
741
|
+
actionType: "next",
|
|
742
|
+
toForm: currentForms[toFormIndex]?.formName,
|
|
743
|
+
label: "next",
|
|
744
|
+
returnValue: "success",
|
|
745
|
+
additionalTrackingParams: navigationTrackingParams
|
|
746
|
+
});
|
|
747
|
+
};
|
|
748
|
+
const handleBackClick = () => {
|
|
749
|
+
if (currentStep > 0) {
|
|
750
|
+
const toForm = forms[currentStep - 1];
|
|
751
|
+
setActiveForm(toForm);
|
|
752
|
+
trackNavigation({
|
|
753
|
+
userEvents,
|
|
754
|
+
actionType: "back",
|
|
755
|
+
toForm: toForm?.formName,
|
|
756
|
+
label: "back",
|
|
757
|
+
additionalTrackingParams: navigationTrackingParams
|
|
758
|
+
});
|
|
759
|
+
}
|
|
760
|
+
};
|
|
761
|
+
const backClickHandler = isFirstStep ? externalBackClick : handleBackClick;
|
|
762
|
+
return {
|
|
763
|
+
handleBackClick: backClickHandler,
|
|
764
|
+
handleNextClick,
|
|
765
|
+
gotoFormByFormIndex,
|
|
766
|
+
activeForm,
|
|
767
|
+
shouldValidate,
|
|
768
|
+
setShouldValidate,
|
|
769
|
+
steps: { current: currentStep, total: totalSteps }
|
|
770
|
+
};
|
|
771
|
+
};
|
|
772
|
+
const isTruthyValidator = {
|
|
773
|
+
validate: (value) => !!value,
|
|
774
|
+
modes: ["blur"],
|
|
775
|
+
errorMessage: "fieldIsRequired"
|
|
776
|
+
};
|
|
777
|
+
const isNotEmptyValidator = {
|
|
778
|
+
validate: (value) => !isEmpty(value),
|
|
779
|
+
modes: ["blur"],
|
|
780
|
+
errorMessage: "fieldIsRequired"
|
|
781
|
+
};
|
|
782
|
+
const logger = createLogger();
|
|
783
|
+
function FormRouterContextProvider({ children, forms, setFormIndex }) {
|
|
784
|
+
const contextValue = useMemo(
|
|
785
|
+
() => ({
|
|
786
|
+
setFormIndex,
|
|
787
|
+
goToFormByFieldName: (fieldName) => {
|
|
788
|
+
if (fieldName === "idDocument") {
|
|
789
|
+
fieldName = "idVerificationMethod";
|
|
790
|
+
}
|
|
791
|
+
const formIndex = forms.findIndex(
|
|
792
|
+
(form) => form?.fields?.some((field) => field === fieldName)
|
|
793
|
+
);
|
|
794
|
+
if (formIndex > -1) {
|
|
795
|
+
setFormIndex(formIndex);
|
|
796
|
+
} else {
|
|
797
|
+
logger.error("No form was found to have that field so form navigation failed.");
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
}),
|
|
801
|
+
[forms, setFormIndex]
|
|
802
|
+
);
|
|
803
|
+
return /* @__PURE__ */ jsx(FormRouterContext.Provider, { value: contextValue, children });
|
|
804
|
+
}
|
|
805
|
+
const getRequiredForms = (forms, requiredFields, optionalFields, skipSummary) => {
|
|
806
|
+
const requiredForms = Object.values(forms).filter(({ formId }) => {
|
|
807
|
+
if (requiredFields || optionalFields) {
|
|
808
|
+
return Boolean(requiredFields?.[formId]?.length) || Boolean(optionalFields?.[formId]?.length);
|
|
809
|
+
}
|
|
810
|
+
return true;
|
|
811
|
+
});
|
|
812
|
+
if (skipSummary) {
|
|
813
|
+
return requiredForms;
|
|
814
|
+
}
|
|
815
|
+
return [...requiredForms, summaryStep];
|
|
816
|
+
};
|
|
817
|
+
const addValidityToForms = (forms, formValidity, problems) => forms.map(({ formId, formName, formHeading, formDescription, fields }) => ({
|
|
818
|
+
formId,
|
|
819
|
+
formName,
|
|
820
|
+
formHeading,
|
|
821
|
+
formDescription,
|
|
822
|
+
fields,
|
|
823
|
+
isValid: formValidity?.[formId] ?? false,
|
|
824
|
+
hasServerValidationErrors: Boolean(problems?.validationErrors?.[formId])
|
|
825
|
+
}));
|
|
631
826
|
function getFormProps(props, innerFormId) {
|
|
632
827
|
if (!innerFormId) {
|
|
633
828
|
return null;
|
|
@@ -845,20 +1040,27 @@ export {
|
|
|
845
1040
|
CountryField as C,
|
|
846
1041
|
ErrorPanel as E,
|
|
847
1042
|
FormHeader as F,
|
|
1043
|
+
List as L,
|
|
848
1044
|
Radio as R,
|
|
849
1045
|
Summary as S,
|
|
850
1046
|
UnincorporatedPartnershipMemberTypes as U,
|
|
851
|
-
|
|
852
|
-
|
|
1047
|
+
addValidityToForms as a,
|
|
1048
|
+
getFieldProps as b,
|
|
853
1049
|
createFormUtils as c,
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
1050
|
+
COUNTRY_FIELD as d,
|
|
1051
|
+
getRoleName as e,
|
|
1052
|
+
summaryStep as f,
|
|
1053
|
+
getRequiredForms as g,
|
|
1054
|
+
getRoleTagVariant as h,
|
|
1055
|
+
isNotEmptyValidator as i,
|
|
1056
|
+
FormRouterContextProvider as j,
|
|
1057
|
+
isTruthyValidator as k,
|
|
1058
|
+
getFormProps as l,
|
|
860
1059
|
mergeFieldMetadataIntoProps as m,
|
|
1060
|
+
useFormRouterContext as n,
|
|
1061
|
+
getNestedOuterFormPropsFromOuterFormProps as o,
|
|
861
1062
|
roleMetadata as r,
|
|
862
1063
|
summaryItem as s,
|
|
863
|
-
|
|
1064
|
+
trackNavigation as t,
|
|
1065
|
+
useFormComposer as u
|
|
864
1066
|
};
|