@adyen/kyc-components 3.82.1 → 3.82.3
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-YuLikSDe.js → AcceptTermsOfServiceComponent-DBiIy4Kp.js} +14 -14
- package/dist/{AccountSetupRejected-BoLBjxVq.js → AccountSetupRejected-D27RKt9K.js} +4 -4
- package/dist/{Address-7EgUUayR.js → Address-ByYSgoVJ.js} +7 -7
- package/dist/{Alert-CmLPGrYT.js → Alert-TryjgqmO.js} +1 -1
- package/dist/{Avatar-CqP0mmN2.js → Avatar-CKP57y-Q.js} +1 -1
- package/dist/{BusinessDetailsDropin-CAYT-fCT.js → BusinessDetailsDropin-CNFVVwGJ.js} +33 -33
- package/dist/{BusinessFinancingComponent-BmWMrk_5.js → BusinessFinancingComponent-DCD8DE-r.js} +4 -4
- package/dist/{BusinessFinancingDropin-DSn-ynsz.js → BusinessFinancingDropin-Dhc_JYVL.js} +22 -22
- package/dist/{BusinessFinancingPage-Dz-hJxgt.js → BusinessFinancingPage-Cj5fDj-T.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-DZs-6cvn.js → BusinessTypeSelectionPage-BhA3bBL3.js} +6 -6
- package/dist/{Card-liZfK4iY.js → Card-BG1vjevh.js} +3 -3
- package/dist/{Confirm-Ckd-ug3S.js → Confirm-CDy3GQty.js} +2 -2
- package/dist/{CountryField-CfD1XBwa.js → CountryField-XyMQgLEa.js} +4 -4
- package/dist/{CreateIndividualComponent-BGIkGbhF.js → CreateIndividualComponent-Wn27xAGP.js} +5 -5
- package/dist/{CreateTransferInstrumentComponent-B0HXoVXQ.js → CreateTransferInstrumentComponent-B91wUVZO.js} +5 -5
- package/dist/{Currency-DRw3pbge.js → Currency-C9f9JFqI.js} +5 -5
- package/dist/{CustomerSupport-DwirNr8c.js → CustomerSupport-BkZrAQI8.js} +8 -8
- package/dist/{DebugModal-DmgolP-_.js → DebugModal-C-Kde1W7.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-0cNE81KI.js → DecisionMakerDetailsPage-DGCjjcXo.js} +6 -6
- package/dist/{DecisionMakers-By6cxlIa.js → DecisionMakers-BnVBSP2h.js} +17 -17
- package/dist/{Dropzone-CyKRD1mZ.js → Dropzone-DhG3qmwK.js} +3 -3
- package/dist/{EmbeddedStatus-DGqXUwmh.js → EmbeddedStatus-CR9dSA8Q.js} +2 -2
- package/dist/{EndStateLayout-C_JbL2LS.js → EndStateLayout-CND9jpze.js} +1 -1
- package/dist/{FormFlow-Sl_BaQSG.js → FormFlow-CEWANC6O.js} +6 -6
- package/dist/{FormNavigation-DwrwmjHz.js → FormNavigation-BPlMuV0j.js} +1 -1
- package/dist/{IndividualOnfidoDropin-ltq7qbju.js → IndividualOnfidoDropin-B0Ofb9y0.js} +38 -38
- package/dist/{InputDate-B35flVD9.js → InputDate-_HFaTMsL.js} +1 -1
- package/dist/{InputText-IejcjQkZ.js → InputText-BXjA-CEb.js} +2 -2
- package/dist/{Introduction-BeyZezex.js → Introduction-r3a_Q_wG.js} +4 -4
- package/dist/{LegalRepresentativeDetailsPage-D5hV2x7v.js → LegalRepresentativeDetailsPage-DzPDCpVt.js} +4 -4
- package/dist/{Link-BBjf5O9d.js → Link-D_9J4IJA.js} +1 -1
- package/dist/{ManageIndividualComponent-DjneJ3LD.js → ManageIndividualComponent-Dlx3--0h.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-FRtzhxTj.js → ManageTermsOfServiceComponent-BCDYAf1s.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-CD0UG4Ro.js → ManageTransferInstrumentComponent-Cohe-fiW.js} +12 -12
- package/dist/{MaskedInput-Os-b7s7y.js → MaskedInput-Nyf8vcDx.js} +3 -3
- package/dist/{MaybeModal-ieR_EiZ8.js → MaybeModal-CposTKIL.js} +2 -2
- package/dist/{Modal-B77fr1Lt.js → Modal-BUqWVdHG.js} +1 -1
- package/dist/{OnboardingDropinComponent-CiiGPNa7.js → OnboardingDropinComponent-BQMB-M3f.js} +85 -75
- package/dist/{PayoutDetailsDropin-BC3X6xPT.js → PayoutDetailsDropin-DzkFGL_4.js} +25 -25
- package/dist/{RadioGroup-Cmqr_X2L.js → RadioGroup-BDZqV-Mr.js} +4 -4
- package/dist/{RegistrationAddress-CRhOptNf.js → RegistrationAddress-B7q1pOsn.js} +12 -12
- package/dist/{Review-_NAUjGqG.js → Review-DoC_0S-s.js} +6 -6
- package/dist/{RootBusinessDetailsPage-C1b6B33H.js → RootBusinessDetailsPage-Bbr2WffY.js} +27 -27
- package/dist/{RootIndividualDetailsPage-Cy_DEmLw.js → RootIndividualDetailsPage-DiKCTWp6.js} +4 -4
- package/dist/{SignPCIComponent-CDg5hs1S.js → SignPCIComponent-BrwKPa1E.js} +9 -9
- package/dist/{SingpassSelection-rTyVGmGk.js → SingpassSelection-DF8-ifNE.js} +3 -3
- package/dist/{SoleProprietorshipPage-B_XBA0Lf.js → SoleProprietorshipPage-crVbQlEJ.js} +4 -4
- package/dist/{SourceOfFundsPage-BB6am_9H.js → SourceOfFundsPage-_on4Vmam.js} +26 -26
- package/dist/{StepProgressIndicator-C0-0Cl3W.js → StepProgressIndicator-hlEMGZu8.js} +1 -1
- package/dist/{StoreProvider-Ohe7QUyL.js → StoreProvider-CiZ-dp-b.js} +4 -4
- package/dist/{TaskItemStatus-DJc7TQEZ.js → TaskItemStatus-BQVo7foa.js} +1 -1
- package/dist/{TaskStatusIndicator-BvXhnO2k.js → TaskStatusIndicator-q1aiZloQ.js} +1 -1
- package/dist/{TaxInformationField-CaE2z_gu.js → TaxInformationField-B8mQXSpZ.js} +19 -13
- package/dist/{TaxReportingDropin-DsFfVmey.js → TaxReportingDropin-CRHhjxw-.js} +17 -17
- package/dist/{TileGroup-CQqODiCa.js → TileGroup-ClHre2Us.js} +2 -2
- package/dist/{TrustDetailsPage-DCEn1ZX4.js → TrustDetailsPage-CGFw51Cl.js} +22 -22
- package/dist/{TrustMemberCompanyPage-yXzhL2hk.js → TrustMemberCompanyPage-CgpUmMoS.js} +5 -5
- package/dist/{TrustMemberIndividualPage-DjagZypB.js → TrustMemberIndividualPage-3wYiHTR1.js} +4 -4
- package/dist/{UnincorporatedPartnershipIndividualPage-f3mz1DI7.js → UnincorporatedPartnershipIndividualPage-BVz1iaWD.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BxbUdiUH.js → UnincorporatedPartnershipMemberCompanyPage-CEcZtCEv.js} +5 -5
- package/dist/{ViewVerificationStatusComponent-Dq0ybWXh.js → ViewVerificationStatusComponent-4CnmMR2o.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual.js +2 -2
- package/dist/adyen-kyc-components.js +21 -21
- 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/{analytics-BIve9gnz.js → analytics-VGKSXUs3.js} +1 -1
- package/dist/{bafinUtils-oqX-B5AM.js → bafinUtils-rVLqT7tm.js} +5 -5
- package/dist/{commonValidators-BZg0zrql.js → commonValidators-DYVRk_o-.js} +1 -1
- package/dist/{dropinUtils-gO5ybB18.js → dropinUtils-CAMPNh0H.js} +2 -2
- package/dist/{fieldConfigurations-BLQetGmt.js → fieldConfigurations-D1NqrGgr.js} +6 -6
- package/dist/{getName-BruYaj-2.js → getName-CLl4DLz5.js} +1 -1
- package/dist/{hasDataChanged-__-U6pOL.js → hasDataChanged-l0jAbTM1.js} +1 -1
- package/dist/{iframeWidget-DnGEl6a5.js → iframeWidget-CNxl2fM8.js} +3 -3
- package/dist/{isEmpty-B6ptUwPu.js → isEmpty-B2Jgc-Ae.js} +1 -1
- package/dist/{localizeDateString-DXMlQLYm.js → localizeDateString-D52U55KH.js} +1 -1
- package/dist/{mapExistingFile-Bc2z-IGY.js → mapExistingFile-d1IBaXjL.js} +3 -3
- package/dist/{mapScriptLocalization-BULwx2TC.js → mapScriptLocalization-CogsH2uy.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-DnaXJJkF.js → mapTransferInstrumentToPayoutAccount-MzAJdTLN.js} +1 -1
- package/dist/{resolveEnvironment--uOC9tSc.js → resolveEnvironment-3SDOk4j8.js} +3 -3
- package/dist/{rules-BBAiH7M1.js → rules-mx2LkA3c.js} +3 -3
- package/dist/style.css +5 -26
- package/dist/styles-CLV89_hH.js +5 -26
- package/dist/{translation-D6srXF03.js → translation-DlBV-aLd.js} +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +1 -0
- package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -16
- package/dist/types/core/process-field-configurations.d.ts +4 -1
- package/dist/types/utils/addLinkedFields.d.ts +26 -2
- package/dist/{types-CIq6o1MY.js → types-BgtfChBm.js} +1 -1
- package/dist/{types-BXqAvk7e.js → types-BvfH1Hq9.js} +1 -1
- package/dist/{useAssociatedLegalEntity-BUD8gRbt.js → useAssociatedLegalEntity-CdDDTgFh.js} +1 -1
- package/dist/{useDataset-DZlThYmu.js → useDataset-gWnPim6D.js} +1 -1
- package/dist/{useForm-CKD7a4LA.js → useForm-B9xiR6rk.js} +2 -2
- package/dist/{useGlobalData-D3tyK2DF.js → useGlobalData-wXN1Shit.js} +9 -9
- package/dist/{useMultiForm-AEKmFyKg.js → useMultiForm-CApCTqZE.js} +3 -3
- package/dist/{useOnboardingStatus-i9PHj9Tj.js → useOnboardingStatus-NmD-_0MX.js} +1 -1
- package/dist/{useScenarios-GRL_KRLY.js → useScenarios-DzBi2C-3.js} +1 -1
- package/dist/{useTermsOfServiceStatus-CWe5ZDC5.js → useTermsOfServiceStatus-CcV1l3Cn.js} +1 -1
- package/dist/{useToastContext-Be5PXq9E.js → useToastContext-B2dmvtea.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-BuPmqMye.js → useUnincorporatedPartnershipMembers-DErNsU0p.js} +4 -4
- package/dist/{utils-D1RtyjXo.js → utils-CE3nKLt4.js} +1 -1
- package/dist/{utils-BXsulcnw.js → utils-Du8tQ9jO.js} +1 -1
- package/dist/{utils-C8NXTx1b.js → utils-co6TAFWB.js} +6 -6
- package/dist/{validate-YFSI9_Cs.js → validate-BiC_TxbN.js} +1 -1
- package/dist/{validate-DA9kAqy-.js → validate-CF1WjpO2.js} +67 -18
- package/dist/{validate-Cjpmk6ce.js → validate-D-lb4Q7H.js} +6 -6
- package/dist/{validationError-4nysb3-G.js → validationError-BB54fFFA.js} +1 -1
- package/package.json +1 -1
|
@@ -2,31 +2,31 @@
|
|
|
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] = "283f6e8d-da1b-4ad1-8751-9f03c5c034be", e._sentryDebugIdIdentifier = "sentry-dbid-283f6e8d-da1b-4ad1-8751-9f03c5c034be");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useI18nContext, a as useTranslation, b as useApiContext, l as listify, i as isUndefinedOrNull, c as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, n as normalizeEnvironment, F as FALLBACK_LOCALE, s as setSdkToken, h 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-
|
|
16
|
-
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-
|
|
10
|
+
import { u as useI18nContext, a as useTranslation, b as useApiContext, l as listify, i as isUndefinedOrNull, c as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, n as normalizeEnvironment, F as FALLBACK_LOCALE, s as setSdkToken, h as setSdkTokenHandler } from "./StoreProvider-CiZ-dp-b.js";
|
|
11
|
+
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-DBiIy4Kp.js";
|
|
12
|
+
import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-DCD8DE-r.js";
|
|
13
|
+
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-Wn27xAGP.js";
|
|
14
|
+
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-B91wUVZO.js";
|
|
15
|
+
import { M as ManageIndividualComponent } from "./ManageIndividualComponent-Dlx3--0h.js";
|
|
16
|
+
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-DlBV-aLd.js";
|
|
17
17
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
18
|
-
import { u as useSalesChannelsSettings, a as usePciStatus, O as OnboardingDropinComponent, D as DropinLayout } from "./OnboardingDropinComponent-
|
|
19
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
20
|
-
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-
|
|
21
|
-
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-
|
|
22
|
-
import { SignPCIComponent } from "./SignPCIComponent-
|
|
23
|
-
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-
|
|
24
|
-
import { F as FormHeader } from "./CountryField-
|
|
25
|
-
import { u as useAllowedCountries } from "./mapScriptLocalization-
|
|
26
|
-
import { u as useDataset, d as datasetIdentifier } from "./useDataset-
|
|
27
|
-
import { A as AlertIcon } from "./Alert-
|
|
18
|
+
import { u as useSalesChannelsSettings, a as usePciStatus, O as OnboardingDropinComponent, D as DropinLayout } from "./OnboardingDropinComponent-BQMB-M3f.js";
|
|
19
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-CR9dSA8Q.js";
|
|
20
|
+
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-BCDYAf1s.js";
|
|
21
|
+
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-Cohe-fiW.js";
|
|
22
|
+
import { SignPCIComponent } from "./SignPCIComponent-BrwKPa1E.js";
|
|
23
|
+
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-4CnmMR2o.js";
|
|
24
|
+
import { F as FormHeader } from "./CountryField-XyMQgLEa.js";
|
|
25
|
+
import { u as useAllowedCountries } from "./mapScriptLocalization-CogsH2uy.js";
|
|
26
|
+
import { u as useDataset, d as datasetIdentifier } from "./useDataset-gWnPim6D.js";
|
|
27
|
+
import { A as AlertIcon } from "./Alert-TryjgqmO.js";
|
|
28
28
|
import { render } from "preact";
|
|
29
|
-
import { u as uuidv4 } from "./useForm-
|
|
29
|
+
import { u as uuidv4 } from "./useForm-B9xiR6rk.js";
|
|
30
30
|
function ManagePCIComponent({ legalEntityId, onClick }) {
|
|
31
31
|
const { i18n } = useI18nContext();
|
|
32
32
|
const { i18n: i18next } = useTranslation("common");
|
|
@@ -36,7 +36,7 @@ function ManagePCIComponent({ legalEntityId, onClick }) {
|
|
|
36
36
|
addResourceBundles(i18next, i18next.language, [
|
|
37
37
|
{
|
|
38
38
|
ns: "common",
|
|
39
|
-
importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-CW9c658c.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-dU9fnQ1g.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-BJ7aTPir.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-C78RLE2G.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-BZRKurtr.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
39
|
+
importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-CW9c658c.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-dU9fnQ1g.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-BJ7aTPir.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-C78RLE2G.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-BZRKurtr.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-CiZ-dp-b.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-BtUSEzkE.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BCnK305R.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-Cvar63RH.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-B5543Fe-.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-ZreFlbK9.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-B3BihdGh.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Dd6xGSe-.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-iTbqSPNL.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-DE-4IXNG.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CeivEZms.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-DVENFpd5.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-Dn2UkdoI.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-DFAzuceF.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-_o5xgnxS.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-D7c_Rj8V.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-BBSuh2fA.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BLTuWNf5.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-BUfESAQK.js") }), `../../../language/locales/${i18next.language}.json`, 6)
|
|
40
40
|
}
|
|
41
41
|
]);
|
|
42
42
|
const { rootLegalEntityId: currentLegalEntityId } = useApiContext();
|
|
@@ -379,7 +379,7 @@ class UIElement extends BaseElement {
|
|
|
379
379
|
experiments: this.props.experiments,
|
|
380
380
|
refreshExperiments: this.props.refreshExperiments,
|
|
381
381
|
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
382
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.82.
|
|
382
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.82.3" }),
|
|
383
383
|
/* @__PURE__ */ jsx(
|
|
384
384
|
AnalyticsProvider,
|
|
385
385
|
{
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
12
|
import register from "preact-custom-element";
|
|
13
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment
|
|
14
|
-
import { M as ManageIndividualComponent } from "./ManageIndividualComponent-
|
|
13
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-3SDOk4j8.js";
|
|
14
|
+
import { M as ManageIndividualComponent } from "./ManageIndividualComponent-Dlx3--0h.js";
|
|
15
15
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
16
16
|
const AdyenManageIndividual = ({
|
|
17
17
|
rootlegalentityid,
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
12
|
import register from "preact-custom-element";
|
|
13
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment
|
|
14
|
-
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-
|
|
13
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-3SDOk4j8.js";
|
|
14
|
+
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-BCDYAf1s.js";
|
|
15
15
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
16
16
|
const AdyenManageTermsOfService = ({
|
|
17
17
|
rootlegalentityid,
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
12
|
import register from "preact-custom-element";
|
|
13
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment
|
|
14
|
-
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-
|
|
13
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-3SDOk4j8.js";
|
|
14
|
+
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-Cohe-fiW.js";
|
|
15
15
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
16
16
|
const AdyenManageTransferInstruments = ({
|
|
17
17
|
rootlegalentityid,
|
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-3SDOk4j8.js";
|
|
13
|
+
import { O as OnboardingDropinComponent } from "./OnboardingDropinComponent-BQMB-M3f.js";
|
|
14
14
|
const AdyenOnboarding = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
12
|
import register from "preact-custom-element";
|
|
13
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment
|
|
14
|
-
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
13
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-3SDOk4j8.js";
|
|
14
|
+
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-DBiIy4Kp.js";
|
|
15
15
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
16
16
|
const AdyenTermsOfService = ({
|
|
17
17
|
rootlegalentityid,
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
12
|
import register from "preact-custom-element";
|
|
13
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment
|
|
14
|
-
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-
|
|
13
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-3SDOk4j8.js";
|
|
14
|
+
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-B91wUVZO.js";
|
|
15
15
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
16
16
|
const AdyenTransferInstrument = ({
|
|
17
17
|
rootlegalentityid,
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
12
|
import register from "preact-custom-element";
|
|
13
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment
|
|
14
|
-
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-
|
|
13
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-3SDOk4j8.js";
|
|
14
|
+
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-4CnmMR2o.js";
|
|
15
15
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
16
16
|
const AdyenVerificationStatus = ({
|
|
17
17
|
rootlegalentityid,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useRef, useCallback } from "preact/hooks";
|
|
11
|
-
import { bp as userEvents } from "./StoreProvider-
|
|
11
|
+
import { bp as userEvents } from "./StoreProvider-CiZ-dp-b.js";
|
|
12
12
|
const debounce = (func, wait) => {
|
|
13
13
|
let timerId;
|
|
14
14
|
let shouldInvoke;
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useReducer, useMemo, useContext } from "preact/hooks";
|
|
11
|
-
import { b as useApiContext, j as useQuery, k as httpPost, X as useExperimentsContext, g as getLegalEntityCountry, a8 as CountryCodes, z as isPartOfTrustFromLegalEntity, y as LegalEntityTypes, C as hasSolePropInLegalEntity, ah as individualComponentsKeyMapping, ai as businessDetailsComponentsKeyMapping, aj as SettingsContext, a as useTranslation, x as Typography, ak as DecisionMakerTypes, M as TaskTypes, al as Scenarios } from "./StoreProvider-
|
|
12
|
-
import { e as TrustedFieldsProviders } from "./fieldConfigurations-
|
|
11
|
+
import { b as useApiContext, j as useQuery, k as httpPost, X as useExperimentsContext, g as getLegalEntityCountry, a8 as CountryCodes, z as isPartOfTrustFromLegalEntity, y as LegalEntityTypes, C as hasSolePropInLegalEntity, ah as individualComponentsKeyMapping, ai as businessDetailsComponentsKeyMapping, aj as SettingsContext, a as useTranslation, x as Typography, ak as DecisionMakerTypes, M as TaskTypes, al as Scenarios } from "./StoreProvider-CiZ-dp-b.js";
|
|
12
|
+
import { e as TrustedFieldsProviders } from "./fieldConfigurations-D1NqrGgr.js";
|
|
13
13
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
14
|
-
import { F as Field, S as SelectListItem } from "./useForm-
|
|
15
|
-
import { I as InputText } from "./InputText-
|
|
16
|
-
import { c as createFormUtils, r as roleMetadata } from "./CountryField-
|
|
14
|
+
import { F as Field, S as SelectListItem } from "./useForm-B9xiR6rk.js";
|
|
15
|
+
import { I as InputText } from "./InputText-BXjA-CEb.js";
|
|
16
|
+
import { c as createFormUtils, r as roleMetadata } from "./CountryField-XyMQgLEa.js";
|
|
17
17
|
import cx from "classnames";
|
|
18
18
|
import { signal, computed } from "@preact/signals";
|
|
19
19
|
async function convertToSingpassLinkResponse(openIdInitiateResponse) {
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useEffect, useMemo } from "preact/hooks";
|
|
11
|
-
import { U as useAnalyticsContext, N as createLogger } from "./StoreProvider-
|
|
12
|
-
import { d as summaryStep, h as FormRouterContext } from "./CountryField-
|
|
11
|
+
import { U as useAnalyticsContext, N as createLogger } from "./StoreProvider-CiZ-dp-b.js";
|
|
12
|
+
import { d as summaryStep, h as FormRouterContext } from "./CountryField-XyMQgLEa.js";
|
|
13
13
|
import { jsx } from "preact/jsx-runtime";
|
|
14
14
|
const trackNavigation = ({
|
|
15
15
|
userEvents,
|
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, am as getCapabilityProblems, g as getLegalEntityCountry, N as createLogger, b as useApiContext, an as hasText, ao as isValidMinLength, ap as matchesRegex, a9 as isEmpty, aq as NO_ALPHABET_REGEX, ar as EMOJI_REGEX, as as hasRepeatedCharacters, at as isInvalidName, au as OTHER_ENTITIES_VALID_CHAR_REGEX, av as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aw as standardKatakanaValidator, ax as standardKanjiValidator, U as useAnalyticsContext, a as useTranslation, L as Loader } from "./StoreProvider-
|
|
10
|
+
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, am as getCapabilityProblems, g as getLegalEntityCountry, N as createLogger, b as useApiContext, an as hasText, ao as isValidMinLength, ap as matchesRegex, a9 as isEmpty, aq as NO_ALPHABET_REGEX, ar as EMOJI_REGEX, as as hasRepeatedCharacters, at as isInvalidName, au as OTHER_ENTITIES_VALID_CHAR_REGEX, av as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aw as standardKatakanaValidator, ax as standardKanjiValidator, U as useAnalyticsContext, a as useTranslation, L as Loader } from "./StoreProvider-CiZ-dp-b.js";
|
|
11
11
|
import { useContext, useMemo, useRef, useState, useEffect } from "preact/hooks";
|
|
12
12
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
13
13
|
import { createContext } from "preact";
|
|
14
|
-
import { a as Alert } from "./Alert-
|
|
14
|
+
import { a as Alert } from "./Alert-TryjgqmO.js";
|
|
15
15
|
import cx from "classnames";
|
|
16
|
-
import { d as debouncedInputEvent } from "./analytics-
|
|
17
|
-
import { c as convertFullToHalf } from "./InputText-
|
|
16
|
+
import { d as debouncedInputEvent } from "./analytics-VGKSXUs3.js";
|
|
17
|
+
import { c as convertFullToHalf } from "./InputText-BXjA-CEb.js";
|
|
18
18
|
import { Suspense } from "preact/compat";
|
|
19
|
-
import { b as useId } from "./useForm-
|
|
20
|
-
import { R as Radio } from "./CountryField-
|
|
19
|
+
import { b as useId } from "./useForm-B9xiR6rk.js";
|
|
20
|
+
import { R as Radio } from "./CountryField-XyMQgLEa.js";
|
|
21
21
|
const useCapabilityProblems = () => {
|
|
22
22
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
23
23
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { y as LegalEntityTypes, a6 as getOwnEntityAssociations } from "./StoreProvider-
|
|
10
|
+
import { y as LegalEntityTypes, a6 as getOwnEntityAssociations } from "./StoreProvider-CiZ-dp-b.js";
|
|
11
11
|
const getIndividualLegalEntityName = (legalEntityResponse) => {
|
|
12
12
|
if (!legalEntityResponse || !legalEntityResponse?.individual) return "";
|
|
13
13
|
return `${legalEntityResponse.individual?.name?.firstName ?? ""} ${legalEntityResponse.individual?.name?.lastName ?? ""}`;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { az as entriesOf, af as objectsDeepEqual } from "./StoreProvider-
|
|
10
|
+
import { az as entriesOf, af as objectsDeepEqual } from "./StoreProvider-CiZ-dp-b.js";
|
|
11
11
|
const hasDataChanged = (initialData, currentData) => entriesOf(currentData ?? {}).some(([key, value]) => {
|
|
12
12
|
if (typeof value === "object") {
|
|
13
13
|
return !objectsDeepEqual(value, initialData?.[key]);
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { ay as cloneObject, N as createLogger, by as isString, k as httpPost } from "./StoreProvider-
|
|
11
|
-
import { i as isValueObscured } from "./MaskedInput-
|
|
10
|
+
import { ay as cloneObject, N as createLogger, by as isString, k as httpPost } from "./StoreProvider-CiZ-dp-b.js";
|
|
11
|
+
import { i as isValueObscured } from "./MaskedInput-Nyf8vcDx.js";
|
|
12
12
|
import { g as getProp, d as deleteProp } from "./utils-DNSfZiio.js";
|
|
13
|
-
import { A as AdyenKycSdkError } from "./mapExistingFile-
|
|
13
|
+
import { A as AdyenKycSdkError } from "./mapExistingFile-d1IBaXjL.js";
|
|
14
14
|
const omitObscuredFieldsIfUnchanged = (obscuredFields, dataSubmitted, savedData) => {
|
|
15
15
|
if (!dataSubmitted) {
|
|
16
16
|
return;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aD as keysOf } from "./StoreProvider-
|
|
10
|
+
import { aD as keysOf } from "./StoreProvider-CiZ-dp-b.js";
|
|
11
11
|
const isEmpty = (obj, ignoreEmptyProperties = true) => {
|
|
12
12
|
if (obj === null || obj === void 0) return true;
|
|
13
13
|
if (Array.isArray(obj)) return obj.length === 0;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { N as createLogger } from "./StoreProvider-
|
|
10
|
+
import { N as createLogger } from "./StoreProvider-CiZ-dp-b.js";
|
|
11
11
|
const localizeDateString = (dateString, locale, options) => {
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const formatOptions = {
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useEffect, useState, useMemo } from "preact/hooks";
|
|
11
|
-
import { u as useScenarios } from "./useScenarios-
|
|
12
|
-
import { a8 as CountryCodes, N as createLogger, a as useTranslation, V as Icon } from "./StoreProvider-
|
|
11
|
+
import { u as useScenarios } from "./useScenarios-DzBi2C-3.js";
|
|
12
|
+
import { a8 as CountryCodes, N as createLogger, a as useTranslation, V as Icon } from "./StoreProvider-CiZ-dp-b.js";
|
|
13
13
|
import { signal } from "@preact/signals";
|
|
14
14
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
15
15
|
import cx from "classnames";
|
|
16
16
|
import { lazy } from "preact/compat";
|
|
17
|
-
import { I as Image } from "./fieldConfigurations-
|
|
17
|
+
import { I as Image } from "./fieldConfigurations-D1NqrGgr.js";
|
|
18
18
|
class AdyenKycSdkError extends Error {
|
|
19
19
|
sourceError;
|
|
20
20
|
constructor(message, sourceError) {
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, o as httpGet, X as useExperimentsContext, a8 as CountryCodes } from "./StoreProvider-
|
|
11
|
-
import { u as useSetting } from "./bafinUtils-
|
|
12
|
-
import { u as useCapabilities } from "./TaxInformationField-
|
|
10
|
+
import { b as useApiContext, j as useQuery, o as httpGet, X as useExperimentsContext, a8 as CountryCodes } from "./StoreProvider-CiZ-dp-b.js";
|
|
11
|
+
import { u as useSetting } from "./bafinUtils-rVLqT7tm.js";
|
|
12
|
+
import { u as useCapabilities } from "./TaxInformationField-B8mQXSpZ.js";
|
|
13
13
|
const getSupportedCountries = async (legalEntityId, baseUrl) => {
|
|
14
14
|
return httpGet({
|
|
15
15
|
baseUrl,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, q as skipToken, o as httpGet, bz as payoutComponentKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, q as skipToken, o as httpGet, bz as payoutComponentKeyMapping } from "./StoreProvider-CiZ-dp-b.js";
|
|
11
11
|
import { m as mapWith } from "./utils-DNSfZiio.js";
|
|
12
12
|
const getTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
|
|
13
13
|
return httpGet({
|
|
@@ -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] = "b7899803-971b-46ca-adb4-2e43a792a5c0", e._sentryDebugIdIdentifier = "sentry-dbid-b7899803-971b-46ca-adb4-2e43a792a5c0");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { aP as refreshSession, B as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-
|
|
11
|
+
import { aP as refreshSession, B as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-CiZ-dp-b.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
13
|
const sheet = new CSSStyleSheet();
|
|
14
14
|
const stylesheets = [sheet];
|
|
@@ -56,7 +56,7 @@ const EmbedShell = ({
|
|
|
56
56
|
experiments,
|
|
57
57
|
refreshExperiments,
|
|
58
58
|
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
59
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.82.
|
|
59
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.82.3" }),
|
|
60
60
|
/* @__PURE__ */ jsx(
|
|
61
61
|
AnalyticsProvider,
|
|
62
62
|
{
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a8 as CountryCodes, b9 as allowedCountriesForNominee, ak as DecisionMakerTypes, M as TaskTypes, al as Scenarios } from "./StoreProvider-
|
|
11
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
10
|
+
import { a8 as CountryCodes, b9 as allowedCountriesForNominee, ak as DecisionMakerTypes, M as TaskTypes, al as Scenarios } from "./StoreProvider-CiZ-dp-b.js";
|
|
11
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-Du8tQ9jO.js";
|
|
12
12
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
13
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
13
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-CE3nKLt4.js";
|
|
14
14
|
const REQUIRED = "REQUIRED";
|
|
15
15
|
const OPTIONAL = "OPTIONAL";
|
|
16
16
|
const SOLE_PROP_COUNTRIES = [
|
package/dist/style.css
CHANGED
|
@@ -4535,33 +4535,12 @@ input.adyen-kyc-radio-group-card__radio--floating {
|
|
|
4535
4535
|
}.adyen-kyc-settlor-exemption-reasons-list {
|
|
4536
4536
|
list-style-position: inside;
|
|
4537
4537
|
padding: 0;
|
|
4538
|
-
}.adyen-kyc-trust-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
margin-bottom: var(--adyen-sdk-spacer-070, 16px);
|
|
4542
|
-
width: 80%;
|
|
4543
|
-
}
|
|
4544
|
-
.adyen-kyc-trust-members__tag {
|
|
4545
|
-
margin-top: var(--adyen-sdk-spacer-040, 8px);
|
|
4546
|
-
width: fit-content;
|
|
4547
|
-
}
|
|
4548
|
-
.adyen-kyc-trust-members__add {
|
|
4549
|
-
color: var(--adyen-sdk-color-label-highlight, #0f75dc);
|
|
4550
|
-
width: 100%;
|
|
4538
|
+
}.adyen-kyc-trust-members .add-owner-alert {
|
|
4539
|
+
margin-top: var(--adyen-sdk-spacer-080);
|
|
4540
|
+
padding: 0 1rem;
|
|
4551
4541
|
}
|
|
4552
|
-
.adyen-kyc-trust-
|
|
4553
|
-
|
|
4554
|
-
}
|
|
4555
|
-
.adyen-kyc-trust-members__add--more.adyen-kyc-button.adyen-kyc-button--secondary {
|
|
4556
|
-
background-color: transparent;
|
|
4557
|
-
border: var(--adyen-sdk-border-default-s);
|
|
4558
|
-
border-top: 0;
|
|
4559
|
-
border-top-left-radius: 0;
|
|
4560
|
-
border-top-right-radius: 0;
|
|
4561
|
-
box-shadow: none;
|
|
4562
|
-
height: 48px;
|
|
4563
|
-
margin-top: calc(var(--adyen-sdk-spacer-020, 4px) * -1);
|
|
4564
|
-
padding-top: var(--adyen-sdk-spacer-020, 4px);
|
|
4542
|
+
.adyen-kyc-trust-members .add-owner-alert > div {
|
|
4543
|
+
align-items: center;
|
|
4565
4544
|
}.adyen-kyc-entity-status__container {
|
|
4566
4545
|
display: flex;
|
|
4567
4546
|
flex-direction: row;
|
package/dist/styles-CLV89_hH.js
CHANGED
|
@@ -4544,33 +4544,12 @@ input.adyen-kyc-radio-group-card__radio--floating {
|
|
|
4544
4544
|
}.adyen-kyc-settlor-exemption-reasons-list {
|
|
4545
4545
|
list-style-position: inside;
|
|
4546
4546
|
padding: 0;
|
|
4547
|
-
}.adyen-kyc-trust-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
margin-bottom: var(--adyen-sdk-spacer-070, 16px);
|
|
4551
|
-
width: 80%;
|
|
4552
|
-
}
|
|
4553
|
-
.adyen-kyc-trust-members__tag {
|
|
4554
|
-
margin-top: var(--adyen-sdk-spacer-040, 8px);
|
|
4555
|
-
width: fit-content;
|
|
4556
|
-
}
|
|
4557
|
-
.adyen-kyc-trust-members__add {
|
|
4558
|
-
color: var(--adyen-sdk-color-label-highlight, #0f75dc);
|
|
4559
|
-
width: 100%;
|
|
4547
|
+
}.adyen-kyc-trust-members .add-owner-alert {
|
|
4548
|
+
margin-top: var(--adyen-sdk-spacer-080);
|
|
4549
|
+
padding: 0 1rem;
|
|
4560
4550
|
}
|
|
4561
|
-
.adyen-kyc-trust-
|
|
4562
|
-
|
|
4563
|
-
}
|
|
4564
|
-
.adyen-kyc-trust-members__add--more.adyen-kyc-button.adyen-kyc-button--secondary {
|
|
4565
|
-
background-color: transparent;
|
|
4566
|
-
border: var(--adyen-sdk-border-default-s);
|
|
4567
|
-
border-top: 0;
|
|
4568
|
-
border-top-left-radius: 0;
|
|
4569
|
-
border-top-right-radius: 0;
|
|
4570
|
-
box-shadow: none;
|
|
4571
|
-
height: 48px;
|
|
4572
|
-
margin-top: calc(var(--adyen-sdk-spacer-020, 4px) * -1);
|
|
4573
|
-
padding-top: var(--adyen-sdk-spacer-020, 4px);
|
|
4551
|
+
.adyen-kyc-trust-members .add-owner-alert > div {
|
|
4552
|
+
align-items: center;
|
|
4574
4553
|
}.adyen-kyc-entity-status__container {
|
|
4575
4554
|
display: flex;
|
|
4576
4555
|
flex-direction: row;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { createElement, isValidElement, cloneElement, Children, Fragment, useContext } from "preact/compat";
|
|
11
|
-
import { aI as warnOnce, aJ as getI18n, aK as getDefaults, aL as isString, aM as warn, aN as isObject, aO as I18nContext } from "./StoreProvider-
|
|
11
|
+
import { aI as warnOnce, aJ as getI18n, aK as getDefaults, aL as isString, aM as warn, aN as isObject, aO as I18nContext } from "./StoreProvider-CiZ-dp-b.js";
|
|
12
12
|
const __variableDynamicImportRuntimeHelper = (glob$1, path$13, segs) => {
|
|
13
13
|
const v = glob$1[path$13];
|
|
14
14
|
if (v) return typeof v === "function" ? v() : Promise.resolve(v);
|
|
@@ -7,6 +7,7 @@ export declare const COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION: CountryCo
|
|
|
7
7
|
export declare const COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_ORGANIZATIONS: CountryCode[];
|
|
8
8
|
export declare const COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS: CountryCode[];
|
|
9
9
|
export declare const COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER: CountryCode[];
|
|
10
|
+
export declare const COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS: CountryCode[];
|
|
10
11
|
/**
|
|
11
12
|
* Also used to determine what documenttype needs to be used
|
|
12
13
|
* when uploading tax document in mapping.ts
|
|
@@ -7,22 +7,7 @@ export interface NavigationProps {
|
|
|
7
7
|
}
|
|
8
8
|
export declare const useTrustMemberNavigation: ({ navigateTo, trust }: NavigationProps) => {
|
|
9
9
|
trustMember: TrustMember | undefined;
|
|
10
|
-
|
|
11
|
-
documentDetails?: import("../../../core/models/api/document").DocumentDetail[] | undefined;
|
|
12
|
-
entityAssociations?: import("../../../core/models/api/legal-entity-association").LegalEntityAssociation[] | undefined;
|
|
13
|
-
individual?: import("../../../core/models/api/individual").Individual | undefined;
|
|
14
|
-
organization?: import("../../../core/models/api/organization").Organization | undefined;
|
|
15
|
-
soleProprietorship?: import("../../../core/models/api/sole-proprietor").SoleProprietor | undefined;
|
|
16
|
-
trust?: import("../../../core/models/api/trust").Trust | undefined;
|
|
17
|
-
unincorporatedPartnership?: import("../../../core/models/api/unincorporated-partnership").UnincorporatedPartnership | undefined;
|
|
18
|
-
capabilities?: Partial<Record<import("../../../core/models/api/capability").CapabilityName, import("../../../core/models/api/capability").Capability>> | undefined;
|
|
19
|
-
problems?: import("../../../core/models/api/problem").Problem[] | undefined;
|
|
20
|
-
transferInstruments?: import("../../../core/models/api/transfer-instrument").TransferInstrumentOverview[] | undefined;
|
|
21
|
-
trustedFields?: import("../../../core/models/api/legal-entity").LegalEntityTrustedFields[] | undefined;
|
|
22
|
-
id: string;
|
|
23
|
-
type: import("../../../core/models/api/legal-entity-type").LegalEntityType;
|
|
24
|
-
} | undefined;
|
|
25
|
-
currentTrustMemberId: string | undefined;
|
|
10
|
+
trustMemberId: string | undefined;
|
|
26
11
|
trustMembers: TrustMember[];
|
|
27
12
|
onNavigateToTrust: (task?: TaskType) => Promise<void>;
|
|
28
13
|
onNavigateToTrustMemberRoleAndType: (tm: TrustMember | "new") => void;
|
|
@@ -6,11 +6,13 @@ import type { LegalEntityType } from './models/api/legal-entity-type';
|
|
|
6
6
|
import type { VerificationError } from './models/api/verification-error';
|
|
7
7
|
import type { Remediation } from '../types/errors/remediation';
|
|
8
8
|
import type { FormList } from '../types/form';
|
|
9
|
-
import type { FormConfiguration, FormConfigurationWithoutRules, PerScenarioFormConfiguration } from '../types/form-configuration';
|
|
9
|
+
import type { FieldSettings, FormConfiguration, FormConfigurationWithoutRules, PerScenarioFormConfiguration } from '../types/form-configuration';
|
|
10
10
|
import type { FormRules } from '../types/form-rules';
|
|
11
11
|
import type { AnyTLDSFieldName } from '../utils/getFieldsWithExistingData';
|
|
12
12
|
export declare const composePerScenarioFormConfigurations: <TLDS extends TopLevelDataSchema>(scenarios: Scenario[] | undefined, configurations: PerScenarioFormConfiguration<TLDS, string>) => FormConfiguration<TLDS, string>;
|
|
13
13
|
export declare const augmentWithCountryConfigs: <OuterFormSchema extends TopLevelDataSchema>(countrySpecificConfig: FormConfigurationWithoutRules<OuterFormSchema> | undefined, baseFormConfig: FormConfiguration<OuterFormSchema, string>) => FormConfiguration<OuterFormSchema, string>;
|
|
14
|
+
export declare const isFieldRequired: (fieldSettings: FieldSettings<string>, customRules: FormRules<string>) => boolean;
|
|
15
|
+
export declare const isFieldOptional: (fieldSettings: FieldSettings<string>, customRules: FormRules<string>) => boolean;
|
|
14
16
|
export type PropsFromConfiguration<OuterFormSchema> = Required<Pick<BaseOuterFormProps<OuterFormSchema>, 'allFields' | 'requiredFields' | 'optionalFields' | 'obscuredFields' | 'trustedFields'>>;
|
|
15
17
|
/**
|
|
16
18
|
* function: getPropsFromScenarios
|
|
@@ -65,3 +67,4 @@ customRules, legalEntityType, legalEntityTrustedFields, remediationFieldAsOption
|
|
|
65
67
|
remediationFieldAsOptional?: boolean;
|
|
66
68
|
}): PropsFromConfiguration<OuterFormSchema> | undefined;
|
|
67
69
|
export declare const makeTLDSFieldName: (formId: string, fieldName: string) => AnyTLDSFieldName;
|
|
70
|
+
export declare const isFieldRequiredToRemediateDataMissingError: (formId: string, field: string, dataMissingErrors: VerificationError[]) => boolean;
|
|
@@ -1,8 +1,32 @@
|
|
|
1
1
|
import type { TopLevelDataSchema } from '../context/StateContext/types';
|
|
2
|
+
import type { VerificationError } from '../core/models/api/verification-error';
|
|
3
|
+
import type { FormConfiguration } from '../types/form-configuration';
|
|
2
4
|
import type { FormRules } from '../types/form-rules';
|
|
3
5
|
import type { AnyTLDSFieldName } from './getFieldsWithExistingData';
|
|
4
|
-
export declare const linkedFieldsMap: Partial<Record<AnyTLDSFieldName, AnyTLDSFieldName>>;
|
|
5
|
-
|
|
6
|
+
export declare const linkedFieldsMap: Partial<Record<AnyTLDSFieldName, AnyTLDSFieldName[]>>;
|
|
7
|
+
interface CalculateLinkedRequiredFieldsOptions<OuterFormSchema extends TopLevelDataSchema> {
|
|
8
|
+
field: Extract<keyof OuterFormSchema[keyof OuterFormSchema], string>;
|
|
9
|
+
formId: Extract<keyof OuterFormSchema, string>;
|
|
10
|
+
customRules: FormRules<string>;
|
|
11
|
+
scenarioConfiguration: FormConfiguration<OuterFormSchema, string>;
|
|
12
|
+
dataMissingErrors: VerificationError[];
|
|
13
|
+
formFieldsWithExistingData: string[];
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* This function is used to process fields linked to other fields that have custom rules that can return either REQUIRED or OPTIONAL
|
|
17
|
+
* depending on the value of their links. An example of this is the Vat number, this will be REQUIRED when exemption is false but OPTIONAL when exemption is true.
|
|
18
|
+
* This needs to be done due to functions like isFieldRequiredToRemediateDataMissingError, which do not take into account the custom rules and instead mark
|
|
19
|
+
* these fields as required regardless of the rule.
|
|
20
|
+
*
|
|
21
|
+
* @param field - Field being processed
|
|
22
|
+
* @param formId - Form this field is associated to
|
|
23
|
+
* @param customRules - The rules associated to the form flow
|
|
24
|
+
* @param scenarioConfiguration - The static configuration returned from the scenario, i.e. L1, L, etc
|
|
25
|
+
* @param dataMissingErrors - Missing data problems on the LE response
|
|
26
|
+
* @param formFieldsWithExistingData - The current fields that have existing data within the LE response
|
|
27
|
+
*/
|
|
28
|
+
export declare function calculateLinkedRequiredFields<OuterFormSchema extends TopLevelDataSchema>({ field, formId, customRules, scenarioConfiguration, dataMissingErrors, formFieldsWithExistingData, }: CalculateLinkedRequiredFieldsOptions<OuterFormSchema>): {
|
|
6
29
|
isRequiredFromLinkedField: boolean;
|
|
7
30
|
isOptionalFromLinkedField: boolean;
|
|
8
31
|
};
|
|
32
|
+
export {};
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a8 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { a8 as CountryCodes } from "./StoreProvider-CiZ-dp-b.js";
|
|
11
11
|
import { C as Currencies } from "./currency-BGwQyxBo.js";
|
|
12
12
|
const currencyByCountry = {
|
|
13
13
|
[CountryCodes.Australia]: [Currencies.AUD],
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { N as createLogger, c as useLegalEntity, q as skipToken } from "./StoreProvider-
|
|
11
|
+
import { N as createLogger, c as useLegalEntity, q as skipToken } from "./StoreProvider-CiZ-dp-b.js";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
14
14
|
const matchingAssociation = useMemo(() => {
|