@adyen/kyc-components 3.66.2 → 3.66.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/{AccountSetupRejected-DVh7NV2H.js → AccountSetupRejected-BCmjiF_6.js} +1 -1
- package/dist/{BusinessTypeSelection-2HJti_8F.js → BusinessTypeSelection-eOAjwxqz.js} +1 -1
- package/dist/{CXEL7IU7-Cu3318Ir.js → CXEL7IU7-D1h8gd6-.js} +2 -2
- package/dist/{CustomerSupport-CASwZ4gu.js → CustomerSupport-CSt6Z7t8.js} +1 -1
- package/dist/{DebugModal-Byo_aTIl.js → DebugModal-DRBU-BOq.js} +7 -7
- package/dist/{DecisionMakers-BOKWRvNu.js → DecisionMakers-DLyOK4UM.js} +1 -1
- package/dist/{HASRA6WW-Cru_bjn5.js → HASRA6WW-BD-4MJko.js} +1 -1
- package/dist/{I3HPI4QX-Cz9GeRtD.js → I3HPI4QX-DrgIX5e9.js} +2 -2
- package/dist/{Introduction-h77KchJ3.js → Introduction-C9b9dHyf.js} +1 -1
- package/dist/{Review-Cg40i5oi.js → Review-B7M3nx8s.js} +1 -1
- package/dist/{SingpassSelection-Dw3pv9Bj.js → SingpassSelection-DzsYd_Dd.js} +1 -1
- package/dist/{TaxReportingDropin-Cf98KDXb.js → TaxReportingDropin-CYsGK4_f.js} +1 -1
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +1 -1
- package/dist/{core-3THxSDWA.js → core-CNb92U09.js} +46 -32
- package/dist/{css-DPN_JUQd.js → css-DLMEG7cT.js} +1 -1
- package/dist/{json-7syHrDhU.js → json-CbT4O_Ld.js} +1 -1
- package/dist/{plaintext-DYLD97Bi.js → plaintext-Cr4KGRo-.js} +1 -1
- package/dist/style.css +8 -0
- package/dist/{yaml-dLCAzO5I.js → yaml-YXwE7Rls.js} +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useI18nContext, V as AlertIcon, W as FormHeader, X as DropinLayout } from "./core-
|
|
11
|
+
import { u as useI18nContext, V as AlertIcon, W as FormHeader, X as DropinLayout } from "./core-CNb92U09.js";
|
|
12
12
|
function AccountSetupRejected() {
|
|
13
13
|
const { i18n } = useI18nContext();
|
|
14
14
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { p as useLegalEntity, q as Loader, u as useI18nContext, n as useAnalyticsContext, r as useToastContext, b as useExperimentsContext, w as useSelectionOptions, x as getCapabilities, y as getLegalEntityCountry, z as getBusinessType, A as getDefaultLegalArrangementOrSuborganizationType, L as LegalEntityType, D as useForm, E as legalArrangementMetadata, F as getTargetLegalEntityType, G as LoaderWrapper, H as Typography, J as Field, K as EntityTypeRadioGroupCard, R as RadioGroupCard, B as Button, N as Spacer, h as Icon, O as businessTypeIcons, P as hasSolePropInLegalEntity, Q as determineOrganizationTypeToUpdate } from "./core-
|
|
12
|
+
import { p as useLegalEntity, q as Loader, u as useI18nContext, n as useAnalyticsContext, r as useToastContext, b as useExperimentsContext, w as useSelectionOptions, x as getCapabilities, y as getLegalEntityCountry, z as getBusinessType, A as getDefaultLegalArrangementOrSuborganizationType, L as LegalEntityType, D as useForm, E as legalArrangementMetadata, F as getTargetLegalEntityType, G as LoaderWrapper, H as Typography, J as Field, K as EntityTypeRadioGroupCard, R as RadioGroupCard, B as Button, N as Spacer, h as Icon, O as businessTypeIcons, P as hasSolePropInLegalEntity, Q as determineOrganizationTypeToUpdate } from "./core-CNb92U09.js";
|
|
13
13
|
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") });
|
|
14
14
|
const getBusinessTypeExamplesForCountry = async (country) => {
|
|
15
15
|
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 { aD as getPreferredColorScheme, aE as createMemo, aF as createComponent } from "./core-
|
|
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-BD-4MJko.js";
|
|
11
|
+
import { aD as getPreferredColorScheme, aE as createMemo, aF as createComponent } from "./core-CNb92U09.js";
|
|
12
12
|
var DevtoolsPanelComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useLegalEntity, q as Loader, u as useI18nContext, n as useAnalyticsContext, r as useToastContext, ab as useConfigurationApi, _ as useUpdateLegalEntity, Z as useQueryClient, ac as resolveFieldMetadata, ad as contactDetailsValidationRules, ae as defaultFieldMetadata, af as fieldConfig, ag as getAsyncPhoneValidationRules, ah as useMultiForm, W as FormHeader, ai as ContactDetails, aa as ActionBar, g as createLogger } from "./core-
|
|
11
|
+
import { p as useLegalEntity, q as Loader, u as useI18nContext, n as useAnalyticsContext, r as useToastContext, ab as useConfigurationApi, _ as useUpdateLegalEntity, Z as useQueryClient, ac as resolveFieldMetadata, ad as contactDetailsValidationRules, ae as defaultFieldMetadata, af as fieldConfig, ag as getAsyncPhoneValidationRules, ah as useMultiForm, W as FormHeader, ai as ContactDetails, aa as ActionBar, g as createLogger } from "./core-CNb92U09.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
13
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
14
14
|
var _a, _b, _c;
|
|
@@ -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] = "4f0feb2a-bc11-4993-9716-a78d4ba54917", e._sentryDebugIdIdentifier = "sentry-dbid-4f0feb2a-bc11-4993-9716-a78d4ba54917");
|
|
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, T as Tag, e as entriesOf, I as InputText, u as useI18nContext, s as splitTaskIdentifier, a as TaskItemStatus, b as useExperimentsContext, c as useSettingsContext, d as useGlobalStore, l as listToRecord, v as valuesOf, f as useTaskStatuses, M as Modal, g as createLogger, h as Icon, S as SettingNames } from "./core-
|
|
12
|
+
import { B as Button, T as Tag, e as entriesOf, I as InputText, u as useI18nContext, s as splitTaskIdentifier, a as TaskItemStatus, b as useExperimentsContext, c as useSettingsContext, d as useGlobalStore, l as listToRecord, v as valuesOf, f as useTaskStatuses, M as Modal, g as createLogger, h as Icon, S as SettingNames } from "./core-CNb92U09.js";
|
|
13
13
|
var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
|
|
14
14
|
ExperimentNames2["AllowMoreRolesForMainRootTrustee"] = "AllowMoreRolesForMainRootTrustee";
|
|
15
15
|
ExperimentNames2["ShowUnsupportedEntityType"] = "ShowUnsupportedEntityType";
|
|
@@ -175,10 +175,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
175
175
|
};
|
|
176
176
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
177
177
|
const moduleMap = {
|
|
178
|
-
plaintext: () => import("./plaintext-
|
|
179
|
-
json: () => import("./json-
|
|
180
|
-
yaml: () => import("./yaml-
|
|
181
|
-
css: () => import("./css-
|
|
178
|
+
plaintext: () => import("./plaintext-Cr4KGRo-.js"),
|
|
179
|
+
json: () => import("./json-CbT4O_Ld.js"),
|
|
180
|
+
yaml: () => import("./yaml-YXwE7Rls.js"),
|
|
181
|
+
css: () => import("./css-DLMEG7cT.js")
|
|
182
182
|
};
|
|
183
183
|
const getModule = async (name) => {
|
|
184
184
|
if (!supportedModules.includes(name)) {
|
|
@@ -469,7 +469,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
469
469
|
const [tab, setTab] = useState("metadata");
|
|
470
470
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
471
471
|
const metadata = {
|
|
472
|
-
sdkVersion: "3.66.
|
|
472
|
+
sdkVersion: "3.66.4",
|
|
473
473
|
locale: i18n.locale,
|
|
474
474
|
rootLegalEntityId: rootLegalEntity.id
|
|
475
475
|
};
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useLegalEntity, q as Loader, Y as useGetTaskStatus, u as useI18nContext, n as useAnalyticsContext, r as useToastContext, Z as useQueryClient, _ as useUpdateLegalEntity, $ as getOwnDecisionMakers, a0 as getAvailableDecisionMakerRoleTypes, a1 as useDataMissingRemediations, i as TaskTypes, a2 as getAllowedDecisionMakerRoles, X as DropinLayout, W as FormHeader, a3 as EntityGuidanceStatus, a4 as iconStatus, a5 as ContextGuidance, a6 as DecisionMakerType, a7 as Alert, a8 as CardGroup, a9 as EntityAssociation, B as Button, aa as ActionBar } from "./core-
|
|
11
|
+
import { p as useLegalEntity, q as Loader, Y as useGetTaskStatus, u as useI18nContext, n as useAnalyticsContext, r as useToastContext, Z as useQueryClient, _ as useUpdateLegalEntity, $ as getOwnDecisionMakers, a0 as getAvailableDecisionMakerRoleTypes, a1 as useDataMissingRemediations, i as TaskTypes, a2 as getAllowedDecisionMakerRoles, X as DropinLayout, W as FormHeader, a3 as EntityGuidanceStatus, a4 as iconStatus, a5 as ContextGuidance, a6 as DecisionMakerType, a7 as Alert, a8 as CardGroup, a9 as EntityAssociation, B as Button, aa as ActionBar } from "./core-CNb92U09.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
13
|
const DecisionMakers = (props) => {
|
|
14
14
|
const { data, isLoading } = useLegalEntity();
|
|
@@ -10,7 +10,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
;
|
|
13
|
-
import { aG as createContext, aH as createSignal, aI as onMount, aJ as createEffect, aE as createMemo, aF as createComponent, aK as Portal, aL as Show, aM as template, aN as insert, aO as createRenderEffect, aP as className, aQ as clearDelegatedEvents, aR as delegateEvents, aS as useContext, aT as onCleanup, aU as sortFns, aV as mutationSortFns, aW as on, aX as setAttribute, aY as getSidedProp, aZ as use, a_ as createUniqueId, a$ as batch, b0 as getQueryStatusLabel, b1 as getMutationStatusColor, b2 as getQueryStatusColor, b3 as getQueryStatusColorByLabel, b4 as displayValue, b5 as For, b6 as convertRemToPixels, b7 as untrack, b8 as $TRACK, b9 as useTransition, ba as spread, bb as mergeProps, bc as createRoot, bd as serialize, be as Index, bf as updateNestedDataByPath, bg as addEventListener, bh as stringify, bi as Match, bj as Switch, bk as deleteNestedDataByPath, bl as splitProps, bm as Dynamic, bn as createComputed } from "./core-
|
|
13
|
+
import { aG as createContext, aH as createSignal, aI as onMount, aJ as createEffect, aE as createMemo, aF as createComponent, aK as Portal, aL as Show, aM as template, aN as insert, aO as createRenderEffect, aP as className, aQ as clearDelegatedEvents, aR as delegateEvents, aS as useContext, aT as onCleanup, aU as sortFns, aV as mutationSortFns, aW as on, aX as setAttribute, aY as getSidedProp, aZ as use, a_ as createUniqueId, a$ as batch, b0 as getQueryStatusLabel, b1 as getMutationStatusColor, b2 as getQueryStatusColor, b3 as getQueryStatusColorByLabel, b4 as displayValue, b5 as For, b6 as convertRemToPixels, b7 as untrack, b8 as $TRACK, b9 as useTransition, ba as spread, bb as mergeProps, bc as createRoot, bd as serialize, be as Index, bf as updateNestedDataByPath, bg as addEventListener, bh as stringify, bi as Match, bj as Switch, bk as deleteNestedDataByPath, bl as splitProps, bm as Dynamic, bn as createComputed } from "./core-CNb92U09.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 { aD as getPreferredColorScheme, aE as createMemo, aF as createComponent } from "./core-
|
|
10
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-BD-4MJko.js";
|
|
11
|
+
import { aD as getPreferredColorScheme, aE as createMemo, aF as createComponent } from "./core-CNb92U09.js";
|
|
12
12
|
var DevtoolsComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
|
@@ -9,7 +9,7 @@
|
|
|
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 { i as TaskTypes, L as LegalEntityType, j as useCanSeeIntroduction, k as useLegalEntityType, t as toCapitalized, m as getTranslationKeysByPrefix, u as useI18nContext, n as useAnalyticsContext, o as StepProgressIndicator, B as Button } from "./core-
|
|
12
|
+
import { i as TaskTypes, L as LegalEntityType, j as useCanSeeIntroduction, k as useLegalEntityType, t as toCapitalized, m as getTranslationKeysByPrefix, u as useI18nContext, n as useAnalyticsContext, o as StepProgressIndicator, B as Button } from "./core-CNb92U09.js";
|
|
13
13
|
import { useMemo } from "preact/compat";
|
|
14
14
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
15
15
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { aj as useApiContext, ak as useMutation, al as httpPost, u as useI18nContext, r as useToastContext, G as LoaderWrapper, W as FormHeader, am as Checkbox, aa as ActionBar, X as DropinLayout } from "./core-
|
|
12
|
+
import { aj as useApiContext, ak as useMutation, al as httpPost, u as useI18nContext, r as useToastContext, G as LoaderWrapper, W as FormHeader, am as Checkbox, aa as ActionBar, X as DropinLayout } from "./core-CNb92U09.js";
|
|
13
13
|
const confirmReview = async (legalEntityId, url) => {
|
|
14
14
|
return httpPost({
|
|
15
15
|
loadingContext: url,
|
|
@@ -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, H as Typography, J as Field, R as RadioGroupCard, B as Button, U as Svg, L as LegalEntityType } from "./core-
|
|
12
|
+
import { u as useI18nContext, D as useForm, H as Typography, J as Field, R as RadioGroupCard, B as Button, U as Svg, L as LegalEntityType } from "./core-CNb92U09.js";
|
|
13
13
|
const setupAccountMethods = ["singpass", "manual"];
|
|
14
14
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
15
15
|
const getSingpassSelectionDisabled = (legalEntityType) => {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { aj as useApiContext, an as useQuery, ao as httpGet, H as Typography, u as useI18nContext, ap as useFormContext, J as Field, aq as RadioGroup, ar as getFormProps, h as Icon, as as isEmpty, U as Svg, at as sofStyles, B as Button, au as Card, av as StructuredList, aw as IconButton, Z as useQueryClient, n as useAnalyticsContext, p as useLegalEntity, _ as useUpdateLegalEntity, ah as useMultiForm, ax as isEmpty$1, ay as getRequiredForms, az as addValidityToForms, g as createLogger, aA as useFormComposer, q as Loader, aB as FormContextProvider, aC as FormWrapper } from "./core-
|
|
11
|
+
import { aj as useApiContext, an as useQuery, ao as httpGet, H as Typography, u as useI18nContext, ap as useFormContext, J as Field, aq as RadioGroup, ar as getFormProps, h as Icon, as as isEmpty, U as Svg, at as sofStyles, B as Button, au as Card, av as StructuredList, aw as IconButton, Z as useQueryClient, n as useAnalyticsContext, p as useLegalEntity, _ as useUpdateLegalEntity, ah as useMultiForm, ax as isEmpty$1, ay as getRequiredForms, az as addValidityToForms, g as createLogger, aA as useFormComposer, q as Loader, aB as FormContextProvider, aC as FormWrapper } from "./core-CNb92U09.js";
|
|
12
12
|
import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
13
|
import { signal } from "@preact/signals";
|
|
14
14
|
import cx from "classnames";
|
package/dist/adyenConfig.js
CHANGED
|
@@ -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] = "0a61d722-3948-4702-a4e7-f8898157fe3f", e._sentryDebugIdIdentifier = "sentry-dbid-0a61d722-3948-4702-a4e7-f8898157fe3f");
|
|
23
23
|
} catch (e) {
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -6445,6 +6445,7 @@ const simulateTextChangeFromKeyboardEvent = (keyDownEvent, value) => {
|
|
|
6445
6445
|
}
|
|
6446
6446
|
return newValue;
|
|
6447
6447
|
};
|
|
6448
|
+
const isAppleMobile = /iPhone|iPad/.test(navigator.platform);
|
|
6448
6449
|
function SelectButtonElement({
|
|
6449
6450
|
filterable,
|
|
6450
6451
|
toggleButtonRef,
|
|
@@ -6518,7 +6519,9 @@ function SelectButton({
|
|
|
6518
6519
|
"adyen-kyc-dropdown-button--active": showList,
|
|
6519
6520
|
"adyen-kyc-dropdown-button--invalid": isInvalid,
|
|
6520
6521
|
"adyen-kyc-dropdown-field--valid": isValid,
|
|
6521
|
-
"adyen-kyc-dropdown-button-search": isSearch
|
|
6522
|
+
"adyen-kyc-dropdown-button-search": isSearch,
|
|
6523
|
+
// To resolve a bug where filterable select `<input>`s weren't focusable on iOS
|
|
6524
|
+
"adyen-kyc-dropdown-ignore-pointer-events": isSearch && isAppleMobile
|
|
6522
6525
|
}),
|
|
6523
6526
|
filterable,
|
|
6524
6527
|
onClick: !readonly ? (e) => {
|
|
@@ -6576,7 +6579,8 @@ const SelectButtonContentSingle = ({
|
|
|
6576
6579
|
const activeLabel = (activeSingle == null ? void 0 : activeSingle.selectedOptionName) || (activeSingle == null ? void 0 : activeSingle.name) || textFilter || placeholder;
|
|
6577
6580
|
return (activeLabel == null ? void 0 : activeLabel.length) > 50 ? activeLabel.substring(0, 50) + "..." : activeLabel || "";
|
|
6578
6581
|
}, [activeSingle, textFilter, placeholder]);
|
|
6579
|
-
return !showList
|
|
6582
|
+
return !(showList && filterable || // To resolve a bug where filterable select `<input>`s weren't focusable on iOS
|
|
6583
|
+
isAppleMobile && isSearch) ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6580
6584
|
(activeSingle == null ? void 0 : activeSingle.icon) && /* @__PURE__ */ jsx$1("span", { className: "adyen-kyc-dropdown-button__icon", children: activeSingle.icon }),
|
|
6581
6585
|
isSearch && !hideSearchIcon && /* @__PURE__ */ jsx$1(Icon, { name: "search", className: "adyen-kyc-dropdown-button-search__icon" }),
|
|
6582
6586
|
/* @__PURE__ */ jsx$1(
|
|
@@ -6598,7 +6602,11 @@ const SelectButtonContentSingle = ({
|
|
|
6598
6602
|
"aria-expanded": showList,
|
|
6599
6603
|
"aria-owns": selectListId,
|
|
6600
6604
|
autoComplete: "off",
|
|
6601
|
-
className: cx(
|
|
6605
|
+
className: cx({
|
|
6606
|
+
"adyen-kyc-filter-input": true,
|
|
6607
|
+
// To resolve a bug where filterable select `<input>`s weren't focusable on iOS
|
|
6608
|
+
"adyen-kyc-dropdown-handle-pointer-events": isAppleMobile
|
|
6609
|
+
}),
|
|
6602
6610
|
onInput: (e) => onInput(e.target.value),
|
|
6603
6611
|
placeholder,
|
|
6604
6612
|
ref: filterInputRef,
|
|
@@ -34309,7 +34317,7 @@ function PayoutDetailsDropin({
|
|
|
34309
34317
|
const {
|
|
34310
34318
|
data: transferInstrument,
|
|
34311
34319
|
refetch: refetchTransferInstrument,
|
|
34312
|
-
isLoading
|
|
34320
|
+
isLoading: isTransferInstrumentLoading
|
|
34313
34321
|
} = useGetTransferInstrument(currentTransferInstrumentId);
|
|
34314
34322
|
const { mutateAsync: handleUpdateTransferInstrument } = useUpdateTransferInstrument();
|
|
34315
34323
|
const { mutateAsync: handleCreateTrustedTransferInstrument } = useCreateTrustedTransferInstrument();
|
|
@@ -34331,7 +34339,7 @@ function PayoutDetailsDropin({
|
|
|
34331
34339
|
const fallbackCurrency = (_a2 = currencyByCountry[defaultPayoutCountry]) == null ? void 0 : _a2[0];
|
|
34332
34340
|
const accountHolderName = accountHolder || getLegalEntityNameBasedOnType(legalEntityResponse);
|
|
34333
34341
|
const instantVerificationEnabled = Boolean(
|
|
34334
|
-
!transferInstrument && isSettingEnabled("instantBankVerification")
|
|
34342
|
+
!isTransferInstrumentLoading && !transferInstrument && isSettingEnabled("instantBankVerification")
|
|
34335
34343
|
);
|
|
34336
34344
|
const taskType = propTaskType ?? TaskTypes.PAYOUT;
|
|
34337
34345
|
const [trustedTransferInstrumentId, setTrustedTransferInstrumentId] = useState();
|
|
@@ -34365,6 +34373,7 @@ function PayoutDetailsDropin({
|
|
|
34365
34373
|
const [hideFooter, setHideFooter] = useState(false);
|
|
34366
34374
|
const [skipSubmit, setSkipSubmit] = useState(false);
|
|
34367
34375
|
const [loadingStatus, setLoadingStatus] = useState("loading");
|
|
34376
|
+
const [isSubmitting, setIsSubmitting] = useState(false);
|
|
34368
34377
|
const [configurationLoadingStatus, setConfigurationLoadingStatus] = useState("loading");
|
|
34369
34378
|
const [data, setData] = useState(prefilledData);
|
|
34370
34379
|
const [problems, setProblems] = useState(
|
|
@@ -34490,7 +34499,13 @@ function PayoutDetailsDropin({
|
|
|
34490
34499
|
legalEntityResponse,
|
|
34491
34500
|
payoutDetailsSteps
|
|
34492
34501
|
]);
|
|
34493
|
-
useUnifyLoadingStatus(
|
|
34502
|
+
useUnifyLoadingStatus(
|
|
34503
|
+
setLoadingStatus,
|
|
34504
|
+
configurationLoadingStatus,
|
|
34505
|
+
// bank vendor loading status only matters when we fetch bank vendors
|
|
34506
|
+
instantVerificationEnabled ? bankVendorsLoadingStatus : "success",
|
|
34507
|
+
isSubmitting ? "loading" : "success"
|
|
34508
|
+
);
|
|
34494
34509
|
const forms = useMemo(() => {
|
|
34495
34510
|
const requiredForms = getRequiredForms(
|
|
34496
34511
|
payoutDetailsSteps,
|
|
@@ -34556,7 +34571,7 @@ function PayoutDetailsDropin({
|
|
|
34556
34571
|
if (payoutAccountData) setAccountDetailsFromInput(payoutAccountData);
|
|
34557
34572
|
}, [data]);
|
|
34558
34573
|
const onSubmit = async () => {
|
|
34559
|
-
|
|
34574
|
+
setIsSubmitting(true);
|
|
34560
34575
|
const dataSubmitted = cloneObject(data);
|
|
34561
34576
|
const { payoutAccountDetails, payoutVerificationMethod } = dataSubmitted;
|
|
34562
34577
|
const baseTracking = {
|
|
@@ -34593,7 +34608,7 @@ function PayoutDetailsDropin({
|
|
|
34593
34608
|
} catch (e) {
|
|
34594
34609
|
showToast({ label: e.message, variant: "error" });
|
|
34595
34610
|
} finally {
|
|
34596
|
-
|
|
34611
|
+
setIsSubmitting(false);
|
|
34597
34612
|
}
|
|
34598
34613
|
} catch (e) {
|
|
34599
34614
|
if (isValidationError(e)) {
|
|
@@ -34613,7 +34628,7 @@ function PayoutDetailsDropin({
|
|
|
34613
34628
|
const errorTranslatable = mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable(e);
|
|
34614
34629
|
showToast({ label: i18n.get(errorTranslatable), variant: "error" });
|
|
34615
34630
|
}
|
|
34616
|
-
|
|
34631
|
+
setIsSubmitting(false);
|
|
34617
34632
|
userEvents2.addTaskEvent("Encountered error", {
|
|
34618
34633
|
...baseTracking,
|
|
34619
34634
|
returnType: (e == null ? void 0 : e.errorCode) || "backend",
|
|
@@ -34795,7 +34810,7 @@ function PayoutDetailsDropin({
|
|
|
34795
34810
|
handleCloseClick,
|
|
34796
34811
|
hideSidebar: hideSidebar || hideFooterAndSidebar,
|
|
34797
34812
|
hideFooter: hideFooter || hideFooterAndSidebar,
|
|
34798
|
-
loadingStatus:
|
|
34813
|
+
loadingStatus: isTransferInstrumentLoading ? "loading" : loadingStatus,
|
|
34799
34814
|
asModal,
|
|
34800
34815
|
forms,
|
|
34801
34816
|
onSubmit,
|
|
@@ -34804,7 +34819,7 @@ function PayoutDetailsDropin({
|
|
|
34804
34819
|
canSubmit: canSubmit2(),
|
|
34805
34820
|
problems,
|
|
34806
34821
|
steps,
|
|
34807
|
-
children: !
|
|
34822
|
+
children: (!isTransferInstrumentLoading || isSubmitting) && /* @__PURE__ */ jsx$1(
|
|
34808
34823
|
PayoutDetails,
|
|
34809
34824
|
{
|
|
34810
34825
|
...derivedProps,
|
|
@@ -35147,6 +35162,7 @@ const useDeleteTransferInstrument = (options) => {
|
|
|
35147
35162
|
mutationFn: (transferInstrumentId) => deleteTransferInstrument(legalEntityId.value, baseUrl.value, transferInstrumentId),
|
|
35148
35163
|
onSuccess: () => {
|
|
35149
35164
|
queryClient.invalidateQueries({ queryKey: ["transferInstruments", legalEntityId] });
|
|
35165
|
+
queryClient.invalidateQueries({ queryKey: ["legalEntity", legalEntityId] });
|
|
35150
35166
|
},
|
|
35151
35167
|
...options
|
|
35152
35168
|
});
|
|
@@ -36179,18 +36195,16 @@ const PayoutAccountTaskListItem = ({
|
|
|
36179
36195
|
var _a2;
|
|
36180
36196
|
const { i18n } = useI18nContext();
|
|
36181
36197
|
const { showToast } = useToastContext();
|
|
36182
|
-
const {
|
|
36183
|
-
const mutate = useDeleteTransferInstrument({ onSuccess: () => refetchLegalEntity() });
|
|
36198
|
+
const { mutateAsync: deleteTransferInstrument2 } = useDeleteTransferInstrument();
|
|
36184
36199
|
const [isDeletingTransferInstrument, setIsDeletingTransferInstrument] = useState(false);
|
|
36185
36200
|
const isInstantVerificationAccount = isInstantVerifiedAccount(account);
|
|
36186
36201
|
const [isRemoveDisabled, setIsRemoveDisabled] = useState(false);
|
|
36187
36202
|
const obscuredAccountNumber = getObscuredAccountNumber(account);
|
|
36188
36203
|
const getTaskStatus2 = useGetTaskStatus();
|
|
36189
36204
|
const status = getTaskStatus2(TaskTypes.PAYOUT, account.id);
|
|
36190
|
-
const
|
|
36205
|
+
const handleDeleteTransferInstrument = async () => {
|
|
36191
36206
|
try {
|
|
36192
|
-
await
|
|
36193
|
-
await refetchLegalEntity();
|
|
36207
|
+
await deleteTransferInstrument2(account.id);
|
|
36194
36208
|
showToast({ label: i18n.get("transferInstrumentDeleted"), variant: "success" });
|
|
36195
36209
|
} catch {
|
|
36196
36210
|
showToast({ label: i18n.get("failedToDeletePayoutAccount"), variant: "error" });
|
|
@@ -36209,7 +36223,7 @@ const PayoutAccountTaskListItem = ({
|
|
|
36209
36223
|
loading: isDeletingTransferInstrument,
|
|
36210
36224
|
removeEntity: () => {
|
|
36211
36225
|
setIsDeletingTransferInstrument(true);
|
|
36212
|
-
|
|
36226
|
+
handleDeleteTransferInstrument();
|
|
36213
36227
|
},
|
|
36214
36228
|
isRemoveDisabled,
|
|
36215
36229
|
handleIsRemoveDisabled: setIsRemoveDisabled
|
|
@@ -50408,24 +50422,24 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
50408
50422
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
50409
50423
|
};
|
|
50410
50424
|
const Introduction = lazy$1(
|
|
50411
|
-
async () => (await import("./Introduction-
|
|
50425
|
+
async () => (await import("./Introduction-C9b9dHyf.js")).Introduction
|
|
50412
50426
|
);
|
|
50413
50427
|
const BusinessTypeSelection = lazy$1(
|
|
50414
|
-
async () => (await import("./BusinessTypeSelection-
|
|
50428
|
+
async () => (await import("./BusinessTypeSelection-eOAjwxqz.js")).BusinessTypeSelection
|
|
50415
50429
|
);
|
|
50416
50430
|
const SingpassSelection = lazy$1(
|
|
50417
|
-
async () => (await import("./SingpassSelection-
|
|
50431
|
+
async () => (await import("./SingpassSelection-DzsYd_Dd.js")).SingpassSelection
|
|
50418
50432
|
);
|
|
50419
50433
|
const AccountSetupRejected = lazy$1(
|
|
50420
|
-
async () => (await import("./AccountSetupRejected-
|
|
50434
|
+
async () => (await import("./AccountSetupRejected-BCmjiF_6.js")).AccountSetupRejected
|
|
50421
50435
|
);
|
|
50422
50436
|
const DecisionMakers = lazy$1(
|
|
50423
|
-
async () => (await import("./DecisionMakers-
|
|
50437
|
+
async () => (await import("./DecisionMakers-DLyOK4UM.js")).DecisionMakers
|
|
50424
50438
|
);
|
|
50425
50439
|
const CustomerSupport = lazy$1(
|
|
50426
|
-
async () => (await import("./CustomerSupport-
|
|
50440
|
+
async () => (await import("./CustomerSupport-CSt6Z7t8.js")).CustomerSupport
|
|
50427
50441
|
);
|
|
50428
|
-
const Review = lazy$1(async () => (await import("./Review-
|
|
50442
|
+
const Review = lazy$1(async () => (await import("./Review-B7M3nx8s.js")).Review);
|
|
50429
50443
|
const SignPCIComponent$2 = lazy$1(
|
|
50430
50444
|
async () => (await Promise.resolve().then(() => SignPCIComponent$1)).SignPCIComponent
|
|
50431
50445
|
);
|
|
@@ -50433,7 +50447,7 @@ const AcceptTermsOfService = lazy$1(
|
|
|
50433
50447
|
async () => (await Promise.resolve().then(() => AcceptTermsOfServiceComponent$1)).AcceptTermsOfServiceComponent
|
|
50434
50448
|
);
|
|
50435
50449
|
const TaxReportingDropin = lazy$1(
|
|
50436
|
-
async () => (await import("./TaxReportingDropin-
|
|
50450
|
+
async () => (await import("./TaxReportingDropin-CYsGK4_f.js")).TaxReportingDropin
|
|
50437
50451
|
);
|
|
50438
50452
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
50439
50453
|
const logger$6 = createLogger();
|
|
@@ -54757,7 +54771,7 @@ var TanstackQueryDevtools = (_l = class {
|
|
|
54757
54771
|
if (__privateGet(this, _Component)) {
|
|
54758
54772
|
Devtools = __privateGet(this, _Component);
|
|
54759
54773
|
} else {
|
|
54760
|
-
Devtools = lazy(() => import("./I3HPI4QX-
|
|
54774
|
+
Devtools = lazy(() => import("./I3HPI4QX-DrgIX5e9.js"));
|
|
54761
54775
|
__privateSet(this, _Component, Devtools);
|
|
54762
54776
|
}
|
|
54763
54777
|
setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
|
|
@@ -54879,7 +54893,7 @@ var TanstackQueryDevtoolsPanel = (_m = class {
|
|
|
54879
54893
|
if (__privateGet(this, _Component2)) {
|
|
54880
54894
|
Devtools = __privateGet(this, _Component2);
|
|
54881
54895
|
} else {
|
|
54882
|
-
Devtools = lazy(() => import("./CXEL7IU7-
|
|
54896
|
+
Devtools = lazy(() => import("./CXEL7IU7-D1h8gd6-.js"));
|
|
54883
54897
|
__privateSet(this, _Component2, Devtools);
|
|
54884
54898
|
}
|
|
54885
54899
|
setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
|
|
@@ -55098,7 +55112,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
|
|
|
55098
55112
|
};
|
|
55099
55113
|
};
|
|
55100
55114
|
const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
|
|
55101
|
-
const sdkVersion = "3.66.
|
|
55115
|
+
const sdkVersion = "3.66.4";
|
|
55102
55116
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
55103
55117
|
const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
|
|
55104
55118
|
const capabilities = Object.keys(rootLegalEntity.capabilities ?? {});
|
|
@@ -55173,7 +55187,7 @@ const AnalyticsProvider = ({
|
|
|
55173
55187
|
const { onboardingVersion } = useVersion();
|
|
55174
55188
|
const userEvents2 = useMemo(() => createUserEvents(), []);
|
|
55175
55189
|
const sessionData = {
|
|
55176
|
-
sdkVersion: "3.66.
|
|
55190
|
+
sdkVersion: "3.66.4",
|
|
55177
55191
|
componentName,
|
|
55178
55192
|
userAgent: navigator.userAgent,
|
|
55179
55193
|
legalEntityId,
|
|
@@ -55307,7 +55321,7 @@ const ConfigurationApiProvider = ({ children: children2 }) => {
|
|
|
55307
55321
|
[baseUrl, rootLegalEntityId]
|
|
55308
55322
|
);
|
|
55309
55323
|
return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
|
|
55310
|
-
/* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.66.
|
|
55324
|
+
/* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.66.4" }),
|
|
55311
55325
|
children2
|
|
55312
55326
|
] });
|
|
55313
55327
|
};
|
|
@@ -55782,7 +55796,7 @@ function StateProvider({
|
|
|
55782
55796
|
);
|
|
55783
55797
|
return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
|
|
55784
55798
|
}
|
|
55785
|
-
const DebugModal = lazy$1(async () => (await import("./DebugModal-
|
|
55799
|
+
const DebugModal = lazy$1(async () => (await import("./DebugModal-DRBU-BOq.js").then((n) => n.D)).DebugModal);
|
|
55786
55800
|
const DebugListener = () => {
|
|
55787
55801
|
const [debugUiOpen, setDebugUiOpen] = useState(false);
|
|
55788
55802
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-DRBU-BOq.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
property: { regex: /(^|[\r\n])[^:]*:/g, css: cssProps.key },
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-DRBU-BOq.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/style.css
CHANGED
|
@@ -988,6 +988,14 @@
|
|
|
988
988
|
.adyen-kyc-dropdown-element {
|
|
989
989
|
align-items: center;
|
|
990
990
|
display: flex;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
.adyen-kyc-dropdown-ignore-pointer-events {
|
|
994
|
+
pointer-events: none;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
.adyen-kyc-dropdown-handle-pointer-events {
|
|
998
|
+
pointer-events: auto;
|
|
991
999
|
}/* #region Borders */
|
|
992
1000
|
/* #endregion */
|
|
993
1001
|
/* for container queries */
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-DRBU-BOq.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
boolean: { regex: /^(\s*)([\w-]+)(:)\s*(.*)$/g, css: cssProps.boolean },
|