@adyen/kyc-components 4.6.0-beta.0 → 4.6.0-beta.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-DTURkN9O.js → AcceptTermsOfServiceComponent-Bd0fuzJX.js} +14 -14
- package/dist/{AccountSetupRejected-D7yqqcm_.js → AccountSetupRejected-t4tPei0K.js} +1 -1
- package/dist/{ActionBar-CdFYb-7S.js → ActionBar-Ruw6z6LR.js} +1 -1
- package/dist/{Address-BkeFTMl-.js → Address-D0JjbOT4.js} +9 -9
- package/dist/{Avatar-BpQFX0rJ.js → Avatar-Dp70m25u.js} +1 -1
- package/dist/{BusinessFinancingComponent-CshEgNjO.js → BusinessFinancingComponent-DAj2gvCq.js} +4 -4
- package/dist/{BusinessFinancingDropin-B2kKDCNB.js → BusinessFinancingDropin-RImpwNje.js} +27 -27
- package/dist/{BusinessFinancingPage-96zTF7BJ.js → BusinessFinancingPage-B3XW6vMz.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-BVucjw8H.js → BusinessTypeSelectionPage-D_yQV_GP.js} +8 -8
- package/dist/{Checkbox-Dwf4zXgj.js → Checkbox-DQGjbUsQ.js} +1 -1
- package/dist/{Confirm-DOjzHnlC.js → Confirm-roUo52pe.js} +2 -2
- package/dist/{ConstitutionalDocument-C4HWFtJ-.js → ConstitutionalDocument-BW87TDZl.js} +17 -17
- package/dist/{ContactDetails-ByrH32Jo.js → ContactDetails-CGss-4M6.js} +5 -5
- package/dist/{ContextGuidance-BUczCMV3.js → ContextGuidance-8vbKs48u.js} +1 -1
- package/dist/{CountryField-C9nbUmpe.js → CountryField-Cxih2YUu.js} +3 -3
- package/dist/{CreateIndividualComponent-AOb8RP8N.js → CreateIndividualComponent-k3J84uhw.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-BBytn3E3.js → CreateTransferInstrumentComponent-bam-U6uj.js} +3 -3
- package/dist/{Currency-B1ApVUnP.js → Currency-DhqTdIeI.js} +6 -6
- package/dist/{CustomerSupport-DDtZA5jI.js → CustomerSupport-CdhIJFEE.js} +9 -9
- package/dist/{DebugModal-wXFq4cg1.js → DebugModal-yfBBhyjs.js} +6 -6
- package/dist/{DecisionMakerDetails-Up9HU_qy.js → DecisionMakerDetails-D0-COO1N.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-OeI7y1aX.js → DecisionMakerDetailsPage-C-LGLbrJ.js} +6 -6
- package/dist/{DecisionMakers-5bUJ4S4V.js → DecisionMakers-Bx51Ewcv.js} +17 -17
- package/dist/{Dropzone-Bf8v-4iJ.js → Dropzone-Dy3XmCix.js} +3 -3
- package/dist/{EmbeddedStatus-DQmqyOzv.js → EmbeddedStatus-PFK1NCkS.js} +2 -2
- package/dist/{EndStateLayout-DZgYKmw6.js → EndStateLayout-5kx0pljK.js} +1 -1
- package/dist/{EntityAssociation-Dc8O6xJv.js → EntityAssociation-BVxUknEP.js} +4 -4
- package/dist/{EntityGuidanceStatus-DhCqUWGF.js → EntityGuidanceStatus-CbP4RqW4.js} +3 -3
- package/dist/{ErrorPanel-4HIDH4sr.js → ErrorPanel-Cn8gzNGG.js} +1 -1
- package/dist/{Field-CWq5XOh3.js → Field-BDI27kIy.js} +1 -1
- package/dist/{FormNavigation-CDlQZRNb.js → FormNavigation-D90R1OgK.js} +2 -2
- package/dist/{Individual.rules-BhSXCdTl.js → Individual.rules-BrdY-Rew.js} +5 -5
- package/dist/{IndividualDropin-DS8kUrXB.js → IndividualDropin-D5FrKUb-.js} +49 -49
- package/dist/{InputDate-C2NEOpK4.js → InputDate-nNag-jcu.js} +1 -1
- package/dist/{InputText-20pWI3ja.js → InputText-DFjKyN6O.js} +1 -1
- package/dist/{Introduction-D6x5z2oe.js → Introduction-DhEG_Jvt.js} +3 -3
- package/dist/{InvitedDecisionMakerComponent-Bg-DMehe.js → InvitedDecisionMakerComponent-DT_SCB2u.js} +9 -9
- package/dist/{JpAddress-CX4IfNRB.js → JpAddress-DcJCN9dG.js} +8 -8
- package/dist/{LandingLayout-y-X0NrR1.js → LandingLayout-CC_FGMAs.js} +1 -1
- package/dist/{LegalCompanyNameField-lEerISaT.js → LegalCompanyNameField-CgTgIMv8.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-C6dOsu1g.js → LegalRepresentativeDetailsPage-D4d4eelX.js} +3 -3
- package/dist/{Link-DeFoaStC.js → Link-C30mEtLP.js} +1 -1
- package/dist/{ListItem-BFxtRiVb.js → ListItem-BQLamvB-.js} +2 -2
- package/dist/{LoaderWrapper-Bh1b67kY.js → LoaderWrapper-CgNgcjW-.js} +1 -1
- package/dist/{ManageIndividualComponent-DHYNg_KN.js → ManageIndividualComponent-DKVcaPI6.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-BNzELB7A.js → ManageTermsOfServiceComponent-T_K9BahM.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-9r84TFsu.js → ManageTransferInstrumentComponent-Ch79d8JP.js} +9 -9
- package/dist/{MaskedInput-DPSvsK95.js → MaskedInput-B9djDROe.js} +4 -4
- package/dist/{MaybeModal-BbrppFfg.js → MaybeModal-BYsvKCcc.js} +2 -2
- package/dist/{Modal-CAVcW_pH.js → Modal-727fSuFr.js} +1 -1
- package/dist/{Name-eQhc9Vta.js → Name-BN-K6-N2.js} +4 -4
- package/dist/{NewSummary-B_xfd8vG.js → NewSummary-DTuLIMtG.js} +1 -1
- package/dist/{OnboardingDropinComponent-BRZuLCE8.js → OnboardingDropinComponent-CaRk-dgZ.js} +74 -74
- package/dist/{PayoutDetailsDropin-B6ZMIVid.js → PayoutDetailsDropin-CaJE5U6g.js} +32 -32
- package/dist/{PayoutDetailsPage-BSzf6sev.js → PayoutDetailsPage-B0i-iUKS.js} +4 -4
- package/dist/{RadioGroup-BZ-EfNXM.js → RadioGroup-DQa-nkgM.js} +1 -1
- package/dist/{Review-BVeMAC7t.js → Review-CgkKBldb.js} +5 -5
- package/dist/{RootBusinessDetailsPage-OlgTozou.js → RootBusinessDetailsPage-Bh3M9G8g.js} +4 -4
- package/dist/{RootBusinessLinesPage-CUwKkzZU.js → RootBusinessLinesPage-C4wzI8-k.js} +24 -24
- package/dist/{RootIndividualDetailsPage-CqP8gdvk.js → RootIndividualDetailsPage-GBrzZTH2.js} +5 -5
- package/dist/{Select-DSLn5CCG.js → Select-Bt5Y91sI.js} +3 -3
- package/dist/{SignPCIComponent-CT6GL442.js → SignPCIComponent-BxzfAQvx.js} +10 -10
- package/dist/{SingpassSelection-BORgM-de.js → SingpassSelection-hjBRnBDR.js} +4 -4
- package/dist/{SoleProprietorshipPage-BylQa2F1.js → SoleProprietorshipPage-B6HqJtcC.js} +3 -3
- package/dist/{SourceOfFundsPage-Br-FaeUd.js → SourceOfFundsPage-D6V3pwXP.js} +31 -31
- package/dist/{StepProgressIndicator-ZZsrHrtb.js → StepProgressIndicator-DhfpqmVy.js} +1 -1
- package/dist/{StoreProvider-lJLpl6iE.js → StoreProvider-CGAl-5Sk.js} +4 -4
- package/dist/{Summary-DdFh8LL0.js → Summary-DKmu4xU7.js} +5 -5
- package/dist/{TaxInformationField-5nazrzc4.js → TaxInformationField-wLMc_uT-.js} +19 -19
- package/dist/{TaxReportingDropin-DAeAPOI5.js → TaxReportingDropin-DsPw-MUV.js} +13 -13
- package/dist/{TextArea-D0eJRv8v.js → TextArea-BGhv4y1a.js} +1 -1
- package/dist/{TileGroup-C8YY0Xwv.js → TileGroup-D3HIe8QQ.js} +2 -2
- package/dist/{TrustDetailsPage-BHo4SFbD.js → TrustDetailsPage-CWKPHxTe.js} +30 -30
- package/dist/{TrustMemberCompanyPage-CZMF952c.js → TrustMemberCompanyPage-C89-gUpd.js} +4 -4
- package/dist/{TrustMemberIndividualPage-RSIXbPaf.js → TrustMemberIndividualPage-Cz-Z8U7w.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-BehlWyo7.js → TrustMemberRoleAndTypePage-BxzEkGzE.js} +20 -20
- package/dist/{TrustMembersOverview-KI0J7peC.js → TrustMembersOverview-BtycEgbW.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-CNf-sPP4.js → UnincorporatedPartnershipIndividualPage-CSQjYe4p.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-OyKeY30-.js → UnincorporatedPartnershipMemberCompanyPage-ZAQkvjQr.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Bt21JX-F.js → UnincorporatedPartnershipMemberRoleAndTypePage-B9bvg2ra.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-DdTGn8QH.js → UnincorporatedPartnershipMembersOverview-DYDDYisa.js} +6 -6
- package/dist/{VerificationErrorAlert-ChGZqC_p.js → VerificationErrorAlert-Sf7ovPdg.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-9RUetbsi.js → ViewVerificationStatusComponent-D6qJacuF.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-m56sOqio.js → bafinUtils-4YaweTCy.js} +1 -1
- package/dist/{commonValidators-cEWuPs2I.js → commonValidators-nusLcRK6.js} +1 -1
- package/dist/{dropinUtils-B-qE8vvG.js → dropinUtils-DoPR1iTm.js} +3 -3
- package/dist/{formUtils-DjInEErz.js → formUtils-zdJ_jyqE.js} +2 -2
- package/dist/{getName-CzAV6RHp.js → getName-Ca2cTXzw.js} +1 -1
- package/dist/{getProblemsForEntity-CVzYoCCC.js → getProblemsForEntity-CNltAsMa.js} +1 -1
- package/dist/{getTrustedFields-BeaCYGD7.js → getTrustedFields-rU6j1TOQ.js} +1 -1
- package/dist/{isEmpty-CRqBruDc.js → isEmpty-BN2tOceJ.js} +1 -1
- package/dist/{japanSupportUtils-BK4rTASp.js → japanSupportUtils-B76IOTvL.js} +1 -1
- package/dist/{localizeDateString-BSZiJcEb.js → localizeDateString-9ciBezNu.js} +1 -1
- package/dist/{mapExistingFile-BcvOzQNH.js → mapExistingFile-BS79kq3W.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BgHjkrJG.js → mapJpAddressSchemaToAddressLocalizations--7Bt3usJ.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-_HlywUjg.js → mapLegalEntityToIndividualSchema-BxOmNDle.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-69DkBhXm.js → mapTransferInstrumentToPayoutAccount-ONPBT9KF.js} +1 -1
- package/dist/{omitObscuredFieldsIfUnchanged-tsdNkCyN.js → omitObscuredFieldsIfUnchanged-DhUQJrjg.js} +2 -2
- package/dist/{patternValidators-DuOaKe_S.js → patternValidators-Cem-Icxv.js} +1 -1
- package/dist/{process-field-configurations-DcWH0t4d.js → process-field-configurations-BWC3i2at.js} +1 -1
- package/dist/{resolveEnvironment-Bs-ygpN1.js → resolveEnvironment-BLaPb5Nd.js} +3 -3
- package/dist/{roleMetadata-B-2OBUCV.js → roleMetadata-RivmWKE-.js} +2 -2
- package/dist/{types-QKgg5_IB.js → types-BLjngIPE.js} +1 -1
- package/dist/{types-C4u-zy-W.js → types-DmjPF4Sw.js} +1 -1
- package/dist/{types-Cop44iUw.js → types-i_4sFTBn.js} +1 -1
- package/dist/{unincorporated-partnership-DCtqSVs0.js → unincorporated-partnership-R_fKlee-.js} +1 -1
- package/dist/{useAssociatedLegalEntity-COa3bZhe.js → useAssociatedLegalEntity-sPi1NDib.js} +1 -1
- package/dist/{useBusinessDetailsData-DslnLoRz.js → useBusinessDetailsData-Bqk04i4C.js} +47 -47
- package/dist/{useCreateLegalEntity-CO7qV3Sc.js → useCreateLegalEntity-Bsp9NV_x.js} +1 -1
- package/dist/{useForm-F0hPmSqd.js → useForm-OoKBR6oR.js} +2 -2
- package/dist/{useFormContext-EeYo1zte.js → useFormContext-DSPJpGk8.js} +6 -6
- package/dist/{useGlobalData-DKxTj6bo.js → useGlobalData-Crfi88kZ.js} +8 -8
- package/dist/{useMultiForm-CR9pqYjq.js → useMultiForm-CvhpFewv.js} +3 -3
- package/dist/{useOnboardingStatus-D2I19RDh.js → useOnboardingStatus-CAHU1D0X.js} +1 -1
- package/dist/{useScenarios-BvV1t76w.js → useScenarios-DBv_dA-7.js} +1 -1
- package/dist/{useTermsOfServiceStatus-C0uqYCFG.js → useTermsOfServiceStatus-ZQHlgGZB.js} +1 -1
- package/dist/{useToastContext-Dl59lP3Q.js → useToastContext-fRmLeQb3.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-BRQxcrvc.js → useUnincorporatedPartnershipMembers-DiyYkTfs.js} +4 -4
- package/dist/{useUpdateBusinessLines-FG7FE2l9.js → useUpdateBusinessLines-R_TsTeL9.js} +3 -3
- package/dist/{useUpdateLegalEntity-Dr3e1mG2.js → useUpdateLegalEntity-B08ICvGj.js} +2 -2
- package/dist/{utils-2-VlpJvY.js → utils-3lClW_1M.js} +1 -1
- package/dist/{utils-CWrDCmo5.js → utils-B0FPRdWI.js} +1 -1
- package/dist/{utils-Bmx7w6cI.js → utils-BRoXRTJU.js} +5 -5
- package/dist/{utils-CCjjhUUz.js → utils-Bjuz29z7.js} +2 -2
- package/dist/{utils-DCXRR-sY.js → utils-CPMlF6U8.js} +1 -1
- package/dist/{validate-B--uGfCw.js → validate-Bkn-4Xav.js} +1 -1
- package/dist/{validate-DdW_lr56.js → validate-DXgI7aOv.js} +2 -2
- package/dist/{validationError-DmyvOY60.js → validationError-1Dg0ubhb.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-CGAl-5Sk.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-B08ICvGj.js";
|
|
15
|
+
import { c as contactDetailsValidationRules, f as fieldConfig, u as useValidatePhoneNumberImperatively, b as getAsyncPhoneValidationRules, C as ContactDetails, d as defaultFieldMetadata } from "./ContactDetails-CGss-4M6.js";
|
|
16
|
+
import { u as useToastContext } from "./useToastContext-fRmLeQb3.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-CvhpFewv.js";
|
|
18
|
+
import { E as ErrorPanel } from "./ErrorPanel-Cn8gzNGG.js";
|
|
19
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-CNltAsMa.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-zdJ_jyqE.js";
|
|
22
|
+
import { A as ActionBar } from "./ActionBar-Ruw6z6LR.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] = "513a27dd-461a-4f7b-9625-a4e4b2a4473e", e._sentryDebugIdIdentifier = "sentry-dbid-513a27dd-461a-4f7b-9625-a4e4b2a4473e");
|
|
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-CGAl-5Sk.js";
|
|
13
|
+
import { M as Modal } from "./Modal-727fSuFr.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-DQGjbUsQ.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-DFjKyN6O.js";
|
|
21
21
|
const tabs = "adyen-kyc-tabs";
|
|
22
22
|
const styles$3 = {
|
|
23
23
|
tabs
|
|
@@ -348,7 +348,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
348
348
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
349
349
|
const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
|
|
350
350
|
const metadata = {
|
|
351
|
-
sdkVersion: "4.6.0-beta.
|
|
351
|
+
sdkVersion: "4.6.0-beta.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-CGAl-5Sk.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-BQLamvB-.js";
|
|
15
|
+
import { M as Modal } from "./Modal-727fSuFr.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-roUo52pe.js";
|
|
19
|
+
import { b as getTrustedEntityAssociations } from "./getTrustedFields-rU6j1TOQ.js";
|
|
20
|
+
import { G as GuidanceQuestionValues, m as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-BxOmNDle.js";
|
|
21
|
+
import { m as mapAddressLabels } from "./utils-B0FPRdWI.js";
|
|
22
|
+
import { l as localizeDateString } from "./localizeDateString-9ciBezNu.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-CGAl-5Sk.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-DBv_dA-7.js";
|
|
15
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-CNltAsMa.js";
|
|
16
|
+
import { a as getTrustedFieldsProvider, c as getTrustedFields, b as getTrustedEntityAssociations } from "./getTrustedFields-rU6j1TOQ.js";
|
|
17
|
+
import { i as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-4YaweTCy.js";
|
|
18
|
+
import { I as IndividualDropin } from "./IndividualDropin-D5FrKUb-.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-CGAl-5Sk.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-DBv_dA-7.js";
|
|
14
14
|
import { useQueries } from "@tanstack/preact-query";
|
|
15
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-B08ICvGj.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-BQLamvB-.js";
|
|
18
|
+
import { M as Modal } from "./Modal-727fSuFr.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-fRmLeQb3.js";
|
|
20
|
+
import { e as useDataMissingRemediations } from "./OnboardingDropinComponent-CaRk-dgZ.js";
|
|
21
|
+
import { C as ContextGuidance } from "./ContextGuidance-8vbKs48u.js";
|
|
22
|
+
import { A as ActionBar } from "./ActionBar-Ruw6z6LR.js";
|
|
23
|
+
import { E as EntityAssociation } from "./EntityAssociation-BVxUknEP.js";
|
|
24
|
+
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-CbP4RqW4.js";
|
|
25
|
+
import { G as GuidanceQuestionValues, i as individualFormDefaultData } from "./mapLegalEntityToIndividualSchema-BxOmNDle.js";
|
|
26
|
+
import { u as useCapabilityProblems } from "./getProblemsForEntity-CNltAsMa.js";
|
|
27
|
+
import { b as getTrustedEntityAssociations } from "./getTrustedFields-rU6j1TOQ.js";
|
|
28
|
+
import { a as getDecisionMakerDescription, D as DecisionMakerDetails } from "./DecisionMakerDetails-D0-COO1N.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-R_fKlee-.js";
|
|
31
|
+
import { L as LandingLayout } from "./LandingLayout-CC_FGMAs.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-DXgI7aOv.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-CGAl-5Sk.js";
|
|
15
|
+
import { u as useForm } from "./useForm-OoKBR6oR.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-Dp70m25u.js";
|
|
13
|
+
import { y as TaskStatuses, u as useTranslation, aa as Skeleton, N as Typography } from "./StoreProvider-CGAl-5Sk.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-CGAl-5Sk.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-CGAl-5Sk.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-Sf7ovPdg.js";
|
|
16
|
+
import { C as Confirm } from "./Confirm-roUo52pe.js";
|
|
17
|
+
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-RivmWKE-.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-CGAl-5Sk.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-R_fKlee-.js";
|
|
14
|
+
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-RivmWKE-.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-CGAl-5Sk.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-CGAl-5Sk.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-CGAl-5Sk.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-727fSuFr.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-CGAl-5Sk.js";
|
|
11
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-B0FPRdWI.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-B76IOTvL.js";
|
|
14
|
+
import { i as isBafinSignatoryFlow } from "./bafinUtils-4YaweTCy.js";
|
|
15
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-3lClW_1M.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-DBv_dA-7.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-Bsp9NV_x.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-CGAl-5Sk.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-B08ICvGj.js";
|
|
18
|
+
import { a as addressValidators, A as Address, u as useProviderStatus } from "./Address-D0JjbOT4.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-CGss-4M6.js";
|
|
20
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DSPJpGk8.js";
|
|
21
|
+
import { u as useToastContext } from "./useToastContext-fRmLeQb3.js";
|
|
22
|
+
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-BWC3i2at.js";
|
|
23
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DoPR1iTm.js";
|
|
24
|
+
import { u as useMultiForm } from "./useMultiForm-CvhpFewv.js";
|
|
25
|
+
import { u as uppercase, A as AdyenKycSdkError, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-BS79kq3W.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-B0FPRdWI.js";
|
|
29
|
+
import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-BxOmNDle.js";
|
|
30
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-1Dg0ubhb.js";
|
|
31
|
+
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-DXgI7aOv.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-wLMc_uT-.js";
|
|
33
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-B76IOTvL.js";
|
|
34
|
+
import { l as localizeDateString } from "./localizeDateString-9ciBezNu.js";
|
|
35
|
+
import { o as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-DhUQJrjg.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-B9djDROe.js";
|
|
37
|
+
import { v as validatePatternOnBlur } from "./patternValidators-Cem-Icxv.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-3lClW_1M.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-R_fKlee-.js";
|
|
42
|
+
import { M as Modal } from "./Modal-727fSuFr.js";
|
|
43
|
+
import { L as LandingLayout } from "./LandingLayout-CC_FGMAs.js";
|
|
44
|
+
import { C as Confirm } from "./Confirm-roUo52pe.js";
|
|
45
|
+
import { a as getIndividualLegalEntityName } from "./getName-Ca2cTXzw.js";
|
|
46
|
+
import { b as idNowModalChildEntityId, a as idNowPostSubmit, s as showIdNowModal, c as shouldShowIdNowModal } from "./bafinUtils-4YaweTCy.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-Cn8gzNGG.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-BDI27kIy.js";
|
|
51
|
+
import { L as Link } from "./Link-C30mEtLP.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-nNag-jcu.js";
|
|
54
|
+
import { I as InputText } from "./InputText-DFjKyN6O.js";
|
|
55
|
+
import { C as CountryField } from "./CountryField-Cxih2YUu.js";
|
|
56
|
+
import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-DQa-nkgM.js";
|
|
57
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-zdJ_jyqE.js";
|
|
58
|
+
import { C as Checkbox } from "./Checkbox-DQGjbUsQ.js";
|
|
59
|
+
import { S as Select } from "./Select-Bt5Y91sI.js";
|
|
60
|
+
import { C as ContextGuidance } from "./ContextGuidance-8vbKs48u.js";
|
|
61
|
+
import { C as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES, i as individualRules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./Individual.rules-BrdY-Rew.js";
|
|
62
|
+
import { i as isTruthyValidator } from "./commonValidators-nusLcRK6.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-BN-K6-N2.js";
|
|
65
|
+
import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations--7Bt3usJ.js";
|
|
66
|
+
import { D as Dropzone } from "./Dropzone-Dy3XmCix.js";
|
|
67
|
+
import { i as isEmpty$1 } from "./isEmpty-BN2tOceJ.js";
|
|
68
68
|
import { Onfido } from "onfido-sdk-ui";
|
|
69
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
69
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CgNgcjW-.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-BGhv4y1a.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-DcJCN9dG.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-DFjKyN6O.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-CGAl-5Sk.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-CGAl-5Sk.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-DhfpqmVy.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-CaRk-dgZ.js";
|
|
16
16
|
const IntroductionScreens = {
|
|
17
17
|
PROLOGUE: "PROLOGUE",
|
|
18
18
|
INDIVIDUAL: TaskTypes.INDIVIDUAL,
|
package/dist/{InvitedDecisionMakerComponent-Bg-DMehe.js → InvitedDecisionMakerComponent-DT_SCB2u.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-CGAl-5Sk.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-Ca2cTXzw.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-R_fKlee-.js";
|
|
17
|
+
import { L as LandingLayout } from "./LandingLayout-CC_FGMAs.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-BQLamvB-.js";
|
|
20
|
+
import { g as getLandingLayoutProps, a as getDecisionMakerDescription, D as DecisionMakerDetails } from "./DecisionMakerDetails-D0-COO1N.js";
|
|
21
|
+
import { u as useTaskStatus } from "./getTrustedFields-rU6j1TOQ.js";
|
|
22
|
+
import { I as IndividualDropin } from "./IndividualDropin-D5FrKUb-.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-CGAl-5Sk.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-CGAl-5Sk.js";
|
|
14
|
+
import { F as Field } from "./Field-BDI27kIy.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-OoKBR6oR.js";
|
|
18
|
+
import { I as InputText } from "./InputText-DFjKyN6O.js";
|
|
19
|
+
import { M as MaskedInput, m as makeMask, n as numericInputs, a as nonInputs } from "./MaskedInput-B9djDROe.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-D0JjbOT4.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-BGhv4y1a.js";
|
|
24
|
+
import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations--7Bt3usJ.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-CGAl-5Sk.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-CGAl-5Sk.js";
|
|
11
|
+
import { d as validateLegalCompanyName, a as validateNotEmptyOnBlur, e as validateLatinSpaceMarkPunctuationNumbersOnlyOnBlur } from "./patternValidators-Cem-Icxv.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-BDI27kIy.js";
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-727fSuFr.js";
|
|
15
|
+
import { I as InputText } from "./InputText-DFjKyN6O.js";
|
|
16
16
|
const defaultFieldMetadata = {
|
|
17
17
|
label: "legalCompanyName",
|
|
18
18
|
validators: validateNotEmptyOnBlur
|