@adyen/kyc-components 4.0.0-compact.1 → 4.0.0-compact.3
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-Ddtg_ZHH.js → AcceptTermsOfServiceComponent-DmtE39CC.js} +51 -66
- package/dist/Accordion-C-BvE1VA.js +88 -0
- package/dist/{AccountSetupRejected-CvdEsdWe.js → AccountSetupRejected-DDoI43lB.js} +6 -6
- package/dist/ActionBar-Dzrzolec.js +31 -0
- package/dist/{Address-YjoUtTTT.js → Address-e41CN3CB.js} +292 -51
- package/dist/{Alert-C_-UwoDE.js → Alert-Dk-oZlnx.js} +7 -79
- package/dist/{Avatar-CeHhAxxR.js → Avatar-efxn8pKz.js} +2 -2
- package/dist/{BE-B-m_4F41.js → BE-nWHKW0xQ.js} +2 -2
- package/dist/{BG-BVR5ytc-.js → BG-HKzabLqZ.js} +3 -3
- package/dist/BusinessDetailsDropin-DDh_D2hv.js +2359 -0
- package/dist/BusinessFinancingComponent-C04uRrhE.js +55 -0
- package/dist/{BusinessFinancingDropin-B6Vpswcj.js → BusinessFinancingDropin-_OlSqohS.js} +186 -154
- package/dist/BusinessFinancingPage-DdMugwOa.js +43 -0
- package/dist/{BusinessTypeSelectionPage-CQxhI1B6.js → BusinessTypeSelectionPage-vkCTEFEJ.js} +13 -13
- 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-CqXQA0AI.js +82 -0
- package/dist/ConstitutionalDocument-CcwyClZ7.js +143 -0
- package/dist/{CountryField-50Iboayh.js → CountryField-CzRN1OE8.js} +195 -216
- package/dist/CreateIndividualComponent-BNeY6u8q.js +71 -0
- package/dist/CreateTransferInstrumentComponent-B8cNHRdF.js +63 -0
- package/dist/{Currency-D-0ToVpS.js → Currency-BBt4yo5i.js} +10 -65
- package/dist/{CustomerSupport-DTw357Bq.js → CustomerSupport-CObTT8cH.js} +23 -11
- 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-Dc6JIQeF.js → DebugModal-DJcim6UP.js} +128 -43
- package/dist/DecisionMakerDetailsPage-CrQgRW8X.js +106 -0
- package/dist/DecisionMakers-B-3aMddf.js +842 -0
- package/dist/DropinLayout-CBP_cHLC.js +17 -0
- package/dist/{EE-CaXoPgZz.js → EE-3WZV5Ejt.js} +2 -2
- package/dist/{ES-Bt_oaIaf.js → ES-NfxpqbC2.js} +2 -2
- package/dist/{EmbeddedStatus-DQXq53qv.js → EmbeddedStatus-C_5DguHv.js} +15 -16
- package/dist/{EndStateLayout-BPsmcrN3.js → EndStateLayout-CwdrDEYY.js} +2 -2
- package/dist/EntityAssociation-C413vcu6.js +159 -0
- package/dist/EntityGuidanceStatus-C6b8i7os.js +105 -0
- package/dist/{FI-C5V3lLuN.js → FI-CHQIvHa-.js} +2 -2
- package/dist/{FR-Bc1tLIC4.js → FR-MWZyWX3x.js} +2 -2
- package/dist/FormFlow-PppMJ6OA.js +186 -0
- package/dist/{FormNavigation-29vpexO6.js → FormNavigation-DL47b_QR.js} +6 -24
- package/dist/{useGlobalData-TJeJM5fq.js → FormWrapper-BOrTn1C8.js} +12 -82
- 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-XYcD-6sb.js → IndividualOnfido-CmmyKC7J.js} +8212 -6455
- package/dist/IndividualOnfidoDropin-BsCb6dvy.js +2569 -0
- package/dist/{InputText-CnEQJihB.js → InputText-BfL9DgWp.js} +101 -13
- package/dist/{Introduction-BkGNoXvo.js → Introduction-CBMl7v2M.js} +7 -11
- package/dist/{JE-MFwIYti7.js → JE-B4gj54Hg.js} +3 -3
- package/dist/JpAddress-BCwWQ0Ul.js +271 -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-D3Ld1xg7.js → LegalRepresentativeDetailsPage-CDURNY_v.js} +6 -7
- package/dist/ListItem-BhUSZdS5.js +69 -0
- package/dist/{MC-DtSWC4jS.js → MC-EDVNGWhy.js} +2 -2
- package/dist/{MT-DeDMQ1f_.js → MT-B9my7RlP.js} +2 -2
- package/dist/ManageIndividualComponent-wYIuZdQ8.js +46 -0
- package/dist/ManageTermsOfServiceComponent-6RBHbbsn.js +52 -0
- package/dist/{ManageTransferInstrumentComponent-D8e5YRiK.js → ManageTransferInstrumentComponent-BDyWbySW.js} +19 -26
- package/dist/{MaybeModal-D6lc_yUc.js → MaybeModal-CG0BAO68.js} +15 -4
- package/dist/{Modal-ltKHtBfL.js → Modal-CJ_hgcGb.js} +19 -6
- package/dist/{NL-aVL0NAp-.js → NL-VXAFOhV5.js} +2 -2
- package/dist/{NO-D7EOiQA1.js → NO-Cx1VSh2W.js} +3 -3
- package/dist/OnboardingDropinComponent-D3dYF_4W.js +7617 -0
- package/dist/{PL-Bg7axKQA.js → PL-BZW1hGvD.js} +3 -3
- package/dist/{PT-hB1HnBM2.js → PT-OpU4MU3L.js} +2 -2
- package/dist/{PayoutDetailsDropin-Ba4z1H8Y.js → PayoutDetailsDropin-DxALk48X.js} +1530 -384
- package/dist/ProgressBar-B7gTQncy.js +47 -0
- package/dist/{RO-BLlC4CKq.js → RO-Cz6Sh0ls.js} +2 -2
- package/dist/{Review-QGTwsuVG.js → Review-C_JnI94L.js} +9 -8
- package/dist/RootBusinessDetailsPage-BE3Uck1r.js +46 -0
- package/dist/RootBusinessLinesPage-DknXuZgi.js +1484 -0
- package/dist/RootIndividualDetailsPage-BIj988Sh.js +71 -0
- 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-BvOwbwCX.js → SignPCIComponent-BjVEKTlw.js} +29 -19
- package/dist/{SingpassSelection-CfMjudRn.js → SingpassSelection-Bkbz_bGo.js} +10 -10
- package/dist/SoleProprietorshipPage-DSOEsSfJ.js +46 -0
- package/dist/{SourceOfFundsPage-BOFtbQbF.js → SourceOfFundsPage-cWwthA_A.js} +238 -956
- package/dist/{MaskedInput-Cr4BEARC.js → Spacer-D4I0f08n.js} +641 -24
- package/dist/{StepProgressIndicator-D8I0VtoT.js → StepProgressIndicator-FNAEisRr.js} +2 -2
- package/dist/{StoreProvider-D4cRWOo4.js → StoreProvider-jtUYKLRz.js} +1195 -560
- package/dist/Summary-COehg8IT.js +204 -0
- package/dist/{TaxReportingDropin-CDqErRkl.js → TaxReportingDropin-BBkhMcPn.js} +76 -74
- package/dist/TrustDetailsPage-50i4_lFA.js +2149 -0
- package/dist/TrustMemberCompanyPage-v2Md1srF.js +57 -0
- package/dist/TrustMemberIndividualPage-Bn6TXkhN.js +66 -0
- package/dist/TrustMemberRoleAndTypePage-C_NPNe6_.js +985 -0
- package/dist/TrustMembersOverview-FcSsQZ3Z.js +438 -0
- package/dist/{UnincorporatedPartnershipIndividualPage-Dx1qdgZL.js → UnincorporatedPartnershipIndividualPage-zsyk9RTz.js} +6 -7
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-B89QmXFf.js → UnincorporatedPartnershipMemberCompanyPage-FP75ZgOg.js} +7 -11
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-n6SndOAj.js +281 -0
- package/dist/UnincorporatedPartnershipMembersOverview-BbW2q9EI.js +172 -0
- package/dist/{VA-bPXdCnwD.js → VA-DXsYTCoh.js} +2 -2
- package/dist/VerificationErrorAlert-B7jRGdgn.js +79 -0
- package/dist/{ViewVerificationStatusComponent-2jYPePEI.js → ViewVerificationStatusComponent-CuUmC319.js} +16 -13
- package/dist/adyen-business-financing.js +10 -7
- package/dist/adyen-individual-configuration.js +5 -6
- package/dist/adyen-individual-status.js +5 -6
- package/dist/adyen-kyc-components.js +38 -33
- package/dist/adyen-onboarding.js +4 -5
- package/dist/adyen-terms-of-service-management.js +5 -6
- package/dist/adyen-terms-of-service-status.js +5 -6
- package/dist/adyen-transfer-instrument-configuration.js +5 -6
- package/dist/adyen-transfer-instrument-management.js +5 -6
- package/dist/adyen-verification-status.js +5 -6
- package/dist/{arrow-right-D_mdkZmE.js → arrow-right-KxA3SvQj.js} +2 -2
- package/dist/{bag-DpxmyXfR.js → bag-BPumznWh.js} +2 -2
- package/dist/{bank-gyBvaSp4.js → bank-D6FiNBhs.js} +2 -2
- 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/circle-small-filled-YMzP6yQU.js +14 -0
- package/dist/clock-BZHremOA.js +20 -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-maan7Z5S.js +17 -0
- package/dist/{cross-circle-fill-small-CHMDaA3q.js → cross-circle-fill-small-DCz52AuN.js} +2 -2
- package/dist/da-DK-BlU1EczG.js +30 -0
- package/dist/da-DK-DCJhV2qS.js +32 -0
- package/dist/da-DK-DEdQ-QPp.js +13 -0
- package/dist/da-DK-DWA8uOd8.js +24 -0
- package/dist/{da-DK-BoQic3Gy.js → da-DK-DYpfNZdP.js} +5 -1
- package/dist/da-DK-DZwlENGe.js +13 -0
- package/dist/da-DK-Dc0QYG8m.js +68 -0
- package/dist/da-DK-DqkN5oIu.js +13 -0
- package/dist/da-DK-DvZ431fC.js +13 -0
- package/dist/{da-DK-B45X2VaJ.js → da-DK-JHZnsI59.js} +24 -4
- package/dist/da-DK-gnPgzwrG.js +27 -0
- package/dist/da-DK-h8DYQ_Iq.js +13 -0
- package/dist/da-DK-jK7c9UL0.js +57 -0
- package/dist/de-DE-0uSzhWg5.js +13 -0
- package/dist/{de-DE-Dwagawx1.js → de-DE-BXt1K0Tr.js} +5 -1
- package/dist/de-DE-COuUdtao.js +13 -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-DrSSblam.js +13 -0
- package/dist/de-DE-DwOQKCuU.js +32 -0
- package/dist/de-DE-Dz2OsS1F.js +68 -0
- package/dist/de-DE-LQE_LFFL.js +13 -0
- package/dist/{de-DE-CWvgMDqU.js → de-DE-VGGEkxUT.js} +24 -4
- package/dist/de-DE-s0B-XZyp.js +30 -0
- package/dist/de-DE-wmerDL2e.js +57 -0
- package/dist/debouncedInputEvent-HhImBs4O.js +109 -0
- package/dist/{form-rules-DhbF2mY4.js → debugStore-BvbyN1Oi.js} +4 -3
- package/dist/{document-1-DsCi9vmX.js → document-1-C08ut-Dt.js} +2 -2
- package/dist/document-person-vxlA6C5f.js +20 -0
- package/dist/documentUtils-DIcRD9lR.js +218 -0
- package/dist/download-Drhk9k1f.js +17 -0
- package/dist/{dropinUtils-CXnvPFZN.js → dropinUtils-BK1u6OTG.js} +32 -24
- package/dist/edit-1-CFoDTMvQ.js +14 -0
- package/dist/en-US-AgtwE4Fl.js +63 -0
- package/dist/en-US-B96dpVon.js +27 -0
- package/dist/en-US-BQZhzROc.js +32 -0
- package/dist/en-US-CozY33On.js +13 -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-BbAzROHT.js → en-US-Dg505Oh3.js} +2 -1
- package/dist/en-US-d4WBvUW7.js +118 -0
- package/dist/en-US-fyGPkcqX.js +13 -0
- package/dist/en-US-gsp7CD_E.js +57 -0
- package/dist/en-US-h0JneJJl.js +13 -0
- package/dist/es-ES-B7dt4cn7.js +13 -0
- package/dist/es-ES-BI_jdT67.js +68 -0
- package/dist/es-ES-BOoPqnPI.js +32 -0
- package/dist/{es-ES-Bsoco8Fj.js → es-ES-BhNhIf08.js} +5 -1
- package/dist/{es-ES-DKCCgVF8.js → es-ES-Bn9_0wK0.js} +24 -4
- package/dist/es-ES-CXDJLKAI.js +27 -0
- package/dist/es-ES-DF_L5EDd.js +24 -0
- package/dist/es-ES-DNGEW6V_.js +13 -0
- package/dist/es-ES-DdGmXdxO.js +13 -0
- package/dist/es-ES-Qnc0Q6JH.js +57 -0
- package/dist/es-ES-ShWaSuJd.js +13 -0
- package/dist/es-ES-esfwvKwz.js +30 -0
- package/dist/es-ES-yMXcOjDL.js +13 -0
- package/dist/{external-link-BjladU3E.js → external-link-DCMYUMfW.js} +2 -2
- package/dist/fi-FI-CIYa9SyS.js +13 -0
- package/dist/fi-FI-ChApf7lf.js +13 -0
- package/dist/fi-FI-CjB6QC01.js +30 -0
- package/dist/fi-FI-CoI_94Fv.js +13 -0
- package/dist/fi-FI-DH6jpo9K.js +24 -0
- package/dist/fi-FI-Dn2MC8uW.js +57 -0
- package/dist/{fi-FI-Hhku9Lmc.js → fi-FI-PVFqd5Ra.js} +24 -4
- package/dist/fi-FI-REMsyTSr.js +13 -0
- 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-xqnQ38yC.js +13 -0
- package/dist/{fi-FI-ClnsYt3L.js → fi-FI-ysUrBilO.js} +5 -1
- package/dist/{fr-FR-CJI0bIig.js → fr-FR-BSvSKazD.js} +5 -1
- package/dist/fr-FR-BSynpexF.js +13 -0
- package/dist/fr-FR-BWX14yb7.js +57 -0
- package/dist/fr-FR-BnblnBsx.js +24 -0
- package/dist/fr-FR-Br7OeDIe.js +13 -0
- package/dist/fr-FR-C1XqLftn.js +30 -0
- package/dist/fr-FR-CYZXbwc9.js +68 -0
- package/dist/fr-FR-CiwkAb3E.js +27 -0
- package/dist/fr-FR-CvHWmim-.js +13 -0
- package/dist/fr-FR-Q3urMjbl.js +13 -0
- package/dist/fr-FR-cTKcuHqX.js +32 -0
- package/dist/fr-FR-l5z31r7i.js +13 -0
- package/dist/{fr-FR-BYuKsZIb.js → fr-FR-mJK4hjwD.js} +24 -4
- package/dist/getFieldsWithExistingData-DxCFyXNd.js +22 -0
- package/dist/{getName-BsaU8Hqr.js → getName-BS-pHwl0.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-CA7cMLCV.js → hasDataChanged-CWdnpJrE.js} +2 -2
- package/dist/headquarter-DNYyuuFq.js +21 -0
- package/dist/{hotel-JX0bjsSA.js → hotel-BuNql78Z.js} +3 -3
- package/dist/{iframeWidget-BPBJSJJt.js → iframeWidget-Uz4rHS0r.js} +4 -4
- package/dist/image-BSihO8lR.js +17 -0
- package/dist/info-filled-SQotHmT9.js +17 -0
- package/dist/info-vHTZWoJ7.js +21 -0
- package/dist/it-IT-B0YGvVgW.js +57 -0
- package/dist/it-IT-BAvmkEF8.js +13 -0
- package/dist/it-IT-BAvsF2TB.js +13 -0
- package/dist/{it-IT-Nl57jui-.js → it-IT-BTWkWSJq.js} +24 -4
- package/dist/it-IT-BeX7-OcD.js +13 -0
- package/dist/it-IT-C_651bEP.js +13 -0
- package/dist/it-IT-C_YDqVNT.js +30 -0
- package/dist/it-IT-Ckv8Ce4e.js +24 -0
- package/dist/it-IT-DERflsUd.js +32 -0
- package/dist/it-IT-DIbH-udG.js +27 -0
- package/dist/it-IT-Erh1DIlj.js +68 -0
- package/dist/{it-IT-BeC2Y1F8.js → it-IT-Qfzc8jnW.js} +5 -1
- package/dist/it-IT-vdMlF0Ha.js +13 -0
- package/dist/{localizeDateString-cCOzCBvl.js → localizeDateString-DgSdo3D5.js} +2 -2
- package/dist/location-Q4oKvnkl.js +17 -0
- package/dist/mail-BOdyoVqB.js +14 -0
- package/dist/mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js +56 -0
- package/dist/{mapExistingFile-B1UL2lZR.js → mapExistingFile-CqrlnmFQ.js} +5 -80
- package/dist/mapFinancialReportsToFinancialInformation-ZmhVRj3f.js +67 -0
- package/dist/mapJpAddressSchemaToAddressLocalizations-D6HjhjJT.js +63 -0
- package/dist/mapLegalEntityToIndividualOnfidoSchema-COcit7Hx.js +146 -0
- package/dist/{mapTransferInstrumentToPayoutAccount-BdPUh-FT.js → mapTransferInstrumentToPayoutAccount-DfJHF9H8.js} +6 -3
- package/dist/{minus-circle-filled-BGKeHaxJ.js → minus-circle-filled-kC2IUvKz.js} +3 -3
- package/dist/nl-NL-BMUYBqlF.js +57 -0
- package/dist/nl-NL-BwKrj-29.js +13 -0
- package/dist/nl-NL-Bx5p0nXL.js +24 -0
- package/dist/nl-NL-C3YJkSIj.js +13 -0
- package/dist/nl-NL-CM5U8ODq.js +13 -0
- package/dist/{nl-NL-BHkRnVrj.js → nl-NL-CTf7zH4M.js} +24 -4
- package/dist/nl-NL-Cjlmc0Ii.js +32 -0
- package/dist/{nl-NL-Cysslsh2.js → nl-NL-D7gBNWEY.js} +5 -1
- package/dist/nl-NL-DV4NqPVW.js +13 -0
- package/dist/nl-NL-DyeSX0PH.js +30 -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/no-NO--OoWld_l.js +13 -0
- package/dist/no-NO-B6OPS2CA.js +13 -0
- package/dist/no-NO-B9618F4_.js +13 -0
- package/dist/no-NO-BQL_M1pn.js +13 -0
- package/dist/no-NO-Bs3-6MDM.js +24 -0
- package/dist/{no-NO-zSnPtrDi.js → no-NO-C-gCYc9q.js} +5 -1
- package/dist/no-NO-CA1aR6Wh.js +68 -0
- package/dist/no-NO-CY_XHrYd.js +32 -0
- package/dist/no-NO-Crlsj6HG.js +27 -0
- package/dist/no-NO-D4BECLky.js +130 -0
- package/dist/no-NO-DKbWxgF-.js +57 -0
- package/dist/no-NO-DPRsAb_o.js +30 -0
- package/dist/{no-NO-kaAdT9B8.js → no-NO-RfTK9KAV.js} +24 -4
- 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/payout-verification-instant-5u-wvFKv.js +41 -0
- package/dist/payout-verification-manual-BH2mu0UW.js +90 -0
- package/dist/person-DGjUU4S4.js +17 -0
- package/dist/{plus-CwLva7fq.js → plus-CWXA5wdX.js} +2 -2
- package/dist/plus-circle-filled-CbC0u2Y1.js +17 -0
- package/dist/process-field-configurations-N1jHgPa8.js +324 -0
- package/dist/pt-BR--kaJvtE6.js +57 -0
- package/dist/pt-BR-AZ3roErF.js +13 -0
- package/dist/pt-BR-BKQRvAfq.js +13 -0
- package/dist/pt-BR-BbFJsIVX.js +55 -0
- package/dist/pt-BR-BfxgHKY4.js +27 -0
- package/dist/pt-BR-C-C4ZJ9x.js +30 -0
- package/dist/pt-BR-C0I_kTQ6.js +13 -0
- package/dist/pt-BR-CBAe0SnK.js +32 -0
- package/dist/pt-BR-DSENwwGu.js +24 -0
- package/dist/pt-BR-NtLaWlnZ.js +68 -0
- package/dist/pt-BR-gh27BC86.js +13 -0
- package/dist/pt-BR-nU_2Wbo5.js +54 -0
- package/dist/pt-BR-ur86nRrK.js +37 -0
- package/dist/pt-BR-zuqB_CBf.js +13 -0
- package/dist/{pt-PT-Xm-pm3mb.js → pt-PT-B4F_5NWi.js} +24 -4
- package/dist/pt-PT-BZ5ZZm6G.js +57 -0
- package/dist/pt-PT-Bf4IV7wp.js +13 -0
- package/dist/pt-PT-CFY1O_K0.js +13 -0
- package/dist/pt-PT-CIo3mlXL.js +24 -0
- package/dist/{pt-PT-CjsyP_OK.js → pt-PT-CVNEcs32.js} +5 -1
- package/dist/pt-PT-D2Xe-OdG.js +13 -0
- package/dist/pt-PT-DSxxVA0f.js +68 -0
- package/dist/pt-PT-DVKtHjIY.js +13 -0
- package/dist/pt-PT-DYihdcJx.js +13 -0
- package/dist/pt-PT-Dm5DRDrd.js +32 -0
- package/dist/pt-PT-LbneTcRx.js +30 -0
- package/dist/pt-PT-TKg5FLat.js +27 -0
- package/dist/recurring-CkL4cCM2.js +17 -0
- package/dist/{reporting-DlRoibD7.js → reporting-DerosUNm.js} +1 -2
- package/dist/resolveEnvironment-DZ77JxLV.js +164 -0
- package/dist/revenue-accelerate-Dp4Ns_5c.js +17 -0
- package/dist/{rules-CkD4bHtQ.js → rules-_v8BprU3.js} +14 -8
- 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/sl-SI-59OQIZ3f.js +13 -0
- package/dist/sl-SI-8SzKx7XD.js +30 -0
- package/dist/sl-SI-C-C-KJCX.js +27 -0
- package/dist/sl-SI-C0wSbuau.js +13 -0
- package/dist/{sl-SI-Br0UEUPL.js → sl-SI-CUCrzJQv.js} +5 -1
- package/dist/sl-SI-DdjgSySI.js +13 -0
- package/dist/sl-SI-DtdGMD6i.js +57 -0
- package/dist/{solution-payments-DTAuLSWF.js → solution-payments-CNAat9h7.js} +2 -2
- package/dist/store-IuAkDRAp.js +14 -0
- package/dist/style.css +2911 -2181
- package/dist/styles-CLV89_hH.js +2911 -2181
- package/dist/sv-SE-B7cpKp1l.js +30 -0
- package/dist/sv-SE-BHfydid5.js +27 -0
- package/dist/sv-SE-BHkYspm-.js +130 -0
- package/dist/{sv-SE-BtXmvxx4.js → sv-SE-C6uPh9g5.js} +5 -1
- package/dist/sv-SE-CQWBP7n1.js +13 -0
- package/dist/sv-SE-CRBRuE8Z.js +32 -0
- package/dist/sv-SE-CXaMlJCI.js +24 -0
- package/dist/{sv-SE-B3zoXMuH.js → sv-SE-DGpvVvWj.js} +24 -4
- package/dist/sv-SE-DsPdegWB.js +13 -0
- package/dist/sv-SE-DtKjf4Go.js +13 -0
- package/dist/sv-SE-K1QT1cOt.js +68 -0
- package/dist/sv-SE-kR514dO1.js +57 -0
- package/dist/sv-SE-zTiw1bUU.js +13 -0
- package/dist/terminal-1-_me9J9h0.js +18 -0
- package/dist/trackNavigation-db_h46BT.js +28 -0
- 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/businessLines/businessLines.types.d.ts +21 -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/businessLines/useDeleteBusinessLine.d.ts +5 -0
- package/dist/types/api/businessLines/useUpdateBusinessLines.d.ts +7 -0
- package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +1 -0
- package/dist/types/api/companySearch/useCompanySearch.d.ts +1 -0
- package/dist/types/api/companySelection/useCompanySelection.d.ts +2 -18
- package/dist/types/api/configurations/useScenarios.d.ts +12 -12
- package/dist/types/api/documentValidation/useDocumentValidate.d.ts +15 -0
- package/dist/types/api/industryCodes/industryCodes.types.d.ts +2 -1
- package/dist/types/api/industryCodes/useIndustryCodes.d.ts +3 -3
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +16 -16
- package/dist/types/api/{pciTemplate/pciTemplate.types.d.ts → pci/pci.types.d.ts} +9 -1
- package/dist/types/api/{pciTemplate → pci}/usePciQuestionnaire.d.ts +1 -1
- package/dist/types/api/{pciTemplate → pci}/usePciQuestionnaireList.d.ts +1 -1
- package/dist/types/api/{pciTemplate → pci}/usePciStatus.d.ts +1 -1
- package/dist/types/api/pci/usePciTemplate.d.ts +8 -0
- package/dist/types/api/queryKeys.d.ts +5 -4
- 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/BankDocument/BankDocumentClassification.d.ts +5 -0
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirementsModal.d.ts +6 -0
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +2 -2
- package/dist/types/components/BankAccount/forms/BankDocument/validate.d.ts +3 -0
- package/dist/types/components/BankAccount/forms/BankVerification/BankVerification.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankVerification/types.d.ts +7 -0
- package/dist/types/components/BankAccount/forms/BankVerification/verification/overlay/BankVerificationOverlay.d.ts +3 -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/PayoutRequirementsModal.d.ts +8 -0
- package/dist/types/components/BankAccount/forms/PayoutCountryDetails/types.d.ts +13 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetails.d.ts +6 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -0
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/PayoutVerificationMethod.d.ts +1 -2
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +5 -5
- 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 +1052 -642
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +3 -3
- package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +5 -4
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformation.d.ts +1 -2
- package/dist/types/components/Business/forms/AdditionalInformation/{VerifiedBusinessCard.d.ts → VerifiedBusinessCard/VerifiedBusinessCard.d.ts} +2 -3
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +6 -7
- package/dist/types/components/Business/forms/BasicInformation/BasicInformation.d.ts +1 -4
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +5 -18
- package/dist/types/components/Business/{tasks/BusinessDetailsMultiformDropin → forms/BusinessDetails}/BusinessDetailsMultiform.d.ts +2 -1
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +0 -35
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +0 -21
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +0 -1
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelection.d.ts +13 -3
- package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +0 -11
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructure.d.ts +3 -3
- package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +0 -6
- package/dist/types/components/Business/forms/ProofOfDirectorDocument/ProofOfDirectorDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfDirectorDocument/types.d.ts +0 -3
- package/dist/types/components/Business/forms/ProofOfOwnershipDocument/ProofOfOwnershipDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfOwnershipDocument/types.d.ts +0 -3
- package/dist/types/components/Business/forms/ProofOfSignatoryDocument/ProofOfSignatoryDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfSignatoryDocument/types.d.ts +0 -3
- package/dist/types/components/Business/forms/RegistrationDocument/RegistrationDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/RegistrationDocument/types.d.ts +3 -5
- package/dist/types/components/Business/forms/TaxDocument/TaxDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/TaxDocument/types.d.ts +3 -5
- package/dist/types/components/Business/forms/forms.types.d.ts +0 -3
- package/dist/types/components/Business/forms/rules.d.ts +3 -1
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -2
- package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +3 -3
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +5 -4
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +16 -10
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +26 -5
- package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +5 -0
- package/dist/types/components/Business/utils/companyTypeMetadata.d.ts +3 -3
- package/dist/types/components/Business/utils/requestingCapabilities.d.ts +3 -0
- package/dist/types/components/BusinessLines/constants.d.ts +31 -0
- package/dist/types/components/BusinessLines/fields/Carousel/Carousel.d.ts +30 -0
- package/dist/types/components/BusinessLines/fields/SalesChannels/SalesChannels.d.ts +2 -0
- package/dist/types/components/BusinessLines/fields/SalesChannels/types.d.ts +6 -0
- package/dist/types/components/BusinessLines/fields/SctaField/SctaField.d.ts +2 -0
- package/dist/types/components/BusinessLines/fields/SctaField/types.d.ts +6 -0
- package/dist/types/components/BusinessLines/fields/WebDataField/WebDataField.d.ts +2 -0
- package/dist/types/components/BusinessLines/fields/WebDataField/types.d.ts +6 -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/SctaForm/SctaForm.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/SctaForm/SctaInfoModal.d.ts +3 -0
- package/dist/types/components/BusinessLines/forms/SctaForm/types.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/rules.d.ts +6 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLineModal/BusinessLineModal.d.ts +6 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLines.d.ts +9 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesDropin.d.ts +2 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesStore.d.ts +3 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/ExistingBusinessLines/ExistingBusinessLines.d.ts +8 -0
- package/dist/types/components/BusinessLines/tasks/types.d.ts +19 -0
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +40 -0
- package/dist/types/components/BusinessLines/tasks/validate.d.ts +11 -0
- package/dist/types/components/Contract/hooks/useSalesChannels.d.ts +2 -0
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/ServiceAgreementDropin.d.ts +1 -1
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -2
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +1328 -758
- 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/SourceOfFundsType.d.ts +3 -0
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/sofStore.d.ts +1 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +14 -13
- 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/SignPCIComponent/SignPCIComponent.d.ts +3 -1
- 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/Individual/PersonalDetails/types.d.ts +2 -0
- package/dist/types/components/Individual/forms/Individual/rules.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +2 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IdNowVerificationModal/isIdNowModalOpen.d.ts +3 -3
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +2 -2
- 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/pages/DecisionMakerDetailsPage.d.ts +2 -8
- package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +2 -6
- 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 +57 -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/types.d.ts +0 -2
- 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/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +0 -2
- package/dist/types/components/Shared/FormNavigation/FormNavigation.d.ts +1 -1
- package/dist/types/components/Shared/FormNavigation/types.d.ts +0 -2
- package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +1 -3
- package/dist/types/components/Shared/Introduction/copy.d.ts +2 -2
- package/dist/types/components/Shared/Summary/Summary.d.ts +1 -1
- package/dist/types/components/Shared/Summary/types.d.ts +1 -2
- package/dist/types/components/Shared/TaskVerificationStatus/TaskVerificationStatus.d.ts +18 -0
- 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/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +1 -0
- package/dist/types/components/Shared/fields/IndustryCodeField/IndustryCodeField.d.ts +4 -0
- package/dist/types/components/Shared/fields/IndustryCodeField/fieldConfig.d.ts +3 -0
- package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +22 -0
- package/dist/types/components/Shared/fields/IndustryCodeField/validate.d.ts +3 -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 +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/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/RegistrationAddressMultiform.d.ts +3 -0
- package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +3 -2
- package/dist/types/components/Shared/tasks/CustomerSupport/mapping/customerSupportKeyMapping.d.ts +4 -0
- 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 +4 -12
- 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/forms/TrustRegistrationDetails/TrustRegistrationDetailsMultiform.d.ts +2 -0
- package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -16
- 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/Trust/tasks/TrustDropin/TrustMultiform.d.ts +21 -0
- package/dist/types/components/Trust/tasks/TrustDropin/TrustMultiformDropin.d.ts +2 -0
- package/dist/types/components/Trust/tasks/TrustDropin/validate.d.ts +5 -0
- 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/Link/Link.types.d.ts +1 -1
- package/dist/types/components/ui/atoms/ListItem/ListItem.d.ts +1 -2
- package/dist/types/components/ui/atoms/Loader/Loader.d.ts +1 -5
- package/dist/types/components/ui/atoms/Modal/MaybeModal.d.ts +1 -1
- package/dist/types/components/ui/atoms/RadioCard/RadioCard.d.ts +1 -0
- package/dist/types/components/ui/atoms/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.d.ts +4 -4
- package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.types.d.ts +8 -9
- package/dist/types/components/ui/atoms/Status/Status.d.ts +9 -3
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +10 -0
- package/dist/types/components/ui/atoms/TileGroup/TileGroup.d.ts +3 -1
- package/dist/types/components/ui/atoms/Typography/Typography.types.d.ts +1 -1
- 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/DocumentGuidance/DocumentGuidance.types.d.ts +1 -2
- package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +2 -1
- package/dist/types/components/ui/molecules/Dropzone/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 +24 -23
- package/dist/types/context/I18nProvider/I18nContext.d.ts +3 -0
- package/dist/types/context/SettingsContext/SettingsProvider.d.ts +1 -1
- package/dist/types/context/SettingsContext/types.d.ts +3 -0
- package/dist/types/context/StateContext/types.d.ts +2 -1
- package/dist/types/core/errorMapping.d.ts +4 -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/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 +4 -1
- package/dist/types/core/user-events.d.ts +22 -11
- package/dist/types/datasets/generators/getAccountFormatForCountry.d.ts +1 -0
- package/dist/types/embeds/business-financing/AdyenBusinessFinancing.d.ts +1 -0
- package/dist/types/embeds/business-financing/adyen-business-financing.types.d.ts +2 -0
- package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +2 -6
- package/dist/types/hooks/{useAnalytics.d.ts → useAnalytics/useAnalytics.d.ts} +1 -7
- 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 +21 -7
- package/dist/types/language/utils.d.ts +2 -2
- package/dist/types/stores/formState.d.ts +2 -0
- package/dist/types/stores/globalStore/taskTypes.d.ts +1 -1
- package/dist/types/types/datasets/currency.d.ts +0 -1
- package/dist/types/types/form-rules.d.ts +3 -0
- package/dist/types/types/form.d.ts +0 -2
- package/dist/types/utils/addLinkedFields.d.ts +26 -2
- package/dist/types/utils/analytics/convertToEmbeddedEvent.d.ts +9 -0
- package/dist/types/utils/analytics/debouncedInputEvent.d.ts +30 -0
- package/dist/types/utils/analytics/getAnalyticsAssociatedEntityDetails.d.ts +13 -0
- package/dist/types/utils/{trackNavigation.d.ts → analytics/trackNavigation.d.ts} +1 -1
- package/dist/types/utils/api/documentUtils.d.ts +1 -0
- package/dist/types/utils/customerSupportUtils.d.ts +3 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/filterProblemsByTaskForms.d.ts +12 -0
- package/dist/types/utils/getName.d.ts +1 -1
- package/dist/types/utils/getSSNType.d.ts +1 -0
- package/dist/types/utils/getTrustedFields.d.ts +9 -0
- package/dist/types/utils/japanSupportUtils.d.ts +2 -0
- package/dist/types/utils/textTransformation/toFullWidth.d.ts +6 -0
- package/dist/types/utils/translation.d.ts +3 -2
- package/dist/types/utils/validatorUtils.d.ts +1 -0
- package/dist/types-BnnF5_7m.js +34 -0
- package/dist/{types-BZdZSp82.js → types-D0u3f6aG.js} +27 -4
- package/dist/{types-CAznNNSI.js → types-Dk94b8kx.js} +27 -26
- package/dist/{types-CX7rD7X4.js → types-sYQKhaSL.js} +2 -2
- package/dist/upload-BF65P4KM.js +17 -0
- package/dist/{useAssociatedLegalEntity-DD2ldSE1.js → useAssociatedLegalEntity-00JVCmQ7.js} +2 -2
- package/dist/useCreateLegalEntity-BvvwB9r0.js +31 -0
- package/dist/{useDataset-B8uRm9G9.js → useDataset-8WyOJBhU.js} +102 -2
- package/dist/{useForm-Bikkn7wR.js → useForm-DLxHtZTP.js} +16 -86
- package/dist/useGlobalData-D9dz7GIi.js +68 -0
- package/dist/{useMultiForm-BvLkXMC6.js → useMultiForm--sSlt50X.js} +4 -4
- package/dist/{useOnboardingStatus-CHvOF6oX.js → useOnboardingStatus-91zhqzLd.js} +2 -2
- package/dist/{useScenarios-uUD1GHMT.js → useScenarios-CqKpYbe_.js} +2 -2
- package/dist/{useTermsOfServiceStatus-_0VSQK9K.js → useTermsOfServiceStatus-DLQVpbik.js} +2 -2
- package/dist/{useToastContext-kLS15CCB.js → useToastContext-FI3dwzzs.js} +17 -8
- package/dist/{useUnincorporatedPartnershipMembers-pxytkrwW.js → useUnincorporatedPartnershipMembers-CdQDPlZq.js} +5 -5
- package/dist/useUpdateBusinessLines-BulhyPjH.js +46 -0
- package/dist/useUpdateLegalEntity-Q3Icdeo6.js +39 -0
- package/dist/utils-DQLhii3U.js +774 -0
- package/dist/{utils-BI6oHlaw.js → utils-DV0_GilJ.js} +6 -46
- package/dist/{validate-DGgXfXyg.js → validate-BD3wn-YX.js} +2 -2
- package/dist/validate-H-iE__-w.js +41 -0
- package/dist/{validationError-CpKFQv28.js → validationError-B5aoMbe_.js} +2 -2
- package/dist/warning-circle-fill-CEN1WL7A.js +17 -0
- package/dist/warning-diamond-filled-BfXMlVrG.js +17 -0
- package/dist/webinar-DqjqrNEv.js +22 -0
- package/package.json +77 -78
- package/dist/4-people-CCqdlDEw.js +0 -24
- package/dist/BusinessDetailsDropin-Be1nkzWx.js +0 -5088
- package/dist/BusinessFinancingComponent-BiFxtiME.js +0 -45
- package/dist/BusinessFinancingPage-C_3W8tC9.js +0 -40
- package/dist/Card-D0gduObT.js +0 -145
- package/dist/Confirm-DyWhqxmU.js +0 -64
- package/dist/CreateIndividualComponent-9-TP2x1D.js +0 -72
- package/dist/CreateTransferInstrumentComponent-U_HRSoZx.js +0 -67
- package/dist/DecisionMakerDetailsPage-vWtfPycT.js +0 -100
- package/dist/DecisionMakers-2aN_F-vt.js +0 -591
- package/dist/Dropzone-Cp2PTdED.js +0 -218
- package/dist/FormFlow-C95V54gu.js +0 -216
- package/dist/InputDate-DX90XEmr.js +0 -43
- package/dist/InputGroup-WBfGDV5F.js +0 -32
- package/dist/Link-Bn9pt52z.js +0 -35
- package/dist/ManageIndividualComponent-C5Epqe2I.js +0 -47
- package/dist/ManageTermsOfServiceComponent-zcuZm98f.js +0 -47
- package/dist/OnboardingDropinComponent-BgFPF-FG.js +0 -4301
- package/dist/RadioGroup-htJh3Lz5.js +0 -143
- package/dist/RegistrationAddress-DiVxWv-x.js +0 -2334
- package/dist/RootBusinessDetailsPage-DNGDa-xd.js +0 -1870
- package/dist/RootIndividualDetailsPage-DyWuruIM.js +0 -77
- package/dist/SoleProprietorshipPage-CYz0fHew.js +0 -50
- package/dist/Spacer-BK3jDget.js +0 -18
- package/dist/StructuredList-DaepaiVE.js +0 -38
- package/dist/TaskItemStatus-lQuiqU1e.js +0 -125
- package/dist/TaskStatusIndicator-8ug09mhu.js +0 -69
- package/dist/TaxInformationField-BfyN5nzh.js +0 -3062
- package/dist/TileGroup-CTesI0Vt.js +0 -174
- package/dist/TrustDetailsPage-CjG99ca_.js +0 -1205
- package/dist/TrustMemberCompanyPage-CiA3B0Ro.js +0 -60
- package/dist/TrustMemberIndividualPage-J1-6IFlZ.js +0 -66
- package/dist/analytics-Cg99WKif.js +0 -61
- package/dist/bafinUtils-Sy6B6Lec.js +0 -457
- 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-cnXbus2a.js +0 -24
- package/dist/currency-BGwQyxBo.js +0 -36
- package/dist/da-DK-BJ7aTPir.js +0 -13
- package/dist/da-DK-BTpZzEgA.js +0 -15
- package/dist/da-DK-CeNMXUfE.js +0 -23
- package/dist/da-DK-D0N1TVVU.js +0 -58
- package/dist/da-DK-D4H69PX3.js +0 -30
- package/dist/da-DK-DStNe471.js +0 -22
- package/dist/da-DK-q2b_1elr.js +0 -35
- package/dist/de-DE-C78RLE2G.js +0 -13
- package/dist/de-DE-CGoBPCPv.js +0 -22
- package/dist/de-DE-D2ByeIZs.js +0 -35
- package/dist/de-DE-DjOUNvp6.js +0 -15
- package/dist/de-DE-Dtuu-nE7.js +0 -58
- package/dist/de-DE-JI-7mvxy.js +0 -23
- 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/edit-1-D6f6zk9p.js +0 -14
- package/dist/en-US-546hB2Wn.js +0 -60
- package/dist/en-US-BQpgt41j.js +0 -37
- package/dist/en-US-BTYdAWXp.js +0 -15
- package/dist/en-US-CAm3meB1.js +0 -30
- package/dist/en-US-CQ3angjM.js +0 -22
- package/dist/en-US-DHq7VYFs.js +0 -23
- package/dist/es-ES-BsQpwaPN.js +0 -58
- package/dist/es-ES-BtUSEzkE.js +0 -13
- package/dist/es-ES-CKMfS8Yy.js +0 -22
- package/dist/es-ES-Cj7q7fWO.js +0 -15
- package/dist/es-ES-DOVPTeyf.js +0 -23
- package/dist/es-ES-Ds3-DtqZ.js +0 -30
- package/dist/es-ES-WWftn3JX.js +0 -35
- package/dist/fi-FI-BJ9RzrL3.js +0 -58
- package/dist/fi-FI-BNcnKrJ9.js +0 -15
- package/dist/fi-FI-Cvar63RH.js +0 -13
- package/dist/fi-FI-D522KHGk.js +0 -23
- package/dist/fi-FI-D9E_KaJi.js +0 -35
- package/dist/fi-FI-DPNeTsJS.js +0 -30
- package/dist/fi-FI-REYOX46I.js +0 -22
- package/dist/fieldConfigurations-kDKvJ6je.js +0 -458
- package/dist/formatCurrency-CMOSdJMB.js +0 -29
- package/dist/fr-FR-B5543Fe-.js +0 -13
- package/dist/fr-FR-Bn3D6mmY.js +0 -15
- package/dist/fr-FR-CNR5-s9g.js +0 -58
- package/dist/fr-FR-ChmNQciP.js +0 -30
- package/dist/fr-FR-Cv0k-3Xc.js +0 -35
- package/dist/fr-FR-D9qaP6nx.js +0 -22
- package/dist/fr-FR-DInQKkTd.js +0 -23
- package/dist/gift-SdNY6AqI.js +0 -14
- package/dist/headquarter-C6AsewcP.js +0 -21
- package/dist/image-eUqBiRX_.js +0 -17
- package/dist/info-Wao3PEQK.js +0 -21
- package/dist/isEmpty-C9y5I8Tl.js +0 -23
- package/dist/it-IT-BV9K87FK.js +0 -58
- package/dist/it-IT-Biduphjt.js +0 -22
- package/dist/it-IT-C_fNHhjE.js +0 -35
- package/dist/it-IT-CjEYONJg.js +0 -23
- package/dist/it-IT-Dd6xGSe-.js +0 -13
- package/dist/it-IT-DvM-9LpM.js +0 -15
- package/dist/it-IT-eCrTB65E.js +0 -30
- package/dist/keys-BpNgnAsD.js +0 -23
- package/dist/location-YXhcBMDy.js +0 -17
- package/dist/mail-Z_IE_hkw.js +0 -14
- package/dist/mapScriptLocalization-B4Be11Tx.js +0 -72
- package/dist/nl-NL-BHqiO21q.js +0 -15
- package/dist/nl-NL-D2QKudfh.js +0 -30
- package/dist/nl-NL-DLedC3mO.js +0 -35
- package/dist/nl-NL-DVENFpd5.js +0 -13
- package/dist/nl-NL-DywVQ9km.js +0 -58
- package/dist/nl-NL-G1wVnmzT.js +0 -22
- package/dist/nl-NL-Zcq0bXd-.js +0 -23
- package/dist/no-NO-B8oxqfNI.js +0 -58
- package/dist/no-NO-BTtAuqCb.js +0 -22
- package/dist/no-NO-BxReX6oF.js +0 -23
- package/dist/no-NO-CKT9kLAH.js +0 -15
- package/dist/no-NO-C_snYWBc.js +0 -30
- package/dist/no-NO-CpVal4cV.js +0 -35
- 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/plus-circle-filled-Cnf1oJTm.js +0 -17
- package/dist/pt-PT-BkvMsoK4.js +0 -35
- package/dist/pt-PT-BvK00TeI.js +0 -58
- package/dist/pt-PT-C-hbNnsB.js +0 -30
- package/dist/pt-PT-D2elvnDU.js +0 -15
- package/dist/pt-PT-Dk48OVtf.js +0 -22
- package/dist/pt-PT-N0njcfLO.js +0 -23
- package/dist/pt-PT-_o5xgnxS.js +0 -13
- package/dist/resolveEnvironment-Il1uuuaq.js +0 -84
- package/dist/revenue-accelerate-rtXA-8EE.js +0 -17
- package/dist/save-BofgDbDX.js +0 -14
- package/dist/search-BjMkvQh0.js +0 -17
- package/dist/sl-SI-BB7iVcFI.js +0 -22
- package/dist/sl-SI-BhVTSmhQ.js +0 -30
- package/dist/sl-SI-BylvpF-X.js +0 -15
- package/dist/sl-SI-Cth2Qa5T.js +0 -35
- package/dist/sl-SI-D_rqR0D7.js +0 -35
- package/dist/sl-SI-MZoDApq9.js +0 -23
- 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/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-OPOHtqtP.js +0 -35
- package/dist/terminal-1-ewywjFJI.js +0 -18
- package/dist/toCapitalized-Bq7laD0b.js +0 -13
- package/dist/translation-RPPT5Bll.js +0 -472
- package/dist/types/api/pciTemplate/usePciTemplate.d.ts +0 -14
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformationMultiform.d.ts +0 -9
- package/dist/types/components/Business/forms/BasicInformation/BasicInformationMultiform.d.ts +0 -9
- package/dist/types/components/Business/forms/BusinessDetails/BusinessDetails.d.ts +0 -3
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelectionMultiform.d.ts +0 -14
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructureMultiform.d.ts +0 -4
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiformDropin.d.ts +0 -5
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/types.d.ts +0 -2
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/utils.d.ts +0 -21
- package/dist/types/components/BusinessLines/tasks/BusinessLinesDropin.d.ts +0 -5
- package/dist/types/components/Contract/hooks/useSalesChannelsSettings.d.ts +0 -3
- package/dist/types/components/Shared/tasks/TaskList/TaskItemStatus.d.ts +0 -2
- 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/atoms/Status/Status.types.d.ts +0 -8
- package/dist/types/components/ui/atoms/TaskStatusIndicator/TaskStatusIndicator.d.ts +0 -11
- package/dist/types/components/ui/molecules/Card/CardGroup.d.ts +0 -3
- package/dist/types/core/analytics.d.ts +0 -31
- 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/utils-B7kcMyYW.js +0 -159
- package/dist/utils-DvAaNu7U.js +0 -29
- package/dist/validate-DxfuzxT4.js +0 -382
- package/dist/validate-Dz7xvgxq.js +0 -605
- 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/api/{pciTemplate → pci}/useSignPci.d.ts +0 -0
- /package/dist/types/components/Business/tasks/{BusinessDetailsMultiformDropin → BusinessDetailsDropin}/validate.d.ts +0 -0
- /package/dist/types/components/BusinessLines/tasks/{BusinessLinesGettingStarted → BusinessLines}/BusinessLinesGettingStarted.d.ts +0 -0
|
@@ -2,70 +2,17 @@
|
|
|
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] = "10f8cc77-9116-4682-b2d9-2cde1c03e13d", e._sentryDebugIdIdentifier = "sentry-dbid-10f8cc77-9116-4682-b2d9-2cde1c03e13d");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { i as isDateOlderThanAYear } from "./Address-YjoUtTTT.js";
|
|
11
|
-
import { b1 as drop, b as useApiContext, j as useQuery, o as httpGet, u as useI18nContext, N as createLogger, i as isUndefinedOrNull, a as useTranslation } from "./StoreProvider-D4cRWOo4.js";
|
|
12
10
|
import { jsx } from "preact/jsx-runtime";
|
|
13
11
|
import { useRef, useEffect, useCallback, useMemo, useState } from "preact/hooks";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
|
|
18
|
-
currency,
|
|
19
|
-
financialReportingDate,
|
|
20
|
-
numberOfEmployees,
|
|
21
|
-
balanceSheetTotal,
|
|
22
|
-
netAssets,
|
|
23
|
-
annualTurnover
|
|
24
|
-
}, dateOfIncorporation) => {
|
|
25
|
-
if (dateOfIncorporation && !isDateOlderThanAYear(dateOfIncorporation)) {
|
|
26
|
-
return {
|
|
27
|
-
employeeCount: typeof numberOfEmployees === "number" ? numberOfEmployees.toFixed(0) : numberOfEmployees
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
return {
|
|
31
|
-
currencyOfFinancialData: currency,
|
|
32
|
-
// TODO type this better
|
|
33
|
-
dateOfFinancialData: financialReportingDate,
|
|
34
|
-
employeeCount: typeof numberOfEmployees === "number" ? numberOfEmployees.toFixed(0) : numberOfEmployees,
|
|
35
|
-
netAssets: netAssets?.toFixed(2) ?? void 0,
|
|
36
|
-
balanceSheetTotal: balanceSheetTotal?.toFixed(2) ?? void 0,
|
|
37
|
-
annualTurnover: annualTurnover?.toFixed(2) ?? void 0
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
const mapFinancialReportsToFinancialInformation = (financialReports, withReportedValueOption = true) => {
|
|
41
|
-
if (financialReports.length === 0) {
|
|
42
|
-
throw new Error("No financial reports");
|
|
43
|
-
}
|
|
44
|
-
const mostRecentReport = financialReports.reduce((latest, curr) => {
|
|
45
|
-
if (curr?.dateOfFinancialData && latest?.dateOfFinancialData && curr?.dateOfFinancialData > latest?.dateOfFinancialData) {
|
|
46
|
-
return curr;
|
|
47
|
-
}
|
|
48
|
-
return latest;
|
|
49
|
-
}, financialReports[0]);
|
|
50
|
-
const financialInfo = {
|
|
51
|
-
numberOfEmployees: mostRecentReport.employeeCount ? parseInt(mostRecentReport.employeeCount) : void 0,
|
|
52
|
-
financialReportingDate: mostRecentReport.dateOfFinancialData,
|
|
53
|
-
currency: mostRecentReport.currencyOfFinancialData
|
|
54
|
-
};
|
|
55
|
-
if (mostRecentReport.balanceSheetTotal !== void 0) {
|
|
56
|
-
financialInfo.reportedValueOption = "balanceSheetTotal";
|
|
57
|
-
financialInfo.balanceSheetTotal = parseFloat(mostRecentReport.balanceSheetTotal);
|
|
58
|
-
}
|
|
59
|
-
if (mostRecentReport.netAssets !== void 0) {
|
|
60
|
-
financialInfo.reportedValueOption = "netAssets";
|
|
61
|
-
financialInfo.netAssets = parseFloat(mostRecentReport.netAssets);
|
|
62
|
-
}
|
|
63
|
-
if (mostRecentReport.annualTurnover !== void 0) {
|
|
64
|
-
financialInfo.reportedValueOption = "annualTurnover";
|
|
65
|
-
financialInfo.annualTurnover = parseFloat(mostRecentReport.annualTurnover);
|
|
66
|
-
}
|
|
67
|
-
return withReportedValueOption ? financialInfo : drop("reportedValueOption").from(financialInfo);
|
|
68
|
-
};
|
|
12
|
+
import { b as useApiContext, j as useQuery, m as httpGet, V as useI18nContext, P as createLogger, i as isUndefinedOrNull, u as useTranslation } from "./StoreProvider-jtUYKLRz.js";
|
|
13
|
+
import { F as Field, S as Select } from "./useForm-DLxHtZTP.js";
|
|
14
|
+
import { I as InputText, a as InputBase } from "./InputText-BfL9DgWp.js";
|
|
15
|
+
import { c as currencyByCountry } from "./types-D0u3f6aG.js";
|
|
69
16
|
const getLegalForms = async (countryCode, baseUrl) => {
|
|
70
17
|
return httpGet({
|
|
71
18
|
baseUrl,
|
|
@@ -170,9 +117,9 @@ const InputCurrency = ({
|
|
|
170
117
|
const decimalSeparator = useMemo(() => determineDecimalSeparator(formatter), [formatter]);
|
|
171
118
|
const currencySymbol = useMemo(() => determineCurrencySymbol(formatter), [formatter]);
|
|
172
119
|
const [text, setText] = useState("");
|
|
173
|
-
const onInput = (e) => setText(e.
|
|
120
|
+
const onInput = (e) => setText(e.currentTarget.value);
|
|
174
121
|
const onBlur = (e) => {
|
|
175
|
-
const rawValue = e.
|
|
122
|
+
const rawValue = e.currentTarget.value;
|
|
176
123
|
const value = getNumberFromFormattedCurrency(rawValue, decimalSeparator);
|
|
177
124
|
if (Number.isNaN(value)) {
|
|
178
125
|
logger.warn(`Unable to get number from formatted currency: "${rawValue}"`);
|
|
@@ -228,11 +175,9 @@ function Currency({
|
|
|
228
175
|
) });
|
|
229
176
|
}
|
|
230
177
|
export {
|
|
231
|
-
|
|
178
|
+
CURRENCY_FIELD as C,
|
|
232
179
|
InputNumber as I,
|
|
233
180
|
LegalFormField as L,
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
InputCurrency as c,
|
|
237
|
-
mapFinancialReportsToFinancialInformation as m
|
|
181
|
+
InputCurrency as a,
|
|
182
|
+
Currency as b
|
|
238
183
|
};
|
|
@@ -2,21 +2,22 @@
|
|
|
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] = "3fca2df0-f5d1-4255-94d8-6ff4498d476c", e._sentryDebugIdIdentifier = "sentry-dbid-3fca2df0-f5d1-4255-94d8-6ff4498d476c");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { c as useLegalEntity, R as ROOT_LE, L as Loader,
|
|
11
|
+
import { c as useLegalEntity, R as ROOT_LE, L as Loader, M as EntityTypes, u as useTranslation, a2 as useAnalyticsContext, a1 as useQueryClient, P as createLogger } from "./StoreProvider-jtUYKLRz.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { u as useMultiForm } from "./useMultiForm
|
|
18
|
-
import { r as resolveFieldMetadata } from "./
|
|
19
|
-
import { A as ActionBar } from "./
|
|
13
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-Q3Icdeo6.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-H-iE__-w.js";
|
|
15
|
+
import { H as Header, E as ErrorPanel, c as createFormUtils } from "./CountryField-CzRN1OE8.js";
|
|
16
|
+
import { a as useToastContext } from "./useToastContext-FI3dwzzs.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm--sSlt50X.js";
|
|
18
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity, r as resolveFieldMetadata } from "./Spacer-D4I0f08n.js";
|
|
19
|
+
import { A as ActionBar } from "./ActionBar-Dzrzolec.js";
|
|
20
|
+
import { z as defaultFieldMetadata, A as fieldConfig, F as getAsyncPhoneValidationRules, Z as ContactDetails } from "./IndividualOnfido-CmmyKC7J.js";
|
|
20
21
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
21
22
|
return {
|
|
22
23
|
email: customerSupport?.customerSupport?.email || "",
|
|
@@ -39,9 +40,12 @@ function CustomerSupportInner({
|
|
|
39
40
|
onSubmit,
|
|
40
41
|
legalEntity
|
|
41
42
|
}) {
|
|
43
|
+
const capabilityProblems = useCapabilityProblems();
|
|
44
|
+
const problems = capabilityProblems ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, legalEntity.id) : void 0;
|
|
42
45
|
const { t } = useTranslation("common");
|
|
43
46
|
const userEvents = useAnalyticsContext();
|
|
44
47
|
const { showToast } = useToastContext();
|
|
48
|
+
const formUtils = createFormUtils({}, t);
|
|
45
49
|
const { mutateAsync: updateLegalEntity } = useUpdateLegalEntity();
|
|
46
50
|
const queryClient = useQueryClient();
|
|
47
51
|
const requiredFields = {
|
|
@@ -116,12 +120,20 @@ function CustomerSupportInner({
|
|
|
116
120
|
const handleFieldChange = (fieldName, mode) => handleChangeFor(fieldName, "customerSupport", mode);
|
|
117
121
|
return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc-individual__customer-support", "aria-describedby": "ariaErrorField", children: [
|
|
118
122
|
/* @__PURE__ */ jsx(
|
|
119
|
-
|
|
123
|
+
Header,
|
|
120
124
|
{
|
|
121
|
-
|
|
125
|
+
title: t(($) => $["customerSupport"]),
|
|
122
126
|
description: t(($) => $["howYourCustomersCanReachYou"])
|
|
123
127
|
}
|
|
124
128
|
),
|
|
129
|
+
/* @__PURE__ */ jsx(
|
|
130
|
+
ErrorPanel,
|
|
131
|
+
{
|
|
132
|
+
verificationErrors: problems?.verificationErrors?.["customerSupport"],
|
|
133
|
+
formUtils,
|
|
134
|
+
id: "ariaErrorField"
|
|
135
|
+
}
|
|
136
|
+
),
|
|
125
137
|
/* @__PURE__ */ jsx(
|
|
126
138
|
ContactDetails,
|
|
127
139
|
{
|
|
@@ -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] = "66471b14-cae9-4f29-b170-18e01065d410", e._sentryDebugIdIdentifier = "sentry-dbid-66471b14-cae9-4f29-b170-18e01065d410");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
const DE = {
|
|
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] = "195973fd-5c1a-4398-9d71-e90b1b62ee53", e._sentryDebugIdIdentifier = "sentry-dbid-195973fd-5c1a-4398-9d71-e90b1b62ee53");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
const DK = {
|
|
11
11
|
iban: {
|
|
12
|
-
bankStatementRequirement: "
|
|
12
|
+
bankStatementRequirement: "OPTIONAL",
|
|
13
13
|
defaultCurrency: "DKK",
|
|
14
14
|
fields: [
|
|
15
15
|
"accountHolder",
|
|
@@ -18,7 +18,7 @@ const DK = {
|
|
|
18
18
|
]
|
|
19
19
|
},
|
|
20
20
|
local: {
|
|
21
|
-
bankStatementRequirement: "
|
|
21
|
+
bankStatementRequirement: "OPTIONAL",
|
|
22
22
|
defaultCurrency: "DKK",
|
|
23
23
|
fields: [
|
|
24
24
|
"accountHolder",
|
|
@@ -2,25 +2,27 @@
|
|
|
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] = "b0701c7c-7967-41d4-b51e-4cd0e5c4ae12", e._sentryDebugIdIdentifier = "sentry-dbid-b0701c7c-7967-41d4-b51e-4cd0e5c4ae12");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { B as Button,
|
|
13
|
-
import { M as Modal } from "./Modal-
|
|
14
|
-
import { E as ExperimentNames } from "./types-
|
|
15
|
-
import { I as InputText, S as SettingNames } from "./InputText-
|
|
12
|
+
import { B as Button, a0 as entriesOf, u as useTranslation, bx as splitTaskIdentifier, X as useExperimentsContext, o as useSettingsContext, V as useI18nContext, a8 as useGlobalStore, ax as listToRecord, by as valuesOf, P as createLogger, a3 as Icon } from "./StoreProvider-jtUYKLRz.js";
|
|
13
|
+
import { M as Modal } from "./Modal-CJ_hgcGb.js";
|
|
14
|
+
import { E as ExperimentNames } from "./types-Dk94b8kx.js";
|
|
15
|
+
import { I as InputText, T as TaskVerificationStatus, S as SettingNames } from "./InputText-BfL9DgWp.js";
|
|
16
16
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
17
|
+
import { A as Accordion } from "./Accordion-C-BvE1VA.js";
|
|
18
|
+
import { C as Checkbox } from "./debouncedInputEvent-HhImBs4O.js";
|
|
19
|
+
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
17
20
|
import MonogonCode from "monogon/preact";
|
|
18
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-lQuiqU1e.js";
|
|
19
21
|
const tabs = "adyen-kyc-tabs";
|
|
20
|
-
const styles$
|
|
22
|
+
const styles$3 = {
|
|
21
23
|
tabs
|
|
22
24
|
};
|
|
23
|
-
const Tabs = ({ tabs: tabs2, activeTab, onChange }) => /* @__PURE__ */ jsx("div", { className: styles$
|
|
25
|
+
const Tabs = ({ tabs: tabs2, activeTab, onChange }) => /* @__PURE__ */ jsx("div", { className: styles$3.tabs, children: tabs2.map(({ name, label, disabled }) => {
|
|
24
26
|
const buttonVariant = activeTab === name ? "secondary" : "tertiary";
|
|
25
27
|
return /* @__PURE__ */ jsx(
|
|
26
28
|
Button,
|
|
@@ -96,7 +98,7 @@ const DebugExperimentsAndSettings = ({
|
|
|
96
98
|
{
|
|
97
99
|
name: "search",
|
|
98
100
|
value: searchTerm,
|
|
99
|
-
onInput: (e) => setSearchTerm(e.
|
|
101
|
+
onInput: (e) => setSearchTerm(e.currentTarget.value),
|
|
100
102
|
placeholder: "Search for Experiments/Settings 🔎",
|
|
101
103
|
trimOnBlur: true,
|
|
102
104
|
spellCheck: false,
|
|
@@ -117,6 +119,87 @@ const DebugExperimentsAndSettings = ({
|
|
|
117
119
|
/* @__PURE__ */ jsx(DebugTable, { data: settingRows, heading: "Settings", searchTerm, sort: true })
|
|
118
120
|
] });
|
|
119
121
|
};
|
|
122
|
+
const searchInput = "adyen-kyc-searchInput";
|
|
123
|
+
const toolbar = "adyen-kyc-toolbar";
|
|
124
|
+
const fieldHeader = "adyen-kyc-fieldHeader";
|
|
125
|
+
const status = "adyen-kyc-status";
|
|
126
|
+
const statusRequired = "adyen-kyc-statusRequired";
|
|
127
|
+
const statusOptional = "adyen-kyc-statusOptional";
|
|
128
|
+
const statusHidden = "adyen-kyc-statusHidden";
|
|
129
|
+
const statusInfo = "adyen-kyc-statusInfo";
|
|
130
|
+
const reasonsList = "adyen-kyc-reasonsList";
|
|
131
|
+
const reasonItem = "adyen-kyc-reasonItem";
|
|
132
|
+
const styles$2 = {
|
|
133
|
+
searchInput,
|
|
134
|
+
toolbar,
|
|
135
|
+
fieldHeader,
|
|
136
|
+
status,
|
|
137
|
+
statusRequired,
|
|
138
|
+
statusOptional,
|
|
139
|
+
statusHidden,
|
|
140
|
+
statusInfo,
|
|
141
|
+
reasonsList,
|
|
142
|
+
reasonItem
|
|
143
|
+
};
|
|
144
|
+
const statusClassNames = {
|
|
145
|
+
REQUIRED: styles$2.statusRequired,
|
|
146
|
+
OPTIONAL: styles$2.statusOptional,
|
|
147
|
+
INFO: styles$2.statusInfo,
|
|
148
|
+
HIDDEN: styles$2.statusHidden
|
|
149
|
+
};
|
|
150
|
+
const DebugFormData = () => {
|
|
151
|
+
const debugInfo = formDebugInfo.value;
|
|
152
|
+
const [searchTerm, setSearchTerm] = useState("");
|
|
153
|
+
const [showHidden, setShowHidden] = useState(false);
|
|
154
|
+
const filteredFieldNames = Object.keys(debugInfo).filter((fieldName) => fieldName.toLowerCase().includes(searchTerm.toLowerCase())).filter((fieldName) => showHidden || debugInfo[fieldName].status !== "HIDDEN").sort((a, b) => {
|
|
155
|
+
if (a === "__FORMS__") return -1;
|
|
156
|
+
if (b === "__FORMS__") return 1;
|
|
157
|
+
return a.localeCompare(b);
|
|
158
|
+
});
|
|
159
|
+
if (Object.keys(debugInfo).length === 0) {
|
|
160
|
+
return /* @__PURE__ */ jsx("p", { children: "No form debug data available. Navigate to a form to see its debug info." });
|
|
161
|
+
}
|
|
162
|
+
return /* @__PURE__ */ jsxs("div", { children: [
|
|
163
|
+
/* @__PURE__ */ jsxs("div", { className: styles$2.toolbar, children: [
|
|
164
|
+
/* @__PURE__ */ jsx(
|
|
165
|
+
"input",
|
|
166
|
+
{
|
|
167
|
+
type: "text",
|
|
168
|
+
placeholder: "Search field...",
|
|
169
|
+
value: searchTerm,
|
|
170
|
+
onInput: (e) => setSearchTerm(e.currentTarget.value),
|
|
171
|
+
className: styles$2.searchInput
|
|
172
|
+
}
|
|
173
|
+
),
|
|
174
|
+
/* @__PURE__ */ jsx(
|
|
175
|
+
Checkbox,
|
|
176
|
+
{
|
|
177
|
+
id: "show-hidden-fields",
|
|
178
|
+
name: "show-hidden-fields",
|
|
179
|
+
label: "Show hidden fields",
|
|
180
|
+
checked: showHidden,
|
|
181
|
+
onChange: () => setShowHidden(!showHidden)
|
|
182
|
+
}
|
|
183
|
+
)
|
|
184
|
+
] }),
|
|
185
|
+
filteredFieldNames.map((fieldName) => {
|
|
186
|
+
const info = debugInfo[fieldName];
|
|
187
|
+
return /* @__PURE__ */ jsxs(Accordion, { onToggle: () => {
|
|
188
|
+
}, children: [
|
|
189
|
+
/* @__PURE__ */ jsx("template", { slot: "title", children: /* @__PURE__ */ jsxs("div", { className: styles$2.fieldHeader, children: [
|
|
190
|
+
/* @__PURE__ */ jsx("span", { className: styles$2.status, children: fieldName }),
|
|
191
|
+
" ",
|
|
192
|
+
/* @__PURE__ */ jsxs("span", { className: statusClassNames[info.status], children: [
|
|
193
|
+
"(",
|
|
194
|
+
info.status,
|
|
195
|
+
")"
|
|
196
|
+
] })
|
|
197
|
+
] }) }),
|
|
198
|
+
/* @__PURE__ */ jsx("template", { slot: "content", children: /* @__PURE__ */ jsx("ul", { className: styles$2.reasonsList, children: info.reasons.map((reason, i) => /* @__PURE__ */ jsx("li", { className: styles$2.reasonItem, children: reason }, i)) }) })
|
|
199
|
+
] }, fieldName);
|
|
200
|
+
})
|
|
201
|
+
] });
|
|
202
|
+
};
|
|
120
203
|
const DebugLegalEntityData = ({ legalEntityData }) => {
|
|
121
204
|
if (!legalEntityData) return /* @__PURE__ */ jsx(Fragment, {});
|
|
122
205
|
const { rootLegalEntity, rootLegalEntityType } = legalEntityData;
|
|
@@ -178,26 +261,26 @@ const DebugTaskStatuses = ({ taskStatuses }) => {
|
|
|
178
261
|
/* @__PURE__ */ jsx("th", { children: t(($) => $["status"]) }),
|
|
179
262
|
/* @__PURE__ */ jsx("th", { children: t(($) => $["reason"]) })
|
|
180
263
|
] }) }),
|
|
181
|
-
/* @__PURE__ */ jsx("tbody", { children: entriesOf(taskStatuses).sort(([t1], [t2]) => t1.localeCompare(t2)).map(([task,
|
|
264
|
+
/* @__PURE__ */ jsx("tbody", { children: entriesOf(taskStatuses).sort(([t1], [t2]) => t1.localeCompare(t2)).map(([task, status2]) => {
|
|
182
265
|
const { taskType, id } = splitTaskIdentifier(task);
|
|
183
266
|
return /* @__PURE__ */ jsxs("tr", { children: [
|
|
184
267
|
/* @__PURE__ */ jsxs("td", { className: styles.taskName, children: [
|
|
185
268
|
taskType,
|
|
186
269
|
id ? `: ${id}` : ""
|
|
187
270
|
] }),
|
|
188
|
-
|
|
189
|
-
/* @__PURE__ */ jsx("td", { children: /* @__PURE__ */ jsx(
|
|
271
|
+
status2 ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
272
|
+
/* @__PURE__ */ jsx("td", { children: /* @__PURE__ */ jsx(TaskVerificationStatus, { status: status2.status }) }),
|
|
190
273
|
/* @__PURE__ */ jsxs("td", { children: [
|
|
191
|
-
t(($) => $[
|
|
192
|
-
/* @__PURE__ */ jsx(ExplainDetails, { status })
|
|
274
|
+
t(($) => $[status2.reason]),
|
|
275
|
+
/* @__PURE__ */ jsx(ExplainDetails, { status: status2 })
|
|
193
276
|
] })
|
|
194
277
|
] }) : /* @__PURE__ */ jsx(Fragment, {})
|
|
195
278
|
] }, task);
|
|
196
279
|
}) })
|
|
197
280
|
] });
|
|
198
281
|
};
|
|
199
|
-
const ExplainDetails = ({ status }) => {
|
|
200
|
-
const { reason, details } =
|
|
282
|
+
const ExplainDetails = ({ status: status2 }) => {
|
|
283
|
+
const { reason, details } = status2;
|
|
201
284
|
switch (reason) {
|
|
202
285
|
case "invalidInputError": {
|
|
203
286
|
const verificationError = details.verificationError;
|
|
@@ -241,8 +324,9 @@ const DebugModal = ({ onExit }) => {
|
|
|
241
324
|
const { i18n } = useI18nContext();
|
|
242
325
|
const [tab, setTab] = useState("metadata");
|
|
243
326
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
327
|
+
const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
|
|
244
328
|
const metadata = {
|
|
245
|
-
sdkVersion: "4.0.0-compact.
|
|
329
|
+
sdkVersion: "4.0.0-compact.3",
|
|
246
330
|
locale: i18n.locale,
|
|
247
331
|
rootLegalEntityId: rootLegalEntity.id
|
|
248
332
|
};
|
|
@@ -267,41 +351,42 @@ const DebugModal = ({ onExit }) => {
|
|
|
267
351
|
setDebugInfoCopied(false);
|
|
268
352
|
}, 5e3);
|
|
269
353
|
};
|
|
354
|
+
const TABS = [
|
|
355
|
+
{
|
|
356
|
+
name: "metadata",
|
|
357
|
+
label: "Metadata"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
name: "experimentsSettings",
|
|
361
|
+
label: "Experiments & Settings"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
name: "taskStatuses",
|
|
365
|
+
label: "Task Statuses"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
name: "legalEntityData",
|
|
369
|
+
label: "Legal Entity Data"
|
|
370
|
+
}
|
|
371
|
+
];
|
|
372
|
+
if (formDebugAvailable) {
|
|
373
|
+
TABS.push({
|
|
374
|
+
name: "formConfig",
|
|
375
|
+
label: "Form Config"
|
|
376
|
+
});
|
|
377
|
+
}
|
|
270
378
|
return /* @__PURE__ */ jsx(Modal, { size: "fullscreen", onClose: onExit, ariaLabel: "Debug", children: /* @__PURE__ */ jsxs("div", { className: styles$1.debugModal, children: [
|
|
271
379
|
/* @__PURE__ */ jsxs("div", { className: styles$1.debugHeader, children: [
|
|
272
380
|
/* @__PURE__ */ jsx("h1", { children: "Debug" }),
|
|
273
381
|
" ",
|
|
274
|
-
/* @__PURE__ */ jsx(
|
|
275
|
-
Tabs,
|
|
276
|
-
{
|
|
277
|
-
activeTab: tab,
|
|
278
|
-
onChange: (tab2) => setTab(tab2),
|
|
279
|
-
tabs: [
|
|
280
|
-
{
|
|
281
|
-
name: "metadata",
|
|
282
|
-
label: "Metadata"
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
name: "experimentsSettings",
|
|
286
|
-
label: "Experiments & Settings"
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
name: "taskStatuses",
|
|
290
|
-
label: "Task Statuses"
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
name: "legalEntityData",
|
|
294
|
-
label: "Legal Entity Data"
|
|
295
|
-
}
|
|
296
|
-
]
|
|
297
|
-
}
|
|
298
|
-
)
|
|
382
|
+
/* @__PURE__ */ jsx(Tabs, { activeTab: tab, onChange: (tab2) => setTab(tab2), tabs: TABS })
|
|
299
383
|
] }),
|
|
300
384
|
/* @__PURE__ */ jsxs("div", { className: styles$1.content, children: [
|
|
301
385
|
tab === "metadata" ? /* @__PURE__ */ jsx(DebugMetadata, { metadata }) : void 0,
|
|
302
386
|
tab === "taskStatuses" ? /* @__PURE__ */ jsx(DebugTaskStatuses, { taskStatuses }) : void 0,
|
|
303
387
|
tab === "experimentsSettings" ? /* @__PURE__ */ jsx(DebugExperimentsAndSettings, { experiments, settings }) : void 0,
|
|
304
|
-
tab === "legalEntityData" ? /* @__PURE__ */ jsx(DebugLegalEntityData, { legalEntityData }) : void 0
|
|
388
|
+
tab === "legalEntityData" ? /* @__PURE__ */ jsx(DebugLegalEntityData, { legalEntityData }) : void 0,
|
|
389
|
+
tab === "formConfig" ? /* @__PURE__ */ jsx(DebugFormData, {}) : void 0
|
|
305
390
|
] }),
|
|
306
391
|
/* @__PURE__ */ jsx("div", { className: styles$1.footer, children: /* @__PURE__ */ jsxs("div", { children: [
|
|
307
392
|
/* @__PURE__ */ jsx(
|
|
@@ -0,0 +1,106 @@
|
|
|
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] = "075bf259-8a8e-4d93-a686-edc56df2946e", e._sentryDebugIdIdentifier = "sentry-dbid-075bf259-8a8e-4d93-a686-edc56df2946e");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { c as useLegalEntity, w as skipToken, X as useExperimentsContext, g as getLegalEntityCountry, u as useTranslation, a as addResourceBundles, L as Loader, ak as isOnfidoAutofillFlowEnabled, a4 as noop, O as TaskTypes, M as EntityTypes, r as LegalEntityTypes, _ as __variableDynamicImportRuntimeHelper, bt as individualOnfidoBaseMapping, b5 as individualComponentsKeyMapping } from "./StoreProvider-jtUYKLRz.js";
|
|
11
|
+
import { jsx } from "preact/jsx-runtime";
|
|
12
|
+
import { u as useScenarios } from "./useScenarios-CqKpYbe_.js";
|
|
13
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-D4I0f08n.js";
|
|
14
|
+
import { p as isBafinSignatoryFlow, ad as removeIdVerificationProblemsForBafinSignatory, g as getTrustedFieldsProvider, D as getTrustedFields, Y as getTrustedEntityAssociations } from "./IndividualOnfido-CmmyKC7J.js";
|
|
15
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BsCb6dvy.js";
|
|
16
|
+
function DecisionMakerDetailsPage({
|
|
17
|
+
decisionMakerId,
|
|
18
|
+
parentCompanyId,
|
|
19
|
+
taskType = TaskTypes.DECISION_MAKER,
|
|
20
|
+
asModal,
|
|
21
|
+
hideSidebar,
|
|
22
|
+
isTargetLegalEntityType,
|
|
23
|
+
onSubmit,
|
|
24
|
+
handleBackClick,
|
|
25
|
+
handleCloseClick,
|
|
26
|
+
handleHomeClick = noop
|
|
27
|
+
}) {
|
|
28
|
+
const { data: decisionMakerLe } = useLegalEntity(decisionMakerId ?? skipToken);
|
|
29
|
+
const { data: parentCompanyLe } = useLegalEntity(parentCompanyId ?? skipToken);
|
|
30
|
+
const capabilityProblems = useCapabilityProblems();
|
|
31
|
+
const { isExperimentEnabled } = useExperimentsContext();
|
|
32
|
+
const { data: scenarios } = useScenarios(
|
|
33
|
+
(parentCompanyLe && getLegalEntityCountry(parentCompanyLe)) ?? skipToken,
|
|
34
|
+
LegalEntityTypes.INDIVIDUAL
|
|
35
|
+
);
|
|
36
|
+
const { i18n } = useTranslation();
|
|
37
|
+
addResourceBundles(i18n, [
|
|
38
|
+
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/da-DK.json": () => import("./da-DK-DvZ431fC.js"), "../language/de-DE.json": () => import("./de-DE-0uSzhWg5.js"), "../language/en-US.json": () => import("./en-US-fyGPkcqX.js"), "../language/es-ES.json": () => import("./es-ES-B7dt4cn7.js"), "../language/fi-FI.json": () => import("./fi-FI-REMsyTSr.js"), "../language/fr-FR.json": () => import("./fr-FR-CvHWmim-.js"), "../language/it-IT.json": () => import("./it-IT-BeX7-OcD.js"), "../language/nl-NL.json": () => import("./nl-NL-CM5U8ODq.js"), "../language/no-NO.json": () => import("./no-NO-BQL_M1pn.js"), "../language/pt-BR.json": () => import("./pt-BR-AZ3roErF.js"), "../language/pt-PT.json": () => import("./pt-PT-DVKtHjIY.js"), "../language/sl-SI.json": () => import("./sl-SI-C0wSbuau.js"), "../language/sv-SE.json": () => import("./sv-SE-DtKjf4Go.js") }), `../language/${lang}.json`, 3) }
|
|
39
|
+
]);
|
|
40
|
+
if (!parentCompanyLe || decisionMakerId && !decisionMakerLe) {
|
|
41
|
+
return /* @__PURE__ */ jsx(Loader, {});
|
|
42
|
+
}
|
|
43
|
+
const country = getLegalEntityCountry(decisionMakerLe ?? parentCompanyLe);
|
|
44
|
+
let problems = capabilityProblems && decisionMakerId ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, decisionMakerId) : void 0;
|
|
45
|
+
if (problems && parentCompanyLe && decisionMakerLe && scenarios) {
|
|
46
|
+
const associatedDecisionMakers = parentCompanyLe.entityAssociations?.filter(
|
|
47
|
+
(association) => association.legalEntityId === decisionMakerLe.id
|
|
48
|
+
);
|
|
49
|
+
const isBafinSignatory = associatedDecisionMakers?.some(
|
|
50
|
+
(association) => isBafinSignatoryFlow({ taskType, data: association, scenarios })
|
|
51
|
+
);
|
|
52
|
+
if (isBafinSignatory) {
|
|
53
|
+
problems = removeIdVerificationProblemsForBafinSignatory(problems);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
const isOnfidoAutofillFlow = isOnfidoAutofillFlowEnabled(
|
|
57
|
+
country,
|
|
58
|
+
TaskTypes.DECISION_MAKER,
|
|
59
|
+
isExperimentEnabled
|
|
60
|
+
);
|
|
61
|
+
const trustedFieldsProvider = getTrustedFieldsProvider(parentCompanyLe);
|
|
62
|
+
const trustedFields = decisionMakerLe ? getTrustedFields(
|
|
63
|
+
decisionMakerLe,
|
|
64
|
+
isOnfidoAutofillFlow ? individualOnfidoBaseMapping : individualComponentsKeyMapping
|
|
65
|
+
) : {};
|
|
66
|
+
const trustedEntityAssociation = getTrustedEntityAssociations(parentCompanyLe).find(
|
|
67
|
+
(ea) => ea.reference === decisionMakerId
|
|
68
|
+
);
|
|
69
|
+
const trustedRoles = trustedEntityAssociation?.types ?? [];
|
|
70
|
+
const isRevampedDecisionMakersTaskPageEnabled = isExperimentEnabled(
|
|
71
|
+
"EnableRevampedDecisionMakersTaskPage"
|
|
72
|
+
);
|
|
73
|
+
const props = {
|
|
74
|
+
taskType,
|
|
75
|
+
taskName: TASK_NAMES[taskType],
|
|
76
|
+
legalEntityResponse: decisionMakerLe,
|
|
77
|
+
parentLegalEntity: parentCompanyLe,
|
|
78
|
+
problems,
|
|
79
|
+
country,
|
|
80
|
+
asModal,
|
|
81
|
+
hideSidebar,
|
|
82
|
+
isTargetLegalEntityType,
|
|
83
|
+
onSubmit,
|
|
84
|
+
trustedFieldsProvider,
|
|
85
|
+
trustedRoles,
|
|
86
|
+
handleBackClick,
|
|
87
|
+
handleCloseClick,
|
|
88
|
+
handleHomeClick
|
|
89
|
+
};
|
|
90
|
+
return isOnfidoAutofillFlow ? /* @__PURE__ */ jsx(
|
|
91
|
+
IndividualOnfidoDropin,
|
|
92
|
+
{
|
|
93
|
+
...props,
|
|
94
|
+
asModal: isRevampedDecisionMakersTaskPageEnabled,
|
|
95
|
+
trustedFields
|
|
96
|
+
}
|
|
97
|
+
) : /* @__PURE__ */ jsx(IndividualDropin, { ...props, trustedFields });
|
|
98
|
+
}
|
|
99
|
+
const TASK_NAMES = {
|
|
100
|
+
[TaskTypes.DECISION_MAKER]: "decisionMakerDetails",
|
|
101
|
+
[TaskTypes.TRUST_MEMBER_COMPANY_OWNER]: "companyOwnerDetails",
|
|
102
|
+
[TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER]: "companyOwnerDetails"
|
|
103
|
+
};
|
|
104
|
+
export {
|
|
105
|
+
DecisionMakerDetailsPage
|
|
106
|
+
};
|