@adyen/kyc-components 3.72.3 → 3.72.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-SAiSPLdE.js → AcceptTermsOfServiceComponent-DHkK0S6k.js} +1 -1
- package/dist/{AccountSetupRejected-BqabDJzL.js → AccountSetupRejected-M0eVeA7G.js} +2 -2
- package/dist/{BusinessDetailsDropin-BoVa-RH2.js → BusinessDetailsDropin-B9uPe28F.js} +4 -4
- package/dist/{BusinessFinancingPage-D4zMxgR1.js → BusinessFinancingPage-DXJOEtf6.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-BUadnG0_.js → BusinessTypeSelectionPage-DnC4iBWX.js} +3 -3
- package/dist/{CXEL7IU7-Bgj2UfZA.js → CXEL7IU7-CvXEJiqY.js} +2 -2
- package/dist/{CreateIndividualComponent-PxjPdExW.js → CreateIndividualComponent-sONOk9nw.js} +5 -5
- package/dist/{CustomerSupport-CRjX4qEp.js → CustomerSupport-B7cVQRXG.js} +2 -2
- package/dist/{DebugModal-D8vH2Hn9.js → DebugModal-DYMeTDAV.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-Cuhpy8JA.js → DecisionMakerDetailsPage-COEpFtfs.js} +2 -2
- package/dist/{DecisionMakers-tTgUZJiC.js → DecisionMakers-BJQxLnxR.js} +3 -3
- package/dist/{EmbedShell-2IV44X8s.js → EmbedShell-B_71Sq3f.js} +3 -3
- package/dist/{EventEmitter-DwUobX2u.js → EventEmitter-CzgfRWAv.js} +7 -7
- package/dist/{HASRA6WW-YrPx6A-M.js → HASRA6WW-DIKU4smF.js} +1 -1
- package/dist/{I3HPI4QX-IVp95jyf.js → I3HPI4QX-DA5fm-8_.js} +2 -2
- package/dist/{Introduction-BiePsMUj.js → Introduction-C4GxNaag.js} +3 -3
- package/dist/{LegalRepresentativeDetailsPage-MYfvFusH.js → LegalRepresentativeDetailsPage-U0bxN6y_.js} +2 -2
- package/dist/{PayoutDetailsPage-D6vjGmlH.js → PayoutDetailsPage-C5Z3ufab.js} +3 -3
- package/dist/{Review-DFa5fDYz.js → Review-C1Z1HnSf.js} +2 -2
- package/dist/{RootBusinessDetailsPage-CKSS5oZS.js → RootBusinessDetailsPage-D2WdGQb1.js} +3 -3
- package/dist/{RootIndividualDetailsPage-FRQMLo5h.js → RootIndividualDetailsPage-Bd2NdUyL.js} +2 -2
- package/dist/{SingpassSelection-CkraeFml.js → SingpassSelection-CossYnOE.js} +1 -1
- package/dist/{SoleProprietorshipPage-UhMZ8ur0.js → SoleProprietorshipPage-JyydDMFE.js} +3 -3
- package/dist/{SourceOfFunds.module-DetISt7Q.js → SourceOfFunds.module-PmQYsn_w.js} +1 -1
- package/dist/{SourceOfFundsPage-DaZ88QL5.js → SourceOfFundsPage-AljyEVxa.js} +4 -4
- package/dist/{TaskItemStatus-B-AP5oNC.js → TaskItemStatus-BAB2JvM0.js} +1 -1
- package/dist/{TaxReportingDropin-BjnqVBnm.js → TaxReportingDropin-B0UcXDOr.js} +4 -4
- package/dist/{TrustDetailsPage-BZYuafU3.js → TrustDetailsPage-DWDIpVr2.js} +3 -3
- package/dist/{TrustMemberCompanyPage-qTYTS4ML.js → TrustMemberCompanyPage-CKdqeimg.js} +4 -4
- package/dist/{TrustMemberIndividualPage-BBy0WMbW.js → TrustMemberIndividualPage-CQQ7uc3H.js} +2 -2
- package/dist/{UnincorporatedPartnershipIndividualPage-B48VW3EQ.js → UnincorporatedPartnershipIndividualPage-CogMd4F3.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DftLD7wq.js → UnincorporatedPartnershipMemberCompanyPage-C23EVNu9.js} +3 -3
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +2 -2
- package/dist/{core-DvqGPVQ3.js → core-5FdDgGAA.js} +28 -28
- package/dist/{css-mp9MeAMg.js → css-CJ8Vkl-J.js} +1 -1
- package/dist/individual.js +4 -4
- package/dist/{json-Db5qWgyY.js → json-DHQJSjrH.js} +1 -1
- package/dist/{plaintext-Bn91upAv.js → plaintext-BF-9vQ8Q.js} +1 -1
- package/dist/terms-of-service.js +4 -4
- package/dist/{utils-CuPHc62p.js → utils-B5iKTXQt.js} +1 -1
- package/dist/{utils-PSaWbztu.js → utils-B7AWyYSS.js} +3 -3
- package/dist/{yaml-CtHaPHm4.js → yaml-BsCaKulN.js} +1 -1
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-SAiSPLdE.js → AcceptTermsOfServiceComponent-DHkK0S6k.js}
RENAMED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useState, useEffect, useCallback } from "preact/hooks";
|
|
12
|
-
import { m as useApiContext, Q as useInvalidateRootLegalEntity, a5 as useMutation, a4 as httpPost, p as useQuery, q as httpGet, a6 as skipToken, a1 as Icon, u as useI18nContext, T as Typography, dn as globalStyles, bu as AlertIcon, dc as KEYBOARD_KEYS, a as useAnalyticsContext, aJ as noop, au as createLogger, W as useToastContext, b as useExperimentsContext, D as useForm, aq as Alert, B as Button, l as localizeDateString, L as LoaderWrapper, F as Field, t as Select, bq as Checkbox, bd as ActionBar, M as MaybeModal, c as ModalContent, f as ModalFooter, S as Spacer, i as LegalEntityType, aR as getOwnSignatories, az as doesLegalEntityRequiresLegalRepresentative, ay as getLegalRepresentative, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, ah as TaskTypes } from "./EventEmitter-
|
|
12
|
+
import { m as useApiContext, Q as useInvalidateRootLegalEntity, a5 as useMutation, a4 as httpPost, p as useQuery, q as httpGet, a6 as skipToken, a1 as Icon, u as useI18nContext, T as Typography, dn as globalStyles, bu as AlertIcon, dc as KEYBOARD_KEYS, a as useAnalyticsContext, aJ as noop, au as createLogger, W as useToastContext, b as useExperimentsContext, D as useForm, aq as Alert, B as Button, l as localizeDateString, L as LoaderWrapper, F as Field, t as Select, bq as Checkbox, bd as ActionBar, M as MaybeModal, c as ModalContent, f as ModalFooter, S as Spacer, i as LegalEntityType, aR as getOwnSignatories, az as doesLegalEntityRequiresLegalRepresentative, ay as getLegalRepresentative, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, ah as TaskTypes } from "./EventEmitter-CzgfRWAv.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
import { defineSlots } from "named-slots";
|
|
15
15
|
const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useI18nContext, bu as AlertIcon, b2 as FormHeader } from "./EventEmitter-
|
|
12
|
-
import { D as DropinLayout } from "./core-
|
|
11
|
+
import { u as useI18nContext, bu as AlertIcon, b2 as FormHeader } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { D as DropinLayout } from "./core-5FdDgGAA.js";
|
|
13
13
|
function AccountSetupRejected() {
|
|
14
14
|
const { i18n } = useI18nContext();
|
|
15
15
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect, useCallback, useRef, useMemo } from "preact/hooks";
|
|
12
|
-
import { m as useApiContext, a5 as useMutation, a4 as httpPost, u as useI18nContext, dk as MemoizedDocumentUpload, B as Button, ak as Modal, c as ModalContent, T as Typography, ad as CountryCodes, aE as CompanyTypesValue, J as useGlobalData, du as getForms, ah as TaskTypes, dv as BasicInformation, $ as getFormProps, dw as CompanyStructure, dx as AdditionalInformation, dy as MemoizedConstitutionalDocument, i as LegalEntityType, dz as FinancialInformation, dA as StateCodesUS, o as objectsDeepEqual, au as createLogger, e as entriesOf, bZ as businessDetailsComponentsKeyMapping, dB as solePropBusinessDetailsKeyMapping, dC as operationalAddressIsSameIds, dD as COUNTRIES_USING_COMPANY_SEARCH, dE as FIELDS_NEEDED_FOR_COMPANY_SEARCH, ab as keysOf, bs as isUndefinedOrNull, ac as summaryItem, dF as solePropBusinessDetailsApiKeyMapping, bL as businessDetailsApiKeyMapping, d6 as isEmpty, dG as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, V as datasetUtilities, cE as mapAddressLabels, dH as companyTypeMetadata, k as isEmpty$1, cD as filterOutUnwantedAssociationsIfRootLE, dI as documentFormsIds, aZ as resolveFieldMetadata, dJ as defaultFieldMetadata, dK as inferCompanyRegistrationNumberType, dL as getCompanyRegistrationNumberOptions, dM as defaultFieldConfig, cl as defaultFieldMetadata$1, dN as countryToTaxInfoTypeMap, cm as defaultFieldConfig$1, dO as getKeyForField, h as drop, aX as getOwnEntityAssociations, cL as doArraysMatch, aF as useAccountHolder, W as useToastContext, a as useAnalyticsContext, b as useExperimentsContext, Y as useSettingsContext, X as useStateContext, Z as SettingNames, dP as setIsBankAccountRequestedForOrganization, _ as getAssociatedLeAnalyticsPayload, aj as getCapabilityProblems, dQ as rules, dR as solePropBusinessDetailsDocumentMapping, dS as businessDetailsDocumentMapping } from "./EventEmitter-
|
|
13
|
-
import { f as formatObject, n as getDocument, o as mapExistingFile, q as getPageName, r as createDocumentRequest, v as augmentWithCountryConfigs, j as composePerScenarioFormConfigurations, g as getProp, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, D as getFileExtention, w as documentApiUtils, b as useScenarioConfiguration, c as getPropsFromConfigurations, O as getFieldsWithExistingData, d as getRequiredForms, e as addValidityToForms, u as useCreateLegalEntity, a as useUpdateLegalEntity, h as useFormComposer, t as trackNavigation, E as Confirm } from "./CreateIndividualComponent-
|
|
14
|
-
import { m as mapFinancialReportsToFinancialInformation, e as mapFinancialInformationToFinancialReport, h as hasDataChanged, F as FormWrapper } from "./core-
|
|
15
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
12
|
+
import { m as useApiContext, a5 as useMutation, a4 as httpPost, u as useI18nContext, dk as MemoizedDocumentUpload, B as Button, ak as Modal, c as ModalContent, T as Typography, ad as CountryCodes, aE as CompanyTypesValue, J as useGlobalData, du as getForms, ah as TaskTypes, dv as BasicInformation, $ as getFormProps, dw as CompanyStructure, dx as AdditionalInformation, dy as MemoizedConstitutionalDocument, i as LegalEntityType, dz as FinancialInformation, dA as StateCodesUS, o as objectsDeepEqual, au as createLogger, e as entriesOf, bZ as businessDetailsComponentsKeyMapping, dB as solePropBusinessDetailsKeyMapping, dC as operationalAddressIsSameIds, dD as COUNTRIES_USING_COMPANY_SEARCH, dE as FIELDS_NEEDED_FOR_COMPANY_SEARCH, ab as keysOf, bs as isUndefinedOrNull, ac as summaryItem, dF as solePropBusinessDetailsApiKeyMapping, bL as businessDetailsApiKeyMapping, d6 as isEmpty, dG as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, V as datasetUtilities, cE as mapAddressLabels, dH as companyTypeMetadata, k as isEmpty$1, cD as filterOutUnwantedAssociationsIfRootLE, dI as documentFormsIds, aZ as resolveFieldMetadata, dJ as defaultFieldMetadata, dK as inferCompanyRegistrationNumberType, dL as getCompanyRegistrationNumberOptions, dM as defaultFieldConfig, cl as defaultFieldMetadata$1, dN as countryToTaxInfoTypeMap, cm as defaultFieldConfig$1, dO as getKeyForField, h as drop, aX as getOwnEntityAssociations, cL as doArraysMatch, aF as useAccountHolder, W as useToastContext, a as useAnalyticsContext, b as useExperimentsContext, Y as useSettingsContext, X as useStateContext, Z as SettingNames, dP as setIsBankAccountRequestedForOrganization, _ as getAssociatedLeAnalyticsPayload, aj as getCapabilityProblems, dQ as rules, dR as solePropBusinessDetailsDocumentMapping, dS as businessDetailsDocumentMapping } from "./EventEmitter-CzgfRWAv.js";
|
|
13
|
+
import { f as formatObject, n as getDocument, o as mapExistingFile, q as getPageName, r as createDocumentRequest, v as augmentWithCountryConfigs, j as composePerScenarioFormConfigurations, g as getProp, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, D as getFileExtention, w as documentApiUtils, b as useScenarioConfiguration, c as getPropsFromConfigurations, O as getFieldsWithExistingData, d as getRequiredForms, e as addValidityToForms, u as useCreateLegalEntity, a as useUpdateLegalEntity, h as useFormComposer, t as trackNavigation, E as Confirm } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
14
|
+
import { m as mapFinancialReportsToFinancialInformation, e as mapFinancialInformationToFinancialReport, h as hasDataChanged, F as FormWrapper } from "./core-5FdDgGAA.js";
|
|
15
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-B7AWyYSS.js";
|
|
16
16
|
import cx from "classnames";
|
|
17
17
|
import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
18
18
|
const clearCompanyData = async (legalEntityId, baseUrl) => {
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useI18nContext, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, a3 as getLegalEntityCountry } from "./EventEmitter-
|
|
12
|
-
import { B as BusinessFinancingDropin } from "./core-
|
|
11
|
+
import { u as useI18nContext, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, a3 as getLegalEntityCountry } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./core-5FdDgGAA.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-BUadnG0_.js → BusinessTypeSelectionPage-DnC4iBWX.js}
RENAMED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useI18nContext, a as useAnalyticsContext, W as useToastContext, b as useExperimentsContext, aF as useAccountHolder, ds as getCapabilities, a3 as getLegalEntityCountry, i as LegalEntityType, D as useForm, L as LoaderWrapper, T as Typography, F as Field, dt as EntityTypeRadioGroupCard, b5 as RadioGroupCard, B as Button, S as Spacer, a1 as Icon, aB as hasSolePropInLegalEntity, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader } from "./EventEmitter-
|
|
11
|
+
import { u as useI18nContext, a as useAnalyticsContext, W as useToastContext, b as useExperimentsContext, aF as useAccountHolder, ds as getCapabilities, a3 as getLegalEntityCountry, i as LegalEntityType, D as useForm, L as LoaderWrapper, T as Typography, F as Field, dt as EntityTypeRadioGroupCard, b5 as RadioGroupCard, B as Button, S as Spacer, a1 as Icon, aB as hasSolePropInLegalEntity, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader } from "./EventEmitter-CzgfRWAv.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./CreateIndividualComponent-
|
|
14
|
-
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
14
|
+
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-B7AWyYSS.js";
|
|
15
15
|
const businessTypeExamples = /* @__PURE__ */ Object.assign({ "../localized/legalEntityTypeExamples/AT.json": () => import("./AT-EpV7jN58.js"), "../localized/legalEntityTypeExamples/AU.json": () => import("./AU-pBsEvEUy.js"), "../localized/legalEntityTypeExamples/BE.json": () => import("./BE-CU5o9cmc.js"), "../localized/legalEntityTypeExamples/BR.json": () => import("./BR-ORoHRwTk.js"), "../localized/legalEntityTypeExamples/CA.json": () => import("./CA-VXNq-m6m.js"), "../localized/legalEntityTypeExamples/CH.json": () => import("./CH-B_-afpD_.js"), "../localized/legalEntityTypeExamples/CZ.json": () => import("./CZ-CTw_bQIu.js"), "../localized/legalEntityTypeExamples/DE.json": () => import("./DE-D_jIDxOH.js"), "../localized/legalEntityTypeExamples/DK.json": () => import("./DK-dBzrfgpQ.js"), "../localized/legalEntityTypeExamples/ES.json": () => import("./ES-DYbZmFcJ.js"), "../localized/legalEntityTypeExamples/FI.json": () => import("./FI-C9nRvop7.js"), "../localized/legalEntityTypeExamples/FR.json": () => import("./FR-BycGQO4W.js"), "../localized/legalEntityTypeExamples/GB.json": () => import("./GB-DFyzo5sN.js"), "../localized/legalEntityTypeExamples/HK.json": () => import("./HK-WqZ5UBEF.js"), "../localized/legalEntityTypeExamples/HR.json": () => import("./HR-CRa19tH1.js"), "../localized/legalEntityTypeExamples/HU.json": () => import("./HU-D5NCweWf.js"), "../localized/legalEntityTypeExamples/IE.json": () => import("./IE-rhATS57q.js"), "../localized/legalEntityTypeExamples/IT.json": () => import("./IT-wD7dHdYD.js"), "../localized/legalEntityTypeExamples/LT.json": () => import("./LT-0F72uCyI.js"), "../localized/legalEntityTypeExamples/NL.json": () => import("./NL-q2U2l276.js"), "../localized/legalEntityTypeExamples/NO.json": () => import("./NO-CX12Zsf_.js"), "../localized/legalEntityTypeExamples/PL.json": () => import("./PL-CwCXF3Yu.js"), "../localized/legalEntityTypeExamples/PT.json": () => import("./PT-Dei5v1nD.js"), "../localized/legalEntityTypeExamples/RO.json": () => import("./RO-Dxk08mOu.js"), "../localized/legalEntityTypeExamples/SE.json": () => import("./SE-AP3gLiyy.js"), "../localized/legalEntityTypeExamples/SG.json": () => import("./SG-DMcOb17i.js"), "../localized/legalEntityTypeExamples/SI.json": () => import("./SI-BXe-yndm.js"), "../localized/legalEntityTypeExamples/SK.json": () => import("./SK-DwdgoGnD.js"), "../localized/legalEntityTypeExamples/US.json": () => import("./US-DHxLSqeC.js") });
|
|
16
16
|
const getBusinessTypeExamplesForCountry = async (country) => {
|
|
17
17
|
const importForCountry = businessTypeExamples[`../localized/legalEntityTypeExamples/${country}.json`];
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-
|
|
11
|
-
import { e8 as getPreferredColorScheme, e9 as createMemo, ea as createComponent } from "./EventEmitter-
|
|
10
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-DIKU4smF.js";
|
|
11
|
+
import { e8 as getPreferredColorScheme, e9 as createMemo, ea as createComponent } from "./EventEmitter-CzgfRWAv.js";
|
|
12
12
|
var DevtoolsPanelComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
package/dist/{CreateIndividualComponent-PxjPdExW.js → CreateIndividualComponent-sONOk9nw.js}
RENAMED
|
@@ -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] = "ee679854-23b9-4fdb-ac93-473ace569bdb", e._sentryDebugIdIdentifier = "sentry-dbid-ee679854-23b9-4fdb-ac93-473ace569bdb");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { m as useApiContext, a5 as useMutation, a4 as httpPost, Q as useInvalidateRootLegalEntity, a7 as useQueryClient, au as createLogger, bo as TrustedFieldsProvider, bL as businessDetailsApiKeyMapping, bM as individualApiKeyMapping, ab as keysOf, bN as remediationHasFileUploadField, bO as dataMissingRemediationsToFieldsMap, a as useAnalyticsContext, s as summaryStep, p as useQuery, q as httpGet, ad as CountryCodes, aO as useSignalValue, bP as AdyenKycSdkError, bQ as payoutAccountFormat, bR as FormRouterContext, ah as TaskTypes, bS as remediationPayoutApiKeyMapping, bT as remediationBusinessDetailsApiKeyMapping, bU as remediationIndividualApiKeyMapping, bV as LOW_RISK_COUNTRIES, bW as EEA_Countries, h as drop, a2 as useLegalEntity, ao as ROOT_LE, aj as getCapabilityProblems, a3 as getLegalEntityCountry, bX as FormContext, b as useExperimentsContext, aA as isPartOfTrustFromLegalEntity, i as LegalEntityType, aB as hasSolePropInLegalEntity, bY as individualComponentsKeyMapping, bZ as businessDetailsComponentsKeyMapping, o as objectsDeepEqual, b_ as ValidationResult, b$ as isNotEmptyValidator, k as isEmpty, c0 as hasText, c1 as matchesRegex, c2 as trimValWithOneSpace, c3 as NO_ALPHABET_REGEX, c4 as EMOJI_REGEX, c5 as hasRepeatedCharacters, c6 as isInvalidName, c7 as INDIVIDUAL_VALID_CHAR_REGEX, c8 as getFormattingRegEx, c9 as SPECIAL_CHARS, u as useI18nContext, ak as Modal, T as Typography, B as Button, M as MaybeModal, L as LoaderWrapper, g as Summary, at as IconButton, ap as httpDelete, ca as getLocalizedIdDocumentTypeOptions, cb as isNewlyUploadedFile, cc as getNestedPropertyKeys, j as cloneObject, cd as isValueObscured, ce as isTruthyValidator, cf as emailPattern, aZ as resolveFieldMetadata, cg as getSSNType, ch as defaultFieldMetadata, ci as defaultFieldConfig, cj as defaultFieldMetadata$1, ck as fieldConfig, cl as defaultFieldMetadata$2, cm as defaultFieldConfig$1, cn as getAgeToday, co as euCountries, cp as DecisionMakerType, a8 as createFormRules, cq as allowedCountriesForNominee, K as getAddressSchemaForCountry, N as COUNTRIES_WITH_STATES_DATASET, cr as Scenarios, r as reverseMapping, cs as getNomineeFromAssociation, aF as useAccountHolder, W as useToastContext, Y as useSettingsContext, ct as useProviderStatus, _ as getAssociatedLeAnalyticsPayload, cu as addressValidators, cv as getAsyncIdNumberValidationRule, cw as getAsyncPhoneValidationRules, cx as addressFormatters, cy as setHasMotionCaptureScenario, cz as individualForms, cA as showIndividualMotionCapture, cB as getAllowedDecisionMakerRoles, V as datasetUtilities, cC as Individual, cD as filterOutUnwantedAssociationsIfRootLE, cE as mapAddressLabels, cF as individualDocumentForms, l as localizeDateString, cG as individualDocumentMapping, cH as individualObscuredFields, aX as getOwnEntityAssociations, cI as hasNomineesChanged, cJ as attachNomineeToRole, cK as idVerificationProviderId, cL as doArraysMatch, cM as getAvailableDecisionMakerRoleTypes, F as Field, t as Select, cN as licenseCardNumberDefaultMetadata, cO as licenseCardNumberDefaultConfig, aY as mergeFieldMetadataIntoProps, H as createFormUtils, cP as useFormContext, b0 as getFieldProps, cQ as idNumberFields, cR as IdentityNumber, cS as additionallIdNumberOptions, cT as MaskedInput, y as InputDate, cU as formatDateObj, cV as DriversLicense, cW as addressFields, bt as useAllowedCountries, cX as getDefaultTaxIdNumberType, b2 as FormHeader, G as ErrorPanel, b8 as CountryField, O as Address, P as getAddressSchemaLabelsByCountry, v as Link, cY as IndividualIdNumberTypeSelector, cZ as TaxInformationField, c_ as PatriotActDisclosure, b1 as nameFields, c$ as decisionMakerRoleFields, d0 as nomineeFields, d1 as contactDetailFields, aq as Alert, bj as ContextGuidance, d2 as DecisionMakerRole, d3 as NomineeDecisionMakerRole, b7 as Name, I as InputText, d4 as ContactDetails, d5 as Svg, d6 as isEmpty$1, d7 as RadioWithLabel, d8 as pick, d9 as IdVerification, S as Spacer, av as useDataset, aw as datasetIdentifier, a0 as Loader, da as IdDocumentManualUpload, db as useId, a1 as Icon, dc as KEYBOARD_KEYS, aJ as noop, dd as idDocumentUploadFields, de as useFormRouterContext, $ as getFormProps, df as useCapabilities, dg as setShowIndividualMotionCapture, dh as shouldShowMotionCapture, di as hasMotionCaptureScenario, dj as MemoizedProofOfRelationship, dk as MemoizedDocumentUpload, dl as MemoizedProofOfResidencyUpload, aG as EntityType } from "./EventEmitter-
|
|
11
|
+
import { m as useApiContext, a5 as useMutation, a4 as httpPost, Q as useInvalidateRootLegalEntity, a7 as useQueryClient, au as createLogger, bo as TrustedFieldsProvider, bL as businessDetailsApiKeyMapping, bM as individualApiKeyMapping, ab as keysOf, bN as remediationHasFileUploadField, bO as dataMissingRemediationsToFieldsMap, a as useAnalyticsContext, s as summaryStep, p as useQuery, q as httpGet, ad as CountryCodes, aO as useSignalValue, bP as AdyenKycSdkError, bQ as payoutAccountFormat, bR as FormRouterContext, ah as TaskTypes, bS as remediationPayoutApiKeyMapping, bT as remediationBusinessDetailsApiKeyMapping, bU as remediationIndividualApiKeyMapping, bV as LOW_RISK_COUNTRIES, bW as EEA_Countries, h as drop, a2 as useLegalEntity, ao as ROOT_LE, aj as getCapabilityProblems, a3 as getLegalEntityCountry, bX as FormContext, b as useExperimentsContext, aA as isPartOfTrustFromLegalEntity, i as LegalEntityType, aB as hasSolePropInLegalEntity, bY as individualComponentsKeyMapping, bZ as businessDetailsComponentsKeyMapping, o as objectsDeepEqual, b_ as ValidationResult, b$ as isNotEmptyValidator, k as isEmpty, c0 as hasText, c1 as matchesRegex, c2 as trimValWithOneSpace, c3 as NO_ALPHABET_REGEX, c4 as EMOJI_REGEX, c5 as hasRepeatedCharacters, c6 as isInvalidName, c7 as INDIVIDUAL_VALID_CHAR_REGEX, c8 as getFormattingRegEx, c9 as SPECIAL_CHARS, u as useI18nContext, ak as Modal, T as Typography, B as Button, M as MaybeModal, L as LoaderWrapper, g as Summary, at as IconButton, ap as httpDelete, ca as getLocalizedIdDocumentTypeOptions, cb as isNewlyUploadedFile, cc as getNestedPropertyKeys, j as cloneObject, cd as isValueObscured, ce as isTruthyValidator, cf as emailPattern, aZ as resolveFieldMetadata, cg as getSSNType, ch as defaultFieldMetadata, ci as defaultFieldConfig, cj as defaultFieldMetadata$1, ck as fieldConfig, cl as defaultFieldMetadata$2, cm as defaultFieldConfig$1, cn as getAgeToday, co as euCountries, cp as DecisionMakerType, a8 as createFormRules, cq as allowedCountriesForNominee, K as getAddressSchemaForCountry, N as COUNTRIES_WITH_STATES_DATASET, cr as Scenarios, r as reverseMapping, cs as getNomineeFromAssociation, aF as useAccountHolder, W as useToastContext, Y as useSettingsContext, ct as useProviderStatus, _ as getAssociatedLeAnalyticsPayload, cu as addressValidators, cv as getAsyncIdNumberValidationRule, cw as getAsyncPhoneValidationRules, cx as addressFormatters, cy as setHasMotionCaptureScenario, cz as individualForms, cA as showIndividualMotionCapture, cB as getAllowedDecisionMakerRoles, V as datasetUtilities, cC as Individual, cD as filterOutUnwantedAssociationsIfRootLE, cE as mapAddressLabels, cF as individualDocumentForms, l as localizeDateString, cG as individualDocumentMapping, cH as individualObscuredFields, aX as getOwnEntityAssociations, cI as hasNomineesChanged, cJ as attachNomineeToRole, cK as idVerificationProviderId, cL as doArraysMatch, cM as getAvailableDecisionMakerRoleTypes, F as Field, t as Select, cN as licenseCardNumberDefaultMetadata, cO as licenseCardNumberDefaultConfig, aY as mergeFieldMetadataIntoProps, H as createFormUtils, cP as useFormContext, b0 as getFieldProps, cQ as idNumberFields, cR as IdentityNumber, cS as additionallIdNumberOptions, cT as MaskedInput, y as InputDate, cU as formatDateObj, cV as DriversLicense, cW as addressFields, bt as useAllowedCountries, cX as getDefaultTaxIdNumberType, b2 as FormHeader, G as ErrorPanel, b8 as CountryField, O as Address, P as getAddressSchemaLabelsByCountry, v as Link, cY as IndividualIdNumberTypeSelector, cZ as TaxInformationField, c_ as PatriotActDisclosure, b1 as nameFields, c$ as decisionMakerRoleFields, d0 as nomineeFields, d1 as contactDetailFields, aq as Alert, bj as ContextGuidance, d2 as DecisionMakerRole, d3 as NomineeDecisionMakerRole, b7 as Name, I as InputText, d4 as ContactDetails, d5 as Svg, d6 as isEmpty$1, d7 as RadioWithLabel, d8 as pick, d9 as IdVerification, S as Spacer, av as useDataset, aw as datasetIdentifier, a0 as Loader, da as IdDocumentManualUpload, db as useId, a1 as Icon, dc as KEYBOARD_KEYS, aJ as noop, dd as idDocumentUploadFields, de as useFormRouterContext, $ as getFormProps, df as useCapabilities, dg as setShowIndividualMotionCapture, dh as shouldShowMotionCapture, di as hasMotionCaptureScenario, dj as MemoizedProofOfRelationship, dk as MemoizedDocumentUpload, dl as MemoizedProofOfResidencyUpload, aG as EntityType } from "./EventEmitter-CzgfRWAv.js";
|
|
12
12
|
import { useState, useEffect, useMemo, useCallback, useReducer, useRef } from "preact/hooks";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
import { l as listToRecord } from "./listToRecord-CO3M1Q74.js";
|
|
@@ -6002,7 +6002,7 @@ const proofOfResidencyFormID = individualOnfidoForms.proofOfResidency.formId;
|
|
|
6002
6002
|
const proofOfNationalIdFormID = individualOnfidoForms.proofOfNationalId.formId;
|
|
6003
6003
|
const proofOfRelationshipFormID = individualOnfidoForms.proofOfRelationship.formId;
|
|
6004
6004
|
function IndividualOnfido(props) {
|
|
6005
|
-
var _a, _b, _c, _d;
|
|
6005
|
+
var _a, _b, _c, _d, _e;
|
|
6006
6006
|
const { i18n } = useI18nContext();
|
|
6007
6007
|
const {
|
|
6008
6008
|
form: { errors, valid, fieldProblems: fieldValidationErrors, handleChangeFor, setFormData }
|
|
@@ -6097,8 +6097,8 @@ function IndividualOnfido(props) {
|
|
|
6097
6097
|
hasMotionScenario: (_b2 = hasMotionCaptureScenario) == null ? void 0 : _b2.value
|
|
6098
6098
|
})
|
|
6099
6099
|
);
|
|
6100
|
-
}, [(_b = data == null ? void 0 : data.basicDetails) == null ? void 0 : _b.role, taskType, capabilities]);
|
|
6101
|
-
const fullName = `${(
|
|
6100
|
+
}, [(_b = data == null ? void 0 : data.basicDetails) == null ? void 0 : _b.role, taskType, capabilities, (_c = hasMotionCaptureScenario) == null ? void 0 : _c.value]);
|
|
6101
|
+
const fullName = `${(_d = data == null ? void 0 : data.basicDetails) == null ? void 0 : _d.firstName} ${(_e = data == null ? void 0 : data.basicDetails) == null ? void 0 : _e.lastName}`;
|
|
6102
6102
|
const handleFieldChange = (formName) => (fieldName, mode) => handleChangeFor(fieldName, formName, mode);
|
|
6103
6103
|
const handleDescriptionLinkClick = () => {
|
|
6104
6104
|
};
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, u as useI18nContext, a as useAnalyticsContext, W as useToastContext, a7 as useQueryClient, aZ as resolveFieldMetadata, cj as defaultFieldMetadata, ck as fieldConfig, cw as getAsyncPhoneValidationRules, b2 as FormHeader, d4 as ContactDetails, bd as ActionBar, au as createLogger } from "./EventEmitter-
|
|
11
|
+
import { a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, u as useI18nContext, a as useAnalyticsContext, W as useToastContext, a7 as useQueryClient, aZ as resolveFieldMetadata, cj as defaultFieldMetadata, ck as fieldConfig, cw as getAsyncPhoneValidationRules, b2 as FormHeader, d4 as ContactDetails, bd as ActionBar, au as createLogger } from "./EventEmitter-CzgfRWAv.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity, I as contactDetailsValidationRules, J as useValidatePhoneNumberImperatively, K as useMultiForm } from "./CreateIndividualComponent-
|
|
13
|
+
import { a as useUpdateLegalEntity, I as contactDetailsValidationRules, J as useValidatePhoneNumberImperatively, K as useMultiForm } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
14
14
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
15
15
|
var _a, _b, _c;
|
|
16
16
|
return {
|
|
@@ -2,16 +2,16 @@
|
|
|
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] = "f59c88a2-bc03-4dc1-9d6e-d609094796e8", e._sentryDebugIdIdentifier = "sentry-dbid-f59c88a2-bc03-4dc1-9d6e-d609094796e8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { B as Button, e as entriesOf, I as InputText, u as useI18nContext, dp as splitTaskIdentifier, b as useExperimentsContext, Y as useSettingsContext, aO as useSignalValue, aP as useGlobalStore, dq as valuesOf, ak as Modal, au as createLogger, a1 as Icon, Z as SettingNames } from "./EventEmitter-
|
|
12
|
+
import { B as Button, e as entriesOf, I as InputText, u as useI18nContext, dp as splitTaskIdentifier, b as useExperimentsContext, Y as useSettingsContext, aO as useSignalValue, aP as useGlobalStore, dq as valuesOf, ak as Modal, au as createLogger, a1 as Icon, Z as SettingNames } from "./EventEmitter-CzgfRWAv.js";
|
|
13
13
|
import { l as listToRecord } from "./listToRecord-CO3M1Q74.js";
|
|
14
|
-
import { T as Tag, a as TaskItemStatus } from "./TaskItemStatus-
|
|
14
|
+
import { T as Tag, a as TaskItemStatus } from "./TaskItemStatus-BAB2JvM0.js";
|
|
15
15
|
var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
|
|
16
16
|
ExperimentNames2["AllowMoreRolesForMainRootTrustee"] = "AllowMoreRolesForMainRootTrustee";
|
|
17
17
|
ExperimentNames2["ShowUnsupportedEntityType"] = "ShowUnsupportedEntityType";
|
|
@@ -178,10 +178,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
178
178
|
};
|
|
179
179
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
180
180
|
const moduleMap = {
|
|
181
|
-
plaintext: () => import("./plaintext-
|
|
182
|
-
json: () => import("./json-
|
|
183
|
-
yaml: () => import("./yaml-
|
|
184
|
-
css: () => import("./css-
|
|
181
|
+
plaintext: () => import("./plaintext-BF-9vQ8Q.js"),
|
|
182
|
+
json: () => import("./json-DHQJSjrH.js"),
|
|
183
|
+
yaml: () => import("./yaml-BsCaKulN.js"),
|
|
184
|
+
css: () => import("./css-CJ8Vkl-J.js")
|
|
185
185
|
};
|
|
186
186
|
const getModule = async (name) => {
|
|
187
187
|
if (!supportedModules.includes(name)) {
|
|
@@ -472,7 +472,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
472
472
|
const [tab, setTab] = useState("metadata");
|
|
473
473
|
const rootLegalEntity = useSignalValue(useGlobalStore().rootLegalEntity);
|
|
474
474
|
const metadata = {
|
|
475
|
-
sdkVersion: "3.72.
|
|
475
|
+
sdkVersion: "3.72.4",
|
|
476
476
|
locale: i18n.locale,
|
|
477
477
|
rootLegalEntityId: rootLegalEntity.id
|
|
478
478
|
};
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, a6 as skipToken, b as useExperimentsContext, a0 as Loader, a3 as getLegalEntityCountry, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-
|
|
11
|
+
import { a2 as useLegalEntity, a6 as skipToken, b as useExperimentsContext, a0 as Loader, a3 as getLegalEntityCountry, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
13
13
|
function DecisionMakerDetailsPage({
|
|
14
14
|
decisionMakerId,
|
|
15
15
|
parentCompanyId,
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, aL as useGetTaskStatus, u as useI18nContext, a as useAnalyticsContext, W as useToastContext, bp as getOwnDecisionMakers, cM as getAvailableDecisionMakerRoleTypes, ah as TaskTypes, cB as getAllowedDecisionMakerRoles, b2 as FormHeader, bj as ContextGuidance, cp as DecisionMakerType, aq as Alert, aM as CardGroup, B as Button, bd as ActionBar } from "./EventEmitter-
|
|
13
|
-
import { G as useCapabilityProblems, a as useUpdateLegalEntity } from "./CreateIndividualComponent-
|
|
14
|
-
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./core-
|
|
12
|
+
import { a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, aL as useGetTaskStatus, u as useI18nContext, a as useAnalyticsContext, W as useToastContext, bp as getOwnDecisionMakers, cM as getAvailableDecisionMakerRoleTypes, ah as TaskTypes, cB as getAllowedDecisionMakerRoles, b2 as FormHeader, bj as ContextGuidance, cp as DecisionMakerType, aq as Alert, aM as CardGroup, B as Button, bd as ActionBar } from "./EventEmitter-CzgfRWAv.js";
|
|
13
|
+
import { G as useCapabilityProblems, a as useUpdateLegalEntity } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
14
|
+
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./core-5FdDgGAA.js";
|
|
15
15
|
const DecisionMakers = (props) => {
|
|
16
16
|
const { data, isLoading } = useLegalEntity(ROOT_LE);
|
|
17
17
|
if (isLoading || !data) {
|
|
@@ -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] = "ed76feb2-a3f2-4737-b7f6-2c25b1f2a5d7", e._sentryDebugIdIdentifier = "sentry-dbid-ed76feb2-a3f2-4737-b7f6-2c25b1f2a5d7");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { dm as refreshSession, B as Button, a0 as Loader, bx as SettingsProvider, by as ExperimentsContextProvider, bz as ApiProvider, bA as QueryClientProvider, bB as StoreProvider, bC as AnalyticsProvider, bD as I18nProvider, bw as EventEmitter, bE as DebugListener, bF as ToastContextProvider, bG as StateProvider, bH as ReactQueryDevtools2, bK as setSdkTokenHandler } from "./EventEmitter-
|
|
11
|
+
import { dm as refreshSession, B as Button, a0 as Loader, bx as SettingsProvider, by as ExperimentsContextProvider, bz as ApiProvider, bA as QueryClientProvider, bB as StoreProvider, bC as AnalyticsProvider, bD as I18nProvider, bw as EventEmitter, bE as DebugListener, bF as ToastContextProvider, bG as StateProvider, bH as ReactQueryDevtools2, bK as setSdkTokenHandler } from "./EventEmitter-CzgfRWAv.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
13
|
function injectCss(shadowRoot) {
|
|
14
14
|
{
|
|
@@ -57,7 +57,7 @@ const EmbedShell = ({
|
|
|
57
57
|
}
|
|
58
58
|
return /* @__PURE__ */ jsx(SettingsProvider, { settings, children: /* @__PURE__ */ jsx(ExperimentsContextProvider, { experiments, refreshExperiments, children: /* @__PURE__ */ jsx(ApiProvider, { rootLegalEntityId: legalEntityId, baseUrl, children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
59
59
|
/* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
60
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.72.
|
|
60
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.72.4" }),
|
|
61
61
|
/* @__PURE__ */ jsx(
|
|
62
62
|
AnalyticsProvider,
|
|
63
63
|
{
|
|
@@ -19,7 +19,7 @@ var _focused, _cleanup, _setup, _a, _online, _cleanup2, _setup2, _b, _gcTimeout,
|
|
|
19
19
|
{
|
|
20
20
|
try {
|
|
21
21
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
22
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
22
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3c3d95ec-ab1d-4e3d-9d31-759abe5f9c90", e._sentryDebugIdIdentifier = "sentry-dbid-3c3d95ec-ab1d-4e3d-9d31-759abe5f9c90");
|
|
23
23
|
} catch (e) {
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -27183,7 +27183,7 @@ function Individual(props) {
|
|
|
27183
27183
|
hasMotionScenario: hasMotionCaptureScenario == null ? void 0 : hasMotionCaptureScenario.value
|
|
27184
27184
|
})
|
|
27185
27185
|
);
|
|
27186
|
-
}, [(_i2 = data == null ? void 0 : data.personalDetails) == null ? void 0 : _i2.role, capabilities, taskType]);
|
|
27186
|
+
}, [(_i2 = data == null ? void 0 : data.personalDetails) == null ? void 0 : _i2.role, capabilities, taskType, hasMotionCaptureScenario == null ? void 0 : hasMotionCaptureScenario.value]);
|
|
27187
27187
|
const renderActiveForm = (activeForm) => {
|
|
27188
27188
|
var _a3, _b3, _c3, _d3, _e3, _f3;
|
|
27189
27189
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -31662,7 +31662,7 @@ var TanstackQueryDevtools = (_l = class {
|
|
|
31662
31662
|
if (__privateGet(this, _Component)) {
|
|
31663
31663
|
Devtools = __privateGet(this, _Component);
|
|
31664
31664
|
} else {
|
|
31665
|
-
Devtools = lazy(() => import("./I3HPI4QX-
|
|
31665
|
+
Devtools = lazy(() => import("./I3HPI4QX-DA5fm-8_.js"));
|
|
31666
31666
|
__privateSet(this, _Component, Devtools);
|
|
31667
31667
|
}
|
|
31668
31668
|
setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
|
|
@@ -31784,7 +31784,7 @@ var TanstackQueryDevtoolsPanel = (_m = class {
|
|
|
31784
31784
|
if (__privateGet(this, _Component2)) {
|
|
31785
31785
|
Devtools = __privateGet(this, _Component2);
|
|
31786
31786
|
} else {
|
|
31787
|
-
Devtools = lazy(() => import("./CXEL7IU7-
|
|
31787
|
+
Devtools = lazy(() => import("./CXEL7IU7-CvXEJiqY.js"));
|
|
31788
31788
|
__privateSet(this, _Component2, Devtools);
|
|
31789
31789
|
}
|
|
31790
31790
|
setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
|
|
@@ -31991,7 +31991,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
|
|
|
31991
31991
|
};
|
|
31992
31992
|
};
|
|
31993
31993
|
const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
|
|
31994
|
-
const sdkVersion = "3.72.
|
|
31994
|
+
const sdkVersion = "3.72.4";
|
|
31995
31995
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
31996
31996
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
31997
31997
|
useEffect(() => {
|
|
@@ -32059,7 +32059,7 @@ const AnalyticsProvider = ({
|
|
|
32059
32059
|
const { onboardingVersion } = useVersion();
|
|
32060
32060
|
const userEvents2 = useMemo(() => createUserEvents(), []);
|
|
32061
32061
|
const sessionData = {
|
|
32062
|
-
sdkVersion: "3.72.
|
|
32062
|
+
sdkVersion: "3.72.4",
|
|
32063
32063
|
componentName,
|
|
32064
32064
|
userAgent: navigator.userAgent,
|
|
32065
32065
|
legalEntityId,
|
|
@@ -32444,7 +32444,7 @@ function StateProvider({
|
|
|
32444
32444
|
);
|
|
32445
32445
|
return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
|
|
32446
32446
|
}
|
|
32447
|
-
const DebugModal = lazy$1(async () => (await import("./DebugModal-
|
|
32447
|
+
const DebugModal = lazy$1(async () => (await import("./DebugModal-DYMeTDAV.js").then((n) => n.D)).DebugModal);
|
|
32448
32448
|
const DebugListener = () => {
|
|
32449
32449
|
const [debugUiOpen, setDebugUiOpen] = useState(false);
|
|
32450
32450
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -10,7 +10,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
;
|
|
13
|
-
import { eb as createContext, ec as createSignal, ed as onMount, ee as createEffect, e9 as createMemo, ea as createComponent, ef as Portal, eg as Show, eh as template, ei as insert, ej as createRenderEffect, ek as className, el as clearDelegatedEvents, em as delegateEvents, en as useContext, eo as onCleanup, ep as sortFns, eq as mutationSortFns, er as on, es as setAttribute, et as getSidedProp, eu as use, ev as createUniqueId, ew as batch, ex as getQueryStatusLabel, ey as getMutationStatusColor, ez as getQueryStatusColor, eA as getQueryStatusColorByLabel, eB as displayValue, eC as For, eD as convertRemToPixels, eE as untrack, eF as $TRACK, eG as useTransition, eH as spread, eI as mergeProps, eJ as createRoot, eK as serialize, eL as Index, eM as updateNestedDataByPath, eN as addEventListener, eO as stringify, eP as Match, eQ as Switch, eR as deleteNestedDataByPath, eS as splitProps, eT as Dynamic, eU as createComputed } from "./EventEmitter-
|
|
13
|
+
import { eb as createContext, ec as createSignal, ed as onMount, ee as createEffect, e9 as createMemo, ea as createComponent, ef as Portal, eg as Show, eh as template, ei as insert, ej as createRenderEffect, ek as className, el as clearDelegatedEvents, em as delegateEvents, en as useContext, eo as onCleanup, ep as sortFns, eq as mutationSortFns, er as on, es as setAttribute, et as getSidedProp, eu as use, ev as createUniqueId, ew as batch, ex as getQueryStatusLabel, ey as getMutationStatusColor, ez as getQueryStatusColor, eA as getQueryStatusColorByLabel, eB as displayValue, eC as For, eD as convertRemToPixels, eE as untrack, eF as $TRACK, eG as useTransition, eH as spread, eI as mergeProps, eJ as createRoot, eK as serialize, eL as Index, eM as updateNestedDataByPath, eN as addEventListener, eO as stringify, eP as Match, eQ as Switch, eR as deleteNestedDataByPath, eS as splitProps, eT as Dynamic, eU as createComputed } from "./EventEmitter-CzgfRWAv.js";
|
|
14
14
|
var isNonNullable = (i2) => i2 != null;
|
|
15
15
|
var filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
16
16
|
function chain(callbacks) {
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-
|
|
11
|
-
import { e8 as getPreferredColorScheme, e9 as createMemo, ea as createComponent } from "./EventEmitter-
|
|
10
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-DIKU4smF.js";
|
|
11
|
+
import { e8 as getPreferredColorScheme, e9 as createMemo, ea as createComponent } from "./EventEmitter-CzgfRWAv.js";
|
|
12
12
|
var DevtoolsComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { ah as TaskTypes, i as LegalEntityType, dr as getTranslationKeysByPrefix, u as useI18nContext, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, a as useAnalyticsContext, B as Button } from "./EventEmitter-
|
|
13
|
-
import { S as StepProgressIndicator } from "./AcceptTermsOfServiceComponent-
|
|
12
|
+
import { ah as TaskTypes, i as LegalEntityType, dr as getTranslationKeysByPrefix, u as useI18nContext, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, a as useAnalyticsContext, B as Button } from "./EventEmitter-CzgfRWAv.js";
|
|
13
|
+
import { S as StepProgressIndicator } from "./AcceptTermsOfServiceComponent-DHkK0S6k.js";
|
|
14
14
|
import { useMemo } from "preact/compat";
|
|
15
|
-
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./core-
|
|
15
|
+
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./core-5FdDgGAA.js";
|
|
16
16
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
17
17
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
18
18
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, a6 as skipToken, ao as ROOT_LE, b as useExperimentsContext, a0 as Loader, a3 as getLegalEntityCountry, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-
|
|
11
|
+
import { a2 as useLegalEntity, a6 as skipToken, ao as ROOT_LE, b as useExperimentsContext, a0 as Loader, a3 as getLegalEntityCountry, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
13
13
|
function LegalRepresentativeDetailsPage({
|
|
14
14
|
legalRepresentativeId,
|
|
15
15
|
asModal = false,
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, ao as ROOT_LE, U as useAssociatedLegalEntity, i as LegalEntityType, df as useCapabilities, a0 as Loader, aG as EntityType, ab as keysOf } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-
|
|
13
|
-
import { P as PayoutDetailsDropin } from "./core-
|
|
11
|
+
import { a2 as useLegalEntity, ao as ROOT_LE, U as useAssociatedLegalEntity, i as LegalEntityType, df as useCapabilities, a0 as Loader, aG as EntityType, ab as keysOf } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
13
|
+
import { P as PayoutDetailsDropin } from "./core-5FdDgGAA.js";
|
|
14
14
|
function PayoutDetailsPage({
|
|
15
15
|
transferInstrumentId,
|
|
16
16
|
setTransferInstrumentId,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { m as useApiContext, a5 as useMutation, a4 as httpPost, u as useI18nContext, W as useToastContext, L as LoaderWrapper, b2 as FormHeader, bq as Checkbox, bd as ActionBar } from "./EventEmitter-
|
|
13
|
-
import { D as DropinLayout } from "./core-
|
|
12
|
+
import { m as useApiContext, a5 as useMutation, a4 as httpPost, u as useI18nContext, W as useToastContext, L as LoaderWrapper, b2 as FormHeader, bq as Checkbox, bd as ActionBar } from "./EventEmitter-CzgfRWAv.js";
|
|
13
|
+
import { D as DropinLayout } from "./core-5FdDgGAA.js";
|
|
14
14
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
15
15
|
return httpPost({
|
|
16
16
|
baseUrl,
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { aF as useAccountHolder, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, aA as isPartOfTrustFromLegalEntity, aG as EntityType, a3 as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-
|
|
13
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
11
|
+
import { aF as useAccountHolder, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, aA as isPartOfTrustFromLegalEntity, aG as EntityType, a3 as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
13
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-B9uPe28F.js";
|
|
14
14
|
const RootBusinessDetailsPage = ({
|
|
15
15
|
isTargetLegalEntityType = false,
|
|
16
16
|
onSubmit,
|
package/dist/{RootIndividualDetailsPage-FRQMLo5h.js → RootIndividualDetailsPage-Bd2NdUyL.js}
RENAMED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, ao as ROOT_LE, b as useExperimentsContext, aF as useAccountHolder, a0 as Loader, a3 as getLegalEntityCountry, aA as isPartOfTrustFromLegalEntity, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-
|
|
11
|
+
import { a2 as useLegalEntity, ao as ROOT_LE, b as useExperimentsContext, aF as useAccountHolder, a0 as Loader, a3 as getLegalEntityCountry, aA as isPartOfTrustFromLegalEntity, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
13
13
|
function RootIndividualDetailsPage({
|
|
14
14
|
asModal = false,
|
|
15
15
|
hideSidebar = false,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { u as useI18nContext, D as useForm, T as Typography, F as Field, b5 as RadioGroupCard, B as Button, d5 as Svg, i as LegalEntityType } from "./EventEmitter-
|
|
12
|
+
import { u as useI18nContext, D as useForm, T as Typography, F as Field, b5 as RadioGroupCard, B as Button, d5 as Svg, i as LegalEntityType } from "./EventEmitter-CzgfRWAv.js";
|
|
13
13
|
const setupAccountMethods = ["singpass", "manual"];
|
|
14
14
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
15
15
|
const getSingpassSelectionDisabled = (legalEntityType) => {
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, ao as ROOT_LE, a6 as skipToken, a0 as Loader, aG as EntityType, a3 as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-
|
|
13
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
11
|
+
import { a2 as useLegalEntity, ao as ROOT_LE, a6 as skipToken, a0 as Loader, aG as EntityType, a3 as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
13
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-B9uPe28F.js";
|
|
14
14
|
function SoleProprietorshipPage({
|
|
15
15
|
solePropId,
|
|
16
16
|
isTargetLegalEntityType = false,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { u as useI18nContext, am as TaskStatus } from "./EventEmitter-
|
|
12
|
+
import { u as useI18nContext, am as TaskStatus } from "./EventEmitter-CzgfRWAv.js";
|
|
13
13
|
const inTaskStatus = "adyen-kyc-in-task-status";
|
|
14
14
|
const inTaskStatusIndicator = "adyen-kyc-in-task-status-indicator";
|
|
15
15
|
const inTaskStatusIndicatorSuccess = "adyen-kyc-in-task-status-indicator-success";
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { m as useApiContext, p as useQuery, q as httpGet, Q as useInvalidateRootLegalEntity, a5 as useMutation, a4 as httpPost, i as LegalEntityType, l as localizeDateString, T as Typography, e4 as Currencies, u as useI18nContext, F as Field, e5 as InputGroup, t as Select, I as InputText, y as InputDate, b6 as TextArea, R as RadioGroup, b8 as CountryField, ak as Modal, aq as Alert, B as Button, k as isEmpty, D as useForm, E as useGlobalDataSlice, G as ErrorPanel, H as createFormUtils, a0 as Loader, a1 as Icon, $ as getFormProps, ar as Card, as as StructuredList, at as IconButton, d6 as isEmpty$1, d5 as Svg, W as useToastContext, au as createLogger, e6 as Dropzone, a7 as useQueryClient, a2 as useLegalEntity, ao as ROOT_LE, X as useStateContext, a as useAnalyticsContext, e7 as useLegalEntities, aG as EntityType, a3 as getLegalEntityCountry } from "./EventEmitter-
|
|
12
|
-
import { f as formatObject, E as Confirm, T as TileGroup, r as createDocumentRequest, u as useCreateLegalEntity, a as useUpdateLegalEntity, c as getPropsFromConfigurations, d as getRequiredForms, e as addValidityToForms, h as useFormComposer, w as documentApiUtils, G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-
|
|
11
|
+
import { m as useApiContext, p as useQuery, q as httpGet, Q as useInvalidateRootLegalEntity, a5 as useMutation, a4 as httpPost, i as LegalEntityType, l as localizeDateString, T as Typography, e4 as Currencies, u as useI18nContext, F as Field, e5 as InputGroup, t as Select, I as InputText, y as InputDate, b6 as TextArea, R as RadioGroup, b8 as CountryField, ak as Modal, aq as Alert, B as Button, k as isEmpty, D as useForm, E as useGlobalDataSlice, G as ErrorPanel, H as createFormUtils, a0 as Loader, a1 as Icon, $ as getFormProps, ar as Card, as as StructuredList, at as IconButton, d6 as isEmpty$1, d5 as Svg, W as useToastContext, au as createLogger, e6 as Dropzone, a7 as useQueryClient, a2 as useLegalEntity, ao as ROOT_LE, X as useStateContext, a as useAnalyticsContext, e7 as useLegalEntities, aG as EntityType, a3 as getLegalEntityCountry } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { f as formatObject, E as Confirm, T as TileGroup, r as createDocumentRequest, u as useCreateLegalEntity, a as useUpdateLegalEntity, c as getPropsFromConfigurations, d as getRequiredForms, e as addValidityToForms, h as useFormComposer, w as documentApiUtils, G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
13
13
|
import { useState, useMemo, useEffect, useCallback, useRef } from "preact/hooks";
|
|
14
|
-
import { A as Avatar, v as validateDateNotInTheFuture, n as normalizedTaskStatusStore, h as hasDataChanged, F as FormWrapper } from "./core-
|
|
14
|
+
import { A as Avatar, v as validateDateNotInTheFuture, n as normalizedTaskStatusStore, h as hasDataChanged, F as FormWrapper } from "./core-5FdDgGAA.js";
|
|
15
15
|
import { signal } from "@preact/signals";
|
|
16
|
-
import { s as styles, T as TaskStatusIndicator } from "./SourceOfFunds.module-
|
|
16
|
+
import { s as styles, T as TaskStatusIndicator } from "./SourceOfFunds.module-PmQYsn_w.js";
|
|
17
17
|
import { a as formatAmountWithCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
18
18
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
19
19
|
import isURL from "validator/es/lib/isURL.js";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { a0 as Loader, a1 as Icon, u as useI18nContext, am as TaskStatus, dc as KEYBOARD_KEYS } from "./EventEmitter-
|
|
12
|
+
import { a0 as Loader, a1 as Icon, u as useI18nContext, am as TaskStatus, dc as KEYBOARD_KEYS } from "./EventEmitter-CzgfRWAv.js";
|
|
13
13
|
const tag = "adyen-kyc-tag";
|
|
14
14
|
const tagGrey = "adyen-kyc-tag-grey";
|
|
15
15
|
const tagBlue = "adyen-kyc-tag-blue";
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
12
|
-
import { m as useApiContext, p as useQuery, q as httpGet, T as Typography, u as useI18nContext, cP as useFormContext, aq as Alert, F as Field, R as RadioGroup, $ as getFormProps, a1 as Icon, d6 as isEmpty, d5 as Svg, B as Button, ar as Card, as as StructuredList, at as IconButton, k as isEmpty$1, Q as useInvalidateRootLegalEntity, a as useAnalyticsContext, a2 as useLegalEntity, ao as ROOT_LE, au as createLogger, a0 as Loader } from "./EventEmitter-
|
|
13
|
-
import { a as useUpdateLegalEntity, K as useMultiForm, d as getRequiredForms, e as addValidityToForms, h as useFormComposer, L as FormContextProvider, M as FormFlow } from "./CreateIndividualComponent-
|
|
12
|
+
import { m as useApiContext, p as useQuery, q as httpGet, T as Typography, u as useI18nContext, cP as useFormContext, aq as Alert, F as Field, R as RadioGroup, $ as getFormProps, a1 as Icon, d6 as isEmpty, d5 as Svg, B as Button, ar as Card, as as StructuredList, at as IconButton, k as isEmpty$1, Q as useInvalidateRootLegalEntity, a as useAnalyticsContext, a2 as useLegalEntity, ao as ROOT_LE, au as createLogger, a0 as Loader } from "./EventEmitter-CzgfRWAv.js";
|
|
13
|
+
import { a as useUpdateLegalEntity, K as useMultiForm, d as getRequiredForms, e as addValidityToForms, h as useFormComposer, L as FormContextProvider, M as FormFlow } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
14
14
|
import { signal } from "@preact/signals";
|
|
15
|
-
import { s as styles$1, T as TaskStatusIndicator } from "./SourceOfFunds.module-
|
|
16
|
-
import { n as normalizedTaskStatusStore } from "./core-
|
|
15
|
+
import { s as styles$1, T as TaskStatusIndicator } from "./SourceOfFunds.module-PmQYsn_w.js";
|
|
16
|
+
import { n as normalizedTaskStatusStore } from "./core-5FdDgGAA.js";
|
|
17
17
|
const getTaxClassification = async (legalEntityId, baseUrl) => {
|
|
18
18
|
return httpGet({
|
|
19
19
|
baseUrl,
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { r as reverseMapping, dC as operationalAddressIsSameIds, i as LegalEntityType, a8 as createFormRules, ah as TaskTypes, dU as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, dV as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, dW as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, ad as CountryCodes, dX as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, dY as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, dG as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, dZ as trustComponentsKeyMapping, d_ as trustApiKeyMapping, d$ as updateTaxInformation, X as useStateContext, m as useApiContext, u as useI18nContext, a as useAnalyticsContext, V as datasetUtilities, b as useExperimentsContext, W as useToastContext, _ as getAssociatedLeAnalyticsPayload, e0 as trustForms, e1 as Trust, e2 as trustDocumentMapping, j as cloneObject, a3 as getLegalEntityCountry, aZ as resolveFieldMetadata, dJ as defaultFieldMetadata, dK as inferCompanyRegistrationNumberType, dL as getCompanyRegistrationNumberOptions, dM as defaultFieldConfig, cl as defaultFieldMetadata$1, dN as countryToTaxInfoTypeMap, cm as defaultFieldConfig$1, cE as mapAddressLabels, e3 as trustConstitutionalDocumentFormId, k as isEmpty, h as drop, aX as getOwnEntityAssociations, a2 as useLegalEntity, a6 as skipToken, ao as ROOT_LE, df as useCapabilities, aG as EntityType, a0 as Loader, ab as keysOf } from "./EventEmitter-
|
|
12
|
-
import { n as getDocument, o as mapExistingFile, q as getPageName, f as formatObject, r as createDocumentRequest, w as documentApiUtils, b as useScenarioConfiguration, c as getPropsFromConfigurations, O as getFieldsWithExistingData, d as getRequiredForms, e as addValidityToForms, u as useCreateLegalEntity, a as useUpdateLegalEntity, h as useFormComposer, v as augmentWithCountryConfigs, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, g as getProp, j as composePerScenarioFormConfigurations, G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-
|
|
11
|
+
import { r as reverseMapping, dC as operationalAddressIsSameIds, i as LegalEntityType, a8 as createFormRules, ah as TaskTypes, dU as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, dV as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, dW as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, ad as CountryCodes, dX as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, dY as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, dG as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, dZ as trustComponentsKeyMapping, d_ as trustApiKeyMapping, d$ as updateTaxInformation, X as useStateContext, m as useApiContext, u as useI18nContext, a as useAnalyticsContext, V as datasetUtilities, b as useExperimentsContext, W as useToastContext, _ as getAssociatedLeAnalyticsPayload, e0 as trustForms, e1 as Trust, e2 as trustDocumentMapping, j as cloneObject, a3 as getLegalEntityCountry, aZ as resolveFieldMetadata, dJ as defaultFieldMetadata, dK as inferCompanyRegistrationNumberType, dL as getCompanyRegistrationNumberOptions, dM as defaultFieldConfig, cl as defaultFieldMetadata$1, dN as countryToTaxInfoTypeMap, cm as defaultFieldConfig$1, cE as mapAddressLabels, e3 as trustConstitutionalDocumentFormId, k as isEmpty, h as drop, aX as getOwnEntityAssociations, a2 as useLegalEntity, a6 as skipToken, ao as ROOT_LE, df as useCapabilities, aG as EntityType, a0 as Loader, ab as keysOf } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { n as getDocument, o as mapExistingFile, q as getPageName, f as formatObject, r as createDocumentRequest, w as documentApiUtils, b as useScenarioConfiguration, c as getPropsFromConfigurations, O as getFieldsWithExistingData, d as getRequiredForms, e as addValidityToForms, u as useCreateLegalEntity, a as useUpdateLegalEntity, h as useFormComposer, v as augmentWithCountryConfigs, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, g as getProp, j as composePerScenarioFormConfigurations, G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
13
13
|
import { useEffect, useState, useRef, useMemo } from "preact/hooks";
|
|
14
|
-
import { F as FormWrapper, h as hasDataChanged } from "./core-
|
|
14
|
+
import { F as FormWrapper, h as hasDataChanged } from "./core-5FdDgGAA.js";
|
|
15
15
|
const mapApiDocumentToTrustDocument = (entityId) => {
|
|
16
16
|
const constitutionalDocument = getDocument(entityId, "constitutionalDocument") || null;
|
|
17
17
|
return {
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, ao as ROOT_LE, a6 as skipToken, a0 as Loader, aG as EntityType, a3 as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-
|
|
12
|
-
import { d as useTrustMembers } from "./core-
|
|
13
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-
|
|
14
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
11
|
+
import { a2 as useLegalEntity, ao as ROOT_LE, a6 as skipToken, a0 as Loader, aG as EntityType, a3 as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { d as useTrustMembers } from "./core-5FdDgGAA.js";
|
|
13
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
14
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-B9uPe28F.js";
|
|
15
15
|
function TrustMemberCompanyPage({
|
|
16
16
|
trustId,
|
|
17
17
|
trustMemberCompanyId,
|
package/dist/{TrustMemberIndividualPage-BBy0WMbW.js → TrustMemberIndividualPage-CQQ7uc3H.js}
RENAMED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, a6 as skipToken, b as useExperimentsContext, a0 as Loader, a3 as getLegalEntityCountry, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-
|
|
11
|
+
import { a2 as useLegalEntity, a6 as skipToken, b as useExperimentsContext, a0 as Loader, a3 as getLegalEntityCountry, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
13
13
|
function TrustMemberIndividualPage({
|
|
14
14
|
memberId,
|
|
15
15
|
trustId,
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, a6 as skipToken, b as useExperimentsContext, a0 as Loader, a3 as getLegalEntityCountry, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-
|
|
11
|
+
import { a2 as useLegalEntity, a6 as skipToken, b as useExperimentsContext, a0 as Loader, a3 as getLegalEntityCountry, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
13
13
|
function UnincorporatedPartnershipIndividualPage({
|
|
14
14
|
memberId,
|
|
15
15
|
partnershipId,
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, ao as ROOT_LE, a6 as skipToken, bk as useUnincorporatedPartnershipMembers, a0 as Loader, aG as EntityType, a3 as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-
|
|
13
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
11
|
+
import { a2 as useLegalEntity, ao as ROOT_LE, a6 as skipToken, bk as useUnincorporatedPartnershipMembers, a0 as Loader, aG as EntityType, a3 as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
13
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-B9uPe28F.js";
|
|
14
14
|
function UnincorporatedPartnershipMemberCompanyPage({
|
|
15
15
|
partnershipId,
|
|
16
16
|
partnershipMemberCompanyId,
|
package/dist/adyenConfig.js
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as Core } from "./core-
|
|
11
|
-
import { p as propsToCoreOptions } from "./utils-
|
|
10
|
+
import { C as Core } from "./core-5FdDgGAA.js";
|
|
11
|
+
import { p as propsToCoreOptions } from "./utils-B5iKTXQt.js";
|
|
12
12
|
const loadAdyenConfig = async (config) => {
|
|
13
13
|
if (!config.environment) {
|
|
14
14
|
config.environment = "live";
|
|
@@ -2,18 +2,18 @@
|
|
|
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] = "3f396225-2d6e-44a5-91b4-655f12bbe64b", e._sentryDebugIdIdentifier = "sentry-dbid-3f396225-2d6e-44a5-91b4-655f12bbe64b");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { e as entriesOf, o as objectsDeepEqual, u as useI18nContext, a as useAnalyticsContext, b as useExperimentsContext, M as MaybeModal, c as ModalContent, d as ModalHeader, L as LoaderWrapper, s as summaryStep, f as ModalFooter, B as Button, S as Spacer, g as Summary, h as drop, r as reverseMapping, i as LegalEntityType, j as cloneObject, l as localizeDateString, k as isEmpty, m as useApiContext, p as useQuery, q as httpGet, F as Field, t as Select, T as Typography, R as RadioGroup, v as Link, I as InputText, w as currencyByCountry, x as InputNumber, y as InputDate, C as Currency, z as CURRENCY_FIELD, A as InputCurrency, D as useForm, E as useGlobalDataSlice, G as ErrorPanel, H as createFormUtils, J as useGlobalData, K as getAddressSchemaForCountry, N as COUNTRIES_WITH_STATES_DATASET, O as Address, P as getAddressSchemaLabelsByCountry, Q as useInvalidateRootLegalEntity, U as useAssociatedLegalEntity, V as datasetUtilities, W as useToastContext, X as useStateContext, Y as useSettingsContext, Z as SettingNames, _ as getAssociatedLeAnalyticsPayload, $ as getFormProps, a0 as Loader, a1 as Icon, a2 as useLegalEntity, a3 as getLegalEntityCountry, a4 as httpPost, a5 as useMutation, a6 as skipToken, a7 as useQueryClient, a8 as createFormRules, a9 as mapPayoutAccountSchemaToApiBankAccount, aa as payoutComponentKeyMapping, ab as keysOf, ac as summaryItem, ad as CountryCodes, ae as payoutSteps, af as getPayoutAccountHolderName, ag as getLegalEntityNameBasedOnType, ah as TaskTypes, ai as isInstantVerifiedAccount, aj as getCapabilityProblems, ak as Modal, al as PayoutDetails, am as TaskStatus, an as Skeleton, ao as ROOT_LE, ap as httpDelete, aq as Alert, ar as Card, as as StructuredList, at as IconButton, au as createLogger, av as useDataset, aw as datasetIdentifier, ax as useLocalStorage, ay as getLegalRepresentative, az as doesLegalEntityRequiresLegalRepresentative, aA as isPartOfTrustFromLegalEntity, aB as hasSolePropInLegalEntity, aC as hasOwnEntityAssociationOfType, aD as isEmptyEntity, aE as CompanyTypesValue, aF as useAccountHolder, aG as EntityType, aH as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, aI as handleKeys, aJ as noop, aK as getObscuredAccountNumber, aL as useGetTaskStatus, aM as CardGroup, aN as useSetting, aO as useSignalValue, aP as useGlobalStore, aQ as isPartOfUnincorporatedPartnership, aR as getOwnSignatories, aS as getOwnDecisionMakersLegalEntityIds, aT as getOwnSolePropProblems, aU as getOwnTrustProblems, aV as getOwnUnincorporatedPartnershipProblems, aW as TrustMemberTypes, aX as getOwnEntityAssociations, aY as mergeFieldMetadataIntoProps, aZ as resolveFieldMetadata, a_ as defaultFieldMetadata, a$ as defaultFieldConfig, b0 as getFieldProps, b1 as nameFields, b2 as FormHeader, b3 as MultiSelectList, b4 as makeSelectItemForRole, b5 as RadioGroupCard, b6 as TextArea, b7 as Name, b8 as CountryField, b9 as COUNTRY_FIELD, ba as LegalCompanyNameField, bb as LEGAL_COMPANY_NAME_FIELD, bc as getRoleName, bd as ActionBar, be as UnincorporatedPartnershipMemberTypes, bf as getDecisionMakerDescriptionMap, bg as TRUST_DEFAULT_DESCRIPTIONS_MAP, bh as getRoleTagVariant, bi as DEFAULT_TRUST_MEMBER_REQUIREMENTS, bj as ContextGuidance, bk as useUnincorporatedPartnershipMembers, bl as deleteUnincorporatedPartnershipMember, bm as hasAllCapabilitiesResolved, bn as hasRejectedCapabilities, bo as TrustedFieldsProvider, bp as getOwnDecisionMakers, bq as Checkbox, br as listify, bs as isUndefinedOrNull, bt as useAllowedCountries, bu as AlertIcon, bv as uuidv4, bw as EventEmitter, bx as SettingsProvider, by as ExperimentsContextProvider, bz as ApiProvider, bA as QueryClientProvider, bB as StoreProvider, bC as AnalyticsProvider, bD as I18nProvider, bE as DebugListener, bF as ToastContextProvider, bG as StateProvider, bH as ReactQueryDevtools2, n as normalizeEnvironment, bI as FALLBACK_LOCALE, bJ as setSdkToken, bK as setSdkTokenHandler } from "./EventEmitter-
|
|
11
|
-
import { F as FormNavigation, S as StepProgressIndicator, a as FormEndState, u as useTermsOfServiceAcceptanceInfos, b as useTermsOfServiceStatus, d as downloadFile, O as OutlinedIcon, C as ContractViewer, A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
10
|
+
import { e as entriesOf, o as objectsDeepEqual, u as useI18nContext, a as useAnalyticsContext, b as useExperimentsContext, M as MaybeModal, c as ModalContent, d as ModalHeader, L as LoaderWrapper, s as summaryStep, f as ModalFooter, B as Button, S as Spacer, g as Summary, h as drop, r as reverseMapping, i as LegalEntityType, j as cloneObject, l as localizeDateString, k as isEmpty, m as useApiContext, p as useQuery, q as httpGet, F as Field, t as Select, T as Typography, R as RadioGroup, v as Link, I as InputText, w as currencyByCountry, x as InputNumber, y as InputDate, C as Currency, z as CURRENCY_FIELD, A as InputCurrency, D as useForm, E as useGlobalDataSlice, G as ErrorPanel, H as createFormUtils, J as useGlobalData, K as getAddressSchemaForCountry, N as COUNTRIES_WITH_STATES_DATASET, O as Address, P as getAddressSchemaLabelsByCountry, Q as useInvalidateRootLegalEntity, U as useAssociatedLegalEntity, V as datasetUtilities, W as useToastContext, X as useStateContext, Y as useSettingsContext, Z as SettingNames, _ as getAssociatedLeAnalyticsPayload, $ as getFormProps, a0 as Loader, a1 as Icon, a2 as useLegalEntity, a3 as getLegalEntityCountry, a4 as httpPost, a5 as useMutation, a6 as skipToken, a7 as useQueryClient, a8 as createFormRules, a9 as mapPayoutAccountSchemaToApiBankAccount, aa as payoutComponentKeyMapping, ab as keysOf, ac as summaryItem, ad as CountryCodes, ae as payoutSteps, af as getPayoutAccountHolderName, ag as getLegalEntityNameBasedOnType, ah as TaskTypes, ai as isInstantVerifiedAccount, aj as getCapabilityProblems, ak as Modal, al as PayoutDetails, am as TaskStatus, an as Skeleton, ao as ROOT_LE, ap as httpDelete, aq as Alert, ar as Card, as as StructuredList, at as IconButton, au as createLogger, av as useDataset, aw as datasetIdentifier, ax as useLocalStorage, ay as getLegalRepresentative, az as doesLegalEntityRequiresLegalRepresentative, aA as isPartOfTrustFromLegalEntity, aB as hasSolePropInLegalEntity, aC as hasOwnEntityAssociationOfType, aD as isEmptyEntity, aE as CompanyTypesValue, aF as useAccountHolder, aG as EntityType, aH as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, aI as handleKeys, aJ as noop, aK as getObscuredAccountNumber, aL as useGetTaskStatus, aM as CardGroup, aN as useSetting, aO as useSignalValue, aP as useGlobalStore, aQ as isPartOfUnincorporatedPartnership, aR as getOwnSignatories, aS as getOwnDecisionMakersLegalEntityIds, aT as getOwnSolePropProblems, aU as getOwnTrustProblems, aV as getOwnUnincorporatedPartnershipProblems, aW as TrustMemberTypes, aX as getOwnEntityAssociations, aY as mergeFieldMetadataIntoProps, aZ as resolveFieldMetadata, a_ as defaultFieldMetadata, a$ as defaultFieldConfig, b0 as getFieldProps, b1 as nameFields, b2 as FormHeader, b3 as MultiSelectList, b4 as makeSelectItemForRole, b5 as RadioGroupCard, b6 as TextArea, b7 as Name, b8 as CountryField, b9 as COUNTRY_FIELD, ba as LegalCompanyNameField, bb as LEGAL_COMPANY_NAME_FIELD, bc as getRoleName, bd as ActionBar, be as UnincorporatedPartnershipMemberTypes, bf as getDecisionMakerDescriptionMap, bg as TRUST_DEFAULT_DESCRIPTIONS_MAP, bh as getRoleTagVariant, bi as DEFAULT_TRUST_MEMBER_REQUIREMENTS, bj as ContextGuidance, bk as useUnincorporatedPartnershipMembers, bl as deleteUnincorporatedPartnershipMember, bm as hasAllCapabilitiesResolved, bn as hasRejectedCapabilities, bo as TrustedFieldsProvider, bp as getOwnDecisionMakers, bq as Checkbox, br as listify, bs as isUndefinedOrNull, bt as useAllowedCountries, bu as AlertIcon, bv as uuidv4, bw as EventEmitter, bx as SettingsProvider, by as ExperimentsContextProvider, bz as ApiProvider, bA as QueryClientProvider, bB as StoreProvider, bC as AnalyticsProvider, bD as I18nProvider, bE as DebugListener, bF as ToastContextProvider, bG as StateProvider, bH as ReactQueryDevtools2, n as normalizeEnvironment, bI as FALLBACK_LOCALE, bJ as setSdkToken, bK as setSdkTokenHandler } from "./EventEmitter-CzgfRWAv.js";
|
|
11
|
+
import { F as FormNavigation, S as StepProgressIndicator, a as FormEndState, u as useTermsOfServiceAcceptanceInfos, b as useTermsOfServiceStatus, d as downloadFile, O as OutlinedIcon, C as ContractViewer, A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-DHkK0S6k.js";
|
|
12
12
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
13
13
|
import { useState, useCallback, useMemo, useEffect, useRef } from "preact/hooks";
|
|
14
|
-
import { t as trackNavigation, F as FormRouterContextProvider, f as formatObject, i as isEeaCountry, g as getProp, u as useCreateLegalEntity, a as useUpdateLegalEntity, b as useScenarioConfiguration, c as getPropsFromConfigurations, d as getRequiredForms, e as addValidityToForms, h as useFormComposer, j as composePerScenarioFormConfigurations, k as fieldsPerScenario, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, n as getDocument, o as mapExistingFile, q as getPageName, r as createDocumentRequest, s as mapWith, v as augmentWithCountryConfigs, w as documentApiUtils, x as useUnifyLoadingStatus, y as omitObscuredFieldsIfUnchanged, z as isIdDocumentUploadError, A as isBankStatementUploadError, B as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable, D as getFileExtention, E as Confirm, P as ProviderButton, G as useCapabilityProblems, H as useSingpassMyInfoLogin, C as CreateIndividualComponent } from "./CreateIndividualComponent-
|
|
14
|
+
import { t as trackNavigation, F as FormRouterContextProvider, f as formatObject, i as isEeaCountry, g as getProp, u as useCreateLegalEntity, a as useUpdateLegalEntity, b as useScenarioConfiguration, c as getPropsFromConfigurations, d as getRequiredForms, e as addValidityToForms, h as useFormComposer, j as composePerScenarioFormConfigurations, k as fieldsPerScenario, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, n as getDocument, o as mapExistingFile, q as getPageName, r as createDocumentRequest, s as mapWith, v as augmentWithCountryConfigs, w as documentApiUtils, x as useUnifyLoadingStatus, y as omitObscuredFieldsIfUnchanged, z as isIdDocumentUploadError, A as isBankStatementUploadError, B as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable, D as getFileExtention, E as Confirm, P as ProviderButton, G as useCapabilityProblems, H as useSingpassMyInfoLogin, C as CreateIndividualComponent } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
15
15
|
import cx from "classnames";
|
|
16
|
-
import { T as Tag, a as TaskItemStatus } from "./TaskItemStatus-
|
|
16
|
+
import { T as Tag, a as TaskItemStatus } from "./TaskItemStatus-BAB2JvM0.js";
|
|
17
17
|
import { lazy, Suspense } from "preact/compat";
|
|
18
18
|
import { signal } from "@preact/signals";
|
|
19
19
|
import { render } from "preact";
|
|
@@ -7089,71 +7089,71 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
7089
7089
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
7090
7090
|
};
|
|
7091
7091
|
const Introduction = lazy(
|
|
7092
|
-
async () => (await import("./Introduction-
|
|
7092
|
+
async () => (await import("./Introduction-C4GxNaag.js")).Introduction
|
|
7093
7093
|
);
|
|
7094
7094
|
const BusinessTypeSelectionPage = lazy(
|
|
7095
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
7095
|
+
async () => (await import("./BusinessTypeSelectionPage-DnC4iBWX.js")).BusinessTypeSelectionPage
|
|
7096
7096
|
);
|
|
7097
7097
|
const SingpassSelection = lazy(
|
|
7098
|
-
async () => (await import("./SingpassSelection-
|
|
7098
|
+
async () => (await import("./SingpassSelection-CossYnOE.js")).SingpassSelection
|
|
7099
7099
|
);
|
|
7100
7100
|
const AccountSetupRejected = lazy(
|
|
7101
|
-
async () => (await import("./AccountSetupRejected-
|
|
7101
|
+
async () => (await import("./AccountSetupRejected-M0eVeA7G.js")).AccountSetupRejected
|
|
7102
7102
|
);
|
|
7103
7103
|
const DecisionMakers = lazy(
|
|
7104
|
-
async () => (await import("./DecisionMakers-
|
|
7104
|
+
async () => (await import("./DecisionMakers-BJQxLnxR.js")).DecisionMakers
|
|
7105
7105
|
);
|
|
7106
7106
|
const CustomerSupport = lazy(
|
|
7107
|
-
async () => (await import("./CustomerSupport-
|
|
7107
|
+
async () => (await import("./CustomerSupport-B7cVQRXG.js")).CustomerSupport
|
|
7108
7108
|
);
|
|
7109
|
-
const Review = lazy(async () => (await import("./Review-
|
|
7109
|
+
const Review = lazy(async () => (await import("./Review-C1Z1HnSf.js")).Review);
|
|
7110
7110
|
const SignPCIComponent$2 = lazy(
|
|
7111
7111
|
async () => (await Promise.resolve().then(() => SignPCIComponent$1)).SignPCIComponent
|
|
7112
7112
|
);
|
|
7113
7113
|
const AcceptTermsOfService = lazy(
|
|
7114
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
7114
|
+
async () => (await import("./AcceptTermsOfServiceComponent-DHkK0S6k.js").then((n) => n.c)).AcceptTermsOfServiceComponent
|
|
7115
7115
|
);
|
|
7116
7116
|
const TaxReportingDropin = lazy(
|
|
7117
|
-
async () => (await import("./TaxReportingDropin-
|
|
7117
|
+
async () => (await import("./TaxReportingDropin-B0UcXDOr.js")).TaxReportingDropin
|
|
7118
7118
|
);
|
|
7119
7119
|
const PayoutDetailsPage = lazy(
|
|
7120
|
-
async () => (await import("./PayoutDetailsPage-
|
|
7120
|
+
async () => (await import("./PayoutDetailsPage-C5Z3ufab.js")).PayoutDetailsPage
|
|
7121
7121
|
);
|
|
7122
7122
|
const RootBusinessDetailsPage = lazy(
|
|
7123
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
7123
|
+
async () => (await import("./RootBusinessDetailsPage-D2WdGQb1.js")).RootBusinessDetailsPage
|
|
7124
7124
|
);
|
|
7125
7125
|
const SoleProprietorshipPage = lazy(
|
|
7126
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
7126
|
+
async () => (await import("./SoleProprietorshipPage-JyydDMFE.js")).SoleProprietorshipPage
|
|
7127
7127
|
);
|
|
7128
7128
|
const TrustMemberCompanyPage = lazy(
|
|
7129
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
7129
|
+
async () => (await import("./TrustMemberCompanyPage-CKdqeimg.js")).TrustMemberCompanyPage
|
|
7130
7130
|
);
|
|
7131
7131
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
7132
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
7132
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-C23EVNu9.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
7133
7133
|
);
|
|
7134
7134
|
const BusinessFinancingPage = lazy(
|
|
7135
|
-
async () => (await import("./BusinessFinancingPage-
|
|
7135
|
+
async () => (await import("./BusinessFinancingPage-DXJOEtf6.js")).BusinessFinancingPage
|
|
7136
7136
|
);
|
|
7137
7137
|
const TrustDetailsPage = lazy(
|
|
7138
|
-
async () => (await import("./TrustDetailsPage-
|
|
7138
|
+
async () => (await import("./TrustDetailsPage-DWDIpVr2.js")).TrustDetailsPage
|
|
7139
7139
|
);
|
|
7140
7140
|
const SourceOfFundsPage = lazy(
|
|
7141
|
-
async () => (await import("./SourceOfFundsPage-
|
|
7141
|
+
async () => (await import("./SourceOfFundsPage-AljyEVxa.js")).SourceOfFundsPage
|
|
7142
7142
|
);
|
|
7143
7143
|
const RootIndividualDetailsPage = lazy(
|
|
7144
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
7144
|
+
async () => (await import("./RootIndividualDetailsPage-Bd2NdUyL.js")).RootIndividualDetailsPage
|
|
7145
7145
|
);
|
|
7146
7146
|
const LegalRepresentativeDetailsPage = lazy(
|
|
7147
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
7147
|
+
async () => (await import("./LegalRepresentativeDetailsPage-U0bxN6y_.js")).LegalRepresentativeDetailsPage
|
|
7148
7148
|
);
|
|
7149
7149
|
const TrustMemberIndividualPage = lazy(
|
|
7150
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
7150
|
+
async () => (await import("./TrustMemberIndividualPage-CQQ7uc3H.js")).TrustMemberIndividualPage
|
|
7151
7151
|
);
|
|
7152
7152
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
7153
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
7153
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-CogMd4F3.js")).UnincorporatedPartnershipIndividualPage
|
|
7154
7154
|
);
|
|
7155
7155
|
const DecisionMakerDetailsPage = lazy(
|
|
7156
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
7156
|
+
async () => (await import("./DecisionMakerDetailsPage-COEpFtfs.js")).DecisionMakerDetailsPage
|
|
7157
7157
|
);
|
|
7158
7158
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
7159
7159
|
const logger$1 = createLogger();
|
|
@@ -8474,7 +8474,7 @@ class UIElement extends BaseElement {
|
|
|
8474
8474
|
baseUrl: this.props.baseUrl,
|
|
8475
8475
|
children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
8476
8476
|
/* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
8477
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.72.
|
|
8477
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.72.4" }),
|
|
8478
8478
|
/* @__PURE__ */ jsx(
|
|
8479
8479
|
AnalyticsProvider,
|
|
8480
8480
|
{
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-DYMeTDAV.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
property: { regex: /(^|[\r\n])[^:]*:/g, css: cssProps.key },
|
package/dist/individual.js
CHANGED
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { render } from "preact";
|
|
12
|
-
import { i as injectCss, E as EmbedShell } from "./EmbedShell-
|
|
13
|
-
import { n as normalizeEnvironment } from "./EventEmitter-
|
|
14
|
-
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-
|
|
15
|
-
import { e as environmentMap } from "./utils-
|
|
12
|
+
import { i as injectCss, E as EmbedShell } from "./EmbedShell-B_71Sq3f.js";
|
|
13
|
+
import { n as normalizeEnvironment } from "./EventEmitter-CzgfRWAv.js";
|
|
14
|
+
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
15
|
+
import { e as environmentMap } from "./utils-B5iKTXQt.js";
|
|
16
16
|
class AdyenIndividual extends HTMLElement {
|
|
17
17
|
constructor() {
|
|
18
18
|
super();
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-DYMeTDAV.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
number: { regex: /-?\d+(\.\d+)?([eE][+-]?\d+)?/g, css: cssProps.number },
|
package/dist/terms-of-service.js
CHANGED
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { render } from "preact";
|
|
12
|
-
import { i as injectCss, E as EmbedShell } from "./EmbedShell-
|
|
13
|
-
import { n as normalizeEnvironment } from "./EventEmitter-
|
|
14
|
-
import { A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
15
|
-
import { e as environmentMap } from "./utils-
|
|
12
|
+
import { i as injectCss, E as EmbedShell } from "./EmbedShell-B_71Sq3f.js";
|
|
13
|
+
import { n as normalizeEnvironment } from "./EventEmitter-CzgfRWAv.js";
|
|
14
|
+
import { A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-DHkK0S6k.js";
|
|
15
|
+
import { e as environmentMap } from "./utils-B5iKTXQt.js";
|
|
16
16
|
class AdyenTermsOfService extends HTMLElement {
|
|
17
17
|
constructor() {
|
|
18
18
|
super();
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { n as normalizeEnvironment } from "./EventEmitter-
|
|
10
|
+
import { n as normalizeEnvironment } from "./EventEmitter-CzgfRWAv.js";
|
|
11
11
|
const environmentMap = Object.freeze({
|
|
12
12
|
live: "https://live.adyen.com/",
|
|
13
13
|
test: "https://test.adyen.com/"
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a3 as getLegalEntityCountry, ds as getCapabilities, i as LegalEntityType, aC as hasOwnEntityAssociationOfType, aE as CompanyTypesValue, ad as CountryCodes, dT as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./EventEmitter-
|
|
11
|
-
import { f as allowIndividualWithoutSoleProp } from "./core-
|
|
12
|
-
import { S as SOLE_PROP_COUNTRIES } from "./CreateIndividualComponent-
|
|
10
|
+
import { a3 as getLegalEntityCountry, ds as getCapabilities, i as LegalEntityType, aC as hasOwnEntityAssociationOfType, aE as CompanyTypesValue, ad as CountryCodes, dT as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./EventEmitter-CzgfRWAv.js";
|
|
11
|
+
import { f as allowIndividualWithoutSoleProp } from "./core-5FdDgGAA.js";
|
|
12
|
+
import { S as SOLE_PROP_COUNTRIES } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
13
13
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
14
14
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
15
15
|
CountryCodes.UnitedStates,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-DYMeTDAV.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
boolean: { regex: /^(\s*)([\w-]+)(:)\s*(.*)$/g, css: cssProps.boolean },
|