@adyen/kyc-components 3.71.3 → 3.73.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-Dsv4mY-k.js → AcceptTermsOfServiceComponent-Ib77t0y9.js} +11 -198
- package/dist/{AccountSetupRejected-Cz2iWdPE.js → AccountSetupRejected-Dcrt_Wjb.js} +3 -3
- package/dist/{BusinessDetailsDropin-CxJ7Ga0q.js → BusinessDetailsDropin-D10LCgSY.js} +199 -98
- package/dist/BusinessFinancingPage-CVRFAPxm.js +35 -0
- package/dist/{BusinessTypeSelection-wbCak0Us.js → BusinessTypeSelectionPage-DK4PY3_p.js} +47 -40
- package/dist/{CXEL7IU7-B9HOZi-H.js → CXEL7IU7-DyO75Uac.js} +3 -3
- package/dist/{CreateIndividualComponent-C3uFsTUT.js → CreateIndividualComponent-BiMYdvQq.js} +265 -1227
- package/dist/CreateTransferInstrumentComponent-CaBD_3yr.js +1082 -0
- package/dist/{CustomerSupport-BuxhbwRm.js → CustomerSupport-BqyayBTP.js} +4 -3
- package/dist/{DebugModal-B_DAGmya.js → DebugModal-CO_clhiW.js} +12 -11
- package/dist/DecisionMakerDetailsPage-C0wmo475.js +80 -0
- package/dist/{DecisionMakers-L6oYW0-J.js → DecisionMakers-B2rmqsfW.js} +6 -5
- package/dist/{EventEmitter-DTdpTyY7.js → EventEmitter-BmWcyurq.js} +1015 -1407
- package/dist/FormNavigation-W4SYacAX.js +205 -0
- package/dist/{HASRA6WW-CBmvzSwj.js → HASRA6WW-Cj_9-H1H.js} +2 -2
- package/dist/{I3HPI4QX-9ko0FQd6.js → I3HPI4QX-CCkDLYPH.js} +3 -3
- package/dist/{Introduction-C16zT64A.js → Introduction-DlsETOX7.js} +14 -6
- package/dist/LegalRepresentativeDetailsPage-Dbp83K05.js +55 -0
- package/dist/ManageIndividualComponent-D-47IZH6.js +190 -0
- package/dist/Modal-6j0jkYFX.js +135 -0
- package/dist/PayoutDetailsPage-CWAOATOb.js +57 -0
- package/dist/{Review-BbsJ9Iv_.js → Review-B0v_A189.js} +4 -3
- package/dist/RootBusinessDetailsPage-D_3xc6YN.js +43 -0
- package/dist/RootIndividualDetailsPage-CT-rsvpD.js +71 -0
- package/dist/{EmbedShell-DpZpuM-4.js → ShadowStylesRoot-DMxqA0py.js} +28 -10
- package/dist/{SingpassSelection-Biuh42TV.js → SingpassSelection-DB5BHBy1.js} +2 -2
- package/dist/SoleProprietorshipPage-CFZ3F57F.js +45 -0
- package/dist/{SourceOfFunds.module-CwVf62zO.js → SourceOfFunds.module-sL22I1gI.js} +2 -2
- package/dist/{SourceOfFundsDropin-Bz8cTP4R.js → SourceOfFundsPage-Tde0WbSG.js} +44 -20
- package/dist/Tag-DdkVScyr.js +41 -0
- package/dist/{TaskItemStatus-DzTphBn7.js → TaskItemStatus-DqNACVFe.js} +4 -32
- package/dist/{TaxReportingDropin-xDar-7mC.js → TaxReportingDropin-CPQZXr1j.js} +6 -5
- package/dist/{TrustOuter-2GEllVo3.js → TrustDetailsPage-BGkbFLaG.js} +20 -29
- package/dist/TrustMemberCompanyPage-CQi1xGDz.js +55 -0
- package/dist/TrustMemberIndividualPage-BI_XyXhS.js +60 -0
- package/dist/UnincorporatedPartnershipIndividualPage-B6gLv55I.js +60 -0
- package/dist/UnincorporatedPartnershipMemberCompanyPage-jHwnxg3n.js +58 -0
- package/dist/adyen-individual.js +41 -0
- package/dist/adyen-kyc-components.js +3 -6
- package/dist/adyen-manage-individual.js +41 -0
- package/dist/adyen-terms-of-service.js +47 -0
- package/dist/adyen-terms-of-service.vue_vue_type_script_lang-CLUMW5mI.js +34 -0
- package/dist/adyen-transfer-instrument.js +59 -0
- package/dist/adyen-transfer-instrument.vue_vue_type_script_lang-uEpG3KG3.js +45 -0
- package/dist/{bg-BG-CzEF3tzV.js → bg-BG-CZRQZyXO.js} +12 -5
- package/dist/{cs-CZ-TMjslGp_.js → cs-CZ-BbUFgifZ.js} +12 -5
- package/dist/{css-CypmaTn8.js → css-CFY1scQ9.js} +2 -2
- package/dist/{da-DK-DWzvDWZJ.js → da-DK-CP71BFS7.js} +12 -5
- package/dist/{de-DE-BtIL-7gp.js → de-DE-DY56JGZt.js} +12 -5
- package/dist/{el-GR-DHSSlqbw.js → el-GR-CnENEp5c.js} +12 -5
- package/dist/{es-ES-OwkE9-Cu.js → es-ES-dV62vQcV.js} +28 -21
- package/dist/{et-EE-DvixWnLd.js → et-EE-BBgAN3Wc.js} +12 -5
- package/dist/{fi-FI-DZiXWe_g.js → fi-FI-DVmGWIxn.js} +12 -5
- package/dist/{fr-FR-BBwiWhiT.js → fr-FR-VwG8Rg7R.js} +12 -5
- package/dist/{hr-HR-DJYofWKU.js → hr-HR-Bs_lxjxQ.js} +12 -5
- package/dist/{hu-HU-k9c6wZld.js → hu-HU-8dVSiOZM.js} +12 -5
- package/dist/{core-BsRrVyKB.js → index-D6YGuPb5.js} +810 -1908
- package/dist/{it-IT-oOwbWW3K.js → it-IT-DvwWMDl1.js} +12 -5
- package/dist/{ja-JP-CT3g8Hhn.js → ja-JP-BB6zzyEg.js} +12 -5
- package/dist/{json-DDReVYSW.js → json-RoVXbcQq.js} +2 -2
- package/dist/localizeDateString-DtxuKMqB.js +27 -0
- package/dist/{lt-LT-CVHIsEF8.js → lt-LT-BQtNojlb.js} +12 -5
- package/dist/{lv-LV-BFx0cvZ2.js → lv-LV-BpEw5uN5.js} +12 -5
- package/dist/mapExistingFile-CwT8TZ5D.js +870 -0
- package/dist/{nl-NL-rmSZu4Rf.js → nl-NL-vBEBXTP-.js} +12 -5
- package/dist/{no-NO-BOnQvimN.js → no-NO-BFhTqUoD.js} +12 -5
- package/dist/{pl-PL-5j22An4E.js → pl-PL-dsGZvzVf.js} +12 -5
- package/dist/{plaintext-Cjcgjaqv.js → plaintext-DpBLPLCO.js} +2 -2
- package/dist/{terms-of-service-preact.js → preact/adyen-individual.js} +4 -4
- package/dist/{individual-react.js → preact/adyen-manage-individual.js} +4 -4
- package/dist/{terms-of-service-react.js → preact/adyen-terms-of-service.js} +5 -4
- package/dist/preact/adyen-transfer-instrument.js +16 -0
- package/dist/{pt-PT-DP8U1qyu.js → pt-PT-BB38pZbh.js} +12 -5
- package/dist/{ro-RO-BTdtoC6P.js → ro-RO-BgxNxoxJ.js} +12 -5
- package/dist/{sk-SK-DYTx4mOB.js → sk-SK-rtDeCztl.js} +12 -5
- package/dist/{sl-SI-D8CiUN69.js → sl-SI-qoGCwUdU.js} +12 -5
- package/dist/style.css +1942 -1990
- package/dist/styles-CLV89_hH.js +1942 -1990
- package/dist/{sv-SE-Daslxeqr.js → sv-SE-f1T7PBSW.js} +12 -5
- package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +2 -1
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +2 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -5
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/types.d.ts +1 -11
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +14 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +12 -1
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +14 -0
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +1 -0
- package/dist/types/components/Business/forms/ProofOfOwnershipDocument/ProofOfOwnershipDocument.d.ts +2 -0
- package/dist/types/components/Business/forms/ProofOfOwnershipDocument/types.d.ts +8 -0
- package/dist/types/components/Business/forms/rules.d.ts +0 -1
- package/dist/types/components/Business/mapping/businessDetails/businessDetailsKeyMappings.d.ts +1 -1
- package/dist/types/components/Business/mapping/businessDetails/solePropBusinessDetailsKeyMappings.d.ts +1 -1
- package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +8 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +1 -3
- package/dist/types/components/EFP/pages/BusinessFinancingPage.d.ts +7 -0
- package/dist/types/components/EFP/pages/SourceOfFundsPage.d.ts +7 -0
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/DropinComposer.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/types.d.ts +1 -0
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/IdVerificationMethod.d.ts +0 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +0 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +2 -1
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +20 -0
- package/dist/types/components/Individual/pages/LegalRepresentativeDetailsPage.d.ts +12 -0
- package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +16 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +0 -2
- package/dist/types/components/Shared/Introduction/Introduction.d.ts +4 -2
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/BusinessTypeSelection.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +3 -5
- package/dist/types/components/Shared/forms/DocumentUpload/DocumentUpload.d.ts +1 -1
- package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +5 -0
- package/dist/types/components/Shared/pages/BusinessTypeSelectionPage.d.ts +2 -0
- package/dist/types/components/Shared/tasks/TaskList/TaskList.d.ts +7 -1
- package/dist/types/components/Shared/tasks/TaskList/types.d.ts +0 -6
- package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +1 -0
- package/dist/types/components/SoleProprietorship/pages/SoleProprietorshipPage.d.ts +8 -0
- package/dist/types/components/Trust/pages/TrustDetailsPage.d.ts +10 -0
- package/dist/types/components/Trust/pages/TrustMemberCompanyPage.d.ts +11 -0
- package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +16 -0
- package/dist/types/components/Trust/pages/TrustMemberRoleAndTypePage.d.ts +9 -0
- package/dist/types/components/Trust/tasks/TrustMembers/TrustMembersOverview.d.ts +4 -7
- package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +0 -2
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +16 -0
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +11 -0
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberRoleAndTypePage.d.ts +8 -0
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/UnincorporatedPartnershipMembersOverview.d.ts +1 -5
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRoleAndType.d.ts +1 -1
- package/dist/types/components/ui/molecules/Dropzone/types.d.ts +1 -0
- package/dist/types/context/AnalyticsContext/AnalyticsProvider.d.ts +2 -2
- package/dist/types/context/ExperimentContext/ExperimentsContextProvider.d.ts +1 -1
- package/dist/types/context/ExperimentContext/types.d.ts +6 -6
- package/dist/types/core/EmbedShell/EmbedShell.d.ts +3 -4
- package/dist/types/core/environment/resolveEnvironment.d.ts +1 -0
- package/dist/types/core/models/api/document.d.ts +1 -1
- package/dist/types/embeds/ShadowStylesRoot.d.ts +3 -0
- package/dist/types/embeds/baseEmbedProps.d.ts +30 -0
- package/dist/types/embeds/individual/AdyenIndividualPreact.d.ts +3 -0
- package/dist/types/embeds/individual/adyen-individual.types.d.ts +30 -0
- package/dist/types/embeds/manage-individual/AdyenManageIndividualPreact.d.ts +3 -0
- package/dist/types/embeds/manage-individual/adyen-manage-individual.d.ts +1 -0
- package/dist/types/embeds/manage-individual/adyen-manage-individual.types.d.ts +29 -0
- package/dist/types/embeds/terms-of-service/AdyenTermsOfServicePreact.d.ts +3 -0
- package/dist/types/embeds/terms-of-service/adyen-terms-of-service.types.d.ts +30 -0
- package/dist/types/embeds/transfer-instrument/AdyenTransferInstrumentPreact.d.ts +3 -0
- package/dist/types/embeds/transfer-instrument/adyen-transfer-instrument.types.d.ts +36 -0
- package/dist/types/hooks/useDataConflicts.d.ts +1 -5
- package/dist/types/stores/globalStore/taskTypes.d.ts +0 -1
- package/dist/types/utils/country.d.ts +3 -2
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/getDisplayErrorMessage.d.ts +3 -0
- package/dist/useToastContext-DiQ_PGrE.js +33 -0
- package/dist/{utils-Fkk087z-.js → utils-Bl8l2XY4.js} +4 -4
- package/dist/vue/adyen-individual.js +43 -0
- package/dist/vue/adyen-manage-individual.js +46 -0
- package/dist/vue/adyen-terms-of-service.js +26 -0
- package/dist/vue/adyen-transfer-instrument.js +28 -0
- package/dist/{yaml-GnQQmt7i.js → yaml-DEzkYiMR.js} +2 -2
- package/package.json +28 -61
- package/dist/adyenConfig.js +0 -34
- package/dist/individual-preact.js +0 -15
- package/dist/individual-vue.js +0 -35
- package/dist/individual.js +0 -58
- package/dist/listToRecord-CO3M1Q74.js +0 -19
- package/dist/terms-of-service.js +0 -58
- package/dist/transfer-instrument-preact.js +0 -32
- package/dist/transfer-instrument-react.js +0 -32
- package/dist/transfer-instrument-vue.js +0 -41
- package/dist/transfer-instrument.js +0 -38
- package/dist/types/components/BankAccount/forms/PayoutDetails/utils.d.ts +0 -2
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/PreferInstantVerificationMethod/PreferInstantVerificationMethod.d.ts +0 -22
- package/dist/types/components/Individual/forms/Individual/IndividualOuter.d.ts +0 -26
- package/dist/types/components/Trust/tasks/TrustDropin/TrustOuter.d.ts +0 -10
- package/dist/types/components/ui/atoms/List/List.d.ts +0 -9
- package/dist/types/embeds/adyenConfig.d.ts +0 -22
- package/dist/types/embeds/individual/individual.types.d.ts +0 -12
- package/dist/types/embeds/individual/preact/Individual.d.ts +0 -15
- package/dist/types/embeds/individual/react/Individual.d.ts +0 -20
- package/dist/types/embeds/individual/vue/individual.types.d.ts +0 -9
- package/dist/types/embeds/terms-of-service/preact/TermsOfService.d.ts +0 -10
- package/dist/types/embeds/terms-of-service/react/TermsOfService.d.ts +0 -20
- package/dist/types/embeds/terms-of-service/terms-of-service.types.d.ts +0 -8
- package/dist/types/embeds/transfer-instrument/preact/TransferInstrument.d.ts +0 -15
- package/dist/types/embeds/transfer-instrument/react/TransferInstrument.d.ts +0 -20
- package/dist/types/embeds/transfer-instrument/transfer-instrument.types.d.ts +0 -17
- package/dist/types/embeds/transfer-instrument/vue/transfer-instrument.types.d.ts +0 -9
- package/dist/types/embeds/types.d.ts +0 -19
- package/dist/types/embeds/utils.d.ts +0 -7
- package/dist/utils-Du6OO4ZK.js +0 -27
|
@@ -19,13 +19,13 @@ var _focused, _cleanup, _setup, _a, _online, _cleanup2, _setup2, _b, _gcTimeout,
|
|
|
19
19
|
{
|
|
20
20
|
try {
|
|
21
21
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
22
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
22
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "974fbbe4-5d69-4594-80a4-f3c9d182d10e", e._sentryDebugIdIdentifier = "sentry-dbid-974fbbe4-5d69-4594-80a4-f3c9d182d10e");
|
|
23
23
|
} catch (e) {
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
;
|
|
27
27
|
import { jsx as jsx$1, jsxs, Fragment } from "preact/jsx-runtime";
|
|
28
|
-
import { useContext as useContext$1, useCallback, useState, useEffect, useMemo, useRef,
|
|
28
|
+
import { useContext as useContext$1, useCallback, useState, useEffect, useMemo, useRef, useReducer, useLayoutEffect } from "preact/hooks";
|
|
29
29
|
import cx from "classnames";
|
|
30
30
|
import { createContext as createContext$1, isValidElement, createElement as createElement$1 } from "preact";
|
|
31
31
|
import * as React from "preact/compat";
|
|
@@ -50,6 +50,7 @@ const defaultLocaleTranslations = {
|
|
|
50
50
|
accountDetailsDescription: "Provide a few details about you to start accepting live payments.",
|
|
51
51
|
accountHolder: "Account holder",
|
|
52
52
|
accountHolderTerms: "Account Holder Terms",
|
|
53
|
+
accountMustBeInTheNameOfUnincorporatedPartnership: "Account must be in the name of %{partnerNames}, as partners for %{partnershipName}.",
|
|
53
54
|
accountName: "Account name",
|
|
54
55
|
accountNumber: "Account number",
|
|
55
56
|
accountNumberFullOrPartialVisible: "Includes your full or partial account number",
|
|
@@ -85,10 +86,11 @@ const defaultLocaleTranslations = {
|
|
|
85
86
|
addManually: "Add manually",
|
|
86
87
|
addMissingBankDetails: "We are missing your bank details in order to perform payouts, please add your bank account.",
|
|
87
88
|
addOwnerToTrustMember: "Add owner of %{trustMember}",
|
|
88
|
-
addPartner: "Add partner",
|
|
89
|
+
addPartner: "Add another partner",
|
|
89
90
|
addPayoutAccount: "Add a payout account",
|
|
90
91
|
address: "Address",
|
|
91
92
|
address__placeHolder: "Start typing an address for suggestions...",
|
|
93
|
+
addressDetails: "Address details",
|
|
92
94
|
addresses: "Addresses",
|
|
93
95
|
addressPoBoxError: "PO Box addresses aren't allowed. Enter a physical address.",
|
|
94
96
|
addressRegisteredWithSecretaryOfState: "Address registered with the Secretary of State for this company.",
|
|
@@ -111,7 +113,9 @@ const defaultLocaleTranslations = {
|
|
|
111
113
|
and: "and",
|
|
112
114
|
andResubmit: "and submit again.",
|
|
113
115
|
anLEIIsAUniqueCode: "An LEI is a unique code that identifies legal entities, including companies, who engage in financial transactions.",
|
|
114
|
-
annualReport: "Annual
|
|
116
|
+
annualReport: "Annual report",
|
|
117
|
+
annualReports: "Annual reports",
|
|
118
|
+
annualReturns: "Annual returns",
|
|
115
119
|
annualStatements: "Annual statements",
|
|
116
120
|
annualTurnover: "Annual turnover",
|
|
117
121
|
annualTurnoverHelper: "The annual sales revenue minus all discounts and sales taxes. Also known as net sales.",
|
|
@@ -132,6 +136,7 @@ const defaultLocaleTranslations = {
|
|
|
132
136
|
arithmosEngraphes: "Αριθμός Εγγραφής Φ.Π.Α.",
|
|
133
137
|
articlesOfIncorporation: "Articles of incorporation",
|
|
134
138
|
arvonlisaveronumeroMervardesskattenummer: "Arvonlisäveronumero Mervärdesskattenummer",
|
|
139
|
+
assignmentAgreements: "Assignment agreements",
|
|
135
140
|
association: "Association",
|
|
136
141
|
associationIncorporated: "Incorporated association",
|
|
137
142
|
associationIncorporatedDescription: "A registered entity without profit that's organized around a purpose such as recreation, culture, or charity.",
|
|
@@ -151,15 +156,15 @@ const defaultLocaleTranslations = {
|
|
|
151
156
|
bankAccountFormat: "Bank account format",
|
|
152
157
|
bankAccountHasToBeInYourCompanyName: "The bank account has to be in your company's name",
|
|
153
158
|
bankAccountHasToBeInYourName: "The bank account has to be in your name",
|
|
154
|
-
bankAccountNameIndividual: "Bank account must be in your name
|
|
155
|
-
bankAccountNameOrganization: "Bank account must be in your company's name
|
|
156
|
-
bankAccountNameWithSoleProprietor: "Bank account must be in your name
|
|
157
|
-
bankAccountNameWithTrust: "The bank account must be in your trust's name
|
|
158
|
-
bankAccountNameWithTrust_US: "The bank account must be in your trust's name
|
|
159
|
+
bankAccountNameIndividual: "Bank account must be in your name, %{individualLegalName}",
|
|
160
|
+
bankAccountNameOrganization: "Bank account must be in your company's name, %{companyLegalName}",
|
|
161
|
+
bankAccountNameWithSoleProprietor: "Bank account must be in your name, %{individualLegalName}, or sole proprietorship's name, %{soleProprietorshipName}",
|
|
162
|
+
bankAccountNameWithTrust: "The bank account must be in your trust's name, %{trusteeName}, as trustee for %{trustLegalName} trading as %{trustTradingName}",
|
|
163
|
+
bankAccountNameWithTrust_US: "The bank account must be in your trust's name, %{trusteeName}, as trustee for %{trustLegalName} doing business as %{trustTradingName}",
|
|
159
164
|
bankAccountNeeded: "A bank account is needed.",
|
|
160
165
|
bankAccountNumber: "Account number",
|
|
161
166
|
bankAccountToHaveSameNameAsTrust: "The bank account holder has to have the same name as your trust",
|
|
162
|
-
bankAccountToHaveSameNameAsUnincorporatedPartnership: "The bank account holder has to have the same name as ",
|
|
167
|
+
bankAccountToHaveSameNameAsUnincorporatedPartnership: "The bank account holder has to have the same name as %{partnerNames}, as partners for %{partnershipName}.",
|
|
163
168
|
bankAccountVerification: "Bank account verification",
|
|
164
169
|
bankCityTown: "Bank city/town",
|
|
165
170
|
bankCode: "Bank code",
|
|
@@ -200,6 +205,7 @@ const defaultLocaleTranslations = {
|
|
|
200
205
|
bicSwift: "BIC / SWIFT",
|
|
201
206
|
birthCertificate: "Birth certificate",
|
|
202
207
|
birthDate: "Date of birth",
|
|
208
|
+
boardOfDirectorsMeetingRecords: "Board of directors' meeting records of decisions",
|
|
203
209
|
branchCode: "Branch code",
|
|
204
210
|
branchNumber: "Branch Number",
|
|
205
211
|
brokerStatements: "Broker statements",
|
|
@@ -256,11 +262,13 @@ const defaultLocaleTranslations = {
|
|
|
256
262
|
cardUserTerms: "Card User Terms",
|
|
257
263
|
cashManagementTrust: "Cash management trust",
|
|
258
264
|
CCIAA: "CCIAA Number",
|
|
265
|
+
certificateOfCorporateStatus: "Certificate of Corporate Status",
|
|
259
266
|
certificateOfFormation: "Certificate of formation",
|
|
260
267
|
certificateOfIncorporation: "Certificate of incorporation",
|
|
261
268
|
certificateOfIncumbency: "Certificate of incumbency",
|
|
262
269
|
certificateOfInheritance: "Certificate of inheritance",
|
|
263
270
|
certificateOfVoterRegistration: "Certificate of voter registration",
|
|
271
|
+
certifiedOrganizationalChart: "Certified Organizational chart",
|
|
264
272
|
chamberOfCommerceExtract: "Chamber of Commerce extract",
|
|
265
273
|
chamberOfCommerceRegistrationNumber: "Chamber of Commerce registration number",
|
|
266
274
|
changeAnswers: "Change answers",
|
|
@@ -293,6 +301,7 @@ const defaultLocaleTranslations = {
|
|
|
293
301
|
companyFinancialInformationFormDescription: "Financial information",
|
|
294
302
|
companyFinancialInformationFormHeading: "Financial Details",
|
|
295
303
|
companyLegalName: "Company legal name",
|
|
304
|
+
companyMember: "A business entity",
|
|
296
305
|
companyName: "Company name",
|
|
297
306
|
companyNumber: "Company number",
|
|
298
307
|
companyNumberNZ: "Company Number",
|
|
@@ -317,7 +326,7 @@ const defaultLocaleTranslations = {
|
|
|
317
326
|
completeAddingAccount: "Complete adding account",
|
|
318
327
|
confirm: "Confirm",
|
|
319
328
|
confirmationOfGrantOrSubsidy: "Confirmation of grant or subsidy",
|
|
320
|
-
|
|
329
|
+
confirmPersonalDetails: "Confirm personal details",
|
|
321
330
|
constitutionalDocument: "Constitutional document",
|
|
322
331
|
constitutionalDocumentHeader: "Upload a constitutional document",
|
|
323
332
|
constitutionalDocumentHeaderDescription: "This helps to verify your details.",
|
|
@@ -332,7 +341,7 @@ const defaultLocaleTranslations = {
|
|
|
332
341
|
continueIndividual: "Continue as individual",
|
|
333
342
|
contractSpecifyingDividends: "Contract specifying dividends",
|
|
334
343
|
contributionBelowThreshold: "My settlor's material asset contribution to the trust was less than AUD 10,000 at the time of establishing the trust",
|
|
335
|
-
controllerDescriptionAsPartner: "Does this partner have more control over the partnership than others? For example, through additional voting rights.",
|
|
344
|
+
controllerDescriptionAsPartner: "Does this partner have more control over the partnership than others? For example, through additional voting rights. Choose 'No' if all partners have equal control.",
|
|
336
345
|
controllingPerson: "Controlling person",
|
|
337
346
|
controllingPersonDescription: "Authorized to make major business decisions (may or may not be an owner)",
|
|
338
347
|
controllingPersonGuideDescription: "A <strong>controlling person</strong> is someone authorized to make major business decisions. They may or may not be an owner.",
|
|
@@ -390,13 +399,13 @@ const defaultLocaleTranslations = {
|
|
|
390
399
|
deleteInvestorDetails: "Delete investor details",
|
|
391
400
|
depositSlip: "Deposit slip",
|
|
392
401
|
describeWhoIsABeneficiaryInYourTrust: "Describe in open format who is set to be a beneficiary in your trust deed",
|
|
402
|
+
describingTheOrganizationAndItsUBOSignedWithinTheLast6Months: "describing the organization and its Ultimate Beneficial Owners, signed within the last 6 months.",
|
|
393
403
|
description: "Description",
|
|
394
404
|
descriptionOfIntellectualProperty: "Description of (intellectual) property",
|
|
395
405
|
descriptionOfProperty: "Description of property",
|
|
396
406
|
descriptionOptional: "Description (optional)",
|
|
397
407
|
descriptionUndefinedBeneficiary: "Undefined beneficiary description",
|
|
398
408
|
detCentralePersonregister: "Det Centrale Personregister (CPR)",
|
|
399
|
-
detected: "Detected",
|
|
400
409
|
DIC: "Daňové identifikační číslo (DIČ)",
|
|
401
410
|
director: "Director",
|
|
402
411
|
directorDescription: "Someone appointed to manage a company's business and affairs",
|
|
@@ -456,6 +465,7 @@ const defaultLocaleTranslations = {
|
|
|
456
465
|
driving_licence: "Driving license",
|
|
457
466
|
drivinglicenseBack: "Driving license (back)",
|
|
458
467
|
drivinglicenseFront: "Driving license (front)",
|
|
468
|
+
dropFilesToUpload: "Drop files to upload",
|
|
459
469
|
dropFileToUpload: "Drop file to upload",
|
|
460
470
|
duplicatedFiles: "Duplicated files",
|
|
461
471
|
edit: "Edit",
|
|
@@ -474,6 +484,7 @@ const defaultLocaleTranslations = {
|
|
|
474
484
|
enter1CharactersAndThenUpToXDigitsForExample: "Enter 1 character and then up to %{maxDigits} digits. For example, %{example}",
|
|
475
485
|
enter1LetterAndThenNDigitsForExample: "Enter 1 letter and then %{numDigits} digits. For example, %{example}",
|
|
476
486
|
enter1LetterAndThenXToYDigitsForExample: "Enter 1 letter and then %{minDigits} to %{maxDigits} digits. For example, %{example}",
|
|
487
|
+
enterAccountNumberWithBranchCodeForExample: "Enter a %{minDigits}-%{maxDigits} digit account number, starting with a 3-digit branch code. For example, %{example}",
|
|
477
488
|
enterAMaximumOfNCharactersForExample: "Enter a maximum of %{maxChars} characters. For example, %{example}",
|
|
478
489
|
enterAMaximumOfNCharactersWithAMixForExample: "Enter a maximum of %{maxChars} characters, with a mix of letters and numbers. For example, %{example}",
|
|
479
490
|
enterAMaximumOfNDigitsForExample: "Enter a maximum of %{maxDigits} digits. For example, %{example}",
|
|
@@ -500,11 +511,14 @@ const defaultLocaleTranslations = {
|
|
|
500
511
|
enterThreeDifferingOptionsForExample: "Enter %{firstOption}, %{secondOption}, or %{thirdOption}. For example, %{firstExample}, %{secondExample}, or %{thirdExample}",
|
|
501
512
|
enterValid_: "Please enter valid: %{fieldNames}",
|
|
502
513
|
enterValidAccountDetails: "Please enter valid account details",
|
|
514
|
+
enterXDigitsThenXToYLettersForExample: "Enter %{numDigits} digits and then %{minLetters} to %{maxLetters} letters. For example, %{example}",
|
|
503
515
|
enterXOrYCharactersForExample: "Enter %{xChars} or %{yChars} characters. For example, %{example}",
|
|
504
516
|
enterXOrYDigitsForExample: "Enter %{xDigits} or %{yDigits} digits. For example, %{example}",
|
|
505
517
|
enterXToYCharactersForExample: "Enter %{minChars} to %{maxChars} characters. For example, %{example}",
|
|
506
518
|
enterXToYCharactersWithAMixForExample: "Enter %{minChars} to %{maxChars} characters, with a mix of letters and numbers. For example, %{example}",
|
|
507
519
|
enterXToYDigitsForExample: "Enter %{minDigits} to %{maxDigits} digits. For example, %{example}",
|
|
520
|
+
entitiesMustIncludeANameLegalStructureAndCountryRegionOfRegistration: "Entities must include a name, legal structure, and country/region of registration.",
|
|
521
|
+
entityDecisionMakers: "Entity decision-makers",
|
|
508
522
|
entityEstablishingTrust: "The entity that establishes a trust.",
|
|
509
523
|
entityType: "Entity type",
|
|
510
524
|
errorMessage_1_10: "Information couldn't be verified",
|
|
@@ -940,13 +954,14 @@ const defaultLocaleTranslations = {
|
|
|
940
954
|
includeFrontAndBack: "Include both the front and back side, each in separate file",
|
|
941
955
|
includesEIN: "Includes your EIN (Employer Identification Number)",
|
|
942
956
|
includesEvidenceOfTheIndividualsRole: "Includes evidence of the individual's role as director",
|
|
943
|
-
includesEvidenceOfTheIndividualsRoleSignatory: "Includes evidence of the individual
|
|
957
|
+
includesEvidenceOfTheIndividualsRoleSignatory: "Includes evidence of the individual's role as signatory",
|
|
944
958
|
includesLegalCompanyName: "Includes the legal name of your company",
|
|
945
959
|
includesTheDirectorsFullName: "Includes the director's full name",
|
|
946
960
|
includesTheSignatorysFullName: "Includes the signatory's full name",
|
|
947
961
|
incorporatedAssociationRegistrationNumber: "Incorporated association registration number",
|
|
948
962
|
individual: "Individual",
|
|
949
963
|
individualDetails: "Individual details",
|
|
964
|
+
individualMember: "An individual",
|
|
950
965
|
individualTrustee: "Individual trustee",
|
|
951
966
|
individualTrusteeDetails: "Individual trustee details",
|
|
952
967
|
industryAndNaceCode: "Industry and NACE code",
|
|
@@ -1054,6 +1069,7 @@ const defaultLocaleTranslations = {
|
|
|
1054
1069
|
isCompanyOwnedByAnotherCompany: "Is %{company} owned by a parent company?",
|
|
1055
1070
|
isOurTrustedPartnerHelpingSpeedUpSetup: "%{provider} is our trusted partner helping speed up your account setup by instantly verifying your bank account.",
|
|
1056
1071
|
isParentOwnedByAnotherCompany: "Is your parent company owned by another company?",
|
|
1072
|
+
isPartnershipOperationAddressSame: "Is there a different address for your partnership’s operations?",
|
|
1057
1073
|
issueDate: "Issue date",
|
|
1058
1074
|
issueDateWithinTheLast3Months: "Issue date within the last 3 months",
|
|
1059
1075
|
issueDateWithinTheLast12Months: "Issue date within the last 12 months",
|
|
@@ -1236,6 +1252,9 @@ const defaultLocaleTranslations = {
|
|
|
1236
1252
|
onboardingRedirectUnsuccessfulCtaButton: "Update details",
|
|
1237
1253
|
onboardingRedirectUnsuccessfulDescriptionP1: "We couldn't verify some details. Check if they're correct and make any updates needed.",
|
|
1238
1254
|
onboardingRedirectVerifiedDescriptionP1: "Your details are verified.",
|
|
1255
|
+
one: "One",
|
|
1256
|
+
oneOrganizationalChartAndOneSupportingDocument: "1 organizational chart and 1 supporting document are required",
|
|
1257
|
+
oneOrganizationalChartShowingOwnershipAndControllingRelations: "One organizational chart showing ownership and controlling relationships between the organization and its Ultimate Beneficial Owners, including exact ownership percentages in a visual diagram.",
|
|
1239
1258
|
onfido: "Onfido.",
|
|
1240
1259
|
onfidoIsOurTrustedPartner: "Onfido is our trusted partner helping speed up your account setup by verifying your identity in real-time. ",
|
|
1241
1260
|
onfidoPrivacyPolicy: "Onfido Privacy Policy",
|
|
@@ -1250,9 +1269,9 @@ const defaultLocaleTranslations = {
|
|
|
1250
1269
|
organisasjonsnummer: "Organisasjonsnummer",
|
|
1251
1270
|
organisationsnummer: "Organisationsnummer",
|
|
1252
1271
|
organization: "Organization",
|
|
1272
|
+
organizationalChartAndSupportingDocument: "Organizational chart and supporting document",
|
|
1253
1273
|
organizationsCountryOfOperation: "Organization's country/region of operation",
|
|
1254
1274
|
organizationsLegalName: "Organization's legal name",
|
|
1255
|
-
original: "Original",
|
|
1256
1275
|
originatorType: "Originator type",
|
|
1257
1276
|
orSoleProprietorshipName: "or sole proprietorship's name",
|
|
1258
1277
|
other: "Other",
|
|
@@ -1273,16 +1292,18 @@ const defaultLocaleTranslations = {
|
|
|
1273
1292
|
parentCompany: "Parent company",
|
|
1274
1293
|
parentCompanyInformation: "Parent company information",
|
|
1275
1294
|
partitaIVA: "Partita IVA",
|
|
1276
|
-
partnerAsPartnersForUnincorporatedPartnership: "%{partnerNames}, as partners for %{partnershipName}.",
|
|
1277
1295
|
partnerIsABusiness: "This partner is a sole proprietor, private company, public corporation, non-profit, or other business entity.",
|
|
1278
1296
|
partnerNotABusiness: "This partner is not a business",
|
|
1279
1297
|
partnerRoleDescription: "Tell us more about this partner’s role in the partnership.",
|
|
1280
1298
|
partnership: "Partnership",
|
|
1281
1299
|
partnershipAgreement: "Partnership agreement, constitution, or rules",
|
|
1282
1300
|
partnerShipAgreement: "Partnership agreement",
|
|
1301
|
+
partnershipAgreements: "Partnership agreements",
|
|
1283
1302
|
partnershipIncorporated: "Incorporated partnership",
|
|
1284
1303
|
partnershipIncorporatedDescription: "You and your partners have limited liability for business debts.",
|
|
1285
1304
|
partnershipMemberDetails: "Partnership member details",
|
|
1305
|
+
partnershipMembers: "Partnership members",
|
|
1306
|
+
partnershipMembersDescription: "We need to know some information about all members of this partnership, including both individuals and entities.",
|
|
1286
1307
|
partnershipOrAssociation: "Partnership or association",
|
|
1287
1308
|
partnershipsUnincorporated: "Unincorporated partnerships",
|
|
1288
1309
|
partnershipUnincorporated: "Unincorporated partnership",
|
|
@@ -1318,7 +1339,8 @@ const defaultLocaleTranslations = {
|
|
|
1318
1339
|
pensionStatement: "Pension statement",
|
|
1319
1340
|
personalDetails: "Personal details",
|
|
1320
1341
|
personalIdentityDetails: "Personal identity details",
|
|
1321
|
-
personalIdentityDetailsDescription: "We only use these details for identity verification. Learn about how your data is managed in our
|
|
1342
|
+
personalIdentityDetailsDescription: "We only use these details for identity verification. Learn about how your data is managed in our",
|
|
1343
|
+
personalIdentityDetailsDescriptionLink: "Privacy Statement.",
|
|
1322
1344
|
personalInfoNotNeeded: "Personal information not needed",
|
|
1323
1345
|
personAppointmentUnderTrustInstrument: "The person appointed under the trust instrument to direct or restrain the trustees in relation to their administration of the trust.",
|
|
1324
1346
|
personnummer: "Personnummer",
|
|
@@ -1346,6 +1368,7 @@ const defaultLocaleTranslations = {
|
|
|
1346
1368
|
previous: "Previous",
|
|
1347
1369
|
previousEmployersName: "Previous employer's name",
|
|
1348
1370
|
primaryPartner: "Primary partner",
|
|
1371
|
+
primaryPartnerDetails: "Primary partner details",
|
|
1349
1372
|
principalAmount: "Principal amount",
|
|
1350
1373
|
principalPlaceOfBusiness: "Principal place of business",
|
|
1351
1374
|
principalPlaceOfBusinessDescription: "The physical location where a business's key officers oversee and manage its operations: this is usually the main office or headquarters.",
|
|
@@ -1483,17 +1506,17 @@ const defaultLocaleTranslations = {
|
|
|
1483
1506
|
remediationMessage_1_805: "Update director details",
|
|
1484
1507
|
remediationMessage_2_117: "Add 'organization.registrationNumber' to legal entity.",
|
|
1485
1508
|
remediationMessage_2_118: "Add 'organization.taxId' to legal entity.",
|
|
1486
|
-
remediationMessage_2_123: "
|
|
1487
|
-
remediationMessage_2_124: "
|
|
1509
|
+
remediationMessage_2_123: "We need to know about all beneficial owners who own at least 25% of the business.",
|
|
1510
|
+
remediationMessage_2_124: "We need to know about at least one signatory who can sign contracts on behalf of the business.",
|
|
1488
1511
|
remediationMessage_2_125: "Add 'organization.type' to legal entity.",
|
|
1489
1512
|
remediationMessage_2_133: "Add 'organization.doingBusinessAs' to legal entity.",
|
|
1490
|
-
remediationMessage_2_151: "
|
|
1513
|
+
remediationMessage_2_151: "We need to know about at least one beneficial owner who controls the strategic direction of the business.",
|
|
1491
1514
|
remediationMessage_2_153: "Add 'phone.number' to legal entity",
|
|
1492
1515
|
remediationMessage_2_158: "Provide a VAT number or exemption reason.",
|
|
1493
1516
|
remediationMessage_2_170: "Add tax information to legal entity.",
|
|
1494
1517
|
remediationMessage_2_178: "Add 'webAddress' to business line.",
|
|
1495
1518
|
remediationMessage_2_184: "Add constitutional document for verification to legal entity.",
|
|
1496
|
-
remediationMessage_2_185: "
|
|
1519
|
+
remediationMessage_2_185: "We need to know about at least one director appointed to oversee the business.",
|
|
1497
1520
|
remediationMessage_2_188: "Add proofOfOwnership document document for verification to legal entity",
|
|
1498
1521
|
remediationMessage_2_194: "Add 'organization.registeredAddress.postalCode' to legal entity.",
|
|
1499
1522
|
remediationMessage_2_206: "Add 'organization.registeredAddress.street' to legal entity.",
|
|
@@ -1567,6 +1590,7 @@ const defaultLocaleTranslations = {
|
|
|
1567
1590
|
secretaryOfStateRegDoc: "Registration document from Secretary of State",
|
|
1568
1591
|
secretaryOfStateRegDoc__PR: "Registration document from Department of State",
|
|
1569
1592
|
securelyUseYourBanksWebsite: "Securely use your bank's website or mobile app to get verified in minutes.",
|
|
1593
|
+
securitiesRegister: "Securities register",
|
|
1570
1594
|
select: "Select",
|
|
1571
1595
|
selectAllTheRolesThatThisDecisionMakerHolds: "Select all the roles that this decision-maker holds.",
|
|
1572
1596
|
selectASourceOfFunding: "Select a source of funding for %{type}",
|
|
@@ -1589,11 +1613,14 @@ const defaultLocaleTranslations = {
|
|
|
1589
1613
|
settlorExemptionReason: "Settlor exemption reasons",
|
|
1590
1614
|
settlorGuideDescription: "<strong>Settlor</strong> is the natural person that created the trust. A settlor is also known as a grantor or founder.",
|
|
1591
1615
|
setUpYourAccount: "Set up your account",
|
|
1616
|
+
shareholderAgreements: "Shareholder agreements",
|
|
1592
1617
|
shareholderDocument: "Shareholder document",
|
|
1618
|
+
shareholderRegister: "Shareholder register",
|
|
1593
1619
|
showAddressStateCountry: "Shows address, state, and country of residence",
|
|
1594
1620
|
showDetails: "Show details",
|
|
1595
1621
|
showOnMap: "Show on map",
|
|
1596
1622
|
showsCountryOfBankAccount: "Includes the country/region of the bank account",
|
|
1623
|
+
showsOwnershipAndControllingRelations: "Shows ownership and controlling relationships between the organization and its Ultimate Beneficial Owners, including exact ownership percentages in a visual diagram.",
|
|
1597
1624
|
showsTheNameOfTheCoins: "Shows the name of the coin(s)",
|
|
1598
1625
|
showsTheNameOfTheCryptocurrencyExchange: "Shows the name of the cryptocurrency exchange",
|
|
1599
1626
|
showsYourBusinessName: "Shows your business's name",
|
|
@@ -1606,6 +1633,7 @@ const defaultLocaleTranslations = {
|
|
|
1606
1633
|
signatoryQuestionnaireHeader: "To start, let’s find out if this individual is an authorized signatory",
|
|
1607
1634
|
signatureAndDateWithinTheLast12Months: "Signature and date within the last 12 months",
|
|
1608
1635
|
signed: "Signed",
|
|
1636
|
+
signedByALawyerAccountantAuditorWithinTheLast6Months: "Signed by a lawyer, accountant, or auditor within the last 6 months.",
|
|
1609
1637
|
signedByOn: "Signed on %{date} by %{signer}",
|
|
1610
1638
|
signedCopyOfTheWill: "Signed copy of the will",
|
|
1611
1639
|
signer: "Signer",
|
|
@@ -1689,6 +1717,7 @@ const defaultLocaleTranslations = {
|
|
|
1689
1717
|
summaryTaxExemptionLegalCaption_3: "You are an authorized representative and signatory on behalf of the legal entity for which the VAT information was provided.",
|
|
1690
1718
|
summaryTaxExemptionLegalCaptionTitle: "You have stated you are exempt from VAT/GST, therefore you agree that:",
|
|
1691
1719
|
supportedFileTypes: "Supported file types: %{fileTypes}",
|
|
1720
|
+
supportingDocument: "Supporting document",
|
|
1692
1721
|
supportingDocuments: "Supporting documents",
|
|
1693
1722
|
swiftCode: "Swift code",
|
|
1694
1723
|
takeOrUploadAPhoto: "Use a photo or scan of an ID document to capture and automatically fill personal details combined with faster, secure identity verification by our trusted partner,",
|
|
@@ -1732,6 +1761,7 @@ const defaultLocaleTranslations = {
|
|
|
1732
1761
|
taxReportingClassification: "Tax reporting classification",
|
|
1733
1762
|
taxStatus: "Tax status",
|
|
1734
1763
|
taxStatusSelfCertification: "Tax status self-certification",
|
|
1764
|
+
tellUsMoreAboutPrimaryPartner: "Tell us about a primary partner in the partnership",
|
|
1735
1765
|
tellUsMoreAboutTheCryptocurrency: "Tell us more about the cryptocurrency earnings that will be used with our financial products.",
|
|
1736
1766
|
tellUsMoreAboutTheGamblingProceeds: "Tell us more about the gambling proceeds that will be used with our financial products.",
|
|
1737
1767
|
tellUsMoreAboutTheGiftOrDonationProceeds: "Tell us more about the gift or donation proceeds that will be used with our financial products.",
|
|
@@ -1749,9 +1779,10 @@ const defaultLocaleTranslations = {
|
|
|
1749
1779
|
theBusinessName: "The business's name",
|
|
1750
1780
|
theCityAndCountryRegion: "The city and country/region where is this person is currently located",
|
|
1751
1781
|
theCompanyIWorkFor: "The company I work for",
|
|
1782
|
+
theDetailsYouEnteredDontMatch: "The details you entered don't match what we detected on the ID document. Select each correct option to continue.",
|
|
1783
|
+
theDocumentsWeCanAcceptToProveOwnershipAre: "The documents we can accept to prove a business’s ownership and control structure are:",
|
|
1752
1784
|
theIdCheckWillBeAutomaticallyValidated: "With the right capture, the ID check will be automatically validated",
|
|
1753
1785
|
thenResubmit: "then resubmit.",
|
|
1754
|
-
thereAreDifferencesBetweenYourEntryAndWhatWeDetectedInYourIdDocument: "There are differences between your entry and what we detected in your ID document. Select the correct information to continue.",
|
|
1755
1786
|
thereAreNoSigners: "There are no signers, please add yourself to make sure you can accept the terms and get the funds.",
|
|
1756
1787
|
thereWasAnErrorTryAgain: "There was an error, please try again",
|
|
1757
1788
|
thirdPartyInvestmentDetails: "Third-party investment details",
|
|
@@ -1806,6 +1837,7 @@ const defaultLocaleTranslations = {
|
|
|
1806
1837
|
uboThroughControlGuideDescription: "<strong>UBO through control</strong> is any other individual who controls the trust to make financial and operating decisions on behalf of the trust.",
|
|
1807
1838
|
uboThroughOwnershipGuideDescription: "<strong>UBO through ownership</strong> is an individual who directly or indirectly own 25% or more of the total shares, voting rights, or other equity in the organization.",
|
|
1808
1839
|
uen: "Unique Entity Number (UEN)",
|
|
1840
|
+
ultimateBeneficialOwnerRegister: "Ultimate Beneficial Owner register",
|
|
1809
1841
|
ultimateParentCompany: "Ultimate parent company",
|
|
1810
1842
|
ultimateParentCompanyInformation: "Ultimate parent company information",
|
|
1811
1843
|
unableToDeleteDocument: "Unable to delete document",
|
|
@@ -1818,8 +1850,7 @@ const defaultLocaleTranslations = {
|
|
|
1818
1850
|
undoWithTimer: "Undo... %{secondsLeft}",
|
|
1819
1851
|
unfortunatelyAnInstantProvider: "Unfortunately an instant provider isn’t available for this country.",
|
|
1820
1852
|
unincorporatedDetails: "Unincorporated partnership details",
|
|
1821
|
-
unincorporatedPartnershipMembers: "Unincorporated
|
|
1822
|
-
unincorporatedPartnershipMembersDescription: "Tell us about all individuals or entities who are listed in the partnership agreement.",
|
|
1853
|
+
unincorporatedPartnershipMembers: "Unincorporated Partnership members",
|
|
1823
1854
|
unincorporatedPartnershipType: "Unincorporated Partnership Type",
|
|
1824
1855
|
uniqueIdentificationCode: "Unique identification code (ЕИК/UIC)",
|
|
1825
1856
|
unknown: "Unknown",
|
|
@@ -1837,7 +1868,9 @@ const defaultLocaleTranslations = {
|
|
|
1837
1868
|
uploadedOn: "Uploaded on %{date}",
|
|
1838
1869
|
uploadOneOfTheseDocuments: "Upload one of these documents:",
|
|
1839
1870
|
uploadTheFollowingDocuments: "Upload the following documents:",
|
|
1871
|
+
uploadYourDocuments: "Upload your documents",
|
|
1840
1872
|
uploadYourOrganizationProofOfDirector: "Upload your organization's proof of director",
|
|
1873
|
+
uploadYourOrganizationProofOfOwnership: "Upload your organization's proof of ownership",
|
|
1841
1874
|
uploadYourOrganizationProofOfSignatory: "Upload your organization’s proof of signatory",
|
|
1842
1875
|
upToFiles: "Up to %{maxFiles} file(s).",
|
|
1843
1876
|
useFiguresFromTheMostRecentYearAvailable: "Use figures from the most recent year available",
|
|
@@ -1886,10 +1919,12 @@ const defaultLocaleTranslations = {
|
|
|
1886
1919
|
weCouldntCompleteTheAccountCheck: "We couldn't complete the account check. Please try again later or provide account details manually.",
|
|
1887
1920
|
weCouldntConnectToMyinfo: "We couldn't connect to Myinfo",
|
|
1888
1921
|
weCouldntConnectToMyinfoBusiness: "We couldn't connect to Myinfo Business",
|
|
1922
|
+
weDetected: "We detected",
|
|
1889
1923
|
weDoNotYetSupportInstantVerificationForBankAccountsIn_: "We do not yet support instant verification for bank accounts in %{countryName}. Therefore, you must provide your account details manually.",
|
|
1890
1924
|
weDontSupportOnboardingInCountry: "We don't support onboarding in %{country}. To find out more, reach out to customer support.",
|
|
1891
1925
|
weFoundTheFollowingIssues: "We found the following issues:",
|
|
1892
1926
|
weNeedAnOfficialDocument: "We need an official document to verify your organization's director.",
|
|
1927
|
+
weNeedAnOfficialDocumentForOwnership: "We need official documentation to verify your organization’s ownership and control structure.",
|
|
1893
1928
|
weNeedAnOfficialDocumentSignatory: "We need an official document to verify your organization’s signatory.",
|
|
1894
1929
|
weNeedProofOfFunding: "We need proof of funding sources for %{category_name}. This helps use better understand how you will use these products.",
|
|
1895
1930
|
weNeedProofOfFundingPlural: "We need proof of funding sources for %{category1_name} and %{category2_name}. This helps use better understand how you will use these products.",
|
|
@@ -1903,7 +1938,8 @@ const defaultLocaleTranslations = {
|
|
|
1903
1938
|
whatIsTheDifferenceBetweenTheseRoles: "What is the difference between these roles?",
|
|
1904
1939
|
whatTypeOfCompanyDoYouHave: "What type of company do you have?",
|
|
1905
1940
|
whatTypeOfEntityIsPartner: "What type of entity is this partner?",
|
|
1906
|
-
|
|
1941
|
+
whatTypeOfPartnershipAreYou: "What type of entity is the first (primary) partner?",
|
|
1942
|
+
whatTypeOfPartnershipAreYouGuidance: "We'll start by collecting information about one partner. You will be asked to provide details about all other partnership members later.",
|
|
1907
1943
|
whatTypeOfTrusteeAreYou: "What type of trustee are you?",
|
|
1908
1944
|
whatTypeOfYourMembersEntity: "What's the type of your member's entity?",
|
|
1909
1945
|
whereCanIFindTheseNumbersOnMyDriversLicense: "Where can I find these numbers on my driver's license?",
|
|
@@ -1911,6 +1947,7 @@ const defaultLocaleTranslations = {
|
|
|
1911
1947
|
whereDidThisInheritanceComeFrom: "Where did this inheritance come from?",
|
|
1912
1948
|
whereToFindNumbersOnDriversLicense: "Depending on the issuing state the position of these numbers might differ, but the license number is always on the front side of the card and the card number is in most cases located on the back of the license.",
|
|
1913
1949
|
whereToFindNumbersOnDriversLicense__NZ: "The license number and version number are always on the front side of the card.",
|
|
1950
|
+
whichDocumentsQualifyToProveOwnership: "Which documents qualify to prove ownership?",
|
|
1914
1951
|
whichLegalArrangementDoesYourBusinessHave: "Which legal arrangement does your business have?",
|
|
1915
1952
|
whichOfTheseApplyToTheSettlor: "Which of these apply to the settlor? Select all that apply.",
|
|
1916
1953
|
whichTypeOfIdNumberDoYouHave: "Which type of identification number do you have?",
|
|
@@ -1939,6 +1976,7 @@ const defaultLocaleTranslations = {
|
|
|
1939
1976
|
youAreTrusteeManagingTheTrustForBeneficiaries: "You're a trustee managing the trust for beneficiaries.",
|
|
1940
1977
|
youCanOnlyUseABankAccountInTheCountryRegionWhereYouLive: "You can only use a bank account in the country/region where you live.",
|
|
1941
1978
|
youCanOnlyUseABankAccountInTheCountryRegionWhereYourCompanyIsRegistered: "You can only use a bank account in the country/region where your company is registered.",
|
|
1979
|
+
youEntered: "You entered",
|
|
1942
1980
|
youHaveSuccessfullyProvidedTheIdDocument: "You've successfully provided the ID document.",
|
|
1943
1981
|
youMayBeAskedToReUpload: "You may be asked to re-upload another identity document in the future.",
|
|
1944
1982
|
youMustXYearsOldToContinue: "You must be at least %{minimumAge} years old to continue",
|
|
@@ -1999,7 +2037,7 @@ const createLogger = () => {
|
|
|
1999
2037
|
};
|
|
2000
2038
|
let sdkToken;
|
|
2001
2039
|
let fetchSdkToken;
|
|
2002
|
-
const logger$
|
|
2040
|
+
const logger$j = createLogger();
|
|
2003
2041
|
const setSdkToken = (token) => {
|
|
2004
2042
|
sdkToken = token;
|
|
2005
2043
|
};
|
|
@@ -2024,7 +2062,7 @@ const refreshSession = async () => {
|
|
|
2024
2062
|
setSdkToken(token);
|
|
2025
2063
|
isSessionRefreshed = true;
|
|
2026
2064
|
} catch (e) {
|
|
2027
|
-
logger$
|
|
2065
|
+
logger$j.error("Failed to fetch sdk token", e);
|
|
2028
2066
|
}
|
|
2029
2067
|
return isSessionRefreshed;
|
|
2030
2068
|
};
|
|
@@ -5025,7 +5063,7 @@ const useLegalEntities = (ids, options) => {
|
|
|
5025
5063
|
}))
|
|
5026
5064
|
});
|
|
5027
5065
|
};
|
|
5028
|
-
const logger$
|
|
5066
|
+
const logger$i = createLogger();
|
|
5029
5067
|
const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
|
|
5030
5068
|
"businessLines",
|
|
5031
5069
|
"onboardingStatus",
|
|
@@ -5050,7 +5088,7 @@ const useInvalidateRootLegalEntity = () => {
|
|
|
5050
5088
|
queryClient.invalidateQueries({
|
|
5051
5089
|
predicate: ({ queryKey }) => QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED.includes(queryKey[0])
|
|
5052
5090
|
})
|
|
5053
|
-
]).catch(logger$
|
|
5091
|
+
]).catch(logger$i.error),
|
|
5054
5092
|
[rootLegalEntityId.value, queryClient]
|
|
5055
5093
|
);
|
|
5056
5094
|
};
|
|
@@ -5062,7 +5100,7 @@ const loaderSmall = "adyen-kyc-loader-small";
|
|
|
5062
5100
|
const loaderMedium = "adyen-kyc-loader-medium";
|
|
5063
5101
|
const loaderXsmall = "adyen-kyc-loader-xsmall";
|
|
5064
5102
|
const loaderDot = "adyen-kyc-loader-dot";
|
|
5065
|
-
const styles$
|
|
5103
|
+
const styles$d = {
|
|
5066
5104
|
loaderWrapper,
|
|
5067
5105
|
loaderWrapperInline,
|
|
5068
5106
|
loader,
|
|
@@ -5073,16 +5111,16 @@ const styles$j = {
|
|
|
5073
5111
|
loaderDot
|
|
5074
5112
|
};
|
|
5075
5113
|
const sizeMap = {
|
|
5076
|
-
xsmall: styles$
|
|
5077
|
-
small: styles$
|
|
5078
|
-
medium: styles$
|
|
5079
|
-
large: styles$
|
|
5114
|
+
xsmall: styles$d.loaderXsmall,
|
|
5115
|
+
small: styles$d.loaderSmall,
|
|
5116
|
+
medium: styles$d.loaderMedium,
|
|
5117
|
+
large: styles$d.loaderLarge
|
|
5080
5118
|
};
|
|
5081
|
-
const Loader = ({ inline = false, size = "large", dot = false }) => /* @__PURE__ */ jsx$1("div", { className: cx(styles$
|
|
5119
|
+
const Loader = ({ inline = false, size = "large", dot = false }) => /* @__PURE__ */ jsx$1("div", { className: cx(styles$d.loaderWrapper, { [styles$d.loaderWrapperInline]: inline }), children: /* @__PURE__ */ jsx$1(
|
|
5082
5120
|
"div",
|
|
5083
5121
|
{
|
|
5084
5122
|
role: "progressbar",
|
|
5085
|
-
className: cx(styles$
|
|
5123
|
+
className: cx(styles$d.loader, sizeMap[size], { [styles$d.loaderDot]: dot })
|
|
5086
5124
|
}
|
|
5087
5125
|
) });
|
|
5088
5126
|
var TaskStatus = /* @__PURE__ */ ((TaskStatus2) => {
|
|
@@ -5105,7 +5143,6 @@ var TaskTypes = /* @__PURE__ */ ((TaskTypes2) => {
|
|
|
5105
5143
|
TaskTypes2["TASKS_OVERVIEW"] = "TASKS_OVERVIEW";
|
|
5106
5144
|
TaskTypes2["REVIEW"] = "REVIEW";
|
|
5107
5145
|
TaskTypes2["INDIVIDUAL"] = "INDIVIDUAL";
|
|
5108
|
-
TaskTypes2["COMPANY"] = "COMPANY";
|
|
5109
5146
|
TaskTypes2["BUSINESS_DETAILS"] = "BUSINESS_DETAILS";
|
|
5110
5147
|
TaskTypes2["CUSTOMER_SUPPORT"] = "CUSTOMER_SUPPORT";
|
|
5111
5148
|
TaskTypes2["PAYOUT"] = "PAYOUT";
|
|
@@ -5342,12 +5379,12 @@ const unscalableIconNames = [
|
|
|
5342
5379
|
"upload",
|
|
5343
5380
|
"warning"
|
|
5344
5381
|
];
|
|
5345
|
-
const logger$
|
|
5382
|
+
const logger$h = createLogger();
|
|
5346
5383
|
const Svg = ({ className: className2, name, testId, title, type }) => {
|
|
5347
5384
|
const LazyLoadedSvg = svgs[name];
|
|
5348
5385
|
const viewBox = unscalableIconNames.includes(name) ? "0 0 16 16" : void 0;
|
|
5349
5386
|
if (!LazyLoadedSvg) {
|
|
5350
|
-
logger$
|
|
5387
|
+
logger$h.error(`No such svg: "${name}"`);
|
|
5351
5388
|
return null;
|
|
5352
5389
|
}
|
|
5353
5390
|
return /* @__PURE__ */ jsx$1("span", { className: cx(`adyen-kyc-${type}`, className2), "data-testid": testId, children: /* @__PURE__ */ jsx$1(Suspense, { fallback: null, children: viewBox ? /* @__PURE__ */ jsx$1(LazyLoadedSvg, { "aria-hidden": type === "icon", viewBox, title: title || name }) : /* @__PURE__ */ jsx$1(LazyLoadedSvg, { "aria-hidden": type === "icon", title: title || name }) }) });
|
|
@@ -5366,7 +5403,7 @@ const buttonVariantCritical = "adyen-kyc-button-variant-critical";
|
|
|
5366
5403
|
const buttonVariantLink = "adyen-kyc-button-variant-link";
|
|
5367
5404
|
const buttonVariantSurface = "adyen-kyc-button-variant-surface";
|
|
5368
5405
|
const buttonSpinner = "adyen-kyc-button-spinner";
|
|
5369
|
-
const styles$
|
|
5406
|
+
const styles$c = {
|
|
5370
5407
|
button,
|
|
5371
5408
|
buttonFullWidth,
|
|
5372
5409
|
buttonLabel,
|
|
@@ -5395,17 +5432,17 @@ const ButtonBase = ({
|
|
|
5395
5432
|
}) => {
|
|
5396
5433
|
const isDisabled = disabled || loading;
|
|
5397
5434
|
const buttonVariantStyle = {
|
|
5398
|
-
primary: styles$
|
|
5399
|
-
secondary: styles$
|
|
5400
|
-
tertiary: styles$
|
|
5401
|
-
critical: styles$
|
|
5402
|
-
link: styles$
|
|
5403
|
-
surface: styles$
|
|
5435
|
+
primary: styles$c.buttonVariantPrimary,
|
|
5436
|
+
secondary: styles$c.buttonVariantSecondary,
|
|
5437
|
+
tertiary: styles$c.buttonVariantTertiary,
|
|
5438
|
+
critical: styles$c.buttonVariantCritical,
|
|
5439
|
+
link: styles$c.buttonVariantLink,
|
|
5440
|
+
surface: styles$c.buttonVariantSurface
|
|
5404
5441
|
};
|
|
5405
|
-
const rootClassName = cx(styles$
|
|
5406
|
-
[styles$
|
|
5407
|
-
[styles$
|
|
5408
|
-
[styles$
|
|
5442
|
+
const rootClassName = cx(styles$c.button, buttonVariantStyle[variant], {
|
|
5443
|
+
[styles$c.buttonShapeRectangle]: circle === false,
|
|
5444
|
+
[styles$c.buttonShapeCircle]: circle === true,
|
|
5445
|
+
[styles$c.buttonFullWidth]: fullWidth
|
|
5409
5446
|
});
|
|
5410
5447
|
const handleOnClick = (event) => {
|
|
5411
5448
|
event.preventDefault();
|
|
@@ -5423,7 +5460,7 @@ const ButtonBase = ({
|
|
|
5423
5460
|
onClick: handleOnClick,
|
|
5424
5461
|
type,
|
|
5425
5462
|
children: [
|
|
5426
|
-
loading && /* @__PURE__ */ jsx$1("div", { className: styles$
|
|
5463
|
+
loading && /* @__PURE__ */ jsx$1("div", { className: styles$c.buttonSpinner, children: /* @__PURE__ */ jsx$1(Loader, { size: "small" }) }),
|
|
5427
5464
|
children2
|
|
5428
5465
|
]
|
|
5429
5466
|
}
|
|
@@ -5450,8 +5487,8 @@ const Button = ({
|
|
|
5450
5487
|
type,
|
|
5451
5488
|
variant
|
|
5452
5489
|
};
|
|
5453
|
-
const labelClassname = cx(styles$
|
|
5454
|
-
[styles$
|
|
5490
|
+
const labelClassname = cx(styles$c.buttonLabel, {
|
|
5491
|
+
[styles$c.buttonLabelPadding]: variant !== "link"
|
|
5455
5492
|
});
|
|
5456
5493
|
return /* @__PURE__ */ jsx$1(ButtonBase, { ...buttonProps, children: /* @__PURE__ */ jsxs("div", { className: labelClassname, children: [
|
|
5457
5494
|
icon && /* @__PURE__ */ jsx$1(Icon, { name: icon }),
|
|
@@ -5477,7 +5514,7 @@ const IconButton = ({
|
|
|
5477
5514
|
testId,
|
|
5478
5515
|
variant
|
|
5479
5516
|
};
|
|
5480
|
-
return /* @__PURE__ */ jsx$1(ButtonBase, { ...buttonProps, children: /* @__PURE__ */ jsx$1("div", { className: styles$
|
|
5517
|
+
return /* @__PURE__ */ jsx$1(ButtonBase, { ...buttonProps, children: /* @__PURE__ */ jsx$1("div", { className: styles$c.buttonLabel, children: /* @__PURE__ */ jsx$1(Icon, { name: icon }) }) });
|
|
5481
5518
|
};
|
|
5482
5519
|
const entriesOf = (object) => Object.entries(object);
|
|
5483
5520
|
const valuesOf = (object) => Object.values(object);
|
|
@@ -5884,7 +5921,7 @@ const Field = ({
|
|
|
5884
5921
|
};
|
|
5885
5922
|
const loaderWrapperLoader = "adyen-kyc-loader-wrapper-loader";
|
|
5886
5923
|
const loaderWrapperLoaderActive = "adyen-kyc-loader-wrapper-loader-active";
|
|
5887
|
-
const styles$
|
|
5924
|
+
const styles$b = {
|
|
5888
5925
|
loaderWrapperLoader,
|
|
5889
5926
|
loaderWrapperLoaderActive
|
|
5890
5927
|
};
|
|
@@ -5899,13 +5936,13 @@ const LoaderWrapper = ({
|
|
|
5899
5936
|
const opacitySyle = status === "loading" ? {
|
|
5900
5937
|
opacity: formOpacityWhenLoading
|
|
5901
5938
|
} : { opacity: 1 };
|
|
5902
|
-
const loaderWrapperClass = cx(styles$
|
|
5903
|
-
[styles$
|
|
5939
|
+
const loaderWrapperClass = cx(styles$b.loaderWrapperLoader, {
|
|
5940
|
+
[styles$b.loaderWrapperLoaderActive]: status === "loading" && showSpinner
|
|
5904
5941
|
});
|
|
5905
|
-
const overlayClass = cx(styles$
|
|
5942
|
+
const overlayClass = cx(styles$b.loaderWrapper, className2);
|
|
5906
5943
|
return /* @__PURE__ */ jsxs("div", { className: overlayClass, style: { position: "relative" }, children: [
|
|
5907
5944
|
/* @__PURE__ */ jsx$1("div", { className: loaderWrapperClass, children: /* @__PURE__ */ jsx$1(Loader, { size: loaderSize }) }),
|
|
5908
|
-
/* @__PURE__ */ jsx$1("div", { className: styles$
|
|
5945
|
+
/* @__PURE__ */ jsx$1("div", { className: styles$b.loaderWrapperForm, style: opacitySyle, children: children2 })
|
|
5909
5946
|
] });
|
|
5910
5947
|
};
|
|
5911
5948
|
const toast = "adyen-kyc-toast";
|
|
@@ -5915,7 +5952,7 @@ const toastImageError = "adyen-kyc-toast-image-error";
|
|
|
5915
5952
|
const toastLabel = "adyen-kyc-toast-label";
|
|
5916
5953
|
const toastActions = "adyen-kyc-toast-actions";
|
|
5917
5954
|
const toastActionClose = "adyen-kyc-toast-action-close";
|
|
5918
|
-
const styles$
|
|
5955
|
+
const styles$a = {
|
|
5919
5956
|
toast,
|
|
5920
5957
|
toastImage,
|
|
5921
5958
|
toastImageSuccess,
|
|
@@ -5932,9 +5969,9 @@ const Toast = ({ action, duration = 1e4, label, onDismiss, variant = "info" }) =
|
|
|
5932
5969
|
error: "field-error",
|
|
5933
5970
|
success: "checkmark"
|
|
5934
5971
|
};
|
|
5935
|
-
const imageClassname = cx(styles$
|
|
5936
|
-
[styles$
|
|
5937
|
-
[styles$
|
|
5972
|
+
const imageClassname = cx(styles$a.toastImage, {
|
|
5973
|
+
[styles$a.toastImageSuccess]: variant === "success",
|
|
5974
|
+
[styles$a.toastImageError]: variant === "error"
|
|
5938
5975
|
});
|
|
5939
5976
|
useEffect(() => {
|
|
5940
5977
|
let dismissToastTimer;
|
|
@@ -5947,14 +5984,14 @@ const Toast = ({ action, duration = 1e4, label, onDismiss, variant = "info" }) =
|
|
|
5947
5984
|
clearTimeout(dismissToastTimer);
|
|
5948
5985
|
};
|
|
5949
5986
|
}, [duration, onDismiss]);
|
|
5950
|
-
return /* @__PURE__ */ jsxs("div", { "aria-label": label, className: styles$
|
|
5951
|
-
/* @__PURE__ */ jsxs("div", { className: styles$
|
|
5987
|
+
return /* @__PURE__ */ jsxs("div", { "aria-label": label, className: styles$a.toast, role, children: [
|
|
5988
|
+
/* @__PURE__ */ jsxs("div", { className: styles$a.toastLabel, children: [
|
|
5952
5989
|
hasIcon && /* @__PURE__ */ jsx$1("div", { className: imageClassname, "data-testId": iconNames[variant], children: /* @__PURE__ */ jsx$1(Icon, { name: iconNames[variant] }) }),
|
|
5953
5990
|
label
|
|
5954
5991
|
] }),
|
|
5955
|
-
/* @__PURE__ */ jsxs("div", { className: styles$
|
|
5992
|
+
/* @__PURE__ */ jsxs("div", { className: styles$a.toastActions, children: [
|
|
5956
5993
|
hasAction && /* @__PURE__ */ jsx$1(Button, { onClick: action.onClick, children: action.label }),
|
|
5957
|
-
/* @__PURE__ */ jsx$1("div", { className: styles$
|
|
5994
|
+
/* @__PURE__ */ jsx$1("div", { className: styles$a.toastActionClose, children: /* @__PURE__ */ jsx$1(IconButton, { icon: "cross", ariaLabel: "Close", onClick: onDismiss }) })
|
|
5958
5995
|
] })
|
|
5959
5996
|
] });
|
|
5960
5997
|
};
|
|
@@ -6001,125 +6038,6 @@ const KEYBOARD_KEYS = {
|
|
|
6001
6038
|
home: "Home",
|
|
6002
6039
|
end: "End"
|
|
6003
6040
|
};
|
|
6004
|
-
const modal = "adyen-kyc-modal";
|
|
6005
|
-
const modalBody = "adyen-kyc-modal-body";
|
|
6006
|
-
const modalBodyHeight = "adyen-kyc-modal-body-height";
|
|
6007
|
-
const modalTransitionSlideIn = "adyen-kyc-modal-transition-slide-in";
|
|
6008
|
-
const modalTransitionDropIn = "adyen-kyc-modal-transition-drop-in";
|
|
6009
|
-
const modalInset = "adyen-kyc-modal-inset";
|
|
6010
|
-
const modalSmall = "adyen-kyc-modal-small";
|
|
6011
|
-
const modalMedium = "adyen-kyc-modal-medium";
|
|
6012
|
-
const modalLarge = "adyen-kyc-modal-large";
|
|
6013
|
-
const modalFullscreen = "adyen-kyc-modal-fullscreen";
|
|
6014
|
-
const modalButton = "adyen-kyc-modal-button";
|
|
6015
|
-
const modalHeader = "adyen-kyc-modal-header";
|
|
6016
|
-
const modalContent = "adyen-kyc-modal-content";
|
|
6017
|
-
const modalFooter = "adyen-kyc-modal-footer";
|
|
6018
|
-
const styles$f = {
|
|
6019
|
-
modal,
|
|
6020
|
-
modalBody,
|
|
6021
|
-
modalBodyHeight,
|
|
6022
|
-
modalTransitionSlideIn,
|
|
6023
|
-
modalTransitionDropIn,
|
|
6024
|
-
modalInset,
|
|
6025
|
-
modalSmall,
|
|
6026
|
-
modalMedium,
|
|
6027
|
-
modalLarge,
|
|
6028
|
-
modalFullscreen,
|
|
6029
|
-
modalButton,
|
|
6030
|
-
modalHeader,
|
|
6031
|
-
modalContent,
|
|
6032
|
-
modalFooter
|
|
6033
|
-
};
|
|
6034
|
-
const Modal = ({
|
|
6035
|
-
ariaLabel,
|
|
6036
|
-
children: children2,
|
|
6037
|
-
inset = false,
|
|
6038
|
-
onClose,
|
|
6039
|
-
showCloseButton = true,
|
|
6040
|
-
size = "medium",
|
|
6041
|
-
transition = "slideIn"
|
|
6042
|
-
}) => {
|
|
6043
|
-
const dialogRef = useRef(null);
|
|
6044
|
-
const shouldShowCloseButton = onClose !== void 0 && showCloseButton;
|
|
6045
|
-
useLayoutEffect(() => {
|
|
6046
|
-
const dialogElement = dialogRef.current;
|
|
6047
|
-
if (!dialogElement) return;
|
|
6048
|
-
const handleCancel = (event) => {
|
|
6049
|
-
event.preventDefault();
|
|
6050
|
-
onClose == null ? void 0 : onClose();
|
|
6051
|
-
};
|
|
6052
|
-
const handleKeydown = (event) => {
|
|
6053
|
-
if (event.key !== KEYBOARD_KEYS.escape) return;
|
|
6054
|
-
event.preventDefault();
|
|
6055
|
-
onClose == null ? void 0 : onClose();
|
|
6056
|
-
};
|
|
6057
|
-
try {
|
|
6058
|
-
document.addEventListener("keydown", handleKeydown);
|
|
6059
|
-
dialogElement.addEventListener("cancel", handleCancel);
|
|
6060
|
-
dialogElement.showModal();
|
|
6061
|
-
} catch {
|
|
6062
|
-
console.warn(
|
|
6063
|
-
"Could not call `showModal()` on the <dialog>; likely it was already removed from the document."
|
|
6064
|
-
);
|
|
6065
|
-
return;
|
|
6066
|
-
}
|
|
6067
|
-
dialogElement.focus();
|
|
6068
|
-
dialogElement.blur();
|
|
6069
|
-
return () => {
|
|
6070
|
-
dialogElement.removeEventListener("cancel", handleCancel);
|
|
6071
|
-
document.removeEventListener("keydown", handleKeydown);
|
|
6072
|
-
dialogElement.close();
|
|
6073
|
-
};
|
|
6074
|
-
}, []);
|
|
6075
|
-
const transitionStyle = {
|
|
6076
|
-
slideIn: styles$f.modalTransitionSlideIn,
|
|
6077
|
-
dropIn: styles$f.modalTransitionDropIn
|
|
6078
|
-
};
|
|
6079
|
-
const sizeStyle = {
|
|
6080
|
-
small: styles$f.modalSmall,
|
|
6081
|
-
medium: styles$f.modalMedium,
|
|
6082
|
-
large: styles$f.modalLarge,
|
|
6083
|
-
fullscreen: styles$f.modalFullscreen
|
|
6084
|
-
};
|
|
6085
|
-
const rootClassname = cx(styles$f.modal, transitionStyle[transition], sizeStyle[size]);
|
|
6086
|
-
const bodyClassname = cx(styles$f.modalBody, {
|
|
6087
|
-
[styles$f.modalInset]: inset === true,
|
|
6088
|
-
[styles$f.modalBodyHeight]: size !== "small"
|
|
6089
|
-
});
|
|
6090
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6091
|
-
/* @__PURE__ */ jsx$1("style", { children: `html,body { overflow: hidden !important; }` }),
|
|
6092
|
-
/* @__PURE__ */ jsxs(
|
|
6093
|
-
"dialog",
|
|
6094
|
-
{
|
|
6095
|
-
"aria-label": ariaLabel,
|
|
6096
|
-
"aria-modal": "true",
|
|
6097
|
-
className: rootClassname,
|
|
6098
|
-
onClose,
|
|
6099
|
-
ref: dialogRef,
|
|
6100
|
-
children: [
|
|
6101
|
-
shouldShowCloseButton && /* @__PURE__ */ jsx$1("div", { className: styles$f.modalButton, children: /* @__PURE__ */ jsx$1(
|
|
6102
|
-
IconButton,
|
|
6103
|
-
{
|
|
6104
|
-
ariaLabel: "Close",
|
|
6105
|
-
circle: true,
|
|
6106
|
-
icon: "cross",
|
|
6107
|
-
onClick: onClose,
|
|
6108
|
-
variant: "surface"
|
|
6109
|
-
}
|
|
6110
|
-
) }),
|
|
6111
|
-
/* @__PURE__ */ jsx$1("div", { className: bodyClassname, "data-testid": "modal-body", children: children2 })
|
|
6112
|
-
]
|
|
6113
|
-
}
|
|
6114
|
-
)
|
|
6115
|
-
] });
|
|
6116
|
-
};
|
|
6117
|
-
const ModalHeader = ({ children: children2 }) => /* @__PURE__ */ jsx$1("header", { className: styles$f.modalHeader, children: children2 });
|
|
6118
|
-
const ModalContent = ({ children: children2 }) => /* @__PURE__ */ jsx$1("section", { className: styles$f.modalContent, children: children2 });
|
|
6119
|
-
const ModalFooter = ({ children: children2 }) => /* @__PURE__ */ jsx$1("footer", { className: styles$f.modalFooter, children: children2 });
|
|
6120
|
-
const MaybeModal = ({ ariaLabel, children: children2, inline = false, onClose }) => {
|
|
6121
|
-
return inline ? /* @__PURE__ */ jsx$1(Fragment, { children: children2 }) : /* @__PURE__ */ jsx$1(Modal, { onClose, ariaLabel, children: /* @__PURE__ */ jsx$1(ToastContextProvider, { children: children2 }) });
|
|
6122
|
-
};
|
|
6123
6041
|
const createSelectFocus = ({
|
|
6124
6042
|
activeItems,
|
|
6125
6043
|
filteredItems: items
|
|
@@ -6417,7 +6335,7 @@ const selectInputNonFilterable = "adyen-kyc-select-input--non-filterable";
|
|
|
6417
6335
|
const selectInputPlaceholder = "adyen-kyc-select-input--placeholder";
|
|
6418
6336
|
const ignorePointerEvents = "adyen-kyc-ignore-pointer-events";
|
|
6419
6337
|
const handlePointerEvents = "adyen-kyc-handle-pointer-events";
|
|
6420
|
-
const styles$
|
|
6338
|
+
const styles$9 = {
|
|
6421
6339
|
selectInputWrapper,
|
|
6422
6340
|
selectInputActive,
|
|
6423
6341
|
selectInputReadonly,
|
|
@@ -6516,17 +6434,17 @@ function SelectButton({
|
|
|
6516
6434
|
"div",
|
|
6517
6435
|
{
|
|
6518
6436
|
className: cx({
|
|
6519
|
-
[styles$
|
|
6520
|
-
[styles$
|
|
6521
|
-
[styles$
|
|
6522
|
-
[styles$
|
|
6523
|
-
[styles$
|
|
6524
|
-
[styles$
|
|
6525
|
-
[styles$
|
|
6526
|
-
[styles$
|
|
6527
|
-
[styles$
|
|
6437
|
+
[styles$9.selectInputWrapper]: true,
|
|
6438
|
+
[styles$9.selectInputMinimal]: minimal,
|
|
6439
|
+
[styles$9.selectInputReadonly]: readonly,
|
|
6440
|
+
[styles$9.selectInputActive]: isFocused,
|
|
6441
|
+
[styles$9.selectInputListOpen]: showList,
|
|
6442
|
+
[styles$9.selectInputInvalid]: isInvalid,
|
|
6443
|
+
[styles$9.selectInputSearch]: filterable === "prefiltered",
|
|
6444
|
+
[styles$9.selectInputWrapperFilterable]: filterable,
|
|
6445
|
+
[styles$9.selectInputWrapperNonFilterable]: !filterable,
|
|
6528
6446
|
// To resolve a bug where filterable select `<input>`s weren't focusable on iOS
|
|
6529
|
-
[styles$
|
|
6447
|
+
[styles$9.ignorePointerEvents]: isAppleMobile
|
|
6530
6448
|
}),
|
|
6531
6449
|
ref: wrapperRef,
|
|
6532
6450
|
onClick: handleClick,
|
|
@@ -6553,13 +6471,13 @@ function SelectButton({
|
|
|
6553
6471
|
"aria-autocomplete": filterable ? "list" : void 0,
|
|
6554
6472
|
autoComplete: "off",
|
|
6555
6473
|
className: cx({
|
|
6556
|
-
[styles$
|
|
6557
|
-
[styles$
|
|
6558
|
-
[styles$
|
|
6559
|
-
[styles$
|
|
6560
|
-
[styles$
|
|
6474
|
+
[styles$9.selectInput]: true,
|
|
6475
|
+
[styles$9.selectInputFilterable]: filterable,
|
|
6476
|
+
[styles$9.selectInputNonFilterable]: !filterable,
|
|
6477
|
+
[styles$9.selectInputMinimal]: minimal,
|
|
6478
|
+
[styles$9.selectInputReadonly]: readonly,
|
|
6561
6479
|
// To resolve a bug where filterable select `<input>`s weren't focusable on iOS
|
|
6562
|
-
[styles$
|
|
6480
|
+
[styles$9.handlePointerEvents]: isAppleMobile
|
|
6563
6481
|
}),
|
|
6564
6482
|
placeholder,
|
|
6565
6483
|
value,
|
|
@@ -6569,7 +6487,7 @@ function SelectButton({
|
|
|
6569
6487
|
onKeyDown: handleKeyDown
|
|
6570
6488
|
}
|
|
6571
6489
|
),
|
|
6572
|
-
!filterable && !value ? /* @__PURE__ */ jsx$1("span", { className: styles$
|
|
6490
|
+
!filterable && !value ? /* @__PURE__ */ jsx$1("span", { className: styles$9.selectInputPlaceholder, children: placeholder }) : void 0,
|
|
6573
6491
|
loading && /* @__PURE__ */ jsx$1(Loader, { size: "small", dot: true })
|
|
6574
6492
|
]
|
|
6575
6493
|
}
|
|
@@ -6673,7 +6591,7 @@ const SelectListItem = ({
|
|
|
6673
6591
|
] })
|
|
6674
6592
|
}
|
|
6675
6593
|
);
|
|
6676
|
-
const logger$
|
|
6594
|
+
const logger$g = createLogger();
|
|
6677
6595
|
const DEFAULT_ITEM_HEIGHT = 36;
|
|
6678
6596
|
function SelectList({
|
|
6679
6597
|
selectListId,
|
|
@@ -6762,7 +6680,7 @@ function SelectList({
|
|
|
6762
6680
|
if (itemEl) {
|
|
6763
6681
|
itemEl.focus();
|
|
6764
6682
|
} else {
|
|
6765
|
-
logger$
|
|
6683
|
+
logger$g.warn("[SelectList] still cannot see the option", item.name);
|
|
6766
6684
|
}
|
|
6767
6685
|
}, 20);
|
|
6768
6686
|
},
|
|
@@ -6827,17 +6745,17 @@ function SelectList({
|
|
|
6827
6745
|
const allItemsVisible = totalItems <= maxVisibleItems;
|
|
6828
6746
|
const [showAbove, setShowAbove] = useState(false);
|
|
6829
6747
|
useEffect(() => {
|
|
6830
|
-
const
|
|
6748
|
+
const list = listRef.current;
|
|
6831
6749
|
const input = inputRef.current;
|
|
6832
6750
|
const resizeObserver = new ResizeObserver(() => {
|
|
6833
|
-
const dropdownHeight =
|
|
6751
|
+
const dropdownHeight = list.offsetHeight;
|
|
6834
6752
|
const windowHeight = window.innerHeight;
|
|
6835
6753
|
const position = input.getBoundingClientRect().bottom;
|
|
6836
6754
|
const isSpaceBelow = windowHeight - position > dropdownHeight;
|
|
6837
6755
|
const isSpaceAbove = position > dropdownHeight;
|
|
6838
6756
|
setShowAbove(!isSpaceBelow && isSpaceAbove);
|
|
6839
6757
|
});
|
|
6840
|
-
resizeObserver.observe(
|
|
6758
|
+
resizeObserver.observe(list);
|
|
6841
6759
|
return () => resizeObserver.disconnect();
|
|
6842
6760
|
}, [inputRef, listRef]);
|
|
6843
6761
|
return /* @__PURE__ */ jsx$1(
|
|
@@ -7151,11 +7069,6 @@ const Select = ({
|
|
|
7151
7069
|
}
|
|
7152
7070
|
);
|
|
7153
7071
|
};
|
|
7154
|
-
const spacer$1 = "adyen-kyc-spacer";
|
|
7155
|
-
const styles$d = {
|
|
7156
|
-
spacer: spacer$1
|
|
7157
|
-
};
|
|
7158
|
-
const Spacer = () => /* @__PURE__ */ jsx$1("div", { className: styles$d.spacer });
|
|
7159
7072
|
const ExperimentsContext = createContext$1({
|
|
7160
7073
|
isExperimentEnabled: () => false,
|
|
7161
7074
|
enableVersionExperiment: () => {
|
|
@@ -7171,13 +7084,6 @@ function useExperimentsContext() {
|
|
|
7171
7084
|
}
|
|
7172
7085
|
return context;
|
|
7173
7086
|
}
|
|
7174
|
-
function useToastContext() {
|
|
7175
|
-
const context = useContext$1(ToastContext);
|
|
7176
|
-
if (context === void 0) {
|
|
7177
|
-
throw new Error("useToastContext must be used within a ToastProvider");
|
|
7178
|
-
}
|
|
7179
|
-
return context;
|
|
7180
|
-
}
|
|
7181
7087
|
var LegalEntityType = /* @__PURE__ */ ((LegalEntityType2) => {
|
|
7182
7088
|
LegalEntityType2["INDIVIDUAL"] = "individual";
|
|
7183
7089
|
LegalEntityType2["ORGANIZATION"] = "organization";
|
|
@@ -7208,7 +7114,7 @@ class ValidationResult {
|
|
|
7208
7114
|
return this.validationResults;
|
|
7209
7115
|
}
|
|
7210
7116
|
}
|
|
7211
|
-
const logger$
|
|
7117
|
+
const logger$f = createLogger();
|
|
7212
7118
|
const useAsyncValidator = (asyncRules) => {
|
|
7213
7119
|
const [asyncValidationResults, setAsyncValidationResults] = useState({});
|
|
7214
7120
|
const clearAsyncValidationResults = useCallback(
|
|
@@ -7237,7 +7143,7 @@ const useAsyncValidator = (asyncRules) => {
|
|
|
7237
7143
|
}
|
|
7238
7144
|
])
|
|
7239
7145
|
}));
|
|
7240
|
-
}).catch(logger$
|
|
7146
|
+
}).catch(logger$f.error);
|
|
7241
7147
|
},
|
|
7242
7148
|
[asyncRules, clearAsyncValidationResults]
|
|
7243
7149
|
);
|
|
@@ -7873,7 +7779,7 @@ function useForm({
|
|
|
7873
7779
|
const skeleton = "adyen-kyc-skeleton";
|
|
7874
7780
|
const skeletonCircle = "adyen-kyc-skeleton-circle";
|
|
7875
7781
|
const skeletonText = "adyen-kyc-skeleton-text";
|
|
7876
|
-
const styles$
|
|
7782
|
+
const styles$8 = {
|
|
7877
7783
|
skeleton,
|
|
7878
7784
|
skeletonCircle,
|
|
7879
7785
|
skeletonText
|
|
@@ -7884,9 +7790,9 @@ const Skeleton = ({
|
|
|
7884
7790
|
height = "1em",
|
|
7885
7791
|
width
|
|
7886
7792
|
}) => {
|
|
7887
|
-
const classNames = cx(styles$
|
|
7888
|
-
[styles$
|
|
7889
|
-
[styles$
|
|
7793
|
+
const classNames = cx(styles$8.skeleton, {
|
|
7794
|
+
[styles$8.skeletonCircle]: circle,
|
|
7795
|
+
[styles$8.skeletonText]: text
|
|
7890
7796
|
});
|
|
7891
7797
|
return /* @__PURE__ */ jsx$1("div", { className: classNames, style: { height, width } });
|
|
7892
7798
|
};
|
|
@@ -7902,7 +7808,7 @@ const accordionContent = "adyen-kyc-accordion-content";
|
|
|
7902
7808
|
const accordionWithIcon = "adyen-kyc-accordion-with-icon";
|
|
7903
7809
|
const accordionArrow = "adyen-kyc-accordion-arrow";
|
|
7904
7810
|
const accordionArrowRight = "adyen-kyc-accordion-arrow-right";
|
|
7905
|
-
const styles$
|
|
7811
|
+
const styles$7 = {
|
|
7906
7812
|
accordion,
|
|
7907
7813
|
accordionSummary,
|
|
7908
7814
|
accordionBasic,
|
|
@@ -7930,34 +7836,34 @@ const Accordion = ({
|
|
|
7930
7836
|
onToggle(e.newState === "closed" ? "close" : "open");
|
|
7931
7837
|
};
|
|
7932
7838
|
const variantMap2 = {
|
|
7933
|
-
basic: styles$
|
|
7934
|
-
info: styles$
|
|
7935
|
-
error: styles$
|
|
7936
|
-
warning: styles$
|
|
7937
|
-
success: styles$
|
|
7839
|
+
basic: styles$7.accordionBasic,
|
|
7840
|
+
info: styles$7.accordionInfo,
|
|
7841
|
+
error: styles$7.accordionError,
|
|
7842
|
+
warning: styles$7.accordionWarning,
|
|
7843
|
+
success: styles$7.accordionSuccess
|
|
7938
7844
|
};
|
|
7939
7845
|
return /* @__PURE__ */ jsxs(
|
|
7940
7846
|
"details",
|
|
7941
7847
|
{
|
|
7942
7848
|
onToggle: handleToggle,
|
|
7943
|
-
className: cx(className2, styles$
|
|
7944
|
-
[styles$
|
|
7945
|
-
[styles$
|
|
7849
|
+
className: cx(className2, styles$7.accordion, variantMap2[variant], {
|
|
7850
|
+
[styles$7.accordionWithIcon]: expandOnLeft,
|
|
7851
|
+
[styles$7.accordionNarrow]: narrow
|
|
7946
7852
|
}),
|
|
7947
7853
|
children: [
|
|
7948
|
-
/* @__PURE__ */ jsxs("summary", { className: styles$
|
|
7949
|
-
expandOnLeft && /* @__PURE__ */ jsx$1(Icon, { name: "chevron-down", className: styles$
|
|
7854
|
+
/* @__PURE__ */ jsxs("summary", { className: styles$7.accordionSummary, children: [
|
|
7855
|
+
expandOnLeft && /* @__PURE__ */ jsx$1(Icon, { name: "chevron-down", className: styles$7.accordionArrow }),
|
|
7950
7856
|
/* @__PURE__ */ jsx$1(Slot, { name: "icon" }),
|
|
7951
7857
|
/* @__PURE__ */ jsx$1(Typography, { el: "h3", variant: "body-strongest", children: /* @__PURE__ */ jsx$1(Slot, { name: "title", children: /* @__PURE__ */ jsx$1(Skeleton, {}) }) }),
|
|
7952
7858
|
!expandOnLeft && /* @__PURE__ */ jsx$1(
|
|
7953
7859
|
Icon,
|
|
7954
7860
|
{
|
|
7955
7861
|
name: "chevron-down",
|
|
7956
|
-
className: cx(styles$
|
|
7862
|
+
className: cx(styles$7.accordionArrow, styles$7.accordionArrowRight)
|
|
7957
7863
|
}
|
|
7958
7864
|
)
|
|
7959
7865
|
] }),
|
|
7960
|
-
/* @__PURE__ */ jsx$1("div", { className: styles$
|
|
7866
|
+
/* @__PURE__ */ jsx$1("div", { className: styles$7.accordionContent, children: /* @__PURE__ */ jsx$1(Slot, { name: "content", children: /* @__PURE__ */ jsx$1(Skeleton, {}) }) })
|
|
7961
7867
|
]
|
|
7962
7868
|
}
|
|
7963
7869
|
);
|
|
@@ -7978,7 +7884,7 @@ const alertIconError = "adyen-kyc-alert-icon-error";
|
|
|
7978
7884
|
const alertIconWarning = "adyen-kyc-alert-icon-warning";
|
|
7979
7885
|
const alertIconSuccess = "adyen-kyc-alert-icon-success";
|
|
7980
7886
|
const alertTitle = "adyen-kyc-alert-title";
|
|
7981
|
-
const styles$
|
|
7887
|
+
const styles$6 = {
|
|
7982
7888
|
alert,
|
|
7983
7889
|
alertWithoutIcon,
|
|
7984
7890
|
alertExplanation,
|
|
@@ -7997,19 +7903,19 @@ const styles$a = {
|
|
|
7997
7903
|
alertTitle
|
|
7998
7904
|
};
|
|
7999
7905
|
const variantMap = {
|
|
8000
|
-
basic: styles$
|
|
8001
|
-
info: styles$
|
|
8002
|
-
error: styles$
|
|
8003
|
-
warning: styles$
|
|
8004
|
-
success: styles$
|
|
7906
|
+
basic: styles$6.alertBasic,
|
|
7907
|
+
info: styles$6.alertInfo,
|
|
7908
|
+
error: styles$6.alertError,
|
|
7909
|
+
warning: styles$6.alertWarning,
|
|
7910
|
+
success: styles$6.alertSuccess
|
|
8005
7911
|
};
|
|
8006
7912
|
const iconVariantMap = {
|
|
8007
7913
|
basic: "",
|
|
8008
7914
|
// does not exist
|
|
8009
|
-
info: styles$
|
|
8010
|
-
error: styles$
|
|
8011
|
-
warning: styles$
|
|
8012
|
-
success: styles$
|
|
7915
|
+
info: styles$6.alertIconInfo,
|
|
7916
|
+
error: styles$6.alertIconError,
|
|
7917
|
+
warning: styles$6.alertIconWarning,
|
|
7918
|
+
success: styles$6.alertIconSuccess
|
|
8013
7919
|
};
|
|
8014
7920
|
const Alert = ({
|
|
8015
7921
|
title,
|
|
@@ -8035,7 +7941,7 @@ const Alert = ({
|
|
|
8035
7941
|
if (isValidElement(icon)) {
|
|
8036
7942
|
return icon;
|
|
8037
7943
|
}
|
|
8038
|
-
return /* @__PURE__ */ jsx$1("span", { className: cx(styles$
|
|
7944
|
+
return /* @__PURE__ */ jsx$1("span", { className: cx(styles$6.alertIcon, iconVariantMap[variant]), children: /* @__PURE__ */ jsx$1(AlertIcon, { variant }) });
|
|
8039
7945
|
};
|
|
8040
7946
|
const renderedIcon = renderIcon();
|
|
8041
7947
|
if (type === "collapsible") {
|
|
@@ -8044,7 +7950,7 @@ const Alert = ({
|
|
|
8044
7950
|
/* @__PURE__ */ jsx$1("template", { slot: "icon", children: renderedIcon }),
|
|
8045
7951
|
/* @__PURE__ */ jsxs("template", { slot: "content", children: [
|
|
8046
7952
|
children2,
|
|
8047
|
-
!!actions && /* @__PURE__ */ jsx$1("div", { className: styles$
|
|
7953
|
+
!!actions && /* @__PURE__ */ jsx$1("div", { className: styles$6.alertActions, children: actions })
|
|
8048
7954
|
] })
|
|
8049
7955
|
] });
|
|
8050
7956
|
}
|
|
@@ -8052,18 +7958,18 @@ const Alert = ({
|
|
|
8052
7958
|
return /* @__PURE__ */ jsxs(
|
|
8053
7959
|
"div",
|
|
8054
7960
|
{
|
|
8055
|
-
className: cx(styles$
|
|
8056
|
-
[styles$
|
|
7961
|
+
className: cx(styles$6.alert, className2, variantMap[variant], {
|
|
7962
|
+
[styles$6.alertWithoutIcon]: !renderedIcon
|
|
8057
7963
|
}),
|
|
8058
7964
|
role: "alert",
|
|
8059
7965
|
"data-testid": testId,
|
|
8060
7966
|
children: [
|
|
8061
|
-
/* @__PURE__ */ jsxs("div", { className: styles$
|
|
7967
|
+
/* @__PURE__ */ jsxs("div", { className: styles$6.alertHeader, children: [
|
|
8062
7968
|
renderedIcon,
|
|
8063
|
-
title && /* @__PURE__ */ jsx$1(Typography, { el: "h3", variant: "body-strongest", className: styles$
|
|
8064
|
-
!!actions && /* @__PURE__ */ jsx$1("div", { className: styles$
|
|
7969
|
+
title && /* @__PURE__ */ jsx$1(Typography, { el: "h3", variant: "body-strongest", className: styles$6.alertTitle, children: title }),
|
|
7970
|
+
!!actions && /* @__PURE__ */ jsx$1("div", { className: styles$6.alertActions, children: actions })
|
|
8065
7971
|
] }),
|
|
8066
|
-
!!children2 && /* @__PURE__ */ jsx$1("div", { className: styles$
|
|
7972
|
+
!!children2 && /* @__PURE__ */ jsx$1("div", { className: styles$6.alertExplanation, children: children2 })
|
|
8067
7973
|
]
|
|
8068
7974
|
}
|
|
8069
7975
|
);
|
|
@@ -8071,19 +7977,19 @@ const Alert = ({
|
|
|
8071
7977
|
return /* @__PURE__ */ jsxs(
|
|
8072
7978
|
"div",
|
|
8073
7979
|
{
|
|
8074
|
-
className: cx(styles$
|
|
8075
|
-
[styles$
|
|
7980
|
+
className: cx(styles$6.alert, className2, variantMap[variant], {
|
|
7981
|
+
[styles$6.alertWithoutIcon]: !renderedIcon
|
|
8076
7982
|
}),
|
|
8077
7983
|
role: "alert",
|
|
8078
7984
|
"data-testid": testId,
|
|
8079
7985
|
children: [
|
|
8080
|
-
/* @__PURE__ */ jsxs("div", { className: styles$
|
|
7986
|
+
/* @__PURE__ */ jsxs("div", { className: styles$6.alertHeader, children: [
|
|
8081
7987
|
renderedIcon,
|
|
8082
|
-
title && /* @__PURE__ */ jsx$1(Typography, { el: "h3", variant: "body-strongest", className: styles$
|
|
7988
|
+
title && /* @__PURE__ */ jsx$1(Typography, { el: "h3", variant: "body-strongest", className: styles$6.alertTitle, children: title }),
|
|
8083
7989
|
type === "dismissible" && /* @__PURE__ */ jsx$1(Button, { variant: "tertiary", icon: "cross", onClick: closeAlert, children: i18n.get("close") })
|
|
8084
7990
|
] }),
|
|
8085
|
-
!!children2 && /* @__PURE__ */ jsx$1("div", { className: styles$
|
|
8086
|
-
!!actions && /* @__PURE__ */ jsx$1("div", { className: styles$
|
|
7991
|
+
!!children2 && /* @__PURE__ */ jsx$1("div", { className: styles$6.alertExplanation, children: children2 }),
|
|
7992
|
+
!!actions && /* @__PURE__ */ jsx$1("div", { className: styles$6.alertActions, children: actions })
|
|
8087
7993
|
]
|
|
8088
7994
|
}
|
|
8089
7995
|
);
|
|
@@ -8771,20 +8677,6 @@ const hasMinRequiredDecisionMakerCount = (rootLegalEntity) => {
|
|
|
8771
8677
|
);
|
|
8772
8678
|
});
|
|
8773
8679
|
};
|
|
8774
|
-
const localizeDateString = (dateString, locale, options) => {
|
|
8775
|
-
const logger2 = createLogger();
|
|
8776
|
-
const formatOptions = {
|
|
8777
|
-
timeZone: (options == null ? void 0 : options.timeZone) ?? "UTC",
|
|
8778
|
-
year: (options == null ? void 0 : options.year) ?? "numeric",
|
|
8779
|
-
month: (options == null ? void 0 : options.month) ?? "long",
|
|
8780
|
-
day: (options == null ? void 0 : options.day) ?? "2-digit"
|
|
8781
|
-
};
|
|
8782
|
-
try {
|
|
8783
|
-
return new Intl.DateTimeFormat(locale, formatOptions).format(new Date(dateString));
|
|
8784
|
-
} catch (err) {
|
|
8785
|
-
logger2.error(err);
|
|
8786
|
-
}
|
|
8787
|
-
};
|
|
8788
8680
|
var SettingNames = /* @__PURE__ */ ((SettingNames2) => {
|
|
8789
8681
|
SettingNames2["AcceptedCountries"] = "acceptedCountries";
|
|
8790
8682
|
SettingNames2["AllowBankAccountFormatSelection"] = "allowBankAccountFormatSelection";
|
|
@@ -8882,10 +8774,8 @@ const invalidInputRemediationActionMappings = {
|
|
|
8882
8774
|
"1_504": [{ key: "vatDocument" }],
|
|
8883
8775
|
"1_505": [{ key: "proofOfAddress" }],
|
|
8884
8776
|
"1_506": [{ key: "proofOfAddress" }],
|
|
8885
|
-
"1_507": [],
|
|
8886
|
-
|
|
8887
|
-
"1_508": [],
|
|
8888
|
-
// [{ key: 'documents', type: ['proofOfOwnership'] }] // <---- See DEV-50768
|
|
8777
|
+
"1_507": [{ key: "proofOfOwnership" }],
|
|
8778
|
+
"1_508": [{ key: "proofOfOwnership" }],
|
|
8889
8779
|
"1_512": [{ key: "vatDocument" }, { key: "organization.vatNumber" }],
|
|
8890
8780
|
"1_513": [{ key: "vatDocument" }, { key: "organization.vatNumber" }],
|
|
8891
8781
|
"1_524": [{ key: "organization.registeredAddress.street" }],
|
|
@@ -8921,6 +8811,7 @@ const dataMissingRemediationsToFieldsMap = {
|
|
|
8921
8811
|
"2_158": ["vatNumber", "exemptedFromVat", "vatAbsenceReason"],
|
|
8922
8812
|
"2_170": ["organization.taxInformation"],
|
|
8923
8813
|
"2_184": ["constitutionalDocument"],
|
|
8814
|
+
"2_188": ["proofOfOwnership"],
|
|
8924
8815
|
"2_194": ["organization.registeredAddress.postalCode"],
|
|
8925
8816
|
"2_206": ["organization.registeredAddress.street"],
|
|
8926
8817
|
"2_208": ["organization.registeredAddress.city"],
|
|
@@ -9166,10 +9057,10 @@ function useResetGlobalData(caller) {
|
|
|
9166
9057
|
);
|
|
9167
9058
|
}
|
|
9168
9059
|
const divider = "adyen-kyc-divider";
|
|
9169
|
-
const styles$
|
|
9060
|
+
const styles$5 = {
|
|
9170
9061
|
divider
|
|
9171
9062
|
};
|
|
9172
|
-
const Divider = () => /* @__PURE__ */ jsx$1("hr", { className: styles$
|
|
9063
|
+
const Divider = () => /* @__PURE__ */ jsx$1("hr", { className: styles$5.divider });
|
|
9173
9064
|
function FormHeader({
|
|
9174
9065
|
heading,
|
|
9175
9066
|
description,
|
|
@@ -9258,25 +9149,6 @@ function ServerValidationErrors({
|
|
|
9258
9149
|
)) })
|
|
9259
9150
|
] }) });
|
|
9260
9151
|
}
|
|
9261
|
-
const list = "adyen-kyc-list";
|
|
9262
|
-
const listNoMarkers = "adyen-kyc-list-no-markers";
|
|
9263
|
-
const listItem = "adyen-kyc-list-item";
|
|
9264
|
-
const listOrdered = "adyen-kyc-list-ordered";
|
|
9265
|
-
const styles$8 = {
|
|
9266
|
-
list,
|
|
9267
|
-
listNoMarkers,
|
|
9268
|
-
listItem,
|
|
9269
|
-
listOrdered
|
|
9270
|
-
};
|
|
9271
|
-
function List({ className: className2, ordered, noMarkers, items }) {
|
|
9272
|
-
const classNames = cx([
|
|
9273
|
-
styles$8.list,
|
|
9274
|
-
ordered && styles$8.listOrdered,
|
|
9275
|
-
noMarkers && styles$8.listNoMarkers,
|
|
9276
|
-
className2
|
|
9277
|
-
]);
|
|
9278
|
-
return /* @__PURE__ */ jsx$1("ul", { className: classNames, children: items.map((item, idx) => /* @__PURE__ */ jsx$1("li", { className: styles$8.listItem, children: item }, idx)) });
|
|
9279
|
-
}
|
|
9280
9152
|
function VerificationErrors({
|
|
9281
9153
|
verificationErrors,
|
|
9282
9154
|
formUtils
|
|
@@ -9308,7 +9180,7 @@ function VerificationErrors({
|
|
|
9308
9180
|
});
|
|
9309
9181
|
uploadFilesCopy = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
9310
9182
|
formUtils.getLabel("uploadTheFollowingDocuments"),
|
|
9311
|
-
/* @__PURE__ */ jsx$1(
|
|
9183
|
+
/* @__PURE__ */ jsx$1("ul", { children: uploadFieldListItems.map((item, i) => /* @__PURE__ */ jsx$1("li", { children: item }, i)) })
|
|
9312
9184
|
] });
|
|
9313
9185
|
} else {
|
|
9314
9186
|
const firstUploadField = uploadFields[0];
|
|
@@ -9989,7 +9861,7 @@ const useAsyncAccountDetailsValidationRules = (payload, hasEmptyFields2, isAccou
|
|
|
9989
9861
|
}, [mutateAsync, hasEmptyFields2, payload]);
|
|
9990
9862
|
return accountValidationData;
|
|
9991
9863
|
};
|
|
9992
|
-
const logger$
|
|
9864
|
+
const logger$e = createLogger();
|
|
9993
9865
|
const getAccountIdentificationFromPayoutAccountSchema = (payoutAccount, bankCountry) => {
|
|
9994
9866
|
var _a2;
|
|
9995
9867
|
if ("iban" in payoutAccount && payoutAccount.iban)
|
|
@@ -10077,7 +9949,7 @@ const getAccountIdentificationFromPayoutAccountSchema = (payoutAccount, bankCoun
|
|
|
10077
9949
|
routingNumber: payoutAccount.branchCode
|
|
10078
9950
|
};
|
|
10079
9951
|
default:
|
|
10080
|
-
logger$
|
|
9952
|
+
logger$e.log(`${bankCountry.toLowerCase()}Local is not a configured region`);
|
|
10081
9953
|
return {
|
|
10082
9954
|
type: `${bankCountry.toLowerCase()}Local`,
|
|
10083
9955
|
accountNumber: payoutAccount.bankAccountNumber
|
|
@@ -10093,7 +9965,7 @@ const mapPayoutAccountSchemaToApiBankAccount = (payoutAccount, bankCountry) => (
|
|
|
10093
9965
|
bankName: payoutAccount.bankName
|
|
10094
9966
|
});
|
|
10095
9967
|
const convertFullToHalf = (str) => str.replace(/[!-~]/g, (r) => String.fromCharCode(r.charCodeAt(0) - 65248));
|
|
10096
|
-
const logger$
|
|
9968
|
+
const logger$d = createLogger();
|
|
10097
9969
|
function TextArea(props) {
|
|
10098
9970
|
const {
|
|
10099
9971
|
autoCorrect,
|
|
@@ -10115,7 +9987,7 @@ function TextArea(props) {
|
|
|
10115
9987
|
const userEvents2 = useAnalyticsContext();
|
|
10116
9988
|
const [value, setValue] = useState("");
|
|
10117
9989
|
if (Object.prototype.hasOwnProperty.call(props, "onChange")) {
|
|
10118
|
-
logger$
|
|
9990
|
+
logger$d.error("Error: Form fields that rely on InputBase may not have an onChange property");
|
|
10119
9991
|
}
|
|
10120
9992
|
const handleInput = (e) => {
|
|
10121
9993
|
var _a2;
|
|
@@ -10194,6 +10066,134 @@ function StateContextSetter({ stateRef }) {
|
|
|
10194
10066
|
return null;
|
|
10195
10067
|
} });
|
|
10196
10068
|
}
|
|
10069
|
+
const logger$c = createLogger();
|
|
10070
|
+
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
10071
|
+
const matchingAssociation = useMemo(() => {
|
|
10072
|
+
var _a2;
|
|
10073
|
+
if (!parentLegalEntity) return void 0;
|
|
10074
|
+
const typesToFind = Array.isArray(associationType) ? associationType : [associationType];
|
|
10075
|
+
const matchingAssociations = ((_a2 = parentLegalEntity.entityAssociations) == null ? void 0 : _a2.filter((entity) => typesToFind.includes(entity.type))) ?? [];
|
|
10076
|
+
if (matchingAssociations.length > 1) {
|
|
10077
|
+
logger$c.warn(
|
|
10078
|
+
`Multiple matching associations found for types: ${typesToFind.join(", ")} - returning the first.
|
|
10079
|
+
${matchingAssociations.map((ass) => JSON.stringify(ass, null, 2)).join("\n")}`
|
|
10080
|
+
);
|
|
10081
|
+
}
|
|
10082
|
+
return matchingAssociations[0];
|
|
10083
|
+
}, [parentLegalEntity, associationType]);
|
|
10084
|
+
const { data, refetch, isLoading } = useLegalEntity(
|
|
10085
|
+
(matchingAssociation == null ? void 0 : matchingAssociation.legalEntityId) ?? skipToken
|
|
10086
|
+
);
|
|
10087
|
+
return { data, refetch, isLoading };
|
|
10088
|
+
}
|
|
10089
|
+
const getLegalEntityNameBasedOnType = (legalEntityResponse) => {
|
|
10090
|
+
var _a2, _b2, _c2, _d2, _e2;
|
|
10091
|
+
if (legalEntityResponse.type === LegalEntityType.INDIVIDUAL) {
|
|
10092
|
+
return `${((_b2 = (_a2 = legalEntityResponse.individual) == null ? void 0 : _a2.name) == null ? void 0 : _b2.firstName) ?? ""} ${((_d2 = (_c2 = legalEntityResponse.individual) == null ? void 0 : _c2.name) == null ? void 0 : _d2.lastName) ?? ""}`;
|
|
10093
|
+
}
|
|
10094
|
+
return ((_e2 = legalEntityResponse.organization) == null ? void 0 : _e2.legalName) ?? "";
|
|
10095
|
+
};
|
|
10096
|
+
const getPayoutAccountHolderName = (legalEntity, i18n) => {
|
|
10097
|
+
const ownAssociations = getOwnEntityAssociations(legalEntity);
|
|
10098
|
+
const trustAssociation = ownAssociations.find(({ type }) => type === LegalEntityType.TRUST);
|
|
10099
|
+
if (trustAssociation == null ? void 0 : trustAssociation.name) {
|
|
10100
|
+
const trustName = trustAssociation.name;
|
|
10101
|
+
const trusteeName = getLegalEntityNameBasedOnType(legalEntity);
|
|
10102
|
+
return i18n.get("trusteeAsTrusteeForTrust", { values: { trustName, trusteeName } });
|
|
10103
|
+
}
|
|
10104
|
+
const solePropAssociation = ownAssociations.find(
|
|
10105
|
+
({ type }) => type === LegalEntityType.SOLE_PROPRIETORSHIP
|
|
10106
|
+
);
|
|
10107
|
+
if (solePropAssociation == null ? void 0 : solePropAssociation.name) {
|
|
10108
|
+
return solePropAssociation.name;
|
|
10109
|
+
}
|
|
10110
|
+
return getLegalEntityNameBasedOnType(legalEntity);
|
|
10111
|
+
};
|
|
10112
|
+
const getMemberOwnerId = (memberId, entityAssociations) => {
|
|
10113
|
+
var _a2;
|
|
10114
|
+
return (_a2 = entityAssociations.find((association) => association.associatorId === memberId)) == null ? void 0 : _a2.legalEntityId;
|
|
10115
|
+
};
|
|
10116
|
+
const convertEntityAssociationIntoUnincorporatedPartnershipMember = (association) => {
|
|
10117
|
+
if (association.entityType === LegalEntityType.INDIVIDUAL || association.entityType === LegalEntityType.ORGANIZATION)
|
|
10118
|
+
return {
|
|
10119
|
+
memberType: association.type,
|
|
10120
|
+
roles: [],
|
|
10121
|
+
legalEntityType: association.entityType,
|
|
10122
|
+
legalEntityId: association.legalEntityId || "",
|
|
10123
|
+
name: association.name || ""
|
|
10124
|
+
};
|
|
10125
|
+
throw new Error(`Not a valid member: ${JSON.stringify(association)}`);
|
|
10126
|
+
};
|
|
10127
|
+
const mapEntityAssociationsToUnincorporatedPartnershipMembers = (entityId, entityAssociations, rootLegalEntity) => {
|
|
10128
|
+
var _a2;
|
|
10129
|
+
const mappedUnincorporatedPartnershipMembers = entityAssociations.reduce(
|
|
10130
|
+
(acc, entityAssociation) => {
|
|
10131
|
+
if (!Object.values(UnincorporatedPartnershipMemberTypes).includes(
|
|
10132
|
+
entityAssociation.type
|
|
10133
|
+
) || entityAssociation.associatorId !== entityId || !entityAssociation.legalEntityId) {
|
|
10134
|
+
return acc;
|
|
10135
|
+
}
|
|
10136
|
+
const unincorporatedPartnershipMember = acc[entityAssociation.legalEntityId] ?? convertEntityAssociationIntoUnincorporatedPartnershipMember(entityAssociation);
|
|
10137
|
+
const unincorporatedPartnershipMemberType = entityAssociation.type;
|
|
10138
|
+
const memberOwnerId = getMemberOwnerId(entityAssociation.legalEntityId, entityAssociations);
|
|
10139
|
+
if (memberOwnerId) {
|
|
10140
|
+
unincorporatedPartnershipMember.ownerId = memberOwnerId;
|
|
10141
|
+
}
|
|
10142
|
+
acc[entityAssociation.legalEntityId] = {
|
|
10143
|
+
...unincorporatedPartnershipMember,
|
|
10144
|
+
roles: [
|
|
10145
|
+
.../* @__PURE__ */ new Set([
|
|
10146
|
+
...unincorporatedPartnershipMember.roles,
|
|
10147
|
+
unincorporatedPartnershipMemberType
|
|
10148
|
+
])
|
|
10149
|
+
]
|
|
10150
|
+
};
|
|
10151
|
+
return acc;
|
|
10152
|
+
},
|
|
10153
|
+
{}
|
|
10154
|
+
);
|
|
10155
|
+
if (rootLegalEntity) {
|
|
10156
|
+
mappedUnincorporatedPartnershipMembers[rootLegalEntity.id] = {
|
|
10157
|
+
legalEntityId: rootLegalEntity.id,
|
|
10158
|
+
legalEntityType: rootLegalEntity.type,
|
|
10159
|
+
name: getLegalEntityNameBasedOnType(rootLegalEntity),
|
|
10160
|
+
memberType: UnincorporatedPartnershipMemberTypes.SECONDARY_PARTNER,
|
|
10161
|
+
// Overriding role as primaryPartner to display in the UI, but type does not exist in the backend
|
|
10162
|
+
roles: ["primaryPartner"]
|
|
10163
|
+
};
|
|
10164
|
+
}
|
|
10165
|
+
return (_a2 = Object.values(mappedUnincorporatedPartnershipMembers)) == null ? void 0 : _a2.sort(
|
|
10166
|
+
(member) => (member == null ? void 0 : member.legalEntityId) !== (rootLegalEntity == null ? void 0 : rootLegalEntity.id) ? 1 : -1
|
|
10167
|
+
);
|
|
10168
|
+
};
|
|
10169
|
+
const deleteUnincorporatedPartnershipMember = async ({
|
|
10170
|
+
associatedMember,
|
|
10171
|
+
unincorporatedPartnership,
|
|
10172
|
+
updateLegalEntity
|
|
10173
|
+
}) => {
|
|
10174
|
+
const ownEntityAssociations = getOwnEntityAssociations(unincorporatedPartnership);
|
|
10175
|
+
await updateLegalEntity({
|
|
10176
|
+
id: unincorporatedPartnership.id,
|
|
10177
|
+
entityAssociations: ownEntityAssociations.filter(
|
|
10178
|
+
(entityAssociation) => entityAssociation.legalEntityId !== associatedMember.legalEntityId
|
|
10179
|
+
)
|
|
10180
|
+
});
|
|
10181
|
+
};
|
|
10182
|
+
function useUnincorporatedPartnershipMembers() {
|
|
10183
|
+
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
10184
|
+
const { data: unincorporatedPartnership } = useAssociatedLegalEntity(
|
|
10185
|
+
rootLegalEntity,
|
|
10186
|
+
LegalEntityType.UNINCORPORATED_PARTNERSHIP
|
|
10187
|
+
);
|
|
10188
|
+
return useMemo(() => {
|
|
10189
|
+
if (!rootLegalEntity || !(unincorporatedPartnership == null ? void 0 : unincorporatedPartnership.unincorporatedPartnership)) return [];
|
|
10190
|
+
return mapEntityAssociationsToUnincorporatedPartnershipMembers(
|
|
10191
|
+
unincorporatedPartnership.id,
|
|
10192
|
+
unincorporatedPartnership.entityAssociations ?? [],
|
|
10193
|
+
rootLegalEntity
|
|
10194
|
+
);
|
|
10195
|
+
}, [rootLegalEntity, unincorporatedPartnership]);
|
|
10196
|
+
}
|
|
10197
10197
|
const getDocumentGuidancePrefix = (documentType) => {
|
|
10198
10198
|
switch (documentType) {
|
|
10199
10199
|
case "passport":
|
|
@@ -10214,12 +10214,13 @@ function DocumentGuidance({ type, className: className2 }) {
|
|
|
10214
10214
|
const { i18n } = useI18nContext();
|
|
10215
10215
|
const documentGuidanceItems = useMemo(() => {
|
|
10216
10216
|
const guidancePrefix = getDocumentGuidancePrefix(type);
|
|
10217
|
-
|
|
10217
|
+
const guidanceItems = [
|
|
10218
10218
|
{ svgName: `${guidancePrefix}-front`, translationKey: "good", valid: true },
|
|
10219
10219
|
{ svgName: `${guidancePrefix}-cutoff`, translationKey: "notCutOff" },
|
|
10220
10220
|
{ svgName: `${guidancePrefix}-blurred`, translationKey: "notBlurry" },
|
|
10221
10221
|
guidancePrefix === "document" ? { svgName: `document-expired`, translationKey: "notExpired" } : { svgName: `${guidancePrefix}-glare`, translationKey: "noGlare" }
|
|
10222
10222
|
];
|
|
10223
|
+
return type === "constitutionalDocument" ? guidanceItems.filter((item) => item.svgName !== "document-expired") : guidanceItems;
|
|
10223
10224
|
}, [type]);
|
|
10224
10225
|
return /* @__PURE__ */ jsx$1("div", { className: cx("adyen-kyc-document-guidance", className2), children: /* @__PURE__ */ jsx$1("div", { className: "adyen-kyc-document-guidance__container", children: documentGuidanceItems.map((item) => /* @__PURE__ */ jsxs("figure", { className: "adyen-kyc-document-guidance__item", children: [
|
|
10225
10226
|
/* @__PURE__ */ jsx$1(Svg, { type: "image", name: item.svgName }),
|
|
@@ -10510,29 +10511,6 @@ const fileValidationRules = ({
|
|
|
10510
10511
|
modes: ["blur", "input"]
|
|
10511
10512
|
}
|
|
10512
10513
|
];
|
|
10513
|
-
const getLegalEntityNameBasedOnType = (legalEntityResponse) => {
|
|
10514
|
-
var _a2, _b2, _c2, _d2, _e2;
|
|
10515
|
-
if (legalEntityResponse.type === LegalEntityType.INDIVIDUAL) {
|
|
10516
|
-
return `${((_b2 = (_a2 = legalEntityResponse.individual) == null ? void 0 : _a2.name) == null ? void 0 : _b2.firstName) ?? ""} ${((_d2 = (_c2 = legalEntityResponse.individual) == null ? void 0 : _c2.name) == null ? void 0 : _d2.lastName) ?? ""}`;
|
|
10517
|
-
}
|
|
10518
|
-
return ((_e2 = legalEntityResponse.organization) == null ? void 0 : _e2.legalName) ?? "";
|
|
10519
|
-
};
|
|
10520
|
-
const getPayoutAccountHolderName = (legalEntity, i18n) => {
|
|
10521
|
-
const ownAssociations = getOwnEntityAssociations(legalEntity);
|
|
10522
|
-
const trustAssociation = ownAssociations.find(({ type }) => type === LegalEntityType.TRUST);
|
|
10523
|
-
if (trustAssociation == null ? void 0 : trustAssociation.name) {
|
|
10524
|
-
const trustName = trustAssociation.name;
|
|
10525
|
-
const trusteeName = getLegalEntityNameBasedOnType(legalEntity);
|
|
10526
|
-
return i18n.get("trusteeAsTrusteeForTrust", { values: { trustName, trusteeName } });
|
|
10527
|
-
}
|
|
10528
|
-
const solePropAssociation = ownAssociations.find(
|
|
10529
|
-
({ type }) => type === LegalEntityType.SOLE_PROPRIETORSHIP
|
|
10530
|
-
);
|
|
10531
|
-
if (solePropAssociation == null ? void 0 : solePropAssociation.name) {
|
|
10532
|
-
return solePropAssociation.name;
|
|
10533
|
-
}
|
|
10534
|
-
return getLegalEntityNameBasedOnType(legalEntity);
|
|
10535
|
-
};
|
|
10536
10514
|
var BankDocumentTypes = /* @__PURE__ */ ((BankDocumentTypes2) => {
|
|
10537
10515
|
BankDocumentTypes2["BANK_STATEMENT"] = "bankStatement";
|
|
10538
10516
|
BankDocumentTypes2["DEPOSIT_SLIP"] = "depositSlip";
|
|
@@ -10553,6 +10531,7 @@ var BankDocumentRequirement = /* @__PURE__ */ ((BankDocumentRequirement2) => {
|
|
|
10553
10531
|
BankDocumentRequirement2["ACCOUNT_NAME_ORGANIZATION"] = "bankAccountNameOrganization";
|
|
10554
10532
|
BankDocumentRequirement2["ACCOUNT_NAME_WITH_SOLE_PROP"] = "bankAccountNameWithSoleProprietor";
|
|
10555
10533
|
BankDocumentRequirement2["ACCOUNT_NAME_WITH_TRUST"] = "bankAccountNameWithTrust";
|
|
10534
|
+
BankDocumentRequirement2["ACCOUNT_NAME_WITH_UNINCORPORATED_PARTNERSHIP"] = "accountMustBeInTheNameOfUnincorporatedPartnership";
|
|
10556
10535
|
BankDocumentRequirement2["ACCOUNT_NUMBER_OR_IBAN"] = "accountNumberOrIbanVisible";
|
|
10557
10536
|
BankDocumentRequirement2["ACCOUNT_NUMBER"] = "accountNumberVisible";
|
|
10558
10537
|
BankDocumentRequirement2["ACCOUNT_NUMBER_FULL_OR_PARTIAL"] = "accountNumberFullOrPartialVisible";
|
|
@@ -10579,17 +10558,23 @@ const accountNameRequirementWithLegalArrangement = {
|
|
|
10579
10558
|
[LegalEntityType.TRUST]: {
|
|
10580
10559
|
[CountryCodes.UnitedStates]: "bankAccountNameWithTrust_US",
|
|
10581
10560
|
default: BankDocumentRequirement.ACCOUNT_NAME_WITH_TRUST
|
|
10561
|
+
},
|
|
10562
|
+
[LegalEntityType.UNINCORPORATED_PARTNERSHIP]: {
|
|
10563
|
+
default: BankDocumentRequirement.ACCOUNT_NAME_WITH_UNINCORPORATED_PARTNERSHIP
|
|
10582
10564
|
}
|
|
10583
10565
|
},
|
|
10584
10566
|
[LegalEntityType.ORGANIZATION]: {
|
|
10585
10567
|
[LegalEntityType.TRUST]: {
|
|
10586
10568
|
[CountryCodes.UnitedStates]: "bankAccountNameWithTrust_US",
|
|
10587
10569
|
default: BankDocumentRequirement.ACCOUNT_NAME_WITH_TRUST
|
|
10570
|
+
},
|
|
10571
|
+
[LegalEntityType.UNINCORPORATED_PARTNERSHIP]: {
|
|
10572
|
+
default: BankDocumentRequirement.ACCOUNT_NAME_WITH_UNINCORPORATED_PARTNERSHIP
|
|
10588
10573
|
}
|
|
10589
10574
|
}
|
|
10590
10575
|
};
|
|
10591
10576
|
const applyNamedModifiers = (country, documentModifiers) => {
|
|
10592
|
-
var _a2, _b2, _c2, _d2, _e2;
|
|
10577
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2;
|
|
10593
10578
|
if (!documentModifiers.associatedEntityType || !documentModifiers.associatedEntityLegalName) {
|
|
10594
10579
|
switch (documentModifiers.rootEntityType) {
|
|
10595
10580
|
case LegalEntityType.INDIVIDUAL:
|
|
@@ -10619,10 +10604,20 @@ const applyNamedModifiers = (country, documentModifiers) => {
|
|
|
10619
10604
|
}
|
|
10620
10605
|
}
|
|
10621
10606
|
};
|
|
10607
|
+
case LegalEntityType.UNINCORPORATED_PARTNERSHIP:
|
|
10608
|
+
return {
|
|
10609
|
+
key: ((_c2 = accountNameRequirementWithLegalArrangement[LegalEntityType.INDIVIDUAL][LegalEntityType.UNINCORPORATED_PARTNERSHIP]) == null ? void 0 : _c2[country]) ?? ((_d2 = accountNameRequirementWithLegalArrangement[LegalEntityType.INDIVIDUAL][LegalEntityType.UNINCORPORATED_PARTNERSHIP]) == null ? void 0 : _d2.default),
|
|
10610
|
+
options: {
|
|
10611
|
+
values: {
|
|
10612
|
+
partnerNames: documentModifiers.unincorporatedPartnershipMembers || "",
|
|
10613
|
+
partnershipName: documentModifiers.associatedEntityLegalName
|
|
10614
|
+
}
|
|
10615
|
+
}
|
|
10616
|
+
};
|
|
10622
10617
|
case LegalEntityType.SOLE_PROPRIETORSHIP:
|
|
10623
10618
|
default:
|
|
10624
10619
|
return {
|
|
10625
|
-
key: (
|
|
10620
|
+
key: (_e2 = accountNameRequirementWithLegalArrangement[LegalEntityType.INDIVIDUAL][LegalEntityType.SOLE_PROPRIETORSHIP]) == null ? void 0 : _e2.default,
|
|
10626
10621
|
options: {
|
|
10627
10622
|
values: {
|
|
10628
10623
|
individualLegalName: documentModifiers.rootEntityLegalName,
|
|
@@ -10636,7 +10631,7 @@ const applyNamedModifiers = (country, documentModifiers) => {
|
|
|
10636
10631
|
switch (documentModifiers.associatedEntityType) {
|
|
10637
10632
|
case LegalEntityType.TRUST:
|
|
10638
10633
|
return {
|
|
10639
|
-
key: ((
|
|
10634
|
+
key: ((_f2 = accountNameRequirementWithLegalArrangement[LegalEntityType.ORGANIZATION][LegalEntityType.TRUST]) == null ? void 0 : _f2[country]) ?? ((_g2 = accountNameRequirementWithLegalArrangement[LegalEntityType.ORGANIZATION][LegalEntityType.TRUST]) == null ? void 0 : _g2.default),
|
|
10640
10635
|
options: {
|
|
10641
10636
|
values: {
|
|
10642
10637
|
trusteeName: documentModifiers.rootEntityLegalName,
|
|
@@ -10645,6 +10640,16 @@ const applyNamedModifiers = (country, documentModifiers) => {
|
|
|
10645
10640
|
}
|
|
10646
10641
|
}
|
|
10647
10642
|
};
|
|
10643
|
+
case LegalEntityType.UNINCORPORATED_PARTNERSHIP:
|
|
10644
|
+
return {
|
|
10645
|
+
key: ((_h2 = accountNameRequirementWithLegalArrangement[LegalEntityType.ORGANIZATION][LegalEntityType.UNINCORPORATED_PARTNERSHIP]) == null ? void 0 : _h2[country]) ?? ((_i2 = accountNameRequirementWithLegalArrangement[LegalEntityType.ORGANIZATION][LegalEntityType.UNINCORPORATED_PARTNERSHIP]) == null ? void 0 : _i2.default),
|
|
10646
|
+
options: {
|
|
10647
|
+
values: {
|
|
10648
|
+
partnerNames: documentModifiers.unincorporatedPartnershipMembers || "",
|
|
10649
|
+
partnershipName: documentModifiers.associatedEntityLegalName
|
|
10650
|
+
}
|
|
10651
|
+
}
|
|
10652
|
+
};
|
|
10648
10653
|
default:
|
|
10649
10654
|
return { key: accountNameRequirement[LegalEntityType.ORGANIZATION].default };
|
|
10650
10655
|
}
|
|
@@ -10684,25 +10689,14 @@ const BankDocumentRequirements = ({
|
|
|
10684
10689
|
documentModifiers
|
|
10685
10690
|
}) => {
|
|
10686
10691
|
const { i18n } = useI18nContext();
|
|
10692
|
+
const documentRequirements = getBankDocumentRequirements(
|
|
10693
|
+
country,
|
|
10694
|
+
documentType,
|
|
10695
|
+
documentModifiers
|
|
10696
|
+
);
|
|
10687
10697
|
return /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-document-requirements", children: [
|
|
10688
10698
|
/* @__PURE__ */ jsx$1("strong", { className: "adyen-kyc-document-requirements__subtitle", children: i18n.get("documentRequirements") }),
|
|
10689
|
-
/* @__PURE__ */ jsx$1(
|
|
10690
|
-
List,
|
|
10691
|
-
{
|
|
10692
|
-
items: getBankDocumentRequirements(country, documentType, documentModifiers).map(
|
|
10693
|
-
({ key, options }) => /* @__PURE__ */ jsx$1(
|
|
10694
|
-
"span",
|
|
10695
|
-
{
|
|
10696
|
-
"data-testid": key,
|
|
10697
|
-
dangerouslySetInnerHTML: {
|
|
10698
|
-
__html: i18n.get(key, options)
|
|
10699
|
-
}
|
|
10700
|
-
},
|
|
10701
|
-
key
|
|
10702
|
-
)
|
|
10703
|
-
)
|
|
10704
|
-
}
|
|
10705
|
-
)
|
|
10699
|
+
/* @__PURE__ */ jsx$1("ul", { children: documentRequirements.map(({ key, options }, i) => /* @__PURE__ */ jsx$1("li", { "data-testid": key, children: i18n.get(key, options) }, i)) })
|
|
10706
10700
|
] });
|
|
10707
10701
|
};
|
|
10708
10702
|
const emailPattern = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;
|
|
@@ -10793,18 +10787,20 @@ function BankDocument(props) {
|
|
|
10793
10787
|
});
|
|
10794
10788
|
}, [data, valid, errors, fieldProblems, id]);
|
|
10795
10789
|
const getBankDocumentOptions = () => bankDocumentOptions.map(({ id: id2, name }) => ({ id: id2, name: i18n.get(name) }));
|
|
10790
|
+
const unincorporatedPartnershipMembers = useUnincorporatedPartnershipMembers();
|
|
10796
10791
|
const documentsModifiers = useMemo(
|
|
10797
10792
|
() => {
|
|
10798
|
-
var _a2, _b2;
|
|
10793
|
+
var _a2, _b2, _c2;
|
|
10799
10794
|
return {
|
|
10800
10795
|
rootEntityType: legalEntity.type,
|
|
10801
10796
|
rootEntityLegalName: getLegalEntityNameBasedOnType(legalEntity),
|
|
10802
10797
|
associatedEntityType: associatedLegalArrangement == null ? void 0 : associatedLegalArrangement.type,
|
|
10803
10798
|
associatedEntityLegalName: (_a2 = associatedLegalArrangement == null ? void 0 : associatedLegalArrangement[associatedLegalArrangement == null ? void 0 : associatedLegalArrangement.type]) == null ? void 0 : _a2.name,
|
|
10804
|
-
associatedEntityTradingName: (_b2 = associatedLegalArrangement == null ? void 0 : associatedLegalArrangement[associatedLegalArrangement == null ? void 0 : associatedLegalArrangement.type]) == null ? void 0 : _b2.doingBusinessAs
|
|
10799
|
+
associatedEntityTradingName: (_b2 = associatedLegalArrangement == null ? void 0 : associatedLegalArrangement[associatedLegalArrangement == null ? void 0 : associatedLegalArrangement.type]) == null ? void 0 : _b2.doingBusinessAs,
|
|
10800
|
+
unincorporatedPartnershipMembers: (_c2 = unincorporatedPartnershipMembers == null ? void 0 : unincorporatedPartnershipMembers.map((member) => member == null ? void 0 : member.name)) == null ? void 0 : _c2.join(", ")
|
|
10805
10801
|
};
|
|
10806
10802
|
},
|
|
10807
|
-
[legalEntity, associatedLegalArrangement]
|
|
10803
|
+
[legalEntity, associatedLegalArrangement, unincorporatedPartnershipMembers]
|
|
10808
10804
|
);
|
|
10809
10805
|
return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc-bank-document", children: [
|
|
10810
10806
|
/* @__PURE__ */ jsx$1(StateContextSetter, { owner: id, stateRef }),
|
|
@@ -11042,8 +11038,6 @@ const addAnimationStartListener = (element, listener) => {
|
|
|
11042
11038
|
const removeAnimationStartListener = (element, listener) => {
|
|
11043
11039
|
element.removeEventListener("animationstart", listener, false);
|
|
11044
11040
|
};
|
|
11045
|
-
const isProviderPlaidEmbedded = (redirectUrl) => !!(redirectUrl == null ? void 0 : redirectUrl.includes("/plaid/embedded-search/sdk?")) || !!(redirectUrl == null ? void 0 : redirectUrl.includes("/plaidEmbeddedSearch"));
|
|
11046
|
-
const isProviderWidgetInline = (providerName) => !providerName ? true : ["PayWithMyBank"].includes(providerName);
|
|
11047
11041
|
const removeElementSiblings = (element) => {
|
|
11048
11042
|
const parent = element.parentNode;
|
|
11049
11043
|
if (!parent) return;
|
|
@@ -11446,9 +11440,6 @@ function BankVerificationWidget({
|
|
|
11446
11440
|
if (fullscreen) {
|
|
11447
11441
|
container.classList.add(`${WIDGET_CONTAINER_CLASS}--fullscreen`);
|
|
11448
11442
|
}
|
|
11449
|
-
if (isProviderPlaidEmbedded(url)) {
|
|
11450
|
-
container.classList.add(`${WIDGET_CONTAINER_CLASS}--plaid-institutions`);
|
|
11451
|
-
}
|
|
11452
11443
|
return () => {
|
|
11453
11444
|
iFrameWidget == null ? void 0 : iFrameWidget.unmount();
|
|
11454
11445
|
iFrame == null ? void 0 : iFrame.remove();
|
|
@@ -12619,7 +12610,21 @@ const defaultFieldConfig$9 = {
|
|
|
12619
12610
|
[CountryCodes.Australia]: simpleBankAccountNumberMetadata("0001234", 5, 10),
|
|
12620
12611
|
[CountryCodes.Brazil]: simpleBankAccountNumberMetadata("0009795493", 4, 12),
|
|
12621
12612
|
[CountryCodes.Canada]: simpleBankAccountNumberMetadata("10220001111", 5, 12),
|
|
12622
|
-
[CountryCodes.HongKong]:
|
|
12613
|
+
[CountryCodes.HongKong]: {
|
|
12614
|
+
label: "bankAccountNumber",
|
|
12615
|
+
validators: validatePatternOnBlur(new RegExp(`^\\d{${6},${18}}$`)),
|
|
12616
|
+
mask: {
|
|
12617
|
+
mask: makeMask(...numericInputs(6), ...numericInputs(12, true))
|
|
12618
|
+
},
|
|
12619
|
+
guidanceText: {
|
|
12620
|
+
key: "enterAccountNumberWithBranchCodeForExample",
|
|
12621
|
+
values: {
|
|
12622
|
+
minDigits: "9",
|
|
12623
|
+
maxDigits: "15",
|
|
12624
|
+
example: "790000000"
|
|
12625
|
+
}
|
|
12626
|
+
}
|
|
12627
|
+
},
|
|
12623
12628
|
[CountryCodes.Singapore]: simpleBankAccountNumberMetadata("0052312891876", 4, 19),
|
|
12624
12629
|
[CountryCodes.Sweden]: simpleBankAccountNumberMetadata("123456789", 7, 10),
|
|
12625
12630
|
[CountryCodes.UnitedStates]: simpleBankAccountNumberMetadata("10220001111", 3, 17),
|
|
@@ -12789,7 +12794,7 @@ const defaultFieldConfig$8 = {
|
|
|
12789
12794
|
[CountryCodes.Brazil]: simpleBankCodeMetadata(3, "123"),
|
|
12790
12795
|
[CountryCodes.Canada]: simpleBankCodeMetadata(3, "100", "institutionNumber"),
|
|
12791
12796
|
[CountryCodes.Denmark]: simpleBankCodeMetadata(4, "5051"),
|
|
12792
|
-
[CountryCodes.HongKong]: simpleBankCodeMetadata(3, "
|
|
12797
|
+
[CountryCodes.HongKong]: simpleBankCodeMetadata(3, "250", "bankCode"),
|
|
12793
12798
|
[CountryCodes.Norway]: simpleBankCodeMetadata(4, "8601"),
|
|
12794
12799
|
// Not yet implemented
|
|
12795
12800
|
[CountryCodes.Ecuador]: simpleBankCodeMetadata(4, "1234"),
|
|
@@ -13543,76 +13548,6 @@ const useAccountHolder = () => {
|
|
|
13543
13548
|
setAccountHolder: setAccountHolderIntoLocalStorage
|
|
13544
13549
|
};
|
|
13545
13550
|
};
|
|
13546
|
-
const getMemberOwnerId = (memberId, entityAssociations) => {
|
|
13547
|
-
var _a2;
|
|
13548
|
-
return (_a2 = entityAssociations.find((association) => association.associatorId === memberId)) == null ? void 0 : _a2.legalEntityId;
|
|
13549
|
-
};
|
|
13550
|
-
const convertEntityAssociationIntoUnincorporatedPartnershipMember = (association) => {
|
|
13551
|
-
if (association.entityType === LegalEntityType.INDIVIDUAL || association.entityType === LegalEntityType.ORGANIZATION)
|
|
13552
|
-
return {
|
|
13553
|
-
memberType: association.type,
|
|
13554
|
-
roles: [],
|
|
13555
|
-
legalEntityType: association.entityType,
|
|
13556
|
-
legalEntityId: association.legalEntityId || "",
|
|
13557
|
-
name: association.name || ""
|
|
13558
|
-
};
|
|
13559
|
-
throw new Error(`Not a valid member: ${JSON.stringify(association)}`);
|
|
13560
|
-
};
|
|
13561
|
-
const mapEntityAssociationsToUnincorporatedPartnershipMembers = (entityId, entityAssociations, rootLegalEntity) => {
|
|
13562
|
-
var _a2;
|
|
13563
|
-
const mappedUnincorporatedPartnershipMembers = entityAssociations.reduce(
|
|
13564
|
-
(acc, entityAssociation) => {
|
|
13565
|
-
if (!Object.values(UnincorporatedPartnershipMemberTypes).includes(
|
|
13566
|
-
entityAssociation.type
|
|
13567
|
-
) || entityAssociation.associatorId !== entityId || !entityAssociation.legalEntityId) {
|
|
13568
|
-
return acc;
|
|
13569
|
-
}
|
|
13570
|
-
const unincorporatedPartnershipMember = acc[entityAssociation.legalEntityId] ?? convertEntityAssociationIntoUnincorporatedPartnershipMember(entityAssociation);
|
|
13571
|
-
const unincorporatedPartnershipMemberType = entityAssociation.type;
|
|
13572
|
-
const memberOwnerId = getMemberOwnerId(entityAssociation.legalEntityId, entityAssociations);
|
|
13573
|
-
if (memberOwnerId) {
|
|
13574
|
-
unincorporatedPartnershipMember.ownerId = memberOwnerId;
|
|
13575
|
-
}
|
|
13576
|
-
acc[entityAssociation.legalEntityId] = {
|
|
13577
|
-
...unincorporatedPartnershipMember,
|
|
13578
|
-
roles: [
|
|
13579
|
-
.../* @__PURE__ */ new Set([
|
|
13580
|
-
...unincorporatedPartnershipMember.roles,
|
|
13581
|
-
unincorporatedPartnershipMemberType
|
|
13582
|
-
])
|
|
13583
|
-
]
|
|
13584
|
-
};
|
|
13585
|
-
return acc;
|
|
13586
|
-
},
|
|
13587
|
-
{}
|
|
13588
|
-
);
|
|
13589
|
-
if (rootLegalEntity) {
|
|
13590
|
-
mappedUnincorporatedPartnershipMembers[rootLegalEntity.id] = {
|
|
13591
|
-
legalEntityId: rootLegalEntity.id,
|
|
13592
|
-
legalEntityType: rootLegalEntity.type,
|
|
13593
|
-
name: getLegalEntityNameBasedOnType(rootLegalEntity),
|
|
13594
|
-
memberType: UnincorporatedPartnershipMemberTypes.SECONDARY_PARTNER,
|
|
13595
|
-
// Overriding role as primaryPartner to display in the UI, but type does not exist in the backend
|
|
13596
|
-
roles: ["primaryPartner"]
|
|
13597
|
-
};
|
|
13598
|
-
}
|
|
13599
|
-
return (_a2 = Object.values(mappedUnincorporatedPartnershipMembers)) == null ? void 0 : _a2.sort(
|
|
13600
|
-
(member) => (member == null ? void 0 : member.legalEntityId) !== (rootLegalEntity == null ? void 0 : rootLegalEntity.id) ? 1 : -1
|
|
13601
|
-
);
|
|
13602
|
-
};
|
|
13603
|
-
const deleteUnincorporatedPartnershipMember = async ({
|
|
13604
|
-
associatedMember,
|
|
13605
|
-
unincorporatedPartnership,
|
|
13606
|
-
updateLegalEntity
|
|
13607
|
-
}) => {
|
|
13608
|
-
const ownEntityAssociations = getOwnEntityAssociations(unincorporatedPartnership);
|
|
13609
|
-
await updateLegalEntity({
|
|
13610
|
-
id: unincorporatedPartnership.id,
|
|
13611
|
-
entityAssociations: ownEntityAssociations.filter(
|
|
13612
|
-
(entityAssociation) => entityAssociation.legalEntityId !== associatedMember.legalEntityId
|
|
13613
|
-
)
|
|
13614
|
-
});
|
|
13615
|
-
};
|
|
13616
13551
|
const AccountHolderDescriptionFragment = ({
|
|
13617
13552
|
legalEntityResponse
|
|
13618
13553
|
}) => {
|
|
@@ -13624,6 +13559,7 @@ const AccountHolderDescriptionFragment = ({
|
|
|
13624
13559
|
legalEntityResponse.id
|
|
13625
13560
|
);
|
|
13626
13561
|
const { accountHolder } = useAccountHolder();
|
|
13562
|
+
const unincorporatedPartnershipMembers = useUnincorporatedPartnershipMembers();
|
|
13627
13563
|
if (accountHolder === "mySoleProprietorName" || hasSolePropEntityAssociations) {
|
|
13628
13564
|
const soleProp = (_a2 = legalEntityResponse.entityAssociations) == null ? void 0 : _a2.find(
|
|
13629
13565
|
(ea) => ea.entityType === "soleProprietorship"
|
|
@@ -13688,21 +13624,13 @@ const AccountHolderDescriptionFragment = ({
|
|
|
13688
13624
|
const unincorporatedPartnership = (_j2 = legalEntityResponse == null ? void 0 : legalEntityResponse.entityAssociations) == null ? void 0 : _j2.find(
|
|
13689
13625
|
(ea) => ea.entityType === "unincorporatedPartnership"
|
|
13690
13626
|
);
|
|
13691
|
-
const
|
|
13692
|
-
|
|
13693
|
-
|
|
13694
|
-
|
|
13695
|
-
|
|
13696
|
-
|
|
13697
|
-
|
|
13698
|
-
`${i18n.get("bankAccountToHaveSameNameAsUnincorporatedPartnership")} `,
|
|
13699
|
-
/* @__PURE__ */ jsx$1(Typography, { el: "span", variant: "body-stronger", children: i18n.get("partnerAsPartnersForUnincorporatedPartnership", {
|
|
13700
|
-
values: {
|
|
13701
|
-
partnerNames: `${partnerNames == null ? void 0 : partnerNames.join(", ")}`,
|
|
13702
|
-
partnershipName: (unincorporatedPartnership == null ? void 0 : unincorporatedPartnership.name) ?? ""
|
|
13703
|
-
}
|
|
13704
|
-
}) })
|
|
13705
|
-
] });
|
|
13627
|
+
const partnerNames = unincorporatedPartnershipMembers == null ? void 0 : unincorporatedPartnershipMembers.map((member) => member == null ? void 0 : member.name);
|
|
13628
|
+
return /* @__PURE__ */ jsx$1(Typography, { children: `${i18n.get("bankAccountToHaveSameNameAsUnincorporatedPartnership", {
|
|
13629
|
+
values: {
|
|
13630
|
+
partnerNames: `${partnerNames == null ? void 0 : partnerNames.join(", ")}`,
|
|
13631
|
+
partnershipName: (unincorporatedPartnership == null ? void 0 : unincorporatedPartnership.name) ?? ""
|
|
13632
|
+
}
|
|
13633
|
+
})} ` });
|
|
13706
13634
|
}
|
|
13707
13635
|
if (legalEntityResponse.type === LegalEntityType.ORGANIZATION) {
|
|
13708
13636
|
return /* @__PURE__ */ jsxs(Typography, { children: [
|
|
@@ -13874,7 +13802,7 @@ function PayoutAccount(props) {
|
|
|
13874
13802
|
const link = "adyen-kyc-link";
|
|
13875
13803
|
const linkDefault = "adyen-kyc-link-default";
|
|
13876
13804
|
const linkInline = "adyen-kyc-link-inline";
|
|
13877
|
-
const styles$
|
|
13805
|
+
const styles$4 = {
|
|
13878
13806
|
link,
|
|
13879
13807
|
linkDefault,
|
|
13880
13808
|
linkInline
|
|
@@ -13882,9 +13810,9 @@ const styles$7 = {
|
|
|
13882
13810
|
const Link = ({ children: children2, external = false, href, inline = false }) => {
|
|
13883
13811
|
const rel = external ? "external noopener noreferrer" : void 0;
|
|
13884
13812
|
const target = external ? "_blank" : "_self";
|
|
13885
|
-
const className2 = cx(styles$
|
|
13886
|
-
[styles$
|
|
13887
|
-
[styles$
|
|
13813
|
+
const className2 = cx(styles$4.link, {
|
|
13814
|
+
[styles$4.linkInline]: inline,
|
|
13815
|
+
[styles$4.linkDefault]: !inline
|
|
13888
13816
|
});
|
|
13889
13817
|
return /* @__PURE__ */ jsxs("a", { className: className2, href, rel, target, children: [
|
|
13890
13818
|
children2,
|
|
@@ -14259,338 +14187,45 @@ const EEA_Countries = [
|
|
|
14259
14187
|
const regions = {
|
|
14260
14188
|
europe: [
|
|
14261
14189
|
...EEA_Countries,
|
|
14262
|
-
CountryCodes.Switzerland,
|
|
14263
|
-
CountryCodes.UnitedKingdom,
|
|
14264
|
-
CountryCodes.Gibraltar
|
|
14265
|
-
],
|
|
14266
|
-
apac: [CountryCodes.NewZealand, CountryCodes.Australia]
|
|
14267
|
-
};
|
|
14268
|
-
const getAllowedBankCountries = (country) => Object.values(regions).find((countriesInARegion) => countriesInARegion.includes(country)) ?? [
|
|
14269
|
-
country
|
|
14270
|
-
];
|
|
14271
|
-
const getProviderIconName = (providerName) => {
|
|
14272
|
-
switch (providerName == null ? void 0 : providerName.toLowerCase()) {
|
|
14273
|
-
case "tink":
|
|
14274
|
-
return "tink-logo";
|
|
14275
|
-
case "plaid":
|
|
14276
|
-
return "plaid-logo";
|
|
14277
|
-
case "yapily":
|
|
14278
|
-
return "yapily-logo";
|
|
14279
|
-
default:
|
|
14280
|
-
return void 0;
|
|
14281
|
-
}
|
|
14282
|
-
};
|
|
14283
|
-
const makePayoutVerificationMethodsMetadata = (instantVerificationProviderName) => ({
|
|
14284
|
-
instantVerification: {
|
|
14285
|
-
name: "verifyViaMobileBankingAppOrWebsite",
|
|
14286
|
-
subtitle: "instant",
|
|
14287
|
-
description: "instantVerificationDescription",
|
|
14288
|
-
svgName: "payout-verification-instant",
|
|
14289
|
-
provider: instantVerificationProviderName ? {
|
|
14290
|
-
name: instantVerificationProviderName,
|
|
14291
|
-
svgName: getProviderIconName(instantVerificationProviderName)
|
|
14292
|
-
} : void 0
|
|
14293
|
-
},
|
|
14294
|
-
manualVerification: {
|
|
14295
|
-
name: "uploadABankStatement",
|
|
14296
|
-
subtitle: "mayTakeAFewDays",
|
|
14297
|
-
description: "manualVerificationDescription",
|
|
14298
|
-
svgName: "payout-verification-manual"
|
|
14299
|
-
}
|
|
14300
|
-
});
|
|
14301
|
-
const providerButton = "adyen-kyc-provider-button";
|
|
14302
|
-
const providerButtonDisplayName = "adyen-kyc-provider-button-display-name";
|
|
14303
|
-
const styles$6 = {
|
|
14304
|
-
providerButton,
|
|
14305
|
-
providerButtonDisplayName
|
|
14306
|
-
};
|
|
14307
|
-
const ProviderButton = ({
|
|
14308
|
-
provider,
|
|
14309
|
-
disabled = false,
|
|
14310
|
-
fullWidth,
|
|
14311
|
-
loading = false,
|
|
14312
|
-
onClick,
|
|
14313
|
-
testId
|
|
14314
|
-
}) => {
|
|
14315
|
-
const isSingpass = provider.includes("singpassMyInfo");
|
|
14316
|
-
const buttonVariant = isSingpass ? "secondary" : "primary";
|
|
14317
|
-
const { i18n } = useI18nContext();
|
|
14318
|
-
const buttonProps = {
|
|
14319
|
-
disabled,
|
|
14320
|
-
fullWidth,
|
|
14321
|
-
loading,
|
|
14322
|
-
onClick,
|
|
14323
|
-
testId
|
|
14324
|
-
};
|
|
14325
|
-
const providerLogo = {
|
|
14326
|
-
tink: "tink-logo",
|
|
14327
|
-
yapily: "yapily-logo",
|
|
14328
|
-
plaid: "plaid-logo",
|
|
14329
|
-
onfido: "onfido-logo",
|
|
14330
|
-
singpassMyInfo: "singpass-logo",
|
|
14331
|
-
singpassMyInfoBusiness: "singpass-logo"
|
|
14332
|
-
};
|
|
14333
|
-
const providerDisplayName = {
|
|
14334
|
-
tink: "Tink",
|
|
14335
|
-
yapily: "Yapily",
|
|
14336
|
-
plaid: "Plaid",
|
|
14337
|
-
onfido: "Onfido",
|
|
14338
|
-
singpassMyInfo: "Singpass",
|
|
14339
|
-
singpassMyInfoBusiness: "Singpass"
|
|
14340
|
-
};
|
|
14341
|
-
const buttonLabel2 = {
|
|
14342
|
-
tink: i18n.get("addAccountWith"),
|
|
14343
|
-
yapily: i18n.get("addAccountWith"),
|
|
14344
|
-
plaid: i18n.get("addAccountWith"),
|
|
14345
|
-
onfido: i18n.get("addDetailsWith"),
|
|
14346
|
-
singpassMyInfo: i18n.get("retrieveMyinfoWith"),
|
|
14347
|
-
singpassMyInfoBusiness: i18n.get("retrieveMyinfoBusinessWith")
|
|
14348
|
-
};
|
|
14349
|
-
return /* @__PURE__ */ jsx$1(Button, { ...buttonProps, variant: buttonVariant, children: /* @__PURE__ */ jsxs("div", { className: styles$6.providerButton, children: [
|
|
14350
|
-
buttonLabel2[provider],
|
|
14351
|
-
/* @__PURE__ */ jsx$1("span", { className: styles$6.providerButtonDisplayName, children: providerDisplayName[provider] }),
|
|
14352
|
-
/* @__PURE__ */ jsx$1(Svg, { name: providerLogo[provider], type: "image" })
|
|
14353
|
-
] }) });
|
|
14354
|
-
};
|
|
14355
|
-
function Card({
|
|
14356
|
-
className: className2,
|
|
14357
|
-
headerClassName,
|
|
14358
|
-
bodyClassName,
|
|
14359
|
-
children: children2,
|
|
14360
|
-
stateful,
|
|
14361
|
-
active,
|
|
14362
|
-
disabled,
|
|
14363
|
-
fetching,
|
|
14364
|
-
warningMessage,
|
|
14365
|
-
title,
|
|
14366
|
-
subTitle,
|
|
14367
|
-
headerButton,
|
|
14368
|
-
background = "primary",
|
|
14369
|
-
onClick,
|
|
14370
|
-
onKeyDown
|
|
14371
|
-
}) {
|
|
14372
|
-
const classNames = cx("adyen-kyc-card", className2, {
|
|
14373
|
-
"adyen-kyc-card--stateful": stateful,
|
|
14374
|
-
"adyen-kyc-card--active": stateful && active,
|
|
14375
|
-
"adyen-kyc-card--disabled": disabled,
|
|
14376
|
-
"adyen-kyc-card--fetching": fetching,
|
|
14377
|
-
"adyen-kyc-card--secondary": background === "secondary"
|
|
14378
|
-
});
|
|
14379
|
-
const headerClassNames = cx("adyen-kyc-card__header", headerClassName, {
|
|
14380
|
-
"adyen-kyc-card__header--button": headerButton
|
|
14381
|
-
});
|
|
14382
|
-
const bodyClassNames = cx("adyen-kyc-card__body", bodyClassName);
|
|
14383
|
-
const tabIndex = stateful ? 0 : void 0;
|
|
14384
|
-
const role = stateful ? "button" : "region";
|
|
14385
|
-
const onClickHandler = (e) => {
|
|
14386
|
-
if (disabled) {
|
|
14387
|
-
return;
|
|
14388
|
-
}
|
|
14389
|
-
onClick == null ? void 0 : onClick(e);
|
|
14390
|
-
};
|
|
14391
|
-
const onKeyDownHandler = (e) => {
|
|
14392
|
-
if (onKeyDown) {
|
|
14393
|
-
onKeyDown(e);
|
|
14394
|
-
}
|
|
14395
|
-
};
|
|
14396
|
-
return /* @__PURE__ */ jsxs(
|
|
14397
|
-
"div",
|
|
14398
|
-
{
|
|
14399
|
-
className: classNames,
|
|
14400
|
-
tabIndex,
|
|
14401
|
-
role,
|
|
14402
|
-
onClick: onClickHandler,
|
|
14403
|
-
onKeyDown: onKeyDownHandler,
|
|
14404
|
-
"aria-disabled": disabled,
|
|
14405
|
-
children: [
|
|
14406
|
-
title && /* @__PURE__ */ jsxs("header", { className: headerClassNames, children: [
|
|
14407
|
-
/* @__PURE__ */ jsxs("div", { className: "adyen-kyc-card-title", children: [
|
|
14408
|
-
/* @__PURE__ */ jsx$1(Typography, { el: "h4", variant: "title", children: title }),
|
|
14409
|
-
subTitle && /* @__PURE__ */ jsx$1(Typography, { el: "p", variant: "body", children: subTitle })
|
|
14410
|
-
] }),
|
|
14411
|
-
headerButton && headerButton
|
|
14412
|
-
] }),
|
|
14413
|
-
children2 && /* @__PURE__ */ jsx$1("div", { role: "region", className: bodyClassNames, children: children2 }),
|
|
14414
|
-
!!warningMessage && /* @__PURE__ */ jsx$1(Alert, { className: "adyen-kyc-card__warning", title: warningMessage, variant: "warning" })
|
|
14415
|
-
]
|
|
14416
|
-
}
|
|
14417
|
-
);
|
|
14418
|
-
}
|
|
14419
|
-
const confirm = "adyen-kyc-confirm";
|
|
14420
|
-
const confirmMessage = "adyen-kyc-confirm-message";
|
|
14421
|
-
const confirmActions = "adyen-kyc-confirm-actions";
|
|
14422
|
-
const styles$5 = {
|
|
14423
|
-
confirm,
|
|
14424
|
-
confirmMessage,
|
|
14425
|
-
confirmActions
|
|
14426
|
-
};
|
|
14427
|
-
const Confirm = ({
|
|
14428
|
-
description,
|
|
14429
|
-
cancelText,
|
|
14430
|
-
confirmText,
|
|
14431
|
-
critical = false,
|
|
14432
|
-
onCancel,
|
|
14433
|
-
onConfirm,
|
|
14434
|
-
title
|
|
14435
|
-
}) => {
|
|
14436
|
-
const { i18n } = useI18nContext();
|
|
14437
|
-
const [isInFlight, setIsInFlight] = useState(false);
|
|
14438
|
-
const showCancelButton = onCancel !== void 0;
|
|
14439
|
-
const buttonVariant = critical ? "critical" : "primary";
|
|
14440
|
-
const handleConfirm = async () => {
|
|
14441
|
-
setIsInFlight(true);
|
|
14442
|
-
try {
|
|
14443
|
-
await onConfirm();
|
|
14444
|
-
} finally {
|
|
14445
|
-
setIsInFlight(false);
|
|
14446
|
-
}
|
|
14447
|
-
};
|
|
14448
|
-
return /* @__PURE__ */ jsx$1(Modal, { size: "small", transition: "dropIn", showCloseButton: false, ariaLabel: title, children: /* @__PURE__ */ jsxs("div", { className: styles$5.confirm, children: [
|
|
14449
|
-
/* @__PURE__ */ jsxs("div", { className: styles$5.confirmMessage, children: [
|
|
14450
|
-
/* @__PURE__ */ jsx$1(Typography, { variant: "title", el: "h3", children: title }),
|
|
14451
|
-
description && /* @__PURE__ */ jsx$1(Typography, { variant: "body", el: "p", children: description })
|
|
14452
|
-
] }),
|
|
14453
|
-
/* @__PURE__ */ jsxs("div", { className: styles$5.confirmActions, children: [
|
|
14454
|
-
showCancelButton && /* @__PURE__ */ jsx$1(Button, { onClick: onCancel, variant: "secondary", disabled: isInFlight, children: cancelText ?? i18n.get("cancel") }),
|
|
14455
|
-
/* @__PURE__ */ jsx$1(Button, { onClick: handleConfirm, variant: buttonVariant, loading: isInFlight, children: confirmText ?? i18n.get("confirm") })
|
|
14456
|
-
] })
|
|
14457
|
-
] }) });
|
|
14458
|
-
};
|
|
14459
|
-
const preferInstantVerificationMethod = "adyen-kyc-prefer-instant-verification-method";
|
|
14460
|
-
const preferInstantVerificationMethodCard = "adyen-kyc-prefer-instant-verification-method-card";
|
|
14461
|
-
const preferInstantVerificationMethodActions = "adyen-kyc-prefer-instant-verification-method-actions";
|
|
14462
|
-
const styles$4 = {
|
|
14463
|
-
preferInstantVerificationMethod,
|
|
14464
|
-
preferInstantVerificationMethodCard,
|
|
14465
|
-
preferInstantVerificationMethodActions
|
|
14466
|
-
};
|
|
14467
|
-
const PreferInstantVerificationMethod = ({
|
|
14468
|
-
loadingStatus,
|
|
14469
|
-
provider,
|
|
14470
|
-
bankInfoValidated,
|
|
14471
|
-
instantVerificationAvailable,
|
|
14472
|
-
selectVerificationMethod,
|
|
14473
|
-
createTrustedTransferInstrument,
|
|
14474
|
-
setBankInfoValidated,
|
|
14475
|
-
setBankVerificationError,
|
|
14476
|
-
handleChangeFor,
|
|
14477
|
-
handleNextClick,
|
|
14478
|
-
triggerValidation
|
|
14479
|
-
}) => {
|
|
14480
|
-
const { i18n } = useI18nContext();
|
|
14481
|
-
const userEvents2 = useAnalyticsContext();
|
|
14482
|
-
const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
|
|
14483
|
-
const [hideVerificationWidget, setHideVerificationWidget] = useState(true);
|
|
14484
|
-
const [isModalOpen, setIsModalOpen] = useState(false);
|
|
14485
|
-
const [moveToNextStep, setMoveToNextStep] = useState(false);
|
|
14486
|
-
const retrieveBankAccountInfo = async ({
|
|
14487
|
-
realLastFour,
|
|
14488
|
-
number,
|
|
14489
|
-
bankName
|
|
14490
|
-
}) => {
|
|
14491
|
-
handleChangeFor("payoutVerificationMethod")("instantVerification");
|
|
14492
|
-
handleChangeFor("verifiedBankAccountNumber")(realLastFour ? `*******${realLastFour}` : number);
|
|
14493
|
-
handleChangeFor("verifiedBankName")(bankName);
|
|
14494
|
-
setBankInfoValidated == null ? void 0 : setBankInfoValidated(true);
|
|
14495
|
-
triggerValidation();
|
|
14496
|
-
setMoveToNextStep(true);
|
|
14497
|
-
await invalidateRootLegalEntity();
|
|
14498
|
-
};
|
|
14499
|
-
useEffect(() => {
|
|
14500
|
-
if (moveToNextStep) {
|
|
14501
|
-
handleNextClick();
|
|
14502
|
-
setMoveToNextStep(false);
|
|
14503
|
-
}
|
|
14504
|
-
}, [moveToNextStep, handleNextClick]);
|
|
14505
|
-
const handleClickInstantButton = () => {
|
|
14506
|
-
userEvents2.addPageEvent("Clicked button", {
|
|
14507
|
-
actionType: "add",
|
|
14508
|
-
label: "addAccountWith"
|
|
14509
|
-
});
|
|
14510
|
-
if (!isProviderWidgetInline(provider == null ? void 0 : provider.name)) {
|
|
14511
|
-
setHideVerificationWidget(false);
|
|
14512
|
-
}
|
|
14513
|
-
selectVerificationMethod("instantVerification");
|
|
14514
|
-
};
|
|
14515
|
-
const handleClickManualButton = () => {
|
|
14516
|
-
if (!provider) {
|
|
14517
|
-
selectVerificationMethod("manualVerification");
|
|
14518
|
-
} else {
|
|
14519
|
-
setIsModalOpen(true);
|
|
14520
|
-
userEvents2.addPageEvent("Opened modal", {
|
|
14521
|
-
actionType: "open",
|
|
14522
|
-
label: "manuallyAddAccount"
|
|
14523
|
-
});
|
|
14524
|
-
}
|
|
14525
|
-
};
|
|
14526
|
-
const handleClickContinue = () => {
|
|
14527
|
-
setIsModalOpen(false);
|
|
14528
|
-
selectVerificationMethod("manualVerification");
|
|
14529
|
-
};
|
|
14530
|
-
const handleClickCancel = () => {
|
|
14531
|
-
userEvents2.addPageEvent("Clicked button", {
|
|
14532
|
-
actionType: "cancel",
|
|
14533
|
-
label: "cancel"
|
|
14534
|
-
});
|
|
14535
|
-
setIsModalOpen(false);
|
|
14536
|
-
};
|
|
14537
|
-
const InstantButton = instantVerificationAvailable ? /* @__PURE__ */ jsx$1(
|
|
14538
|
-
ProviderButton,
|
|
14539
|
-
{
|
|
14540
|
-
provider: provider == null ? void 0 : provider.name.toLowerCase(),
|
|
14541
|
-
fullWidth: true,
|
|
14542
|
-
onClick: handleClickInstantButton,
|
|
14543
|
-
disabled: bankInfoValidated,
|
|
14544
|
-
loading: !hideVerificationWidget
|
|
14545
|
-
}
|
|
14546
|
-
) : /* @__PURE__ */ jsx$1(Card, { background: "secondary", className: styles$4.preferInstantVerificationMethodCard, children: i18n.get("unfortunatelyAnInstantProvider") });
|
|
14547
|
-
return /* @__PURE__ */ jsxs("div", { className: styles$4.preferInstantVerificationMethod, children: [
|
|
14548
|
-
/* @__PURE__ */ jsxs("div", { className: styles$4.preferInstantVerificationMethodActions, children: [
|
|
14549
|
-
loadingStatus === "pending" ? /* @__PURE__ */ jsx$1("div", { className: "adyen-kyc-u-margin-bottom-8", children: /* @__PURE__ */ jsx$1(Skeleton, { height: "2.5rem" }) }) : InstantButton,
|
|
14550
|
-
/* @__PURE__ */ jsx$1(
|
|
14551
|
-
Button,
|
|
14552
|
-
{
|
|
14553
|
-
variant: instantVerificationAvailable ? "secondary" : "primary",
|
|
14554
|
-
onClick: handleClickManualButton,
|
|
14555
|
-
disabled: bankInfoValidated,
|
|
14556
|
-
fullWidth: true,
|
|
14557
|
-
children: instantVerificationAvailable ? i18n.get("manuallyAddAccountSlower") : i18n.get("manuallyAddAccount")
|
|
14558
|
-
}
|
|
14559
|
-
)
|
|
14560
|
-
] }),
|
|
14561
|
-
!hideVerificationWidget && instantVerificationAvailable && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
14562
|
-
/* @__PURE__ */ jsx$1(
|
|
14563
|
-
BankVerificationWidget,
|
|
14564
|
-
{
|
|
14565
|
-
url: provider.redirectUrl,
|
|
14566
|
-
vendor: provider.name,
|
|
14567
|
-
createTrustedTransferInstrument,
|
|
14568
|
-
setBankVerificationError,
|
|
14569
|
-
setHideVerificationWidget,
|
|
14570
|
-
retrieveBankAccountInfo,
|
|
14571
|
-
fullscreen: true
|
|
14572
|
-
}
|
|
14573
|
-
),
|
|
14574
|
-
isProviderWidgetInline(provider.name) ? /* @__PURE__ */ jsx$1(
|
|
14575
|
-
ActionBar,
|
|
14576
|
-
{
|
|
14577
|
-
onBack: () => setHideVerificationWidget(true),
|
|
14578
|
-
backButtonLabel: i18n.get("goBack")
|
|
14579
|
-
}
|
|
14580
|
-
) : void 0
|
|
14581
|
-
] }),
|
|
14582
|
-
isModalOpen && /* @__PURE__ */ jsx$1(
|
|
14583
|
-
Confirm,
|
|
14584
|
-
{
|
|
14585
|
-
title: i18n.get("manuallyAddAccountQuestion"),
|
|
14586
|
-
description: i18n.get("addingAndVerifiyingABankAccount"),
|
|
14587
|
-
onConfirm: handleClickContinue,
|
|
14588
|
-
confirmText: i18n.get("yesContinue"),
|
|
14589
|
-
onCancel: handleClickCancel
|
|
14590
|
-
}
|
|
14591
|
-
)
|
|
14592
|
-
] });
|
|
14190
|
+
CountryCodes.Switzerland,
|
|
14191
|
+
CountryCodes.UnitedKingdom,
|
|
14192
|
+
CountryCodes.Gibraltar
|
|
14193
|
+
],
|
|
14194
|
+
apac: [CountryCodes.NewZealand, CountryCodes.Australia]
|
|
14195
|
+
};
|
|
14196
|
+
const getAllowedBankCountries = (country) => Object.values(regions).find((countriesInARegion) => countriesInARegion.includes(country)) ?? [
|
|
14197
|
+
country
|
|
14198
|
+
];
|
|
14199
|
+
const getProviderIconName = (providerName) => {
|
|
14200
|
+
switch (providerName == null ? void 0 : providerName.toLowerCase()) {
|
|
14201
|
+
case "tink":
|
|
14202
|
+
return "tink-logo";
|
|
14203
|
+
case "plaid":
|
|
14204
|
+
return "plaid-logo";
|
|
14205
|
+
case "yapily":
|
|
14206
|
+
return "yapily-logo";
|
|
14207
|
+
default:
|
|
14208
|
+
return void 0;
|
|
14209
|
+
}
|
|
14593
14210
|
};
|
|
14211
|
+
const makePayoutVerificationMethodsMetadata = (instantVerificationProviderName) => ({
|
|
14212
|
+
instantVerification: {
|
|
14213
|
+
name: "verifyViaMobileBankingAppOrWebsite",
|
|
14214
|
+
subtitle: "instant",
|
|
14215
|
+
description: "instantVerificationDescription",
|
|
14216
|
+
svgName: "payout-verification-instant",
|
|
14217
|
+
provider: instantVerificationProviderName ? {
|
|
14218
|
+
name: instantVerificationProviderName,
|
|
14219
|
+
svgName: getProviderIconName(instantVerificationProviderName)
|
|
14220
|
+
} : void 0
|
|
14221
|
+
},
|
|
14222
|
+
manualVerification: {
|
|
14223
|
+
name: "uploadABankStatement",
|
|
14224
|
+
subtitle: "mayTakeAFewDays",
|
|
14225
|
+
description: "manualVerificationDescription",
|
|
14226
|
+
svgName: "payout-verification-manual"
|
|
14227
|
+
}
|
|
14228
|
+
});
|
|
14594
14229
|
const payoutVerificationMethods = ["instantVerification", "manualVerification"];
|
|
14595
14230
|
const PayoutVerificationMethodOptionIcon = ({
|
|
14596
14231
|
method,
|
|
@@ -14644,29 +14279,20 @@ function PayoutVerificationMethod(props) {
|
|
|
14644
14279
|
bankVendorsLoadingStatus,
|
|
14645
14280
|
instantVerificationAvailable,
|
|
14646
14281
|
legalEntityResponse,
|
|
14647
|
-
forms,
|
|
14648
14282
|
validators,
|
|
14649
|
-
isActiveForm,
|
|
14650
14283
|
bankInfoValidated,
|
|
14651
|
-
setBankInfoValidated,
|
|
14652
|
-
handleNextClick,
|
|
14653
|
-
createTrustedTransferInstrument,
|
|
14654
|
-
setBankVerificationError,
|
|
14655
|
-
setHideFooter,
|
|
14656
14284
|
data: payoutVerificationMethodData
|
|
14657
14285
|
} = props;
|
|
14658
14286
|
const { type: legalEntityType } = legalEntityResponse;
|
|
14659
14287
|
const { i18n } = useI18nContext();
|
|
14660
14288
|
const instantVerificationError = useContext$1(InstantVerificationErrorContext);
|
|
14661
14289
|
const { isSettingEnabled } = useSettingsContext();
|
|
14662
|
-
const { isExperimentEnabled } = useExperimentsContext();
|
|
14663
14290
|
const canChangeEntityType = isSettingEnabled(SettingNames.AllowLegalEntityTypeChange);
|
|
14664
|
-
const enableEmphasizedCredentialBankingFlow = isExperimentEnabled("CredentialBankingWeightage_EmphasizeCredentialBankingFlow") || isExperimentEnabled("EnablePreferInstantVerificationFlow");
|
|
14665
14291
|
const intraRegionCrossBorderPayoutsAllowed = isSettingEnabled(
|
|
14666
14292
|
SettingNames.AllowIntraRegionCrossBorderPayout
|
|
14667
14293
|
);
|
|
14668
14294
|
const [hasSelectedMethod, setHasSelectedMethod] = useState(false);
|
|
14669
|
-
const { handleChangeFor, data, valid, errors, fieldProblems
|
|
14295
|
+
const { handleChangeFor, data, valid, errors, fieldProblems } = useForm({
|
|
14670
14296
|
...props,
|
|
14671
14297
|
schema: payoutVerificationMethodFields,
|
|
14672
14298
|
defaultData: {
|
|
@@ -14685,17 +14311,13 @@ function PayoutVerificationMethod(props) {
|
|
|
14685
14311
|
() => updateStateSlice({ data: { ...sliceData, ...data }, errors, valid, fieldProblems }),
|
|
14686
14312
|
[data, errors, fieldProblems, valid]
|
|
14687
14313
|
);
|
|
14688
|
-
useEffect(() => {
|
|
14689
|
-
if (!enableEmphasizedCredentialBankingFlow) return;
|
|
14690
|
-
setHideFooter == null ? void 0 : setHideFooter(isActiveForm && !bankInfoValidated);
|
|
14691
|
-
}, [enableEmphasizedCredentialBankingFlow, isActiveForm, bankInfoValidated, setHideFooter]);
|
|
14692
14314
|
const methodsMetadata = makePayoutVerificationMethodsMetadata(provider == null ? void 0 : provider.name);
|
|
14693
14315
|
const selectVerificationMethod = (method) => {
|
|
14694
14316
|
setHasSelectedMethod(true);
|
|
14695
14317
|
handleChangeFor("payoutVerificationMethod")(method);
|
|
14696
14318
|
};
|
|
14697
14319
|
useEffect(() => {
|
|
14698
|
-
if (
|
|
14320
|
+
if (bankInfoValidated) return;
|
|
14699
14321
|
if (!hasSelectedMethod && instantVerificationAvailable && data.payoutVerificationMethod !== "instantVerification") {
|
|
14700
14322
|
handleChangeFor("payoutVerificationMethod")("instantVerification");
|
|
14701
14323
|
}
|
|
@@ -14707,31 +14329,8 @@ function PayoutVerificationMethod(props) {
|
|
|
14707
14329
|
handleChangeFor,
|
|
14708
14330
|
instantVerificationAvailable,
|
|
14709
14331
|
hasSelectedMethod,
|
|
14710
|
-
enableEmphasizedCredentialBankingFlow,
|
|
14711
14332
|
bankInfoValidated
|
|
14712
14333
|
]);
|
|
14713
|
-
useEffect(() => {
|
|
14714
|
-
if (!enableEmphasizedCredentialBankingFlow || !isActiveForm) return;
|
|
14715
|
-
if (hasSelectedMethod && (forms == null ? void 0 : forms.find(
|
|
14716
|
-
(val) => val.formId === (data.payoutVerificationMethod === "instantVerification" ? "payoutAccountVerification" : "payoutAccountDetails")
|
|
14717
|
-
))) {
|
|
14718
|
-
setTimeout(() => handleNextClick(), 50);
|
|
14719
|
-
setHasSelectedMethod(false);
|
|
14720
|
-
}
|
|
14721
|
-
}, [
|
|
14722
|
-
forms,
|
|
14723
|
-
hasSelectedMethod,
|
|
14724
|
-
data.payoutVerificationMethod,
|
|
14725
|
-
handleNextClick,
|
|
14726
|
-
isActiveForm,
|
|
14727
|
-
enableEmphasizedCredentialBankingFlow
|
|
14728
|
-
]);
|
|
14729
|
-
useEffect(() => {
|
|
14730
|
-
if (!enableEmphasizedCredentialBankingFlow || bankVendorsLoadingStatus === "pending") return;
|
|
14731
|
-
if (!(provider == null ? void 0 : provider.redirectUrl)) {
|
|
14732
|
-
selectVerificationMethod("manualVerification");
|
|
14733
|
-
}
|
|
14734
|
-
}, [provider, bankVendorsLoadingStatus, enableEmphasizedCredentialBankingFlow]);
|
|
14735
14334
|
const { dataset: countries } = useDataset(datasetIdentifier.country);
|
|
14736
14335
|
const bankCountryName = ((_b2 = countries.find((country2) => country2.id === data.bankCountry)) == null ? void 0 : _b2.name) ?? data.bankCountry;
|
|
14737
14336
|
const allowedBankCountries = getAllowedBankCountries(country);
|
|
@@ -14769,22 +14368,7 @@ function PayoutVerificationMethod(props) {
|
|
|
14769
14368
|
)
|
|
14770
14369
|
] }) });
|
|
14771
14370
|
return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc-payout-verification-method", children: [
|
|
14772
|
-
|
|
14773
|
-
/* @__PURE__ */ jsx$1(
|
|
14774
|
-
Svg,
|
|
14775
|
-
{
|
|
14776
|
-
name: "instant-verification-method",
|
|
14777
|
-
type: "image",
|
|
14778
|
-
title: i18n.get("instantVerification"),
|
|
14779
|
-
className: "adyen-kyc-payout-verification-method__image"
|
|
14780
|
-
}
|
|
14781
|
-
),
|
|
14782
|
-
/* @__PURE__ */ jsx$1(Typography, { variant: "title-l", el: "h2", children: i18n.get("instantlyAddAndVerifyABankAccount") }),
|
|
14783
|
-
/* @__PURE__ */ jsxs("div", { className: "adyen-kyc-payout-verification-method__description", children: [
|
|
14784
|
-
/* @__PURE__ */ jsx$1(Typography, { children: i18n.get("securelyUseYourBanksWebsite") }),
|
|
14785
|
-
description
|
|
14786
|
-
] })
|
|
14787
|
-
] }),
|
|
14371
|
+
/* @__PURE__ */ jsx$1(FormHeader, { heading, descriptionComponent: description }),
|
|
14788
14372
|
instantVerificationError && /* @__PURE__ */ jsx$1(
|
|
14789
14373
|
Alert,
|
|
14790
14374
|
{
|
|
@@ -14794,70 +14378,52 @@ function PayoutVerificationMethod(props) {
|
|
|
14794
14378
|
children: instantVerificationError.content && /* @__PURE__ */ jsx$1("p", { className: "adyen-kyc-u-margin-0", children: instantVerificationError.content })
|
|
14795
14379
|
}
|
|
14796
14380
|
),
|
|
14797
|
-
|
|
14798
|
-
|
|
14799
|
-
PreferInstantVerificationMethod,
|
|
14800
|
-
{
|
|
14801
|
-
loadingStatus: bankVendorsLoadingStatus,
|
|
14802
|
-
provider,
|
|
14803
|
-
instantVerificationAvailable,
|
|
14804
|
-
bankInfoValidated,
|
|
14805
|
-
selectVerificationMethod,
|
|
14806
|
-
handleChangeFor,
|
|
14807
|
-
handleNextClick,
|
|
14808
|
-
setBankInfoValidated,
|
|
14809
|
-
createTrustedTransferInstrument,
|
|
14810
|
-
setBankVerificationError,
|
|
14811
|
-
triggerValidation
|
|
14812
|
-
}
|
|
14813
|
-
) : /* @__PURE__ */ jsx$1(
|
|
14381
|
+
countryField,
|
|
14382
|
+
/* @__PURE__ */ jsx$1(
|
|
14814
14383
|
Field,
|
|
14815
14384
|
{
|
|
14816
|
-
el: "fieldset",
|
|
14817
14385
|
name: "verificationMethods",
|
|
14818
14386
|
label: formUtils.getLabel("payoutVerificationMethod", "verificationMethod"),
|
|
14819
|
-
errorMessage: formUtils.getErrorMessage(
|
|
14820
|
-
|
|
14821
|
-
|
|
14822
|
-
|
|
14823
|
-
|
|
14824
|
-
|
|
14825
|
-
|
|
14826
|
-
|
|
14827
|
-
|
|
14828
|
-
|
|
14829
|
-
|
|
14830
|
-
|
|
14831
|
-
|
|
14832
|
-
|
|
14833
|
-
|
|
14834
|
-
|
|
14835
|
-
|
|
14836
|
-
|
|
14837
|
-
|
|
14838
|
-
|
|
14839
|
-
|
|
14840
|
-
|
|
14841
|
-
|
|
14842
|
-
|
|
14843
|
-
|
|
14844
|
-
|
|
14845
|
-
|
|
14846
|
-
|
|
14847
|
-
|
|
14848
|
-
|
|
14849
|
-
|
|
14850
|
-
|
|
14851
|
-
|
|
14852
|
-
|
|
14853
|
-
|
|
14854
|
-
|
|
14855
|
-
|
|
14856
|
-
|
|
14857
|
-
|
|
14858
|
-
|
|
14859
|
-
}
|
|
14860
|
-
)
|
|
14387
|
+
errorMessage: formUtils.getErrorMessage("payoutVerificationMethod", errors, fieldProblems),
|
|
14388
|
+
children: (childProps) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
14389
|
+
!instantVerificationAvailable && /* @__PURE__ */ jsx$1("span", { className: "adyen-kyc-helper-text", children: i18n.get("weDoNotYetSupportInstantVerificationForBankAccountsIn_", {
|
|
14390
|
+
values: { countryName: bankCountryName }
|
|
14391
|
+
}) }),
|
|
14392
|
+
/* @__PURE__ */ jsx$1(
|
|
14393
|
+
RadioGroupCard,
|
|
14394
|
+
{
|
|
14395
|
+
...childProps,
|
|
14396
|
+
name: "verificationMethod",
|
|
14397
|
+
options: payoutVerificationMethods,
|
|
14398
|
+
onSelect: selectVerificationMethod,
|
|
14399
|
+
selected: data.payoutVerificationMethod,
|
|
14400
|
+
optionId: (method) => method,
|
|
14401
|
+
optionName: (method) => methodsMetadata[method].name,
|
|
14402
|
+
optionDescription: (method) => methodsMetadata[method].description,
|
|
14403
|
+
optionSubtitle: (method) => methodsMetadata[method].subtitle,
|
|
14404
|
+
className: "adyen-kyc-field-verification-methods",
|
|
14405
|
+
optionClassNames: () => ({
|
|
14406
|
+
label: "adyen-kyc-field-verification-methods__card"
|
|
14407
|
+
}),
|
|
14408
|
+
isOptionDisabled: (option) => bankInfoValidated || option === "instantVerification" && !instantVerificationAvailable,
|
|
14409
|
+
renderOptionIcon: (method) => /* @__PURE__ */ jsx$1(
|
|
14410
|
+
PayoutVerificationMethodOptionIcon,
|
|
14411
|
+
{
|
|
14412
|
+
method,
|
|
14413
|
+
methodsMetadata
|
|
14414
|
+
}
|
|
14415
|
+
),
|
|
14416
|
+
renderOptionFooter: (method) => /* @__PURE__ */ jsx$1(
|
|
14417
|
+
PayoutVerificationMethodOptionFooter,
|
|
14418
|
+
{
|
|
14419
|
+
method,
|
|
14420
|
+
methodsMetadata
|
|
14421
|
+
}
|
|
14422
|
+
),
|
|
14423
|
+
floatingRadio: true
|
|
14424
|
+
}
|
|
14425
|
+
)
|
|
14426
|
+
] })
|
|
14861
14427
|
}
|
|
14862
14428
|
),
|
|
14863
14429
|
/* @__PURE__ */ jsx$1(
|
|
@@ -14869,7 +14435,7 @@ function PayoutVerificationMethod(props) {
|
|
|
14869
14435
|
id: "ariaErrorField"
|
|
14870
14436
|
}
|
|
14871
14437
|
),
|
|
14872
|
-
|
|
14438
|
+
provider && bankVendorsLoadingStatus === "success" ? /* @__PURE__ */ jsx$1(
|
|
14873
14439
|
ContextGuidance,
|
|
14874
14440
|
{
|
|
14875
14441
|
titleId: "howDoesVerificationWithOurPartnerWorks",
|
|
@@ -14881,16 +14447,11 @@ function PayoutVerificationMethod(props) {
|
|
|
14881
14447
|
/* @__PURE__ */ jsx$1(Typography, { children: i18n.get("isOurTrustedPartnerHelpingSpeedUpSetup", {
|
|
14882
14448
|
values: { provider: provider.name }
|
|
14883
14449
|
}) }),
|
|
14884
|
-
/* @__PURE__ */
|
|
14885
|
-
|
|
14886
|
-
{
|
|
14887
|
-
|
|
14888
|
-
|
|
14889
|
-
i18n.get("loginIntoYourBankingEnvironment"),
|
|
14890
|
-
i18n.get("yourBankWillConfirmYourAccountDetails")
|
|
14891
|
-
]
|
|
14892
|
-
}
|
|
14893
|
-
),
|
|
14450
|
+
/* @__PURE__ */ jsxs("ul", { children: [
|
|
14451
|
+
/* @__PURE__ */ jsx$1("li", { children: i18n.get("selectTheBankToReceivePayouts") }),
|
|
14452
|
+
/* @__PURE__ */ jsx$1("li", { children: i18n.get("loginIntoYourBankingEnvironment") }),
|
|
14453
|
+
/* @__PURE__ */ jsx$1("li", { children: i18n.get("yourBankWillConfirmYourAccountDetails") })
|
|
14454
|
+
] }),
|
|
14894
14455
|
/* @__PURE__ */ jsx$1(Typography, { children: i18n.get("adyenWillOnlyGetTemporaryAccess") }),
|
|
14895
14456
|
/* @__PURE__ */ jsx$1(Typography, { variant: "caption", children: /* @__PURE__ */ jsx$1(Link, { href: "https://www.adyen.com/policies-and-disclaimer/privacy-policy", external: true, children: i18n.get("adyenPrivacyPolicy") }) })
|
|
14896
14457
|
] })
|
|
@@ -14936,14 +14497,11 @@ function PayoutDetails(props) {
|
|
|
14936
14497
|
bankVendorsLoadingStatus,
|
|
14937
14498
|
instantVerificationAvailable,
|
|
14938
14499
|
setHideSidebar,
|
|
14939
|
-
setHideFooter,
|
|
14940
14500
|
setSkipSubmit,
|
|
14941
14501
|
createTrustedTransferInstrument,
|
|
14942
14502
|
accountDetailsFromInput,
|
|
14943
|
-
handleNextClick,
|
|
14944
14503
|
country,
|
|
14945
14504
|
accountHolder,
|
|
14946
|
-
forms,
|
|
14947
14505
|
data: propData,
|
|
14948
14506
|
onBack,
|
|
14949
14507
|
trustedTransferInstrumentId
|
|
@@ -14961,10 +14519,7 @@ function PayoutDetails(props) {
|
|
|
14961
14519
|
const globalData = useGlobalData();
|
|
14962
14520
|
const data = isEmpty$1(globalData) || ((_a2 = propData == null ? void 0 : propData.payoutAccountDetails) == null ? void 0 : _a2.transferInstrumentId) ? propData : globalData;
|
|
14963
14521
|
const resetData = useResetGlobalData();
|
|
14964
|
-
const { isExperimentEnabled } = useExperimentsContext();
|
|
14965
|
-
const enableEmphasizedCredentialBankingFlow = isExperimentEnabled("CredentialBankingWeightage_EmphasizeCredentialBankingFlow") || isExperimentEnabled("EnablePreferInstantVerificationFlow");
|
|
14966
14522
|
const verifyInstantly = ((_b2 = data == null ? void 0 : data.payoutVerificationMethod) == null ? void 0 : _b2.payoutVerificationMethod) === "instantVerification";
|
|
14967
|
-
const showBankVerification = !enableEmphasizedCredentialBankingFlow || isProviderWidgetInline(provider == null ? void 0 : provider.name);
|
|
14968
14523
|
const bankCountry = ((_c2 = data == null ? void 0 : data.payoutVerificationMethod) == null ? void 0 : _c2.bankCountry) ?? country;
|
|
14969
14524
|
const bankDocumentDescription = i18n.get(
|
|
14970
14525
|
legalEntityResponse.type === "individual" ? "bankStatementIndividualDescription" : "bankStatementNonIndividualDescription"
|
|
@@ -15001,13 +14556,6 @@ function PayoutDetails(props) {
|
|
|
15001
14556
|
resetInvalidFieldState();
|
|
15002
14557
|
}
|
|
15003
14558
|
}, [i18n, validateAccountDetails]);
|
|
15004
|
-
const shouldHideFooter = useMemo(
|
|
15005
|
-
() => (activeForm == null ? void 0 : activeForm.formId) === "payoutVerificationMethod" && enableEmphasizedCredentialBankingFlow,
|
|
15006
|
-
[activeForm == null ? void 0 : activeForm.formId, enableEmphasizedCredentialBankingFlow]
|
|
15007
|
-
);
|
|
15008
|
-
useEffect(() => {
|
|
15009
|
-
setHideFooter == null ? void 0 : setHideFooter(shouldHideFooter);
|
|
15010
|
-
}, [shouldHideFooter]);
|
|
15011
14559
|
return /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-payout", children: [
|
|
15012
14560
|
/* @__PURE__ */ jsx$1(
|
|
15013
14561
|
"div",
|
|
@@ -15020,23 +14568,17 @@ function PayoutDetails(props) {
|
|
|
15020
14568
|
id: PayoutVerificationMethodFormID,
|
|
15021
14569
|
heading: taskHeading,
|
|
15022
14570
|
country,
|
|
15023
|
-
forms,
|
|
15024
|
-
isActiveForm: (activeForm == null ? void 0 : activeForm.formId) === PayoutVerificationMethodFormID,
|
|
15025
14571
|
accountHolder,
|
|
15026
14572
|
legalEntityResponse,
|
|
15027
14573
|
provider,
|
|
15028
14574
|
bankVendorsLoadingStatus,
|
|
15029
14575
|
bankInfoValidated,
|
|
15030
|
-
|
|
15031
|
-
handleNextClick,
|
|
15032
|
-
instantVerificationAvailable,
|
|
15033
|
-
createTrustedTransferInstrument,
|
|
15034
|
-
setBankVerificationError: setInstantVerificationError
|
|
14576
|
+
instantVerificationAvailable
|
|
15035
14577
|
}
|
|
15036
14578
|
) })
|
|
15037
14579
|
}
|
|
15038
14580
|
),
|
|
15039
|
-
verifyInstantly ?
|
|
14581
|
+
verifyInstantly ? /* @__PURE__ */ jsx$1(
|
|
15040
14582
|
"div",
|
|
15041
14583
|
{
|
|
15042
14584
|
className: (activeForm == null ? void 0 : activeForm.formId) !== PayoutAccountVerificationFormID ? "adyen-kyc-form-wrapper adyen-kyc-form-wrapper--hidden" : "adyen-kyc-form-wrapper",
|
|
@@ -16312,11 +15854,6 @@ const rules = ({
|
|
|
16312
15854
|
if (taskType !== TaskTypes.SOLE_PROPRIETOR_COMPANY) {
|
|
16313
15855
|
return "REQUIRED";
|
|
16314
15856
|
}
|
|
16315
|
-
},
|
|
16316
|
-
canadaOverrideTaxInfo: () => {
|
|
16317
|
-
if (country === CountryCodes.Canada && taskType === TaskTypes.BUSINESS_DETAILS) {
|
|
16318
|
-
return "REQUIRED";
|
|
16319
|
-
}
|
|
16320
15857
|
}
|
|
16321
15858
|
});
|
|
16322
15859
|
function TaxIdNumberTypeSelector({
|
|
@@ -17182,7 +16719,8 @@ const businessRegistrationNumberMasks = {
|
|
|
17182
16719
|
spacer,
|
|
17183
16720
|
...nonInputs("-", { includeInValue: true }),
|
|
17184
16721
|
spacer,
|
|
17185
|
-
...numericInputs(9)
|
|
16722
|
+
...numericInputs(9),
|
|
16723
|
+
...numericInputs(1, true)
|
|
17186
16724
|
)
|
|
17187
16725
|
}
|
|
17188
16726
|
},
|
|
@@ -17288,7 +16826,7 @@ const businessRegistrationNumberMasks = {
|
|
|
17288
16826
|
}
|
|
17289
16827
|
},
|
|
17290
16828
|
[CountryCodes.Ireland]: {
|
|
17291
|
-
default: { mask: makeMask(...numericInputs(1), ...numericInputs(
|
|
16829
|
+
default: { mask: makeMask(...numericInputs(1), ...numericInputs(7, true)) }
|
|
17292
16830
|
},
|
|
17293
16831
|
[CountryCodes.IsleOfMan]: {
|
|
17294
16832
|
default: { mask: makeMask(...numericInputs(6), ...alphaInputs(1)), transformOnType: uppercase }
|
|
@@ -18143,7 +17681,7 @@ const businessRegistrationNumberPatterns = {
|
|
|
18143
17681
|
[CountryCodes.Australia]: { default: /^\d{9}$/, associationIncorporated: /^[a-zA-Z0-9]{3,20}$/ },
|
|
18144
17682
|
[CountryCodes.Austria]: {
|
|
18145
17683
|
firmenbuchnummer: /^(FN|T)\d{3,6}[a-z]$/,
|
|
18146
|
-
ZVR: /^(AT-ZVR-)\d{9}$/
|
|
17684
|
+
ZVR: /^(AT-ZVR-)\d{9,10}$/
|
|
18147
17685
|
},
|
|
18148
17686
|
[CountryCodes.Belgium]: { default: /^\d{10}$/ },
|
|
18149
17687
|
[CountryCodes.Brazil]: { default: /^\d{14}$/ },
|
|
@@ -18168,7 +17706,7 @@ const businessRegistrationNumberPatterns = {
|
|
|
18168
17706
|
[CountryCodes.Iceland]: { default: /^\d{10}$/ },
|
|
18169
17707
|
[CountryCodes.India]: { default: /^\d{21}$/ },
|
|
18170
17708
|
[CountryCodes.Indonesia]: { default: /^\d{12}$/ },
|
|
18171
|
-
[CountryCodes.Ireland]: { default: /^[1-9]\d{1,
|
|
17709
|
+
[CountryCodes.Ireland]: { default: /^[1-9]\d{1,7}$/ },
|
|
18172
17710
|
[CountryCodes.IsleOfMan]: { default: /^\d{6}[A-Z]$/ },
|
|
18173
17711
|
[CountryCodes.Italy]: { partitaIVA: /^\d{11}$/, CCIAA: /^[a-zA-Z]{2}\d{6,7}$/ },
|
|
18174
17712
|
[CountryCodes.Japan]: { default: /^\d{13}$/ },
|
|
@@ -18306,7 +17844,7 @@ const defaultFieldConfig$5 = {
|
|
|
18306
17844
|
guidanceText: {
|
|
18307
17845
|
key: "enterTheRemainingNDigitsForExample",
|
|
18308
17846
|
values: {
|
|
18309
|
-
numDigits: "9",
|
|
17847
|
+
numDigits: "9-10",
|
|
18310
17848
|
example: "AT-ZVR-555769679"
|
|
18311
17849
|
}
|
|
18312
17850
|
}
|
|
@@ -18607,8 +18145,8 @@ const defaultFieldConfig$5 = {
|
|
|
18607
18145
|
guidanceText: {
|
|
18608
18146
|
key: "enterAMaximumOfNDigitsForExample",
|
|
18609
18147
|
values: {
|
|
18610
|
-
maxDigits: "
|
|
18611
|
-
example: "
|
|
18148
|
+
maxDigits: "8",
|
|
18149
|
+
example: "10123456"
|
|
18612
18150
|
}
|
|
18613
18151
|
}
|
|
18614
18152
|
},
|
|
@@ -19561,6 +19099,25 @@ const defaultFieldConfig$4 = {
|
|
|
19561
19099
|
}
|
|
19562
19100
|
}
|
|
19563
19101
|
},
|
|
19102
|
+
[CountryCodes.Ireland]: {
|
|
19103
|
+
label: "trnNumber",
|
|
19104
|
+
validators: mapValidators(
|
|
19105
|
+
[validatePatternOnBlur(/^(\d{7})([a-zA-Z])([a-zA-Z]?)$/)],
|
|
19106
|
+
CountryCodes.Ireland
|
|
19107
|
+
),
|
|
19108
|
+
mask: {
|
|
19109
|
+
mask: makeMask(...numericInputs(7), ...alphaInputs(1), ...alphaInputs(1, true))
|
|
19110
|
+
},
|
|
19111
|
+
guidanceText: {
|
|
19112
|
+
key: "enterXDigitsThenXToYLettersForExample",
|
|
19113
|
+
values: {
|
|
19114
|
+
numDigits: "7",
|
|
19115
|
+
minLetters: "1",
|
|
19116
|
+
maxLetters: "2",
|
|
19117
|
+
example: "1497955KA"
|
|
19118
|
+
}
|
|
19119
|
+
}
|
|
19120
|
+
},
|
|
19564
19121
|
[CountryCodes.IsleOfMan]: {
|
|
19565
19122
|
label: "taxReferenceNumber",
|
|
19566
19123
|
validators: mapValidators([validatePatternOnBlur(/^[HCX]\d{8}$/)], CountryCodes.IsleOfMan),
|
|
@@ -22920,6 +22477,70 @@ function CardGroup({ className: className2, children: children2, spaced = false
|
|
|
22920
22477
|
const baseClass = spaced ? "adyen-kyc-card-group-spaced" : "adyen-kyc-card-group";
|
|
22921
22478
|
return /* @__PURE__ */ jsx$1("section", { className: cx(baseClass, className2), children: children2 });
|
|
22922
22479
|
}
|
|
22480
|
+
function Card({
|
|
22481
|
+
className: className2,
|
|
22482
|
+
headerClassName,
|
|
22483
|
+
bodyClassName,
|
|
22484
|
+
children: children2,
|
|
22485
|
+
stateful,
|
|
22486
|
+
active,
|
|
22487
|
+
disabled,
|
|
22488
|
+
fetching,
|
|
22489
|
+
warningMessage,
|
|
22490
|
+
title,
|
|
22491
|
+
subTitle,
|
|
22492
|
+
headerButton,
|
|
22493
|
+
background = "primary",
|
|
22494
|
+
onClick,
|
|
22495
|
+
onKeyDown
|
|
22496
|
+
}) {
|
|
22497
|
+
const classNames = cx("adyen-kyc-card", className2, {
|
|
22498
|
+
"adyen-kyc-card--stateful": stateful,
|
|
22499
|
+
"adyen-kyc-card--active": stateful && active,
|
|
22500
|
+
"adyen-kyc-card--disabled": disabled,
|
|
22501
|
+
"adyen-kyc-card--fetching": fetching,
|
|
22502
|
+
"adyen-kyc-card--secondary": background === "secondary"
|
|
22503
|
+
});
|
|
22504
|
+
const headerClassNames = cx("adyen-kyc-card__header", headerClassName, {
|
|
22505
|
+
"adyen-kyc-card__header--button": headerButton
|
|
22506
|
+
});
|
|
22507
|
+
const bodyClassNames = cx("adyen-kyc-card__body", bodyClassName);
|
|
22508
|
+
const tabIndex = stateful ? 0 : void 0;
|
|
22509
|
+
const role = stateful ? "button" : "region";
|
|
22510
|
+
const onClickHandler = (e) => {
|
|
22511
|
+
if (disabled) {
|
|
22512
|
+
return;
|
|
22513
|
+
}
|
|
22514
|
+
onClick == null ? void 0 : onClick(e);
|
|
22515
|
+
};
|
|
22516
|
+
const onKeyDownHandler = (e) => {
|
|
22517
|
+
if (onKeyDown) {
|
|
22518
|
+
onKeyDown(e);
|
|
22519
|
+
}
|
|
22520
|
+
};
|
|
22521
|
+
return /* @__PURE__ */ jsxs(
|
|
22522
|
+
"div",
|
|
22523
|
+
{
|
|
22524
|
+
className: classNames,
|
|
22525
|
+
tabIndex,
|
|
22526
|
+
role,
|
|
22527
|
+
onClick: onClickHandler,
|
|
22528
|
+
onKeyDown: onKeyDownHandler,
|
|
22529
|
+
"aria-disabled": disabled,
|
|
22530
|
+
children: [
|
|
22531
|
+
title && /* @__PURE__ */ jsxs("header", { className: headerClassNames, children: [
|
|
22532
|
+
/* @__PURE__ */ jsxs("div", { className: "adyen-kyc-card-title", children: [
|
|
22533
|
+
/* @__PURE__ */ jsx$1(Typography, { el: "h4", variant: "title", children: title }),
|
|
22534
|
+
subTitle && /* @__PURE__ */ jsx$1(Typography, { el: "p", variant: "body", children: subTitle })
|
|
22535
|
+
] }),
|
|
22536
|
+
headerButton && headerButton
|
|
22537
|
+
] }),
|
|
22538
|
+
children2 && /* @__PURE__ */ jsx$1("div", { role: "region", className: bodyClassNames, children: children2 }),
|
|
22539
|
+
!!warningMessage && /* @__PURE__ */ jsx$1(Alert, { className: "adyen-kyc-card__warning", title: warningMessage, variant: "warning" })
|
|
22540
|
+
]
|
|
22541
|
+
}
|
|
22542
|
+
);
|
|
22543
|
+
}
|
|
22923
22544
|
const handleKeys = (keys, callback, propagationMode = "stopIfMatches") => (event) => {
|
|
22924
22545
|
if (propagationMode === "stop") event.stopPropagation();
|
|
22925
22546
|
if (keys.includes(event.key)) {
|
|
@@ -23899,6 +23520,13 @@ const staticBusinessDetailsForms = {
|
|
|
23899
23520
|
formDescription: "weNeedAnOfficialDocumentSignatory",
|
|
23900
23521
|
fields: ["proofOfSignatory"]
|
|
23901
23522
|
},
|
|
23523
|
+
companyProofOfOwnershipDocument: {
|
|
23524
|
+
formId: "companyProofOfOwnershipDocument",
|
|
23525
|
+
formName: "proofOfOwnership",
|
|
23526
|
+
formHeading: "uploadYourOrganizationProofOfOwnership",
|
|
23527
|
+
formDescription: "weNeedAnOfficialDocumentForOwnership",
|
|
23528
|
+
fields: ["proofOfOwnership"]
|
|
23529
|
+
},
|
|
23902
23530
|
companyConstitutionalDocument: {
|
|
23903
23531
|
formId: "companyConstitutionalDocument",
|
|
23904
23532
|
formName: "constitutionalDocument",
|
|
@@ -23928,6 +23556,7 @@ const getForms = (country) => ({
|
|
|
23928
23556
|
companyTaxDocument: staticBusinessDetailsForms.companyTaxDocument,
|
|
23929
23557
|
companyProofOfDirectorDocument: staticBusinessDetailsForms.companyProofOfDirectorDocument,
|
|
23930
23558
|
companyProofOfSignatoryDocument: staticBusinessDetailsForms.companyProofOfSignatoryDocument,
|
|
23559
|
+
companyProofOfOwnershipDocument: staticBusinessDetailsForms.companyProofOfOwnershipDocument,
|
|
23931
23560
|
companyFinancialInformation: {
|
|
23932
23561
|
formId: "companyFinancialInformation",
|
|
23933
23562
|
formName: "financialInformation",
|
|
@@ -23942,7 +23571,8 @@ const documentFormsIds = [
|
|
|
23942
23571
|
"companyTaxDocument",
|
|
23943
23572
|
"companyProofOfDirectorDocument",
|
|
23944
23573
|
"companyProofOfSignatoryDocument",
|
|
23945
|
-
"companyConstitutionalDocument"
|
|
23574
|
+
"companyConstitutionalDocument",
|
|
23575
|
+
"companyProofOfOwnershipDocument"
|
|
23946
23576
|
];
|
|
23947
23577
|
function reverseMapping(mapping) {
|
|
23948
23578
|
return Object.fromEntries(Object.entries(mapping).map(([key, value]) => [value, key]));
|
|
@@ -23993,7 +23623,8 @@ const businessDetailsDocumentMapping = {
|
|
|
23993
23623
|
["vatDocument"]: "companyTaxDocument.taxDocument",
|
|
23994
23624
|
["proofOfOrganizationTaxInfo"]: "companyTaxDocument.taxDocument",
|
|
23995
23625
|
["proofOfDirector"]: "companyProofOfDirectorDocument.proofOfDirector",
|
|
23996
|
-
["proofOfSignatory"]: "companyProofOfSignatoryDocument.proofOfSignatory"
|
|
23626
|
+
["proofOfSignatory"]: "companyProofOfSignatoryDocument.proofOfSignatory",
|
|
23627
|
+
["proofOfOwnership"]: "companyProofOfOwnershipDocument.proofOfOwnership"
|
|
23997
23628
|
};
|
|
23998
23629
|
const remediationBusinessDetailsApiKeyMapping = {
|
|
23999
23630
|
...businessDetailsApiKeyMapping,
|
|
@@ -24070,7 +23701,8 @@ function Dropzone(props) {
|
|
|
24070
23701
|
errors: errorProp,
|
|
24071
23702
|
fieldValidationErrors,
|
|
24072
23703
|
valid: validProp,
|
|
24073
|
-
enableTracking = false
|
|
23704
|
+
enableTracking = false,
|
|
23705
|
+
extraDropzoneDescription
|
|
24074
23706
|
} = props;
|
|
24075
23707
|
const { i18n } = useI18nContext();
|
|
24076
23708
|
const userEvents2 = useAnalyticsContext();
|
|
@@ -24190,7 +23822,8 @@ function Dropzone(props) {
|
|
|
24190
23822
|
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
24191
23823
|
/* @__PURE__ */ jsx$1("div", { className: "adyen-kyc-dropzone__icon", children: /* @__PURE__ */ jsx$1(Icon, { name: "upload" }) }),
|
|
24192
23824
|
/* @__PURE__ */ jsxs("div", { className: "adyen-kyc-dropzone__labels", children: [
|
|
24193
|
-
/* @__PURE__ */ jsx$1(Typography, { el: "h4", variant: "body-strongest", children: i18n.get("dropFileToUpload") }),
|
|
23825
|
+
/* @__PURE__ */ jsx$1(Typography, { el: "h4", variant: "body-strongest", children: i18n.get(multiple ? "dropFilesToUpload" : "dropFileToUpload") }),
|
|
23826
|
+
extraDropzoneDescription && /* @__PURE__ */ jsx$1(Typography, { color: "secondary", children: extraDropzoneDescription }),
|
|
24194
23827
|
/* @__PURE__ */ jsx$1(Typography, { color: "secondary", children: i18n.get("supportedFileTypes", { values: { fileTypes: allowedFiletypes } }) }),
|
|
24195
23828
|
/* @__PURE__ */ jsx$1(Typography, { color: "secondary", children: i18n.get(hidePageCount ? "maxFileSizeOnly" : "maxFileSize", {
|
|
24196
23829
|
values: { maxSize: bytesToSize(maxSize) }
|
|
@@ -24275,6 +23908,11 @@ function DocumentUpload({
|
|
|
24275
23908
|
valid: validProp,
|
|
24276
23909
|
errors: errorProp,
|
|
24277
23910
|
fieldValidationErrors: propFieldValidationErrors,
|
|
23911
|
+
supportsMultipleUploads,
|
|
23912
|
+
maxNumberOfFiles = 1,
|
|
23913
|
+
label,
|
|
23914
|
+
extraDropzoneDescription,
|
|
23915
|
+
hidePageCount,
|
|
24278
23916
|
...props
|
|
24279
23917
|
}) {
|
|
24280
23918
|
var _a2;
|
|
@@ -24371,7 +24009,12 @@ function DocumentUpload({
|
|
|
24371
24009
|
handleFieldChange,
|
|
24372
24010
|
errors,
|
|
24373
24011
|
fieldValidationErrors: fieldProblems,
|
|
24374
|
-
valid
|
|
24012
|
+
valid,
|
|
24013
|
+
multiple: supportsMultipleUploads,
|
|
24014
|
+
maxNumberOfFiles: maxNumberOfFiles ?? 1,
|
|
24015
|
+
label,
|
|
24016
|
+
extraDropzoneDescription,
|
|
24017
|
+
hidePageCount
|
|
24375
24018
|
}
|
|
24376
24019
|
)
|
|
24377
24020
|
] }),
|
|
@@ -24534,18 +24177,12 @@ function IdDocumentManualUpload(props) {
|
|
|
24534
24177
|
" ",
|
|
24535
24178
|
i18n.get("requirements")
|
|
24536
24179
|
] }),
|
|
24537
|
-
/* @__PURE__ */
|
|
24538
|
-
|
|
24539
|
-
{
|
|
24540
|
-
|
|
24541
|
-
|
|
24542
|
-
|
|
24543
|
-
hasBackPage(data == null ? void 0 : data.idDocumentType) ? i18n.get("includeFrontAndBack") : i18n.get("providePageWithPhotoAndCode"),
|
|
24544
|
-
i18n.get("fullDocumentVisible"),
|
|
24545
|
-
i18n.get("imagesInColor")
|
|
24546
|
-
]
|
|
24547
|
-
}
|
|
24548
|
-
),
|
|
24180
|
+
/* @__PURE__ */ jsxs("ul", { children: [
|
|
24181
|
+
/* @__PURE__ */ jsx$1("li", { children: i18n.get("documentNotExpiredOrDamaged") }),
|
|
24182
|
+
/* @__PURE__ */ jsx$1("li", { children: hasBackPage(data == null ? void 0 : data.idDocumentType) ? i18n.get("includeFrontAndBack") : i18n.get("providePageWithPhotoAndCode") }),
|
|
24183
|
+
/* @__PURE__ */ jsx$1("li", { children: i18n.get("fullDocumentVisible") }),
|
|
24184
|
+
/* @__PURE__ */ jsx$1("li", { children: i18n.get("imagesInColor") })
|
|
24185
|
+
] }),
|
|
24549
24186
|
(data == null ? void 0 : data.idDocumentType) && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
24550
24187
|
/* @__PURE__ */ jsx$1(DocumentGuidance, { type: data == null ? void 0 : data.idDocumentType, className: "adyen-kyc-u-margin-y-16" }),
|
|
24551
24188
|
/* @__PURE__ */ jsx$1(
|
|
@@ -24895,17 +24532,11 @@ function IdVerificationMethod(props) {
|
|
|
24895
24532
|
title: i18n.get("howVerificationWithOnfidoWork"),
|
|
24896
24533
|
content: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
24897
24534
|
/* @__PURE__ */ jsx$1(Typography, { className: "adyen-kyc-u-margin-bottom-8", children: i18n.get("onfidoIsOurTrustedPartner") }),
|
|
24898
|
-
/* @__PURE__ */
|
|
24899
|
-
|
|
24900
|
-
{
|
|
24901
|
-
|
|
24902
|
-
|
|
24903
|
-
i18n.get("usePhoneToScanId"),
|
|
24904
|
-
i18n.get("onfidoWillGiveFeedbackInRealTime"),
|
|
24905
|
-
i18n.get("theIdCheckWillBeAutomaticallyValidated")
|
|
24906
|
-
]
|
|
24907
|
-
}
|
|
24908
|
-
),
|
|
24535
|
+
/* @__PURE__ */ jsxs("ul", { children: [
|
|
24536
|
+
/* @__PURE__ */ jsx$1("li", { children: i18n.get("usePhoneToScanId") }),
|
|
24537
|
+
/* @__PURE__ */ jsx$1("li", { children: i18n.get("onfidoWillGiveFeedbackInRealTime") }),
|
|
24538
|
+
/* @__PURE__ */ jsx$1("li", { children: i18n.get("theIdCheckWillBeAutomaticallyValidated") })
|
|
24539
|
+
] }),
|
|
24909
24540
|
/* @__PURE__ */ jsx$1(Typography, { className: "adyen-kyc-u-margin-bottom-8", children: i18n.get("adyenKeepsDataAsLongAsLegallyRequired") }),
|
|
24910
24541
|
/* @__PURE__ */ jsx$1(Link, { href: "https://www.adyen.com/policies-and-disclaimer/privacy-policy", external: true, children: i18n.get("adyenPrivacyPolicy") })
|
|
24911
24542
|
] }),
|
|
@@ -27188,18 +26819,12 @@ function ProofOfRelationship({ id, ...props }) {
|
|
|
27188
26819
|
" ",
|
|
27189
26820
|
i18n.get("requirements")
|
|
27190
26821
|
] }),
|
|
27191
|
-
/* @__PURE__ */
|
|
27192
|
-
|
|
27193
|
-
{
|
|
27194
|
-
|
|
27195
|
-
|
|
27196
|
-
|
|
27197
|
-
i18n.get("showAddressStateCountry"),
|
|
27198
|
-
i18n.get("fullDocumentVisibleWithReadableText"),
|
|
27199
|
-
i18n.get("documentCannotBeDamaged")
|
|
27200
|
-
]
|
|
27201
|
-
}
|
|
27202
|
-
)
|
|
26822
|
+
/* @__PURE__ */ jsxs("ul", { children: [
|
|
26823
|
+
/* @__PURE__ */ jsx$1("li", { children: i18n.get("documentAddressedToName", { values: { name: props.name } }) }),
|
|
26824
|
+
/* @__PURE__ */ jsx$1("li", { children: i18n.get("showAddressStateCountry") }),
|
|
26825
|
+
/* @__PURE__ */ jsx$1("li", { children: i18n.get("fullDocumentVisibleWithReadableText") }),
|
|
26826
|
+
/* @__PURE__ */ jsx$1("li", { children: i18n.get("documentCannotBeDamaged") })
|
|
26827
|
+
] })
|
|
27203
26828
|
] });
|
|
27204
26829
|
return /* @__PURE__ */ jsx$1("div", { children: /* @__PURE__ */ jsx$1(
|
|
27205
26830
|
MemoizedDocumentUpload,
|
|
@@ -27264,19 +26889,13 @@ function ProofOfResidency({ id, ...props }) {
|
|
|
27264
26889
|
" ",
|
|
27265
26890
|
i18n.get("requirements")
|
|
27266
26891
|
] }),
|
|
27267
|
-
/* @__PURE__ */
|
|
27268
|
-
|
|
27269
|
-
{
|
|
27270
|
-
|
|
27271
|
-
|
|
27272
|
-
|
|
27273
|
-
|
|
27274
|
-
isMortgageOrVoterRegistration ? i18n.get("dateOnDocumentNoOlderThanXMonths", { values: { numberOfMonths: 12 } }) : i18n.get("dateOnDocumentNoOlderThanXMonths", { values: { numberOfMonths: 3 } }),
|
|
27275
|
-
i18n.get("fullDocumentVisibleWithReadableText"),
|
|
27276
|
-
i18n.get("documentCannotBeDamaged")
|
|
27277
|
-
]
|
|
27278
|
-
}
|
|
27279
|
-
)
|
|
26892
|
+
/* @__PURE__ */ jsxs("ul", { children: [
|
|
26893
|
+
/* @__PURE__ */ jsx$1("li", { children: i18n.get("documentAddressedToName", { values: { name: props.name } }) }),
|
|
26894
|
+
/* @__PURE__ */ jsx$1("li", { children: i18n.get("showAddressStateCountry") }),
|
|
26895
|
+
/* @__PURE__ */ jsx$1("li", { children: isMortgageOrVoterRegistration ? i18n.get("dateOnDocumentNoOlderThanXMonths", { values: { numberOfMonths: 12 } }) : i18n.get("dateOnDocumentNoOlderThanXMonths", { values: { numberOfMonths: 3 } }) }),
|
|
26896
|
+
/* @__PURE__ */ jsx$1("li", { children: i18n.get("fullDocumentVisibleWithReadableText") }),
|
|
26897
|
+
/* @__PURE__ */ jsx$1("li", { children: i18n.get("documentCannotBeDamaged") })
|
|
26898
|
+
] })
|
|
27280
26899
|
] });
|
|
27281
26900
|
return /* @__PURE__ */ jsx$1("div", { children: /* @__PURE__ */ jsx$1(
|
|
27282
26901
|
MemoizedDocumentUpload,
|
|
@@ -27672,31 +27291,18 @@ function ConstitutionalDocumentUpload({
|
|
|
27672
27291
|
legalEntityType,
|
|
27673
27292
|
...props
|
|
27674
27293
|
}) {
|
|
27675
|
-
var _a2;
|
|
27676
27294
|
const { i18n } = useI18nContext();
|
|
27677
27295
|
const isUnincorporatedPartnership = legalEntityType === LegalEntityType.UNINCORPORATED_PARTNERSHIP;
|
|
27296
|
+
const constitutionalDocumentRequirements = getConstitutionDocumentTypeOptionsMapping(
|
|
27297
|
+
legalEntityType,
|
|
27298
|
+
props.country
|
|
27299
|
+
);
|
|
27678
27300
|
const guidanceContent = /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-upload-field__guidance adyen-kyc-u-margin-bottom-24", children: [
|
|
27679
27301
|
/* @__PURE__ */ jsx$1("strong", { children: i18n.get("uploadOneOfTheseDocuments") }),
|
|
27680
|
-
/* @__PURE__ */ jsx$1(
|
|
27681
|
-
List,
|
|
27682
|
-
{
|
|
27683
|
-
className: "adyen-kyc-u-margin-left-8 adyen-kyc-u-margin-top-8 adyen-kyc-u-margin-bottom-16",
|
|
27684
|
-
items: (_a2 = getConstitutionDocumentTypeOptionsMapping(legalEntityType, props.country)) == null ? void 0 : _a2.map(
|
|
27685
|
-
({ name }) => i18n.get(name)
|
|
27686
|
-
)
|
|
27687
|
-
}
|
|
27688
|
-
),
|
|
27302
|
+
/* @__PURE__ */ jsx$1("ul", { children: constitutionalDocumentRequirements == null ? void 0 : constitutionalDocumentRequirements.map(({ name }, i) => /* @__PURE__ */ jsx$1("li", { children: i18n.get(name) }, i)) }),
|
|
27689
27303
|
isUnincorporatedPartnership && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
27690
27304
|
/* @__PURE__ */ jsx$1("strong", { children: i18n.get("documentRequirements") }),
|
|
27691
|
-
/* @__PURE__ */ jsx$1(
|
|
27692
|
-
List,
|
|
27693
|
-
{
|
|
27694
|
-
className: "adyen-kyc-u-margin-left-8 adyen-kyc-u-margin-top-8",
|
|
27695
|
-
items: unincorporatedPartnershipRequirementsVariants.map(
|
|
27696
|
-
(name) => i18n.get(`documentRequirementsUnincorporatedPartnership${name}`)
|
|
27697
|
-
)
|
|
27698
|
-
}
|
|
27699
|
-
)
|
|
27305
|
+
/* @__PURE__ */ jsx$1("ul", { children: unincorporatedPartnershipRequirementsVariants.map((item, i) => /* @__PURE__ */ jsx$1("li", { children: i18n.get(`documentRequirementsUnincorporatedPartnership${item}`) }, i)) })
|
|
27700
27306
|
] }),
|
|
27701
27307
|
props.country !== "US" && !isUnincorporatedPartnership && /* @__PURE__ */ jsx$1("div", { className: "adyen-kyc-u-margin-y-16", children: /* @__PURE__ */ jsxs("span", { children: [
|
|
27702
27308
|
i18n.get("infoInUploadedDocumentIsTrue"),
|
|
@@ -27771,13 +27377,11 @@ const UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL = [
|
|
|
27771
27377
|
];
|
|
27772
27378
|
const UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED = [
|
|
27773
27379
|
CountryCodes.Australia,
|
|
27774
|
-
CountryCodes.Belgium,
|
|
27775
27380
|
CountryCodes.Germany,
|
|
27776
27381
|
CountryCodes.HongKong,
|
|
27777
27382
|
CountryCodes.Ireland,
|
|
27778
27383
|
CountryCodes.Netherlands,
|
|
27779
27384
|
CountryCodes.NewZealand,
|
|
27780
|
-
CountryCodes.Poland,
|
|
27781
27385
|
CountryCodes.UnitedKingdom
|
|
27782
27386
|
];
|
|
27783
27387
|
const UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL = [
|
|
@@ -27785,13 +27389,11 @@ const UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL = [
|
|
|
27785
27389
|
];
|
|
27786
27390
|
const UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL = [
|
|
27787
27391
|
CountryCodes.Belgium,
|
|
27788
|
-
CountryCodes.France,
|
|
27789
27392
|
CountryCodes.Germany,
|
|
27790
27393
|
CountryCodes.Ireland,
|
|
27791
27394
|
CountryCodes.Netherlands,
|
|
27792
27395
|
CountryCodes.Poland,
|
|
27793
27396
|
CountryCodes.Spain,
|
|
27794
|
-
CountryCodes.Switzerland,
|
|
27795
27397
|
CountryCodes.UnitedKingdom
|
|
27796
27398
|
];
|
|
27797
27399
|
const nzSpecificTrustTypes = [
|
|
@@ -28317,7 +27919,7 @@ const trustForms = {
|
|
|
28317
27919
|
},
|
|
28318
27920
|
trustRegistrationAddress: {
|
|
28319
27921
|
formId: "trustRegistrationAddress",
|
|
28320
|
-
formName: "
|
|
27922
|
+
formName: "addressDetails",
|
|
28321
27923
|
fields: registrationAddressFields
|
|
28322
27924
|
},
|
|
28323
27925
|
trustConstitutionalDocument: {
|
|
@@ -28361,12 +27963,14 @@ function Trust(props) {
|
|
|
28361
27963
|
RegistrationAddress,
|
|
28362
27964
|
{
|
|
28363
27965
|
...trustRegistrationAddressFormProps,
|
|
28364
|
-
heading: i18n.get("
|
|
27966
|
+
heading: i18n.get("addressDetails"),
|
|
28365
27967
|
description: !isUnincorporatedPartnership ? i18n.get("registeredAddressTrustHeaderDescription") : i18n.get("registeredAddressUnincorporatedPartnershipHeaderDescription"),
|
|
28366
27968
|
id: trustRegistrationAddressFormId,
|
|
28367
27969
|
country,
|
|
28368
27970
|
problems: props == null ? void 0 : props.problems,
|
|
28369
|
-
labels: {
|
|
27971
|
+
labels: {
|
|
27972
|
+
operationalAddressIsSame: !isUnincorporatedPartnership ? "isTrustOperationAddressSame" : "isPartnershipOperationAddressSame"
|
|
27973
|
+
}
|
|
28370
27974
|
}
|
|
28371
27975
|
)
|
|
28372
27976
|
}
|
|
@@ -28700,7 +28304,7 @@ function getCapabilityProblems(entity, country) {
|
|
|
28700
28304
|
const remediationHasFileUploadField = (remediation) => {
|
|
28701
28305
|
var _a2;
|
|
28702
28306
|
return (_a2 = remediation == null ? void 0 : remediation.forms) == null ? void 0 : _a2.some(
|
|
28703
|
-
(form) => form === individualForms.idVerificationMethod.formId || form === individualForms.idDocument.formId || form === individualForms.proofOfResidency.formId || form === individualForms.proofOfNationalId.formId || form === staticBusinessDetailsForms.companyRegistrationDocument.formId || form === staticBusinessDetailsForms.companyTaxDocument.formId || form === staticBusinessDetailsForms.companyProofOfDirectorDocument.formId || form === staticBusinessDetailsForms.companyProofOfSignatoryDocument.formId || form === staticBusinessDetailsForms.companyConstitutionalDocument.formId || form === payoutSteps.payoutAccountDocuments.formId || form === trustForms.trustConstitutionalDocument.formId
|
|
28307
|
+
(form) => form === individualForms.idVerificationMethod.formId || form === individualForms.idDocument.formId || form === individualForms.proofOfResidency.formId || form === individualForms.proofOfNationalId.formId || form === staticBusinessDetailsForms.companyRegistrationDocument.formId || form === staticBusinessDetailsForms.companyTaxDocument.formId || form === staticBusinessDetailsForms.companyProofOfDirectorDocument.formId || form === staticBusinessDetailsForms.companyProofOfSignatoryDocument.formId || form === staticBusinessDetailsForms.companyProofOfOwnershipDocument.formId || form === staticBusinessDetailsForms.companyConstitutionalDocument.formId || form === payoutSteps.payoutAccountDocuments.formId || form === trustForms.trustConstitutionalDocument.formId
|
|
28704
28308
|
);
|
|
28705
28309
|
};
|
|
28706
28310
|
const getEntityType = (baseEntityType, legalEntity, legalEntityId) => {
|
|
@@ -28730,6 +28334,13 @@ function getNestedPropertyKeys(obj, includeUndefined = false, includeFalsy = tru
|
|
|
28730
28334
|
});
|
|
28731
28335
|
return fieldNames;
|
|
28732
28336
|
}
|
|
28337
|
+
const listToRecord = (list, getValue) => list.reduce(
|
|
28338
|
+
(acc, k) => ({
|
|
28339
|
+
...acc,
|
|
28340
|
+
[k]: getValue(k)
|
|
28341
|
+
}),
|
|
28342
|
+
{}
|
|
28343
|
+
);
|
|
28733
28344
|
function isTransferInstrument(account) {
|
|
28734
28345
|
return account.bankAccount !== void 0;
|
|
28735
28346
|
}
|
|
@@ -29824,11 +29435,11 @@ var FALLBACK = Symbol("fallback");
|
|
|
29824
29435
|
function dispose(d) {
|
|
29825
29436
|
for (let i = 0; i < d.length; i++) d[i]();
|
|
29826
29437
|
}
|
|
29827
|
-
function mapArray(
|
|
29438
|
+
function mapArray(list, mapFn, options = {}) {
|
|
29828
29439
|
let items = [], mapped = [], disposers = [], len = 0, indexes = mapFn.length > 1 ? [] : null;
|
|
29829
29440
|
onCleanup(() => dispose(disposers));
|
|
29830
29441
|
return () => {
|
|
29831
|
-
let newItems =
|
|
29442
|
+
let newItems = list() || [], newLen = newItems.length, i, j;
|
|
29832
29443
|
newItems[$TRACK];
|
|
29833
29444
|
return untrack(() => {
|
|
29834
29445
|
let newIndices, newIndicesNext, temp, tempdisposers, tempIndexes, start, end, newEnd, item;
|
|
@@ -29911,11 +29522,11 @@ function mapArray(list2, mapFn, options = {}) {
|
|
|
29911
29522
|
}
|
|
29912
29523
|
};
|
|
29913
29524
|
}
|
|
29914
|
-
function indexArray(
|
|
29525
|
+
function indexArray(list, mapFn, options = {}) {
|
|
29915
29526
|
let items = [], mapped = [], disposers = [], signals = [], len = 0, i;
|
|
29916
29527
|
onCleanup(() => dispose(disposers));
|
|
29917
29528
|
return () => {
|
|
29918
|
-
const newItems =
|
|
29529
|
+
const newItems = list() || [], newLen = newItems.length;
|
|
29919
29530
|
newItems[$TRACK];
|
|
29920
29531
|
return untrack(() => {
|
|
29921
29532
|
if (newLen === 0) {
|
|
@@ -31909,7 +31520,7 @@ var TanstackQueryDevtools = (_l = class {
|
|
|
31909
31520
|
if (__privateGet(this, _Component)) {
|
|
31910
31521
|
Devtools = __privateGet(this, _Component);
|
|
31911
31522
|
} else {
|
|
31912
|
-
Devtools = lazy(() => import("./I3HPI4QX-
|
|
31523
|
+
Devtools = lazy(() => import("./I3HPI4QX-CCkDLYPH.js"));
|
|
31913
31524
|
__privateSet(this, _Component, Devtools);
|
|
31914
31525
|
}
|
|
31915
31526
|
setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
|
|
@@ -32031,7 +31642,7 @@ var TanstackQueryDevtoolsPanel = (_m = class {
|
|
|
32031
31642
|
if (__privateGet(this, _Component2)) {
|
|
32032
31643
|
Devtools = __privateGet(this, _Component2);
|
|
32033
31644
|
} else {
|
|
32034
|
-
Devtools = lazy(() => import("./CXEL7IU7-
|
|
31645
|
+
Devtools = lazy(() => import("./CXEL7IU7-DyO75Uac.js"));
|
|
32035
31646
|
__privateSet(this, _Component2, Devtools);
|
|
32036
31647
|
}
|
|
32037
31648
|
setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
|
|
@@ -32238,7 +31849,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
|
|
|
32238
31849
|
};
|
|
32239
31850
|
};
|
|
32240
31851
|
const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
|
|
32241
|
-
const sdkVersion = "3.
|
|
31852
|
+
const sdkVersion = "3.73.0-beta.0";
|
|
32242
31853
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
32243
31854
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
32244
31855
|
useEffect(() => {
|
|
@@ -32284,27 +31895,32 @@ const useVersionConfiguration = (options) => {
|
|
|
32284
31895
|
});
|
|
32285
31896
|
};
|
|
32286
31897
|
const useVersion = () => {
|
|
32287
|
-
var _a2, _b2;
|
|
32288
31898
|
const { enableVersionExperiment } = useExperimentsContext();
|
|
32289
31899
|
const { data, isError: isError2, isLoading } = useVersionConfiguration();
|
|
32290
31900
|
const onboardingVersion = isLoading ? void 0 : isError2 ? 1 : data == null ? void 0 : data.version;
|
|
32291
|
-
|
|
32292
|
-
|
|
32293
|
-
|
|
31901
|
+
useEffect(() => {
|
|
31902
|
+
var _a2;
|
|
31903
|
+
(_a2 = data == null ? void 0 : data.features) == null ? void 0 : _a2.forEach(
|
|
31904
|
+
(feature) => enableVersionExperiment(
|
|
31905
|
+
feature
|
|
31906
|
+
/* TODO(OpenApi mismatch) */
|
|
31907
|
+
)
|
|
31908
|
+
);
|
|
31909
|
+
}, [data, enableVersionExperiment]);
|
|
32294
31910
|
return { onboardingVersion };
|
|
32295
31911
|
};
|
|
32296
31912
|
const AnalyticsProvider = ({
|
|
32297
31913
|
componentName,
|
|
32298
31914
|
children: children2,
|
|
32299
|
-
|
|
31915
|
+
rootLegalEntityId
|
|
32300
31916
|
}) => {
|
|
32301
31917
|
const { onboardingVersion } = useVersion();
|
|
32302
31918
|
const userEvents2 = useMemo(() => createUserEvents(), []);
|
|
32303
31919
|
const sessionData = {
|
|
32304
|
-
sdkVersion: "3.
|
|
31920
|
+
sdkVersion: "3.73.0-beta.0",
|
|
32305
31921
|
componentName,
|
|
32306
31922
|
userAgent: navigator.userAgent,
|
|
32307
|
-
legalEntityId,
|
|
31923
|
+
legalEntityId: rootLegalEntityId,
|
|
32308
31924
|
userData: { onboardingVersion }
|
|
32309
31925
|
};
|
|
32310
31926
|
const { data } = useAnalyticsSession(sessionData, onboardingVersion);
|
|
@@ -32313,28 +31929,29 @@ const AnalyticsProvider = ({
|
|
|
32313
31929
|
};
|
|
32314
31930
|
function ExperimentsContextProvider({
|
|
32315
31931
|
children: children2,
|
|
32316
|
-
experiments:
|
|
31932
|
+
experiments: propExperiments,
|
|
32317
31933
|
refreshExperiments
|
|
32318
31934
|
}) {
|
|
32319
|
-
const [
|
|
31935
|
+
const [enabledVersionExperiments, setEnabledVersionExperiments] = useState([]);
|
|
31936
|
+
const experiments = useMemo(
|
|
31937
|
+
() => ({
|
|
31938
|
+
...propExperiments,
|
|
31939
|
+
...listToRecord(enabledVersionExperiments, () => true)
|
|
31940
|
+
}),
|
|
31941
|
+
[enabledVersionExperiments, propExperiments]
|
|
31942
|
+
);
|
|
32320
31943
|
const contextValue = useMemo(
|
|
32321
31944
|
() => ({
|
|
32322
|
-
isExperimentEnabled: (experimentName) =>
|
|
32323
|
-
enableVersionExperiment: (experimentName) =>
|
|
32324
|
-
const newExperiments = { ...experiments, [experimentName]: true };
|
|
32325
|
-
if (!objectsDeepEqual(experiments, newExperiments)) {
|
|
32326
|
-
setExperiments(newExperiments);
|
|
32327
|
-
}
|
|
32328
|
-
},
|
|
31945
|
+
isExperimentEnabled: (experimentName) => experiments[experimentName] ?? false,
|
|
31946
|
+
enableVersionExperiment: (experimentName) => setEnabledVersionExperiments((curr) => [...curr, experimentName]),
|
|
32329
31947
|
refreshExperiments,
|
|
32330
31948
|
experiments
|
|
32331
31949
|
}),
|
|
32332
|
-
|
|
32333
|
-
[experiments]
|
|
31950
|
+
[experiments, refreshExperiments]
|
|
32334
31951
|
);
|
|
32335
31952
|
return /* @__PURE__ */ jsx$1(ExperimentsContext.Provider, { value: contextValue, children: children2 });
|
|
32336
31953
|
}
|
|
32337
|
-
const localeImports = /* @__PURE__ */ Object.assign({ "./locales/bg-BG.json": () => import("./bg-BG-
|
|
31954
|
+
const localeImports = /* @__PURE__ */ Object.assign({ "./locales/bg-BG.json": () => import("./bg-BG-CZRQZyXO.js"), "./locales/cs-CZ.json": () => import("./cs-CZ-BbUFgifZ.js"), "./locales/da-DK.json": () => import("./da-DK-CP71BFS7.js"), "./locales/de-DE.json": () => import("./de-DE-DY56JGZt.js"), "./locales/el-GR.json": () => import("./el-GR-CnENEp5c.js"), "./locales/en-US.json": () => Promise.resolve().then(() => enUS), "./locales/es-ES.json": () => import("./es-ES-dV62vQcV.js"), "./locales/et-EE.json": () => import("./et-EE-BBgAN3Wc.js"), "./locales/fi-FI.json": () => import("./fi-FI-DVmGWIxn.js"), "./locales/fr-FR.json": () => import("./fr-FR-VwG8Rg7R.js"), "./locales/hr-HR.json": () => import("./hr-HR-Bs_lxjxQ.js"), "./locales/hu-HU.json": () => import("./hu-HU-8dVSiOZM.js"), "./locales/it-IT.json": () => import("./it-IT-DvwWMDl1.js"), "./locales/ja-JP.json": () => import("./ja-JP-BB6zzyEg.js"), "./locales/lt-LT.json": () => import("./lt-LT-BQtNojlb.js"), "./locales/lv-LV.json": () => import("./lv-LV-BpEw5uN5.js"), "./locales/nl-NL.json": () => import("./nl-NL-vBEBXTP-.js"), "./locales/no-NO.json": () => import("./no-NO-BFhTqUoD.js"), "./locales/pl-PL.json": () => import("./pl-PL-dsGZvzVf.js"), "./locales/pt-PT.json": () => import("./pt-PT-BB38pZbh.js"), "./locales/ro-RO.json": () => import("./ro-RO-BgxNxoxJ.js"), "./locales/sk-SK.json": () => import("./sk-SK-rtDeCztl.js"), "./locales/sl-SI.json": () => import("./sl-SI-qoGCwUdU.js"), "./locales/sv-SE.json": () => import("./sv-SE-f1T7PBSW.js") });
|
|
32338
31955
|
const loadLocale = async (locale) => {
|
|
32339
31956
|
const importForLocale = localeImports[`./locales/${locale}.json`];
|
|
32340
31957
|
if (!importForLocale) {
|
|
@@ -32686,7 +32303,7 @@ function StateProvider({
|
|
|
32686
32303
|
);
|
|
32687
32304
|
return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
|
|
32688
32305
|
}
|
|
32689
|
-
const DebugModal = lazy$1(async () => (await import("./DebugModal-
|
|
32306
|
+
const DebugModal = lazy$1(async () => (await import("./DebugModal-CO_clhiW.js").then((n) => n.D)).DebugModal);
|
|
32690
32307
|
const DebugListener = () => {
|
|
32691
32308
|
const [debugUiOpen, setDebugUiOpen] = useState(false);
|
|
32692
32309
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -32739,372 +32356,363 @@ class AbstractEventEmitter {
|
|
|
32739
32356
|
class EventEmitter extends AbstractEventEmitter {
|
|
32740
32357
|
}
|
|
32741
32358
|
export {
|
|
32742
|
-
|
|
32743
|
-
|
|
32744
|
-
|
|
32359
|
+
IconButton as $,
|
|
32360
|
+
Address as A,
|
|
32361
|
+
datasetUtilities as B,
|
|
32745
32362
|
Currency as C,
|
|
32746
|
-
|
|
32747
|
-
|
|
32363
|
+
useStateContext as D,
|
|
32364
|
+
ErrorPanel as E,
|
|
32748
32365
|
Field as F,
|
|
32749
|
-
|
|
32750
|
-
|
|
32366
|
+
useSettingsContext as G,
|
|
32367
|
+
SettingNames as H,
|
|
32751
32368
|
InputText as I,
|
|
32752
|
-
|
|
32753
|
-
|
|
32754
|
-
|
|
32755
|
-
|
|
32756
|
-
|
|
32757
|
-
|
|
32758
|
-
|
|
32759
|
-
|
|
32369
|
+
getAssociatedLeAnalyticsPayload as J,
|
|
32370
|
+
getFormProps as K,
|
|
32371
|
+
LegalEntityType as L,
|
|
32372
|
+
Loader as M,
|
|
32373
|
+
Icon as N,
|
|
32374
|
+
Button as O,
|
|
32375
|
+
useLegalEntity as P,
|
|
32376
|
+
getLegalEntityCountry as Q,
|
|
32760
32377
|
RadioGroup as R,
|
|
32761
|
-
|
|
32378
|
+
Select as S,
|
|
32762
32379
|
Typography as T,
|
|
32763
|
-
|
|
32764
|
-
|
|
32765
|
-
|
|
32766
|
-
|
|
32767
|
-
|
|
32768
|
-
|
|
32769
|
-
|
|
32770
|
-
|
|
32771
|
-
|
|
32772
|
-
|
|
32773
|
-
|
|
32774
|
-
|
|
32775
|
-
|
|
32776
|
-
|
|
32777
|
-
|
|
32778
|
-
|
|
32779
|
-
|
|
32780
|
-
|
|
32781
|
-
|
|
32782
|
-
|
|
32783
|
-
|
|
32784
|
-
|
|
32785
|
-
|
|
32786
|
-
|
|
32787
|
-
|
|
32788
|
-
|
|
32789
|
-
|
|
32790
|
-
|
|
32791
|
-
|
|
32792
|
-
|
|
32793
|
-
|
|
32794
|
-
|
|
32795
|
-
|
|
32796
|
-
|
|
32797
|
-
|
|
32798
|
-
|
|
32799
|
-
|
|
32800
|
-
|
|
32801
|
-
|
|
32802
|
-
|
|
32803
|
-
|
|
32804
|
-
|
|
32805
|
-
|
|
32806
|
-
|
|
32807
|
-
|
|
32808
|
-
|
|
32809
|
-
|
|
32810
|
-
|
|
32811
|
-
|
|
32812
|
-
|
|
32813
|
-
|
|
32814
|
-
|
|
32815
|
-
|
|
32816
|
-
|
|
32817
|
-
|
|
32818
|
-
|
|
32819
|
-
|
|
32820
|
-
|
|
32821
|
-
|
|
32822
|
-
|
|
32823
|
-
|
|
32824
|
-
|
|
32825
|
-
|
|
32826
|
-
|
|
32827
|
-
|
|
32828
|
-
|
|
32829
|
-
|
|
32830
|
-
|
|
32831
|
-
|
|
32832
|
-
|
|
32833
|
-
|
|
32834
|
-
|
|
32835
|
-
|
|
32836
|
-
|
|
32837
|
-
|
|
32838
|
-
|
|
32839
|
-
|
|
32840
|
-
|
|
32841
|
-
|
|
32842
|
-
|
|
32843
|
-
|
|
32844
|
-
|
|
32845
|
-
|
|
32846
|
-
|
|
32847
|
-
|
|
32848
|
-
|
|
32849
|
-
|
|
32850
|
-
|
|
32851
|
-
|
|
32852
|
-
|
|
32853
|
-
|
|
32854
|
-
|
|
32855
|
-
|
|
32856
|
-
|
|
32857
|
-
|
|
32858
|
-
|
|
32859
|
-
|
|
32860
|
-
|
|
32861
|
-
|
|
32862
|
-
|
|
32863
|
-
|
|
32864
|
-
|
|
32865
|
-
|
|
32866
|
-
|
|
32867
|
-
|
|
32868
|
-
|
|
32869
|
-
|
|
32870
|
-
|
|
32871
|
-
|
|
32872
|
-
|
|
32873
|
-
|
|
32874
|
-
|
|
32875
|
-
|
|
32876
|
-
|
|
32877
|
-
|
|
32878
|
-
|
|
32879
|
-
|
|
32880
|
-
|
|
32881
|
-
|
|
32882
|
-
|
|
32883
|
-
|
|
32884
|
-
|
|
32885
|
-
|
|
32886
|
-
|
|
32887
|
-
|
|
32888
|
-
|
|
32889
|
-
|
|
32890
|
-
|
|
32891
|
-
|
|
32892
|
-
|
|
32893
|
-
|
|
32894
|
-
|
|
32895
|
-
|
|
32896
|
-
|
|
32897
|
-
|
|
32898
|
-
|
|
32899
|
-
|
|
32900
|
-
|
|
32901
|
-
|
|
32902
|
-
|
|
32903
|
-
|
|
32904
|
-
|
|
32905
|
-
|
|
32906
|
-
|
|
32907
|
-
|
|
32908
|
-
|
|
32909
|
-
|
|
32910
|
-
|
|
32911
|
-
|
|
32912
|
-
|
|
32913
|
-
|
|
32914
|
-
|
|
32915
|
-
|
|
32916
|
-
|
|
32917
|
-
|
|
32918
|
-
|
|
32919
|
-
|
|
32920
|
-
|
|
32921
|
-
|
|
32922
|
-
|
|
32923
|
-
|
|
32924
|
-
|
|
32925
|
-
|
|
32926
|
-
|
|
32927
|
-
|
|
32928
|
-
|
|
32929
|
-
|
|
32930
|
-
|
|
32931
|
-
|
|
32932
|
-
|
|
32933
|
-
|
|
32934
|
-
|
|
32935
|
-
|
|
32936
|
-
|
|
32937
|
-
|
|
32938
|
-
|
|
32939
|
-
|
|
32940
|
-
|
|
32941
|
-
|
|
32942
|
-
|
|
32943
|
-
|
|
32944
|
-
|
|
32945
|
-
|
|
32946
|
-
|
|
32947
|
-
|
|
32948
|
-
|
|
32949
|
-
|
|
32950
|
-
|
|
32951
|
-
|
|
32952
|
-
|
|
32953
|
-
|
|
32954
|
-
|
|
32955
|
-
|
|
32956
|
-
|
|
32957
|
-
|
|
32958
|
-
|
|
32959
|
-
|
|
32960
|
-
|
|
32961
|
-
|
|
32962
|
-
|
|
32963
|
-
|
|
32964
|
-
|
|
32965
|
-
|
|
32966
|
-
|
|
32967
|
-
|
|
32968
|
-
|
|
32969
|
-
|
|
32970
|
-
|
|
32971
|
-
|
|
32972
|
-
|
|
32973
|
-
|
|
32974
|
-
|
|
32975
|
-
|
|
32976
|
-
|
|
32977
|
-
|
|
32978
|
-
|
|
32979
|
-
|
|
32980
|
-
|
|
32981
|
-
|
|
32982
|
-
|
|
32983
|
-
|
|
32984
|
-
|
|
32985
|
-
|
|
32986
|
-
|
|
32987
|
-
|
|
32988
|
-
|
|
32989
|
-
|
|
32990
|
-
|
|
32991
|
-
|
|
32992
|
-
|
|
32993
|
-
|
|
32994
|
-
|
|
32995
|
-
|
|
32996
|
-
|
|
32997
|
-
|
|
32998
|
-
|
|
32999
|
-
|
|
33000
|
-
|
|
33001
|
-
|
|
33002
|
-
|
|
33003
|
-
|
|
33004
|
-
|
|
33005
|
-
|
|
33006
|
-
|
|
33007
|
-
|
|
33008
|
-
|
|
33009
|
-
|
|
33010
|
-
|
|
33011
|
-
|
|
33012
|
-
|
|
33013
|
-
|
|
33014
|
-
|
|
33015
|
-
|
|
33016
|
-
|
|
33017
|
-
|
|
33018
|
-
|
|
33019
|
-
|
|
33020
|
-
|
|
33021
|
-
|
|
33022
|
-
|
|
33023
|
-
|
|
33024
|
-
|
|
33025
|
-
|
|
33026
|
-
|
|
33027
|
-
|
|
33028
|
-
|
|
32380
|
+
httpPost as U,
|
|
32381
|
+
useMutation as V,
|
|
32382
|
+
httpDelete as W,
|
|
32383
|
+
Alert as X,
|
|
32384
|
+
getCapabilityProblems as Y,
|
|
32385
|
+
Card as Z,
|
|
32386
|
+
StructuredList as _,
|
|
32387
|
+
useQuery as a,
|
|
32388
|
+
TRUST_DEFAULT_DESCRIPTIONS_MAP as a$,
|
|
32389
|
+
TaskStatus as a0,
|
|
32390
|
+
createLogger as a1,
|
|
32391
|
+
useDataset as a2,
|
|
32392
|
+
datasetIdentifier as a3,
|
|
32393
|
+
useLocalStorage as a4,
|
|
32394
|
+
getLegalRepresentative as a5,
|
|
32395
|
+
skipToken as a6,
|
|
32396
|
+
doesLegalEntityRequiresLegalRepresentative as a7,
|
|
32397
|
+
Skeleton as a8,
|
|
32398
|
+
isPartOfTrustFromLegalEntity as a9,
|
|
32399
|
+
TrustMemberTypes as aA,
|
|
32400
|
+
getLegalEntityNameBasedOnType as aB,
|
|
32401
|
+
getOwnEntityAssociations as aC,
|
|
32402
|
+
CountryCodes as aD,
|
|
32403
|
+
mergeFieldMetadataIntoProps as aE,
|
|
32404
|
+
resolveFieldMetadata as aF,
|
|
32405
|
+
defaultFieldMetadata$3 as aG,
|
|
32406
|
+
defaultFieldConfig$2 as aH,
|
|
32407
|
+
getFieldProps as aI,
|
|
32408
|
+
nameFields as aJ,
|
|
32409
|
+
FormHeader as aK,
|
|
32410
|
+
MultiSelectList as aL,
|
|
32411
|
+
makeSelectItemForRole as aM,
|
|
32412
|
+
RadioGroupCard as aN,
|
|
32413
|
+
TextArea as aO,
|
|
32414
|
+
Name as aP,
|
|
32415
|
+
CountryField as aQ,
|
|
32416
|
+
COUNTRY_FIELD as aR,
|
|
32417
|
+
LegalCompanyNameField as aS,
|
|
32418
|
+
LEGAL_COMPANY_NAME_FIELD as aT,
|
|
32419
|
+
summaryItem as aU,
|
|
32420
|
+
getRoleName as aV,
|
|
32421
|
+
summaryStep as aW,
|
|
32422
|
+
Summary as aX,
|
|
32423
|
+
ActionBar as aY,
|
|
32424
|
+
UnincorporatedPartnershipMemberTypes as aZ,
|
|
32425
|
+
getDecisionMakerDescriptionMap as a_,
|
|
32426
|
+
hasSolePropInLegalEntity as aa,
|
|
32427
|
+
hasOwnEntityAssociationOfType as ab,
|
|
32428
|
+
isEmptyEntity as ac,
|
|
32429
|
+
CompanyTypesValue as ad,
|
|
32430
|
+
useAccountHolder as ae,
|
|
32431
|
+
EntityType as af,
|
|
32432
|
+
DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING as ag,
|
|
32433
|
+
TaskTypes as ah,
|
|
32434
|
+
handleKeys as ai,
|
|
32435
|
+
LoaderWrapper as aj,
|
|
32436
|
+
noop as ak,
|
|
32437
|
+
useExperimentsContext as al,
|
|
32438
|
+
isInstantVerifiedAccount as am,
|
|
32439
|
+
getObscuredAccountNumber as an,
|
|
32440
|
+
useGetTaskStatus as ao,
|
|
32441
|
+
CardGroup as ap,
|
|
32442
|
+
ROOT_LE as aq,
|
|
32443
|
+
useSetting as ar,
|
|
32444
|
+
useSignalValue as as,
|
|
32445
|
+
useGlobalStore as at,
|
|
32446
|
+
isPartOfUnincorporatedPartnership as au,
|
|
32447
|
+
getOwnSignatories as av,
|
|
32448
|
+
getOwnDecisionMakersLegalEntityIds as aw,
|
|
32449
|
+
getOwnSolePropProblems as ax,
|
|
32450
|
+
getOwnTrustProblems as ay,
|
|
32451
|
+
getOwnUnincorporatedPartnershipProblems as az,
|
|
32452
|
+
useI18nContext as b,
|
|
32453
|
+
getLocalizedIdDocumentTypeOptions as b$,
|
|
32454
|
+
getRoleTagVariant as b0,
|
|
32455
|
+
DEFAULT_TRUST_MEMBER_REQUIREMENTS as b1,
|
|
32456
|
+
ContextGuidance as b2,
|
|
32457
|
+
useUnincorporatedPartnershipMembers as b3,
|
|
32458
|
+
deleteUnincorporatedPartnershipMember as b4,
|
|
32459
|
+
hasAllCapabilitiesResolved as b5,
|
|
32460
|
+
hasRejectedCapabilities as b6,
|
|
32461
|
+
TrustedFieldsProvider as b7,
|
|
32462
|
+
getOwnDecisionMakers as b8,
|
|
32463
|
+
Checkbox as b9,
|
|
32464
|
+
ValidationResult as bA,
|
|
32465
|
+
isNotEmptyValidator as bB,
|
|
32466
|
+
hasText as bC,
|
|
32467
|
+
matchesRegex as bD,
|
|
32468
|
+
trimValWithOneSpace as bE,
|
|
32469
|
+
NO_ALPHABET_REGEX as bF,
|
|
32470
|
+
EMOJI_REGEX as bG,
|
|
32471
|
+
hasRepeatedCharacters as bH,
|
|
32472
|
+
isInvalidName as bI,
|
|
32473
|
+
INDIVIDUAL_VALID_CHAR_REGEX as bJ,
|
|
32474
|
+
getFormattingRegEx as bK,
|
|
32475
|
+
SPECIAL_CHARS as bL,
|
|
32476
|
+
getNestedPropertyKeys as bM,
|
|
32477
|
+
isTruthyValidator as bN,
|
|
32478
|
+
emailPattern as bO,
|
|
32479
|
+
getSSNType as bP,
|
|
32480
|
+
defaultFieldMetadata as bQ,
|
|
32481
|
+
defaultFieldConfig as bR,
|
|
32482
|
+
defaultFieldMetadata$1 as bS,
|
|
32483
|
+
fieldConfig as bT,
|
|
32484
|
+
defaultFieldMetadata$5 as bU,
|
|
32485
|
+
defaultFieldConfig$4 as bV,
|
|
32486
|
+
getAgeToday as bW,
|
|
32487
|
+
euCountries as bX,
|
|
32488
|
+
DecisionMakerType as bY,
|
|
32489
|
+
createFormRules as bZ,
|
|
32490
|
+
allowedCountriesForNominee as b_,
|
|
32491
|
+
listify as ba,
|
|
32492
|
+
isUndefinedOrNull as bb,
|
|
32493
|
+
useAllowedCountries as bc,
|
|
32494
|
+
AlertIcon as bd,
|
|
32495
|
+
uuidv4 as be,
|
|
32496
|
+
EventEmitter as bf,
|
|
32497
|
+
SettingsProvider as bg,
|
|
32498
|
+
ExperimentsContextProvider as bh,
|
|
32499
|
+
ApiProvider as bi,
|
|
32500
|
+
QueryClientProvider as bj,
|
|
32501
|
+
StoreProvider as bk,
|
|
32502
|
+
AnalyticsProvider as bl,
|
|
32503
|
+
I18nProvider as bm,
|
|
32504
|
+
DebugListener as bn,
|
|
32505
|
+
ToastContextProvider as bo,
|
|
32506
|
+
StateProvider as bp,
|
|
32507
|
+
ReactQueryDevtools2 as bq,
|
|
32508
|
+
normalizeEnvironment as br,
|
|
32509
|
+
FALLBACK_LOCALE as bs,
|
|
32510
|
+
setSdkToken as bt,
|
|
32511
|
+
setSdkTokenHandler as bu,
|
|
32512
|
+
useQueryClient as bv,
|
|
32513
|
+
EEA_Countries as bw,
|
|
32514
|
+
FormContext as bx,
|
|
32515
|
+
individualComponentsKeyMapping as by,
|
|
32516
|
+
businessDetailsComponentsKeyMapping as bz,
|
|
32517
|
+
cloneObject as c,
|
|
32518
|
+
payoutComponentKeyMapping as c$,
|
|
32519
|
+
Scenarios as c0,
|
|
32520
|
+
individualApiKeyMapping as c1,
|
|
32521
|
+
getNomineeFromAssociation as c2,
|
|
32522
|
+
useProviderStatus as c3,
|
|
32523
|
+
addressValidators as c4,
|
|
32524
|
+
getAsyncIdNumberValidationRule as c5,
|
|
32525
|
+
getAsyncPhoneValidationRules as c6,
|
|
32526
|
+
addressFormatters as c7,
|
|
32527
|
+
setHasMotionCaptureScenario as c8,
|
|
32528
|
+
individualForms as c9,
|
|
32529
|
+
PatriotActDisclosure as cA,
|
|
32530
|
+
decisionMakerRoleFields as cB,
|
|
32531
|
+
nomineeFields as cC,
|
|
32532
|
+
contactDetailFields as cD,
|
|
32533
|
+
DecisionMakerRole as cE,
|
|
32534
|
+
NomineeDecisionMakerRole as cF,
|
|
32535
|
+
ContactDetails as cG,
|
|
32536
|
+
Svg as cH,
|
|
32537
|
+
keysOf as cI,
|
|
32538
|
+
isEmpty as cJ,
|
|
32539
|
+
RadioWithLabel as cK,
|
|
32540
|
+
listToRecord as cL,
|
|
32541
|
+
pick as cM,
|
|
32542
|
+
IdVerification as cN,
|
|
32543
|
+
IdDocumentManualUpload as cO,
|
|
32544
|
+
useId as cP,
|
|
32545
|
+
KEYBOARD_KEYS as cQ,
|
|
32546
|
+
idDocumentUploadFields as cR,
|
|
32547
|
+
useFormRouterContext as cS,
|
|
32548
|
+
useCapabilities as cT,
|
|
32549
|
+
setShowIndividualMotionCapture as cU,
|
|
32550
|
+
shouldShowMotionCapture as cV,
|
|
32551
|
+
hasMotionCaptureScenario as cW,
|
|
32552
|
+
MemoizedProofOfRelationship as cX,
|
|
32553
|
+
MemoizedDocumentUpload as cY,
|
|
32554
|
+
MemoizedProofOfResidencyUpload as cZ,
|
|
32555
|
+
mapPayoutAccountSchemaToApiBankAccount as c_,
|
|
32556
|
+
showIndividualMotionCapture as ca,
|
|
32557
|
+
getAllowedDecisionMakerRoles as cb,
|
|
32558
|
+
Individual as cc,
|
|
32559
|
+
filterOutUnwantedAssociationsIfRootLE as cd,
|
|
32560
|
+
mapAddressLabels as ce,
|
|
32561
|
+
individualDocumentForms as cf,
|
|
32562
|
+
individualDocumentMapping as cg,
|
|
32563
|
+
individualObscuredFields as ch,
|
|
32564
|
+
hasNomineesChanged as ci,
|
|
32565
|
+
attachNomineeToRole as cj,
|
|
32566
|
+
idVerificationProviderId as ck,
|
|
32567
|
+
doArraysMatch as cl,
|
|
32568
|
+
getAvailableDecisionMakerRoleTypes as cm,
|
|
32569
|
+
licenseCardNumberDefaultMetadata as cn,
|
|
32570
|
+
licenseCardNumberDefaultConfig as co,
|
|
32571
|
+
useFormContext as cp,
|
|
32572
|
+
idNumberFields as cq,
|
|
32573
|
+
IdentityNumber as cr,
|
|
32574
|
+
additionallIdNumberOptions as cs,
|
|
32575
|
+
MaskedInput as ct,
|
|
32576
|
+
formatDateObj as cu,
|
|
32577
|
+
DriversLicense as cv,
|
|
32578
|
+
addressFields as cw,
|
|
32579
|
+
getDefaultTaxIdNumberType as cx,
|
|
32580
|
+
IndividualIdNumberTypeSelector as cy,
|
|
32581
|
+
TaxInformationField as cz,
|
|
32582
|
+
drop as d,
|
|
32583
|
+
Dropzone as d$,
|
|
32584
|
+
payoutSteps as d0,
|
|
32585
|
+
getPayoutAccountHolderName as d1,
|
|
32586
|
+
PayoutDetails as d2,
|
|
32587
|
+
businessDetailsApiKeyMapping as d3,
|
|
32588
|
+
remediationHasFileUploadField as d4,
|
|
32589
|
+
dataMissingRemediationsToFieldsMap as d5,
|
|
32590
|
+
AdyenKycSdkError as d6,
|
|
32591
|
+
payoutAccountFormat as d7,
|
|
32592
|
+
FormRouterContext as d8,
|
|
32593
|
+
remediationPayoutApiKeyMapping as d9,
|
|
32594
|
+
companyTypeMetadata as dA,
|
|
32595
|
+
documentFormsIds as dB,
|
|
32596
|
+
defaultFieldMetadata$6 as dC,
|
|
32597
|
+
inferCompanyRegistrationNumberType as dD,
|
|
32598
|
+
getCompanyRegistrationNumberOptions as dE,
|
|
32599
|
+
defaultFieldConfig$5 as dF,
|
|
32600
|
+
countryToTaxInfoTypeMap as dG,
|
|
32601
|
+
getKeyForField as dH,
|
|
32602
|
+
setIsBankAccountRequestedForOrganization as dI,
|
|
32603
|
+
rules as dJ,
|
|
32604
|
+
solePropBusinessDetailsDocumentMapping as dK,
|
|
32605
|
+
businessDetailsDocumentMapping as dL,
|
|
32606
|
+
ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES as dM,
|
|
32607
|
+
UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL as dN,
|
|
32608
|
+
UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED as dO,
|
|
32609
|
+
UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL as dP,
|
|
32610
|
+
UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED as dQ,
|
|
32611
|
+
UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL as dR,
|
|
32612
|
+
trustComponentsKeyMapping as dS,
|
|
32613
|
+
trustApiKeyMapping as dT,
|
|
32614
|
+
updateTaxInformation as dU,
|
|
32615
|
+
trustForms as dV,
|
|
32616
|
+
Trust as dW,
|
|
32617
|
+
trustDocumentMapping as dX,
|
|
32618
|
+
trustConstitutionalDocumentFormId as dY,
|
|
32619
|
+
Currencies as dZ,
|
|
32620
|
+
InputGroup as d_,
|
|
32621
|
+
remediationBusinessDetailsApiKeyMapping as da,
|
|
32622
|
+
remediationIndividualApiKeyMapping as db,
|
|
32623
|
+
isNewlyUploadedFile as dc,
|
|
32624
|
+
isValueObscured as dd,
|
|
32625
|
+
globalStyles as de,
|
|
32626
|
+
ToastContext as df,
|
|
32627
|
+
refreshSession as dg,
|
|
32628
|
+
splitTaskIdentifier as dh,
|
|
32629
|
+
valuesOf as di,
|
|
32630
|
+
getTranslationKeysByPrefix as dj,
|
|
32631
|
+
getCapabilities as dk,
|
|
32632
|
+
EntityTypeRadioGroupCard as dl,
|
|
32633
|
+
getForms as dm,
|
|
32634
|
+
BasicInformation as dn,
|
|
32635
|
+
CompanyStructure as dp,
|
|
32636
|
+
AdditionalInformation as dq,
|
|
32637
|
+
MemoizedConstitutionalDocument as dr,
|
|
32638
|
+
FinancialInformation as ds,
|
|
32639
|
+
StateCodesUS as dt,
|
|
32640
|
+
solePropBusinessDetailsKeyMapping as du,
|
|
32641
|
+
operationalAddressIsSameIds as dv,
|
|
32642
|
+
COUNTRIES_USING_COMPANY_SEARCH as dw,
|
|
32643
|
+
FIELDS_NEEDED_FOR_COMPANY_SEARCH as dx,
|
|
32644
|
+
solePropBusinessDetailsApiKeyMapping as dy,
|
|
32645
|
+
COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT as dz,
|
|
33029
32646
|
entriesOf as e,
|
|
33030
|
-
|
|
33031
|
-
|
|
33032
|
-
|
|
33033
|
-
|
|
33034
|
-
|
|
33035
|
-
|
|
33036
|
-
|
|
33037
|
-
|
|
33038
|
-
|
|
33039
|
-
|
|
33040
|
-
|
|
33041
|
-
|
|
33042
|
-
|
|
33043
|
-
|
|
33044
|
-
|
|
33045
|
-
|
|
33046
|
-
|
|
33047
|
-
|
|
33048
|
-
|
|
33049
|
-
|
|
33050
|
-
|
|
33051
|
-
|
|
33052
|
-
|
|
33053
|
-
|
|
33054
|
-
|
|
33055
|
-
|
|
33056
|
-
|
|
33057
|
-
|
|
33058
|
-
|
|
33059
|
-
|
|
33060
|
-
|
|
33061
|
-
|
|
33062
|
-
|
|
33063
|
-
|
|
33064
|
-
|
|
33065
|
-
|
|
33066
|
-
|
|
33067
|
-
|
|
33068
|
-
|
|
33069
|
-
|
|
33070
|
-
|
|
33071
|
-
|
|
33072
|
-
|
|
33073
|
-
|
|
33074
|
-
|
|
33075
|
-
|
|
33076
|
-
|
|
33077
|
-
|
|
33078
|
-
|
|
33079
|
-
|
|
33080
|
-
|
|
33081
|
-
|
|
33082
|
-
|
|
33083
|
-
|
|
33084
|
-
|
|
33085
|
-
|
|
33086
|
-
|
|
33087
|
-
|
|
33088
|
-
|
|
33089
|
-
ModalFooter as f,
|
|
33090
|
-
Summary as g,
|
|
33091
|
-
drop as h,
|
|
33092
|
-
LegalEntityType as i,
|
|
33093
|
-
cloneObject as j,
|
|
33094
|
-
isEmpty$1 as k,
|
|
33095
|
-
localizeDateString as l,
|
|
33096
|
-
useApiContext as m,
|
|
33097
|
-
normalizeEnvironment as n,
|
|
32647
|
+
useLegalEntities as e0,
|
|
32648
|
+
getPreferredColorScheme as e1,
|
|
32649
|
+
createMemo as e2,
|
|
32650
|
+
createComponent as e3,
|
|
32651
|
+
createContext as e4,
|
|
32652
|
+
createSignal as e5,
|
|
32653
|
+
onMount as e6,
|
|
32654
|
+
createEffect as e7,
|
|
32655
|
+
Portal as e8,
|
|
32656
|
+
Show as e9,
|
|
32657
|
+
spread as eA,
|
|
32658
|
+
mergeProps as eB,
|
|
32659
|
+
createRoot as eC,
|
|
32660
|
+
serialize as eD,
|
|
32661
|
+
Index as eE,
|
|
32662
|
+
updateNestedDataByPath as eF,
|
|
32663
|
+
addEventListener as eG,
|
|
32664
|
+
stringify as eH,
|
|
32665
|
+
Match as eI,
|
|
32666
|
+
Switch as eJ,
|
|
32667
|
+
deleteNestedDataByPath as eK,
|
|
32668
|
+
splitProps as eL,
|
|
32669
|
+
Dynamic as eM,
|
|
32670
|
+
createComputed as eN,
|
|
32671
|
+
template as ea,
|
|
32672
|
+
insert as eb,
|
|
32673
|
+
createRenderEffect as ec,
|
|
32674
|
+
className as ed,
|
|
32675
|
+
clearDelegatedEvents as ee,
|
|
32676
|
+
delegateEvents as ef,
|
|
32677
|
+
useContext as eg,
|
|
32678
|
+
onCleanup as eh,
|
|
32679
|
+
sortFns as ei,
|
|
32680
|
+
mutationSortFns as ej,
|
|
32681
|
+
on as ek,
|
|
32682
|
+
setAttribute as el,
|
|
32683
|
+
getSidedProp as em,
|
|
32684
|
+
use as en,
|
|
32685
|
+
createUniqueId as eo,
|
|
32686
|
+
batch as ep,
|
|
32687
|
+
getQueryStatusLabel as eq,
|
|
32688
|
+
getMutationStatusColor as er,
|
|
32689
|
+
getQueryStatusColor as es,
|
|
32690
|
+
getQueryStatusColorByLabel as et,
|
|
32691
|
+
displayValue as eu,
|
|
32692
|
+
For as ev,
|
|
32693
|
+
convertRemToPixels as ew,
|
|
32694
|
+
untrack as ex,
|
|
32695
|
+
$TRACK as ey,
|
|
32696
|
+
useTransition as ez,
|
|
32697
|
+
Link as f,
|
|
32698
|
+
currencyByCountry as g,
|
|
32699
|
+
httpGet as h,
|
|
32700
|
+
isEmpty$1 as i,
|
|
32701
|
+
InputNumber as j,
|
|
32702
|
+
InputDate as k,
|
|
32703
|
+
CURRENCY_FIELD as l,
|
|
32704
|
+
InputCurrency as m,
|
|
32705
|
+
useForm as n,
|
|
33098
32706
|
objectsDeepEqual as o,
|
|
33099
|
-
|
|
33100
|
-
|
|
32707
|
+
useGlobalDataSlice as p,
|
|
32708
|
+
createFormUtils as q,
|
|
33101
32709
|
reverseMapping as r,
|
|
33102
|
-
|
|
33103
|
-
|
|
33104
|
-
|
|
33105
|
-
|
|
33106
|
-
|
|
33107
|
-
|
|
33108
|
-
|
|
33109
|
-
|
|
32710
|
+
useGlobalData as s,
|
|
32711
|
+
getAddressSchemaForCountry as t,
|
|
32712
|
+
useApiContext as u,
|
|
32713
|
+
COUNTRIES_WITH_STATES_DATASET as v,
|
|
32714
|
+
getAddressSchemaLabelsByCountry as w,
|
|
32715
|
+
useAnalyticsContext as x,
|
|
32716
|
+
useInvalidateRootLegalEntity as y,
|
|
32717
|
+
useAssociatedLegalEntity as z
|
|
33110
32718
|
};
|