@adyen/kyc-components 3.83.0-beta.4 → 3.83.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-U_NPuyLC.js → AcceptTermsOfServiceComponent-DuGvxDCD.js} +13 -13
- package/dist/{AccountSetupRejected-Dwj0EMot.js → AccountSetupRejected-WRvC8Lhx.js} +4 -4
- package/dist/{Address-CYqQ6PG-.js → Address-DzNHaLQd.js} +7 -7
- package/dist/{Alert-DboBZhbx.js → Alert-Ce3pDSUY.js} +1 -1
- package/dist/{Avatar-BPeSrrbs.js → Avatar-ERL8LlcN.js} +1 -1
- package/dist/{BusinessDetailsDropin-Cn0uz_za.js → BusinessDetailsDropin-CdWljVO6.js} +31 -31
- package/dist/{BusinessFinancingComponent-D23snz22.js → BusinessFinancingComponent-BdV2XNEs.js} +4 -4
- package/dist/{BusinessFinancingDropin-BDErXKoc.js → BusinessFinancingDropin-R940kp66.js} +19 -19
- package/dist/{BusinessFinancingPage-BI1tPEeY.js → BusinessFinancingPage-CutMOZIo.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-B2LPeavN.js → BusinessTypeSelectionPage-Dn1P9vc8.js} +6 -6
- package/dist/{Card-DU1lfJfp.js → Card-Cma0bwYR.js} +3 -3
- package/dist/{CountryField-CrtpVB_n.js → CountryField-DrB-OFMR.js} +4 -4
- package/dist/{CreateIndividualComponent-r_OpiYob.js → CreateIndividualComponent-DcwNaN_i.js} +5 -5
- package/dist/{CreateTransferInstrumentComponent-BFPhV8mX.js → CreateTransferInstrumentComponent-BFYc-5Zc.js} +5 -5
- package/dist/{Currency-DFBot4bR.js → Currency-DD63TDvu.js} +5 -5
- package/dist/{CustomerSupport-B_uawDCw.js → CustomerSupport-Cs9YbnBI.js} +7 -7
- package/dist/{DebugModal-BE_lhuo2.js → DebugModal-AFNn6VI2.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-WrzBZj1Q.js → DecisionMakerDetailsPage-CUAalT7g.js} +6 -6
- package/dist/{DecisionMakers-D9_9I2Qi.js → DecisionMakers-c18dspZ1.js} +17 -17
- package/dist/{Dropzone-XuYR55y5.js → Dropzone-DXfuqm2D.js} +3 -3
- package/dist/{EmbeddedStatus-xhFHAU08.js → EmbeddedStatus-BjGURjyl.js} +2 -2
- package/dist/{EndStateLayout-C8Sv6-Xq.js → EndStateLayout-BuVgF0ER.js} +1 -1
- package/dist/{FormNavigation-DljCHmGW.js → FormNavigation-DXaxaf1-.js} +2 -2
- package/dist/{IndividualOnfidoDropin-BwrpckMb.js → IndividualOnfidoDropin-fERsTakw.js} +34 -34
- package/dist/{InputDate-CdJ0pzDe.js → InputDate-By5i2Hlf.js} +1 -1
- package/dist/{InputText-DQ3qPAmC.js → InputText-CqLs_M75.js} +2 -2
- package/dist/{Introduction-8c2vbGQ9.js → Introduction-3UWByITz.js} +4 -4
- package/dist/{JpAddress-d7KksDs6.js → JpAddress-C0iTeXx7.js} +7 -7
- package/dist/{LegalRepresentativeDetailsPage-DgJIo3a_.js → LegalRepresentativeDetailsPage-DSppGGc6.js} +4 -4
- package/dist/{Link-DKejqu28.js → Link-CaxhkJ24.js} +1 -1
- package/dist/{ManageIndividualComponent-BCJfrgNs.js → ManageIndividualComponent-DBe5ValD.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-DtjluOyv.js → ManageTermsOfServiceComponent-5GHjPbHb.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-BaQm96XQ.js → ManageTransferInstrumentComponent-muOE0ZjV.js} +11 -11
- package/dist/{MaskedInput-DDUGWXNt.js → MaskedInput-OYLtVOZ6.js} +4 -4
- package/dist/{Modal-BdN0p4Fw.js → Modal-BaaNj5F-.js} +1 -1
- package/dist/{OnboardingDropinComponent-C0ZySAyD.js → OnboardingDropinComponent-DIf93Tzb.js} +44 -44
- package/dist/{PayoutDetailsDropin-Dp2Si5IF.js → PayoutDetailsDropin-DIJbRfg_.js} +22 -22
- package/dist/{RadioGroup-Cwa-AhrM.js → RadioGroup-QZCH1TCn.js} +5 -5
- package/dist/{RegistrationAddress-B6tE2BHM.js → RegistrationAddress-CbElOOZ6.js} +12 -12
- package/dist/{Review-Db4B-JKH.js → Review-1Y__iPB0.js} +6 -6
- package/dist/{RootBusinessDetailsPage-FD8T1UXX.js → RootBusinessDetailsPage-Cy5mUuKv.js} +23 -23
- package/dist/{RootIndividualDetailsPage-DlB2sBMN.js → RootIndividualDetailsPage-BVr2fbYb.js} +4 -4
- package/dist/{SignPCIComponent-_tHvca5C.js → SignPCIComponent-BcR2vNVB.js} +8 -8
- package/dist/{SingpassSelection-ZxVyzjPN.js → SingpassSelection-DDG-DpRN.js} +3 -3
- package/dist/{SoleProprietorshipPage-ChnCCbMI.js → SoleProprietorshipPage-XnNdoc8n.js} +4 -4
- package/dist/{SourceOfFundsPage-pG3y6Zv1.js → SourceOfFundsPage-DF3muJcW.js} +25 -25
- package/dist/{StepProgressIndicator-DbwR3T7b.js → StepProgressIndicator-BUDjmmPK.js} +1 -1
- package/dist/{StoreProvider-Bfjj1oeb.js → StoreProvider-DGxWcgrS.js} +4 -4
- package/dist/{TaskItemStatus-BECpwL4B.js → TaskItemStatus-Clfh9v2q.js} +2 -2
- package/dist/{TaskStatusIndicator-MkCtTIjh.js → TaskStatusIndicator-CEZcV_gi.js} +1 -1
- package/dist/{TaxInformationField-BB5escZL.js → TaxInformationField-Bu8s2JZA.js} +13 -13
- package/dist/{TaxReportingDropin-BTlodTuf.js → TaxReportingDropin-C1aPbXfp.js} +15 -15
- package/dist/{TileGroup-DZysYpUR.js → TileGroup-AskMVW9b.js} +3 -3
- package/dist/{TrustDetailsPage-P_rvs5ep.js → TrustDetailsPage-S0YwnBAx.js} +21 -21
- package/dist/{TrustMemberCompanyPage-Cx6NWouI.js → TrustMemberCompanyPage-DVm9LzCY.js} +5 -5
- package/dist/{TrustMemberIndividualPage-C0kNS5vz.js → TrustMemberIndividualPage-BqncnJnj.js} +4 -4
- package/dist/{UnincorporatedPartnershipIndividualPage-G9XIHAs_.js → UnincorporatedPartnershipIndividualPage-B_fmnaes.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DbZYi4f1.js → UnincorporatedPartnershipMemberCompanyPage-DMBIT2KR.js} +5 -5
- package/dist/{ViewVerificationStatusComponent-Cv8hgp2l.js → ViewVerificationStatusComponent-CivzRszd.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-kyc-components.js +21 -21
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{analytics-BCO_IWtF.js → analytics-B9jlnux-.js} +1 -1
- package/dist/{bafinUtils-6_NIDQna.js → bafinUtils-BJao1Xb_.js} +5 -5
- package/dist/{fieldConfigurations-CHwTlkiu.js → fieldConfigurations-BzmPcPW1.js} +6 -6
- package/dist/{getName-Dr73kL4i.js → getName-DN1hhEuf.js} +1 -1
- package/dist/{hasDataChanged-BAk8dHDV.js → hasDataChanged-Di3pJ9RD.js} +1 -1
- package/dist/{iframeWidget-gc7dSS0B.js → iframeWidget-CdgdGJSA.js} +3 -3
- package/dist/{isEmpty-AgkhmgYF.js → isEmpty-Cg1sEY56.js} +1 -1
- package/dist/{localizeDateString-Dszy5EOy.js → localizeDateString-CjJb5ip4.js} +1 -1
- package/dist/{mapExistingFile-C1XnnH72.js → mapExistingFile-Dww-3m9M.js} +3 -3
- package/dist/{mapScriptLocalization-ClIxnkzy.js → mapScriptLocalization-BXWQCCfg.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-B0bbJMAW.js → mapTransferInstrumentToPayoutAccount-NoTqg5NI.js} +1 -1
- package/dist/{resolveEnvironment-BORrsNWm.js → resolveEnvironment-DTf0YGQw.js} +3 -3
- package/dist/{rules-CWJ-TO4b.js → rules-4TEUMKya.js} +4 -4
- package/dist/{translation-BnPn4rau.js → translation-C21WMjvq.js} +1 -1
- package/dist/{types-CC3L149y.js → types-Dsz7b4S_.js} +1 -1
- package/dist/{types-Cd9Wlt2X.js → types-IWh9Nm-W.js} +1 -1
- package/dist/{useAssociatedLegalEntity-C-jDsnsC.js → useAssociatedLegalEntity-CPl7E0oh.js} +1 -1
- package/dist/{useDataset-7zO1Y3e3.js → useDataset-CYBhIC5y.js} +2 -2
- package/dist/{useForm-DdwLQDnp.js → useForm-NtB5fMq5.js} +3 -3
- package/dist/{useGlobalData-C4X72yOd.js → useGlobalData-COgPG9qd.js} +7 -7
- package/dist/{useOnboardingStatus-Dv_jauOB.js → useOnboardingStatus-B8yCxKXz.js} +1 -1
- package/dist/{useScenarios-tiBs4ada.js → useScenarios-DesE_Dem.js} +1 -1
- package/dist/{useTermsOfServiceStatus-BLzR1GEK.js → useTermsOfServiceStatus-qtseJuA8.js} +1 -1
- package/dist/{useToastContext-Bf_7KGTh.js → useToastContext-D4w2gBxd.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-Uwht7f0V.js → useUnincorporatedPartnershipMembers-FOg1r690.js} +4 -4
- package/dist/{utils-DvjlMOCK.js → utils-B1i9qK_1.js} +6 -6
- package/dist/{utils-DYTQFzIm.js → utils-BMvr9mIu.js} +1 -1
- package/dist/{utils-DVHs4xQp.js → utils-BnQGsYPp.js} +1 -1
- package/dist/{validate-CTp1rjgx.js → validate-BiuAh7Ub.js} +1 -1
- package/dist/{validate-qIlTjb2H.js → validate-C6-L7Vfa.js} +2 -2
- package/dist/{validate-BIGoa9Z7.js → validate-anwsdbQz.js} +6 -6
- package/dist/{validationError-DEGPWFTr.js → validationError-zbgp4iB7.js} +1 -1
- package/package.json +1 -1
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aE as cloneObject, N as createLogger, by as isString, k as httpPost } from "./StoreProvider-
|
|
11
|
-
import { i as isValueObscured } from "./MaskedInput-
|
|
10
|
+
import { aE as cloneObject, N as createLogger, by as isString, k as httpPost } from "./StoreProvider-DGxWcgrS.js";
|
|
11
|
+
import { i as isValueObscured } from "./MaskedInput-OYLtVOZ6.js";
|
|
12
12
|
import { g as getProp, d as deleteProp } from "./utils-DNSfZiio.js";
|
|
13
|
-
import { A as AdyenKycSdkError } from "./mapExistingFile-
|
|
13
|
+
import { A as AdyenKycSdkError } from "./mapExistingFile-Dww-3m9M.js";
|
|
14
14
|
const omitObscuredFieldsIfUnchanged = (obscuredFields, dataSubmitted, savedData) => {
|
|
15
15
|
if (!dataSubmitted) {
|
|
16
16
|
return;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { as as keysOf } from "./StoreProvider-
|
|
10
|
+
import { as as keysOf } from "./StoreProvider-DGxWcgrS.js";
|
|
11
11
|
const isEmpty = (obj, ignoreEmptyProperties = true) => {
|
|
12
12
|
if (obj === null || obj === void 0) return true;
|
|
13
13
|
if (Array.isArray(obj)) return obj.length === 0;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { N as createLogger } from "./StoreProvider-
|
|
10
|
+
import { N as createLogger } from "./StoreProvider-DGxWcgrS.js";
|
|
11
11
|
const localizeDateString = (dateString, locale, options) => {
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const formatOptions = {
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useEffect, useState, useMemo } from "preact/hooks";
|
|
11
|
-
import { u as useScenarios } from "./useScenarios-
|
|
12
|
-
import { aa as CountryCodes, N as createLogger, a as useTranslation, V as Icon } from "./StoreProvider-
|
|
11
|
+
import { u as useScenarios } from "./useScenarios-DesE_Dem.js";
|
|
12
|
+
import { aa as CountryCodes, N as createLogger, a as useTranslation, V as Icon } from "./StoreProvider-DGxWcgrS.js";
|
|
13
13
|
import { signal } from "@preact/signals";
|
|
14
14
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
15
15
|
import cx from "classnames";
|
|
16
16
|
import { lazy } from "preact/compat";
|
|
17
|
-
import { I as Image } from "./fieldConfigurations-
|
|
17
|
+
import { I as Image } from "./fieldConfigurations-BzmPcPW1.js";
|
|
18
18
|
class AdyenKycSdkError extends Error {
|
|
19
19
|
sourceError;
|
|
20
20
|
constructor(message, sourceError) {
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, o as httpGet, X as useExperimentsContext, aa as CountryCodes } from "./StoreProvider-
|
|
11
|
-
import { u as useSetting } from "./bafinUtils-
|
|
12
|
-
import { u as useCapabilities } from "./TaxInformationField-
|
|
10
|
+
import { b as useApiContext, j as useQuery, o as httpGet, X as useExperimentsContext, aa as CountryCodes } from "./StoreProvider-DGxWcgrS.js";
|
|
11
|
+
import { u as useSetting } from "./bafinUtils-BJao1Xb_.js";
|
|
12
|
+
import { u as useCapabilities } from "./TaxInformationField-Bu8s2JZA.js";
|
|
13
13
|
const getSupportedCountries = async (legalEntityId, baseUrl) => {
|
|
14
14
|
return httpGet({
|
|
15
15
|
baseUrl,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, q as skipToken, o as httpGet, bz as payoutComponentKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, q as skipToken, o as httpGet, bz as payoutComponentKeyMapping } from "./StoreProvider-DGxWcgrS.js";
|
|
11
11
|
import { m as mapWith } from "./utils-DNSfZiio.js";
|
|
12
12
|
const getTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
|
|
13
13
|
return httpGet({
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "340fa26f-8cd3-4e35-8d60-c557a99035a4", e._sentryDebugIdIdentifier = "sentry-dbid-340fa26f-8cd3-4e35-8d60-c557a99035a4");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { aS as refreshSession, B as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-
|
|
11
|
+
import { aS as refreshSession, B as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-DGxWcgrS.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
13
|
const sheet = new CSSStyleSheet();
|
|
14
14
|
const stylesheets = [sheet];
|
|
@@ -56,7 +56,7 @@ const EmbedShell = ({
|
|
|
56
56
|
experiments,
|
|
57
57
|
refreshExperiments,
|
|
58
58
|
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
59
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.83.0
|
|
59
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.83.0" }),
|
|
60
60
|
/* @__PURE__ */ jsx(
|
|
61
61
|
AnalyticsProvider,
|
|
62
62
|
{
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aa as CountryCodes, bb as allowedCountriesForNominee, al as DecisionMakerTypes, M as TaskTypes, am as Scenarios } from "./StoreProvider-
|
|
11
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
12
|
-
import { c as createFormRules } from "./fieldConfigurations-
|
|
13
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
10
|
+
import { aa as CountryCodes, bb as allowedCountriesForNominee, al as DecisionMakerTypes, M as TaskTypes, am as Scenarios } from "./StoreProvider-DGxWcgrS.js";
|
|
11
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-BMvr9mIu.js";
|
|
12
|
+
import { c as createFormRules } from "./fieldConfigurations-BzmPcPW1.js";
|
|
13
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-BnQGsYPp.js";
|
|
14
14
|
const REQUIRED = "REQUIRED";
|
|
15
15
|
const OPTIONAL = "OPTIONAL";
|
|
16
16
|
const SOLE_PROP_COUNTRIES = [
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { createElement, isValidElement, cloneElement, Children, Fragment, useContext } from "preact/compat";
|
|
11
|
-
import { aL as warnOnce, aM as getI18n, aN as getDefaults, aO as isString, aP as warn, aQ as isObject, aR as I18nContext } from "./StoreProvider-
|
|
11
|
+
import { aL as warnOnce, aM as getI18n, aN as getDefaults, aO as isString, aP as warn, aQ as isObject, aR as I18nContext } from "./StoreProvider-DGxWcgrS.js";
|
|
12
12
|
const __variableDynamicImportRuntimeHelper = (glob$1, path$13, segs) => {
|
|
13
13
|
const v = glob$1[path$13];
|
|
14
14
|
if (v) return typeof v === "function" ? v() : Promise.resolve(v);
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aa as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { aa as CountryCodes } from "./StoreProvider-DGxWcgrS.js";
|
|
11
11
|
import { C as Currencies } from "./currency-BGwQyxBo.js";
|
|
12
12
|
const currencyByCountry = {
|
|
13
13
|
[CountryCodes.Australia]: [Currencies.AUD],
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { N as createLogger, c as useLegalEntity, q as skipToken } from "./StoreProvider-
|
|
11
|
+
import { N as createLogger, c as useLegalEntity, q as skipToken } from "./StoreProvider-DGxWcgrS.js";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
14
14
|
const matchingAssociation = useMemo(() => {
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useTranslation, U as useAnalyticsContext, x as Typography, B as Button, N as createLogger, u as useI18nContext } from "./StoreProvider-
|
|
14
|
-
import { M as Modal } from "./Modal-
|
|
13
|
+
import { a as useTranslation, U as useAnalyticsContext, x as Typography, B as Button, N as createLogger, u as useI18nContext } from "./StoreProvider-DGxWcgrS.js";
|
|
14
|
+
import { M as Modal } from "./Modal-BaaNj5F-.js";
|
|
15
15
|
const structuredList = "adyen-kyc-structured-list";
|
|
16
16
|
const structuredListSectionField = "adyen-kyc-structured-list-section-field";
|
|
17
17
|
const structuredListSectionLabel = "adyen-kyc-structured-list-section-label";
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useState, useEffect, useRef, useMemo, useCallback, useReducer } from "preact/hooks";
|
|
13
|
-
import { U as useAnalyticsContext, a as useTranslation, V as Icon, w as translateStringOrObject, L as Loader, T as ToastContextProvider, W as noop, x as Typography, N as createLogger, a7 as isEmpty, a6 as entriesOf, aJ as doArraysMatch } from "./StoreProvider-
|
|
14
|
-
import { M as Modal, K as KEYBOARD_KEYS } from "./Modal-
|
|
13
|
+
import { U as useAnalyticsContext, a as useTranslation, V as Icon, w as translateStringOrObject, L as Loader, T as ToastContextProvider, W as noop, x as Typography, N as createLogger, a7 as isEmpty, a6 as entriesOf, aJ as doArraysMatch } from "./StoreProvider-DGxWcgrS.js";
|
|
14
|
+
import { M as Modal, K as KEYBOARD_KEYS } from "./Modal-BaaNj5F-.js";
|
|
15
15
|
import { computed, signal, useSignal, useSignalEffect } from "@preact/signals";
|
|
16
|
-
import { d as debouncedInputEvent } from "./analytics-
|
|
16
|
+
import { d as debouncedInputEvent } from "./analytics-B9jlnux-.js";
|
|
17
17
|
function Checkbox({
|
|
18
18
|
id,
|
|
19
19
|
name,
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useContext, useState, useCallback, useMemo } from "preact/hooks";
|
|
12
|
-
import { bw as StateContext, a as useTranslation, U as useAnalyticsContext, X as useExperimentsContext, B as Button } from "./StoreProvider-
|
|
13
|
-
import { M as MaybeModal, L as LoaderWrapper } from "./useForm-
|
|
14
|
-
import { a as ModalContent, c as ModalHeader, b as ModalFooter } from "./Modal-
|
|
12
|
+
import { bw as StateContext, a as useTranslation, U as useAnalyticsContext, X as useExperimentsContext, B as Button } from "./StoreProvider-DGxWcgrS.js";
|
|
13
|
+
import { M as MaybeModal, L as LoaderWrapper } from "./useForm-NtB5fMq5.js";
|
|
14
|
+
import { a as ModalContent, c as ModalHeader, b as ModalFooter } from "./Modal-BaaNj5F-.js";
|
|
15
15
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
16
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
17
|
-
import { t as trackNavigation, j as FormRouterContextProvider, f as summaryStep, S as Summary } from "./CountryField-
|
|
18
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
19
|
-
import { a as debounce } from "./analytics-
|
|
16
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-BUDjmmPK.js";
|
|
17
|
+
import { t as trackNavigation, j as FormRouterContextProvider, f as summaryStep, S as Summary } from "./CountryField-DrB-OFMR.js";
|
|
18
|
+
import { F as FormNavigation } from "./FormNavigation-DXaxaf1-.js";
|
|
19
|
+
import { a as debounce } from "./analytics-B9jlnux-.js";
|
|
20
20
|
function useStateContext() {
|
|
21
21
|
const context = useContext(StateContext);
|
|
22
22
|
if (process.env.NODE_ENV === "development" && !context) {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, o as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, o as httpGet } from "./StoreProvider-DGxWcgrS.js";
|
|
11
11
|
const getOnboardingStatus = async (legalEntityId, baseUrl) => {
|
|
12
12
|
return httpGet({
|
|
13
13
|
baseUrl,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, a6 as entriesOf, q as skipToken, am as Scenarios, o as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, a6 as entriesOf, q as skipToken, am as Scenarios, o as httpGet } from "./StoreProvider-DGxWcgrS.js";
|
|
11
11
|
const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
|
|
12
12
|
const scenarioParams = new URLSearchParams({
|
|
13
13
|
...countryCode && { countryCode },
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, o as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, o as httpGet } from "./StoreProvider-DGxWcgrS.js";
|
|
11
11
|
const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
|
|
12
12
|
return httpGet({
|
|
13
13
|
baseUrl,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { N as createLogger, aH as useQueryClient, b as useApiContext, aK as ToastContext } from "./StoreProvider-
|
|
10
|
+
import { N as createLogger, aH as useQueryClient, b as useApiContext, aK as ToastContext } from "./StoreProvider-DGxWcgrS.js";
|
|
11
11
|
import { useCallback, useContext } from "preact/hooks";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { y as LegalEntityTypes, a8 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
13
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-
|
|
14
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
11
|
+
import { y as LegalEntityTypes, a8 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-DGxWcgrS.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-CPl7E0oh.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-DrB-OFMR.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-DN1hhEuf.js";
|
|
15
15
|
const getMemberOwnerId = (memberId, entityAssociations) => entityAssociations.find((association) => association.associatorId === memberId)?.legalEntityId;
|
|
16
16
|
const convertEntityAssociationIntoUnincorporatedPartnershipMember = (association) => {
|
|
17
17
|
if (association.entityType === LegalEntityTypes.INDIVIDUAL || association.entityType === LegalEntityTypes.ORGANIZATION)
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { R as RadioGroupCard } from "./fieldConfigurations-
|
|
12
|
-
import { a as useTranslation, g as getLegalEntityCountry, bC as getCapabilities, y as LegalEntityTypes, G as hasOwnEntityAssociationOfType, aa as CountryCodes } from "./StoreProvider-
|
|
13
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
14
|
-
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-
|
|
15
|
-
import { S as SOLE_PROP_COUNTRIES } from "./rules-
|
|
16
|
-
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
11
|
+
import { R as RadioGroupCard } from "./fieldConfigurations-BzmPcPW1.js";
|
|
12
|
+
import { a as useTranslation, g as getLegalEntityCountry, bC as getCapabilities, y as LegalEntityTypes, G as hasOwnEntityAssociationOfType, aa as CountryCodes } from "./StoreProvider-DGxWcgrS.js";
|
|
13
|
+
import { C as CompanyTypesValues } from "./bafinUtils-BJao1Xb_.js";
|
|
14
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-DIf93Tzb.js";
|
|
15
|
+
import { S as SOLE_PROP_COUNTRIES } from "./rules-4TEUMKya.js";
|
|
16
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-Dsz7b4S_.js";
|
|
17
17
|
const EntityTypeRadioGroupCard = ({
|
|
18
18
|
examples,
|
|
19
19
|
optionDescription,
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { k as httpPost, aG as httpDelete, o as httpGet, N as createLogger, bw as StateContext, a as useTranslation, U as useAnalyticsContext, V as Icon, x as Typography, P as IconButton } from "./StoreProvider-
|
|
11
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
10
|
+
import { k as httpPost, aG as httpDelete, o as httpGet, N as createLogger, bw as StateContext, a as useTranslation, U as useAnalyticsContext, V as Icon, x as Typography, P as IconButton } from "./StoreProvider-DGxWcgrS.js";
|
|
11
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-BnQGsYPp.js";
|
|
12
12
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
import { useEffect } from "preact/hooks";
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useState, useMemo, useEffect } from "preact/hooks";
|
|
11
|
-
import { b as useApiContext, k as httpPost, aa as CountryCodes, a7 as isEmpty, N as createLogger, a as useTranslation, a6 as entriesOf } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpPost, aa as CountryCodes, a7 as isEmpty, N as createLogger, a as useTranslation, a6 as entriesOf } from "./StoreProvider-DGxWcgrS.js";
|
|
12
12
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
13
|
-
import { F as Field, S as Select } from "./useForm-
|
|
14
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, F as FormHeader } from "./CountryField-
|
|
15
|
-
import { m as makeMask, a as nonInputs, n as numericInputs, s as spacer, M as MaskedInput, I as InputEmail } from "./MaskedInput-
|
|
16
|
-
import { r as resolveFieldMetadata } from "./fieldConfigurations-
|
|
17
|
-
import { u as useDataset, d as datasetIdentifier } from "./useDataset-
|
|
13
|
+
import { F as Field, S as Select } from "./useForm-NtB5fMq5.js";
|
|
14
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, F as FormHeader } from "./CountryField-DrB-OFMR.js";
|
|
15
|
+
import { m as makeMask, a as nonInputs, n as numericInputs, s as spacer, M as MaskedInput, I as InputEmail } from "./MaskedInput-OYLtVOZ6.js";
|
|
16
|
+
import { r as resolveFieldMetadata } from "./fieldConfigurations-BzmPcPW1.js";
|
|
17
|
+
import { u as useDataset, d as datasetIdentifier } from "./useDataset-CYBhIC5y.js";
|
|
18
18
|
import { I as InputGroup } from "./InputGroup-WBfGDV5F.js";
|
|
19
19
|
import { e as emailPattern } from "./basePatterns-BwdnMQxI.js";
|
|
20
20
|
const validatePhoneNumber = (baseUrl, data) => {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { M as TaskTypes, bs as remediationPayoutApiKeyMapping, bt as remediationBusinessDetailsApiKeyMapping, bu as remediationIndividualApiKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { M as TaskTypes, bs as remediationPayoutApiKeyMapping, bt as remediationBusinessDetailsApiKeyMapping, bu as remediationIndividualApiKeyMapping } from "./StoreProvider-DGxWcgrS.js";
|
|
11
11
|
import { a as assignToProp } from "./utils-DNSfZiio.js";
|
|
12
12
|
const isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
|
|
13
13
|
const overrideKeyMapping = {
|