@adyen/kyc-components 3.72.0 → 3.72.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-Bt8sRAoc.js → AcceptTermsOfServiceComponent-BXDA_SaK.js} +1 -1
- package/dist/{AccountSetupRejected-BwL6Q3-7.js → AccountSetupRejected-ELw6o-mS.js} +2 -2
- package/dist/{BusinessDetailsDropin-z-LBYatN.js → BusinessDetailsDropin-ALQJRaC8.js} +4 -4
- package/dist/{BusinessFinancingPage-BZ0ukckI.js → BusinessFinancingPage-CTHGhG1F.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-Bl0fkgrq.js → BusinessTypeSelectionPage-B-Morr7F.js} +3 -3
- package/dist/{CXEL7IU7-BDgMbrmd.js → CXEL7IU7-CIkFjqDz.js} +2 -2
- package/dist/{CreateIndividualComponent-BYcoaXRs.js → CreateIndividualComponent-kC_-8B9Z.js} +9 -4
- package/dist/{CustomerSupport-C1aqVIO5.js → CustomerSupport-CTnzSMwV.js} +2 -2
- package/dist/{DebugModal-sw85K_ur.js → DebugModal-JUXjgitf.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-uOytW22H.js → DecisionMakerDetailsPage-7LeXlce7.js} +2 -2
- package/dist/{DecisionMakers-CCWH6S3m.js → DecisionMakers-DKu6CgUP.js} +3 -3
- package/dist/{EmbedShell-n61dt-oX.js → EmbedShell-B0Txa1L9.js} +3 -3
- package/dist/{EventEmitter-D4j8YPMw.js → EventEmitter-BkZLzmwO.js} +6 -6
- package/dist/{HASRA6WW-c_NjaqBL.js → HASRA6WW-D3YBssmd.js} +1 -1
- package/dist/{I3HPI4QX-7hHBw-hy.js → I3HPI4QX-DT_Z6W94.js} +2 -2
- package/dist/{Introduction-BIciUCV2.js → Introduction-JFLyt1K7.js} +3 -3
- package/dist/{LegalRepresentativeDetailsPage-B5NB1_0c.js → LegalRepresentativeDetailsPage-6wTBkjz4.js} +2 -2
- package/dist/{PayoutDetailsPage-csmuS7XY.js → PayoutDetailsPage-QJJ4Hlcz.js} +3 -3
- package/dist/{Review-OUouKkBK.js → Review-BhYHgcaK.js} +2 -2
- package/dist/{RootBusinessDetailsPage-8GCh8CZ9.js → RootBusinessDetailsPage-DDGv2aIT.js} +3 -3
- package/dist/{RootIndividualDetailsPage-zZl4WLcr.js → RootIndividualDetailsPage-CnfQEzH9.js} +2 -2
- package/dist/{SingpassSelection-DZx1cQy-.js → SingpassSelection-2a2H54a-.js} +1 -1
- package/dist/{SoleProprietorshipPage-WVtWeQL6.js → SoleProprietorshipPage-C1HJsoiB.js} +3 -3
- package/dist/{SourceOfFunds.module-3s3uanVF.js → SourceOfFunds.module-CJU7G25h.js} +1 -1
- package/dist/{SourceOfFundsPage-6mejBSsi.js → SourceOfFundsPage-wKa6_R00.js} +4 -4
- package/dist/{TaskItemStatus-BTND6V1w.js → TaskItemStatus-C4UEhNGv.js} +1 -1
- package/dist/{TaxReportingDropin-Canpx2fK.js → TaxReportingDropin-CIOcO4aW.js} +4 -4
- package/dist/{TrustDetailsPage-DSDYwyW0.js → TrustDetailsPage-CQFhJpjq.js} +3 -3
- package/dist/{TrustMemberCompanyPage-D7V4OAf4.js → TrustMemberCompanyPage-LXlFOFQY.js} +4 -4
- package/dist/{TrustMemberIndividualPage-C9zoI3NZ.js → TrustMemberIndividualPage-LN6bDQy-.js} +2 -2
- package/dist/{UnincorporatedPartnershipIndividualPage-BKEuBPUD.js → UnincorporatedPartnershipIndividualPage-C7VTwaZ8.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-Ij6N40YA.js → UnincorporatedPartnershipMemberCompanyPage-W4Cirr03.js} +3 -3
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +2 -2
- package/dist/{core-C1rJ5Pjl.js → core-COLKpX6z.js} +28 -28
- package/dist/{css-FlY03KiS.js → css-gOuz99Uy.js} +1 -1
- package/dist/individual.js +4 -4
- package/dist/{json-C0fKu7KI.js → json-BWWdJ4V4.js} +1 -1
- package/dist/{plaintext-VVpKsKsN.js → plaintext-BeHX0z7t.js} +1 -1
- package/dist/terms-of-service.js +4 -4
- package/dist/types/hooks/useDataConflicts.d.ts +6 -0
- package/dist/{utils-DD_s-Xlo.js → utils-D_u0pRoA.js} +1 -1
- package/dist/{utils-UcNoMAHV.js → utils-TiL-AC3M.js} +3 -3
- package/dist/{yaml-BipFvPsw.js → yaml-DaYGsXjE.js} +1 -1
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-Bt8sRAoc.js → AcceptTermsOfServiceComponent-BXDA_SaK.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, Q as useInvalidateRootLegalEntity, a5 as useMutation, a4 as httpPost, p as useQuery, q as httpGet, a6 as skipToken, a1 as Icon, u as useI18nContext, T as Typography, dm as globalStyles, bu as AlertIcon, db as KEYBOARD_KEYS, a as useAnalyticsContext, aJ as noop, au as createLogger, W as useToastContext, b as useExperimentsContext, D as useForm, aq as Alert, B as Button, l as localizeDateString, L as LoaderWrapper, F as Field, t as Select, bq 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, ay as getLegalRepresentative, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, ah as TaskTypes } from "./EventEmitter-
|
|
12
|
+
import { m as useApiContext, Q as useInvalidateRootLegalEntity, a5 as useMutation, a4 as httpPost, p as useQuery, q as httpGet, a6 as skipToken, a1 as Icon, u as useI18nContext, T as Typography, dm as globalStyles, bu as AlertIcon, db as KEYBOARD_KEYS, a as useAnalyticsContext, aJ as noop, au as createLogger, W as useToastContext, b as useExperimentsContext, D as useForm, aq as Alert, B as Button, l as localizeDateString, L as LoaderWrapper, F as Field, t as Select, bq 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, ay as getLegalRepresentative, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, ah as TaskTypes } from "./EventEmitter-BkZLzmwO.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, bu as AlertIcon, b2 as FormHeader } from "./EventEmitter-
|
|
12
|
-
import { D as DropinLayout } from "./core-
|
|
11
|
+
import { u as useI18nContext, bu as AlertIcon, b2 as FormHeader } from "./EventEmitter-BkZLzmwO.js";
|
|
12
|
+
import { D as DropinLayout } from "./core-COLKpX6z.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, useEffect, useCallback, useRef, useMemo } from "preact/hooks";
|
|
12
|
-
import { m as useApiContext, a5 as useMutation, a4 as httpPost, u as useI18nContext, dj as MemoizedDocumentUpload, B as Button, ak as Modal, c as ModalContent, T as Typography, ad as CountryCodes, aE as CompanyTypesValue, J as useGlobalData, dt as getForms, ah as TaskTypes, du as BasicInformation, $ as getFormProps, dv as CompanyStructure, dw as AdditionalInformation, dx as MemoizedConstitutionalDocument, i as LegalEntityType, dy as FinancialInformation, dz as StateCodesUS, o as objectsDeepEqual, au as createLogger, e as entriesOf, bY as businessDetailsComponentsKeyMapping, dA as solePropBusinessDetailsKeyMapping, dB as operationalAddressIsSameIds, dC as COUNTRIES_USING_COMPANY_SEARCH, dD as FIELDS_NEEDED_FOR_COMPANY_SEARCH, ab as keysOf, bs as isUndefinedOrNull, ac as summaryItem, dE as solePropBusinessDetailsApiKeyMapping, bL as businessDetailsApiKeyMapping, d5 as isEmpty, dF as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, V as datasetUtilities, cD as mapAddressLabels, dG as companyTypeMetadata, k as isEmpty$1, cC as filterOutUnwantedAssociationsIfRootLE, dH as documentFormsIds, aZ as resolveFieldMetadata, dI as defaultFieldMetadata, dJ as inferCompanyRegistrationNumberType, dK as getCompanyRegistrationNumberOptions, dL as defaultFieldConfig, ck as defaultFieldMetadata$1, dM as countryToTaxInfoTypeMap, cl as defaultFieldConfig$1, dN as getKeyForField, h as drop, aX as getOwnEntityAssociations, cK as doArraysMatch, aF as useAccountHolder, W as useToastContext, a as useAnalyticsContext, b as useExperimentsContext, Y as useSettingsContext, X as useStateContext, Z as SettingNames, dO as setIsBankAccountRequestedForOrganization, _ as getAssociatedLeAnalyticsPayload, aj as getCapabilityProblems, dP as rules, dQ as solePropBusinessDetailsDocumentMapping, dR as businessDetailsDocumentMapping } from "./EventEmitter-
|
|
13
|
-
import { f as formatObject, n as getDocument, o as mapExistingFile, q as getPageName, r as createDocumentRequest, v as augmentWithCountryConfigs, j as composePerScenarioFormConfigurations, g as getProp, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, D as getFileExtention, w as documentApiUtils, b as useScenarioConfiguration, c as getPropsFromConfigurations, O as getFieldsWithExistingData, d as getRequiredForms, e as addValidityToForms, u as useCreateLegalEntity, a as useUpdateLegalEntity, h as useFormComposer, t as trackNavigation, E as Confirm } from "./CreateIndividualComponent-
|
|
14
|
-
import { m as mapFinancialReportsToFinancialInformation, e 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, B as Button, ak as Modal, c as ModalContent, T as Typography, ad as CountryCodes, aE as CompanyTypesValue, J as useGlobalData, dt as getForms, ah as TaskTypes, du as BasicInformation, $ as getFormProps, dv as CompanyStructure, dw as AdditionalInformation, dx as MemoizedConstitutionalDocument, i as LegalEntityType, dy as FinancialInformation, dz as StateCodesUS, o as objectsDeepEqual, au as createLogger, e as entriesOf, bY as businessDetailsComponentsKeyMapping, dA as solePropBusinessDetailsKeyMapping, dB as operationalAddressIsSameIds, dC as COUNTRIES_USING_COMPANY_SEARCH, dD as FIELDS_NEEDED_FOR_COMPANY_SEARCH, ab as keysOf, bs as isUndefinedOrNull, ac as summaryItem, dE as solePropBusinessDetailsApiKeyMapping, bL as businessDetailsApiKeyMapping, d5 as isEmpty, dF as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, V as datasetUtilities, cD as mapAddressLabels, dG as companyTypeMetadata, k as isEmpty$1, cC as filterOutUnwantedAssociationsIfRootLE, dH as documentFormsIds, aZ as resolveFieldMetadata, dI as defaultFieldMetadata, dJ as inferCompanyRegistrationNumberType, dK as getCompanyRegistrationNumberOptions, dL as defaultFieldConfig, ck as defaultFieldMetadata$1, dM as countryToTaxInfoTypeMap, cl as defaultFieldConfig$1, dN as getKeyForField, h as drop, aX as getOwnEntityAssociations, cK as doArraysMatch, aF as useAccountHolder, W as useToastContext, a as useAnalyticsContext, b as useExperimentsContext, Y as useSettingsContext, X as useStateContext, Z as SettingNames, dO as setIsBankAccountRequestedForOrganization, _ as getAssociatedLeAnalyticsPayload, aj as getCapabilityProblems, dP as rules, dQ as solePropBusinessDetailsDocumentMapping, dR as businessDetailsDocumentMapping } from "./EventEmitter-BkZLzmwO.js";
|
|
13
|
+
import { f as formatObject, n as getDocument, o as mapExistingFile, q as getPageName, r as createDocumentRequest, v as augmentWithCountryConfigs, j as composePerScenarioFormConfigurations, g as getProp, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, D as getFileExtention, w as documentApiUtils, b as useScenarioConfiguration, c as getPropsFromConfigurations, O as getFieldsWithExistingData, d as getRequiredForms, e as addValidityToForms, u as useCreateLegalEntity, a as useUpdateLegalEntity, h as useFormComposer, t as trackNavigation, E as Confirm } from "./CreateIndividualComponent-kC_-8B9Z.js";
|
|
14
|
+
import { m as mapFinancialReportsToFinancialInformation, e as mapFinancialInformationToFinancialReport, h as hasDataChanged, F as FormWrapper } from "./core-COLKpX6z.js";
|
|
15
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-TiL-AC3M.js";
|
|
16
16
|
import cx from "classnames";
|
|
17
17
|
import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
18
18
|
const clearCompanyData = async (legalEntityId, baseUrl) => {
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useI18nContext, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, a3 as getLegalEntityCountry } from "./EventEmitter-
|
|
12
|
-
import { B as BusinessFinancingDropin } from "./core-
|
|
11
|
+
import { u as useI18nContext, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, a3 as getLegalEntityCountry } from "./EventEmitter-BkZLzmwO.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./core-COLKpX6z.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-Bl0fkgrq.js → BusinessTypeSelectionPage-B-Morr7F.js}
RENAMED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useI18nContext, a as useAnalyticsContext, W as useToastContext, b as useExperimentsContext, aF as useAccountHolder, dr as getCapabilities, a3 as getLegalEntityCountry, i as LegalEntityType, D as useForm, L as LoaderWrapper, T as Typography, F as Field, ds as EntityTypeRadioGroupCard, b5 as RadioGroupCard, B as Button, S as Spacer, a1 as Icon, aB as hasSolePropInLegalEntity, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader } from "./EventEmitter-
|
|
11
|
+
import { u as useI18nContext, a as useAnalyticsContext, W as useToastContext, b as useExperimentsContext, aF as useAccountHolder, dr as getCapabilities, a3 as getLegalEntityCountry, i as LegalEntityType, D as useForm, L as LoaderWrapper, T as Typography, F as Field, ds as EntityTypeRadioGroupCard, b5 as RadioGroupCard, B as Button, S as Spacer, a1 as Icon, aB as hasSolePropInLegalEntity, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader } from "./EventEmitter-BkZLzmwO.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
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-
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./CreateIndividualComponent-kC_-8B9Z.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-TiL-AC3M.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 { e7 as getPreferredColorScheme, e8 as createMemo, e9 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-D3YBssmd.js";
|
|
11
|
+
import { e7 as getPreferredColorScheme, e8 as createMemo, e9 as createComponent } from "./EventEmitter-BkZLzmwO.js";
|
|
12
12
|
var DevtoolsPanelComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
package/dist/{CreateIndividualComponent-BYcoaXRs.js → CreateIndividualComponent-kC_-8B9Z.js}
RENAMED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "16ce3805-ee12-4062-930f-82f8632c3227", e._sentryDebugIdIdentifier = "sentry-dbid-16ce3805-ee12-4062-930f-82f8632c3227");
|
|
6
6
|
} catch (e) {
|
|
7
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, Q as useInvalidateRootLegalEntity, a7 as useQueryClient, au as createLogger, bo as TrustedFieldsProvider, bL as businessDetailsApiKeyMapping, bM as individualApiKeyMapping, ab as keysOf, bN as remediationHasFileUploadField, bO as dataMissingRemediationsToFieldsMap, a as useAnalyticsContext, s as summaryStep, p as useQuery, q as httpGet, ad as CountryCodes, aO as useSignalValue, bP as AdyenKycSdkError, bQ as payoutAccountFormat, bR as FormRouterContext, ah as TaskTypes, bS as remediationPayoutApiKeyMapping, bT as remediationBusinessDetailsApiKeyMapping, bU as remediationIndividualApiKeyMapping, bV as EEA_Countries, h as drop, a2 as useLegalEntity, ao as ROOT_LE, aj as getCapabilityProblems, a3 as getLegalEntityCountry, bW as FormContext, b as useExperimentsContext, aA as isPartOfTrustFromLegalEntity, i as LegalEntityType, aB 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, ak as Modal, T as Typography, B as Button, M as MaybeModal, L as LoaderWrapper, g as Summary, at as IconButton, ap as httpDelete, c9 as getLocalizedIdDocumentTypeOptions, ca as isNewlyUploadedFile, cb as getNestedPropertyKeys, j as cloneObject, cc as isValueObscured, cd as isTruthyValidator, ce as emailPattern, aZ 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, a8 as createFormRules, cp as allowedCountriesForNominee, K as getAddressSchemaForCountry, N as COUNTRIES_WITH_STATES_DATASET, cq as Scenarios, r as reverseMapping, cr as getNomineeFromAssociation, aF 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 individualForms, cz as showIndividualMotionCapture, cA as getAllowedDecisionMakerRoles, V as datasetUtilities, cB as Individual, cC as filterOutUnwantedAssociationsIfRootLE, cD as mapAddressLabels, cE as individualDocumentForms, l as localizeDateString, cF as individualDocumentMapping, cG as individualObscuredFields, aX as getOwnEntityAssociations, 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, aY as mergeFieldMetadataIntoProps, H as createFormUtils, cO as useFormContext, b0 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, bt as useAllowedCountries, cW as getDefaultTaxIdNumberType, b2 as FormHeader, G as ErrorPanel, b8 as CountryField, O as Address, P as getAddressSchemaLabelsByCountry, v as Link, cX as IndividualIdNumberTypeSelector, cY as TaxInformationField, cZ as PatriotActDisclosure, b1 as nameFields, c_ as decisionMakerRoleFields, c$ as nomineeFields, d0 as contactDetailFields, aq as Alert, bj as ContextGuidance, d1 as DecisionMakerRole, d2 as NomineeDecisionMakerRole, b7 as Name, I as InputText, d3 as ContactDetails, d4 as Svg, d5 as isEmpty$1, d6 as RadioWithLabel, d7 as pick, d8 as IdVerification, S as Spacer, av as useDataset, aw as datasetIdentifier, a0 as Loader, d9 as IdDocumentManualUpload, da as useId, a1 as Icon, db as KEYBOARD_KEYS, aJ 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, aG as EntityType } from "./EventEmitter-
|
|
11
|
+
import { m as useApiContext, a5 as useMutation, a4 as httpPost, Q as useInvalidateRootLegalEntity, a7 as useQueryClient, au as createLogger, bo as TrustedFieldsProvider, bL as businessDetailsApiKeyMapping, bM as individualApiKeyMapping, ab as keysOf, bN as remediationHasFileUploadField, bO as dataMissingRemediationsToFieldsMap, a as useAnalyticsContext, s as summaryStep, p as useQuery, q as httpGet, ad as CountryCodes, aO as useSignalValue, bP as AdyenKycSdkError, bQ as payoutAccountFormat, bR as FormRouterContext, ah as TaskTypes, bS as remediationPayoutApiKeyMapping, bT as remediationBusinessDetailsApiKeyMapping, bU as remediationIndividualApiKeyMapping, bV as EEA_Countries, h as drop, a2 as useLegalEntity, ao as ROOT_LE, aj as getCapabilityProblems, a3 as getLegalEntityCountry, bW as FormContext, b as useExperimentsContext, aA as isPartOfTrustFromLegalEntity, i as LegalEntityType, aB 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, ak as Modal, T as Typography, B as Button, M as MaybeModal, L as LoaderWrapper, g as Summary, at as IconButton, ap as httpDelete, c9 as getLocalizedIdDocumentTypeOptions, ca as isNewlyUploadedFile, cb as getNestedPropertyKeys, j as cloneObject, cc as isValueObscured, cd as isTruthyValidator, ce as emailPattern, aZ 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, a8 as createFormRules, cp as allowedCountriesForNominee, K as getAddressSchemaForCountry, N as COUNTRIES_WITH_STATES_DATASET, cq as Scenarios, r as reverseMapping, cr as getNomineeFromAssociation, aF 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 individualForms, cz as showIndividualMotionCapture, cA as getAllowedDecisionMakerRoles, V as datasetUtilities, cB as Individual, cC as filterOutUnwantedAssociationsIfRootLE, cD as mapAddressLabels, cE as individualDocumentForms, l as localizeDateString, cF as individualDocumentMapping, cG as individualObscuredFields, aX as getOwnEntityAssociations, 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, aY as mergeFieldMetadataIntoProps, H as createFormUtils, cO as useFormContext, b0 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, bt as useAllowedCountries, cW as getDefaultTaxIdNumberType, b2 as FormHeader, G as ErrorPanel, b8 as CountryField, O as Address, P as getAddressSchemaLabelsByCountry, v as Link, cX as IndividualIdNumberTypeSelector, cY as TaxInformationField, cZ as PatriotActDisclosure, b1 as nameFields, c_ as decisionMakerRoleFields, c$ as nomineeFields, d0 as contactDetailFields, aq as Alert, bj as ContextGuidance, d1 as DecisionMakerRole, d2 as NomineeDecisionMakerRole, b7 as Name, I as InputText, d3 as ContactDetails, d4 as Svg, d5 as isEmpty$1, d6 as RadioWithLabel, d7 as pick, d8 as IdVerification, S as Spacer, av as useDataset, aw as datasetIdentifier, a0 as Loader, d9 as IdDocumentManualUpload, da as useId, a1 as Icon, db as KEYBOARD_KEYS, aJ 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, aG as EntityType } from "./EventEmitter-BkZLzmwO.js";
|
|
12
12
|
import { useState, useEffect, useMemo, useCallback, useReducer, useRef } from "preact/hooks";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
import { l as listToRecord } from "./listToRecord-CO3M1Q74.js";
|
|
@@ -4850,6 +4850,9 @@ const createAddressConflictRule = (datasetUtils) => (provided, detected) => {
|
|
|
4850
4850
|
const detectedString = addressToString(mapApiAddressToSchema(detected), datasetUtils);
|
|
4851
4851
|
return { hasConflict: providedString !== detectedString };
|
|
4852
4852
|
};
|
|
4853
|
+
const createIdConflictRule = () => () => {
|
|
4854
|
+
return { hasConflict: false };
|
|
4855
|
+
};
|
|
4853
4856
|
const useDataConflicts = (providedData, detectedData, rules2 = {}, onAutoResolve) => {
|
|
4854
4857
|
const { conflictingProperties, wasAutoResolved, resolvedData, hasConflicts } = useMemo(() => {
|
|
4855
4858
|
if (!providedData || !detectedData) {
|
|
@@ -5110,7 +5113,7 @@ const formatId = (id, i18n) => {
|
|
|
5110
5113
|
return `${i18n.get("nationalIdNumber")} (${id.idNumber})`;
|
|
5111
5114
|
default:
|
|
5112
5115
|
if (id.idNumber) {
|
|
5113
|
-
return `${id.typeOfIdentity} (${id.idNumber})`;
|
|
5116
|
+
return `${id.typeOfIdentity || i18n.get("idNumber")} (${id.idNumber})`;
|
|
5114
5117
|
}
|
|
5115
5118
|
return `${id.typeOfIdentity}`;
|
|
5116
5119
|
}
|
|
@@ -5374,7 +5377,9 @@ function IdVerificationMethod(props) {
|
|
|
5374
5377
|
);
|
|
5375
5378
|
const conflictRules = useMemo(
|
|
5376
5379
|
() => ({
|
|
5377
|
-
address: createAddressConflictRule(datasetUtils)
|
|
5380
|
+
address: createAddressConflictRule(datasetUtils),
|
|
5381
|
+
id: createIdConflictRule()
|
|
5382
|
+
// ignore id related conflicts
|
|
5378
5383
|
}),
|
|
5379
5384
|
[datasetUtils]
|
|
5380
5385
|
);
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, u as useI18nContext, a as useAnalyticsContext, W as useToastContext, a7 as useQueryClient, aZ as resolveFieldMetadata, ci as defaultFieldMetadata, cj as fieldConfig, cv as getAsyncPhoneValidationRules, b2 as FormHeader, d3 as ContactDetails, bd as ActionBar, au as createLogger } from "./EventEmitter-
|
|
11
|
+
import { a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, u as useI18nContext, a as useAnalyticsContext, W as useToastContext, a7 as useQueryClient, aZ as resolveFieldMetadata, ci as defaultFieldMetadata, cj as fieldConfig, cv as getAsyncPhoneValidationRules, b2 as FormHeader, d3 as ContactDetails, bd as ActionBar, au as createLogger } from "./EventEmitter-BkZLzmwO.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity, I as contactDetailsValidationRules, J as useValidatePhoneNumberImperatively, K as useMultiForm } from "./CreateIndividualComponent-
|
|
13
|
+
import { a as useUpdateLegalEntity, I as contactDetailsValidationRules, J as useValidatePhoneNumberImperatively, K as useMultiForm } from "./CreateIndividualComponent-kC_-8B9Z.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] = "8e0b6105-9ccd-403a-ae12-a2e95f8061e8", e._sentryDebugIdIdentifier = "sentry-dbid-8e0b6105-9ccd-403a-ae12-a2e95f8061e8");
|
|
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, aO as useSignalValue, aP as useGlobalStore, dp as valuesOf, ak as Modal, au 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, aO as useSignalValue, aP as useGlobalStore, dp as valuesOf, ak as Modal, au as createLogger, a1 as Icon, Z as SettingNames } from "./EventEmitter-BkZLzmwO.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-C4UEhNGv.js";
|
|
15
15
|
var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
|
|
16
16
|
ExperimentNames2["AllowMoreRolesForMainRootTrustee"] = "AllowMoreRolesForMainRootTrustee";
|
|
17
17
|
ExperimentNames2["ShowUnsupportedEntityType"] = "ShowUnsupportedEntityType";
|
|
@@ -178,10 +178,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
178
178
|
};
|
|
179
179
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
180
180
|
const moduleMap = {
|
|
181
|
-
plaintext: () => import("./plaintext-
|
|
182
|
-
json: () => import("./json-
|
|
183
|
-
yaml: () => import("./yaml-
|
|
184
|
-
css: () => import("./css-
|
|
181
|
+
plaintext: () => import("./plaintext-BeHX0z7t.js"),
|
|
182
|
+
json: () => import("./json-BWWdJ4V4.js"),
|
|
183
|
+
yaml: () => import("./yaml-DaYGsXjE.js"),
|
|
184
|
+
css: () => import("./css-gOuz99Uy.js")
|
|
185
185
|
};
|
|
186
186
|
const getModule = async (name) => {
|
|
187
187
|
if (!supportedModules.includes(name)) {
|
|
@@ -472,7 +472,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
472
472
|
const [tab, setTab] = useState("metadata");
|
|
473
473
|
const rootLegalEntity = useSignalValue(useGlobalStore().rootLegalEntity);
|
|
474
474
|
const metadata = {
|
|
475
|
-
sdkVersion: "3.72.
|
|
475
|
+
sdkVersion: "3.72.1",
|
|
476
476
|
locale: i18n.locale,
|
|
477
477
|
rootLegalEntityId: rootLegalEntity.id
|
|
478
478
|
};
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, a6 as skipToken, b as useExperimentsContext, a0 as Loader, a3 as getLegalEntityCountry, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-
|
|
11
|
+
import { a2 as useLegalEntity, a6 as skipToken, b as useExperimentsContext, a0 as Loader, a3 as getLegalEntityCountry, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-BkZLzmwO.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-kC_-8B9Z.js";
|
|
13
13
|
function DecisionMakerDetailsPage({
|
|
14
14
|
decisionMakerId,
|
|
15
15
|
parentCompanyId,
|
|
@@ -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, ao as ROOT_LE, a0 as Loader, aL as useGetTaskStatus, u as useI18nContext, a as useAnalyticsContext, W as useToastContext, bp as getOwnDecisionMakers, cL as getAvailableDecisionMakerRoleTypes, ah as TaskTypes, cA as getAllowedDecisionMakerRoles, b2 as FormHeader, bj as ContextGuidance, co as DecisionMakerType, aq as Alert, aM as CardGroup, B as Button, bd as ActionBar } from "./EventEmitter-
|
|
13
|
-
import { G as useCapabilityProblems, 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, ao as ROOT_LE, a0 as Loader, aL as useGetTaskStatus, u as useI18nContext, a as useAnalyticsContext, W as useToastContext, bp as getOwnDecisionMakers, cL as getAvailableDecisionMakerRoleTypes, ah as TaskTypes, cA as getAllowedDecisionMakerRoles, b2 as FormHeader, bj as ContextGuidance, co as DecisionMakerType, aq as Alert, aM as CardGroup, B as Button, bd as ActionBar } from "./EventEmitter-BkZLzmwO.js";
|
|
13
|
+
import { G as useCapabilityProblems, a as useUpdateLegalEntity } from "./CreateIndividualComponent-kC_-8B9Z.js";
|
|
14
|
+
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./core-COLKpX6z.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] = "10bfb752-6d6b-4271-85db-72dd4abd2b45", e._sentryDebugIdIdentifier = "sentry-dbid-10bfb752-6d6b-4271-85db-72dd4abd2b45");
|
|
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, bx as SettingsProvider, by as ExperimentsContextProvider, bz as ApiProvider, bA as QueryClientProvider, bB as StoreProvider, bC as AnalyticsProvider, bD as I18nProvider, bw as EventEmitter, bE as DebugListener, bF as ToastContextProvider, bG as StateProvider, bH as ReactQueryDevtools2, bK as setSdkTokenHandler } from "./EventEmitter-
|
|
11
|
+
import { dl as refreshSession, B as Button, a0 as Loader, bx as SettingsProvider, by as ExperimentsContextProvider, bz as ApiProvider, bA as QueryClientProvider, bB as StoreProvider, bC as AnalyticsProvider, bD as I18nProvider, bw as EventEmitter, bE as DebugListener, bF as ToastContextProvider, bG as StateProvider, bH as ReactQueryDevtools2, bK as setSdkTokenHandler } from "./EventEmitter-BkZLzmwO.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.72.
|
|
60
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.72.1" }),
|
|
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] = "f862dbb7-f854-4dfe-bffd-059250f87eaf", e._sentryDebugIdIdentifier = "sentry-dbid-f862dbb7-f854-4dfe-bffd-059250f87eaf");
|
|
23
23
|
} catch (e) {
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -31658,7 +31658,7 @@ var TanstackQueryDevtools = (_l = class {
|
|
|
31658
31658
|
if (__privateGet(this, _Component)) {
|
|
31659
31659
|
Devtools = __privateGet(this, _Component);
|
|
31660
31660
|
} else {
|
|
31661
|
-
Devtools = lazy(() => import("./I3HPI4QX-
|
|
31661
|
+
Devtools = lazy(() => import("./I3HPI4QX-DT_Z6W94.js"));
|
|
31662
31662
|
__privateSet(this, _Component, Devtools);
|
|
31663
31663
|
}
|
|
31664
31664
|
setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
|
|
@@ -31780,7 +31780,7 @@ var TanstackQueryDevtoolsPanel = (_m = class {
|
|
|
31780
31780
|
if (__privateGet(this, _Component2)) {
|
|
31781
31781
|
Devtools = __privateGet(this, _Component2);
|
|
31782
31782
|
} else {
|
|
31783
|
-
Devtools = lazy(() => import("./CXEL7IU7-
|
|
31783
|
+
Devtools = lazy(() => import("./CXEL7IU7-CIkFjqDz.js"));
|
|
31784
31784
|
__privateSet(this, _Component2, Devtools);
|
|
31785
31785
|
}
|
|
31786
31786
|
setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
|
|
@@ -31987,7 +31987,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
|
|
|
31987
31987
|
};
|
|
31988
31988
|
};
|
|
31989
31989
|
const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
|
|
31990
|
-
const sdkVersion = "3.72.
|
|
31990
|
+
const sdkVersion = "3.72.1";
|
|
31991
31991
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
31992
31992
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
31993
31993
|
useEffect(() => {
|
|
@@ -32055,7 +32055,7 @@ const AnalyticsProvider = ({
|
|
|
32055
32055
|
const { onboardingVersion } = useVersion();
|
|
32056
32056
|
const userEvents2 = useMemo(() => createUserEvents(), []);
|
|
32057
32057
|
const sessionData = {
|
|
32058
|
-
sdkVersion: "3.72.
|
|
32058
|
+
sdkVersion: "3.72.1",
|
|
32059
32059
|
componentName,
|
|
32060
32060
|
userAgent: navigator.userAgent,
|
|
32061
32061
|
legalEntityId,
|
|
@@ -32440,7 +32440,7 @@ function StateProvider({
|
|
|
32440
32440
|
);
|
|
32441
32441
|
return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
|
|
32442
32442
|
}
|
|
32443
|
-
const DebugModal = lazy$1(async () => (await import("./DebugModal-
|
|
32443
|
+
const DebugModal = lazy$1(async () => (await import("./DebugModal-JUXjgitf.js").then((n) => n.D)).DebugModal);
|
|
32444
32444
|
const DebugListener = () => {
|
|
32445
32445
|
const [debugUiOpen, setDebugUiOpen] = useState(false);
|
|
32446
32446
|
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 { ea as createContext, eb as createSignal, ec as onMount, ed as createEffect, e8 as createMemo, e9 as createComponent, ee as Portal, ef as Show, eg as template, eh as insert, ei as createRenderEffect, ej as className, ek as clearDelegatedEvents, el as delegateEvents, em as useContext, en as onCleanup, eo as sortFns, ep as mutationSortFns, eq as on, er as setAttribute, es as getSidedProp, et as use, eu as createUniqueId, ev as batch, ew as getQueryStatusLabel, ex as getMutationStatusColor, ey as getQueryStatusColor, ez as getQueryStatusColorByLabel, eA as displayValue, eB as For, eC as convertRemToPixels, eD as untrack, eE as $TRACK, eF as useTransition, eG as spread, eH as mergeProps, eI as createRoot, eJ as serialize, eK as Index, eL as updateNestedDataByPath, eM as addEventListener, eN as stringify, eO as Match, eP as Switch, eQ as deleteNestedDataByPath, eR as splitProps, eS as Dynamic, eT as createComputed } from "./EventEmitter-
|
|
13
|
+
import { ea as createContext, eb as createSignal, ec as onMount, ed as createEffect, e8 as createMemo, e9 as createComponent, ee as Portal, ef as Show, eg as template, eh as insert, ei as createRenderEffect, ej as className, ek as clearDelegatedEvents, el as delegateEvents, em as useContext, en as onCleanup, eo as sortFns, ep as mutationSortFns, eq as on, er as setAttribute, es as getSidedProp, et as use, eu as createUniqueId, ev as batch, ew as getQueryStatusLabel, ex as getMutationStatusColor, ey as getQueryStatusColor, ez as getQueryStatusColorByLabel, eA as displayValue, eB as For, eC as convertRemToPixels, eD as untrack, eE as $TRACK, eF as useTransition, eG as spread, eH as mergeProps, eI as createRoot, eJ as serialize, eK as Index, eL as updateNestedDataByPath, eM as addEventListener, eN as stringify, eO as Match, eP as Switch, eQ as deleteNestedDataByPath, eR as splitProps, eS as Dynamic, eT as createComputed } from "./EventEmitter-BkZLzmwO.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 { e7 as getPreferredColorScheme, e8 as createMemo, e9 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-D3YBssmd.js";
|
|
11
|
+
import { e7 as getPreferredColorScheme, e8 as createMemo, e9 as createComponent } from "./EventEmitter-BkZLzmwO.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 { ah as TaskTypes, i as LegalEntityType, dq as getTranslationKeysByPrefix, u as useI18nContext, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, a as useAnalyticsContext, B as Button } from "./EventEmitter-
|
|
13
|
-
import { S as StepProgressIndicator } from "./AcceptTermsOfServiceComponent-
|
|
12
|
+
import { ah as TaskTypes, i as LegalEntityType, dq as getTranslationKeysByPrefix, u as useI18nContext, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, a as useAnalyticsContext, B as Button } from "./EventEmitter-BkZLzmwO.js";
|
|
13
|
+
import { S as StepProgressIndicator } from "./AcceptTermsOfServiceComponent-BXDA_SaK.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-COLKpX6z.js";
|
|
16
16
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
17
17
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
18
18
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, a6 as skipToken, ao as ROOT_LE, b as useExperimentsContext, a0 as Loader, a3 as getLegalEntityCountry, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-
|
|
11
|
+
import { a2 as useLegalEntity, a6 as skipToken, ao as ROOT_LE, b as useExperimentsContext, a0 as Loader, a3 as getLegalEntityCountry, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-BkZLzmwO.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-kC_-8B9Z.js";
|
|
13
13
|
function LegalRepresentativeDetailsPage({
|
|
14
14
|
legalRepresentativeId,
|
|
15
15
|
asModal = false,
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, ao as ROOT_LE, U as useAssociatedLegalEntity, i as LegalEntityType, de as useCapabilities, a0 as Loader, aG as EntityType, ab as keysOf } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-
|
|
13
|
-
import { P as PayoutDetailsDropin } from "./core-
|
|
11
|
+
import { a2 as useLegalEntity, ao as ROOT_LE, U as useAssociatedLegalEntity, i as LegalEntityType, de as useCapabilities, a0 as Loader, aG as EntityType, ab as keysOf } from "./EventEmitter-BkZLzmwO.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-kC_-8B9Z.js";
|
|
13
|
+
import { P as PayoutDetailsDropin } from "./core-COLKpX6z.js";
|
|
14
14
|
function PayoutDetailsPage({
|
|
15
15
|
transferInstrumentId,
|
|
16
16
|
setTransferInstrumentId,
|
|
@@ -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, b2 as FormHeader, bq 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, b2 as FormHeader, bq as Checkbox, bd as ActionBar } from "./EventEmitter-BkZLzmwO.js";
|
|
13
|
+
import { D as DropinLayout } from "./core-COLKpX6z.js";
|
|
14
14
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
15
15
|
return httpPost({
|
|
16
16
|
baseUrl,
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { aF as useAccountHolder, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, aA as isPartOfTrustFromLegalEntity, aG as EntityType, a3 as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-
|
|
13
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
11
|
+
import { aF as useAccountHolder, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, aA as isPartOfTrustFromLegalEntity, aG as EntityType, a3 as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-BkZLzmwO.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-kC_-8B9Z.js";
|
|
13
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-ALQJRaC8.js";
|
|
14
14
|
const RootBusinessDetailsPage = ({
|
|
15
15
|
isTargetLegalEntityType = false,
|
|
16
16
|
onSubmit,
|
package/dist/{RootIndividualDetailsPage-zZl4WLcr.js → RootIndividualDetailsPage-CnfQEzH9.js}
RENAMED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, ao as ROOT_LE, b as useExperimentsContext, aF as useAccountHolder, a0 as Loader, a3 as getLegalEntityCountry, aA as isPartOfTrustFromLegalEntity, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-
|
|
11
|
+
import { a2 as useLegalEntity, ao as ROOT_LE, b as useExperimentsContext, aF as useAccountHolder, a0 as Loader, a3 as getLegalEntityCountry, aA as isPartOfTrustFromLegalEntity, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-BkZLzmwO.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-kC_-8B9Z.js";
|
|
13
13
|
function RootIndividualDetailsPage({
|
|
14
14
|
asModal = false,
|
|
15
15
|
hideSidebar = false,
|
|
@@ -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, b5 as RadioGroupCard, B as Button, d4 as Svg, i as LegalEntityType } from "./EventEmitter-
|
|
12
|
+
import { u as useI18nContext, D as useForm, T as Typography, F as Field, b5 as RadioGroupCard, B as Button, d4 as Svg, i as LegalEntityType } from "./EventEmitter-BkZLzmwO.js";
|
|
13
13
|
const setupAccountMethods = ["singpass", "manual"];
|
|
14
14
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
15
15
|
const getSingpassSelectionDisabled = (legalEntityType) => {
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, ao as ROOT_LE, a6 as skipToken, a0 as Loader, aG as EntityType, a3 as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-
|
|
13
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
11
|
+
import { a2 as useLegalEntity, ao as ROOT_LE, a6 as skipToken, a0 as Loader, aG as EntityType, a3 as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-BkZLzmwO.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-kC_-8B9Z.js";
|
|
13
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-ALQJRaC8.js";
|
|
14
14
|
function SoleProprietorshipPage({
|
|
15
15
|
solePropId,
|
|
16
16
|
isTargetLegalEntityType = false,
|
|
@@ -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, am as TaskStatus } from "./EventEmitter-
|
|
12
|
+
import { u as useI18nContext, am as TaskStatus } from "./EventEmitter-BkZLzmwO.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";
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { m as useApiContext, p as useQuery, q as httpGet, Q as useInvalidateRootLegalEntity, a5 as useMutation, a4 as httpPost, i as LegalEntityType, l as localizeDateString, T as Typography, e3 as Currencies, u as useI18nContext, F as Field, e4 as InputGroup, t as Select, I as InputText, y as InputDate, b6 as TextArea, R as RadioGroup, b8 as CountryField, ak as Modal, aq as Alert, B as Button, k as isEmpty, D as useForm, E as useGlobalDataSlice, G as ErrorPanel, H as createFormUtils, a0 as Loader, a1 as Icon, $ as getFormProps, ar as Card, as as StructuredList, at as IconButton, d5 as isEmpty$1, d4 as Svg, W as useToastContext, au as createLogger, e5 as Dropzone, a7 as useQueryClient, a2 as useLegalEntity, ao as ROOT_LE, X as useStateContext, a as useAnalyticsContext, e6 as useLegalEntities, aG as EntityType, a3 as getLegalEntityCountry } from "./EventEmitter-
|
|
12
|
-
import { f as formatObject, E as Confirm, T as TileGroup, r as createDocumentRequest, u as useCreateLegalEntity, a as useUpdateLegalEntity, c as getPropsFromConfigurations, d as getRequiredForms, e as addValidityToForms, h as useFormComposer, w as documentApiUtils, G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-
|
|
11
|
+
import { m as useApiContext, p as useQuery, q as httpGet, Q as useInvalidateRootLegalEntity, a5 as useMutation, a4 as httpPost, i as LegalEntityType, l as localizeDateString, T as Typography, e3 as Currencies, u as useI18nContext, F as Field, e4 as InputGroup, t as Select, I as InputText, y as InputDate, b6 as TextArea, R as RadioGroup, b8 as CountryField, ak as Modal, aq as Alert, B as Button, k as isEmpty, D as useForm, E as useGlobalDataSlice, G as ErrorPanel, H as createFormUtils, a0 as Loader, a1 as Icon, $ as getFormProps, ar as Card, as as StructuredList, at as IconButton, d5 as isEmpty$1, d4 as Svg, W as useToastContext, au as createLogger, e5 as Dropzone, a7 as useQueryClient, a2 as useLegalEntity, ao as ROOT_LE, X as useStateContext, a as useAnalyticsContext, e6 as useLegalEntities, aG as EntityType, a3 as getLegalEntityCountry } from "./EventEmitter-BkZLzmwO.js";
|
|
12
|
+
import { f as formatObject, E as Confirm, T as TileGroup, r as createDocumentRequest, u as useCreateLegalEntity, a as useUpdateLegalEntity, c as getPropsFromConfigurations, d as getRequiredForms, e as addValidityToForms, h as useFormComposer, w as documentApiUtils, G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-kC_-8B9Z.js";
|
|
13
13
|
import { useState, useMemo, useEffect, useCallback, useRef } from "preact/hooks";
|
|
14
|
-
import { A as Avatar, v as validateDateNotInTheFuture, n as normalizedTaskStatusStore, h as hasDataChanged, F as FormWrapper } from "./core-
|
|
14
|
+
import { A as Avatar, v as validateDateNotInTheFuture, n as normalizedTaskStatusStore, h as hasDataChanged, F as FormWrapper } from "./core-COLKpX6z.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-CJU7G25h.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, am as TaskStatus, db as KEYBOARD_KEYS } from "./EventEmitter-
|
|
12
|
+
import { a0 as Loader, a1 as Icon, u as useI18nContext, am as TaskStatus, db as KEYBOARD_KEYS } from "./EventEmitter-BkZLzmwO.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, aq as Alert, F as Field, R as RadioGroup, $ as getFormProps, a1 as Icon, d5 as isEmpty, d4 as Svg, B as Button, ar as Card, as as StructuredList, at as IconButton, k as isEmpty$1, Q as useInvalidateRootLegalEntity, a as useAnalyticsContext, a2 as useLegalEntity, ao as ROOT_LE, au as createLogger, a0 as Loader } from "./EventEmitter-
|
|
13
|
-
import { a as useUpdateLegalEntity, K as useMultiForm, d as getRequiredForms, e as addValidityToForms, h as useFormComposer, L as FormContextProvider, M as FormFlow } from "./CreateIndividualComponent-
|
|
12
|
+
import { m as useApiContext, p as useQuery, q as httpGet, T as Typography, u as useI18nContext, cO as useFormContext, aq as Alert, F as Field, R as RadioGroup, $ as getFormProps, a1 as Icon, d5 as isEmpty, d4 as Svg, B as Button, ar as Card, as as StructuredList, at as IconButton, k as isEmpty$1, Q as useInvalidateRootLegalEntity, a as useAnalyticsContext, a2 as useLegalEntity, ao as ROOT_LE, au as createLogger, a0 as Loader } from "./EventEmitter-BkZLzmwO.js";
|
|
13
|
+
import { a as useUpdateLegalEntity, K as useMultiForm, d as getRequiredForms, e as addValidityToForms, h as useFormComposer, L as FormContextProvider, M as FormFlow } from "./CreateIndividualComponent-kC_-8B9Z.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-CJU7G25h.js";
|
|
16
|
+
import { n as normalizedTaskStatusStore } from "./core-COLKpX6z.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, dB as operationalAddressIsSameIds, i as LegalEntityType, a8 as createFormRules, ah as TaskTypes, dT as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, dU as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, dV as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, ad as CountryCodes, dW as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, dX as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, dF as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, dY as trustComponentsKeyMapping, dZ as trustApiKeyMapping, d_ as updateTaxInformation, X as useStateContext, m as useApiContext, u as useI18nContext, a as useAnalyticsContext, V as datasetUtilities, b as useExperimentsContext, W as useToastContext, _ as getAssociatedLeAnalyticsPayload, d$ as trustForms, e0 as Trust, e1 as trustDocumentMapping, j as cloneObject, a3 as getLegalEntityCountry, aZ as resolveFieldMetadata, dI as defaultFieldMetadata, dJ as inferCompanyRegistrationNumberType, dK as getCompanyRegistrationNumberOptions, dL as defaultFieldConfig, ck as defaultFieldMetadata$1, dM as countryToTaxInfoTypeMap, cl as defaultFieldConfig$1, cD as mapAddressLabels, e2 as trustConstitutionalDocumentFormId, k as isEmpty, h as drop, aX as getOwnEntityAssociations, a2 as useLegalEntity, a6 as skipToken, ao as ROOT_LE, de as useCapabilities, aG as EntityType, a0 as Loader, ab as keysOf } from "./EventEmitter-
|
|
12
|
-
import { n as getDocument, o as mapExistingFile, q as getPageName, f as formatObject, r as createDocumentRequest, w as documentApiUtils, b as useScenarioConfiguration, c as getPropsFromConfigurations, O as getFieldsWithExistingData, d as getRequiredForms, e as addValidityToForms, u as useCreateLegalEntity, a as useUpdateLegalEntity, h as useFormComposer, v as augmentWithCountryConfigs, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, g as getProp, j as composePerScenarioFormConfigurations, G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-
|
|
11
|
+
import { r as reverseMapping, dB as operationalAddressIsSameIds, i as LegalEntityType, a8 as createFormRules, ah as TaskTypes, dT as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, dU as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, dV as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, ad as CountryCodes, dW as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, dX as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, dF as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, dY as trustComponentsKeyMapping, dZ as trustApiKeyMapping, d_ as updateTaxInformation, X as useStateContext, m as useApiContext, u as useI18nContext, a as useAnalyticsContext, V as datasetUtilities, b as useExperimentsContext, W as useToastContext, _ as getAssociatedLeAnalyticsPayload, d$ as trustForms, e0 as Trust, e1 as trustDocumentMapping, j as cloneObject, a3 as getLegalEntityCountry, aZ as resolveFieldMetadata, dI as defaultFieldMetadata, dJ as inferCompanyRegistrationNumberType, dK as getCompanyRegistrationNumberOptions, dL as defaultFieldConfig, ck as defaultFieldMetadata$1, dM as countryToTaxInfoTypeMap, cl as defaultFieldConfig$1, cD as mapAddressLabels, e2 as trustConstitutionalDocumentFormId, k as isEmpty, h as drop, aX as getOwnEntityAssociations, a2 as useLegalEntity, a6 as skipToken, ao as ROOT_LE, de as useCapabilities, aG as EntityType, a0 as Loader, ab as keysOf } from "./EventEmitter-BkZLzmwO.js";
|
|
12
|
+
import { n as getDocument, o as mapExistingFile, q as getPageName, f as formatObject, r as createDocumentRequest, w as documentApiUtils, b as useScenarioConfiguration, c as getPropsFromConfigurations, O as getFieldsWithExistingData, d as getRequiredForms, e as addValidityToForms, u as useCreateLegalEntity, a as useUpdateLegalEntity, h as useFormComposer, v as augmentWithCountryConfigs, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, g as getProp, j as composePerScenarioFormConfigurations, G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-kC_-8B9Z.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-COLKpX6z.js";
|
|
15
15
|
const mapApiDocumentToTrustDocument = (entityId) => {
|
|
16
16
|
const constitutionalDocument = getDocument(entityId, "constitutionalDocument") || null;
|
|
17
17
|
return {
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, ao as ROOT_LE, a6 as skipToken, a0 as Loader, aG as EntityType, a3 as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-
|
|
12
|
-
import { d as useTrustMembers } from "./core-
|
|
13
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-
|
|
14
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
11
|
+
import { a2 as useLegalEntity, ao as ROOT_LE, a6 as skipToken, a0 as Loader, aG as EntityType, a3 as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-BkZLzmwO.js";
|
|
12
|
+
import { d as useTrustMembers } from "./core-COLKpX6z.js";
|
|
13
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-kC_-8B9Z.js";
|
|
14
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-ALQJRaC8.js";
|
|
15
15
|
function TrustMemberCompanyPage({
|
|
16
16
|
trustId,
|
|
17
17
|
trustMemberCompanyId,
|
package/dist/{TrustMemberIndividualPage-C9zoI3NZ.js → TrustMemberIndividualPage-LN6bDQy-.js}
RENAMED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, a6 as skipToken, b as useExperimentsContext, a0 as Loader, a3 as getLegalEntityCountry, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-
|
|
11
|
+
import { a2 as useLegalEntity, a6 as skipToken, b as useExperimentsContext, a0 as Loader, a3 as getLegalEntityCountry, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-BkZLzmwO.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-kC_-8B9Z.js";
|
|
13
13
|
function TrustMemberIndividualPage({
|
|
14
14
|
memberId,
|
|
15
15
|
trustId,
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, a6 as skipToken, b as useExperimentsContext, a0 as Loader, a3 as getLegalEntityCountry, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-
|
|
11
|
+
import { a2 as useLegalEntity, a6 as skipToken, b as useExperimentsContext, a0 as Loader, a3 as getLegalEntityCountry, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-BkZLzmwO.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-kC_-8B9Z.js";
|
|
13
13
|
function UnincorporatedPartnershipIndividualPage({
|
|
14
14
|
memberId,
|
|
15
15
|
partnershipId,
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, ao as ROOT_LE, a6 as skipToken, bk as useUnincorporatedPartnershipMembers, a0 as Loader, aG as EntityType, a3 as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-
|
|
13
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
11
|
+
import { a2 as useLegalEntity, ao as ROOT_LE, a6 as skipToken, bk as useUnincorporatedPartnershipMembers, a0 as Loader, aG as EntityType, a3 as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-BkZLzmwO.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-kC_-8B9Z.js";
|
|
13
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-ALQJRaC8.js";
|
|
14
14
|
function UnincorporatedPartnershipMemberCompanyPage({
|
|
15
15
|
partnershipId,
|
|
16
16
|
partnershipMemberCompanyId,
|
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-COLKpX6z.js";
|
|
11
|
+
import { p as propsToCoreOptions } from "./utils-D_u0pRoA.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] = "0af17691-8f95-4130-9b05-ad0cd617dc1a", e._sentryDebugIdIdentifier = "sentry-dbid-0af17691-8f95-4130-9b05-ad0cd617dc1a");
|
|
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, 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, E as useGlobalDataSlice, G as ErrorPanel, H as createFormUtils, J as useGlobalData, K as getAddressSchemaForCountry, N as COUNTRIES_WITH_STATES_DATASET, O as Address, P as getAddressSchemaLabelsByCountry, Q as useInvalidateRootLegalEntity, U as useAssociatedLegalEntity, 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 skipToken, a7 as useQueryClient, a8 as createFormRules, a9 as mapPayoutAccountSchemaToApiBankAccount, aa as payoutComponentKeyMapping, ab as keysOf, ac as summaryItem, ad as CountryCodes, ae as payoutSteps, af as getPayoutAccountHolderName, ag as getLegalEntityNameBasedOnType, ah as TaskTypes, ai as isInstantVerifiedAccount, aj as getCapabilityProblems, ak as Modal, al as PayoutDetails, am as TaskStatus, an as Skeleton, ao as ROOT_LE, ap as httpDelete, aq as Alert, ar as Card, as as StructuredList, at as IconButton, au as createLogger, av as useDataset, aw as datasetIdentifier, ax as useLocalStorage, ay as getLegalRepresentative, az as doesLegalEntityRequiresLegalRepresentative, aA as isPartOfTrustFromLegalEntity, aB as hasSolePropInLegalEntity, aC as hasOwnEntityAssociationOfType, aD as isEmptyEntity, aE as CompanyTypesValue, aF as useAccountHolder, aG as EntityType, aH as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, aI as handleKeys, aJ as noop, aK as getObscuredAccountNumber, aL as useGetTaskStatus, aM as CardGroup, aN as useSetting, aO as useSignalValue, aP as useGlobalStore, aQ as isPartOfUnincorporatedPartnership, aR as getOwnSignatories, aS as getOwnDecisionMakersLegalEntityIds, aT as getOwnSolePropProblems, aU as getOwnTrustProblems, aV as getOwnUnincorporatedPartnershipProblems, aW as TrustMemberTypes, aX as getOwnEntityAssociations, aY as mergeFieldMetadataIntoProps, aZ as resolveFieldMetadata, a_ as defaultFieldMetadata, a$ as defaultFieldConfig, b0 as getFieldProps, b1 as nameFields, b2 as FormHeader, b3 as MultiSelectList, b4 as makeSelectItemForRole, b5 as RadioGroupCard, b6 as TextArea, b7 as Name, b8 as CountryField, b9 as COUNTRY_FIELD, ba as LegalCompanyNameField, bb as LEGAL_COMPANY_NAME_FIELD, 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 useUnincorporatedPartnershipMembers, bl as deleteUnincorporatedPartnershipMember, bm as hasAllCapabilitiesResolved, bn as hasRejectedCapabilities, bo as TrustedFieldsProvider, bp as getOwnDecisionMakers, bq as Checkbox, br as listify, bs as isUndefinedOrNull, bt as useAllowedCountries, bu as AlertIcon, bv as uuidv4, bw as EventEmitter, bx as SettingsProvider, by as ExperimentsContextProvider, bz as ApiProvider, bA as QueryClientProvider, bB as StoreProvider, bC as AnalyticsProvider, bD as I18nProvider, bE as DebugListener, bF as ToastContextProvider, bG as StateProvider, bH as ReactQueryDevtools2, n as normalizeEnvironment, bI as FALLBACK_LOCALE, bJ as setSdkToken, bK 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, 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, E as useGlobalDataSlice, G as ErrorPanel, H as createFormUtils, J as useGlobalData, K as getAddressSchemaForCountry, N as COUNTRIES_WITH_STATES_DATASET, O as Address, P as getAddressSchemaLabelsByCountry, Q as useInvalidateRootLegalEntity, U as useAssociatedLegalEntity, 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 skipToken, a7 as useQueryClient, a8 as createFormRules, a9 as mapPayoutAccountSchemaToApiBankAccount, aa as payoutComponentKeyMapping, ab as keysOf, ac as summaryItem, ad as CountryCodes, ae as payoutSteps, af as getPayoutAccountHolderName, ag as getLegalEntityNameBasedOnType, ah as TaskTypes, ai as isInstantVerifiedAccount, aj as getCapabilityProblems, ak as Modal, al as PayoutDetails, am as TaskStatus, an as Skeleton, ao as ROOT_LE, ap as httpDelete, aq as Alert, ar as Card, as as StructuredList, at as IconButton, au as createLogger, av as useDataset, aw as datasetIdentifier, ax as useLocalStorage, ay as getLegalRepresentative, az as doesLegalEntityRequiresLegalRepresentative, aA as isPartOfTrustFromLegalEntity, aB as hasSolePropInLegalEntity, aC as hasOwnEntityAssociationOfType, aD as isEmptyEntity, aE as CompanyTypesValue, aF as useAccountHolder, aG as EntityType, aH as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, aI as handleKeys, aJ as noop, aK as getObscuredAccountNumber, aL as useGetTaskStatus, aM as CardGroup, aN as useSetting, aO as useSignalValue, aP as useGlobalStore, aQ as isPartOfUnincorporatedPartnership, aR as getOwnSignatories, aS as getOwnDecisionMakersLegalEntityIds, aT as getOwnSolePropProblems, aU as getOwnTrustProblems, aV as getOwnUnincorporatedPartnershipProblems, aW as TrustMemberTypes, aX as getOwnEntityAssociations, aY as mergeFieldMetadataIntoProps, aZ as resolveFieldMetadata, a_ as defaultFieldMetadata, a$ as defaultFieldConfig, b0 as getFieldProps, b1 as nameFields, b2 as FormHeader, b3 as MultiSelectList, b4 as makeSelectItemForRole, b5 as RadioGroupCard, b6 as TextArea, b7 as Name, b8 as CountryField, b9 as COUNTRY_FIELD, ba as LegalCompanyNameField, bb as LEGAL_COMPANY_NAME_FIELD, 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 useUnincorporatedPartnershipMembers, bl as deleteUnincorporatedPartnershipMember, bm as hasAllCapabilitiesResolved, bn as hasRejectedCapabilities, bo as TrustedFieldsProvider, bp as getOwnDecisionMakers, bq as Checkbox, br as listify, bs as isUndefinedOrNull, bt as useAllowedCountries, bu as AlertIcon, bv as uuidv4, bw as EventEmitter, bx as SettingsProvider, by as ExperimentsContextProvider, bz as ApiProvider, bA as QueryClientProvider, bB as StoreProvider, bC as AnalyticsProvider, bD as I18nProvider, bE as DebugListener, bF as ToastContextProvider, bG as StateProvider, bH as ReactQueryDevtools2, n as normalizeEnvironment, bI as FALLBACK_LOCALE, bJ as setSdkToken, bK as setSdkTokenHandler } from "./EventEmitter-BkZLzmwO.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-BXDA_SaK.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, i as isEeaCountry, g as getProp, u as useCreateLegalEntity, a as useUpdateLegalEntity, b as useScenarioConfiguration, c as getPropsFromConfigurations, d as getRequiredForms, e as addValidityToForms, h 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 augmentWithCountryConfigs, w as documentApiUtils, x as useUnifyLoadingStatus, y as omitObscuredFieldsIfUnchanged, z as isIdDocumentUploadError, A as isBankStatementUploadError, B as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable, D as getFileExtention, E as Confirm, P as ProviderButton, G as useCapabilityProblems, H as useSingpassMyInfoLogin, C as CreateIndividualComponent } from "./CreateIndividualComponent-
|
|
14
|
+
import { t as trackNavigation, F as FormRouterContextProvider, f as formatObject, i as isEeaCountry, g as getProp, u as useCreateLegalEntity, a as useUpdateLegalEntity, b as useScenarioConfiguration, c as getPropsFromConfigurations, d as getRequiredForms, e as addValidityToForms, h 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 augmentWithCountryConfigs, w as documentApiUtils, x as useUnifyLoadingStatus, y as omitObscuredFieldsIfUnchanged, z as isIdDocumentUploadError, A as isBankStatementUploadError, B as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable, D as getFileExtention, E as Confirm, P as ProviderButton, G as useCapabilityProblems, H as useSingpassMyInfoLogin, C as CreateIndividualComponent } from "./CreateIndividualComponent-kC_-8B9Z.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-C4UEhNGv.js";
|
|
17
17
|
import { lazy, Suspense } from "preact/compat";
|
|
18
18
|
import { signal } from "@preact/signals";
|
|
19
19
|
import { render } from "preact";
|
|
@@ -7090,71 +7090,71 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
7090
7090
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
7091
7091
|
};
|
|
7092
7092
|
const Introduction = lazy(
|
|
7093
|
-
async () => (await import("./Introduction-
|
|
7093
|
+
async () => (await import("./Introduction-JFLyt1K7.js")).Introduction
|
|
7094
7094
|
);
|
|
7095
7095
|
const BusinessTypeSelectionPage = lazy(
|
|
7096
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
7096
|
+
async () => (await import("./BusinessTypeSelectionPage-B-Morr7F.js")).BusinessTypeSelectionPage
|
|
7097
7097
|
);
|
|
7098
7098
|
const SingpassSelection = lazy(
|
|
7099
|
-
async () => (await import("./SingpassSelection-
|
|
7099
|
+
async () => (await import("./SingpassSelection-2a2H54a-.js")).SingpassSelection
|
|
7100
7100
|
);
|
|
7101
7101
|
const AccountSetupRejected = lazy(
|
|
7102
|
-
async () => (await import("./AccountSetupRejected-
|
|
7102
|
+
async () => (await import("./AccountSetupRejected-ELw6o-mS.js")).AccountSetupRejected
|
|
7103
7103
|
);
|
|
7104
7104
|
const DecisionMakers = lazy(
|
|
7105
|
-
async () => (await import("./DecisionMakers-
|
|
7105
|
+
async () => (await import("./DecisionMakers-DKu6CgUP.js")).DecisionMakers
|
|
7106
7106
|
);
|
|
7107
7107
|
const CustomerSupport = lazy(
|
|
7108
|
-
async () => (await import("./CustomerSupport-
|
|
7108
|
+
async () => (await import("./CustomerSupport-CTnzSMwV.js")).CustomerSupport
|
|
7109
7109
|
);
|
|
7110
|
-
const Review = lazy(async () => (await import("./Review-
|
|
7110
|
+
const Review = lazy(async () => (await import("./Review-BhYHgcaK.js")).Review);
|
|
7111
7111
|
const SignPCIComponent$2 = lazy(
|
|
7112
7112
|
async () => (await Promise.resolve().then(() => SignPCIComponent$1)).SignPCIComponent
|
|
7113
7113
|
);
|
|
7114
7114
|
const AcceptTermsOfService = lazy(
|
|
7115
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
7115
|
+
async () => (await import("./AcceptTermsOfServiceComponent-BXDA_SaK.js").then((n) => n.c)).AcceptTermsOfServiceComponent
|
|
7116
7116
|
);
|
|
7117
7117
|
const TaxReportingDropin = lazy(
|
|
7118
|
-
async () => (await import("./TaxReportingDropin-
|
|
7118
|
+
async () => (await import("./TaxReportingDropin-CIOcO4aW.js")).TaxReportingDropin
|
|
7119
7119
|
);
|
|
7120
7120
|
const PayoutDetailsPage = lazy(
|
|
7121
|
-
async () => (await import("./PayoutDetailsPage-
|
|
7121
|
+
async () => (await import("./PayoutDetailsPage-QJJ4Hlcz.js")).PayoutDetailsPage
|
|
7122
7122
|
);
|
|
7123
7123
|
const RootBusinessDetailsPage = lazy(
|
|
7124
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
7124
|
+
async () => (await import("./RootBusinessDetailsPage-DDGv2aIT.js")).RootBusinessDetailsPage
|
|
7125
7125
|
);
|
|
7126
7126
|
const SoleProprietorshipPage = lazy(
|
|
7127
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
7127
|
+
async () => (await import("./SoleProprietorshipPage-C1HJsoiB.js")).SoleProprietorshipPage
|
|
7128
7128
|
);
|
|
7129
7129
|
const TrustMemberCompanyPage = lazy(
|
|
7130
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
7130
|
+
async () => (await import("./TrustMemberCompanyPage-LXlFOFQY.js")).TrustMemberCompanyPage
|
|
7131
7131
|
);
|
|
7132
7132
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
7133
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
7133
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-W4Cirr03.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
7134
7134
|
);
|
|
7135
7135
|
const BusinessFinancingPage = lazy(
|
|
7136
|
-
async () => (await import("./BusinessFinancingPage-
|
|
7136
|
+
async () => (await import("./BusinessFinancingPage-CTHGhG1F.js")).BusinessFinancingPage
|
|
7137
7137
|
);
|
|
7138
7138
|
const TrustDetailsPage = lazy(
|
|
7139
|
-
async () => (await import("./TrustDetailsPage-
|
|
7139
|
+
async () => (await import("./TrustDetailsPage-CQFhJpjq.js")).TrustDetailsPage
|
|
7140
7140
|
);
|
|
7141
7141
|
const SourceOfFundsPage = lazy(
|
|
7142
|
-
async () => (await import("./SourceOfFundsPage-
|
|
7142
|
+
async () => (await import("./SourceOfFundsPage-wKa6_R00.js")).SourceOfFundsPage
|
|
7143
7143
|
);
|
|
7144
7144
|
const RootIndividualDetailsPage = lazy(
|
|
7145
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
7145
|
+
async () => (await import("./RootIndividualDetailsPage-CnfQEzH9.js")).RootIndividualDetailsPage
|
|
7146
7146
|
);
|
|
7147
7147
|
const LegalRepresentativeDetailsPage = lazy(
|
|
7148
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
7148
|
+
async () => (await import("./LegalRepresentativeDetailsPage-6wTBkjz4.js")).LegalRepresentativeDetailsPage
|
|
7149
7149
|
);
|
|
7150
7150
|
const TrustMemberIndividualPage = lazy(
|
|
7151
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
7151
|
+
async () => (await import("./TrustMemberIndividualPage-LN6bDQy-.js")).TrustMemberIndividualPage
|
|
7152
7152
|
);
|
|
7153
7153
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
7154
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
7154
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-C7VTwaZ8.js")).UnincorporatedPartnershipIndividualPage
|
|
7155
7155
|
);
|
|
7156
7156
|
const DecisionMakerDetailsPage = lazy(
|
|
7157
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
7157
|
+
async () => (await import("./DecisionMakerDetailsPage-7LeXlce7.js")).DecisionMakerDetailsPage
|
|
7158
7158
|
);
|
|
7159
7159
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
7160
7160
|
const logger$1 = createLogger();
|
|
@@ -8476,7 +8476,7 @@ class UIElement extends BaseElement {
|
|
|
8476
8476
|
baseUrl: this.props.baseUrl,
|
|
8477
8477
|
children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
8478
8478
|
/* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
8479
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.72.
|
|
8479
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.72.1" }),
|
|
8480
8480
|
/* @__PURE__ */ jsx(
|
|
8481
8481
|
AnalyticsProvider,
|
|
8482
8482
|
{
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-JUXjgitf.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-B0Txa1L9.js";
|
|
13
|
+
import { n as normalizeEnvironment } from "./EventEmitter-BkZLzmwO.js";
|
|
14
|
+
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-kC_-8B9Z.js";
|
|
15
|
+
import { e as environmentMap } from "./utils-D_u0pRoA.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-JUXjgitf.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-B0Txa1L9.js";
|
|
13
|
+
import { n as normalizeEnvironment } from "./EventEmitter-BkZLzmwO.js";
|
|
14
|
+
import { A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-BXDA_SaK.js";
|
|
15
|
+
import { e as environmentMap } from "./utils-D_u0pRoA.js";
|
|
16
16
|
class AdyenTermsOfService extends HTMLElement {
|
|
17
17
|
constructor() {
|
|
18
18
|
super();
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Address } from '../core/models/api/address';
|
|
2
2
|
import type { DatasetUtil } from '../utils/datasetUtil';
|
|
3
|
+
import type { IndividualOnfidoConflictsSchema } from '../components/Individual/forms/IndividualOnfido/IdVerificationMethod/individualOnfidoConflictsSchema';
|
|
3
4
|
export type RuleResult<T> = {
|
|
4
5
|
hasConflict: boolean;
|
|
5
6
|
resolvedValue?: T;
|
|
@@ -11,6 +12,11 @@ export declare const defaultConflictRule: <T>(provided?: T, detected?: T) => Rul
|
|
|
11
12
|
* The rule handles enrichment (auto-resolution) and deep equality checks.
|
|
12
13
|
*/
|
|
13
14
|
export declare const createAddressConflictRule: (datasetUtils: DatasetUtil) => ConflictRule<Address | undefined>;
|
|
15
|
+
/**
|
|
16
|
+
* A factory function that returns a conflict rule for the `id` object.
|
|
17
|
+
* Currently, it is configured to always ignore conflicts.
|
|
18
|
+
*/
|
|
19
|
+
export declare const createIdConflictRule: () => ConflictRule<IndividualOnfidoConflictsSchema["id"]>;
|
|
14
20
|
type UseDataConflictsReturn<T extends object> = {
|
|
15
21
|
hasConflicts: boolean;
|
|
16
22
|
conflictingProperties: (keyof T)[];
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { n as normalizeEnvironment } from "./EventEmitter-
|
|
10
|
+
import { n as normalizeEnvironment } from "./EventEmitter-BkZLzmwO.js";
|
|
11
11
|
const environmentMap = Object.freeze({
|
|
12
12
|
live: "https://live.adyen.com/",
|
|
13
13
|
test: "https://test.adyen.com/"
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a3 as getLegalEntityCountry, dr as getCapabilities, i as LegalEntityType, aC as hasOwnEntityAssociationOfType, aE as CompanyTypesValue, ad as CountryCodes, dS as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./EventEmitter-
|
|
11
|
-
import { f as allowIndividualWithoutSoleProp } from "./core-
|
|
12
|
-
import { S as SOLE_PROP_COUNTRIES } from "./CreateIndividualComponent-
|
|
10
|
+
import { a3 as getLegalEntityCountry, dr as getCapabilities, i as LegalEntityType, aC as hasOwnEntityAssociationOfType, aE as CompanyTypesValue, ad as CountryCodes, dS as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./EventEmitter-BkZLzmwO.js";
|
|
11
|
+
import { f as allowIndividualWithoutSoleProp } from "./core-COLKpX6z.js";
|
|
12
|
+
import { S as SOLE_PROP_COUNTRIES } from "./CreateIndividualComponent-kC_-8B9Z.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 { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-JUXjgitf.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
boolean: { regex: /^(\s*)([\w-]+)(:)\s*(.*)$/g, css: cssProps.boolean },
|