@adyen/kyc-components 3.90.1 → 3.90.3
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-rHbpLgiw.js → AcceptTermsOfServiceComponent-D87Fwd2f.js} +12 -12
- package/dist/{Accordion-bNe23ft-.js → Accordion-BlQDgq9k.js} +1 -1
- package/dist/{AccountSetupRejected-r41b_IBZ.js → AccountSetupRejected-DukZkSO2.js} +3 -3
- package/dist/{ActionBar-Dis5nYqm.js → ActionBar-BmF9QFwD.js} +1 -1
- package/dist/{Address-yCSNuL5Z.js → Address-DbMsGXmd.js} +7 -7
- package/dist/{Alert-BwI1gE5-.js → Alert-8DgB9Po_.js} +2 -2
- package/dist/{Avatar-1gT2TOqE.js → Avatar-BRe0h5-c.js} +1 -1
- package/dist/{BusinessDetailsDropin-DN-h5hoU.js → BusinessDetailsDropin-BuzPnl1j.js} +66 -41
- package/dist/{BusinessFinancingComponent-DoZY3vBl.js → BusinessFinancingComponent-DhPUn1b6.js} +4 -4
- package/dist/{BusinessFinancingDropin-BUPkJPvR.js → BusinessFinancingDropin-OGBTrvRE.js} +21 -21
- package/dist/{BusinessFinancingPage-DlRDYso0.js → BusinessFinancingPage-CWLCAwdc.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-H5Rr-qjO.js → BusinessTypeSelectionPage-BqFdubjG.js} +7 -7
- package/dist/{Card-BqxNTWDR.js → Card-Cg_gK9VR.js} +2 -2
- package/dist/{ConstitutionalDocument-DQ2y25Wo.js → ConstitutionalDocument-CeRqguDT.js} +2 -2
- package/dist/{CountryField-0kaLf2ip.js → CountryField-DwQBatok.js} +5 -5
- package/dist/{CreateIndividualComponent-CKoFrGSA.js → CreateIndividualComponent-BI0EaF5n.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-27-zWC7w.js → CreateTransferInstrumentComponent-Dv0Eg2S_.js} +4 -4
- package/dist/{Currency-BPrz2Bvj.js → Currency-Coe3QMbX.js} +4 -4
- package/dist/{CustomerSupport-Let8plHp.js → CustomerSupport-DgzuQZiK.js} +9 -9
- package/dist/{DebugModal-COjbEBUs.js → DebugModal-DsqZUbWg.js} +7 -7
- package/dist/{DecisionMakerDetailsPage-DIhFG7Pm.js → DecisionMakerDetailsPage-D8TgmTBL.js} +5 -5
- package/dist/{DecisionMakers-p-wru8jq.js → DecisionMakers-CGqCnH4Z.js} +19 -19
- package/dist/{EmbeddedStatus-CbWjM1iG.js → EmbeddedStatus-92LgcEzI.js} +2 -2
- package/dist/{EndStateLayout-zmc2wXNu.js → EndStateLayout-D0to_JhP.js} +1 -1
- package/dist/{EntityAssociation-DaOk478U.js → EntityAssociation-CHe9memX.js} +7 -7
- package/dist/{EntityGuidanceStatus-C52S57_B.js → EntityGuidanceStatus-DknfogFW.js} +2 -2
- package/dist/{FormFlow-Bv1422cp.js → FormFlow-LSmyX7Hx.js} +7 -7
- package/dist/{FormNavigation-CeOkSTKj.js → FormNavigation-CqfOhkuK.js} +2 -2
- package/dist/{FormWrapper-DozSnYxU.js → FormWrapper-DjmK6JTP.js} +9 -9
- package/dist/{IndividualOnfido-DH3MaGPp.js → IndividualOnfido-wkc1IOjL.js} +22 -16
- package/dist/{IndividualOnfidoDropin-CMvXInSa.js → IndividualOnfidoDropin-BWwS8BW-.js} +33 -29
- package/dist/{InputText-E3bqmvue.js → InputText-CnhTDLn9.js} +2 -2
- package/dist/{Introduction-BLV8LKKc.js → Introduction-ButyMTuN.js} +3 -3
- package/dist/{JpAddress-D6Gj6H63.js → JpAddress-BRrbCC65.js} +7 -7
- package/dist/{LegalRepresentativeDetailsPage-Dy5UJGSJ.js → LegalRepresentativeDetailsPage-DkSwkgLZ.js} +3 -3
- package/dist/{ListItem-CNkfdEc2.js → ListItem-BZNzvNV9.js} +2 -2
- package/dist/{ManageIndividualComponent-3ycR2pfZ.js → ManageIndividualComponent-C8gbdwHY.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-DPc1GRjG.js → ManageTermsOfServiceComponent-CXFVMwlI.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-CIg_pns4.js → ManageTransferInstrumentComponent-BZJSGNF-.js} +11 -11
- package/dist/{MaybeModal-CdOrwKiX.js → MaybeModal-CaM5KrtN.js} +2 -2
- package/dist/{Modal-CCNcDrnP.js → Modal-Cp3v04bI.js} +1 -1
- package/dist/{OnboardingDropinComponent-CLupKd1b.js → OnboardingDropinComponent-BBx0mAip.js} +51 -51
- package/dist/{PayoutDetailsDropin-CEV9cjQf.js → PayoutDetailsDropin-Ctf6ofH4.js} +56 -31
- package/dist/{Review-otEDatuj.js → Review-aiVhflJA.js} +6 -6
- package/dist/{RootBusinessDetailsPage-BOgszPAQ.js → RootBusinessDetailsPage-tSYoYQpN.js} +4 -4
- package/dist/{RootBusinessLinesPage-GYAoDeKt.js → RootBusinessLinesPage-DQJi7udh.js} +22 -22
- package/dist/{RootIndividualDetailsPage-D9zsUi0y.js → RootIndividualDetailsPage-CjnLMWcW.js} +5 -5
- package/dist/{SignPCIComponent-BL7aG_Ax.js → SignPCIComponent-DWJVpEyn.js} +9 -9
- package/dist/{SingpassSelection-Dnh00Fel.js → SingpassSelection-DxouOwBE.js} +3 -3
- package/dist/{SoleProprietorshipPage-Dm094P92.js → SoleProprietorshipPage-D-ITUkB0.js} +3 -3
- package/dist/{SourceOfFundsPage-b1c_Y4Gv.js → SourceOfFundsPage-D6loRwDi.js} +24 -24
- package/dist/{Spacer-DNqjKZqD.js → Spacer-B59jyGSP.js} +8 -8
- package/dist/{StepProgressIndicator-BwSGwPBX.js → StepProgressIndicator-DZQZ2mIK.js} +1 -1
- package/dist/{StoreProvider-CGako8b0.js → StoreProvider-C1Dsf-BK.js} +4 -4
- package/dist/{Summary-Cyl7hd3z.js → Summary-Cg8ylB81.js} +3 -3
- package/dist/{TaxReportingDropin-CtEcxZE3.js → TaxReportingDropin-C5anBKOG.js} +15 -15
- package/dist/{TrustDetailsPage-mQFzwpXO.js → TrustDetailsPage-MtUEFasa.js} +26 -26
- package/dist/{TrustMemberCompanyPage-9OQMcPjI.js → TrustMemberCompanyPage-Cl9-fyhr.js} +4 -4
- package/dist/{TrustMemberIndividualPage-CLF0ZjQl.js → TrustMemberIndividualPage-DopNwPMM.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-DM3iM-UO.js → TrustMemberRoleAndTypePage-d04EES1-.js} +13 -13
- package/dist/{TrustMembersOverview-CMebQqlZ.js → TrustMembersOverview-BknCvO9l.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-ALWIbSyC.js → UnincorporatedPartnershipIndividualPage-4rclPxko.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CoclwaxX.js → UnincorporatedPartnershipMemberCompanyPage-iSgKt6pj.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Cy55bZFw.js → UnincorporatedPartnershipMemberRoleAndTypePage-BvNHAU_2.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-hV4By7Y1.js → UnincorporatedPartnershipMembersOverview-CxUQZ-Df.js} +8 -8
- package/dist/{VerificationErrorAlert-DFNMQiBs.js → VerificationErrorAlert-sXEIyVb_.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-Bey8W2EX.js → ViewVerificationStatusComponent-Cwqe_JI8.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- 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/{debouncedInputEvent-eHK9LXJg.js → debouncedInputEvent-m_KweSUi.js} +1 -1
- package/dist/{documentUtils-CQe8F0JI.js → documentUtils-Bq4Fcc1a.js} +58 -7
- package/dist/{dropinUtils-JfkUzj5m.js → dropinUtils-D18lPyMd.js} +3 -3
- package/dist/{getFieldsWithExistingData-DHMh2qiJ.js → getFieldsWithExistingData-CapkzyUd.js} +1 -1
- package/dist/{getName-3tkBO1jL.js → getName-nDhiFv_d.js} +1 -1
- package/dist/{hasDataChanged-ca7QwDb4.js → hasDataChanged-C0QfFyi1.js} +1 -1
- package/dist/{iframeWidget-Dtk68KgN.js → iframeWidget-BCjAg6Te.js} +3 -3
- package/dist/{localizeDateString-C-Jph6zP.js → localizeDateString-z7rZoHCC.js} +1 -1
- package/dist/{mapExistingFile-1urJeRPC.js → mapExistingFile-DelM9H33.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-8RB3ttN_.js → mapFinancialReportsToFinancialInformation-DnMxxQ3r.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-CA7YxKdZ.js → mapJpAddressSchemaToAddressLocalizations-CEsSDC2k.js} +2 -2
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-BnjzuvKj.js → mapLegalEntityToIndividualOnfidoSchema-auEiNgnL.js} +2 -2
- package/dist/{mapTransferInstrumentToPayoutAccount-C2qh0VSM.js → mapTransferInstrumentToPayoutAccount-kIGvDg1E.js} +1 -1
- package/dist/{process-field-configurations-BFhu7wxG.js → process-field-configurations-uok9IFxE.js} +2 -2
- package/dist/{resolveEnvironment-noyLQ0vB.js → resolveEnvironment-DkZRgyhm.js} +3 -3
- package/dist/{rules-3KdlQVvF.js → rules-C6TpNEnm.js} +4 -4
- package/dist/types/utils/api/documentUtils.d.ts +6 -0
- package/dist/{types-CtoOcAS_.js → types-CFuzQz8C.js} +1 -1
- package/dist/{types-CdYWxOFW.js → types-D7B6pUZ4.js} +1 -1
- package/dist/{types-CMNeqyO0.js → types-JTwLUY63.js} +1 -1
- package/dist/{useAssociatedLegalEntity-BWXPNWfP.js → useAssociatedLegalEntity-XQUeQ705.js} +1 -1
- package/dist/{useCreateLegalEntity-DonOl4nS.js → useCreateLegalEntity-Cap8fK-F.js} +1 -1
- package/dist/{useDataset-DuHP7LJl.js → useDataset-CVXbYF2B.js} +3 -3
- package/dist/{useForm-CBL8sHgn.js → useForm-CV5yIbAW.js} +4 -4
- package/dist/{useGlobalData-Bh2OmI7a.js → useGlobalData-a_K7Lhat.js} +2 -2
- package/dist/{useMultiForm-DK0DX3NP.js → useMultiForm-Cl7j2UJo.js} +3 -3
- package/dist/{useOnboardingStatus-IvWzxag4.js → useOnboardingStatus-p1DAB7gR.js} +1 -1
- package/dist/{useScenarios-DeR6rGue.js → useScenarios-C9cgFIwR.js} +1 -1
- package/dist/{useTermsOfServiceStatus-CFz_tBjI.js → useTermsOfServiceStatus-DvK04EPa.js} +1 -1
- package/dist/{useToastContext-Bwbh8-u5.js → useToastContext-D_FkzBo_.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-DRicq_6C.js → useUnincorporatedPartnershipMembers-CmOklDzw.js} +4 -4
- package/dist/{useUpdateBusinessLines-CKrKEmOI.js → useUpdateBusinessLines-2i9G3ESb.js} +1 -1
- package/dist/{useUpdateLegalEntity-JgEj2H9L.js → useUpdateLegalEntity-5jT0WLYb.js} +2 -2
- package/dist/{utils-DnZtpTJ-.js → utils-OJ5FYKVc.js} +5 -5
- package/dist/{utils-DrbHJZYU.js → utils-XqO17YWC.js} +3 -3
- package/dist/{validate-DSeAPAYm.js → validate-B8kfNxjg.js} +1 -1
- package/dist/{validate-BZ1lC0ot.js → validate-g9wpUSZu.js} +1 -1
- package/dist/{validationError-DXBqMDWR.js → validationError-CY4oyE6_.js} +1 -1
- package/package.json +1 -1
|
@@ -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] = "1722d8dc-8095-4587-8896-9bc6d5e445b8", e._sentryDebugIdIdentifier = "sentry-dbid-1722d8dc-8095-4587-8896-9bc6d5e445b8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,40 +10,40 @@
|
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { signal } from "@preact/signals";
|
|
12
12
|
import { useState, useEffect, useRef, useMemo, useCallback, useContext } from "preact/hooks";
|
|
13
|
-
import { b as useApiContext, j as useQuery, k as httpPost, m as httpGet, $ as useMutation, a1 as useQueryClient, P as createLogger, C as CountryCodes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, r as LegalEntityTypes, a as addResourceBundles, L as Loader, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper, a2 as useAnalyticsContext, a3 as Icon, G as Typography, B as Button, aj as objectsDeepEqual, aV as doArraysMatch, W as isEmpty, X as useExperimentsContext, bg as getSdkToken, H as hasOwnEntityAssociationOfType, K as useAccountHolder, o as useSettingsContext, g as getLegalEntityCountry, an as Trans, bh as EEA_Countries, bi as isAccountIdentifierObscured, bj as hasEmptyFields, bk as extractFieldName, bl as concatenateFieldNames, ap as keysOf, aA as getCapabilityProblems, O as TaskTypes, aB as cloneObject, w as skipToken } from "./StoreProvider-
|
|
14
|
-
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-
|
|
15
|
-
import { u as useForm, F as Field, S as Select, L as LoaderWrapper } from "./useForm-
|
|
13
|
+
import { b as useApiContext, j as useQuery, k as httpPost, m as httpGet, $ as useMutation, a1 as useQueryClient, P as createLogger, C as CountryCodes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, r as LegalEntityTypes, a as addResourceBundles, L as Loader, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper, a2 as useAnalyticsContext, a3 as Icon, G as Typography, B as Button, aj as objectsDeepEqual, aV as doArraysMatch, W as isEmpty, X as useExperimentsContext, bg as getSdkToken, H as hasOwnEntityAssociationOfType, K as useAccountHolder, o as useSettingsContext, g as getLegalEntityCountry, an as Trans, bh as EEA_Countries, bi as isAccountIdentifierObscured, bj as hasEmptyFields, bk as extractFieldName, bl as concatenateFieldNames, ap as keysOf, aA as getCapabilityProblems, O as TaskTypes, aB as cloneObject, w as skipToken } from "./StoreProvider-C1Dsf-BK.js";
|
|
14
|
+
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-kIGvDg1E.js";
|
|
15
|
+
import { u as useForm, F as Field, S as Select, L as LoaderWrapper } from "./useForm-CV5yIbAW.js";
|
|
16
16
|
import { E as ExperimentNames } from "./types-Dk94b8kx.js";
|
|
17
|
-
import { I as InputText, S as SettingNames } from "./InputText-
|
|
18
|
-
import { u as useGlobalDataSlice, a as useGlobalData, b as useResetGlobalData, c as useStateContext } from "./useGlobalData-
|
|
19
|
-
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-
|
|
20
|
-
import { a as augmentWithCountryConfigs, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { A as AdyenKycSdkError, p as payoutAccountFormat, m as mapExistingFile, g as getPageName, u as useScenarioConfiguration, b as useUnifyLoadingStatus } from "./mapExistingFile-
|
|
23
|
-
import { u as useDataset, d as datasetIdentifier, C as Confirm, a as datasetUtilities } from "./useDataset-
|
|
24
|
-
import { c as currencyByCountry, C as Currencies } from "./types-
|
|
25
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
26
|
-
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-
|
|
27
|
-
import { f as fileToBase64, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getFileExtention } from "./documentUtils-
|
|
28
|
-
import { g as getLegalEntityNameBasedOnType, b as getPayoutAccountHolderName } from "./getName-
|
|
29
|
-
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-
|
|
17
|
+
import { I as InputText, S as SettingNames } from "./InputText-CnhTDLn9.js";
|
|
18
|
+
import { u as useGlobalDataSlice, a as useGlobalData, b as useResetGlobalData, c as useStateContext } from "./useGlobalData-a_K7Lhat.js";
|
|
19
|
+
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-D_FkzBo_.js";
|
|
20
|
+
import { a as augmentWithCountryConfigs, g as getPropsFromConfigurations } from "./process-field-configurations-uok9IFxE.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-D18lPyMd.js";
|
|
22
|
+
import { A as AdyenKycSdkError, p as payoutAccountFormat, m as mapExistingFile, g as getPageName, u as useScenarioConfiguration, b as useUnifyLoadingStatus } from "./mapExistingFile-DelM9H33.js";
|
|
23
|
+
import { u as useDataset, d as datasetIdentifier, C as Confirm, a as datasetUtilities } from "./useDataset-CVXbYF2B.js";
|
|
24
|
+
import { c as currencyByCountry, C as Currencies } from "./types-JTwLUY63.js";
|
|
25
|
+
import { F as FormWrapper } from "./FormWrapper-DjmK6JTP.js";
|
|
26
|
+
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-CY4oyE6_.js";
|
|
27
|
+
import { f as fileToBase64, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getFileExtention } from "./documentUtils-Bq4Fcc1a.js";
|
|
28
|
+
import { g as getLegalEntityNameBasedOnType, b as getPayoutAccountHolderName } from "./getName-nDhiFv_d.js";
|
|
29
|
+
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-BCjAg6Te.js";
|
|
30
30
|
import { Show } from "@preact/signals/utils";
|
|
31
|
-
import { s as summaryStep } from "./Summary-
|
|
32
|
-
import { c as createFormUtils, H as Header, E as ErrorPanel, S as StackLayout, e as isNotEmptyValidator, m as mergeFieldMetadataIntoProps, d as getFieldProps, C as CountryField, a as Link, g as getFormProps, s as summaryItem } from "./CountryField-
|
|
33
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
34
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity, D as DropzoneFile, p as bytesToSize, l as defaultFileValidationOptions, o as fileValidationRules, S as StateContextSetter, q as DocumentGuidance, t as TextArea, m as makeMask, n as numericInputs, d as nonInputs, s as spacer, k as customInputs, v as validatePatternOnBlur, r as resolveFieldMetadata, M as MaskedInput, b as alphanumericInputs, u as uppercase, c as alphaInputs, I as Image, R as RadioGroupCard, C as ContextGuidance, x as createFormRules } from "./Spacer-
|
|
31
|
+
import { s as summaryStep } from "./Summary-Cg8ylB81.js";
|
|
32
|
+
import { c as createFormUtils, H as Header, E as ErrorPanel, S as StackLayout, e as isNotEmptyValidator, m as mergeFieldMetadataIntoProps, d as getFieldProps, C as CountryField, a as Link, g as getFormProps, s as summaryItem } from "./CountryField-DwQBatok.js";
|
|
33
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-XQUeQ705.js";
|
|
34
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity, D as DropzoneFile, p as bytesToSize, l as defaultFileValidationOptions, o as fileValidationRules, S as StateContextSetter, q as DocumentGuidance, t as TextArea, m as makeMask, n as numericInputs, d as nonInputs, s as spacer, k as customInputs, v as validatePatternOnBlur, r as resolveFieldMetadata, M as MaskedInput, b as alphanumericInputs, u as uppercase, c as alphaInputs, I as Image, R as RadioGroupCard, C as ContextGuidance, x as createFormRules } from "./Spacer-B59jyGSP.js";
|
|
35
35
|
import cx from "classnames";
|
|
36
36
|
import { memo, useRef as useRef$1, useState as useState$1, useMemo as useMemo$1, useEffect as useEffect$1, lazy } from "preact/compat";
|
|
37
|
-
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-
|
|
37
|
+
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-CmOklDzw.js";
|
|
38
38
|
import { b as bankStatementDescriptionPattern } from "./basePatterns-BwdnMQxI.js";
|
|
39
|
-
import { M as Modal } from "./Modal-
|
|
40
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
39
|
+
import { M as Modal } from "./Modal-Cp3v04bI.js";
|
|
40
|
+
import { E as EndStateLayout } from "./EndStateLayout-D0to_JhP.js";
|
|
41
41
|
import { createContext } from "preact";
|
|
42
|
-
import { a as Alert } from "./Alert-
|
|
43
|
-
import { A as ActionBar } from "./ActionBar-
|
|
42
|
+
import { a as Alert } from "./Alert-8DgB9Po_.js";
|
|
43
|
+
import { A as ActionBar } from "./ActionBar-BmF9QFwD.js";
|
|
44
44
|
import OpenBankingSDK from "@adyen/openbankingsdk";
|
|
45
45
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
46
|
-
import { C as Card } from "./Card-
|
|
46
|
+
import { C as Card } from "./Card-Cg_gK9VR.js";
|
|
47
47
|
const getCheck = async (legalEntityId, baseUrl, data) => {
|
|
48
48
|
return httpPost(
|
|
49
49
|
{
|
|
@@ -3536,13 +3536,17 @@ function PayoutVerificationMethod(props) {
|
|
|
3536
3536
|
const isPayoutVerificationMethodPageRedesignEnabled = isExperimentEnabled(
|
|
3537
3537
|
ExperimentNames.EnablePayoutVerificationMethodPageRedesign
|
|
3538
3538
|
);
|
|
3539
|
+
const userEvents = useAnalyticsContext();
|
|
3539
3540
|
const intraRegionCrossBorderPayoutsAllowed = isSettingEnabled(
|
|
3540
3541
|
SettingNames.AllowIntraRegionCrossBorderPayout
|
|
3541
3542
|
);
|
|
3542
3543
|
const enabledUnbiasedSelectionOnCardClick = isExperimentEnabled(
|
|
3543
3544
|
ExperimentNames.BankVerificationMethodAutonomy_UnbiasedSelectionOnCardClick
|
|
3544
3545
|
);
|
|
3545
|
-
const
|
|
3546
|
+
const enabledUnbiasedSelectionOnContinue = isExperimentEnabled(
|
|
3547
|
+
ExperimentNames.BankVerificationMethodAutonomy_UnbiasedSelectionOnContinue
|
|
3548
|
+
);
|
|
3549
|
+
const enabledUnbiasedVerificationMethod = enabledUnbiasedSelectionOnCardClick || enabledUnbiasedSelectionOnContinue;
|
|
3546
3550
|
const [hasSelectedMethod, setHasSelectedMethod] = useState(false);
|
|
3547
3551
|
const { handleChangeFor, data, valid, errors, fieldProblems } = useForm({
|
|
3548
3552
|
...props,
|
|
@@ -3590,6 +3594,13 @@ function PayoutVerificationMethod(props) {
|
|
|
3590
3594
|
] }) : null;
|
|
3591
3595
|
};
|
|
3592
3596
|
const selectVerificationMethod = (method) => {
|
|
3597
|
+
if (enabledUnbiasedVerificationMethod) {
|
|
3598
|
+
userEvents.addEvent("Clicked button", {
|
|
3599
|
+
actionType: "next",
|
|
3600
|
+
actionLevel: "page",
|
|
3601
|
+
label: method
|
|
3602
|
+
});
|
|
3603
|
+
}
|
|
3593
3604
|
setHasSelectedMethod(true);
|
|
3594
3605
|
handleChangeFor("payoutVerificationMethod")(method);
|
|
3595
3606
|
};
|
|
@@ -4745,15 +4756,29 @@ function PayoutDetailsDropin({
|
|
|
4745
4756
|
);
|
|
4746
4757
|
useEffect(() => {
|
|
4747
4758
|
const payoutVerificationMethod = data.payoutVerificationMethod?.payoutVerificationMethod;
|
|
4748
|
-
if (payoutVerificationMethod && enabledUnbiasedSelectionOnCardClick && payoutVerificationMethod !== prevPayoutVerificationMethodRef.current) {
|
|
4759
|
+
if (payoutVerificationMethod && enabledUnbiasedSelectionOnCardClick && payoutVerificationMethod !== prevPayoutVerificationMethodRef.current && activeForm.formId === "payoutVerificationMethod") {
|
|
4749
4760
|
prevPayoutVerificationMethodRef.current = payoutVerificationMethod;
|
|
4750
4761
|
handleFormNextClick();
|
|
4751
4762
|
}
|
|
4752
4763
|
}, [
|
|
4753
4764
|
data.payoutVerificationMethod?.payoutVerificationMethod,
|
|
4754
4765
|
enabledUnbiasedSelectionOnCardClick,
|
|
4755
|
-
handleFormNextClick
|
|
4766
|
+
handleFormNextClick,
|
|
4767
|
+
activeForm.formId
|
|
4756
4768
|
]);
|
|
4769
|
+
const handleFormBackClick = () => {
|
|
4770
|
+
if (activeForm.formId === "payoutAccountDetails" && enabledUnbiasedSelectionOnCardClick) {
|
|
4771
|
+
prevPayoutVerificationMethodRef.current = void 0;
|
|
4772
|
+
setData((prevData) => ({
|
|
4773
|
+
...prevData,
|
|
4774
|
+
payoutVerificationMethod: prevData.payoutVerificationMethod ? {
|
|
4775
|
+
...prevData.payoutVerificationMethod,
|
|
4776
|
+
payoutVerificationMethod: void 0
|
|
4777
|
+
} : void 0
|
|
4778
|
+
}));
|
|
4779
|
+
}
|
|
4780
|
+
handleBackClick?.();
|
|
4781
|
+
};
|
|
4757
4782
|
return /* @__PURE__ */ jsxs(
|
|
4758
4783
|
LoaderWrapper,
|
|
4759
4784
|
{
|
|
@@ -4791,7 +4816,7 @@ function PayoutDetailsDropin({
|
|
|
4791
4816
|
summaryEditButton: ["payoutVerificationMethod"]
|
|
4792
4817
|
}
|
|
4793
4818
|
},
|
|
4794
|
-
handleBackClick: !isPayoutVerificationMethodPageRedesignEnabled || activeForm.formId !== "summary" ?
|
|
4819
|
+
handleBackClick: !isPayoutVerificationMethodPageRedesignEnabled || activeForm.formId !== "summary" ? handleFormBackClick : void 0,
|
|
4795
4820
|
handleNextClick: handleFormNextClick,
|
|
4796
4821
|
handleHomeClick,
|
|
4797
4822
|
handleCloseClick,
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { b as useApiContext, $ as useMutation, k as httpPost, u as useTranslation } from "./StoreProvider-
|
|
13
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
14
|
-
import { H as Header } from "./CountryField-
|
|
15
|
-
import { L as LoaderWrapper } from "./useForm-
|
|
16
|
-
import { a as useToastContext } from "./useToastContext-
|
|
17
|
-
import { A as ActionBar } from "./ActionBar-
|
|
12
|
+
import { b as useApiContext, $ as useMutation, k as httpPost, u as useTranslation } from "./StoreProvider-C1Dsf-BK.js";
|
|
13
|
+
import { C as Checkbox } from "./debouncedInputEvent-m_KweSUi.js";
|
|
14
|
+
import { H as Header } from "./CountryField-DwQBatok.js";
|
|
15
|
+
import { L as LoaderWrapper } from "./useForm-CV5yIbAW.js";
|
|
16
|
+
import { a as useToastContext } from "./useToastContext-D_FkzBo_.js";
|
|
17
|
+
import { A as ActionBar } from "./ActionBar-BmF9QFwD.js";
|
|
18
18
|
import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
|
|
19
19
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
20
20
|
return httpPost({
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, M as EntityTypes, g as getLegalEntityCountry, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, M as EntityTypes, g as getLegalEntityCountry, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
13
|
-
import { g as getForms, f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-
|
|
14
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
12
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-B59jyGSP.js";
|
|
13
|
+
import { g as getForms, f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-BBx0mAip.js";
|
|
14
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-BuzPnl1j.js";
|
|
15
15
|
const RootBusinessDetailsPage = ({
|
|
16
16
|
onSubmit,
|
|
17
17
|
handleHomeClick
|
|
@@ -7,34 +7,34 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CountryCodes, a0 as entriesOf, P as createLogger, u as useTranslation, L as Loader, Y as IconButton, G as Typography, an as Trans, B as Button, b as useApiContext, $ as useMutation, aN as httpDelete, X as useExperimentsContext, U as TaskStatuses, M as EntityTypes, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { C as CountryCodes, a0 as entriesOf, P as createLogger, u as useTranslation, L as Loader, Y as IconButton, G as Typography, an as Trans, B as Button, b as useApiContext, $ as useMutation, aN as httpDelete, X as useExperimentsContext, U as TaskStatuses, M as EntityTypes, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useCallback, useMemo, useRef, useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { $ as salesChannelsWithWebData, a0 as useIndustryCodes, T as useBusinessLines, z as industryCodeFieldMetadata, a1 as IndustryCodeField, a2 as INDUSTRY_CODE_FIELD, a3 as SALES_CHANNELS_FIELD, a4 as WEB_DATA_FIELD, a5 as shouldSignNewPci, a6 as SCTA_FIELD, a7 as Divider, a8 as selectedBusinessLine, u as useSalesChannels, a9 as usePciQuestionnaireList, a as usePciStatus, aa as businessLinesConfigurations, ab as businessLinesForms } from "./OnboardingDropinComponent-
|
|
14
|
-
import { u as useCreateBusinessLine, a as useUpdateBusinessLine } from "./useUpdateBusinessLines-
|
|
15
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
16
|
-
import { a as useToastContext } from "./useToastContext-
|
|
17
|
-
import { g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
18
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
19
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
20
|
-
import { x as createFormRules, I as Image, i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
21
|
-
import { s as summaryStep } from "./Summary-
|
|
22
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, H as Header, S as StackLayout, a as Link, L as List } from "./CountryField-
|
|
23
|
-
import { u as useFormContext } from "./Address-
|
|
13
|
+
import { $ as salesChannelsWithWebData, a0 as useIndustryCodes, T as useBusinessLines, z as industryCodeFieldMetadata, a1 as IndustryCodeField, a2 as INDUSTRY_CODE_FIELD, a3 as SALES_CHANNELS_FIELD, a4 as WEB_DATA_FIELD, a5 as shouldSignNewPci, a6 as SCTA_FIELD, a7 as Divider, a8 as selectedBusinessLine, u as useSalesChannels, a9 as usePciQuestionnaireList, a as usePciStatus, aa as businessLinesConfigurations, ab as businessLinesForms } from "./OnboardingDropinComponent-BBx0mAip.js";
|
|
14
|
+
import { u as useCreateBusinessLine, a as useUpdateBusinessLine } from "./useUpdateBusinessLines-2i9G3ESb.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-LSmyX7Hx.js";
|
|
16
|
+
import { a as useToastContext } from "./useToastContext-D_FkzBo_.js";
|
|
17
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-uok9IFxE.js";
|
|
18
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-D18lPyMd.js";
|
|
19
|
+
import { u as useMultiForm } from "./useMultiForm-Cl7j2UJo.js";
|
|
20
|
+
import { x as createFormRules, I as Image, i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-B59jyGSP.js";
|
|
21
|
+
import { s as summaryStep } from "./Summary-Cg8ylB81.js";
|
|
22
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, H as Header, S as StackLayout, a as Link, L as List } from "./CountryField-DwQBatok.js";
|
|
23
|
+
import { u as useFormContext } from "./Address-DbMsGXmd.js";
|
|
24
24
|
import { Show } from "@preact/signals/utils";
|
|
25
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
26
|
-
import { F as Field } from "./useForm-
|
|
27
|
-
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-
|
|
28
|
-
import { I as InputText } from "./InputText-
|
|
29
|
-
import { SignPCIComponent } from "./SignPCIComponent-
|
|
30
|
-
import { A as Avatar } from "./Avatar-
|
|
25
|
+
import { C as Checkbox } from "./debouncedInputEvent-m_KweSUi.js";
|
|
26
|
+
import { F as Field } from "./useForm-CV5yIbAW.js";
|
|
27
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-Cp3v04bI.js";
|
|
28
|
+
import { I as InputText } from "./InputText-CnhTDLn9.js";
|
|
29
|
+
import { SignPCIComponent } from "./SignPCIComponent-DWJVpEyn.js";
|
|
30
|
+
import { A as Avatar } from "./Avatar-BRe0h5-c.js";
|
|
31
31
|
import cx from "classnames";
|
|
32
32
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
33
|
-
import { C as Card } from "./Card-
|
|
33
|
+
import { C as Card } from "./Card-Cg_gK9VR.js";
|
|
34
34
|
import { lazy } from "preact/compat";
|
|
35
|
-
import { M as LandingLayout } from "./IndividualOnfido-
|
|
36
|
-
import { L as ListItem } from "./ListItem-
|
|
37
|
-
import { S as StructuredList, C as Confirm } from "./useDataset-
|
|
35
|
+
import { M as LandingLayout } from "./IndividualOnfido-wkc1IOjL.js";
|
|
36
|
+
import { L as ListItem } from "./ListItem-BZNzvNV9.js";
|
|
37
|
+
import { S as StructuredList, C as Confirm } from "./useDataset-CVXbYF2B.js";
|
|
38
38
|
const rules = ({ data, country }) => {
|
|
39
39
|
return createFormRules({
|
|
40
40
|
webAddressRequired: () => {
|
package/dist/{RootIndividualDetailsPage-D9zsUi0y.js → RootIndividualDetailsPage-CjnLMWcW.js}
RENAMED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, K as useAccountHolder, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, q as isPartOfTrustFromLegalEntity, M as EntityTypes, ak as isOnfidoAutofillFlowEnabled, a4 as noop, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper, bt as individualOnfidoBaseMapping, b5 as individualComponentsKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, K as useAccountHolder, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, q as isPartOfTrustFromLegalEntity, M as EntityTypes, ak as isOnfidoAutofillFlowEnabled, a4 as noop, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper, bt as individualOnfidoBaseMapping, b5 as individualComponentsKeyMapping } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
13
|
-
import { f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-
|
|
14
|
-
import { g as getTrustedFieldsProvider, D as getTrustedFields, n as individualOnfidoForms, o as individualForms } from "./IndividualOnfido-
|
|
15
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
12
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-B59jyGSP.js";
|
|
13
|
+
import { f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-BBx0mAip.js";
|
|
14
|
+
import { g as getTrustedFieldsProvider, D as getTrustedFields, n as individualOnfidoForms, o as individualForms } from "./IndividualOnfido-wkc1IOjL.js";
|
|
15
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BWwS8BW-.js";
|
|
16
16
|
function RootIndividualDetailsPage({
|
|
17
17
|
asModal = false,
|
|
18
18
|
hideSidebar = false,
|
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, k as httpPost, $ as useMutation, W as isEmpty, u as useTranslation, a2 as useAnalyticsContext, aZ as getOwnDecisionMakers, r as LegalEntityTypes, O as TaskTypes, B as Button, a as addResourceBundles, c as useLegalEntity, R as ROOT_LE, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, k as httpPost, $ as useMutation, W as isEmpty, u as useTranslation, a2 as useAnalyticsContext, aZ as getOwnDecisionMakers, r as LegalEntityTypes, O as TaskTypes, B as Button, a as addResourceBundles, c as useLegalEntity, R as ROOT_LE, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useCallback, useEffect, useMemo } from "preact/hooks";
|
|
13
|
-
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-
|
|
14
|
-
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-
|
|
15
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
16
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
17
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
18
|
-
import { u as useForm, F as Field, S as Select } from "./useForm-
|
|
13
|
+
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-BBx0mAip.js";
|
|
14
|
+
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-D_FkzBo_.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-CaM5KrtN.js";
|
|
16
|
+
import { E as EndStateLayout } from "./EndStateLayout-D0to_JhP.js";
|
|
17
|
+
import { C as Checkbox } from "./debouncedInputEvent-m_KweSUi.js";
|
|
18
|
+
import { u as useForm, F as Field, S as Select } from "./useForm-CV5yIbAW.js";
|
|
19
19
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
20
|
-
import { C as Card } from "./Card-
|
|
20
|
+
import { C as Card } from "./Card-Cg_gK9VR.js";
|
|
21
21
|
import { C as ContractViewer } from "./ContractViewer-Byp71k2e.js";
|
|
22
22
|
const getPciTemplate = async (legalEntityId, baseUrl, data) => {
|
|
23
23
|
const filteredData = {
|
|
@@ -238,7 +238,7 @@ function SignPCIComponent({
|
|
|
238
238
|
const additionalSalesChannels = useSalesChannels();
|
|
239
239
|
const { t, i18n } = useTranslation(["contract", "common"]);
|
|
240
240
|
addResourceBundles(i18n, [
|
|
241
|
-
{ 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-
|
|
241
|
+
{ 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-C1Dsf-BK.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) },
|
|
242
242
|
{ 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) },
|
|
243
243
|
{ 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) }
|
|
244
244
|
]);
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { lazy } from "preact/compat";
|
|
12
12
|
import { useState } from "preact/hooks";
|
|
13
|
-
import { u as useTranslation, G as Typography, B as Button, r as LegalEntityTypes } from "./StoreProvider-
|
|
14
|
-
import { u as useForm, F as Field } from "./useForm-
|
|
15
|
-
import { R as RadioGroupCard, I as Image } from "./Spacer-
|
|
13
|
+
import { u as useTranslation, G as Typography, B as Button, r as LegalEntityTypes } from "./StoreProvider-C1Dsf-BK.js";
|
|
14
|
+
import { u as useForm, F as Field } from "./useForm-CV5yIbAW.js";
|
|
15
|
+
import { R as RadioGroupCard, I as Image } from "./Spacer-B59jyGSP.js";
|
|
16
16
|
const setupAccountMethods = ["singpass", "manual"];
|
|
17
17
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
18
18
|
const singpassLogo = lazy(() => import("./singpass-logo-BkMSwiGY.js"));
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, w as skipToken, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, O as TaskTypes, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, w as skipToken, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, O as TaskTypes, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
13
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
12
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-B59jyGSP.js";
|
|
13
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-BuzPnl1j.js";
|
|
14
14
|
function SoleProprietorshipPage({
|
|
15
15
|
solePropId,
|
|
16
16
|
onSubmit,
|
|
@@ -7,35 +7,35 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, $ as useMutation, k as httpPost, j as useQuery, m as httpGet, u as useTranslation, G as Typography, B as Button, V as useI18nContext, W as isEmpty, L as Loader, a3 as Icon, Y as IconButton, P as createLogger, a1 as useQueryClient, c as useLegalEntity, R as ROOT_LE, a2 as useAnalyticsContext, bM as useLegalEntities, a as addResourceBundles, M as EntityTypes, g as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, $ as useMutation, k as httpPost, j as useQuery, m as httpGet, u as useTranslation, G as Typography, B as Button, V as useI18nContext, W as isEmpty, L as Loader, a3 as Icon, Y as IconButton, P as createLogger, a1 as useQueryClient, c as useLegalEntity, R as ROOT_LE, a2 as useAnalyticsContext, bM as useLegalEntities, a as addResourceBundles, M as EntityTypes, g as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { t as TextArea, I as Image, i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
12
|
+
import { t as TextArea, I as Image, i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-B59jyGSP.js";
|
|
13
13
|
import { useState, useMemo, useEffect, useCallback, useRef } from "preact/hooks";
|
|
14
|
-
import { n as normalizedTaskStatusStore, T as useBusinessLines } from "./OnboardingDropinComponent-
|
|
15
|
-
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-
|
|
16
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
17
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
18
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
19
|
-
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-
|
|
20
|
-
import { g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
23
|
-
import { c as createDocumentRequest, d as documentApiUtils } from "./documentUtils-
|
|
14
|
+
import { n as normalizedTaskStatusStore, T as useBusinessLines } from "./OnboardingDropinComponent-BBx0mAip.js";
|
|
15
|
+
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-D_FkzBo_.js";
|
|
16
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-Cap8fK-F.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-5jT0WLYb.js";
|
|
18
|
+
import { h as hasDataChanged } from "./hasDataChanged-C0QfFyi1.js";
|
|
19
|
+
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-a_K7Lhat.js";
|
|
20
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-uok9IFxE.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-D18lPyMd.js";
|
|
22
|
+
import { F as FormWrapper } from "./FormWrapper-DjmK6JTP.js";
|
|
23
|
+
import { c as createDocumentRequest, d as documentApiUtils } from "./documentUtils-Bq4Fcc1a.js";
|
|
24
24
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
25
25
|
import { signal } from "@preact/signals";
|
|
26
|
-
import { C as CountryField, E as ErrorPanel, c as createFormUtils, g as getFormProps, H as Header } from "./CountryField-
|
|
27
|
-
import { F as Field, S as Select, u as useForm } from "./useForm-
|
|
28
|
-
import { I as InputDate, R as RadioGroup } from "./Address-
|
|
29
|
-
import { aa as InputGroup, ab as TileGroup, B as isEmpty$1, M as LandingLayout, ac as Dropzone } from "./IndividualOnfido-
|
|
30
|
-
import { I as InputText } from "./InputText-
|
|
31
|
-
import { a as allowedCurrencies, T as TODAY_DATE, S as SOF_CHARACTERS_LIMIT, b as formatDateForInput, g as getInputErrors, c as formatAmountWithCurrency, d as getAdditionalDataSchemaKeys, s as sofCategoryItemMapper, e as getPageHeadings, h as getServiceTranslationSelectTitle, i as sourceOfFundsForms, j as getSofCardDetails, k as getGettingStartedCardDetails, l as getServiceTranslation, p as parseSOFDocumentDescription, m as getRelevantErrors, n as getUniqueRemediationActions, o as SOF_INVALID_INPUT_ERROR_CODES, q as getServiceTranslationKey, r as getDocumentLists, t as getDocumentRequirements, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getSourceOfFundsRequiredForms, w as sourceOfFundsRequiredFields, x as getSourceOfFundsPayload, y as parseSofOriginatorPayload, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
32
|
-
import { A as Avatar } from "./Avatar-
|
|
33
|
-
import { a as Alert } from "./Alert-
|
|
34
|
-
import { M as Modal } from "./Modal-
|
|
35
|
-
import { C as Confirm, S as StructuredList } from "./useDataset-
|
|
36
|
-
import { v as validateDateNotInTheFuture } from "./validate-
|
|
26
|
+
import { C as CountryField, E as ErrorPanel, c as createFormUtils, g as getFormProps, H as Header } from "./CountryField-DwQBatok.js";
|
|
27
|
+
import { F as Field, S as Select, u as useForm } from "./useForm-CV5yIbAW.js";
|
|
28
|
+
import { I as InputDate, R as RadioGroup } from "./Address-DbMsGXmd.js";
|
|
29
|
+
import { aa as InputGroup, ab as TileGroup, B as isEmpty$1, M as LandingLayout, ac as Dropzone } from "./IndividualOnfido-wkc1IOjL.js";
|
|
30
|
+
import { I as InputText } from "./InputText-CnhTDLn9.js";
|
|
31
|
+
import { a as allowedCurrencies, T as TODAY_DATE, S as SOF_CHARACTERS_LIMIT, b as formatDateForInput, g as getInputErrors, c as formatAmountWithCurrency, d as getAdditionalDataSchemaKeys, s as sofCategoryItemMapper, e as getPageHeadings, h as getServiceTranslationSelectTitle, i as sourceOfFundsForms, j as getSofCardDetails, k as getGettingStartedCardDetails, l as getServiceTranslation, p as parseSOFDocumentDescription, m as getRelevantErrors, n as getUniqueRemediationActions, o as SOF_INVALID_INPUT_ERROR_CODES, q as getServiceTranslationKey, r as getDocumentLists, t as getDocumentRequirements, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getSourceOfFundsRequiredForms, w as sourceOfFundsRequiredFields, x as getSourceOfFundsPayload, y as parseSofOriginatorPayload, A as ALLOWED_SOF_SERVICES } from "./utils-XqO17YWC.js";
|
|
32
|
+
import { A as Avatar } from "./Avatar-BRe0h5-c.js";
|
|
33
|
+
import { a as Alert } from "./Alert-8DgB9Po_.js";
|
|
34
|
+
import { M as Modal } from "./Modal-Cp3v04bI.js";
|
|
35
|
+
import { C as Confirm, S as StructuredList } from "./useDataset-CVXbYF2B.js";
|
|
36
|
+
import { v as validateDateNotInTheFuture } from "./validate-g9wpUSZu.js";
|
|
37
37
|
import { lazy } from "preact/compat";
|
|
38
|
-
import { C as Card } from "./Card-
|
|
38
|
+
import { C as Card } from "./Card-Cg_gK9VR.js";
|
|
39
39
|
const updateSourceOfFunds = async (businessLineId, legalEntityId, baseUrl, data) => {
|
|
40
40
|
return httpPost(
|
|
41
41
|
{
|
|
@@ -8,17 +8,17 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo, useState, useEffect, useCallback, useLayoutEffect, useRef } from "preact/hooks";
|
|
11
|
-
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, aA as getCapabilityProblems, g as getLegalEntityCountry, aB as cloneObject, C as CountryCodes, aC as hasText, aD as isValidMinLength, aE as matchesRegex, W as isEmpty, aF as NO_ALPHABET_REGEX, aG as EMOJI_REGEX, aH as hasRepeatedCharacters, aI as isInvalidName, aJ as OTHER_ENTITIES_VALID_CHAR_REGEX, aK as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aL as standardKatakanaValidator, aM as standardKanjiValidator, a2 as useAnalyticsContext, P as createLogger, u as useTranslation, az as StateContext, L as Loader, a3 as Icon, G as Typography, Y as IconButton } from "./StoreProvider-
|
|
11
|
+
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, aA as getCapabilityProblems, g as getLegalEntityCountry, aB as cloneObject, C as CountryCodes, aC as hasText, aD as isValidMinLength, aE as matchesRegex, W as isEmpty, aF as NO_ALPHABET_REGEX, aG as EMOJI_REGEX, aH as hasRepeatedCharacters, aI as isInvalidName, aJ as OTHER_ENTITIES_VALID_CHAR_REGEX, aK as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aL as standardKatakanaValidator, aM as standardKanjiValidator, a2 as useAnalyticsContext, P as createLogger, u as useTranslation, az as StateContext, L as Loader, a3 as Icon, G as Typography, Y as IconButton } from "./StoreProvider-C1Dsf-BK.js";
|
|
12
12
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
13
|
-
import { a as Alert } from "./Alert-
|
|
13
|
+
import { a as Alert } from "./Alert-8DgB9Po_.js";
|
|
14
14
|
import cx from "classnames";
|
|
15
|
-
import { a as debouncedInputEvent } from "./debouncedInputEvent-
|
|
15
|
+
import { a as debouncedInputEvent } from "./debouncedInputEvent-m_KweSUi.js";
|
|
16
16
|
import { Suspense, lazy, forwardRef } from "preact/compat";
|
|
17
|
-
import { b as useId } from "./useToastContext-
|
|
18
|
-
import { R as Radio } from "./CountryField-
|
|
19
|
-
import { F as Field } from "./useForm-
|
|
20
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
21
|
-
import { u as useForwardedRef, a as InputBase, I as InputText } from "./InputText-
|
|
17
|
+
import { b as useId } from "./useToastContext-D_FkzBo_.js";
|
|
18
|
+
import { R as Radio } from "./CountryField-DwQBatok.js";
|
|
19
|
+
import { F as Field } from "./useForm-CV5yIbAW.js";
|
|
20
|
+
import { K as KEYBOARD_KEYS } from "./Modal-Cp3v04bI.js";
|
|
21
|
+
import { u as useForwardedRef, a as InputBase, I as InputText } from "./InputText-CnhTDLn9.js";
|
|
22
22
|
const useCapabilityProblems = () => {
|
|
23
23
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
24
24
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { u as useTranslation, G as Typography } from "./StoreProvider-
|
|
12
|
+
import { u as useTranslation, G as Typography } from "./StoreProvider-C1Dsf-BK.js";
|
|
13
13
|
const range = (stop, start = 0, step = 1) => Array.from({ length: (stop - start) / step + 1 }, (_, i) => start + i * step);
|
|
14
14
|
const progressBar = "adyen-kyc-progress-bar";
|
|
15
15
|
const progressBarThick = "adyen-kyc-progress-bar-thick";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e2 = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n2 = new e2.Error().stack;
|
|
5
|
-
n2 && (e2._sentryDebugIds = e2._sentryDebugIds || {}, e2._sentryDebugIds[n2] = "
|
|
5
|
+
n2 && (e2._sentryDebugIds = e2._sentryDebugIds || {}, e2._sentryDebugIds[n2] = "8e543a3b-dd06-48e5-9cad-4f1991d0b765", e2._sentryDebugIdIdentifier = "sentry-dbid-8e543a3b-dd06-48e5-9cad-4f1991d0b765");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -7055,7 +7055,7 @@ const getAnalyticsAssociatedEntityDetails = (rootLegalEntity, accountHolderType)
|
|
|
7055
7055
|
};
|
|
7056
7056
|
};
|
|
7057
7057
|
const useAnalytics = ({ userEvents, sessionId, sessionData }) => {
|
|
7058
|
-
const sdkVersion = "3.90.
|
|
7058
|
+
const sdkVersion = "3.90.3";
|
|
7059
7059
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
7060
7060
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
7061
7061
|
const { accountHolder } = useAccountHolder();
|
|
@@ -7098,7 +7098,7 @@ const AnalyticsProvider = ({
|
|
|
7098
7098
|
const userEvents = useMemo(() => createUserEvents(), []);
|
|
7099
7099
|
const onboardingVersion = isLoading ? void 0 : isError ? 1 : versionData?.version;
|
|
7100
7100
|
const sessionData = {
|
|
7101
|
-
sdkVersion: "3.90.
|
|
7101
|
+
sdkVersion: "3.90.3",
|
|
7102
7102
|
componentName,
|
|
7103
7103
|
userAgent: navigator.userAgent,
|
|
7104
7104
|
legalEntityId: rootLegalEntityId,
|
|
@@ -7507,7 +7507,7 @@ function StateProvider({
|
|
|
7507
7507
|
);
|
|
7508
7508
|
return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children });
|
|
7509
7509
|
}
|
|
7510
|
-
const DebugModal = lazy(async () => (await import("./DebugModal-
|
|
7510
|
+
const DebugModal = lazy(async () => (await import("./DebugModal-DsqZUbWg.js")).DebugModal);
|
|
7511
7511
|
const DebugListener = () => {
|
|
7512
7512
|
const [debugUiOpen, setDebugUiOpen] = useState$1(false);
|
|
7513
7513
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { V as useI18nContext, u as useTranslation, a2 as useAnalyticsContext, W as isEmpty, Y as IconButton, z as translateStringOrObject, bw as Svg } from "./StoreProvider-
|
|
12
|
-
import { H as Header, E as ErrorPanel, c as createFormUtils, L as List, f as getRoleName, h as isSummaryItem } from "./CountryField-
|
|
13
|
-
import { S as StructuredList } from "./useDataset-
|
|
11
|
+
import { V as useI18nContext, u as useTranslation, a2 as useAnalyticsContext, W as isEmpty, Y as IconButton, z as translateStringOrObject, bw as Svg } from "./StoreProvider-C1Dsf-BK.js";
|
|
12
|
+
import { H as Header, E as ErrorPanel, c as createFormUtils, L as List, f as getRoleName, h as isSummaryItem } from "./CountryField-DwQBatok.js";
|
|
13
|
+
import { S as StructuredList } from "./useDataset-CVXbYF2B.js";
|
|
14
14
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
15
15
|
const summary = "adyen-kyc-summary";
|
|
16
16
|
const summaryContent = "adyen-kyc-summary-content";
|
|
@@ -7,25 +7,25 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, m as httpGet, G as Typography, u as useTranslation, an as Trans, a3 as Icon, B as Button, Y as IconButton, W as isEmpty$1, a as addResourceBundles, a2 as useAnalyticsContext, c as useLegalEntity, R as ROOT_LE, P as createLogger, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, m as httpGet, G as Typography, u as useTranslation, an as Trans, a3 as Icon, B as Button, Y as IconButton, W as isEmpty$1, a as addResourceBundles, a2 as useAnalyticsContext, c as useLegalEntity, R as ROOT_LE, P as createLogger, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
|
-
import { c as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
14
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
16
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
17
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
13
|
+
import { c as useInvalidateRootLegalEntity } from "./useToastContext-D_FkzBo_.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-5jT0WLYb.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-LSmyX7Hx.js";
|
|
16
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-D18lPyMd.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-Cl7j2UJo.js";
|
|
18
18
|
import { signal } from "@preact/signals";
|
|
19
|
-
import { u as useFormContext, R as RadioGroup } from "./Address-
|
|
20
|
-
import { H as Header, a as Link, g as getFormProps } from "./CountryField-
|
|
21
|
-
import { F as Field } from "./useForm-
|
|
22
|
-
import { a as Alert } from "./Alert-
|
|
19
|
+
import { u as useFormContext, R as RadioGroup } from "./Address-DbMsGXmd.js";
|
|
20
|
+
import { H as Header, a as Link, g as getFormProps } from "./CountryField-DwQBatok.js";
|
|
21
|
+
import { F as Field } from "./useForm-CV5yIbAW.js";
|
|
22
|
+
import { a as Alert } from "./Alert-8DgB9Po_.js";
|
|
23
23
|
import { lazy } from "preact/compat";
|
|
24
|
-
import { I as Image } from "./Spacer-
|
|
25
|
-
import { S as StructuredList } from "./useDataset-
|
|
26
|
-
import { B as isEmpty, M as LandingLayout } from "./IndividualOnfido-
|
|
27
|
-
import { C as Card } from "./Card-
|
|
28
|
-
import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-
|
|
24
|
+
import { I as Image } from "./Spacer-B59jyGSP.js";
|
|
25
|
+
import { S as StructuredList } from "./useDataset-CVXbYF2B.js";
|
|
26
|
+
import { B as isEmpty, M as LandingLayout } from "./IndividualOnfido-wkc1IOjL.js";
|
|
27
|
+
import { C as Card } from "./Card-Cg_gK9VR.js";
|
|
28
|
+
import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-BBx0mAip.js";
|
|
29
29
|
const getTaxClassification = async (legalEntityId, baseUrl) => {
|
|
30
30
|
return httpGet({
|
|
31
31
|
baseUrl,
|