@adyen/kyc-components 3.94.1 → 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-sH4rxSc9.js → AcceptTermsOfServiceComponent-_OcgHcl9.js} +16 -16
- package/dist/{Accordion-CkNvJ4kT.js → Accordion-L-PFPDP9.js} +1 -1
- package/dist/{AccountSetupRejected-Dq_8O0cj.js → AccountSetupRejected-D8AFUByI.js} +3 -3
- package/dist/{ActionBar-DAYW611i.js → ActionBar-BfaULouQ.js} +1 -1
- package/dist/{Address-BHQeY0gZ.js → Address-Bq8Iddwj.js} +10 -10
- package/dist/{Alert-GJQ5T45c.js → Alert-CNd6ycaR.js} +3 -3
- package/dist/{Avatar-CE3Vdw-a.js → Avatar-B9HJritf.js} +1 -1
- package/dist/{BusinessFinancingComponent-BghSUOhK.js → BusinessFinancingComponent-D2aE3Mns.js} +5 -5
- package/dist/{BusinessFinancingDropin-TaNeXvD7.js → BusinessFinancingDropin-4pZFIG7s.js} +28 -28
- package/dist/{BusinessFinancingPage-DWBB4A7i.js → BusinessFinancingPage-B5WGj6uh.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-Boqvqj4o.js → BusinessTypeSelectionPage-D-aVtncz.js} +9 -9
- package/dist/{Checkbox-UmOe8uZC.js → Checkbox-BIO_9cEB.js} +1 -1
- package/dist/{Confirm-Cq9502dt.js → Confirm-DFiXu0ds.js} +3 -3
- package/dist/{ConstitutionalDocument-CVfC6g_r.js → ConstitutionalDocument-CcIokXH1.js} +18 -18
- package/dist/{ContactDetails-CSwaBiDA.js → ContactDetails-Cv7hq3cM.js} +8 -8
- package/dist/{ContextGuidance-CYFHnvHY.js → ContextGuidance-bwEv46B5.js} +2 -2
- package/dist/{CountryField-BmCcBDnB.js → CountryField-BTxty5-N.js} +5 -5
- package/dist/{CreateIndividualComponent-LzwpwYcO.js → CreateIndividualComponent-CwnK37G8.js} +5 -5
- package/dist/{CreateTransferInstrumentComponent-DHTBgxQl.js → CreateTransferInstrumentComponent-4R6uT0Kj.js} +4 -4
- package/dist/{Currency-BcqhmK8t.js → Currency-DUlyAUD_.js} +7 -7
- package/dist/{CustomerSupport-BpMbjauY.js → CustomerSupport-B3MmMjSo.js} +11 -11
- package/dist/{DebugModal-DAJcN3hx.js → DebugModal-8J-bFCOH.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-B94wh9yj.js → DecisionMakerDetailsPage-CR9HG8PG.js} +7 -7
- package/dist/{DecisionMakers-Dt-p6zwO.js → DecisionMakers-CkGYdATg.js} +22 -21
- package/dist/{Dropzone-CNn_hPhi.js → Dropzone-DpnRUhfa.js} +4 -4
- package/dist/{EmbeddedStatus-C2UaHa70.js → EmbeddedStatus-BFPsiZWt.js} +3 -3
- package/dist/{EndStateLayout-CZwGX54V.js → EndStateLayout-Clz7QzRF.js} +1 -1
- package/dist/{EntityAssociation-CLCJA57v.js → EntityAssociation-CrGIaM4A.js} +6 -6
- package/dist/{EntityGuidanceStatus-DlZfC9pT.js → EntityGuidanceStatus-D_fk7N6f.js} +3 -3
- package/dist/{ErrorPanel-CHLFYAGU.js → ErrorPanel-DHW6PukY.js} +2 -2
- package/dist/{Field-CL2SyUK_.js → Field-D7xDX5cp.js} +1 -1
- package/dist/{FormNavigation-D9AYk5oO.js → FormNavigation-SubDiH2y.js} +3 -3
- package/dist/{FormWrapper-Ss3EecNg.js → FormWrapper-DFzPCBbo.js} +9 -9
- package/dist/{Header-B8qkYn4f.js → Header-BI6y9D2c.js} +1 -1
- package/dist/Image-BquCL84L.js +27 -0
- package/dist/{Individual.rules-BY65pZ_4.js → Individual.rules-D212IUeD.js} +6 -6
- package/dist/{IndividualDropin-C7a9m3jT.js → IndividualDropin-C2M-Z8k5.js} +53 -53
- package/dist/{InputDate-CasqUcbo.js → InputDate-CCdMEK75.js} +2 -2
- package/dist/{InputText-A91_xfE6.js → InputText-h5wzkP3A.js} +2 -2
- package/dist/{Introduction-B_G2_Ak6.js → Introduction-GePezr9a.js} +4 -4
- package/dist/{JpAddress-CzTMoLQZ.js → JpAddress-Bv5yzGQi.js} +9 -9
- package/dist/{LandingLayout-ChgKjsos.js → LandingLayout-bICQiWdq.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-Bin7luSJ.js → LegalRepresentativeDetailsPage-CEat5jp8.js} +4 -4
- package/dist/{Link-CHB5rlk5.js → Link-BqcY7l2r.js} +1 -1
- package/dist/{ListItem-90fVUJ3T.js → ListItem-Df8bVw5e.js} +2 -2
- package/dist/{LoaderWrapper-KayOKxCD.js → LoaderWrapper-B-VQP_64.js} +1 -1
- package/dist/{ManageIndividualComponent-6wZDjWT7.js → ManageIndividualComponent-dwt0Vbpz.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-CxT_QZVX.js → ManageTermsOfServiceComponent-gs4SCV1y.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-DUB6tlrd.js → ManageTransferInstrumentComponent-BdbfUuTs.js} +12 -12
- package/dist/{MaskedInput-Dolhh7yX.js → MaskedInput-Dw6DiP7U.js} +5 -5
- package/dist/{MaybeModal-CAurh129.js → MaybeModal-CB0qEPJg.js} +3 -3
- package/dist/{Modal-BMQ9RmbO.js → Modal-CugB_M4G.js} +1 -1
- package/dist/{Name-BsvdKyt8.js → Name-CRycp0TD.js} +5 -5
- package/dist/{OnboardingDropinComponent-Dv-WP3-3.js → OnboardingDropinComponent-x3jK3rPX.js} +44 -43
- package/dist/{PayoutDetailsDropin-BfJFJiaL.js → PayoutDetailsDropin-BKFSbkiy.js} +42 -41
- package/dist/{RadioGroup-B_XR2iwa.js → RadioGroup-BRR9Zkwm.js} +2 -2
- package/dist/{RadioGroupCard-CNjYzk2n.js → RadioGroupCard-BOugxVT2.js} +2 -2
- package/dist/{Review-BSi6u6dv.js → Review-CI9DEArb.js} +7 -7
- package/dist/{RootBusinessDetailsPage-Cz_-Gfr3.js → RootBusinessDetailsPage-Bdhmlv10.js} +5 -5
- package/dist/{RootBusinessLinesPage-HOinWNPJ.js → RootBusinessLinesPage-DBwbhC-I.js} +24 -23
- package/dist/{RootIndividualDetailsPage-CFUZJhpo.js → RootIndividualDetailsPage-DgeGJUZs.js} +5 -5
- package/dist/{Select-IlZLfi3_.js → Select-CSWiaeaD.js} +4 -4
- package/dist/{SignPCIComponent-gPEfrD4-.js → SignPCIComponent-BxQYTKBM.js} +11 -11
- package/dist/{SingpassSelection-DOL9BZkp.js → SingpassSelection-DEtpzoZM.js} +6 -6
- package/dist/{SoleProprietorshipPage-CoLrpilH.js → SoleProprietorshipPage-D-cP-9mz.js} +4 -4
- package/dist/{SourceOfFundsPage-C2PgvSOC.js → SourceOfFundsPage-BS_f8OpW.js} +32 -31
- package/dist/{StepProgressIndicator-CtqHOctz.js → StepProgressIndicator-RlKc7VN6.js} +1 -1
- package/dist/{StoreProvider-CmW2tb7E.js → StoreProvider-S9t1Y3h5.js} +12 -12
- package/dist/{Summary-CcBpezVs.js → Summary-CumqLS14.js} +6 -6
- package/dist/{TaskVerificationStatus-nanzio9G.js → TaskVerificationStatus-D0r0yrtS.js} +1 -1
- package/dist/{TaxInformationField-B1uanesg.js → TaxInformationField-CwC-hkwG.js} +21 -21
- package/dist/{TaxReportingDropin-Bc7t_n1I.js → TaxReportingDropin-DjvbswpW.js} +16 -16
- package/dist/{TextArea-DVLoRxlf.js → TextArea-CJHjD6pT.js} +2 -2
- package/dist/{TileGroup-1H0NMYGX.js → TileGroup-ShJtmdxC.js} +3 -3
- package/dist/{TrustDetailsPage-BUFDsVT-.js → TrustDetailsPage-Bf8acibt.js} +34 -34
- package/dist/{TrustMemberCompanyPage-Bd9nqqyC.js → TrustMemberCompanyPage-Druqqwwk.js} +5 -5
- package/dist/{TrustMemberIndividualPage-BXvYsgC5.js → TrustMemberIndividualPage-DGEtkbvz.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-BOhZJ3r5.js → TrustMemberRoleAndTypePage-_1fP4epA.js} +22 -22
- package/dist/{TrustMembersOverview-CXC3cabX.js → TrustMembersOverview-_dYRn-Zr.js} +12 -12
- package/dist/{UnincorporatedPartnershipIndividualPage-8caLaWNu.js → UnincorporatedPartnershipIndividualPage-BXsEBJAb.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-D6iHHZFJ.js → UnincorporatedPartnershipMemberCompanyPage-BzxUs-bO.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DLQ4tFt5.js → UnincorporatedPartnershipMemberRoleAndTypePage-HKsbKJOy.js} +11 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-B3NSCrqI.js → UnincorporatedPartnershipMembersOverview-Ce2VueoY.js} +9 -9
- package/dist/{VerificationErrorAlert-DERyL-Ve.js → VerificationErrorAlert-eLdcig75.js} +4 -4
- package/dist/{ViewVerificationStatusComponent-BnSQ67x5.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-4fqP157_.js → bafinUtils-O3zzoY_t.js} +2 -2
- package/dist/{commonValidators-B-7epFA5.js → commonValidators-DjmQlU1p.js} +1 -1
- package/dist/{dropinUtils-CIat9gS7.js → dropinUtils-UPMq0Ltd.js} +4 -4
- package/dist/{fieldConfig-CpHkwYmW.js → fieldConfig-Hu-mVROR.js} +6 -6
- package/dist/{formUtils-CQIwcS8V.js → formUtils-B8ymgO1t.js} +3 -3
- package/dist/{getName-SMiWFGIc.js → getName-C7NgQlTG.js} +1 -1
- package/dist/{Image-UqgzvUPD.js → getProblemsForEntity-BA4WcJ62.js} +2 -17
- package/dist/{iframeWidget-Bm64pKZa.js → iframeWidget-BT1hze3O.js} +4 -4
- package/dist/{isEmpty-Co3c-R6n.js → isEmpty-BO66pCCZ.js} +1 -1
- package/dist/{japanSupportUtils-DUlZ-afy.js → japanSupportUtils-C5CuNN3k.js} +1 -1
- package/dist/{localizeDateString-C1oPVqub.js → localizeDateString-DgElYhrt.js} +1 -1
- package/dist/{mapExistingFile-6U-l-M8P.js → mapExistingFile-MbK-6-RK.js} +4 -4
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BjqUfeDn.js → mapJpAddressSchemaToAddressLocalizations-Gfl95wRA.js} +5 -5
- package/dist/{mapLegalEntityToIndividualSchema-CEZ_SwAB.js → mapLegalEntityToIndividualSchema-CsmR0M_e.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-BlUZjYuF.js → mapTransferInstrumentToPayoutAccount-BzoRZqgj.js} +2 -2
- package/dist/{patternValidators-BwTbcBai.js → patternValidators-BAmLPEQ9.js} +1 -1
- package/dist/{process-field-configurations-Djws978Q.js → process-field-configurations-Ck-9vLMi.js} +3 -3
- package/dist/resolveEnvironment-BS8Ep_cq.js +84 -0
- package/dist/{roleMetadata-Bet27ep3.js → roleMetadata-Cp_fx0An.js} +2 -2
- 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-BByxDB-r.js → types-Jzaf73Zb.js} +1 -1
- package/dist/{types-D5soxm6D.js → types-OcIQRzjv.js} +1 -1
- package/dist/{types-DodxtkyD.js → types-Z5dHe17C.js} +2 -2
- package/dist/{useAssociatedLegalEntity-BiUeJrfT.js → useAssociatedLegalEntity-Cwdze9IH.js} +1 -1
- package/dist/{useBusinessDetailsData-C_8-0d7Z.js → useBusinessDetailsData-BnQQtBjj.js} +50 -50
- package/dist/{useCreateLegalEntity-BLnPzlKG.js → useCreateLegalEntity-BspdTSvG.js} +1 -1
- package/dist/{useDataset-BZDB4-94.js → useDataset-GNZopNa_.js} +2 -2
- package/dist/{useForm-BVECSHTo.js → useForm-CrrBdkYX.js} +3 -3
- package/dist/{useFormContext-ByLkto9e.js → useFormContext-B8EfGEU6.js} +7 -7
- package/dist/{useGlobalData-Ct4ardnB.js → useGlobalData-DwvnjVq4.js} +2 -2
- package/dist/{useMultiForm-CucoFPTP.js → useMultiForm-DiLK7zzV.js} +4 -4
- package/dist/{useOnboardingStatus-DhWqfv4y.js → useOnboardingStatus-CmwMxZNS.js} +1 -1
- package/dist/{useScenarios-hJelzilY.js → useScenarios-BZMGvP1Q.js} +2 -2
- package/dist/{useTermsOfServiceStatus-B4mDxap_.js → useTermsOfServiceStatus-COcwVefQ.js} +1 -1
- package/dist/{useToastContext-DYJr2Yhx.js → useToastContext-XqX9nPMU.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-DuucUfhV.js → useUnincorporatedPartnershipMembers-DvEvFtB0.js} +4 -4
- package/dist/{useUpdateBusinessLines-ZSZ-grb3.js → useUpdateBusinessLines-CsGTTZmG.js} +4 -4
- package/dist/{useUpdateLegalEntity-B9jFutW6.js → useUpdateLegalEntity-DQigrhJt.js} +2 -2
- package/dist/{utils-DVWo9odT.js → utils-B9DMUz4X.js} +2 -2
- package/dist/{utils-DkwzPpL2.js → utils-Bm9UQ3J-.js} +6 -6
- package/dist/{utils-DkuYidIK.js → utils-Bve1pZzF.js} +2 -2
- package/dist/{utils-Ag8KeYzT.js → utils-CJuEhTJl.js} +3 -3
- package/dist/{utils-CRq_aSxq.js → utils-DZYVicml.js} +1 -1
- package/dist/{validate-CtBguJTj.js → validate-CUkO0uMn.js} +1 -1
- package/dist/{validate-CnZQywR5.js → validate-QTevEJlY.js} +3 -3
- package/dist/{validationError-B7cbiM5j.js → validationError-BIOF84gr.js} +2 -2
- package/package.json +7 -3
- package/dist/resolveEnvironment-CVu1Sp-Z.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]: {
|
|
@@ -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)
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ef61c66c-d712-4301-9dce-f623349c0ddf", e._sentryDebugIdIdentifier = "sentry-dbid-ef61c66c-d712-4301-9dce-f623349c0ddf");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery, useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, k as httpGet, ap as isEmpty, u as useTranslation, J as useExperimentsContext, H as IconButton, j as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet, ap as isEmpty, u as useTranslation, J as useExperimentsContext, H as IconButton, j as httpPost } from "./StoreProvider-S9t1Y3h5.js";
|
|
12
12
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
13
13
|
import { useRef, useMemo, useState, useEffect } from "preact/hooks";
|
|
14
|
-
import { F as Field } from "./Field-
|
|
14
|
+
import { F as Field } from "./Field-D7xDX5cp.js";
|
|
15
15
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
16
|
-
import { S as Select } from "./Select-
|
|
16
|
+
import { S as Select } from "./Select-CSWiaeaD.js";
|
|
17
17
|
import { signal } from "@preact/signals";
|
|
18
18
|
const fetchIndustryCodes = async (legalEntityId, baseUrl, businessLineTypes2, locale) => {
|
|
19
19
|
const results = await Promise.all(
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQueryClient, useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
12
|
-
import { b as useApiContext, j as httpPost } from "./StoreProvider-
|
|
11
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-XqX9nPMU.js";
|
|
12
|
+
import { b as useApiContext, j as httpPost } from "./StoreProvider-S9t1Y3h5.js";
|
|
13
13
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
15
15
|
{
|
|
@@ -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] = "446da043-55f6-43e8-b268-ddeb207ebff8", e._sentryDebugIdIdentifier = "sentry-dbid-446da043-55f6-43e8-b268-ddeb207ebff8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { ah as entriesOf } from "./StoreProvider-S9t1Y3h5.js";
|
|
11
11
|
class ValidationResult {
|
|
12
12
|
validationResults;
|
|
13
13
|
constructor(results) {
|
|
@@ -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] = "1d795970-bb4d-43f9-9210-5d448901a6b8", e._sentryDebugIdIdentifier = "sentry-dbid-1d795970-bb4d-43f9-9210-5d448901a6b8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
11
|
-
import { g as getLegalEntityCountry, br as getCapabilities, t as LegalEntityTypes, v as hasOwnEntityAssociationOfType, a5 as CountryCodes } from "./StoreProvider-
|
|
12
|
-
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-
|
|
13
|
-
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-
|
|
14
|
-
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
10
|
+
import { C as CompanyTypesValues } from "./bafinUtils-O3zzoY_t.js";
|
|
11
|
+
import { g as getLegalEntityCountry, br as getCapabilities, t as LegalEntityTypes, v as hasOwnEntityAssociationOfType, a5 as CountryCodes } from "./StoreProvider-S9t1Y3h5.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-x3jK3rPX.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-D212IUeD.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-Jzaf73Zb.js";
|
|
15
15
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
16
16
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
17
17
|
CountryCodes.UnitedStates,
|