@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
|
@@ -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] = "9d86abe7-d57a-4190-bf9e-a057520313b4", e._sentryDebugIdIdentifier = "sentry-dbid-9d86abe7-d57a-4190-bf9e-a057520313b4");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
11
|
-
import { a5 as CountryCodes } from "./StoreProvider-
|
|
11
|
+
import { a5 as CountryCodes } from "./StoreProvider-S9t1Y3h5.js";
|
|
12
12
|
const addressFields = [
|
|
13
13
|
"address",
|
|
14
14
|
"otherAddressInformation",
|
|
@@ -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] = "e2145172-259f-44e6-8589-a9d66bc2373b", e._sentryDebugIdIdentifier = "sentry-dbid-e2145172-259f-44e6-8589-a9d66bc2373b");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { t as LegalEntityTypes, O as Typography } from "./StoreProvider-
|
|
11
|
+
import { t as LegalEntityTypes, O as Typography } from "./StoreProvider-S9t1Y3h5.js";
|
|
12
12
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
13
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
13
|
+
import { l as localizeDateString } from "./localizeDateString-DgElYhrt.js";
|
|
14
14
|
const formatCurrency = (amount, currency, locale) => {
|
|
15
15
|
const { format } = new Intl.NumberFormat(
|
|
16
16
|
locale,
|
|
@@ -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] = "90d5dc39-3334-4075-8a83-addc293baa91", e._sentryDebugIdIdentifier = "sentry-dbid-90d5dc39-3334-4075-8a83-addc293baa91");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import "@tanstack/preact-query";
|
|
11
|
-
import { j as httpPost,
|
|
12
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
11
|
+
import { j as httpPost, ai as httpDelete, k as httpGet, o as createLogger, bd as StateContext, u as useTranslation, C as useAnalyticsContext, G as Icon, O as Typography, L as Loader, H as IconButton } from "./StoreProvider-S9t1Y3h5.js";
|
|
12
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-DZYVicml.js";
|
|
13
13
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
14
14
|
import cx from "classnames";
|
|
15
15
|
import { useEffect } from "preact/hooks";
|
|
@@ -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] = "7ac45542-aa16-48ad-9294-33c1b08c4029", e._sentryDebugIdIdentifier = "sentry-dbid-7ac45542-aa16-48ad-9294-33c1b08c4029");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { B as TaskTypes, a_ as remediationPayoutApiKeyMapping, a$ as remediationBusinessDetailsApiKeyMapping, b0 as remediationIndividualOnfidoApiKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { B as TaskTypes, a_ as remediationPayoutApiKeyMapping, a$ as remediationBusinessDetailsApiKeyMapping, b0 as remediationIndividualOnfidoApiKeyMapping } from "./StoreProvider-S9t1Y3h5.js";
|
|
11
11
|
import { a as assignToProp } from "./utils-DNSfZiio.js";
|
|
12
12
|
const isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
|
|
13
13
|
const overrideKeyMapping = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adyen/kyc-components",
|
|
3
|
-
"version": "3.94.
|
|
3
|
+
"version": "3.94.2",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"adyen",
|
|
6
6
|
"adyen-kyc",
|
|
@@ -63,6 +63,10 @@
|
|
|
63
63
|
"./experimental/verification-status": {
|
|
64
64
|
"types": "./dist/types/embeds/verification-status/adyen-verification-status.types.d.ts",
|
|
65
65
|
"import": "./dist/adyen-verification-status.js"
|
|
66
|
+
},
|
|
67
|
+
"./internal/invited-decision-maker": {
|
|
68
|
+
"types": "./dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.types.d.ts",
|
|
69
|
+
"import": "./dist/adyen-invited-decision-maker.js"
|
|
66
70
|
}
|
|
67
71
|
},
|
|
68
72
|
"types": "./dist/types/index.d.ts",
|
|
@@ -83,7 +87,8 @@
|
|
|
83
87
|
"monogon": "^0.3.4",
|
|
84
88
|
"named-slots": "^0.4.2",
|
|
85
89
|
"onfido-sdk-ui": "14.55.0",
|
|
86
|
-
"preact": "^10.28.3"
|
|
90
|
+
"preact": "^10.28.3",
|
|
91
|
+
"preact-custom-element": "^4.6.0"
|
|
87
92
|
},
|
|
88
93
|
"devDependencies": {
|
|
89
94
|
"@adyen/bento-design-tokens": "^1.84.1",
|
|
@@ -139,7 +144,6 @@
|
|
|
139
144
|
"openapi-typescript": "^7.10.1",
|
|
140
145
|
"phone": "^3.1.70",
|
|
141
146
|
"postcss": "^8.5.6",
|
|
142
|
-
"preact-custom-element": "^4.6.0",
|
|
143
147
|
"preact-iso": "2.11.1",
|
|
144
148
|
"prettier": "^3.8.1",
|
|
145
149
|
"react": "npm:@preact/compat@^18.3.1",
|
|
@@ -1,164 +0,0 @@
|
|
|
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] = "f3f8da61-74e7-485c-aefb-98f860ef0578", e._sentryDebugIdIdentifier = "sentry-dbid-f3f8da61-74e7-485c-aefb-98f860ef0578");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { h as h$1, hydrate, render, cloneElement, Fragment } from "preact";
|
|
11
|
-
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
12
|
-
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-CmW2tb7E.js";
|
|
13
|
-
import { useState, useEffect } from "preact/hooks";
|
|
14
|
-
function i() {
|
|
15
|
-
return i = Object.assign ? Object.assign.bind() : function(t) {
|
|
16
|
-
for (var e = 1; e < arguments.length; e++) {
|
|
17
|
-
var n = arguments[e];
|
|
18
|
-
for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
19
|
-
}
|
|
20
|
-
return t;
|
|
21
|
-
}, i.apply(this, arguments);
|
|
22
|
-
}
|
|
23
|
-
function s(t, e) {
|
|
24
|
-
if (null == t) return {};
|
|
25
|
-
var n, o, r = {}, i2 = Object.keys(t);
|
|
26
|
-
for (o = 0; o < i2.length; o++) e.indexOf(n = i2[o]) >= 0 || (r[n] = t[n]);
|
|
27
|
-
return r;
|
|
28
|
-
}
|
|
29
|
-
var a = ["context", "children"], l = ["useFragment"];
|
|
30
|
-
function c(t, e, n, o) {
|
|
31
|
-
function r() {
|
|
32
|
-
var e2, n2 = Reflect.construct(HTMLElement, [], r);
|
|
33
|
-
return n2._vdomComponent = t, o && o.shadow ? (n2._root = n2.attachShadow({ mode: o.mode || "open", serializable: null != (e2 = o.serializable) && e2 }), o.adoptedStyleSheets && (n2._root.adoptedStyleSheets = o.adoptedStyleSheets)) : n2._root = n2, n2;
|
|
34
|
-
}
|
|
35
|
-
return (r.prototype = Object.create(HTMLElement.prototype)).constructor = r, r.prototype.connectedCallback = function() {
|
|
36
|
-
d.call(this, o);
|
|
37
|
-
}, r.prototype.attributeChangedCallback = h, r.prototype.disconnectedCallback = f, n = n || t.observedAttributes || Object.keys(t.propTypes || {}), r.observedAttributes = n, t.formAssociated && (r.formAssociated = true), n.forEach(function(t2) {
|
|
38
|
-
Object.defineProperty(r.prototype, t2, { get: function() {
|
|
39
|
-
return this._vdom ? this._vdom.props[t2] : this._props[t2];
|
|
40
|
-
}, set: function(e2) {
|
|
41
|
-
this._vdom ? this.attributeChangedCallback(t2, null, e2) : (this._props || (this._props = {}), this._props[t2] = e2);
|
|
42
|
-
var n2 = typeof e2;
|
|
43
|
-
null != e2 && "string" !== n2 && "boolean" !== n2 && "number" !== n2 || this.setAttribute(t2, e2);
|
|
44
|
-
} });
|
|
45
|
-
}), customElements.define(e || t.tagName || t.displayName || t.name, r), r;
|
|
46
|
-
}
|
|
47
|
-
function u(t) {
|
|
48
|
-
this.getChildContext = function() {
|
|
49
|
-
return t.context;
|
|
50
|
-
};
|
|
51
|
-
var e = t.children, n = s(t, a);
|
|
52
|
-
return cloneElement(e, n);
|
|
53
|
-
}
|
|
54
|
-
function d(o) {
|
|
55
|
-
var r = new CustomEvent("_preact", { detail: {}, bubbles: true, cancelable: true });
|
|
56
|
-
this.dispatchEvent(r), this._vdom = h$1(u, i({}, this._props, { context: r.detail.context }), v(this, this._vdomComponent, o)), (this.hasAttribute("hydrate") ? hydrate : render)(this._vdom, this._root);
|
|
57
|
-
}
|
|
58
|
-
function p(t) {
|
|
59
|
-
return t.replace(/-(\w)/g, function(t2, e) {
|
|
60
|
-
return e ? e.toUpperCase() : "";
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
function h(t, e, r) {
|
|
64
|
-
if (this._vdom) {
|
|
65
|
-
var i2 = {};
|
|
66
|
-
i2[t] = r = null == r ? void 0 : r, i2[p(t)] = r, this._vdom = cloneElement(this._vdom, i2), render(this._vdom, this._root);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
function f() {
|
|
70
|
-
render(this._vdom = null, this._root);
|
|
71
|
-
}
|
|
72
|
-
function m(e, n) {
|
|
73
|
-
var o = this, a2 = e.useFragment, c2 = s(e, l);
|
|
74
|
-
return h$1(a2 ? Fragment : "slot", i({}, c2, { ref: function(t) {
|
|
75
|
-
t ? (o.ref = t, o._listener || (o._listener = function(t2) {
|
|
76
|
-
t2.stopPropagation(), t2.detail.context = n;
|
|
77
|
-
}, t.addEventListener("_preact", o._listener))) : o.ref.removeEventListener("_preact", o._listener);
|
|
78
|
-
} }));
|
|
79
|
-
}
|
|
80
|
-
function v(e, n, o) {
|
|
81
|
-
if (3 === e.nodeType) return e.data;
|
|
82
|
-
if (1 !== e.nodeType) return null;
|
|
83
|
-
var r = [], i2 = {}, s2 = 0, a2 = e.attributes, l2 = e.childNodes;
|
|
84
|
-
for (s2 = a2.length; s2--; ) "slot" !== a2[s2].name && (i2[a2[s2].name] = a2[s2].value, i2[p(a2[s2].name)] = a2[s2].value);
|
|
85
|
-
for (s2 = l2.length; s2--; ) {
|
|
86
|
-
var c2 = v(l2[s2], null, o), u2 = l2[s2].slot;
|
|
87
|
-
u2 ? i2[u2] = h$1(m, { name: u2 }, c2) : r[s2] = c2;
|
|
88
|
-
}
|
|
89
|
-
var d2 = !(!o || !o.shadow), h2 = n ? h$1(m, { useFragment: !d2 }, r) : r;
|
|
90
|
-
return !d2 && n && (e.innerHTML = ""), h$1(n || e.nodeName.toLowerCase(), i2, h2);
|
|
91
|
-
}
|
|
92
|
-
const sheet = new CSSStyleSheet();
|
|
93
|
-
const stylesheets = [sheet];
|
|
94
|
-
{
|
|
95
|
-
import("./styles-CLV89_hH.js").then(({ css }) => {
|
|
96
|
-
sheet.replaceSync(css);
|
|
97
|
-
}).catch((err) => console.error("Error loading styles", err));
|
|
98
|
-
}
|
|
99
|
-
const EmbedShell = ({
|
|
100
|
-
children,
|
|
101
|
-
rootLegalEntityId,
|
|
102
|
-
settings,
|
|
103
|
-
experiments,
|
|
104
|
-
// HO-only
|
|
105
|
-
refreshExperiments,
|
|
106
|
-
// HO-only
|
|
107
|
-
baseUrl,
|
|
108
|
-
getSdkToken,
|
|
109
|
-
componentName,
|
|
110
|
-
locale
|
|
111
|
-
}) => {
|
|
112
|
-
const [isLoading, setIsLoading] = useState(true);
|
|
113
|
-
const [hasError, setHasError] = useState(false);
|
|
114
|
-
setSdkTokenHandler(getSdkToken);
|
|
115
|
-
useEffect(() => {
|
|
116
|
-
refreshSession().then((hasRefreshed) => {
|
|
117
|
-
if (!hasRefreshed) {
|
|
118
|
-
setHasError(true);
|
|
119
|
-
}
|
|
120
|
-
setIsLoading(false);
|
|
121
|
-
});
|
|
122
|
-
}, []);
|
|
123
|
-
if (hasError) {
|
|
124
|
-
return /* @__PURE__ */ jsxs("div", { children: [
|
|
125
|
-
"Something went wrong, please",
|
|
126
|
-
/* @__PURE__ */ jsx(Button, { onClick: () => location.reload(), children: "refresh the page." })
|
|
127
|
-
] });
|
|
128
|
-
}
|
|
129
|
-
if (isLoading) {
|
|
130
|
-
return /* @__PURE__ */ jsx(Loader, {});
|
|
131
|
-
}
|
|
132
|
-
return /* @__PURE__ */ jsx(SettingsProvider, { settings, children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsx(ApiProvider, { rootLegalEntityId, baseUrl, children: /* @__PURE__ */ jsx(
|
|
133
|
-
ExperimentsContextProvider,
|
|
134
|
-
{
|
|
135
|
-
experiments,
|
|
136
|
-
refreshExperiments,
|
|
137
|
-
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
138
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.94.1" }),
|
|
139
|
-
/* @__PURE__ */ jsx(
|
|
140
|
-
AnalyticsProvider,
|
|
141
|
-
{
|
|
142
|
-
componentName,
|
|
143
|
-
rootLegalEntityId,
|
|
144
|
-
children: /* @__PURE__ */ jsxs(I18nProvider, { locale, children: [
|
|
145
|
-
/* @__PURE__ */ jsx(DebugListener, {}),
|
|
146
|
-
/* @__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 }) }) }) })
|
|
147
|
-
] })
|
|
148
|
-
}
|
|
149
|
-
)
|
|
150
|
-
] })
|
|
151
|
-
}
|
|
152
|
-
) }) }) });
|
|
153
|
-
};
|
|
154
|
-
const environmentMap = Object.freeze({
|
|
155
|
-
live: "https://onboardingcomponents-live.adyen.com/",
|
|
156
|
-
test: "https://test.adyen.com/"
|
|
157
|
-
});
|
|
158
|
-
const resolveEnvironment = (environment) => environmentMap[environment] ?? normalizeEnvironment(environment);
|
|
159
|
-
export {
|
|
160
|
-
EmbedShell as E,
|
|
161
|
-
c,
|
|
162
|
-
resolveEnvironment as r,
|
|
163
|
-
stylesheets as s
|
|
164
|
-
};
|