@adyen/kyc-components 3.68.4 → 3.69.1
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-Bz8meNAN.js → AcceptTermsOfServiceComponent-Cnv5ZPl5.js} +35 -60
- package/dist/{AccountSetupRejected-D3E-9InR.js → AccountSetupRejected-CghDwOps.js} +3 -3
- package/dist/{BusinessTypeSelection-DGBwNzyu.js → BusinessTypeSelection-DeZuB2cX.js} +4 -4
- package/dist/{CXEL7IU7-Cxc9L1rB.js → CXEL7IU7-HK-98F6d.js} +3 -3
- package/dist/{CreateIndividualComponent-BhczFqlN.js → CreateIndividualComponent-CXcGc6Fg.js} +92 -194
- package/dist/{CustomerSupport-DZVVS0az.js → CustomerSupport-BWMKG7BY.js} +4 -4
- package/dist/{DebugModal-CZcPKrKr.js → DebugModal-DlUYp71H.js} +8 -8
- package/dist/{DecisionMakers-CJU3ufK2.js → DecisionMakers-jM2qEJYz.js} +4 -4
- package/dist/{EmbedShell-DB8x4Nem.js → EmbedShell-CAeuW7V3.js} +28 -8
- package/dist/{EventEmitter-DO8kcfAT.js → EventEmitter-BdbTrGMk.js} +418 -428
- package/dist/{HASRA6WW-BPxD6Lwy.js → HASRA6WW-Bu-29-oR.js} +2 -2
- package/dist/{I3HPI4QX-CX7OCqd9.js → I3HPI4QX-DB3vUJvp.js} +3 -3
- package/dist/{Introduction-DPpBzox4.js → Introduction-BleGRaa4.js} +3 -3
- package/dist/{Review-SsWCNJ4V.js → Review-B8zggWg2.js} +8 -14
- package/dist/{SingpassSelection-CoRcvnhu.js → SingpassSelection-DC-hVP9Y.js} +1 -1
- package/dist/{TaxReportingDropin-1DIISI1K.js → TaxReportingDropin-DqSPuzE8.js} +10 -16
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +1 -1
- package/dist/{bg-BG-CfJNzZu7.js → bg-BG-Ce7O3eFv.js} +15 -4
- package/dist/{core-DwWFwq-p.js → core-B13TZF_D.js} +275 -416
- package/dist/{cs-CZ-CRMGIz8x.js → cs-CZ-CrC0OM0G.js} +16 -5
- package/dist/{css-_LjM9pSU.js → css-D1NPnwah.js} +1 -1
- package/dist/{da-DK-C7ftGVR7.js → da-DK-qSfql5UY.js} +15 -4
- package/dist/{de-DE-C39k0axr.js → de-DE-3LOqfpiA.js} +15 -4
- package/dist/{el-GR-BGGUBqdt.js → el-GR-CTuJ6hn-.js} +15 -4
- package/dist/{es-ES-BojuwecZ.js → es-ES-DgVFlRYZ.js} +19 -8
- package/dist/{et-EE-DEVH-7IA.js → et-EE-Bgft_08b.js} +15 -4
- package/dist/{fi-FI-Bku_85E3.js → fi-FI-CQW_GIPa.js} +15 -4
- package/dist/{fr-FR-HnJ_pnor.js → fr-FR-dNqcyG5e.js} +15 -4
- package/dist/{hr-HR-DXiqG0wV.js → hr-HR-C8WCFUb9.js} +15 -4
- package/dist/{hu-HU-DctyKbNV.js → hu-HU-OdcVNvSN.js} +15 -4
- package/dist/individual.js +5 -4
- package/dist/{it-IT-tSaYFPHL.js → it-IT-CPBQVRCK.js} +15 -4
- package/dist/{ja-JP-DrupcLqM.js → ja-JP-Bh4irw6C.js} +15 -4
- package/dist/{json-BZrWRd0I.js → json-BfY90MIx.js} +1 -1
- package/dist/{listToRecord-1KbYZ5qe.js → listToRecord-CAqI3h_G.js} +1 -1
- package/dist/{lt-LT-C4y-mmdw.js → lt-LT-vglMkJcJ.js} +15 -4
- package/dist/{lv-LV-CqmNw1Ry.js → lv-LV-BbjKCqpN.js} +15 -4
- package/dist/{nl-NL-CALz56wW.js → nl-NL-D_O0KNNq.js} +15 -4
- package/dist/{no-NO-SyIXHgGV.js → no-NO-qkYiqc6y.js} +16 -5
- package/dist/{pl-PL-veuK_Fs-.js → pl-PL-Dt_cU3CC.js} +15 -4
- package/dist/{plaintext-CAPVlVKI.js → plaintext-BtvmsVMu.js} +1 -1
- package/dist/{pt-PT-KPmxJycM.js → pt-PT-ikqIUFTg.js} +15 -4
- package/dist/{ro-RO-DPXG-We0.js → ro-RO-gzqKZPHh.js} +15 -4
- package/dist/{sk-SK-ldAkSZl-.js → sk-SK-BY3g56qX.js} +16 -5
- package/dist/{sl-SI-CH3W5STZ.js → sl-SI-HorvDYvW.js} +15 -4
- package/dist/style.css +5 -2
- package/dist/styles-CLV89_hH.js +5 -2
- package/dist/{sv-SE-DFrDPziR.js → sv-SE-X6UKX96z.js} +16 -5
- package/dist/terms-of-service.js +5 -4
- package/dist/types/api/address/useSearchAddress.d.ts +1 -1
- package/dist/types/api/check/useCheck.d.ts +1 -1
- package/dist/types/api/companyDataSet/useCompanyDataset.d.ts +15 -3
- package/dist/types/api/companyDataSet/useRefreshCompanyDataset.d.ts +6 -2
- package/dist/types/api/companySearch/useCompanyDeepSearch.d.ts +12 -3
- package/dist/types/api/companySearch/useCompanyIndexSearch.d.ts +2 -3
- package/dist/types/api/companySearch/useCompanyRegistrationNumberDeepSearch.d.ts +2 -3
- package/dist/types/api/companySearch/useCompanyRegistrationNumberIndexSearch.d.ts +2 -3
- package/dist/types/api/configurations/useVersionConfiguration.d.ts +1 -1
- package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +15 -3
- package/dist/types/api/openId/useOpenIdAuthorizationLink.d.ts +1 -1
- package/dist/types/api/pciTemplate/usePciQuestionnaire.d.ts +1 -1
- package/dist/types/api/pciTemplate/usePciQuestionnaireList.d.ts +1 -1
- package/dist/types/api/queryKeys.d.ts +2 -1
- package/dist/types/api/termsOfService/useAcceptTermsOfService.d.ts +1 -1
- package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +1 -1
- package/dist/types/api/termsOfService/useTermsOfService.d.ts +1 -1
- package/dist/types/api/tinVerification/useVerifyTin.d.ts +4 -5
- package/dist/types/api/transferInstruments/useCreateTransferInstrument.d.ts +1 -1
- package/dist/types/api/validation/useValidateAccountIdentification.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/VerifiedBusinessCard.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +1 -1
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +2 -1
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +2 -1
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard.d.ts +2 -1
- package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +1 -1
- package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +1 -1
- package/dist/types/components/Business/hooks/useBusinessData/types.d.ts +7 -12
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/types.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/IdVerification/IdVerification.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/IdVerification/types.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/types.d.ts +0 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +1 -4
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/OnfidoVerificationModal/OnfidoVerificationModal.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +0 -2
- package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +1 -3
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +5 -0
- package/dist/types/components/Shared/forms/Address/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +4 -3
- package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +2 -1
- package/dist/types/components/UnincorporatedPartnership/types/types.d.ts +9 -0
- package/dist/types/context/ApiContext/ApiProvider.d.ts +3 -3
- package/dist/types/context/FormRouterContext/FormRouterContextProvider.d.ts +1 -1
- package/dist/types/context/FormRouterContext/types.d.ts +0 -2
- package/dist/types/core/EmbedShell/EmbedShell.d.ts +5 -2
- package/dist/types/core/UIElement/UIElement.d.ts +1 -1
- package/dist/types/core/core.d.ts +1 -1
- package/dist/types/core/services/types.d.ts +3 -15
- package/dist/types/core/services/utils.d.ts +1 -3
- package/dist/types/core/types.d.ts +0 -4
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/{yaml-CCRP53dZ.js → yaml-DdX1lwgo.js} +1 -1
- package/package.json +1 -1
- package/dist/types/components/Individual/hooks/useIdVerificationToken.d.ts +0 -13
- package/dist/types/core/models/api/company-search.d.ts +0 -70
package/dist/{AcceptTermsOfServiceComponent-Bz8meNAN.js → AcceptTermsOfServiceComponent-Cnv5ZPl5.js}
RENAMED
|
@@ -2,27 +2,21 @@
|
|
|
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] = "f805f276-3236-4ec5-9be8-f9566e025c53", e._sentryDebugIdIdentifier = "sentry-dbid-f805f276-3236-4ec5-9be8-f9566e025c53");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useState, useEffect, useCallback } from "preact/hooks";
|
|
12
|
-
import { a as useApiContext, R as useInvalidateRootLegalEntity, e as useMutation, h as httpPost, b as useQuery, d as httpGet,
|
|
12
|
+
import { a as useApiContext, R as useInvalidateRootLegalEntity, e as useMutation, h as httpPost, b as useQuery, d as httpGet, d$ as skipToken, Q as Icon, e0 as AlertIcon, c as createLogger, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, n as useExperimentsContext, bj as useForm, V as Alert, G as Button, b8 as localizeDateString, L as LoaderWrapper, b9 as Field, ba as Select, d6 as Checkbox, cH as ActionBar, d5 as MaybeModal, D as ModalContent, F as ModalFooter, dJ as StepProgressIndicator, Y as Spacer, J as LegalEntityType, ak as getOwnSignatories, a4 as doesLegalEntityRequiresLegalRepresentative, a3 as getLegalRepresentative, cF as FormNavigation, I as useCoreContext, u as useLegalEntity, K as Loader, T as TaskTypes } from "./EventEmitter-BdbTrGMk.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
import { defineSlots } from "named-slots";
|
|
15
|
-
const acceptTermsOfService = async (legalEntityId,
|
|
15
|
+
const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
|
|
16
16
|
return httpPost(
|
|
17
17
|
{
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
errorMessage: `Failed to accept Terms of service`,
|
|
21
|
-
path: `legalEntities/${legalEntityId}/termsOfService/accept`,
|
|
22
|
-
authentication: "jwt",
|
|
23
|
-
headers: {
|
|
24
|
-
"Content-Type": "application/json"
|
|
25
|
-
}
|
|
18
|
+
baseUrl,
|
|
19
|
+
path: `legalEntities/${legalEntityId}/termsOfService/accept`
|
|
26
20
|
},
|
|
27
21
|
{
|
|
28
22
|
...data,
|
|
@@ -32,74 +26,61 @@ const acceptTermsOfService = async (legalEntityId, url, termsOfServiceDocumentId
|
|
|
32
26
|
);
|
|
33
27
|
};
|
|
34
28
|
const useAcceptTermsOfService = (options) => {
|
|
35
|
-
const {
|
|
29
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
36
30
|
const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
|
|
37
31
|
return useMutation({
|
|
38
|
-
mutationFn: (data) => acceptTermsOfService(
|
|
32
|
+
mutationFn: (data) => acceptTermsOfService(
|
|
33
|
+
rootLegalEntityId.value,
|
|
34
|
+
baseUrl.value,
|
|
35
|
+
data.termsOfServiceDocumentId,
|
|
36
|
+
data
|
|
37
|
+
),
|
|
39
38
|
onSuccess: async () => {
|
|
40
39
|
await invalidateRootLegalEntity();
|
|
41
40
|
},
|
|
42
41
|
...options
|
|
43
42
|
});
|
|
44
43
|
};
|
|
45
|
-
const getTermsOfServiceAcceptanceInfos = async (legalEntityId,
|
|
44
|
+
const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
|
|
46
45
|
return httpGet({
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
errorMessage: `Failed to get terms of service acceptance info`,
|
|
50
|
-
path: `legalEntities/${legalEntityId}/termsOfService/termsOfServiceAcceptanceInfos`,
|
|
51
|
-
authentication: "jwt",
|
|
52
|
-
headers: {
|
|
53
|
-
"Content-Type": "application/json"
|
|
54
|
-
}
|
|
46
|
+
baseUrl,
|
|
47
|
+
path: `legalEntities/${legalEntityId}/termsOfService/termsOfServiceAcceptanceInfos`
|
|
55
48
|
});
|
|
56
49
|
};
|
|
57
50
|
const useTermsOfServiceAcceptanceInfos = (options) => {
|
|
58
|
-
const {
|
|
51
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
59
52
|
return useQuery({
|
|
60
53
|
queryKey: ["termsOfServiceAcceptanceInfos"],
|
|
61
|
-
queryFn: () => getTermsOfServiceAcceptanceInfos(
|
|
54
|
+
queryFn: () => getTermsOfServiceAcceptanceInfos(rootLegalEntityId.value, baseUrl.value),
|
|
62
55
|
...options
|
|
63
56
|
});
|
|
64
57
|
};
|
|
65
|
-
const getTermsOfServiceStatus = async (legalEntityId,
|
|
58
|
+
const getTermsOfServiceStatus = async (legalEntityId, baseUrl) => {
|
|
66
59
|
return httpGet({
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
errorMessage: `Failed to get terms of service status`,
|
|
70
|
-
path: `legalEntities/${legalEntityId}/termsOfService/termsOfServiceStatus`,
|
|
71
|
-
authentication: "jwt",
|
|
72
|
-
headers: {
|
|
73
|
-
"Content-Type": "application/json"
|
|
74
|
-
}
|
|
60
|
+
baseUrl,
|
|
61
|
+
path: `legalEntities/${legalEntityId}/termsOfService/termsOfServiceStatus`
|
|
75
62
|
});
|
|
76
63
|
};
|
|
77
64
|
const useTermsOfServiceStatus = (options) => {
|
|
78
|
-
const {
|
|
65
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
79
66
|
return useQuery({
|
|
80
67
|
queryKey: ["termsOfServiceStatus"],
|
|
81
|
-
queryFn: () => getTermsOfServiceStatus(
|
|
68
|
+
queryFn: () => getTermsOfServiceStatus(rootLegalEntityId.value, baseUrl.value),
|
|
82
69
|
...options
|
|
83
70
|
});
|
|
84
71
|
};
|
|
85
|
-
const getAcceptedTermsOfService = async (legalEntityId,
|
|
72
|
+
const getAcceptedTermsOfService = async (legalEntityId, baseUrl, termsOfServiceAcceptanceReference, documentFormat) => {
|
|
86
73
|
return httpGet({
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
errorMessage: `Failed to get accepted service agreement`,
|
|
90
|
-
path: `legalEntities/${legalEntityId}/termsOfService/acceptedTermsOfServiceDocument/${termsOfServiceAcceptanceReference}?documentformat=${documentFormat} `,
|
|
91
|
-
authentication: "jwt",
|
|
92
|
-
headers: {
|
|
93
|
-
"Content-Type": "application/json"
|
|
94
|
-
}
|
|
74
|
+
baseUrl,
|
|
75
|
+
path: `legalEntities/${legalEntityId}/termsOfService/acceptedTermsOfServiceDocument/${termsOfServiceAcceptanceReference}?documentformat=${documentFormat} `
|
|
95
76
|
});
|
|
96
77
|
};
|
|
97
78
|
const useAcceptedTermsOfService = (termsOfServiceAcceptanceReference, documentFormat, options) => {
|
|
98
|
-
const {
|
|
79
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
99
80
|
return useQuery({
|
|
100
81
|
queryKey: ["acceptedTermsOfService", termsOfServiceAcceptanceReference, documentFormat],
|
|
101
82
|
queryFn: termsOfServiceAcceptanceReference ? () => getAcceptedTermsOfService(
|
|
102
|
-
|
|
83
|
+
rootLegalEntityId.value,
|
|
103
84
|
baseUrl.value,
|
|
104
85
|
termsOfServiceAcceptanceReference,
|
|
105
86
|
documentFormat
|
|
@@ -107,26 +88,20 @@ const useAcceptedTermsOfService = (termsOfServiceAcceptanceReference, documentFo
|
|
|
107
88
|
...options
|
|
108
89
|
});
|
|
109
90
|
};
|
|
110
|
-
const getTermsOfService = async (legalEntityId,
|
|
91
|
+
const getTermsOfService = async (legalEntityId, baseUrl, data) => {
|
|
111
92
|
return httpPost(
|
|
112
93
|
{
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
errorMessage: `Failed to get terms of service`,
|
|
116
|
-
path: `legalEntities/${legalEntityId}/termsOfService`,
|
|
117
|
-
authentication: "jwt",
|
|
118
|
-
headers: {
|
|
119
|
-
"Content-Type": "application/json"
|
|
120
|
-
}
|
|
94
|
+
baseUrl,
|
|
95
|
+
path: `legalEntities/${legalEntityId}/termsOfService`
|
|
121
96
|
},
|
|
122
97
|
data
|
|
123
98
|
);
|
|
124
99
|
};
|
|
125
100
|
const useTermsOfService = (data, options) => {
|
|
126
|
-
const {
|
|
101
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
127
102
|
return useQuery({
|
|
128
103
|
queryKey: ["termsOfService", data],
|
|
129
|
-
queryFn: () => getTermsOfService(
|
|
104
|
+
queryFn: () => getTermsOfService(rootLegalEntityId.value, baseUrl.value, data),
|
|
130
105
|
...options
|
|
131
106
|
});
|
|
132
107
|
};
|
|
@@ -1236,7 +1211,7 @@ function ServiceAgreementDropin({
|
|
|
1236
1211
|
const { showToast } = useToastContext();
|
|
1237
1212
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
1238
1213
|
const isAgeVerificationEnabled = isExperimentEnabled("EnableAgeVerification");
|
|
1239
|
-
const {
|
|
1214
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
1240
1215
|
const [loadingStatus, setLoadingStatus] = useState();
|
|
1241
1216
|
const signedForms = serviceAgreementAcceptanceInfos.map((serviceAgreementAcceptanceInfo) => ({
|
|
1242
1217
|
formId: serviceAgreementAcceptanceInfo.id,
|
|
@@ -1386,7 +1361,7 @@ function ServiceAgreementDropin({
|
|
|
1386
1361
|
};
|
|
1387
1362
|
const onDownloadUnacceptedTermsOfServiceDocument = async () => {
|
|
1388
1363
|
const requestAndDownload = async (languageCode) => {
|
|
1389
|
-
const response = await getTermsOfService(
|
|
1364
|
+
const response = await getTermsOfService(rootLegalEntityId.value, baseUrl.value, {
|
|
1390
1365
|
type: activeForm.serviceAgreementType,
|
|
1391
1366
|
language: languageCode,
|
|
1392
1367
|
termsOfServiceDocumentFormat: "PDF"
|
|
@@ -1671,7 +1646,7 @@ function AcceptTermsOfServiceComponent({
|
|
|
1671
1646
|
},
|
|
1672
1647
|
[onAccept, stepsData, acceptTermsOfService2, serviceAgreementStatus == null ? void 0 : serviceAgreementStatus.termsOfServiceTypes]
|
|
1673
1648
|
);
|
|
1674
|
-
return isStatusLoading || isAcceptanceInfoLoading || !legalEntity ? /* @__PURE__ */ jsx(Loader, {
|
|
1649
|
+
return isStatusLoading || isAcceptanceInfoLoading || !legalEntity ? /* @__PURE__ */ jsx(Loader, {}) : /* @__PURE__ */ jsx(
|
|
1675
1650
|
ServiceAgreementDropin,
|
|
1676
1651
|
{
|
|
1677
1652
|
taskType: TaskTypes.SERVICE_AGREEMENT,
|
|
@@ -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] = "b0c167bd-7d13-4050-a157-d2e6f5bb90ee", e._sentryDebugIdIdentifier = "sentry-dbid-b0c167bd-7d13-4050-a157-d2e6f5bb90ee");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { i as useI18nContext,
|
|
12
|
-
import { D as DropinLayout } from "./core-
|
|
11
|
+
import { i as useI18nContext, e0 as AlertIcon, bY as FormHeader } from "./EventEmitter-BdbTrGMk.js";
|
|
12
|
+
import { D as DropinLayout } from "./core-B13TZF_D.js";
|
|
13
13
|
function AccountSetupRejected() {
|
|
14
14
|
const { i18n } = useI18nContext();
|
|
15
15
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -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] = "0458514f-1799-4b4a-b3b3-3e46f182d744", e._sentryDebugIdIdentifier = "sentry-dbid-0458514f-1799-4b4a-b3b3-3e46f182d744");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { u as useLegalEntity, K as Loader, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, n as useExperimentsContext, ap as getCapabilities, q as getLegalEntityCountry, J as LegalEntityType, bj as useForm, L as LoaderWrapper, E as Typography, b9 as Field,
|
|
13
|
-
import { B as useUpdateLegalEntity } from "./CreateIndividualComponent-
|
|
14
|
-
import { b as useSelectionOptions, g as getBusinessType, c as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, d as getTargetLegalEntityType, e as businessTypeIcons, f as determineOrganizationTypeToUpdate } from "./core-
|
|
12
|
+
import { u as useLegalEntity, K as Loader, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, n as useExperimentsContext, ap as getCapabilities, q as getLegalEntityCountry, J as LegalEntityType, bj as useForm, L as LoaderWrapper, E as Typography, b9 as Field, e5 as EntityTypeRadioGroupCard, cz as RadioGroupCard, G as Button, Y as Spacer, Q as Icon, a7 as hasSolePropInLegalEntity } from "./EventEmitter-BdbTrGMk.js";
|
|
13
|
+
import { B as useUpdateLegalEntity } from "./CreateIndividualComponent-CXcGc6Fg.js";
|
|
14
|
+
import { b as useSelectionOptions, g as getBusinessType, c as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, d as getTargetLegalEntityType, e as businessTypeIcons, f as determineOrganizationTypeToUpdate } from "./core-B13TZF_D.js";
|
|
15
15
|
const businessTypeExamples = /* @__PURE__ */ Object.assign({ "../localized/legalEntityTypeExamples/AT.json": () => import("./AT-EpV7jN58.js"), "../localized/legalEntityTypeExamples/AU.json": () => import("./AU-pBsEvEUy.js"), "../localized/legalEntityTypeExamples/BE.json": () => import("./BE-CU5o9cmc.js"), "../localized/legalEntityTypeExamples/BR.json": () => import("./BR-ORoHRwTk.js"), "../localized/legalEntityTypeExamples/CA.json": () => import("./CA-VXNq-m6m.js"), "../localized/legalEntityTypeExamples/CH.json": () => import("./CH-B_-afpD_.js"), "../localized/legalEntityTypeExamples/CZ.json": () => import("./CZ-CTw_bQIu.js"), "../localized/legalEntityTypeExamples/DE.json": () => import("./DE-D_jIDxOH.js"), "../localized/legalEntityTypeExamples/DK.json": () => import("./DK-dBzrfgpQ.js"), "../localized/legalEntityTypeExamples/ES.json": () => import("./ES-DYbZmFcJ.js"), "../localized/legalEntityTypeExamples/FI.json": () => import("./FI-C9nRvop7.js"), "../localized/legalEntityTypeExamples/FR.json": () => import("./FR-BycGQO4W.js"), "../localized/legalEntityTypeExamples/GB.json": () => import("./GB-DFyzo5sN.js"), "../localized/legalEntityTypeExamples/HK.json": () => import("./HK-WqZ5UBEF.js"), "../localized/legalEntityTypeExamples/HR.json": () => import("./HR-CRa19tH1.js"), "../localized/legalEntityTypeExamples/HU.json": () => import("./HU-D5NCweWf.js"), "../localized/legalEntityTypeExamples/IE.json": () => import("./IE-rhATS57q.js"), "../localized/legalEntityTypeExamples/IT.json": () => import("./IT-wD7dHdYD.js"), "../localized/legalEntityTypeExamples/LT.json": () => import("./LT-0F72uCyI.js"), "../localized/legalEntityTypeExamples/NL.json": () => import("./NL-q2U2l276.js"), "../localized/legalEntityTypeExamples/NO.json": () => import("./NO-CX12Zsf_.js"), "../localized/legalEntityTypeExamples/PL.json": () => import("./PL-CwCXF3Yu.js"), "../localized/legalEntityTypeExamples/PT.json": () => import("./PT-Dei5v1nD.js"), "../localized/legalEntityTypeExamples/RO.json": () => import("./RO-Dxk08mOu.js"), "../localized/legalEntityTypeExamples/SE.json": () => import("./SE-AP3gLiyy.js"), "../localized/legalEntityTypeExamples/SG.json": () => import("./SG-DMcOb17i.js"), "../localized/legalEntityTypeExamples/SI.json": () => import("./SI-BXe-yndm.js"), "../localized/legalEntityTypeExamples/SK.json": () => import("./SK-DwdgoGnD.js"), "../localized/legalEntityTypeExamples/US.json": () => import("./US-DHxLSqeC.js") });
|
|
16
16
|
const getBusinessTypeExamplesForCountry = async (country) => {
|
|
17
17
|
const importForCountry = businessTypeExamples[`../localized/legalEntityTypeExamples/${country}.json`];
|
|
@@ -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] = "94fe624e-932e-40b2-b83e-e463f4056380", e._sentryDebugIdIdentifier = "sentry-dbid-94fe624e-932e-40b2-b83e-e463f4056380");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-
|
|
11
|
-
import {
|
|
10
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-Bu-29-oR.js";
|
|
11
|
+
import { e7 as getPreferredColorScheme, e8 as createMemo, e9 as createComponent } from "./EventEmitter-BdbTrGMk.js";
|
|
12
12
|
var DevtoolsPanelComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|