@adyen/kyc-components 3.71.1 → 3.71.2
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-p5vyGenb.js → AcceptTermsOfServiceComponent-DMzlz5ur.js} +1 -1
- package/dist/{AccountSetupRejected-CPzKdZUK.js → AccountSetupRejected-B_ll-DYK.js} +2 -2
- package/dist/{BusinessDetailsDropin-Dg7J3G2V.js → BusinessDetailsDropin--GT26UUf.js} +4 -4
- package/dist/{BusinessTypeSelection-mgdNfOU5.js → BusinessTypeSelection-DrKppT76.js} +3 -3
- package/dist/{CXEL7IU7-B-PizVWN.js → CXEL7IU7-BadU4Quy.js} +2 -2
- package/dist/{CreateIndividualComponent-Dx5hGmEy.js → CreateIndividualComponent-Cw8jncCj.js} +1 -1
- package/dist/{CustomerSupport-98CYpA41.js → CustomerSupport-hGFkG8i3.js} +2 -2
- package/dist/{DebugModal-BoVIAdNv.js → DebugModal-DWrh3Luo.js} +8 -8
- package/dist/{DecisionMakers-DFgUeutx.js → DecisionMakers-DEspQGcu.js} +3 -3
- package/dist/{EmbedShell-DSXInTYF.js → EmbedShell-B_11fu1C.js} +3 -3
- package/dist/{EventEmitter-DtooDxHU.js → EventEmitter-Bq8xlXVA.js} +6 -6
- package/dist/{HASRA6WW-DxkvByPD.js → HASRA6WW-CzhpDwYQ.js} +1 -1
- package/dist/{I3HPI4QX-C-5-x7l7.js → I3HPI4QX-DYJ1Uod-.js} +2 -2
- package/dist/{Introduction-DuSMy0Ne.js → Introduction-ocOgetqy.js} +3 -3
- package/dist/{Review-XSWK61VC.js → Review-dujxCIfE.js} +2 -2
- package/dist/{SingpassSelection-DqAFFAwC.js → SingpassSelection-BF6kWg3g.js} +1 -1
- package/dist/{SourceOfFunds.module-C3sMBsv_.js → SourceOfFunds.module-caoQ--io.js} +1 -1
- package/dist/{SourceOfFundsDropin-UKDYo_95.js → SourceOfFundsDropin-Bhk41z_b.js} +4 -4
- package/dist/{TaskItemStatus-CPeyXQ5r.js → TaskItemStatus-PMtq1Pi9.js} +1 -1
- package/dist/{TaxReportingDropin-BScwyVgO.js → TaxReportingDropin-zwlu6qxX.js} +4 -4
- package/dist/{TrustOuter-D-4RqJtF.js → TrustOuter-BsEoJkzE.js} +3 -3
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +2 -2
- package/dist/{core-DQ8jXm-N.js → core-BGMNir1l.js} +21 -23
- package/dist/{css-C15RsIEG.js → css-DB40kUpv.js} +1 -1
- package/dist/individual.js +4 -4
- package/dist/{json-GYEwMhCl.js → json-BfjwC9Z8.js} +1 -1
- package/dist/{plaintext-6k9Dv3sw.js → plaintext-cxU_oLhE.js} +1 -1
- package/dist/terms-of-service.js +4 -4
- package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +1 -1
- package/dist/{utils-J0EdzZZY.js → utils-9cd3ykqp.js} +3 -3
- package/dist/{utils-DwfxOV26.js → utils-CxEv8UGu.js} +1 -1
- package/dist/{yaml-CtdhLHq4.js → yaml-BGFeLEJY.js} +1 -1
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-p5vyGenb.js → AcceptTermsOfServiceComponent-DMzlz5ur.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 { m as useApiContext, U as useInvalidateRootLegalEntity, a5 as useMutation, a4 as httpPost, p as useQuery, q as httpGet, ay as skipToken, a1 as Icon, u as useI18nContext, T as Typography, dm as globalStyles, bv as AlertIcon, db as KEYBOARD_KEYS, a as useAnalyticsContext, aK as noop, at as createLogger, W as useToastContext, b as useExperimentsContext, D as useForm, ao as Alert, B as Button, l as localizeDateString, L as LoaderWrapper, F as Field, t as Select, br as Checkbox, bd as ActionBar, M as MaybeModal, c as ModalContent, f as ModalFooter, S as Spacer, i as LegalEntityType, aR as getOwnSignatories, az as doesLegalEntityRequiresLegalRepresentative, ax as getLegalRepresentative, a2 as useLegalEntity, a0 as Loader, ae as TaskTypes, am as ROOT_LE } from "./EventEmitter-
|
|
12
|
+
import { m as useApiContext, U as useInvalidateRootLegalEntity, a5 as useMutation, a4 as httpPost, p as useQuery, q as httpGet, ay as skipToken, a1 as Icon, u as useI18nContext, T as Typography, dm as globalStyles, bv as AlertIcon, db as KEYBOARD_KEYS, a as useAnalyticsContext, aK as noop, at as createLogger, W as useToastContext, b as useExperimentsContext, D as useForm, ao as Alert, B as Button, l as localizeDateString, L as LoaderWrapper, F as Field, t as Select, br as Checkbox, bd as ActionBar, M as MaybeModal, c as ModalContent, f as ModalFooter, S as Spacer, i as LegalEntityType, aR as getOwnSignatories, az as doesLegalEntityRequiresLegalRepresentative, ax as getLegalRepresentative, a2 as useLegalEntity, a0 as Loader, ae as TaskTypes, am as ROOT_LE } from "./EventEmitter-Bq8xlXVA.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
import { defineSlots } from "named-slots";
|
|
15
15
|
const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useI18nContext, bv as AlertIcon, b1 as FormHeader } from "./EventEmitter-
|
|
12
|
-
import { D as DropinLayout } from "./core-
|
|
11
|
+
import { u as useI18nContext, bv as AlertIcon, b1 as FormHeader } from "./EventEmitter-Bq8xlXVA.js";
|
|
12
|
+
import { D as DropinLayout } from "./core-BGMNir1l.js";
|
|
13
13
|
function AccountSetupRejected() {
|
|
14
14
|
const { i18n } = useI18nContext();
|
|
15
15
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useCallback, useRef, useEffect, useMemo } from "preact/hooks";
|
|
12
|
-
import { m as useApiContext, a5 as useMutation, a4 as httpPost, u as useI18nContext, dj as MemoizedDocumentUpload, dt as List, ac as CountryCodes, aF as CompanyTypesValue, K as useGlobalData, du as getForms, ae as TaskTypes, dv as BasicInformation, $ as getFormProps, dw as CompanyStructure, dx as AdditionalInformation, dy as MemoizedConstitutionalDocument, i as LegalEntityType, dz as FinancialInformation, dA as StateCodesUS, o as objectsDeepEqual, at as createLogger, e as entriesOf, bY as businessDetailsComponentsKeyMapping, dB as solePropBusinessDetailsKeyMapping, dC as operationalAddressIsSameIds, dD as COUNTRIES_USING_COMPANY_SEARCH, dE as FIELDS_NEEDED_FOR_COMPANY_SEARCH, aa as keysOf, bt as isUndefinedOrNull, ab as summaryItem, dF as solePropBusinessDetailsApiKeyMapping, bM as businessDetailsApiKeyMapping, d4 as isEmpty, dG as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, V as datasetUtilities, cF as mapAddressLabels, dH as companyTypeMetadata, k as isEmpty$1, cE as filterOutUnwantedAssociationsIfRootLE, dI as documentFormsIds, aY as resolveFieldMetadata, dJ as defaultFieldMetadata, dK as inferCompanyRegistrationNumberType, dL as getCompanyRegistrationNumberOptions, dM as defaultFieldConfig, ck as defaultFieldMetadata$1, dN as countryToTaxInfoTypeMap, cl as defaultFieldConfig$1, dO as getKeyForField, h as drop, bb as getOwnEntityAssociations, cK as doArraysMatch, aG as useAccountHolder, W as useToastContext, a as useAnalyticsContext, b as useExperimentsContext, Y as useSettingsContext, X as useStateContext, Z as SettingNames, dP as setIsBankAccountRequestedForOrganization, _ as getAssociatedLeAnalyticsPayload, af as getCapabilityProblems, dQ as rules, as as Confirm, dR as solePropBusinessDetailsDocumentMapping, dS as businessDetailsDocumentMapping } from "./EventEmitter-
|
|
13
|
-
import { f as formatObject, n as getDocument, o as mapExistingFile, q as getPageName, r as createDocumentRequest, B as augmentWithCountryConfigs, j as composePerScenarioFormConfigurations, g as getProp, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, D as getFileExtention, v as documentApiUtils, c as useScenarioConfiguration, d as getPropsFromConfigurations, M as getFieldsWithExistingData, e as getRequiredForms, h as addValidityToForms, u as useCreateLegalEntity, a as useUpdateLegalEntity, i as useFormComposer, t as trackNavigation } from "./CreateIndividualComponent-
|
|
14
|
-
import { m as mapFinancialReportsToFinancialInformation, d as mapFinancialInformationToFinancialReport, h as hasDataChanged, F as FormWrapper } from "./core-
|
|
15
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
12
|
+
import { m as useApiContext, a5 as useMutation, a4 as httpPost, u as useI18nContext, dj as MemoizedDocumentUpload, dt as List, ac as CountryCodes, aF as CompanyTypesValue, K as useGlobalData, du as getForms, ae as TaskTypes, dv as BasicInformation, $ as getFormProps, dw as CompanyStructure, dx as AdditionalInformation, dy as MemoizedConstitutionalDocument, i as LegalEntityType, dz as FinancialInformation, dA as StateCodesUS, o as objectsDeepEqual, at as createLogger, e as entriesOf, bY as businessDetailsComponentsKeyMapping, dB as solePropBusinessDetailsKeyMapping, dC as operationalAddressIsSameIds, dD as COUNTRIES_USING_COMPANY_SEARCH, dE as FIELDS_NEEDED_FOR_COMPANY_SEARCH, aa as keysOf, bt as isUndefinedOrNull, ab as summaryItem, dF as solePropBusinessDetailsApiKeyMapping, bM as businessDetailsApiKeyMapping, d4 as isEmpty, dG as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, V as datasetUtilities, cF as mapAddressLabels, dH as companyTypeMetadata, k as isEmpty$1, cE as filterOutUnwantedAssociationsIfRootLE, dI as documentFormsIds, aY as resolveFieldMetadata, dJ as defaultFieldMetadata, dK as inferCompanyRegistrationNumberType, dL as getCompanyRegistrationNumberOptions, dM as defaultFieldConfig, ck as defaultFieldMetadata$1, dN as countryToTaxInfoTypeMap, cl as defaultFieldConfig$1, dO as getKeyForField, h as drop, bb as getOwnEntityAssociations, cK as doArraysMatch, aG as useAccountHolder, W as useToastContext, a as useAnalyticsContext, b as useExperimentsContext, Y as useSettingsContext, X as useStateContext, Z as SettingNames, dP as setIsBankAccountRequestedForOrganization, _ as getAssociatedLeAnalyticsPayload, af as getCapabilityProblems, dQ as rules, as as Confirm, dR as solePropBusinessDetailsDocumentMapping, dS as businessDetailsDocumentMapping } from "./EventEmitter-Bq8xlXVA.js";
|
|
13
|
+
import { f as formatObject, n as getDocument, o as mapExistingFile, q as getPageName, r as createDocumentRequest, B as augmentWithCountryConfigs, j as composePerScenarioFormConfigurations, g as getProp, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, D as getFileExtention, v as documentApiUtils, c as useScenarioConfiguration, d as getPropsFromConfigurations, M as getFieldsWithExistingData, e as getRequiredForms, h as addValidityToForms, u as useCreateLegalEntity, a as useUpdateLegalEntity, i as useFormComposer, t as trackNavigation } from "./CreateIndividualComponent-Cw8jncCj.js";
|
|
14
|
+
import { m as mapFinancialReportsToFinancialInformation, d as mapFinancialInformationToFinancialReport, h as hasDataChanged, F as FormWrapper } from "./core-BGMNir1l.js";
|
|
15
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-9cd3ykqp.js";
|
|
16
16
|
import cx from "classnames";
|
|
17
17
|
import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
18
18
|
const clearCompanyData = async (legalEntityId, baseUrl) => {
|
|
@@ -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 { a2 as useLegalEntity, a0 as Loader, am as ROOT_LE, u as useI18nContext, a as useAnalyticsContext, W as useToastContext, b as useExperimentsContext, dr as getCapabilities, a3 as getLegalEntityCountry, i as LegalEntityType, D as useForm, L as LoaderWrapper, T as Typography, F as Field, ds as EntityTypeRadioGroupCard, b4 as RadioGroupCard, B as Button, S as Spacer, a1 as Icon, aC as hasSolePropInLegalEntity } from "./EventEmitter-
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./CreateIndividualComponent-
|
|
14
|
-
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-
|
|
12
|
+
import { a2 as useLegalEntity, a0 as Loader, am as ROOT_LE, u as useI18nContext, a as useAnalyticsContext, W as useToastContext, b as useExperimentsContext, dr as getCapabilities, a3 as getLegalEntityCountry, i as LegalEntityType, D as useForm, L as LoaderWrapper, T as Typography, F as Field, ds as EntityTypeRadioGroupCard, b4 as RadioGroupCard, B as Button, S as Spacer, a1 as Icon, aC as hasSolePropInLegalEntity } from "./EventEmitter-Bq8xlXVA.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./CreateIndividualComponent-Cw8jncCj.js";
|
|
14
|
+
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-9cd3ykqp.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 { e8 as getPreferredColorScheme, e9 as createMemo, ea 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-CzhpDwYQ.js";
|
|
11
|
+
import { e8 as getPreferredColorScheme, e9 as createMemo, ea as createComponent } from "./EventEmitter-Bq8xlXVA.js";
|
|
12
12
|
var DevtoolsPanelComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
package/dist/{CreateIndividualComponent-Dx5hGmEy.js → CreateIndividualComponent-Cw8jncCj.js}
RENAMED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { m as useApiContext, a5 as useMutation, a4 as httpPost, U as useInvalidateRootLegalEntity, a6 as useQueryClient, at as createLogger, bp as TrustedFieldsProvider, bM as businessDetailsApiKeyMapping, bN as individualApiKeyMapping, aa as keysOf, bO as remediationHasFileUploadField, bP as dataMissingRemediationsToFieldsMap, a2 as useLegalEntity, ay as skipToken, a as useAnalyticsContext, s as summaryStep, p as useQuery, q as httpGet, ac as CountryCodes, aN as useSignalValue, bQ as AdyenKycSdkError, bR as payoutAccountFormat, bS as FormRouterContext, ae as TaskTypes, bT as remediationPayoutApiKeyMapping, bU as remediationBusinessDetailsApiKeyMapping, bV as remediationIndividualApiKeyMapping, h as drop, aW as TrustMemberTypes, i as LegalEntityType, ad as getLegalEntityNameBasedOnType, bb as getOwnEntityAssociations, am as ROOT_LE, b as useExperimentsContext, bl as mapEntityAssociationsToUnincorporatedPartnershipMembers, af as getCapabilityProblems, a3 as getLegalEntityCountry, bW as FormContext, aB as isPartOfTrustFromLegalEntity, aC as hasSolePropInLegalEntity, bX as individualComponentsKeyMapping, bY as businessDetailsComponentsKeyMapping, o as objectsDeepEqual, bZ as ValidationResult, b_ as isNotEmptyValidator, k as isEmpty, b$ as hasText, c0 as matchesRegex, c1 as trimValWithOneSpace, c2 as NO_ALPHABET_REGEX, c3 as EMOJI_REGEX, c4 as hasRepeatedCharacters, c5 as isInvalidName, c6 as INDIVIDUAL_VALID_CHAR_REGEX, c7 as getFormattingRegEx, c8 as SPECIAL_CHARS, u as useI18nContext, M as MaybeModal, L as LoaderWrapper, g as Summary, B as Button, ar as IconButton, as as Confirm, an as httpDelete, c9 as getLocalizedIdDocumentTypeOptions, ca as isNewlyUploadedFile, cb as getNestedPropertyKeys, j as cloneObject, cc as isValueObscured, cd as isTruthyValidator, ce as emailPattern, aY as resolveFieldMetadata, cf as getSSNType, cg as defaultFieldMetadata, ch as defaultFieldConfig, ci as defaultFieldMetadata$1, cj as fieldConfig, ck as defaultFieldMetadata$2, cl as defaultFieldConfig$1, cm as getAgeToday, cn as euCountries, co as DecisionMakerType, a7 as createFormRules, cp as allowedCountriesForNominee, N as getAddressSchemaForCountry, O as COUNTRIES_WITH_STATES_DATASET, cq as Scenarios, r as reverseMapping, cr as getNomineeFromAssociation, aG as useAccountHolder, W as useToastContext, Y as useSettingsContext, cs as useProviderStatus, _ as getAssociatedLeAnalyticsPayload, ct as addressValidators, cu as getAsyncIdNumberValidationRule, cv as getAsyncPhoneValidationRules, cw as addressFormatters, cx as setHasMotionCaptureScenario, cy as individualDocumentMapping, cz as individualForms, cA as showIndividualMotionCapture, cB as getAllowedDecisionMakerRoles, V as datasetUtilities, cC as Individual, cD as individualObscuredFields, cE as filterOutUnwantedAssociationsIfRootLE, cF as mapAddressLabels, cG as individualDocumentForms, l as localizeDateString, cH as hasNomineesChanged, cI as attachNomineeToRole, cJ as idVerificationProviderId, cK as doArraysMatch, cL as getAvailableDecisionMakerRoleTypes, F as Field, t as Select, cM as licenseCardNumberDefaultMetadata, cN as licenseCardNumberDefaultConfig, aX as mergeFieldMetadataIntoProps, J as createFormUtils, cO as useFormContext, a$ as getFieldProps, cP as idNumberFields, cQ as IdentityNumber, cR as additionallIdNumberOptions, cS as MaskedInput, y as InputDate, cT as formatDateObj, cU as DriversLicense, cV as addressFields, bu as useAllowedCountries, cW as getDefaultTaxIdNumberType, b1 as FormHeader, H as ErrorPanel, T as Typography, b7 as CountryField, P as Address, Q as getAddressSchemaLabelsByCountry, cX as IndividualIdNumberTypeSelector, cY as TaxInformationField, cZ as PatriotActDisclosure, b0 as nameFields, c_ as decisionMakerRoleFields, c$ as nomineeFields, d0 as contactDetailFields, ao as Alert, bj as ContextGuidance, d1 as DecisionMakerRole, d2 as NomineeDecisionMakerRole, b6 as Name, I as InputText, d3 as ContactDetails, d4 as isEmpty$1, d5 as RadioWithLabel, ai as Modal, v as Link, d6 as Svg, d7 as pick, d8 as IdVerification, S as Spacer, au as useDataset, av as datasetIdentifier, a0 as Loader, aA as ProviderButton, d9 as IdDocumentManualUpload, da as useId, a1 as Icon, db as KEYBOARD_KEYS, aK as noop, dc as idDocumentUploadFields, dd as useFormRouterContext, $ as getFormProps, de as useCapabilities, df as setShowIndividualMotionCapture, dg as shouldShowMotionCapture, dh as hasMotionCaptureScenario, di as MemoizedProofOfRelationship, dj as MemoizedDocumentUpload, dk as MemoizedProofOfResidencyUpload, aH as EntityType } from "./EventEmitter-
|
|
11
|
+
import { m as useApiContext, a5 as useMutation, a4 as httpPost, U as useInvalidateRootLegalEntity, a6 as useQueryClient, at as createLogger, bp as TrustedFieldsProvider, bM as businessDetailsApiKeyMapping, bN as individualApiKeyMapping, aa as keysOf, bO as remediationHasFileUploadField, bP as dataMissingRemediationsToFieldsMap, a2 as useLegalEntity, ay as skipToken, a as useAnalyticsContext, s as summaryStep, p as useQuery, q as httpGet, ac as CountryCodes, aN as useSignalValue, bQ as AdyenKycSdkError, bR as payoutAccountFormat, bS as FormRouterContext, ae as TaskTypes, bT as remediationPayoutApiKeyMapping, bU as remediationBusinessDetailsApiKeyMapping, bV as remediationIndividualApiKeyMapping, h as drop, aW as TrustMemberTypes, i as LegalEntityType, ad as getLegalEntityNameBasedOnType, bb as getOwnEntityAssociations, am as ROOT_LE, b as useExperimentsContext, bl as mapEntityAssociationsToUnincorporatedPartnershipMembers, af as getCapabilityProblems, a3 as getLegalEntityCountry, bW as FormContext, aB as isPartOfTrustFromLegalEntity, aC as hasSolePropInLegalEntity, bX as individualComponentsKeyMapping, bY as businessDetailsComponentsKeyMapping, o as objectsDeepEqual, bZ as ValidationResult, b_ as isNotEmptyValidator, k as isEmpty, b$ as hasText, c0 as matchesRegex, c1 as trimValWithOneSpace, c2 as NO_ALPHABET_REGEX, c3 as EMOJI_REGEX, c4 as hasRepeatedCharacters, c5 as isInvalidName, c6 as INDIVIDUAL_VALID_CHAR_REGEX, c7 as getFormattingRegEx, c8 as SPECIAL_CHARS, u as useI18nContext, M as MaybeModal, L as LoaderWrapper, g as Summary, B as Button, ar as IconButton, as as Confirm, an as httpDelete, c9 as getLocalizedIdDocumentTypeOptions, ca as isNewlyUploadedFile, cb as getNestedPropertyKeys, j as cloneObject, cc as isValueObscured, cd as isTruthyValidator, ce as emailPattern, aY as resolveFieldMetadata, cf as getSSNType, cg as defaultFieldMetadata, ch as defaultFieldConfig, ci as defaultFieldMetadata$1, cj as fieldConfig, ck as defaultFieldMetadata$2, cl as defaultFieldConfig$1, cm as getAgeToday, cn as euCountries, co as DecisionMakerType, a7 as createFormRules, cp as allowedCountriesForNominee, N as getAddressSchemaForCountry, O as COUNTRIES_WITH_STATES_DATASET, cq as Scenarios, r as reverseMapping, cr as getNomineeFromAssociation, aG as useAccountHolder, W as useToastContext, Y as useSettingsContext, cs as useProviderStatus, _ as getAssociatedLeAnalyticsPayload, ct as addressValidators, cu as getAsyncIdNumberValidationRule, cv as getAsyncPhoneValidationRules, cw as addressFormatters, cx as setHasMotionCaptureScenario, cy as individualDocumentMapping, cz as individualForms, cA as showIndividualMotionCapture, cB as getAllowedDecisionMakerRoles, V as datasetUtilities, cC as Individual, cD as individualObscuredFields, cE as filterOutUnwantedAssociationsIfRootLE, cF as mapAddressLabels, cG as individualDocumentForms, l as localizeDateString, cH as hasNomineesChanged, cI as attachNomineeToRole, cJ as idVerificationProviderId, cK as doArraysMatch, cL as getAvailableDecisionMakerRoleTypes, F as Field, t as Select, cM as licenseCardNumberDefaultMetadata, cN as licenseCardNumberDefaultConfig, aX as mergeFieldMetadataIntoProps, J as createFormUtils, cO as useFormContext, a$ as getFieldProps, cP as idNumberFields, cQ as IdentityNumber, cR as additionallIdNumberOptions, cS as MaskedInput, y as InputDate, cT as formatDateObj, cU as DriversLicense, cV as addressFields, bu as useAllowedCountries, cW as getDefaultTaxIdNumberType, b1 as FormHeader, H as ErrorPanel, T as Typography, b7 as CountryField, P as Address, Q as getAddressSchemaLabelsByCountry, cX as IndividualIdNumberTypeSelector, cY as TaxInformationField, cZ as PatriotActDisclosure, b0 as nameFields, c_ as decisionMakerRoleFields, c$ as nomineeFields, d0 as contactDetailFields, ao as Alert, bj as ContextGuidance, d1 as DecisionMakerRole, d2 as NomineeDecisionMakerRole, b6 as Name, I as InputText, d3 as ContactDetails, d4 as isEmpty$1, d5 as RadioWithLabel, ai as Modal, v as Link, d6 as Svg, d7 as pick, d8 as IdVerification, S as Spacer, au as useDataset, av as datasetIdentifier, a0 as Loader, aA as ProviderButton, d9 as IdDocumentManualUpload, da as useId, a1 as Icon, db as KEYBOARD_KEYS, aK as noop, dc as idDocumentUploadFields, dd as useFormRouterContext, $ as getFormProps, de as useCapabilities, df as setShowIndividualMotionCapture, dg as shouldShowMotionCapture, dh as hasMotionCaptureScenario, di as MemoizedProofOfRelationship, dj as MemoizedDocumentUpload, dk as MemoizedProofOfResidencyUpload, aH as EntityType } from "./EventEmitter-Bq8xlXVA.js";
|
|
12
12
|
import { useMemo, useState, useEffect, useCallback, useReducer, useRef } from "preact/hooks";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
import { l as listToRecord } from "./listToRecord-CO3M1Q74.js";
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, a0 as Loader, am as ROOT_LE, u as useI18nContext, a as useAnalyticsContext, W as useToastContext, a6 as useQueryClient, aY as resolveFieldMetadata, ci as defaultFieldMetadata, cj as fieldConfig, cv as getAsyncPhoneValidationRules, b1 as FormHeader, d3 as ContactDetails, bd as ActionBar, at as createLogger } from "./EventEmitter-
|
|
11
|
+
import { a2 as useLegalEntity, a0 as Loader, am as ROOT_LE, u as useI18nContext, a as useAnalyticsContext, W as useToastContext, a6 as useQueryClient, aY as resolveFieldMetadata, ci as defaultFieldMetadata, cj as fieldConfig, cv as getAsyncPhoneValidationRules, b1 as FormHeader, d3 as ContactDetails, bd as ActionBar, at as createLogger } from "./EventEmitter-Bq8xlXVA.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity, H as contactDetailsValidationRules, I as useValidatePhoneNumberImperatively, J as useMultiForm } from "./CreateIndividualComponent-
|
|
13
|
+
import { a as useUpdateLegalEntity, H as contactDetailsValidationRules, I as useValidatePhoneNumberImperatively, J as useMultiForm } from "./CreateIndividualComponent-Cw8jncCj.js";
|
|
14
14
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
15
15
|
var _a, _b, _c;
|
|
16
16
|
return {
|
|
@@ -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] = "7c004d75-03d6-4af3-8df6-a95ba313e3d2", e._sentryDebugIdIdentifier = "sentry-dbid-7c004d75-03d6-4af3-8df6-a95ba313e3d2");
|
|
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, e as entriesOf, I as InputText, u as useI18nContext, dn as splitTaskIdentifier, b as useExperimentsContext, Y as useSettingsContext, aN as useSignalValue, aO as useGlobalStore, dp as valuesOf, ai as Modal, at as createLogger, a1 as Icon, Z as SettingNames } from "./EventEmitter-
|
|
12
|
+
import { B as Button, e as entriesOf, I as InputText, u as useI18nContext, dn as splitTaskIdentifier, b as useExperimentsContext, Y as useSettingsContext, aN as useSignalValue, aO as useGlobalStore, dp as valuesOf, ai as Modal, at as createLogger, a1 as Icon, Z as SettingNames } from "./EventEmitter-Bq8xlXVA.js";
|
|
13
13
|
import { l as listToRecord } from "./listToRecord-CO3M1Q74.js";
|
|
14
|
-
import { T as Tag, a as TaskItemStatus } from "./TaskItemStatus-
|
|
14
|
+
import { T as Tag, a as TaskItemStatus } from "./TaskItemStatus-PMtq1Pi9.js";
|
|
15
15
|
var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
|
|
16
16
|
ExperimentNames2["AllowMoreRolesForMainRootTrustee"] = "AllowMoreRolesForMainRootTrustee";
|
|
17
17
|
ExperimentNames2["ShowUnsupportedEntityType"] = "ShowUnsupportedEntityType";
|
|
@@ -177,10 +177,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
177
177
|
};
|
|
178
178
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
179
179
|
const moduleMap = {
|
|
180
|
-
plaintext: () => import("./plaintext-
|
|
181
|
-
json: () => import("./json-
|
|
182
|
-
yaml: () => import("./yaml-
|
|
183
|
-
css: () => import("./css-
|
|
180
|
+
plaintext: () => import("./plaintext-cxU_oLhE.js"),
|
|
181
|
+
json: () => import("./json-BfjwC9Z8.js"),
|
|
182
|
+
yaml: () => import("./yaml-BGFeLEJY.js"),
|
|
183
|
+
css: () => import("./css-DB40kUpv.js")
|
|
184
184
|
};
|
|
185
185
|
const getModule = async (name) => {
|
|
186
186
|
if (!supportedModules.includes(name)) {
|
|
@@ -471,7 +471,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
471
471
|
const [tab, setTab] = useState("metadata");
|
|
472
472
|
const rootLegalEntity = useSignalValue(useGlobalStore().rootLegalEntity);
|
|
473
473
|
const metadata = {
|
|
474
|
-
sdkVersion: "3.71.
|
|
474
|
+
sdkVersion: "3.71.2",
|
|
475
475
|
locale: i18n.locale,
|
|
476
476
|
rootLegalEntityId: rootLegalEntity.id
|
|
477
477
|
};
|
|
@@ -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 { a2 as useLegalEntity, a0 as Loader, am as ROOT_LE, aP as useGetTaskStatus, u as useI18nContext, a as useAnalyticsContext, W as useToastContext, bq as getOwnDecisionMakers, cL as getAvailableDecisionMakerRoleTypes, ae as TaskTypes, cB as getAllowedDecisionMakerRoles, b1 as FormHeader, bj as ContextGuidance, co as DecisionMakerType, ao as Alert, aL as CardGroup, B as Button, bd as ActionBar } from "./EventEmitter-
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./CreateIndividualComponent-
|
|
14
|
-
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./core-
|
|
12
|
+
import { a2 as useLegalEntity, a0 as Loader, am as ROOT_LE, aP as useGetTaskStatus, u as useI18nContext, a as useAnalyticsContext, W as useToastContext, bq as getOwnDecisionMakers, cL as getAvailableDecisionMakerRoleTypes, ae as TaskTypes, cB as getAllowedDecisionMakerRoles, b1 as FormHeader, bj as ContextGuidance, co as DecisionMakerType, ao as Alert, aL as CardGroup, B as Button, bd as ActionBar } from "./EventEmitter-Bq8xlXVA.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./CreateIndividualComponent-Cw8jncCj.js";
|
|
14
|
+
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./core-BGMNir1l.js";
|
|
15
15
|
const DecisionMakers = (props) => {
|
|
16
16
|
const { data, isLoading } = useLegalEntity(ROOT_LE);
|
|
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] = "58390f01-a5a8-4dd3-bb7b-d66ad0d22a26", e._sentryDebugIdIdentifier = "sentry-dbid-58390f01-a5a8-4dd3-bb7b-d66ad0d22a26");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { dl as refreshSession, B as Button, a0 as Loader, by as SettingsProvider, bz as ExperimentsContextProvider, bA as ApiProvider, bB as QueryClientProvider, bC as StoreProvider, bD as AnalyticsProvider, bE as I18nProvider, bx as EventEmitter, bF as DebugListener, bG as ToastContextProvider, bH as StateProvider, bI as ReactQueryDevtools2, bL as setSdkTokenHandler } from "./EventEmitter-
|
|
11
|
+
import { dl as refreshSession, B as Button, a0 as Loader, by as SettingsProvider, bz as ExperimentsContextProvider, bA as ApiProvider, bB as QueryClientProvider, bC as StoreProvider, bD as AnalyticsProvider, bE as I18nProvider, bx as EventEmitter, bF as DebugListener, bG as ToastContextProvider, bH as StateProvider, bI as ReactQueryDevtools2, bL as setSdkTokenHandler } from "./EventEmitter-Bq8xlXVA.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
13
|
function injectCss(shadowRoot) {
|
|
14
14
|
{
|
|
@@ -57,7 +57,7 @@ const EmbedShell = ({
|
|
|
57
57
|
}
|
|
58
58
|
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: [
|
|
59
59
|
/* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
60
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.71.
|
|
60
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.71.2" }),
|
|
61
61
|
/* @__PURE__ */ jsx(
|
|
62
62
|
AnalyticsProvider,
|
|
63
63
|
{
|
|
@@ -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] = "bbeb052f-0d65-412f-b66a-fac183121ba7", e._sentryDebugIdIdentifier = "sentry-dbid-bbeb052f-0d65-412f-b66a-fac183121ba7");
|
|
23
23
|
} catch (e) {
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -31884,7 +31884,7 @@ var TanstackQueryDevtools = (_l = class {
|
|
|
31884
31884
|
if (__privateGet(this, _Component)) {
|
|
31885
31885
|
Devtools = __privateGet(this, _Component);
|
|
31886
31886
|
} else {
|
|
31887
|
-
Devtools = lazy(() => import("./I3HPI4QX-
|
|
31887
|
+
Devtools = lazy(() => import("./I3HPI4QX-DYJ1Uod-.js"));
|
|
31888
31888
|
__privateSet(this, _Component, Devtools);
|
|
31889
31889
|
}
|
|
31890
31890
|
setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
|
|
@@ -32006,7 +32006,7 @@ var TanstackQueryDevtoolsPanel = (_m = class {
|
|
|
32006
32006
|
if (__privateGet(this, _Component2)) {
|
|
32007
32007
|
Devtools = __privateGet(this, _Component2);
|
|
32008
32008
|
} else {
|
|
32009
|
-
Devtools = lazy(() => import("./CXEL7IU7-
|
|
32009
|
+
Devtools = lazy(() => import("./CXEL7IU7-BadU4Quy.js"));
|
|
32010
32010
|
__privateSet(this, _Component2, Devtools);
|
|
32011
32011
|
}
|
|
32012
32012
|
setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
|
|
@@ -32213,7 +32213,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
|
|
|
32213
32213
|
};
|
|
32214
32214
|
};
|
|
32215
32215
|
const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
|
|
32216
|
-
const sdkVersion = "3.71.
|
|
32216
|
+
const sdkVersion = "3.71.2";
|
|
32217
32217
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
32218
32218
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
32219
32219
|
useEffect(() => {
|
|
@@ -32276,7 +32276,7 @@ const AnalyticsProvider = ({
|
|
|
32276
32276
|
const { onboardingVersion } = useVersion();
|
|
32277
32277
|
const userEvents2 = useMemo(() => createUserEvents(), []);
|
|
32278
32278
|
const sessionData = {
|
|
32279
|
-
sdkVersion: "3.71.
|
|
32279
|
+
sdkVersion: "3.71.2",
|
|
32280
32280
|
componentName,
|
|
32281
32281
|
userAgent: navigator.userAgent,
|
|
32282
32282
|
legalEntityId,
|
|
@@ -32661,7 +32661,7 @@ function StateProvider({
|
|
|
32661
32661
|
);
|
|
32662
32662
|
return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
|
|
32663
32663
|
}
|
|
32664
|
-
const DebugModal = lazy$1(async () => (await import("./DebugModal-
|
|
32664
|
+
const DebugModal = lazy$1(async () => (await import("./DebugModal-DWrh3Luo.js").then((n) => n.D)).DebugModal);
|
|
32665
32665
|
const DebugListener = () => {
|
|
32666
32666
|
const [debugUiOpen, setDebugUiOpen] = useState(false);
|
|
32667
32667
|
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 { eb as createContext, ec as createSignal, ed as onMount, ee as createEffect, e9 as createMemo, ea as createComponent, ef as Portal, eg as Show, eh as template, ei as insert, ej as createRenderEffect, ek as className, el as clearDelegatedEvents, em as delegateEvents, en as useContext, eo as onCleanup, ep as sortFns, eq as mutationSortFns, er as on, es as setAttribute, et as getSidedProp, eu as use, ev as createUniqueId, ew as batch, ex as getQueryStatusLabel, ey as getMutationStatusColor, ez as getQueryStatusColor, eA as getQueryStatusColorByLabel, eB as displayValue, eC as For, eD as convertRemToPixels, eE as untrack, eF as $TRACK, eG as useTransition, eH as spread, eI as mergeProps, eJ as createRoot, eK as serialize, eL as Index, eM as updateNestedDataByPath, eN as addEventListener, eO as stringify, eP as Match, eQ as Switch, eR as deleteNestedDataByPath, eS as splitProps, eT as Dynamic, eU as createComputed } from "./EventEmitter-
|
|
13
|
+
import { eb as createContext, ec as createSignal, ed as onMount, ee as createEffect, e9 as createMemo, ea as createComponent, ef as Portal, eg as Show, eh as template, ei as insert, ej as createRenderEffect, ek as className, el as clearDelegatedEvents, em as delegateEvents, en as useContext, eo as onCleanup, ep as sortFns, eq as mutationSortFns, er as on, es as setAttribute, et as getSidedProp, eu as use, ev as createUniqueId, ew as batch, ex as getQueryStatusLabel, ey as getMutationStatusColor, ez as getQueryStatusColor, eA as getQueryStatusColorByLabel, eB as displayValue, eC as For, eD as convertRemToPixels, eE as untrack, eF as $TRACK, eG as useTransition, eH as spread, eI as mergeProps, eJ as createRoot, eK as serialize, eL as Index, eM as updateNestedDataByPath, eN as addEventListener, eO as stringify, eP as Match, eQ as Switch, eR as deleteNestedDataByPath, eS as splitProps, eT as Dynamic, eU as createComputed } from "./EventEmitter-Bq8xlXVA.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 { e8 as getPreferredColorScheme, e9 as createMemo, ea 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-CzhpDwYQ.js";
|
|
11
|
+
import { e8 as getPreferredColorScheme, e9 as createMemo, ea as createComponent } from "./EventEmitter-Bq8xlXVA.js";
|
|
12
12
|
var DevtoolsComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { ae as TaskTypes, i as LegalEntityType, dq as getTranslationKeysByPrefix, u as useI18nContext, a as useAnalyticsContext, B as Button } from "./EventEmitter-
|
|
13
|
-
import { S as StepProgressIndicator } from "./AcceptTermsOfServiceComponent-
|
|
12
|
+
import { ae as TaskTypes, i as LegalEntityType, dq as getTranslationKeysByPrefix, u as useI18nContext, a as useAnalyticsContext, B as Button } from "./EventEmitter-Bq8xlXVA.js";
|
|
13
|
+
import { S as StepProgressIndicator } from "./AcceptTermsOfServiceComponent-DMzlz5ur.js";
|
|
14
14
|
import { useMemo } from "preact/compat";
|
|
15
|
-
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./core-
|
|
15
|
+
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./core-BGMNir1l.js";
|
|
16
16
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
17
17
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
18
18
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { m as useApiContext, a5 as useMutation, a4 as httpPost, u as useI18nContext, W as useToastContext, L as LoaderWrapper, b1 as FormHeader, br as Checkbox, bd as ActionBar } from "./EventEmitter-
|
|
13
|
-
import { D as DropinLayout } from "./core-
|
|
12
|
+
import { m as useApiContext, a5 as useMutation, a4 as httpPost, u as useI18nContext, W as useToastContext, L as LoaderWrapper, b1 as FormHeader, br as Checkbox, bd as ActionBar } from "./EventEmitter-Bq8xlXVA.js";
|
|
13
|
+
import { D as DropinLayout } from "./core-BGMNir1l.js";
|
|
14
14
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
15
15
|
return httpPost({
|
|
16
16
|
baseUrl,
|
|
@@ -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, T as Typography, F as Field, b4 as RadioGroupCard, B as Button, d6 as Svg, i as LegalEntityType } from "./EventEmitter-
|
|
12
|
+
import { u as useI18nContext, D as useForm, T as Typography, F as Field, b4 as RadioGroupCard, B as Button, d6 as Svg, i as LegalEntityType } from "./EventEmitter-Bq8xlXVA.js";
|
|
13
13
|
const setupAccountMethods = ["singpass", "manual"];
|
|
14
14
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
15
15
|
const getSingpassSelectionDisabled = (legalEntityType) => {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { u as useI18nContext, ak as TaskStatus } from "./EventEmitter-
|
|
12
|
+
import { u as useI18nContext, ak as TaskStatus } from "./EventEmitter-Bq8xlXVA.js";
|
|
13
13
|
const inTaskStatus = "adyen-kyc-in-task-status";
|
|
14
14
|
const inTaskStatusIndicator = "adyen-kyc-in-task-status-indicator";
|
|
15
15
|
const inTaskStatusIndicatorSuccess = "adyen-kyc-in-task-status-indicator-success";
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useMemo, useEffect, useCallback, useRef } from "preact/hooks";
|
|
12
|
-
import { m as useApiContext, p as useQuery, q as httpGet, U as useInvalidateRootLegalEntity, a5 as useMutation, a4 as httpPost, i as LegalEntityType, l as localizeDateString, T as Typography, e4 as Currencies, u as useI18nContext, F as Field, e5 as InputGroup, t as Select, I as InputText, y as InputDate, b5 as TextArea, R as RadioGroup, b7 as CountryField, ai as Modal, ao as Alert, B as Button, as as Confirm, k as isEmpty, D as useForm, G as useGlobalDataSlice, H as ErrorPanel, J as createFormUtils, a0 as Loader, a1 as Icon, $ as getFormProps, ap as Card, aq as StructuredList, ar as IconButton, d4 as isEmpty$1, d6 as Svg, dt as List, W as useToastContext, at as createLogger, e6 as Dropzone, a6 as useQueryClient, a2 as useLegalEntity, X as useStateContext, a as useAnalyticsContext, e7 as useLegalEntities, am as ROOT_LE } from "./EventEmitter-
|
|
13
|
-
import { f as formatObject, T as TileGroup, r as createDocumentRequest, u as useCreateLegalEntity, a as useUpdateLegalEntity, d as getPropsFromConfigurations, e as getRequiredForms, h as addValidityToForms, i as useFormComposer, v as documentApiUtils } from "./CreateIndividualComponent-
|
|
14
|
-
import { A as Avatar, v as validateDateNotInTheFuture, n as normalizedTaskStatusStore, h as hasDataChanged, F as FormWrapper } from "./core-
|
|
12
|
+
import { m as useApiContext, p as useQuery, q as httpGet, U as useInvalidateRootLegalEntity, a5 as useMutation, a4 as httpPost, i as LegalEntityType, l as localizeDateString, T as Typography, e4 as Currencies, u as useI18nContext, F as Field, e5 as InputGroup, t as Select, I as InputText, y as InputDate, b5 as TextArea, R as RadioGroup, b7 as CountryField, ai as Modal, ao as Alert, B as Button, as as Confirm, k as isEmpty, D as useForm, G as useGlobalDataSlice, H as ErrorPanel, J as createFormUtils, a0 as Loader, a1 as Icon, $ as getFormProps, ap as Card, aq as StructuredList, ar as IconButton, d4 as isEmpty$1, d6 as Svg, dt as List, W as useToastContext, at as createLogger, e6 as Dropzone, a6 as useQueryClient, a2 as useLegalEntity, X as useStateContext, a as useAnalyticsContext, e7 as useLegalEntities, am as ROOT_LE } from "./EventEmitter-Bq8xlXVA.js";
|
|
13
|
+
import { f as formatObject, T as TileGroup, r as createDocumentRequest, u as useCreateLegalEntity, a as useUpdateLegalEntity, d as getPropsFromConfigurations, e as getRequiredForms, h as addValidityToForms, i as useFormComposer, v as documentApiUtils } from "./CreateIndividualComponent-Cw8jncCj.js";
|
|
14
|
+
import { A as Avatar, v as validateDateNotInTheFuture, n as normalizedTaskStatusStore, h as hasDataChanged, F as FormWrapper } from "./core-BGMNir1l.js";
|
|
15
15
|
import { signal } from "@preact/signals";
|
|
16
|
-
import { s as styles, T as TaskStatusIndicator } from "./SourceOfFunds.module-
|
|
16
|
+
import { s as styles, T as TaskStatusIndicator } from "./SourceOfFunds.module-caoQ--io.js";
|
|
17
17
|
import { a as formatAmountWithCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
18
18
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
19
19
|
import isURL from "validator/es/lib/isURL.js";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { a0 as Loader, a1 as Icon, u as useI18nContext, ak as TaskStatus, db as KEYBOARD_KEYS } from "./EventEmitter-
|
|
12
|
+
import { a0 as Loader, a1 as Icon, u as useI18nContext, ak as TaskStatus, db as KEYBOARD_KEYS } from "./EventEmitter-Bq8xlXVA.js";
|
|
13
13
|
const tag = "adyen-kyc-tag";
|
|
14
14
|
const tagGrey = "adyen-kyc-tag-grey";
|
|
15
15
|
const tagBlue = "adyen-kyc-tag-blue";
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
12
|
-
import { m as useApiContext, p as useQuery, q as httpGet, T as Typography, u as useI18nContext, cO as useFormContext, ao as Alert, F as Field, R as RadioGroup, $ as getFormProps, a1 as Icon, d4 as isEmpty, d6 as Svg, B as Button, ap as Card, aq as StructuredList, ar as IconButton, k as isEmpty$1, U as useInvalidateRootLegalEntity, a as useAnalyticsContext, a2 as useLegalEntity, at as createLogger, a0 as Loader, am as ROOT_LE } from "./EventEmitter-
|
|
13
|
-
import { a as useUpdateLegalEntity, J as useMultiForm, e as getRequiredForms, h as addValidityToForms, i as useFormComposer, K as FormContextProvider, L as FormFlow } from "./CreateIndividualComponent-
|
|
12
|
+
import { m as useApiContext, p as useQuery, q as httpGet, T as Typography, u as useI18nContext, cO as useFormContext, ao as Alert, F as Field, R as RadioGroup, $ as getFormProps, a1 as Icon, d4 as isEmpty, d6 as Svg, B as Button, ap as Card, aq as StructuredList, ar as IconButton, k as isEmpty$1, U as useInvalidateRootLegalEntity, a as useAnalyticsContext, a2 as useLegalEntity, at as createLogger, a0 as Loader, am as ROOT_LE } from "./EventEmitter-Bq8xlXVA.js";
|
|
13
|
+
import { a as useUpdateLegalEntity, J as useMultiForm, e as getRequiredForms, h as addValidityToForms, i as useFormComposer, K as FormContextProvider, L as FormFlow } from "./CreateIndividualComponent-Cw8jncCj.js";
|
|
14
14
|
import { signal } from "@preact/signals";
|
|
15
|
-
import { s as styles$1, T as TaskStatusIndicator } from "./SourceOfFunds.module-
|
|
16
|
-
import { n as normalizedTaskStatusStore } from "./core-
|
|
15
|
+
import { s as styles$1, T as TaskStatusIndicator } from "./SourceOfFunds.module-caoQ--io.js";
|
|
16
|
+
import { n as normalizedTaskStatusStore } from "./core-BGMNir1l.js";
|
|
17
17
|
const getTaxClassification = async (legalEntityId, baseUrl) => {
|
|
18
18
|
return httpGet({
|
|
19
19
|
baseUrl,
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { r as reverseMapping, dC as operationalAddressIsSameIds, dU as updateTaxInformation, i as LegalEntityType, a7 as createFormRules, ae as TaskTypes, dV as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, dW as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, dX as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, ac as CountryCodes, dY as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, dZ as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, dG as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, d_ as trustComponentsKeyMapping, d$ as trustApiKeyMapping, X as useStateContext, m as useApiContext, u as useI18nContext, a as useAnalyticsContext, V as datasetUtilities, b as useExperimentsContext, W as useToastContext, _ as getAssociatedLeAnalyticsPayload, e0 as trustDocumentMapping, e1 as trustForms, e2 as Trust, j as cloneObject, a3 as getLegalEntityCountry, aY as resolveFieldMetadata, dJ as defaultFieldMetadata, dK as inferCompanyRegistrationNumberType, dL as getCompanyRegistrationNumberOptions, dM as defaultFieldConfig, ck as defaultFieldMetadata$1, dN as countryToTaxInfoTypeMap, cl as defaultFieldConfig$1, cF as mapAddressLabels, e3 as trustConstitutionalDocumentFormId, k as isEmpty, h as drop, bb as getOwnEntityAssociations, a2 as useLegalEntity, de as useCapabilities, aH as EntityType, a0 as Loader, aa as keysOf, ay as skipToken, am as ROOT_LE } from "./EventEmitter-
|
|
12
|
-
import { n as getDocument, o as mapExistingFile, q as getPageName, f as formatObject, r as createDocumentRequest, v as documentApiUtils, c as useScenarioConfiguration, B as augmentWithCountryConfigs, d as getPropsFromConfigurations, M as getFieldsWithExistingData, e as getRequiredForms, h as addValidityToForms, u as useCreateLegalEntity, a as useUpdateLegalEntity, i as useFormComposer, j as composePerScenarioFormConfigurations, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, g as getProp, N as useCapabilityProblems, O as getProblemsForEntity } from "./CreateIndividualComponent-
|
|
11
|
+
import { r as reverseMapping, dC as operationalAddressIsSameIds, dU as updateTaxInformation, i as LegalEntityType, a7 as createFormRules, ae as TaskTypes, dV as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, dW as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, dX as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, ac as CountryCodes, dY as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, dZ as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, dG as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, d_ as trustComponentsKeyMapping, d$ as trustApiKeyMapping, X as useStateContext, m as useApiContext, u as useI18nContext, a as useAnalyticsContext, V as datasetUtilities, b as useExperimentsContext, W as useToastContext, _ as getAssociatedLeAnalyticsPayload, e0 as trustDocumentMapping, e1 as trustForms, e2 as Trust, j as cloneObject, a3 as getLegalEntityCountry, aY as resolveFieldMetadata, dJ as defaultFieldMetadata, dK as inferCompanyRegistrationNumberType, dL as getCompanyRegistrationNumberOptions, dM as defaultFieldConfig, ck as defaultFieldMetadata$1, dN as countryToTaxInfoTypeMap, cl as defaultFieldConfig$1, cF as mapAddressLabels, e3 as trustConstitutionalDocumentFormId, k as isEmpty, h as drop, bb as getOwnEntityAssociations, a2 as useLegalEntity, de as useCapabilities, aH as EntityType, a0 as Loader, aa as keysOf, ay as skipToken, am as ROOT_LE } from "./EventEmitter-Bq8xlXVA.js";
|
|
12
|
+
import { n as getDocument, o as mapExistingFile, q as getPageName, f as formatObject, r as createDocumentRequest, v as documentApiUtils, c as useScenarioConfiguration, B as augmentWithCountryConfigs, d as getPropsFromConfigurations, M as getFieldsWithExistingData, e as getRequiredForms, h as addValidityToForms, u as useCreateLegalEntity, a as useUpdateLegalEntity, i as useFormComposer, j as composePerScenarioFormConfigurations, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, g as getProp, N as useCapabilityProblems, O as getProblemsForEntity } from "./CreateIndividualComponent-Cw8jncCj.js";
|
|
13
13
|
import { useEffect, useState, useRef, useMemo } from "preact/hooks";
|
|
14
|
-
import { F as FormWrapper, h as hasDataChanged } from "./core-
|
|
14
|
+
import { F as FormWrapper, h as hasDataChanged } from "./core-BGMNir1l.js";
|
|
15
15
|
const mapApiDocumentToTrustDocument = (entityId) => {
|
|
16
16
|
const constitutionalDocument = getDocument(entityId, "constitutionalDocument") || null;
|
|
17
17
|
return {
|
package/dist/adyenConfig.js
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as Core } from "./core-
|
|
11
|
-
import { p as propsToCoreOptions } from "./utils-
|
|
10
|
+
import { C as Core } from "./core-BGMNir1l.js";
|
|
11
|
+
import { p as propsToCoreOptions } from "./utils-CxEv8UGu.js";
|
|
12
12
|
const loadAdyenConfig = async (config) => {
|
|
13
13
|
if (!config.environment) {
|
|
14
14
|
config.environment = "live";
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b1eae34a-ee3b-4624-ac33-e4874f7b3903", e._sentryDebugIdIdentifier = "sentry-dbid-b1eae34a-ee3b-4624-ac33-e4874f7b3903");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { e as entriesOf, o as objectsDeepEqual, u as useI18nContext, a as useAnalyticsContext, b as useExperimentsContext, M as MaybeModal, c as ModalContent, d as ModalHeader, L as LoaderWrapper, s as summaryStep, f as ModalFooter, B as Button, S as Spacer, g as Summary, h as drop, E as EEA_Countries, r as reverseMapping, i as LegalEntityType, j as cloneObject, l as localizeDateString, k as isEmpty, m as useApiContext, p as useQuery, q as httpGet, F as Field, t as Select, T as Typography, R as RadioGroup, v as Link, I as InputText, w as currencyByCountry, x as InputNumber, y as InputDate, C as Currency, z as CURRENCY_FIELD, A as InputCurrency, D as useForm, G as useGlobalDataSlice, H as ErrorPanel, J as createFormUtils, K as useGlobalData, N as getAddressSchemaForCountry, O as COUNTRIES_WITH_STATES_DATASET, P as Address, Q as getAddressSchemaLabelsByCountry, U as useInvalidateRootLegalEntity, V as datasetUtilities, W as useToastContext, X as useStateContext, Y as useSettingsContext, Z as SettingNames, _ as getAssociatedLeAnalyticsPayload, $ as getFormProps, a0 as Loader, a1 as Icon, a2 as useLegalEntity, a3 as getLegalEntityCountry, a4 as httpPost, a5 as useMutation, a6 as useQueryClient, a7 as createFormRules, a8 as mapPayoutAccountSchemaToApiBankAccount, a9 as payoutComponentKeyMapping, aa as keysOf, ab as summaryItem, ac as CountryCodes, ad as getLegalEntityNameBasedOnType, ae as TaskTypes, af as getCapabilityProblems, ag as isProviderWidgetInline, ah as payoutSteps, ai as Modal, aj as PayoutDetails, ak as TaskStatus, al as Skeleton, am as ROOT_LE, an as httpDelete, ao as Alert, ap as Card, aq as StructuredList, ar as IconButton, as as Confirm, at as createLogger, au as useDataset, av as datasetIdentifier, aw as useLocalStorage, ax as getLegalRepresentative, ay as skipToken, az as doesLegalEntityRequiresLegalRepresentative, aA as ProviderButton, aB as isPartOfTrustFromLegalEntity, aC as hasSolePropInLegalEntity, aD as hasOwnEntityAssociationOfType, aE as isEmptyEntity, aF as CompanyTypesValue, aG as useAccountHolder, aH as EntityType, aI as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, aJ as handleKeys, aK as noop, aL as CardGroup, aM as useSetting, aN as useSignalValue, aO as useGlobalStore, aP as useGetTaskStatus, aQ as isPartOfUnincorporatedPartnership, aR as getOwnSignatories, aS as getOwnDecisionMakersLegalEntityIds, aT as getOwnSolePropProblems, aU as getOwnTrustProblems, aV as getOwnUnincorporatedPartnershipProblems, aW as TrustMemberTypes, aX as mergeFieldMetadataIntoProps, aY as resolveFieldMetadata, aZ as defaultFieldMetadata, a_ as defaultFieldConfig, a$ as getFieldProps, b0 as nameFields, b1 as FormHeader, b2 as MultiSelectList, b3 as makeSelectItemForRole, b4 as RadioGroupCard, b5 as TextArea, b6 as Name, b7 as CountryField, b8 as COUNTRY_FIELD, b9 as LegalCompanyNameField, ba as LEGAL_COMPANY_NAME_FIELD, bb as getOwnEntityAssociations, bc as getRoleName, bd as ActionBar, be as UnincorporatedPartnershipMemberTypes, bf as getDecisionMakerDescriptionMap, bg as TRUST_DEFAULT_DESCRIPTIONS_MAP, bh as getRoleTagVariant, bi as DEFAULT_TRUST_MEMBER_REQUIREMENTS, bj as ContextGuidance, bk as deleteUnincorporatedPartnershipMember, bl as mapEntityAssociationsToUnincorporatedPartnershipMembers, bm as hasAllCapabilitiesResolved, bn as hasRejectedCapabilities, bo as getPayoutAccountHolderName, bp as TrustedFieldsProvider, bq as getOwnDecisionMakers, br as Checkbox, bs as listify, bt as isUndefinedOrNull, bu as useAllowedCountries, bv as AlertIcon, bw as uuidv4, bx as EventEmitter, by as SettingsProvider, bz as ExperimentsContextProvider, bA as ApiProvider, bB as QueryClientProvider, bC as StoreProvider, bD as AnalyticsProvider, bE as I18nProvider, bF as DebugListener, bG as ToastContextProvider, bH as StateProvider, bI as ReactQueryDevtools2, n as normalizeEnvironment, bJ as FALLBACK_LOCALE, bK as setSdkToken, bL as setSdkTokenHandler } from "./EventEmitter-
|
|
11
|
-
import { F as FormNavigation, S as StepProgressIndicator, a as FormEndState, u as useTermsOfServiceAcceptanceInfos, b as useTermsOfServiceStatus, d as downloadFile, O as OutlinedIcon, C as ContractViewer, A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
10
|
+
import { e as entriesOf, o as objectsDeepEqual, u as useI18nContext, a as useAnalyticsContext, b as useExperimentsContext, M as MaybeModal, c as ModalContent, d as ModalHeader, L as LoaderWrapper, s as summaryStep, f as ModalFooter, B as Button, S as Spacer, g as Summary, h as drop, E as EEA_Countries, r as reverseMapping, i as LegalEntityType, j as cloneObject, l as localizeDateString, k as isEmpty, m as useApiContext, p as useQuery, q as httpGet, F as Field, t as Select, T as Typography, R as RadioGroup, v as Link, I as InputText, w as currencyByCountry, x as InputNumber, y as InputDate, C as Currency, z as CURRENCY_FIELD, A as InputCurrency, D as useForm, G as useGlobalDataSlice, H as ErrorPanel, J as createFormUtils, K as useGlobalData, N as getAddressSchemaForCountry, O as COUNTRIES_WITH_STATES_DATASET, P as Address, Q as getAddressSchemaLabelsByCountry, U as useInvalidateRootLegalEntity, V as datasetUtilities, W as useToastContext, X as useStateContext, Y as useSettingsContext, Z as SettingNames, _ as getAssociatedLeAnalyticsPayload, $ as getFormProps, a0 as Loader, a1 as Icon, a2 as useLegalEntity, a3 as getLegalEntityCountry, a4 as httpPost, a5 as useMutation, a6 as useQueryClient, a7 as createFormRules, a8 as mapPayoutAccountSchemaToApiBankAccount, a9 as payoutComponentKeyMapping, aa as keysOf, ab as summaryItem, ac as CountryCodes, ad as getLegalEntityNameBasedOnType, ae as TaskTypes, af as getCapabilityProblems, ag as isProviderWidgetInline, ah as payoutSteps, ai as Modal, aj as PayoutDetails, ak as TaskStatus, al as Skeleton, am as ROOT_LE, an as httpDelete, ao as Alert, ap as Card, aq as StructuredList, ar as IconButton, as as Confirm, at as createLogger, au as useDataset, av as datasetIdentifier, aw as useLocalStorage, ax as getLegalRepresentative, ay as skipToken, az as doesLegalEntityRequiresLegalRepresentative, aA as ProviderButton, aB as isPartOfTrustFromLegalEntity, aC as hasSolePropInLegalEntity, aD as hasOwnEntityAssociationOfType, aE as isEmptyEntity, aF as CompanyTypesValue, aG as useAccountHolder, aH as EntityType, aI as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, aJ as handleKeys, aK as noop, aL as CardGroup, aM as useSetting, aN as useSignalValue, aO as useGlobalStore, aP as useGetTaskStatus, aQ as isPartOfUnincorporatedPartnership, aR as getOwnSignatories, aS as getOwnDecisionMakersLegalEntityIds, aT as getOwnSolePropProblems, aU as getOwnTrustProblems, aV as getOwnUnincorporatedPartnershipProblems, aW as TrustMemberTypes, aX as mergeFieldMetadataIntoProps, aY as resolveFieldMetadata, aZ as defaultFieldMetadata, a_ as defaultFieldConfig, a$ as getFieldProps, b0 as nameFields, b1 as FormHeader, b2 as MultiSelectList, b3 as makeSelectItemForRole, b4 as RadioGroupCard, b5 as TextArea, b6 as Name, b7 as CountryField, b8 as COUNTRY_FIELD, b9 as LegalCompanyNameField, ba as LEGAL_COMPANY_NAME_FIELD, bb as getOwnEntityAssociations, bc as getRoleName, bd as ActionBar, be as UnincorporatedPartnershipMemberTypes, bf as getDecisionMakerDescriptionMap, bg as TRUST_DEFAULT_DESCRIPTIONS_MAP, bh as getRoleTagVariant, bi as DEFAULT_TRUST_MEMBER_REQUIREMENTS, bj as ContextGuidance, bk as deleteUnincorporatedPartnershipMember, bl as mapEntityAssociationsToUnincorporatedPartnershipMembers, bm as hasAllCapabilitiesResolved, bn as hasRejectedCapabilities, bo as getPayoutAccountHolderName, bp as TrustedFieldsProvider, bq as getOwnDecisionMakers, br as Checkbox, bs as listify, bt as isUndefinedOrNull, bu as useAllowedCountries, bv as AlertIcon, bw as uuidv4, bx as EventEmitter, by as SettingsProvider, bz as ExperimentsContextProvider, bA as ApiProvider, bB as QueryClientProvider, bC as StoreProvider, bD as AnalyticsProvider, bE as I18nProvider, bF as DebugListener, bG as ToastContextProvider, bH as StateProvider, bI as ReactQueryDevtools2, n as normalizeEnvironment, bJ as FALLBACK_LOCALE, bK as setSdkToken, bL as setSdkTokenHandler } from "./EventEmitter-Bq8xlXVA.js";
|
|
11
|
+
import { F as FormNavigation, S as StepProgressIndicator, a as FormEndState, u as useTermsOfServiceAcceptanceInfos, b as useTermsOfServiceStatus, d as downloadFile, O as OutlinedIcon, C as ContractViewer, A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-DMzlz5ur.js";
|
|
12
12
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
13
13
|
import { useState, useCallback, useMemo, useEffect, useRef } from "preact/hooks";
|
|
14
|
-
import { t as trackNavigation, F as FormRouterContextProvider, f as formatObject, g as getProp, u as useCreateLegalEntity, a as useUpdateLegalEntity, b as useAssociatedLegalEntity, c as useScenarioConfiguration, d as getPropsFromConfigurations, e as getRequiredForms, h as addValidityToForms, i as useFormComposer, j as composePerScenarioFormConfigurations, k as fieldsPerScenario, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, n as getDocument, o as mapExistingFile, q as getPageName, r as createDocumentRequest, s as mapWith, v as documentApiUtils, w as useUnifyLoadingStatus, x as omitObscuredFieldsIfUnchanged, y as isIdDocumentUploadError, z as isBankStatementUploadError, A as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable, B as augmentWithCountryConfigs, D as getFileExtention, E as useTrustMembers, G as useSingpassMyInfoLogin, C as CreateIndividualComponent } from "./CreateIndividualComponent-
|
|
14
|
+
import { t as trackNavigation, F as FormRouterContextProvider, f as formatObject, g as getProp, u as useCreateLegalEntity, a as useUpdateLegalEntity, b as useAssociatedLegalEntity, c as useScenarioConfiguration, d as getPropsFromConfigurations, e as getRequiredForms, h as addValidityToForms, i as useFormComposer, j as composePerScenarioFormConfigurations, k as fieldsPerScenario, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, n as getDocument, o as mapExistingFile, q as getPageName, r as createDocumentRequest, s as mapWith, v as documentApiUtils, w as useUnifyLoadingStatus, x as omitObscuredFieldsIfUnchanged, y as isIdDocumentUploadError, z as isBankStatementUploadError, A as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable, B as augmentWithCountryConfigs, D as getFileExtention, E as useTrustMembers, G as useSingpassMyInfoLogin, C as CreateIndividualComponent } from "./CreateIndividualComponent-Cw8jncCj.js";
|
|
15
15
|
import cx from "classnames";
|
|
16
|
-
import { T as Tag, a as TaskItemStatus } from "./TaskItemStatus-
|
|
16
|
+
import { T as Tag, a as TaskItemStatus } from "./TaskItemStatus-PMtq1Pi9.js";
|
|
17
17
|
import { lazy, Suspense } from "preact/compat";
|
|
18
18
|
import { signal } from "@preact/signals";
|
|
19
19
|
import { render } from "preact";
|
|
@@ -4111,12 +4111,10 @@ const normalizeTaskStatuses = (taskStatuses) => {
|
|
|
4111
4111
|
};
|
|
4112
4112
|
const TASK_STATUS_POLLING_INTERVAL_MS = 3e3;
|
|
4113
4113
|
const getAccountTaskStatus = (accountId, taskStatusEntries) => {
|
|
4114
|
-
const taskStatusEntry = taskStatusEntries == null ? void 0 : taskStatusEntries.find(
|
|
4115
|
-
(entry) => entry.id === `bankAccount:${accountId}`
|
|
4116
|
-
);
|
|
4114
|
+
const taskStatusEntry = taskStatusEntries == null ? void 0 : taskStatusEntries.find((entry) => entry.id.includes(accountId));
|
|
4117
4115
|
if (!taskStatusEntry) {
|
|
4118
4116
|
console.warn(`No task status for this account: ${accountId}`);
|
|
4119
|
-
return TaskStatus.
|
|
4117
|
+
return TaskStatus.PROCESSING;
|
|
4120
4118
|
}
|
|
4121
4119
|
return TaskStatus[taskStatusEntry.status];
|
|
4122
4120
|
};
|
|
@@ -6904,50 +6902,50 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
6904
6902
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
6905
6903
|
};
|
|
6906
6904
|
const Introduction = lazy(
|
|
6907
|
-
async () => (await import("./Introduction-
|
|
6905
|
+
async () => (await import("./Introduction-ocOgetqy.js")).Introduction
|
|
6908
6906
|
);
|
|
6909
6907
|
const BusinessTypeSelection = lazy(
|
|
6910
|
-
async () => (await import("./BusinessTypeSelection-
|
|
6908
|
+
async () => (await import("./BusinessTypeSelection-DrKppT76.js")).BusinessTypeSelection
|
|
6911
6909
|
);
|
|
6912
6910
|
const SingpassSelection = lazy(
|
|
6913
|
-
async () => (await import("./SingpassSelection-
|
|
6911
|
+
async () => (await import("./SingpassSelection-BF6kWg3g.js")).SingpassSelection
|
|
6914
6912
|
);
|
|
6915
6913
|
const AccountSetupRejected = lazy(
|
|
6916
|
-
async () => (await import("./AccountSetupRejected-
|
|
6914
|
+
async () => (await import("./AccountSetupRejected-B_ll-DYK.js")).AccountSetupRejected
|
|
6917
6915
|
);
|
|
6918
6916
|
const DecisionMakers = lazy(
|
|
6919
|
-
async () => (await import("./DecisionMakers-
|
|
6917
|
+
async () => (await import("./DecisionMakers-DEspQGcu.js")).DecisionMakers
|
|
6920
6918
|
);
|
|
6921
6919
|
const CustomerSupport = lazy(
|
|
6922
|
-
async () => (await import("./CustomerSupport-
|
|
6920
|
+
async () => (await import("./CustomerSupport-hGFkG8i3.js")).CustomerSupport
|
|
6923
6921
|
);
|
|
6924
|
-
const Review = lazy(async () => (await import("./Review-
|
|
6922
|
+
const Review = lazy(async () => (await import("./Review-dujxCIfE.js")).Review);
|
|
6925
6923
|
const SignPCIComponent$2 = lazy(
|
|
6926
6924
|
async () => (await Promise.resolve().then(() => SignPCIComponent$1)).SignPCIComponent
|
|
6927
6925
|
);
|
|
6928
6926
|
const AcceptTermsOfService = lazy(
|
|
6929
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
6927
|
+
async () => (await import("./AcceptTermsOfServiceComponent-DMzlz5ur.js").then((n) => n.c)).AcceptTermsOfServiceComponent
|
|
6930
6928
|
);
|
|
6931
6929
|
const TaxReportingDropin = lazy(
|
|
6932
|
-
async () => (await import("./TaxReportingDropin-
|
|
6930
|
+
async () => (await import("./TaxReportingDropin-zwlu6qxX.js")).TaxReportingDropin
|
|
6933
6931
|
);
|
|
6934
6932
|
const PayoutDetailsDropin = lazy(
|
|
6935
6933
|
async () => (await Promise.resolve().then(() => PayoutDetailsDropin$2)).PayoutDetailsDropin
|
|
6936
6934
|
);
|
|
6937
6935
|
const BusinessDetailsDropin = lazy(
|
|
6938
|
-
async () => (await import("./BusinessDetailsDropin
|
|
6936
|
+
async () => (await import("./BusinessDetailsDropin--GT26UUf.js")).BusinessDetailsDropin
|
|
6939
6937
|
);
|
|
6940
6938
|
const BusinessFinancingDropin = lazy(
|
|
6941
6939
|
async () => (await Promise.resolve().then(() => BusinessFinancingDropin$2)).BusinessFinancingDropin
|
|
6942
6940
|
);
|
|
6943
6941
|
const TrustOuter = lazy(
|
|
6944
|
-
async () => (await import("./TrustOuter-
|
|
6942
|
+
async () => (await import("./TrustOuter-BsEoJkzE.js")).TrustOuter
|
|
6945
6943
|
);
|
|
6946
6944
|
const SourceOfFundsDropin = lazy(
|
|
6947
|
-
async () => (await import("./SourceOfFundsDropin-
|
|
6945
|
+
async () => (await import("./SourceOfFundsDropin-Bhk41z_b.js")).SourceOfFundsDropin
|
|
6948
6946
|
);
|
|
6949
6947
|
const IndividualOuter = lazy(
|
|
6950
|
-
async () => (await import("./CreateIndividualComponent-
|
|
6948
|
+
async () => (await import("./CreateIndividualComponent-Cw8jncCj.js").then((n) => n.P)).IndividualOuter
|
|
6951
6949
|
);
|
|
6952
6950
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
6953
6951
|
const logger$1 = createLogger();
|
|
@@ -8367,7 +8365,7 @@ class UIElement extends BaseElement {
|
|
|
8367
8365
|
baseUrl: this.props.baseUrl,
|
|
8368
8366
|
children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
8369
8367
|
/* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
8370
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.71.
|
|
8368
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.71.2" }),
|
|
8371
8369
|
/* @__PURE__ */ jsx(
|
|
8372
8370
|
AnalyticsProvider,
|
|
8373
8371
|
{
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-DWrh3Luo.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
property: { regex: /(^|[\r\n])[^:]*:/g, css: cssProps.key },
|
package/dist/individual.js
CHANGED
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { render } from "preact";
|
|
12
|
-
import { i as injectCss, E as EmbedShell } from "./EmbedShell-
|
|
13
|
-
import { n as normalizeEnvironment } from "./EventEmitter-
|
|
14
|
-
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-
|
|
15
|
-
import { e as environmentMap } from "./utils-
|
|
12
|
+
import { i as injectCss, E as EmbedShell } from "./EmbedShell-B_11fu1C.js";
|
|
13
|
+
import { n as normalizeEnvironment } from "./EventEmitter-Bq8xlXVA.js";
|
|
14
|
+
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-Cw8jncCj.js";
|
|
15
|
+
import { e as environmentMap } from "./utils-CxEv8UGu.js";
|
|
16
16
|
class AdyenIndividual extends HTMLElement {
|
|
17
17
|
constructor() {
|
|
18
18
|
super();
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-DWrh3Luo.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
number: { regex: /-?\d+(\.\d+)?([eE][+-]?\d+)?/g, css: cssProps.number },
|
package/dist/terms-of-service.js
CHANGED
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { render } from "preact";
|
|
12
|
-
import { i as injectCss, E as EmbedShell } from "./EmbedShell-
|
|
13
|
-
import { n as normalizeEnvironment } from "./EventEmitter-
|
|
14
|
-
import { A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
15
|
-
import { e as environmentMap } from "./utils-
|
|
12
|
+
import { i as injectCss, E as EmbedShell } from "./EmbedShell-B_11fu1C.js";
|
|
13
|
+
import { n as normalizeEnvironment } from "./EventEmitter-Bq8xlXVA.js";
|
|
14
|
+
import { A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-DMzlz5ur.js";
|
|
15
|
+
import { e as environmentMap } from "./utils-CxEv8UGu.js";
|
|
16
16
|
class AdyenTermsOfService extends HTMLElement {
|
|
17
17
|
constructor() {
|
|
18
18
|
super();
|
|
@@ -3,6 +3,6 @@ import type { NormalizedTaskStatus, TaskStatusApiResponse } from '../../../../st
|
|
|
3
3
|
import { TaskStatus } from '../../../../stores/globalStore/taskStatus';
|
|
4
4
|
export declare const normalizeTaskStatuses: (taskStatuses: TaskStatusApiResponse | undefined) => NormalizedTaskStatus | undefined;
|
|
5
5
|
export declare const TASK_STATUS_POLLING_INTERVAL_MS = 3000;
|
|
6
|
-
export declare const getAccountTaskStatus: (accountId: string, taskStatusEntries?: TaskStatusEntry[]) => TaskStatus.FINISHED | TaskStatus.PROCESSING | TaskStatus.DETAILS_REQUIRED | TaskStatus.ERROR
|
|
6
|
+
export declare const getAccountTaskStatus: (accountId: string, taskStatusEntries?: TaskStatusEntry[]) => TaskStatus.FINISHED | TaskStatus.PROCESSING | TaskStatus.DETAILS_REQUIRED | TaskStatus.ERROR;
|
|
7
7
|
export declare const normalizedTaskStatusStore: import("@preact/signals-core").Signal<NormalizedTaskStatus>;
|
|
8
8
|
export declare const setNormalizedTaskStatusStore: (taskStatus: NormalizedTaskStatus | undefined) => void;
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a3 as getLegalEntityCountry, dr as getCapabilities, i as LegalEntityType, aD as hasOwnEntityAssociationOfType, aF as CompanyTypesValue, ac as CountryCodes, dT as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./EventEmitter-
|
|
11
|
-
import { e as allowIndividualWithoutSoleProp } from "./core-
|
|
12
|
-
import { S as SOLE_PROP_COUNTRIES } from "./CreateIndividualComponent-
|
|
10
|
+
import { a3 as getLegalEntityCountry, dr as getCapabilities, i as LegalEntityType, aD as hasOwnEntityAssociationOfType, aF as CompanyTypesValue, ac as CountryCodes, dT as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./EventEmitter-Bq8xlXVA.js";
|
|
11
|
+
import { e as allowIndividualWithoutSoleProp } from "./core-BGMNir1l.js";
|
|
12
|
+
import { S as SOLE_PROP_COUNTRIES } from "./CreateIndividualComponent-Cw8jncCj.js";
|
|
13
13
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
14
14
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
15
15
|
CountryCodes.UnitedStates,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { n as normalizeEnvironment } from "./EventEmitter-
|
|
10
|
+
import { n as normalizeEnvironment } from "./EventEmitter-Bq8xlXVA.js";
|
|
11
11
|
const environmentMap = Object.freeze({
|
|
12
12
|
live: "https://live.adyen.com/",
|
|
13
13
|
test: "https://test.adyen.com/"
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-DWrh3Luo.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
boolean: { regex: /^(\s*)([\w-]+)(:)\s*(.*)$/g, css: cssProps.boolean },
|