@adyen/kyc-components 4.6.0 → 4.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-D61bfNW0.js → AcceptTermsOfServiceComponent-B3l9btP-.js} +14 -14
- package/dist/{AccountSetupRejected-zD_ccBqS.js → AccountSetupRejected-DbdJB-OJ.js} +1 -1
- package/dist/{ActionBar-DkXjAAQ1.js → ActionBar-BUo_zptQ.js} +1 -1
- package/dist/{Address-Csavi1J2.js → Address-B1q0i8VT.js} +9 -9
- package/dist/{Avatar-D-VHGhFL.js → Avatar-V--81dug.js} +1 -1
- package/dist/{BusinessFinancingComponent-DG0EWNk6.js → BusinessFinancingComponent-yACwTlmi.js} +4 -4
- package/dist/{BusinessFinancingDropin-5UqhwnOX.js → BusinessFinancingDropin-DwMpqWbh.js} +27 -27
- package/dist/{BusinessFinancingPage-CMoJlPym.js → BusinessFinancingPage-Bgh0dGq3.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-D4SBQDqJ.js → BusinessTypeSelectionPage-RRp8YkIk.js} +8 -8
- package/dist/{Checkbox-BKM1WPHa.js → Checkbox-CBsyuXip.js} +1 -1
- package/dist/{Confirm-gEhhWD8f.js → Confirm-BLjnKmbU.js} +2 -2
- package/dist/{ConstitutionalDocument-CCw9a-FU.js → ConstitutionalDocument-aYMC7Qld.js} +17 -17
- package/dist/{ContactDetails-CGBkZMAt.js → ContactDetails-BBTAGuyq.js} +5 -5
- package/dist/{ContextGuidance-B4qWRid4.js → ContextGuidance-BJIBM5W-.js} +1 -1
- package/dist/{CountryField-pznzB7Uq.js → CountryField-o99j4P7E.js} +3 -3
- package/dist/{CreateIndividualComponent-yT3Rqlai.js → CreateIndividualComponent-CmhrM9Gy.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-BbWiq2fM.js → CreateTransferInstrumentComponent-CHaq9Cug.js} +3 -3
- package/dist/{Currency-DJCryqqJ.js → Currency-hrruvtK7.js} +6 -6
- package/dist/{CustomerSupport-CJy8LS0W.js → CustomerSupport-D9V9znlz.js} +9 -9
- package/dist/{DebugModal-BMXSCZDm.js → DebugModal-C3ODQ7HG.js} +6 -6
- package/dist/{DecisionMakerDetails-BAniwLCh.js → DecisionMakerDetails-BUm0ukYp.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-CloS-QIg.js → DecisionMakerDetailsPage-DiYr15fi.js} +6 -6
- package/dist/{DecisionMakers-DrnBmtOE.js → DecisionMakers-BCk4n5BI.js} +17 -17
- package/dist/{Dropzone-DCTHmJn2.js → Dropzone-Dled5Xv_.js} +3 -3
- package/dist/{EmbeddedStatus-sF6FG18F.js → EmbeddedStatus-a9eBGaNp.js} +2 -2
- package/dist/{EndStateLayout-D23FWrbD.js → EndStateLayout-Doxwm8Bv.js} +1 -1
- package/dist/{EntityAssociation-eiVdh677.js → EntityAssociation-BdpQ9IKO.js} +4 -4
- package/dist/{EntityGuidanceStatus-Chbgo62U.js → EntityGuidanceStatus-CqfeJN28.js} +3 -3
- package/dist/{ErrorPanel-B8fHWJ7W.js → ErrorPanel-B_t2Mr0a.js} +1 -1
- package/dist/{Field-BguffV12.js → Field-DhGlekN4.js} +1 -1
- package/dist/{FormNavigation-D5KYMYO0.js → FormNavigation-zwvQFKf1.js} +2 -2
- package/dist/{Individual.rules-2HzSnI41.js → Individual.rules-DnqpK01d.js} +5 -5
- package/dist/{IndividualDropin-CybsCeUw.js → IndividualDropin-CaQg4nGw.js} +49 -49
- package/dist/{InputDate-BjWLJfR1.js → InputDate-MfbWpC8K.js} +1 -1
- package/dist/{InputText-C6-NIYzH.js → InputText-BsC-S1uD.js} +1 -1
- package/dist/{Introduction-UMqxmd6N.js → Introduction-XVVXz1r8.js} +3 -3
- package/dist/{InvitedDecisionMakerComponent-XyPQK6mU.js → InvitedDecisionMakerComponent-CHrA8mQR.js} +9 -9
- package/dist/{JpAddress-C8wbZfE0.js → JpAddress-BDGwDEOX.js} +8 -8
- package/dist/{LandingLayout-Dr28QxoC.js → LandingLayout-DJR_oP_0.js} +1 -1
- package/dist/{LegalCompanyNameField-DHyMLbZc.js → LegalCompanyNameField-CzsW7440.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-CusLAG25.js → LegalRepresentativeDetailsPage-umA-1VaQ.js} +3 -3
- package/dist/{Link-C1szPOri.js → Link-CuEU7lsc.js} +1 -1
- package/dist/{ListItem-nK0xrija.js → ListItem-De_7UUwH.js} +2 -2
- package/dist/{LoaderWrapper-BEzoHtmn.js → LoaderWrapper-BUn-b8AB.js} +1 -1
- package/dist/{ManageIndividualComponent-DJE85k3F.js → ManageIndividualComponent-BK6fjFPh.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-HijCyHGy.js → ManageTermsOfServiceComponent-ChalvP2J.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-C1f0GAQr.js → ManageTransferInstrumentComponent-C4oiwftt.js} +9 -9
- package/dist/{MaskedInput-Ckb7nz68.js → MaskedInput-BWp2Akul.js} +4 -4
- package/dist/{MaybeModal-DolShkyo.js → MaybeModal-C7EW70Xg.js} +2 -2
- package/dist/{Modal-EL9MXgbw.js → Modal-D_LDmrcf.js} +1 -1
- package/dist/{Name-BSak9KXo.js → Name-D8B6J9x4.js} +4 -4
- package/dist/{NewSummary-Buy5WzoM.js → NewSummary-BjYCAFDe.js} +1 -1
- package/dist/{OnboardingDropinComponent-BRlY6KUs.js → OnboardingDropinComponent-CFcJQhCb.js} +72 -72
- package/dist/{PayoutDetailsDropin-nXxBue_s.js → PayoutDetailsDropin-Beeag1MS.js} +32 -32
- package/dist/{PayoutDetailsPage-DHEVWO5C.js → PayoutDetailsPage-Q6XPaC0y.js} +4 -4
- package/dist/{RadioGroup-BTCmUbA0.js → RadioGroup-DvrpVP2i.js} +1 -1
- package/dist/{Review-CYOIXbFm.js → Review-D8hiQo3n.js} +5 -5
- package/dist/{RootBusinessDetailsPage-BZ1QnczY.js → RootBusinessDetailsPage-OjbFMdJ2.js} +4 -4
- package/dist/{RootBusinessLinesPage-CcUJQEkg.js → RootBusinessLinesPage-CIECoCW3.js} +24 -24
- package/dist/{RootIndividualDetailsPage-C2GvNs12.js → RootIndividualDetailsPage-kvCZ8gLE.js} +5 -5
- package/dist/{Select-BgkHFapB.js → Select-t-h8dau1.js} +3 -3
- package/dist/{SignPCIComponent-CpAtbAKc.js → SignPCIComponent-BTd1hGFj.js} +10 -10
- package/dist/{SingpassSelection-DxXIwmVH.js → SingpassSelection-BUVrRdZ4.js} +4 -4
- package/dist/{SoleProprietorshipPage-C8ENenc3.js → SoleProprietorshipPage-BoUgRvvr.js} +3 -3
- package/dist/{SourceOfFundsPage-D3dzjyGw.js → SourceOfFundsPage-DNth1tGN.js} +31 -31
- package/dist/{StepProgressIndicator-ZWEENbMM.js → StepProgressIndicator-CHQ02q0R.js} +1 -1
- package/dist/{StoreProvider-DKCxUPee.js → StoreProvider-Do1odp3Z.js} +4 -4
- package/dist/{Summary-BMM1xjqy.js → Summary-s4DquGfj.js} +5 -5
- package/dist/{TaxInformationField-DkZhHedg.js → TaxInformationField-DS9fsrYp.js} +19 -19
- package/dist/{TaxReportingDropin-gAAULI4S.js → TaxReportingDropin-CsCwca9A.js} +13 -13
- package/dist/{TextArea-u_xiMf1c.js → TextArea-DI9q4r1R.js} +1 -1
- package/dist/{TileGroup-r_3ClexW.js → TileGroup-CAyozQI4.js} +2 -2
- package/dist/{TrustDetailsPage-B-5f_JZn.js → TrustDetailsPage-Dp7MPmlU.js} +30 -30
- package/dist/{TrustMemberCompanyPage-CyjbjBSw.js → TrustMemberCompanyPage-D-6ls2Oq.js} +4 -4
- package/dist/{TrustMemberIndividualPage-Cfrri13a.js → TrustMemberIndividualPage-MrBsjChK.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-D4DQm-6B.js → TrustMemberRoleAndTypePage-D901ZC2E.js} +20 -20
- package/dist/{TrustMembersOverview-DdCvtsr1.js → TrustMembersOverview-D-39F-pm.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-BF6xWHcg.js → UnincorporatedPartnershipIndividualPage-CYyfQrYN.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DX_M1Ynr.js → UnincorporatedPartnershipMemberCompanyPage-DO5iP4Dt.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-7gGtWzqV.js → UnincorporatedPartnershipMemberRoleAndTypePage-CBQerXfu.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-qYm3eukg.js → UnincorporatedPartnershipMembersOverview-e_5NAEac.js} +6 -6
- package/dist/{VerificationErrorAlert-CwjcCtq7.js → VerificationErrorAlert-Bnnuucqh.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-Z8OcoBMo.js → ViewVerificationStatusComponent-CVVTKfrQ.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-Dsw4DufE.js → bafinUtils-DNleI80l.js} +1 -1
- package/dist/{commonValidators-dPJjXT_8.js → commonValidators-B93jw3zT.js} +1 -1
- package/dist/{dropinUtils-14DNwEiI.js → dropinUtils-iBTioaF7.js} +3 -3
- package/dist/{formUtils-DkgXgXMP.js → formUtils-lkF9e5IB.js} +2 -2
- package/dist/{getName-Z2gJognf.js → getName-f5vInm5O.js} +1 -1
- package/dist/{getProblemsForEntity-DAFLyYyP.js → getProblemsForEntity-D8b_EJeC.js} +1 -1
- package/dist/{getTrustedFields-Yhy_d5h0.js → getTrustedFields-D2WVcNYC.js} +1 -1
- package/dist/{isEmpty-boSQX897.js → isEmpty-u6uLWpz1.js} +1 -1
- package/dist/{japanSupportUtils-DC6ssQNc.js → japanSupportUtils-By6GI65W.js} +1 -1
- package/dist/{localizeDateString-6qoF3x9R.js → localizeDateString-CYVOqiuH.js} +1 -1
- package/dist/{mapExistingFile-BMJL0nyv.js → mapExistingFile-9oZpCz9G.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-B-YIRvOK.js → mapJpAddressSchemaToAddressLocalizations-DhgNqKwy.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-CS9_Bo3k.js → mapLegalEntityToIndividualSchema-BY73qAGj.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-DnaL9hYo.js → mapTransferInstrumentToPayoutAccount-BYhssQ5b.js} +1 -1
- package/dist/{omitObscuredFieldsIfUnchanged-Bbes2BVX.js → omitObscuredFieldsIfUnchanged-BukQYYUl.js} +2 -2
- package/dist/{patternValidators-B7j6YIOy.js → patternValidators-BAI5QGjT.js} +1 -1
- package/dist/{process-field-configurations-BxJae0v4.js → process-field-configurations-BsVn1sDe.js} +1 -1
- package/dist/{resolveEnvironment-_hyPvH0e.js → resolveEnvironment-qgplleRV.js} +3 -3
- package/dist/{roleMetadata-C9fdKfQp.js → roleMetadata-BqDkoUz9.js} +2 -2
- package/dist/{types-DO_d6cVD.js → types-CfnPVq7b.js} +1 -1
- package/dist/{types-BxcVVfxO.js → types-DKR2ZuTD.js} +1 -1
- package/dist/{types-DR1UyHuL.js → types-tdqAwKL7.js} +1 -1
- package/dist/{unincorporated-partnership-DYTYq9It.js → unincorporated-partnership-DiT1SZMx.js} +1 -1
- package/dist/{useAssociatedLegalEntity-CuVMzeS0.js → useAssociatedLegalEntity-Bwe18_3D.js} +1 -1
- package/dist/{useBusinessDetailsData-BDvJiv0U.js → useBusinessDetailsData-S4H6u7aV.js} +47 -47
- package/dist/{useCreateLegalEntity-BqiM6Z4D.js → useCreateLegalEntity-DugB4CeD.js} +1 -1
- package/dist/{useForm-C1botkQ9.js → useForm-Chyn6I7t.js} +2 -2
- package/dist/{useFormContext-DLkJgmS9.js → useFormContext-D0VUus9N.js} +6 -6
- package/dist/{useGlobalData-BydN0B8P.js → useGlobalData-BOpkYARg.js} +8 -8
- package/dist/{useMultiForm-ZSjb-MNl.js → useMultiForm-AyBSOBoC.js} +3 -3
- package/dist/{useOnboardingStatus-CpkyRoX9.js → useOnboardingStatus-DHIZ68CF.js} +1 -1
- package/dist/{useScenarios-DNnpIr7b.js → useScenarios-C--d6gPw.js} +1 -1
- package/dist/{useTermsOfServiceStatus-BH74ie3Z.js → useTermsOfServiceStatus-OVxuF0N1.js} +1 -1
- package/dist/{useToastContext-CN6SzXSt.js → useToastContext-DHFV4LJC.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-z5aGwc0I.js → useUnincorporatedPartnershipMembers-B9S2O4tQ.js} +4 -4
- package/dist/{useUpdateBusinessLines-D5WMs9_g.js → useUpdateBusinessLines-D-2SFDbh.js} +3 -3
- package/dist/{useUpdateLegalEntity-8Sn5DTcn.js → useUpdateLegalEntity-CFRYUBdP.js} +2 -2
- package/dist/{utils-CL8Y2cxl.js → utils-BlKniCje.js} +5 -5
- package/dist/{utils-Bx0ZXntJ.js → utils-CG9hxJ09.js} +2 -2
- package/dist/{utils-CKmUVF30.js → utils-CmyEO2z6.js} +1 -1
- package/dist/{utils-TMcBiPzX.js → utils-DzZSy2n_.js} +1 -1
- package/dist/{utils-Cbs8k6wy.js → utils-HEJUczlg.js} +1 -1
- package/dist/{validate-Dy8GuvEF.js → validate-DKsP8XGZ.js} +2 -2
- package/dist/{validate-Bz4kAnZq.js → validate-DkaJWAVo.js} +1 -1
- package/dist/{validationError-Cl6ZvFO8.js → validationError-yKQW3P6f.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-Do1odp3Z.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CFRYUBdP.js";
|
|
15
|
+
import { c as contactDetailsValidationRules, f as fieldConfig, u as useValidatePhoneNumberImperatively, b as getAsyncPhoneValidationRules, C as ContactDetails, d as defaultFieldMetadata } from "./ContactDetails-BBTAGuyq.js";
|
|
16
|
+
import { u as useToastContext } from "./useToastContext-DHFV4LJC.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-AyBSOBoC.js";
|
|
18
|
+
import { E as ErrorPanel } from "./ErrorPanel-B_t2Mr0a.js";
|
|
19
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-D8b_EJeC.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-lkF9e5IB.js";
|
|
22
|
+
import { A as ActionBar } from "./ActionBar-BUo_zptQ.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] = "f0e24ffd-e1c1-4a94-99c2-ff8a5da0c9d7", e._sentryDebugIdIdentifier = "sentry-dbid-f0e24ffd-e1c1-4a94-99c2-ff8a5da0c9d7");
|
|
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-Do1odp3Z.js";
|
|
13
|
+
import { M as Modal } from "./Modal-D_LDmrcf.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-CBsyuXip.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-BsC-S1uD.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.
|
|
351
|
+
sdkVersion: "4.6.1",
|
|
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-Do1odp3Z.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-De_7UUwH.js";
|
|
15
|
+
import { M as Modal } from "./Modal-D_LDmrcf.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-BLjnKmbU.js";
|
|
19
|
+
import { b as getTrustedEntityAssociations } from "./getTrustedFields-D2WVcNYC.js";
|
|
20
|
+
import { G as GuidanceQuestionValues, m as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-BY73qAGj.js";
|
|
21
|
+
import { m as mapAddressLabels } from "./utils-CmyEO2z6.js";
|
|
22
|
+
import { l as localizeDateString } from "./localizeDateString-CYVOqiuH.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-Do1odp3Z.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-C--d6gPw.js";
|
|
15
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-D8b_EJeC.js";
|
|
16
|
+
import { a as getTrustedFieldsProvider, c as getTrustedFields, b as getTrustedEntityAssociations } from "./getTrustedFields-D2WVcNYC.js";
|
|
17
|
+
import { i as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-DNleI80l.js";
|
|
18
|
+
import { I as IndividualDropin } from "./IndividualDropin-CaQg4nGw.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-Do1odp3Z.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-C--d6gPw.js";
|
|
14
14
|
import { useQueries } from "@tanstack/preact-query";
|
|
15
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CFRYUBdP.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-De_7UUwH.js";
|
|
18
|
+
import { M as Modal } from "./Modal-D_LDmrcf.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-DHFV4LJC.js";
|
|
20
|
+
import { e as useDataMissingRemediations } from "./OnboardingDropinComponent-CFcJQhCb.js";
|
|
21
|
+
import { C as ContextGuidance } from "./ContextGuidance-BJIBM5W-.js";
|
|
22
|
+
import { A as ActionBar } from "./ActionBar-BUo_zptQ.js";
|
|
23
|
+
import { E as EntityAssociation } from "./EntityAssociation-BdpQ9IKO.js";
|
|
24
|
+
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-CqfeJN28.js";
|
|
25
|
+
import { G as GuidanceQuestionValues, i as individualFormDefaultData } from "./mapLegalEntityToIndividualSchema-BY73qAGj.js";
|
|
26
|
+
import { u as useCapabilityProblems } from "./getProblemsForEntity-D8b_EJeC.js";
|
|
27
|
+
import { b as getTrustedEntityAssociations } from "./getTrustedFields-D2WVcNYC.js";
|
|
28
|
+
import { a as getDecisionMakerDescription, D as DecisionMakerDetails } from "./DecisionMakerDetails-BUm0ukYp.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-DiT1SZMx.js";
|
|
31
|
+
import { L as LandingLayout } from "./LandingLayout-DJR_oP_0.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-DKsP8XGZ.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-Do1odp3Z.js";
|
|
15
|
+
import { u as useForm } from "./useForm-Chyn6I7t.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-V--81dug.js";
|
|
13
|
+
import { y as TaskStatuses, u as useTranslation, aa as Skeleton, N as Typography } from "./StoreProvider-Do1odp3Z.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-Do1odp3Z.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-Do1odp3Z.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-Bnnuucqh.js";
|
|
16
|
+
import { C as Confirm } from "./Confirm-BLjnKmbU.js";
|
|
17
|
+
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-BqDkoUz9.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-Do1odp3Z.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-DiT1SZMx.js";
|
|
14
|
+
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-BqDkoUz9.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-Do1odp3Z.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-Do1odp3Z.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-Do1odp3Z.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-D_LDmrcf.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-Do1odp3Z.js";
|
|
11
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-CmyEO2z6.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-By6GI65W.js";
|
|
14
|
+
import { i as isBafinSignatoryFlow } from "./bafinUtils-DNleI80l.js";
|
|
15
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-DzZSy2n_.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-C--d6gPw.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-DugB4CeD.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-Do1odp3Z.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CFRYUBdP.js";
|
|
18
|
+
import { a as addressValidators, A as Address, u as useProviderStatus } from "./Address-B1q0i8VT.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-BBTAGuyq.js";
|
|
20
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-D0VUus9N.js";
|
|
21
|
+
import { u as useToastContext } from "./useToastContext-DHFV4LJC.js";
|
|
22
|
+
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-BsVn1sDe.js";
|
|
23
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-iBTioaF7.js";
|
|
24
|
+
import { u as useMultiForm } from "./useMultiForm-AyBSOBoC.js";
|
|
25
|
+
import { u as uppercase, A as AdyenKycSdkError, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-9oZpCz9G.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-CmyEO2z6.js";
|
|
29
|
+
import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-BY73qAGj.js";
|
|
30
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-yKQW3P6f.js";
|
|
31
|
+
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-DKsP8XGZ.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-DS9fsrYp.js";
|
|
33
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-By6GI65W.js";
|
|
34
|
+
import { l as localizeDateString } from "./localizeDateString-CYVOqiuH.js";
|
|
35
|
+
import { o as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-BukQYYUl.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-BWp2Akul.js";
|
|
37
|
+
import { v as validatePatternOnBlur } from "./patternValidators-BAI5QGjT.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-DzZSy2n_.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-DiT1SZMx.js";
|
|
42
|
+
import { M as Modal } from "./Modal-D_LDmrcf.js";
|
|
43
|
+
import { L as LandingLayout } from "./LandingLayout-DJR_oP_0.js";
|
|
44
|
+
import { C as Confirm } from "./Confirm-BLjnKmbU.js";
|
|
45
|
+
import { a as getIndividualLegalEntityName } from "./getName-f5vInm5O.js";
|
|
46
|
+
import { b as idNowModalChildEntityId, a as idNowPostSubmit, s as showIdNowModal, c as shouldShowIdNowModal } from "./bafinUtils-DNleI80l.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-B_t2Mr0a.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-DhGlekN4.js";
|
|
51
|
+
import { L as Link } from "./Link-CuEU7lsc.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-MfbWpC8K.js";
|
|
54
|
+
import { I as InputText } from "./InputText-BsC-S1uD.js";
|
|
55
|
+
import { C as CountryField } from "./CountryField-o99j4P7E.js";
|
|
56
|
+
import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-DvrpVP2i.js";
|
|
57
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-lkF9e5IB.js";
|
|
58
|
+
import { C as Checkbox } from "./Checkbox-CBsyuXip.js";
|
|
59
|
+
import { S as Select } from "./Select-t-h8dau1.js";
|
|
60
|
+
import { C as ContextGuidance } from "./ContextGuidance-BJIBM5W-.js";
|
|
61
|
+
import { C as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES, i as individualRules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./Individual.rules-DnqpK01d.js";
|
|
62
|
+
import { i as isTruthyValidator } from "./commonValidators-B93jw3zT.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-D8B6J9x4.js";
|
|
65
|
+
import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-DhgNqKwy.js";
|
|
66
|
+
import { D as Dropzone } from "./Dropzone-Dled5Xv_.js";
|
|
67
|
+
import { i as isEmpty$1 } from "./isEmpty-u6uLWpz1.js";
|
|
68
68
|
import { Onfido } from "onfido-sdk-ui";
|
|
69
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
69
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-BUn-b8AB.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-DI9q4r1R.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-BDGwDEOX.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-BsC-S1uD.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-Do1odp3Z.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-Do1odp3Z.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-CHQ02q0R.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-CFcJQhCb.js";
|
|
16
16
|
const IntroductionScreens = {
|
|
17
17
|
PROLOGUE: "PROLOGUE",
|
|
18
18
|
INDIVIDUAL: TaskTypes.INDIVIDUAL,
|
package/dist/{InvitedDecisionMakerComponent-XyPQK6mU.js → InvitedDecisionMakerComponent-CHrA8mQR.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-Do1odp3Z.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-f5vInm5O.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-DiT1SZMx.js";
|
|
17
|
+
import { L as LandingLayout } from "./LandingLayout-DJR_oP_0.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-De_7UUwH.js";
|
|
20
|
+
import { g as getLandingLayoutProps, a as getDecisionMakerDescription, D as DecisionMakerDetails } from "./DecisionMakerDetails-BUm0ukYp.js";
|
|
21
|
+
import { u as useTaskStatus } from "./getTrustedFields-D2WVcNYC.js";
|
|
22
|
+
import { I as IndividualDropin } from "./IndividualDropin-CaQg4nGw.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-Do1odp3Z.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-Do1odp3Z.js";
|
|
14
|
+
import { F as Field } from "./Field-DhGlekN4.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-Chyn6I7t.js";
|
|
18
|
+
import { I as InputText } from "./InputText-BsC-S1uD.js";
|
|
19
|
+
import { M as MaskedInput, m as makeMask, n as numericInputs, a as nonInputs } from "./MaskedInput-BWp2Akul.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-B1q0i8VT.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-DI9q4r1R.js";
|
|
24
|
+
import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-DhgNqKwy.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-Do1odp3Z.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-Do1odp3Z.js";
|
|
11
|
+
import { d as validateLegalCompanyName, a as validateNotEmptyOnBlur, e as validateLatinSpaceMarkPunctuationNumbersOnlyOnBlur } from "./patternValidators-BAI5QGjT.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-DhGlekN4.js";
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-D_LDmrcf.js";
|
|
15
|
+
import { I as InputText } from "./InputText-BsC-S1uD.js";
|
|
16
16
|
const defaultFieldMetadata = {
|
|
17
17
|
label: "legalCompanyName",
|
|
18
18
|
validators: validateNotEmptyOnBlur
|