@adyen/kyc-components 3.68.5 → 3.68.7
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-Kd_dW3fE.js → AcceptTermsOfServiceComponent-DZykS6qj.js} +1 -1
- package/dist/{AccountSetupRejected-DD5qM8jd.js → AccountSetupRejected-D1i1_8JE.js} +2 -2
- package/dist/{BusinessTypeSelection-Bai_Gj3k.js → BusinessTypeSelection-C2Pramza.js} +3 -3
- package/dist/{CXEL7IU7-BnIBkAOR.js → CXEL7IU7-B-g9BVmI.js} +2 -2
- package/dist/{CreateIndividualComponent-C4Lu8qPZ.js → CreateIndividualComponent-DFBf0dHb.js} +1 -1
- package/dist/{CustomerSupport-mNpk7gJg.js → CustomerSupport-0ujdzHpT.js} +2 -2
- package/dist/{DebugModal-C51N7bJK.js → DebugModal-DhY-1J72.js} +8 -8
- package/dist/{DecisionMakers-BKd3lASI.js → DecisionMakers-7S7xrrJ6.js} +3 -3
- package/dist/{EmbedShell-BVaTNGg0.js → EmbedShell-C0_tNVKC.js} +3 -3
- package/dist/{EventEmitter-DZ97_ZVT.js → EventEmitter-j1WdUJDK.js} +11 -6
- package/dist/{HASRA6WW-Bml9TEla.js → HASRA6WW-DTIsyCHN.js} +1 -1
- package/dist/{I3HPI4QX-Con_ThUJ.js → I3HPI4QX-DNzAV1h1.js} +2 -2
- package/dist/{Introduction-BOW32lJM.js → Introduction-C1UXY4dT.js} +2 -2
- package/dist/{Review-TByDiLBX.js → Review-ComxpI_O.js} +2 -2
- package/dist/{SingpassSelection-C9fXdEwT.js → SingpassSelection-7lk-oQzn.js} +1 -1
- package/dist/{TaxReportingDropin-TqsD6xUA.js → TaxReportingDropin-B6ud8Dw0.js} +3 -3
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +1 -1
- package/dist/{core-BZHCx9-a.js → core-DjRcdQS4.js} +21 -16
- package/dist/{css-BYd2IAY7.js → css-ChnxlzkB.js} +1 -1
- package/dist/individual.js +2 -2
- package/dist/{json-XpvKEw3k.js → json-9XN9dUr4.js} +1 -1
- package/dist/{listToRecord-DpxQKhFW.js → listToRecord-BlK3HAQP.js} +1 -1
- package/dist/{plaintext-n8Iv_aWC.js → plaintext-DyO2AUp2.js} +1 -1
- package/dist/terms-of-service.js +2 -2
- package/dist/types/components/Business/forms/rules.d.ts +1 -0
- package/dist/{yaml-BHcy__2u.js → yaml-i5z91HOG.js} +1 -1
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-Kd_dW3fE.js → AcceptTermsOfServiceComponent-DZykS6qj.js}
RENAMED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useState, useEffect, useCallback } from "preact/hooks";
|
|
12
|
-
import { a as useApiContext, R as useInvalidateRootLegalEntity, e as useMutation, h as httpPost, b as useQuery, d as httpGet, dV as skipToken, Q as Icon, dW as AlertIcon, c as createLogger, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, n as useExperimentsContext, bj as useForm, V as Alert, G as Button, b8 as localizeDateString, L as LoaderWrapper, b9 as Field, ba as Select, d1 as Checkbox, cH as ActionBar, d0 as MaybeModal, D as ModalContent, F as ModalFooter, dE as StepProgressIndicator, Y as Spacer, J as LegalEntityType, ak as getOwnSignatories, a4 as doesLegalEntityRequiresLegalRepresentative, a3 as getLegalRepresentative, cF as FormNavigation, I as useCoreContext, u as useLegalEntity, K as Loader, T as TaskTypes } from "./EventEmitter-
|
|
12
|
+
import { a as useApiContext, R as useInvalidateRootLegalEntity, e as useMutation, h as httpPost, b as useQuery, d as httpGet, dV as skipToken, Q as Icon, dW as AlertIcon, c as createLogger, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, n as useExperimentsContext, bj as useForm, V as Alert, G as Button, b8 as localizeDateString, L as LoaderWrapper, b9 as Field, ba as Select, d1 as Checkbox, cH as ActionBar, d0 as MaybeModal, D as ModalContent, F as ModalFooter, dE as StepProgressIndicator, Y as Spacer, J as LegalEntityType, ak as getOwnSignatories, a4 as doesLegalEntityRequiresLegalRepresentative, a3 as getLegalRepresentative, cF as FormNavigation, I as useCoreContext, u as useLegalEntity, K as Loader, T as TaskTypes } from "./EventEmitter-j1WdUJDK.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
import { defineSlots } from "named-slots";
|
|
15
15
|
const acceptTermsOfService = async (legalEntityId, url, termsOfServiceDocumentId, data) => {
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { i as useI18nContext, dW as AlertIcon, bY as FormHeader } from "./EventEmitter-
|
|
12
|
-
import { D as DropinLayout } from "./core-
|
|
11
|
+
import { i as useI18nContext, dW as AlertIcon, bY as FormHeader } from "./EventEmitter-j1WdUJDK.js";
|
|
12
|
+
import { D as DropinLayout } from "./core-DjRcdQS4.js";
|
|
13
13
|
function AccountSetupRejected() {
|
|
14
14
|
const { i18n } = useI18nContext();
|
|
15
15
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -9,9 +9,9 @@
|
|
|
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, K as Loader, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, n as useExperimentsContext, ap as getCapabilities, q as getLegalEntityCountry, J as LegalEntityType, bj as useForm, L as LoaderWrapper, E as Typography, b9 as Field, d$ as EntityTypeRadioGroupCard, cz as RadioGroupCard, G as Button, Y as Spacer, Q as Icon, a7 as hasSolePropInLegalEntity } from "./EventEmitter-
|
|
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, K as Loader, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, n as useExperimentsContext, ap as getCapabilities, q as getLegalEntityCountry, J as LegalEntityType, bj as useForm, L as LoaderWrapper, E as Typography, b9 as Field, d$ as EntityTypeRadioGroupCard, cz as RadioGroupCard, G as Button, Y as Spacer, Q as Icon, a7 as hasSolePropInLegalEntity } from "./EventEmitter-j1WdUJDK.js";
|
|
13
|
+
import { B as useUpdateLegalEntity } from "./CreateIndividualComponent-DFBf0dHb.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-DjRcdQS4.js";
|
|
15
15
|
const businessTypeExamples = /* @__PURE__ */ Object.assign({ "../localized/legalEntityTypeExamples/AT.json": () => import("./AT-EpV7jN58.js"), "../localized/legalEntityTypeExamples/AU.json": () => import("./AU-pBsEvEUy.js"), "../localized/legalEntityTypeExamples/BE.json": () => import("./BE-CU5o9cmc.js"), "../localized/legalEntityTypeExamples/BR.json": () => import("./BR-ORoHRwTk.js"), "../localized/legalEntityTypeExamples/CA.json": () => import("./CA-VXNq-m6m.js"), "../localized/legalEntityTypeExamples/CH.json": () => import("./CH-B_-afpD_.js"), "../localized/legalEntityTypeExamples/CZ.json": () => import("./CZ-CTw_bQIu.js"), "../localized/legalEntityTypeExamples/DE.json": () => import("./DE-D_jIDxOH.js"), "../localized/legalEntityTypeExamples/DK.json": () => import("./DK-dBzrfgpQ.js"), "../localized/legalEntityTypeExamples/ES.json": () => import("./ES-DYbZmFcJ.js"), "../localized/legalEntityTypeExamples/FI.json": () => import("./FI-C9nRvop7.js"), "../localized/legalEntityTypeExamples/FR.json": () => import("./FR-BycGQO4W.js"), "../localized/legalEntityTypeExamples/GB.json": () => import("./GB-DFyzo5sN.js"), "../localized/legalEntityTypeExamples/HK.json": () => import("./HK-WqZ5UBEF.js"), "../localized/legalEntityTypeExamples/HR.json": () => import("./HR-CRa19tH1.js"), "../localized/legalEntityTypeExamples/HU.json": () => import("./HU-D5NCweWf.js"), "../localized/legalEntityTypeExamples/IE.json": () => import("./IE-rhATS57q.js"), "../localized/legalEntityTypeExamples/IT.json": () => import("./IT-wD7dHdYD.js"), "../localized/legalEntityTypeExamples/LT.json": () => import("./LT-0F72uCyI.js"), "../localized/legalEntityTypeExamples/NL.json": () => import("./NL-q2U2l276.js"), "../localized/legalEntityTypeExamples/NO.json": () => import("./NO-CX12Zsf_.js"), "../localized/legalEntityTypeExamples/PL.json": () => import("./PL-CwCXF3Yu.js"), "../localized/legalEntityTypeExamples/PT.json": () => import("./PT-Dei5v1nD.js"), "../localized/legalEntityTypeExamples/RO.json": () => import("./RO-Dxk08mOu.js"), "../localized/legalEntityTypeExamples/SE.json": () => import("./SE-AP3gLiyy.js"), "../localized/legalEntityTypeExamples/SG.json": () => import("./SG-DMcOb17i.js"), "../localized/legalEntityTypeExamples/SI.json": () => import("./SI-BXe-yndm.js"), "../localized/legalEntityTypeExamples/SK.json": () => import("./SK-DwdgoGnD.js"), "../localized/legalEntityTypeExamples/US.json": () => import("./US-DHxLSqeC.js") });
|
|
16
16
|
const getBusinessTypeExamplesForCountry = async (country) => {
|
|
17
17
|
const importForCountry = businessTypeExamples[`../localized/legalEntityTypeExamples/${country}.json`];
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-
|
|
11
|
-
import { e1 as getPreferredColorScheme, e2 as createMemo, e3 as createComponent } from "./EventEmitter-
|
|
10
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-DTIsyCHN.js";
|
|
11
|
+
import { e1 as getPreferredColorScheme, e2 as createMemo, e3 as createComponent } from "./EventEmitter-j1WdUJDK.js";
|
|
12
12
|
var DevtoolsPanelComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
package/dist/{CreateIndividualComponent-C4Lu8qPZ.js → CreateIndividualComponent-DFBf0dHb.js}
RENAMED
|
@@ -8,7 +8,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, R as useInvalidateRootLegalEntity, f as useQueryClient, dk as FormContext, $ as entriesOf, aC as objectsDeepEqual, c as createLogger, c5 as TrustedFieldsProvider, aL as businessDetailsApiKeyMapping, dl as individualApiKeyMapping, dm as remediationHasFileUploadField, dn as dataMissingRemediationsToFieldsMap, k as keysOf, n as useExperimentsContext, q as getLegalEntityCountry, C as CountryCodes, a6 as isPartOfTrustFromLegalEntity, J as LegalEntityType, a7 as hasSolePropInLegalEntity, dp as individualComponentsKeyMapping, aE as businessDetailsComponentsKeyMapping, j as useAnalyticsContext, cE as summaryStep, dq as ValidationResult, dr as isNotEmptyValidator, H as isEmpty, I as useCoreContext, ds as AdyenKycSdkError, dt as hasText, du as matchesRegex, dv as trimValWithOneSpace, dw as NO_ALPHABET_REGEX, dx as EMOJI_REGEX, dy as hasRepeatedCharacters, dz as isInvalidName, dA as INDIVIDUAL_VALID_CHAR_REGEX, dB as getFormattingRegEx, dC as SPECIAL_CHARS, dD as FormRouterContext, i as useI18nContext, d0 as MaybeModal, D as ModalContent, B as ModalHeader, L as LoaderWrapper, cF as FormNavigation, F as ModalFooter, dE as StepProgressIndicator, G as Button, Y as Spacer, cG as Summary, U as httpDelete, bJ as getLocalizedIdDocumentTypeOptions, dF as isNewlyUploadedFile, T as TaskTypes, dG as remediationPayoutApiKeyMapping, dH as remediationBusinessDetailsApiKeyMapping, dI as remediationIndividualApiKeyMapping, dJ as getNestedPropertyKeys, y as cloneObject, dK as isValueObscured, bB as isTruthyValidator, dL as emailPattern, aS as resolveFieldMetadata, bC as getSSNType, bD as defaultFieldMetadata, bE as defaultFieldConfig, dM as defaultFieldMetadata$1, dN as fieldConfig, aX as defaultFieldMetadata$2, aZ as defaultFieldConfig$1, bF as getAgeToday, bG as euCountries, bH as DecisionMakerType, g as createFormRules, bI as allowedCountriesForNominee, bn as getAddressSchemaForCountry, bo as COUNTRIES_WITH_STATES_DATASET, bK as Scenarios, b6 as reverseMapping, dO as getNomineeFromAssociation, aD as drop, l as useToastContext, o as useSettingsContext, b2 as getAssociatedLeAnalyticsPayload, bA as addressValidators, cn as getAsyncIdNumberValidationRule, co as getAsyncPhoneValidationRules, dP as addressFormatters, cp as setHasMotionCaptureScenario, dQ as individualForms, cd as showIndividualMotionCapture, cq as getAllowedDecisionMakerRoles, cm as useProviderStatus, z as datasetUtilities, dR as Individual, ap as getCapabilities, aQ as filterOutUnwantedAssociationsIfRootLE, aO as mapAddressLabels, dS as individualDocumentForms, b8 as localizeDateString, dT as individualDocumentMapping, dU as individualObscuredFields, a$ as getOwnEntityAssociations, cr as hasNomineesChanged, cs as attachNomineeToRole, b0 as doArraysMatch, u as useLegalEntity, K as Loader } from "./EventEmitter-
|
|
11
|
+
import { a as useApiContext, b as useQuery, d as httpGet, e as useMutation, h as httpPost, R as useInvalidateRootLegalEntity, f as useQueryClient, dk as FormContext, $ as entriesOf, aC as objectsDeepEqual, c as createLogger, c5 as TrustedFieldsProvider, aL as businessDetailsApiKeyMapping, dl as individualApiKeyMapping, dm as remediationHasFileUploadField, dn as dataMissingRemediationsToFieldsMap, k as keysOf, n as useExperimentsContext, q as getLegalEntityCountry, C as CountryCodes, a6 as isPartOfTrustFromLegalEntity, J as LegalEntityType, a7 as hasSolePropInLegalEntity, dp as individualComponentsKeyMapping, aE as businessDetailsComponentsKeyMapping, j as useAnalyticsContext, cE as summaryStep, dq as ValidationResult, dr as isNotEmptyValidator, H as isEmpty, I as useCoreContext, ds as AdyenKycSdkError, dt as hasText, du as matchesRegex, dv as trimValWithOneSpace, dw as NO_ALPHABET_REGEX, dx as EMOJI_REGEX, dy as hasRepeatedCharacters, dz as isInvalidName, dA as INDIVIDUAL_VALID_CHAR_REGEX, dB as getFormattingRegEx, dC as SPECIAL_CHARS, dD as FormRouterContext, i as useI18nContext, d0 as MaybeModal, D as ModalContent, B as ModalHeader, L as LoaderWrapper, cF as FormNavigation, F as ModalFooter, dE as StepProgressIndicator, G as Button, Y as Spacer, cG as Summary, U as httpDelete, bJ as getLocalizedIdDocumentTypeOptions, dF as isNewlyUploadedFile, T as TaskTypes, dG as remediationPayoutApiKeyMapping, dH as remediationBusinessDetailsApiKeyMapping, dI as remediationIndividualApiKeyMapping, dJ as getNestedPropertyKeys, y as cloneObject, dK as isValueObscured, bB as isTruthyValidator, dL as emailPattern, aS as resolveFieldMetadata, bC as getSSNType, bD as defaultFieldMetadata, bE as defaultFieldConfig, dM as defaultFieldMetadata$1, dN as fieldConfig, aX as defaultFieldMetadata$2, aZ as defaultFieldConfig$1, bF as getAgeToday, bG as euCountries, bH as DecisionMakerType, g as createFormRules, bI as allowedCountriesForNominee, bn as getAddressSchemaForCountry, bo as COUNTRIES_WITH_STATES_DATASET, bK as Scenarios, b6 as reverseMapping, dO as getNomineeFromAssociation, aD as drop, l as useToastContext, o as useSettingsContext, b2 as getAssociatedLeAnalyticsPayload, bA as addressValidators, cn as getAsyncIdNumberValidationRule, co as getAsyncPhoneValidationRules, dP as addressFormatters, cp as setHasMotionCaptureScenario, dQ as individualForms, cd as showIndividualMotionCapture, cq as getAllowedDecisionMakerRoles, cm as useProviderStatus, z as datasetUtilities, dR as Individual, ap as getCapabilities, aQ as filterOutUnwantedAssociationsIfRootLE, aO as mapAddressLabels, dS as individualDocumentForms, b8 as localizeDateString, dT as individualDocumentMapping, dU as individualObscuredFields, a$ as getOwnEntityAssociations, cr as hasNomineesChanged, cs as attachNomineeToRole, b0 as doArraysMatch, u as useLegalEntity, K as Loader } from "./EventEmitter-j1WdUJDK.js";
|
|
12
12
|
import { useCallback, useMemo, useReducer, useState, useEffect } from "preact/hooks";
|
|
13
13
|
const getScenarios = async (legalEntityId, url, legalEntityType, countryCode) => {
|
|
14
14
|
const scenarioParams = new URLSearchParams({
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useLegalEntity, K as Loader, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, f as useQueryClient, aS as resolveFieldMetadata, dM as defaultFieldMetadata, dN as fieldConfig, co as getAsyncPhoneValidationRules, bY as FormHeader, c9 as ContactDetails, cH as ActionBar, c as createLogger } from "./EventEmitter-
|
|
11
|
+
import { u as useLegalEntity, K as Loader, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, f as useQueryClient, aS as resolveFieldMetadata, dM as defaultFieldMetadata, dN as fieldConfig, co as getAsyncPhoneValidationRules, bY as FormHeader, c9 as ContactDetails, cH as ActionBar, c as createLogger } from "./EventEmitter-j1WdUJDK.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { B as useUpdateLegalEntity, H as contactDetailsValidationRules, M as useValidatePhoneNumberImperatively, O as useMultiForm } from "./CreateIndividualComponent-
|
|
13
|
+
import { B as useUpdateLegalEntity, H as contactDetailsValidationRules, M as useValidatePhoneNumberImperatively, O as useMultiForm } from "./CreateIndividualComponent-DFBf0dHb.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] = "41af5c74-d87a-4f76-a483-1e3d2351aa75", e._sentryDebugIdIdentifier = "sentry-dbid-41af5c74-d87a-4f76-a483-1e3d2351aa75");
|
|
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 { G as Button, $ as entriesOf, bd as InputText, i as useI18nContext, dX as splitTaskIdentifier, n as useExperimentsContext, o as useSettingsContext, cu as useGlobalStore, dY as valuesOf, dZ as useTaskStatuses, M as Modal, c as createLogger, Q as Icon, S as SettingNames } from "./EventEmitter-
|
|
13
|
-
import { T as Tag, a as TaskItemStatus, l as listToRecord } from "./listToRecord-
|
|
12
|
+
import { G as Button, $ as entriesOf, bd as InputText, i as useI18nContext, dX as splitTaskIdentifier, n as useExperimentsContext, o as useSettingsContext, cu as useGlobalStore, dY as valuesOf, dZ as useTaskStatuses, M as Modal, c as createLogger, Q as Icon, S as SettingNames } from "./EventEmitter-j1WdUJDK.js";
|
|
13
|
+
import { T as Tag, a as TaskItemStatus, l as listToRecord } from "./listToRecord-BlK3HAQP.js";
|
|
14
14
|
var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
|
|
15
15
|
ExperimentNames2["AllowMoreRolesForMainRootTrustee"] = "AllowMoreRolesForMainRootTrustee";
|
|
16
16
|
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-DyO2AUp2.js"),
|
|
179
|
+
json: () => import("./json-9XN9dUr4.js"),
|
|
180
|
+
yaml: () => import("./yaml-i5z91HOG.js"),
|
|
181
|
+
css: () => import("./css-ChnxlzkB.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.68.
|
|
472
|
+
sdkVersion: "3.68.7",
|
|
473
473
|
locale: i18n.locale,
|
|
474
474
|
rootLegalEntityId: rootLegalEntity.id
|
|
475
475
|
};
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { u as useLegalEntity, K as Loader, ai as useGetTaskStatus, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, c$ as getOwnDecisionMakers, e0 as getAvailableDecisionMakerRoleTypes, T as TaskTypes, cq as getAllowedDecisionMakerRoles, bY as FormHeader, c4 as ContextGuidance, bH as DecisionMakerType, V as Alert, af as CardGroup, G as Button, cH as ActionBar } from "./EventEmitter-
|
|
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, K as Loader, ai as useGetTaskStatus, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, c$ as getOwnDecisionMakers, e0 as getAvailableDecisionMakerRoleTypes, T as TaskTypes, cq as getAllowedDecisionMakerRoles, bY as FormHeader, c4 as ContextGuidance, bH as DecisionMakerType, V as Alert, af as CardGroup, G as Button, cH as ActionBar } from "./EventEmitter-j1WdUJDK.js";
|
|
13
|
+
import { B as useUpdateLegalEntity } from "./CreateIndividualComponent-DFBf0dHb.js";
|
|
14
|
+
import { h as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, j as EntityAssociation } from "./core-DjRcdQS4.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] = "e2e5de47-d408-49d3-8380-037e6427fb55", e._sentryDebugIdIdentifier = "sentry-dbid-e2e5de47-d408-49d3-8380-037e6427fb55");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { d5 as SettingsProvider, d6 as ExperimentsContextProvider, d7 as ApiProvider, d8 as QueryClientProvider, d9 as StoreProvider, da as AnalyticsProvider, db as CoreProvider, dc as I18nProvider, d4 as EventEmitter, dd as DebugListener, de as ToastContextProvider, df as StateProvider, dg as ReactQueryDevtools2 } from "./EventEmitter-
|
|
11
|
+
import { d5 as SettingsProvider, d6 as ExperimentsContextProvider, d7 as ApiProvider, d8 as QueryClientProvider, d9 as StoreProvider, da as AnalyticsProvider, db as CoreProvider, dc as I18nProvider, d4 as EventEmitter, dd as DebugListener, de as ToastContextProvider, df as StateProvider, dg as ReactQueryDevtools2 } from "./EventEmitter-j1WdUJDK.js";
|
|
12
12
|
function injectCss(shadowRoot) {
|
|
13
13
|
{
|
|
14
14
|
import("./styles-CLV89_hH.js").then(({ css }) => {
|
|
@@ -38,7 +38,7 @@ const EmbedShell = ({
|
|
|
38
38
|
const eventEmitter = new EventEmitter();
|
|
39
39
|
return /* @__PURE__ */ jsx(SettingsProvider, { settings, children: /* @__PURE__ */ jsx(ExperimentsContextProvider, { experiments, refreshExperiments, children: /* @__PURE__ */ jsx(ApiProvider, { legalEntityId, baseUrl: loadingContext, children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
40
40
|
/* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
41
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.68.
|
|
41
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.68.7" }),
|
|
42
42
|
/* @__PURE__ */ jsx(
|
|
43
43
|
AnalyticsProvider,
|
|
44
44
|
{
|
|
@@ -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] = "4c7ea205-77a5-4cf4-94e1-47885d69e95f", e._sentryDebugIdIdentifier = "sentry-dbid-4c7ea205-77a5-4cf4-94e1-47885d69e95f");
|
|
23
23
|
} catch (e) {
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -17449,6 +17449,11 @@ const rules = ({
|
|
|
17449
17449
|
if (taskType !== TaskTypes.SOLE_PROPRIETOR_COMPANY) {
|
|
17450
17450
|
return "REQUIRED";
|
|
17451
17451
|
}
|
|
17452
|
+
},
|
|
17453
|
+
canadaOverrideTaxInfo: () => {
|
|
17454
|
+
if (country === CountryCodes.Canada && taskType === TaskTypes.BUSINESS_DETAILS) {
|
|
17455
|
+
return "REQUIRED";
|
|
17456
|
+
}
|
|
17452
17457
|
}
|
|
17453
17458
|
});
|
|
17454
17459
|
function TaxIdNumberTypeSelector({
|
|
@@ -32392,7 +32397,7 @@ var TanstackQueryDevtools = (_l = class {
|
|
|
32392
32397
|
if (__privateGet(this, _Component)) {
|
|
32393
32398
|
Devtools = __privateGet(this, _Component);
|
|
32394
32399
|
} else {
|
|
32395
|
-
Devtools = lazy(() => import("./I3HPI4QX-
|
|
32400
|
+
Devtools = lazy(() => import("./I3HPI4QX-DNzAV1h1.js"));
|
|
32396
32401
|
__privateSet(this, _Component, Devtools);
|
|
32397
32402
|
}
|
|
32398
32403
|
setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
|
|
@@ -32514,7 +32519,7 @@ var TanstackQueryDevtoolsPanel = (_m = class {
|
|
|
32514
32519
|
if (__privateGet(this, _Component2)) {
|
|
32515
32520
|
Devtools = __privateGet(this, _Component2);
|
|
32516
32521
|
} else {
|
|
32517
|
-
Devtools = lazy(() => import("./CXEL7IU7-
|
|
32522
|
+
Devtools = lazy(() => import("./CXEL7IU7-B-g9BVmI.js"));
|
|
32518
32523
|
__privateSet(this, _Component2, Devtools);
|
|
32519
32524
|
}
|
|
32520
32525
|
setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
|
|
@@ -32733,7 +32738,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
|
|
|
32733
32738
|
};
|
|
32734
32739
|
};
|
|
32735
32740
|
const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
|
|
32736
|
-
const sdkVersion = "3.68.
|
|
32741
|
+
const sdkVersion = "3.68.7";
|
|
32737
32742
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
32738
32743
|
const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
|
|
32739
32744
|
const capabilities = Object.keys(rootLegalEntity.capabilities ?? {});
|
|
@@ -32808,7 +32813,7 @@ const AnalyticsProvider = ({
|
|
|
32808
32813
|
const { onboardingVersion } = useVersion();
|
|
32809
32814
|
const userEvents2 = useMemo(() => createUserEvents(), []);
|
|
32810
32815
|
const sessionData = {
|
|
32811
|
-
sdkVersion: "3.68.
|
|
32816
|
+
sdkVersion: "3.68.7",
|
|
32812
32817
|
componentName,
|
|
32813
32818
|
userAgent: navigator.userAgent,
|
|
32814
32819
|
legalEntityId,
|
|
@@ -33296,7 +33301,7 @@ function StateProvider({
|
|
|
33296
33301
|
);
|
|
33297
33302
|
return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
|
|
33298
33303
|
}
|
|
33299
|
-
const DebugModal = lazy$1(async () => (await import("./DebugModal-
|
|
33304
|
+
const DebugModal = lazy$1(async () => (await import("./DebugModal-DhY-1J72.js").then((n) => n.D)).DebugModal);
|
|
33300
33305
|
const DebugListener = () => {
|
|
33301
33306
|
const [debugUiOpen, setDebugUiOpen] = useState(false);
|
|
33302
33307
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -10,7 +10,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
;
|
|
13
|
-
import { e4 as createContext, e5 as createSignal, e6 as onMount, e7 as createEffect, e2 as createMemo, e3 as createComponent, e8 as Portal, e9 as Show, ea as template, eb as insert, ec as createRenderEffect, ed as className, ee as clearDelegatedEvents, ef as delegateEvents, eg as useContext, eh as onCleanup, ei as sortFns, ej as mutationSortFns, ek as on, el as setAttribute, em as getSidedProp, en as use, eo as createUniqueId, ep as batch, eq as getQueryStatusLabel, er as getMutationStatusColor, es as getQueryStatusColor, et as getQueryStatusColorByLabel, eu as displayValue, ev as For, ew as convertRemToPixels, ex as untrack, ey as $TRACK, ez as useTransition, eA as spread, eB as mergeProps, eC as createRoot, eD as serialize, eE as Index, eF as updateNestedDataByPath, eG as addEventListener, eH as stringify, eI as Match, eJ as Switch, eK as deleteNestedDataByPath, eL as splitProps, eM as Dynamic, eN as createComputed } from "./EventEmitter-
|
|
13
|
+
import { e4 as createContext, e5 as createSignal, e6 as onMount, e7 as createEffect, e2 as createMemo, e3 as createComponent, e8 as Portal, e9 as Show, ea as template, eb as insert, ec as createRenderEffect, ed as className, ee as clearDelegatedEvents, ef as delegateEvents, eg as useContext, eh as onCleanup, ei as sortFns, ej as mutationSortFns, ek as on, el as setAttribute, em as getSidedProp, en as use, eo as createUniqueId, ep as batch, eq as getQueryStatusLabel, er as getMutationStatusColor, es as getQueryStatusColor, et as getQueryStatusColorByLabel, eu as displayValue, ev as For, ew as convertRemToPixels, ex as untrack, ey as $TRACK, ez as useTransition, eA as spread, eB as mergeProps, eC as createRoot, eD as serialize, eE as Index, eF as updateNestedDataByPath, eG as addEventListener, eH as stringify, eI as Match, eJ as Switch, eK as deleteNestedDataByPath, eL as splitProps, eM as Dynamic, eN as createComputed } from "./EventEmitter-j1WdUJDK.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 { e1 as getPreferredColorScheme, e2 as createMemo, e3 as createComponent } from "./EventEmitter-
|
|
10
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-DTIsyCHN.js";
|
|
11
|
+
import { e1 as getPreferredColorScheme, e2 as createMemo, e3 as createComponent } from "./EventEmitter-j1WdUJDK.js";
|
|
12
12
|
var DevtoolsComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
|
@@ -9,9 +9,9 @@
|
|
|
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 { T as TaskTypes, J as LegalEntityType, d_ as getTranslationKeysByPrefix, i as useI18nContext, j as useAnalyticsContext, dE as StepProgressIndicator, G as Button } from "./EventEmitter-
|
|
12
|
+
import { T as TaskTypes, J as LegalEntityType, d_ as getTranslationKeysByPrefix, i as useI18nContext, j as useAnalyticsContext, dE as StepProgressIndicator, G as Button } from "./EventEmitter-j1WdUJDK.js";
|
|
13
13
|
import { useMemo } from "preact/compat";
|
|
14
|
-
import { u as useCanSeeIntroduction, a as useLegalEntityType, t as toCapitalized } from "./core-
|
|
14
|
+
import { u as useCanSeeIntroduction, a as useLegalEntityType, t as toCapitalized } from "./core-DjRcdQS4.js";
|
|
15
15
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
16
16
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
17
17
|
IntroductionScreens2[IntroductionScreens2["INDIVIDUAL"] = TaskTypes.INDIVIDUAL] = "INDIVIDUAL";
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { a as useApiContext, e as useMutation, h as httpPost, i as useI18nContext, l as useToastContext, L as LoaderWrapper, bY as FormHeader, d1 as Checkbox, cH as ActionBar } from "./EventEmitter-
|
|
13
|
-
import { D as DropinLayout } from "./core-
|
|
12
|
+
import { a as useApiContext, e as useMutation, h as httpPost, i as useI18nContext, l as useToastContext, L as LoaderWrapper, bY as FormHeader, d1 as Checkbox, cH as ActionBar } from "./EventEmitter-j1WdUJDK.js";
|
|
13
|
+
import { D as DropinLayout } from "./core-DjRcdQS4.js";
|
|
14
14
|
const confirmReview = async (legalEntityId, url) => {
|
|
15
15
|
return httpPost({
|
|
16
16
|
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 { i as useI18nContext, bj as useForm, E as Typography, b9 as Field, cz as RadioGroupCard, G as Button, bx as Svg, J as LegalEntityType } from "./EventEmitter-
|
|
12
|
+
import { i as useI18nContext, bj as useForm, E as Typography, b9 as Field, cz as RadioGroupCard, G as Button, bx as Svg, J as LegalEntityType } from "./EventEmitter-j1WdUJDK.js";
|
|
13
13
|
const setupAccountMethods = ["singpass", "manual"];
|
|
14
14
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
15
15
|
const getSingpassSelectionDisabled = (legalEntityType) => {
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
12
|
-
import { a as useApiContext, b as useQuery, d as httpGet, E as Typography, i as useI18nContext, bO as useFormContext, V as Alert, b9 as Field, bb as RadioGroup, aw as getFormProps, Q as Icon, aM as isEmpty, bx as Svg, G as Button, W as Card, X as StructuredList, Z as IconButton, H as isEmpty$1, R as useInvalidateRootLegalEntity, j as useAnalyticsContext, u as useLegalEntity, c as createLogger, K as Loader } from "./EventEmitter-
|
|
13
|
-
import { B as useUpdateLegalEntity, O as useMultiForm, h as getRequiredForms, i as addValidityToForms, j as useFormComposer, U as FormContextProvider, F as FormWrapper } from "./CreateIndividualComponent-
|
|
12
|
+
import { a as useApiContext, b as useQuery, d as httpGet, E as Typography, i as useI18nContext, bO as useFormContext, V as Alert, b9 as Field, bb as RadioGroup, aw as getFormProps, Q as Icon, aM as isEmpty, bx as Svg, G as Button, W as Card, X as StructuredList, Z as IconButton, H as isEmpty$1, R as useInvalidateRootLegalEntity, j as useAnalyticsContext, u as useLegalEntity, c as createLogger, K as Loader } from "./EventEmitter-j1WdUJDK.js";
|
|
13
|
+
import { B as useUpdateLegalEntity, O as useMultiForm, h as getRequiredForms, i as addValidityToForms, j as useFormComposer, U as FormContextProvider, F as FormWrapper } from "./CreateIndividualComponent-DFBf0dHb.js";
|
|
14
14
|
import { signal } from "@preact/signals";
|
|
15
|
-
import { s as sofStyles, T as TaskStatusIndicator, n as normalizedTaskStatusStore } from "./core-
|
|
15
|
+
import { s as sofStyles, T as TaskStatusIndicator, n as normalizedTaskStatusStore } from "./core-DjRcdQS4.js";
|
|
16
16
|
const getTaxClassification = async (legalEntityId, url) => {
|
|
17
17
|
return httpGet({
|
|
18
18
|
loadingContext: url,
|
package/dist/adyenConfig.js
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fb15216b-5b9c-4e2c-8f2c-8dc6efbf214c", e._sentryDebugIdIdentifier = "sentry-dbid-fb15216b-5b9c-4e2c-8f2c-8dc6efbf214c");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as createLogger, u as useLegalEntity, a as useApiContext, b as useQuery, h as httpPost, d as httpGet, e as useMutation, f as useQueryClient, g as createFormRules, m as mapPayoutAccountSchemaToApiBankAccount, p as payoutComponentKeyMapping, k as keysOf, s as summaryItem, C as CountryCodes, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, n as useExperimentsContext, o as useSettingsContext, q as getLegalEntityCountry, r as currencyByCountry, t as getLegalEntityNameBasedOnType, T as TaskTypes, v as useStateContext, w as getCapabilityProblems, x as isProviderWidgetInline, S as SettingNames, y as cloneObject, z as datasetUtilities, A as payoutSteps, L as LoaderWrapper, M as Modal, B as ModalHeader, D as ModalContent, E as Typography, F as ModalFooter, G as Button, P as PayoutDetails, H as isEmpty, I as useCoreContext, J as LegalEntityType, K as Loader, N as TaskStatus, O as Skeleton, Q as Icon, R as useInvalidateRootLegalEntity, U as httpDelete, V as Alert, W as Card, X as StructuredList, Y as Spacer, Z as IconButton, _ as Confirm, $ as entriesOf, a0 as useDataset, a1 as datasetIdentifier, a2 as useLocalStorage, a3 as getLegalRepresentative, a4 as doesLegalEntityRequiresLegalRepresentative, a5 as ProviderButton, a6 as isPartOfTrustFromLegalEntity, a7 as hasSolePropInLegalEntity, a8 as hasOwnEntityAssociationOfType, a9 as isEmptyEntity, aa as CompanyTypesValue, ab as EntityType, ac as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, ad as handleKeys, ae as noop, af as CardGroup, ag as useSetting, ah as useTasks, ai as useGetTaskStatus, aj as isPartOfUnincorporatedPartnership, ak as getOwnSignatories, al as getOwnDecisionMakersLegalEntityIds, am as getOwnSolePropProblems, an as getOwnTrustProblems, ao as getOwnUnincorporatedPartnershipProblems, ap as getCapabilities, aq as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES, ar as MemoizedDocumentUpload, as as List, at as useGlobalData, au as getForms, av as BasicInformation, aw as getFormProps, ax as CompanyStructure, ay as AdditionalInformation, az as MemoizedConstitutionalDocument, aA as FinancialInformation, aB as StateCodesUS, aC as objectsDeepEqual, aD as drop, aE as businessDetailsComponentsKeyMapping, aF as solePropBusinessDetailsKeyMapping, aG as operationalAddressIsSameIds, aH as COUNTRIES_USING_COMPANY_SEARCH, aI as FIELDS_NEEDED_FOR_COMPANY_SEARCH, aJ as isUndefinedOrNull, aK as solePropBusinessDetailsApiKeyMapping, aL as businessDetailsApiKeyMapping, aM as isEmpty$1, aN as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, aO as mapAddressLabels, aP as companyTypeMetadata, aQ as filterOutUnwantedAssociationsIfRootLE, aR as documentFormsIds, aS as resolveFieldMetadata, aT as defaultFieldMetadata, aU as inferCompanyRegistrationNumberType, aV as getCompanyRegistrationNumberOptions, aW as defaultFieldConfig, aX as defaultFieldMetadata$1, aY as countryToTaxInfoTypeMap, aZ as defaultFieldConfig$1, a_ as getKeyForField, a$ as getOwnEntityAssociations, b0 as doArraysMatch, b1 as setIsBankAccountRequestedForOrganization, b2 as getAssociatedLeAnalyticsPayload, b3 as rules$2, b4 as solePropBusinessDetailsDocumentMapping, b5 as businessDetailsDocumentMapping, b6 as reverseMapping, b7 as eeaCountries, b8 as localizeDateString, b9 as Field, ba as Select, bb as RadioGroup, bc as Link, bd as InputText, be as InputNumber, bf as InputDate, bg as Currency, bh as CURRENCY_FIELD, bi as InputCurrency, bj as useForm, bk as useGlobalDataSlice, bl as ErrorPanel, bm as createFormUtils, bn as getAddressSchemaForCountry, bo as COUNTRIES_WITH_STATES_DATASET, bp as Address, bq as getAddressSchemaLabelsByCountry, br as Currencies, bs as InputGroup, bt as TextArea, bu as CountryField, bv as useId, bw as KEYBOARD_KEYS, bx as Svg, by as Dropzone, bz as useLegalEntities, bA as addressValidators, bB as isTruthyValidator, bC as getSSNType, bD as defaultFieldMetadata$2, bE as defaultFieldConfig$2, bF as getAgeToday, bG as euCountries, bH as DecisionMakerType, bI as allowedCountriesForNominee, bJ as getLocalizedIdDocumentTypeOptions, bK as Scenarios, bL as licenseCardNumberDefaultMetadata, bM as licenseCardNumberDefaultConfig, bN as mergeFieldMetadataIntoProps, bO as useFormContext, bP as getFieldProps, bQ as idNumberFields, bR as IdentityNumber, bS as additionallIdNumberOptions, bT as MaskedInput, bU as formatDateObj, bV as DriversLicense, bW as addressFields, bX as getDefaultTaxIdNumberType, bY as FormHeader, bZ as IndividualIdNumberTypeSelector, b_ as TaxInformationField, b$ as PatriotActDisclosure, c0 as nameFields, c1 as decisionMakerRoleFields, c2 as nomineeFields, c3 as contactDetailFields, c4 as ContextGuidance, c5 as TrustedFieldsProvider, c6 as DecisionMakerRole, c7 as NomineeDecisionMakerRole, c8 as Name, c9 as ContactDetails, ca as RadioWithLabel, cb as pick, cc as IdVerification, cd as showIndividualMotionCapture, ce as IdDocumentManualUpload, cf as idDocumentUploadFields, cg as useFormRouterContext, ch as setShowIndividualMotionCapture, ci as shouldShowMotionCapture, cj as hasMotionCaptureScenario, ck as MemoizedProofOfRelationship, cl as MemoizedProofOfResidencyUpload, cm as useProviderStatus, cn as getAsyncIdNumberValidationRule, co as getAsyncPhoneValidationRules, cp as setHasMotionCaptureScenario, cq as getAllowedDecisionMakerRoles, cr as hasNomineesChanged, cs as attachNomineeToRole, ct as TrustMemberTypes, cu as useGlobalStore, cv as defaultFieldMetadata$3, cw as defaultFieldConfig$3, cx as MultiSelectList, cy as makeSelectItemForRole, cz as RadioGroupCard, cA as COUNTRY_FIELD, cB as LegalCompanyNameField, cC as LEGAL_COMPANY_NAME_FIELD, cD as getRoleName, cE as summaryStep, cF as FormNavigation, cG as Summary, cH as ActionBar, cI as updateTaxInformation, cJ as TrustTypes, cK as trustComponentsKeyMapping, cL as trustApiKeyMapping, cM as trustDocumentMapping, cN as trustForms, cO as Trust, cP as trustTypeOptions, cQ as trustConstitutionalDocumentFormId, cR as UnincorporatedPartnershipMemberTypes, cS as getDecisionMakerDescriptionMap, cT as TRUST_DEFAULT_DESCRIPTIONS_MAP, cU as getRoleTagVariant, cV as DEFAULT_TRUST_MEMBER_REQUIREMENTS, cW as deleteUnincorporatedPartnershipMember, cX as mapEntityAssociationsToUnincorporatedPartnershipMembers, cY as hasAllCapabilitiesResolved, cZ as hasRejectedCapabilities, c_ as getPayoutAccountHolderName, c$ as getOwnDecisionMakers, d0 as MaybeModal, d1 as Checkbox, d2 as listify, d3 as uuidv4, d4 as EventEmitter, d5 as SettingsProvider, d6 as ExperimentsContextProvider, d7 as ApiProvider, d8 as QueryClientProvider, d9 as StoreProvider, da as AnalyticsProvider, db as CoreProvider, dc as I18nProvider, dd as DebugListener, de as ToastContextProvider, df as StateProvider, dg as ReactQueryDevtools2, dh as FALLBACK_LOCALE, di as setSdkToken, dj as setSdkTokenHandler } from "./EventEmitter-
|
|
11
|
-
import { u as useTermsOfServiceAcceptanceInfos, a as useTermsOfServiceStatus, d as downloadFile, F as FormEndState, O as OutlinedIcon, C as ContractViewer, A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
12
|
-
import { g as getDocument, m as mapExistingFile, a as getPageName, c as createDocumentRequest, b as mapWith, d as documentApiUtils, u as useScenarioConfiguration, e as getPropsFromConfigurations, f as useUnifyLoadingStatus, h as getRequiredForms, i as addValidityToForms, j as useFormComposer, F as FormWrapper, k as augmentWithCountryConfigs, o as omitObscuredFieldsIfUnchanged, l as isValidationError, p as processValidationErrors, n as isIdDocumentUploadError, q as isBankStatementUploadError, r as isMaintenanceModeError, s as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable, t as getFileExtention, S as SOLE_PROP_COUNTRIES, v as formatObject, w as composePerScenarioFormConfigurations, x as getProp, y as getFieldsWithExistingData, z as hasDataChanged, A as useCreateLegalEntity, B as useUpdateLegalEntity, D as trackNavigation, E as fieldsPerScenario, G as nomineeDecisionMakerRoleValidationRules, H as contactDetailsValidationRules, I as nameValidationRulesV4, J as nameValidationRules, K as adjustIdentificationData, L as useIdVerificationToken, M as useValidatePhoneNumberImperatively, N as useVerifyIdNumber, O as useMultiForm, P as useScenarios, Q as mandateIdVerificationForMotionCapture, R as mapApiDocumentToIndividualDocuments, T as useIdVerificationStartCheck, U as FormContextProvider, V as mapIndividualDocumentToApiDocument, W as mergeAttachments, X as onfidoDocumentTypeMapping, Y as IndividualDropin, Z as useSingpassMyInfoLogin, C as CreateIndividualComponent } from "./CreateIndividualComponent-
|
|
10
|
+
import { c as createLogger, u as useLegalEntity, a as useApiContext, b as useQuery, h as httpPost, d as httpGet, e as useMutation, f as useQueryClient, g as createFormRules, m as mapPayoutAccountSchemaToApiBankAccount, p as payoutComponentKeyMapping, k as keysOf, s as summaryItem, C as CountryCodes, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, n as useExperimentsContext, o as useSettingsContext, q as getLegalEntityCountry, r as currencyByCountry, t as getLegalEntityNameBasedOnType, T as TaskTypes, v as useStateContext, w as getCapabilityProblems, x as isProviderWidgetInline, S as SettingNames, y as cloneObject, z as datasetUtilities, A as payoutSteps, L as LoaderWrapper, M as Modal, B as ModalHeader, D as ModalContent, E as Typography, F as ModalFooter, G as Button, P as PayoutDetails, H as isEmpty, I as useCoreContext, J as LegalEntityType, K as Loader, N as TaskStatus, O as Skeleton, Q as Icon, R as useInvalidateRootLegalEntity, U as httpDelete, V as Alert, W as Card, X as StructuredList, Y as Spacer, Z as IconButton, _ as Confirm, $ as entriesOf, a0 as useDataset, a1 as datasetIdentifier, a2 as useLocalStorage, a3 as getLegalRepresentative, a4 as doesLegalEntityRequiresLegalRepresentative, a5 as ProviderButton, a6 as isPartOfTrustFromLegalEntity, a7 as hasSolePropInLegalEntity, a8 as hasOwnEntityAssociationOfType, a9 as isEmptyEntity, aa as CompanyTypesValue, ab as EntityType, ac as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, ad as handleKeys, ae as noop, af as CardGroup, ag as useSetting, ah as useTasks, ai as useGetTaskStatus, aj as isPartOfUnincorporatedPartnership, ak as getOwnSignatories, al as getOwnDecisionMakersLegalEntityIds, am as getOwnSolePropProblems, an as getOwnTrustProblems, ao as getOwnUnincorporatedPartnershipProblems, ap as getCapabilities, aq as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES, ar as MemoizedDocumentUpload, as as List, at as useGlobalData, au as getForms, av as BasicInformation, aw as getFormProps, ax as CompanyStructure, ay as AdditionalInformation, az as MemoizedConstitutionalDocument, aA as FinancialInformation, aB as StateCodesUS, aC as objectsDeepEqual, aD as drop, aE as businessDetailsComponentsKeyMapping, aF as solePropBusinessDetailsKeyMapping, aG as operationalAddressIsSameIds, aH as COUNTRIES_USING_COMPANY_SEARCH, aI as FIELDS_NEEDED_FOR_COMPANY_SEARCH, aJ as isUndefinedOrNull, aK as solePropBusinessDetailsApiKeyMapping, aL as businessDetailsApiKeyMapping, aM as isEmpty$1, aN as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, aO as mapAddressLabels, aP as companyTypeMetadata, aQ as filterOutUnwantedAssociationsIfRootLE, aR as documentFormsIds, aS as resolveFieldMetadata, aT as defaultFieldMetadata, aU as inferCompanyRegistrationNumberType, aV as getCompanyRegistrationNumberOptions, aW as defaultFieldConfig, aX as defaultFieldMetadata$1, aY as countryToTaxInfoTypeMap, aZ as defaultFieldConfig$1, a_ as getKeyForField, a$ as getOwnEntityAssociations, b0 as doArraysMatch, b1 as setIsBankAccountRequestedForOrganization, b2 as getAssociatedLeAnalyticsPayload, b3 as rules$2, b4 as solePropBusinessDetailsDocumentMapping, b5 as businessDetailsDocumentMapping, b6 as reverseMapping, b7 as eeaCountries, b8 as localizeDateString, b9 as Field, ba as Select, bb as RadioGroup, bc as Link, bd as InputText, be as InputNumber, bf as InputDate, bg as Currency, bh as CURRENCY_FIELD, bi as InputCurrency, bj as useForm, bk as useGlobalDataSlice, bl as ErrorPanel, bm as createFormUtils, bn as getAddressSchemaForCountry, bo as COUNTRIES_WITH_STATES_DATASET, bp as Address, bq as getAddressSchemaLabelsByCountry, br as Currencies, bs as InputGroup, bt as TextArea, bu as CountryField, bv as useId, bw as KEYBOARD_KEYS, bx as Svg, by as Dropzone, bz as useLegalEntities, bA as addressValidators, bB as isTruthyValidator, bC as getSSNType, bD as defaultFieldMetadata$2, bE as defaultFieldConfig$2, bF as getAgeToday, bG as euCountries, bH as DecisionMakerType, bI as allowedCountriesForNominee, bJ as getLocalizedIdDocumentTypeOptions, bK as Scenarios, bL as licenseCardNumberDefaultMetadata, bM as licenseCardNumberDefaultConfig, bN as mergeFieldMetadataIntoProps, bO as useFormContext, bP as getFieldProps, bQ as idNumberFields, bR as IdentityNumber, bS as additionallIdNumberOptions, bT as MaskedInput, bU as formatDateObj, bV as DriversLicense, bW as addressFields, bX as getDefaultTaxIdNumberType, bY as FormHeader, bZ as IndividualIdNumberTypeSelector, b_ as TaxInformationField, b$ as PatriotActDisclosure, c0 as nameFields, c1 as decisionMakerRoleFields, c2 as nomineeFields, c3 as contactDetailFields, c4 as ContextGuidance, c5 as TrustedFieldsProvider, c6 as DecisionMakerRole, c7 as NomineeDecisionMakerRole, c8 as Name, c9 as ContactDetails, ca as RadioWithLabel, cb as pick, cc as IdVerification, cd as showIndividualMotionCapture, ce as IdDocumentManualUpload, cf as idDocumentUploadFields, cg as useFormRouterContext, ch as setShowIndividualMotionCapture, ci as shouldShowMotionCapture, cj as hasMotionCaptureScenario, ck as MemoizedProofOfRelationship, cl as MemoizedProofOfResidencyUpload, cm as useProviderStatus, cn as getAsyncIdNumberValidationRule, co as getAsyncPhoneValidationRules, cp as setHasMotionCaptureScenario, cq as getAllowedDecisionMakerRoles, cr as hasNomineesChanged, cs as attachNomineeToRole, ct as TrustMemberTypes, cu as useGlobalStore, cv as defaultFieldMetadata$3, cw as defaultFieldConfig$3, cx as MultiSelectList, cy as makeSelectItemForRole, cz as RadioGroupCard, cA as COUNTRY_FIELD, cB as LegalCompanyNameField, cC as LEGAL_COMPANY_NAME_FIELD, cD as getRoleName, cE as summaryStep, cF as FormNavigation, cG as Summary, cH as ActionBar, cI as updateTaxInformation, cJ as TrustTypes, cK as trustComponentsKeyMapping, cL as trustApiKeyMapping, cM as trustDocumentMapping, cN as trustForms, cO as Trust, cP as trustTypeOptions, cQ as trustConstitutionalDocumentFormId, cR as UnincorporatedPartnershipMemberTypes, cS as getDecisionMakerDescriptionMap, cT as TRUST_DEFAULT_DESCRIPTIONS_MAP, cU as getRoleTagVariant, cV as DEFAULT_TRUST_MEMBER_REQUIREMENTS, cW as deleteUnincorporatedPartnershipMember, cX as mapEntityAssociationsToUnincorporatedPartnershipMembers, cY as hasAllCapabilitiesResolved, cZ as hasRejectedCapabilities, c_ as getPayoutAccountHolderName, c$ as getOwnDecisionMakers, d0 as MaybeModal, d1 as Checkbox, d2 as listify, d3 as uuidv4, d4 as EventEmitter, d5 as SettingsProvider, d6 as ExperimentsContextProvider, d7 as ApiProvider, d8 as QueryClientProvider, d9 as StoreProvider, da as AnalyticsProvider, db as CoreProvider, dc as I18nProvider, dd as DebugListener, de as ToastContextProvider, df as StateProvider, dg as ReactQueryDevtools2, dh as FALLBACK_LOCALE, di as setSdkToken, dj as setSdkTokenHandler } from "./EventEmitter-j1WdUJDK.js";
|
|
11
|
+
import { u as useTermsOfServiceAcceptanceInfos, a as useTermsOfServiceStatus, d as downloadFile, F as FormEndState, O as OutlinedIcon, C as ContractViewer, A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-DZykS6qj.js";
|
|
12
|
+
import { g as getDocument, m as mapExistingFile, a as getPageName, c as createDocumentRequest, b as mapWith, d as documentApiUtils, u as useScenarioConfiguration, e as getPropsFromConfigurations, f as useUnifyLoadingStatus, h as getRequiredForms, i as addValidityToForms, j as useFormComposer, F as FormWrapper, k as augmentWithCountryConfigs, o as omitObscuredFieldsIfUnchanged, l as isValidationError, p as processValidationErrors, n as isIdDocumentUploadError, q as isBankStatementUploadError, r as isMaintenanceModeError, s as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable, t as getFileExtention, S as SOLE_PROP_COUNTRIES, v as formatObject, w as composePerScenarioFormConfigurations, x as getProp, y as getFieldsWithExistingData, z as hasDataChanged, A as useCreateLegalEntity, B as useUpdateLegalEntity, D as trackNavigation, E as fieldsPerScenario, G as nomineeDecisionMakerRoleValidationRules, H as contactDetailsValidationRules, I as nameValidationRulesV4, J as nameValidationRules, K as adjustIdentificationData, L as useIdVerificationToken, M as useValidatePhoneNumberImperatively, N as useVerifyIdNumber, O as useMultiForm, P as useScenarios, Q as mandateIdVerificationForMotionCapture, R as mapApiDocumentToIndividualDocuments, T as useIdVerificationStartCheck, U as FormContextProvider, V as mapIndividualDocumentToApiDocument, W as mergeAttachments, X as onfidoDocumentTypeMapping, Y as IndividualDropin, Z as useSingpassMyInfoLogin, C as CreateIndividualComponent } from "./CreateIndividualComponent-DFBf0dHb.js";
|
|
13
13
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
14
14
|
import { useMemo, useState, useEffect, useCallback, useRef } from "preact/hooks";
|
|
15
15
|
import cx from "classnames";
|
|
16
|
-
import { T as Tag, a as TaskItemStatus, l as listToRecord } from "./listToRecord-
|
|
16
|
+
import { T as Tag, a as TaskItemStatus, l as listToRecord } from "./listToRecord-BlK3HAQP.js";
|
|
17
17
|
import { lazy, Suspense } from "preact/compat";
|
|
18
18
|
import { signal } from "@preact/signals";
|
|
19
19
|
import isURL from "validator/es/lib/isURL.js";
|
|
@@ -4147,7 +4147,12 @@ const businessDetailsFieldsPerScenario = {
|
|
|
4147
4147
|
stateOrProvince: { rule: "countryUsingCompanySearch" },
|
|
4148
4148
|
...financialInformationBase
|
|
4149
4149
|
},
|
|
4150
|
-
L1: {
|
|
4150
|
+
L1: {
|
|
4151
|
+
...businessDetailsBase,
|
|
4152
|
+
...financialInformationBase,
|
|
4153
|
+
/* Temporary override for TSD-43260 */
|
|
4154
|
+
taxInformation: { rule: "canadaOverrideTaxInfo" }
|
|
4155
|
+
},
|
|
4151
4156
|
L: {
|
|
4152
4157
|
...businessDetailsBase,
|
|
4153
4158
|
...taxInformationBase$1,
|
|
@@ -16410,32 +16415,32 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
16410
16415
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
16411
16416
|
};
|
|
16412
16417
|
const Introduction = lazy(
|
|
16413
|
-
async () => (await import("./Introduction-
|
|
16418
|
+
async () => (await import("./Introduction-C1UXY4dT.js")).Introduction
|
|
16414
16419
|
);
|
|
16415
16420
|
const BusinessTypeSelection = lazy(
|
|
16416
|
-
async () => (await import("./BusinessTypeSelection-
|
|
16421
|
+
async () => (await import("./BusinessTypeSelection-C2Pramza.js")).BusinessTypeSelection
|
|
16417
16422
|
);
|
|
16418
16423
|
const SingpassSelection = lazy(
|
|
16419
|
-
async () => (await import("./SingpassSelection-
|
|
16424
|
+
async () => (await import("./SingpassSelection-7lk-oQzn.js")).SingpassSelection
|
|
16420
16425
|
);
|
|
16421
16426
|
const AccountSetupRejected = lazy(
|
|
16422
|
-
async () => (await import("./AccountSetupRejected-
|
|
16427
|
+
async () => (await import("./AccountSetupRejected-D1i1_8JE.js")).AccountSetupRejected
|
|
16423
16428
|
);
|
|
16424
16429
|
const DecisionMakers = lazy(
|
|
16425
|
-
async () => (await import("./DecisionMakers-
|
|
16430
|
+
async () => (await import("./DecisionMakers-7S7xrrJ6.js")).DecisionMakers
|
|
16426
16431
|
);
|
|
16427
16432
|
const CustomerSupport = lazy(
|
|
16428
|
-
async () => (await import("./CustomerSupport-
|
|
16433
|
+
async () => (await import("./CustomerSupport-0ujdzHpT.js")).CustomerSupport
|
|
16429
16434
|
);
|
|
16430
|
-
const Review = lazy(async () => (await import("./Review-
|
|
16435
|
+
const Review = lazy(async () => (await import("./Review-ComxpI_O.js")).Review);
|
|
16431
16436
|
const SignPCIComponent$2 = lazy(
|
|
16432
16437
|
async () => (await Promise.resolve().then(() => SignPCIComponent$1)).SignPCIComponent
|
|
16433
16438
|
);
|
|
16434
16439
|
const AcceptTermsOfService = lazy(
|
|
16435
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
16440
|
+
async () => (await import("./AcceptTermsOfServiceComponent-DZykS6qj.js").then((n) => n.b)).AcceptTermsOfServiceComponent
|
|
16436
16441
|
);
|
|
16437
16442
|
const TaxReportingDropin = lazy(
|
|
16438
|
-
async () => (await import("./TaxReportingDropin-
|
|
16443
|
+
async () => (await import("./TaxReportingDropin-B6ud8Dw0.js")).TaxReportingDropin
|
|
16439
16444
|
);
|
|
16440
16445
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
16441
16446
|
const logger$1 = createLogger();
|
|
@@ -17910,7 +17915,7 @@ class UIElement extends BaseElement {
|
|
|
17910
17915
|
baseUrl: this.props.loadingContext,
|
|
17911
17916
|
children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
17912
17917
|
/* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
17913
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.68.
|
|
17918
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.68.7" }),
|
|
17914
17919
|
/* @__PURE__ */ jsx(
|
|
17915
17920
|
AnalyticsProvider,
|
|
17916
17921
|
{
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-DhY-1J72.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
property: { regex: /(^|[\r\n])[^:]*:/g, css: cssProps.key },
|
package/dist/individual.js
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { render } from "preact";
|
|
12
|
-
import { i as injectCss, E as EmbedShell } from "./EmbedShell-
|
|
13
|
-
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-
|
|
12
|
+
import { i as injectCss, E as EmbedShell } from "./EmbedShell-C0_tNVKC.js";
|
|
13
|
+
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-DFBf0dHb.js";
|
|
14
14
|
import { e as environmentMap } from "./utils-Do7EwrWz.js";
|
|
15
15
|
class AdyenIndividual extends HTMLElement {
|
|
16
16
|
constructor() {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-DhY-1J72.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 },
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { K as Loader, Q as Icon, i as useI18nContext, N as TaskStatus, bw as KEYBOARD_KEYS } from "./EventEmitter-
|
|
12
|
+
import { K as Loader, Q as Icon, i as useI18nContext, N as TaskStatus, bw as KEYBOARD_KEYS } from "./EventEmitter-j1WdUJDK.js";
|
|
13
13
|
const tag = "adyen-kyc-tag";
|
|
14
14
|
const tagGrey = "adyen-kyc-tag-grey";
|
|
15
15
|
const tagBlue = "adyen-kyc-tag-blue";
|
package/dist/terms-of-service.js
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { render } from "preact";
|
|
12
|
-
import { i as injectCss, E as EmbedShell } from "./EmbedShell-
|
|
13
|
-
import { A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
12
|
+
import { i as injectCss, E as EmbedShell } from "./EmbedShell-C0_tNVKC.js";
|
|
13
|
+
import { A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-DZykS6qj.js";
|
|
14
14
|
import { e as environmentMap } from "./utils-Do7EwrWz.js";
|
|
15
15
|
class AdyenTermsOfService extends HTMLElement {
|
|
16
16
|
constructor() {
|
|
@@ -32,5 +32,6 @@ export declare const rules: ({ data, country, taskType, isExperimentEnabled, acc
|
|
|
32
32
|
isEInvoicingCodeEnabled: () => "REQUIRED";
|
|
33
33
|
ifCountryUsAndTinFailed: () => "REQUIRED";
|
|
34
34
|
businessRequiresCompanyType: () => "REQUIRED";
|
|
35
|
+
canadaOverrideTaxInfo: () => "REQUIRED";
|
|
35
36
|
};
|
|
36
37
|
export type BusinessRules = ReturnType<typeof rules>;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-DhY-1J72.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
boolean: { regex: /^(\s*)([\w-]+)(:)\s*(.*)$/g, css: cssProps.boolean },
|