@adyen/kyc-components 3.86.0 → 3.86.1
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-CfKATf4g.js → AcceptTermsOfServiceComponent-SKYpNaT_.js} +14 -14
- package/dist/{Accordion-Dnp7WhUx.js → Accordion-AB-SFSto.js} +1 -1
- package/dist/{AccountSetupRejected-BSJJfRWV.js → AccountSetupRejected-C2iVEDTy.js} +4 -4
- package/dist/{Address-Bl_bd5Lp.js → Address-BrQQe7ha.js} +7 -7
- package/dist/{Alert-B9R4X_XM.js → Alert-crnkJ_LW.js} +2 -2
- package/dist/{Avatar-DZ9JX3Cp.js → Avatar-DqyBmQn6.js} +1 -1
- package/dist/{BusinessDetailsMultiformDropin-BjGT2ZQS.js → BusinessDetailsMultiformDropin-BsGtsaeq.js} +29 -29
- package/dist/{BusinessFinancingComponent-C9ugIBel.js → BusinessFinancingComponent-D5FjvXdo.js} +4 -4
- package/dist/{BusinessFinancingDropin-DGpBmbBn.js → BusinessFinancingDropin-Bg5MWWTa.js} +19 -19
- package/dist/{BusinessFinancingPage-zaSDXCpl.js → BusinessFinancingPage-D3q5J9wd.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-BCe-2fB6.js → BusinessTypeSelectionPage-Bhtt6-Ks.js} +8 -8
- package/dist/{Card-TkGAmjC5.js → Card-B00s_dXD.js} +2 -2
- package/dist/{ConstitutionalDocument-CalFzHjn.js → ConstitutionalDocument-OB97ux6j.js} +2 -2
- package/dist/{CountryField-mxgVAmFp.js → CountryField-B2eWGoWB.js} +4 -4
- package/dist/{CreateIndividualComponent-DS6uGwYF.js → CreateIndividualComponent-q3_uvxpZ.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-CQ00ZVZa.js → CreateTransferInstrumentComponent-DgDFxKJ-.js} +4 -4
- package/dist/{Currency-DSYdE9Qs.js → Currency-TmsYrcvt.js} +4 -4
- package/dist/{CustomerSupport-DRLtpWUp.js → CustomerSupport-G7N2So_A.js} +9 -9
- package/dist/{DebugModal-BI1D0dD9.js → DebugModal-Dl5KGDP5.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-D3CS4w0h.js → DecisionMakerDetailsPage-DZvqy-jE.js} +5 -5
- package/dist/{DecisionMakers-q__qndMm.js → DecisionMakers-Cpl4kIKo.js} +16 -16
- package/dist/{EmbeddedStatus-5OzDMQUR.js → EmbeddedStatus-DNr8kNYt.js} +2 -2
- package/dist/{EndStateLayout-BmWri3S5.js → EndStateLayout-wNFRan50.js} +1 -1
- package/dist/{FormFlow-8pfRbKmA.js → FormFlow-CKeUyS26.js} +7 -7
- package/dist/{FormNavigation-C2KywHXa.js → FormNavigation-aTVAs5qL.js} +3 -3
- package/dist/{FormWrapper-CZhSGUa3.js → FormWrapper-BhbVQDiP.js} +9 -9
- package/dist/{IndividualOnfido-n3WaW67J.js → IndividualOnfido-iP31gO_Y.js} +17 -15
- package/dist/{IndividualOnfidoDropin-DZrlWtK6.js → IndividualOnfidoDropin-Q9tT_bt9.js} +24 -24
- package/dist/{InputText-BIySwrmu.js → InputText-CZa5aGrQ.js} +2 -2
- package/dist/{Introduction-Bt9gH0G5.js → Introduction-XpkdauAA.js} +3 -3
- package/dist/{JpAddress-bHP50zUD.js → JpAddress-C7pRO7K3.js} +7 -7
- package/dist/{LegalRepresentativeDetailsPage-D4aN-DTv.js → LegalRepresentativeDetailsPage-BSafZAX8.js} +3 -3
- package/dist/{ListItem-CILPfTHI.js → ListItem-D6idfKyK.js} +2 -2
- package/dist/{ManageIndividualComponent-CbiGSFJ_.js → ManageIndividualComponent-B_gYwqpW.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-rvk5MSmL.js → ManageTermsOfServiceComponent-D1PH724t.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-D2GUV6zp.js → ManageTransferInstrumentComponent-C4SXX3hi.js} +11 -11
- package/dist/{MaybeModal-CZ-qmMqV.js → MaybeModal-BUqEz9EP.js} +2 -2
- package/dist/{Modal-GSjDUwX-.js → Modal-CPsfjXOX.js} +1 -1
- package/dist/{OnboardingDropinComponent-BGpgGBrU.js → OnboardingDropinComponent-B9VBfkd_.js} +49 -49
- package/dist/{PayoutDetailsDropin-kdkNvTHM.js → PayoutDetailsDropin-Do1edmnl.js} +23 -23
- package/dist/{Review-CN-S9UCT.js → Review-CtghGjrU.js} +7 -7
- package/dist/{RootBusinessDetailsPage-CyQjjBhL.js → RootBusinessDetailsPage-C1WzlXP0.js} +4 -4
- package/dist/{RootBusinessLinesPage-BhiDzu7x.js → RootBusinessLinesPage-KJ57aQAX.js} +19 -19
- package/dist/{RootIndividualDetailsPage-BsagBZYZ.js → RootIndividualDetailsPage-CepVXW8O.js} +5 -5
- package/dist/{SignPCIComponent-o50WXRbZ.js → SignPCIComponent-DVuBXVft.js} +9 -9
- package/dist/{SingpassSelection-L1vBg267.js → SingpassSelection-BOdPK2Xy.js} +3 -3
- package/dist/{SoleProprietorshipPage-Cz21B5bv.js → SoleProprietorshipPage-dJv_JrO8.js} +3 -3
- package/dist/{SourceOfFundsPage-OPzX7pfM.js → SourceOfFundsPage-NT9ol77K.js} +23 -23
- package/dist/{StepProgressIndicator-C26xG3ak.js → StepProgressIndicator-CrenJjUX.js} +1 -1
- package/dist/{StoreProvider-Cvqvt7fn.js → StoreProvider-QkSyNCXW.js} +4 -4
- package/dist/{TaskItemStatus-BAtPrryh.js → TaskItemStatus-D64FkwWl.js} +2 -2
- package/dist/{TaxReportingDropin-9nQHRCS4.js → TaxReportingDropin-OcjmHcLf.js} +14 -14
- package/dist/{TrustDetailsPage-Bx_Pm5Sl.js → TrustDetailsPage-C90Njfcq.js} +22 -22
- package/dist/{TrustMemberCompanyPage-BoxMy_a_.js → TrustMemberCompanyPage-pvcuzuMV.js} +4 -4
- package/dist/{TrustMemberIndividualPage-D6n7VhnN.js → TrustMemberIndividualPage-BT817d1y.js} +3 -3
- package/dist/{UnincorporatedPartnershipIndividualPage-ZQG0A9HG.js → UnincorporatedPartnershipIndividualPage-BafVlwfA.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-D9n1kJdM.js → UnincorporatedPartnershipMemberCompanyPage-CjukwVJY.js} +4 -4
- package/dist/{VerificationErrorAlert-D18WmRyf.js → VerificationErrorAlert-BkQmcBUg.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-Fc0L-JN4.js → ViewVerificationStatusComponent-6vzNwAD0.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 +20 -20
- 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/{debouncedInputEvent-BDf19z5H.js → debouncedInputEvent-YMQQTf3_.js} +1 -1
- package/dist/{documentUtils-DahfSV2D.js → documentUtils-D4V0h4nt.js} +2 -2
- package/dist/{dropinUtils-DFscjCzE.js → dropinUtils-DTR598PP.js} +3 -3
- package/dist/{fieldConfigurations-BCj1wotL.js → fieldConfigurations-C9fUwMAY.js} +7 -7
- package/dist/{getFieldsWithExistingData-C_5HXg3J.js → getFieldsWithExistingData-B2P8MP0v.js} +1 -1
- package/dist/{getName-B1o2b2LX.js → getName-B2kxgeMd.js} +1 -1
- package/dist/{hasDataChanged-Bn31Z0Rf.js → hasDataChanged-Bj1kizgc.js} +1 -1
- package/dist/{iframeWidget-DtoLjCYK.js → iframeWidget-CBQVe4Ms.js} +3 -3
- package/dist/{localizeDateString-4aQPK6sB.js → localizeDateString-D549zeXe.js} +1 -1
- package/dist/{mapExistingFile-lDnF81cv.js → mapExistingFile-DTKI8vM2.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-5skum6Qk.js → mapFinancialReportsToFinancialInformation-DQoYNMBV.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-iYMAONXA.js → mapJpAddressSchemaToAddressLocalizations-D7N6C-au.js} +2 -2
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-CZ8Op1Il.js → mapLegalEntityToIndividualOnfidoSchema-BdIMLU_E.js} +2 -2
- package/dist/{mapTransferInstrumentToPayoutAccount-l-kGyc4S.js → mapTransferInstrumentToPayoutAccount-XXepS_oK.js} +1 -1
- package/dist/{process-field-configurations-Dt6THVwE.js → process-field-configurations-CmPjMMhx.js} +2 -2
- package/dist/{resolveEnvironment-9sxvxhUS.js → resolveEnvironment-BheQfszm.js} +3 -3
- package/dist/{rules-BjmEJdfD.js → rules-CyLpzlHl.js} +3 -3
- package/dist/{trackNavigation-DYYVv6_y.js → trackNavigation-DmXB2kEa.js} +3 -3
- package/dist/{types-BQTi6XU4.js → types-8bw8Hags.js} +1 -1
- package/dist/{types-Db4qB5S5.js → types-Ou9-hJZW.js} +1 -1
- package/dist/{useAssociatedLegalEntity-D9WaVhuE.js → useAssociatedLegalEntity-CvQGBS7m.js} +1 -1
- package/dist/{useDataset-CKGFlO8U.js → useDataset-DLBRDjUG.js} +2 -2
- package/dist/{useMultiForm-DfGnG4oT.js → useMultiForm-CrxN03wB.js} +3 -3
- package/dist/{useOnboardingStatus-CIPOAtmO.js → useOnboardingStatus-Bi7kJy9M.js} +1 -1
- package/dist/{useScenarios-CpiyRA2D.js → useScenarios-Chyk-eRd.js} +1 -1
- package/dist/{useTermsOfServiceStatus-DYF8KAVC.js → useTermsOfServiceStatus-tMP34B4N.js} +1 -1
- package/dist/{useToastContext-lvmkWAhW.js → useToastContext-B2x_uhLw.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-BVLE8Ovp.js → useUnincorporatedPartnershipMembers-Des-fUuA.js} +5 -5
- package/dist/{utils-CgVxixWT.js → utils-Bb7JSbi8.js} +5 -5
- package/dist/{validate-DusGGHsF.js → validate-CvfxKGpL.js} +1 -1
- package/dist/{validate-g4LgLk_u.js → validate-Dv60N18G.js} +1 -1
- package/dist/{validationError-C0UYDiYL.js → validationError-CQhwkPGD.js} +1 -1
- package/package.json +1 -1
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { s as summaryItem } from "./CountryField-
|
|
12
|
-
import { G as isEmpty } from "./IndividualOnfido-
|
|
11
|
+
import { s as summaryItem } from "./CountryField-B2eWGoWB.js";
|
|
12
|
+
import { G as isEmpty } from "./IndividualOnfido-iP31gO_Y.js";
|
|
13
13
|
import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
14
14
|
const mapJpAddressSummary = (data, datasetUtils) => {
|
|
15
15
|
if (!data) return {};
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { V as CountryCodes, bw as individualOnfidoBaseMapping, b3 as reverseMapping, b8 as getNomineeFromAssociation, at as DecisionMakerTypes } from "./StoreProvider-
|
|
10
|
+
import { V as CountryCodes, bw as individualOnfidoBaseMapping, b3 as reverseMapping, b8 as getNomineeFromAssociation, at as DecisionMakerTypes } from "./StoreProvider-QkSyNCXW.js";
|
|
11
11
|
import { a as mapApiScriptLocalizationToSchemaFields, b as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
12
12
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
13
|
-
import { _ as GuidanceQuestionValues } from "./IndividualOnfido-
|
|
13
|
+
import { _ as GuidanceQuestionValues } from "./IndividualOnfido-iP31gO_Y.js";
|
|
14
14
|
const getOnfidoIdentityTypeToApiIdentityTypeMap = (data) => {
|
|
15
15
|
const { country } = data;
|
|
16
16
|
switch (country) {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, r as skipToken, o as httpGet, bx as crossBorderMapping, by as payoutComponentKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, r as skipToken, o as httpGet, bx as crossBorderMapping, by as payoutComponentKeyMapping } from "./StoreProvider-QkSyNCXW.js";
|
|
11
11
|
import { m as mapWith } from "./utils-DNSfZiio.js";
|
|
12
12
|
const getTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
|
|
13
13
|
return httpGet({
|
package/dist/{process-field-configurations-Dt6THVwE.js → process-field-configurations-CmPjMMhx.js}
RENAMED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { j as TrustedFieldsProviders } from "./fieldConfigurations-
|
|
10
|
+
import { j as TrustedFieldsProviders } from "./fieldConfigurations-C9fUwMAY.js";
|
|
11
11
|
import "./debugStore-BvbyN1Oi.js";
|
|
12
|
-
import { P as createLogger, bs as businessDetailsApiKeyMapping, b7 as individualApiKeyMapping, aY as remediationHasFileUploadField, bt as dataMissingRemediationsToFieldsMap, av as keysOf } from "./StoreProvider-
|
|
12
|
+
import { P as createLogger, bs as businessDetailsApiKeyMapping, b7 as individualApiKeyMapping, aY as remediationHasFileUploadField, bt as dataMissingRemediationsToFieldsMap, av as keysOf } from "./StoreProvider-QkSyNCXW.js";
|
|
13
13
|
const linkedFieldsMap = {
|
|
14
14
|
"additionalInformation.vatNumber": [
|
|
15
15
|
"additionalInformation.exemptedFromVat",
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "adbdd9a8-87ee-4f76-aae0-562c297104ce", e._sentryDebugIdIdentifier = "sentry-dbid-adbdd9a8-87ee-4f76-aae0-562c297104ce");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { h as h$1, hydrate, render, cloneElement, Fragment } from "preact";
|
|
11
11
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { b0 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-
|
|
12
|
+
import { b0 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-QkSyNCXW.js";
|
|
13
13
|
import { useState, useEffect } from "preact/hooks";
|
|
14
14
|
function i() {
|
|
15
15
|
return i = Object.assign ? Object.assign.bind() : function(t) {
|
|
@@ -135,7 +135,7 @@ const EmbedShell = ({
|
|
|
135
135
|
experiments,
|
|
136
136
|
refreshExperiments,
|
|
137
137
|
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
138
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.86.
|
|
138
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.86.1" }),
|
|
139
139
|
/* @__PURE__ */ jsx(
|
|
140
140
|
AnalyticsProvider,
|
|
141
141
|
{
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { V as CountryCodes, ay as allowedCountriesForNominee, at as DecisionMakerTypes, O as TaskTypes, as as Scenarios } from "./StoreProvider-
|
|
11
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./Address-
|
|
12
|
-
import { x as createFormRules, w as getLocalizedIdDocumentTypeOptions } from "./fieldConfigurations-
|
|
10
|
+
import { V as CountryCodes, ay as allowedCountriesForNominee, at as DecisionMakerTypes, O as TaskTypes, as as Scenarios } from "./StoreProvider-QkSyNCXW.js";
|
|
11
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./Address-BrQQe7ha.js";
|
|
12
|
+
import { x as createFormRules, w as getLocalizedIdDocumentTypeOptions } from "./fieldConfigurations-C9fUwMAY.js";
|
|
13
13
|
const REQUIRED = "REQUIRED";
|
|
14
14
|
const OPTIONAL = "OPTIONAL";
|
|
15
15
|
const SOLE_PROP_COUNTRIES = [
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
import { jsxs, jsx, Fragment } 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 useTranslation, a1 as useAnalyticsContext, a4 as Icon, x as translateStringOrObject, L as Loader, a5 as noop, y as Typography, P as createLogger, X as isEmpty, a0 as entriesOf, a_ as doArraysMatch } from "./StoreProvider-
|
|
13
|
+
import { u as useTranslation, a1 as useAnalyticsContext, a4 as Icon, x as translateStringOrObject, L as Loader, a5 as noop, y as Typography, P as createLogger, X as isEmpty, a0 as entriesOf, a_ as doArraysMatch } from "./StoreProvider-QkSyNCXW.js";
|
|
14
14
|
import { computed, signal, useSignal, useSignalEffect } from "@preact/signals";
|
|
15
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
16
|
-
import { C as Checkbox, a as debouncedInputEvent } from "./debouncedInputEvent-
|
|
15
|
+
import { K as KEYBOARD_KEYS } from "./Modal-CPsfjXOX.js";
|
|
16
|
+
import { C as Checkbox, a as debouncedInputEvent } from "./debouncedInputEvent-YMQQTf3_.js";
|
|
17
17
|
const ARIA_ERROR_SUFFIX = "-ariaError";
|
|
18
18
|
function uuidv4() {
|
|
19
19
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { P as createLogger, c as useLegalEntity, r as skipToken } from "./StoreProvider-
|
|
11
|
+
import { P as createLogger, c as useLegalEntity, r as skipToken } from "./StoreProvider-QkSyNCXW.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 { u as useTranslation, a1 as useAnalyticsContext, y as Typography, B as Button, P as createLogger, W as useI18nContext } from "./StoreProvider-
|
|
14
|
-
import { M as Modal } from "./Modal-
|
|
13
|
+
import { u as useTranslation, a1 as useAnalyticsContext, y as Typography, B as Button, P as createLogger, W as useI18nContext } from "./StoreProvider-QkSyNCXW.js";
|
|
14
|
+
import { M as Modal } from "./Modal-CPsfjXOX.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";
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { ao as objectsDeepEqual, P as createLogger, X as isEmpty } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult } from "./trackNavigation-
|
|
13
|
-
import { k as isNotEmptyValidator } from "./CountryField-
|
|
11
|
+
import { ao as objectsDeepEqual, P as createLogger, X as isEmpty } from "./StoreProvider-QkSyNCXW.js";
|
|
12
|
+
import { V as ValidationResult } from "./trackNavigation-DmXB2kEa.js";
|
|
13
|
+
import { k as isNotEmptyValidator } from "./CountryField-B2eWGoWB.js";
|
|
14
14
|
const omitKeys = (obj, omit) => Object.keys(obj).filter((k) => !omit.includes(k)).reduce((a, c) => {
|
|
15
15
|
a[c] = obj[c];
|
|
16
16
|
return a;
|
|
@@ -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-QkSyNCXW.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, a0 as entriesOf, r as skipToken, as as Scenarios, o as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, a0 as entriesOf, r as skipToken, as as Scenarios, o as httpGet } from "./StoreProvider-QkSyNCXW.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-QkSyNCXW.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 { P as createLogger, a3 as useQueryClient, b as useApiContext, a$ as ToastContext } from "./StoreProvider-
|
|
10
|
+
import { P as createLogger, a3 as useQueryClient, b as useApiContext, a$ as ToastContext } from "./StoreProvider-QkSyNCXW.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,11 +8,11 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useContext, useCallback, useMemo } from "preact/hooks";
|
|
11
|
-
import { d as debounce } from "./debouncedInputEvent-
|
|
12
|
-
import { aE as StateContext, z as LegalEntityTypes, ag as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
13
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
14
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-
|
|
15
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
11
|
+
import { d as debounce } from "./debouncedInputEvent-YMQQTf3_.js";
|
|
12
|
+
import { aE as StateContext, z as LegalEntityTypes, ag as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-QkSyNCXW.js";
|
|
13
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-CvQGBS7m.js";
|
|
14
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-B2eWGoWB.js";
|
|
15
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-B2kxgeMd.js";
|
|
16
16
|
function useStateContext() {
|
|
17
17
|
const context = useContext(StateContext);
|
|
18
18
|
return context;
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CompanyTypesValues } from "./IndividualOnfido-
|
|
11
|
-
import { g as getLegalEntityCountry, bB as getCapabilities, z as LegalEntityTypes, H as hasOwnEntityAssociationOfType, V as CountryCodes } from "./StoreProvider-
|
|
12
|
-
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-
|
|
13
|
-
import { S as SOLE_PROP_COUNTRIES } from "./rules-
|
|
14
|
-
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
10
|
+
import { C as CompanyTypesValues } from "./IndividualOnfido-iP31gO_Y.js";
|
|
11
|
+
import { g as getLegalEntityCountry, bB as getCapabilities, z as LegalEntityTypes, H as hasOwnEntityAssociationOfType, V as CountryCodes } from "./StoreProvider-QkSyNCXW.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-B9VBfkd_.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./rules-CyLpzlHl.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-8bw8Hags.js";
|
|
15
15
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
16
16
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
17
17
|
CountryCodes.UnitedStates,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback } from "preact/hooks";
|
|
11
|
-
import { b as useApiContext, k as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpPost } from "./StoreProvider-QkSyNCXW.js";
|
|
12
12
|
import { e as emailPattern } from "./basePatterns-BwdnMQxI.js";
|
|
13
13
|
const validatePhoneNumber = (baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { O as TaskTypes, bp as remediationPayoutApiKeyMapping, bq as remediationBusinessDetailsApiKeyMapping, br as remediationIndividualApiKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { O as TaskTypes, bp as remediationPayoutApiKeyMapping, bq as remediationBusinessDetailsApiKeyMapping, br as remediationIndividualApiKeyMapping } from "./StoreProvider-QkSyNCXW.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 = {
|