@adyen/kyc-components 3.86.0-beta.0 → 3.86.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-DzMlzUjz.js → AcceptTermsOfServiceComponent-CfKATf4g.js} +14 -14
- package/dist/{Accordion-ZHPTn2Gl.js → Accordion-Dnp7WhUx.js} +1 -1
- package/dist/{AccountSetupRejected-DON-7H74.js → AccountSetupRejected-BSJJfRWV.js} +4 -4
- package/dist/{Address-ChPj2pfR.js → Address-Bl_bd5Lp.js} +7 -7
- package/dist/{Alert-CeZqoFeT.js → Alert-B9R4X_XM.js} +2 -2
- package/dist/{Avatar-zXT7v3KF.js → Avatar-DZ9JX3Cp.js} +1 -1
- package/dist/{BusinessDetailsMultiformDropin-DKiYg8gJ.js → BusinessDetailsMultiformDropin-BjGT2ZQS.js} +29 -29
- package/dist/{BusinessFinancingComponent-BRziB5i-.js → BusinessFinancingComponent-C9ugIBel.js} +4 -4
- package/dist/{BusinessFinancingDropin-CUmKL5bO.js → BusinessFinancingDropin-DGpBmbBn.js} +19 -19
- package/dist/{BusinessFinancingPage-DhhnCxFQ.js → BusinessFinancingPage-zaSDXCpl.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-B_dVM7cC.js → BusinessTypeSelectionPage-BCe-2fB6.js} +8 -8
- package/dist/{Card-Bz2B4J0v.js → Card-TkGAmjC5.js} +2 -2
- package/dist/{ConstitutionalDocument-Dt9O9bVo.js → ConstitutionalDocument-CalFzHjn.js} +2 -2
- package/dist/{CountryField-Bv9P8dRJ.js → CountryField-mxgVAmFp.js} +4 -4
- package/dist/{CreateIndividualComponent-Mw4AiW_M.js → CreateIndividualComponent-DS6uGwYF.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-usUQlcH_.js → CreateTransferInstrumentComponent-CQ00ZVZa.js} +4 -4
- package/dist/{Currency-SzvigNNo.js → Currency-DSYdE9Qs.js} +4 -4
- package/dist/{CustomerSupport-C_KLB51k.js → CustomerSupport-DRLtpWUp.js} +9 -9
- package/dist/{DebugModal-DYolUZQS.js → DebugModal-BI1D0dD9.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-C2BzKLSi.js → DecisionMakerDetailsPage-D3CS4w0h.js} +5 -5
- package/dist/{DecisionMakers-DTYzQWdY.js → DecisionMakers-q__qndMm.js} +16 -16
- package/dist/{EmbeddedStatus-jepajhAF.js → EmbeddedStatus-5OzDMQUR.js} +2 -2
- package/dist/{EndStateLayout-DQm7Xrqx.js → EndStateLayout-BmWri3S5.js} +1 -1
- package/dist/{FormFlow-A9b0QEcM.js → FormFlow-8pfRbKmA.js} +7 -7
- package/dist/{FormNavigation-DEdNWaAc.js → FormNavigation-C2KywHXa.js} +3 -3
- package/dist/{FormWrapper-DjWyqVD2.js → FormWrapper-CZhSGUa3.js} +9 -9
- package/dist/{IndividualOnfido-BMIkKHvJ.js → IndividualOnfido-n3WaW67J.js} +13 -13
- package/dist/{IndividualOnfidoDropin-DBQF0Onh.js → IndividualOnfidoDropin-DZrlWtK6.js} +24 -24
- package/dist/{InputText-BG-TiSNN.js → InputText-BIySwrmu.js} +2 -2
- package/dist/{Introduction-BgoEJd8o.js → Introduction-Bt9gH0G5.js} +3 -3
- package/dist/{JpAddress-Jxj9u4D5.js → JpAddress-bHP50zUD.js} +7 -7
- package/dist/{LegalRepresentativeDetailsPage-BH5AnQhk.js → LegalRepresentativeDetailsPage-D4aN-DTv.js} +3 -3
- package/dist/{ListItem-DIDj0vuO.js → ListItem-CILPfTHI.js} +2 -2
- package/dist/{ManageIndividualComponent-CJKXW8rK.js → ManageIndividualComponent-CbiGSFJ_.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-DNf00D1s.js → ManageTermsOfServiceComponent-rvk5MSmL.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-gVWN389q.js → ManageTransferInstrumentComponent-D2GUV6zp.js} +11 -11
- package/dist/{MaybeModal-D51ALTH6.js → MaybeModal-CZ-qmMqV.js} +2 -2
- package/dist/{Modal-C9aImxis.js → Modal-GSjDUwX-.js} +1 -1
- package/dist/{OnboardingDropinComponent-D-tQ12Sy.js → OnboardingDropinComponent-BGpgGBrU.js} +49 -49
- package/dist/{PayoutDetailsDropin-CxWPXV7j.js → PayoutDetailsDropin-kdkNvTHM.js} +23 -23
- package/dist/{Review-CRhM6n_P.js → Review-CN-S9UCT.js} +7 -7
- package/dist/{RootBusinessDetailsPage-DZrT_e0g.js → RootBusinessDetailsPage-CyQjjBhL.js} +4 -4
- package/dist/{RootBusinessLinesPage-CJUpoVy5.js → RootBusinessLinesPage-BhiDzu7x.js} +19 -19
- package/dist/{RootIndividualDetailsPage-pqVuzOoJ.js → RootIndividualDetailsPage-BsagBZYZ.js} +5 -5
- package/dist/{SignPCIComponent-BNbx3OzX.js → SignPCIComponent-o50WXRbZ.js} +9 -9
- package/dist/{SingpassSelection-BAa3S705.js → SingpassSelection-L1vBg267.js} +3 -3
- package/dist/{SoleProprietorshipPage-Bhw3GBKP.js → SoleProprietorshipPage-Cz21B5bv.js} +3 -3
- package/dist/{SourceOfFundsPage-CJXpHSgo.js → SourceOfFundsPage-OPzX7pfM.js} +23 -23
- package/dist/{StepProgressIndicator-Dncrs7ra.js → StepProgressIndicator-C26xG3ak.js} +1 -1
- package/dist/{StoreProvider-CWnZNw9D.js → StoreProvider-Cvqvt7fn.js} +4 -4
- package/dist/{TaskItemStatus-D3ri_-L2.js → TaskItemStatus-BAtPrryh.js} +2 -2
- package/dist/{TaxReportingDropin-Du7KU--L.js → TaxReportingDropin-9nQHRCS4.js} +14 -14
- package/dist/{TrustDetailsPage-SGmHwgzj.js → TrustDetailsPage-Bx_Pm5Sl.js} +22 -22
- package/dist/{TrustMemberCompanyPage-BkQ9q4_T.js → TrustMemberCompanyPage-BoxMy_a_.js} +4 -4
- package/dist/{TrustMemberIndividualPage-CIr73hS-.js → TrustMemberIndividualPage-D6n7VhnN.js} +3 -3
- package/dist/{UnincorporatedPartnershipIndividualPage-DQxHTyUp.js → UnincorporatedPartnershipIndividualPage-ZQG0A9HG.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DOWqNUHn.js → UnincorporatedPartnershipMemberCompanyPage-D9n1kJdM.js} +4 -4
- package/dist/{VerificationErrorAlert-DDsMxj76.js → VerificationErrorAlert-D18WmRyf.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-Hqp0gnec.js → ViewVerificationStatusComponent-Fc0L-JN4.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-B3Lwtvx_.js → debouncedInputEvent-BDf19z5H.js} +1 -1
- package/dist/{documentUtils-C2iCagu9.js → documentUtils-DahfSV2D.js} +2 -2
- package/dist/{dropinUtils-L9qJuAw0.js → dropinUtils-DFscjCzE.js} +3 -3
- package/dist/{fieldConfigurations-DVV23oeM.js → fieldConfigurations-BCj1wotL.js} +7 -7
- package/dist/{getFieldsWithExistingData-C6JBh3D6.js → getFieldsWithExistingData-C_5HXg3J.js} +1 -1
- package/dist/{getName-k5oRc0oZ.js → getName-B1o2b2LX.js} +1 -1
- package/dist/{hasDataChanged-CogwJI1I.js → hasDataChanged-Bn31Z0Rf.js} +1 -1
- package/dist/{iframeWidget-D2CKFlJk.js → iframeWidget-DtoLjCYK.js} +3 -3
- package/dist/{localizeDateString-ZCoTLjs1.js → localizeDateString-4aQPK6sB.js} +1 -1
- package/dist/{mapExistingFile-txzqej6F.js → mapExistingFile-lDnF81cv.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-DoTIj0Q-.js → mapFinancialReportsToFinancialInformation-5skum6Qk.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-pPCQCgRx.js → mapJpAddressSchemaToAddressLocalizations-iYMAONXA.js} +2 -2
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-B8NxtO2j.js → mapLegalEntityToIndividualOnfidoSchema-CZ8Op1Il.js} +2 -2
- package/dist/{mapTransferInstrumentToPayoutAccount-D9lyD7nx.js → mapTransferInstrumentToPayoutAccount-l-kGyc4S.js} +1 -1
- package/dist/{process-field-configurations-D2EUZow3.js → process-field-configurations-Dt6THVwE.js} +2 -2
- package/dist/{resolveEnvironment-CU4TOfg6.js → resolveEnvironment-9sxvxhUS.js} +3 -3
- package/dist/{rules-LaFMJfnA.js → rules-BjmEJdfD.js} +3 -3
- package/dist/{trackNavigation-gyYoCNvj.js → trackNavigation-DYYVv6_y.js} +3 -3
- package/dist/{types-C1FJZQd1.js → types-BQTi6XU4.js} +1 -1
- package/dist/{types-D0aacEF5.js → types-Db4qB5S5.js} +1 -1
- package/dist/{useAssociatedLegalEntity-CuTN8T5x.js → useAssociatedLegalEntity-D9WaVhuE.js} +1 -1
- package/dist/{useDataset-C4vcroxo.js → useDataset-CKGFlO8U.js} +2 -2
- package/dist/{useMultiForm-GpoMvhwU.js → useMultiForm-DfGnG4oT.js} +3 -3
- package/dist/{useOnboardingStatus-Cifcsbcr.js → useOnboardingStatus-CIPOAtmO.js} +1 -1
- package/dist/{useScenarios-AyvycExm.js → useScenarios-CpiyRA2D.js} +1 -1
- package/dist/{useTermsOfServiceStatus-yhwwFpfh.js → useTermsOfServiceStatus-DYF8KAVC.js} +1 -1
- package/dist/{useToastContext-CCxuinr_.js → useToastContext-lvmkWAhW.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-D_N_aPNq.js → useUnincorporatedPartnershipMembers-BVLE8Ovp.js} +5 -5
- package/dist/{utils-U0nEMoML.js → utils-CgVxixWT.js} +5 -5
- package/dist/{validate-BRRbVwma.js → validate-DusGGHsF.js} +1 -1
- package/dist/{validate-Bqbj3vVS.js → validate-g4LgLk_u.js} +1 -1
- package/dist/{validationError-DhRqgFgA.js → validationError-C0UYDiYL.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-mxgVAmFp.js";
|
|
12
|
+
import { G as isEmpty } from "./IndividualOnfido-n3WaW67J.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-Cvqvt7fn.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-n3WaW67J.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-Cvqvt7fn.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-D2EUZow3.js → process-field-configurations-Dt6THVwE.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-BCj1wotL.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-Cvqvt7fn.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] = "caa10a3f-ff5c-4475-ac55-e918897c4c44", e._sentryDebugIdIdentifier = "sentry-dbid-caa10a3f-ff5c-4475-ac55-e918897c4c44");
|
|
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-Cvqvt7fn.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.0
|
|
138
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.86.0" }),
|
|
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-Cvqvt7fn.js";
|
|
11
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./Address-Bl_bd5Lp.js";
|
|
12
|
+
import { x as createFormRules, w as getLocalizedIdDocumentTypeOptions } from "./fieldConfigurations-BCj1wotL.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-Cvqvt7fn.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-GSjDUwX-.js";
|
|
16
|
+
import { C as Checkbox, a as debouncedInputEvent } from "./debouncedInputEvent-BDf19z5H.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-Cvqvt7fn.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-Cvqvt7fn.js";
|
|
14
|
+
import { M as Modal } from "./Modal-GSjDUwX-.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-Cvqvt7fn.js";
|
|
12
|
+
import { V as ValidationResult } from "./trackNavigation-DYYVv6_y.js";
|
|
13
|
+
import { k as isNotEmptyValidator } from "./CountryField-mxgVAmFp.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-Cvqvt7fn.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-Cvqvt7fn.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-Cvqvt7fn.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-Cvqvt7fn.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-BDf19z5H.js";
|
|
12
|
+
import { aE as StateContext, z as LegalEntityTypes, ag as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-Cvqvt7fn.js";
|
|
13
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-D9WaVhuE.js";
|
|
14
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-mxgVAmFp.js";
|
|
15
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-B1o2b2LX.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-n3WaW67J.js";
|
|
11
|
+
import { g as getLegalEntityCountry, bB as getCapabilities, z as LegalEntityTypes, H as hasOwnEntityAssociationOfType, V as CountryCodes } from "./StoreProvider-Cvqvt7fn.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-BGpgGBrU.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./rules-BjmEJdfD.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-BQTi6XU4.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-Cvqvt7fn.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-Cvqvt7fn.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 = {
|