@adyen/kyc-components 3.92.0-beta.0 → 3.92.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-Vy4EoqfY.js → AcceptTermsOfServiceComponent-T7eWi57Z.js} +15 -15
- package/dist/{Accordion-TyLq5Pt9.js → Accordion-Boa_Vira.js} +1 -1
- package/dist/{AccountSetupRejected-BrFbSgmI.js → AccountSetupRejected-LAVhMMBt.js} +3 -3
- package/dist/{ActionBar-DOPIUymP.js → ActionBar-CK8dwgSJ.js} +1 -1
- package/dist/{Address-HRaj8XNz.js → Address-ki-bCjUJ.js} +9 -9
- package/dist/{Alert-BPoTdDyt.js → Alert-TCEgDc2-.js} +2 -2
- package/dist/{Avatar-BRV3DttH.js → Avatar-AC-D1DKh.js} +1 -1
- package/dist/{BusinessFinancingComponent-1pqliuym.js → BusinessFinancingComponent-Cf-EEnyR.js} +4 -4
- package/dist/{BusinessFinancingDropin-Byl_Re9w.js → BusinessFinancingDropin-DeLlYaOF.js} +27 -27
- package/dist/{BusinessFinancingPage-By3Lk3NV.js → BusinessFinancingPage-DtX8x3Zp.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-D18CAaFZ.js → BusinessTypeSelectionPage-6Ltt53Mu.js} +8 -8
- package/dist/{Card-BiS0Yscp.js → Card-Det7uTiv.js} +2 -2
- package/dist/{Checkbox-Ff2-ooFq.js → Checkbox-D8rB6_HN.js} +1 -1
- package/dist/{Confirm-Bf-PgAN9.js → Confirm-Ctfqp-1b.js} +2 -2
- package/dist/{ConstitutionalDocument-C4D83Oyc.js → ConstitutionalDocument-TJAc9nDQ.js} +17 -17
- package/dist/{ContextGuidance-DSXbJX_h.js → ContextGuidance-CCknw_Y1.js} +2 -2
- package/dist/{CountryField-BtSEQwBU.js → CountryField-DzmOWqiE.js} +4 -4
- package/dist/{CreateIndividualComponent-6D_lJ-AI.js → CreateIndividualComponent-_H34wdze.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-B7-RekUU.js → CreateTransferInstrumentComponent-CmnVEFaB.js} +3 -3
- package/dist/{Currency-D-7-W_72.js → Currency-C2egEHMF.js} +6 -6
- package/dist/{CustomerSupport-BkXsR6Rq.js → CustomerSupport-DLfbNC-J.js} +10 -10
- package/dist/{DebugModal-DLi9PLGE.js → DebugModal-C0uG_A8N.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-BljW79ic.js → DecisionMakerDetailsPage-BTR-hRwO.js} +5 -5
- package/dist/{DecisionMakers-D_aoBd5m.js → DecisionMakers-B4qQ3M6Y.js} +21 -21
- package/dist/{Dropzone-JJg7ahoc.js → Dropzone-CKT3THCY.js} +3 -3
- package/dist/{EmbeddedStatus-DJ8acbqR.js → EmbeddedStatus-Bst5MPzi.js} +2 -2
- package/dist/{EndStateLayout-CN2zBkHs.js → EndStateLayout-Ck_Lvgng.js} +1 -1
- package/dist/{EntityAssociation-s9JxvNGu.js → EntityAssociation-bcF_I_DK.js} +7 -7
- package/dist/{EntityGuidanceStatus-0rWkTXf6.js → EntityGuidanceStatus-D6VoRE_0.js} +2 -2
- package/dist/{ErrorPanel-C0tG5hg9.js → ErrorPanel-CFN2G9Vz.js} +11 -4
- package/dist/{Field-7VEEzNuR.js → Field-B3Vy1-QZ.js} +1 -1
- package/dist/{FormNavigation-BFWLgvCp.js → FormNavigation-Brw-75s0.js} +2 -2
- package/dist/{FormWrapper-Cu7Ro0sA.js → FormWrapper-BcNyCMkD.js} +8 -8
- package/dist/{Header-AHWUfO0O.js → Header-YafgG5Nz.js} +1 -1
- package/dist/{Image-DEnYyKm9.js → Image-Cvb4hnru.js} +1 -1
- package/dist/{IndividualOnfidoDropin-DY5OrhKl.js → IndividualOnfidoDropin-Dy5obHs1.js} +60 -65
- package/dist/{InputDate-DXZciuhR.js → InputDate-UCHQ3zOB.js} +1 -1
- package/dist/{InputText-C5aotXLF.js → InputText-DGKAS6ZI.js} +1 -1
- package/dist/{Introduction-CWqdBTZe.js → Introduction-DOxSVZ6X.js} +3 -3
- package/dist/{JpAddress-uSDdk01M.js → JpAddress-DClXaVjy.js} +8 -8
- package/dist/{LandingLayout-unV6i-t6.js → LandingLayout-co7NR2te.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-EPO0scJy.js → LegalRepresentativeDetailsPage-DOP3L2r9.js} +3 -3
- package/dist/{Link-CO6LxwUV.js → Link-DWTJ55UO.js} +1 -1
- package/dist/{ListItem-Crm2LUE7.js → ListItem-B8D-kUHN.js} +2 -2
- package/dist/{LoaderWrapper-CvZ8iY1N.js → LoaderWrapper-CUz5NRFr.js} +1 -1
- package/dist/{ManageIndividualComponent-B0Lb8ovG.js → ManageIndividualComponent-DND7vuna.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-CnzZ_urp.js → ManageTermsOfServiceComponent-ylDupO1E.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-COiyVAWP.js → ManageTransferInstrumentComponent-CgUfGP5E.js} +12 -12
- package/dist/{MaskedInput-C3XjWT0l.js → MaskedInput-Cn0VAuEp.js} +4 -4
- package/dist/{MaybeModal-sGLMQumb.js → MaybeModal-CWCEHeOg.js} +2 -2
- package/dist/{Modal-DhUlPxeb.js → Modal-pyBUluei.js} +1 -1
- package/dist/{OnboardingDropinComponent-DduSUFwg.js → OnboardingDropinComponent-DwKImil4.js} +43 -43
- package/dist/{PayoutDetailsDropin-DO_cUYLn.js → PayoutDetailsDropin-lYVb5WCQ.js} +41 -41
- package/dist/{RadioGroup-CmsPnWWx.js → RadioGroup-DPc8nUuk.js} +1 -1
- package/dist/{RadioGroupCard-CThIzcAP.js → RadioGroupCard-Pj9qq4uW.js} +1 -1
- package/dist/{Review-BaeK2ax1.js → Review-gkTjl3a8.js} +6 -6
- package/dist/{RootBusinessDetailsPage-DDC4ywPk.js → RootBusinessDetailsPage-DjwEzuLA.js} +4 -4
- package/dist/{RootBusinessLinesPage-D3x5QwhX.js → RootBusinessLinesPage-2-U3mf6i.js} +23 -23
- package/dist/{RootIndividualDetailsPage--ypbdWKy.js → RootIndividualDetailsPage-BFYP63_i.js} +5 -5
- package/dist/{Select-ClLBkh__.js → Select-D1rFT3T8.js} +3 -3
- package/dist/{SignPCIComponent-0eskXMz7.js → SignPCIComponent-DqElmjjG.js} +11 -11
- package/dist/{SingpassSelection-DP0Az7z2.js → SingpassSelection-eruroIiQ.js} +5 -5
- package/dist/{SoleProprietorshipPage-OmuYERKB.js → SoleProprietorshipPage-7YdzA7iH.js} +3 -3
- package/dist/{SourceOfFundsPage-Cx6gp9ED.js → SourceOfFundsPage-C_wiSoc4.js} +34 -34
- package/dist/{StepProgressIndicator-DnYrIdMx.js → StepProgressIndicator-DLoEzGro.js} +1 -1
- package/dist/{StoreProvider-W47xsQUu.js → StoreProvider-D9IR5HNN.js} +65 -8
- package/dist/{Summary-DN3ZoZ79.js → Summary-Bq94iVfc.js} +5 -5
- package/dist/{TaskVerificationStatus-Cwymj2Ol.js → TaskVerificationStatus-BLCkXEn6.js} +1 -1
- package/dist/{TaxInformationField-Bi-HNy9o.js → TaxInformationField-c-ZWfhUk.js} +20 -20
- package/dist/{TaxReportingDropin-dXjapFu-.js → TaxReportingDropin-ajO0q4eZ.js} +16 -16
- package/dist/{TextArea-C57-MXu6.js → TextArea-D9eJloeE.js} +1 -1
- package/dist/{TileGroup-flkyMBT_.js → TileGroup-CaY3i_T7.js} +2 -2
- package/dist/{TrustDetailsPage-D7nr7CC4.js → TrustDetailsPage-BWXZX4-u.js} +34 -34
- package/dist/{TrustMemberCompanyPage-CE_uTQOo.js → TrustMemberCompanyPage-CJj2BpXu.js} +4 -4
- package/dist/{TrustMemberIndividualPage-D4EVPNlG.js → TrustMemberIndividualPage-BXp9RXDw.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-D5gI0Gzo.js → TrustMemberRoleAndTypePage-gYJ5U6RH.js} +20 -20
- package/dist/{TrustMembersOverview-CVmv6vdE.js → TrustMembersOverview-Chmnt5jS.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-B-WRrUA4.js → UnincorporatedPartnershipIndividualPage-DckUiPPY.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CJbmdMjv.js → UnincorporatedPartnershipMemberCompanyPage-Bx0A5Bit.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-COsaOYJ1.js → UnincorporatedPartnershipMemberRoleAndTypePage-CEE1hzIn.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-C5MiQ-XT.js → UnincorporatedPartnershipMembersOverview-wB8K9r6g.js} +8 -8
- package/dist/{VerificationErrorAlert-CyABKcVJ.js → VerificationErrorAlert-DZ5OOTBN.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-Bro8s_1w.js → ViewVerificationStatusComponent-BVY4YUJf.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-kyc-components.js +19 -19
- 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-DWV_aQ7N.js → bafinUtils-Wct4TWLH.js} +8 -3
- package/dist/{commonValidators-BedeKU4L.js → commonValidators-DcFd5CHs.js} +1 -1
- package/dist/{dropinUtils-m7wayRwp.js → dropinUtils-BpJn607e.js} +3 -3
- package/dist/{fieldConfig-C-_i0hDz.js → fieldConfig-BPwb1GHc.js} +5 -5
- package/dist/{formUtils-Drzd7b3k.js → formUtils-BlVlgetw.js} +2 -2
- package/dist/{getName-B5kzxk6G.js → getName-CzpJ9tV7.js} +1 -1
- package/dist/{hasDataChanged-BqqFpYRL.js → hasDataChanged-8e8x8zjz.js} +1 -1
- package/dist/{iframeWidget-Df-nn8Ck.js → iframeWidget-D6BlBF0m.js} +3 -3
- package/dist/{isEmpty-HRxa_zYH.js → isEmpty-CsYVgjoD.js} +1 -1
- package/dist/{japanSupportUtils-BOLnerxh.js → japanSupportUtils-iATUjnbf.js} +1 -1
- package/dist/{localizeDateString-DT6PuuWW.js → localizeDateString-BHDr1NID.js} +1 -1
- package/dist/{makeSelectItemForRole-C3I_y3xv.js → makeSelectItemForRole-Bm2NwBxD.js} +7 -7
- package/dist/{mapExistingFile-C-X_xbb-.js → mapExistingFile-DNBa6Ekj.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-DAYmQzHJ.js → mapJpAddressSchemaToAddressLocalizations-BNb8d51F.js} +4 -4
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-B2EbcJiY.js → mapLegalEntityToIndividualOnfidoSchema-DREgz5Ms.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-BfbOIklK.js → mapTransferInstrumentToPayoutAccount-C5NqOfNW.js} +1 -1
- package/dist/{patternValidators-CJjmcLv6.js → patternValidators-BXduwLbz.js} +1 -1
- package/dist/{process-field-configurations-DDW8ZNWq.js → process-field-configurations-B26ehyAw.js} +2 -2
- package/dist/{resolveEnvironment-C7RbnxkQ.js → resolveEnvironment-B5Yrsa4J.js} +3 -3
- package/dist/{roleMetadata-T3M-IFqy.js → roleMetadata-DmgqzhZJ.js} +1 -1
- package/dist/{rules-DEF6yHR3.js → rules-B_6RrE9T.js} +4 -4
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/utils/api/processCapabilitites.d.ts +13 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/{types-zMT0iFYS.js → types-C6ntGMCy.js} +1 -1
- package/dist/{types-oWnX4KZg.js → types-CpAtsPmJ.js} +1 -1
- package/dist/{types-D6ybrcVj.js → types-c9nG7Dev.js} +1 -1
- package/dist/{useAssociatedLegalEntity-ZXsa10__.js → useAssociatedLegalEntity-ahBb64MW.js} +1 -1
- package/dist/{useBusinessDetailsData-BsK9Q1gT.js → useBusinessDetailsData-qQ2HRnKK.js} +49 -49
- package/dist/{useCreateLegalEntity-B8-esZnc.js → useCreateLegalEntity-Kc8_ZlAe.js} +1 -1
- package/dist/{useDataset-CnOuN1op.js → useDataset-DfKmlbQd.js} +1 -1
- package/dist/{useForm-N9aTiFDr.js → useForm-9uKM-XKf.js} +2 -2
- package/dist/{useFormContext-CbeJNsuq.js → useFormContext-CvQfKDA3.js} +6 -6
- package/dist/{useGlobalData-Cy0Lkfo4.js → useGlobalData-BVQ2OrIi.js} +1 -1
- package/dist/{useMultiForm-D7a7Rxi8.js → useMultiForm-pAiPIh7X.js} +3 -3
- package/dist/{useOnboardingStatus-CvGvC8eS.js → useOnboardingStatus-BhDBSLB6.js} +1 -1
- package/dist/{useScenarios-XDDpaOsu.js → useScenarios-DFW21Vhf.js} +1 -1
- package/dist/{useTermsOfServiceStatus-CJ3GEMsU.js → useTermsOfServiceStatus-BnO0rXiL.js} +1 -1
- package/dist/{useToastContext-0CCfpAXY.js → useToastContext-D6Lbxqj9.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-Dz-2asjR.js → useUnincorporatedPartnershipMembers-CIC7xPbD.js} +3 -3
- package/dist/{useUpdateBusinessLines-deoRDumy.js → useUpdateBusinessLines-WlwUOtSU.js} +3 -3
- package/dist/{useUpdateLegalEntity-Cjpc9gbA.js → useUpdateLegalEntity-CStkUt4I.js} +2 -2
- package/dist/{utils-BiZgCW0f.js → utils-7_xBiPO_.js} +1 -1
- package/dist/{utils-Cd-fDpb4.js → utils-BmxzrkCX.js} +1 -1
- package/dist/{utils-BGoLwepn.js → utils-CB39nVjj.js} +5 -5
- package/dist/{utils-2HQj3ubz.js → utils-CDAwsXQa.js} +2 -2
- package/dist/{utils-D_3K0EUL.js → utils-DOiFhaKn.js} +1 -1
- package/dist/{validate-BKUb24fK.js → validate-Bsx2oHT1.js} +2 -2
- package/dist/{validate-Dhy-erPs.js → validate-D-l23QLG.js} +1 -1
- package/dist/{validate-BsV3Wrf3.js → validate-D4iK6FUk.js} +7 -7
- package/dist/{validationError-D41eekah.js → validationError-DYYlX-5X.js} +1 -1
- package/package.json +1 -1
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { i as isDateOlderThanAYear } from "./Address-
|
|
11
|
-
import { aO as drop, b as useApiContext, j as useQuery, m as httpGet, aj as useI18nContext, H as createLogger, i as isUndefinedOrNull, u as useTranslation } from "./StoreProvider-
|
|
10
|
+
import { i as isDateOlderThanAYear } from "./Address-ki-bCjUJ.js";
|
|
11
|
+
import { aO as drop, b as useApiContext, j as useQuery, m as httpGet, aj as useI18nContext, H as createLogger, i as isUndefinedOrNull, u as useTranslation } from "./StoreProvider-D9IR5HNN.js";
|
|
12
12
|
import { jsx } from "preact/jsx-runtime";
|
|
13
13
|
import { useRef, useEffect, useCallback, useMemo, useState } from "preact/hooks";
|
|
14
|
-
import { F as Field } from "./Field-
|
|
15
|
-
import { S as Select } from "./Select-
|
|
16
|
-
import { I as InputText, a as InputBase } from "./InputText-
|
|
17
|
-
import { c as currencyByCountry } from "./types-
|
|
14
|
+
import { F as Field } from "./Field-B3Vy1-QZ.js";
|
|
15
|
+
import { S as Select } from "./Select-D1rFT3T8.js";
|
|
16
|
+
import { I as InputText, a as InputBase } from "./InputText-DGKAS6ZI.js";
|
|
17
|
+
import { c as currencyByCountry } from "./types-C6ntGMCy.js";
|
|
18
18
|
const mapFinancialInformationToFinancialReport = ({
|
|
19
19
|
currency,
|
|
20
20
|
financialReportingDate,
|
|
@@ -8,18 +8,18 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { c as useLegalEntity, R as ROOT_LE, L as Loader, O as EntityTypes, u as useTranslation, V as useAnalyticsContext, ao as useQueryClient, H as createLogger } from "./StoreProvider-
|
|
11
|
+
import { c as useLegalEntity, R as ROOT_LE, L as Loader, O as EntityTypes, u as useTranslation, V as useAnalyticsContext, ao as useQueryClient, H as createLogger } from "./StoreProvider-D9IR5HNN.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { a as contactDetailsValidationRules, d as defaultFieldMetadata, f as fieldConfig, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules, C as ContactDetails } from "./validate-
|
|
15
|
-
import { H as Header } from "./Header-
|
|
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 "./Image-
|
|
13
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CStkUt4I.js";
|
|
14
|
+
import { a as contactDetailsValidationRules, d as defaultFieldMetadata, f as fieldConfig, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules, C as ContactDetails } from "./validate-D4iK6FUk.js";
|
|
15
|
+
import { H as Header } from "./Header-YafgG5Nz.js";
|
|
16
|
+
import { u as useToastContext } from "./useToastContext-D6Lbxqj9.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-pAiPIh7X.js";
|
|
18
|
+
import { E as ErrorPanel } from "./ErrorPanel-CFN2G9Vz.js";
|
|
19
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-Cvb4hnru.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-BlVlgetw.js";
|
|
22
|
+
import { A as ActionBar } from "./ActionBar-CK8dwgSJ.js";
|
|
23
23
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
24
24
|
return {
|
|
25
25
|
email: customerSupport?.customerSupport?.email || "",
|
|
@@ -2,21 +2,21 @@
|
|
|
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] = "f8750145-fa79-4214-9b15-07bbccaef8fb", e._sentryDebugIdIdentifier = "sentry-dbid-f8750145-fa79-4214-9b15-07bbccaef8fb");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { B as Button, al as entriesOf, u as useTranslation, bw as splitTaskIdentifier, Z as useExperimentsContext, o as useSettingsContext, aj as useI18nContext, a2 as useGlobalStore, b1 as listToRecord, bx as valuesOf, H as createLogger, W as Icon } from "./StoreProvider-
|
|
13
|
-
import { M as Modal } from "./Modal-
|
|
12
|
+
import { B as Button, al as entriesOf, u as useTranslation, bw as splitTaskIdentifier, Z as useExperimentsContext, o as useSettingsContext, aj as useI18nContext, a2 as useGlobalStore, b1 as listToRecord, bx as valuesOf, H as createLogger, W as Icon } from "./StoreProvider-D9IR5HNN.js";
|
|
13
|
+
import { M as Modal } from "./Modal-pyBUluei.js";
|
|
14
14
|
import { E as ExperimentNames } from "./types-Dk94b8kx.js";
|
|
15
|
-
import { T as TaskVerificationStatus, S as SettingNames } from "./TaskVerificationStatus-
|
|
16
|
-
import { I as InputText } from "./InputText-
|
|
15
|
+
import { T as TaskVerificationStatus, S as SettingNames } from "./TaskVerificationStatus-BLCkXEn6.js";
|
|
16
|
+
import { I as InputText } from "./InputText-DGKAS6ZI.js";
|
|
17
17
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
18
|
-
import { A as Accordion } from "./Accordion-
|
|
19
|
-
import { C as Checkbox } from "./Checkbox-
|
|
18
|
+
import { A as Accordion } from "./Accordion-Boa_Vira.js";
|
|
19
|
+
import { C as Checkbox } from "./Checkbox-D8rB6_HN.js";
|
|
20
20
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
21
21
|
import MonogonCode from "monogon/preact";
|
|
22
22
|
const tabs = "adyen-kyc-tabs";
|
|
@@ -327,7 +327,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
327
327
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
328
328
|
const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
|
|
329
329
|
const metadata = {
|
|
330
|
-
sdkVersion: "3.92.0
|
|
330
|
+
sdkVersion: "3.92.0",
|
|
331
331
|
locale: i18n.locale,
|
|
332
332
|
rootLegalEntityId: rootLegalEntity.id
|
|
333
333
|
};
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, w as skipToken, Z as useExperimentsContext, g as getLegalEntityCountry, u as useTranslation, a as addResourceBundles, L as Loader, ae as isOnfidoAutofillFlowEnabled, Y as noop, U as TaskTypes, O as EntityTypes, r as LegalEntityTypes, _ as __variableDynamicImportRuntimeHelper, bp as individualOnfidoBaseMapping, aN as individualComponentsKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { c as useLegalEntity, w as skipToken, Z as useExperimentsContext, g as getLegalEntityCountry, u as useTranslation, a as addResourceBundles, L as Loader, ae as isOnfidoAutofillFlowEnabled, Y as noop, U as TaskTypes, O as EntityTypes, r as LegalEntityTypes, _ as __variableDynamicImportRuntimeHelper, bp as individualOnfidoBaseMapping, aN as individualComponentsKeyMapping } from "./StoreProvider-D9IR5HNN.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useScenarios } from "./useScenarios-
|
|
13
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-
|
|
14
|
-
import { i as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory, g as getTrustedFieldsProvider, a as getTrustedFields, d as getTrustedEntityAssociations } from "./bafinUtils-
|
|
15
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
12
|
+
import { u as useScenarios } from "./useScenarios-DFW21Vhf.js";
|
|
13
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-Cvb4hnru.js";
|
|
14
|
+
import { i as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory, g as getTrustedFieldsProvider, a as getTrustedFields, d as getTrustedEntityAssociations } from "./bafinUtils-Wct4TWLH.js";
|
|
15
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-Dy5obHs1.js";
|
|
16
16
|
function DecisionMakerDetailsPage({
|
|
17
17
|
decisionMakerId,
|
|
18
18
|
parentCompanyId,
|
|
@@ -7,36 +7,36 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { ag as DecisionMakerTypes, aO as drop, ak as cloneObject, u as useTranslation, c as useLegalEntity, B as Button, L as Loader, G as Typography, V as useAnalyticsContext, R as ROOT_LE, a as addResourceBundles, a1 as useGetTaskStatus, Z as useExperimentsContext, O as EntityTypes, P as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, at as getOwnDecisionMakers, aX as getAvailableDecisionMakerRoleTypes, U as TaskTypes, aQ as getAllowedDecisionMakerRoles, aF as Trans, J as TaskStatuses, _ as __variableDynamicImportRuntimeHelper, r as LegalEntityTypes } from "./StoreProvider-
|
|
10
|
+
import { ag as DecisionMakerTypes, aO as drop, ak as cloneObject, u as useTranslation, c as useLegalEntity, B as Button, L as Loader, G as Typography, V as useAnalyticsContext, R as ROOT_LE, a as addResourceBundles, a1 as useGetTaskStatus, Z as useExperimentsContext, O as EntityTypes, P as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, at as getOwnDecisionMakers, aX as getAvailableDecisionMakerRoleTypes, U as TaskTypes, aQ as getAllowedDecisionMakerRoles, aF as Trans, J as TaskStatuses, _ as __variableDynamicImportRuntimeHelper, r as LegalEntityTypes } from "./StoreProvider-D9IR5HNN.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useScenarios } from "./useScenarios-
|
|
14
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
-
import { H as Header } from "./Header-
|
|
13
|
+
import { u as useScenarios } from "./useScenarios-DFW21Vhf.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CStkUt4I.js";
|
|
15
|
+
import { H as Header } from "./Header-YafgG5Nz.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-
|
|
17
|
+
import { L as ListItem } from "./ListItem-B8D-kUHN.js";
|
|
18
|
+
import { M as Modal } from "./Modal-pyBUluei.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-D6Lbxqj9.js";
|
|
20
|
+
import { e as useDataMissingRemediations } from "./OnboardingDropinComponent-DwKImil4.js";
|
|
21
21
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
22
|
-
import { a as Alert } from "./Alert-
|
|
23
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
24
|
-
import { A as ActionBar } from "./ActionBar-
|
|
22
|
+
import { a as Alert } from "./Alert-TCEgDc2-.js";
|
|
23
|
+
import { C as ContextGuidance } from "./ContextGuidance-CCknw_Y1.js";
|
|
24
|
+
import { A as ActionBar } from "./ActionBar-CK8dwgSJ.js";
|
|
25
25
|
import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
|
|
26
|
-
import { E as EntityAssociation } from "./EntityAssociation-
|
|
27
|
-
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-
|
|
28
|
-
import { T as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
29
|
-
import { G as GuidanceQuestionValues, m as mapLegalEntityToIndividualOnfidoSchema, i as individualFormDefaultData } from "./mapLegalEntityToIndividualOnfidoSchema-
|
|
30
|
-
import { I as Image, u as useCapabilityProblems } from "./Image-
|
|
31
|
-
import { d as getTrustedEntityAssociations } from "./bafinUtils-
|
|
26
|
+
import { E as EntityAssociation } from "./EntityAssociation-bcF_I_DK.js";
|
|
27
|
+
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-D6VoRE_0.js";
|
|
28
|
+
import { T as TaskVerificationStatus } from "./TaskVerificationStatus-BLCkXEn6.js";
|
|
29
|
+
import { G as GuidanceQuestionValues, m as mapLegalEntityToIndividualOnfidoSchema, i as individualFormDefaultData } from "./mapLegalEntityToIndividualOnfidoSchema-DREgz5Ms.js";
|
|
30
|
+
import { I as Image, u as useCapabilityProblems } from "./Image-Cvb4hnru.js";
|
|
31
|
+
import { d as getTrustedEntityAssociations } from "./bafinUtils-Wct4TWLH.js";
|
|
32
32
|
import { S as StructuredList } from "./StructuredList-9dnJRdx_.js";
|
|
33
33
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
34
|
-
import { C as Confirm } from "./Confirm-
|
|
35
|
-
import { m as mapAddressLabels } from "./utils-
|
|
34
|
+
import { C as Confirm } from "./Confirm-Ctfqp-1b.js";
|
|
35
|
+
import { m as mapAddressLabels } from "./utils-BmxzrkCX.js";
|
|
36
36
|
import { a as datasetUtilities } from "./datasetUtil-BHQp0-xL.js";
|
|
37
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
37
|
+
import { l as localizeDateString } from "./localizeDateString-BHDr1NID.js";
|
|
38
38
|
import { lazy } from "preact/compat";
|
|
39
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
39
|
+
import { L as LandingLayout } from "./LandingLayout-co7NR2te.js";
|
|
40
40
|
const BENEFICIAL_OWNER_ROLES = [
|
|
41
41
|
DecisionMakerTypes.OWNER,
|
|
42
42
|
DecisionMakerTypes.CONTROLLING_PERSON,
|
|
@@ -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-Bsx2oHT1.js";
|
|
12
12
|
import cx from "classnames";
|
|
13
13
|
import { useRef, useState, useMemo, useEffect } from "preact/hooks";
|
|
14
|
-
import { u as useTranslation, V as useAnalyticsContext, B as Button, G as Typography, W as Icon } from "./StoreProvider-
|
|
15
|
-
import { u as useForm } from "./useForm-
|
|
14
|
+
import { u as useTranslation, V as useAnalyticsContext, B as Button, G as Typography, W as Icon } from "./StoreProvider-D9IR5HNN.js";
|
|
15
|
+
import { u as useForm } from "./useForm-9uKM-XKf.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 { J as TaskStatuses, u as useTranslation, y as Skeleton, G as Typography } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-AC-D1DKh.js";
|
|
13
|
+
import { J as TaskStatuses, u as useTranslation, y as Skeleton, G as Typography } from "./StoreProvider-D9IR5HNN.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 { B as Button, L as Loader, W as Icon } from "./StoreProvider-
|
|
13
|
+
import { B as Button, L as Loader, W as Icon } from "./StoreProvider-D9IR5HNN.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,14 +9,14 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useCallback, useEffect, useState } from "preact/hooks";
|
|
12
|
-
import { B as Button, u as useTranslation, X as IconButton, J as TaskStatuses, Y as noop } from "./StoreProvider-
|
|
12
|
+
import { B as Button, u as useTranslation, X as IconButton, J as TaskStatuses, Y as noop } from "./StoreProvider-D9IR5HNN.js";
|
|
13
13
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
14
|
-
import { V as VerificationErrorAlert } from "./VerificationErrorAlert-
|
|
15
|
-
import { C as Card } from "./Card-
|
|
16
|
-
import { C as Confirm } from "./Confirm-
|
|
17
|
-
import { T as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
18
|
-
import { h as handleKeys } from "./bafinUtils-
|
|
19
|
-
import { a as getRoleTagVariant, g as getRoleName } from "./roleMetadata-
|
|
14
|
+
import { V as VerificationErrorAlert } from "./VerificationErrorAlert-DZ5OOTBN.js";
|
|
15
|
+
import { C as Card } from "./Card-Det7uTiv.js";
|
|
16
|
+
import { C as Confirm } from "./Confirm-Ctfqp-1b.js";
|
|
17
|
+
import { T as TaskVerificationStatus } from "./TaskVerificationStatus-BLCkXEn6.js";
|
|
18
|
+
import { h as handleKeys } from "./bafinUtils-Wct4TWLH.js";
|
|
19
|
+
import { a as getRoleTagVariant, g as getRoleName } from "./roleMetadata-DmgqzhZJ.js";
|
|
20
20
|
function useClickAwayListener(ref, onClickAway) {
|
|
21
21
|
const handleClickAway = useCallback(
|
|
22
22
|
(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 { bz as getDecisionMakerDescriptionMap, U as TaskTypes, bA as TRUST_DEFAULT_DESCRIPTIONS_MAP, W as Icon, u as useTranslation, aF as Trans } from "./StoreProvider-
|
|
12
|
+
import { bz as getDecisionMakerDescriptionMap, U as TaskTypes, bA as TRUST_DEFAULT_DESCRIPTIONS_MAP, W as Icon, u as useTranslation, aF as Trans } from "./StoreProvider-D9IR5HNN.js";
|
|
13
13
|
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-MeN1dp53.js";
|
|
14
|
-
import { a as getRoleTagVariant, g as getRoleName } from "./roleMetadata-
|
|
14
|
+
import { a as getRoleTagVariant, g as getRoleName } from "./roleMetadata-DmgqzhZJ.js";
|
|
15
15
|
const UNINCORPORATED_PARTNERSHIP__DEFAULT_DESCRIPTIONS_MAP = {
|
|
16
16
|
[UnincorporatedPartnershipMemberTypes.SECONDARY_PARTNER]: "provideAtLeastOneSecondaryPartner",
|
|
17
17
|
[UnincorporatedPartnershipMemberTypes.OWNER]: "provideAllOwners",
|
|
@@ -2,15 +2,15 @@
|
|
|
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] = "c76f1588-7500-4b2a-9ca7-cb2566efd49a", e._sentryDebugIdIdentifier = "sentry-dbid-c76f1588-7500-4b2a-9ca7-cb2566efd49a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useContext, useCallback } from "preact/hooks";
|
|
12
|
-
import { B as Button, u as useTranslation, b0 as keysOf, bk as remediationHasFileUploadField } from "./StoreProvider-
|
|
13
|
-
import { a as Alert } from "./Alert-
|
|
12
|
+
import { B as Button, u as useTranslation, b0 as keysOf, bk as remediationHasFileUploadField } from "./StoreProvider-D9IR5HNN.js";
|
|
13
|
+
import { a as Alert } from "./Alert-TCEgDc2-.js";
|
|
14
14
|
import { createContext } from "preact";
|
|
15
15
|
const FormRouterContext = createContext(null);
|
|
16
16
|
function useFormRouterContext() {
|
|
@@ -74,10 +74,17 @@ function VerificationErrors({
|
|
|
74
74
|
const { t } = useTranslation("common");
|
|
75
75
|
const getErrorMessage = (errorCode) => t(($) => $[`errorMessage_${errorCode}`]);
|
|
76
76
|
const getRemediationMessage = (remediationActions, uploadFieldCollection) => {
|
|
77
|
+
const uploadFields = uploadFieldCollection ? Object.keys(uploadFieldCollection) : [];
|
|
78
|
+
if (remediationActions?.length === 1 && uploadFields.length === 1) {
|
|
79
|
+
const firstUploadField = uploadFields[0];
|
|
80
|
+
const label = t(
|
|
81
|
+
($) => $[`remediationMessage_${uploadFieldCollection[firstUploadField]?.remediation.code}`]
|
|
82
|
+
);
|
|
83
|
+
return /* @__PURE__ */ jsx(NavigateToFieldLink, { fieldName: firstUploadField, label });
|
|
84
|
+
}
|
|
77
85
|
if (remediationActions?.length === 1) {
|
|
78
86
|
return t(($) => $[`remediationMessage_${remediationActions[0].code}`]);
|
|
79
87
|
}
|
|
80
|
-
const uploadFields = uploadFieldCollection ? Object.keys(uploadFieldCollection) : [];
|
|
81
88
|
let uploadFilesCopy;
|
|
82
89
|
if (uploadFields.length > 0) {
|
|
83
90
|
if (uploadFields.length > 1) {
|
|
@@ -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, V as useAnalyticsContext, W as Icon, z as translateStringOrObject } from "./StoreProvider-
|
|
13
|
+
import { u as useTranslation, V as useAnalyticsContext, W as Icon, z as translateStringOrObject } from "./StoreProvider-D9IR5HNN.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, W as Icon, V as useAnalyticsContext, G as Typography } from "./StoreProvider-
|
|
12
|
+
import { u as useTranslation, W as Icon, V as useAnalyticsContext, G as Typography } from "./StoreProvider-D9IR5HNN.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-pyBUluei.js";
|
|
15
15
|
const FormNavigationItem = ({
|
|
16
16
|
form,
|
|
17
17
|
isActive,
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { u as useTranslation, V as useAnalyticsContext, Z as useExperimentsContext, B as Button } from "./StoreProvider-
|
|
13
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
14
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
15
|
-
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-
|
|
12
|
+
import { u as useTranslation, V as useAnalyticsContext, Z as useExperimentsContext, B as Button } from "./StoreProvider-D9IR5HNN.js";
|
|
13
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CUz5NRFr.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-CWCEHeOg.js";
|
|
15
|
+
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-pyBUluei.js";
|
|
16
16
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
17
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
18
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
19
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
20
|
-
import { s as summaryStep, S as Summary } from "./Summary-
|
|
17
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-DLoEzGro.js";
|
|
18
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-BpJn607e.js";
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-Brw-75s0.js";
|
|
20
|
+
import { s as summaryStep, S as Summary } from "./Summary-Bq94iVfc.js";
|
|
21
21
|
const FormWrapper = ({
|
|
22
22
|
asModal = false,
|
|
23
23
|
summary,
|
|
@@ -11,7 +11,7 @@ import { jsxs, jsx } from "preact/jsx-runtime";
|
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { defineSlots } from "named-slots";
|
|
13
13
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
14
|
-
import { T as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
14
|
+
import { T as TaskVerificationStatus } from "./TaskVerificationStatus-BLCkXEn6.js";
|
|
15
15
|
const header = "adyen-kyc-header";
|
|
16
16
|
const headerMargin = "adyen-kyc-header-margin";
|
|
17
17
|
const headerMarginSecondary = "adyen-kyc-header-margin-secondary";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { c as useLegalEntity, R as ROOT_LE, Z as useExperimentsContext, ai as getCapabilityProblems, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-
|
|
11
|
+
import { c as useLegalEntity, R as ROOT_LE, Z as useExperimentsContext, ai as getCapabilityProblems, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-D9IR5HNN.js";
|
|
12
12
|
import { jsx } from "preact/jsx-runtime";
|
|
13
13
|
import { Suspense } from "preact/compat";
|
|
14
14
|
const useCapabilityProblems = () => {
|
|
@@ -2,76 +2,76 @@
|
|
|
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] = "09ac3794-55a2-4c7b-93d8-c0ab80476459", e._sentryDebugIdIdentifier = "sentry-dbid-09ac3794-55a2-4c7b-93d8-c0ab80476459");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useEffect, useMemo, useState, useCallback } from "preact/hooks";
|
|
12
|
-
import { u as useScenarios } from "./useScenarios-
|
|
13
|
-
import { b as useApiContext, am as useMutation, k as httpPost, aw as matchesRegex, ax as trimValWithOneSpace, ay as NO_ALPHABET_REGEX, az as EMOJI_REGEX, aA as hasRepeatedCharacters, aB as isInvalidName, aC as INDIVIDUAL_VALID_CHAR_REGEX, aD as getFormattingRegEx, aE as SPECIAL_CHARS, C as CountryCodes, ah as Scenarios, ag as DecisionMakerTypes, U as TaskTypes, u as useTranslation, aF as Trans, j as useQuery, H as createLogger, aj as useI18nContext, G as Typography, W as Icon, o as useSettingsContext, Z as useExperimentsContext, r as LegalEntityTypes, aG as getLegalRepresentativeWarningMessage, ad as objectsDeepEqual, aH as standardKatakanaValidator, aI as standardKanjiValidator, as as isEmpty, aJ as getAgeToday, aK as euCountries, aL as individualApiKeyMapping, au as reverseMapping, aM as getNomineeFromAssociation, aN as individualComponentsKeyMapping, aO as drop, N as useAccountHolder, V as useAnalyticsContext, aP as useVersionConfiguration, g as getLegalEntityCountry, aQ as getAllowedDecisionMakerRoles, aR as filterOutUnwantedAssociationsIfRootLE, ak as cloneObject, aS as individualDocumentMapping, aT as individualObscuredFields, a9 as getOwnEntityAssociations, aU as hasNomineesChanged, aV as attachNomineeToRole, aW as doArraysMatch, w as skipToken, m as httpGet, ao as useQueryClient, B as Button, L as Loader, aX as getAvailableDecisionMakerRoleTypes, aY as allowedCountriesForNominee, aZ as isLowRiskCountry, a_ as getAgeRangeForLegalRepresentative, a$ as isLegalRepresentativeNeeded, b0 as keysOf, b1 as listToRecord, b2 as pick, X as IconButton, z as translateStringOrObject, b3 as individualOnfidoApiKeyMapping, b4 as individualOnfidoDocumentMapping, b5 as individualOnfidoObscuredFields } from "./StoreProvider-
|
|
14
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
15
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
16
|
-
import { u as useProviderStatus, A as Address, a as addressValidators, b as addressFormatters } from "./Address-
|
|
17
|
-
import { c as contactDetailFields, C as ContactDetails, a as contactDetailsValidationRules, d as defaultFieldMetadata$1, f as fieldConfig, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules } from "./validate-
|
|
18
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
19
|
-
import { u as useToastContext } from "./useToastContext-
|
|
20
|
-
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
23
|
-
import { u as uppercase, D as DocumentGuidance, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
24
|
-
import { b as addressFields, m as mapAddressLabels, g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-
|
|
25
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
26
|
-
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-
|
|
12
|
+
import { u as useScenarios } from "./useScenarios-DFW21Vhf.js";
|
|
13
|
+
import { b as useApiContext, am as useMutation, k as httpPost, aw as matchesRegex, ax as trimValWithOneSpace, ay as NO_ALPHABET_REGEX, az as EMOJI_REGEX, aA as hasRepeatedCharacters, aB as isInvalidName, aC as INDIVIDUAL_VALID_CHAR_REGEX, aD as getFormattingRegEx, aE as SPECIAL_CHARS, C as CountryCodes, ah as Scenarios, ag as DecisionMakerTypes, U as TaskTypes, u as useTranslation, aF as Trans, j as useQuery, H as createLogger, aj as useI18nContext, G as Typography, W as Icon, o as useSettingsContext, Z as useExperimentsContext, r as LegalEntityTypes, aG as getLegalRepresentativeWarningMessage, ad as objectsDeepEqual, aH as standardKatakanaValidator, aI as standardKanjiValidator, as as isEmpty, aJ as getAgeToday, aK as euCountries, aL as individualApiKeyMapping, au as reverseMapping, aM as getNomineeFromAssociation, aN as individualComponentsKeyMapping, aO as drop, N as useAccountHolder, V as useAnalyticsContext, aP as useVersionConfiguration, g as getLegalEntityCountry, aQ as getAllowedDecisionMakerRoles, aR as filterOutUnwantedAssociationsIfRootLE, ak as cloneObject, aS as individualDocumentMapping, aT as individualObscuredFields, a9 as getOwnEntityAssociations, aU as hasNomineesChanged, aV as attachNomineeToRole, aW as doArraysMatch, w as skipToken, m as httpGet, ao as useQueryClient, B as Button, L as Loader, aX as getAvailableDecisionMakerRoleTypes, aY as allowedCountriesForNominee, aZ as isLowRiskCountry, a_ as getAgeRangeForLegalRepresentative, a$ as isLegalRepresentativeNeeded, b0 as keysOf, b1 as listToRecord, b2 as pick, X as IconButton, z as translateStringOrObject, b3 as individualOnfidoApiKeyMapping, b4 as individualOnfidoDocumentMapping, b5 as individualOnfidoObscuredFields } from "./StoreProvider-D9IR5HNN.js";
|
|
14
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-Kc8_ZlAe.js";
|
|
15
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CStkUt4I.js";
|
|
16
|
+
import { u as useProviderStatus, A as Address, a as addressValidators, b as addressFormatters } from "./Address-ki-bCjUJ.js";
|
|
17
|
+
import { c as contactDetailFields, C as ContactDetails, a as contactDetailsValidationRules, d as defaultFieldMetadata$1, f as fieldConfig, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules } from "./validate-D4iK6FUk.js";
|
|
18
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-CvQfKDA3.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-D6Lbxqj9.js";
|
|
20
|
+
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-B26ehyAw.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BpJn607e.js";
|
|
22
|
+
import { u as useMultiForm } from "./useMultiForm-pAiPIh7X.js";
|
|
23
|
+
import { u as uppercase, D as DocumentGuidance, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-DNBa6Ekj.js";
|
|
24
|
+
import { b as addressFields, m as mapAddressLabels, g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-BmxzrkCX.js";
|
|
25
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-DYYlX-5X.js";
|
|
26
|
+
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-Bsx2oHT1.js";
|
|
27
27
|
import { d as datasetIdentifier, a as datasetUtilities } from "./datasetUtil-BHQp0-xL.js";
|
|
28
|
-
import { i as individualIdNumberOptions, a as additionallIdNumberOptions, t as taxInformationDefaultFieldMetadata, b as taxInformationDefaultFieldConfig, T as TaxInformationField, M as MemoizedDocumentUpload, u as useCapabilities, g as getFieldsWithExistingData } from "./TaxInformationField-
|
|
29
|
-
import { a as getTrustedFields, b as idNowModalChildEntityId, s as showIdNowModal, i as isBafinSignatoryFlow, c as shouldShowIdNowModal } from "./bafinUtils-
|
|
30
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
31
|
-
import { o as omitObscuredFieldsIfUnchanged, I as IFrameWidget } from "./iframeWidget-
|
|
32
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
33
|
-
import { H as Header } from "./Header-
|
|
34
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
28
|
+
import { i as individualIdNumberOptions, a as additionallIdNumberOptions, t as taxInformationDefaultFieldMetadata, b as taxInformationDefaultFieldConfig, T as TaxInformationField, M as MemoizedDocumentUpload, u as useCapabilities, g as getFieldsWithExistingData } from "./TaxInformationField-c-ZWfhUk.js";
|
|
29
|
+
import { a as getTrustedFields, b as idNowModalChildEntityId, s as showIdNowModal, i as isBafinSignatoryFlow, c as shouldShowIdNowModal } from "./bafinUtils-Wct4TWLH.js";
|
|
30
|
+
import { l as localizeDateString } from "./localizeDateString-BHDr1NID.js";
|
|
31
|
+
import { o as omitObscuredFieldsIfUnchanged, I as IFrameWidget } from "./iframeWidget-D6BlBF0m.js";
|
|
32
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-DOiFhaKn.js";
|
|
33
|
+
import { H as Header } from "./Header-YafgG5Nz.js";
|
|
34
|
+
import { C as ContextGuidance } from "./ContextGuidance-CCknw_Y1.js";
|
|
35
35
|
import { g as getFieldProps, a as getFormProps } from "./getProps-CLJfvUMb.js";
|
|
36
|
-
import { E as ErrorPanel, u as useFormRouterContext } from "./ErrorPanel-
|
|
37
|
-
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-
|
|
36
|
+
import { E as ErrorPanel, u as useFormRouterContext } from "./ErrorPanel-CFN2G9Vz.js";
|
|
37
|
+
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-BlVlgetw.js";
|
|
38
38
|
import { lazy, forwardRef, memo, Suspense } from "preact/compat";
|
|
39
|
-
import { F as Field } from "./Field-
|
|
40
|
-
import { I as Image, T as TrustedFieldsProviders } from "./Image-
|
|
41
|
-
import { L as Link } from "./Link-
|
|
42
|
-
import { R as RadioGroupCard } from "./RadioGroupCard-
|
|
43
|
-
import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-
|
|
44
|
-
import { S as SettingNames } from "./TaskVerificationStatus-
|
|
45
|
-
import { t as toFullWidth, u as useAllowedCountries, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
46
|
-
import { a as Alert } from "./Alert-
|
|
47
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
48
|
-
import { I as InputText } from "./InputText-
|
|
49
|
-
import { C as CountryField } from "./CountryField-
|
|
50
|
-
import { M as MultiSelectList, m as makeSelectItemForRole, n as nameFields, N as Name } from "./makeSelectItemForRole-
|
|
39
|
+
import { F as Field } from "./Field-B3Vy1-QZ.js";
|
|
40
|
+
import { I as Image, T as TrustedFieldsProviders } from "./Image-Cvb4hnru.js";
|
|
41
|
+
import { L as Link } from "./Link-DWTJ55UO.js";
|
|
42
|
+
import { R as RadioGroupCard } from "./RadioGroupCard-Pj9qq4uW.js";
|
|
43
|
+
import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-DPc8nUuk.js";
|
|
44
|
+
import { S as SettingNames } from "./TaskVerificationStatus-BLCkXEn6.js";
|
|
45
|
+
import { t as toFullWidth, u as useAllowedCountries, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-BNb8d51F.js";
|
|
46
|
+
import { a as Alert } from "./Alert-TCEgDc2-.js";
|
|
47
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-UCHQ3zOB.js";
|
|
48
|
+
import { I as InputText } from "./InputText-DGKAS6ZI.js";
|
|
49
|
+
import { C as CountryField } from "./CountryField-DzmOWqiE.js";
|
|
50
|
+
import { M as MultiSelectList, m as makeSelectItemForRole, n as nameFields, N as Name } from "./makeSelectItemForRole-Bm2NwBxD.js";
|
|
51
51
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
52
|
-
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 } from "./MaskedInput-
|
|
53
|
-
import { S as Select } from "./Select-
|
|
54
|
-
import { i as isTruthyValidator } from "./commonValidators-
|
|
55
|
-
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-
|
|
56
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
52
|
+
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 } from "./MaskedInput-Cn0VAuEp.js";
|
|
53
|
+
import { S as Select } from "./Select-D1rFT3T8.js";
|
|
54
|
+
import { i as isTruthyValidator } from "./commonValidators-DcFd5CHs.js";
|
|
55
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-B_6RrE9T.js";
|
|
56
|
+
import { i as isEmpty$1 } from "./isEmpty-CsYVgjoD.js";
|
|
57
57
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
58
58
|
import { m as mapSchemaFieldsToApiScriptLocalization, a as mapApiScriptLocalizationToSchemaFields } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
59
59
|
import { Show } from "@preact/signals/utils";
|
|
60
60
|
import { J as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-De6ix57p.js";
|
|
61
|
-
import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualOnfidoSchema } from "./mapLegalEntityToIndividualOnfidoSchema-
|
|
62
|
-
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-
|
|
63
|
-
import { v as validatePatternOnBlur } from "./patternValidators-
|
|
61
|
+
import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualOnfidoSchema } from "./mapLegalEntityToIndividualOnfidoSchema-DREgz5Ms.js";
|
|
62
|
+
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-iATUjnbf.js";
|
|
63
|
+
import { v as validatePatternOnBlur } from "./patternValidators-BXduwLbz.js";
|
|
64
64
|
import { signal } from "@preact/signals";
|
|
65
|
-
import { M as Modal } from "./Modal-
|
|
66
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
67
|
-
import { C as Confirm } from "./Confirm-
|
|
68
|
-
import { a as getIndividualLegalEntityName } from "./getName-
|
|
69
|
-
import { D as Dropzone } from "./Dropzone-
|
|
70
|
-
import { C as Checkbox } from "./Checkbox-
|
|
71
|
-
import { u as useDataset } from "./useDataset-
|
|
65
|
+
import { M as Modal } from "./Modal-pyBUluei.js";
|
|
66
|
+
import { L as LandingLayout } from "./LandingLayout-co7NR2te.js";
|
|
67
|
+
import { C as Confirm } from "./Confirm-Ctfqp-1b.js";
|
|
68
|
+
import { a as getIndividualLegalEntityName } from "./getName-CzpJ9tV7.js";
|
|
69
|
+
import { D as Dropzone } from "./Dropzone-CKT3THCY.js";
|
|
70
|
+
import { C as Checkbox } from "./Checkbox-D8rB6_HN.js";
|
|
71
|
+
import { u as useDataset } from "./useDataset-DfKmlbQd.js";
|
|
72
72
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
73
73
|
import { Onfido } from "onfido-sdk-ui";
|
|
74
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
74
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CUz5NRFr.js";
|
|
75
75
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
76
76
|
const verifyIdNumber = async (legalEntityId, baseUrl, data) => {
|
|
77
77
|
return await httpPost(
|
|
@@ -4987,7 +4987,7 @@ const additionalIdentityInfoFields = [
|
|
|
4987
4987
|
"expiryDate"
|
|
4988
4988
|
];
|
|
4989
4989
|
const LazyJpAddress = lazy(
|
|
4990
|
-
async () => (await import("./JpAddress-
|
|
4990
|
+
async () => (await import("./JpAddress-DClXaVjy.js")).JpAddress
|
|
4991
4991
|
);
|
|
4992
4992
|
const additionalPersonalDetailsFields = [
|
|
4993
4993
|
"birthDate",
|
|
@@ -5941,7 +5941,7 @@ function IdVerificationMethod(props) {
|
|
|
5941
5941
|
const userEvents = useAnalyticsContext();
|
|
5942
5942
|
const extractDocumentInformation2 = useExtractDocumentInformation();
|
|
5943
5943
|
const {
|
|
5944
|
-
form: { data, handleChangeFor, setFormData, setValid }
|
|
5944
|
+
form: { data, handleChangeFor, setFormData, setValid, valid }
|
|
5945
5945
|
} = useFormContext();
|
|
5946
5946
|
const datasetUtils = datasetUtilities(i18n.language);
|
|
5947
5947
|
const existingDocument = data.idVerificationMethod?.idDocument;
|
|
@@ -6099,15 +6099,10 @@ function IdVerificationMethod(props) {
|
|
|
6099
6099
|
handleFieldChange("idDocument")(void 0);
|
|
6100
6100
|
}
|
|
6101
6101
|
};
|
|
6102
|
-
if (hasLiveSelfieErrorCode && data.idVerificationMethod?.idVerificationMethod
|
|
6103
|
-
setStatus("ready");
|
|
6104
|
-
if (hasExistingDocument) {
|
|
6105
|
-
handleDeleteDocument();
|
|
6106
|
-
}
|
|
6107
|
-
}
|
|
6108
|
-
if (hasLiveSelfieErrorCode && data.idVerificationMethod?.idVerificationMethod !== "instantVerification") {
|
|
6102
|
+
if (hasLiveSelfieErrorCode && data.idVerificationMethod?.idVerificationMethod !== "instantVerification" && valid.idVerificationMethod?.idVerificationMethod) {
|
|
6109
6103
|
setValid("idVerificationMethod", false, "idVerificationMethod");
|
|
6110
6104
|
}
|
|
6105
|
+
const doesUserHaveExistingDocument = hasLiveSelfieErrorCode && data.idVerificationMethod?.idVerificationMethod !== "instantVerification" ? false : hasExistingDocument;
|
|
6111
6106
|
const handleCancelDeleteDocument = () => {
|
|
6112
6107
|
setStatus("ready");
|
|
6113
6108
|
userEvents.addPageEvent("Clicked button", {
|
|
@@ -6166,7 +6161,7 @@ function IdVerificationMethod(props) {
|
|
|
6166
6161
|
title: commonT(($) => $[error.key], { ...error.options?.values })
|
|
6167
6162
|
}
|
|
6168
6163
|
) : void 0,
|
|
6169
|
-
actions: /* @__PURE__ */ jsx(Fragment, { children: showLoadingSpinner ? /* @__PURE__ */ jsx(Loader, { size: "large" }) : !
|
|
6164
|
+
actions: /* @__PURE__ */ jsx(Fragment, { children: showLoadingSpinner ? /* @__PURE__ */ jsx(Loader, { size: "large" }) : !doesUserHaveExistingDocument && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6170
6165
|
/* @__PURE__ */ jsx(
|
|
6171
6166
|
Button,
|
|
6172
6167
|
{
|
|
@@ -6187,7 +6182,7 @@ function IdVerificationMethod(props) {
|
|
|
6187
6182
|
}
|
|
6188
6183
|
)
|
|
6189
6184
|
] }) }),
|
|
6190
|
-
content: !showLoadingSpinner &&
|
|
6185
|
+
content: !showLoadingSpinner && doesUserHaveExistingDocument && /* @__PURE__ */ jsx(
|
|
6191
6186
|
UploadedDocument,
|
|
6192
6187
|
{
|
|
6193
6188
|
document: existingDocument,
|
|
@@ -6197,7 +6192,7 @@ function IdVerificationMethod(props) {
|
|
|
6197
6192
|
),
|
|
6198
6193
|
disclaimer: (
|
|
6199
6194
|
// TODO - replace with Trans component
|
|
6200
|
-
!
|
|
6195
|
+
!doesUserHaveExistingDocument && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6201
6196
|
t(($) => $["byContinuingToUseThisService"]),
|
|
6202
6197
|
" ",
|
|
6203
6198
|
/* @__PURE__ */ jsx(Link, { href: "https://onfido.com/facial-scan-policy-and-release/", external: true, inline: true, children: t(($) => $["onfidoFacialScanPolicy"]) }),
|
|
@@ -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-DGKAS6ZI.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 { V as useAnalyticsContext } from "./StoreProvider-
|
|
14
|
+
import { V as useAnalyticsContext } from "./StoreProvider-D9IR5HNN.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 { U as TaskTypes, r as LegalEntityTypes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, V as useAnalyticsContext, B as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { U as TaskTypes, r as LegalEntityTypes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, V as useAnalyticsContext, B as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D9IR5HNN.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-DLoEzGro.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-DwKImil4.js";
|
|
16
16
|
const IntroductionScreens = {
|
|
17
17
|
PROLOGUE: "PROLOGUE",
|
|
18
18
|
INDIVIDUAL: TaskTypes.INDIVIDUAL,
|