@adyen/kyc-components 3.69.2 → 3.70.0-beta.1
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-uuOIbTbu.js → AcceptTermsOfServiceComponent-BFnFs9-A.js} +2 -2
- package/dist/{AccountSetupRejected-DfumYvDY.js → AccountSetupRejected-DoFSW8-b.js} +3 -3
- package/dist/{BusinessTypeSelection-DSYpIVjd.js → BusinessTypeSelection-CV6SwT-Z.js} +4 -4
- package/dist/{CXEL7IU7-DOMbRnMv.js → CXEL7IU7-DntsPaET.js} +3 -3
- package/dist/{CreateIndividualComponent-B_KRyA54.js → CreateIndividualComponent-DN4rTHB3.js} +4 -4
- package/dist/{CustomerSupport-DN4FePLw.js → CustomerSupport-BUQvUmpN.js} +3 -3
- package/dist/{DebugModal-Cr4lgdwf.js → DebugModal-CsYQDZty.js} +9 -8
- package/dist/{DecisionMakers-Ct5sydeB.js → DecisionMakers-DsTinc1o.js} +4 -4
- package/dist/{EmbedShell-CcY7J5Ka.js → EmbedShell-BBbrObyW.js} +4 -4
- package/dist/{EventEmitter-B1hFUO9K.js → EventEmitter-FG15aEsR.js} +364 -351
- package/dist/{HASRA6WW-CBeULcOL.js → HASRA6WW-BZE17t4g.js} +2 -2
- package/dist/{I3HPI4QX-D2A4yF_s.js → I3HPI4QX-BFra40pW.js} +3 -3
- package/dist/{Introduction-DFbJLMaj.js → Introduction-D3gT4-kD.js} +3 -3
- package/dist/{Review-RQfZnNWA.js → Review-qnfkL7dh.js} +3 -3
- package/dist/{SingpassSelection-BeU-t-e6.js → SingpassSelection-CK5BYG8q.js} +2 -2
- package/dist/{TaxReportingDropin-GRg57bbo.js → TaxReportingDropin-CVMaQqSY.js} +4 -4
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +3 -3
- package/dist/{core-Cz8cuSX9.js → core-202iBEOY.js} +401 -154
- package/dist/{css-BrW9cg3e.js → css-pl6HHZXq.js} +1 -1
- package/dist/individual.js +8 -5
- package/dist/{json-DXzvRYRI.js → json-B5JUe6kg.js} +1 -1
- package/dist/{listToRecord-qo_EQkgv.js → listToRecord-BH14dipk.js} +2 -2
- package/dist/{plaintext-CMVVM8BS.js → plaintext-CQhQFzIT.js} +1 -1
- package/dist/style.css +6 -0
- package/dist/styles-CLV89_hH.js +6 -0
- package/dist/terms-of-service.js +8 -5
- package/dist/types/components/Individual/forms/IndividualOnfido/GuidanceQuestion/GuidanceQuestion.d.ts +14 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.d.ts +11 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +2 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +4 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/SignatoryQuestionnaire/SignatoryQuestionnaire.d.ts +2 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/SignatoryQuestionnaire/SignatoryQuestionnaire.types.d.ts +8 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaire.d.ts +3 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaire.types.d.ts +10 -0
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/context/ExperimentContext/types.d.ts +4 -0
- package/dist/types/embeds/utils.d.ts +2 -2
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/{utils-Do7EwrWz.js → utils-BF9grxx1.js} +7 -4
- package/dist/{yaml-D15-ZpJl.js → yaml-UEDDNlSR.js} +1 -1
- package/package.json +2 -1
package/dist/{AcceptTermsOfServiceComponent-uuOIbTbu.js → AcceptTermsOfServiceComponent-BFnFs9-A.js}
RENAMED
|
@@ -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] = "d8115599-2603-496f-9131-58934cce35ab", e._sentryDebugIdIdentifier = "sentry-dbid-d8115599-2603-496f-9131-58934cce35ab");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useState, useEffect, useCallback } from "preact/hooks";
|
|
12
|
-
import { a as useApiContext,
|
|
12
|
+
import { a as useApiContext, U as useInvalidateRootLegalEntity, e as useMutation, h as httpPost, b as useQuery, d as httpGet, e1 as skipToken, R as Icon, e2 as AlertIcon, c as createLogger, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, o as useExperimentsContext, bk as useForm, W as Alert, H as Button, b9 as localizeDateString, L as LoaderWrapper, ba as Field, bb as Select, d8 as Checkbox, cJ as ActionBar, d7 as MaybeModal, E as ModalContent, G as ModalFooter, dL as StepProgressIndicator, Z as Spacer, K as LegalEntityType, al as getOwnSignatories, a5 as doesLegalEntityRequiresLegalRepresentative, a4 as getLegalRepresentative, cH as FormNavigation, J as useCoreContext, u as useLegalEntity, N as Loader, T as TaskTypes } from "./EventEmitter-FG15aEsR.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
import { defineSlots } from "named-slots";
|
|
15
15
|
const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
|
|
@@ -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] = "bf0bcb95-3de4-4f6c-8145-31aec0b9e3dd", e._sentryDebugIdIdentifier = "sentry-dbid-bf0bcb95-3de4-4f6c-8145-31aec0b9e3dd");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { i as useI18nContext,
|
|
12
|
-
import { D as DropinLayout } from "./core-
|
|
11
|
+
import { i as useI18nContext, e2 as AlertIcon, b_ as FormHeader } from "./EventEmitter-FG15aEsR.js";
|
|
12
|
+
import { D as DropinLayout } from "./core-202iBEOY.js";
|
|
13
13
|
function AccountSetupRejected() {
|
|
14
14
|
const { i18n } = useI18nContext();
|
|
15
15
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -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] = "34185574-992d-4d34-8f3c-d3cf816ff86b", e._sentryDebugIdIdentifier = "sentry-dbid-34185574-992d-4d34-8f3c-d3cf816ff86b");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { u as useLegalEntity,
|
|
13
|
-
import { B as useUpdateLegalEntity } from "./CreateIndividualComponent-
|
|
14
|
-
import { b as useSelectionOptions, g as getBusinessType, c as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, d as getTargetLegalEntityType, e as businessTypeIcons, f as determineOrganizationTypeToUpdate } from "./core-
|
|
12
|
+
import { u as useLegalEntity, N as Loader, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, o as useExperimentsContext, aq as getCapabilities, r as getLegalEntityCountry, K as LegalEntityType, bk as useForm, L as LoaderWrapper, F as Typography, ba as Field, e7 as EntityTypeRadioGroupCard, cB as RadioGroupCard, H as Button, Z as Spacer, R as Icon, a8 as hasSolePropInLegalEntity } from "./EventEmitter-FG15aEsR.js";
|
|
13
|
+
import { B as useUpdateLegalEntity } from "./CreateIndividualComponent-DN4rTHB3.js";
|
|
14
|
+
import { b as useSelectionOptions, g as getBusinessType, c as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, d as getTargetLegalEntityType, e as businessTypeIcons, f as determineOrganizationTypeToUpdate } from "./core-202iBEOY.js";
|
|
15
15
|
const businessTypeExamples = /* @__PURE__ */ Object.assign({ "../localized/legalEntityTypeExamples/AT.json": () => import("./AT-EpV7jN58.js"), "../localized/legalEntityTypeExamples/AU.json": () => import("./AU-pBsEvEUy.js"), "../localized/legalEntityTypeExamples/BE.json": () => import("./BE-CU5o9cmc.js"), "../localized/legalEntityTypeExamples/BR.json": () => import("./BR-ORoHRwTk.js"), "../localized/legalEntityTypeExamples/CA.json": () => import("./CA-VXNq-m6m.js"), "../localized/legalEntityTypeExamples/CH.json": () => import("./CH-B_-afpD_.js"), "../localized/legalEntityTypeExamples/CZ.json": () => import("./CZ-CTw_bQIu.js"), "../localized/legalEntityTypeExamples/DE.json": () => import("./DE-D_jIDxOH.js"), "../localized/legalEntityTypeExamples/DK.json": () => import("./DK-dBzrfgpQ.js"), "../localized/legalEntityTypeExamples/ES.json": () => import("./ES-DYbZmFcJ.js"), "../localized/legalEntityTypeExamples/FI.json": () => import("./FI-C9nRvop7.js"), "../localized/legalEntityTypeExamples/FR.json": () => import("./FR-BycGQO4W.js"), "../localized/legalEntityTypeExamples/GB.json": () => import("./GB-DFyzo5sN.js"), "../localized/legalEntityTypeExamples/HK.json": () => import("./HK-WqZ5UBEF.js"), "../localized/legalEntityTypeExamples/HR.json": () => import("./HR-CRa19tH1.js"), "../localized/legalEntityTypeExamples/HU.json": () => import("./HU-D5NCweWf.js"), "../localized/legalEntityTypeExamples/IE.json": () => import("./IE-rhATS57q.js"), "../localized/legalEntityTypeExamples/IT.json": () => import("./IT-wD7dHdYD.js"), "../localized/legalEntityTypeExamples/LT.json": () => import("./LT-0F72uCyI.js"), "../localized/legalEntityTypeExamples/NL.json": () => import("./NL-q2U2l276.js"), "../localized/legalEntityTypeExamples/NO.json": () => import("./NO-CX12Zsf_.js"), "../localized/legalEntityTypeExamples/PL.json": () => import("./PL-CwCXF3Yu.js"), "../localized/legalEntityTypeExamples/PT.json": () => import("./PT-Dei5v1nD.js"), "../localized/legalEntityTypeExamples/RO.json": () => import("./RO-Dxk08mOu.js"), "../localized/legalEntityTypeExamples/SE.json": () => import("./SE-AP3gLiyy.js"), "../localized/legalEntityTypeExamples/SG.json": () => import("./SG-DMcOb17i.js"), "../localized/legalEntityTypeExamples/SI.json": () => import("./SI-BXe-yndm.js"), "../localized/legalEntityTypeExamples/SK.json": () => import("./SK-DwdgoGnD.js"), "../localized/legalEntityTypeExamples/US.json": () => import("./US-DHxLSqeC.js") });
|
|
16
16
|
const getBusinessTypeExamplesForCountry = async (country) => {
|
|
17
17
|
const importForCountry = businessTypeExamples[`../localized/legalEntityTypeExamples/${country}.json`];
|
|
@@ -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] = "769b2554-a072-460e-974d-5644ea60a048", e._sentryDebugIdIdentifier = "sentry-dbid-769b2554-a072-460e-974d-5644ea60a048");
|
|
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, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-
|
|
11
|
-
import {
|
|
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-BZE17t4g.js";
|
|
11
|
+
import { e8 as getPreferredColorScheme, e9 as createMemo, ea as createComponent } from "./EventEmitter-FG15aEsR.js";
|
|
12
12
|
var DevtoolsPanelComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
package/dist/{CreateIndividualComponent-B_KRyA54.js → CreateIndividualComponent-DN4rTHB3.js}
RENAMED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c8bc2d93-b8de-43e8-8d2a-a2d772bda250", e._sentryDebugIdIdentifier = "sentry-dbid-c8bc2d93-b8de-43e8-8d2a-a2d772bda250");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useApiContext, b as useQuery, d as httpGet, e as useMutation, h as httpPost,
|
|
11
|
+
import { a as useApiContext, b as useQuery, d as httpGet, e as useMutation, h as httpPost, U as useInvalidateRootLegalEntity, f as useQueryClient, ds as FormContext, a0 as entriesOf, aD as objectsDeepEqual, c as createLogger, c7 as TrustedFieldsProvider, aM as businessDetailsApiKeyMapping, dt as individualApiKeyMapping, du as remediationHasFileUploadField, dv as dataMissingRemediationsToFieldsMap, k as keysOf, o as useExperimentsContext, r as getLegalEntityCountry, C as CountryCodes, a7 as isPartOfTrustFromLegalEntity, K as LegalEntityType, a8 as hasSolePropInLegalEntity, dw as individualComponentsKeyMapping, aF as businessDetailsComponentsKeyMapping, j as useAnalyticsContext, cG as summaryStep, dx as ValidationResult, dy as isNotEmptyValidator, I as isEmpty, J as useCoreContext, dz as AdyenKycSdkError, dA as hasText, dB as matchesRegex, dC as trimValWithOneSpace, dD as NO_ALPHABET_REGEX, dE as EMOJI_REGEX, dF as hasRepeatedCharacters, dG as isInvalidName, dH as INDIVIDUAL_VALID_CHAR_REGEX, dI as getFormattingRegEx, dJ as SPECIAL_CHARS, dK as FormRouterContext, i as useI18nContext, d7 as MaybeModal, E as ModalContent, D as ModalHeader, L as LoaderWrapper, cH as FormNavigation, G as ModalFooter, dL as StepProgressIndicator, H as Button, Z as Spacer, cI as Summary, V as httpDelete, bL as getLocalizedIdDocumentTypeOptions, dM as isNewlyUploadedFile, T as TaskTypes, dN as remediationPayoutApiKeyMapping, dO as remediationBusinessDetailsApiKeyMapping, dP as remediationIndividualApiKeyMapping, dQ as getNestedPropertyKeys, z as cloneObject, dR as isValueObscured, bC as isTruthyValidator, dS as emailPattern, aT as resolveFieldMetadata, bD as getSSNType, bE as defaultFieldMetadata, bF as defaultFieldConfig, dT as defaultFieldMetadata$1, dU as fieldConfig, aY as defaultFieldMetadata$2, a_ as defaultFieldConfig$1, bG as getAgeToday, bH as euCountries, bI as DecisionMakerType, g as createFormRules, bK as allowedCountriesForNominee, bo as getAddressSchemaForCountry, bp as COUNTRIES_WITH_STATES_DATASET, bM as Scenarios, b7 as reverseMapping, dV as getNomineeFromAssociation, aE as drop, l as useToastContext, q as useSettingsContext, co as useProviderStatus, b3 as getAssociatedLeAnalyticsPayload, bB as addressValidators, cp as getAsyncIdNumberValidationRule, cq as getAsyncPhoneValidationRules, dW as addressFormatters, cr as setHasMotionCaptureScenario, dX as individualForms, cf as showIndividualMotionCapture, cs as getAllowedDecisionMakerRoles, A as datasetUtilities, dY as Individual, aq as getCapabilities, aR as filterOutUnwantedAssociationsIfRootLE, aP as mapAddressLabels, dZ as individualDocumentForms, b9 as localizeDateString, d_ as individualDocumentMapping, d$ as individualObscuredFields, b0 as getOwnEntityAssociations, ct as hasNomineesChanged, cu as attachNomineeToRole, b1 as doArraysMatch, u as useLegalEntity, N as Loader } from "./EventEmitter-FG15aEsR.js";
|
|
12
12
|
import { useCallback, useMemo, useReducer, useState, useEffect } from "preact/hooks";
|
|
13
13
|
const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
|
|
14
14
|
const scenarioParams = new URLSearchParams({
|
|
@@ -901,10 +901,10 @@ function reducer({
|
|
|
901
901
|
};
|
|
902
902
|
}
|
|
903
903
|
case "setRequiredFields": {
|
|
904
|
-
|
|
905
|
-
if (objectsDeepEqual(requiredFields, clonedState.requiredFields) && objectsDeepEqual(newOptionalFields, clonedState.optionalFields) && !hasDefaultDataChanged) {
|
|
904
|
+
if (objectsDeepEqual(requiredFields, clonedState.requiredFields) && objectsDeepEqual(newOptionalFields, clonedState.optionalFields)) {
|
|
906
905
|
return state;
|
|
907
906
|
}
|
|
907
|
+
const hasDefaultDataChanged = !objectsDeepEqual(defaultData, state.defaultData);
|
|
908
908
|
const updatedData = hasDefaultDataChanged ? defaultData : clonedState.data;
|
|
909
909
|
const newState = init({
|
|
910
910
|
requiredFields,
|
|
@@ -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] = "03726c64-98a9-4094-81d7-b37f66b38dba", e._sentryDebugIdIdentifier = "sentry-dbid-03726c64-98a9-4094-81d7-b37f66b38dba");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useLegalEntity,
|
|
11
|
+
import { u as useLegalEntity, N as Loader, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, f as useQueryClient, aT as resolveFieldMetadata, dT as defaultFieldMetadata, dU as fieldConfig, cq as getAsyncPhoneValidationRules, b_ as FormHeader, cb as ContactDetails, cJ as ActionBar, c as createLogger } from "./EventEmitter-FG15aEsR.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { B as useUpdateLegalEntity, H as contactDetailsValidationRules, L as useValidatePhoneNumberImperatively, N as useMultiForm } from "./CreateIndividualComponent-
|
|
13
|
+
import { B as useUpdateLegalEntity, H as contactDetailsValidationRules, L as useValidatePhoneNumberImperatively, N as useMultiForm } from "./CreateIndividualComponent-DN4rTHB3.js";
|
|
14
14
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
15
15
|
var _a, _b, _c;
|
|
16
16
|
return {
|
|
@@ -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] = "a5182490-7da6-4aa2-8b40-2193f05da9e1", e._sentryDebugIdIdentifier = "sentry-dbid-a5182490-7da6-4aa2-8b40-2193f05da9e1");
|
|
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 {
|
|
13
|
-
import { T as Tag, a as TaskItemStatus, l as listToRecord } from "./listToRecord-
|
|
12
|
+
import { H as Button, a0 as entriesOf, be as InputText, i as useI18nContext, e3 as splitTaskIdentifier, o as useExperimentsContext, q as useSettingsContext, cw as useGlobalStore, e4 as valuesOf, e5 as useTaskStatuses, M as Modal, c as createLogger, R as Icon, S as SettingNames } from "./EventEmitter-FG15aEsR.js";
|
|
13
|
+
import { T as Tag, a as TaskItemStatus, l as listToRecord } from "./listToRecord-BH14dipk.js";
|
|
14
14
|
var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
|
|
15
15
|
ExperimentNames2["AllowMoreRolesForMainRootTrustee"] = "AllowMoreRolesForMainRootTrustee";
|
|
16
16
|
ExperimentNames2["ShowUnsupportedEntityType"] = "ShowUnsupportedEntityType";
|
|
@@ -38,6 +38,7 @@ var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
|
|
|
38
38
|
ExperimentNames2["EnableCheckOnCreateBankAccount"] = "EnableCheckOnCreateBankAccount";
|
|
39
39
|
ExperimentNames2["EnableTaxIdRequiredForBusinessAccountsScenarios"] = "EnableTaxIdRequiredForBusinessAccountsScenarios";
|
|
40
40
|
ExperimentNames2["EnableJaJPLocale"] = "EnableJaJPLocale";
|
|
41
|
+
ExperimentNames2["EnableGuidedDecisionMakersFlow"] = "EnableGuidedDecisionMakersFlow";
|
|
41
42
|
ExperimentNames2["CredentialBankingWeightage_EmphasizeCredentialBankingFlow"] = "CredentialBankingWeightage_EmphasizeCredentialBankingFlow";
|
|
42
43
|
return ExperimentNames2;
|
|
43
44
|
})(ExperimentNames || {});
|
|
@@ -175,10 +176,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
175
176
|
};
|
|
176
177
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
177
178
|
const moduleMap = {
|
|
178
|
-
plaintext: () => import("./plaintext-
|
|
179
|
-
json: () => import("./json-
|
|
180
|
-
yaml: () => import("./yaml-
|
|
181
|
-
css: () => import("./css-
|
|
179
|
+
plaintext: () => import("./plaintext-CQhQFzIT.js"),
|
|
180
|
+
json: () => import("./json-B5JUe6kg.js"),
|
|
181
|
+
yaml: () => import("./yaml-UEDDNlSR.js"),
|
|
182
|
+
css: () => import("./css-pl6HHZXq.js")
|
|
182
183
|
};
|
|
183
184
|
const getModule = async (name) => {
|
|
184
185
|
if (!supportedModules.includes(name)) {
|
|
@@ -469,7 +470,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
469
470
|
const [tab, setTab] = useState("metadata");
|
|
470
471
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
471
472
|
const metadata = {
|
|
472
|
-
sdkVersion: "3.
|
|
473
|
+
sdkVersion: "3.70.0-beta.1",
|
|
473
474
|
locale: i18n.locale,
|
|
474
475
|
rootLegalEntityId: rootLegalEntity.id
|
|
475
476
|
};
|
|
@@ -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] = "f1b63eb4-7ad0-40eb-8b50-9dae814d2a36", e._sentryDebugIdIdentifier = "sentry-dbid-f1b63eb4-7ad0-40eb-8b50-9dae814d2a36");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { u as useLegalEntity,
|
|
13
|
-
import { B as useUpdateLegalEntity } from "./CreateIndividualComponent-
|
|
14
|
-
import { h as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, j as EntityAssociation } from "./core-
|
|
12
|
+
import { u as useLegalEntity, N as Loader, aj as useGetTaskStatus, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, d6 as getOwnDecisionMakers, bJ as getAvailableDecisionMakerRoleTypes, T as TaskTypes, cs as getAllowedDecisionMakerRoles, b_ as FormHeader, c6 as ContextGuidance, bI as DecisionMakerType, W as Alert, ag as CardGroup, H as Button, cJ as ActionBar } from "./EventEmitter-FG15aEsR.js";
|
|
13
|
+
import { B as useUpdateLegalEntity } from "./CreateIndividualComponent-DN4rTHB3.js";
|
|
14
|
+
import { h as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, j as EntityAssociation } from "./core-202iBEOY.js";
|
|
15
15
|
const DecisionMakers = (props) => {
|
|
16
16
|
const { data, isLoading } = useLegalEntity();
|
|
17
17
|
if (isLoading || !data) {
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8798c446-2e86-4d35-a461-077947d63211", e._sentryDebugIdIdentifier = "sentry-dbid-8798c446-2e86-4d35-a461-077947d63211");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import {
|
|
11
|
+
import { e0 as refreshSession, H as Button, N as Loader, dc as SettingsProvider, dd as ExperimentsContextProvider, de as ApiProvider, df as QueryClientProvider, dg as StoreProvider, dh as AnalyticsProvider, di as CoreProvider, dj as I18nProvider, db as EventEmitter, dk as DebugListener, dl as ToastContextProvider, dm as StateProvider, dn as ReactQueryDevtools2, dr as setSdkTokenHandler } from "./EventEmitter-FG15aEsR.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
13
|
function injectCss(shadowRoot) {
|
|
14
14
|
{
|
|
@@ -37,7 +37,7 @@ const EmbedShell = ({
|
|
|
37
37
|
}) => {
|
|
38
38
|
const eventEmitter = new EventEmitter();
|
|
39
39
|
const [isLoading, setIsLoading] = useState(true);
|
|
40
|
-
const [hasError, setHasError] = useState(
|
|
40
|
+
const [hasError, setHasError] = useState(false);
|
|
41
41
|
setSdkTokenHandler(getSdkToken);
|
|
42
42
|
useEffect(() => {
|
|
43
43
|
refreshSession().then((hasRefreshed) => {
|
|
@@ -58,7 +58,7 @@ const EmbedShell = ({
|
|
|
58
58
|
}
|
|
59
59
|
return /* @__PURE__ */ jsx(SettingsProvider, { settings, children: /* @__PURE__ */ jsx(ExperimentsContextProvider, { experiments, refreshExperiments, children: /* @__PURE__ */ jsx(ApiProvider, { rootLegalEntityId: legalEntityId, baseUrl, children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
60
60
|
/* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
61
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.
|
|
61
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.70.0-beta.1" }),
|
|
62
62
|
/* @__PURE__ */ jsx(
|
|
63
63
|
AnalyticsProvider,
|
|
64
64
|
{
|