@adyen/kyc-components 3.81.0-beta.4 → 3.81.0-beta.6
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-aQcg1tq3.js → AcceptTermsOfServiceComponent-TLpFCTa-.js} +5 -5
- package/dist/{AccountSetupRejected-kz5NC22n.js → AccountSetupRejected-RmlaR74O.js} +2 -2
- package/dist/{Avatar-CoTOHJwb.js → Avatar-VJ5kzlyX.js} +1 -1
- package/dist/{BusinessDetailsDropin-B-wQeBGi.js → BusinessDetailsDropin-Dnze2MWp.js} +7 -7
- package/dist/{BusinessFinancingComponent-DE4YthcJ.js → BusinessFinancingComponent-BWGtnZ2l.js} +3 -3
- package/dist/{BusinessFinancingDropin-D_LThoGS.js → BusinessFinancingDropin-DqqJh7oI.js} +9 -9
- package/dist/{BusinessFinancingPage-DPM8zMly.js → BusinessFinancingPage-00BXk692.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-CYm_WsH_.js → BusinessTypeSelectionPage-0gAiU8-k.js} +4 -4
- package/dist/{CreateIndividualComponent-CyPD165W.js → CreateIndividualComponent-JqyPXwi_.js} +3 -3
- package/dist/{CreateTransferInstrumentComponent-BafjhZa9.js → CreateTransferInstrumentComponent-D7dPoBCI.js} +2 -2
- package/dist/{CustomerSupport-DIDqWNFX.js → CustomerSupport-CF1sYaZe.js} +5 -5
- package/dist/{DebugModal-UpQVHT_q.js → DebugModal-BfzyAxTL.js} +4 -4
- package/dist/{DecisionMakerDetailsPage-DiTxMRO1.js → DecisionMakerDetailsPage-DQzvrvjd.js} +17 -4
- package/dist/{DecisionMakers-Ud-BGGKi.js → DecisionMakers-CeBpj8p9.js} +10 -15
- package/dist/{EmbeddedStatus-CHIsnanR.js → EmbeddedStatus-Da-R7LDJ.js} +3 -3
- package/dist/{EndStateLayout-Bamkt5E1.js → EndStateLayout-B89OYlLx.js} +1 -1
- package/dist/{FormFlow-DtrlYKNe.js → FormFlow-BQK-SrGL.js} +2 -2
- package/dist/{IndividualOnfidoDropin-Bl4C7i8c.js → IndividualOnfidoDropin-C1xH6itq.js} +66 -33
- package/dist/{Introduction-BM2tvYp6.js → Introduction-CDB0G3bY.js} +3 -3
- package/dist/{LegalRepresentativeDetailsPage-Ca8gWx8l.js → LegalRepresentativeDetailsPage-BzKsuqNS.js} +3 -3
- package/dist/{ManageIndividualComponent-BjpOoOjM.js → ManageIndividualComponent-BpE7jV1g.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-DHiYfOP_.js → ManageTermsOfServiceComponent-D2KTbyRY.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-XvUQZO39.js → ManageTransferInstrumentComponent-D-CFPJJW.js} +4 -4
- package/dist/{OnboardingDropinComponent-CZ6XyzO0.js → OnboardingDropinComponent-USEEyykb.js} +50 -77
- package/dist/{Review-C8Q-e2V9.js → Review-C7kbmI2-.js} +3 -3
- package/dist/{RootBusinessDetailsPage-DJh-Wy3Q.js → RootBusinessDetailsPage-Oh-X5OJ6.js} +7 -7
- package/dist/{RootIndividualDetailsPage-5TMDWEGP.js → RootIndividualDetailsPage-DF6aSCDc.js} +3 -3
- package/dist/{SignPCIComponent-Y9CAJCeq.js → SignPCIComponent-3Ab8dWV4.js} +4 -4
- package/dist/{SingpassSelection-DW83QSoq.js → SingpassSelection-Bfra20iP.js} +18 -10
- package/dist/{SoleProprietorshipPage-_4zvEipu.js → SoleProprietorshipPage-Czj2qS1n.js} +3 -3
- package/dist/{SourceOfFundsPage-fbIPy_3F.js → SourceOfFundsPage-DsakBcHW.js} +14 -19
- package/dist/{StoreProvider-x6yKbQFq.js → StoreProvider-phu7r9_0.js} +448 -490
- package/dist/{TaskItemStatus-DZrstr0V.js → TaskItemStatus-CYI7n3qN.js} +2 -2
- package/dist/{TaskStatusIndicator-DuYR1LdO.js → TaskStatusIndicator-DSICKMZ9.js} +3 -3
- package/dist/{TaxReportingDropin-Cv2VQY06.js → TaxReportingDropin-tYdGTVCv.js} +11 -16
- package/dist/{TileGroup-DxfGzeKN.js → TileGroup-CmLJ5fv6.js} +2 -2
- package/dist/{TrustDetailsPage-Cn3V324U.js → TrustDetailsPage-DJ7sLu2B.js} +5 -5
- package/dist/{TrustMemberCompanyPage-DPT4oAoM.js → TrustMemberCompanyPage-DBmq70wc.js} +4 -4
- package/dist/{TrustMemberIndividualPage-BRUijH_I.js → TrustMemberIndividualPage-QCSz7dt3.js} +3 -3
- package/dist/{UnincorporatedPartnershipIndividualPage-DuuEUcOp.js → UnincorporatedPartnershipIndividualPage-Ctks0l_r.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BaRjiIq8.js → UnincorporatedPartnershipMemberCompanyPage-DP_iAiCM.js} +3 -3
- package/dist/{VerificationErrorAlert-KB0B2Z-w.js → VerificationErrorAlert-CnWfh-Mq.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-DAzhj8cn.js → ViewVerificationStatusComponent-XmGpFS4Q.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual.js +2 -2
- package/dist/adyen-kyc-components.js +14 -14
- package/dist/adyen-manage-individual.js +2 -2
- package/dist/adyen-manage-terms-of-service.js +2 -2
- package/dist/adyen-manage-transfer-instruments.js +2 -2
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service.js +2 -2
- package/dist/adyen-transfer-instrument.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{isIdNowModalOpen-DRTL61eQ.js → bafinUtils-C_5C_Fk9.js} +51 -4
- package/dist/{digital-wallet-with-local-currencies-POeLD54e.js → digital-wallet-D_IpxnkN.js} +3 -3
- package/dist/en-US-TrwIHFh-.js +31 -0
- package/dist/{getFieldsWithExistingData-IBtwmkzo.js → getFieldsWithExistingData-Br7bX6SQ.js} +2 -2
- package/dist/{hasDataChanged-jfUaeqmj.js → hasDataChanged-CzXG96AD.js} +2 -2
- package/dist/{localizeDateString-WPsz6b9a.js → localizeDateString-Jy9XkTyZ.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-Dws6jTwF.js → mapFinancialReportsToFinancialInformation-BDTfiDYF.js} +2 -2
- package/dist/{resolveEnvironment-DzMwcE0P.js → resolveEnvironment-BbdiVBJB.js} +3 -3
- package/dist/{rules-Bs0GE4lO.js → rules-Cqfw8M_0.js} +2 -2
- package/dist/types/api/configurations/useScenarios.d.ts +2 -1
- package/dist/types/api/idNowProvider/idNowProvider.types.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/idVerificationMethodMetadata.d.ts +3 -3
- package/dist/types/components/Individual/forms/IndividualOnfido/IdNowVerificationModal/isIdNowModalOpen.d.ts +1 -0
- package/dist/types/components/Individual/helpers/bafinUtils.d.ts +35 -0
- package/dist/types/components/Shared/SingpassBanner/ProviderButton/ProviderButton.d.ts +7 -0
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/ui/atoms/Button/Button.types.d.ts +1 -2
- package/dist/types/components/ui/atoms/Image/Image.d.ts +18 -0
- package/dist/types/components/ui/atoms/Remove/Remove.d.ts +1 -1
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +0 -64
- package/dist/types/components/ui/atoms/TaskStatusIndicator/TaskStatusIndicator.d.ts +1 -2
- package/dist/types/components/ui/molecules/DocumentGuidance/DocumentGuidance.types.d.ts +2 -3
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/{useMultiForm-Dd8QMW1a.js → useMultiForm-D12QQ8Fr.js} +2 -2
- package/dist/{useOnboardingStatus-CnkkqgHk.js → useOnboardingStatus-C77iTj4t.js} +1 -1
- package/dist/{useTermsOfServiceStatus-Bo2R7-be.js → useTermsOfServiceStatus-ClHR-D8J.js} +1 -1
- package/dist/{useUpdateLegalEntity-H61VFP32.js → useUpdateLegalEntity-J-L5lHm7.js} +2 -2
- package/dist/{utils-C2CTmvLO.js → utils-7HIGSast.js} +4 -4
- package/dist/{validate-BmPFBT-A.js → validate-B_03afGP.js} +2 -2
- package/dist/{validate-Cg3P0WRF.js → validate-Cyc-okDY.js} +2 -2
- package/package.json +1 -1
- package/dist/adyen-a-filled-czhSM_bc.js +0 -14
- package/dist/arrow-left-Dtc2gya1.js +0 -14
- package/dist/document-plus-NwgAdjyB.js +0 -17
- package/dist/hide-CigAXbWC.js +0 -18
- package/dist/idea-DwJIwJHR.js +0 -18
- package/dist/instant-verification-method-BGfknV9x.js +0 -28
- package/dist/plus-small-Dj1WRyFM.js +0 -14
- package/dist/types/components/ui/atoms/ProviderButton/ProviderButton.d.ts +0 -3
- package/dist/types/components/ui/atoms/ProviderButton/ProviderButton.types.d.ts +0 -5
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a2930b27-7ed7-49c6-9ad1-dd32d4a66823", e._sentryDebugIdIdentifier = "sentry-dbid-a2930b27-7ed7-49c6-9ad1-dd32d4a66823");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { L as Loader, a7 as Icon, c as useTranslation, a1 as TaskStatuses,
|
|
12
|
+
import { L as Loader, a7 as Icon, c as useTranslation, a1 as TaskStatuses, dO as KEYBOARD_KEYS } from "./StoreProvider-phu7r9_0.js";
|
|
13
13
|
const Status = ({ text, className, iconStatusClass, icon, size = "small" }) => {
|
|
14
14
|
const containerClasses = cx("adyen-kyc-status", className);
|
|
15
15
|
const iconClasses = cx("adyen-kyc-status__icon", iconStatusClass, {
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b70a64e7-ee18-495b-bd1a-6d565639c63e", e._sentryDebugIdIdentifier = "sentry-dbid-b70a64e7-ee18-495b-bd1a-6d565639c63e");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { c as useTranslation, a1 as TaskStatuses } from "./StoreProvider-
|
|
12
|
+
import { c as useTranslation, a1 as TaskStatuses } from "./StoreProvider-phu7r9_0.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";
|
|
@@ -47,7 +47,7 @@ const getIndicatorLabelAndClassnames = ({
|
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
const TaskStatusIndicator = ({ taskStatus }) => {
|
|
50
|
-
const { t } = useTranslation();
|
|
50
|
+
const { t } = useTranslation("ui");
|
|
51
51
|
const indicator = getIndicatorLabelAndClassnames({ taskStatus });
|
|
52
52
|
if (!indicator) {
|
|
53
53
|
return null;
|
|
@@ -2,21 +2,22 @@
|
|
|
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] = "16ad359d-45a8-40ce-94a3-a9b8d62cd5d8", e._sentryDebugIdIdentifier = "sentry-dbid-16ad359d-45a8-40ce-94a3-a9b8d62cd5d8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
12
|
-
import { a as useApiContext, r as useQuery, x as httpGet, N as Typography, c as useTranslation, u as useI18nContext,
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
15
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
12
|
+
import { a as useApiContext, r as useQuery, x as httpGet, N as Typography, c as useTranslation, u as useI18nContext, bM as useFormContext, dV as Trans, bF as Link, K as Alert, aE as Field, a$ as RadioGroup, dt as getFormProps, a7 as Icon, cp as isEmpty, G as Button, ao as Image, a4 as Card, bg as StructuredList, a2 as IconButton, au as isEmpty$1, bn as useInvalidateRootLegalEntity, a3 as useAnalyticsContext, d as useLegalEntity, R as ROOT_LE, bS as getRequiredForms, bT as addValidityToForms, bU as useFormComposer, a0 as createLogger, L as Loader } from "./StoreProvider-phu7r9_0.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-J-L5lHm7.js";
|
|
14
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-BQK-SrGL.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-D12QQ8Fr.js";
|
|
16
16
|
import { signal } from "@preact/signals";
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
17
|
+
import { lazy } from "preact/compat";
|
|
18
|
+
import { T as TaskStatusIndicator } from "./TaskStatusIndicator-DSICKMZ9.js";
|
|
19
|
+
import { L as LandingLayout } from "./bafinUtils-C_5C_Fk9.js";
|
|
20
|
+
import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-USEEyykb.js";
|
|
20
21
|
const getTaxClassification = async (legalEntityId, baseUrl) => {
|
|
21
22
|
return httpGet({
|
|
22
23
|
baseUrl,
|
|
@@ -253,6 +254,7 @@ function TaxReporting(props) {
|
|
|
253
254
|
renderActiveForm(propActiveForm)
|
|
254
255
|
] });
|
|
255
256
|
}
|
|
257
|
+
const usCheckAccount = lazy(() => import("./tax-reporting-graph-DjzwRgE6.js"));
|
|
256
258
|
const TaxReportingGettingStarted = ({
|
|
257
259
|
handleToggleFormVisible,
|
|
258
260
|
handleCancelClick,
|
|
@@ -267,14 +269,7 @@ const TaxReportingGettingStarted = ({
|
|
|
267
269
|
!hasTaxReportingClassification && /* @__PURE__ */ jsx(
|
|
268
270
|
LandingLayout,
|
|
269
271
|
{
|
|
270
|
-
media: /* @__PURE__ */ jsx(
|
|
271
|
-
Svg,
|
|
272
|
-
{
|
|
273
|
-
type: "image",
|
|
274
|
-
testId: "source-of-funds-getting-started-icon",
|
|
275
|
-
name: "tax-reporting-graph"
|
|
276
|
-
}
|
|
277
|
-
),
|
|
272
|
+
media: /* @__PURE__ */ jsx(Image, { lazyLoadedImage: usCheckAccount }),
|
|
278
273
|
title: i18n.get("taxStatusSelfCertification"),
|
|
279
274
|
description: i18n.get("toUnderstandIfYourBankAccountDetailsAreReportable"),
|
|
280
275
|
actions: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6874ffa5-4368-425a-9d6b-5f5194aa3e1d", e._sentryDebugIdIdentifier = "sentry-dbid-6874ffa5-4368-425a-9d6b-5f5194aa3e1d");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import {
|
|
12
|
+
import { dN as useId, a7 as Icon, N as Typography, dO as KEYBOARD_KEYS, a8 as noop } from "./StoreProvider-phu7r9_0.js";
|
|
13
13
|
import { useRef } from "preact/hooks";
|
|
14
14
|
const tileContainer = "adyen-kyc-tile-container";
|
|
15
15
|
const tile = "adyen-kyc-tile";
|
|
@@ -2,17 +2,17 @@
|
|
|
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] = "6f864faf-027e-446a-97ff-42e0565b85da", e._sentryDebugIdIdentifier = "sentry-dbid-6f864faf-027e-446a-97ff-42e0565b85da");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import {
|
|
11
|
+
import { ci as getDocument, cj as mapExistingFile, ck as getPageName, bB as reverseMapping, bC as formatObject, d$ as operationalAddressIsSameIds, O as LegalEntityTypes, cV as createFormRules, $ as TaskTypes, fp as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, fq as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, fr as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, at as CountryCodes, fs as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, ft as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, fb as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, fu as trustComponentsKeyMapping, f7 as getDefaultVatNumberType, f6 as getDefaultRegistrationNumberType, cn as createDocumentRequest, fv as trustApiKeyMapping, fi as useStateContext, a as useApiContext, u as useI18nContext, a3 as useAnalyticsContext, bd as datasetUtilities, aa as useExperimentsContext, a9 as useToastContext, bR as getAssociatedLeAnalyticsPayload, cs as documentApiUtils, cA as useScenarioConfiguration, cB as getPropsFromConfigurations, fw as trustForms, bS as getRequiredForms, bT as addValidityToForms, bU as useFormComposer, fn as FormWrapper, fx as Trust, fy as augmentWithCountryConfigs, fz as trustDocumentMapping, bW as isValidationError, bX as processValidationErrors, bY as isMaintenanceModeError, bj as cloneObject, g as getLegalEntityCountry, aw as resolveFieldMetadata, e9 as registrationNumberDefaultFieldMetadata, fe as inferCompanyRegistrationNumberType, ff as getCompanyRegistrationNumberOptions, ea as registrationNumberDefaultFieldConfig, cd as taxInformationDefaultFieldMetadata, fg as countryToTaxInfoTypeMap, ce as taxInformationDefaultFieldConfig, cJ as mapAddressLabels, fA as trustConstitutionalDocumentFormId, fc as getProp, au as isEmpty, cG as composePerScenarioFormConfigurations, cr as drop, ap as getOwnEntityAssociations, d as useLegalEntity, B as skipToken, R as ROOT_LE, du as useCapabilities, af as useCapabilityProblems, b6 as getProblemsForEntity, L as Loader, dk as keysOf, Z as EntityTypes } from "./StoreProvider-phu7r9_0.js";
|
|
12
12
|
import { useEffect, useState, useRef, useMemo } from "preact/hooks";
|
|
13
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
15
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-J-L5lHm7.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-CzXG96AD.js";
|
|
15
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-Br7bX6SQ.js";
|
|
16
16
|
const mapApiDocumentToTrustDocument = (entityId) => {
|
|
17
17
|
const constitutionalDocument = getDocument(entityId, "constitutionalDocument") || null;
|
|
18
18
|
return {
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "43d0ffed-c2da-4e75-81cf-7bd80fe1ffee", e._sentryDebugIdIdentifier = "sentry-dbid-43d0ffed-c2da-4e75-81cf-7bd80fe1ffee");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { d as useLegalEntity, R as ROOT_LE, B as skipToken, af as useCapabilityProblems, L as Loader,
|
|
12
|
-
import { g as useTrustMembers } from "./OnboardingDropinComponent-
|
|
13
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
11
|
+
import { d as useLegalEntity, R as ROOT_LE, B as skipToken, af as useCapabilityProblems, L as Loader, b6 as getProblemsForEntity, g as getLegalEntityCountry, $ as TaskTypes, Z as EntityTypes } from "./StoreProvider-phu7r9_0.js";
|
|
12
|
+
import { g as useTrustMembers } from "./OnboardingDropinComponent-USEEyykb.js";
|
|
13
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-Dnze2MWp.js";
|
|
14
14
|
function TrustMemberCompanyPage({
|
|
15
15
|
trustId,
|
|
16
16
|
trustMemberCompanyId,
|
package/dist/{TrustMemberIndividualPage-BRUijH_I.js → TrustMemberIndividualPage-QCSz7dt3.js}
RENAMED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9f710512-e84c-436d-8b62-668fef8850d8", e._sentryDebugIdIdentifier = "sentry-dbid-9f710512-e84c-436d-8b62-668fef8850d8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { d as useLegalEntity, B as skipToken, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry,
|
|
12
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { d as useLegalEntity, B as skipToken, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry, b6 as getProblemsForEntity, b7 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes, Z as EntityTypes } from "./StoreProvider-phu7r9_0.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-C1xH6itq.js";
|
|
13
13
|
function TrustMemberIndividualPage({
|
|
14
14
|
memberId,
|
|
15
15
|
trustId,
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6ac5c1f7-f83f-41e8-ac6d-cded31132754", e._sentryDebugIdIdentifier = "sentry-dbid-6ac5c1f7-f83f-41e8-ac6d-cded31132754");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { d as useLegalEntity, B as skipToken, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry,
|
|
12
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { d as useLegalEntity, B as skipToken, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry, b6 as getProblemsForEntity, b7 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes, Z as EntityTypes } from "./StoreProvider-phu7r9_0.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-C1xH6itq.js";
|
|
13
13
|
function UnincorporatedPartnershipIndividualPage({
|
|
14
14
|
memberId,
|
|
15
15
|
partnershipId,
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2905bc55-ad0a-4ce0-8d45-acb67a2322c5", e._sentryDebugIdIdentifier = "sentry-dbid-2905bc55-ad0a-4ce0-8d45-acb67a2322c5");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { d as useLegalEntity, R as ROOT_LE, B as skipToken,
|
|
12
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
11
|
+
import { d as useLegalEntity, R as ROOT_LE, B as skipToken, b0 as useUnincorporatedPartnershipMembers, af as useCapabilityProblems, L as Loader, b6 as getProblemsForEntity, g as getLegalEntityCountry, $ as TaskTypes, Z as EntityTypes } from "./StoreProvider-phu7r9_0.js";
|
|
12
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-Dnze2MWp.js";
|
|
13
13
|
function UnincorporatedPartnershipMemberCompanyPage({
|
|
14
14
|
partnershipId,
|
|
15
15
|
partnershipMemberCompanyId,
|
|
@@ -2,12 +2,12 @@
|
|
|
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] = "8f581354-79e8-4b82-8606-9a8fa54368b8", e._sentryDebugIdIdentifier = "sentry-dbid-8f581354-79e8-4b82-8606-9a8fa54368b8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a as useApiContext,
|
|
10
|
+
import { a as useApiContext, bn as useInvalidateRootLegalEntity, bo as useMutation, bp as httpDelete, c as useTranslation, K as Alert } from "./StoreProvider-phu7r9_0.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
const deleteTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
|
|
13
13
|
return httpDelete({
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "85d014bd-ff67-43dd-92c4-90802dfc2d0b", e._sentryDebugIdIdentifier = "sentry-dbid-85d014bd-ff67-43dd-92c4-90802dfc2d0b");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
12
|
-
import { a as useApiContext,
|
|
13
|
-
import { u as useOnboardingStatus } from "./useOnboardingStatus-
|
|
12
|
+
import { a as useApiContext, bo as useMutation, t as httpPost, a0 as createLogger, u as useI18nContext, L as Loader, K as Alert, G as Button } from "./StoreProvider-phu7r9_0.js";
|
|
13
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-C77iTj4t.js";
|
|
14
14
|
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
15
15
|
const generateOnboardingLink = async (legalEntityId, baseUrl, data) => {
|
|
16
16
|
return httpPost(
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-BbdiVBJB.js";
|
|
13
|
+
import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-BWGtnZ2l.js";
|
|
14
14
|
const AdyenBusinessFinancing = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
package/dist/adyen-individual.js
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-BbdiVBJB.js";
|
|
13
|
+
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-JqyPXwi_.js";
|
|
14
14
|
const AdyenIndividual = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
|
@@ -2,24 +2,24 @@
|
|
|
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] = "2ac0ba08-c241-441a-aef2-7bc86e31fe30", e._sentryDebugIdIdentifier = "sentry-dbid-2ac0ba08-c241-441a-aef2-7bc86e31fe30");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useI18nContext, a as useApiContext, l as listify, i as isUndefinedOrNull, b as useAllowedCountries, c as useTranslation, d as useLegalEntity, R as ROOT_LE, e as useDataset, f as datasetIdentifier, L as Loader, g as getLegalEntityCountry, A as AlertIcon, F as FormHeader, h as uuidv4, S as SettingsProvider, Q as QueryClientProvider, j as ApiProvider, E as ExperimentsContextProvider, k as StoreProvider, m as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, n as StateProvider, o as normalizeEnvironment, p as FALLBACK_LOCALE, s as setSdkToken, q as setSdkTokenHandler } from "./StoreProvider-
|
|
11
|
-
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
12
|
-
import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-
|
|
13
|
-
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-
|
|
14
|
-
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-
|
|
15
|
-
import { M as ManageIndividualComponent } from "./ManageIndividualComponent-
|
|
10
|
+
import { u as useI18nContext, a as useApiContext, l as listify, i as isUndefinedOrNull, b as useAllowedCountries, c as useTranslation, d as useLegalEntity, R as ROOT_LE, e as useDataset, f as datasetIdentifier, L as Loader, g as getLegalEntityCountry, A as AlertIcon, F as FormHeader, h as uuidv4, S as SettingsProvider, Q as QueryClientProvider, j as ApiProvider, E as ExperimentsContextProvider, k as StoreProvider, m as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, n as StateProvider, o as normalizeEnvironment, p as FALLBACK_LOCALE, s as setSdkToken, q as setSdkTokenHandler } from "./StoreProvider-phu7r9_0.js";
|
|
11
|
+
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-TLpFCTa-.js";
|
|
12
|
+
import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-BWGtnZ2l.js";
|
|
13
|
+
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-JqyPXwi_.js";
|
|
14
|
+
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-D7dPoBCI.js";
|
|
15
|
+
import { M as ManageIndividualComponent } from "./ManageIndividualComponent-BpE7jV1g.js";
|
|
16
16
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
17
|
-
import { u as useSalesChannelsSettings, a as usePciStatus, O as OnboardingDropinComponent, D as DropinLayout } from "./OnboardingDropinComponent-
|
|
18
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
19
|
-
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-
|
|
20
|
-
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-
|
|
21
|
-
import { SignPCIComponent } from "./SignPCIComponent-
|
|
22
|
-
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-
|
|
17
|
+
import { u as useSalesChannelsSettings, a as usePciStatus, O as OnboardingDropinComponent, D as DropinLayout } from "./OnboardingDropinComponent-USEEyykb.js";
|
|
18
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-Da-R7LDJ.js";
|
|
19
|
+
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-D2KTbyRY.js";
|
|
20
|
+
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-D-CFPJJW.js";
|
|
21
|
+
import { SignPCIComponent } from "./SignPCIComponent-3Ab8dWV4.js";
|
|
22
|
+
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-XmGpFS4Q.js";
|
|
23
23
|
import { render } from "preact";
|
|
24
24
|
function ManagePCIComponent({ legalEntityId, onClick }) {
|
|
25
25
|
const { i18n } = useI18nContext();
|
|
@@ -366,7 +366,7 @@ class UIElement extends BaseElement {
|
|
|
366
366
|
experiments: this.props.experiments,
|
|
367
367
|
refreshExperiments: this.props.refreshExperiments,
|
|
368
368
|
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
369
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.81.0-beta.
|
|
369
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.81.0-beta.6" }),
|
|
370
370
|
/* @__PURE__ */ jsx(
|
|
371
371
|
AnalyticsProvider,
|
|
372
372
|
{
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { M as ManageIndividualComponent } from "./ManageIndividualComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-BbdiVBJB.js";
|
|
13
|
+
import { M as ManageIndividualComponent } from "./ManageIndividualComponent-BpE7jV1g.js";
|
|
14
14
|
const AdyenManageIndividual = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
onClick,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-BbdiVBJB.js";
|
|
13
|
+
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-D2KTbyRY.js";
|
|
14
14
|
const AdyenManageTermsOfService = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-BbdiVBJB.js";
|
|
13
|
+
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-D-CFPJJW.js";
|
|
14
14
|
const AdyenManageTransferInstruments = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
package/dist/adyen-onboarding.js
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { O as OnboardingDropinComponent } from "./OnboardingDropinComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-BbdiVBJB.js";
|
|
13
|
+
import { O as OnboardingDropinComponent } from "./OnboardingDropinComponent-USEEyykb.js";
|
|
14
14
|
const AdyenOnboarding = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-BbdiVBJB.js";
|
|
13
|
+
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-TLpFCTa-.js";
|
|
14
14
|
const AdyenTermsOfService = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-BbdiVBJB.js";
|
|
13
|
+
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-D7dPoBCI.js";
|
|
14
14
|
const AdyenTransferInstrument = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-BbdiVBJB.js";
|
|
13
|
+
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-XmGpFS4Q.js";
|
|
14
14
|
const AdyenVerificationStatus = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
|
@@ -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] = "9d231bb1-fd43-4a1c-9eba-f76a42d3ee06", e._sentryDebugIdIdentifier = "sentry-dbid-9d231bb1-fd43-4a1c-9eba-f76a42d3ee06");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useReducer, useMemo } from "preact/hooks";
|
|
11
|
-
import { a as useApiContext, r as useQuery, t as httpPost, aa as useExperimentsContext, g as getLegalEntityCountry,
|
|
11
|
+
import { a as useApiContext, r as useQuery, t as httpPost, aa as useExperimentsContext, g as getLegalEntityCountry, at as CountryCodes, P as isPartOfTrustFromLegalEntity, O as LegalEntityTypes, U as hasSolePropInLegalEntity, b5 as TrustedFieldsProviders, b8 as individualComponentsKeyMapping, b9 as businessDetailsComponentsKeyMapping, N as Typography, ba as DecisionMakerTypes, $ as TaskTypes, bb as Scenarios } from "./StoreProvider-phu7r9_0.js";
|
|
12
12
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
13
13
|
import cx from "classnames";
|
|
14
|
-
import { signal } from "@preact/signals";
|
|
14
|
+
import { signal, computed } from "@preact/signals";
|
|
15
15
|
async function convertToSingpassLinkResponse(openIdInitiateResponse) {
|
|
16
16
|
const response = await Promise.resolve(openIdInitiateResponse);
|
|
17
17
|
const item = { authUrl: response.authUrl, success: true };
|
|
@@ -247,10 +247,57 @@ const LandingLayout = ({
|
|
|
247
247
|
};
|
|
248
248
|
const showIdNowModal = signal(false);
|
|
249
249
|
const idNowModalChildEntityId = signal();
|
|
250
|
+
const shouldShowIdNowModal = computed(() => {
|
|
251
|
+
const idNowModalChildEntityIdValue = !!idNowModalChildEntityId.value;
|
|
252
|
+
return showIdNowModal.value && idNowModalChildEntityIdValue;
|
|
253
|
+
});
|
|
254
|
+
const removeIdVerificationProblemsForBafinSignatory = (problems) => {
|
|
255
|
+
const newProblems = structuredClone(problems);
|
|
256
|
+
if (Array.isArray(newProblems.missingData)) {
|
|
257
|
+
newProblems.missingData = newProblems.missingData.filter(
|
|
258
|
+
(item) => !item.remediatingActions?.some((action) => action.code === "1_301")
|
|
259
|
+
);
|
|
260
|
+
}
|
|
261
|
+
if (newProblems.remediationActions?.["1_301"]) {
|
|
262
|
+
delete newProblems.remediationActions["1_301"];
|
|
263
|
+
}
|
|
264
|
+
if (newProblems.verificationErrors?.idVerificationMethod) {
|
|
265
|
+
delete newProblems.verificationErrors.idVerificationMethod;
|
|
266
|
+
}
|
|
267
|
+
const formsToClean = [
|
|
268
|
+
"basicDetails",
|
|
269
|
+
"additionalPersonalDetails"
|
|
270
|
+
];
|
|
271
|
+
formsToClean.forEach((formName) => {
|
|
272
|
+
const subErrors = newProblems.verificationErrors?.[formName]?.["1_30"]?.["1_3000"];
|
|
273
|
+
if (newProblems.verificationErrors?.[formName]?.["1_30"] && Array.isArray(subErrors)) {
|
|
274
|
+
newProblems.verificationErrors[formName]["1_30"]["1_3000"] = subErrors.filter(
|
|
275
|
+
(error) => error.code !== "1_301"
|
|
276
|
+
);
|
|
277
|
+
}
|
|
278
|
+
});
|
|
279
|
+
return newProblems;
|
|
280
|
+
};
|
|
281
|
+
const isLegalEntityAssociation = (data) => "legalEntityId" in data;
|
|
282
|
+
const isBafinSignatoryFlow = ({
|
|
283
|
+
taskType,
|
|
284
|
+
data,
|
|
285
|
+
scenarios
|
|
286
|
+
}) => {
|
|
287
|
+
if (!data || !scenarios) return false;
|
|
288
|
+
const isSignatory = isLegalEntityAssociation(data) ? data.type === DecisionMakerTypes.SIGNATORY : data.basicDetails?.role?.includes(DecisionMakerTypes.SIGNATORY);
|
|
289
|
+
if (taskType === TaskTypes.DECISION_MAKER && isSignatory) {
|
|
290
|
+
return scenarios.includes(Scenarios.L_BAFIN);
|
|
291
|
+
}
|
|
292
|
+
return false;
|
|
293
|
+
};
|
|
250
294
|
export {
|
|
251
295
|
LandingLayout as L,
|
|
252
296
|
StackLayout as S,
|
|
253
|
-
idNowModalChildEntityId as
|
|
297
|
+
idNowModalChildEntityId as a,
|
|
298
|
+
shouldShowIdNowModal as b,
|
|
299
|
+
isBafinSignatoryFlow as i,
|
|
300
|
+
removeIdVerificationProblemsForBafinSignatory as r,
|
|
254
301
|
showIdNowModal as s,
|
|
255
302
|
useSingpassMyInfoLogin as u
|
|
256
303
|
};
|
package/dist/{digital-wallet-with-local-currencies-POeLD54e.js → digital-wallet-D_IpxnkN.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] = "e30bf000-f8af-4446-9168-c684c21edd52", e._sentryDebugIdIdentifier = "sentry-dbid-e30bf000-f8af-4446-9168-c684c21edd52");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/compat/jsx-runtime";
|
|
11
|
-
const
|
|
11
|
+
const SvgDigitalWallet = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 1000 1000", role: "img", ...props, children: [
|
|
12
12
|
/* @__PURE__ */ jsxs("g", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, clipPath: "url(#digital-wallet-with-local-currencies_svg__a)", children: [
|
|
13
13
|
/* @__PURE__ */ jsx("path", { fill: "#D1D5DA", stroke: "#00112C", d: "m649.82 254.1-29.17-3.73a52.4 52.4 0 0 0-31.92 6.03L173.55 483.17a87.9 87.9 0 0 0-43.32 97.84l68.01 280.67a52.7 52.7 0 0 0 43.89 39.81h.04l.15.02 29.9 3.83z" }),
|
|
14
14
|
/* @__PURE__ */ jsx("path", { fill: "#00112C", stroke: "#00112C", d: "m762.44 574.68-68.01-280.67c-8.16-33.69-46.06-50.47-76.49-33.87L202.77 486.91a87.9 87.9 0 0 0-43.32 97.84l68.01 280.67c8.16 33.69 46.06 50.47 76.49 33.87l415.17-226.76a87.9 87.9 0 0 0 43.32-97.84z" }),
|
|
@@ -42,5 +42,5 @@ const SvgDigitalWalletWithLocalCurrencies = (props) => /* @__PURE__ */ jsxs("svg
|
|
|
42
42
|
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "digital-wallet-with-local-currencies_svg__a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M127 76h745.24v848.59H127z" }) }) })
|
|
43
43
|
] });
|
|
44
44
|
export {
|
|
45
|
-
|
|
45
|
+
SvgDigitalWallet as default
|
|
46
46
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
;
|
|
2
|
+
{
|
|
3
|
+
try {
|
|
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] = "d0e4aa6c-8a12-4426-b544-8646ffa5f01f", e._sentryDebugIdIdentifier = "sentry-dbid-d0e4aa6c-8a12-4426-b544-8646ffa5f01f");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
const enUS = {
|
|
11
|
+
addAccount: "Add account with ",
|
|
12
|
+
addDetails: "Add details with",
|
|
13
|
+
completed: "Completed",
|
|
14
|
+
loading: "Loading",
|
|
15
|
+
noOptionsFound: "No options found",
|
|
16
|
+
notCompleted: "Not completed",
|
|
17
|
+
remove: "Remove",
|
|
18
|
+
retrieveMyinfo: "Retrieve Myinfo with",
|
|
19
|
+
retrieveMyinfoBusiness: "Retrieve Myinfo business with",
|
|
20
|
+
stepNumberStatus: "Step %{stepNumber}: %{status}",
|
|
21
|
+
stepXofY: "Step %{currentStep} of %{totalSteps}",
|
|
22
|
+
taskComplete: "Task complete",
|
|
23
|
+
taskHasErrors: "Task has errors",
|
|
24
|
+
taskInProgress: "Task in progress",
|
|
25
|
+
undoWithTimer: "Undo... %{secondsLeft}",
|
|
26
|
+
xCharactersLeft: "%{charactersLeft} characters left",
|
|
27
|
+
XOfYSteps: "%{currentStep} of %{totalSteps} "
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
enUS as default
|
|
31
|
+
};
|
package/dist/{getFieldsWithExistingData-IBtwmkzo.js → getFieldsWithExistingData-Br7bX6SQ.js}
RENAMED
|
@@ -2,12 +2,12 @@
|
|
|
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] = "6af7d874-faa8-40a3-bfda-c1a45966973b", e._sentryDebugIdIdentifier = "sentry-dbid-6af7d874-faa8-40a3-bfda-c1a45966973b");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { dL as getNestedPropertyKeys } from "./StoreProvider-phu7r9_0.js";
|
|
11
11
|
const getFieldsWithExistingData = (legalEntity, keyMapping, documentMapping, knownProblematicFields = []) => {
|
|
12
12
|
const apiFieldsWithExistingData = getNestedPropertyKeys(legalEntity);
|
|
13
13
|
const nonDocumentFields = apiFieldsWithExistingData.map((field) => keyMapping[field]).filter(Boolean).filter((field) => !knownProblematicFields.includes(field));
|