@adyen/kyc-components 3.66.3 → 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-CNg-6DmU.js → AccountSetupRejected-BCmjiF_6.js} +1 -1
- package/dist/{BusinessTypeSelection-Cc9qVeGR.js → BusinessTypeSelection-eOAjwxqz.js} +1 -1
- package/dist/{CXEL7IU7-HhffchJ8.js → CXEL7IU7-D1h8gd6-.js} +2 -2
- package/dist/{CustomerSupport-1kguK3O1.js → CustomerSupport-CSt6Z7t8.js} +1 -1
- package/dist/{DebugModal-B0X-bLkW.js → DebugModal-DRBU-BOq.js} +7 -7
- package/dist/{DecisionMakers-hSmjLohq.js → DecisionMakers-DLyOK4UM.js} +1 -1
- package/dist/{HASRA6WW-ZADZXBaU.js → HASRA6WW-BD-4MJko.js} +1 -1
- package/dist/{I3HPI4QX-BeS-EGaw.js → I3HPI4QX-DrgIX5e9.js} +2 -2
- package/dist/{Introduction-BEP9UbW9.js → Introduction-C9b9dHyf.js} +1 -1
- package/dist/{Review-uqvp-0Ef.js → Review-B7M3nx8s.js} +1 -1
- package/dist/{SingpassSelection-DosW-5TS.js → SingpassSelection-DzsYd_Dd.js} +1 -1
- package/dist/{TaxReportingDropin-Bhsqy0ic.js → TaxReportingDropin-CYsGK4_f.js} +1 -1
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +1 -1
- package/dist/{core-BUumq1mX.js → core-CNb92U09.js} +26 -18
- package/dist/{css-DuTJPTMz.js → css-DLMEG7cT.js} +1 -1
- package/dist/{json-DGoJZ2FI.js → json-CbT4O_Ld.js} +1 -1
- package/dist/{plaintext-B99bp_o9.js → plaintext-Cr4KGRo-.js} +1 -1
- package/dist/style.css +8 -0
- package/dist/{yaml-C5JLyHL7.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,
|
|
@@ -50414,24 +50422,24 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
50414
50422
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
50415
50423
|
};
|
|
50416
50424
|
const Introduction = lazy$1(
|
|
50417
|
-
async () => (await import("./Introduction-
|
|
50425
|
+
async () => (await import("./Introduction-C9b9dHyf.js")).Introduction
|
|
50418
50426
|
);
|
|
50419
50427
|
const BusinessTypeSelection = lazy$1(
|
|
50420
|
-
async () => (await import("./BusinessTypeSelection-
|
|
50428
|
+
async () => (await import("./BusinessTypeSelection-eOAjwxqz.js")).BusinessTypeSelection
|
|
50421
50429
|
);
|
|
50422
50430
|
const SingpassSelection = lazy$1(
|
|
50423
|
-
async () => (await import("./SingpassSelection-
|
|
50431
|
+
async () => (await import("./SingpassSelection-DzsYd_Dd.js")).SingpassSelection
|
|
50424
50432
|
);
|
|
50425
50433
|
const AccountSetupRejected = lazy$1(
|
|
50426
|
-
async () => (await import("./AccountSetupRejected-
|
|
50434
|
+
async () => (await import("./AccountSetupRejected-BCmjiF_6.js")).AccountSetupRejected
|
|
50427
50435
|
);
|
|
50428
50436
|
const DecisionMakers = lazy$1(
|
|
50429
|
-
async () => (await import("./DecisionMakers-
|
|
50437
|
+
async () => (await import("./DecisionMakers-DLyOK4UM.js")).DecisionMakers
|
|
50430
50438
|
);
|
|
50431
50439
|
const CustomerSupport = lazy$1(
|
|
50432
|
-
async () => (await import("./CustomerSupport-
|
|
50440
|
+
async () => (await import("./CustomerSupport-CSt6Z7t8.js")).CustomerSupport
|
|
50433
50441
|
);
|
|
50434
|
-
const Review = lazy$1(async () => (await import("./Review-
|
|
50442
|
+
const Review = lazy$1(async () => (await import("./Review-B7M3nx8s.js")).Review);
|
|
50435
50443
|
const SignPCIComponent$2 = lazy$1(
|
|
50436
50444
|
async () => (await Promise.resolve().then(() => SignPCIComponent$1)).SignPCIComponent
|
|
50437
50445
|
);
|
|
@@ -50439,7 +50447,7 @@ const AcceptTermsOfService = lazy$1(
|
|
|
50439
50447
|
async () => (await Promise.resolve().then(() => AcceptTermsOfServiceComponent$1)).AcceptTermsOfServiceComponent
|
|
50440
50448
|
);
|
|
50441
50449
|
const TaxReportingDropin = lazy$1(
|
|
50442
|
-
async () => (await import("./TaxReportingDropin-
|
|
50450
|
+
async () => (await import("./TaxReportingDropin-CYsGK4_f.js")).TaxReportingDropin
|
|
50443
50451
|
);
|
|
50444
50452
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
50445
50453
|
const logger$6 = createLogger();
|
|
@@ -54763,7 +54771,7 @@ var TanstackQueryDevtools = (_l = class {
|
|
|
54763
54771
|
if (__privateGet(this, _Component)) {
|
|
54764
54772
|
Devtools = __privateGet(this, _Component);
|
|
54765
54773
|
} else {
|
|
54766
|
-
Devtools = lazy(() => import("./I3HPI4QX-
|
|
54774
|
+
Devtools = lazy(() => import("./I3HPI4QX-DrgIX5e9.js"));
|
|
54767
54775
|
__privateSet(this, _Component, Devtools);
|
|
54768
54776
|
}
|
|
54769
54777
|
setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
|
|
@@ -54885,7 +54893,7 @@ var TanstackQueryDevtoolsPanel = (_m = class {
|
|
|
54885
54893
|
if (__privateGet(this, _Component2)) {
|
|
54886
54894
|
Devtools = __privateGet(this, _Component2);
|
|
54887
54895
|
} else {
|
|
54888
|
-
Devtools = lazy(() => import("./CXEL7IU7-
|
|
54896
|
+
Devtools = lazy(() => import("./CXEL7IU7-D1h8gd6-.js"));
|
|
54889
54897
|
__privateSet(this, _Component2, Devtools);
|
|
54890
54898
|
}
|
|
54891
54899
|
setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
|
|
@@ -55104,7 +55112,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
|
|
|
55104
55112
|
};
|
|
55105
55113
|
};
|
|
55106
55114
|
const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
|
|
55107
|
-
const sdkVersion = "3.66.
|
|
55115
|
+
const sdkVersion = "3.66.4";
|
|
55108
55116
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
55109
55117
|
const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
|
|
55110
55118
|
const capabilities = Object.keys(rootLegalEntity.capabilities ?? {});
|
|
@@ -55179,7 +55187,7 @@ const AnalyticsProvider = ({
|
|
|
55179
55187
|
const { onboardingVersion } = useVersion();
|
|
55180
55188
|
const userEvents2 = useMemo(() => createUserEvents(), []);
|
|
55181
55189
|
const sessionData = {
|
|
55182
|
-
sdkVersion: "3.66.
|
|
55190
|
+
sdkVersion: "3.66.4",
|
|
55183
55191
|
componentName,
|
|
55184
55192
|
userAgent: navigator.userAgent,
|
|
55185
55193
|
legalEntityId,
|
|
@@ -55313,7 +55321,7 @@ const ConfigurationApiProvider = ({ children: children2 }) => {
|
|
|
55313
55321
|
[baseUrl, rootLegalEntityId]
|
|
55314
55322
|
);
|
|
55315
55323
|
return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
|
|
55316
|
-
/* @__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" }),
|
|
55317
55325
|
children2
|
|
55318
55326
|
] });
|
|
55319
55327
|
};
|
|
@@ -55788,7 +55796,7 @@ function StateProvider({
|
|
|
55788
55796
|
);
|
|
55789
55797
|
return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
|
|
55790
55798
|
}
|
|
55791
|
-
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);
|
|
55792
55800
|
const DebugListener = () => {
|
|
55793
55801
|
const [debugUiOpen, setDebugUiOpen] = useState(false);
|
|
55794
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 },
|