@adyen/kyc-components 3.85.0 → 3.86.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-DWt6MA7A.js → AcceptTermsOfServiceComponent-DzMlzUjz.js} +16 -17
- package/dist/{Accordion-DQSd9JrF.js → Accordion-ZHPTn2Gl.js} +2 -2
- package/dist/{AccountSetupRejected-Y2jV7DOd.js → AccountSetupRejected-DON-7H74.js} +4 -4
- package/dist/{Address-CN31gTRW.js → Address-ChPj2pfR.js} +337 -22
- package/dist/{Alert-B2qwr9au.js → Alert-CeZqoFeT.js} +3 -3
- package/dist/{Avatar-CrL6cVDB.js → Avatar-zXT7v3KF.js} +2 -2
- package/dist/{BusinessDetailsMultiformDropin-BB1mTi0Z.js → BusinessDetailsMultiformDropin-DKiYg8gJ.js} +89 -3112
- package/dist/{BusinessFinancingComponent-BevBrUTE.js → BusinessFinancingComponent-BRziB5i-.js} +6 -6
- package/dist/{BusinessFinancingDropin-BgU5hfv0.js → BusinessFinancingDropin-CUmKL5bO.js} +21 -38
- package/dist/{BusinessFinancingPage-u2Xu42u-.js → BusinessFinancingPage-DhhnCxFQ.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-BNxEzkjO.js → BusinessTypeSelectionPage-B_dVM7cC.js} +9 -8
- package/dist/Card-Bz2B4J0v.js +82 -0
- package/dist/ConstitutionalDocument-Dt9O9bVo.js +143 -0
- package/dist/{CountryField-CFppUh42.js → CountryField-Bv9P8dRJ.js} +110 -78
- package/dist/CreateIndividualComponent-Mw4AiW_M.js +71 -0
- package/dist/CreateTransferInstrumentComponent-usUQlcH_.js +66 -0
- package/dist/{Currency-Zz8j3LFf.js → Currency-SzvigNNo.js} +8 -63
- package/dist/{CustomerSupport-CkqG00fn.js → CustomerSupport-C_KLB51k.js} +21 -9
- package/dist/{DebugModal-Cxp_Lbjk.js → DebugModal-DYolUZQS.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-kpoxsSYP.js → DecisionMakerDetailsPage-C2BzKLSi.js} +7 -7
- package/dist/{DecisionMakers-DMboYynJ.js → DecisionMakers-DTYzQWdY.js} +18 -20
- package/dist/{EmbeddedStatus-DdZv9Kwp.js → EmbeddedStatus-jepajhAF.js} +3 -3
- package/dist/{EndStateLayout-Cswr0wiZ.js → EndStateLayout-DQm7Xrqx.js} +2 -2
- package/dist/{useFormContext-DrrsFJH7.js → FormFlow-A9b0QEcM.js} +10 -16
- package/dist/{FormNavigation-DrejHtXO.js → FormNavigation-DEdNWaAc.js} +5 -5
- package/dist/{useGlobalData-rR_jnTzW.js → FormWrapper-DjWyqVD2.js} +12 -79
- package/dist/{IndividualOnfidoDropin-CydUe7_6.js → IndividualOnfido-BMIkKHvJ.js} +8187 -6328
- package/dist/IndividualOnfidoDropin-DBQF0Onh.js +2502 -0
- package/dist/{InputText-EX5kyD9L.js → InputText-BG-TiSNN.js} +4 -4
- package/dist/{Introduction-DncY2r7T.js → Introduction-BgoEJd8o.js} +4 -4
- package/dist/{JpAddress-BTfvrykR.js → JpAddress-Jxj9u4D5.js} +8 -8
- package/dist/{LegalRepresentativeDetailsPage-DxqaU2W7.js → LegalRepresentativeDetailsPage-BH5AnQhk.js} +5 -5
- package/dist/{ListItem-pn0XFAz_.js → ListItem-DIDj0vuO.js} +3 -3
- package/dist/{ManageIndividualComponent-CKRuUS0t.js → ManageIndividualComponent-CJKXW8rK.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-DDgriC3w.js → ManageTermsOfServiceComponent-DNf00D1s.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-BoQn6JaV.js → ManageTransferInstrumentComponent-gVWN389q.js} +14 -13
- package/dist/{MaybeModal-B1X7K4z1.js → MaybeModal-D51ALTH6.js} +3 -3
- package/dist/{Modal-ConNvgj4.js → Modal-C9aImxis.js} +2 -2
- package/dist/OnboardingDropinComponent-D-tQ12Sy.js +9791 -0
- package/dist/{PayoutDetailsDropin-CHOa81Ot.js → PayoutDetailsDropin-CxWPXV7j.js} +288 -158
- package/dist/{Review-BAuL4AQ-.js → Review-CRhM6n_P.js} +8 -8
- package/dist/RootBusinessDetailsPage-DZrT_e0g.js +61 -0
- package/dist/{RootBusinessLinesPage-D-YRRyIW.js → RootBusinessLinesPage-CJUpoVy5.js} +267 -144
- package/dist/RootIndividualDetailsPage-pqVuzOoJ.js +80 -0
- package/dist/{SignPCIComponent-B6FQiV5E.js → SignPCIComponent-BNbx3OzX.js} +11 -11
- package/dist/{SingpassSelection-DxGUYazk.js → SingpassSelection-BAa3S705.js} +4 -5
- package/dist/SoleProprietorshipPage-Bhw3GBKP.js +60 -0
- package/dist/{SourceOfFundsPage-Ce-Mim_H.js → SourceOfFundsPage-CJXpHSgo.js} +24 -29
- package/dist/{StepProgressIndicator-BymtNCPV.js → StepProgressIndicator-Dncrs7ra.js} +2 -2
- package/dist/{StoreProvider-BYjTSjnX.js → StoreProvider-CWnZNw9D.js} +427 -305
- package/dist/{TaskItemStatus-BholBQ7C.js → TaskItemStatus-D3ri_-L2.js} +3 -3
- package/dist/{TaxReportingDropin-CSa5vto5.js → TaxReportingDropin-Du7KU--L.js} +15 -17
- package/dist/{TrustDetailsPage-CYMeuEyr.js → TrustDetailsPage-SGmHwgzj.js} +24 -32
- package/dist/{TrustMemberCompanyPage-DICY9KDR.js → TrustMemberCompanyPage-BkQ9q4_T.js} +6 -6
- package/dist/{TrustMemberIndividualPage-DUGmI852.js → TrustMemberIndividualPage-CIr73hS-.js} +5 -5
- package/dist/UnincorporatedPartnershipIndividualPage-DQxHTyUp.js +65 -0
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CuvkBZ2N.js → UnincorporatedPartnershipMemberCompanyPage-DOWqNUHn.js} +6 -6
- package/dist/VerificationErrorAlert-DDsMxj76.js +79 -0
- package/dist/{ViewVerificationStatusComponent-zXuO8CY1.js → ViewVerificationStatusComponent-Hqp0gnec.js} +4 -4
- package/dist/adyen-business-financing.js +3 -3
- package/dist/adyen-individual-configuration.js +3 -3
- package/dist/adyen-individual-status.js +3 -3
- package/dist/adyen-kyc-components.js +20 -20
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +3 -3
- package/dist/adyen-transfer-instrument-configuration.js +3 -3
- package/dist/adyen-transfer-instrument-management.js +3 -3
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{bg-BG-fr-xfUBV.js → bg-BG-B1GR6lKu.js} +3 -1
- package/dist/{bg-BG-BIOMFPaW.js → bg-BG-BC1dwNN2.js} +2 -5
- package/dist/bg-BG-BJo9yIYj.js +13 -0
- package/dist/bg-BG-D8qq7TQJ.js +94 -0
- package/dist/bg-BG-a6CQ0hKw.js +13 -0
- package/dist/{bg-BG-Cs_1PU3v.js → bg-BG-e6Rs6yz_.js} +4 -1
- package/dist/{cs-CZ-DNWTRefA.js → cs-CZ-2foXfkBk.js} +2 -5
- package/dist/cs-CZ-BAr1-JAS.js +13 -0
- package/dist/cs-CZ-ChGeQ9s0.js +94 -0
- package/dist/{cs-CZ-C0sNB1Fm.js → cs-CZ-DBQXByj7.js} +3 -1
- package/dist/cs-CZ-LGBI1w0Z.js +13 -0
- package/dist/{cs-CZ-B2WAqmaW.js → cs-CZ-Q6NVYK-k.js} +4 -1
- package/dist/da-DK-914Viqia.js +13 -0
- package/dist/{da-DK-8dk9Q_Wk.js → da-DK-CjjWmhN6.js} +3 -1
- package/dist/da-DK-CyHH8kX3.js +94 -0
- package/dist/{da-DK-D-eeokQn.js → da-DK-DSYEF7Q1.js} +4 -1
- package/dist/{da-DK-D-PlwKvZ.js → da-DK-DU3_xdWg.js} +2 -5
- package/dist/da-DK-DoHb4ssx.js +13 -0
- package/dist/{de-DE-Dcs3W1fT.js → de-DE-B9-ILIdw.js} +4 -1
- package/dist/{de-DE-4GAd_srm.js → de-DE-BODG29hR.js} +2 -5
- package/dist/de-DE-BXKZNAA1.js +13 -0
- package/dist/de-DE-DL6SrIBE.js +94 -0
- package/dist/{de-DE-CCyKie8B.js → de-DE-DoQHxDRp.js} +3 -1
- package/dist/de-DE-R6YgDOo5.js +13 -0
- package/dist/{analytics-DkXXx2b6.js → debouncedInputEvent-B3Lwtvx_.js} +7 -21
- package/dist/{validate-DzaSMOa2.js → documentUtils-C2iCagu9.js} +3 -167
- package/dist/{dropinUtils-CCEDaAJW.js → dropinUtils-L9qJuAw0.js} +4 -20
- package/dist/el-GR-BnMw4HQ7.js +13 -0
- package/dist/{el-GR-D7zMcBtK.js → el-GR-CnoZeZlX.js} +3 -1
- package/dist/{el-GR-DBum-QDu.js → el-GR-DYjcbiSc.js} +4 -1
- package/dist/{el-GR-Ddnh0NhQ.js → el-GR-DcIdm3iK.js} +2 -5
- package/dist/el-GR-DgaUGjyJ.js +13 -0
- package/dist/el-GR-l0JeDNPy.js +94 -0
- package/dist/{en-US-DjF6iC7G.js → en-US-BxEW5N6f.js} +44 -5
- package/dist/{en-US-BwDZ0WHW.js → en-US-C5WyUweF.js} +3 -1
- package/dist/en-US-CTZwL084.js +13 -0
- package/dist/{en-US-BCFNoF5y.js → en-US-DYo4OF-P.js} +8 -7
- package/dist/{en-US-DdeSoN_2.js → en-US-gsp7CD_E.js} +5 -1
- package/dist/{es-ES-JvAvmB2A.js → es-ES-BMrse1nQ.js} +3 -1
- package/dist/es-ES-BWAlCq7R.js +13 -0
- package/dist/{es-ES-C7XjLOHi.js → es-ES-C-tTuMLH.js} +4 -1
- package/dist/es-ES-C1ClJ2XE.js +94 -0
- package/dist/{es-ES-C4lENXHH.js → es-ES-CMQqgMEJ.js} +2 -5
- package/dist/es-ES-dMSfTLXF.js +13 -0
- package/dist/{et-EE-SJf3_Ega.js → et-EE-BE8bHZns.js} +3 -1
- package/dist/et-EE-BG_Y29oV.js +94 -0
- package/dist/{et-EE-BUG05EDz.js → et-EE-BzLAp08F.js} +4 -1
- package/dist/et-EE-D9SV0taO.js +13 -0
- package/dist/{et-EE-3EQr-1cj.js → et-EE-DcpuYQwB.js} +2 -5
- package/dist/et-EE-l977xCZ_.js +13 -0
- package/dist/fi-FI-0ScajGUB.js +13 -0
- package/dist/{fi-FI-Byvvcxxq.js → fi-FI-4GTHkwOL.js} +2 -5
- package/dist/{fi-FI-Cy2hAl0B.js → fi-FI-Bmu7sndb.js} +3 -1
- package/dist/fi-FI-C7GrKbXx.js +13 -0
- package/dist/fi-FI-bIhXiQPL.js +94 -0
- package/dist/{fi-FI-CEzjKgiz.js → fi-FI-pyHLbmel.js} +4 -1
- package/dist/{MaskedInput-DB6EYmfa.js → fieldConfigurations-DVV23oeM.js} +616 -14
- package/dist/{fr-FR-E_UubsZ-.js → fr-FR-Ba-HRBQ7.js} +2 -5
- package/dist/fr-FR-Bj275MRb.js +94 -0
- package/dist/fr-FR-CqCcxkgA.js +13 -0
- package/dist/{fr-FR-DNJiLv9b.js → fr-FR-DG3tEkdN.js} +4 -1
- package/dist/fr-FR-o45TzYMp.js +13 -0
- package/dist/{fr-FR-BmW46mYd.js → fr-FR-ufKVxWpT.js} +3 -1
- package/dist/getFieldsWithExistingData-C6JBh3D6.js +22 -0
- package/dist/{getName-Dc03c4n_.js → getName-k5oRc0oZ.js} +9 -2
- package/dist/{hasDataChanged-CUdKM92N.js → hasDataChanged-CogwJI1I.js} +2 -2
- package/dist/{hr-HR-TVOgDkBf.js → hr-HR-BFx1T11G.js} +2 -5
- package/dist/{hr-HR-WMnlxMEY.js → hr-HR-BRFErTkv.js} +4 -1
- package/dist/{hr-HR-c1Si_0s4.js → hr-HR-BYXLJcPZ.js} +3 -1
- package/dist/hr-HR-CL0q_D2U.js +94 -0
- package/dist/hr-HR-CoCrArfg.js +13 -0
- package/dist/hr-HR-YG9hvMMj.js +13 -0
- package/dist/hu-HU-BrxUJuJh.js +13 -0
- package/dist/{hu-HU-B2nrl0pw.js → hu-HU-CJA8w351.js} +4 -1
- package/dist/hu-HU-DIurnBC3.js +13 -0
- package/dist/{hu-HU-DRONW_47.js → hu-HU-GXvzHwu9.js} +2 -5
- package/dist/{hu-HU-CibGC8KY.js → hu-HU-J4qBifyy.js} +3 -1
- package/dist/hu-HU-cLqGFTTR.js +94 -0
- package/dist/{iframeWidget-BWwxgbNs.js → iframeWidget-D2CKFlJk.js} +4 -4
- package/dist/{it-IT-BMjuva_2.js → it-IT-B_5GkLBx.js} +3 -1
- package/dist/{it-IT-DuBLJIdz.js → it-IT-Bw3VIHJB.js} +2 -5
- package/dist/it-IT-C0Qk47kh.js +94 -0
- package/dist/it-IT-CNS4NmYX.js +13 -0
- package/dist/it-IT-Cztl5jRY.js +13 -0
- package/dist/{it-IT-BRmX2jEi.js → it-IT-mhNjrQZn.js} +4 -1
- package/dist/{ja-JP-Cr_qjpZ2.js → ja-JP-BUrknIDB.js} +3 -1
- package/dist/{ja-JP-CCnzjx-u.js → ja-JP-BxEWI56P.js} +9 -1
- package/dist/{ja-JP-gRRH8Eph.js → ja-JP-CfrHlRGC.js} +4 -1
- package/dist/{ja-JP-CJ_j_HAA.js → ja-JP-DI7lRfpI.js} +2 -5
- package/dist/ja-JP-DSdZj-it.js +94 -0
- package/dist/ja-JP-DXkV1ta4.js +13 -0
- package/dist/{localizeDateString-rfEOu5f7.js → localizeDateString-ZCoTLjs1.js} +2 -2
- package/dist/lt-LT-BJTBEa5D.js +13 -0
- package/dist/lt-LT-C-dKiExL.js +94 -0
- package/dist/{lt-LT-BJQDUanx.js → lt-LT-C0Acftnm.js} +4 -1
- package/dist/lt-LT-D1viSP-v.js +13 -0
- package/dist/{lt-LT-DjNjg3Pl.js → lt-LT-L0wG5Pd2.js} +3 -1
- package/dist/{lt-LT-CBBDNCnp.js → lt-LT-ewVNPhQN.js} +2 -5
- package/dist/lv-LV-AkiOewnL.js +13 -0
- package/dist/{lv-LV-h3nTokkM.js → lv-LV-Bnq61WAt.js} +4 -1
- package/dist/{lv-LV-BpRfRfMz.js → lv-LV-DFvpmmGg.js} +3 -1
- package/dist/lv-LV-GI-ZDM0K.js +13 -0
- package/dist/{lv-LV-CtIe38WU.js → lv-LV-JqXvRt4T.js} +2 -5
- package/dist/lv-LV-UkEOuqFz.js +94 -0
- package/dist/{mapExistingFile-D_HVWRXe.js → mapExistingFile-txzqej6F.js} +5 -80
- package/dist/mapFinancialReportsToFinancialInformation-DoTIj0Q-.js +67 -0
- package/dist/mapJpAddressSchemaToAddressLocalizations-pPCQCgRx.js +63 -0
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-DsQrqqP5.js → mapLegalEntityToIndividualOnfidoSchema-B8NxtO2j.js} +3 -63
- package/dist/{mapTransferInstrumentToPayoutAccount-MugvfqfK.js → mapTransferInstrumentToPayoutAccount-D9lyD7nx.js} +2 -2
- package/dist/nl-NL-B6B4Z_tr.js +13 -0
- package/dist/nl-NL-Cfr5hMtI.js +94 -0
- package/dist/{nl-NL-CE4l8R5l.js → nl-NL-DR1wVqQC.js} +2 -5
- package/dist/{nl-NL-oaBDOlm6.js → nl-NL-UhpFianh.js} +3 -1
- package/dist/nl-NL-VneIcgWO.js +13 -0
- package/dist/{nl-NL-YzDSCWLL.js → nl-NL-donw5yvS.js} +4 -1
- package/dist/no-NO-ASO8Je2l.js +94 -0
- package/dist/{no-NO-B1_YJlMP.js → no-NO-BZmigu6-.js} +2 -5
- package/dist/{no-NO-BTrfxWS7.js → no-NO-DRF-gOWI.js} +3 -1
- package/dist/{no-NO-Big2B13b.js → no-NO-Dev7r3VA.js} +4 -1
- package/dist/no-NO-Dn1LUbDp.js +13 -0
- package/dist/no-NO-Dqp598Ox.js +13 -0
- package/dist/payout-verification-instant-5u-wvFKv.js +41 -0
- package/dist/payout-verification-manual-BJsf7QPE.js +90 -0
- package/dist/{pl-PL-DGYFY42P.js → pl-PL-BKxhMICw.js} +2 -5
- package/dist/pl-PL-C1cP4Qpn.js +13 -0
- package/dist/pl-PL-CG4rvgUo.js +94 -0
- package/dist/{pl-PL-C72GTDxW.js → pl-PL-CHyLS1B7.js} +3 -1
- package/dist/{pl-PL-CL483jMb.js → pl-PL-DU_Xulyu.js} +4 -1
- package/dist/pl-PL-Zdh_Xu43.js +13 -0
- package/dist/{process-field-configurations-CiECrUSj.js → process-field-configurations-D2EUZow3.js} +3 -3
- package/dist/{pt-BR-CtFCi7U4.js → pt-BR-CFZE5Nop.js} +3 -1
- package/dist/{pt-BR-DJOzf0y2.js → pt-BR-DeXo4rsi.js} +4 -1
- package/dist/pt-BR-DkzLiK7Y.js +13 -0
- package/dist/pt-BR-DqLaaG4L.js +13 -0
- package/dist/pt-BR-IWTcYKu9.js +94 -0
- package/dist/{pt-BR-Co8OqKh-.js → pt-BR-wAIdhUru.js} +2 -5
- package/dist/{pt-PT-XAn7WGle.js → pt-PT-Bc9JI4eu.js} +3 -1
- package/dist/{pt-PT-pKLoM66X.js → pt-PT-C1qHVe7L.js} +2 -5
- package/dist/pt-PT-CoTUf3zo.js +13 -0
- package/dist/{pt-PT-B3qoJ3Fr.js → pt-PT-DkJdR6SS.js} +4 -1
- package/dist/pt-PT-LZZYQKaC.js +94 -0
- package/dist/pt-PT-uiREjC_e.js +13 -0
- package/dist/{resolveEnvironment-DTYC79J1.js → resolveEnvironment-CU4TOfg6.js} +3 -3
- package/dist/{ro-RO-Ct_BJvsc.js → ro-RO-BDjHimxe.js} +4 -1
- package/dist/{ro-RO-qX8X1Q1m.js → ro-RO-BFzooIri.js} +3 -1
- package/dist/ro-RO-C835aMET.js +13 -0
- package/dist/ro-RO-_HSYnLLu.js +13 -0
- package/dist/{ro-RO-D3rQ93wa.js → ro-RO-juw6hKRk.js} +2 -5
- package/dist/ro-RO-nVSeNtIQ.js +94 -0
- package/dist/{rules-BfrH23mO.js → rules-LaFMJfnA.js} +4 -5
- package/dist/{sk-SK-CmH1I1tp.js → sk-SK-BM57awWi.js} +2 -5
- package/dist/sk-SK-BX0wsQH4.js +94 -0
- package/dist/sk-SK-D6KtBU3q.js +13 -0
- package/dist/{sk-SK-CjdK4BKW.js → sk-SK-DRuiKuEp.js} +3 -1
- package/dist/sk-SK-K03EHmJF.js +13 -0
- package/dist/{sk-SK-FGK1FMMO.js → sk-SK-atqQJid1.js} +4 -1
- package/dist/{sl-SI-lPxRRPsh.js → sl-SI-CmYmQ6nG.js} +3 -1
- package/dist/{sl-SI-Cz28AFTz.js → sl-SI-CwKpXVCh.js} +4 -1
- package/dist/sl-SI-Dt7rovIT.js +94 -0
- package/dist/{sl-SI-hnlbW1OT.js → sl-SI-g2WSP0Tj.js} +2 -5
- package/dist/sl-SI-gM40Ay3W.js +13 -0
- package/dist/sl-SI-wYYQibM-.js +13 -0
- package/dist/style.css +931 -892
- package/dist/styles-CLV89_hH.js +931 -892
- package/dist/sv-SE-Bnhsdw8c.js +13 -0
- package/dist/{sv-SE-DLl7OGxl.js → sv-SE-CGCP_6VE.js} +4 -1
- package/dist/{sv-SE-BPpQ-05i.js → sv-SE-CHomf31L.js} +3 -1
- package/dist/{sv-SE-7Cbo1oic.js → sv-SE-Cfs0NHgG.js} +2 -5
- package/dist/sv-SE-DqzH809e.js +94 -0
- package/dist/sv-SE-uisfAT9L.js +13 -0
- package/dist/{useForm-CNi1k1NR.js → trackNavigation-gyYoCNvj.js} +25 -8
- package/dist/types/api/businessLines/businessLines.types.d.ts +7 -2
- 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/components/BankAccount/forms/BankDocument/types.d.ts +2 -2
- package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetails.d.ts +0 -1
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/PayoutVerificationMethod.d.ts +1 -2
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +51 -51
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +3 -3
- package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +2 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +1 -3
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/BusinessLines/fields/WebDataField/types.d.ts +2 -4
- package/dist/types/components/BusinessLines/forms/rules.d.ts +5 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesStore.d.ts +2 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/ExistingBusinessLines/BusinessLineModal.d.ts +3 -2
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +11 -2
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +124 -124
- 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/Summary/Summary.d.ts +1 -1
- package/dist/types/components/Shared/Summary/types.d.ts +0 -2
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/tasks/CustomerSupport/mapping/customerSupportKeyMapping.d.ts +4 -0
- package/dist/types/context/ExperimentContext/types.d.ts +12 -0
- package/dist/types/core/errorMapping.d.ts +4 -1
- package/dist/types/core/user-events.d.ts +7 -9
- package/dist/types/hooks/{useAnalytics.d.ts → useAnalytics/useAnalytics.d.ts} +1 -7
- package/dist/types/utils/analytics/convertToEmbeddedEvent.d.ts +9 -0
- package/dist/types/utils/analytics/debouncedInputEvent.d.ts +19 -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/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-DNH7oNbA.js → types-C1FJZQd1.js} +2 -2
- package/dist/{types-SBNit_kK.js → types-D0aacEF5.js} +27 -3
- package/dist/{types-DHmyPbAn.js → types-DQVZ5BSQ.js} +14 -2
- package/dist/{useAssociatedLegalEntity-CmhNWabq.js → useAssociatedLegalEntity-CuTN8T5x.js} +2 -2
- package/dist/{useDataset-C0A9qR_N.js → useDataset-C4vcroxo.js} +3 -3
- package/dist/{useMultiForm-CU58VvHX.js → useMultiForm-GpoMvhwU.js} +4 -4
- package/dist/{useOnboardingStatus-DuIJSnGH.js → useOnboardingStatus-Cifcsbcr.js} +1 -1
- package/dist/{useScenarios-T0NF0gUi.js → useScenarios-AyvycExm.js} +2 -2
- package/dist/{useTermsOfServiceStatus-1oGd6y18.js → useTermsOfServiceStatus-yhwwFpfh.js} +1 -1
- package/dist/{useToastContext-DHgUoF6x.js → useToastContext-CCxuinr_.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-57G1Bu4k.js → useUnincorporatedPartnershipMembers-D_N_aPNq.js} +62 -7
- package/dist/{utils-DZz9bCID.js → utils-U0nEMoML.js} +6 -46
- package/dist/validate-BRRbVwma.js +41 -0
- package/dist/{validate-Bz6-McmI.js → validate-Bqbj3vVS.js} +2 -2
- package/dist/{validationError-Ci4nlmhZ.js → validationError-DhRqgFgA.js} +2 -2
- package/package.json +1 -1
- package/dist/Card-N9psV2kP.js +0 -147
- package/dist/CreateIndividualComponent-BL3dK960.js +0 -71
- package/dist/CreateTransferInstrumentComponent-kxMU_XVD.js +0 -66
- package/dist/Divider-DiS12D_i.js +0 -239
- package/dist/Dropzone-DSyKXnbD.js +0 -218
- package/dist/Image-BhBefhke.js +0 -22
- package/dist/InputDate-C2j7qA_b.js +0 -43
- package/dist/InputGroup-WBfGDV5F.js +0 -32
- package/dist/LandingLayout-Ca68Z9DA.js +0 -60
- package/dist/Link-BS6Zpegg.js +0 -35
- package/dist/OnboardingDropinComponent-IKzrTT3r.js +0 -4274
- package/dist/RadioGroup-DhwjhH0X.js +0 -144
- package/dist/RegistrationAddress-BnyrwF-X.js +0 -2337
- package/dist/RootBusinessDetailsPage-BFR4Sxfp.js +0 -61
- package/dist/RootIndividualDetailsPage-D6lLtamt.js +0 -76
- package/dist/SoleProprietorshipPage-BKlAFmwp.js +0 -60
- package/dist/Spacer-BK3jDget.js +0 -18
- package/dist/TaxInformationField-DCjcBMwQ.js +0 -3094
- package/dist/TileGroup-BkTpSpVX.js +0 -174
- package/dist/UnincorporatedPartnershipIndividualPage-DZZc7sEn.js +0 -65
- package/dist/bafinUtils-DkP3ZoN4.js +0 -366
- package/dist/bg-BG-BLe6BCNz.js +0 -13
- package/dist/bg-BG-BPsOhDfg.js +0 -13
- package/dist/bg-BG-z3gZQvGq.js +0 -42
- package/dist/commonValidators-BLvtzPWZ.js +0 -24
- package/dist/cs-CZ-C5lyVYlZ.js +0 -42
- package/dist/cs-CZ-CHzJM-ii.js +0 -13
- package/dist/cs-CZ-xoLsda7i.js +0 -13
- package/dist/currency-BGwQyxBo.js +0 -36
- package/dist/da-DK-CYl2jko-.js +0 -42
- package/dist/da-DK-D-TJghBi.js +0 -13
- package/dist/da-DK-XNMYSp7w.js +0 -13
- package/dist/de-DE-BI7AAdOv.js +0 -13
- package/dist/de-DE-CCmlaL2F.js +0 -13
- package/dist/de-DE-DlUEkik0.js +0 -42
- package/dist/el-GR-DZ8GheJK.js +0 -42
- package/dist/el-GR-DoCIcce-.js +0 -13
- package/dist/el-GR-kYiInIQ9.js +0 -13
- package/dist/en-US-DYpvuCLO.js +0 -13
- package/dist/es-ES-CJMsyMAc.js +0 -13
- package/dist/es-ES-CnNU6AJv.js +0 -13
- package/dist/es-ES-D0c0MoqK.js +0 -42
- package/dist/et-EE-BR4OXRfV.js +0 -13
- package/dist/et-EE-C4Fwyr7-.js +0 -42
- package/dist/et-EE-sB7wkSA3.js +0 -13
- package/dist/fi-FI-BbqwYcLI.js +0 -13
- package/dist/fi-FI-bRXb-Q_i.js +0 -42
- package/dist/fi-FI-u5GxMZsq.js +0 -13
- package/dist/fieldConfigurations-BsOQ678Q.js +0 -448
- package/dist/form-rules-DhbF2mY4.js +0 -13
- package/dist/fr-FR-CMjrAkKl.js +0 -13
- package/dist/fr-FR-Cr-Y1vIy.js +0 -13
- package/dist/fr-FR-JLPKgufm.js +0 -42
- package/dist/hr-HR-Bhsop3CT.js +0 -13
- package/dist/hr-HR-D26Gz-HL.js +0 -42
- package/dist/hr-HR-D8cBxUFa.js +0 -13
- package/dist/hu-HU-BVfkOdJe.js +0 -13
- package/dist/hu-HU-BZCFneWx.js +0 -42
- package/dist/hu-HU-D2j1ISVk.js +0 -13
- package/dist/isEmpty-B0GMAw4K.js +0 -23
- package/dist/it-IT-C7Sg1k4p.js +0 -13
- package/dist/it-IT-CwA8megO.js +0 -13
- package/dist/it-IT-mScKLwBR.js +0 -42
- package/dist/ja-JP-DyELKS9Q.js +0 -42
- package/dist/ja-JP-GSbqID7o.js +0 -13
- package/dist/jpAddressSchema-ULGNNt5U.js +0 -27
- package/dist/lt-LT-C5nNCk4_.js +0 -13
- package/dist/lt-LT-CLPQVRpJ.js +0 -42
- package/dist/lt-LT-DSiutpRl.js +0 -13
- package/dist/lv-LV-C62XiDE5.js +0 -13
- package/dist/lv-LV-CEK8Re4d.js +0 -13
- package/dist/lv-LV-Cu-MJMVO.js +0 -42
- package/dist/mapJpAddressSchemaToAddressLocalizations-D7YGYa9S.js +0 -147
- package/dist/nl-NL-BOJ6zuBr.js +0 -13
- package/dist/nl-NL-DOQPxTX-.js +0 -13
- package/dist/nl-NL-pVdpCCOx.js +0 -42
- package/dist/no-NO-CRULNwNn.js +0 -42
- package/dist/no-NO-Cp3-tDMw.js +0 -13
- package/dist/no-NO-CuwTDFSf.js +0 -13
- package/dist/pl-PL-1-MrLPXu.js +0 -13
- package/dist/pl-PL-CtDHmbhp.js +0 -13
- package/dist/pl-PL-CxCiWdAF.js +0 -42
- package/dist/pt-BR-Br_cHzGx.js +0 -13
- package/dist/pt-BR-DnKEuslh.js +0 -13
- package/dist/pt-BR-apPtB2cK.js +0 -42
- package/dist/pt-PT-CLwCij2I.js +0 -13
- package/dist/pt-PT-Coa6J7SM.js +0 -42
- package/dist/pt-PT-cjbtYBUX.js +0 -13
- package/dist/ro-RO-BTqq5BPM.js +0 -42
- package/dist/ro-RO-CGhIjlpU.js +0 -13
- package/dist/ro-RO-Cmk-sVDr.js +0 -13
- package/dist/sk-SK-Bo5nvxWQ.js +0 -13
- package/dist/sk-SK-Do6CKNU4.js +0 -13
- package/dist/sk-SK-welR06By.js +0 -42
- package/dist/sl-SI-B9N6vA08.js +0 -42
- package/dist/sl-SI-CrTRlNnN.js +0 -13
- package/dist/sl-SI-cY-L2ma-.js +0 -13
- package/dist/sv-SE-BtwPrLEA.js +0 -13
- package/dist/sv-SE-D6al0j6W.js +0 -42
- package/dist/sv-SE-WPziDPQa.js +0 -13
- package/dist/types/utils/analytics.d.ts +0 -31
- package/dist/utils-AieP90ex.js +0 -29
- package/dist/utils-Bd79Y_6k.js +0 -165
- package/dist/validate-WO7yAOk4.js +0 -382
|
@@ -2,18 +2,36 @@
|
|
|
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] = "534802a6-9c62-48fa-815a-0402f48e0eb6", e._sentryDebugIdIdentifier = "sentry-dbid-534802a6-9c62-48fa-815a-0402f48e0eb6");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { c as useLegalEntity, R as ROOT_LE, $ as useExperimentsContext, aF as getCapabilityProblems, g as getLegalEntityCountry, aG as cloneObject, V as CountryCodes, aH as hasText, aI as isValidMinLength, aJ as matchesRegex, X as isEmpty, aK as NO_ALPHABET_REGEX, aL as EMOJI_REGEX, aM as hasRepeatedCharacters, aN as isInvalidName, aO as OTHER_ENTITIES_VALID_CHAR_REGEX, aP as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aQ as standardKatakanaValidator, aR as standardKanjiValidator, a1 as useAnalyticsContext, P as createLogger, u as useTranslation, aE as StateContext, L as Loader, a4 as Icon, y as Typography, Y as IconButton } from "./StoreProvider-CWnZNw9D.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
12
|
+
import { a as Alert } from "./Alert-CeZqoFeT.js";
|
|
13
|
+
import cx from "classnames";
|
|
14
|
+
import { useState, useMemo, useEffect, useCallback, useLayoutEffect, useRef } from "preact/hooks";
|
|
15
|
+
import { a as debouncedInputEvent } from "./debouncedInputEvent-B3Lwtvx_.js";
|
|
16
|
+
import { Suspense, lazy, forwardRef } from "preact/compat";
|
|
17
|
+
import { c as useId, F as Field } from "./trackNavigation-gyYoCNvj.js";
|
|
18
|
+
import { R as Radio } from "./CountryField-Bv9P8dRJ.js";
|
|
19
|
+
import { K as KEYBOARD_KEYS } from "./Modal-C9aImxis.js";
|
|
20
|
+
import { u as useForwardedRef, a as InputBase, I as InputText } from "./InputText-BG-TiSNN.js";
|
|
21
|
+
const useCapabilityProblems = () => {
|
|
22
|
+
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
23
|
+
const { isExperimentEnabled } = useExperimentsContext();
|
|
24
|
+
return rootLegalEntity ? getCapabilityProblems(
|
|
25
|
+
rootLegalEntity,
|
|
26
|
+
getLegalEntityCountry(rootLegalEntity),
|
|
27
|
+
isExperimentEnabled
|
|
28
|
+
) : void 0;
|
|
29
|
+
};
|
|
30
|
+
const getProblemsForEntity = (capabilityProblems, entityType, entityId) => capabilityProblems[entityType]?.[entityId];
|
|
31
|
+
const TrustedFieldsProviders = {
|
|
32
|
+
SINGPASS: "singpass",
|
|
33
|
+
KOMPANY: "kompany"
|
|
34
|
+
};
|
|
17
35
|
const makeArrayOfRepeatedObjects = (length, obj) => {
|
|
18
36
|
const array = [];
|
|
19
37
|
for (let i = 0; i < length; i += 1) {
|
|
@@ -137,7 +155,557 @@ const makeMask = (...tokens) => ({
|
|
|
137
155
|
tokens,
|
|
138
156
|
possibleShifts: findPossibleShifts(tokens)
|
|
139
157
|
});
|
|
158
|
+
const isExistingFile = (file) => "existing" in file && file.existing;
|
|
159
|
+
const isNewlyUploadedFile = (file) => !isExistingFile(file);
|
|
160
|
+
function getLocalizedIdDocumentTypeOptions(country) {
|
|
161
|
+
switch (country) {
|
|
162
|
+
case CountryCodes.Japan:
|
|
163
|
+
return [
|
|
164
|
+
{ id: "driversLicense", name: "driversLicense", hasBackPage: true },
|
|
165
|
+
{ id: "passport", name: "passport", hasBackPage: false },
|
|
166
|
+
{ id: "identityCard", name: "identityCard__JP", hasBackPage: true }
|
|
167
|
+
];
|
|
168
|
+
default:
|
|
169
|
+
return [
|
|
170
|
+
{ id: "driversLicense", name: "driversLicense", hasBackPage: true },
|
|
171
|
+
{ id: "passport", name: "passport", hasBackPage: false },
|
|
172
|
+
{ id: "identityCard", name: "identityCard", hasBackPage: true }
|
|
173
|
+
];
|
|
174
|
+
}
|
|
175
|
+
}
|
|
140
176
|
const isValueObscured = (value) => typeof value === "string" && !!value.match(/[*]{1,}/)?.length;
|
|
177
|
+
const uppercase = (str) => str?.toUpperCase() ?? str;
|
|
178
|
+
const validateNotEmptyOnBlur = {
|
|
179
|
+
modes: ["blur"],
|
|
180
|
+
validate: (val) => !isEmpty(val),
|
|
181
|
+
errorMessage: "fieldIsRequired"
|
|
182
|
+
};
|
|
183
|
+
const validateLegalCompanyName = [
|
|
184
|
+
{
|
|
185
|
+
modes: ["blur"],
|
|
186
|
+
validate: hasText,
|
|
187
|
+
errorMessage: "fieldIsRequired"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
modes: ["blur"],
|
|
191
|
+
validate: (input) => !matchesRegex(NO_ALPHABET_REGEX, input),
|
|
192
|
+
errorMessage: "nameMustContainLetters"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
modes: ["blur"],
|
|
196
|
+
validate: (input) => !matchesRegex(EMOJI_REGEX, input) && !hasRepeatedCharacters(input) && isValidMinLength(input, 3) && !isInvalidName(input) && matchesRegex(OTHER_ENTITIES_VALID_CHAR_REGEX, input),
|
|
197
|
+
errorMessage: "checkForTypos"
|
|
198
|
+
}
|
|
199
|
+
];
|
|
200
|
+
const validateJaHaniLegalCompanyName = [
|
|
201
|
+
{
|
|
202
|
+
modes: ["blur"],
|
|
203
|
+
validate: hasText,
|
|
204
|
+
errorMessage: "fieldIsRequired"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
modes: ["blur"],
|
|
208
|
+
validate: (input) => standardKanjiValidator(input),
|
|
209
|
+
errorMessage: "nameMustContainLetters"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
modes: ["blur"],
|
|
213
|
+
validate: (input) => !matchesRegex(EMOJI_REGEX, input) && !hasRepeatedCharacters(input) && isValidMinLength(input, 3) && !isInvalidName(input) && matchesRegex(OTHER_ENTITIES_VALID_CHAR_REGEX, input),
|
|
214
|
+
errorMessage: "checkForTypos"
|
|
215
|
+
}
|
|
216
|
+
];
|
|
217
|
+
const validateJaKanaLegalCompanyName = [
|
|
218
|
+
{
|
|
219
|
+
modes: ["blur"],
|
|
220
|
+
validate: hasText,
|
|
221
|
+
errorMessage: "fieldIsRequired"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
modes: ["blur"],
|
|
225
|
+
validate: (input) => standardKatakanaValidator(input),
|
|
226
|
+
errorMessage: "nameMustContainLetters"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
modes: ["blur"],
|
|
230
|
+
validate: (input) => !matchesRegex(EMOJI_REGEX, input) && !hasRepeatedCharacters(input) && isValidMinLength(input, 3) && !isInvalidName(input) && matchesRegex(OTHER_ENTITIES_VALID_CHAR_REGEX, input),
|
|
231
|
+
errorMessage: "checkForTypos"
|
|
232
|
+
}
|
|
233
|
+
];
|
|
234
|
+
const validateLatinSpaceMarkPunctuationOnlyOnBlur = {
|
|
235
|
+
modes: ["blur"],
|
|
236
|
+
validate: (input) => matchesRegex(LATIN_SPACE_MARK_PUNCTUATION_REGEX, input),
|
|
237
|
+
errorMessage: "kanjiAndKanaCharactersAreNotAllowed"
|
|
238
|
+
};
|
|
239
|
+
const validatePatternOnBlur = (pattern) => ({
|
|
240
|
+
modes: ["blur"],
|
|
241
|
+
validate: (val) => !!val && pattern.test(val)
|
|
242
|
+
});
|
|
243
|
+
function ContextGuidance({
|
|
244
|
+
title,
|
|
245
|
+
content,
|
|
246
|
+
titleId,
|
|
247
|
+
contentId,
|
|
248
|
+
trackingParams
|
|
249
|
+
}) {
|
|
250
|
+
const userEvents = useAnalyticsContext();
|
|
251
|
+
const onGuidanceToggle = (status) => {
|
|
252
|
+
userEvents.addFieldEvent("Clicked accordion", {
|
|
253
|
+
actionType: status,
|
|
254
|
+
field: "context guidance",
|
|
255
|
+
label: titleId,
|
|
256
|
+
content: contentId,
|
|
257
|
+
...trackingParams
|
|
258
|
+
});
|
|
259
|
+
};
|
|
260
|
+
return /* @__PURE__ */ jsx(Alert, { title, type: "collapsible", variant: "info", onToggle: onGuidanceToggle, children: content });
|
|
261
|
+
}
|
|
262
|
+
const convertFullToHalf = (str) => str.replace(/[!-~]/g, (r) => String.fromCharCode(r.charCodeAt(0) - 65248));
|
|
263
|
+
const logger = createLogger();
|
|
264
|
+
function TextArea(props) {
|
|
265
|
+
const {
|
|
266
|
+
autoCorrect,
|
|
267
|
+
isInvalid,
|
|
268
|
+
isValid,
|
|
269
|
+
readonly = null,
|
|
270
|
+
spellCheck,
|
|
271
|
+
disabled,
|
|
272
|
+
maxLength,
|
|
273
|
+
className,
|
|
274
|
+
trimOnBlur,
|
|
275
|
+
enableTracking = false,
|
|
276
|
+
name,
|
|
277
|
+
"aria-describedby": ariaDescribedBy,
|
|
278
|
+
"aria-invalid": ariaInvalid,
|
|
279
|
+
"aria-labelledby": ariaLabelledBy
|
|
280
|
+
} = props;
|
|
281
|
+
const { t } = useTranslation("ui");
|
|
282
|
+
const userEvents = useAnalyticsContext();
|
|
283
|
+
const [value, setValue] = useState("");
|
|
284
|
+
if (Object.prototype.hasOwnProperty.call(props, "onChange")) {
|
|
285
|
+
logger.error("Error: Form fields that rely on InputBase may not have an onChange property");
|
|
286
|
+
}
|
|
287
|
+
const handleInput = (e) => {
|
|
288
|
+
if (enableTracking) {
|
|
289
|
+
debouncedInputEvent(userEvents, {
|
|
290
|
+
actionType: "input",
|
|
291
|
+
field: name
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
e.currentTarget.value = convertFullToHalf(e.currentTarget.value);
|
|
295
|
+
setValue(e.currentTarget.value);
|
|
296
|
+
props?.onInput?.(e);
|
|
297
|
+
};
|
|
298
|
+
const handleBlur = (e) => {
|
|
299
|
+
if (enableTracking) {
|
|
300
|
+
userEvents.addFieldEvent("Interacted with form field", {
|
|
301
|
+
actionType: "blur",
|
|
302
|
+
field: name
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
props?.onBlurHandler?.(e);
|
|
306
|
+
if (trimOnBlur) {
|
|
307
|
+
e.currentTarget.value = e.currentTarget.value.trim();
|
|
308
|
+
}
|
|
309
|
+
props?.onBlur?.(e);
|
|
310
|
+
};
|
|
311
|
+
const handleFocus = (e) => {
|
|
312
|
+
if (enableTracking) {
|
|
313
|
+
userEvents.addFieldEvent("Interacted with form field", {
|
|
314
|
+
actionType: "focus",
|
|
315
|
+
field: name
|
|
316
|
+
});
|
|
317
|
+
}
|
|
318
|
+
props?.onFocusHandler?.(e);
|
|
319
|
+
};
|
|
320
|
+
const inputClassNames = cx("adyen-kyc-input", "adyen-kyc-input--textarea", className, {
|
|
321
|
+
"adyen-kyc-input--invalid": isInvalid,
|
|
322
|
+
"adyen-kyc-field--valid": isValid,
|
|
323
|
+
"adyen-kyc-input--disabled": disabled
|
|
324
|
+
});
|
|
325
|
+
const charactersLeft = maxLength - value.length;
|
|
326
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
327
|
+
/* @__PURE__ */ jsx(
|
|
328
|
+
"textarea",
|
|
329
|
+
{
|
|
330
|
+
...props,
|
|
331
|
+
className: inputClassNames,
|
|
332
|
+
readOnly: readonly,
|
|
333
|
+
spellCheck,
|
|
334
|
+
autoCorrect,
|
|
335
|
+
"aria-describedby": ariaDescribedBy,
|
|
336
|
+
"aria-invalid": ariaInvalid,
|
|
337
|
+
"aria-labelledby": ariaLabelledBy,
|
|
338
|
+
...disabled && { "aria-disabled": true },
|
|
339
|
+
onInput: handleInput,
|
|
340
|
+
onBlur: handleBlur,
|
|
341
|
+
onFocus: handleFocus
|
|
342
|
+
}
|
|
343
|
+
),
|
|
344
|
+
!isInvalid && maxLength && charactersLeft >= 0 ? /* @__PURE__ */ jsx("span", { className: "adyen-kyc-input__counter", children: t(($) => $["xCharactersLeft"], { charactersLeft }) }) : null
|
|
345
|
+
] });
|
|
346
|
+
}
|
|
347
|
+
function StateContextSetter({ stateRef }) {
|
|
348
|
+
if (stateRef.current.setState) {
|
|
349
|
+
return null;
|
|
350
|
+
}
|
|
351
|
+
return /* @__PURE__ */ jsx(StateContext.Consumer, { children: (stateContextValue) => {
|
|
352
|
+
const { dispatch, setActiveForms } = stateContextValue;
|
|
353
|
+
stateRef.current.setState = dispatch;
|
|
354
|
+
stateRef.current.setActiveForms = setActiveForms;
|
|
355
|
+
return null;
|
|
356
|
+
} });
|
|
357
|
+
}
|
|
358
|
+
const Image = ({
|
|
359
|
+
lazyLoadedImage,
|
|
360
|
+
className
|
|
361
|
+
}) => {
|
|
362
|
+
const LazyLoadedImageComponent = lazyLoadedImage;
|
|
363
|
+
return /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(LazyLoadedImageComponent, { className, "aria-hidden": true }) });
|
|
364
|
+
};
|
|
365
|
+
const getDocumentGuidancePrefix = (documentType) => {
|
|
366
|
+
switch (documentType) {
|
|
367
|
+
case "passport":
|
|
368
|
+
return "passport";
|
|
369
|
+
case "driversLicense":
|
|
370
|
+
case "identityCard":
|
|
371
|
+
return "id";
|
|
372
|
+
case "bankStatement":
|
|
373
|
+
case "vatDocument":
|
|
374
|
+
case "registrationDocument":
|
|
375
|
+
case "proofOfAddress":
|
|
376
|
+
case "proofOfResidency":
|
|
377
|
+
default:
|
|
378
|
+
return "document";
|
|
379
|
+
}
|
|
380
|
+
};
|
|
381
|
+
const documentBlurredImage = lazy(() => import("./document-blurred-2Zpodj3_.js"));
|
|
382
|
+
const documentCutOffImage = lazy(() => import("./document-cut-off-ClS7RiOp.js"));
|
|
383
|
+
const documentExpiredImage = lazy(() => import("./document-expired-CjksBq-N.js"));
|
|
384
|
+
const documentFrontImage = lazy(() => import("./document-front-DiAairT3.js"));
|
|
385
|
+
const idBlurredImage = lazy(() => import("./id-blurred-9dzBOWCE.js"));
|
|
386
|
+
const idCutOffImage = lazy(() => import("./id-cut-off-CohJCI2h.js"));
|
|
387
|
+
const idFrontImage = lazy(() => import("./id-front-CSZfvdRg.js"));
|
|
388
|
+
const idGlareImage = lazy(() => import("./id-glare-Q2JWo5ts.js"));
|
|
389
|
+
const passportBlurredImage = lazy(() => import("./passport-blurred-B4UDQfmc.js"));
|
|
390
|
+
const passportCutOffImage = lazy(() => import("./passport-cut-off-C0N2mgLk.js"));
|
|
391
|
+
const passportFrontImage = lazy(() => import("./passport-front-BwA7wR91.js"));
|
|
392
|
+
const passportGlareImage = lazy(() => import("./passport-glare-Mg2ixsYA.js"));
|
|
393
|
+
const documentMap = {
|
|
394
|
+
"document-blurred": documentBlurredImage,
|
|
395
|
+
"document-cutoff": documentCutOffImage,
|
|
396
|
+
"document-expired": documentExpiredImage,
|
|
397
|
+
"document-front": documentFrontImage,
|
|
398
|
+
"id-blurred": idBlurredImage,
|
|
399
|
+
"id-cutoff": idCutOffImage,
|
|
400
|
+
"id-front": idFrontImage,
|
|
401
|
+
"id-glare": idGlareImage,
|
|
402
|
+
"passport-blurred": passportBlurredImage,
|
|
403
|
+
"passport-cutoff": passportCutOffImage,
|
|
404
|
+
"passport-front": passportFrontImage,
|
|
405
|
+
"passport-glare": passportGlareImage
|
|
406
|
+
};
|
|
407
|
+
function DocumentGuidance({ type, className }) {
|
|
408
|
+
const { t } = useTranslation("ui");
|
|
409
|
+
const documentGuidanceItems = useMemo(() => {
|
|
410
|
+
const guidancePrefix = getDocumentGuidancePrefix(type);
|
|
411
|
+
const guidanceItems = [
|
|
412
|
+
{ svgName: `${guidancePrefix}-front`, translationKey: "good", valid: true },
|
|
413
|
+
{ svgName: `${guidancePrefix}-cutoff`, translationKey: "notCutOff" },
|
|
414
|
+
{ svgName: `${guidancePrefix}-blurred`, translationKey: "notBlurry" },
|
|
415
|
+
guidancePrefix === "document" ? { svgName: `document-expired`, translationKey: "notExpired" } : { svgName: `${guidancePrefix}-glare`, translationKey: "noGlare" }
|
|
416
|
+
];
|
|
417
|
+
return type === "constitutionalDocument" ? guidanceItems.filter((item) => item.svgName !== "document-expired") : guidanceItems;
|
|
418
|
+
}, [type]);
|
|
419
|
+
return /* @__PURE__ */ jsx("div", { className: cx("adyen-kyc-document-guidance", className), children: /* @__PURE__ */ jsx("div", { className: "adyen-kyc-document-guidance__container", children: documentGuidanceItems.map((item) => /* @__PURE__ */ jsxs("figure", { className: "adyen-kyc-document-guidance__item", children: [
|
|
420
|
+
/* @__PURE__ */ jsx(Image, { lazyLoadedImage: documentMap[item.svgName] }),
|
|
421
|
+
/* @__PURE__ */ jsxs("figcaption", { className: "adyen-kyc-document-guidance__description", children: [
|
|
422
|
+
item.valid ? /* @__PURE__ */ jsx(Icon, { name: "check", className: "adyen-kyc-document-guidance__icon" }) : /* @__PURE__ */ jsx(
|
|
423
|
+
Icon,
|
|
424
|
+
{
|
|
425
|
+
name: "cross",
|
|
426
|
+
className: "adyen-kyc-document-guidance__icon adyen-kyc-document-guidance__icon--invalid"
|
|
427
|
+
}
|
|
428
|
+
),
|
|
429
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc-document-guidance__description-text", children: t(($) => $[item.translationKey]) })
|
|
430
|
+
] })
|
|
431
|
+
] }, item.translationKey)) }) });
|
|
432
|
+
}
|
|
433
|
+
function bytesToSize(bytes) {
|
|
434
|
+
const sizes = ["Bytes", "KB", "MB", "GB", "TB"];
|
|
435
|
+
if (bytes === 0) return "n/a";
|
|
436
|
+
const i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)).toString());
|
|
437
|
+
if (i === 0) return `${bytes} ${sizes[i]}`;
|
|
438
|
+
return `${(bytes / 1024 ** i).toFixed()} ${sizes[i]}`;
|
|
439
|
+
}
|
|
440
|
+
function DropzoneFile(props) {
|
|
441
|
+
const { file, errorMessage, onDelete } = props;
|
|
442
|
+
const { t } = useTranslation("common");
|
|
443
|
+
const userEvents = useAnalyticsContext();
|
|
444
|
+
let documentIcon;
|
|
445
|
+
const formatSize = (bytes) => {
|
|
446
|
+
const sizes = ["Bytes", "KB", "MB", "GB", "TB"];
|
|
447
|
+
if (!bytes || bytes === 0) return "n/a";
|
|
448
|
+
const i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)).toString());
|
|
449
|
+
if (i === 0) return `${bytes} ${sizes[i]}`;
|
|
450
|
+
return `${(bytes / 1024 ** i).toFixed(1)} ${sizes[i]}`;
|
|
451
|
+
};
|
|
452
|
+
switch (file.type?.split("/")[0]) {
|
|
453
|
+
case "image":
|
|
454
|
+
documentIcon = "image";
|
|
455
|
+
break;
|
|
456
|
+
default:
|
|
457
|
+
documentIcon = "document";
|
|
458
|
+
}
|
|
459
|
+
useEffect(() => {
|
|
460
|
+
if (!errorMessage) return;
|
|
461
|
+
userEvents.addFieldEvent("Encountered error", {
|
|
462
|
+
actionType: "change",
|
|
463
|
+
field: "dropzone file",
|
|
464
|
+
returnType: "validation",
|
|
465
|
+
returnValue: errorMessage
|
|
466
|
+
});
|
|
467
|
+
}, [errorMessage, userEvents]);
|
|
468
|
+
return /* @__PURE__ */ jsxs(
|
|
469
|
+
"div",
|
|
470
|
+
{
|
|
471
|
+
className: cx("adyen-kyc-dropzone-file", { "adyen-kyc-dropzone-file--error": errorMessage }),
|
|
472
|
+
children: [
|
|
473
|
+
/* @__PURE__ */ jsxs("div", { className: "adyen-kyc-dropzone-file__details", children: [
|
|
474
|
+
/* @__PURE__ */ jsxs("div", { className: "adyen-kyc-dropzone-file__labels", children: [
|
|
475
|
+
errorMessage ? /* @__PURE__ */ jsx(
|
|
476
|
+
Icon,
|
|
477
|
+
{
|
|
478
|
+
testId: "document-invalid",
|
|
479
|
+
name: "warning",
|
|
480
|
+
className: "adyen-kyc-dropzone-file__icon"
|
|
481
|
+
}
|
|
482
|
+
) : /* @__PURE__ */ jsx(
|
|
483
|
+
Icon,
|
|
484
|
+
{
|
|
485
|
+
testId: "document-valid",
|
|
486
|
+
name: documentIcon,
|
|
487
|
+
className: "adyen-kyc-dropzone-file__icon"
|
|
488
|
+
}
|
|
489
|
+
),
|
|
490
|
+
/* @__PURE__ */ jsx(Typography, { variant: "body-stronger", className: "adyen-kyc-dropzone-file__name", children: file.name }),
|
|
491
|
+
/* @__PURE__ */ jsx(Typography, { className: "adyen-kyc-dropzone-file__size", children: isNewlyUploadedFile(file) && formatSize(file.size) })
|
|
492
|
+
] }),
|
|
493
|
+
errorMessage && /* @__PURE__ */ jsx("div", { className: "adyen-kyc-dropzone-file__error", children: t(($) => $[errorMessage]) })
|
|
494
|
+
] }),
|
|
495
|
+
errorMessage ? /* @__PURE__ */ jsx(
|
|
496
|
+
IconButton,
|
|
497
|
+
{
|
|
498
|
+
ariaLabel: t(($) => $["close"]),
|
|
499
|
+
icon: "cross",
|
|
500
|
+
variant: "tertiary",
|
|
501
|
+
onClick: onDelete
|
|
502
|
+
}
|
|
503
|
+
) : /* @__PURE__ */ jsx(
|
|
504
|
+
IconButton,
|
|
505
|
+
{
|
|
506
|
+
ariaLabel: t(($) => $["deleteDocument"]),
|
|
507
|
+
icon: "bin",
|
|
508
|
+
variant: "tertiary",
|
|
509
|
+
onClick: onDelete
|
|
510
|
+
}
|
|
511
|
+
)
|
|
512
|
+
]
|
|
513
|
+
}
|
|
514
|
+
);
|
|
515
|
+
}
|
|
516
|
+
const hasDuplicates = (arr) => arr.some((item, currIndex) => arr.indexOf(item) !== currIndex);
|
|
517
|
+
const defaultFileValidationOptions = {
|
|
518
|
+
allowedFileTypes: ["JPG", "JPEG", "PNG", "PDF"],
|
|
519
|
+
maxNumberOfFiles: 1,
|
|
520
|
+
maxSize: 4194304,
|
|
521
|
+
// 4MB by default
|
|
522
|
+
isOptional: false
|
|
523
|
+
};
|
|
524
|
+
const filterOnlyNewlyUploadedFiles = (files) => files.filter(isNewlyUploadedFile);
|
|
525
|
+
const fileValidationRules = ({
|
|
526
|
+
allowedFileTypes,
|
|
527
|
+
maxNumberOfFiles,
|
|
528
|
+
maxSize,
|
|
529
|
+
isOptional
|
|
530
|
+
}) => [
|
|
531
|
+
{
|
|
532
|
+
validate: (files) => {
|
|
533
|
+
if (isOptional && (!files || files.length === 0)) return true;
|
|
534
|
+
return Boolean(files && files.length > 0);
|
|
535
|
+
},
|
|
536
|
+
errorMessage: "fieldIsRequired",
|
|
537
|
+
modes: ["blur", "input"]
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
validate: (files) => {
|
|
541
|
+
if (!files) return true;
|
|
542
|
+
return files.length <= maxNumberOfFiles;
|
|
543
|
+
},
|
|
544
|
+
errorMessage: "tooManyFiles",
|
|
545
|
+
modes: ["blur", "input"]
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
validate: (files) => {
|
|
549
|
+
if (!files) return true;
|
|
550
|
+
return !hasDuplicates(files.map((file) => file.name));
|
|
551
|
+
},
|
|
552
|
+
errorMessage: "duplicatedFiles",
|
|
553
|
+
modes: ["blur", "input"]
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
validate: (files) => {
|
|
557
|
+
if (!files) return true;
|
|
558
|
+
return filterOnlyNewlyUploadedFiles(files).every(
|
|
559
|
+
(file) => allowedFileTypes.some(
|
|
560
|
+
(filetype) => file.name.toLowerCase().endsWith(filetype.toLowerCase())
|
|
561
|
+
)
|
|
562
|
+
);
|
|
563
|
+
},
|
|
564
|
+
errorMessage: "unsupportedFiletype",
|
|
565
|
+
modes: ["blur", "input"]
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
validate: (files) => {
|
|
569
|
+
if (!files) return true;
|
|
570
|
+
return filterOnlyNewlyUploadedFiles(files).every((file) => !file.size || file.size < maxSize);
|
|
571
|
+
},
|
|
572
|
+
errorMessage: "maximumFileSizeExceeded",
|
|
573
|
+
modes: ["blur", "input"]
|
|
574
|
+
}
|
|
575
|
+
];
|
|
576
|
+
const RadioCard = ({
|
|
577
|
+
optionId,
|
|
578
|
+
optionName,
|
|
579
|
+
optionDescription,
|
|
580
|
+
optionSubtitle,
|
|
581
|
+
name,
|
|
582
|
+
isInvalid,
|
|
583
|
+
isSelected,
|
|
584
|
+
onSelect,
|
|
585
|
+
classNames,
|
|
586
|
+
disabled,
|
|
587
|
+
loading,
|
|
588
|
+
icon,
|
|
589
|
+
body,
|
|
590
|
+
footer,
|
|
591
|
+
floatingRadio
|
|
592
|
+
}) => {
|
|
593
|
+
const id = useId("radio");
|
|
594
|
+
const elementIds = {
|
|
595
|
+
label: `${id}-label`,
|
|
596
|
+
description: `${id}-description`,
|
|
597
|
+
subtitle: `${id}-subtitle`
|
|
598
|
+
};
|
|
599
|
+
const ariaDescribedBy = `${optionSubtitle ? elementIds.subtitle : ""} ${optionDescription || body ? elementIds.description : ""}`.trim();
|
|
600
|
+
return /* @__PURE__ */ jsxs(
|
|
601
|
+
"label",
|
|
602
|
+
{
|
|
603
|
+
"data-testId": optionId,
|
|
604
|
+
className: cx([
|
|
605
|
+
"adyen-kyc-radio-card",
|
|
606
|
+
classNames?.label,
|
|
607
|
+
{ "adyen-kyc-radio-card--disabled": disabled }
|
|
608
|
+
]),
|
|
609
|
+
children: [
|
|
610
|
+
icon && /* @__PURE__ */ jsx("div", { className: cx("adyen-kyc-radio-card__icon", classNames?.icon), "aria-hidden": "true", children: icon }),
|
|
611
|
+
/* @__PURE__ */ jsxs("div", { className: "adyen-kyc-radio-card__content", children: [
|
|
612
|
+
/* @__PURE__ */ jsx("div", { className: "adyen-kyc-radio-card__header adyen-kyc-u-display-flex adyen-kyc-u-align-items-center", children: /* @__PURE__ */ jsxs(
|
|
613
|
+
"div",
|
|
614
|
+
{
|
|
615
|
+
className: cx([
|
|
616
|
+
"adyen-kyc-radio-group-card__label",
|
|
617
|
+
classNames?.header,
|
|
618
|
+
{ "adyen-kyc-radio-group-card__label--invalid": isInvalid }
|
|
619
|
+
]),
|
|
620
|
+
children: [
|
|
621
|
+
optionSubtitle && /* @__PURE__ */ jsxs("div", { id: elementIds.subtitle, className: "adyen-kyc-radio-group-card__subtitle", children: [
|
|
622
|
+
optionSubtitle,
|
|
623
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc-u-screen-reader-only", children: "." })
|
|
624
|
+
] }),
|
|
625
|
+
/* @__PURE__ */ jsx("span", { id: elementIds.label, children: optionName })
|
|
626
|
+
]
|
|
627
|
+
}
|
|
628
|
+
) }),
|
|
629
|
+
/* @__PURE__ */ jsx(
|
|
630
|
+
"div",
|
|
631
|
+
{
|
|
632
|
+
id: elementIds.description,
|
|
633
|
+
className: cx("adyen-kyc-radio-card__body", classNames?.body),
|
|
634
|
+
children: body ?? optionDescription
|
|
635
|
+
}
|
|
636
|
+
),
|
|
637
|
+
footer && /* @__PURE__ */ jsx("div", { className: cx("adyen-kyc-radio-card__footer", classNames?.footer), children: footer })
|
|
638
|
+
] }),
|
|
639
|
+
loading ? /* @__PURE__ */ jsx("span", { className: "adyen-kyc-radio-card__loading-icon", children: /* @__PURE__ */ jsx(Loader, { size: "small", dot: true }) }) : /* @__PURE__ */ jsx(
|
|
640
|
+
Radio,
|
|
641
|
+
{
|
|
642
|
+
id,
|
|
643
|
+
"aria-describedby": ariaDescribedBy,
|
|
644
|
+
"aria-labelledby": elementIds.label,
|
|
645
|
+
checked: isSelected,
|
|
646
|
+
groupName: name,
|
|
647
|
+
onClick: onSelect,
|
|
648
|
+
value: optionId,
|
|
649
|
+
disabled,
|
|
650
|
+
className: cx({ "adyen-kyc-radio-group-card__radio--floating": floatingRadio })
|
|
651
|
+
}
|
|
652
|
+
)
|
|
653
|
+
]
|
|
654
|
+
},
|
|
655
|
+
optionId
|
|
656
|
+
);
|
|
657
|
+
};
|
|
658
|
+
const RadioGroupCard = ({
|
|
659
|
+
options,
|
|
660
|
+
name,
|
|
661
|
+
onSelect,
|
|
662
|
+
selected,
|
|
663
|
+
isInvalid,
|
|
664
|
+
className,
|
|
665
|
+
optionId,
|
|
666
|
+
optionName,
|
|
667
|
+
optionDescription,
|
|
668
|
+
optionSubtitle,
|
|
669
|
+
optionClassNames,
|
|
670
|
+
renderOptionIcon,
|
|
671
|
+
renderOptionBody,
|
|
672
|
+
renderOptionFooter,
|
|
673
|
+
isOptionDisabled,
|
|
674
|
+
floatingRadio,
|
|
675
|
+
enableTracking = false
|
|
676
|
+
}) => {
|
|
677
|
+
const userEvents = useAnalyticsContext();
|
|
678
|
+
const handleSelect = (option) => {
|
|
679
|
+
if (enableTracking) {
|
|
680
|
+
userEvents.addFieldEvent("Interacted with form field", {
|
|
681
|
+
actionType: "input",
|
|
682
|
+
field: name,
|
|
683
|
+
returnValue: typeof option === "string" ? option : void 0
|
|
684
|
+
});
|
|
685
|
+
}
|
|
686
|
+
onSelect(option);
|
|
687
|
+
};
|
|
688
|
+
return /* @__PURE__ */ jsx("div", { className: className ?? "adyen-kyc-radio-group-card", children: options.map((option) => /* @__PURE__ */ jsx(
|
|
689
|
+
RadioCard,
|
|
690
|
+
{
|
|
691
|
+
optionId: optionId(option),
|
|
692
|
+
optionName: optionName(option),
|
|
693
|
+
optionDescription: optionDescription?.(option),
|
|
694
|
+
optionSubtitle: optionSubtitle?.(option),
|
|
695
|
+
isInvalid,
|
|
696
|
+
isSelected: selected === option,
|
|
697
|
+
onSelect: () => handleSelect(option),
|
|
698
|
+
name,
|
|
699
|
+
classNames: optionClassNames?.(option),
|
|
700
|
+
icon: renderOptionIcon?.(option),
|
|
701
|
+
body: renderOptionBody?.(option),
|
|
702
|
+
footer: renderOptionFooter?.(option),
|
|
703
|
+
disabled: isOptionDisabled?.(option),
|
|
704
|
+
floatingRadio
|
|
705
|
+
},
|
|
706
|
+
optionId(option)
|
|
707
|
+
)) });
|
|
708
|
+
};
|
|
141
709
|
const cachedStripPatterns = /* @__PURE__ */ new Map();
|
|
142
710
|
const makeStripPattern = (mask) => {
|
|
143
711
|
const inputPatterns = mask.tokens.filter((token) => token.type === "input" && !!token.allow).map((token) => token.allow);
|
|
@@ -785,15 +1353,49 @@ const MaskedInput = ({
|
|
|
785
1353
|
}
|
|
786
1354
|
);
|
|
787
1355
|
};
|
|
1356
|
+
const createFormRules = (rules) => rules;
|
|
1357
|
+
const resolveFieldMetadata = (countryEntry, params, defaultMetadata) => {
|
|
1358
|
+
if (typeof countryEntry === "object") {
|
|
1359
|
+
return countryEntry;
|
|
1360
|
+
}
|
|
1361
|
+
if (typeof countryEntry === "function") {
|
|
1362
|
+
return countryEntry(params);
|
|
1363
|
+
}
|
|
1364
|
+
return defaultMetadata;
|
|
1365
|
+
};
|
|
788
1366
|
export {
|
|
789
|
-
|
|
1367
|
+
isValueObscured as A,
|
|
1368
|
+
ContextGuidance as C,
|
|
1369
|
+
DropzoneFile as D,
|
|
1370
|
+
Image as I,
|
|
790
1371
|
MaskedInput as M,
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
1372
|
+
RadioGroupCard as R,
|
|
1373
|
+
StateContextSetter as S,
|
|
1374
|
+
TextArea as T,
|
|
1375
|
+
validateNotEmptyOnBlur as a,
|
|
1376
|
+
alphanumericInputs as b,
|
|
1377
|
+
nonInputs as c,
|
|
1378
|
+
alphaInputs as d,
|
|
1379
|
+
validateLegalCompanyName as e,
|
|
1380
|
+
validateLatinSpaceMarkPunctuationOnlyOnBlur as f,
|
|
1381
|
+
validateJaKanaLegalCompanyName as g,
|
|
1382
|
+
validateJaHaniLegalCompanyName as h,
|
|
1383
|
+
useCapabilityProblems as i,
|
|
1384
|
+
TrustedFieldsProviders as j,
|
|
1385
|
+
getProblemsForEntity as k,
|
|
1386
|
+
customInputs as l,
|
|
796
1387
|
makeMask as m,
|
|
797
1388
|
numericInputs as n,
|
|
798
|
-
|
|
1389
|
+
defaultFileValidationOptions as o,
|
|
1390
|
+
fileValidationRules as p,
|
|
1391
|
+
bytesToSize as q,
|
|
1392
|
+
resolveFieldMetadata as r,
|
|
1393
|
+
spacer as s,
|
|
1394
|
+
DocumentGuidance as t,
|
|
1395
|
+
uppercase as u,
|
|
1396
|
+
validatePatternOnBlur as v,
|
|
1397
|
+
getLocalizedIdDocumentTypeOptions as w,
|
|
1398
|
+
createFormRules as x,
|
|
1399
|
+
InputEmail as y,
|
|
1400
|
+
isNewlyUploadedFile as z
|
|
799
1401
|
};
|
|
@@ -2,24 +2,21 @@
|
|
|
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] = "d6b319b1-dddc-41e7-8247-afc76f46eb34", e._sentryDebugIdIdentifier = "sentry-dbid-d6b319b1-dddc-41e7-8247-afc76f46eb34");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
const frFR = {
|
|
11
|
-
addIndustryCode: "Ajouter un champ de code de secteur",
|
|
12
11
|
businessLine: "Domaine d'activité",
|
|
13
12
|
businessLines: "Domaines d'activité",
|
|
14
13
|
businessLinesFailure: "Impossible de créer %{failuresLength} domaine(s) d'activité",
|
|
15
14
|
businessLinesGettingStarted: "Afin de configurer le traitement de vos paiements et de nous conformer aux réglementations financières mondiales, nous avons besoin d'informations concernant vos domaines d'activité, y compris les secteurs dans lesquels vous opérez et vos canaux de vente.",
|
|
16
15
|
businessLinesSuccess: "Domaines d'activité créés",
|
|
17
16
|
industry: "Secteur",
|
|
18
|
-
industryCode__placeholder: "Sélectionnez le code du secteur",
|
|
19
17
|
industryCodeAcquiringGuidance: "Ceci est utilisé pour classer le type de produits et services pour lesquels votre entreprise accepte des paiements. Choisissez l'option qui vous semble correspondre le mieux.",
|
|
20
18
|
industryCodes: "Codes des secteurs",
|
|
21
|
-
|
|
22
|
-
removeIndustryCode: "Supprimer le champ de code du secteur",
|
|
19
|
+
paymentProcessingDetails: "Informations relatives au paiement en cours de traitement",
|
|
23
20
|
salesChannelsHeading: "Comment votre entreprise vendra-t-elle ses produits ou services à ses clients ?"
|
|
24
21
|
};
|
|
25
22
|
export {
|