@adyen/kyc-components 3.88.2 → 3.88.4
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-CJTqHB8U.js → AcceptTermsOfServiceComponent-BAb9G8LQ.js} +15 -15
- package/dist/{Accordion-3F88MHQn.js → Accordion-DgbCk3D1.js} +1 -1
- package/dist/{AccountSetupRejected-DK4f4zqh.js → AccountSetupRejected-CT5DjwO1.js} +3 -3
- package/dist/{ActionBar-DCnZaoPA.js → ActionBar-DuMv9h_7.js} +1 -1
- package/dist/{Address-DGiNjNxD.js → Address-5VahHPgh.js} +7 -7
- package/dist/{Alert-BVe5R_mx.js → Alert-B_1PErWi.js} +2 -2
- package/dist/{Avatar-TVqE2NeD.js → Avatar-BCK_M45_.js} +1 -1
- package/dist/{BusinessDetailsMultiformDropin-D02B8zm-.js → BusinessDetailsMultiformDropin-CBdiJQch.js} +42 -40
- package/dist/{BusinessFinancingComponent-BzCVKcDf.js → BusinessFinancingComponent-D9xO56vq.js} +4 -4
- package/dist/{BusinessFinancingDropin-ypi0Mlcq.js → BusinessFinancingDropin-D6KXO-wh.js} +21 -21
- package/dist/{BusinessFinancingPage-BnBVVOr9.js → BusinessFinancingPage-CZQwyr5E.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-CF0hoes3.js → BusinessTypeSelectionPage-CeH6ZoPW.js} +8 -8
- package/dist/{Card-D4fjbkiO.js → Card-CDXSlCeR.js} +2 -2
- package/dist/{ConstitutionalDocument-godREHyr.js → ConstitutionalDocument-DFmPTbi8.js} +2 -2
- package/dist/{CountryField-B53pbqop.js → CountryField-DpQwGUxg.js} +5 -5
- package/dist/{CreateIndividualComponent-CzcZffBP.js → CreateIndividualComponent-Dg1LjW1d.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-BTQe0nS9.js → CreateTransferInstrumentComponent-ON54m_y8.js} +4 -4
- package/dist/{Currency-B9diaZND.js → Currency-7Kc5zFOC.js} +4 -4
- package/dist/{CustomerSupport--5Ee4xW2.js → CustomerSupport-DsgOQNPL.js} +9 -9
- package/dist/{DebugModal-Dbi5uEVm.js → DebugModal-CeQ0bFKF.js} +7 -7
- package/dist/{DecisionMakerDetailsPage-5iQfEpMV.js → DecisionMakerDetailsPage-Ep6GqydO.js} +5 -5
- package/dist/{DecisionMakers-BuCxTHR5.js → DecisionMakers-Ds-HWkA_.js} +19 -19
- package/dist/{EmbeddedStatus-yiMsP9Cz.js → EmbeddedStatus-CY8Y-nh6.js} +2 -2
- package/dist/{EndStateLayout-C1APtQbn.js → EndStateLayout-DZmsOUNG.js} +1 -1
- package/dist/{EntityAssociation-BG7FZeSl.js → EntityAssociation-B3gH-WHZ.js} +7 -7
- package/dist/{EntityGuidanceStatus-CESezXvs.js → EntityGuidanceStatus-CTVY0RlM.js} +2 -2
- package/dist/{FormFlow-cBndq-cv.js → FormFlow-BCBDja0m.js} +7 -7
- package/dist/{FormNavigation-B_6BO84U.js → FormNavigation-BGDu0c5O.js} +2 -2
- package/dist/{FormWrapper-DuE1mRJT.js → FormWrapper-CgzcFJ9K.js} +9 -9
- package/dist/{IndividualOnfido-BCOeAxP8.js → IndividualOnfido-DQ-L29hf.js} +14 -14
- package/dist/{IndividualOnfidoDropin-Nci-giWw.js → IndividualOnfidoDropin-DlhG9QIM.js} +26 -26
- package/dist/{InputText-DH6-QejB.js → InputText-_Mhzl-6-.js} +2 -2
- package/dist/{Introduction-CUIKPgGT.js → Introduction-BKY3ADFC.js} +3 -3
- package/dist/{JpAddress-Q5R_ihzd.js → JpAddress-D4ijjPHu.js} +7 -7
- package/dist/{LegalRepresentativeDetailsPage-DgFUcb2K.js → LegalRepresentativeDetailsPage-klyHURJD.js} +3 -3
- package/dist/{ListItem-Cpfo23Hm.js → ListItem-B57oymdt.js} +2 -2
- package/dist/{ManageIndividualComponent-C5ukOhUB.js → ManageIndividualComponent-CUtAqIY-.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-CT6rs2r6.js → ManageTermsOfServiceComponent-DkX8uEBI.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-BAnENMWn.js → ManageTransferInstrumentComponent-C7voque_.js} +11 -11
- package/dist/{MaybeModal-Dqxu9dVV.js → MaybeModal-jT-Q0S7c.js} +2 -2
- package/dist/{Modal-BXPxx6Pa.js → Modal-CiSKeFYA.js} +1 -1
- package/dist/{OnboardingDropinComponent--ndkTkxd.js → OnboardingDropinComponent-S1innwIJ.js} +94 -93
- package/dist/{PayoutDetailsDropin-BsgYnFr9.js → PayoutDetailsDropin-DUsWHccb.js} +26 -26
- package/dist/{Review-DY4ueGdS.js → Review-D_FGfKra.js} +6 -6
- package/dist/{RootBusinessDetailsPage-fnUNws8O.js → RootBusinessDetailsPage-DCGfwb1X.js} +4 -4
- package/dist/{RootBusinessLinesPage-QzIH0fMa.js → RootBusinessLinesPage-q1sXRrxR.js} +22 -22
- package/dist/{RootIndividualDetailsPage-D3iZXKUc.js → RootIndividualDetailsPage-BzuERqPj.js} +5 -5
- package/dist/{SignPCIComponent-oXjZzemf.js → SignPCIComponent-BxOes1bw.js} +9 -9
- package/dist/{SingpassSelection-B07OCiCY.js → SingpassSelection-s6lIyKAy.js} +3 -3
- package/dist/{SoleProprietorshipPage-B1O44Pzq.js → SoleProprietorshipPage-JpAWGvng.js} +3 -3
- package/dist/{SourceOfFundsPage-DkIxYPcj.js → SourceOfFundsPage-CB6Z1TR1.js} +24 -24
- package/dist/{StepProgressIndicator-TxkLCESv.js → StepProgressIndicator-rrXJldTp.js} +1 -1
- package/dist/{StoreProvider-C7zyeAOC.js → StoreProvider-DsUWDpx3.js} +4 -4
- package/dist/{Summary-DODrvYHV.js → Summary-c8Mu3sYk.js} +3 -3
- package/dist/{TaxReportingDropin-elvi9nH6.js → TaxReportingDropin-B-TmA6He.js} +15 -15
- package/dist/{TrustDetailsPage-DDp71ffb.js → TrustDetailsPage--MpBiNLK.js} +27 -27
- package/dist/{TrustMemberCompanyPage-CLMnkPQR.js → TrustMemberCompanyPage-NaCeuGiW.js} +5 -5
- package/dist/{TrustMemberIndividualPage-D96pM7-3.js → TrustMemberIndividualPage-Dq_NOEMV.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-BBypanqa.js → TrustMemberRoleAndTypePage-2bg8uqyU.js} +14 -14
- package/dist/{TrustMembersOverview-BvrkFzHZ.js → TrustMembersOverview-Cks-SK9c.js} +12 -12
- package/dist/{UnincorporatedPartnershipIndividualPage-BOkBP8As.js → UnincorporatedPartnershipIndividualPage-BmUt4qEr.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BtwUZ-eD.js → UnincorporatedPartnershipMemberCompanyPage-BzvuVQlZ.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DXkzg5ZK.js → UnincorporatedPartnershipMemberRoleAndTypePage-n8igVxiU.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-CCBPeKpy.js → UnincorporatedPartnershipMembersOverview-BtuW4Ukd.js} +8 -8
- package/dist/{VerificationErrorAlert-DN5vhS87.js → VerificationErrorAlert-CZgIZkLT.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-chk_aFc7.js → ViewVerificationStatusComponent-DW1sC8Lt.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-DHKreSU3.js → debouncedInputEvent-DVR2cByH.js} +1 -1
- package/dist/{documentUtils-CpBsZZUl.js → documentUtils-By6bLWUl.js} +2 -2
- package/dist/{dropinUtils-BsxPK3ZX.js → dropinUtils-CXcvBcl5.js} +3 -3
- package/dist/{fieldConfigurations-B3wp_0yl.js → fieldConfigurations-DimI5Fg7.js} +8 -8
- package/dist/{getFieldsWithExistingData-CFzVrd_-.js → getFieldsWithExistingData-BMBNMAng.js} +1 -1
- package/dist/{getName-Y8zmf8OX.js → getName-ChWtIyxp.js} +1 -1
- package/dist/{hasDataChanged-TWgr8xus.js → hasDataChanged-D7uZD-Ls.js} +1 -1
- package/dist/{iframeWidget-Cb69YXd7.js → iframeWidget-MncsBkAo.js} +3 -3
- package/dist/{localizeDateString-DtF81gOg.js → localizeDateString-CI7AhcTO.js} +1 -1
- package/dist/{mapExistingFile-BCOQKdv5.js → mapExistingFile-CV9s0Pmn.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-Cnp_Lk99.js → mapFinancialReportsToFinancialInformation-CxybSNSl.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-VEA_KYpI.js → mapJpAddressSchemaToAddressLocalizations-BF5DO4ri.js} +2 -2
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-qev7mQxZ.js → mapLegalEntityToIndividualOnfidoSchema-BNQCFT_1.js} +2 -2
- package/dist/{mapTransferInstrumentToPayoutAccount-BRwHRhB3.js → mapTransferInstrumentToPayoutAccount-CGUCLxTs.js} +1 -1
- package/dist/{process-field-configurations-BQXZobYX.js → process-field-configurations-ChnqWYJV.js} +2 -2
- package/dist/{resolveEnvironment-DC1pR913.js → resolveEnvironment-KLEmpFKn.js} +3 -3
- package/dist/{rules-DFxkKJnG.js → rules-w0tgpH3u.js} +3 -3
- package/dist/{types-aney6pcI.js → types-DKLAYLa2.js} +1 -1
- package/dist/{types-BnJI5OcK.js → types-DvUG88NK.js} +1 -1
- package/dist/{types-C46dCa-W.js → types-fk3ZOokN.js} +1 -1
- package/dist/{useAssociatedLegalEntity-38yGKDO8.js → useAssociatedLegalEntity-BEKVNBUN.js} +1 -1
- package/dist/{useCreateLegalEntity-D_GjU1ql.js → useCreateLegalEntity-DTmUPsrt.js} +1 -1
- package/dist/{useDataset-CEcNbC65.js → useDataset-CPyVGq2J.js} +3 -3
- package/dist/{useForm-CPobd5pZ.js → useForm-WXUls8ha.js} +4 -4
- package/dist/{useGlobalData-C-SiGnYJ.js → useGlobalData-KELJIxFR.js} +2 -2
- package/dist/{useMultiForm-DWsjoPUD.js → useMultiForm-BDlwlwpD.js} +3 -3
- package/dist/{useOnboardingStatus-gJspUtV2.js → useOnboardingStatus-DQ01xir3.js} +1 -1
- package/dist/{useScenarios-BCvRP6wz.js → useScenarios-CUBX4kNO.js} +1 -1
- package/dist/{useTermsOfServiceStatus-D6zDAFTr.js → useTermsOfServiceStatus-DSjqJQ_I.js} +1 -1
- package/dist/{useToastContext-DpU0PWSb.js → useToastContext-BCsuWFrO.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-BcKZJdDP.js → useUnincorporatedPartnershipMembers-BljK2Ybi.js} +4 -4
- package/dist/{useUpdateBusinessLines-Bc7_EbbN.js → useUpdateBusinessLines-C-0M7LIn.js} +1 -1
- package/dist/{useUpdateLegalEntity-COqogImW.js → useUpdateLegalEntity-Bwy_eJcd.js} +2 -2
- package/dist/{utils-DAecmmvP.js → utils-B0t86AbI.js} +5 -5
- package/dist/{utils-DOUYJ1e2.js → utils-CpfnBzCU.js} +3 -3
- package/dist/{validate-DZWfpgjI.js → validate-Bj6jkuw-.js} +1 -1
- package/dist/{validate-C9oguq6b.js → validate-XviDGvEG.js} +1 -1
- package/dist/{validationError-Dw-WLC7H.js → validationError-D6qdNyG0.js} +1 -1
- package/package.json +1 -1
package/dist/{process-field-configurations-BQXZobYX.js → process-field-configurations-ChnqWYJV.js}
RENAMED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { T as TrustedFieldsProviders } from "./fieldConfigurations-
|
|
10
|
+
import { T as TrustedFieldsProviders } from "./fieldConfigurations-DimI5Fg7.js";
|
|
11
11
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
12
|
-
import { P as createLogger, bo as businessDetailsApiKeyMapping, b2 as individualApiKeyMapping, aS as remediationHasFileUploadField, bp as dataMissingRemediationsToFieldsMap, ap as keysOf } from "./StoreProvider-
|
|
12
|
+
import { P as createLogger, bo as businessDetailsApiKeyMapping, b2 as individualApiKeyMapping, aS as remediationHasFileUploadField, bp as dataMissingRemediationsToFieldsMap, ap as keysOf } from "./StoreProvider-DsUWDpx3.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] = "74eecc64-91dc-4ce8-b118-e9af7a05f131", e._sentryDebugIdIdentifier = "sentry-dbid-74eecc64-91dc-4ce8-b118-e9af7a05f131");
|
|
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 { aW 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 { aW 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-DsUWDpx3.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.88.
|
|
138
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.88.4" }),
|
|
139
139
|
/* @__PURE__ */ jsx(
|
|
140
140
|
AnalyticsProvider,
|
|
141
141
|
{
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CountryCodes, as as allowedCountriesForNominee, am as DecisionMakerTypes, O as TaskTypes, al 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 { C as CountryCodes, as as allowedCountriesForNominee, am as DecisionMakerTypes, O as TaskTypes, al as Scenarios } from "./StoreProvider-DsUWDpx3.js";
|
|
11
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./Address-5VahHPgh.js";
|
|
12
|
+
import { x as createFormRules, w as getLocalizedIdDocumentTypeOptions } from "./fieldConfigurations-DimI5Fg7.js";
|
|
13
13
|
const REQUIRED = "REQUIRED";
|
|
14
14
|
const OPTIONAL = "OPTIONAL";
|
|
15
15
|
const SOLE_PROP_COUNTRIES = [
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { r as LegalEntityTypes, C as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { r as LegalEntityTypes, C as CountryCodes } from "./StoreProvider-DsUWDpx3.js";
|
|
11
11
|
const trustMemberLegalEntityTypes = [
|
|
12
12
|
LegalEntityTypes.INDIVIDUAL,
|
|
13
13
|
LegalEntityTypes.ORGANIZATION
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { P as createLogger, c as useLegalEntity, w as skipToken } from "./StoreProvider-
|
|
11
|
+
import { P as createLogger, c as useLegalEntity, w as skipToken } from "./StoreProvider-DsUWDpx3.js";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
14
14
|
const matchingAssociation = useMemo(() => {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, a1 as useMutation, k as httpPost } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, a1 as useMutation, k as httpPost } from "./StoreProvider-DsUWDpx3.js";
|
|
11
11
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
12
12
|
return httpPost(
|
|
13
13
|
{
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { b as useId } from "./useToastContext-
|
|
12
|
+
import { b as useId } from "./useToastContext-BCsuWFrO.js";
|
|
13
13
|
import { useState, useEffect } from "preact/hooks";
|
|
14
|
-
import { u as useTranslation, a0 as useAnalyticsContext, G as Typography, B as Button, P as createLogger, V as useI18nContext } from "./StoreProvider-
|
|
15
|
-
import { M as Modal } from "./Modal-
|
|
14
|
+
import { u as useTranslation, a0 as useAnalyticsContext, G as Typography, B as Button, P as createLogger, V as useI18nContext } from "./StoreProvider-DsUWDpx3.js";
|
|
15
|
+
import { M as Modal } from "./Modal-CiSKeFYA.js";
|
|
16
16
|
const structuredList = "adyen-kyc-structured-list";
|
|
17
17
|
const structuredListSectionField = "adyen-kyc-structured-list-section-field";
|
|
18
18
|
const structuredListSectionLabel = "adyen-kyc-structured-list-section-label";
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useEffect, useState, useRef, useMemo, useCallback, useReducer } from "preact/hooks";
|
|
13
|
-
import { u as useTranslation, a0 as useAnalyticsContext, a3 as Icon, z as translateStringOrObject, L as Loader, a4 as noop, G as Typography, P as createLogger, W as isEmpty, $ as entriesOf, aU as doArraysMatch } from "./StoreProvider-
|
|
14
|
-
import { b as useId } from "./useToastContext-
|
|
13
|
+
import { u as useTranslation, a0 as useAnalyticsContext, a3 as Icon, z as translateStringOrObject, L as Loader, a4 as noop, G as Typography, P as createLogger, W as isEmpty, $ as entriesOf, aU as doArraysMatch } from "./StoreProvider-DsUWDpx3.js";
|
|
14
|
+
import { b as useId } from "./useToastContext-BCsuWFrO.js";
|
|
15
15
|
import { computed, signal, useSignal, useSignalEffect } from "@preact/signals";
|
|
16
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
17
|
-
import { C as Checkbox, a as debouncedInputEvent } from "./debouncedInputEvent-
|
|
16
|
+
import { K as KEYBOARD_KEYS } from "./Modal-CiSKeFYA.js";
|
|
17
|
+
import { C as Checkbox, a as debouncedInputEvent } from "./debouncedInputEvent-DVR2cByH.js";
|
|
18
18
|
const ARIA_ERROR_SUFFIX = "-ariaError";
|
|
19
19
|
const MaybeFieldset = ({
|
|
20
20
|
children,
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useContext, useCallback, useMemo } from "preact/hooks";
|
|
11
|
-
import { d as debounce } from "./debouncedInputEvent-
|
|
12
|
-
import { ay as StateContext } from "./StoreProvider-
|
|
11
|
+
import { d as debounce } from "./debouncedInputEvent-DVR2cByH.js";
|
|
12
|
+
import { ay as StateContext } from "./StoreProvider-DsUWDpx3.js";
|
|
13
13
|
function useStateContext() {
|
|
14
14
|
const context = useContext(StateContext);
|
|
15
15
|
return context;
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { aj as objectsDeepEqual, P as createLogger, W as isEmpty } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult } from "./useForm-
|
|
13
|
-
import { e as isNotEmptyValidator } from "./CountryField-
|
|
11
|
+
import { aj as objectsDeepEqual, P as createLogger, W as isEmpty } from "./StoreProvider-DsUWDpx3.js";
|
|
12
|
+
import { V as ValidationResult } from "./useForm-WXUls8ha.js";
|
|
13
|
+
import { e as isNotEmptyValidator } from "./CountryField-DpQwGUxg.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, m as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-DsUWDpx3.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, $ as entriesOf, w as skipToken, al as Scenarios, m as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, $ as entriesOf, w as skipToken, al as Scenarios, m as httpGet } from "./StoreProvider-DsUWDpx3.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, m as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-DsUWDpx3.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, a2 as useQueryClient, b as useApiContext, aV as ToastContext } from "./StoreProvider-
|
|
10
|
+
import { P as createLogger, a2 as useQueryClient, b as useApiContext, aV as ToastContext } from "./StoreProvider-DsUWDpx3.js";
|
|
11
11
|
import { useCallback, useState, 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 { r as LegalEntityTypes, af 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 { r as LegalEntityTypes, af as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-DsUWDpx3.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-BEKVNBUN.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-DpQwGUxg.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-ChWtIyxp.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)
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, a1 as useMutation, k as httpPost } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, a1 as useMutation, k as httpPost } from "./StoreProvider-DsUWDpx3.js";
|
|
11
11
|
const createBusinessLine = async (legalEntityId, baseUrl, data) => {
|
|
12
12
|
return httpPost(
|
|
13
13
|
{
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, a2 as useQueryClient, a1 as useMutation, k as httpPost } from "./StoreProvider-
|
|
11
|
-
import { c as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
10
|
+
import { b as useApiContext, a2 as useQueryClient, a1 as useMutation, k as httpPost } from "./StoreProvider-DsUWDpx3.js";
|
|
11
|
+
import { c as useInvalidateRootLegalEntity } from "./useToastContext-BCsuWFrO.js";
|
|
12
12
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CompanyTypesValues } from "./IndividualOnfido-
|
|
11
|
-
import { g as getLegalEntityCountry, by as getCapabilities, r as LegalEntityTypes, H as hasOwnEntityAssociationOfType, C 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-DQ-L29hf.js";
|
|
11
|
+
import { g as getLegalEntityCountry, by as getCapabilities, r as LegalEntityTypes, H as hasOwnEntityAssociationOfType, C as CountryCodes } from "./StoreProvider-DsUWDpx3.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-S1innwIJ.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./rules-w0tgpH3u.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-DKLAYLa2.js";
|
|
15
15
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
16
16
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
17
17
|
CountryCodes.UnitedStates,
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { r as LegalEntityTypes, G as Typography } from "./StoreProvider-
|
|
12
|
-
import { C as Currencies } from "./types-
|
|
13
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
11
|
+
import { r as LegalEntityTypes, G as Typography } from "./StoreProvider-DsUWDpx3.js";
|
|
12
|
+
import { C as Currencies } from "./types-fk3ZOokN.js";
|
|
13
|
+
import { l as localizeDateString } from "./localizeDateString-CI7AhcTO.js";
|
|
14
14
|
const formatCurrency = (amount, currency, locale) => {
|
|
15
15
|
const { format } = new Intl.NumberFormat(
|
|
16
16
|
locale,
|
|
@@ -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-DsUWDpx3.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, bl as remediationPayoutApiKeyMapping, bm as remediationBusinessDetailsApiKeyMapping, bn as remediationIndividualApiKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { O as TaskTypes, bl as remediationPayoutApiKeyMapping, bm as remediationBusinessDetailsApiKeyMapping, bn as remediationIndividualApiKeyMapping } from "./StoreProvider-DsUWDpx3.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 = {
|