@adyen/kyc-components 4.7.0-beta.0 → 4.7.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-RYwThKmu.js → AcceptTermsOfServiceComponent-CFuKCmzi.js} +14 -14
- package/dist/{AccountSetupRejected-DhwwBH0S.js → AccountSetupRejected-CJO8fFLr.js} +1 -1
- package/dist/{ActionBar-u-Qc7Y4w.js → ActionBar-DW4IMRZg.js} +1 -1
- package/dist/{Address-TGZeMCUA.js → Address-Czpdu7Iv.js} +9 -9
- package/dist/{Avatar-LSd9cIJV.js → Avatar-CaZQ-oyL.js} +1 -1
- package/dist/{BusinessFinancingComponent-DAeZTKW1.js → BusinessFinancingComponent-CvmqdPg-.js} +4 -4
- package/dist/{BusinessFinancingDropin-BVgSTmUm.js → BusinessFinancingDropin-CA5D0PgR.js} +27 -27
- package/dist/{BusinessFinancingPage-vKWY2gWN.js → BusinessFinancingPage-CcCpkh2o.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-DhpGpgac.js → BusinessTypeSelectionPage-DxpkzhZp.js} +8 -8
- package/dist/{Checkbox-D5-_dw4-.js → Checkbox-BbVX_nZi.js} +1 -1
- package/dist/{Confirm-BoQbVMKQ.js → Confirm-DW7YOE1F.js} +2 -2
- package/dist/{ConstitutionalDocument-CjUSPI6f.js → ConstitutionalDocument-CK6FFFwg.js} +16 -16
- package/dist/{ContactDetails-Bj1jL-WF.js → ContactDetails-Dx7dJnqB.js} +5 -5
- package/dist/{ContextGuidance-CoDkF9Kh.js → ContextGuidance-C7HDkmZU.js} +1 -1
- package/dist/{CountryField-DPtohqO0.js → CountryField-CAgo6wFJ.js} +3 -3
- package/dist/{CreateIndividualComponent-DnDxRY8S.js → CreateIndividualComponent-BP_biPqN.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-BB1v1vPR.js → CreateTransferInstrumentComponent-CAg8dLjP.js} +3 -3
- package/dist/{Currency-DjKXc6D1.js → Currency-DUnZGkXH.js} +6 -6
- package/dist/{CustomerSupport-nxoB2aXL.js → CustomerSupport-D2iXL505.js} +9 -9
- package/dist/{DebugModal-DK9xbFjU.js → DebugModal-CUcMO4o_.js} +6 -6
- package/dist/{DecisionMakerDetails-D-POvfJr.js → DecisionMakerDetails-Bp33aJUr.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-CABFACYm.js → DecisionMakerDetailsPage-DSFo-4Sk.js} +6 -6
- package/dist/{DecisionMakers-B4gmdJ-s.js → DecisionMakers-Bnvwoz_7.js} +17 -17
- package/dist/{Dropzone-IwRNw22i.js → Dropzone-F8Ut9D_V.js} +3 -3
- package/dist/{EmbeddedStatus-BU2hma9l.js → EmbeddedStatus-GocVl-7i.js} +2 -2
- package/dist/{EndStateLayout-DURCt96r.js → EndStateLayout-BBLxK9Q1.js} +1 -1
- package/dist/{EntityAssociation-TBvPBEGa.js → EntityAssociation-CpVhhf1f.js} +4 -4
- package/dist/{EntityGuidanceStatus-CFRY8Yia.js → EntityGuidanceStatus-BBdOh7as.js} +3 -3
- package/dist/{ErrorPanel-ALBlWg3_.js → ErrorPanel-D3OmtL80.js} +1 -1
- package/dist/{Field--T3FQepj.js → Field-ClKiPVDa.js} +1 -1
- package/dist/{FormNavigation-nE2uj2oQ.js → FormNavigation-CbHvKnKB.js} +2 -2
- package/dist/{Individual.rules-DotRDPTM.js → Individual.rules-DChMs8iu.js} +5 -5
- package/dist/{IndividualDropin-eiRXQvS_.js → IndividualDropin-D--ImJNx.js} +49 -49
- package/dist/{InputDate-BAzF-upe.js → InputDate-BajoDzsK.js} +1 -1
- package/dist/{InputText-CywP4Ojh.js → InputText-C8kj07ZB.js} +1 -1
- package/dist/{Introduction-CKoQlTAr.js → Introduction-ejHrYyaC.js} +3 -3
- package/dist/{InvitedDecisionMakerComponent-CV8OExOI.js → InvitedDecisionMakerComponent-BUrtBWme.js} +9 -9
- package/dist/{JpAddress-BIgqDfQ0.js → JpAddress-BpaKGrVA.js} +8 -8
- package/dist/{LandingLayout-DEgZw1-N.js → LandingLayout-B_Cw3o3Q.js} +1 -1
- package/dist/{LegalCompanyNameField-CblBotGC.js → LegalCompanyNameField-BRzGJ-Ov.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-BYgKGZL1.js → LegalRepresentativeDetailsPage-D71SlyLs.js} +3 -3
- package/dist/{Link-BVdY7Jkl.js → Link-DS54L_TE.js} +1 -1
- package/dist/{ListItem-CNuX4D7n.js → ListItem-CFcOIT6E.js} +2 -2
- package/dist/{LoaderWrapper-CU0bf3jD.js → LoaderWrapper-DvyhRweQ.js} +1 -1
- package/dist/{ManageIndividualComponent-BYBvuHfj.js → ManageIndividualComponent-BXxl7p95.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-CfN53LIT.js → ManageTermsOfServiceComponent-4e_ydA_6.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-B7gKGWHz.js → ManageTransferInstrumentComponent-D52NH0jS.js} +9 -9
- package/dist/{MaskedInput-BNceotwn.js → MaskedInput-ApBB9ewS.js} +4 -4
- package/dist/{MaybeModal-hVrKDPDU.js → MaybeModal-l7k-LBMJ.js} +2 -2
- package/dist/{Modal-C8kGCLbp.js → Modal-C5mnAneL.js} +1 -1
- package/dist/{Name-GILpP1SS.js → Name-BVk4_a2-.js} +4 -4
- package/dist/{NewSummary-C5UR_Xj1.js → NewSummary-R9k7ZbPo.js} +1 -1
- package/dist/{OnboardingDropinComponent-CK5KIhNx.js → OnboardingDropinComponent-45YclRJI.js} +72 -72
- package/dist/{PayoutDetailsDropin-CLdEm9BA.js → PayoutDetailsDropin-1vKgokN-.js} +32 -32
- package/dist/{PayoutDetailsPage-s-_gJFC2.js → PayoutDetailsPage-CXwueRbW.js} +19 -19
- package/dist/{RadioGroup-PEWX2KAj.js → RadioGroup-CbeNPI_8.js} +1 -1
- package/dist/{Review-CFnIOiZT.js → Review-DzrxzNY0.js} +5 -5
- package/dist/{RootBusinessDetailsPage-mnrfIy0-.js → RootBusinessDetailsPage-eStzwQJf.js} +4 -4
- package/dist/{RootBusinessLinesPage-BH3Lns3X.js → RootBusinessLinesPage-omnttABd.js} +24 -24
- package/dist/{RootIndividualDetailsPage-BzgHIe3h.js → RootIndividualDetailsPage-BcxaLjad.js} +5 -5
- package/dist/{Select-C4C8R-Ci.js → Select-Czm2JclY.js} +3 -3
- package/dist/{SignPCIComponent-B7rKUpjS.js → SignPCIComponent-DXAeetcT.js} +10 -10
- package/dist/{SingpassSelection-WxIUEYNK.js → SingpassSelection-CPgrgp4C.js} +4 -4
- package/dist/{SoleProprietorshipPage-C_fewFI3.js → SoleProprietorshipPage-DmIKoFtO.js} +3 -3
- package/dist/{SourceOfFundsPage-UeXmtQEJ.js → SourceOfFundsPage-DofHZlzT.js} +31 -31
- package/dist/{StepProgressIndicator-DiB-t9hK.js → StepProgressIndicator-rIXID-AK.js} +1 -1
- package/dist/{StoreProvider-C4og8Y8I.js → StoreProvider-Bt6bLVE-.js} +4 -4
- package/dist/{Summary-DkZ_an9u.js → Summary-BUJLYAgF.js} +5 -5
- package/dist/{TaxInformationField-BOZj8YLo.js → TaxInformationField-CknxoOIl.js} +19 -19
- package/dist/{TaxReportingDropin-9HGGrPyM.js → TaxReportingDropin-Bn4a54-x.js} +13 -13
- package/dist/{TextArea-Bu9ppy0I.js → TextArea-CKD5zTKW.js} +1 -1
- package/dist/{TileGroup-BRzhDdL0.js → TileGroup-UvRO_GGK.js} +2 -2
- package/dist/{TrustDetailsPage-C3gYEzPT.js → TrustDetailsPage-BBg2UhIm.js} +30 -30
- package/dist/{TrustMemberCompanyPage-BK54Of_F.js → TrustMemberCompanyPage-sG_Tsffg.js} +4 -4
- package/dist/{TrustMemberIndividualPage-fVZrXJjA.js → TrustMemberIndividualPage-Cpk0LIwl.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-BVHOuXP3.js → TrustMemberRoleAndTypePage-h8cM9Ltb.js} +20 -20
- package/dist/{TrustMembersOverview-Ab-dwNTz.js → TrustMembersOverview-Hqb3o_y6.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-C32LEyHG.js → UnincorporatedPartnershipIndividualPage-CdpFVv2I.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-22Bl_EUP.js → UnincorporatedPartnershipMemberCompanyPage-CuOQsMrw.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BjywaZQe.js → UnincorporatedPartnershipMemberRoleAndTypePage-BLcsgLCP.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-RY7m4iC5.js → UnincorporatedPartnershipMembersOverview-ClQQnnrs.js} +6 -6
- package/dist/{VerificationErrorAlert-CCJ0vNsY.js → VerificationErrorAlert-Clxb4YjL.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-Bg1I1q10.js → ViewVerificationStatusComponent-yJyifkQm.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-DkCSO6ft.js → bafinUtils-DsUdZgzH.js} +1 -1
- package/dist/{commonValidators-Dd4wegC9.js → commonValidators-2G1K0mHC.js} +1 -1
- package/dist/{dropinUtils-vsDEK6cs.js → dropinUtils-D3x5I-79.js} +3 -3
- package/dist/{formUtils-DFuc8i5Q.js → formUtils-C1nur8r7.js} +2 -2
- package/dist/{getName-D3Sba-PI.js → getName-B_JUBLVR.js} +1 -1
- package/dist/{getProblemsForEntity-Db-ejW4z.js → getProblemsForEntity-BSfnPYoe.js} +1 -1
- package/dist/{getTrustedFields-DUXTMWcg.js → getTrustedFields-CEoqo2CR.js} +1 -1
- package/dist/{isEmpty-DFqK5kY2.js → isEmpty-CpSE7NAw.js} +1 -1
- package/dist/{japanSupportUtils-DqXOWm97.js → japanSupportUtils-CprkdtHL.js} +1 -1
- package/dist/{localizeDateString-D8JgUqw2.js → localizeDateString-BLDvqFOU.js} +1 -1
- package/dist/{mapExistingFile-BIYg1E5G.js → mapExistingFile-DUgMBW9t.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-D5xnQLSI.js → mapJpAddressSchemaToAddressLocalizations-BXIw8J3t.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-By5v9v9G.js → mapLegalEntityToIndividualSchema-BRQ51OQI.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-BM24JYqT.js → mapTransferInstrumentToPayoutAccount-DaLPVgIK.js} +1 -1
- package/dist/{omitObscuredFieldsIfUnchanged-CyJfNYkP.js → omitObscuredFieldsIfUnchanged-ChSKB1LF.js} +2 -2
- package/dist/{patternValidators-DRSnA1z7.js → patternValidators-0N8_moed.js} +1 -1
- package/dist/{process-field-configurations-Cl2nqpBp.js → process-field-configurations-DNb-fWox.js} +1 -1
- package/dist/{resolveEnvironment-BIF7mwM5.js → resolveEnvironment-RNyhTkW8.js} +3 -3
- package/dist/{roleMetadata-BAURfCmh.js → roleMetadata-CuLbD5YE.js} +2 -2
- package/dist/{types-DsA42AXS.js → types-CJnNafzu.js} +1 -1
- package/dist/{types-DxlKs1U5.js → types-DqaPuyRe.js} +1 -1
- package/dist/{types-VsWq4EjV.js → types-Ds3BWDI-.js} +1 -1
- package/dist/{unincorporated-partnership-uA1X2l53.js → unincorporated-partnership-DDPy7qIp.js} +1 -1
- package/dist/{useAssociatedLegalEntity-3LNpnrN6.js → useAssociatedLegalEntity-R9-aucnr.js} +1 -1
- package/dist/{useBusinessDetailsData-dZbZQSmY.js → useBusinessDetailsData-BKgf0j8T.js} +47 -47
- package/dist/{useCreateLegalEntity-DDkkYr4O.js → useCreateLegalEntity-BEEy8g0o.js} +1 -1
- package/dist/{useForm-Y4-kimHb.js → useForm-BQaffiEa.js} +2 -2
- package/dist/{useFormContext-TKoF8IdB.js → useFormContext-BZwb6dry.js} +6 -6
- package/dist/{useGlobalData-DZvXyS0l.js → useGlobalData-RPqQO2_m.js} +8 -8
- package/dist/{useMultiForm-ieaYM7hW.js → useMultiForm-DrspjU-_.js} +3 -3
- package/dist/{useOnboardingStatus-DhxCTR8e.js → useOnboardingStatus-Cx2RfslI.js} +1 -1
- package/dist/{useScenarios-CwSfXmoW.js → useScenarios-ZY51ox86.js} +1 -1
- package/dist/{useTermsOfServiceStatus-DPGw4QdQ.js → useTermsOfServiceStatus-C_6N4XIw.js} +1 -1
- package/dist/{useToastContext-BdsMS3mt.js → useToastContext-CKEFuMZU.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-D5ndPAbv.js → useUnincorporatedPartnershipMembers-B0loJKYp.js} +4 -4
- package/dist/{useUpdateBusinessLines-Dwk23sZB.js → useUpdateBusinessLines-bS2l9wAZ.js} +3 -3
- package/dist/{useUpdateLegalEntity-5lOidXXX.js → useUpdateLegalEntity-5AD9uK8f.js} +2 -2
- package/dist/{utils-CdhuiXMy.js → utils-4YBHq5mh.js} +1 -1
- package/dist/{utils-C_Fyu6Kr.js → utils-BuiPHqFZ.js} +1 -1
- package/dist/{utils-Dny5dbku.js → utils-BzAU2BN1.js} +2 -2
- package/dist/{utils-BwwVW2aU.js → utils-CqJ09Ne0.js} +5 -5
- package/dist/{utils-C5ekxdx1.js → utils-DpBs-qSJ.js} +1 -1
- package/dist/{validate-bZBB2yOu.js → validate-BMFS_55S.js} +1 -1
- package/dist/{validate-CFI052fe.js → validate-CmVYROUS.js} +2 -2
- package/dist/{validationError-XxBa8ECY.js → validationError-CSob70hx.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-Bt6bLVE-.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-5AD9uK8f.js";
|
|
15
|
+
import { c as contactDetailsValidationRules, f as fieldConfig, u as useValidatePhoneNumberImperatively, b as getAsyncPhoneValidationRules, C as ContactDetails, d as defaultFieldMetadata } from "./ContactDetails-Dx7dJnqB.js";
|
|
16
|
+
import { u as useToastContext } from "./useToastContext-CKEFuMZU.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-DrspjU-_.js";
|
|
18
|
+
import { E as ErrorPanel } from "./ErrorPanel-D3OmtL80.js";
|
|
19
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-BSfnPYoe.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-C1nur8r7.js";
|
|
22
|
+
import { A as ActionBar } from "./ActionBar-DW4IMRZg.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] = "24205991-ba56-4a94-afc0-5685e433b956", e._sentryDebugIdIdentifier = "sentry-dbid-24205991-ba56-4a94-afc0-5685e433b956");
|
|
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, bz as Accordion, u as useTranslation, ao as entriesOf, bA as splitTaskIdentifier, G as TaskVerificationStatus, H as useToggleContext, m as useSettingsContext, W as useGlobalStore, aU as listToRecord, aS as valuesOf, z as Icon, ae as createLogger } from "./StoreProvider-
|
|
13
|
-
import { M as Modal } from "./Modal-
|
|
12
|
+
import { V as Button, bz as Accordion, u as useTranslation, ao as entriesOf, bA as splitTaskIdentifier, G as TaskVerificationStatus, H as useToggleContext, m as useSettingsContext, W as useGlobalStore, aU as listToRecord, aS as valuesOf, z as Icon, ae as createLogger } from "./StoreProvider-Bt6bLVE-.js";
|
|
13
|
+
import { M as Modal } from "./Modal-C5mnAneL.js";
|
|
14
14
|
import { S as SettingNames } from "./types-Dv0COrvY.js";
|
|
15
15
|
import { F as FeatureNames, E as ExperimentNames } from "./types-C7ANBXKc.js";
|
|
16
|
-
import { C as Checkbox } from "./Checkbox-
|
|
16
|
+
import { C as Checkbox } from "./Checkbox-BbVX_nZi.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-C8kj07ZB.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.7.
|
|
351
|
+
sdkVersion: "4.7.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, aY 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, aY 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-Bt6bLVE-.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-CFcOIT6E.js";
|
|
15
|
+
import { M as Modal } from "./Modal-C5mnAneL.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-DW7YOE1F.js";
|
|
19
|
+
import { b as getTrustedEntityAssociations } from "./getTrustedFields-CEoqo2CR.js";
|
|
20
|
+
import { G as GuidanceQuestionValues, m as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-BRQ51OQI.js";
|
|
21
|
+
import { m as mapAddressLabels } from "./utils-DpBs-qSJ.js";
|
|
22
|
+
import { l as localizeDateString } from "./localizeDateString-BLDvqFOU.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, bo 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, bo as individualBaseMapping } from "./StoreProvider-Bt6bLVE-.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-ZY51ox86.js";
|
|
15
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-BSfnPYoe.js";
|
|
16
|
+
import { a as getTrustedFieldsProvider, c as getTrustedFields, b as getTrustedEntityAssociations } from "./getTrustedFields-CEoqo2CR.js";
|
|
17
|
+
import { i as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-DsUdZgzH.js";
|
|
18
|
+
import { I as IndividualDropin } from "./IndividualDropin-D--ImJNx.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, br as getAvailableDecisionMakerRoleTypes, w as TaskTypes, aZ as getAllowedDecisionMakerRoles, bD as DropinLayout, O as StackLayout, aB as Header, aR 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, br as getAvailableDecisionMakerRoleTypes, w as TaskTypes, aZ as getAllowedDecisionMakerRoles, bD as DropinLayout, O as StackLayout, aB as Header, aR as Trans, as as DecisionMakerTypes, y as TaskStatuses, _ as __variableDynamicImportRuntimeHelper, L as LegalEntityTypes } from "./StoreProvider-Bt6bLVE-.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-ZY51ox86.js";
|
|
14
14
|
import { useQueries } from "@tanstack/preact-query";
|
|
15
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-5AD9uK8f.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-CFcOIT6E.js";
|
|
18
|
+
import { M as Modal } from "./Modal-C5mnAneL.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-CKEFuMZU.js";
|
|
20
|
+
import { e as useDataMissingRemediations } from "./OnboardingDropinComponent-45YclRJI.js";
|
|
21
|
+
import { C as ContextGuidance } from "./ContextGuidance-C7HDkmZU.js";
|
|
22
|
+
import { A as ActionBar } from "./ActionBar-DW4IMRZg.js";
|
|
23
|
+
import { E as EntityAssociation } from "./EntityAssociation-CpVhhf1f.js";
|
|
24
|
+
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-BBdOh7as.js";
|
|
25
|
+
import { G as GuidanceQuestionValues, i as individualFormDefaultData } from "./mapLegalEntityToIndividualSchema-BRQ51OQI.js";
|
|
26
|
+
import { u as useCapabilityProblems } from "./getProblemsForEntity-BSfnPYoe.js";
|
|
27
|
+
import { b as getTrustedEntityAssociations } from "./getTrustedFields-CEoqo2CR.js";
|
|
28
|
+
import { a as getDecisionMakerDescription, D as DecisionMakerDetails } from "./DecisionMakerDetails-Bp33aJUr.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-DDPy7qIp.js";
|
|
31
|
+
import { L as LandingLayout } from "./LandingLayout-B_Cw3o3Q.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-CmVYROUS.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-Bt6bLVE-.js";
|
|
15
|
+
import { u as useForm } from "./useForm-BQaffiEa.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-CaZQ-oyL.js";
|
|
13
|
+
import { y as TaskStatuses, u as useTranslation, aa as Skeleton, N as Typography } from "./StoreProvider-Bt6bLVE-.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-Bt6bLVE-.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-Bt6bLVE-.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-Clxb4YjL.js";
|
|
16
|
+
import { C as Confirm } from "./Confirm-DW7YOE1F.js";
|
|
17
|
+
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-CuLbD5YE.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 { bE as getDecisionMakerDescriptionMap, w as TaskTypes, bF as TRUST_DEFAULT_DESCRIPTIONS_MAP, z as Icon, u as useTranslation, aR as Trans } from "./StoreProvider-
|
|
13
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-
|
|
14
|
-
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-
|
|
12
|
+
import { bE as getDecisionMakerDescriptionMap, w as TaskTypes, bF as TRUST_DEFAULT_DESCRIPTIONS_MAP, z as Icon, u as useTranslation, aR as Trans } from "./StoreProvider-Bt6bLVE-.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-DDPy7qIp.js";
|
|
14
|
+
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-CuLbD5YE.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, b9 as remediationHasFileUploadField, aT as keysOf } from "./StoreProvider-
|
|
12
|
+
import { V as Button, u as useTranslation, C as Alert, b9 as remediationHasFileUploadField, aT as keysOf } from "./StoreProvider-Bt6bLVE-.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-Bt6bLVE-.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-Bt6bLVE-.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-C5mnAneL.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, br as getAvailableDecisionMakerRoleTypes, at as Scenarios, bs as allowedCountriesForNominee, bt 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, br as getAvailableDecisionMakerRoleTypes, at as Scenarios, bs as allowedCountriesForNominee, bt as isLowRiskCountry } from "./StoreProvider-Bt6bLVE-.js";
|
|
11
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-DpBs-qSJ.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-CprkdtHL.js";
|
|
14
|
+
import { i as isBafinSignatoryFlow } from "./bafinUtils-DsUdZgzH.js";
|
|
15
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-4YBHq5mh.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 hasMaximumTwoRepeatedCharacters, aG as hasRepeatedCharacters, aH as isInvalidName, aI as INDIVIDUAL_VALID_CHAR_REGEX, ax as isEmpty, w as TaskTypes, L as LegalEntityTypes, aJ as getAgeToday, aK as euCountries, aL as hasText, aM as standardKatakanaValidator, aN 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, aO as useAllowedCountries, m as useSettingsContext, H as useToggleContext, aB as Header, aP as getAgeRangeForLegalRepresentative, aQ as isLegalRepresentativeNeeded, aR as Trans, aS as valuesOf, aT as keysOf, ah as objectsDeepEqual, aU as listToRecord, aV as pick, ae as createLogger, B as IconButton, x as useAnalyticsContext, am as datasetUtilities, aW as useCapabilities, aX as individualApiKeyMapping, aY as drop, t as useAccountHolder, a8 as getLegalEntityCountry, aZ as getAllowedDecisionMakerRoles, a_ as individualDocumentMapping, a$ as filterOutUnwantedAssociationsIfRootLE, an as cloneObject, b0 as individualObscuredFields, ac as getOwnEntityAssociations, b1 as hasNomineesChanged, b2 as attachNomineeToRole, b3 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-ZY51ox86.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-BEEy8g0o.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 hasMaximumTwoRepeatedCharacters, aG as hasRepeatedCharacters, aH as isInvalidName, aI as INDIVIDUAL_VALID_CHAR_REGEX, ax as isEmpty, w as TaskTypes, L as LegalEntityTypes, aJ as getAgeToday, aK as euCountries, aL as hasText, aM as standardKatakanaValidator, aN 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, aO as useAllowedCountries, m as useSettingsContext, H as useToggleContext, aB as Header, aP as getAgeRangeForLegalRepresentative, aQ as isLegalRepresentativeNeeded, aR as Trans, aS as valuesOf, aT as keysOf, ah as objectsDeepEqual, aU as listToRecord, aV as pick, ae as createLogger, B as IconButton, x as useAnalyticsContext, am as datasetUtilities, aW as useCapabilities, aX as individualApiKeyMapping, aY as drop, t as useAccountHolder, a8 as getLegalEntityCountry, aZ as getAllowedDecisionMakerRoles, a_ as individualDocumentMapping, a$ as filterOutUnwantedAssociationsIfRootLE, an as cloneObject, b0 as individualObscuredFields, ac as getOwnEntityAssociations, b1 as hasNomineesChanged, b2 as attachNomineeToRole, b3 as doArraysMatch } from "./StoreProvider-Bt6bLVE-.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-5AD9uK8f.js";
|
|
18
|
+
import { a as addressValidators, A as Address, u as useProviderStatus } from "./Address-Czpdu7Iv.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-Dx7dJnqB.js";
|
|
20
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BZwb6dry.js";
|
|
21
|
+
import { u as useToastContext } from "./useToastContext-CKEFuMZU.js";
|
|
22
|
+
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-DNb-fWox.js";
|
|
23
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-D3x5I-79.js";
|
|
24
|
+
import { u as useMultiForm } from "./useMultiForm-DrspjU-_.js";
|
|
25
|
+
import { u as uppercase, A as AdyenKycSdkError, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-DUgMBW9t.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-DpBs-qSJ.js";
|
|
29
|
+
import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-BRQ51OQI.js";
|
|
30
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-CSob70hx.js";
|
|
31
|
+
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-CmVYROUS.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-CknxoOIl.js";
|
|
33
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-CprkdtHL.js";
|
|
34
|
+
import { l as localizeDateString } from "./localizeDateString-BLDvqFOU.js";
|
|
35
|
+
import { o as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-ChSKB1LF.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-ApBB9ewS.js";
|
|
37
|
+
import { v as validatePatternOnBlur } from "./patternValidators-0N8_moed.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-4YBHq5mh.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-DDPy7qIp.js";
|
|
42
|
+
import { M as Modal } from "./Modal-C5mnAneL.js";
|
|
43
|
+
import { L as LandingLayout } from "./LandingLayout-B_Cw3o3Q.js";
|
|
44
|
+
import { C as Confirm } from "./Confirm-DW7YOE1F.js";
|
|
45
|
+
import { a as getIndividualLegalEntityName } from "./getName-B_JUBLVR.js";
|
|
46
|
+
import { b as idNowModalChildEntityId, a as idNowPostSubmit, s as showIdNowModal, c as shouldShowIdNowModal } from "./bafinUtils-DsUdZgzH.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-D3OmtL80.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-ClKiPVDa.js";
|
|
51
|
+
import { L as Link } from "./Link-DS54L_TE.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-BajoDzsK.js";
|
|
54
|
+
import { I as InputText } from "./InputText-C8kj07ZB.js";
|
|
55
|
+
import { C as CountryField } from "./CountryField-CAgo6wFJ.js";
|
|
56
|
+
import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-CbeNPI_8.js";
|
|
57
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-C1nur8r7.js";
|
|
58
|
+
import { C as Checkbox } from "./Checkbox-BbVX_nZi.js";
|
|
59
|
+
import { S as Select } from "./Select-Czm2JclY.js";
|
|
60
|
+
import { C as ContextGuidance } from "./ContextGuidance-C7HDkmZU.js";
|
|
61
|
+
import { C as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES, i as individualRules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./Individual.rules-DChMs8iu.js";
|
|
62
|
+
import { i as isTruthyValidator } from "./commonValidators-2G1K0mHC.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-BVk4_a2-.js";
|
|
65
|
+
import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-BXIw8J3t.js";
|
|
66
|
+
import { D as Dropzone } from "./Dropzone-F8Ut9D_V.js";
|
|
67
|
+
import { i as isEmpty$1 } from "./isEmpty-CpSE7NAw.js";
|
|
68
68
|
import { Onfido } from "onfido-sdk-ui";
|
|
69
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
69
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DvyhRweQ.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-CKD5zTKW.js";
|
|
72
72
|
import parsePhoneNumber from "libphonenumber-js/mobile";
|
|
73
73
|
import phonePrefixes from "./phonePrefixes-CnL40uyX.js";
|
|
74
74
|
import { e as emailPattern } from "./basePatterns-BwdnMQxI.js";
|
|
@@ -1865,7 +1865,7 @@ const additionalIdentityInfoFields = [
|
|
|
1865
1865
|
"expiryDate"
|
|
1866
1866
|
];
|
|
1867
1867
|
const LazyJpAddress = lazy(
|
|
1868
|
-
async () => (await import("./JpAddress-
|
|
1868
|
+
async () => (await import("./JpAddress-BpaKGrVA.js")).JpAddress
|
|
1869
1869
|
);
|
|
1870
1870
|
const additionalPersonalDetailsFields = [
|
|
1871
1871
|
"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-C8kj07ZB.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-Bt6bLVE-.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-Bt6bLVE-.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-rIXID-AK.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-45YclRJI.js";
|
|
16
16
|
const IntroductionScreens = {
|
|
17
17
|
PROLOGUE: "PROLOGUE",
|
|
18
18
|
INDIVIDUAL: TaskTypes.INDIVIDUAL,
|
package/dist/{InvitedDecisionMakerComponent-CV8OExOI.js → InvitedDecisionMakerComponent-BUrtBWme.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, O as StackLayout, U as Loader, N as Typography, 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, O as StackLayout, U as Loader, N as Typography, G as TaskVerificationStatus, ai as noop, w as TaskTypes, a as addResourceBundles, P as useLegalEntity, a8 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-Bt6bLVE-.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-B_JUBLVR.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-DDPy7qIp.js";
|
|
17
|
+
import { L as LandingLayout } from "./LandingLayout-B_Cw3o3Q.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-CFcOIT6E.js";
|
|
20
|
+
import { g as getLandingLayoutProps, a as getDecisionMakerDescription, D as DecisionMakerDetails } from "./DecisionMakerDetails-Bp33aJUr.js";
|
|
21
|
+
import { u as useTaskStatus } from "./getTrustedFields-CEoqo2CR.js";
|
|
22
|
+
import { I as IndividualDropin } from "./IndividualDropin-D--ImJNx.js";
|
|
23
23
|
const getInvitedEntityAssociationData = async (invitedLegalEntityId, baseUrl) => {
|
|
24
24
|
return httpGet({
|
|
25
25
|
baseUrl,
|
|
@@ -145,7 +145,7 @@ function InvitedDecisionMakerComponent({
|
|
|
145
145
|
}
|
|
146
146
|
const { i18n } = useTranslation();
|
|
147
147
|
addResourceBundles(i18n, [
|
|
148
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-dmpv4Zom.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-6rOIfRJu.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-C_GqHCay.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BmWBo3gX.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-Fo7-xCrc.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
148
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-dmpv4Zom.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-6rOIfRJu.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-C_GqHCay.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BmWBo3gX.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-Fo7-xCrc.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-Bt6bLVE-.js").then((n) => n.bS), "../../../language/locales/es-ES.json": () => import("./es-ES-BkqlH093.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-H8yxvhQj.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BfwJVwi9.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-CzjsW73Q.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-ZrpQrsik.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-Ds3go4h4.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Dx15tkIe.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-Qu7oEIEy.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BebOeKIA.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CYcrO-6d.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-FbJ2sHba.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B5BjEy8n.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-DuM6hbqZ.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKKQIUJP.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CC7zlk3R.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-CuabgXj1.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-DM1yY8DA.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI--pDTatHh.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CDxyyNV0.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
149
149
|
{ 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) },
|
|
150
150
|
{ 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-qlQTJNiL.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) }
|
|
151
151
|
]);
|
|
@@ -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-Bt6bLVE-.js";
|
|
14
|
+
import { F as Field } from "./Field-ClKiPVDa.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-BQaffiEa.js";
|
|
18
|
+
import { I as InputText } from "./InputText-C8kj07ZB.js";
|
|
19
|
+
import { M as MaskedInput, m as makeMask, n as numericInputs, a as nonInputs } from "./MaskedInput-ApBB9ewS.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-Czpdu7Iv.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-CKD5zTKW.js";
|
|
24
|
+
import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-BXIw8J3t.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-Bt6bLVE-.js";
|
|
12
12
|
const landingLayoutImage = "adyen-kyc-landing-layout-image";
|
|
13
13
|
const landingLayoutHelpAction = "adyen-kyc-landing-layout-help-action";
|
|
14
14
|
const landingLayoutActions = "adyen-kyc-landing-layout-actions";
|
|
@@ -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-Bt6bLVE-.js";
|
|
11
|
+
import { d as validateLegalCompanyName, a as validateNotEmptyOnBlur, e as validateLatinSpaceMarkPunctuationNumbersOnlyOnBlur } from "./patternValidators-0N8_moed.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-ClKiPVDa.js";
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-C5mnAneL.js";
|
|
15
|
+
import { I as InputText } from "./InputText-C8kj07ZB.js";
|
|
16
16
|
const defaultFieldMetadata = {
|
|
17
17
|
label: "legalCompanyName",
|
|
18
18
|
validators: validateNotEmptyOnBlur
|