@adyen/kyc-components 3.94.0 → 3.94.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-UXDlHmf_.js → AcceptTermsOfServiceComponent-_OcgHcl9.js} +16 -16
- package/dist/{Accordion-DM9qeMoR.js → Accordion-L-PFPDP9.js} +1 -1
- package/dist/{AccountSetupRejected-DfmKQEp-.js → AccountSetupRejected-D8AFUByI.js} +3 -3
- package/dist/{ActionBar-DCKuV5BO.js → ActionBar-BfaULouQ.js} +1 -1
- package/dist/{Address-BEUcWe_H.js → Address-Bq8Iddwj.js} +10 -10
- package/dist/{Alert-D9HbhU88.js → Alert-CNd6ycaR.js} +3 -3
- package/dist/{Avatar-C_tjYaBz.js → Avatar-B9HJritf.js} +1 -1
- package/dist/{BusinessFinancingComponent-B5gLGmkK.js → BusinessFinancingComponent-D2aE3Mns.js} +5 -5
- package/dist/{BusinessFinancingDropin-BpZKzB71.js → BusinessFinancingDropin-4pZFIG7s.js} +28 -28
- package/dist/{BusinessFinancingPage-CKdy77OK.js → BusinessFinancingPage-B5WGj6uh.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-ClkY9cbT.js → BusinessTypeSelectionPage-D-aVtncz.js} +9 -9
- package/dist/{Checkbox-BU4IYlt6.js → Checkbox-BIO_9cEB.js} +1 -1
- package/dist/{Confirm-BM1PTsnm.js → Confirm-DFiXu0ds.js} +3 -3
- package/dist/{ConstitutionalDocument-D9sPfw_B.js → ConstitutionalDocument-CcIokXH1.js} +18 -18
- package/dist/{ContactDetails-BRnbG7BX.js → ContactDetails-Cv7hq3cM.js} +8 -8
- package/dist/{ContextGuidance-CZGa7C-r.js → ContextGuidance-bwEv46B5.js} +2 -2
- package/dist/{CountryField-DShqP-Yi.js → CountryField-BTxty5-N.js} +5 -5
- package/dist/{CreateIndividualComponent-BZ6dd8Bd.js → CreateIndividualComponent-CwnK37G8.js} +5 -5
- package/dist/{CreateTransferInstrumentComponent-1pjVr_3y.js → CreateTransferInstrumentComponent-4R6uT0Kj.js} +4 -4
- package/dist/{Currency-CEtDxV-F.js → Currency-DUlyAUD_.js} +7 -7
- package/dist/{CustomerSupport-gmN79qSl.js → CustomerSupport-B3MmMjSo.js} +11 -11
- package/dist/{DebugModal-C3horl0P.js → DebugModal-8J-bFCOH.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-CN1t2Ok6.js → DecisionMakerDetailsPage-CR9HG8PG.js} +7 -7
- package/dist/{DecisionMakers-83kflZpA.js → DecisionMakers-CkGYdATg.js} +22 -21
- package/dist/{Dropzone-DYIUInYF.js → Dropzone-DpnRUhfa.js} +4 -4
- package/dist/{EmbeddedStatus-BID4yaOx.js → EmbeddedStatus-BFPsiZWt.js} +3 -3
- package/dist/{EndStateLayout-Cqmi0QYW.js → EndStateLayout-Clz7QzRF.js} +1 -1
- package/dist/{EntityAssociation-jMAjopdW.js → EntityAssociation-CrGIaM4A.js} +6 -6
- package/dist/{EntityGuidanceStatus-ek-5IvZb.js → EntityGuidanceStatus-D_fk7N6f.js} +3 -3
- package/dist/{ErrorPanel-ByEaxCQu.js → ErrorPanel-DHW6PukY.js} +2 -2
- package/dist/{Field-Cp_UOAnA.js → Field-D7xDX5cp.js} +1 -1
- package/dist/{FormNavigation-CttAyMuX.js → FormNavigation-SubDiH2y.js} +3 -3
- package/dist/{FormWrapper-C8UDjnjQ.js → FormWrapper-DFzPCBbo.js} +9 -9
- package/dist/{Header-CIxJSQWR.js → Header-BI6y9D2c.js} +1 -1
- package/dist/Image-BquCL84L.js +27 -0
- package/dist/{Individual.rules-DEhHxeiv.js → Individual.rules-D212IUeD.js} +6 -6
- package/dist/{IndividualDropin-Dz2ooI0s.js → IndividualDropin-C2M-Z8k5.js} +53 -53
- package/dist/{InputDate-z9OpUslu.js → InputDate-CCdMEK75.js} +2 -2
- package/dist/{InputText-CBhD5jca.js → InputText-h5wzkP3A.js} +2 -2
- package/dist/{Introduction-Bm3kybSH.js → Introduction-GePezr9a.js} +4 -4
- package/dist/{JpAddress-owiNWOqn.js → JpAddress-Bv5yzGQi.js} +9 -9
- package/dist/{LandingLayout-BuBU3Pyb.js → LandingLayout-bICQiWdq.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-vS7jAxuO.js → LegalRepresentativeDetailsPage-CEat5jp8.js} +4 -4
- package/dist/{Link-CIBefZJS.js → Link-BqcY7l2r.js} +1 -1
- package/dist/{ListItem-CnzgA-sH.js → ListItem-Df8bVw5e.js} +2 -2
- package/dist/{LoaderWrapper-CwhIpGKR.js → LoaderWrapper-B-VQP_64.js} +1 -1
- package/dist/{ManageIndividualComponent-CJEqOUgN.js → ManageIndividualComponent-dwt0Vbpz.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-BdiC5Nbd.js → ManageTermsOfServiceComponent-gs4SCV1y.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-CObC5Uof.js → ManageTransferInstrumentComponent-BdbfUuTs.js} +12 -12
- package/dist/{MaskedInput-BfI4FGAA.js → MaskedInput-Dw6DiP7U.js} +5 -5
- package/dist/{MaybeModal-DHcu32Dh.js → MaybeModal-CB0qEPJg.js} +3 -3
- package/dist/{Modal-BKWXTEoU.js → Modal-CugB_M4G.js} +1 -1
- package/dist/{Name-BCar2_dk.js → Name-CRycp0TD.js} +5 -5
- package/dist/{OnboardingDropinComponent-DstStqYS.js → OnboardingDropinComponent-x3jK3rPX.js} +44 -43
- package/dist/{PayoutDetailsDropin-DSdlqAe2.js → PayoutDetailsDropin-BKFSbkiy.js} +42 -41
- package/dist/{RadioGroup-COsozc9g.js → RadioGroup-BRR9Zkwm.js} +2 -2
- package/dist/{RadioGroupCard-xqC3IACY.js → RadioGroupCard-BOugxVT2.js} +2 -2
- package/dist/{Review-CZwc-DMp.js → Review-CI9DEArb.js} +7 -7
- package/dist/{RootBusinessDetailsPage-BsAtLAyF.js → RootBusinessDetailsPage-Bdhmlv10.js} +5 -5
- package/dist/{RootBusinessLinesPage-BRgtyHFs.js → RootBusinessLinesPage-DBwbhC-I.js} +24 -23
- package/dist/{RootIndividualDetailsPage-C3wTzTp1.js → RootIndividualDetailsPage-DgeGJUZs.js} +5 -5
- package/dist/{Select-DeTBytOH.js → Select-CSWiaeaD.js} +4 -4
- package/dist/{SignPCIComponent-CCGyrXvI.js → SignPCIComponent-BxQYTKBM.js} +11 -11
- package/dist/{SingpassSelection-BumqRwXI.js → SingpassSelection-DEtpzoZM.js} +6 -6
- package/dist/{SoleProprietorshipPage-zgU4q95D.js → SoleProprietorshipPage-D-cP-9mz.js} +4 -4
- package/dist/{SourceOfFundsPage-DkjYls-E.js → SourceOfFundsPage-BS_f8OpW.js} +32 -31
- package/dist/{StepProgressIndicator-D8PfKJKf.js → StepProgressIndicator-RlKc7VN6.js} +1 -1
- package/dist/{StoreProvider-CsZ-qrGt.js → StoreProvider-S9t1Y3h5.js} +12 -12
- package/dist/{Summary-DPm9r7Az.js → Summary-CumqLS14.js} +6 -6
- package/dist/{TaskVerificationStatus-DrOQToMh.js → TaskVerificationStatus-D0r0yrtS.js} +1 -1
- package/dist/{TaxInformationField-NI7Hbgov.js → TaxInformationField-CwC-hkwG.js} +21 -21
- package/dist/{TaxReportingDropin-BBUAxx92.js → TaxReportingDropin-DjvbswpW.js} +16 -16
- package/dist/{TextArea-CCjCNpAP.js → TextArea-CJHjD6pT.js} +2 -2
- package/dist/{TileGroup-BhKhvfLz.js → TileGroup-ShJtmdxC.js} +3 -3
- package/dist/{TrustDetailsPage-yOmFcEyO.js → TrustDetailsPage-Bf8acibt.js} +34 -34
- package/dist/{TrustMemberCompanyPage-DfXulzKv.js → TrustMemberCompanyPage-Druqqwwk.js} +5 -5
- package/dist/{TrustMemberIndividualPage-B8tb56n2.js → TrustMemberIndividualPage-DGEtkbvz.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-WHu1tc4O.js → TrustMemberRoleAndTypePage-_1fP4epA.js} +22 -22
- package/dist/{TrustMembersOverview-BWbGUK3k.js → TrustMembersOverview-_dYRn-Zr.js} +12 -12
- package/dist/{UnincorporatedPartnershipIndividualPage-DD2dn41k.js → UnincorporatedPartnershipIndividualPage-BXsEBJAb.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DsUSSYnI.js → UnincorporatedPartnershipMemberCompanyPage-BzxUs-bO.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Ctb0Lz_0.js → UnincorporatedPartnershipMemberRoleAndTypePage-HKsbKJOy.js} +11 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-B_GJIeZC.js → UnincorporatedPartnershipMembersOverview-Ce2VueoY.js} +9 -9
- package/dist/{VerificationErrorAlert-CCiMqGl8.js → VerificationErrorAlert-eLdcig75.js} +4 -4
- package/dist/{ViewVerificationStatusComponent-CICJ6cy4.js → ViewVerificationStatusComponent-D2nDwup0.js} +4 -4
- package/dist/adyen-business-financing.js +5 -4
- package/dist/adyen-individual-configuration.js +5 -4
- package/dist/adyen-individual-status.js +5 -4
- package/dist/adyen-invited-decision-maker.js +87 -0
- package/dist/adyen-kyc-components.js +19 -19
- package/dist/adyen-onboarding.js +5 -4
- package/dist/adyen-terms-of-service-management.js +5 -4
- package/dist/adyen-terms-of-service-status.js +5 -4
- package/dist/adyen-transfer-instrument-configuration.js +5 -4
- package/dist/adyen-transfer-instrument-management.js +5 -4
- package/dist/adyen-verification-status.js +5 -4
- package/dist/{bafinUtils-Ch6rVpGi.js → bafinUtils-O3zzoY_t.js} +2 -2
- package/dist/{commonValidators-B8wfpMjX.js → commonValidators-DjmQlU1p.js} +1 -1
- package/dist/{dropinUtils-B4Vv7_zJ.js → dropinUtils-UPMq0Ltd.js} +4 -4
- package/dist/{fieldConfig-CMdKt41r.js → fieldConfig-Hu-mVROR.js} +6 -6
- package/dist/{formUtils-q44BTi2U.js → formUtils-B8ymgO1t.js} +3 -3
- package/dist/{getName-BxKx8lLd.js → getName-C7NgQlTG.js} +1 -1
- package/dist/{Image-T-D-HDf5.js → getProblemsForEntity-BA4WcJ62.js} +2 -17
- package/dist/{iframeWidget-iDH8bVr4.js → iframeWidget-BT1hze3O.js} +4 -4
- package/dist/{isEmpty-BNacTlfR.js → isEmpty-BO66pCCZ.js} +1 -1
- package/dist/{japanSupportUtils-C7aPdWXD.js → japanSupportUtils-C5CuNN3k.js} +1 -1
- package/dist/{localizeDateString-DuTq6aHe.js → localizeDateString-DgElYhrt.js} +1 -1
- package/dist/{mapExistingFile-CGg2sd-T.js → mapExistingFile-MbK-6-RK.js} +4 -4
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BwHU4ZwL.js → mapJpAddressSchemaToAddressLocalizations-Gfl95wRA.js} +5 -5
- package/dist/{mapLegalEntityToIndividualSchema-DzCEngXr.js → mapLegalEntityToIndividualSchema-CsmR0M_e.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-DLHvwig1.js → mapTransferInstrumentToPayoutAccount-BzoRZqgj.js} +2 -2
- package/dist/{patternValidators-CZ5mQeGD.js → patternValidators-BAmLPEQ9.js} +1 -1
- package/dist/{process-field-configurations-BQY03q4v.js → process-field-configurations-Ck-9vLMi.js} +3 -3
- package/dist/resolveEnvironment-BS8Ep_cq.js +84 -0
- package/dist/{roleMetadata-BeJKyoeE.js → roleMetadata-Cp_fx0An.js} +2 -2
- package/dist/style.css +5 -5
- package/dist/styles-CLV89_hH.js +5 -5
- package/dist/types/components/EmbeddedDropins/InvitedDecisionMakerComponent/InvitedDecisionMakerComponent.d.ts +4 -0
- package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.d.ts +5 -0
- package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.types.d.ts +34 -0
- package/dist/{types-pKG9olDB.js → types-Jzaf73Zb.js} +1 -1
- package/dist/{types-BuMuCpsa.js → types-OcIQRzjv.js} +1 -1
- package/dist/{types-BY62XJTq.js → types-Z5dHe17C.js} +2 -2
- package/dist/{useAssociatedLegalEntity-V0OP9ejx.js → useAssociatedLegalEntity-Cwdze9IH.js} +1 -1
- package/dist/{useBusinessDetailsData-BsXXL7fg.js → useBusinessDetailsData-BnQQtBjj.js} +50 -50
- package/dist/{useCreateLegalEntity-otpCRCfZ.js → useCreateLegalEntity-BspdTSvG.js} +1 -1
- package/dist/{useDataset-CvATx7EN.js → useDataset-GNZopNa_.js} +2 -2
- package/dist/{useForm-9nSw9LZY.js → useForm-CrrBdkYX.js} +3 -3
- package/dist/{useFormContext-BnlNKQZ7.js → useFormContext-B8EfGEU6.js} +7 -7
- package/dist/{useGlobalData-Dy2O7YGk.js → useGlobalData-DwvnjVq4.js} +2 -2
- package/dist/{useMultiForm-CBefohos.js → useMultiForm-DiLK7zzV.js} +4 -4
- package/dist/{useOnboardingStatus-CJrlnkvv.js → useOnboardingStatus-CmwMxZNS.js} +1 -1
- package/dist/{useScenarios-CkgrmOF-.js → useScenarios-BZMGvP1Q.js} +2 -2
- package/dist/{useTermsOfServiceStatus-DFLF3xas.js → useTermsOfServiceStatus-COcwVefQ.js} +1 -1
- package/dist/{useToastContext-uSKjdph9.js → useToastContext-XqX9nPMU.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-BmLKVfkf.js → useUnincorporatedPartnershipMembers-DvEvFtB0.js} +4 -4
- package/dist/{useUpdateBusinessLines-BBNXF45E.js → useUpdateBusinessLines-CsGTTZmG.js} +4 -4
- package/dist/{useUpdateLegalEntity-DHxCVgNk.js → useUpdateLegalEntity-DQigrhJt.js} +2 -2
- package/dist/{utils-CLLUBF1a.js → utils-B9DMUz4X.js} +2 -2
- package/dist/{utils-5yZQq_bx.js → utils-Bm9UQ3J-.js} +6 -6
- package/dist/{utils-CIIs2bXi.js → utils-Bve1pZzF.js} +2 -2
- package/dist/{utils-ClKogQZa.js → utils-CJuEhTJl.js} +3 -3
- package/dist/{utils-CIHH_aYF.js → utils-DZYVicml.js} +1 -1
- package/dist/{validate-BntX2W3B.js → validate-CUkO0uMn.js} +1 -1
- package/dist/{validate-CLYo0JdH.js → validate-QTevEJlY.js} +3 -3
- package/dist/{validationError-DJ6zTIzv.js → validationError-BIOF84gr.js} +2 -2
- package/package.json +7 -3
- package/dist/resolveEnvironment-BEU3VKd8.js +0 -164
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
;
|
|
2
|
+
{
|
|
3
|
+
try {
|
|
4
|
+
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "dce1ecd5-65e1-42a6-a5c9-5d947056e2c3", e._sentryDebugIdIdentifier = "sentry-dbid-dce1ecd5-65e1-42a6-a5c9-5d947056e2c3");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
+
import { an as refreshSession, a0 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-S9t1Y3h5.js";
|
|
12
|
+
import { useState, useEffect } from "preact/hooks";
|
|
13
|
+
const sheet = new CSSStyleSheet();
|
|
14
|
+
const stylesheets = [sheet];
|
|
15
|
+
{
|
|
16
|
+
import("./styles-CLV89_hH.js").then(({ css }) => {
|
|
17
|
+
sheet.replaceSync(css);
|
|
18
|
+
}).catch((err) => console.error("Error loading styles", err));
|
|
19
|
+
}
|
|
20
|
+
const EmbedShell = ({
|
|
21
|
+
children,
|
|
22
|
+
rootLegalEntityId,
|
|
23
|
+
settings,
|
|
24
|
+
experiments,
|
|
25
|
+
// HO-only
|
|
26
|
+
refreshExperiments,
|
|
27
|
+
// HO-only
|
|
28
|
+
baseUrl,
|
|
29
|
+
getSdkToken,
|
|
30
|
+
componentName,
|
|
31
|
+
locale
|
|
32
|
+
}) => {
|
|
33
|
+
const [isLoading, setIsLoading] = useState(true);
|
|
34
|
+
const [hasError, setHasError] = useState(false);
|
|
35
|
+
setSdkTokenHandler(getSdkToken);
|
|
36
|
+
useEffect(() => {
|
|
37
|
+
refreshSession().then((hasRefreshed) => {
|
|
38
|
+
if (!hasRefreshed) {
|
|
39
|
+
setHasError(true);
|
|
40
|
+
}
|
|
41
|
+
setIsLoading(false);
|
|
42
|
+
});
|
|
43
|
+
}, []);
|
|
44
|
+
if (hasError) {
|
|
45
|
+
return /* @__PURE__ */ jsxs("div", { children: [
|
|
46
|
+
"Something went wrong, please",
|
|
47
|
+
/* @__PURE__ */ jsx(Button, { onClick: () => location.reload(), children: "refresh the page." })
|
|
48
|
+
] });
|
|
49
|
+
}
|
|
50
|
+
if (isLoading) {
|
|
51
|
+
return /* @__PURE__ */ jsx(Loader, {});
|
|
52
|
+
}
|
|
53
|
+
return /* @__PURE__ */ jsx(SettingsProvider, { settings, children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsx(ApiProvider, { rootLegalEntityId, baseUrl, children: /* @__PURE__ */ jsx(
|
|
54
|
+
ExperimentsContextProvider,
|
|
55
|
+
{
|
|
56
|
+
experiments,
|
|
57
|
+
refreshExperiments,
|
|
58
|
+
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
59
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.94.2" }),
|
|
60
|
+
/* @__PURE__ */ jsx(
|
|
61
|
+
AnalyticsProvider,
|
|
62
|
+
{
|
|
63
|
+
componentName,
|
|
64
|
+
rootLegalEntityId,
|
|
65
|
+
children: /* @__PURE__ */ jsxs(I18nProvider, { locale, children: [
|
|
66
|
+
/* @__PURE__ */ jsx(DebugListener, {}),
|
|
67
|
+
/* @__PURE__ */ jsx("div", { className: "adyen-kyc-ui-element-container-wrapper", children: /* @__PURE__ */ jsx("div", { className: "adyen-kyc-ui-element-container", children: /* @__PURE__ */ jsx(ToastContextProvider, { children: /* @__PURE__ */ jsx(StateProvider, { children }) }) }) })
|
|
68
|
+
] })
|
|
69
|
+
}
|
|
70
|
+
)
|
|
71
|
+
] })
|
|
72
|
+
}
|
|
73
|
+
) }) }) });
|
|
74
|
+
};
|
|
75
|
+
const environmentMap = Object.freeze({
|
|
76
|
+
live: "https://onboardingcomponents-live.adyen.com/",
|
|
77
|
+
test: "https://test.adyen.com/"
|
|
78
|
+
});
|
|
79
|
+
const resolveEnvironment = (environment) => environmentMap[environment] ?? normalizeEnvironment(environment);
|
|
80
|
+
export {
|
|
81
|
+
EmbedShell as E,
|
|
82
|
+
resolveEnvironment as r,
|
|
83
|
+
stylesheets as s
|
|
84
|
+
};
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6235df2e-3caa-4c30-b87a-cdac622dc318", e._sentryDebugIdIdentifier = "sentry-dbid-6235df2e-3caa-4c30-b87a-cdac622dc318");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bo as TrustMemberGuidanceLabels, a9 as TrustMemberTypes,
|
|
10
|
+
import { bo as TrustMemberGuidanceLabels, a9 as TrustMemberTypes, ak as DecisionMakerTypes } from "./StoreProvider-S9t1Y3h5.js";
|
|
11
11
|
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-MeN1dp53.js";
|
|
12
12
|
const roleMetadata = {
|
|
13
13
|
[DecisionMakerTypes.CONTROLLING_PERSON]: {
|
package/dist/style.css
CHANGED
|
@@ -3969,15 +3969,15 @@ fieldset {
|
|
|
3969
3969
|
box-shadow: none;
|
|
3970
3970
|
border-color: transparent;
|
|
3971
3971
|
color: var(--adyen-internal-color-label-disabled);
|
|
3972
|
-
|
|
3972
|
+
cursor: default;
|
|
3973
3973
|
}
|
|
3974
3974
|
|
|
3975
3975
|
@media (hover: hover) {
|
|
3976
|
-
.adyen-kyc-card-interactive.adyen-kyc-card-primary:hover {
|
|
3976
|
+
.adyen-kyc-card-interactive.adyen-kyc-card-primary:hover:not(.adyen-kyc-card-interactive:disabled) {
|
|
3977
3977
|
background-color: var(--adyen-internal-color-background-primary-hover);
|
|
3978
3978
|
}
|
|
3979
3979
|
|
|
3980
|
-
.adyen-kyc-card-interactive.adyen-kyc-card-secondary:hover {
|
|
3980
|
+
.adyen-kyc-card-interactive.adyen-kyc-card-secondary:hover:not(.adyen-kyc-card-interactive:disabled) {
|
|
3981
3981
|
background-color: var(--adyen-internal-color-background-secondary-hover);
|
|
3982
3982
|
}
|
|
3983
3983
|
}
|
|
@@ -3986,11 +3986,11 @@ fieldset {
|
|
|
3986
3986
|
outline-color: var(--adyen-internal-focus-ring-color);
|
|
3987
3987
|
}
|
|
3988
3988
|
|
|
3989
|
-
.adyen-kyc-card-interactive.adyen-kyc-card-primary:active {
|
|
3989
|
+
.adyen-kyc-card-interactive.adyen-kyc-card-primary:active:not(.adyen-kyc-card-interactive:disabled) {
|
|
3990
3990
|
background-color: var(--adyen-internal-color-background-primary-active);
|
|
3991
3991
|
}
|
|
3992
3992
|
|
|
3993
|
-
.adyen-kyc-card-interactive.adyen-kyc-card-secondary:active {
|
|
3993
|
+
.adyen-kyc-card-interactive.adyen-kyc-card-secondary:active:not(.adyen-kyc-card-interactive:disabled) {
|
|
3994
3994
|
background-color: var(--adyen-internal-color-background-secondary-active);
|
|
3995
3995
|
}
|
|
3996
3996
|
|
package/dist/styles-CLV89_hH.js
CHANGED
|
@@ -3978,15 +3978,15 @@ fieldset {
|
|
|
3978
3978
|
box-shadow: none;
|
|
3979
3979
|
border-color: transparent;
|
|
3980
3980
|
color: var(--adyen-internal-color-label-disabled);
|
|
3981
|
-
|
|
3981
|
+
cursor: default;
|
|
3982
3982
|
}
|
|
3983
3983
|
|
|
3984
3984
|
@media (hover: hover) {
|
|
3985
|
-
.adyen-kyc-card-interactive.adyen-kyc-card-primary:hover {
|
|
3985
|
+
.adyen-kyc-card-interactive.adyen-kyc-card-primary:hover:not(.adyen-kyc-card-interactive:disabled) {
|
|
3986
3986
|
background-color: var(--adyen-internal-color-background-primary-hover);
|
|
3987
3987
|
}
|
|
3988
3988
|
|
|
3989
|
-
.adyen-kyc-card-interactive.adyen-kyc-card-secondary:hover {
|
|
3989
|
+
.adyen-kyc-card-interactive.adyen-kyc-card-secondary:hover:not(.adyen-kyc-card-interactive:disabled) {
|
|
3990
3990
|
background-color: var(--adyen-internal-color-background-secondary-hover);
|
|
3991
3991
|
}
|
|
3992
3992
|
}
|
|
@@ -3995,11 +3995,11 @@ fieldset {
|
|
|
3995
3995
|
outline-color: var(--adyen-internal-focus-ring-color);
|
|
3996
3996
|
}
|
|
3997
3997
|
|
|
3998
|
-
.adyen-kyc-card-interactive.adyen-kyc-card-primary:active {
|
|
3998
|
+
.adyen-kyc-card-interactive.adyen-kyc-card-primary:active:not(.adyen-kyc-card-interactive:disabled) {
|
|
3999
3999
|
background-color: var(--adyen-internal-color-background-primary-active);
|
|
4000
4000
|
}
|
|
4001
4001
|
|
|
4002
|
-
.adyen-kyc-card-interactive.adyen-kyc-card-secondary:active {
|
|
4002
|
+
.adyen-kyc-card-interactive.adyen-kyc-card-secondary:active:not(.adyen-kyc-card-interactive:disabled) {
|
|
4003
4003
|
background-color: var(--adyen-internal-color-background-secondary-active);
|
|
4004
4004
|
}
|
|
4005
4005
|
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { AdyenInvitedDecisionMakerProps } from './adyen-invited-decision-maker.types';
|
|
2
|
+
/**
|
|
3
|
+
* Allows invited decision makers to provide their details. Used from hosted invite flow.
|
|
4
|
+
*/
|
|
5
|
+
export declare const AdyenInvitedDecisionMaker: ({ rootlegalentityid, fetchToken, environment, locale, settings, experiments, }: AdyenInvitedDecisionMakerProps) => import("preact/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { DOMAttributes } from 'react';
|
|
2
|
+
import type { DefineComponent } from 'vue';
|
|
3
|
+
import type { BaseEmbedProps } from '../baseEmbedProps';
|
|
4
|
+
export type AdyenInvitedDecisionMakerProps = BaseEmbedProps;
|
|
5
|
+
declare module 'preact/jsx-runtime' {
|
|
6
|
+
namespace JSX {
|
|
7
|
+
interface IntrinsicElements {
|
|
8
|
+
'adyen-invited-decision-maker': AdyenInvitedDecisionMakerProps;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
type CustomElement<T> = Partial<T & DOMAttributes<T> & {
|
|
13
|
+
children: any;
|
|
14
|
+
}>;
|
|
15
|
+
declare global {
|
|
16
|
+
namespace JSX {
|
|
17
|
+
interface IntrinsicElements {
|
|
18
|
+
'adyen-invited-decision-maker': CustomElement<AdyenInvitedDecisionMakerProps>;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
declare module 'react/jsx-runtime' {
|
|
23
|
+
namespace JSX {
|
|
24
|
+
interface IntrinsicElements {
|
|
25
|
+
'adyen-invited-decision-maker': AdyenInvitedDecisionMakerProps;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
declare module 'vue' {
|
|
30
|
+
interface GlobalComponents {
|
|
31
|
+
'adyen-invited-decision-maker': DefineComponent<AdyenInvitedDecisionMakerProps>;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export {};
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { t as LegalEntityTypes, a5 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { t as LegalEntityTypes, a5 as CountryCodes } from "./StoreProvider-S9t1Y3h5.js";
|
|
11
11
|
const trustMemberLegalEntityTypes = [
|
|
12
12
|
LegalEntityTypes.INDIVIDUAL,
|
|
13
13
|
LegalEntityTypes.ORGANIZATION
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "191fc0db-aa69-48d0-9760-ba165ce6248e", e._sentryDebugIdIdentifier = "sentry-dbid-191fc0db-aa69-48d0-9760-ba165ce6248e");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a5 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { a5 as CountryCodes } from "./StoreProvider-S9t1Y3h5.js";
|
|
11
11
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
12
12
|
const currencyByCountry = {
|
|
13
13
|
[CountryCodes.Australia]: [Currencies.AUD],
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { skipToken } from "@tanstack/preact-query";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { o as createLogger, c as useLegalEntity } from "./StoreProvider-
|
|
12
|
+
import { o as createLogger, c as useLegalEntity } from "./StoreProvider-S9t1Y3h5.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
15
15
|
const matchingAssociation = useMemo(() => {
|
|
@@ -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] = "81601722-a10e-4add-98ff-932f07bcacfe", e._sentryDebugIdIdentifier = "sentry-dbid-81601722-a10e-4add-98ff-932f07bcacfe");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,66 +10,66 @@
|
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMutation, useQuery, skipToken, useQueryClient } from "@tanstack/preact-query";
|
|
12
12
|
import { useEffect, useCallback, useState, useMemo } from "preact/hooks";
|
|
13
|
-
import { D as Divider, I as INDUSTRY_CODE_FIELD, i as industryCodeFieldMetadata, u as useIndustryCodes, a as IndustryCodeField, b as useCreateBusinessLine, c as useUpdateBusinessLine } from "./useUpdateBusinessLines-
|
|
14
|
-
import { u as useTranslation,
|
|
15
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
16
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
17
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
18
|
-
import { u as useToastContext } from "./useToastContext-
|
|
19
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
20
|
-
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
23
|
-
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
24
|
-
import { C as Confirm } from "./Confirm-
|
|
25
|
-
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-
|
|
26
|
-
import { c as TAX_INFORMATION_FIELD, r as requestingBanking, d as requestingIssuing, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, S as StateCodesUS, e as isUsingCompanySearch, M as MemoizedDocumentUpload, f as isRegistrationNumberAbsentStateV4Scenario, h as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, l as rules, g as getFieldsWithExistingData } from "./TaxInformationField-
|
|
27
|
-
import { D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, r as registrationAddressFields, o as operationalAddressIsSameIds, v as vatAbsenceReasonMetadata, d as defaultFieldMetadata$1, a as defaultFieldConfig$1, b as registrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldConfig, e as doingBusinessAsFieldMetadata, f as doingBusinessAsAbsentFieldMetadata, g as DBANameField, h as BusinessRegistrationNumberField, i as VatNumberField, M as MemoizedConstitutionalDocument, j as getDefaultRegistrationNumberType, k as getDefaultVatNumberType, l as inferCompanyRegistrationNumberType, m as exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-
|
|
28
|
-
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-
|
|
29
|
-
import { S as SettingNames } from "./TaskVerificationStatus-
|
|
30
|
-
import { t as toFullWidth, u as useAllowedCountries, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
31
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-
|
|
32
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
33
|
-
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
34
|
-
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, c as StateField, i as isDateOlderThanAYear } from "./Address-
|
|
13
|
+
import { D as Divider, I as INDUSTRY_CODE_FIELD, i as industryCodeFieldMetadata, u as useIndustryCodes, a as IndustryCodeField, b as useCreateBusinessLine, c as useUpdateBusinessLine } from "./useUpdateBusinessLines-CsGTTZmG.js";
|
|
14
|
+
import { u as useTranslation, af as useI18nContext, ap as isEmpty, i as isUndefinedOrNull, a5 as CountryCodes, bu as isISIN, a0 as Button, J as useExperimentsContext, c as useLegalEntity, R as ROOT_LE, aE as useVersionConfiguration, O as Typography, L as Loader, m as useSettingsContext, b as useApiContext, j as httpPost, ah as entriesOf, C as useAnalyticsContext, o as createLogger, x as useAccountHolder, B as TaskTypes, t as LegalEntityTypes, bv as businessDetailsComponentsKeyMapping, bw as solePropBusinessDetailsKeyMapping, ac as objectsDeepEqual, aI as keysOf, bx as solePropBusinessDetailsApiKeyMapping, b8 as businessDetailsApiKeyMapping, aO as filterOutUnwantedAssociationsIfRootLE, aM as drop, a8 as getOwnEntityAssociations, aT as doArraysMatch, by as solePropBusinessDetailsDocumentMapping, bz as businessDetailsDocumentMapping } from "./StoreProvider-S9t1Y3h5.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-BspdTSvG.js";
|
|
16
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DQigrhJt.js";
|
|
17
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-B8EfGEU6.js";
|
|
18
|
+
import { u as useToastContext } from "./useToastContext-XqX9nPMU.js";
|
|
19
|
+
import { C as CompanyTypesValues } from "./bafinUtils-O3zzoY_t.js";
|
|
20
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-Ck-9vLMi.js";
|
|
21
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-UPMq0Ltd.js";
|
|
22
|
+
import { u as useMultiForm } from "./useMultiForm-DiLK7zzV.js";
|
|
23
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-MbK-6-RK.js";
|
|
24
|
+
import { C as Confirm } from "./Confirm-DFiXu0ds.js";
|
|
25
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-QTevEJlY.js";
|
|
26
|
+
import { c as TAX_INFORMATION_FIELD, r as requestingBanking, d as requestingIssuing, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, S as StateCodesUS, e as isUsingCompanySearch, M as MemoizedDocumentUpload, f as isRegistrationNumberAbsentStateV4Scenario, h as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, l as rules, g as getFieldsWithExistingData } from "./TaxInformationField-CwC-hkwG.js";
|
|
27
|
+
import { D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, r as registrationAddressFields, o as operationalAddressIsSameIds, v as vatAbsenceReasonMetadata, d as defaultFieldMetadata$1, a as defaultFieldConfig$1, b as registrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldConfig, e as doingBusinessAsFieldMetadata, f as doingBusinessAsAbsentFieldMetadata, g as DBANameField, h as BusinessRegistrationNumberField, i as VatNumberField, M as MemoizedConstitutionalDocument, j as getDefaultRegistrationNumberType, k as getDefaultVatNumberType, l as inferCompanyRegistrationNumberType, m as exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-CcIokXH1.js";
|
|
28
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-CugB_M4G.js";
|
|
29
|
+
import { S as SettingNames } from "./TaskVerificationStatus-D0r0yrtS.js";
|
|
30
|
+
import { t as toFullWidth, u as useAllowedCountries, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-Gfl95wRA.js";
|
|
31
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-Bve1pZzF.js";
|
|
32
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-Bm9UQ3J-.js";
|
|
33
|
+
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-CJuEhTJl.js";
|
|
34
|
+
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, c as StateField, i as isDateOlderThanAYear } from "./Address-Bq8Iddwj.js";
|
|
35
35
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
36
|
-
import { s as summaryStep } from "./Summary-
|
|
37
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
36
|
+
import { s as summaryStep } from "./Summary-CumqLS14.js";
|
|
37
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-BIOF84gr.js";
|
|
38
38
|
import { a as datasetUtilities } from "./datasetUtil-BHQp0-xL.js";
|
|
39
39
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
40
|
-
import { I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, L as LegalFormField, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-
|
|
41
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
40
|
+
import { I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, L as LegalFormField, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-DUlyAUD_.js";
|
|
41
|
+
import { i as isEmpty$1 } from "./isEmpty-BO66pCCZ.js";
|
|
42
42
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
43
43
|
import { b as mapAddressLocalizationToJpAddressSchema, a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
44
|
-
import { L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./fieldConfig-
|
|
45
|
-
import { i as useBusinessLines } from "./OnboardingDropinComponent-
|
|
46
|
-
import { F as Field } from "./Field-
|
|
47
|
-
import { H as Header } from "./Header-
|
|
48
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
49
|
-
import { u as useGlobalDataSlice } from "./useGlobalData-
|
|
50
|
-
import { u as useForm } from "./useForm-
|
|
51
|
-
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-
|
|
52
|
-
import { c as currencyByCountry } from "./types-
|
|
53
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
44
|
+
import { L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./fieldConfig-Hu-mVROR.js";
|
|
45
|
+
import { i as useBusinessLines } from "./OnboardingDropinComponent-x3jK3rPX.js";
|
|
46
|
+
import { F as Field } from "./Field-D7xDX5cp.js";
|
|
47
|
+
import { H as Header } from "./Header-BI6y9D2c.js";
|
|
48
|
+
import { R as RadioGroup } from "./RadioGroup-BRR9Zkwm.js";
|
|
49
|
+
import { u as useGlobalDataSlice } from "./useGlobalData-DwvnjVq4.js";
|
|
50
|
+
import { u as useForm } from "./useForm-CrrBdkYX.js";
|
|
51
|
+
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-B8ymgO1t.js";
|
|
52
|
+
import { c as currencyByCountry } from "./types-Z5dHe17C.js";
|
|
53
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-CCdMEK75.js";
|
|
54
54
|
import { Suspense, lazy } from "preact/compat";
|
|
55
|
-
import { C as Checkbox } from "./Checkbox-
|
|
56
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
57
|
-
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-
|
|
58
|
-
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-
|
|
59
|
-
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-
|
|
55
|
+
import { C as Checkbox } from "./Checkbox-BIO_9cEB.js";
|
|
56
|
+
import { E as ErrorPanel } from "./ErrorPanel-DHW6PukY.js";
|
|
57
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-BAmLPEQ9.js";
|
|
58
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-Dw6DiP7U.js";
|
|
59
|
+
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-C5CuNN3k.js";
|
|
60
60
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
61
61
|
import { signal } from "@preact/signals";
|
|
62
62
|
import cx from "classnames";
|
|
63
|
-
import { L as Link } from "./Link-
|
|
63
|
+
import { L as Link } from "./Link-BqcY7l2r.js";
|
|
64
64
|
import { S as StructuredList } from "./StructuredList-9dnJRdx_.js";
|
|
65
|
-
import { I as InputText } from "./InputText-
|
|
66
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
67
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
65
|
+
import { I as InputText } from "./InputText-h5wzkP3A.js";
|
|
66
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-BTxty5-N.js";
|
|
67
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-B-VQP_64.js";
|
|
68
68
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
69
69
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
70
|
-
import { L as ListItem } from "./ListItem-
|
|
71
|
-
import { a as Alert } from "./Alert-
|
|
72
|
-
import { T as TileGroup } from "./TileGroup-
|
|
70
|
+
import { L as ListItem } from "./ListItem-Df8bVw5e.js";
|
|
71
|
+
import { a as Alert } from "./Alert-CNd6ycaR.js";
|
|
72
|
+
import { T as TileGroup } from "./TileGroup-ShJtmdxC.js";
|
|
73
73
|
const FINANCIAL_REPORTING_DATE_FIELD = [
|
|
74
74
|
"financialReportingDate"
|
|
75
75
|
];
|
|
@@ -781,7 +781,7 @@ function VerifiedBusinessCard({
|
|
|
781
781
|
] });
|
|
782
782
|
}
|
|
783
783
|
const LazyJpAddress = lazy(
|
|
784
|
-
async () => (await import("./JpAddress-
|
|
784
|
+
async () => (await import("./JpAddress-Bv5yzGQi.js")).JpAddress
|
|
785
785
|
);
|
|
786
786
|
const ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
787
787
|
const ADDITIONAL_INFORMATION_FIELDS = [
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, j as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpPost } from "./StoreProvider-S9t1Y3h5.js";
|
|
12
12
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
|
@@ -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] = "b0615274-e7ac-4579-8f05-26daed263de2", e._sentryDebugIdIdentifier = "sentry-dbid-b0615274-e7ac-4579-8f05-26daed263de2");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useEffect } from "preact/hooks";
|
|
11
|
-
import { o as createLogger,
|
|
11
|
+
import { o as createLogger, af as useI18nContext } from "./StoreProvider-S9t1Y3h5.js";
|
|
12
12
|
import { a as datasetUtilities, d as datasetIdentifier } from "./datasetUtil-BHQp0-xL.js";
|
|
13
13
|
const logger$1 = createLogger();
|
|
14
14
|
const countriesImports = /* @__PURE__ */ Object.assign({ "../countries/de-DE.json": () => import("./de-DE-B3nctkG8.js"), "../countries/el-GR.json": () => import("./el-GR-CdgLZhuO.js"), "../countries/en-US.json": () => import("./en-US-DSoLr6rp.js"), "../countries/es-ES.json": () => import("./es-ES-BRfK6tX7.js"), "../countries/fr-FR.json": () => import("./fr-FR-Dk6Lw2On.js"), "../countries/it-IT.json": () => import("./it-IT-D7G4BaP7.js"), "../countries/ja-JP.json": () => import("./ja-JP-DTW_hY1L.js"), "../countries/nl-NL.json": () => import("./nl-NL-CFzm75Jw.js"), "../countries/pt-PT.json": () => import("./pt-PT-DpDxAynk.js"), "../countries/sv-SE.json": () => import("./sv-SE-rckxD-43.js") });
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d878f73e-16d3-4ecc-9d76-0409886b833d", e._sentryDebugIdIdentifier = "sentry-dbid-d878f73e-16d3-4ecc-9d76-0409886b833d");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { o as createLogger, ap as isEmpty, aT as doArraysMatch } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-
|
|
11
|
+
import { o as createLogger, ap as isEmpty, aT as doArraysMatch } from "./StoreProvider-S9t1Y3h5.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-B9DMUz4X.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
const useAsyncValidator = (asyncRules) => {
|
|
15
15
|
const [asyncValidationResults, setAsyncValidationResults] = useState({});
|
|
@@ -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] = "972c8202-2cc5-46ac-906c-f9af33b41e3a", e._sentryDebugIdIdentifier = "sentry-dbid-972c8202-2cc5-46ac-906c-f9af33b41e3a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState, useContext } from "preact/hooks";
|
|
12
12
|
import cx from "classnames";
|
|
13
|
-
import { C as useAnalyticsContext, u as useTranslation, a0 as Button } from "./StoreProvider-
|
|
14
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
15
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
13
|
+
import { C as useAnalyticsContext, u as useTranslation, a0 as Button } from "./StoreProvider-S9t1Y3h5.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-B-VQP_64.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-CB0qEPJg.js";
|
|
16
16
|
import { P as ProgressBar } from "./ProgressBar-B7gTQncy.js";
|
|
17
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
18
|
-
import { C as Confirm } from "./Confirm-
|
|
19
|
-
import { S as Summary } from "./Summary-
|
|
17
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-UPMq0Ltd.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-DFiXu0ds.js";
|
|
19
|
+
import { S as Summary } from "./Summary-CumqLS14.js";
|
|
20
20
|
import { createContext } from "preact";
|
|
21
21
|
const FormContext = createContext(null);
|
|
22
22
|
function FormContextProvider({
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "55112023-96a3-47bc-9656-a8bdd44807bf", e._sentryDebugIdIdentifier = "sentry-dbid-55112023-96a3-47bc-9656-a8bdd44807bf");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useContext, useCallback, useMemo } from "preact/hooks";
|
|
11
11
|
import { a as debounce } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
12
|
-
import { bd as StateContext } from "./StoreProvider-
|
|
12
|
+
import { bd as StateContext } from "./StoreProvider-S9t1Y3h5.js";
|
|
13
13
|
function useStateContext() {
|
|
14
14
|
const context = useContext(StateContext);
|
|
15
15
|
return context;
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c3675088-6d4a-4f59-aaba-ac599829dde3", e._sentryDebugIdIdentifier = "sentry-dbid-c3675088-6d4a-4f59-aaba-ac599829dde3");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { ac as objectsDeepEqual, o as createLogger, ap as isEmpty } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult } from "./utils-
|
|
13
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
11
|
+
import { ac as objectsDeepEqual, o as createLogger, ap as isEmpty } from "./StoreProvider-S9t1Y3h5.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-B9DMUz4X.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-DjmQlU1p.js";
|
|
14
14
|
const omitKeys = (obj, omit) => Object.keys(obj).filter((k) => !omit.includes(k)).reduce((a, c) => {
|
|
15
15
|
a[c] = obj[c];
|
|
16
16
|
return a;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet } from "./StoreProvider-S9t1Y3h5.js";
|
|
12
12
|
const getOnboardingStatus = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
baseUrl,
|
|
@@ -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] = "a712bcdc-a277-4f17-acca-506afbf7911f", e._sentryDebugIdIdentifier = "sentry-dbid-a712bcdc-a277-4f17-acca-506afbf7911f");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery, skipToken } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext,
|
|
11
|
+
import { b as useApiContext, ah as entriesOf, al as Scenarios, k as httpGet } from "./StoreProvider-S9t1Y3h5.js";
|
|
12
12
|
const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
|
|
13
13
|
const scenarioParams = new URLSearchParams({
|
|
14
14
|
countryCode,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet } from "./StoreProvider-S9t1Y3h5.js";
|
|
12
12
|
const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
baseUrl,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { useQueryClient } from "@tanstack/preact-query";
|
|
11
11
|
import { useCallback, useContext } from "preact/hooks";
|
|
12
|
-
import { o as createLogger, b as useApiContext, am as ToastContext } from "./StoreProvider-
|
|
12
|
+
import { o as createLogger, b as useApiContext, am as ToastContext } from "./StoreProvider-S9t1Y3h5.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
|
|
15
15
|
"businessLines",
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "39f5ca1a-201a-4b54-bbb6-1587f2eecaed", e._sentryDebugIdIdentifier = "sentry-dbid-39f5ca1a-201a-4b54-bbb6-1587f2eecaed");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { t as LegalEntityTypes, a8 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
11
|
+
import { t as LegalEntityTypes, a8 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-S9t1Y3h5.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-Cwdze9IH.js";
|
|
13
13
|
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-MeN1dp53.js";
|
|
14
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-C7NgQlTG.js";
|
|
15
15
|
const getMemberOwnerId = (memberId, entityAssociations) => entityAssociations.find((association) => association.associatorId === memberId)?.legalEntityId;
|
|
16
16
|
const convertEntityAssociationIntoUnincorporatedPartnershipMember = (association) => {
|
|
17
17
|
if (association.entityType === LegalEntityTypes.INDIVIDUAL || association.entityType === LegalEntityTypes.ORGANIZATION)
|