@adyen/kyc-components 4.6.0-beta.2 → 4.6.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-CtaBBrk0.js → AcceptTermsOfServiceComponent-D61bfNW0.js} +14 -14
- package/dist/{AccountSetupRejected-D8gaufMw.js → AccountSetupRejected-zD_ccBqS.js} +1 -1
- package/dist/{ActionBar-DGwdrrB_.js → ActionBar-DkXjAAQ1.js} +1 -1
- package/dist/{Address-cz2S86zI.js → Address-Csavi1J2.js} +9 -9
- package/dist/{Avatar-7kgh6CHI.js → Avatar-D-VHGhFL.js} +1 -1
- package/dist/{BusinessFinancingComponent-eBKy6xU8.js → BusinessFinancingComponent-DG0EWNk6.js} +4 -4
- package/dist/{BusinessFinancingDropin-ChEgF-ZA.js → BusinessFinancingDropin-5UqhwnOX.js} +27 -27
- package/dist/{BusinessFinancingPage-xCNhha70.js → BusinessFinancingPage-CMoJlPym.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-BNek-KxD.js → BusinessTypeSelectionPage-D4SBQDqJ.js} +8 -8
- package/dist/{Checkbox-DGkb11a4.js → Checkbox-BKM1WPHa.js} +1 -1
- package/dist/{Confirm-Cx_YRCkh.js → Confirm-gEhhWD8f.js} +2 -2
- package/dist/{ConstitutionalDocument-E0asVAUM.js → ConstitutionalDocument-CCw9a-FU.js} +17 -17
- package/dist/{ContactDetails-CfBKZKqs.js → ContactDetails-CGBkZMAt.js} +5 -5
- package/dist/{ContextGuidance-rEAZ5ICB.js → ContextGuidance-B4qWRid4.js} +1 -1
- package/dist/{CountryField-RU-_jjMw.js → CountryField-pznzB7Uq.js} +3 -3
- package/dist/{CreateIndividualComponent-Ce9ekGPJ.js → CreateIndividualComponent-yT3Rqlai.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-DpTM7rui.js → CreateTransferInstrumentComponent-BbWiq2fM.js} +3 -3
- package/dist/{Currency-CqFX7y22.js → Currency-DJCryqqJ.js} +6 -6
- package/dist/{CustomerSupport-z0-Zf4BA.js → CustomerSupport-CJy8LS0W.js} +9 -9
- package/dist/{DebugModal-BFke28dv.js → DebugModal-BMXSCZDm.js} +6 -6
- package/dist/{DecisionMakerDetails-ug3kwUws.js → DecisionMakerDetails-BAniwLCh.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-B593DUf-.js → DecisionMakerDetailsPage-CloS-QIg.js} +6 -6
- package/dist/{DecisionMakers-C8x2P7_6.js → DecisionMakers-DrnBmtOE.js} +17 -17
- package/dist/{Dropzone-XOUgBdVH.js → Dropzone-DCTHmJn2.js} +3 -3
- package/dist/{EmbeddedStatus-Cyv2LQoP.js → EmbeddedStatus-sF6FG18F.js} +2 -2
- package/dist/{EndStateLayout-D3ONBI6e.js → EndStateLayout-D23FWrbD.js} +1 -1
- package/dist/{EntityAssociation-BXqi-QjN.js → EntityAssociation-eiVdh677.js} +4 -4
- package/dist/{EntityGuidanceStatus-Be0segm2.js → EntityGuidanceStatus-Chbgo62U.js} +3 -3
- package/dist/{ErrorPanel-DdzwoQdQ.js → ErrorPanel-B8fHWJ7W.js} +1 -1
- package/dist/{Field-Bi72wg1x.js → Field-BguffV12.js} +1 -1
- package/dist/{FormNavigation-HHYU6Bvh.js → FormNavigation-D5KYMYO0.js} +2 -2
- package/dist/{Individual.rules-DBs037_d.js → Individual.rules-2HzSnI41.js} +5 -5
- package/dist/{IndividualDropin-DTdlzDN5.js → IndividualDropin-CybsCeUw.js} +49 -49
- package/dist/{InputDate-C-lV3lVz.js → InputDate-BjWLJfR1.js} +1 -1
- package/dist/{InputText-DgCXg3ha.js → InputText-C6-NIYzH.js} +1 -1
- package/dist/{Introduction-BQKPOybv.js → Introduction-UMqxmd6N.js} +3 -3
- package/dist/{InvitedDecisionMakerComponent-Czf-jAbN.js → InvitedDecisionMakerComponent-XyPQK6mU.js} +9 -9
- package/dist/{JpAddress-CG276GiF.js → JpAddress-C8wbZfE0.js} +8 -8
- package/dist/{LandingLayout-Bm6-wuBa.js → LandingLayout-Dr28QxoC.js} +1 -1
- package/dist/{LegalCompanyNameField-CMLXmTUL.js → LegalCompanyNameField-DHyMLbZc.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-DtWNFd4J.js → LegalRepresentativeDetailsPage-CusLAG25.js} +3 -3
- package/dist/{Link-h7lXdwOH.js → Link-C1szPOri.js} +1 -1
- package/dist/{ListItem-DtZwuSE-.js → ListItem-nK0xrija.js} +2 -2
- package/dist/{LoaderWrapper-FFDM3y51.js → LoaderWrapper-BEzoHtmn.js} +1 -1
- package/dist/{ManageIndividualComponent-DO6HJ0WQ.js → ManageIndividualComponent-DJE85k3F.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-BnGKiN9o.js → ManageTermsOfServiceComponent-HijCyHGy.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-k_s_jnoi.js → ManageTransferInstrumentComponent-C1f0GAQr.js} +9 -9
- package/dist/{MaskedInput-BmBY-bPZ.js → MaskedInput-Ckb7nz68.js} +4 -4
- package/dist/{MaybeModal-DgWQKG6c.js → MaybeModal-DolShkyo.js} +2 -2
- package/dist/{Modal-D9wE21RN.js → Modal-EL9MXgbw.js} +1 -1
- package/dist/{Name-DpY9iCJz.js → Name-BSak9KXo.js} +4 -4
- package/dist/{NewSummary-BDTj70zj.js → NewSummary-Buy5WzoM.js} +1 -1
- package/dist/{OnboardingDropinComponent-BWl5iBJ9.js → OnboardingDropinComponent-BRlY6KUs.js} +72 -72
- package/dist/{PayoutDetailsDropin-CadGkyUR.js → PayoutDetailsDropin-nXxBue_s.js} +32 -32
- package/dist/{PayoutDetailsPage-Di4jFPah.js → PayoutDetailsPage-DHEVWO5C.js} +4 -4
- package/dist/{RadioGroup-LizCjPx9.js → RadioGroup-BTCmUbA0.js} +1 -1
- package/dist/{Review-BKfblhJh.js → Review-CYOIXbFm.js} +5 -5
- package/dist/{RootBusinessDetailsPage-CHwstEWH.js → RootBusinessDetailsPage-BZ1QnczY.js} +4 -4
- package/dist/{RootBusinessLinesPage-CBvkeTZs.js → RootBusinessLinesPage-CcUJQEkg.js} +24 -24
- package/dist/{RootIndividualDetailsPage-CDsWcFTr.js → RootIndividualDetailsPage-C2GvNs12.js} +5 -5
- package/dist/{Select-B5Auppvc.js → Select-BgkHFapB.js} +3 -3
- package/dist/{SignPCIComponent-4Mav0jvb.js → SignPCIComponent-CpAtbAKc.js} +10 -10
- package/dist/{SingpassSelection-DzP1oyLx.js → SingpassSelection-DxXIwmVH.js} +4 -4
- package/dist/{SoleProprietorshipPage-pWLW1UCN.js → SoleProprietorshipPage-C8ENenc3.js} +3 -3
- package/dist/{SourceOfFundsPage-CAEMC790.js → SourceOfFundsPage-D3dzjyGw.js} +31 -31
- package/dist/{StepProgressIndicator-qtFaxrOK.js → StepProgressIndicator-ZWEENbMM.js} +1 -1
- package/dist/{StoreProvider-Bw2i3Zhn.js → StoreProvider-DKCxUPee.js} +4 -4
- package/dist/{Summary-hiWXpdNQ.js → Summary-BMM1xjqy.js} +5 -5
- package/dist/{TaxInformationField-Dko14OFs.js → TaxInformationField-DkZhHedg.js} +19 -19
- package/dist/{TaxReportingDropin-CdAtICCF.js → TaxReportingDropin-gAAULI4S.js} +13 -13
- package/dist/{TextArea-Cc3HLIWM.js → TextArea-u_xiMf1c.js} +1 -1
- package/dist/{TileGroup-YBMTWHr5.js → TileGroup-r_3ClexW.js} +2 -2
- package/dist/{TrustDetailsPage-DjVeq2Yq.js → TrustDetailsPage-B-5f_JZn.js} +30 -30
- package/dist/{TrustMemberCompanyPage-Be1_uZ0w.js → TrustMemberCompanyPage-CyjbjBSw.js} +4 -4
- package/dist/{TrustMemberIndividualPage-D4G8GSLz.js → TrustMemberIndividualPage-Cfrri13a.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-_SxW1Zx5.js → TrustMemberRoleAndTypePage-D4DQm-6B.js} +20 -20
- package/dist/{TrustMembersOverview-60rk8ytK.js → TrustMembersOverview-DdCvtsr1.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-DjHV99_1.js → UnincorporatedPartnershipIndividualPage-BF6xWHcg.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CXwtHYR4.js → UnincorporatedPartnershipMemberCompanyPage-DX_M1Ynr.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-LHck8IgQ.js → UnincorporatedPartnershipMemberRoleAndTypePage-7gGtWzqV.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-IXdRZf9v.js → UnincorporatedPartnershipMembersOverview-qYm3eukg.js} +6 -6
- package/dist/{VerificationErrorAlert-NjuNP9Bk.js → VerificationErrorAlert-CwjcCtq7.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-D50G-bDH.js → ViewVerificationStatusComponent-Z8OcoBMo.js} +2 -2
- 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-invited-decision-maker.js +2 -2
- package/dist/adyen-kyc-components.js +15 -15
- 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/{bafinUtils-CtHHMCvt.js → bafinUtils-Dsw4DufE.js} +1 -1
- package/dist/{commonValidators-BC02Gy6-.js → commonValidators-dPJjXT_8.js} +1 -1
- package/dist/{dropinUtils-BkHKfXSh.js → dropinUtils-14DNwEiI.js} +3 -3
- package/dist/{formUtils-DaBxRmKB.js → formUtils-DkgXgXMP.js} +2 -2
- package/dist/{getName-BocXk_Oo.js → getName-Z2gJognf.js} +1 -1
- package/dist/{getProblemsForEntity-BnZ-IbHH.js → getProblemsForEntity-DAFLyYyP.js} +1 -1
- package/dist/{getTrustedFields-DuoR7QX8.js → getTrustedFields-Yhy_d5h0.js} +1 -1
- package/dist/{isEmpty-Cp5JF-o7.js → isEmpty-boSQX897.js} +1 -1
- package/dist/{japanSupportUtils-DORPmRyw.js → japanSupportUtils-DC6ssQNc.js} +1 -1
- package/dist/{localizeDateString-f31Noa4H.js → localizeDateString-6qoF3x9R.js} +1 -1
- package/dist/{mapExistingFile-CsbIL-h4.js → mapExistingFile-BMJL0nyv.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-Ch6-Q6xp.js → mapJpAddressSchemaToAddressLocalizations-B-YIRvOK.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-CTANa3o4.js → mapLegalEntityToIndividualSchema-CS9_Bo3k.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-D8l4Eyna.js → mapTransferInstrumentToPayoutAccount-DnaL9hYo.js} +1 -1
- package/dist/{omitObscuredFieldsIfUnchanged-BUuyTKM2.js → omitObscuredFieldsIfUnchanged-Bbes2BVX.js} +2 -2
- package/dist/{patternValidators-Cvx-61hr.js → patternValidators-B7j6YIOy.js} +1 -1
- package/dist/{process-field-configurations-BwTWueja.js → process-field-configurations-BxJae0v4.js} +1 -1
- package/dist/{resolveEnvironment-BWG-oWgD.js → resolveEnvironment-_hyPvH0e.js} +3 -3
- package/dist/{roleMetadata-DTC8MduW.js → roleMetadata-C9fdKfQp.js} +2 -2
- package/dist/{types-Bg2W03gs.js → types-BxcVVfxO.js} +1 -1
- package/dist/{types-stYElXGv.js → types-DO_d6cVD.js} +1 -1
- package/dist/{types-CUVhkrQ_.js → types-DR1UyHuL.js} +1 -1
- package/dist/{unincorporated-partnership-DkoZf2HM.js → unincorporated-partnership-DYTYq9It.js} +1 -1
- package/dist/{useAssociatedLegalEntity-DDI1dqf1.js → useAssociatedLegalEntity-CuVMzeS0.js} +1 -1
- package/dist/{useBusinessDetailsData-BhFSxwA5.js → useBusinessDetailsData-BDvJiv0U.js} +52 -50
- package/dist/{useCreateLegalEntity-CihFeIVA.js → useCreateLegalEntity-BqiM6Z4D.js} +1 -1
- package/dist/{useForm-CMya0m-t.js → useForm-C1botkQ9.js} +2 -2
- package/dist/{useFormContext-CkOlWAMg.js → useFormContext-DLkJgmS9.js} +6 -6
- package/dist/{useGlobalData-D3w4cYoQ.js → useGlobalData-BydN0B8P.js} +8 -8
- package/dist/{useMultiForm-Ra57v4W1.js → useMultiForm-ZSjb-MNl.js} +3 -3
- package/dist/{useOnboardingStatus-8oINpU5O.js → useOnboardingStatus-CpkyRoX9.js} +1 -1
- package/dist/{useScenarios-CjVrM6HE.js → useScenarios-DNnpIr7b.js} +1 -1
- package/dist/{useTermsOfServiceStatus-C95z-l29.js → useTermsOfServiceStatus-BH74ie3Z.js} +1 -1
- package/dist/{useToastContext-C7Fhdf1k.js → useToastContext-CN6SzXSt.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-B4HIb6By.js → useUnincorporatedPartnershipMembers-z5aGwc0I.js} +4 -4
- package/dist/{useUpdateBusinessLines-BVFPn5Jw.js → useUpdateBusinessLines-D5WMs9_g.js} +3 -3
- package/dist/{useUpdateLegalEntity-ClNcbl_C.js → useUpdateLegalEntity-8Sn5DTcn.js} +2 -2
- package/dist/{utils-BSs_8dJO.js → utils-Bx0ZXntJ.js} +2 -2
- package/dist/{utils-DfLgN8WS.js → utils-CKmUVF30.js} +1 -1
- package/dist/{utils-CmY_OddU.js → utils-CL8Y2cxl.js} +5 -5
- package/dist/{utils-o3cSxX45.js → utils-Cbs8k6wy.js} +1 -1
- package/dist/{utils-CURcw-Ft.js → utils-TMcBiPzX.js} +1 -1
- package/dist/{validate-Bbt21cCv.js → validate-Bz4kAnZq.js} +1 -1
- package/dist/{validate-Bj4BLKtR.js → validate-Dy8GuvEF.js} +2 -2
- package/dist/{validationError-CMwGAQFZ.js → validationError-Cl6ZvFO8.js} +1 -1
- package/package.json +1 -1
|
@@ -10,16 +10,16 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useQueryClient } from "@tanstack/preact-query";
|
|
12
12
|
import { useCallback, useMemo } from "preact/hooks";
|
|
13
|
-
import { P as useLegalEntity, U as Loader, R as ROOT_LE, E as EntityTypes, u as useTranslation, x as useAnalyticsContext, aB as Header, ae as createLogger } from "./StoreProvider-
|
|
14
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
-
import { c as contactDetailsValidationRules, f as fieldConfig, u as useValidatePhoneNumberImperatively, b as getAsyncPhoneValidationRules, C as ContactDetails, d as defaultFieldMetadata } from "./ContactDetails-
|
|
16
|
-
import { u as useToastContext } from "./useToastContext-
|
|
17
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
18
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
19
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
13
|
+
import { P as useLegalEntity, U as Loader, R as ROOT_LE, E as EntityTypes, u as useTranslation, x as useAnalyticsContext, aB as Header, ae as createLogger } from "./StoreProvider-DKCxUPee.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-8Sn5DTcn.js";
|
|
15
|
+
import { c as contactDetailsValidationRules, f as fieldConfig, u as useValidatePhoneNumberImperatively, b as getAsyncPhoneValidationRules, C as ContactDetails, d as defaultFieldMetadata } from "./ContactDetails-CGBkZMAt.js";
|
|
16
|
+
import { u as useToastContext } from "./useToastContext-CN6SzXSt.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-ZSjb-MNl.js";
|
|
18
|
+
import { E as ErrorPanel } from "./ErrorPanel-B8fHWJ7W.js";
|
|
19
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-DAFLyYyP.js";
|
|
20
20
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
21
|
-
import { c as createFormUtils } from "./formUtils-
|
|
22
|
-
import { A as ActionBar } from "./ActionBar-
|
|
21
|
+
import { c as createFormUtils } from "./formUtils-DkgXgXMP.js";
|
|
22
|
+
import { A as ActionBar } from "./ActionBar-DkXjAAQ1.js";
|
|
23
23
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
24
24
|
return {
|
|
25
25
|
email: customerSupport?.customerSupport?.email || "",
|
|
@@ -2,22 +2,22 @@
|
|
|
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] = "7cf390d4-b43f-4dbd-a5cd-ecd6b891b588", e._sentryDebugIdIdentifier = "sentry-dbid-7cf390d4-b43f-4dbd-a5cd-ecd6b891b588");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useMemo } from "preact/hooks";
|
|
12
|
-
import { V as Button, by as Accordion, u as useTranslation, ao as entriesOf, bz as splitTaskIdentifier, G as TaskVerificationStatus, H as useToggleContext, m as useSettingsContext, W as useGlobalStore, aT as listToRecord, aR as valuesOf, z as Icon, ae as createLogger } from "./StoreProvider-
|
|
13
|
-
import { M as Modal } from "./Modal-
|
|
12
|
+
import { V as Button, by as Accordion, u as useTranslation, ao as entriesOf, bz as splitTaskIdentifier, G as TaskVerificationStatus, H as useToggleContext, m as useSettingsContext, W as useGlobalStore, aT as listToRecord, aR as valuesOf, z as Icon, ae as createLogger } from "./StoreProvider-DKCxUPee.js";
|
|
13
|
+
import { M as Modal } from "./Modal-EL9MXgbw.js";
|
|
14
14
|
import { S as SettingNames } from "./types-Dv0COrvY.js";
|
|
15
15
|
import { F as FeatureNames, E as ExperimentNames } from "./types-CTwBMnPB.js";
|
|
16
|
-
import { C as Checkbox } from "./Checkbox-
|
|
16
|
+
import { C as Checkbox } from "./Checkbox-BKM1WPHa.js";
|
|
17
17
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
18
18
|
import MonogonCode from "monogon/preact";
|
|
19
19
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
20
|
-
import { I as InputText } from "./InputText-
|
|
20
|
+
import { I as InputText } from "./InputText-C6-NIYzH.js";
|
|
21
21
|
const tabs = "adyen-kyc-tabs";
|
|
22
22
|
const styles$3 = {
|
|
23
23
|
tabs
|
|
@@ -348,7 +348,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
348
348
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
349
349
|
const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
|
|
350
350
|
const metadata = {
|
|
351
|
-
sdkVersion: "4.6.0
|
|
351
|
+
sdkVersion: "4.6.0",
|
|
352
352
|
locale: i18n.language,
|
|
353
353
|
rootLegalEntityId: rootLegalEntity.id
|
|
354
354
|
};
|
|
@@ -9,17 +9,17 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useMemo } from "preact/hooks";
|
|
12
|
-
import { y as TaskStatuses, as as DecisionMakerTypes, aX as drop, an as cloneObject, am as datasetUtilities, u as useTranslation, P as useLegalEntity, V as Button, U as Loader, O as StackLayout, G as TaskVerificationStatus, N as Typography } from "./StoreProvider-
|
|
12
|
+
import { y as TaskStatuses, as as DecisionMakerTypes, aX as drop, an as cloneObject, am as datasetUtilities, u as useTranslation, P as useLegalEntity, V as Button, U as Loader, O as StackLayout, G as TaskVerificationStatus, N as Typography } from "./StoreProvider-DKCxUPee.js";
|
|
13
13
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
14
|
-
import { L as ListItem } from "./ListItem-
|
|
15
|
-
import { M as Modal } from "./Modal-
|
|
14
|
+
import { L as ListItem } from "./ListItem-nK0xrija.js";
|
|
15
|
+
import { M as Modal } from "./Modal-EL9MXgbw.js";
|
|
16
16
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
17
17
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
18
|
-
import { C as Confirm } from "./Confirm-
|
|
19
|
-
import { b as getTrustedEntityAssociations } from "./getTrustedFields-
|
|
20
|
-
import { G as GuidanceQuestionValues, m as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-
|
|
21
|
-
import { m as mapAddressLabels } from "./utils-
|
|
22
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
18
|
+
import { C as Confirm } from "./Confirm-gEhhWD8f.js";
|
|
19
|
+
import { b as getTrustedEntityAssociations } from "./getTrustedFields-Yhy_d5h0.js";
|
|
20
|
+
import { G as GuidanceQuestionValues, m as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-CS9_Bo3k.js";
|
|
21
|
+
import { m as mapAddressLabels } from "./utils-CKmUVF30.js";
|
|
22
|
+
import { l as localizeDateString } from "./localizeDateString-6qoF3x9R.js";
|
|
23
23
|
const BENEFICIAL_OWNER_ROLES = [
|
|
24
24
|
DecisionMakerTypes.OWNER,
|
|
25
25
|
DecisionMakerTypes.CONTROLLING_PERSON,
|
|
@@ -7,15 +7,15 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { P as useLegalEntity, H as useToggleContext, a8 as getLegalEntityCountry, u as useTranslation, a as addResourceBundles, U as Loader, ai as noop, w as TaskTypes, E as EntityTypes, L as LegalEntityTypes, _ as __variableDynamicImportRuntimeHelper, bn as individualBaseMapping } from "./StoreProvider-
|
|
10
|
+
import { P as useLegalEntity, H as useToggleContext, a8 as getLegalEntityCountry, u as useTranslation, a as addResourceBundles, U as Loader, ai as noop, w as TaskTypes, E as EntityTypes, L as LegalEntityTypes, _ as __variableDynamicImportRuntimeHelper, bn as individualBaseMapping } from "./StoreProvider-DKCxUPee.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
13
|
import { useParams } from "wouter-preact";
|
|
14
|
-
import { u as useScenarios } from "./useScenarios-
|
|
15
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
16
|
-
import { a as getTrustedFieldsProvider, c as getTrustedFields, b as getTrustedEntityAssociations } from "./getTrustedFields-
|
|
17
|
-
import { i as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-
|
|
18
|
-
import { I as IndividualDropin } from "./IndividualDropin-
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-DNnpIr7b.js";
|
|
15
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-DAFLyYyP.js";
|
|
16
|
+
import { a as getTrustedFieldsProvider, c as getTrustedFields, b as getTrustedEntityAssociations } from "./getTrustedFields-Yhy_d5h0.js";
|
|
17
|
+
import { i as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-Dsw4DufE.js";
|
|
18
|
+
import { I as IndividualDropin } from "./IndividualDropin-CybsCeUw.js";
|
|
19
19
|
function DecisionMakerDetailsPage({
|
|
20
20
|
decisionMakerId: decisionMakerIdProp,
|
|
21
21
|
parentCompanyId: parentCompanyIdProp,
|
|
@@ -7,28 +7,28 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, k as httpGet, u as useTranslation, G as TaskVerificationStatus, N as Typography, C as Alert, x as useAnalyticsContext, V as Button, P as useLegalEntity, a as addResourceBundles, U as Loader, R as ROOT_LE, M as useGetTaskStatus, H as useToggleContext, E as EntityTypes, v as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, ay as getOwnDecisionMakers, bq as getAvailableDecisionMakerRoleTypes, w as TaskTypes, aY as getAllowedDecisionMakerRoles, bC as DropinLayout, O as StackLayout, aB as Header, aQ as Trans, as as DecisionMakerTypes, y as TaskStatuses, _ as __variableDynamicImportRuntimeHelper, L as LegalEntityTypes } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, k as httpGet, u as useTranslation, G as TaskVerificationStatus, N as Typography, C as Alert, x as useAnalyticsContext, V as Button, P as useLegalEntity, a as addResourceBundles, U as Loader, R as ROOT_LE, M as useGetTaskStatus, H as useToggleContext, E as EntityTypes, v as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, ay as getOwnDecisionMakers, bq as getAvailableDecisionMakerRoleTypes, w as TaskTypes, aY as getAllowedDecisionMakerRoles, bC as DropinLayout, O as StackLayout, aB as Header, aQ as Trans, as as DecisionMakerTypes, y as TaskStatuses, _ as __variableDynamicImportRuntimeHelper, L as LegalEntityTypes } from "./StoreProvider-DKCxUPee.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useScenarios } from "./useScenarios-
|
|
13
|
+
import { u as useScenarios } from "./useScenarios-DNnpIr7b.js";
|
|
14
14
|
import { useQueries } from "@tanstack/preact-query";
|
|
15
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-8Sn5DTcn.js";
|
|
16
16
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
17
|
-
import { L as ListItem } from "./ListItem-
|
|
18
|
-
import { M as Modal } from "./Modal-
|
|
19
|
-
import { u as useToastContext } from "./useToastContext-
|
|
20
|
-
import { e as useDataMissingRemediations } from "./OnboardingDropinComponent-
|
|
21
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
22
|
-
import { A as ActionBar } from "./ActionBar-
|
|
23
|
-
import { E as EntityAssociation } from "./EntityAssociation-
|
|
24
|
-
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-
|
|
25
|
-
import { G as GuidanceQuestionValues, i as individualFormDefaultData } from "./mapLegalEntityToIndividualSchema-
|
|
26
|
-
import { u as useCapabilityProblems } from "./getProblemsForEntity-
|
|
27
|
-
import { b as getTrustedEntityAssociations } from "./getTrustedFields-
|
|
28
|
-
import { a as getDecisionMakerDescription, D as DecisionMakerDetails } from "./DecisionMakerDetails-
|
|
17
|
+
import { L as ListItem } from "./ListItem-nK0xrija.js";
|
|
18
|
+
import { M as Modal } from "./Modal-EL9MXgbw.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-CN6SzXSt.js";
|
|
20
|
+
import { e as useDataMissingRemediations } from "./OnboardingDropinComponent-BRlY6KUs.js";
|
|
21
|
+
import { C as ContextGuidance } from "./ContextGuidance-B4qWRid4.js";
|
|
22
|
+
import { A as ActionBar } from "./ActionBar-DkXjAAQ1.js";
|
|
23
|
+
import { E as EntityAssociation } from "./EntityAssociation-eiVdh677.js";
|
|
24
|
+
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-Chbgo62U.js";
|
|
25
|
+
import { G as GuidanceQuestionValues, i as individualFormDefaultData } from "./mapLegalEntityToIndividualSchema-CS9_Bo3k.js";
|
|
26
|
+
import { u as useCapabilityProblems } from "./getProblemsForEntity-DAFLyYyP.js";
|
|
27
|
+
import { b as getTrustedEntityAssociations } from "./getTrustedFields-Yhy_d5h0.js";
|
|
28
|
+
import { a as getDecisionMakerDescription, D as DecisionMakerDetails } from "./DecisionMakerDetails-BAniwLCh.js";
|
|
29
29
|
import { lazy } from "preact/compat";
|
|
30
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
31
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
30
|
+
import { I as Image } from "./unincorporated-partnership-DYTYq9It.js";
|
|
31
|
+
import { L as LandingLayout } from "./LandingLayout-Dr28QxoC.js";
|
|
32
32
|
async function getInvitationStatus(rootLegalEntityId, baseUrl, decisionMakerId) {
|
|
33
33
|
const { active } = await httpGet({
|
|
34
34
|
baseUrl,
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { f as defaultFileValidationOptions, h as fileValidationRules, S as StateContextSetter, D as DropzoneFile, e as bytesToSize } from "./validate-
|
|
11
|
+
import { f as defaultFileValidationOptions, h as fileValidationRules, S as StateContextSetter, D as DropzoneFile, e as bytesToSize } from "./validate-Dy8GuvEF.js";
|
|
12
12
|
import cx from "classnames";
|
|
13
13
|
import { useRef, useState, useMemo, useEffect } from "preact/hooks";
|
|
14
|
-
import { u as useTranslation, x as useAnalyticsContext, V as Button, N as Typography, z as Icon } from "./StoreProvider-
|
|
15
|
-
import { u as useForm } from "./useForm-
|
|
14
|
+
import { u as useTranslation, x as useAnalyticsContext, V as Button, N as Typography, z as Icon } from "./StoreProvider-DKCxUPee.js";
|
|
15
|
+
import { u as useForm } from "./useForm-C1botkQ9.js";
|
|
16
16
|
function Dropzone(props) {
|
|
17
17
|
const {
|
|
18
18
|
name,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { A as Avatar } from "./Avatar-
|
|
13
|
-
import { y as TaskStatuses, u as useTranslation, aa as Skeleton, N as Typography } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-D-VHGhFL.js";
|
|
13
|
+
import { y as TaskStatuses, u as useTranslation, aa as Skeleton, N as Typography } from "./StoreProvider-DKCxUPee.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
15
|
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
16
16
|
const embeddedStatus = "adyen-kyc-embedded-status";
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { isValidElement, cloneElement } from "preact";
|
|
13
|
-
import { V as Button, U as Loader, z as Icon } from "./StoreProvider-
|
|
13
|
+
import { V as Button, U as Loader, z as Icon } from "./StoreProvider-DKCxUPee.js";
|
|
14
14
|
const endStateLayout = "adyen-kyc-end-state-layout";
|
|
15
15
|
const endStateLayoutHeader = "adyen-kyc-end-state-layout-header";
|
|
16
16
|
const endStateLayoutIcon = "adyen-kyc-end-state-layout-icon";
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useCallback, useEffect, useState } from "preact/hooks";
|
|
12
|
-
import { V as Button, u as useTranslation, G as TaskVerificationStatus, B as IconButton, y as TaskStatuses } from "./StoreProvider-
|
|
12
|
+
import { V as Button, u as useTranslation, G as TaskVerificationStatus, B as IconButton, y as TaskStatuses } from "./StoreProvider-DKCxUPee.js";
|
|
13
13
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
|
-
import { V as VerificationErrorAlert } from "./VerificationErrorAlert-
|
|
16
|
-
import { C as Confirm } from "./Confirm-
|
|
17
|
-
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-
|
|
15
|
+
import { V as VerificationErrorAlert } from "./VerificationErrorAlert-CwjcCtq7.js";
|
|
16
|
+
import { C as Confirm } from "./Confirm-gEhhWD8f.js";
|
|
17
|
+
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-C9fdKfQp.js";
|
|
18
18
|
function useClickAwayListener(ref, onClickAway) {
|
|
19
19
|
const handleClickAway = useCallback(
|
|
20
20
|
(event) => {
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
12
|
-
import { bD as getDecisionMakerDescriptionMap, w as TaskTypes, bE as TRUST_DEFAULT_DESCRIPTIONS_MAP, z as Icon, u as useTranslation, aQ as Trans } from "./StoreProvider-
|
|
13
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-
|
|
14
|
-
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-
|
|
12
|
+
import { bD as getDecisionMakerDescriptionMap, w as TaskTypes, bE as TRUST_DEFAULT_DESCRIPTIONS_MAP, z as Icon, u as useTranslation, aQ as Trans } from "./StoreProvider-DKCxUPee.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-DYTYq9It.js";
|
|
14
|
+
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-C9fdKfQp.js";
|
|
15
15
|
const UNINCORPORATED_PARTNERSHIP__DEFAULT_DESCRIPTIONS_MAP = {
|
|
16
16
|
[UnincorporatedPartnershipMemberTypes.SECONDARY_PARTNER]: "provideAtLeastOneSecondaryPartner",
|
|
17
17
|
[UnincorporatedPartnershipMemberTypes.OWNER]: "provideAllOwners",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useContext, useCallback } from "preact/hooks";
|
|
12
|
-
import { V as Button, u as useTranslation, C as Alert, b8 as remediationHasFileUploadField, aS as keysOf } from "./StoreProvider-
|
|
12
|
+
import { V as Button, u as useTranslation, C as Alert, b8 as remediationHasFileUploadField, aS as keysOf } from "./StoreProvider-DKCxUPee.js";
|
|
13
13
|
import { createContext } from "preact";
|
|
14
14
|
const errorPanel = "adyen-kyc-error-panel";
|
|
15
15
|
const styles = {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useTranslation, x as useAnalyticsContext, z as Icon, ab as translateTranslatable } from "./StoreProvider-
|
|
13
|
+
import { u as useTranslation, x as useAnalyticsContext, z as Icon, ab as translateTranslatable } from "./StoreProvider-DKCxUPee.js";
|
|
14
14
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
15
15
|
const ARIA_ERROR_SUFFIX = "-ariaError";
|
|
16
16
|
const MaybeFieldset = ({
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { u as useTranslation, z as Icon, x as useAnalyticsContext, N as Typography } from "./StoreProvider-
|
|
12
|
+
import { u as useTranslation, z as Icon, x as useAnalyticsContext, N as Typography } from "./StoreProvider-DKCxUPee.js";
|
|
13
13
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
14
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-EL9MXgbw.js";
|
|
15
15
|
const FormNavigationItem = ({
|
|
16
16
|
form,
|
|
17
17
|
isActive,
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a9 as CountryCodes, as as DecisionMakerTypes, w as TaskTypes, a8 as getLegalEntityCountry, bq as getAvailableDecisionMakerRoleTypes, at as Scenarios, br as allowedCountriesForNominee, bs as isLowRiskCountry } from "./StoreProvider-
|
|
11
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
10
|
+
import { a9 as CountryCodes, as as DecisionMakerTypes, w as TaskTypes, a8 as getLegalEntityCountry, bq as getAvailableDecisionMakerRoleTypes, at as Scenarios, br as allowedCountriesForNominee, bs as isLowRiskCountry } from "./StoreProvider-DKCxUPee.js";
|
|
11
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-CKmUVF30.js";
|
|
12
12
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
13
|
-
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-
|
|
14
|
-
import { i as isBafinSignatoryFlow } from "./bafinUtils-
|
|
15
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
13
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-DC6ssQNc.js";
|
|
14
|
+
import { i as isBafinSignatoryFlow } from "./bafinUtils-Dsw4DufE.js";
|
|
15
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-TMcBiPzX.js";
|
|
16
16
|
const REQUIRED = "REQUIRED";
|
|
17
17
|
const OPTIONAL = "OPTIONAL";
|
|
18
18
|
const ID_NUMBER_EXEMPT_COUNTRIES = [
|
|
@@ -11,64 +11,64 @@ import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
|
11
11
|
import { Show } from "@preact/signals/utils";
|
|
12
12
|
import { useMutation, useQuery, skipToken, useQueryClient } from "@tanstack/preact-query";
|
|
13
13
|
import { useState, useRef, useCallback, useEffect, useMemo } from "preact/hooks";
|
|
14
|
-
import { u as useScenarios } from "./useScenarios-
|
|
15
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
16
|
-
import { b as useApiContext, j as httpPost, a9 as CountryCodes, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aF as hasRepeatedCharacters, aG as isInvalidName, aH as INDIVIDUAL_VALID_CHAR_REGEX, ax as isEmpty, w as TaskTypes, L as LegalEntityTypes, aI as getAgeToday, aJ as euCountries, aK as hasText, aL as standardKatakanaValidator, aM as standardKanjiValidator, k as httpGet, u as useTranslation, V as Button, C as Alert, U as Loader, as as DecisionMakerTypes, at as Scenarios, N as Typography, ab as translateTranslatable, ap as useDataset, aq as datasetIdentifier, aN as useAllowedCountries, m as useSettingsContext, H as useToggleContext, aB as Header, aO as getAgeRangeForLegalRepresentative, aP as isLegalRepresentativeNeeded, aQ as Trans, aR as valuesOf, aS as keysOf, ah as objectsDeepEqual, aT as listToRecord, aU as pick, ae as createLogger, B as IconButton, x as useAnalyticsContext, am as datasetUtilities, aV as useCapabilities, aW as individualApiKeyMapping, aX as drop, t as useAccountHolder, a8 as getLegalEntityCountry, aY as getAllowedDecisionMakerRoles, aZ as filterOutUnwantedAssociationsIfRootLE, an as cloneObject, a_ as individualDocumentMapping, a$ as individualObscuredFields, ac as getOwnEntityAssociations, b0 as hasNomineesChanged, b1 as attachNomineeToRole, b2 as doArraysMatch } from "./StoreProvider-
|
|
17
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
18
|
-
import { a as addressValidators, A as Address, u as useProviderStatus } from "./Address-
|
|
19
|
-
import { c as contactDetailsValidationRules, a as contactDetailFields, C as ContactDetails, d as defaultFieldMetadata$1, f as fieldConfig, P as PhoneField, g as getPhonePlaceholder, u as useValidatePhoneNumberImperatively, b as getAsyncPhoneValidationRules } from "./ContactDetails-
|
|
20
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
21
|
-
import { u as useToastContext } from "./useToastContext-
|
|
22
|
-
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-
|
|
23
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
24
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
25
|
-
import { u as uppercase, A as AdyenKycSdkError, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-DNnpIr7b.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-BqiM6Z4D.js";
|
|
16
|
+
import { b as useApiContext, j as httpPost, a9 as CountryCodes, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aF as hasRepeatedCharacters, aG as isInvalidName, aH as INDIVIDUAL_VALID_CHAR_REGEX, ax as isEmpty, w as TaskTypes, L as LegalEntityTypes, aI as getAgeToday, aJ as euCountries, aK as hasText, aL as standardKatakanaValidator, aM as standardKanjiValidator, k as httpGet, u as useTranslation, V as Button, C as Alert, U as Loader, as as DecisionMakerTypes, at as Scenarios, N as Typography, ab as translateTranslatable, ap as useDataset, aq as datasetIdentifier, aN as useAllowedCountries, m as useSettingsContext, H as useToggleContext, aB as Header, aO as getAgeRangeForLegalRepresentative, aP as isLegalRepresentativeNeeded, aQ as Trans, aR as valuesOf, aS as keysOf, ah as objectsDeepEqual, aT as listToRecord, aU as pick, ae as createLogger, B as IconButton, x as useAnalyticsContext, am as datasetUtilities, aV as useCapabilities, aW as individualApiKeyMapping, aX as drop, t as useAccountHolder, a8 as getLegalEntityCountry, aY as getAllowedDecisionMakerRoles, aZ as filterOutUnwantedAssociationsIfRootLE, an as cloneObject, a_ as individualDocumentMapping, a$ as individualObscuredFields, ac as getOwnEntityAssociations, b0 as hasNomineesChanged, b1 as attachNomineeToRole, b2 as doArraysMatch } from "./StoreProvider-DKCxUPee.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-8Sn5DTcn.js";
|
|
18
|
+
import { a as addressValidators, A as Address, u as useProviderStatus } from "./Address-Csavi1J2.js";
|
|
19
|
+
import { c as contactDetailsValidationRules, a as contactDetailFields, C as ContactDetails, d as defaultFieldMetadata$1, f as fieldConfig, P as PhoneField, g as getPhonePlaceholder, u as useValidatePhoneNumberImperatively, b as getAsyncPhoneValidationRules } from "./ContactDetails-CGBkZMAt.js";
|
|
20
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DLkJgmS9.js";
|
|
21
|
+
import { u as useToastContext } from "./useToastContext-CN6SzXSt.js";
|
|
22
|
+
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-BxJae0v4.js";
|
|
23
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-14DNwEiI.js";
|
|
24
|
+
import { u as useMultiForm } from "./useMultiForm-ZSjb-MNl.js";
|
|
25
|
+
import { u as uppercase, A as AdyenKycSdkError, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-BMJL0nyv.js";
|
|
26
26
|
import { J as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-DEOyz9Yo.js";
|
|
27
27
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
28
|
-
import { b as addressFields, a as getAddressSchemaLabelsByCountry, C as COUNTRIES_WITH_STATES_DATASET, m as mapAddressLabels } from "./utils-
|
|
29
|
-
import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-
|
|
30
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
31
|
-
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-
|
|
32
|
-
import { t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, D as DocumentGuidance, M as MemoizedDocumentUpload, b as taxIdNumberOptions, g as getFieldsWithExistingData } from "./TaxInformationField-
|
|
33
|
-
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-
|
|
34
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
35
|
-
import { o as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-
|
|
36
|
-
import { m as makeMask, n as numericInputs, a as nonInputs, b as alphaInputs, c as customInputs, s as spacer, d as alphanumericInputs, M as MaskedInput, I as InputEmail } from "./MaskedInput-
|
|
37
|
-
import { v as validatePatternOnBlur } from "./patternValidators-
|
|
28
|
+
import { b as addressFields, a as getAddressSchemaLabelsByCountry, C as COUNTRIES_WITH_STATES_DATASET, m as mapAddressLabels } from "./utils-CKmUVF30.js";
|
|
29
|
+
import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-CS9_Bo3k.js";
|
|
30
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-Cl6ZvFO8.js";
|
|
31
|
+
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-Dy8GuvEF.js";
|
|
32
|
+
import { t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, D as DocumentGuidance, M as MemoizedDocumentUpload, b as taxIdNumberOptions, g as getFieldsWithExistingData } from "./TaxInformationField-DkZhHedg.js";
|
|
33
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-DC6ssQNc.js";
|
|
34
|
+
import { l as localizeDateString } from "./localizeDateString-6qoF3x9R.js";
|
|
35
|
+
import { o as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-Bbes2BVX.js";
|
|
36
|
+
import { m as makeMask, n as numericInputs, a as nonInputs, b as alphaInputs, c as customInputs, s as spacer, d as alphanumericInputs, M as MaskedInput, I as InputEmail } from "./MaskedInput-Ckb7nz68.js";
|
|
37
|
+
import { v as validatePatternOnBlur } from "./patternValidators-B7j6YIOy.js";
|
|
38
38
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
39
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
39
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-TMcBiPzX.js";
|
|
40
40
|
import { lazy, Suspense, memo } from "preact/compat";
|
|
41
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
42
|
-
import { M as Modal } from "./Modal-
|
|
43
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
44
|
-
import { C as Confirm } from "./Confirm-
|
|
45
|
-
import { a as getIndividualLegalEntityName } from "./getName-
|
|
46
|
-
import { b as idNowModalChildEntityId, a as idNowPostSubmit, s as showIdNowModal, c as shouldShowIdNowModal } from "./bafinUtils-
|
|
41
|
+
import { I as Image } from "./unincorporated-partnership-DYTYq9It.js";
|
|
42
|
+
import { M as Modal } from "./Modal-EL9MXgbw.js";
|
|
43
|
+
import { L as LandingLayout } from "./LandingLayout-Dr28QxoC.js";
|
|
44
|
+
import { C as Confirm } from "./Confirm-gEhhWD8f.js";
|
|
45
|
+
import { a as getIndividualLegalEntityName } from "./getName-Z2gJognf.js";
|
|
46
|
+
import { b as idNowModalChildEntityId, a as idNowPostSubmit, s as showIdNowModal, c as shouldShowIdNowModal } from "./bafinUtils-Dsw4DufE.js";
|
|
47
47
|
import { signal } from "@preact/signals";
|
|
48
|
-
import { E as ErrorPanel, u as useFormRouterContext } from "./ErrorPanel-
|
|
48
|
+
import { E as ErrorPanel, u as useFormRouterContext } from "./ErrorPanel-B8fHWJ7W.js";
|
|
49
49
|
import { g as getFieldProps, a as getFormProps } from "./getProps-Cc3J2-z9.js";
|
|
50
|
-
import { F as Field } from "./Field-
|
|
51
|
-
import { L as Link } from "./Link-
|
|
50
|
+
import { F as Field } from "./Field-BguffV12.js";
|
|
51
|
+
import { L as Link } from "./Link-C1szPOri.js";
|
|
52
52
|
import { S as SettingNames } from "./types-Dv0COrvY.js";
|
|
53
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
54
|
-
import { I as InputText } from "./InputText-
|
|
55
|
-
import { C as CountryField } from "./CountryField-
|
|
56
|
-
import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-
|
|
57
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
58
|
-
import { C as Checkbox } from "./Checkbox-
|
|
59
|
-
import { S as Select } from "./Select-
|
|
60
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
61
|
-
import { C as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES, i as individualRules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./Individual.rules-
|
|
62
|
-
import { i as isTruthyValidator } from "./commonValidators-
|
|
53
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-BjWLJfR1.js";
|
|
54
|
+
import { I as InputText } from "./InputText-C6-NIYzH.js";
|
|
55
|
+
import { C as CountryField } from "./CountryField-pznzB7Uq.js";
|
|
56
|
+
import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-BTCmUbA0.js";
|
|
57
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-DkgXgXMP.js";
|
|
58
|
+
import { C as Checkbox } from "./Checkbox-BKM1WPHa.js";
|
|
59
|
+
import { S as Select } from "./Select-BgkHFapB.js";
|
|
60
|
+
import { C as ContextGuidance } from "./ContextGuidance-B4qWRid4.js";
|
|
61
|
+
import { C as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES, i as individualRules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./Individual.rules-2HzSnI41.js";
|
|
62
|
+
import { i as isTruthyValidator } from "./commonValidators-dPJjXT_8.js";
|
|
63
63
|
import { T as TrustedFieldsProviders } from "./trusted-fields-provider-BgfIoSNJ.js";
|
|
64
|
-
import { n as nameFields, N as Name } from "./Name-
|
|
65
|
-
import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
66
|
-
import { D as Dropzone } from "./Dropzone-
|
|
67
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
64
|
+
import { n as nameFields, N as Name } from "./Name-BSak9KXo.js";
|
|
65
|
+
import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-B-YIRvOK.js";
|
|
66
|
+
import { D as Dropzone } from "./Dropzone-DCTHmJn2.js";
|
|
67
|
+
import { i as isEmpty$1 } from "./isEmpty-boSQX897.js";
|
|
68
68
|
import { Onfido } from "onfido-sdk-ui";
|
|
69
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
69
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-BEzoHtmn.js";
|
|
70
70
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
71
|
-
import { T as TextArea } from "./TextArea-
|
|
71
|
+
import { T as TextArea } from "./TextArea-u_xiMf1c.js";
|
|
72
72
|
import { e as emailPattern } from "./basePatterns-BwdnMQxI.js";
|
|
73
73
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
74
74
|
import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
@@ -1861,7 +1861,7 @@ const additionalIdentityInfoFields = [
|
|
|
1861
1861
|
"expiryDate"
|
|
1862
1862
|
];
|
|
1863
1863
|
const LazyJpAddress = lazy(
|
|
1864
|
-
async () => (await import("./JpAddress-
|
|
1864
|
+
async () => (await import("./JpAddress-C8wbZfE0.js")).JpAddress
|
|
1865
1865
|
);
|
|
1866
1866
|
const additionalPersonalDetailsFields = [
|
|
1867
1867
|
"birthDate",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { a as InputBase } from "./InputText-
|
|
12
|
+
import { a as InputBase } from "./InputText-C6-NIYzH.js";
|
|
13
13
|
const checkDateInputSupport = () => {
|
|
14
14
|
const input = document.createElement("input");
|
|
15
15
|
input.setAttribute("type", "date");
|
|
@@ -11,7 +11,7 @@ import { jsx } from "preact/jsx-runtime";
|
|
|
11
11
|
import { forwardRef } from "preact/compat";
|
|
12
12
|
import { useRef, useState, useCallback, useLayoutEffect } from "preact/hooks";
|
|
13
13
|
import cx from "classnames";
|
|
14
|
-
import { x as useAnalyticsContext } from "./StoreProvider-
|
|
14
|
+
import { x as useAnalyticsContext } from "./StoreProvider-DKCxUPee.js";
|
|
15
15
|
import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
16
16
|
const InputBase = forwardRef((props, ref) => {
|
|
17
17
|
const userEvents = useAnalyticsContext();
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { w as TaskTypes, L as LegalEntityTypes, u as useTranslation, P as useLegalEntity, a as addResourceBundles, U as Loader, R as ROOT_LE, x as useAnalyticsContext, V as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { w as TaskTypes, L as LegalEntityTypes, u as useTranslation, P as useLegalEntity, a as addResourceBundles, U as Loader, R as ROOT_LE, x as useAnalyticsContext, V as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DKCxUPee.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
13
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-ZWEENbMM.js";
|
|
14
14
|
import { useMemo } from "preact/compat";
|
|
15
|
-
import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-
|
|
15
|
+
import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-BRlY6KUs.js";
|
|
16
16
|
const IntroductionScreens = {
|
|
17
17
|
PROLOGUE: "PROLOGUE",
|
|
18
18
|
INDIVIDUAL: TaskTypes.INDIVIDUAL,
|
package/dist/{InvitedDecisionMakerComponent-Czf-jAbN.js → InvitedDecisionMakerComponent-XyPQK6mU.js}
RENAMED
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, k as httpGet, u as useTranslation, V as Button, Y as TASK_STATUS_POLLING_INTERVAL_MS, y as TaskStatuses, U as Loader, G as TaskVerificationStatus, ai as noop, w as TaskTypes, a as addResourceBundles, P as useLegalEntity, a8 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, k as httpGet, u as useTranslation, V as Button, Y as TASK_STATUS_POLLING_INTERVAL_MS, y as TaskStatuses, U as Loader, G as TaskVerificationStatus, ai as noop, w as TaskTypes, a as addResourceBundles, P as useLegalEntity, a8 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DKCxUPee.js";
|
|
11
11
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
13
|
import { useQuery } from "@tanstack/preact-query";
|
|
14
|
-
import { a as getIndividualLegalEntityName } from "./getName-
|
|
14
|
+
import { a as getIndividualLegalEntityName } from "./getName-Z2gJognf.js";
|
|
15
15
|
import { lazy } from "preact/compat";
|
|
16
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
17
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
16
|
+
import { I as Image } from "./unincorporated-partnership-DYTYq9It.js";
|
|
17
|
+
import { L as LandingLayout } from "./LandingLayout-Dr28QxoC.js";
|
|
18
18
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
19
|
-
import { L as ListItem } from "./ListItem-
|
|
20
|
-
import { g as getLandingLayoutProps, a as getDecisionMakerDescription, D as DecisionMakerDetails } from "./DecisionMakerDetails-
|
|
21
|
-
import { u as useTaskStatus } from "./getTrustedFields-
|
|
22
|
-
import { I as IndividualDropin } from "./IndividualDropin-
|
|
19
|
+
import { L as ListItem } from "./ListItem-nK0xrija.js";
|
|
20
|
+
import { g as getLandingLayoutProps, a as getDecisionMakerDescription, D as DecisionMakerDetails } from "./DecisionMakerDetails-BAniwLCh.js";
|
|
21
|
+
import { u as useTaskStatus } from "./getTrustedFields-Yhy_d5h0.js";
|
|
22
|
+
import { I as IndividualDropin } from "./IndividualDropin-CybsCeUw.js";
|
|
23
23
|
const getInvitedEntityAssociationData = async (invitedLegalEntityId, baseUrl) => {
|
|
24
24
|
return httpGet({
|
|
25
25
|
baseUrl,
|
|
@@ -141,7 +141,7 @@ function InvitedDecisionMakerComponent({
|
|
|
141
141
|
}
|
|
142
142
|
const { i18n } = useTranslation();
|
|
143
143
|
addResourceBundles(i18n, [
|
|
144
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
144
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-DKCxUPee.js").then((n) => n.bR), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
145
145
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-B-qSAb-7.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
146
146
|
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Individual/language/bg-BG.json": () => import("./bg-BG-DKld3x63.js"), "../../Individual/language/cs-CZ.json": () => import("./cs-CZ-BBLagJI6.js"), "../../Individual/language/da-DK.json": () => import("./da-DK-D9FgPh5e.js"), "../../Individual/language/de-DE.json": () => import("./de-DE-Cg_RNIr-.js"), "../../Individual/language/el-GR.json": () => import("./el-GR-ZRGBgvMu.js"), "../../Individual/language/en-US.json": () => import("./en-US-CJDkXFZ6.js"), "../../Individual/language/es-ES.json": () => import("./es-ES-BZiC4JWr.js"), "../../Individual/language/et-EE.json": () => import("./et-EE-D_NmrrzQ.js"), "../../Individual/language/fi-FI.json": () => import("./fi-FI-CEH4BfU3.js"), "../../Individual/language/fr-FR.json": () => import("./fr-FR-NxOktkWc.js"), "../../Individual/language/hr-HR.json": () => import("./hr-HR-D_MUIhtx.js"), "../../Individual/language/hu-HU.json": () => import("./hu-HU-LxStrFGU.js"), "../../Individual/language/it-IT.json": () => import("./it-IT-OppZz3gW.js"), "../../Individual/language/ja-JP.json": () => import("./ja-JP-CethQRoG.js"), "../../Individual/language/lt-LT.json": () => import("./lt-LT-CBTFJxth.js"), "../../Individual/language/lv-LV.json": () => import("./lv-LV-DTaBIHLh.js"), "../../Individual/language/nl-NL.json": () => import("./nl-NL-CYFznuWn.js"), "../../Individual/language/no-NO.json": () => import("./no-NO-BsEie1We.js"), "../../Individual/language/pl-PL.json": () => import("./pl-PL-BH_LPZJa.js"), "../../Individual/language/pt-BR.json": () => import("./pt-BR-C-YbDjn-.js"), "../../Individual/language/pt-PT.json": () => import("./pt-PT-BTbVsews.js"), "../../Individual/language/ro-RO.json": () => import("./ro-RO-C5PJhlmM.js"), "../../Individual/language/sk-SK.json": () => import("./sk-SK-DO-AqRjE.js"), "../../Individual/language/sl-SI.json": () => import("./sl-SI-CJH14wbj.js"), "../../Individual/language/sv-SE.json": () => import("./sv-SE-ZsucW_Uj.js") }), `../../Individual/language/${lang}.json`, 5) }
|
|
147
147
|
]);
|
|
@@ -10,18 +10,18 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
12
|
import { useQuery } from "@tanstack/preact-query";
|
|
13
|
-
import { b as useApiContext, k as httpGet, ai as noop, u as useTranslation, H as useToggleContext, x as useAnalyticsContext, a9 as CountryCodes, N as Typography, O as StackLayout, ae as createLogger } from "./StoreProvider-
|
|
14
|
-
import { F as Field } from "./Field-
|
|
13
|
+
import { b as useApiContext, k as httpGet, ai as noop, u as useTranslation, H as useToggleContext, x as useAnalyticsContext, a9 as CountryCodes, N as Typography, O as StackLayout, ae as createLogger } from "./StoreProvider-DKCxUPee.js";
|
|
14
|
+
import { F as Field } from "./Field-BguffV12.js";
|
|
15
15
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
16
16
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
17
|
-
import { u as useForm } from "./useForm-
|
|
18
|
-
import { I as InputText } from "./InputText-
|
|
19
|
-
import { M as MaskedInput, m as makeMask, n as numericInputs, a as nonInputs } from "./MaskedInput-
|
|
17
|
+
import { u as useForm } from "./useForm-C1botkQ9.js";
|
|
18
|
+
import { I as InputText } from "./InputText-C6-NIYzH.js";
|
|
19
|
+
import { M as MaskedInput, m as makeMask, n as numericInputs, a as nonInputs } from "./MaskedInput-Ckb7nz68.js";
|
|
20
20
|
import { J as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-DEOyz9Yo.js";
|
|
21
|
-
import { h as addressValidationRulesV4, j as addressValidationRules } from "./Address-
|
|
21
|
+
import { h as addressValidationRulesV4, j as addressValidationRules } from "./Address-Csavi1J2.js";
|
|
22
22
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
23
|
-
import { c as convertFullToHalf } from "./TextArea-
|
|
24
|
-
import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
23
|
+
import { c as convertFullToHalf } from "./TextArea-u_xiMf1c.js";
|
|
24
|
+
import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-B-YIRvOK.js";
|
|
25
25
|
const retrieveFromPostcodeJp = async (legalEntityId, baseUrl, postalCode) => httpGet({
|
|
26
26
|
baseUrl,
|
|
27
27
|
path: `legalEntities/${legalEntityId}/addresses/jp/${postalCode}`
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { O as StackLayout, N as Typography } from "./StoreProvider-
|
|
11
|
+
import { O as StackLayout, N as Typography } from "./StoreProvider-DKCxUPee.js";
|
|
12
12
|
const landingLayoutImage = "adyen-kyc-landing-layout-image";
|
|
13
13
|
const landingLayoutActions = "adyen-kyc-landing-layout-actions";
|
|
14
14
|
const landingLayoutErrors = "adyen-kyc-landing-layout-errors";
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a9 as CountryCodes } from "./StoreProvider-
|
|
11
|
-
import { d as validateLegalCompanyName, a as validateNotEmptyOnBlur, e as validateLatinSpaceMarkPunctuationNumbersOnlyOnBlur } from "./patternValidators-
|
|
10
|
+
import { a9 as CountryCodes } from "./StoreProvider-DKCxUPee.js";
|
|
11
|
+
import { d as validateLegalCompanyName, a as validateNotEmptyOnBlur, e as validateLatinSpaceMarkPunctuationNumbersOnlyOnBlur } from "./patternValidators-B7j6YIOy.js";
|
|
12
12
|
import { jsx } from "preact/jsx-runtime";
|
|
13
|
-
import { F as Field } from "./Field-
|
|
14
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
15
|
-
import { I as InputText } from "./InputText-
|
|
13
|
+
import { F as Field } from "./Field-BguffV12.js";
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-EL9MXgbw.js";
|
|
15
|
+
import { I as InputText } from "./InputText-C6-NIYzH.js";
|
|
16
16
|
const defaultFieldMetadata = {
|
|
17
17
|
label: "legalCompanyName",
|
|
18
18
|
validators: validateNotEmptyOnBlur
|