@adyen/kyc-components 3.71.2 → 3.71.3
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-DMzlz5ur.js → AcceptTermsOfServiceComponent-Dsv4mY-k.js} +2 -2
- package/dist/{AccountSetupRejected-B_ll-DYK.js → AccountSetupRejected-Cz2iWdPE.js} +3 -3
- package/dist/{BusinessDetailsDropin--GT26UUf.js → BusinessDetailsDropin-CxJ7Ga0q.js} +5 -5
- package/dist/{BusinessTypeSelection-DrKppT76.js → BusinessTypeSelection-wbCak0Us.js} +4 -4
- package/dist/{CXEL7IU7-BadU4Quy.js → CXEL7IU7-B9HOZi-H.js} +3 -3
- package/dist/{CreateIndividualComponent-Cw8jncCj.js → CreateIndividualComponent-C3uFsTUT.js} +2 -2
- package/dist/{CustomerSupport-hGFkG8i3.js → CustomerSupport-BuxhbwRm.js} +3 -3
- package/dist/{DebugModal-DWrh3Luo.js → DebugModal-B_DAGmya.js} +9 -8
- package/dist/{DecisionMakers-DEspQGcu.js → DecisionMakers-L6oYW0-J.js} +4 -4
- package/dist/{EmbedShell-B_11fu1C.js → EmbedShell-DpZpuM-4.js} +3 -3
- package/dist/{EventEmitter-Bq8xlXVA.js → EventEmitter-DTdpTyY7.js} +333 -306
- package/dist/{HASRA6WW-CzhpDwYQ.js → HASRA6WW-CBmvzSwj.js} +2 -2
- package/dist/{I3HPI4QX-DYJ1Uod-.js → I3HPI4QX-9ko0FQd6.js} +3 -3
- package/dist/{Introduction-ocOgetqy.js → Introduction-C16zT64A.js} +4 -4
- package/dist/{Review-dujxCIfE.js → Review-BbsJ9Iv_.js} +3 -3
- package/dist/{SingpassSelection-BF6kWg3g.js → SingpassSelection-Biuh42TV.js} +2 -2
- package/dist/{SourceOfFunds.module-caoQ--io.js → SourceOfFunds.module-CwVf62zO.js} +2 -2
- package/dist/{SourceOfFundsDropin-Bhk41z_b.js → SourceOfFundsDropin-Bz8cTP4R.js} +5 -5
- package/dist/{TaskItemStatus-PMtq1Pi9.js → TaskItemStatus-DzTphBn7.js} +2 -2
- package/dist/{TaxReportingDropin-zwlu6qxX.js → TaxReportingDropin-xDar-7mC.js} +5 -5
- package/dist/{TrustOuter-BsEoJkzE.js → TrustOuter-2GEllVo3.js} +4 -4
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +2 -2
- package/dist/{core-BGMNir1l.js → core-BsRrVyKB.js} +25 -33
- package/dist/{css-DB40kUpv.js → css-CypmaTn8.js} +1 -1
- package/dist/individual.js +4 -4
- package/dist/{json-BfjwC9Z8.js → json-DDReVYSW.js} +1 -1
- package/dist/{plaintext-cxU_oLhE.js → plaintext-Cjcgjaqv.js} +1 -1
- package/dist/terms-of-service.js +4 -4
- package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +1 -1
- package/dist/types/context/ExperimentContext/types.d.ts +5 -0
- package/dist/types/stores/globalStore/calculateTaskStatus.d.ts +3 -1
- package/dist/{utils-CxEv8UGu.js → utils-Du6OO4ZK.js} +1 -1
- package/dist/{utils-9cd3ykqp.js → utils-Fkk087z-.js} +4 -4
- package/dist/{yaml-BGFeLEJY.js → yaml-GnQQmt7i.js} +1 -1
- package/package.json +1 -1
|
@@ -5,12 +5,12 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
{
|
|
6
6
|
try {
|
|
7
7
|
let e2 = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n2 = new e2.Error().stack;
|
|
8
|
-
n2 && (e2._sentryDebugIds = e2._sentryDebugIds || {}, e2._sentryDebugIds[n2] = "
|
|
8
|
+
n2 && (e2._sentryDebugIds = e2._sentryDebugIds || {}, e2._sentryDebugIds[n2] = "1844a2e0-88a2-4f4b-86b5-a2a762cd8934", e2._sentryDebugIdIdentifier = "sentry-dbid-1844a2e0-88a2-4f4b-86b5-a2a762cd8934");
|
|
9
9
|
} catch (e2) {
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
;
|
|
13
|
-
import {
|
|
13
|
+
import { ed as createContext, ee as createSignal, ef as onMount, eg as createEffect, eb as createMemo, ec as createComponent, eh as Portal, ei as Show, ej as template, ek as insert, el as createRenderEffect, em as className, en as clearDelegatedEvents, eo as delegateEvents, ep as useContext, eq as onCleanup, er as sortFns, es as mutationSortFns, et as on, eu as setAttribute, ev as getSidedProp, ew as use, ex as createUniqueId, ey as batch, ez as getQueryStatusLabel, eA as getMutationStatusColor, eB as getQueryStatusColor, eC as getQueryStatusColorByLabel, eD as displayValue, eE as For, eF as convertRemToPixels, eG as untrack, eH as $TRACK, eI as useTransition, eJ as spread, eK as mergeProps, eL as createRoot, eM as serialize, eN as Index, eO as updateNestedDataByPath, eP as addEventListener, eQ as stringify, eR as Match, eS as Switch, eT as deleteNestedDataByPath, eU as splitProps, eV as Dynamic, eW as createComputed } from "./EventEmitter-DTdpTyY7.js";
|
|
14
14
|
var isNonNullable = (i2) => i2 != null;
|
|
15
15
|
var filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
16
16
|
function chain(callbacks) {
|
|
@@ -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] = "fc442f62-1135-4a4d-9537-41106d865c5e", e._sentryDebugIdIdentifier = "sentry-dbid-fc442f62-1135-4a4d-9537-41106d865c5e");
|
|
6
6
|
} catch (e) {
|
|
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 {
|
|
10
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-CBmvzSwj.js";
|
|
11
|
+
import { ea as getPreferredColorScheme, eb as createMemo, ec as createComponent } from "./EventEmitter-DTdpTyY7.js";
|
|
12
12
|
var DevtoolsComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
|
@@ -2,17 +2,17 @@
|
|
|
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] = "bc1340d7-bce5-4945-8296-834ef78ee9c5", e._sentryDebugIdIdentifier = "sentry-dbid-bc1340d7-bce5-4945-8296-834ef78ee9c5");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
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 { ae as TaskTypes, i as LegalEntityType,
|
|
13
|
-
import { S as StepProgressIndicator } from "./AcceptTermsOfServiceComponent-
|
|
12
|
+
import { ae as TaskTypes, i as LegalEntityType, ds as getTranslationKeysByPrefix, u as useI18nContext, a as useAnalyticsContext, B as Button } from "./EventEmitter-DTdpTyY7.js";
|
|
13
|
+
import { S as StepProgressIndicator } from "./AcceptTermsOfServiceComponent-Dsv4mY-k.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-BsRrVyKB.js";
|
|
16
16
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
17
17
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
18
18
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
@@ -2,15 +2,15 @@
|
|
|
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] = "397833db-7cc0-494a-b8b3-08f2ed1955bf", e._sentryDebugIdIdentifier = "sentry-dbid-397833db-7cc0-494a-b8b3-08f2ed1955bf");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
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,
|
|
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, b3 as FormHeader, bt as Checkbox, bf as ActionBar } from "./EventEmitter-DTdpTyY7.js";
|
|
13
|
+
import { D as DropinLayout } from "./core-BsRrVyKB.js";
|
|
14
14
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
15
15
|
return httpPost({
|
|
16
16
|
baseUrl,
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "de09e0b9-2029-4b52-8c1f-abef4ded72d2", e._sentryDebugIdIdentifier = "sentry-dbid-de09e0b9-2029-4b52-8c1f-abef4ded72d2");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
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,
|
|
12
|
+
import { u as useI18nContext, D as useForm, T as Typography, F as Field, b6 as RadioGroupCard, B as Button, d8 as Svg, i as LegalEntityType } from "./EventEmitter-DTdpTyY7.js";
|
|
13
13
|
const setupAccountMethods = ["singpass", "manual"];
|
|
14
14
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
15
15
|
const getSingpassSelectionDisabled = (legalEntityType) => {
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f8f82bd0-9fcb-49f9-9341-55682329154d", e._sentryDebugIdIdentifier = "sentry-dbid-f8f82bd0-9fcb-49f9-9341-55682329154d");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { u as useI18nContext,
|
|
12
|
+
import { u as useI18nContext, al as TaskStatus } from "./EventEmitter-DTdpTyY7.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";
|
|
@@ -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] = "e93f9560-7f70-40d9-8e3d-ff76f81f9cc9", e._sentryDebugIdIdentifier = "sentry-dbid-e93f9560-7f70-40d9-8e3d-ff76f81f9cc9");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useMemo, useEffect, useCallback, useRef } from "preact/hooks";
|
|
12
|
-
import { m as useApiContext, p as useQuery, q as httpGet, U as useInvalidateRootLegalEntity, a5 as useMutation, a4 as httpPost, i as LegalEntityType, l as localizeDateString, T as Typography,
|
|
13
|
-
import { f as formatObject, T as TileGroup, r as createDocumentRequest, u as useCreateLegalEntity, a as useUpdateLegalEntity, d as getPropsFromConfigurations, e as getRequiredForms, h as addValidityToForms, i as useFormComposer, v as documentApiUtils } from "./CreateIndividualComponent-
|
|
14
|
-
import { A as Avatar, v as validateDateNotInTheFuture, n as normalizedTaskStatusStore, h as hasDataChanged, F as FormWrapper } from "./core-
|
|
12
|
+
import { m as useApiContext, p as useQuery, q as httpGet, U as useInvalidateRootLegalEntity, a5 as useMutation, a4 as httpPost, i as LegalEntityType, l as localizeDateString, T as Typography, e6 as Currencies, u as useI18nContext, F as Field, e7 as InputGroup, t as Select, I as InputText, y as InputDate, b7 as TextArea, R as RadioGroup, b9 as CountryField, aj as Modal, ap as Alert, B as Button, at as Confirm, k as isEmpty, D as useForm, G as useGlobalDataSlice, H as ErrorPanel, J as createFormUtils, a0 as Loader, a1 as Icon, $ as getFormProps, aq as Card, ar as StructuredList, as as IconButton, d6 as isEmpty$1, d8 as Svg, dv as List, W as useToastContext, au as createLogger, e8 as Dropzone, a6 as useQueryClient, a2 as useLegalEntity, X as useStateContext, a as useAnalyticsContext, e9 as useLegalEntities, an as ROOT_LE } from "./EventEmitter-DTdpTyY7.js";
|
|
13
|
+
import { f as formatObject, T as TileGroup, r as createDocumentRequest, u as useCreateLegalEntity, a as useUpdateLegalEntity, d as getPropsFromConfigurations, e as getRequiredForms, h as addValidityToForms, i as useFormComposer, v as documentApiUtils } from "./CreateIndividualComponent-C3uFsTUT.js";
|
|
14
|
+
import { A as Avatar, v as validateDateNotInTheFuture, n as normalizedTaskStatusStore, h as hasDataChanged, F as FormWrapper } from "./core-BsRrVyKB.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-CwVf62zO.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";
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "858c9874-0cdd-4a14-b5d9-c9d3dd6e7a65", e._sentryDebugIdIdentifier = "sentry-dbid-858c9874-0cdd-4a14-b5d9-c9d3dd6e7a65");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
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,
|
|
12
|
+
import { a0 as Loader, a1 as Icon, u as useI18nContext, al as TaskStatus, dd as KEYBOARD_KEYS } from "./EventEmitter-DTdpTyY7.js";
|
|
13
13
|
const tag = "adyen-kyc-tag";
|
|
14
14
|
const tagGrey = "adyen-kyc-tag-grey";
|
|
15
15
|
const tagBlue = "adyen-kyc-tag-blue";
|
|
@@ -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] = "df49878d-e229-4389-8fdf-d612ee977521", e._sentryDebugIdIdentifier = "sentry-dbid-df49878d-e229-4389-8fdf-d612ee977521");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
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,
|
|
13
|
-
import { a as useUpdateLegalEntity, J as useMultiForm, e as getRequiredForms, h as addValidityToForms, i as useFormComposer, K as FormContextProvider, L as FormFlow } from "./CreateIndividualComponent-
|
|
12
|
+
import { m as useApiContext, p as useQuery, q as httpGet, T as Typography, u as useI18nContext, cQ as useFormContext, ap as Alert, F as Field, R as RadioGroup, $ as getFormProps, a1 as Icon, d6 as isEmpty, d8 as Svg, B as Button, aq as Card, ar as StructuredList, as as IconButton, k as isEmpty$1, U as useInvalidateRootLegalEntity, a as useAnalyticsContext, a2 as useLegalEntity, au as createLogger, a0 as Loader, an as ROOT_LE } from "./EventEmitter-DTdpTyY7.js";
|
|
13
|
+
import { a as useUpdateLegalEntity, J as useMultiForm, e as getRequiredForms, h as addValidityToForms, i as useFormComposer, K as FormContextProvider, L as FormFlow } from "./CreateIndividualComponent-C3uFsTUT.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-CwVf62zO.js";
|
|
16
|
+
import { n as normalizedTaskStatusStore } from "./core-BsRrVyKB.js";
|
|
17
17
|
const getTaxClassification = async (legalEntityId, baseUrl) => {
|
|
18
18
|
return httpGet({
|
|
19
19
|
baseUrl,
|
|
@@ -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] = "2b3cc067-2ebd-4fdf-8df4-a2c47556209e", e._sentryDebugIdIdentifier = "sentry-dbid-2b3cc067-2ebd-4fdf-8df4-a2c47556209e");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { r as reverseMapping,
|
|
12
|
-
import { n as getDocument, o as mapExistingFile, q as getPageName, f as formatObject, r as createDocumentRequest, v as documentApiUtils, c as useScenarioConfiguration, B as augmentWithCountryConfigs, d as getPropsFromConfigurations, M as getFieldsWithExistingData, e as getRequiredForms, h as addValidityToForms, u as useCreateLegalEntity, a as useUpdateLegalEntity, i as useFormComposer, j as composePerScenarioFormConfigurations, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, g as getProp, N as useCapabilityProblems, O as getProblemsForEntity } from "./CreateIndividualComponent-
|
|
11
|
+
import { r as reverseMapping, dE as operationalAddressIsSameIds, dW as updateTaxInformation, i as LegalEntityType, a7 as createFormRules, ae as TaskTypes, dX as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, dY as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, dZ as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, ac as CountryCodes, d_ as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, d$ as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, dI as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, e0 as trustComponentsKeyMapping, e1 as trustApiKeyMapping, X as useStateContext, m as useApiContext, u as useI18nContext, a as useAnalyticsContext, V as datasetUtilities, b as useExperimentsContext, W as useToastContext, _ as getAssociatedLeAnalyticsPayload, e2 as trustDocumentMapping, e3 as trustForms, e4 as Trust, j as cloneObject, a3 as getLegalEntityCountry, a_ as resolveFieldMetadata, dL as defaultFieldMetadata, dM as inferCompanyRegistrationNumberType, dN as getCompanyRegistrationNumberOptions, dO as defaultFieldConfig, cm as defaultFieldMetadata$1, dP as countryToTaxInfoTypeMap, cn as defaultFieldConfig$1, cH as mapAddressLabels, e5 as trustConstitutionalDocumentFormId, k as isEmpty, h as drop, bd as getOwnEntityAssociations, a2 as useLegalEntity, dg as useCapabilities, aI as EntityType, a0 as Loader, aa as keysOf, az as skipToken, an as ROOT_LE } from "./EventEmitter-DTdpTyY7.js";
|
|
12
|
+
import { n as getDocument, o as mapExistingFile, q as getPageName, f as formatObject, r as createDocumentRequest, v as documentApiUtils, c as useScenarioConfiguration, B as augmentWithCountryConfigs, d as getPropsFromConfigurations, M as getFieldsWithExistingData, e as getRequiredForms, h as addValidityToForms, u as useCreateLegalEntity, a as useUpdateLegalEntity, i as useFormComposer, j as composePerScenarioFormConfigurations, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, g as getProp, N as useCapabilityProblems, O as getProblemsForEntity } from "./CreateIndividualComponent-C3uFsTUT.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-BsRrVyKB.js";
|
|
15
15
|
const mapApiDocumentToTrustDocument = (entityId) => {
|
|
16
16
|
const constitutionalDocument = getDocument(entityId, "constitutionalDocument") || null;
|
|
17
17
|
return {
|
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-BsRrVyKB.js";
|
|
11
|
+
import { p as propsToCoreOptions } from "./utils-Du6OO4ZK.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] = "8b122558-1eb6-4d2d-a8c3-47158405f6ff", e._sentryDebugIdIdentifier = "sentry-dbid-8b122558-1eb6-4d2d-a8c3-47158405f6ff");
|
|
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, E as EEA_Countries, 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, G as useGlobalDataSlice, H as ErrorPanel, J as createFormUtils, K as useGlobalData, N as getAddressSchemaForCountry, O as COUNTRIES_WITH_STATES_DATASET, P as Address, Q as getAddressSchemaLabelsByCountry, U as useInvalidateRootLegalEntity, 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 useQueryClient, a7 as createFormRules, a8 as mapPayoutAccountSchemaToApiBankAccount, a9 as payoutComponentKeyMapping, aa as keysOf, ab as summaryItem, ac as CountryCodes, ad as getLegalEntityNameBasedOnType, ae as TaskTypes, af as
|
|
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, E as EEA_Countries, 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, G as useGlobalDataSlice, H as ErrorPanel, J as createFormUtils, K as useGlobalData, N as getAddressSchemaForCountry, O as COUNTRIES_WITH_STATES_DATASET, P as Address, Q as getAddressSchemaLabelsByCountry, U as useInvalidateRootLegalEntity, 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 useQueryClient, a7 as createFormRules, a8 as mapPayoutAccountSchemaToApiBankAccount, a9 as payoutComponentKeyMapping, aa as keysOf, ab as summaryItem, ac as CountryCodes, ad as getLegalEntityNameBasedOnType, ae as TaskTypes, af as isInstantVerifiedAccount, ag as getCapabilityProblems, ah as isProviderWidgetInline, ai as payoutSteps, aj as Modal, ak as PayoutDetails, al as TaskStatus, am as Skeleton, an as ROOT_LE, ao as httpDelete, ap as Alert, aq as Card, ar as StructuredList, as as IconButton, at as Confirm, au as createLogger, av as useDataset, aw as datasetIdentifier, ax as useLocalStorage, ay as getLegalRepresentative, az as skipToken, aA as doesLegalEntityRequiresLegalRepresentative, aB as ProviderButton, aC as isPartOfTrustFromLegalEntity, aD as hasSolePropInLegalEntity, aE as hasOwnEntityAssociationOfType, aF as isEmptyEntity, aG as CompanyTypesValue, aH as useAccountHolder, aI as EntityType, aJ as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, aK as handleKeys, aL as noop, aM as getObscuredAccountNumber, aN as useGetTaskStatus, aO as CardGroup, aP as useSetting, aQ as useSignalValue, aR as useGlobalStore, aS as isPartOfUnincorporatedPartnership, aT as getOwnSignatories, aU as getOwnDecisionMakersLegalEntityIds, aV as getOwnSolePropProblems, aW as getOwnTrustProblems, aX as getOwnUnincorporatedPartnershipProblems, aY as TrustMemberTypes, aZ as mergeFieldMetadataIntoProps, a_ as resolveFieldMetadata, a$ as defaultFieldMetadata, b0 as defaultFieldConfig, b1 as getFieldProps, b2 as nameFields, b3 as FormHeader, b4 as MultiSelectList, b5 as makeSelectItemForRole, b6 as RadioGroupCard, b7 as TextArea, b8 as Name, b9 as CountryField, ba as COUNTRY_FIELD, bb as LegalCompanyNameField, bc as LEGAL_COMPANY_NAME_FIELD, bd as getOwnEntityAssociations, be as getRoleName, bf as ActionBar, bg as UnincorporatedPartnershipMemberTypes, bh as getDecisionMakerDescriptionMap, bi as TRUST_DEFAULT_DESCRIPTIONS_MAP, bj as getRoleTagVariant, bk as DEFAULT_TRUST_MEMBER_REQUIREMENTS, bl as ContextGuidance, bm as deleteUnincorporatedPartnershipMember, bn as mapEntityAssociationsToUnincorporatedPartnershipMembers, bo as hasAllCapabilitiesResolved, bp as hasRejectedCapabilities, bq as getPayoutAccountHolderName, br as TrustedFieldsProvider, bs as getOwnDecisionMakers, bt as Checkbox, bu as listify, bv as isUndefinedOrNull, bw as useAllowedCountries, bx as AlertIcon, by as uuidv4, bz as EventEmitter, bA as SettingsProvider, bB as ExperimentsContextProvider, bC as ApiProvider, bD as QueryClientProvider, bE as StoreProvider, bF as AnalyticsProvider, bG as I18nProvider, bH as DebugListener, bI as ToastContextProvider, bJ as StateProvider, bK as ReactQueryDevtools2, n as normalizeEnvironment, bL as FALLBACK_LOCALE, bM as setSdkToken, bN as setSdkTokenHandler } from "./EventEmitter-DTdpTyY7.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-Dsv4mY-k.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, g as getProp, u as useCreateLegalEntity, a as useUpdateLegalEntity, b as useAssociatedLegalEntity, c as useScenarioConfiguration, d as getPropsFromConfigurations, e as getRequiredForms, h as addValidityToForms, i 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 documentApiUtils, w as useUnifyLoadingStatus, x as omitObscuredFieldsIfUnchanged, y as isIdDocumentUploadError, z as isBankStatementUploadError, A as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable, B as augmentWithCountryConfigs, D as getFileExtention, E as useTrustMembers, G as useSingpassMyInfoLogin, C as CreateIndividualComponent } from "./CreateIndividualComponent-
|
|
14
|
+
import { t as trackNavigation, F as FormRouterContextProvider, f as formatObject, g as getProp, u as useCreateLegalEntity, a as useUpdateLegalEntity, b as useAssociatedLegalEntity, c as useScenarioConfiguration, d as getPropsFromConfigurations, e as getRequiredForms, h as addValidityToForms, i 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 documentApiUtils, w as useUnifyLoadingStatus, x as omitObscuredFieldsIfUnchanged, y as isIdDocumentUploadError, z as isBankStatementUploadError, A as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable, B as augmentWithCountryConfigs, D as getFileExtention, E as useTrustMembers, G as useSingpassMyInfoLogin, C as CreateIndividualComponent } from "./CreateIndividualComponent-C3uFsTUT.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-DzTphBn7.js";
|
|
17
17
|
import { lazy, Suspense } from "preact/compat";
|
|
18
18
|
import { signal } from "@preact/signals";
|
|
19
19
|
import { render } from "preact";
|
|
@@ -2338,16 +2338,6 @@ const useUpdateTransferInstrument = (options) => {
|
|
|
2338
2338
|
...options
|
|
2339
2339
|
});
|
|
2340
2340
|
};
|
|
2341
|
-
function isTransferInstrument(account) {
|
|
2342
|
-
return account.bankAccount !== void 0;
|
|
2343
|
-
}
|
|
2344
|
-
const isInstantVerifiedAccount = (account) => Boolean(
|
|
2345
|
-
isTransferInstrument(account) ? account.bankAccount.trustedSource : account.trustedSource
|
|
2346
|
-
);
|
|
2347
|
-
const getObscuredAccountNumber = ({
|
|
2348
|
-
accountIdentifier,
|
|
2349
|
-
realLastFour
|
|
2350
|
-
}) => realLastFour ? `*******${realLastFour}` : accountIdentifier;
|
|
2351
2341
|
const accountFormatsImports = /* @__PURE__ */ Object.assign({ "../accountFormats/AD.json": () => import("./AD-CyP5INSp.js"), "../accountFormats/AE.json": () => import("./AE-mIZ12t47.js"), "../accountFormats/AI.json": () => import("./AI-CYOqGKk2.js"), "../accountFormats/AL.json": () => import("./AL-BX1fEo1A.js"), "../accountFormats/AR.json": () => import("./AR-C9kMRnHG.js"), "../accountFormats/AS.json": () => import("./AS-B0TMZQ6o.js"), "../accountFormats/AT.json": () => import("./AT-DJLlevck.js"), "../accountFormats/AU.json": () => import("./AU-B5LSe4bo.js"), "../accountFormats/AX.json": () => import("./AX-Z6f6EnJc.js"), "../accountFormats/AZ.json": () => import("./AZ-BqrKjWMH.js"), "../accountFormats/BA.json": () => import("./BA-BbP72Tn6.js"), "../accountFormats/BE.json": () => import("./BE-B-m_4F41.js"), "../accountFormats/BG.json": () => import("./BG-BVR5ytc-.js"), "../accountFormats/BH.json": () => import("./BH-Ded1Eyrc.js"), "../accountFormats/BM.json": () => import("./BM-CBl-UQUl.js"), "../accountFormats/BR.json": () => import("./BR-DsY9PZVZ.js"), "../accountFormats/BS.json": () => import("./BS-dBfArxRw.js"), "../accountFormats/BV.json": () => import("./BV-D0QBsH7-.js"), "../accountFormats/BY.json": () => import("./BY-BsQUo3fM.js"), "../accountFormats/CA.json": () => import("./CA-DT4cmOOe.js"), "../accountFormats/CH.json": () => import("./CH-CesIKOYy.js"), "../accountFormats/CN.json": () => import("./CN-BV-5PSpq.js"), "../accountFormats/CR.json": () => import("./CR-Dtv-rXg9.js"), "../accountFormats/CY.json": () => import("./CY-BnJ7k_mN.js"), "../accountFormats/CZ.json": () => import("./CZ-BhoS6sd6.js"), "../accountFormats/DE.json": () => import("./DE-DdcbG-CC.js"), "../accountFormats/DK.json": () => import("./DK-DA8qRrzq.js"), "../accountFormats/DO.json": () => import("./DO-B1BWc3Iy.js"), "../accountFormats/EC.json": () => import("./EC-DbNXe71-.js"), "../accountFormats/EE.json": () => import("./EE-CaXoPgZz.js"), "../accountFormats/ES.json": () => import("./ES-Bt_oaIaf.js"), "../accountFormats/FI.json": () => import("./FI-C5V3lLuN.js"), "../accountFormats/FJ.json": () => import("./FJ-CBdbPf5l.js"), "../accountFormats/FO.json": () => import("./FO-1pD1p939.js"), "../accountFormats/FR.json": () => import("./FR-Bc1tLIC4.js"), "../accountFormats/GB.json": () => import("./GB-CCYHTagl.js"), "../accountFormats/GE.json": () => import("./GE-Deog1a3Z.js"), "../accountFormats/GF.json": () => import("./GF-Cda8N7A4.js"), "../accountFormats/GG.json": () => import("./GG-BGuqxplU.js"), "../accountFormats/GI.json": () => import("./GI-CROkpYrU.js"), "../accountFormats/GL.json": () => import("./GL-0vO9Of9c.js"), "../accountFormats/GP.json": () => import("./GP-za-3opp-.js"), "../accountFormats/GR.json": () => import("./GR-B9c2boG8.js"), "../accountFormats/GT.json": () => import("./GT-C1jhs-Dx.js"), "../accountFormats/GU.json": () => import("./GU-CALV5vh1.js"), "../accountFormats/HK.json": () => import("./HK-BB3PIq-Z.js"), "../accountFormats/HR.json": () => import("./HR-p4luVYpu.js"), "../accountFormats/HU.json": () => import("./HU-v3vOxRm8.js"), "../accountFormats/ID.json": () => import("./ID-BcOv4SXj.js"), "../accountFormats/IE.json": () => import("./IE-Cli_j7Al.js"), "../accountFormats/IL.json": () => import("./IL-CQ0yHRRe.js"), "../accountFormats/IM.json": () => import("./IM-mpIyBn16.js"), "../accountFormats/IN.json": () => import("./IN-BhEI9o7G.js"), "../accountFormats/IS.json": () => import("./IS-02zCAdvq.js"), "../accountFormats/IT.json": () => import("./IT-CzURFhrK.js"), "../accountFormats/JE.json": () => import("./JE-MFwIYti7.js"), "../accountFormats/JM.json": () => import("./JM-BMGgBK6y.js"), "../accountFormats/JO.json": () => import("./JO-rY8A8f9C.js"), "../accountFormats/JP.json": () => import("./JP-BQG5dF1Y.js"), "../accountFormats/KR.json": () => import("./KR-74SwXHka.js"), "../accountFormats/KW.json": () => import("./KW-CcVPOJ8B.js"), "../accountFormats/KY.json": () => import("./KY-DXCeltYA.js"), "../accountFormats/KZ.json": () => import("./KZ-CZNjdp22.js"), "../accountFormats/LB.json": () => import("./LB-DZ5YfAsO.js"), "../accountFormats/LI.json": () => import("./LI-DA06W10W.js"), "../accountFormats/LT.json": () => import("./LT-DuU6E2Ct.js"), "../accountFormats/LU.json": () => import("./LU-BQHhNpDy.js"), "../accountFormats/LV.json": () => import("./LV-DN7wckbP.js"), "../accountFormats/MC.json": () => import("./MC-DtSWC4jS.js"), "../accountFormats/MD.json": () => import("./MD-DVc0183a.js"), "../accountFormats/ME.json": () => import("./ME-DiJhSuli.js"), "../accountFormats/MK.json": () => import("./MK-BZxslBTS.js"), "../accountFormats/MP.json": () => import("./MP-7IpnbfCj.js"), "../accountFormats/MQ.json": () => import("./MQ-DusG_no1.js"), "../accountFormats/MR.json": () => import("./MR-DaBVNHqN.js"), "../accountFormats/MT.json": () => import("./MT-DeDMQ1f_.js"), "../accountFormats/MU.json": () => import("./MU-D3gGVu1R.js"), "../accountFormats/MX.json": () => import("./MX-CZVOFg3D.js"), "../accountFormats/MY.json": () => import("./MY-ym71svTa.js"), "../accountFormats/NC.json": () => import("./NC-xzMvjp9-.js"), "../accountFormats/NL.json": () => import("./NL-aVL0NAp-.js"), "../accountFormats/NO.json": () => import("./NO-D7EOiQA1.js"), "../accountFormats/NZ.json": () => import("./NZ-BP7_Q9Om.js"), "../accountFormats/PE.json": () => import("./PE-CdxgPh3v.js"), "../accountFormats/PF.json": () => import("./PF-CstaOd9Z.js"), "../accountFormats/PH.json": () => import("./PH-BYgMDYIH.js"), "../accountFormats/PK.json": () => import("./PK-bLhtgsEk.js"), "../accountFormats/PL.json": () => import("./PL-Bg7axKQA.js"), "../accountFormats/PM.json": () => import("./PM-BWbxAh4u.js"), "../accountFormats/PR.json": () => import("./PR-CFPKXEXp.js"), "../accountFormats/PS.json": () => import("./PS-B8obOOWY.js"), "../accountFormats/PT.json": () => import("./PT-hB1HnBM2.js"), "../accountFormats/QA.json": () => import("./QA-CSfx-mvb.js"), "../accountFormats/RE.json": () => import("./RE-BApq1FJ6.js"), "../accountFormats/RO.json": () => import("./RO-BLlC4CKq.js"), "../accountFormats/RS.json": () => import("./RS-BCenke-W.js"), "../accountFormats/RU.json": () => import("./RU-D27RC7dq.js"), "../accountFormats/SA.json": () => import("./SA-C9VgxCgm.js"), "../accountFormats/SE.json": () => import("./SE-q25Qt85B.js"), "../accountFormats/SG.json": () => import("./SG-DoCqjlFi.js"), "../accountFormats/SI.json": () => import("./SI-BzA-ozn6.js"), "../accountFormats/SJ.json": () => import("./SJ-Z9jwQQlz.js"), "../accountFormats/SK.json": () => import("./SK-DOTdLJPw.js"), "../accountFormats/SM.json": () => import("./SM-B4BIgmhk.js"), "../accountFormats/TF.json": () => import("./TF-BOWng-Dz.js"), "../accountFormats/TH.json": () => import("./TH-CvyXLcZK.js"), "../accountFormats/TL.json": () => import("./TL-BWslydRz.js"), "../accountFormats/TN.json": () => import("./TN-Cjd3bM_V.js"), "../accountFormats/TR.json": () => import("./TR-BBx5CuWS.js"), "../accountFormats/TT.json": () => import("./TT-D4-z5BA-.js"), "../accountFormats/TW.json": () => import("./TW-BC8YpnMr.js"), "../accountFormats/UA.json": () => import("./UA-DrXUnAe6.js"), "../accountFormats/US.json": () => import("./US-D8dI5_i1.js"), "../accountFormats/UY.json": () => import("./UY-DEHqLXhX.js"), "../accountFormats/VA.json": () => import("./VA-bPXdCnwD.js"), "../accountFormats/VG.json": () => import("./VG-DnKAVCsi.js"), "../accountFormats/VI.json": () => import("./VI-CU9MA9ux.js"), "../accountFormats/VN.json": () => import("./VN-CTSqsmB6.js"), "../accountFormats/WF.json": () => import("./WF-CwHbsjtJ.js"), "../accountFormats/YT.json": () => import("./YT-BCyAAbo7.js"), "../accountFormats/ZA.json": () => import("./ZA-NU7slima.js") });
|
|
2352
2342
|
const getAccountFormatsForCountry = async (country) => {
|
|
2353
2343
|
const importForCountry = accountFormatsImports[`../accountFormats/${country}.json`];
|
|
@@ -4114,7 +4104,7 @@ const getAccountTaskStatus = (accountId, taskStatusEntries) => {
|
|
|
4114
4104
|
const taskStatusEntry = taskStatusEntries == null ? void 0 : taskStatusEntries.find((entry) => entry.id.includes(accountId));
|
|
4115
4105
|
if (!taskStatusEntry) {
|
|
4116
4106
|
console.warn(`No task status for this account: ${accountId}`);
|
|
4117
|
-
return TaskStatus.
|
|
4107
|
+
return TaskStatus.UNKNOWN;
|
|
4118
4108
|
}
|
|
4119
4109
|
return TaskStatus[taskStatusEntry.status];
|
|
4120
4110
|
};
|
|
@@ -4276,12 +4266,14 @@ const PayoutAccountTaskListItem = ({
|
|
|
4276
4266
|
var _a;
|
|
4277
4267
|
const { i18n } = useI18nContext();
|
|
4278
4268
|
const { showToast } = useToastContext();
|
|
4269
|
+
const { isExperimentEnabled } = useExperimentsContext();
|
|
4279
4270
|
const { mutateAsync: deleteTransferInstrument2 } = useDeleteTransferInstrument();
|
|
4280
|
-
const accountTaskStatus = getAccountTaskStatus(account.id, taskStatusEntries);
|
|
4281
4271
|
const [isDeletingTransferInstrument, setIsDeletingTransferInstrument] = useState(false);
|
|
4282
4272
|
const isInstantVerificationAccount = isInstantVerifiedAccount(account);
|
|
4283
4273
|
const [isRemoveDisabled, setIsRemoveDisabled] = useState(false);
|
|
4284
4274
|
const obscuredAccountNumber = getObscuredAccountNumber(account);
|
|
4275
|
+
const getTaskStatus2 = useGetTaskStatus();
|
|
4276
|
+
const status = isExperimentEnabled("UseTaskStatusApiForPayout") ? getAccountTaskStatus(account.id, taskStatusEntries) : getTaskStatus2(TaskTypes.PAYOUT, account.id);
|
|
4285
4277
|
const handleDeleteTransferInstrument = async () => {
|
|
4286
4278
|
try {
|
|
4287
4279
|
await deleteTransferInstrument2(account.id);
|
|
@@ -4293,12 +4285,12 @@ const PayoutAccountTaskListItem = ({
|
|
|
4293
4285
|
return /* @__PURE__ */ jsx(
|
|
4294
4286
|
TaskListItem,
|
|
4295
4287
|
{
|
|
4296
|
-
disabled: isInstantVerificationAccount &&
|
|
4288
|
+
disabled: isInstantVerificationAccount && status === TaskStatus.PROCESSING,
|
|
4297
4289
|
onNavigateToTask: isInstantVerificationAccount ? void 0 : onNavigateToTask,
|
|
4298
4290
|
icon: "payout",
|
|
4299
4291
|
titleKey: "accountNumber",
|
|
4300
4292
|
title: obscuredAccountNumber,
|
|
4301
|
-
status
|
|
4293
|
+
status,
|
|
4302
4294
|
problems: (_a = capabilityProblems == null ? void 0 : capabilityProblems.BankAccount) == null ? void 0 : _a[account.id],
|
|
4303
4295
|
loading: isDeletingTransferInstrument,
|
|
4304
4296
|
removeEntity: () => {
|
|
@@ -6902,50 +6894,50 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
6902
6894
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
6903
6895
|
};
|
|
6904
6896
|
const Introduction = lazy(
|
|
6905
|
-
async () => (await import("./Introduction-
|
|
6897
|
+
async () => (await import("./Introduction-C16zT64A.js")).Introduction
|
|
6906
6898
|
);
|
|
6907
6899
|
const BusinessTypeSelection = lazy(
|
|
6908
|
-
async () => (await import("./BusinessTypeSelection-
|
|
6900
|
+
async () => (await import("./BusinessTypeSelection-wbCak0Us.js")).BusinessTypeSelection
|
|
6909
6901
|
);
|
|
6910
6902
|
const SingpassSelection = lazy(
|
|
6911
|
-
async () => (await import("./SingpassSelection-
|
|
6903
|
+
async () => (await import("./SingpassSelection-Biuh42TV.js")).SingpassSelection
|
|
6912
6904
|
);
|
|
6913
6905
|
const AccountSetupRejected = lazy(
|
|
6914
|
-
async () => (await import("./AccountSetupRejected-
|
|
6906
|
+
async () => (await import("./AccountSetupRejected-Cz2iWdPE.js")).AccountSetupRejected
|
|
6915
6907
|
);
|
|
6916
6908
|
const DecisionMakers = lazy(
|
|
6917
|
-
async () => (await import("./DecisionMakers-
|
|
6909
|
+
async () => (await import("./DecisionMakers-L6oYW0-J.js")).DecisionMakers
|
|
6918
6910
|
);
|
|
6919
6911
|
const CustomerSupport = lazy(
|
|
6920
|
-
async () => (await import("./CustomerSupport-
|
|
6912
|
+
async () => (await import("./CustomerSupport-BuxhbwRm.js")).CustomerSupport
|
|
6921
6913
|
);
|
|
6922
|
-
const Review = lazy(async () => (await import("./Review-
|
|
6914
|
+
const Review = lazy(async () => (await import("./Review-BbsJ9Iv_.js")).Review);
|
|
6923
6915
|
const SignPCIComponent$2 = lazy(
|
|
6924
6916
|
async () => (await Promise.resolve().then(() => SignPCIComponent$1)).SignPCIComponent
|
|
6925
6917
|
);
|
|
6926
6918
|
const AcceptTermsOfService = lazy(
|
|
6927
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
6919
|
+
async () => (await import("./AcceptTermsOfServiceComponent-Dsv4mY-k.js").then((n) => n.c)).AcceptTermsOfServiceComponent
|
|
6928
6920
|
);
|
|
6929
6921
|
const TaxReportingDropin = lazy(
|
|
6930
|
-
async () => (await import("./TaxReportingDropin-
|
|
6922
|
+
async () => (await import("./TaxReportingDropin-xDar-7mC.js")).TaxReportingDropin
|
|
6931
6923
|
);
|
|
6932
6924
|
const PayoutDetailsDropin = lazy(
|
|
6933
6925
|
async () => (await Promise.resolve().then(() => PayoutDetailsDropin$2)).PayoutDetailsDropin
|
|
6934
6926
|
);
|
|
6935
6927
|
const BusinessDetailsDropin = lazy(
|
|
6936
|
-
async () => (await import("./BusinessDetailsDropin
|
|
6928
|
+
async () => (await import("./BusinessDetailsDropin-CxJ7Ga0q.js")).BusinessDetailsDropin
|
|
6937
6929
|
);
|
|
6938
6930
|
const BusinessFinancingDropin = lazy(
|
|
6939
6931
|
async () => (await Promise.resolve().then(() => BusinessFinancingDropin$2)).BusinessFinancingDropin
|
|
6940
6932
|
);
|
|
6941
6933
|
const TrustOuter = lazy(
|
|
6942
|
-
async () => (await import("./TrustOuter-
|
|
6934
|
+
async () => (await import("./TrustOuter-2GEllVo3.js")).TrustOuter
|
|
6943
6935
|
);
|
|
6944
6936
|
const SourceOfFundsDropin = lazy(
|
|
6945
|
-
async () => (await import("./SourceOfFundsDropin-
|
|
6937
|
+
async () => (await import("./SourceOfFundsDropin-Bz8cTP4R.js")).SourceOfFundsDropin
|
|
6946
6938
|
);
|
|
6947
6939
|
const IndividualOuter = lazy(
|
|
6948
|
-
async () => (await import("./CreateIndividualComponent-
|
|
6940
|
+
async () => (await import("./CreateIndividualComponent-C3uFsTUT.js").then((n) => n.P)).IndividualOuter
|
|
6949
6941
|
);
|
|
6950
6942
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
6951
6943
|
const logger$1 = createLogger();
|
|
@@ -8365,7 +8357,7 @@ class UIElement extends BaseElement {
|
|
|
8365
8357
|
baseUrl: this.props.baseUrl,
|
|
8366
8358
|
children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
8367
8359
|
/* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
8368
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.71.
|
|
8360
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.71.3" }),
|
|
8369
8361
|
/* @__PURE__ */ jsx(
|
|
8370
8362
|
AnalyticsProvider,
|
|
8371
8363
|
{
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-B_DAGmya.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-DpZpuM-4.js";
|
|
13
|
+
import { n as normalizeEnvironment } from "./EventEmitter-DTdpTyY7.js";
|
|
14
|
+
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-C3uFsTUT.js";
|
|
15
|
+
import { e as environmentMap } from "./utils-Du6OO4ZK.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-B_DAGmya.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-DpZpuM-4.js";
|
|
13
|
+
import { n as normalizeEnvironment } from "./EventEmitter-DTdpTyY7.js";
|
|
14
|
+
import { A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-Dsv4mY-k.js";
|
|
15
|
+
import { e as environmentMap } from "./utils-Du6OO4ZK.js";
|
|
16
16
|
class AdyenTermsOfService extends HTMLElement {
|
|
17
17
|
constructor() {
|
|
18
18
|
super();
|
|
@@ -3,6 +3,6 @@ import type { NormalizedTaskStatus, TaskStatusApiResponse } from '../../../../st
|
|
|
3
3
|
import { TaskStatus } from '../../../../stores/globalStore/taskStatus';
|
|
4
4
|
export declare const normalizeTaskStatuses: (taskStatuses: TaskStatusApiResponse | undefined) => NormalizedTaskStatus | undefined;
|
|
5
5
|
export declare const TASK_STATUS_POLLING_INTERVAL_MS = 3000;
|
|
6
|
-
export declare const getAccountTaskStatus: (accountId: string, taskStatusEntries?: TaskStatusEntry[]) => TaskStatus.FINISHED | TaskStatus.PROCESSING | TaskStatus.DETAILS_REQUIRED | TaskStatus.ERROR;
|
|
6
|
+
export declare const getAccountTaskStatus: (accountId: string, taskStatusEntries?: TaskStatusEntry[]) => TaskStatus.FINISHED | TaskStatus.PROCESSING | TaskStatus.DETAILS_REQUIRED | TaskStatus.ERROR | TaskStatus.UNKNOWN;
|
|
7
7
|
export declare const normalizedTaskStatusStore: import("@preact/signals-core").Signal<NormalizedTaskStatus>;
|
|
8
8
|
export declare const setNormalizedTaskStatusStore: (taskStatus: NormalizedTaskStatus | undefined) => void;
|
|
@@ -110,6 +110,11 @@ export declare enum ExperimentNames {
|
|
|
110
110
|
* Enable guided decision makers workflow with questionnaire
|
|
111
111
|
*/
|
|
112
112
|
EnableGuidedDecisionMakersFlow = "EnableGuidedDecisionMakersFlow",
|
|
113
|
+
/**
|
|
114
|
+
* Use the status calculated on the backend for the payout task.
|
|
115
|
+
* If false, instead compute the status from capabilities and problems on the root LE.
|
|
116
|
+
*/
|
|
117
|
+
UseTaskStatusApiForPayout = "UseTaskStatusApiForPayout",
|
|
113
118
|
/**
|
|
114
119
|
*
|
|
115
120
|
*/
|
|
@@ -2,17 +2,19 @@ import type { ExistingLegalEntity } from '../../core/models/api/legal-entity';
|
|
|
2
2
|
import type { LegalEntityAssociation } from '../../core/models/api/legal-entity-association';
|
|
3
3
|
import type { CapabilityProblems } from '../../core/models/errors/capability-problems';
|
|
4
4
|
import type { AccountHolderOption } from '../../core/types/AccountHolder.types';
|
|
5
|
+
import type { TransferInstrumentOverview } from '../../core/models/api/transfer-instrument';
|
|
5
6
|
import type { TrustMember } from '../../components/Trust/tasks/TrustMembers/types';
|
|
6
7
|
import type { TaskIdentifier } from './globalStore';
|
|
7
8
|
import type { TaskStatusWithReason } from './taskStatus';
|
|
8
9
|
import { TaskTypes } from './taskTypes';
|
|
9
|
-
export declare const calculateTaskStatus: ({ taskIdentifier, capabilityProblems, rootLegalEntity, accountHolder, legalRepresentative, trustMembers, }: {
|
|
10
|
+
export declare const calculateTaskStatus: ({ taskIdentifier, capabilityProblems, rootLegalEntity, accountHolder, legalRepresentative, trustMembers, transferInstruments, }: {
|
|
10
11
|
taskIdentifier: TaskIdentifier;
|
|
11
12
|
capabilityProblems: CapabilityProblems;
|
|
12
13
|
rootLegalEntity: ExistingLegalEntity;
|
|
13
14
|
accountHolder: AccountHolderOption | undefined;
|
|
14
15
|
legalRepresentative: LegalEntityAssociation | undefined;
|
|
15
16
|
trustMembers: TrustMember[];
|
|
17
|
+
transferInstruments: TransferInstrumentOverview[];
|
|
16
18
|
}) => TaskStatusWithReason;
|
|
17
19
|
/**
|
|
18
20
|
* Splits a {@link TaskIdentifier} (e.g. `PAYOUT_ACCOUNT-abc-123`) into the task type and id
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { n as normalizeEnvironment } from "./EventEmitter-
|
|
10
|
+
import { n as normalizeEnvironment } from "./EventEmitter-DTdpTyY7.js";
|
|
11
11
|
const environmentMap = Object.freeze({
|
|
12
12
|
live: "https://live.adyen.com/",
|
|
13
13
|
test: "https://test.adyen.com/"
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8b38c766-3efb-4d34-986f-9644d50c48da", e._sentryDebugIdIdentifier = "sentry-dbid-8b38c766-3efb-4d34-986f-9644d50c48da");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a3 as getLegalEntityCountry,
|
|
11
|
-
import { e as allowIndividualWithoutSoleProp } from "./core-
|
|
12
|
-
import { S as SOLE_PROP_COUNTRIES } from "./CreateIndividualComponent-
|
|
10
|
+
import { a3 as getLegalEntityCountry, dt as getCapabilities, i as LegalEntityType, aE as hasOwnEntityAssociationOfType, aG as CompanyTypesValue, ac as CountryCodes, dV as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./EventEmitter-DTdpTyY7.js";
|
|
11
|
+
import { e as allowIndividualWithoutSoleProp } from "./core-BsRrVyKB.js";
|
|
12
|
+
import { S as SOLE_PROP_COUNTRIES } from "./CreateIndividualComponent-C3uFsTUT.js";
|
|
13
13
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
14
14
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
15
15
|
CountryCodes.UnitedStates,
|