@adyen/kyc-components 3.89.1 → 3.90.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-De5XWtcz.js → AcceptTermsOfServiceComponent-C15N0ZUF.js} +42 -60
- package/dist/{Accordion-CW9GGywE.js → Accordion-DxAvtqyN.js} +1 -1
- package/dist/{AccountSetupRejected-_IN29uU8.js → AccountSetupRejected-CJEC9V31.js} +3 -3
- package/dist/{ActionBar-CkNDXAZ3.js → ActionBar-CMaTcnyU.js} +1 -1
- package/dist/{Address-CIRweyT6.js → Address-DhPHns9b.js} +25 -56
- package/dist/{Alert-Dr-PTLt5.js → Alert-4jvSqn2I.js} +6 -6
- package/dist/{Avatar-DttOKUv4.js → Avatar-CowRz5rB.js} +1 -1
- package/dist/{BusinessDetailsMultiformDropin-ByrdkEK1.js → BusinessDetailsDropin-CoQA-QZn.js} +1268 -3090
- package/dist/{BusinessFinancingComponent-D5Edu6Jp.js → BusinessFinancingComponent-BUXvPO_t.js} +6 -5
- package/dist/{BusinessFinancingDropin-D2J61fEL.js → BusinessFinancingDropin-D7HQ0fxW.js} +23 -33
- package/dist/{BusinessFinancingPage-C06ar5yw.js → BusinessFinancingPage-BNCloKBm.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-CP0UXFG_.js → BusinessTypeSelectionPage-ClaW0q1b.js} +8 -9
- package/dist/{Card-thNJfUJi.js → Card-B4wvck_n.js} +2 -2
- package/dist/{ConstitutionalDocument-Dzckgb-_.js → ConstitutionalDocument-SKhWRnWx.js} +3 -3
- package/dist/{CountryField-CJeBvrKJ.js → CountryField-BaYyWFXk.js} +6 -6
- package/dist/{CreateIndividualComponent-BDAKxFP2.js → CreateIndividualComponent-M_rhCRjG.js} +5 -5
- package/dist/{CreateTransferInstrumentComponent-vfia76fK.js → CreateTransferInstrumentComponent-BJxSbJY3.js} +4 -4
- package/dist/{Currency-CJF_TGyQ.js → Currency-Bl8pKCpj.js} +7 -7
- package/dist/{CustomerSupport-C_fh3_q2.js → CustomerSupport-BBp_kAB6.js} +10 -10
- package/dist/{DebugModal-8s0KmcYQ.js → DebugModal-D6ROPhng.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-BcaNuUzU.js → DecisionMakerDetailsPage-BtUhVF6C.js} +6 -6
- package/dist/{DecisionMakers-BShMorMY.js → DecisionMakers-Ctwwbd-q.js} +20 -20
- package/dist/{EmbeddedStatus-Bsq1fp5z.js → EmbeddedStatus-B33cCsYP.js} +2 -2
- package/dist/{EndStateLayout-BzHmhWSo.js → EndStateLayout-C-njoytF.js} +1 -1
- package/dist/{EntityAssociation-CzUai3Yh.js → EntityAssociation-94E5qp1C.js} +8 -8
- package/dist/{EntityGuidanceStatus-B6luxhbo.js → EntityGuidanceStatus-SgjcGk5p.js} +2 -2
- package/dist/FormFlow-Poe97Z6i.js +186 -0
- package/dist/{FormNavigation-trlYkLTT.js → FormNavigation-B0D8RWB0.js} +3 -3
- package/dist/{FormWrapper-CmShqeDn.js → FormWrapper-4wa6SP_P.js} +10 -10
- package/dist/{IndividualOnfido-BziAZ51z.js → IndividualOnfido-fz_JSugv.js} +71 -74
- package/dist/{IndividualOnfidoDropin-DQpZ6OI1.js → IndividualOnfidoDropin-Duc8XgvR.js} +30 -33
- package/dist/{InputText-DmMvZip7.js → InputText--yiwNMDS.js} +6 -6
- package/dist/{Introduction-Wu-LBXX2.js → Introduction-T5fyomwa.js} +4 -4
- package/dist/{JpAddress-Bl9Ppmv5.js → JpAddress-BrDgtuyI.js} +8 -8
- package/dist/{LegalRepresentativeDetailsPage-Cxy69AD6.js → LegalRepresentativeDetailsPage-BK0gMJgs.js} +4 -4
- package/dist/{ListItem-DvTbHRWc.js → ListItem-B8H6RY9f.js} +2 -2
- package/dist/{ManageIndividualComponent-DIf-I6d0.js → ManageIndividualComponent-BrBjHu3-.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-BK3ywG-g.js → ManageTermsOfServiceComponent-Dqy8vOUA.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-DHfft4DJ.js → ManageTransferInstrumentComponent-Bx6Netyq.js} +12 -12
- package/dist/{MaybeModal-Bw31z92e.js → MaybeModal-BwPaMUks.js} +15 -4
- package/dist/{Modal-B-CzUny3.js → Modal-DupiiqVr.js} +4 -4
- package/dist/{OnboardingDropinComponent-Dc5Z3bna.js → OnboardingDropinComponent-Do1mhuK-.js} +1406 -1731
- package/dist/{PayoutDetailsDropin-DrESJrLF.js → PayoutDetailsDropin-BvEqGrIA.js} +59 -39
- package/dist/ProgressBar-B7gTQncy.js +47 -0
- package/dist/{Review-CN0zdu0c.js → Review-BBENKcjD.js} +7 -7
- package/dist/{RootBusinessDetailsPage-DsCMT0gE.js → RootBusinessDetailsPage-DpdZ4vqu.js} +7 -22
- package/dist/{RootBusinessLinesPage-D0djzhVg.js → RootBusinessLinesPage-YoF28HOQ.js} +146 -41
- package/dist/{RootIndividualDetailsPage-C49Q1XPl.js → RootIndividualDetailsPage-DNivhou9.js} +6 -6
- package/dist/{SignPCIComponent-Dm45H-8u.js → SignPCIComponent-DN5PE2Sc.js} +10 -10
- package/dist/{SingpassSelection-DR7s4WiD.js → SingpassSelection-uLhOFdfh.js} +4 -4
- package/dist/{SoleProprietorshipPage-C2_d7XKS.js → SoleProprietorshipPage-BUwCiVtH.js} +5 -19
- package/dist/{SourceOfFundsPage-SHeYHpGr.js → SourceOfFundsPage-D7B5ReUC.js} +25 -25
- package/dist/{fieldConfigurations-Kb-fhpg7.js → Spacer-D3By5Y6E.js} +34 -24
- package/dist/{StepProgressIndicator-yqQhirdb.js → StepProgressIndicator-CvbjwImE.js} +1 -1
- package/dist/{StoreProvider-BHckWEYg.js → StoreProvider-BLtYcc3h.js} +130 -98
- package/dist/{Summary-Df0SenAt.js → Summary-Buc_vuRS.js} +4 -4
- package/dist/{TaxReportingDropin-CKin6_Er.js → TaxReportingDropin-1dhULaM8.js} +16 -16
- package/dist/{TrustDetailsPage-C699_2RX.js → TrustDetailsPage-BtRNXF3Z.js} +27 -27
- package/dist/{TrustMemberCompanyPage-Bgh-8J6_.js → TrustMemberCompanyPage-B2Khgije.js} +6 -22
- package/dist/{TrustMemberIndividualPage-2gZsrdqt.js → TrustMemberIndividualPage-CL7Yv-FS.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-BB41jjVq.js → TrustMemberRoleAndTypePage-F_7iqOo2.js} +15 -15
- package/dist/{TrustMembersOverview-DkpHLa-c.js → TrustMembersOverview-BfI58H5u.js} +12 -12
- package/dist/{UnincorporatedPartnershipIndividualPage-uZBKkJwX.js → UnincorporatedPartnershipIndividualPage-Doc7RvyT.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CVa6qF3n.js → UnincorporatedPartnershipMemberCompanyPage-D5Arebes.js} +6 -22
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Ctl2MPKX.js → UnincorporatedPartnershipMemberRoleAndTypePage-oCjJEXYT.js} +9 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-DZPLX8gp.js → UnincorporatedPartnershipMembersOverview-Dh6kUlMq.js} +9 -9
- package/dist/{VerificationErrorAlert-BVoljWxM.js → VerificationErrorAlert-DUpyVrCU.js} +4 -4
- package/dist/{ViewVerificationStatusComponent-B_gl5t76.js → ViewVerificationStatusComponent-BcauKtPB.js} +4 -4
- package/dist/adyen-business-financing.js +8 -4
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-kyc-components.js +20 -20
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/cross-circle-fill-maan7Z5S.js +17 -0
- package/dist/{debouncedInputEvent-C-zXYOuE.js → debouncedInputEvent-lq58yTg6.js} +2 -2
- package/dist/{documentUtils-l4Di7U18.js → documentUtils-CdJ4Sc-B.js} +3 -3
- package/dist/{dropinUtils-Cm6ETaTL.js → dropinUtils-L7Zcqfg9.js} +4 -4
- package/dist/en-US-AgtwE4Fl.js +63 -0
- package/dist/{getFieldsWithExistingData-BdYN38hE.js → getFieldsWithExistingData-D1vsiEEX.js} +1 -1
- package/dist/{getName-BUZJBcAE.js → getName-Du9QmiTF.js} +2 -9
- package/dist/{hasDataChanged-D9Qx_JCQ.js → hasDataChanged-BWko8Wa4.js} +2 -2
- package/dist/{iframeWidget-CemJJ3EA.js → iframeWidget-CQOg-QHE.js} +4 -4
- package/dist/info-filled-SQotHmT9.js +17 -0
- package/dist/{localizeDateString-DyXarzIl.js → localizeDateString-BJJ8B0Hs.js} +1 -1
- package/dist/{mapExistingFile-COnTFqXJ.js → mapExistingFile-D_q68JAm.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-BK4mXy3k.js → mapFinancialReportsToFinancialInformation-BJZ89yJV.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BulGG0pe.js → mapJpAddressSchemaToAddressLocalizations-CHcGrBAs.js} +3 -3
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-BMDtouhh.js → mapLegalEntityToIndividualOnfidoSchema-Cqerm1wl.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-MpVqVhGS.js → mapTransferInstrumentToPayoutAccount-CboZmyKj.js} +1 -1
- package/dist/{process-field-configurations-kh7VAcBh.js → process-field-configurations-D7pGneC_.js} +3 -3
- package/dist/{resolveEnvironment-D-9wHJs2.js → resolveEnvironment-Q9yFO0a9.js} +3 -3
- package/dist/{rules-DFisB-1M.js → rules-LsdRG331.js} +5 -5
- package/dist/style.css +268 -233
- package/dist/styles-CLV89_hH.js +268 -233
- package/dist/types/api/companySelection/useCompanySelection.d.ts +2 -18
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformation.d.ts +8 -2
- package/dist/types/components/Business/forms/BasicInformation/BasicInformation.d.ts +1 -3
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +5 -18
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +0 -21
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelection.d.ts +13 -2
- package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +0 -11
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructure.d.ts +3 -2
- package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +0 -6
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +3 -3
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +7 -4
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +23 -2
- package/dist/types/components/BusinessLines/forms/SctaForm/SctaInfoModal.d.ts +3 -0
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/ServiceAgreementDropin.d.ts +1 -1
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -2
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +0 -2
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/ui/atoms/Link/Link.types.d.ts +1 -1
- package/dist/types/components/ui/atoms/Loader/Loader.d.ts +1 -5
- package/dist/types/components/ui/atoms/Modal/MaybeModal.d.ts +1 -1
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +4 -0
- package/dist/types/context/ExperimentContext/types.d.ts +6 -5
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/{types-1iAHHNsZ.js → types-B9IVn1Zt.js} +1 -1
- package/dist/{types-BDHLVBb5.js → types-CBwe7M_O.js} +1 -1
- package/dist/{types-CHr4VLHl.js → types-Dk94b8kx.js} +7 -6
- package/dist/{types-DJeg3Tz6.js → types-GIbEJ_5v.js} +1 -1
- package/dist/{useAssociatedLegalEntity-qIkD-MFM.js → useAssociatedLegalEntity-BLnxc-jt.js} +1 -1
- package/dist/{useCreateLegalEntity-CDFKMwwk.js → useCreateLegalEntity-BD9PcstC.js} +2 -2
- package/dist/{useDataset-D1AsbWmY.js → useDataset-BEeSTdTX.js} +4 -4
- package/dist/{useForm-DzONzNQu.js → useForm-ByJEO5yi.js} +10 -9
- package/dist/{useGlobalData-B5sNYBl5.js → useGlobalData-CyYyTpXW.js} +5 -5
- package/dist/{useMultiForm-Dd80_VRc.js → useMultiForm-CEmUnHA9.js} +3 -3
- package/dist/{useOnboardingStatus-YrIRg4io.js → useOnboardingStatus-bt6QJFFl.js} +1 -1
- package/dist/{useScenarios-BkCy7ImD.js → useScenarios-BdwSb0HX.js} +2 -2
- package/dist/{useTermsOfServiceStatus-D2rhp6YQ.js → useTermsOfServiceStatus-B51PQgY1.js} +1 -1
- package/dist/{useToastContext-5JlKjAbN.js → useToastContext-DGtZBX02.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-Dwj2XshB.js → useUnincorporatedPartnershipMembers-C5OUWIiP.js} +4 -4
- package/dist/{useUpdateBusinessLines-DzLgvolo.js → useUpdateBusinessLines-DKicYyWN.js} +2 -2
- package/dist/{useUpdateLegalEntity-BzuSuul0.js → useUpdateLegalEntity-oC3jKNtm.js} +3 -3
- package/dist/{utils-Da-KDnEH.js → utils-BYzUEzaG.js} +6 -6
- package/dist/{utils-DjzolTRQ.js → utils-DaXTVI0w.js} +3 -3
- package/dist/{validate-D7GAD2-j.js → validate-BTAaa27x.js} +1 -1
- package/dist/{validate-B48OR9iz.js → validate-DBklijcP.js} +1 -1
- package/dist/{validationError-DzkunflV.js → validationError-B6JKQAKI.js} +1 -1
- package/package.json +2 -2
- package/dist/FormFlow-CEyVMiHY.js +0 -224
- package/dist/en-US-CBsokt1L.js +0 -42
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformationMultiform.d.ts +0 -9
- package/dist/types/components/Business/forms/BasicInformation/BasicInformationMultiform.d.ts +0 -11
- package/dist/types/components/Business/forms/BusinessDetails/BusinessDetails.d.ts +0 -3
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelectionMultiform.d.ts +0 -14
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructureMultiform.d.ts +0 -4
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiformDropin.d.ts +0 -5
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/types.d.ts +0 -2
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/utils.d.ts +0 -23
- /package/dist/types/components/Business/{tasks/BusinessDetailsMultiformDropin → forms/BusinessDetails}/BusinessDetailsMultiform.d.ts +0 -0
- /package/dist/types/components/Business/tasks/{BusinessDetailsMultiformDropin → BusinessDetailsDropin}/validate.d.ts +0 -0
package/dist/{AcceptTermsOfServiceComponent-De5XWtcz.js → AcceptTermsOfServiceComponent-C15N0ZUF.js}
RENAMED
|
@@ -2,28 +2,26 @@
|
|
|
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] = "67275444-8e77-4514-8ac9-ae9724699245", e._sentryDebugIdIdentifier = "sentry-dbid-67275444-8e77-4514-8ac9-ae9724699245");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext,
|
|
10
|
+
import { b as useApiContext, $ as useMutation, k as httpPost, j as useQuery, w as skipToken, m as httpGet, P as createLogger, u as useTranslation, a2 as useAnalyticsContext, X as useExperimentsContext, aY as getLanguageCode, B as Button, r as LegalEntityTypes, aa as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, a as addResourceBundles, c as useLegalEntity, R as ROOT_LE, L as Loader, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-BLtYcc3h.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useEffect, useCallback } from "preact/hooks";
|
|
13
|
-
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-
|
|
14
|
-
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
15
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
16
|
-
import { u as useForm, L as LoaderWrapper, F as Field, S as Select } from "./useForm-
|
|
17
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import { a as Alert } from "./Alert-Dr-PTLt5.js";
|
|
23
|
-
import { A as ActionBar } from "./ActionBar-CkNDXAZ3.js";
|
|
24
|
-
import { F as FormNavigation } from "./FormNavigation-trlYkLTT.js";
|
|
13
|
+
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-DGtZBX02.js";
|
|
14
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-B51PQgY1.js";
|
|
15
|
+
import { C as Checkbox } from "./debouncedInputEvent-lq58yTg6.js";
|
|
16
|
+
import { u as useForm, L as LoaderWrapper, F as Field, S as Select } from "./useForm-ByJEO5yi.js";
|
|
17
|
+
import { M as MaybeModal } from "./MaybeModal-BwPaMUks.js";
|
|
18
|
+
import { P as ProgressBar } from "./ProgressBar-B7gTQncy.js";
|
|
19
|
+
import { E as EndStateLayout } from "./EndStateLayout-C-njoytF.js";
|
|
20
|
+
import { a as Alert } from "./Alert-4jvSqn2I.js";
|
|
21
|
+
import { F as FormNavigation } from "./FormNavigation-B0D8RWB0.js";
|
|
25
22
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
26
|
-
import {
|
|
23
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-Du9QmiTF.js";
|
|
24
|
+
import { l as localizeDateString } from "./localizeDateString-BJJ8B0Hs.js";
|
|
27
25
|
import { C as ContractViewer } from "./ContractViewer-Byp71k2e.js";
|
|
28
26
|
const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
|
|
29
27
|
return httpPost(
|
|
@@ -91,10 +89,14 @@ const useTermsOfService = (data, options) => {
|
|
|
91
89
|
});
|
|
92
90
|
};
|
|
93
91
|
const tosSignedAlert = "adyen-kyc-tos-signed-alert";
|
|
92
|
+
const tosContainer = "adyen-kyc-tos-container";
|
|
94
93
|
const tosContent = "adyen-kyc-tos-content";
|
|
94
|
+
const tosActions = "adyen-kyc-tos-actions";
|
|
95
95
|
const styles = {
|
|
96
96
|
tosSignedAlert,
|
|
97
|
-
|
|
97
|
+
tosContainer,
|
|
98
|
+
tosContent,
|
|
99
|
+
tosActions
|
|
98
100
|
};
|
|
99
101
|
const logger$1 = createLogger();
|
|
100
102
|
const FALLBACK_LANGUAGE_CODE$1 = "en";
|
|
@@ -178,7 +180,6 @@ const logger = createLogger();
|
|
|
178
180
|
const FALLBACK_LANGUAGE_CODE = "en";
|
|
179
181
|
function ServiceAgreementDropin({
|
|
180
182
|
legalEntityResponse,
|
|
181
|
-
handleHomeClick,
|
|
182
183
|
handleAddSigner,
|
|
183
184
|
handleSign,
|
|
184
185
|
serviceAgreementTypes,
|
|
@@ -186,6 +187,7 @@ function ServiceAgreementDropin({
|
|
|
186
187
|
asEmbedded = false,
|
|
187
188
|
asModal = false,
|
|
188
189
|
handleCloseClick,
|
|
190
|
+
showInitialBackButton = false,
|
|
189
191
|
onComplete
|
|
190
192
|
}) {
|
|
191
193
|
const { t, i18n } = useTranslation(["contract", "common"]);
|
|
@@ -294,13 +296,6 @@ function ServiceAgreementDropin({
|
|
|
294
296
|
});
|
|
295
297
|
}
|
|
296
298
|
};
|
|
297
|
-
const goHome = () => {
|
|
298
|
-
userEvents.addPageEvent("Clicked button", {
|
|
299
|
-
actionType: "back",
|
|
300
|
-
label: "goToOverview"
|
|
301
|
-
});
|
|
302
|
-
handleHomeClick();
|
|
303
|
-
};
|
|
304
299
|
const handleExpandSection = useCallback((title) => {
|
|
305
300
|
userEvents.addFieldEvent("Clicked accordion", {
|
|
306
301
|
actionType: "open",
|
|
@@ -446,8 +441,8 @@ function ServiceAgreementDropin({
|
|
|
446
441
|
showSectionNumbering: true
|
|
447
442
|
}
|
|
448
443
|
),
|
|
449
|
-
signedAlert,
|
|
450
|
-
/* @__PURE__ */ jsx("div", { className: "adyen-kyc-u-margin-
|
|
444
|
+
/* @__PURE__ */ jsx("div", { className: "adyen-kyc-u-margin-top-16", children: signedAlert }),
|
|
445
|
+
/* @__PURE__ */ jsx("div", { className: "adyen-kyc-u-margin-y-16", children: /* @__PURE__ */ jsx(
|
|
451
446
|
Button,
|
|
452
447
|
{
|
|
453
448
|
variant: "secondary",
|
|
@@ -504,20 +499,7 @@ function ServiceAgreementDropin({
|
|
|
504
499
|
)
|
|
505
500
|
}
|
|
506
501
|
)
|
|
507
|
-
] })
|
|
508
|
-
!asEmbedded && /* @__PURE__ */ jsx(
|
|
509
|
-
ActionBar,
|
|
510
|
-
{
|
|
511
|
-
onHome: goHome,
|
|
512
|
-
homeButtonLabel: t(($) => $["goToOverview"], { ns: "common" }),
|
|
513
|
-
onNext: canSign ? handleSignClick : () => gotoForm(activeFormIndex + 1),
|
|
514
|
-
nextButtonLabel: t(($) => $[canSign ? "sign" : "continue"], { ns: "common" }),
|
|
515
|
-
nextButtonDisabled: forms.length === 0 || !canSign && isLastStep,
|
|
516
|
-
onBack: () => gotoForm(activeFormIndex - 1),
|
|
517
|
-
hideBackButton: activeFormIndex === 0,
|
|
518
|
-
backButtonLabel: t(($) => $["previous"], { ns: "common" })
|
|
519
|
-
}
|
|
520
|
-
)
|
|
502
|
+
] })
|
|
521
503
|
]
|
|
522
504
|
}
|
|
523
505
|
);
|
|
@@ -543,32 +525,32 @@ function ServiceAgreementDropin({
|
|
|
543
525
|
action: /* @__PURE__ */ jsx(Button, { onClick: handleFinishClick, fullWidth: true, children: t(($) => $["finish"], { ns: "common" }) })
|
|
544
526
|
}
|
|
545
527
|
);
|
|
546
|
-
|
|
528
|
+
const progress = Math.floor(currentStep / (totalSteps - 1) * 100);
|
|
529
|
+
return /* @__PURE__ */ jsx(MaybeModal, { inline: !asModal, onClose: handleCloseClick, children: /* @__PURE__ */ jsxs("div", { className: styles.tosContainer, children: [
|
|
547
530
|
/* @__PURE__ */ jsxs("article", { className: styles.tosContent, children: [
|
|
548
531
|
!asEmbedded && sidebar,
|
|
549
532
|
endScreen || content
|
|
550
533
|
] }),
|
|
551
|
-
|
|
534
|
+
!hasFinished && /* @__PURE__ */ jsxs("div", { children: [
|
|
552
535
|
/* @__PURE__ */ jsx(
|
|
553
|
-
|
|
536
|
+
ProgressBar,
|
|
554
537
|
{
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
circles: true,
|
|
558
|
-
thick: true
|
|
538
|
+
ariaLabel: t(($) => $["progress"], { ns: "common" }),
|
|
539
|
+
progress
|
|
559
540
|
}
|
|
560
541
|
),
|
|
561
|
-
/* @__PURE__ */
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
542
|
+
/* @__PURE__ */ jsxs("div", { className: styles.tosActions, children: [
|
|
543
|
+
isFirstStep ? showInitialBackButton && /* @__PURE__ */ jsx(Button, { onClick: handleCloseClick, variant: "secondary", children: t(($) => $["cancel"], { ns: "common" }) }) : /* @__PURE__ */ jsx(
|
|
544
|
+
Button,
|
|
545
|
+
{
|
|
546
|
+
icon: "chevron-left",
|
|
547
|
+
onClick: () => gotoForm(activeFormIndex - 1),
|
|
548
|
+
variant: "secondary",
|
|
549
|
+
children: t(($) => $["back"], { ns: "common" })
|
|
550
|
+
}
|
|
551
|
+
),
|
|
552
|
+
/* @__PURE__ */ jsx(Button, { variant: canSign ? "primary" : "secondary", onClick: handleClick, children: canSign ? t(($) => $["signAndContinue"]) : t(($) => $["continue"], { ns: "common" }) })
|
|
553
|
+
] })
|
|
572
554
|
] })
|
|
573
555
|
] }) });
|
|
574
556
|
}
|
|
@@ -589,7 +571,7 @@ function AcceptTermsOfServiceComponent({
|
|
|
589
571
|
}
|
|
590
572
|
const { i18n } = useTranslation();
|
|
591
573
|
addResourceBundles(i18n, [
|
|
592
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-4gJjMBoz.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CxB0DJQ6.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DqkN5oIu.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-COuUdtao.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CjhbnLfE.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
574
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-4gJjMBoz.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CxB0DJQ6.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DqkN5oIu.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-COuUdtao.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CjhbnLfE.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-BLtYcc3h.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-DNGEW6V_.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-Be9wlXLD.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-CoI_94Fv.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-Br7OeDIe.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-iodfRS4f.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CEb_Wl4I.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-BAvsF2TB.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-US4BD67C.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-os-nxAb0.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-9NRF8DKM.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwKrj-29.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B6OPS2CA.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-B0BQdtqx.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKQRvAfq.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-D2Xe-OdG.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-WGnCVll9.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-Cq_DSPZu.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-C3gfuen3.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-zTiw1bUU.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
593
575
|
{ ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/bg-BG.json": () => import("./bg-BG-Dp4LxSP7.js"), "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-CyLqoG1j.js"), "../../Contract/language/da-DK.json": () => import("./da-DK-DYpfNZdP.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-BXt1K0Tr.js"), "../../Contract/language/el-GR.json": () => import("./el-GR-B90M6tcZ.js"), "../../Contract/language/en-US.json": () => import("./en-US-Dg505Oh3.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-BhNhIf08.js"), "../../Contract/language/et-EE.json": () => import("./et-EE-BMgFCxds.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-ysUrBilO.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-BSvSKazD.js"), "../../Contract/language/hr-HR.json": () => import("./hr-HR-BLpGb4f2.js"), "../../Contract/language/hu-HU.json": () => import("./hu-HU-Ca9Hex26.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-Qfzc8jnW.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-CHQ64lw1.js"), "../../Contract/language/lt-LT.json": () => import("./lt-LT-0RKZeraM.js"), "../../Contract/language/lv-LV.json": () => import("./lv-LV-Bh-WQp0K.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-D7gBNWEY.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-C-gCYc9q.js"), "../../Contract/language/pl-PL.json": () => import("./pl-PL-LnVPufjb.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-ur86nRrK.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-CVNEcs32.js"), "../../Contract/language/ro-RO.json": () => import("./ro-RO-i7lojG2G.js"), "../../Contract/language/sk-SK.json": () => import("./sk-SK-B5brxU1N.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-CUCrzJQv.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-C6uPh9g5.js") }), `../../Contract/language/${lang}.json`, 5) },
|
|
594
576
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-D9J6LnkI.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-DY_pQqAT.js"), "../../ui/language/da-DK.json": () => import("./da-DK-jK7c9UL0.js"), "../../ui/language/de-DE.json": () => import("./de-DE-wmerDL2e.js"), "../../ui/language/el-GR.json": () => import("./el-GR-Btrk_npt.js"), "../../ui/language/en-US.json": () => import("./en-US-gsp7CD_E.js"), "../../ui/language/es-ES.json": () => import("./es-ES-Qnc0Q6JH.js"), "../../ui/language/et-EE.json": () => import("./et-EE-TzXANcP2.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-Dn2MC8uW.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-BWX14yb7.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-CZLSQruE.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-kp8Go5hZ.js"), "../../ui/language/it-IT.json": () => import("./it-IT-B0YGvVgW.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-Dz9IVH4p.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-l9rzkFg9.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-DYbb5pkt.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-BMUYBqlF.js"), "../../ui/language/no-NO.json": () => import("./no-NO-DKbWxgF-.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-B0zGy_b4.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR--kaJvtE6.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-BZ5ZZm6G.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-CdSsgoUG.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-BiBWPJUf.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DtdGMD6i.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-kR514dO1.js") }), `../../ui/language/${lang}.json`, 5) }
|
|
595
577
|
]);
|
|
@@ -645,11 +627,11 @@ function AcceptTermsOfServiceComponent({
|
|
|
645
627
|
legalEntityResponse: legalEntity,
|
|
646
628
|
serviceAgreementTypes: serviceAgreementStatus?.termsOfServiceTypes ?? [],
|
|
647
629
|
serviceAgreementAcceptanceInfos: serviceAgreementAcceptanceInfos?.data ?? [],
|
|
648
|
-
handleHomeClick: handleOnClose,
|
|
649
630
|
handleSign,
|
|
650
631
|
asEmbedded,
|
|
651
632
|
asModal: modalView,
|
|
652
633
|
handleCloseClick: handleOnClose,
|
|
634
|
+
showInitialBackButton: !!onClose,
|
|
653
635
|
onComplete: handleOnComplete,
|
|
654
636
|
handleAddSigner
|
|
655
637
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { defineSlots } from "named-slots";
|
|
13
|
-
import { a3 as Icon, G as Typography, y as Skeleton } from "./StoreProvider-
|
|
13
|
+
import { a3 as Icon, G as Typography, y as Skeleton } from "./StoreProvider-BLtYcc3h.js";
|
|
14
14
|
const accordion = "adyen-kyc-accordion";
|
|
15
15
|
const accordionSummary = "adyen-kyc-accordion-summary";
|
|
16
16
|
const accordionBasic = "adyen-kyc-accordion-basic";
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { H as Header } from "./CountryField-
|
|
12
|
-
import { A as AlertIcon } from "./Alert-
|
|
11
|
+
import { H as Header } from "./CountryField-BaYyWFXk.js";
|
|
12
|
+
import { A as AlertIcon } from "./Alert-4jvSqn2I.js";
|
|
13
13
|
import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
|
|
14
|
-
import { u as useTranslation } from "./StoreProvider-
|
|
14
|
+
import { u as useTranslation } from "./StoreProvider-BLtYcc3h.js";
|
|
15
15
|
function AccountSetupRejected() {
|
|
16
16
|
const { t } = useTranslation("common");
|
|
17
17
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -2,37 +2,23 @@
|
|
|
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] = "fde0ea2b-eda8-438f-b058-6ed389011bf5", e._sentryDebugIdIdentifier = "sentry-dbid-fde0ea2b-eda8-438f-b058-6ed389011bf5");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { $ as entriesOf, u as useTranslation, a0 as useAnalyticsContext, a4 as noop, b as useApiContext, j as useQuery, k as httpPost, m as httpGet, a3 as Icon, z as translateStringOrObject, C as CountryCodes, aO as getFormattingRegEx, aP as SPECIAL_CHARS, aQ as trimValWithOneSpace, P as createLogger, aE as matchesRegex, aC as hasText, aD as isValidMinLength, aF as NO_ALPHABET_REGEX, aG as EMOJI_REGEX, aI as isInvalidName, aR as ADDRESS_VALID_CHAR_REGEX, aH as hasRepeatedCharacters, V as useI18nContext, Z as useExperimentsContext, aS as getMaxLengthByFieldAndCountry } from "./StoreProvider-BHckWEYg.js";
|
|
11
10
|
import { useContext, useMemo, useCallback, useState, useEffect } from "preact/hooks";
|
|
12
11
|
import { createContext } from "preact";
|
|
13
12
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
14
13
|
import cx from "classnames";
|
|
15
|
-
import { b as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { u as
|
|
20
|
-
import { u as
|
|
14
|
+
import { u as useTranslation, a2 as useAnalyticsContext, a4 as noop, b as useApiContext, j as useQuery, k as httpPost, m as httpGet, a3 as Icon, z as translateStringOrObject, C as CountryCodes, aO as getFormattingRegEx, aP as SPECIAL_CHARS, aQ as trimValWithOneSpace, P as createLogger, aE as matchesRegex, aC as hasText, aD as isValidMinLength, aF as NO_ALPHABET_REGEX, aG as EMOJI_REGEX, aI as isInvalidName, aR as ADDRESS_VALID_CHAR_REGEX, aH as hasRepeatedCharacters, V as useI18nContext, X as useExperimentsContext, a0 as entriesOf, aS as getMaxLengthByFieldAndCountry } from "./StoreProvider-BLtYcc3h.js";
|
|
15
|
+
import { b as useId } from "./useToastContext-DGtZBX02.js";
|
|
16
|
+
import { R as Radio, s as summaryItem, c as createFormUtils, C as CountryField } from "./CountryField-BaYyWFXk.js";
|
|
17
|
+
import { a as InputBase, I as InputText } from "./InputText--yiwNMDS.js";
|
|
18
|
+
import { F as Field, S as Select, u as useForm } from "./useForm-ByJEO5yi.js";
|
|
19
|
+
import { u as useDebouncedCallback } from "./debouncedInputEvent-lq58yTg6.js";
|
|
20
|
+
import { u as useDataset, d as datasetIdentifier } from "./useDataset-BEeSTdTX.js";
|
|
21
21
|
const FormContext = createContext(null);
|
|
22
|
-
const operationalAddressIsSameIds = {
|
|
23
|
-
OPERATIONAL_ADDRESS_IS_SAME: "OperationAddressAnswerYes",
|
|
24
|
-
OPERATIONAL_ADDRESS_IS_NOT_SAME: "OperationAddressAnswerNo"
|
|
25
|
-
};
|
|
26
|
-
const operationalAddressIsSameItems = [
|
|
27
|
-
{
|
|
28
|
-
id: operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_SAME,
|
|
29
|
-
name: "operationalAddressIsSameItemName"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
id: operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_NOT_SAME,
|
|
33
|
-
name: "operationalAddressIsNotSameItemName"
|
|
34
|
-
}
|
|
35
|
-
];
|
|
36
22
|
const getNestedTrustedFields = (field, data, trustedFields) => {
|
|
37
23
|
if (trustedFields && data?.[field] && typeof data[field] === "object") {
|
|
38
24
|
return trustedFields.reduce(
|
|
@@ -55,20 +41,6 @@ const mapAddressData = (verifiedBusiness) => ({
|
|
|
55
41
|
postalCode: verifiedBusiness.zipCode ?? "",
|
|
56
42
|
stateOrProvince: verifiedBusiness.state ?? ""
|
|
57
43
|
});
|
|
58
|
-
const applyVerifiedBusinessData = (verifiedBusiness, handleChangeFor) => {
|
|
59
|
-
if (!verifiedBusiness) return;
|
|
60
|
-
entriesOf(verifiedBusiness).forEach(([key, value]) => {
|
|
61
|
-
switch (key) {
|
|
62
|
-
case "isPrincipalAddress":
|
|
63
|
-
if (value)
|
|
64
|
-
handleChangeFor(
|
|
65
|
-
"operationalAddressIsSame",
|
|
66
|
-
"input"
|
|
67
|
-
)(operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_NOT_SAME);
|
|
68
|
-
break;
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
};
|
|
72
44
|
const isDateOlderThanAYear = (dateString) => {
|
|
73
45
|
if (!dateString) {
|
|
74
46
|
return false;
|
|
@@ -184,8 +156,8 @@ function InputDate(props) {
|
|
|
184
156
|
const isDateInputSupported = useMemo(checkDateInputSupport, []);
|
|
185
157
|
const { onInput } = props;
|
|
186
158
|
const handleInput = (e) => {
|
|
187
|
-
const { value } = e.
|
|
188
|
-
e.
|
|
159
|
+
const { value } = e.currentTarget;
|
|
160
|
+
e.currentTarget.value = formatDate(value);
|
|
189
161
|
onInput(e);
|
|
190
162
|
};
|
|
191
163
|
if (isDateInputSupported) {
|
|
@@ -1323,26 +1295,23 @@ export {
|
|
|
1323
1295
|
InputDate as I,
|
|
1324
1296
|
RadioGroup as R,
|
|
1325
1297
|
STATE_FIELD as S,
|
|
1326
|
-
|
|
1298
|
+
useAddressCleanse as a,
|
|
1327
1299
|
formatAddressForCleanse as b,
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1300
|
+
getNestedTrustedFields as c,
|
|
1301
|
+
getAddressSchemaLabelsByCountry as d,
|
|
1302
|
+
StateField as e,
|
|
1331
1303
|
formatDateObj as f,
|
|
1332
1304
|
getAddressSchemaForCountry as g,
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1305
|
+
useProviderStatus as h,
|
|
1306
|
+
isDateOlderThanAYear as i,
|
|
1307
|
+
addressFields as j,
|
|
1308
|
+
RadioWithLabel as k,
|
|
1309
|
+
addressValidators as l,
|
|
1338
1310
|
mapAddressData as m,
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
addressValidationRulesV4 as t,
|
|
1346
|
-
useAddressCleanse as u,
|
|
1347
|
-
addressValidationRules as v
|
|
1311
|
+
addressFormatters as n,
|
|
1312
|
+
mapAddressLabels as o,
|
|
1313
|
+
getKeyForField as p,
|
|
1314
|
+
addressValidationRulesV4 as q,
|
|
1315
|
+
addressValidationRules as r,
|
|
1316
|
+
useFormContext as u
|
|
1348
1317
|
};
|
|
@@ -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] = "b5ea8645-7eda-4efd-94fa-e0168e87ee98", e._sentryDebugIdIdentifier = "sentry-dbid-b5ea8645-7eda-4efd-94fa-e0168e87ee98");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -11,8 +11,8 @@ import { jsxs, jsx } from "preact/jsx-runtime";
|
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { isValidElement } from "preact";
|
|
13
13
|
import { useState } from "preact/hooks";
|
|
14
|
-
import { A as Accordion } from "./Accordion-
|
|
15
|
-
import { u as useTranslation, G as Typography, B as Button, a3 as Icon } from "./StoreProvider-
|
|
14
|
+
import { A as Accordion } from "./Accordion-DxAvtqyN.js";
|
|
15
|
+
import { u as useTranslation, G as Typography, B as Button, a3 as Icon } from "./StoreProvider-BLtYcc3h.js";
|
|
16
16
|
const alert = "adyen-kyc-alert";
|
|
17
17
|
const alertWithoutIcon = "adyen-kyc-alert-without-icon";
|
|
18
18
|
const alertExplanation = "adyen-kyc-alert-explanation";
|
|
@@ -142,15 +142,15 @@ const Alert = ({
|
|
|
142
142
|
const AlertIcon = ({ variant }) => {
|
|
143
143
|
switch (variant) {
|
|
144
144
|
case "success":
|
|
145
|
-
return /* @__PURE__ */ jsx(Icon, { name: "
|
|
145
|
+
return /* @__PURE__ */ jsx(Icon, { name: "checkmark" });
|
|
146
146
|
case "error":
|
|
147
|
-
return /* @__PURE__ */ jsx(Icon, { name: "
|
|
147
|
+
return /* @__PURE__ */ jsx(Icon, { name: "error" });
|
|
148
148
|
case "warning":
|
|
149
149
|
return /* @__PURE__ */ jsx(Icon, { name: "warning" });
|
|
150
150
|
case "info":
|
|
151
151
|
case "basic":
|
|
152
152
|
default:
|
|
153
|
-
return /* @__PURE__ */ jsx(Icon, { name: "info-circle" });
|
|
153
|
+
return /* @__PURE__ */ jsx(Icon, { name: "info-circle-filled" });
|
|
154
154
|
}
|
|
155
155
|
};
|
|
156
156
|
export {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { a3 as Icon } from "./StoreProvider-
|
|
12
|
+
import { a3 as Icon } from "./StoreProvider-BLtYcc3h.js";
|
|
13
13
|
const avatar = "adyen-kyc-avatar";
|
|
14
14
|
const avatarLabel = "adyen-kyc-avatar-label";
|
|
15
15
|
const avatarPrimary = "adyen-kyc-avatar-primary";
|