@adyen/kyc-components 3.83.0-beta.4 → 3.83.0
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-U_NPuyLC.js → AcceptTermsOfServiceComponent-DuGvxDCD.js} +13 -13
- package/dist/{AccountSetupRejected-Dwj0EMot.js → AccountSetupRejected-WRvC8Lhx.js} +4 -4
- package/dist/{Address-CYqQ6PG-.js → Address-DzNHaLQd.js} +7 -7
- package/dist/{Alert-DboBZhbx.js → Alert-Ce3pDSUY.js} +1 -1
- package/dist/{Avatar-BPeSrrbs.js → Avatar-ERL8LlcN.js} +1 -1
- package/dist/{BusinessDetailsDropin-Cn0uz_za.js → BusinessDetailsDropin-CdWljVO6.js} +31 -31
- package/dist/{BusinessFinancingComponent-D23snz22.js → BusinessFinancingComponent-BdV2XNEs.js} +4 -4
- package/dist/{BusinessFinancingDropin-BDErXKoc.js → BusinessFinancingDropin-R940kp66.js} +19 -19
- package/dist/{BusinessFinancingPage-BI1tPEeY.js → BusinessFinancingPage-CutMOZIo.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-B2LPeavN.js → BusinessTypeSelectionPage-Dn1P9vc8.js} +6 -6
- package/dist/{Card-DU1lfJfp.js → Card-Cma0bwYR.js} +3 -3
- package/dist/{CountryField-CrtpVB_n.js → CountryField-DrB-OFMR.js} +4 -4
- package/dist/{CreateIndividualComponent-r_OpiYob.js → CreateIndividualComponent-DcwNaN_i.js} +5 -5
- package/dist/{CreateTransferInstrumentComponent-BFPhV8mX.js → CreateTransferInstrumentComponent-BFYc-5Zc.js} +5 -5
- package/dist/{Currency-DFBot4bR.js → Currency-DD63TDvu.js} +5 -5
- package/dist/{CustomerSupport-B_uawDCw.js → CustomerSupport-Cs9YbnBI.js} +7 -7
- package/dist/{DebugModal-BE_lhuo2.js → DebugModal-AFNn6VI2.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-WrzBZj1Q.js → DecisionMakerDetailsPage-CUAalT7g.js} +6 -6
- package/dist/{DecisionMakers-D9_9I2Qi.js → DecisionMakers-c18dspZ1.js} +17 -17
- package/dist/{Dropzone-XuYR55y5.js → Dropzone-DXfuqm2D.js} +3 -3
- package/dist/{EmbeddedStatus-xhFHAU08.js → EmbeddedStatus-BjGURjyl.js} +2 -2
- package/dist/{EndStateLayout-C8Sv6-Xq.js → EndStateLayout-BuVgF0ER.js} +1 -1
- package/dist/{FormNavigation-DljCHmGW.js → FormNavigation-DXaxaf1-.js} +2 -2
- package/dist/{IndividualOnfidoDropin-BwrpckMb.js → IndividualOnfidoDropin-fERsTakw.js} +34 -34
- package/dist/{InputDate-CdJ0pzDe.js → InputDate-By5i2Hlf.js} +1 -1
- package/dist/{InputText-DQ3qPAmC.js → InputText-CqLs_M75.js} +2 -2
- package/dist/{Introduction-8c2vbGQ9.js → Introduction-3UWByITz.js} +4 -4
- package/dist/{JpAddress-d7KksDs6.js → JpAddress-C0iTeXx7.js} +7 -7
- package/dist/{LegalRepresentativeDetailsPage-DgJIo3a_.js → LegalRepresentativeDetailsPage-DSppGGc6.js} +4 -4
- package/dist/{Link-DKejqu28.js → Link-CaxhkJ24.js} +1 -1
- package/dist/{ManageIndividualComponent-BCJfrgNs.js → ManageIndividualComponent-DBe5ValD.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-DtjluOyv.js → ManageTermsOfServiceComponent-5GHjPbHb.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-BaQm96XQ.js → ManageTransferInstrumentComponent-muOE0ZjV.js} +11 -11
- package/dist/{MaskedInput-DDUGWXNt.js → MaskedInput-OYLtVOZ6.js} +4 -4
- package/dist/{Modal-BdN0p4Fw.js → Modal-BaaNj5F-.js} +1 -1
- package/dist/{OnboardingDropinComponent-C0ZySAyD.js → OnboardingDropinComponent-DIf93Tzb.js} +44 -44
- package/dist/{PayoutDetailsDropin-Dp2Si5IF.js → PayoutDetailsDropin-DIJbRfg_.js} +22 -22
- package/dist/{RadioGroup-Cwa-AhrM.js → RadioGroup-QZCH1TCn.js} +5 -5
- package/dist/{RegistrationAddress-B6tE2BHM.js → RegistrationAddress-CbElOOZ6.js} +12 -12
- package/dist/{Review-Db4B-JKH.js → Review-1Y__iPB0.js} +6 -6
- package/dist/{RootBusinessDetailsPage-FD8T1UXX.js → RootBusinessDetailsPage-Cy5mUuKv.js} +23 -23
- package/dist/{RootIndividualDetailsPage-DlB2sBMN.js → RootIndividualDetailsPage-BVr2fbYb.js} +4 -4
- package/dist/{SignPCIComponent-_tHvca5C.js → SignPCIComponent-BcR2vNVB.js} +8 -8
- package/dist/{SingpassSelection-ZxVyzjPN.js → SingpassSelection-DDG-DpRN.js} +3 -3
- package/dist/{SoleProprietorshipPage-ChnCCbMI.js → SoleProprietorshipPage-XnNdoc8n.js} +4 -4
- package/dist/{SourceOfFundsPage-pG3y6Zv1.js → SourceOfFundsPage-DF3muJcW.js} +25 -25
- package/dist/{StepProgressIndicator-DbwR3T7b.js → StepProgressIndicator-BUDjmmPK.js} +1 -1
- package/dist/{StoreProvider-Bfjj1oeb.js → StoreProvider-DGxWcgrS.js} +4 -4
- package/dist/{TaskItemStatus-BECpwL4B.js → TaskItemStatus-Clfh9v2q.js} +2 -2
- package/dist/{TaskStatusIndicator-MkCtTIjh.js → TaskStatusIndicator-CEZcV_gi.js} +1 -1
- package/dist/{TaxInformationField-BB5escZL.js → TaxInformationField-Bu8s2JZA.js} +13 -13
- package/dist/{TaxReportingDropin-BTlodTuf.js → TaxReportingDropin-C1aPbXfp.js} +15 -15
- package/dist/{TileGroup-DZysYpUR.js → TileGroup-AskMVW9b.js} +3 -3
- package/dist/{TrustDetailsPage-P_rvs5ep.js → TrustDetailsPage-S0YwnBAx.js} +21 -21
- package/dist/{TrustMemberCompanyPage-Cx6NWouI.js → TrustMemberCompanyPage-DVm9LzCY.js} +5 -5
- package/dist/{TrustMemberIndividualPage-C0kNS5vz.js → TrustMemberIndividualPage-BqncnJnj.js} +4 -4
- package/dist/{UnincorporatedPartnershipIndividualPage-G9XIHAs_.js → UnincorporatedPartnershipIndividualPage-B_fmnaes.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DbZYi4f1.js → UnincorporatedPartnershipMemberCompanyPage-DMBIT2KR.js} +5 -5
- package/dist/{ViewVerificationStatusComponent-Cv8hgp2l.js → ViewVerificationStatusComponent-CivzRszd.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-kyc-components.js +21 -21
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{analytics-BCO_IWtF.js → analytics-B9jlnux-.js} +1 -1
- package/dist/{bafinUtils-6_NIDQna.js → bafinUtils-BJao1Xb_.js} +5 -5
- package/dist/{fieldConfigurations-CHwTlkiu.js → fieldConfigurations-BzmPcPW1.js} +6 -6
- package/dist/{getName-Dr73kL4i.js → getName-DN1hhEuf.js} +1 -1
- package/dist/{hasDataChanged-BAk8dHDV.js → hasDataChanged-Di3pJ9RD.js} +1 -1
- package/dist/{iframeWidget-gc7dSS0B.js → iframeWidget-CdgdGJSA.js} +3 -3
- package/dist/{isEmpty-AgkhmgYF.js → isEmpty-Cg1sEY56.js} +1 -1
- package/dist/{localizeDateString-Dszy5EOy.js → localizeDateString-CjJb5ip4.js} +1 -1
- package/dist/{mapExistingFile-C1XnnH72.js → mapExistingFile-Dww-3m9M.js} +3 -3
- package/dist/{mapScriptLocalization-ClIxnkzy.js → mapScriptLocalization-BXWQCCfg.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-B0bbJMAW.js → mapTransferInstrumentToPayoutAccount-NoTqg5NI.js} +1 -1
- package/dist/{resolveEnvironment-BORrsNWm.js → resolveEnvironment-DTf0YGQw.js} +3 -3
- package/dist/{rules-CWJ-TO4b.js → rules-4TEUMKya.js} +4 -4
- package/dist/{translation-BnPn4rau.js → translation-C21WMjvq.js} +1 -1
- package/dist/{types-CC3L149y.js → types-Dsz7b4S_.js} +1 -1
- package/dist/{types-Cd9Wlt2X.js → types-IWh9Nm-W.js} +1 -1
- package/dist/{useAssociatedLegalEntity-C-jDsnsC.js → useAssociatedLegalEntity-CPl7E0oh.js} +1 -1
- package/dist/{useDataset-7zO1Y3e3.js → useDataset-CYBhIC5y.js} +2 -2
- package/dist/{useForm-DdwLQDnp.js → useForm-NtB5fMq5.js} +3 -3
- package/dist/{useGlobalData-C4X72yOd.js → useGlobalData-COgPG9qd.js} +7 -7
- package/dist/{useOnboardingStatus-Dv_jauOB.js → useOnboardingStatus-B8yCxKXz.js} +1 -1
- package/dist/{useScenarios-tiBs4ada.js → useScenarios-DesE_Dem.js} +1 -1
- package/dist/{useTermsOfServiceStatus-BLzR1GEK.js → useTermsOfServiceStatus-qtseJuA8.js} +1 -1
- package/dist/{useToastContext-Bf_7KGTh.js → useToastContext-D4w2gBxd.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-Uwht7f0V.js → useUnincorporatedPartnershipMembers-FOg1r690.js} +4 -4
- package/dist/{utils-DvjlMOCK.js → utils-B1i9qK_1.js} +6 -6
- package/dist/{utils-DYTQFzIm.js → utils-BMvr9mIu.js} +1 -1
- package/dist/{utils-DVHs4xQp.js → utils-BnQGsYPp.js} +1 -1
- package/dist/{validate-CTp1rjgx.js → validate-BiuAh7Ub.js} +1 -1
- package/dist/{validate-qIlTjb2H.js → validate-C6-L7Vfa.js} +2 -2
- package/dist/{validate-BIGoa9Z7.js → validate-anwsdbQz.js} +6 -6
- package/dist/{validationError-DEGPWFTr.js → validationError-zbgp4iB7.js} +1 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { a as useTranslation, x as Typography } from "./StoreProvider-
|
|
12
|
+
import { a as useTranslation, x as Typography } from "./StoreProvider-DGxWcgrS.js";
|
|
13
13
|
const range = (stop, start = 0, step = 1) => Array.from({ length: (stop - start) / step + 1 }, (_, i) => start + i * step);
|
|
14
14
|
const progressBar = "adyen-kyc-progress-bar";
|
|
15
15
|
const progressBarThick = "adyen-kyc-progress-bar-thick";
|
|
@@ -2,7 +2,7 @@
|
|
|
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] = "aa6a7dc0-bd52-4a7d-bdf4-04ecd6496388", e._sentryDebugIdIdentifier = "sentry-dbid-aa6a7dc0-bd52-4a7d-bdf4-04ecd6496388");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -6430,7 +6430,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
|
|
|
6430
6430
|
};
|
|
6431
6431
|
};
|
|
6432
6432
|
const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
|
|
6433
|
-
const sdkVersion = "3.83.0
|
|
6433
|
+
const sdkVersion = "3.83.0";
|
|
6434
6434
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
6435
6435
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
6436
6436
|
useEffect$1(() => {
|
|
@@ -6470,7 +6470,7 @@ const AnalyticsProvider = ({
|
|
|
6470
6470
|
const userEvents2 = useMemo(() => createUserEvents(), []);
|
|
6471
6471
|
const onboardingVersion = isLoading ? void 0 : isError ? 1 : versionData?.version;
|
|
6472
6472
|
const sessionData = {
|
|
6473
|
-
sdkVersion: "3.83.0
|
|
6473
|
+
sdkVersion: "3.83.0",
|
|
6474
6474
|
componentName,
|
|
6475
6475
|
userAgent: navigator.userAgent,
|
|
6476
6476
|
legalEntityId: rootLegalEntityId,
|
|
@@ -6873,7 +6873,7 @@ function StateProvider({
|
|
|
6873
6873
|
);
|
|
6874
6874
|
return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children });
|
|
6875
6875
|
}
|
|
6876
|
-
const DebugModal = lazy(async () => (await import("./DebugModal-
|
|
6876
|
+
const DebugModal = lazy(async () => (await import("./DebugModal-AFNn6VI2.js")).DebugModal);
|
|
6877
6877
|
const DebugListener = () => {
|
|
6878
6878
|
const [debugUiOpen, setDebugUiOpen] = useState$1(false);
|
|
6879
6879
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { L as Loader, V as Icon, a as useTranslation, O as TaskStatuses } from "./StoreProvider-
|
|
13
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
12
|
+
import { L as Loader, V as Icon, a as useTranslation, O as TaskStatuses } from "./StoreProvider-DGxWcgrS.js";
|
|
13
|
+
import { K as KEYBOARD_KEYS } from "./Modal-BaaNj5F-.js";
|
|
14
14
|
const Status = ({ text, className, iconStatusClass, icon, size = "small" }) => {
|
|
15
15
|
const containerClasses = cx("adyen-kyc-status", className);
|
|
16
16
|
const iconClasses = cx("adyen-kyc-status__icon", iconStatusClass, {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { a as useTranslation, O as TaskStatuses } from "./StoreProvider-
|
|
12
|
+
import { a as useTranslation, O as TaskStatuses } from "./StoreProvider-DGxWcgrS.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";
|
|
@@ -7,22 +7,22 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bx as getNestedPropertyKeys, ag as objectsDeepEqual, a as useTranslation, c as useLegalEntity, R as ROOT_LE, aa as CountryCodes, y as LegalEntityTypes, M as TaskTypes, as as keysOf, X as useExperimentsContext } from "./StoreProvider-
|
|
10
|
+
import { bx as getNestedPropertyKeys, ag as objectsDeepEqual, a as useTranslation, c as useLegalEntity, R as ROOT_LE, aa as CountryCodes, y as LegalEntityTypes, M as TaskTypes, as as keysOf, X as useExperimentsContext } from "./StoreProvider-DGxWcgrS.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { memo } from "preact/compat";
|
|
13
13
|
import { useState, useRef, useEffect, useCallback, useMemo } from "preact/hooks";
|
|
14
|
-
import { a as useForm, F as Field, S as Select, C as Checkbox } from "./useForm-
|
|
15
|
-
import { c as createFormUtils, F as FormHeader, E as ErrorPanel } from "./CountryField-
|
|
16
|
-
import { T as TextArea, i as validatePatternOnBlur, e as validateNotEmptyOnBlur, c as createFormRules, a as useAccountHolder } from "./fieldConfigurations-
|
|
17
|
-
import { S as StateContextSetter } from "./validate-
|
|
18
|
-
import { D as DocumentGuidance, u as uppercase } from "./mapExistingFile-
|
|
19
|
-
import { D as Dropzone } from "./Dropzone-
|
|
20
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
21
|
-
import { m as makeMask, n as numericInputs, a as nonInputs, d as alphanumericInputs, c as customInputs, b as alphaInputs, s as spacer, M as MaskedInput } from "./MaskedInput-
|
|
22
|
-
import { S as SettingNames } from "./InputText-
|
|
23
|
-
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
24
|
-
import { i as isDateOlderThanAYear } from "./Address-
|
|
25
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
14
|
+
import { a as useForm, F as Field, S as Select, C as Checkbox } from "./useForm-NtB5fMq5.js";
|
|
15
|
+
import { c as createFormUtils, F as FormHeader, E as ErrorPanel } from "./CountryField-DrB-OFMR.js";
|
|
16
|
+
import { T as TextArea, i as validatePatternOnBlur, e as validateNotEmptyOnBlur, c as createFormRules, a as useAccountHolder } from "./fieldConfigurations-BzmPcPW1.js";
|
|
17
|
+
import { S as StateContextSetter } from "./validate-C6-L7Vfa.js";
|
|
18
|
+
import { D as DocumentGuidance, u as uppercase } from "./mapExistingFile-Dww-3m9M.js";
|
|
19
|
+
import { D as Dropzone } from "./Dropzone-DXfuqm2D.js";
|
|
20
|
+
import { C as CompanyTypesValues } from "./bafinUtils-BJao1Xb_.js";
|
|
21
|
+
import { m as makeMask, n as numericInputs, a as nonInputs, d as alphanumericInputs, c as customInputs, b as alphaInputs, s as spacer, M as MaskedInput } from "./MaskedInput-OYLtVOZ6.js";
|
|
22
|
+
import { S as SettingNames } from "./InputText-CqLs_M75.js";
|
|
23
|
+
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-BMvr9mIu.js";
|
|
24
|
+
import { i as isDateOlderThanAYear } from "./Address-DzNHaLQd.js";
|
|
25
|
+
import { R as RadioGroup } from "./RadioGroup-QZCH1TCn.js";
|
|
26
26
|
const getFieldsWithExistingData = (legalEntity, keyMapping, documentMapping, knownProblematicFields = []) => {
|
|
27
27
|
const apiFieldsWithExistingData = getNestedPropertyKeys(legalEntity);
|
|
28
28
|
const nonDocumentFields = apiFieldsWithExistingData.map((field) => keyMapping[field]).filter(Boolean).filter((field) => !knownProblematicFields.includes(field));
|
|
@@ -7,25 +7,25 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { T as Trans, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-
|
|
10
|
+
import { T as Trans, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-C21WMjvq.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
|
-
import { a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
14
|
-
import { b as useApiContext, j as useQuery, o as httpGet, x as Typography, a as useTranslation, u as useI18nContext, V as Icon, B as Button, P as IconButton, a7 as isEmpty$1, U as useAnalyticsContext, c as useLegalEntity, R as ROOT_LE, N as createLogger, L as Loader } from "./StoreProvider-
|
|
15
|
-
import { u as useFormContext, R as RadioGroup, d as useUpdateLegalEntity, a as useMultiForm, F as FormContextProvider, b as FormFlow } from "./RadioGroup-
|
|
16
|
-
import { l as getFormProps, g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./CountryField-
|
|
13
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-D4w2gBxd.js";
|
|
14
|
+
import { b as useApiContext, j as useQuery, o as httpGet, x as Typography, a as useTranslation, u as useI18nContext, V as Icon, B as Button, P as IconButton, a7 as isEmpty$1, U as useAnalyticsContext, c as useLegalEntity, R as ROOT_LE, N as createLogger, L as Loader } from "./StoreProvider-DGxWcgrS.js";
|
|
15
|
+
import { u as useFormContext, R as RadioGroup, d as useUpdateLegalEntity, a as useMultiForm, F as FormContextProvider, b as FormFlow } from "./RadioGroup-QZCH1TCn.js";
|
|
16
|
+
import { l as getFormProps, g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./CountryField-DrB-OFMR.js";
|
|
17
17
|
import { signal } from "@preact/signals";
|
|
18
|
-
import { F as Field } from "./useForm-
|
|
19
|
-
import { L as Link } from "./Link-
|
|
20
|
-
import { a as Alert } from "./Alert-
|
|
18
|
+
import { F as Field } from "./useForm-NtB5fMq5.js";
|
|
19
|
+
import { L as Link } from "./Link-CaxhkJ24.js";
|
|
20
|
+
import { a as Alert } from "./Alert-Ce3pDSUY.js";
|
|
21
21
|
import { lazy } from "preact/compat";
|
|
22
|
-
import { I as Image } from "./fieldConfigurations-
|
|
23
|
-
import { S as StructuredList } from "./useDataset-
|
|
24
|
-
import { T as TaskStatusIndicator } from "./TaskStatusIndicator-
|
|
25
|
-
import { L as LandingLayout } from "./bafinUtils-
|
|
26
|
-
import { C as Card } from "./Card-
|
|
27
|
-
import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-
|
|
28
|
-
import { i as isEmpty } from "./isEmpty-
|
|
22
|
+
import { I as Image } from "./fieldConfigurations-BzmPcPW1.js";
|
|
23
|
+
import { S as StructuredList } from "./useDataset-CYBhIC5y.js";
|
|
24
|
+
import { T as TaskStatusIndicator } from "./TaskStatusIndicator-CEZcV_gi.js";
|
|
25
|
+
import { L as LandingLayout } from "./bafinUtils-BJao1Xb_.js";
|
|
26
|
+
import { C as Card } from "./Card-Cma0bwYR.js";
|
|
27
|
+
import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-DIf93Tzb.js";
|
|
28
|
+
import { i as isEmpty } from "./isEmpty-Cg1sEY56.js";
|
|
29
29
|
const getTaxClassification = async (legalEntityId, baseUrl) => {
|
|
30
30
|
return httpGet({
|
|
31
31
|
baseUrl,
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { V as Icon, x as Typography, W as noop } from "./StoreProvider-
|
|
13
|
-
import { c as useId } from "./useForm-
|
|
12
|
+
import { V as Icon, x as Typography, W as noop } from "./StoreProvider-DGxWcgrS.js";
|
|
13
|
+
import { c as useId } from "./useForm-NtB5fMq5.js";
|
|
14
14
|
import { useRef } from "preact/hooks";
|
|
15
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
15
|
+
import { K as KEYBOARD_KEYS } from "./Modal-BaaNj5F-.js";
|
|
16
16
|
const tileContainer = "adyen-kyc-tile-container";
|
|
17
17
|
const tile = "adyen-kyc-tile";
|
|
18
18
|
const tileIcon = "adyen-kyc-tile-icon";
|
|
@@ -8,29 +8,29 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, Fragment, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { aV as reverseMapping, y as LegalEntityTypes, M as TaskTypes, aa as CountryCodes, at as hasText, au as isValidMinLength, av as matchesRegex, aw as NO_ALPHABET_REGEX, ax as EMOJI_REGEX, ay as hasRepeatedCharacters, az as isInvalidName, aA as OTHER_ENTITIES_VALID_CHAR_REGEX, a as useTranslation, u as useI18nContext, X as useExperimentsContext, x as Typography, bI as getCountrySpecificTrustTypeOptions, bJ as trustComponentsKeyMapping, bK as trustApiKeyMapping, b as useApiContext, U as useAnalyticsContext, bL as trustDocumentMapping, aE as cloneObject, g as getLegalEntityCountry, a7 as isEmpty$1, b3 as drop, a8 as getOwnEntityAssociations, c as useLegalEntity, q as skipToken, R as ROOT_LE, L as Loader, as as keysOf, J as EntityTypes } from "./StoreProvider-
|
|
12
|
-
import { c as createFormRules, e as validateNotEmptyOnBlur, r as resolveFieldMetadata, d as getPropsFromConfigurations, k as augmentWithCountryConfigs, j as composePerScenarioFormConfigurations, b as useCapabilityProblems, g as getProblemsForEntity } from "./fieldConfigurations-
|
|
13
|
-
import { l as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, d as TAX_INFORMATION_FIELD, t as taxInformationDefaultFieldMetadata, b as taxInformationDefaultFieldConfig, f as exemptedFromTaxDefaultFieldMetadata, h as exemptedFromTaxDefaultFieldConfig, T as TaxInformationField, g as getFieldsWithExistingData, m as getCompanyRegistrationNumberOptions, n as countryToTaxInfoTypeMap, u as useCapabilities } from "./TaxInformationField-
|
|
11
|
+
import { aV as reverseMapping, y as LegalEntityTypes, M as TaskTypes, aa as CountryCodes, at as hasText, au as isValidMinLength, av as matchesRegex, aw as NO_ALPHABET_REGEX, ax as EMOJI_REGEX, ay as hasRepeatedCharacters, az as isInvalidName, aA as OTHER_ENTITIES_VALID_CHAR_REGEX, a as useTranslation, u as useI18nContext, X as useExperimentsContext, x as Typography, bI as getCountrySpecificTrustTypeOptions, bJ as trustComponentsKeyMapping, bK as trustApiKeyMapping, b as useApiContext, U as useAnalyticsContext, bL as trustDocumentMapping, aE as cloneObject, g as getLegalEntityCountry, a7 as isEmpty$1, b3 as drop, a8 as getOwnEntityAssociations, c as useLegalEntity, q as skipToken, R as ROOT_LE, L as Loader, as as keysOf, J as EntityTypes } from "./StoreProvider-DGxWcgrS.js";
|
|
12
|
+
import { c as createFormRules, e as validateNotEmptyOnBlur, r as resolveFieldMetadata, d as getPropsFromConfigurations, k as augmentWithCountryConfigs, j as composePerScenarioFormConfigurations, b as useCapabilityProblems, g as getProblemsForEntity } from "./fieldConfigurations-BzmPcPW1.js";
|
|
13
|
+
import { l as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, d as TAX_INFORMATION_FIELD, t as taxInformationDefaultFieldMetadata, b as taxInformationDefaultFieldConfig, f as exemptedFromTaxDefaultFieldMetadata, h as exemptedFromTaxDefaultFieldConfig, T as TaxInformationField, g as getFieldsWithExistingData, m as getCompanyRegistrationNumberOptions, n as countryToTaxInfoTypeMap, u as useCapabilities } from "./TaxInformationField-Bu8s2JZA.js";
|
|
14
14
|
import { useMemo, useCallback, useEffect, useState, useRef } from "preact/hooks";
|
|
15
|
-
import { c as useCreateLegalEntity, d as useUpdateLegalEntity } from "./RadioGroup-
|
|
16
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
17
|
-
import { u as useGlobalDataSlice, c as useStateContext, F as FormWrapper } from "./useGlobalData-
|
|
18
|
-
import { u as useToastContext } from "./useToastContext-
|
|
19
|
-
import { g as getAssociatedLeAnalyticsPayload } from "./analytics-
|
|
20
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, F as FormHeader, E as ErrorPanel, C as CountryField, d as COUNTRY_FIELD, l as getFormProps, o as getNestedOuterFormPropsFromOuterFormProps, g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./CountryField-
|
|
21
|
-
import { m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
22
|
-
import { D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, e as doingBusinessAsAbsentFieldMetadata, c as doingBusinessAsFieldMetadata, r as registrationNumberDefaultFieldMetadata, m as getDefaultRegistrationNumberType, b as registrationNumberDefaultFieldConfig, i as exemptFromRegistrationNumberDefaultFieldMetadata, l as exemptFromRegistrationNumberDefaultFieldConfig, d as defaultFieldMetadata, k as getDefaultVatNumberType, a as defaultFieldConfig, f as DBANameField, g as BusinessRegistrationNumberField, h as VatNumberField, j as registrationAddressFields, R as RegistrationAddress, M as MemoizedConstitutionalDocument, n as inferCompanyRegistrationNumberType } from "./RegistrationAddress-
|
|
23
|
-
import { m as mapAddressLabels } from "./utils-
|
|
24
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
25
|
-
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./validate-
|
|
26
|
-
import { a as datasetUtilities } from "./useDataset-
|
|
15
|
+
import { c as useCreateLegalEntity, d as useUpdateLegalEntity } from "./RadioGroup-QZCH1TCn.js";
|
|
16
|
+
import { h as hasDataChanged } from "./hasDataChanged-Di3pJ9RD.js";
|
|
17
|
+
import { u as useGlobalDataSlice, c as useStateContext, F as FormWrapper } from "./useGlobalData-COgPG9qd.js";
|
|
18
|
+
import { u as useToastContext } from "./useToastContext-D4w2gBxd.js";
|
|
19
|
+
import { g as getAssociatedLeAnalyticsPayload } from "./analytics-B9jlnux-.js";
|
|
20
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, F as FormHeader, E as ErrorPanel, C as CountryField, d as COUNTRY_FIELD, l as getFormProps, o as getNestedOuterFormPropsFromOuterFormProps, g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./CountryField-DrB-OFMR.js";
|
|
21
|
+
import { m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-Dww-3m9M.js";
|
|
22
|
+
import { D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, e as doingBusinessAsAbsentFieldMetadata, c as doingBusinessAsFieldMetadata, r as registrationNumberDefaultFieldMetadata, m as getDefaultRegistrationNumberType, b as registrationNumberDefaultFieldConfig, i as exemptFromRegistrationNumberDefaultFieldMetadata, l as exemptFromRegistrationNumberDefaultFieldConfig, d as defaultFieldMetadata, k as getDefaultVatNumberType, a as defaultFieldConfig, f as DBANameField, g as BusinessRegistrationNumberField, h as VatNumberField, j as registrationAddressFields, R as RegistrationAddress, M as MemoizedConstitutionalDocument, n as inferCompanyRegistrationNumberType } from "./RegistrationAddress-CbElOOZ6.js";
|
|
23
|
+
import { m as mapAddressLabels } from "./utils-BMvr9mIu.js";
|
|
24
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-zbgp4iB7.js";
|
|
25
|
+
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./validate-C6-L7Vfa.js";
|
|
26
|
+
import { a as datasetUtilities } from "./useDataset-CYBhIC5y.js";
|
|
27
27
|
import { f as formatObject, g as getProp } from "./utils-DNSfZiio.js";
|
|
28
|
-
import { o as operationalAddressIsSameIds } from "./Address-
|
|
29
|
-
import { U as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, a as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, b as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, c as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, d as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
30
|
-
import { a as useForm, F as Field, S as Select } from "./useForm-
|
|
31
|
-
import { a as Alert } from "./Alert-
|
|
32
|
-
import { I as InputText } from "./InputText-
|
|
33
|
-
import { i as isEmpty } from "./isEmpty-
|
|
28
|
+
import { o as operationalAddressIsSameIds } from "./Address-DzNHaLQd.js";
|
|
29
|
+
import { U as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, a as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, b as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, c as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, d as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-Dsz7b4S_.js";
|
|
30
|
+
import { a as useForm, F as Field, S as Select } from "./useForm-NtB5fMq5.js";
|
|
31
|
+
import { a as Alert } from "./Alert-Ce3pDSUY.js";
|
|
32
|
+
import { I as InputText } from "./InputText-CqLs_M75.js";
|
|
33
|
+
import { i as isEmpty } from "./isEmpty-Cg1sEY56.js";
|
|
34
34
|
const mapApiDocumentToTrustDocument = (entityId) => {
|
|
35
35
|
const constitutionalDocument = getDocument(entityId, "constitutionalDocument") || null;
|
|
36
36
|
return {
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-
|
|
10
|
+
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-C21WMjvq.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { a as useTranslation, c as useLegalEntity, R as ROOT_LE, q as skipToken, L as Loader, g as getLegalEntityCountry, M as TaskTypes, J as EntityTypes } from "./StoreProvider-
|
|
13
|
-
import { o as useTrustMembers } from "./OnboardingDropinComponent-
|
|
14
|
-
import { b as useCapabilityProblems, g as getProblemsForEntity } from "./fieldConfigurations-
|
|
15
|
-
import { _ as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
12
|
+
import { a as useTranslation, c as useLegalEntity, R as ROOT_LE, q as skipToken, L as Loader, g as getLegalEntityCountry, M as TaskTypes, J as EntityTypes } from "./StoreProvider-DGxWcgrS.js";
|
|
13
|
+
import { o as useTrustMembers } from "./OnboardingDropinComponent-DIf93Tzb.js";
|
|
14
|
+
import { b as useCapabilityProblems, g as getProblemsForEntity } from "./fieldConfigurations-BzmPcPW1.js";
|
|
15
|
+
import { _ as BusinessDetailsDropin } from "./BusinessDetailsDropin-CdWljVO6.js";
|
|
16
16
|
function TrustMemberCompanyPage({
|
|
17
17
|
trustId,
|
|
18
18
|
trustMemberCompanyId,
|
package/dist/{TrustMemberIndividualPage-C0kNS5vz.js → TrustMemberIndividualPage-BqncnJnj.js}
RENAMED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-
|
|
10
|
+
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-C21WMjvq.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { c as useLegalEntity, q as skipToken, X as useExperimentsContext, a as useTranslation, L as Loader, g as getLegalEntityCountry, ah as isOnfidoAutofillFlowEnabled, W as noop, M as TaskTypes, J as EntityTypes } from "./StoreProvider-
|
|
13
|
-
import { b as useCapabilityProblems, g as getProblemsForEntity } from "./fieldConfigurations-
|
|
14
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
12
|
+
import { c as useLegalEntity, q as skipToken, X as useExperimentsContext, a as useTranslation, L as Loader, g as getLegalEntityCountry, ah as isOnfidoAutofillFlowEnabled, W as noop, M as TaskTypes, J as EntityTypes } from "./StoreProvider-DGxWcgrS.js";
|
|
13
|
+
import { b as useCapabilityProblems, g as getProblemsForEntity } from "./fieldConfigurations-BzmPcPW1.js";
|
|
14
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-fERsTakw.js";
|
|
15
15
|
function TrustMemberIndividualPage({
|
|
16
16
|
memberId,
|
|
17
17
|
trustId,
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-
|
|
10
|
+
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-C21WMjvq.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { c as useLegalEntity, q as skipToken, X as useExperimentsContext, a as useTranslation, L as Loader, g as getLegalEntityCountry, ah as isOnfidoAutofillFlowEnabled, W as noop, M as TaskTypes, J as EntityTypes } from "./StoreProvider-
|
|
13
|
-
import { b as useCapabilityProblems, g as getProblemsForEntity } from "./fieldConfigurations-
|
|
14
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
12
|
+
import { c as useLegalEntity, q as skipToken, X as useExperimentsContext, a as useTranslation, L as Loader, g as getLegalEntityCountry, ah as isOnfidoAutofillFlowEnabled, W as noop, M as TaskTypes, J as EntityTypes } from "./StoreProvider-DGxWcgrS.js";
|
|
13
|
+
import { b as useCapabilityProblems, g as getProblemsForEntity } from "./fieldConfigurations-BzmPcPW1.js";
|
|
14
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-fERsTakw.js";
|
|
15
15
|
function UnincorporatedPartnershipIndividualPage({
|
|
16
16
|
memberId,
|
|
17
17
|
partnershipId,
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-
|
|
10
|
+
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-C21WMjvq.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { a as useTranslation, c as useLegalEntity, R as ROOT_LE, q as skipToken, L as Loader, g as getLegalEntityCountry, M as TaskTypes, J as EntityTypes } from "./StoreProvider-
|
|
13
|
-
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-
|
|
14
|
-
import { b as useCapabilityProblems, g as getProblemsForEntity } from "./fieldConfigurations-
|
|
15
|
-
import { _ as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
12
|
+
import { a as useTranslation, c as useLegalEntity, R as ROOT_LE, q as skipToken, L as Loader, g as getLegalEntityCountry, M as TaskTypes, J as EntityTypes } from "./StoreProvider-DGxWcgrS.js";
|
|
13
|
+
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-FOg1r690.js";
|
|
14
|
+
import { b as useCapabilityProblems, g as getProblemsForEntity } from "./fieldConfigurations-BzmPcPW1.js";
|
|
15
|
+
import { _ as BusinessDetailsDropin } from "./BusinessDetailsDropin-CdWljVO6.js";
|
|
16
16
|
function UnincorporatedPartnershipMemberCompanyPage({
|
|
17
17
|
partnershipId,
|
|
18
18
|
partnershipMemberCompanyId,
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
12
|
-
import { b as useApiContext, aF as useMutation, k as httpPost, N as createLogger, u as useI18nContext, L as Loader, B as Button } from "./StoreProvider-
|
|
13
|
-
import { u as useOnboardingStatus } from "./useOnboardingStatus-
|
|
12
|
+
import { b as useApiContext, aF as useMutation, k as httpPost, N as createLogger, u as useI18nContext, L as Loader, B as Button } from "./StoreProvider-DGxWcgrS.js";
|
|
13
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-B8yCxKXz.js";
|
|
14
14
|
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
15
|
-
import { a as Alert } from "./Alert-
|
|
15
|
+
import { a as Alert } from "./Alert-Ce3pDSUY.js";
|
|
16
16
|
const generateOnboardingLink = async (legalEntityId, baseUrl, data) => {
|
|
17
17
|
return httpPost(
|
|
18
18
|
{
|
|
@@ -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 { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-
|
|
13
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DTf0YGQw.js";
|
|
14
|
+
import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-BdV2XNEs.js";
|
|
15
15
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
16
16
|
const AdyenBusinessFinancing = ({
|
|
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 CreateIndividualComponent } from "./CreateIndividualComponent-
|
|
13
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DTf0YGQw.js";
|
|
14
|
+
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-DcwNaN_i.js";
|
|
15
15
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
16
16
|
const AdyenIndividual = ({
|
|
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 ManageIndividualComponent } from "./ManageIndividualComponent-
|
|
13
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DTf0YGQw.js";
|
|
14
|
+
import { M as ManageIndividualComponent } from "./ManageIndividualComponent-DBe5ValD.js";
|
|
15
15
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
16
16
|
const AdyenManageIndividual = ({
|
|
17
17
|
rootlegalentityid,
|
|
@@ -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] = "138a3207-e995-4b16-95d6-b8f99cfe15f7", e._sentryDebugIdIdentifier = "sentry-dbid-138a3207-e995-4b16-95d6-b8f99cfe15f7");
|
|
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-DGxWcgrS.js";
|
|
11
|
+
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-DuGvxDCD.js";
|
|
12
|
+
import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-BdV2XNEs.js";
|
|
13
|
+
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-DcwNaN_i.js";
|
|
14
|
+
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-BFYc-5Zc.js";
|
|
15
|
+
import { M as ManageIndividualComponent } from "./ManageIndividualComponent-DBe5ValD.js";
|
|
16
|
+
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-C21WMjvq.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-DIf93Tzb.js";
|
|
19
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-BjGURjyl.js";
|
|
20
|
+
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-5GHjPbHb.js";
|
|
21
|
+
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-muOE0ZjV.js";
|
|
22
|
+
import { SignPCIComponent } from "./SignPCIComponent-BcR2vNVB.js";
|
|
23
|
+
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-CivzRszd.js";
|
|
24
|
+
import { F as FormHeader } from "./CountryField-DrB-OFMR.js";
|
|
25
|
+
import { u as useAllowedCountries } from "./mapScriptLocalization-BXWQCCfg.js";
|
|
26
|
+
import { u as useDataset, d as datasetIdentifier } from "./useDataset-CYBhIC5y.js";
|
|
27
|
+
import { A as AlertIcon } from "./Alert-Ce3pDSUY.js";
|
|
28
28
|
import { render } from "preact";
|
|
29
|
-
import { u as uuidv4 } from "./useForm-
|
|
29
|
+
import { u as uuidv4 } from "./useForm-NtB5fMq5.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-ZJvmfx01.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-De4wbl1W.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-BK6TE3SH.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-ZQioXTGO.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-B06F8VNw.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-ZJvmfx01.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-De4wbl1W.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-BK6TE3SH.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-ZQioXTGO.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-B06F8VNw.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-DGxWcgrS.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-D6Uauj9W.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-DHwaH1by.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-67pS4_t6.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-CsogZlc6.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B3boX_dq.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CYfNXKwk.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Dn9AGEIq.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-DRJ0RpUn.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-3rmXgF6K.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CBex8RS9.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-CU6c8oyY.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-BWpBc9_J.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-B87v7Wzw.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-CrKxuloz.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-BNJcehJa.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-DkHxxgVT.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-DUZblaeq.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-vyebIKls.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-BcTCn-cn.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.83.0
|
|
382
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.83.0" }),
|
|
383
383
|
/* @__PURE__ */ jsx(
|
|
384
384
|
AnalyticsProvider,
|
|
385
385
|
{
|
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-DTf0YGQw.js";
|
|
13
|
+
import { O as OnboardingDropinComponent } from "./OnboardingDropinComponent-DIf93Tzb.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-DTf0YGQw.js";
|
|
14
|
+
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-DuGvxDCD.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 { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-
|
|
13
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DTf0YGQw.js";
|
|
14
|
+
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-5GHjPbHb.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 { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-
|
|
13
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DTf0YGQw.js";
|
|
14
|
+
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-BFYc-5Zc.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 { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-
|
|
13
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DTf0YGQw.js";
|
|
14
|
+
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-muOE0ZjV.js";
|
|
15
15
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
16
16
|
const AdyenManageTransferInstruments = ({
|
|
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-DTf0YGQw.js";
|
|
14
|
+
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-CivzRszd.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 { br as userEvents } from "./StoreProvider-
|
|
11
|
+
import { br as userEvents } from "./StoreProvider-DGxWcgrS.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, aa as CountryCodes, z as isPartOfTrustFromLegalEntity, y as LegalEntityTypes, C as hasSolePropInLegalEntity, ai as individualComponentsKeyMapping, aj as businessDetailsComponentsKeyMapping, ak as SettingsContext, a as useTranslation, x as Typography, al as DecisionMakerTypes, M as TaskTypes, am as Scenarios } from "./StoreProvider-
|
|
12
|
-
import { h as TrustedFieldsProviders } from "./fieldConfigurations-
|
|
11
|
+
import { b as useApiContext, j as useQuery, k as httpPost, X as useExperimentsContext, g as getLegalEntityCountry, aa as CountryCodes, z as isPartOfTrustFromLegalEntity, y as LegalEntityTypes, C as hasSolePropInLegalEntity, ai as individualComponentsKeyMapping, aj as businessDetailsComponentsKeyMapping, ak as SettingsContext, a as useTranslation, x as Typography, al as DecisionMakerTypes, M as TaskTypes, am as Scenarios } from "./StoreProvider-DGxWcgrS.js";
|
|
12
|
+
import { h as TrustedFieldsProviders } from "./fieldConfigurations-BzmPcPW1.js";
|
|
13
13
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
14
|
-
import { F as Field, b 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, b as SelectListItem } from "./useForm-NtB5fMq5.js";
|
|
15
|
+
import { I as InputText } from "./InputText-CqLs_M75.js";
|
|
16
|
+
import { c as createFormUtils, r as roleMetadata } from "./CountryField-DrB-OFMR.js";
|
|
17
17
|
import cx from "classnames";
|
|
18
18
|
import { signal, computed } from "@preact/signals";
|
|
19
19
|
async function convertToSingpassLinkResponse(openIdInitiateResponse) {
|
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, an as getCapabilityProblems, g as getLegalEntityCountry, N as createLogger, ao as businessDetailsApiKeyMapping, ap as individualApiKeyMapping, aq as remediationHasFileUploadField, ar as dataMissingRemediationsToFieldsMap, as as keysOf, b as useApiContext, at as hasText, au as isValidMinLength, av as matchesRegex, a7 as isEmpty, aw as NO_ALPHABET_REGEX, ax as EMOJI_REGEX, ay as hasRepeatedCharacters, az as isInvalidName, aA as OTHER_ENTITIES_VALID_CHAR_REGEX, aB as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aC as standardKatakanaValidator, aD 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, an as getCapabilityProblems, g as getLegalEntityCountry, N as createLogger, ao as businessDetailsApiKeyMapping, ap as individualApiKeyMapping, aq as remediationHasFileUploadField, ar as dataMissingRemediationsToFieldsMap, as as keysOf, b as useApiContext, at as hasText, au as isValidMinLength, av as matchesRegex, a7 as isEmpty, aw as NO_ALPHABET_REGEX, ax as EMOJI_REGEX, ay as hasRepeatedCharacters, az as isInvalidName, aA as OTHER_ENTITIES_VALID_CHAR_REGEX, aB as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aC as standardKatakanaValidator, aD as standardKanjiValidator, U as useAnalyticsContext, a as useTranslation, L as Loader } from "./StoreProvider-DGxWcgrS.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-Ce3pDSUY.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-B9jlnux-.js";
|
|
17
|
+
import { c as convertFullToHalf } from "./InputText-CqLs_M75.js";
|
|
18
18
|
import { Suspense } from "preact/compat";
|
|
19
|
-
import { c as useId } from "./useForm-
|
|
20
|
-
import { R as Radio } from "./CountryField-
|
|
19
|
+
import { c as useId } from "./useForm-NtB5fMq5.js";
|
|
20
|
+
import { R as Radio } from "./CountryField-DrB-OFMR.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, a8 as getOwnEntityAssociations } from "./StoreProvider-
|
|
10
|
+
import { y as LegalEntityTypes, a8 as getOwnEntityAssociations } from "./StoreProvider-DGxWcgrS.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 { a6 as entriesOf, ag as objectsDeepEqual } from "./StoreProvider-
|
|
10
|
+
import { a6 as entriesOf, ag as objectsDeepEqual } from "./StoreProvider-DGxWcgrS.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]);
|